@everymatrix/player-active-bonuses 1.67.3 → 1.68.0

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,28 +1,28 @@
1
1
  function Q() {
2
2
  }
3
- function Kt(e) {
3
+ function rn(e) {
4
4
  return e();
5
5
  }
6
- function Bt() {
6
+ function Ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function se(e) {
10
- e.forEach(Kt);
10
+ e.forEach(rn);
11
11
  }
12
- function mt(e) {
12
+ function _t(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function en(e, t) {
15
+ function on(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let He;
19
- function No(e, t) {
19
+ function Fi(e, t) {
20
20
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function Xn(e) {
22
+ function Jn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function tn(e, ...t) {
25
+ function sn(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const r of t)
28
28
  r(void 0);
@@ -31,20 +31,20 @@ function tn(e, ...t) {
31
31
  const n = e.subscribe(...t);
32
32
  return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function Zn(e, t, n) {
35
- e.$$.on_destroy.push(tn(t, n));
34
+ function Yn(e, t, n) {
35
+ e.$$.on_destroy.push(sn(t, n));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function qn(e, t, n) {
41
- const r = Qn(e);
40
+ function Kn(e, t, n) {
41
+ const r = er(e);
42
42
  if (!r.getElementById(t)) {
43
- const i = P("style");
44
- i.id = t, i.textContent = n, Jn(r, i);
43
+ const o = T("style");
44
+ o.id = t, o.textContent = n, tr(r, o);
45
45
  }
46
46
  }
47
- function Qn(e) {
47
+ function er(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function Qn(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Jn(e, t) {
57
+ function tr(e, t) {
58
58
  return v(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,11 +67,11 @@ function W(e, t, n) {
67
67
  function G(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function nn(e, t) {
70
+ function an(e, t) {
71
71
  for (let n = 0; n < e.length; n += 1)
72
72
  e[n] && e[n].d(t);
73
73
  }
74
- function P(e) {
74
+ function T(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function ce(e) {
@@ -83,7 +83,7 @@ function F(e) {
83
83
  function j() {
84
84
  return F(" ");
85
85
  }
86
- function bt() {
86
+ function Bt() {
87
87
  return F("");
88
88
  }
89
89
  function q(e, t, n, r) {
@@ -96,17 +96,17 @@ function p(e, t, n) {
96
96
  const r = t.toLowerCase();
97
97
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : B(e, t, n);
98
98
  }
99
- function Yn(e) {
99
+ function nr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function ne(e, t) {
102
+ function re(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Et(e, t) {
106
+ function St(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function Kn(e) {
109
+ function rr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,98 +115,98 @@ function Kn(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Ce;
119
- function we(e) {
120
- Ce = e;
118
+ let we;
119
+ function xe(e) {
120
+ we = e;
121
121
  }
122
- function er() {
123
- if (!Ce)
122
+ function or() {
123
+ if (!we)
124
124
  throw new Error("Function called outside component initialization");
125
- return Ce;
125
+ return we;
126
126
  }
127
- function tr(e) {
128
- er().$$.on_mount.push(e);
127
+ function ir(e) {
128
+ or().$$.on_mount.push(e);
129
129
  }
130
- const de = [], Ke = [];
130
+ const de = [], nt = [];
131
131
  let pe = [];
132
- const xt = [], nr = /* @__PURE__ */ Promise.resolve();
133
- let et = !1;
134
- function rr() {
135
- et || (et = !0, nr.then(Z));
132
+ const At = [], sr = /* @__PURE__ */ Promise.resolve();
133
+ let rt = !1;
134
+ function ar() {
135
+ rt || (rt = !0, sr.then(Z));
136
136
  }
137
- function tt(e) {
137
+ function ot(e) {
138
138
  pe.push(e);
139
139
  }
140
- const ze = /* @__PURE__ */ new Set();
140
+ const Ze = /* @__PURE__ */ new Set();
141
141
  let he = 0;
142
142
  function Z() {
143
143
  if (he !== 0)
144
144
  return;
145
- const e = Ce;
145
+ const e = we;
146
146
  do {
147
147
  try {
148
148
  for (; he < de.length; ) {
149
149
  const t = de[he];
150
- he++, we(t), ir(t.$$);
150
+ he++, xe(t), ur(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw de.length = 0, he = 0, t;
154
154
  }
155
- for (we(null), de.length = 0, he = 0; Ke.length; )
156
- Ke.pop()();
155
+ for (xe(null), de.length = 0, he = 0; nt.length; )
156
+ nt.pop()();
157
157
  for (let t = 0; t < pe.length; t += 1) {
158
158
  const n = pe[t];
159
- ze.has(n) || (ze.add(n), n());
159
+ Ze.has(n) || (Ze.add(n), n());
160
160
  }
161
161
  pe.length = 0;
162
162
  } while (de.length);
163
- for (; xt.length; )
164
- xt.pop()();
165
- et = !1, ze.clear(), we(e);
163
+ for (; At.length; )
164
+ At.pop()();
165
+ rt = !1, Ze.clear(), xe(e);
166
166
  }
167
- function ir(e) {
167
+ function ur(e) {
168
168
  if (e.fragment !== null) {
169
169
  e.update(), se(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
172
172
  }
173
173
  }
174
- function or(e) {
174
+ function lr(e) {
175
175
  const t = [], n = [];
176
176
  pe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), pe = t;
177
177
  }
178
- const sr = /* @__PURE__ */ new Set();
179
- function ar(e, t) {
180
- e && e.i && (sr.delete(e), e.i(t));
178
+ const cr = /* @__PURE__ */ new Set();
179
+ function hr(e, t) {
180
+ e && e.i && (cr.delete(e), e.i(t));
181
181
  }
182
182
  function Fe(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function ur(e, t, n) {
186
- const { fragment: r, after_update: i } = e.$$;
187
- r && r.m(t, n), tt(() => {
188
- const o = e.$$.on_mount.map(Kt).filter(mt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
190
- }), i.forEach(tt);
185
+ function fr(e, t, n) {
186
+ const { fragment: r, after_update: o } = e.$$;
187
+ r && r.m(t, n), ot(() => {
188
+ const i = e.$$.on_mount.map(rn).filter(_t);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : se(i), e.$$.on_mount = [];
190
+ }), o.forEach(ot);
191
191
  }
192
- function lr(e, t) {
192
+ function dr(e, t) {
193
193
  const n = e.$$;
194
- n.fragment !== null && (or(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (lr(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
195
195
  }
196
- function cr(e, t) {
197
- e.$$.dirty[0] === -1 && (de.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function pr(e, t) {
197
+ e.$$.dirty[0] === -1 && (de.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function hr(e, t, n, r, i, o, s = null, a = [-1]) {
200
- const u = Ce;
201
- we(e);
199
+ function mr(e, t, n, r, o, i, s = null, a = [-1]) {
200
+ const u = we;
201
+ xe(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
205
205
  // state
206
- props: o,
206
+ props: i,
207
207
  update: Q,
208
- not_equal: i,
209
- bound: Bt(),
208
+ not_equal: o,
209
+ bound: Ct(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,7 +215,7 @@ function hr(e, t, n, r, i, o, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (u ? u.$$.context : [])),
217
217
  // everything else
218
- callbacks: Bt(),
218
+ callbacks: Ct(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || u.$$.root
@@ -224,19 +224,19 @@ function hr(e, t, n, r, i, o, s = null, a = [-1]) {
224
224
  let c = !1;
225
225
  if (l.ctx = n ? n(e, t.props || {}, (h, f, ...b) => {
226
226
  const m = b.length ? b[0] : f;
227
- return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && cr(e, h)), f;
227
+ return l.ctx && o(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && pr(e, h)), f;
228
228
  }) : [], l.update(), c = !0, se(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const h = Yn(t.target);
230
+ const h = nr(t.target);
231
231
  l.fragment && l.fragment.l(h), h.forEach(G);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && ar(e.$$.fragment), ur(e, t.target, t.anchor), Z();
234
+ t.intro && hr(e.$$.fragment), fr(e, t.target, t.anchor), Z();
235
235
  }
236
- we(u);
236
+ xe(u);
237
237
  }
238
- let rn;
239
- typeof HTMLElement == "function" && (rn = class extends HTMLElement {
238
+ let un;
239
+ typeof HTMLElement == "function" && (un = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -273,37 +273,37 @@ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
273
273
  }
274
274
  async connectedCallback() {
275
275
  if (this.$$cn = !0, !this.$$c) {
276
- let e = function(i) {
276
+ let e = function(o) {
277
277
  return () => {
278
- let o;
278
+ let i;
279
279
  return {
280
280
  c: function() {
281
- o = P("slot"), i !== "default" && B(o, "name", i);
281
+ i = T("slot"), o !== "default" && B(i, "name", o);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(u, l) {
288
- W(u, o, l);
288
+ W(u, i, l);
289
289
  },
290
290
  d: function(u) {
291
- u && G(o);
291
+ u && G(i);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, n = Kn(this);
299
- for (const i of this.$$s)
300
- i in n && (t[i] = [e(i)]);
301
- for (const i of this.attributes) {
302
- const o = this.$$g_p(i.name);
303
- o in this.$$d || (this.$$d[o] = Ne(o, i.value, this.$$p_d, "toProp"));
298
+ const t = {}, n = rr(this);
299
+ for (const o of this.$$s)
300
+ o in n && (t[o] = [e(o)]);
301
+ for (const o of this.attributes) {
302
+ const i = this.$$g_p(o.name);
303
+ i in this.$$d || (this.$$d[i] = Ne(i, o.value, this.$$p_d, "toProp"));
304
304
  }
305
- for (const i in this.$$p_d)
306
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
305
+ for (const o in this.$$p_d)
306
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
307
307
  this.$$c = new this.$$ctor({
308
308
  target: this.shadowRoot || this,
309
309
  props: {
@@ -316,23 +316,23 @@ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
316
316
  });
317
317
  const r = () => {
318
318
  this.$$r = !0;
319
- for (const i in this.$$p_d)
320
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
321
- const o = Ne(
322
- i,
323
- this.$$d[i],
319
+ for (const o in this.$$p_d)
320
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
321
+ const i = Ne(
322
+ o,
323
+ this.$$d[o],
324
324
  this.$$p_d,
325
325
  "toAttribute"
326
326
  );
327
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
327
+ i == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, i);
328
328
  }
329
329
  this.$$r = !1;
330
330
  };
331
331
  this.$$c.$$.after_update.push(r), r();
332
- for (const i in this.$$l)
333
- for (const o of this.$$l[i]) {
334
- const s = this.$$c.$on(i, o);
335
- this.$$l_u.set(o, s);
332
+ for (const o in this.$$l)
333
+ for (const i of this.$$l[o]) {
334
+ const s = this.$$c.$on(o, i);
335
+ this.$$l_u.set(i, s);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
@@ -354,11 +354,11 @@ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
354
354
  }
355
355
  });
356
356
  function Ne(e, t, n, r) {
357
- const i = n[e]?.type;
358
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
357
+ const o = n[e]?.type;
358
+ if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
359
359
  return t;
360
360
  if (r === "toAttribute")
361
- switch (i) {
361
+ switch (o) {
362
362
  case "Object":
363
363
  case "Array":
364
364
  return t == null ? null : JSON.stringify(t);
@@ -370,7 +370,7 @@ function Ne(e, t, n, r) {
370
370
  return t;
371
371
  }
372
372
  else
373
- switch (i) {
373
+ switch (o) {
374
374
  case "Object":
375
375
  case "Array":
376
376
  return t && JSON.parse(t);
@@ -382,10 +382,10 @@ function Ne(e, t, n, r) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function fr(e, t, n, r, i, o) {
386
- let s = class extends rn {
385
+ function br(e, t, n, r, o, i) {
386
+ let s = class extends un {
387
387
  constructor() {
388
- super(e, n, i), this.$$p_d = t;
388
+ super(e, n, o), this.$$p_d = t;
389
389
  }
390
390
  static get observedAttributes() {
391
391
  return Object.keys(t).map(
@@ -411,7 +411,7 @@ function fr(e, t, n, r, i, o) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class dr {
414
+ class gr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class dr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- lr(this, 1), this.$destroy = Q;
433
+ dr(this, 1), this.$destroy = Q;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,12 +439,12 @@ class dr {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, n) {
442
- if (!mt(n))
442
+ if (!_t(n))
443
443
  return Q;
444
444
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return r.push(n), () => {
446
- const i = r.indexOf(n);
447
- i !== -1 && r.splice(i, 1);
446
+ const o = r.indexOf(n);
447
+ o !== -1 && r.splice(o, 1);
448
448
  };
449
449
  }
450
450
  /**
@@ -452,11 +452,11 @@ class dr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Xn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Jn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const pr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
458
+ const vr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
460
460
  /*! *****************************************************************************
461
461
  Copyright (c) Microsoft Corporation.
462
462
 
@@ -471,43 +471,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
471
471
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
472
472
  PERFORMANCE OF THIS SOFTWARE.
473
473
  ***************************************************************************** */
474
- var nt = function(e, t) {
475
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
474
+ var it = function(e, t) {
475
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
476
476
  n.__proto__ = r;
477
477
  } || function(n, r) {
478
- for (var i in r)
479
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
480
- }, nt(e, t);
478
+ for (var o in r)
479
+ Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
480
+ }, it(e, t);
481
481
  };
482
- function ie(e, t) {
482
+ function Ae(e, t) {
483
483
  if (typeof t != "function" && t !== null)
484
484
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
485
- nt(e, t);
485
+ it(e, t);
486
486
  function n() {
487
487
  this.constructor = e;
488
488
  }
489
489
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
490
490
  }
491
- var A = function() {
492
- return A = Object.assign || function(t) {
493
- for (var n, r = 1, i = arguments.length; r < i; r++) {
494
- n = arguments[r];
495
- for (var o in n)
496
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
497
- }
498
- return t;
499
- }, A.apply(this, arguments);
500
- };
501
- function mr(e, t) {
502
- var n = {};
503
- for (var r in e)
504
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
505
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
506
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
507
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
508
- return n;
509
- }
510
- function rt(e) {
491
+ function st(e) {
511
492
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
512
493
  if (n)
513
494
  return n.call(e);
@@ -519,69 +500,69 @@ function rt(e) {
519
500
  };
520
501
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
521
502
  }
522
- function it(e, t) {
503
+ function at(e, t) {
523
504
  var n = typeof Symbol == "function" && e[Symbol.iterator];
524
505
  if (!n)
525
506
  return e;
526
- var r = n.call(e), i, o = [], s;
507
+ var r = n.call(e), o, i = [], s;
527
508
  try {
528
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
529
- o.push(i.value);
509
+ for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; )
510
+ i.push(o.value);
530
511
  } catch (a) {
531
512
  s = { error: a };
532
513
  } finally {
533
514
  try {
534
- i && !i.done && (n = r.return) && n.call(r);
515
+ o && !o.done && (n = r.return) && n.call(r);
535
516
  } finally {
536
517
  if (s)
537
518
  throw s.error;
538
519
  }
539
520
  }
540
- return o;
521
+ return i;
541
522
  }
542
- function me(e, t, n) {
543
- if (n || arguments.length === 2)
544
- for (var r = 0, i = t.length, o; r < i; r++)
545
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
546
- return e.concat(o || t);
523
+ function ut(e, t, n) {
524
+ if (arguments.length === 2)
525
+ for (var r = 0, o = t.length, i; r < o; r++)
526
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
527
+ return e.concat(i || t);
547
528
  }
548
- function re(e) {
529
+ function oe(e) {
549
530
  return typeof e == "function";
550
531
  }
551
- function on(e) {
532
+ function ln(e) {
552
533
  var t = function(r) {
553
534
  Error.call(r), r.stack = new Error().stack;
554
535
  }, n = e(t);
555
536
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
556
537
  }
557
- var Xe = on(function(e) {
538
+ var qe = ln(function(e) {
558
539
  return function(n) {
559
540
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
560
- ` + n.map(function(r, i) {
561
- return i + 1 + ") " + r.toString();
541
+ ` + n.map(function(r, o) {
542
+ return o + 1 + ") " + r.toString();
562
543
  }).join(`
563
544
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
564
545
  };
565
546
  });
566
- function ot(e, t) {
547
+ function lt(e, t) {
567
548
  if (e) {
568
549
  var n = e.indexOf(t);
569
550
  0 <= n && e.splice(n, 1);
570
551
  }
571
552
  }
572
- var Ge = function() {
553
+ var ke = function() {
573
554
  function e(t) {
574
555
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
575
556
  }
576
557
  return e.prototype.unsubscribe = function() {
577
- var t, n, r, i, o;
558
+ var t, n, r, o, i;
578
559
  if (!this.closed) {
579
560
  this.closed = !0;
580
561
  var s = this._parentage;
581
562
  if (s)
582
563
  if (this._parentage = null, Array.isArray(s))
583
564
  try {
584
- for (var a = rt(s), u = a.next(); !u.done; u = a.next()) {
565
+ for (var a = st(s), u = a.next(); !u.done; u = a.next()) {
585
566
  var l = u.value;
586
567
  l.remove(this);
587
568
  }
@@ -598,43 +579,43 @@ var Ge = function() {
598
579
  else
599
580
  s.remove(this);
600
581
  var c = this.initialTeardown;
601
- if (re(c))
582
+ if (oe(c))
602
583
  try {
603
584
  c();
604
585
  } catch (d) {
605
- o = d instanceof Xe ? d.errors : [d];
586
+ i = d instanceof qe ? d.errors : [d];
606
587
  }
607
588
  var h = this._finalizers;
608
589
  if (h) {
609
590
  this._finalizers = null;
610
591
  try {
611
- for (var f = rt(h), b = f.next(); !b.done; b = f.next()) {
592
+ for (var f = st(h), b = f.next(); !b.done; b = f.next()) {
612
593
  var m = b.value;
613
594
  try {
614
- wt(m);
595
+ Tt(m);
615
596
  } catch (d) {
616
- o = o ?? [], d instanceof Xe ? o = me(me([], it(o)), it(d.errors)) : o.push(d);
597
+ i = i ?? [], d instanceof qe ? i = ut(ut([], at(i)), at(d.errors)) : i.push(d);
617
598
  }
618
599
  }
619
600
  } catch (d) {
620
601
  r = { error: d };
621
602
  } finally {
622
603
  try {
623
- b && !b.done && (i = f.return) && i.call(f);
604
+ b && !b.done && (o = f.return) && o.call(f);
624
605
  } finally {
625
606
  if (r)
626
607
  throw r.error;
627
608
  }
628
609
  }
629
610
  }
630
- if (o)
631
- throw new Xe(o);
611
+ if (i)
612
+ throw new qe(i);
632
613
  }
633
614
  }, e.prototype.add = function(t) {
634
615
  var n;
635
616
  if (t && t !== this)
636
617
  if (this.closed)
637
- wt(t);
618
+ Tt(t);
638
619
  else {
639
620
  if (t instanceof e) {
640
621
  if (t.closed || t._hasParent(this))
@@ -651,56 +632,52 @@ var Ge = function() {
651
632
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
652
633
  }, e.prototype._removeParent = function(t) {
653
634
  var n = this._parentage;
654
- n === t ? this._parentage = null : Array.isArray(n) && ot(n, t);
635
+ n === t ? this._parentage = null : Array.isArray(n) && lt(n, t);
655
636
  }, e.prototype.remove = function(t) {
656
637
  var n = this._finalizers;
657
- n && ot(n, t), t instanceof e && t._removeParent(this);
638
+ n && lt(n, t), t instanceof e && t._removeParent(this);
658
639
  }, e.EMPTY = function() {
659
640
  var t = new e();
660
641
  return t.closed = !0, t;
661
642
  }(), e;
662
- }(), sn = Ge.EMPTY;
663
- function an(e) {
664
- return e instanceof Ge || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
665
- }
666
- function wt(e) {
667
- re(e) ? e() : e.unsubscribe();
668
- }
669
- var br = {
670
- onUnhandledError: null,
671
- onStoppedNotification: null,
672
- Promise: void 0,
673
- useDeprecatedSynchronousErrorHandling: !1,
674
- useDeprecatedNextContext: !1
675
- }, gr = {
643
+ }(), cn = ke.EMPTY;
644
+ function hn(e) {
645
+ return e instanceof ke || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
646
+ }
647
+ function Tt(e) {
648
+ oe(e) ? e() : e.unsubscribe();
649
+ }
650
+ var yr = {
651
+ Promise: void 0
652
+ }, _r = {
676
653
  setTimeout: function(e, t) {
677
654
  for (var n = [], r = 2; r < arguments.length; r++)
678
655
  n[r - 2] = arguments[r];
679
- return setTimeout.apply(void 0, me([e, t], it(n)));
656
+ return setTimeout.apply(void 0, ut([e, t], at(n)));
680
657
  },
681
658
  clearTimeout: function(e) {
682
659
  return clearTimeout(e);
683
660
  },
684
661
  delegate: void 0
685
662
  };
686
- function vr(e) {
687
- gr.setTimeout(function() {
663
+ function Br(e) {
664
+ _r.setTimeout(function() {
688
665
  throw e;
689
666
  });
690
667
  }
691
- function Ct() {
668
+ function Pt() {
692
669
  }
693
670
  function Le(e) {
694
671
  e();
695
672
  }
696
- var un = function(e) {
697
- ie(t, e);
673
+ var fn = function(e) {
674
+ Ae(t, e);
698
675
  function t(n) {
699
676
  var r = e.call(this) || this;
700
- return r.isStopped = !1, n ? (r.destination = n, an(n) && n.add(r)) : r.destination = Br, r;
677
+ return r.isStopped = !1, n ? (r.destination = n, hn(n) && n.add(r)) : r.destination = wr, r;
701
678
  }
702
- return t.create = function(n, r, i) {
703
- return new st(n, r, i);
679
+ return t.create = function(n, r, o) {
680
+ return new ct(n, r, o);
704
681
  }, t.prototype.next = function(n) {
705
682
  this.isStopped || this._next(n);
706
683
  }, t.prototype.error = function(n) {
@@ -724,7 +701,7 @@ var un = function(e) {
724
701
  this.unsubscribe();
725
702
  }
726
703
  }, t;
727
- }(Ge), yr = function() {
704
+ }(ke), Er = function() {
728
705
  function e(t) {
729
706
  this.partialObserver = t;
730
707
  }
@@ -734,7 +711,7 @@ var un = function(e) {
734
711
  try {
735
712
  n.next(t);
736
713
  } catch (r) {
737
- Ie(r);
714
+ Oe(r);
738
715
  }
739
716
  }, e.prototype.error = function(t) {
740
717
  var n = this.partialObserver;
@@ -742,56 +719,56 @@ var un = function(e) {
742
719
  try {
743
720
  n.error(t);
744
721
  } catch (r) {
745
- Ie(r);
722
+ Oe(r);
746
723
  }
747
724
  else
748
- Ie(t);
725
+ Oe(t);
749
726
  }, e.prototype.complete = function() {
750
727
  var t = this.partialObserver;
751
728
  if (t.complete)
752
729
  try {
753
730
  t.complete();
754
731
  } catch (n) {
755
- Ie(n);
732
+ Oe(n);
756
733
  }
757
734
  }, e;
758
- }(), st = function(e) {
759
- ie(t, e);
760
- function t(n, r, i) {
761
- var o = e.call(this) || this, s;
762
- return re(n) || !n ? s = {
735
+ }(), ct = function(e) {
736
+ Ae(t, e);
737
+ function t(n, r, o) {
738
+ var i = e.call(this) || this, s;
739
+ return oe(n) || !n ? s = {
763
740
  next: n ?? void 0,
764
741
  error: r ?? void 0,
765
- complete: i ?? void 0
766
- } : s = n, o.destination = new yr(s), o;
742
+ complete: o ?? void 0
743
+ } : s = n, i.destination = new Er(s), i;
767
744
  }
768
745
  return t;
769
- }(un);
770
- function Ie(e) {
771
- vr(e);
746
+ }(fn);
747
+ function Oe(e) {
748
+ Br(e);
772
749
  }
773
- function _r(e) {
750
+ function xr(e) {
774
751
  throw e;
775
752
  }
776
- var Br = {
753
+ var wr = {
777
754
  closed: !0,
778
- next: Ct,
779
- error: _r,
780
- complete: Ct
781
- }, Er = function() {
755
+ next: Pt,
756
+ error: xr,
757
+ complete: Pt
758
+ }, Cr = function() {
782
759
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
783
760
  }();
784
- function xr(e) {
761
+ function Sr(e) {
785
762
  return e;
786
763
  }
787
- function wr(e) {
788
- return e.length === 0 ? xr : e.length === 1 ? e[0] : function(n) {
789
- return e.reduce(function(r, i) {
790
- return i(r);
764
+ function Ar(e) {
765
+ return e.length === 0 ? Sr : e.length === 1 ? e[0] : function(n) {
766
+ return e.reduce(function(r, o) {
767
+ return o(r);
791
768
  }, n);
792
769
  };
793
770
  }
794
- var St = function() {
771
+ var Mt = function() {
795
772
  function e(t) {
796
773
  t && (this._subscribe = t);
797
774
  }
@@ -799,11 +776,11 @@ var St = function() {
799
776
  var n = new e();
800
777
  return n.source = this, n.operator = t, n;
801
778
  }, e.prototype.subscribe = function(t, n, r) {
802
- var i = this, o = Sr(t) ? t : new st(t, n, r);
779
+ var o = this, i = Pr(t) ? t : new ct(t, n, r);
803
780
  return Le(function() {
804
- var s = i, a = s.operator, u = s.source;
805
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
806
- }), o;
781
+ var s = o, a = s.operator, u = s.source;
782
+ i.add(a ? a.call(i, u) : u ? o._subscribe(i) : o._trySubscribe(i));
783
+ }), i;
807
784
  }, e.prototype._trySubscribe = function(t) {
808
785
  try {
809
786
  return this._subscribe(t);
@@ -812,90 +789,90 @@ var St = function() {
812
789
  }
813
790
  }, e.prototype.forEach = function(t, n) {
814
791
  var r = this;
815
- return n = At(n), new n(function(i, o) {
816
- var s = new st({
792
+ return n = Ht(n), new n(function(o, i) {
793
+ var s = new ct({
817
794
  next: function(a) {
818
795
  try {
819
796
  t(a);
820
797
  } catch (u) {
821
- o(u), s.unsubscribe();
798
+ i(u), s.unsubscribe();
822
799
  }
823
800
  },
824
- error: o,
825
- complete: i
801
+ error: i,
802
+ complete: o
826
803
  });
827
804
  r.subscribe(s);
828
805
  });
829
806
  }, e.prototype._subscribe = function(t) {
830
807
  var n;
831
808
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
832
- }, e.prototype[Er] = function() {
809
+ }, e.prototype[Cr] = function() {
833
810
  return this;
834
811
  }, e.prototype.pipe = function() {
835
812
  for (var t = [], n = 0; n < arguments.length; n++)
836
813
  t[n] = arguments[n];
837
- return wr(t)(this);
814
+ return Ar(t)(this);
838
815
  }, e.prototype.toPromise = function(t) {
839
816
  var n = this;
840
- return t = At(t), new t(function(r, i) {
841
- var o;
817
+ return t = Ht(t), new t(function(r, o) {
818
+ var i;
842
819
  n.subscribe(function(s) {
843
- return o = s;
820
+ return i = s;
844
821
  }, function(s) {
845
- return i(s);
822
+ return o(s);
846
823
  }, function() {
847
- return r(o);
824
+ return r(i);
848
825
  });
849
826
  });
850
827
  }, e.create = function(t) {
851
828
  return new e(t);
852
829
  }, e;
853
830
  }();
854
- function At(e) {
831
+ function Ht(e) {
855
832
  var t;
856
- return (t = e ?? br.Promise) !== null && t !== void 0 ? t : Promise;
833
+ return (t = e ?? yr.Promise) !== null && t !== void 0 ? t : Promise;
857
834
  }
858
- function Cr(e) {
859
- return e && re(e.next) && re(e.error) && re(e.complete);
835
+ function Tr(e) {
836
+ return e && oe(e.next) && oe(e.error) && oe(e.complete);
860
837
  }
861
- function Sr(e) {
862
- return e && e instanceof un || Cr(e) && an(e);
838
+ function Pr(e) {
839
+ return e && e instanceof fn || Tr(e) && hn(e);
863
840
  }
864
- var Ar = on(function(e) {
841
+ var Mr = ln(function(e) {
865
842
  return function() {
866
843
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
867
844
  };
868
- }), ln = function(e) {
869
- ie(t, e);
845
+ }), dn = function(e) {
846
+ Ae(t, e);
870
847
  function t() {
871
848
  var n = e.call(this) || this;
872
849
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
873
850
  }
874
851
  return t.prototype.lift = function(n) {
875
- var r = new Tt(this, this);
852
+ var r = new Ot(this, this);
876
853
  return r.operator = n, r;
877
854
  }, t.prototype._throwIfClosed = function() {
878
855
  if (this.closed)
879
- throw new Ar();
856
+ throw new Mr();
880
857
  }, t.prototype.next = function(n) {
881
858
  var r = this;
882
859
  Le(function() {
883
- var i, o;
860
+ var o, i;
884
861
  if (r._throwIfClosed(), !r.isStopped) {
885
862
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
886
863
  try {
887
- for (var s = rt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
864
+ for (var s = st(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
888
865
  var u = a.value;
889
866
  u.next(n);
890
867
  }
891
868
  } catch (l) {
892
- i = { error: l };
869
+ o = { error: l };
893
870
  } finally {
894
871
  try {
895
- a && !a.done && (o = s.return) && o.call(s);
872
+ a && !a.done && (i = s.return) && i.call(s);
896
873
  } finally {
897
- if (i)
898
- throw i.error;
874
+ if (o)
875
+ throw o.error;
899
876
  }
900
877
  }
901
878
  }
@@ -905,8 +882,8 @@ var Ar = on(function(e) {
905
882
  Le(function() {
906
883
  if (r._throwIfClosed(), !r.isStopped) {
907
884
  r.hasError = r.isStopped = !0, r.thrownError = n;
908
- for (var i = r.observers; i.length; )
909
- i.shift().error(n);
885
+ for (var o = r.observers; o.length; )
886
+ o.shift().error(n);
910
887
  }
911
888
  });
912
889
  }, t.prototype.complete = function() {
@@ -932,84 +909,84 @@ var Ar = on(function(e) {
932
909
  }, t.prototype._subscribe = function(n) {
933
910
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
934
911
  }, t.prototype._innerSubscribe = function(n) {
935
- var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
936
- return o || s ? sn : (this.currentObservers = null, a.push(n), new Ge(function() {
937
- r.currentObservers = null, ot(a, n);
912
+ var r = this, o = this, i = o.hasError, s = o.isStopped, a = o.observers;
913
+ return i || s ? cn : (this.currentObservers = null, a.push(n), new ke(function() {
914
+ r.currentObservers = null, lt(a, n);
938
915
  }));
939
916
  }, t.prototype._checkFinalizedStatuses = function(n) {
940
- var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
941
- i ? n.error(o) : s && n.complete();
917
+ var r = this, o = r.hasError, i = r.thrownError, s = r.isStopped;
918
+ o ? n.error(i) : s && n.complete();
942
919
  }, t.prototype.asObservable = function() {
943
- var n = new St();
920
+ var n = new Mt();
944
921
  return n.source = this, n;
945
922
  }, t.create = function(n, r) {
946
- return new Tt(n, r);
923
+ return new Ot(n, r);
947
924
  }, t;
948
- }(St), Tt = function(e) {
949
- ie(t, e);
925
+ }(Mt), Ot = function(e) {
926
+ Ae(t, e);
950
927
  function t(n, r) {
951
- var i = e.call(this) || this;
952
- return i.destination = n, i.source = r, i;
928
+ var o = e.call(this) || this;
929
+ return o.destination = n, o.source = r, o;
953
930
  }
954
931
  return t.prototype.next = function(n) {
955
- var r, i;
956
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
932
+ var r, o;
933
+ (o = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || o === void 0 || o.call(r, n);
957
934
  }, t.prototype.error = function(n) {
958
- var r, i;
959
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
935
+ var r, o;
936
+ (o = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || o === void 0 || o.call(r, n);
960
937
  }, t.prototype.complete = function() {
961
938
  var n, r;
962
939
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
963
940
  }, t.prototype._subscribe = function(n) {
964
- var r, i;
965
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : sn;
941
+ var r, o;
942
+ return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : cn;
966
943
  }, t;
967
- }(ln), cn = {
944
+ }(dn), pn = {
968
945
  now: function() {
969
- return (cn.delegate || Date).now();
946
+ return (pn.delegate || Date).now();
970
947
  },
971
948
  delegate: void 0
972
- }, Tr = function(e) {
973
- ie(t, e);
974
- function t(n, r, i) {
975
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = cn);
976
- var o = e.call(this) || this;
977
- return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
949
+ }, Hr = function(e) {
950
+ Ae(t, e);
951
+ function t(n, r, o) {
952
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = pn);
953
+ var i = e.call(this) || this;
954
+ return i._bufferSize = n, i._windowTime = r, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = r === 1 / 0, i._bufferSize = Math.max(1, n), i._windowTime = Math.max(1, r), i;
978
955
  }
979
956
  return t.prototype.next = function(n) {
980
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
981
- i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
957
+ var r = this, o = r.isStopped, i = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
958
+ o || (i.push(n), !s && i.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
982
959
  }, t.prototype._subscribe = function(n) {
983
960
  this._throwIfClosed(), this._trimBuffer();
984
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
961
+ for (var r = this._innerSubscribe(n), o = this, i = o._infiniteTimeWindow, s = o._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += i ? 1 : 2)
985
962
  n.next(a[u]);
986
963
  return this._checkFinalizedStatuses(n), r;
987
964
  }, t.prototype._trimBuffer = function() {
988
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
989
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
990
- for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
965
+ var n = this, r = n._bufferSize, o = n._timestampProvider, i = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
966
+ if (r < 1 / 0 && a < i.length && i.splice(0, i.length - a), !s) {
967
+ for (var u = o.now(), l = 0, c = 1; c < i.length && i[c] <= u; c += 2)
991
968
  l = c;
992
- l && o.splice(0, l + 1);
969
+ l && i.splice(0, l + 1);
993
970
  }
994
971
  }, t;
995
- }(ln);
996
- const Pt = [], Mt = {}, Pr = (e, t = 0) => {
997
- if (Pt.indexOf(e) == -1) {
998
- const n = new Tr(t);
999
- Mt[e] = n, Pt.push(e);
972
+ }(dn);
973
+ const It = [], Nt = {}, Or = (e, t = 0) => {
974
+ if (It.indexOf(e) == -1) {
975
+ const n = new Hr(t);
976
+ Nt[e] = n, It.push(e);
1000
977
  }
1001
- return Mt[e];
978
+ return Nt[e];
1002
979
  }, fe = [];
1003
- function Mr(e, t) {
980
+ function Ir(e, t) {
1004
981
  return {
1005
- subscribe: ke(e, t).subscribe
982
+ subscribe: je(e, t).subscribe
1006
983
  };
1007
984
  }
1008
- function ke(e, t = Q) {
985
+ function je(e, t = Q) {
1009
986
  let n;
1010
987
  const r = /* @__PURE__ */ new Set();
1011
- function i(a) {
1012
- if (en(e, a) && (e = a, n)) {
988
+ function o(a) {
989
+ if (on(e, a) && (e = a, n)) {
1013
990
  const u = !fe.length;
1014
991
  for (const l of r)
1015
992
  l[1](), fe.push(l, e);
@@ -1020,23 +997,23 @@ function ke(e, t = Q) {
1020
997
  }
1021
998
  }
1022
999
  }
1023
- function o(a) {
1024
- i(a(e));
1000
+ function i(a) {
1001
+ o(a(e));
1025
1002
  }
1026
1003
  function s(a, u = Q) {
1027
1004
  const l = [a, u];
1028
- return r.add(l), r.size === 1 && (n = t(i, o) || Q), a(e), () => {
1005
+ return r.add(l), r.size === 1 && (n = t(o, i) || Q), a(e), () => {
1029
1006
  r.delete(l), r.size === 0 && n && (n(), n = null);
1030
1007
  };
1031
1008
  }
1032
- return { set: i, update: o, subscribe: s };
1009
+ return { set: o, update: i, subscribe: s };
1033
1010
  }
1034
- function _e(e, t, n) {
1035
- const r = !Array.isArray(e), i = r ? [e] : e;
1036
- if (!i.every(Boolean))
1011
+ function ye(e, t, n) {
1012
+ const r = !Array.isArray(e), o = r ? [e] : e;
1013
+ if (!o.every(Boolean))
1037
1014
  throw new Error("derived() expects stores as input, got a falsy value");
1038
- const o = t.length < 2;
1039
- return Mr(n, (s, a) => {
1015
+ const i = t.length < 2;
1016
+ return Ir(n, (s, a) => {
1040
1017
  let u = !1;
1041
1018
  const l = [];
1042
1019
  let c = 0, h = Q;
@@ -1045,9 +1022,9 @@ function _e(e, t, n) {
1045
1022
  return;
1046
1023
  h();
1047
1024
  const m = t(r ? l[0] : l, s, a);
1048
- o ? s(m) : h = mt(m) ? m : Q;
1049
- }, b = i.map(
1050
- (m, d) => tn(
1025
+ i ? s(m) : h = _t(m) ? m : Q;
1026
+ }, b = o.map(
1027
+ (m, d) => sn(
1051
1028
  m,
1052
1029
  (C) => {
1053
1030
  l[d] = C, c &= ~(1 << d), u && f();
@@ -1062,114 +1039,153 @@ function _e(e, t, n) {
1062
1039
  };
1063
1040
  });
1064
1041
  }
1065
- function Hr(e) {
1066
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1042
+ function Nr(e) {
1043
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1067
1044
  }
1068
- var Ir = function(t) {
1069
- return Or(t) && !Nr(t);
1045
+ var Lr = function(t) {
1046
+ return Rr(t) && !$r(t);
1070
1047
  };
1071
- function Or(e) {
1048
+ function Rr(e) {
1072
1049
  return !!e && typeof e == "object";
1073
1050
  }
1074
- function Nr(e) {
1051
+ function $r(e) {
1075
1052
  var t = Object.prototype.toString.call(e);
1076
- return t === "[object RegExp]" || t === "[object Date]" || $r(e);
1053
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
1077
1054
  }
1078
- var Lr = typeof Symbol == "function" && Symbol.for, Rr = Lr ? Symbol.for("react.element") : 60103;
1079
- function $r(e) {
1080
- return e.$$typeof === Rr;
1055
+ var Fr = typeof Symbol == "function" && Symbol.for, Ur = Fr ? Symbol.for("react.element") : 60103;
1056
+ function Dr(e) {
1057
+ return e.$$typeof === Ur;
1081
1058
  }
1082
- function Fr(e) {
1059
+ function Gr(e) {
1083
1060
  return Array.isArray(e) ? [] : {};
1084
1061
  }
1085
- function Se(e, t) {
1086
- return t.clone !== !1 && t.isMergeableObject(e) ? be(Fr(e), e, t) : e;
1062
+ function Ce(e, t) {
1063
+ return t.clone !== !1 && t.isMergeableObject(e) ? me(Gr(e), e, t) : e;
1087
1064
  }
1088
- function Ur(e, t, n) {
1065
+ function kr(e, t, n) {
1089
1066
  return e.concat(t).map(function(r) {
1090
- return Se(r, n);
1067
+ return Ce(r, n);
1091
1068
  });
1092
1069
  }
1093
- function Dr(e, t) {
1070
+ function jr(e, t) {
1094
1071
  if (!t.customMerge)
1095
- return be;
1072
+ return me;
1096
1073
  var n = t.customMerge(e);
1097
- return typeof n == "function" ? n : be;
1074
+ return typeof n == "function" ? n : me;
1098
1075
  }
1099
- function Gr(e) {
1076
+ function Wr(e) {
1100
1077
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1101
1078
  return Object.propertyIsEnumerable.call(e, t);
1102
1079
  }) : [];
1103
1080
  }
1104
- function Ht(e) {
1105
- return Object.keys(e).concat(Gr(e));
1081
+ function Lt(e) {
1082
+ return Object.keys(e).concat(Wr(e));
1106
1083
  }
1107
- function hn(e, t) {
1084
+ function mn(e, t) {
1108
1085
  try {
1109
1086
  return t in e;
1110
1087
  } catch {
1111
1088
  return !1;
1112
1089
  }
1113
1090
  }
1114
- function kr(e, t) {
1115
- return hn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1091
+ function Vr(e, t) {
1092
+ return mn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
1093
  }
1117
- function jr(e, t, n) {
1094
+ function zr(e, t, n) {
1118
1095
  var r = {};
1119
- return n.isMergeableObject(e) && Ht(e).forEach(function(i) {
1120
- r[i] = Se(e[i], n);
1121
- }), Ht(t).forEach(function(i) {
1122
- kr(e, i) || (hn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Dr(i, n)(e[i], t[i], n) : r[i] = Se(t[i], n));
1096
+ return n.isMergeableObject(e) && Lt(e).forEach(function(o) {
1097
+ r[o] = Ce(e[o], n);
1098
+ }), Lt(t).forEach(function(o) {
1099
+ Vr(e, o) || (mn(e, o) && n.isMergeableObject(t[o]) ? r[o] = jr(o, n)(e[o], t[o], n) : r[o] = Ce(t[o], n));
1123
1100
  }), r;
1124
1101
  }
1125
- function be(e, t, n) {
1126
- n = n || {}, n.arrayMerge = n.arrayMerge || Ur, n.isMergeableObject = n.isMergeableObject || Ir, n.cloneUnlessOtherwiseSpecified = Se;
1127
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1128
- return o ? r ? n.arrayMerge(e, t, n) : jr(e, t, n) : Se(t, n);
1102
+ function me(e, t, n) {
1103
+ n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject || Lr, n.cloneUnlessOtherwiseSpecified = Ce;
1104
+ var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1105
+ return i ? r ? n.arrayMerge(e, t, n) : zr(e, t, n) : Ce(t, n);
1129
1106
  }
1130
- be.all = function(t, n) {
1107
+ me.all = function(t, n) {
1131
1108
  if (!Array.isArray(t))
1132
1109
  throw new Error("first argument should be an array");
1133
- return t.reduce(function(r, i) {
1134
- return be(r, i, n);
1110
+ return t.reduce(function(r, o) {
1111
+ return me(r, o, n);
1135
1112
  }, {});
1136
1113
  };
1137
- var Wr = be, Vr = Wr;
1138
- const zr = /* @__PURE__ */ Hr(Vr);
1139
- function Ze(e, t) {
1140
- var n = t && t.cache ? t.cache : Kr, r = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Zr;
1141
- return i(e, {
1114
+ var Xr = me, Zr = Xr;
1115
+ const qr = /* @__PURE__ */ Nr(Zr);
1116
+ var ht = function(e, t) {
1117
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1118
+ n.__proto__ = r;
1119
+ } || function(n, r) {
1120
+ for (var o in r)
1121
+ Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
1122
+ }, ht(e, t);
1123
+ };
1124
+ function We(e, t) {
1125
+ if (typeof t != "function" && t !== null)
1126
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1127
+ ht(e, t);
1128
+ function n() {
1129
+ this.constructor = e;
1130
+ }
1131
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
1132
+ }
1133
+ var Y = function() {
1134
+ return Y = Object.assign || function(t) {
1135
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
1136
+ n = arguments[r];
1137
+ for (var i in n)
1138
+ Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1139
+ }
1140
+ return t;
1141
+ }, Y.apply(this, arguments);
1142
+ };
1143
+ function Qr(e, t) {
1144
+ var n = {};
1145
+ for (var r in e)
1146
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1147
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1148
+ for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
1149
+ t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
1150
+ return n;
1151
+ }
1152
+ function Qe(e, t, n) {
1153
+ if (n || arguments.length === 2)
1154
+ for (var r = 0, o = t.length, i; r < o; r++)
1155
+ (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
1156
+ return e.concat(i || Array.prototype.slice.call(t));
1157
+ }
1158
+ function Je(e, t) {
1159
+ var n = t && t.cache ? t.cache : ro, r = t && t.serializer ? t.serializer : to, o = t && t.strategy ? t.strategy : Kr;
1160
+ return o(e, {
1142
1161
  cache: n,
1143
1162
  serializer: r
1144
1163
  });
1145
1164
  }
1146
- function Xr(e) {
1165
+ function Jr(e) {
1147
1166
  return e == null || typeof e == "number" || typeof e == "boolean";
1148
1167
  }
1149
- function fn(e, t, n, r) {
1150
- var i = Xr(r) ? r : n(r), o = t.get(i);
1151
- return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1168
+ function Yr(e, t, n, r) {
1169
+ var o = Jr(r) ? r : n(r), i = t.get(o);
1170
+ return typeof i > "u" && (i = e.call(this, r), t.set(o, i)), i;
1152
1171
  }
1153
- function dn(e, t, n) {
1154
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1155
- return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1172
+ function bn(e, t, n) {
1173
+ var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
1174
+ return typeof i > "u" && (i = e.apply(this, r), t.set(o, i)), i;
1156
1175
  }
1157
- function gt(e, t, n, r, i) {
1158
- return n.bind(t, e, r, i);
1176
+ function gn(e, t, n, r, o) {
1177
+ return n.bind(t, e, r, o);
1159
1178
  }
1160
- function Zr(e, t) {
1161
- var n = e.length === 1 ? fn : dn;
1162
- return gt(e, this, n, t.cache.create(), t.serializer);
1179
+ function Kr(e, t) {
1180
+ var n = e.length === 1 ? Yr : bn;
1181
+ return gn(e, this, n, t.cache.create(), t.serializer);
1163
1182
  }
1164
- function qr(e, t) {
1165
- return gt(e, this, dn, t.cache.create(), t.serializer);
1166
- }
1167
- function Qr(e, t) {
1168
- return gt(e, this, fn, t.cache.create(), t.serializer);
1183
+ function eo(e, t) {
1184
+ return gn(e, this, bn, t.cache.create(), t.serializer);
1169
1185
  }
1170
- var Jr = function() {
1186
+ var to = function() {
1171
1187
  return JSON.stringify(arguments);
1172
- }, Yr = (
1188
+ }, no = (
1173
1189
  /** @class */
1174
1190
  function() {
1175
1191
  function e() {
@@ -1181,62 +1197,71 @@ var Jr = function() {
1181
1197
  this.cache[t] = n;
1182
1198
  }, e;
1183
1199
  }()
1184
- ), Kr = {
1200
+ ), ro = {
1185
1201
  create: function() {
1186
- return new Yr();
1202
+ return new no();
1187
1203
  }
1188
- }, qe = {
1189
- variadic: qr,
1190
- monadic: Qr
1191
- }, x;
1204
+ }, Ye = {
1205
+ variadic: eo
1206
+ }, Ue = function() {
1207
+ return Ue = Object.assign || function(t) {
1208
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
1209
+ n = arguments[r];
1210
+ for (var i in n)
1211
+ Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1212
+ }
1213
+ return t;
1214
+ }, Ue.apply(this, arguments);
1215
+ };
1216
+ var x;
1192
1217
  (function(e) {
1193
1218
  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";
1194
1219
  })(x || (x = {}));
1195
- var I;
1220
+ var H;
1196
1221
  (function(e) {
1197
1222
  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";
1198
- })(I || (I = {}));
1199
- var ge;
1223
+ })(H || (H = {}));
1224
+ var be;
1200
1225
  (function(e) {
1201
1226
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1202
- })(ge || (ge = {}));
1203
- function It(e) {
1204
- return e.type === I.literal;
1227
+ })(be || (be = {}));
1228
+ function Rt(e) {
1229
+ return e.type === H.literal;
1205
1230
  }
1206
- function ei(e) {
1207
- return e.type === I.argument;
1231
+ function oo(e) {
1232
+ return e.type === H.argument;
1208
1233
  }
1209
- function pn(e) {
1210
- return e.type === I.number;
1234
+ function vn(e) {
1235
+ return e.type === H.number;
1211
1236
  }
1212
- function mn(e) {
1213
- return e.type === I.date;
1237
+ function yn(e) {
1238
+ return e.type === H.date;
1214
1239
  }
1215
- function bn(e) {
1216
- return e.type === I.time;
1240
+ function _n(e) {
1241
+ return e.type === H.time;
1217
1242
  }
1218
- function gn(e) {
1219
- return e.type === I.select;
1243
+ function Bn(e) {
1244
+ return e.type === H.select;
1220
1245
  }
1221
- function vn(e) {
1222
- return e.type === I.plural;
1246
+ function En(e) {
1247
+ return e.type === H.plural;
1223
1248
  }
1224
- function ti(e) {
1225
- return e.type === I.pound;
1249
+ function io(e) {
1250
+ return e.type === H.pound;
1226
1251
  }
1227
- function yn(e) {
1228
- return e.type === I.tag;
1252
+ function xn(e) {
1253
+ return e.type === H.tag;
1229
1254
  }
1230
- function _n(e) {
1231
- return !!(e && typeof e == "object" && e.type === ge.number);
1255
+ function wn(e) {
1256
+ return !!(e && typeof e == "object" && e.type === be.number);
1232
1257
  }
1233
- function at(e) {
1234
- return !!(e && typeof e == "object" && e.type === ge.dateTime);
1258
+ function ft(e) {
1259
+ return !!(e && typeof e == "object" && e.type === be.dateTime);
1235
1260
  }
1236
- var Bn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1237
- function ri(e) {
1261
+ var Cn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, so = /(?:[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;
1262
+ function ao(e) {
1238
1263
  var t = {};
1239
- return e.replace(ni, function(n) {
1264
+ return e.replace(so, function(n) {
1240
1265
  var r = n.length;
1241
1266
  switch (n[0]) {
1242
1267
  case "G":
@@ -1325,14 +1350,24 @@ function ri(e) {
1325
1350
  return "";
1326
1351
  }), t;
1327
1352
  }
1328
- var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1329
- function oi(e) {
1353
+ var I = function() {
1354
+ return I = Object.assign || function(t) {
1355
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
1356
+ n = arguments[r];
1357
+ for (var i in n)
1358
+ Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1359
+ }
1360
+ return t;
1361
+ }, I.apply(this, arguments);
1362
+ };
1363
+ var uo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
+ function lo(e) {
1330
1365
  if (e.length === 0)
1331
1366
  throw new Error("Number skeleton cannot be empty");
1332
- for (var t = e.split(ii).filter(function(f) {
1367
+ for (var t = e.split(uo).filter(function(f) {
1333
1368
  return f.length > 0;
1334
- }), n = [], r = 0, i = t; r < i.length; r++) {
1335
- var o = i[r], s = o.split("/");
1369
+ }), n = [], r = 0, o = t; r < o.length; r++) {
1370
+ var i = o[r], s = i.split("/");
1336
1371
  if (s.length === 0)
1337
1372
  throw new Error("Invalid number skeleton");
1338
1373
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -1344,17 +1379,17 @@ function oi(e) {
1344
1379
  }
1345
1380
  return n;
1346
1381
  }
1347
- function si(e) {
1382
+ function co(e) {
1348
1383
  return e.replace(/^(.*?)-/, "");
1349
1384
  }
1350
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, En = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, xn = /^(0+)$/;
1351
- function Nt(e) {
1385
+ var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sn = /^(@+)?(\+|#+)?[rs]?$/g, ho = /(\*)(0+)|(#+)(0+)|(0+)/g, An = /^(0+)$/;
1386
+ function Ft(e) {
1352
1387
  var t = {};
1353
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(En, function(n, r, i) {
1354
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1388
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sn, function(n, r, o) {
1389
+ return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
1355
1390
  }), t;
1356
1391
  }
1357
- function wn(e) {
1392
+ function Tn(e) {
1358
1393
  switch (e) {
1359
1394
  case "sign-auto":
1360
1395
  return {
@@ -1394,7 +1429,7 @@ function wn(e) {
1394
1429
  };
1395
1430
  }
1396
1431
  }
1397
- function ui(e) {
1432
+ function fo(e) {
1398
1433
  var t;
1399
1434
  if (e[0] === "E" && e[1] === "E" ? (t = {
1400
1435
  notation: "engineering"
@@ -1402,20 +1437,20 @@ function ui(e) {
1402
1437
  notation: "scientific"
1403
1438
  }, e = e.slice(1)), t) {
1404
1439
  var n = e.slice(0, 2);
1405
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xn.test(e))
1440
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !An.test(e))
1406
1441
  throw new Error("Malformed concise eng/scientific notation");
1407
1442
  t.minimumIntegerDigits = e.length;
1408
1443
  }
1409
1444
  return t;
1410
1445
  }
1411
- function Lt(e) {
1412
- var t = {}, n = wn(e);
1446
+ function Ut(e) {
1447
+ var t = {}, n = Tn(e);
1413
1448
  return n || t;
1414
1449
  }
1415
- function li(e) {
1450
+ function po(e) {
1416
1451
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1417
- var i = r[n];
1418
- switch (i.stem) {
1452
+ var o = r[n];
1453
+ switch (o.stem) {
1419
1454
  case "percent":
1420
1455
  case "%":
1421
1456
  t.style = "percent";
@@ -1424,7 +1459,7 @@ function li(e) {
1424
1459
  t.style = "percent", t.scale = 100;
1425
1460
  continue;
1426
1461
  case "currency":
1427
- t.style = "currency", t.currency = i.options[0];
1462
+ t.style = "currency", t.currency = o.options[0];
1428
1463
  continue;
1429
1464
  case "group-off":
1430
1465
  case ",_":
@@ -1436,7 +1471,7 @@ function li(e) {
1436
1471
  continue;
1437
1472
  case "measure-unit":
1438
1473
  case "unit":
1439
- t.style = "unit", t.unit = si(i.options[0]);
1474
+ t.style = "unit", t.unit = co(o.options[0]);
1440
1475
  continue;
1441
1476
  case "compact-short":
1442
1477
  case "K":
@@ -1447,13 +1482,13 @@ function li(e) {
1447
1482
  t.notation = "compact", t.compactDisplay = "long";
1448
1483
  continue;
1449
1484
  case "scientific":
1450
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1451
- return A(A({}, u), Lt(l));
1485
+ t = I(I(I({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1486
+ return I(I({}, u), Ut(l));
1452
1487
  }, {}));
1453
1488
  continue;
1454
1489
  case "engineering":
1455
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1456
- return A(A({}, u), Lt(l));
1490
+ t = I(I(I({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1491
+ return I(I({}, u), Ut(l));
1457
1492
  }, {}));
1458
1493
  continue;
1459
1494
  case "notation-simple":
@@ -1472,7 +1507,7 @@ function li(e) {
1472
1507
  t.currencyDisplay = "symbol";
1473
1508
  continue;
1474
1509
  case "scale":
1475
- t.scale = parseFloat(i.options[0]);
1510
+ t.scale = parseFloat(o.options[0]);
1476
1511
  continue;
1477
1512
  case "rounding-mode-floor":
1478
1513
  t.roundingMode = "floor";
@@ -1496,9 +1531,9 @@ function li(e) {
1496
1531
  t.roundingMode = "halfExpand";
1497
1532
  continue;
1498
1533
  case "integer-width":
1499
- if (i.options.length > 1)
1534
+ if (o.options.length > 1)
1500
1535
  throw new RangeError("integer-width stems only accept a single optional option");
1501
- i.options[0].replace(ai, function(u, l, c, h, f, b) {
1536
+ o.options[0].replace(ho, function(u, l, c, h, f, b) {
1502
1537
  if (l)
1503
1538
  t.minimumIntegerDigits = c.length;
1504
1539
  else {
@@ -1511,32 +1546,32 @@ function li(e) {
1511
1546
  });
1512
1547
  continue;
1513
1548
  }
1514
- if (xn.test(i.stem)) {
1515
- t.minimumIntegerDigits = i.stem.length;
1549
+ if (An.test(o.stem)) {
1550
+ t.minimumIntegerDigits = o.stem.length;
1516
1551
  continue;
1517
1552
  }
1518
- if (Ot.test(i.stem)) {
1519
- if (i.options.length > 1)
1553
+ if ($t.test(o.stem)) {
1554
+ if (o.options.length > 1)
1520
1555
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1521
- i.stem.replace(Ot, function(u, l, c, h, f, b) {
1556
+ o.stem.replace($t, function(u, l, c, h, f, b) {
1522
1557
  return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1523
1558
  });
1524
- var o = i.options[0];
1525
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Nt(o)));
1559
+ var i = o.options[0];
1560
+ i === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = I(I({}, t), Ft(i)));
1526
1561
  continue;
1527
1562
  }
1528
- if (En.test(i.stem)) {
1529
- t = A(A({}, t), Nt(i.stem));
1563
+ if (Sn.test(o.stem)) {
1564
+ t = I(I({}, t), Ft(o.stem));
1530
1565
  continue;
1531
1566
  }
1532
- var s = wn(i.stem);
1533
- s && (t = A(A({}, t), s));
1534
- var a = ui(i.stem);
1535
- a && (t = A(A({}, t), a));
1567
+ var s = Tn(o.stem);
1568
+ s && (t = I(I({}, t), s));
1569
+ var a = fo(o.stem);
1570
+ a && (t = I(I({}, t), a));
1536
1571
  }
1537
1572
  return t;
1538
1573
  }
1539
- var Oe = {
1574
+ var Ie = {
1540
1575
  "001": [
1541
1576
  "H",
1542
1577
  "h"
@@ -2951,23 +2986,23 @@ var Oe = {
2951
2986
  "h"
2952
2987
  ]
2953
2988
  };
2954
- function ci(e, t) {
2989
+ function mo(e, t) {
2955
2990
  for (var n = "", r = 0; r < e.length; r++) {
2956
- var i = e.charAt(r);
2957
- if (i === "j") {
2958
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2959
- o++, r++;
2960
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = hi(t);
2991
+ var o = e.charAt(r);
2992
+ if (o === "j") {
2993
+ for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
2994
+ i++, r++;
2995
+ var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = bo(t);
2961
2996
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2962
2997
  n += u;
2963
2998
  for (; s-- > 0; )
2964
2999
  n = l + n;
2965
3000
  } else
2966
- i === "J" ? n += "H" : n += i;
3001
+ o === "J" ? n += "H" : n += o;
2967
3002
  }
2968
3003
  return n;
2969
3004
  }
2970
- function hi(e) {
3005
+ function bo(e) {
2971
3006
  var t = e.hourCycle;
2972
3007
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2973
3008
  e.hourCycles && // @ts-ignore
@@ -2986,23 +3021,23 @@ function hi(e) {
2986
3021
  }
2987
3022
  var n = e.language, r;
2988
3023
  n !== "root" && (r = e.maximize().region);
2989
- var i = Oe[r || ""] || Oe[n || ""] || Oe["".concat(n, "-001")] || Oe["001"];
2990
- return i[0];
3024
+ var o = Ie[r || ""] || Ie[n || ""] || Ie["".concat(n, "-001")] || Ie["001"];
3025
+ return o[0];
2991
3026
  }
2992
- var Qe, fi = new RegExp("^".concat(Bn.source, "*")), di = new RegExp("".concat(Bn.source, "*$"));
3027
+ var Ke, go = new RegExp("^".concat(Cn.source, "*")), vo = new RegExp("".concat(Cn.source, "*$"));
2993
3028
  function w(e, t) {
2994
3029
  return { start: e, end: t };
2995
3030
  }
2996
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Bi = _i ? Number.isSafeInteger : function(e) {
3031
+ var yo = !!String.prototype.startsWith && "_a".startsWith("a", 1), _o = !!String.fromCodePoint, Bo = !!Object.fromEntries, Eo = !!String.prototype.codePointAt, xo = !!String.prototype.trimStart, wo = !!String.prototype.trimEnd, Co = !!Number.isSafeInteger, So = Co ? Number.isSafeInteger : function(e) {
2997
3032
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
- }, ut = !0;
3033
+ }, dt = !0;
2999
3034
  try {
3000
- var Ei = Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
- ut = ((Qe = Ei.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
3035
+ var Ao = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
+ dt = ((Ke = Ao.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3002
3037
  } catch {
3003
- ut = !1;
3038
+ dt = !1;
3004
3039
  }
3005
- var Rt = pi ? (
3040
+ var Dt = yo ? (
3006
3041
  // Native
3007
3042
  function(t, n, r) {
3008
3043
  return t.startsWith(n, r);
@@ -3012,31 +3047,31 @@ var Rt = pi ? (
3012
3047
  function(t, n, r) {
3013
3048
  return t.slice(r, r + n.length) === n;
3014
3049
  }
3015
- ), lt = mi ? String.fromCodePoint : (
3050
+ ), pt = _o ? String.fromCodePoint : (
3016
3051
  // IE11
3017
3052
  function() {
3018
3053
  for (var t = [], n = 0; n < arguments.length; n++)
3019
3054
  t[n] = arguments[n];
3020
- for (var r = "", i = t.length, o = 0, s; i > o; ) {
3021
- if (s = t[o++], s > 1114111)
3055
+ for (var r = "", o = t.length, i = 0, s; o > i; ) {
3056
+ if (s = t[i++], s > 1114111)
3022
3057
  throw RangeError(s + " is not a valid code point");
3023
3058
  r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3024
3059
  }
3025
3060
  return r;
3026
3061
  }
3027
- ), $t = (
3062
+ ), Gt = (
3028
3063
  // native
3029
- bi ? Object.fromEntries : (
3064
+ Bo ? Object.fromEntries : (
3030
3065
  // Ponyfill
3031
3066
  function(t) {
3032
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3033
- var o = i[r], s = o[0], a = o[1];
3067
+ for (var n = {}, r = 0, o = t; r < o.length; r++) {
3068
+ var i = o[r], s = i[0], a = i[1];
3034
3069
  n[s] = a;
3035
3070
  }
3036
3071
  return n;
3037
3072
  }
3038
3073
  )
3039
- ), Cn = gi ? (
3074
+ ), Pn = Eo ? (
3040
3075
  // Native
3041
3076
  function(t, n) {
3042
3077
  return t.codePointAt(n);
@@ -3046,11 +3081,11 @@ var Rt = pi ? (
3046
3081
  function(t, n) {
3047
3082
  var r = t.length;
3048
3083
  if (!(n < 0 || n >= r)) {
3049
- var i = t.charCodeAt(n), o;
3050
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3084
+ var o = t.charCodeAt(n), i;
3085
+ return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
3051
3086
  }
3052
3087
  }
3053
- ), xi = vi ? (
3088
+ ), To = xo ? (
3054
3089
  // Native
3055
3090
  function(t) {
3056
3091
  return t.trimStart();
@@ -3058,9 +3093,9 @@ var Rt = pi ? (
3058
3093
  ) : (
3059
3094
  // Ponyfill
3060
3095
  function(t) {
3061
- return t.replace(fi, "");
3096
+ return t.replace(go, "");
3062
3097
  }
3063
- ), wi = yi ? (
3098
+ ), Po = wo ? (
3064
3099
  // Native
3065
3100
  function(t) {
3066
3101
  return t.trimEnd();
@@ -3068,32 +3103,32 @@ var Rt = pi ? (
3068
3103
  ) : (
3069
3104
  // Ponyfill
3070
3105
  function(t) {
3071
- return t.replace(di, "");
3106
+ return t.replace(vo, "");
3072
3107
  }
3073
3108
  );
3074
- function Sn(e, t) {
3109
+ function Mn(e, t) {
3075
3110
  return new RegExp(e, t);
3076
3111
  }
3077
- var ct;
3078
- if (ut) {
3079
- var Ft = Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- ct = function(t, n) {
3112
+ var mt;
3113
+ if (dt) {
3114
+ var kt = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3115
+ mt = function(t, n) {
3081
3116
  var r;
3082
- Ft.lastIndex = n;
3083
- var i = Ft.exec(t);
3084
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3117
+ kt.lastIndex = n;
3118
+ var o = kt.exec(t);
3119
+ return (r = o[1]) !== null && r !== void 0 ? r : "";
3085
3120
  };
3086
3121
  } else
3087
- ct = function(t, n) {
3122
+ mt = function(t, n) {
3088
3123
  for (var r = []; ; ) {
3089
- var i = Cn(t, n);
3090
- if (i === void 0 || An(i) || Ti(i))
3124
+ var o = Pn(t, n);
3125
+ if (o === void 0 || Hn(o) || Io(o))
3091
3126
  break;
3092
- r.push(i), n += i >= 65536 ? 2 : 1;
3127
+ r.push(o), n += o >= 65536 ? 2 : 1;
3093
3128
  }
3094
- return lt.apply(void 0, r);
3129
+ return pt.apply(void 0, r);
3095
3130
  };
3096
- var Ci = (
3131
+ var Mo = (
3097
3132
  /** @class */
3098
3133
  function() {
3099
3134
  function e(t, n) {
@@ -3104,66 +3139,66 @@ var Ci = (
3104
3139
  throw Error("parser can only be used once");
3105
3140
  return this.parseMessage(0, "", !1);
3106
3141
  }, e.prototype.parseMessage = function(t, n, r) {
3107
- for (var i = []; !this.isEOF(); ) {
3108
- var o = this.char();
3109
- if (o === 123) {
3142
+ for (var o = []; !this.isEOF(); ) {
3143
+ var i = this.char();
3144
+ if (i === 123) {
3110
3145
  var s = this.parseArgument(t, r);
3111
3146
  if (s.err)
3112
3147
  return s;
3113
- i.push(s.val);
3148
+ o.push(s.val);
3114
3149
  } else {
3115
- if (o === 125 && t > 0)
3150
+ if (i === 125 && t > 0)
3116
3151
  break;
3117
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3152
+ if (i === 35 && (n === "plural" || n === "selectordinal")) {
3118
3153
  var a = this.clonePosition();
3119
- this.bump(), i.push({
3120
- type: I.pound,
3154
+ this.bump(), o.push({
3155
+ type: H.pound,
3121
3156
  location: w(a, this.clonePosition())
3122
3157
  });
3123
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3158
+ } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
3124
3159
  if (r)
3125
3160
  break;
3126
3161
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3127
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3162
+ } else if (i === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
3128
3163
  var s = this.parseTag(t, n);
3129
3164
  if (s.err)
3130
3165
  return s;
3131
- i.push(s.val);
3166
+ o.push(s.val);
3132
3167
  } else {
3133
3168
  var s = this.parseLiteral(t, n);
3134
3169
  if (s.err)
3135
3170
  return s;
3136
- i.push(s.val);
3171
+ o.push(s.val);
3137
3172
  }
3138
3173
  }
3139
3174
  }
3140
- return { val: i, err: null };
3175
+ return { val: o, err: null };
3141
3176
  }, e.prototype.parseTag = function(t, n) {
3142
3177
  var r = this.clonePosition();
3143
3178
  this.bump();
3144
- var i = this.parseTagName();
3179
+ var o = this.parseTagName();
3145
3180
  if (this.bumpSpace(), this.bumpIf("/>"))
3146
3181
  return {
3147
3182
  val: {
3148
- type: I.literal,
3149
- value: "<".concat(i, "/>"),
3183
+ type: H.literal,
3184
+ value: "<".concat(o, "/>"),
3150
3185
  location: w(r, this.clonePosition())
3151
3186
  },
3152
3187
  err: null
3153
3188
  };
3154
3189
  if (this.bumpIf(">")) {
3155
- var o = this.parseMessage(t + 1, n, !0);
3156
- if (o.err)
3157
- return o;
3158
- var s = o.val, a = this.clonePosition();
3190
+ var i = this.parseMessage(t + 1, n, !0);
3191
+ if (i.err)
3192
+ return i;
3193
+ var s = i.val, a = this.clonePosition();
3159
3194
  if (this.bumpIf("</")) {
3160
- if (this.isEOF() || !ht(this.char()))
3195
+ if (this.isEOF() || !bt(this.char()))
3161
3196
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3162
3197
  var u = this.clonePosition(), l = this.parseTagName();
3163
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3198
+ return o !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3164
3199
  val: {
3165
- type: I.tag,
3166
- value: i,
3200
+ type: H.tag,
3201
+ value: o,
3167
3202
  children: s,
3168
3203
  location: w(r, this.clonePosition())
3169
3204
  },
@@ -3175,36 +3210,36 @@ var Ci = (
3175
3210
  return this.error(x.INVALID_TAG, w(r, this.clonePosition()));
3176
3211
  }, e.prototype.parseTagName = function() {
3177
3212
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
3213
+ for (this.bump(); !this.isEOF() && Oo(this.char()); )
3179
3214
  this.bump();
3180
3215
  return this.message.slice(t, this.offset());
3181
3216
  }, e.prototype.parseLiteral = function(t, n) {
3182
- for (var r = this.clonePosition(), i = ""; ; ) {
3183
- var o = this.tryParseQuote(n);
3184
- if (o) {
3185
- i += o;
3217
+ for (var r = this.clonePosition(), o = ""; ; ) {
3218
+ var i = this.tryParseQuote(n);
3219
+ if (i) {
3220
+ o += i;
3186
3221
  continue;
3187
3222
  }
3188
3223
  var s = this.tryParseUnquoted(t, n);
3189
3224
  if (s) {
3190
- i += s;
3225
+ o += s;
3191
3226
  continue;
3192
3227
  }
3193
3228
  var a = this.tryParseLeftAngleBracket();
3194
3229
  if (a) {
3195
- i += a;
3230
+ o += a;
3196
3231
  continue;
3197
3232
  }
3198
3233
  break;
3199
3234
  }
3200
3235
  var u = w(r, this.clonePosition());
3201
3236
  return {
3202
- val: { type: I.literal, value: i, location: u },
3237
+ val: { type: H.literal, value: o, location: u },
3203
3238
  err: null
3204
3239
  };
3205
3240
  }, e.prototype.tryParseLeftAngleBracket = function() {
3206
3241
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3207
- !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
+ !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
3243
  }, e.prototype.tryParseQuote = function(t) {
3209
3244
  if (this.isEOF() || this.char() !== 39)
3210
3245
  return null;
@@ -3238,20 +3273,20 @@ var Ci = (
3238
3273
  n.push(r);
3239
3274
  this.bump();
3240
3275
  }
3241
- return lt.apply(void 0, n);
3276
+ return pt.apply(void 0, n);
3242
3277
  }, e.prototype.tryParseUnquoted = function(t, n) {
3243
3278
  if (this.isEOF())
3244
3279
  return null;
3245
3280
  var r = this.char();
3246
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), lt(r));
3281
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), pt(r));
3247
3282
  }, e.prototype.parseArgument = function(t, n) {
3248
3283
  var r = this.clonePosition();
3249
3284
  if (this.bump(), this.bumpSpace(), this.isEOF())
3250
3285
  return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition()));
3251
3286
  if (this.char() === 125)
3252
3287
  return this.bump(), this.error(x.EMPTY_ARGUMENT, w(r, this.clonePosition()));
3253
- var i = this.parseIdentifierIfPossible().value;
3254
- if (!i)
3288
+ var o = this.parseIdentifierIfPossible().value;
3289
+ if (!o)
3255
3290
  return this.error(x.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
3256
3291
  if (this.bumpSpace(), this.isEOF())
3257
3292
  return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition()));
@@ -3259,25 +3294,25 @@ var Ci = (
3259
3294
  case 125:
3260
3295
  return this.bump(), {
3261
3296
  val: {
3262
- type: I.argument,
3297
+ type: H.argument,
3263
3298
  // value does not include the opening and closing braces.
3264
- value: i,
3299
+ value: o,
3265
3300
  location: w(r, this.clonePosition())
3266
3301
  },
3267
3302
  err: null
3268
3303
  };
3269
3304
  case 44:
3270
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3305
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
3271
3306
  default:
3272
3307
  return this.error(x.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
3273
3308
  }
3274
3309
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
- var t = this.clonePosition(), n = this.offset(), r = ct(this.message, n), i = n + r.length;
3276
- this.bumpTo(i);
3277
- var o = this.clonePosition(), s = w(t, o);
3310
+ var t = this.clonePosition(), n = this.offset(), r = mt(this.message, n), o = n + r.length;
3311
+ this.bumpTo(o);
3312
+ var i = this.clonePosition(), s = w(t, i);
3278
3313
  return { value: r, location: s };
3279
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3280
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3314
+ }, e.prototype.parseArgumentOptions = function(t, n, r, o) {
3315
+ var i, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3281
3316
  switch (a) {
3282
3317
  case "":
3283
3318
  return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, u));
@@ -3291,35 +3326,35 @@ var Ci = (
3291
3326
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3292
3327
  if (h.err)
3293
3328
  return h;
3294
- var f = wi(h.val);
3329
+ var f = Po(h.val);
3295
3330
  if (f.length === 0)
3296
3331
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3297
3332
  var b = w(c, this.clonePosition());
3298
3333
  l = { style: f, styleLocation: b };
3299
3334
  }
3300
- var m = this.tryParseArgumentClose(i);
3335
+ var m = this.tryParseArgumentClose(o);
3301
3336
  if (m.err)
3302
3337
  return m;
3303
- var d = w(i, this.clonePosition());
3304
- if (l && Rt(l?.style, "::", 0)) {
3305
- var C = xi(l.style.slice(2));
3338
+ var d = w(o, this.clonePosition());
3339
+ if (l && Dt(l?.style, "::", 0)) {
3340
+ var C = To(l.style.slice(2));
3306
3341
  if (a === "number") {
3307
3342
  var h = this.parseNumberSkeletonFromString(C, l.styleLocation);
3308
3343
  return h.err ? h : {
3309
- val: { type: I.number, value: r, location: d, style: h.val },
3344
+ val: { type: H.number, value: r, location: d, style: h.val },
3310
3345
  err: null
3311
3346
  };
3312
3347
  } else {
3313
3348
  if (C.length === 0)
3314
3349
  return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3315
3350
  var _ = C;
3316
- this.locale && (_ = ci(C, this.locale));
3351
+ this.locale && (_ = mo(C, this.locale));
3317
3352
  var f = {
3318
- type: ge.dateTime,
3353
+ type: be.dateTime,
3319
3354
  pattern: _,
3320
3355
  location: l.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? ri(_) : {}
3322
- }, y = a === "date" ? I.date : I.time;
3356
+ parsedOptions: this.shouldParseSkeletons ? ao(_) : {}
3357
+ }, y = a === "date" ? H.date : H.time;
3323
3358
  return {
3324
3359
  val: { type: y, value: r, location: d, style: f },
3325
3360
  err: null
@@ -3328,10 +3363,10 @@ var Ci = (
3328
3363
  }
3329
3364
  return {
3330
3365
  val: {
3331
- type: a === "number" ? I.number : a === "date" ? I.date : I.time,
3366
+ type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3332
3367
  value: r,
3333
3368
  location: d,
3334
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3369
+ style: (i = l?.style) !== null && i !== void 0 ? i : null
3335
3370
  },
3336
3371
  err: null
3337
3372
  };
@@ -3339,11 +3374,11 @@ var Ci = (
3339
3374
  case "plural":
3340
3375
  case "selectordinal":
3341
3376
  case "select": {
3342
- var M = this.clonePosition();
3377
+ var P = this.clonePosition();
3343
3378
  if (this.bumpSpace(), !this.bumpIf(","))
3344
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(M, A({}, M)));
3379
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(P, Ue({}, P)));
3345
3380
  this.bumpSpace();
3346
- var O = this.parseIdentifierIfPossible(), T = 0;
3381
+ var O = this.parseIdentifierIfPossible(), A = 0;
3347
3382
  if (a !== "select" && O.value === "offset") {
3348
3383
  if (!this.bumpIf(":"))
3349
3384
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
@@ -3351,29 +3386,29 @@ var Ci = (
3351
3386
  var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3352
3387
  if (h.err)
3353
3388
  return h;
3354
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), T = h.val;
3389
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), A = h.val;
3355
3390
  }
3356
3391
  var E = this.tryParsePluralOrSelectOptions(t, a, n, O);
3357
3392
  if (E.err)
3358
3393
  return E;
3359
- var m = this.tryParseArgumentClose(i);
3394
+ var m = this.tryParseArgumentClose(o);
3360
3395
  if (m.err)
3361
3396
  return m;
3362
- var N = w(i, this.clonePosition());
3397
+ var N = w(o, this.clonePosition());
3363
3398
  return a === "select" ? {
3364
3399
  val: {
3365
- type: I.select,
3400
+ type: H.select,
3366
3401
  value: r,
3367
- options: $t(E.val),
3402
+ options: Gt(E.val),
3368
3403
  location: N
3369
3404
  },
3370
3405
  err: null
3371
3406
  } : {
3372
3407
  val: {
3373
- type: I.plural,
3408
+ type: H.plural,
3374
3409
  value: r,
3375
- options: $t(E.val),
3376
- offset: T,
3410
+ options: Gt(E.val),
3411
+ offset: A,
3377
3412
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
3413
  location: N
3379
3414
  },
@@ -3391,9 +3426,9 @@ var Ci = (
3391
3426
  switch (r) {
3392
3427
  case 39: {
3393
3428
  this.bump();
3394
- var i = this.clonePosition();
3429
+ var o = this.clonePosition();
3395
3430
  if (!this.bumpUntil("'"))
3396
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3431
+ return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(o, this.clonePosition()));
3397
3432
  this.bump();
3398
3433
  break;
3399
3434
  }
@@ -3423,21 +3458,21 @@ var Ci = (
3423
3458
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3424
3459
  var r = [];
3425
3460
  try {
3426
- r = oi(t);
3461
+ r = lo(t);
3427
3462
  } catch {
3428
3463
  return this.error(x.INVALID_NUMBER_SKELETON, n);
3429
3464
  }
3430
3465
  return {
3431
3466
  val: {
3432
- type: ge.number,
3467
+ type: be.number,
3433
3468
  tokens: r,
3434
3469
  location: n,
3435
- parsedOptions: this.shouldParseSkeletons ? li(r) : {}
3470
+ parsedOptions: this.shouldParseSkeletons ? po(r) : {}
3436
3471
  },
3437
3472
  err: null
3438
3473
  };
3439
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3440
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3474
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, o) {
3475
+ for (var i, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = o.value, c = o.location; ; ) {
3441
3476
  if (l.length === 0) {
3442
3477
  var h = this.clonePosition();
3443
3478
  if (n !== "select" && this.bumpIf("=")) {
@@ -3466,21 +3501,21 @@ var Ci = (
3466
3501
  value: m.val,
3467
3502
  location: w(b, this.clonePosition())
3468
3503
  }
3469
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3504
+ ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
3470
3505
  }
3471
3506
  return a.length === 0 ? this.error(n === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3472
3507
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3473
- var r = 1, i = this.clonePosition();
3508
+ var r = 1, o = this.clonePosition();
3474
3509
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3475
- for (var o = !1, s = 0; !this.isEOF(); ) {
3510
+ for (var i = !1, s = 0; !this.isEOF(); ) {
3476
3511
  var a = this.char();
3477
3512
  if (a >= 48 && a <= 57)
3478
- o = !0, s = s * 10 + (a - 48), this.bump();
3513
+ i = !0, s = s * 10 + (a - 48), this.bump();
3479
3514
  else
3480
3515
  break;
3481
3516
  }
3482
- var u = w(i, this.clonePosition());
3483
- return o ? (s *= r, Bi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3517
+ var u = w(o, this.clonePosition());
3518
+ return i ? (s *= r, So(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3484
3519
  }, e.prototype.offset = function() {
3485
3520
  return this.position.offset;
3486
3521
  }, e.prototype.isEOF = function() {
@@ -3495,7 +3530,7 @@ var Ci = (
3495
3530
  var t = this.position.offset;
3496
3531
  if (t >= this.message.length)
3497
3532
  throw Error("out of bound");
3498
- var n = Cn(this.message, t);
3533
+ var n = Pn(this.message, t);
3499
3534
  if (n === void 0)
3500
3535
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3501
3536
  return n;
@@ -3514,7 +3549,7 @@ var Ci = (
3514
3549
  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);
3515
3550
  }
3516
3551
  }, e.prototype.bumpIf = function(t) {
3517
- if (Rt(this.message, t, this.offset())) {
3552
+ if (Dt(this.message, t, this.offset())) {
3518
3553
  for (var n = 0; n < t.length; n++)
3519
3554
  this.bump();
3520
3555
  return !0;
@@ -3536,7 +3571,7 @@ var Ci = (
3536
3571
  break;
3537
3572
  }
3538
3573
  }, e.prototype.bumpSpace = function() {
3539
- for (; !this.isEOF() && An(this.char()); )
3574
+ for (; !this.isEOF() && Hn(this.char()); )
3540
3575
  this.bump();
3541
3576
  }, e.prototype.peek = function() {
3542
3577
  if (this.isEOF())
@@ -3546,97 +3581,97 @@ var Ci = (
3546
3581
  }, e;
3547
3582
  }()
3548
3583
  );
3549
- function ht(e) {
3584
+ function bt(e) {
3550
3585
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3551
3586
  }
3552
- function Si(e) {
3553
- return ht(e) || e === 47;
3587
+ function Ho(e) {
3588
+ return bt(e) || e === 47;
3554
3589
  }
3555
- function Ai(e) {
3590
+ function Oo(e) {
3556
3591
  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;
3557
3592
  }
3558
- function An(e) {
3593
+ function Hn(e) {
3559
3594
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3595
  }
3561
- function Ti(e) {
3596
+ function Io(e) {
3562
3597
  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;
3563
3598
  }
3564
- function ft(e) {
3599
+ function gt(e) {
3565
3600
  e.forEach(function(t) {
3566
- if (delete t.location, gn(t) || vn(t))
3601
+ if (delete t.location, Bn(t) || En(t))
3567
3602
  for (var n in t.options)
3568
- delete t.options[n].location, ft(t.options[n].value);
3603
+ delete t.options[n].location, gt(t.options[n].value);
3569
3604
  else
3570
- pn(t) && _n(t.style) || (mn(t) || bn(t)) && at(t.style) ? delete t.style.location : yn(t) && ft(t.children);
3605
+ vn(t) && wn(t.style) || (yn(t) || _n(t)) && ft(t.style) ? delete t.style.location : xn(t) && gt(t.children);
3571
3606
  });
3572
3607
  }
3573
- function Pi(e, t) {
3574
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3575
- var n = new Ci(e, t).parse();
3608
+ function No(e, t) {
3609
+ t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3610
+ var n = new Mo(e, t).parse();
3576
3611
  if (n.err) {
3577
3612
  var r = SyntaxError(x[n.err.kind]);
3578
3613
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3579
3614
  }
3580
- return t?.captureLocation || ft(n.val), n.val;
3615
+ return t?.captureLocation || gt(n.val), n.val;
3581
3616
  }
3582
- var ve;
3617
+ var ge;
3583
3618
  (function(e) {
3584
3619
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3585
- })(ve || (ve = {}));
3586
- var je = (
3620
+ })(ge || (ge = {}));
3621
+ var Ve = (
3587
3622
  /** @class */
3588
3623
  function(e) {
3589
- ie(t, e);
3590
- function t(n, r, i) {
3591
- var o = e.call(this, n) || this;
3592
- return o.code = r, o.originalMessage = i, o;
3624
+ We(t, e);
3625
+ function t(n, r, o) {
3626
+ var i = e.call(this, n) || this;
3627
+ return i.code = r, i.originalMessage = o, i;
3593
3628
  }
3594
3629
  return t.prototype.toString = function() {
3595
3630
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3596
3631
  }, t;
3597
3632
  }(Error)
3598
- ), Ut = (
3633
+ ), jt = (
3599
3634
  /** @class */
3600
3635
  function(e) {
3601
- ie(t, e);
3602
- function t(n, r, i, o) {
3603
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ve.INVALID_VALUE, o) || this;
3636
+ We(t, e);
3637
+ function t(n, r, o, i) {
3638
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), ge.INVALID_VALUE, i) || this;
3604
3639
  }
3605
3640
  return t;
3606
- }(je)
3607
- ), Mi = (
3641
+ }(Ve)
3642
+ ), Lo = (
3608
3643
  /** @class */
3609
3644
  function(e) {
3610
- ie(t, e);
3611
- function t(n, r, i) {
3612
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ve.INVALID_VALUE, i) || this;
3645
+ We(t, e);
3646
+ function t(n, r, o) {
3647
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ge.INVALID_VALUE, o) || this;
3613
3648
  }
3614
3649
  return t;
3615
- }(je)
3616
- ), Hi = (
3650
+ }(Ve)
3651
+ ), Ro = (
3617
3652
  /** @class */
3618
3653
  function(e) {
3619
- ie(t, e);
3654
+ We(t, e);
3620
3655
  function t(n, r) {
3621
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ve.MISSING_VALUE, r) || this;
3656
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ge.MISSING_VALUE, r) || this;
3622
3657
  }
3623
3658
  return t;
3624
- }(je)
3659
+ }(Ve)
3625
3660
  ), k;
3626
3661
  (function(e) {
3627
3662
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3628
3663
  })(k || (k = {}));
3629
- function Ii(e) {
3664
+ function $o(e) {
3630
3665
  return e.length < 2 ? e : e.reduce(function(t, n) {
3631
3666
  var r = t[t.length - 1];
3632
3667
  return !r || r.type !== k.literal || n.type !== k.literal ? t.push(n) : r.value += n.value, t;
3633
3668
  }, []);
3634
3669
  }
3635
- function Oi(e) {
3670
+ function Fo(e) {
3636
3671
  return typeof e == "function";
3637
3672
  }
3638
- function Re(e, t, n, r, i, o, s) {
3639
- if (e.length === 1 && It(e[0]))
3673
+ function Re(e, t, n, r, o, i, s) {
3674
+ if (e.length === 1 && Rt(e[0]))
3640
3675
  return [
3641
3676
  {
3642
3677
  type: k.literal,
@@ -3645,105 +3680,105 @@ function Re(e, t, n, r, i, o, s) {
3645
3680
  ];
3646
3681
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3647
3682
  var c = l[u];
3648
- if (It(c)) {
3683
+ if (Rt(c)) {
3649
3684
  a.push({
3650
3685
  type: k.literal,
3651
3686
  value: c.value
3652
3687
  });
3653
3688
  continue;
3654
3689
  }
3655
- if (ti(c)) {
3656
- typeof o == "number" && a.push({
3690
+ if (io(c)) {
3691
+ typeof i == "number" && a.push({
3657
3692
  type: k.literal,
3658
- value: n.getNumberFormat(t).format(o)
3693
+ value: n.getNumberFormat(t).format(i)
3659
3694
  });
3660
3695
  continue;
3661
3696
  }
3662
3697
  var h = c.value;
3663
- if (!(i && h in i))
3664
- throw new Hi(h, s);
3665
- var f = i[h];
3666
- if (ei(c)) {
3698
+ if (!(o && h in o))
3699
+ throw new Ro(h, s);
3700
+ var f = o[h];
3701
+ if (oo(c)) {
3667
3702
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3668
3703
  type: typeof f == "string" ? k.literal : k.object,
3669
3704
  value: f
3670
3705
  });
3671
3706
  continue;
3672
3707
  }
3673
- if (mn(c)) {
3674
- var b = typeof c.style == "string" ? r.date[c.style] : at(c.style) ? c.style.parsedOptions : void 0;
3708
+ if (yn(c)) {
3709
+ var b = typeof c.style == "string" ? r.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3675
3710
  a.push({
3676
3711
  type: k.literal,
3677
3712
  value: n.getDateTimeFormat(t, b).format(f)
3678
3713
  });
3679
3714
  continue;
3680
3715
  }
3681
- if (bn(c)) {
3682
- var b = typeof c.style == "string" ? r.time[c.style] : at(c.style) ? c.style.parsedOptions : r.time.medium;
3716
+ if (_n(c)) {
3717
+ var b = typeof c.style == "string" ? r.time[c.style] : ft(c.style) ? c.style.parsedOptions : r.time.medium;
3683
3718
  a.push({
3684
3719
  type: k.literal,
3685
3720
  value: n.getDateTimeFormat(t, b).format(f)
3686
3721
  });
3687
3722
  continue;
3688
3723
  }
3689
- if (pn(c)) {
3690
- var b = typeof c.style == "string" ? r.number[c.style] : _n(c.style) ? c.style.parsedOptions : void 0;
3724
+ if (vn(c)) {
3725
+ var b = typeof c.style == "string" ? r.number[c.style] : wn(c.style) ? c.style.parsedOptions : void 0;
3691
3726
  b && b.scale && (f = f * (b.scale || 1)), a.push({
3692
3727
  type: k.literal,
3693
3728
  value: n.getNumberFormat(t, b).format(f)
3694
3729
  });
3695
3730
  continue;
3696
3731
  }
3697
- if (yn(c)) {
3698
- var m = c.children, d = c.value, C = i[d];
3699
- if (!Oi(C))
3700
- throw new Mi(d, "function", s);
3701
- var _ = Re(m, t, n, r, i, o), y = C(_.map(function(T) {
3702
- return T.value;
3732
+ if (xn(c)) {
3733
+ var m = c.children, d = c.value, C = o[d];
3734
+ if (!Fo(C))
3735
+ throw new Lo(d, "function", s);
3736
+ var _ = Re(m, t, n, r, o, i), y = C(_.map(function(A) {
3737
+ return A.value;
3703
3738
  }));
3704
- Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(T) {
3739
+ Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(A) {
3705
3740
  return {
3706
- type: typeof T == "string" ? k.literal : k.object,
3707
- value: T
3741
+ type: typeof A == "string" ? k.literal : k.object,
3742
+ value: A
3708
3743
  };
3709
3744
  }));
3710
3745
  }
3711
- if (gn(c)) {
3712
- var M = c.options[f] || c.options.other;
3713
- if (!M)
3714
- throw new Ut(c.value, f, Object.keys(c.options), s);
3715
- a.push.apply(a, Re(M.value, t, n, r, i));
3746
+ if (Bn(c)) {
3747
+ var P = c.options[f] || c.options.other;
3748
+ if (!P)
3749
+ throw new jt(c.value, f, Object.keys(c.options), s);
3750
+ a.push.apply(a, Re(P.value, t, n, r, o));
3716
3751
  continue;
3717
3752
  }
3718
- if (vn(c)) {
3719
- var M = c.options["=".concat(f)];
3720
- if (!M) {
3753
+ if (En(c)) {
3754
+ var P = c.options["=".concat(f)];
3755
+ if (!P) {
3721
3756
  if (!Intl.PluralRules)
3722
- throw new je(`Intl.PluralRules is not available in this environment.
3757
+ throw new Ve(`Intl.PluralRules is not available in this environment.
3723
3758
  Try polyfilling it using "@formatjs/intl-pluralrules"
3724
- `, ve.MISSING_INTL_API, s);
3759
+ `, ge.MISSING_INTL_API, s);
3725
3760
  var O = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3726
- M = c.options[O] || c.options.other;
3761
+ P = c.options[O] || c.options.other;
3727
3762
  }
3728
- if (!M)
3729
- throw new Ut(c.value, f, Object.keys(c.options), s);
3730
- a.push.apply(a, Re(M.value, t, n, r, i, f - (c.offset || 0)));
3763
+ if (!P)
3764
+ throw new jt(c.value, f, Object.keys(c.options), s);
3765
+ a.push.apply(a, Re(P.value, t, n, r, o, f - (c.offset || 0)));
3731
3766
  continue;
3732
3767
  }
3733
3768
  }
3734
- return Ii(a);
3769
+ return $o(a);
3735
3770
  }
3736
- function Ni(e, t) {
3737
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3738
- return n[r] = A(A({}, e[r]), t[r] || {}), n;
3771
+ function Uo(e, t) {
3772
+ return t ? Y(Y(Y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3773
+ return n[r] = Y(Y({}, e[r]), t[r] || {}), n;
3739
3774
  }, {})) : e;
3740
3775
  }
3741
- function Li(e, t) {
3776
+ function Do(e, t) {
3742
3777
  return t ? Object.keys(e).reduce(function(n, r) {
3743
- return n[r] = Ni(e[r], t[r]), n;
3744
- }, A({}, e)) : e;
3778
+ return n[r] = Uo(e[r], t[r]), n;
3779
+ }, Y({}, e)) : e;
3745
3780
  }
3746
- function Je(e) {
3781
+ function et(e) {
3747
3782
  return {
3748
3783
  create: function() {
3749
3784
  return {
@@ -3757,50 +3792,50 @@ function Je(e) {
3757
3792
  }
3758
3793
  };
3759
3794
  }
3760
- function Ri(e) {
3795
+ function Go(e) {
3761
3796
  return e === void 0 && (e = {
3762
3797
  number: {},
3763
3798
  dateTime: {},
3764
3799
  pluralRules: {}
3765
3800
  }), {
3766
- getNumberFormat: Ze(function() {
3801
+ getNumberFormat: Je(function() {
3767
3802
  for (var t, n = [], r = 0; r < arguments.length; r++)
3768
3803
  n[r] = arguments[r];
3769
- return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], n, !1)))();
3804
+ return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], n, !1)))();
3770
3805
  }, {
3771
- cache: Je(e.number),
3772
- strategy: qe.variadic
3806
+ cache: et(e.number),
3807
+ strategy: Ye.variadic
3773
3808
  }),
3774
- getDateTimeFormat: Ze(function() {
3809
+ getDateTimeFormat: Je(function() {
3775
3810
  for (var t, n = [], r = 0; r < arguments.length; r++)
3776
3811
  n[r] = arguments[r];
3777
- return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], n, !1)))();
3812
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], n, !1)))();
3778
3813
  }, {
3779
- cache: Je(e.dateTime),
3780
- strategy: qe.variadic
3814
+ cache: et(e.dateTime),
3815
+ strategy: Ye.variadic
3781
3816
  }),
3782
- getPluralRules: Ze(function() {
3817
+ getPluralRules: Je(function() {
3783
3818
  for (var t, n = [], r = 0; r < arguments.length; r++)
3784
3819
  n[r] = arguments[r];
3785
- return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], n, !1)))();
3820
+ return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], n, !1)))();
3786
3821
  }, {
3787
- cache: Je(e.pluralRules),
3788
- strategy: qe.variadic
3822
+ cache: et(e.pluralRules),
3823
+ strategy: Ye.variadic
3789
3824
  })
3790
3825
  };
3791
3826
  }
3792
- var $i = (
3827
+ var ko = (
3793
3828
  /** @class */
3794
3829
  function() {
3795
- function e(t, n, r, i) {
3830
+ function e(t, n, r, o) {
3796
3831
  n === void 0 && (n = e.defaultLocale);
3797
- var o = this;
3832
+ var i = this;
3798
3833
  if (this.formatterCache = {
3799
3834
  number: {},
3800
3835
  dateTime: {},
3801
3836
  pluralRules: {}
3802
3837
  }, this.format = function(u) {
3803
- var l = o.formatToParts(u);
3838
+ var l = i.formatToParts(u);
3804
3839
  if (l.length === 1)
3805
3840
  return l[0].value;
3806
3841
  var c = l.reduce(function(h, f) {
@@ -3808,26 +3843,26 @@ var $i = (
3808
3843
  }, []);
3809
3844
  return c.length <= 1 ? c[0] || "" : c;
3810
3845
  }, this.formatToParts = function(u) {
3811
- return Re(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3846
+ return Re(i.ast, i.locales, i.formatters, i.formats, u, void 0, i.message);
3812
3847
  }, this.resolvedOptions = function() {
3813
3848
  var u;
3814
3849
  return {
3815
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3850
+ locale: ((u = i.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
3816
3851
  };
3817
3852
  }, this.getAst = function() {
3818
- return o.ast;
3853
+ return i.ast;
3819
3854
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3820
3855
  if (this.message = t, !e.__parse)
3821
3856
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3822
- var s = i || {};
3857
+ var s = o || {};
3823
3858
  s.formatters;
3824
- var a = mr(s, ["formatters"]);
3825
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3859
+ var a = Qr(s, ["formatters"]);
3860
+ this.ast = e.__parse(t, Y(Y({}, a), { locale: this.resolvedLocale }));
3826
3861
  } else
3827
3862
  this.ast = t;
3828
3863
  if (!Array.isArray(this.ast))
3829
3864
  throw new TypeError("A message must be provided as a String or AST.");
3830
- this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Ri(this.formatterCache);
3865
+ this.formats = Do(e.formats, r), this.formatters = o && o.formatters || Go(this.formatterCache);
3831
3866
  }
3832
3867
  return Object.defineProperty(e, "defaultLocale", {
3833
3868
  get: function() {
@@ -3840,7 +3875,7 @@ var $i = (
3840
3875
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3841
3876
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3842
3877
  }
3843
- }, e.__parse = Pi, e.formats = {
3878
+ }, e.__parse = No, e.formats = {
3844
3879
  number: {
3845
3880
  integer: {
3846
3881
  maximumFractionDigits: 0
@@ -3901,113 +3936,113 @@ var $i = (
3901
3936
  }, e;
3902
3937
  }()
3903
3938
  );
3904
- function Fi(e, t) {
3939
+ function jo(e, t) {
3905
3940
  if (t == null)
3906
3941
  return;
3907
3942
  if (t in e)
3908
3943
  return e[t];
3909
3944
  const n = t.split(".");
3910
3945
  let r = e;
3911
- for (let i = 0; i < n.length; i++)
3946
+ for (let o = 0; o < n.length; o++)
3912
3947
  if (typeof r == "object") {
3913
- if (i > 0) {
3914
- const o = n.slice(i, n.length).join(".");
3915
- if (o in r) {
3916
- r = r[o];
3948
+ if (o > 0) {
3949
+ const i = n.slice(o, n.length).join(".");
3950
+ if (i in r) {
3951
+ r = r[i];
3917
3952
  break;
3918
3953
  }
3919
3954
  }
3920
- r = r[n[i]];
3955
+ r = r[n[o]];
3921
3956
  } else
3922
3957
  r = void 0;
3923
3958
  return r;
3924
3959
  }
3925
- const oe = {}, Ui = (e, t, n) => n && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = n), n), Tn = (e, t) => {
3960
+ const ie = {}, Wo = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), On = (e, t) => {
3926
3961
  if (t == null)
3927
3962
  return;
3928
- if (t in oe && e in oe[t])
3929
- return oe[t][e];
3930
- const n = We(t);
3963
+ if (t in ie && e in ie[t])
3964
+ return ie[t][e];
3965
+ const n = ze(t);
3931
3966
  for (let r = 0; r < n.length; r++) {
3932
- const i = n[r], o = Gi(i, e);
3933
- if (o)
3934
- return Ui(e, t, o);
3967
+ const o = n[r], i = zo(o, e);
3968
+ if (i)
3969
+ return Wo(e, t, i);
3935
3970
  }
3936
3971
  };
3937
- let vt;
3938
- const Te = ke({});
3939
- function Di(e) {
3940
- return vt[e] || null;
3972
+ let Et;
3973
+ const Te = je({});
3974
+ function Vo(e) {
3975
+ return Et[e] || null;
3941
3976
  }
3942
- function Pn(e) {
3943
- return e in vt;
3977
+ function In(e) {
3978
+ return e in Et;
3944
3979
  }
3945
- function Gi(e, t) {
3946
- if (!Pn(e))
3980
+ function zo(e, t) {
3981
+ if (!In(e))
3947
3982
  return null;
3948
- const n = Di(e);
3949
- return Fi(n, t);
3983
+ const n = Vo(e);
3984
+ return jo(n, t);
3950
3985
  }
3951
- function ki(e) {
3986
+ function Xo(e) {
3952
3987
  if (e == null)
3953
3988
  return;
3954
- const t = We(e);
3989
+ const t = ze(e);
3955
3990
  for (let n = 0; n < t.length; n++) {
3956
3991
  const r = t[n];
3957
- if (Pn(r))
3992
+ if (In(r))
3958
3993
  return r;
3959
3994
  }
3960
3995
  }
3961
- function Mn(e, ...t) {
3962
- delete oe[e], Te.update((n) => (n[e] = zr.all([n[e] || {}, ...t]), n));
3996
+ function Nn(e, ...t) {
3997
+ delete ie[e], Te.update((n) => (n[e] = qr.all([n[e] || {}, ...t]), n));
3963
3998
  }
3964
- _e(
3999
+ ye(
3965
4000
  [Te],
3966
4001
  ([e]) => Object.keys(e)
3967
4002
  );
3968
- Te.subscribe((e) => vt = e);
4003
+ Te.subscribe((e) => Et = e);
3969
4004
  const $e = {};
3970
- function ji(e, t) {
4005
+ function Zo(e, t) {
3971
4006
  $e[e].delete(t), $e[e].size === 0 && delete $e[e];
3972
4007
  }
3973
- function Hn(e) {
4008
+ function Ln(e) {
3974
4009
  return $e[e];
3975
4010
  }
3976
- function Wi(e) {
3977
- return We(e).map((t) => {
3978
- const n = Hn(t);
4011
+ function qo(e) {
4012
+ return ze(e).map((t) => {
4013
+ const n = Ln(t);
3979
4014
  return [t, n ? [...n] : []];
3980
4015
  }).filter(([, t]) => t.length > 0);
3981
4016
  }
3982
- function dt(e) {
3983
- return e == null ? !1 : We(e).some(
4017
+ function vt(e) {
4018
+ return e == null ? !1 : ze(e).some(
3984
4019
  (t) => {
3985
4020
  var n;
3986
- return (n = Hn(t)) == null ? void 0 : n.size;
4021
+ return (n = Ln(t)) == null ? void 0 : n.size;
3987
4022
  }
3988
4023
  );
3989
4024
  }
3990
- function Vi(e, t) {
4025
+ function Qo(e, t) {
3991
4026
  return Promise.all(
3992
- t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
3993
- ).then((r) => Mn(e, ...r));
3994
- }
3995
- const xe = {};
3996
- function In(e) {
3997
- if (!dt(e))
3998
- return e in xe ? xe[e] : Promise.resolve();
3999
- const t = Wi(e);
4000
- return xe[e] = Promise.all(
4027
+ t.map((r) => (Zo(e, r), r().then((o) => o.default || o)))
4028
+ ).then((r) => Nn(e, ...r));
4029
+ }
4030
+ const Ee = {};
4031
+ function Rn(e) {
4032
+ if (!vt(e))
4033
+ return e in Ee ? Ee[e] : Promise.resolve();
4034
+ const t = qo(e);
4035
+ return Ee[e] = Promise.all(
4001
4036
  t.map(
4002
- ([n, r]) => Vi(n, r)
4037
+ ([n, r]) => Qo(n, r)
4003
4038
  )
4004
4039
  ).then(() => {
4005
- if (dt(e))
4006
- return In(e);
4007
- delete xe[e];
4008
- }), xe[e];
4040
+ if (vt(e))
4041
+ return Rn(e);
4042
+ delete Ee[e];
4043
+ }), Ee[e];
4009
4044
  }
4010
- const zi = {
4045
+ const Jo = {
4011
4046
  number: {
4012
4047
  scientific: { notation: "scientific" },
4013
4048
  engineering: { notation: "engineering" },
@@ -4036,136 +4071,136 @@ const zi = {
4036
4071
  timeZoneName: "short"
4037
4072
  }
4038
4073
  }
4039
- }, Xi = {
4074
+ }, Yo = {
4040
4075
  fallbackLocale: null,
4041
4076
  loadingDelay: 200,
4042
- formats: zi,
4077
+ formats: Jo,
4043
4078
  warnOnMissingMessages: !0,
4044
4079
  handleMissingMessage: void 0,
4045
4080
  ignoreTag: !0
4046
- }, Zi = Xi;
4047
- function ye() {
4048
- return Zi;
4049
- }
4050
- const Ye = ke(!1);
4051
- var qi = Object.defineProperty, Qi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, eo = (e, t) => {
4052
- for (var n in t)
4053
- Yi.call(t, n) && Gt(e, n, t[n]);
4054
- if (Dt)
4055
- for (var n of Dt(t))
4056
- Ki.call(t, n) && Gt(e, n, t[n]);
4081
+ }, Ko = Yo;
4082
+ function ve() {
4083
+ return Ko;
4084
+ }
4085
+ const tt = je(!1);
4086
+ var ei = Object.defineProperty, ti = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ii = (e, t) => {
4087
+ for (var n in t || (t = {}))
4088
+ ri.call(t, n) && Vt(e, n, t[n]);
4089
+ if (Wt)
4090
+ for (var n of Wt(t))
4091
+ oi.call(t, n) && Vt(e, n, t[n]);
4057
4092
  return e;
4058
- }, to = (e, t) => Qi(e, Ji(t));
4059
- let pt;
4060
- const Ue = ke(null);
4061
- function kt(e) {
4093
+ }, si = (e, t) => ti(e, ni(t));
4094
+ let yt;
4095
+ const De = je(null);
4096
+ function zt(e) {
4062
4097
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4063
4098
  }
4064
- function We(e, t = ye().fallbackLocale) {
4065
- const n = kt(e);
4066
- return t ? [.../* @__PURE__ */ new Set([...n, ...kt(t)])] : n;
4099
+ function ze(e, t = ve().fallbackLocale) {
4100
+ const n = zt(e);
4101
+ return t ? [.../* @__PURE__ */ new Set([...n, ...zt(t)])] : n;
4067
4102
  }
4068
4103
  function ae() {
4069
- return pt ?? void 0;
4104
+ return yt ?? void 0;
4070
4105
  }
4071
- Ue.subscribe((e) => {
4072
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4106
+ De.subscribe((e) => {
4107
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4073
4108
  });
4074
- const no = (e) => {
4075
- if (e && ki(e) && dt(e)) {
4076
- const { loadingDelay: t } = ye();
4109
+ const ai = (e) => {
4110
+ if (e && Xo(e) && vt(e)) {
4111
+ const { loadingDelay: t } = ve();
4077
4112
  let n;
4078
4113
  return typeof window < "u" && ae() != null && t ? n = window.setTimeout(
4079
- () => Ye.set(!0),
4114
+ () => tt.set(!0),
4080
4115
  t
4081
- ) : Ye.set(!0), In(e).then(() => {
4082
- Ue.set(e);
4116
+ ) : tt.set(!0), Rn(e).then(() => {
4117
+ De.set(e);
4083
4118
  }).finally(() => {
4084
- clearTimeout(n), Ye.set(!1);
4119
+ clearTimeout(n), tt.set(!1);
4085
4120
  });
4086
4121
  }
4087
- return Ue.set(e);
4088
- }, Be = to(eo({}, Ue), {
4089
- set: no
4090
- }), Ve = (e) => {
4122
+ return De.set(e);
4123
+ }, _e = si(ii({}, De), {
4124
+ set: ai
4125
+ }), Xe = (e) => {
4091
4126
  const t = /* @__PURE__ */ Object.create(null);
4092
4127
  return (r) => {
4093
- const i = JSON.stringify(r);
4094
- return i in t ? t[i] : t[i] = e(r);
4128
+ const o = JSON.stringify(r);
4129
+ return o in t ? t[o] : t[o] = e(r);
4095
4130
  };
4096
4131
  };
4097
- var ro = Object.defineProperty, De = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, jt = (e, t, n) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yt = (e, t) => {
4132
+ var ui = Object.defineProperty, Ge = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Xt = (e, t, n) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xt = (e, t) => {
4098
4133
  for (var n in t || (t = {}))
4099
- On.call(t, n) && jt(e, n, t[n]);
4100
- if (De)
4101
- for (var n of De(t))
4102
- Nn.call(t, n) && jt(e, n, t[n]);
4134
+ $n.call(t, n) && Xt(e, n, t[n]);
4135
+ if (Ge)
4136
+ for (var n of Ge(t))
4137
+ Fn.call(t, n) && Xt(e, n, t[n]);
4103
4138
  return e;
4104
- }, Ee = (e, t) => {
4139
+ }, Be = (e, t) => {
4105
4140
  var n = {};
4106
4141
  for (var r in e)
4107
- On.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4108
- if (e != null && De)
4109
- for (var r of De(e))
4110
- t.indexOf(r) < 0 && Nn.call(e, r) && (n[r] = e[r]);
4142
+ $n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4143
+ if (e != null && Ge)
4144
+ for (var r of Ge(e))
4145
+ t.indexOf(r) < 0 && Fn.call(e, r) && (n[r] = e[r]);
4111
4146
  return n;
4112
4147
  };
4113
- const Ae = (e, t) => {
4114
- const { formats: n } = ye();
4148
+ const Se = (e, t) => {
4149
+ const { formats: n } = ve();
4115
4150
  if (e in n && t in n[e])
4116
4151
  return n[e][t];
4117
4152
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4118
- }, io = Ve(
4153
+ }, li = Xe(
4119
4154
  (e) => {
4120
- var t = e, { locale: n, format: r } = t, i = Ee(t, ["locale", "format"]);
4155
+ var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4121
4156
  if (n == null)
4122
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4123
- return r && (i = Ae("number", r)), new Intl.NumberFormat(n, i);
4158
+ return r && (o = Se("number", r)), new Intl.NumberFormat(n, o);
4124
4159
  }
4125
- ), oo = Ve(
4160
+ ), ci = Xe(
4126
4161
  (e) => {
4127
- var t = e, { locale: n, format: r } = t, i = Ee(t, ["locale", "format"]);
4162
+ var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4128
4163
  if (n == null)
4129
4164
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4130
- return r ? i = Ae("date", r) : Object.keys(i).length === 0 && (i = Ae("date", "short")), new Intl.DateTimeFormat(n, i);
4165
+ return r ? o = Se("date", r) : Object.keys(o).length === 0 && (o = Se("date", "short")), new Intl.DateTimeFormat(n, o);
4131
4166
  }
4132
- ), so = Ve(
4167
+ ), hi = Xe(
4133
4168
  (e) => {
4134
- var t = e, { locale: n, format: r } = t, i = Ee(t, ["locale", "format"]);
4169
+ var t = e, { locale: n, format: r } = t, o = Be(t, ["locale", "format"]);
4135
4170
  if (n == null)
4136
4171
  throw new Error(
4137
4172
  '[svelte-i18n] A "locale" must be set to format time values'
4138
4173
  );
4139
- return r ? i = Ae("time", r) : Object.keys(i).length === 0 && (i = Ae("time", "short")), new Intl.DateTimeFormat(n, i);
4174
+ return r ? o = Se("time", r) : Object.keys(o).length === 0 && (o = Se("time", "short")), new Intl.DateTimeFormat(n, o);
4140
4175
  }
4141
- ), ao = (e = {}) => {
4176
+ ), fi = (e = {}) => {
4142
4177
  var t = e, {
4143
4178
  locale: n = ae()
4144
- } = t, r = Ee(t, [
4179
+ } = t, r = Be(t, [
4145
4180
  "locale"
4146
4181
  ]);
4147
- return io(yt({ locale: n }, r));
4148
- }, uo = (e = {}) => {
4182
+ return li(xt({ locale: n }, r));
4183
+ }, di = (e = {}) => {
4149
4184
  var t = e, {
4150
4185
  locale: n = ae()
4151
- } = t, r = Ee(t, [
4186
+ } = t, r = Be(t, [
4152
4187
  "locale"
4153
4188
  ]);
4154
- return oo(yt({ locale: n }, r));
4155
- }, lo = (e = {}) => {
4189
+ return ci(xt({ locale: n }, r));
4190
+ }, pi = (e = {}) => {
4156
4191
  var t = e, {
4157
4192
  locale: n = ae()
4158
- } = t, r = Ee(t, [
4193
+ } = t, r = Be(t, [
4159
4194
  "locale"
4160
4195
  ]);
4161
- return so(yt({ locale: n }, r));
4162
- }, co = Ve(
4196
+ return hi(xt({ locale: n }, r));
4197
+ }, mi = Xe(
4163
4198
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4164
- (e, t = ae()) => new $i(e, t, ye().formats, {
4165
- ignoreTag: ye().ignoreTag
4199
+ (e, t = ae()) => new ko(e, t, ve().formats, {
4200
+ ignoreTag: ve().ignoreTag
4166
4201
  })
4167
- ), ho = (e, t = {}) => {
4168
- var n, r, i, o;
4202
+ ), bi = (e, t = {}) => {
4203
+ var n, r, o, i;
4169
4204
  let s = t;
4170
4205
  typeof e == "object" && (s = e, e = s.id);
4171
4206
  const {
@@ -4177,9 +4212,9 @@ const Ae = (e, t) => {
4177
4212
  throw new Error(
4178
4213
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4179
4214
  );
4180
- let c = Tn(e, u);
4215
+ let c = On(e, u);
4181
4216
  if (!c)
4182
- c = (o = (i = (r = (n = ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4217
+ c = (i = (o = (r = (n = ve()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4183
4218
  else if (typeof c != "string")
4184
4219
  return console.warn(
4185
4220
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4188,7 +4223,7 @@ const Ae = (e, t) => {
4188
4223
  return c;
4189
4224
  let h = c;
4190
4225
  try {
4191
- h = co(c, u).format(a);
4226
+ h = mi(c, u).format(a);
4192
4227
  } catch (f) {
4193
4228
  f instanceof Error && console.warn(
4194
4229
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4196,20 +4231,20 @@ const Ae = (e, t) => {
4196
4231
  );
4197
4232
  }
4198
4233
  return h;
4199
- }, fo = (e, t) => lo(t).format(e), po = (e, t) => uo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = ae()) => Tn(e, t), go = _e([Be, Te], () => ho);
4200
- _e([Be], () => fo);
4201
- _e([Be], () => po);
4202
- _e([Be], () => mo);
4203
- _e([Be, Te], () => bo);
4204
- window.emWidgets = { topic: Pr };
4205
- const vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4206
- function Wt(e, t) {
4207
- Mn(e, t);
4208
- }
4209
- function yo(e) {
4210
- Be.set(e);
4211
- }
4212
- const Vt = {
4234
+ }, gi = (e, t) => pi(t).format(e), vi = (e, t) => di(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = ae()) => On(e, t), Bi = ye([_e, Te], () => bi);
4235
+ ye([_e], () => gi);
4236
+ ye([_e], () => vi);
4237
+ ye([_e], () => yi);
4238
+ ye([_e, Te], () => _i);
4239
+ window.emWidgets = { topic: Or };
4240
+ const Ei = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
+ function Zt(e, t) {
4242
+ Nn(e, t);
4243
+ }
4244
+ function xi(e) {
4245
+ _e.set(e);
4246
+ }
4247
+ const qt = {
4213
4248
  en: {
4214
4249
  titleBonuses: "Active Bonuses",
4215
4250
  bonusCode: "Do you have a bonus code?",
@@ -4343,26 +4378,26 @@ const Vt = {
4343
4378
  bonusClaimErrorMessage: "Invalid bonus"
4344
4379
  }
4345
4380
  };
4346
- function _o(e, t) {
4381
+ function wi(e, t) {
4347
4382
  if (e) {
4348
4383
  const n = document.createElement("style");
4349
4384
  n.innerHTML = t, e.appendChild(n);
4350
4385
  }
4351
4386
  }
4352
- function Bo(e, t) {
4387
+ function Ci(e, t) {
4353
4388
  const n = new URL(t);
4354
4389
  fetch(n.href).then((r) => r.text()).then((r) => {
4355
- const i = document.createElement("style");
4356
- i.innerHTML = r, e && e.appendChild(i);
4390
+ const o = document.createElement("style");
4391
+ o.innerHTML = r, e && e.appendChild(o);
4357
4392
  }).catch((r) => {
4358
4393
  console.error("There was an error while trying to load client styling from URL", r);
4359
4394
  });
4360
4395
  }
4361
- function Eo(e, t, n) {
4396
+ function Si(e, t, n) {
4362
4397
  if (window.emMessageBus) {
4363
4398
  const r = document.createElement("style");
4364
- window.emMessageBus.subscribe(t, (i) => {
4365
- r.innerHTML = i, e && e.appendChild(r);
4399
+ window.emMessageBus.subscribe(t, (o) => {
4400
+ r.innerHTML = o, e && e.appendChild(r);
4366
4401
  });
4367
4402
  }
4368
4403
  }
@@ -4378,54 +4413,54 @@ if (typeof window < "u") {
4378
4413
  }
4379
4414
  };
4380
4415
  };
4381
- customElements.define = e(customElements.define), import("./PlayerBonusCard-Crarx8R2.js").then(({ default: t }) => {
4416
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-Ck7zbgpY.js").then(({ default: t }) => {
4382
4417
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4383
4418
  });
4384
4419
  }
4385
- function xo(e) {
4386
- qn(e, "svelte-1nt8h6r", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4420
+ function Ai(e) {
4421
+ Kn(e, "svelte-1nt8h6r", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4387
4422
  }
4388
- function zt(e, t, n) {
4423
+ function Qt(e, t, n) {
4389
4424
  const r = e.slice();
4390
4425
  return r[48] = t[n], r[50] = n, r;
4391
4426
  }
4392
- function Xt(e, t, n) {
4427
+ function Jt(e, t, n) {
4393
4428
  const r = e.slice();
4394
4429
  return r[51] = t[n], r;
4395
4430
  }
4396
- function wo(e) {
4397
- let t, n, r, i = (
4431
+ function Ti(e) {
4432
+ let t, n, r, o = (
4398
4433
  /*$_*/
4399
4434
  e[17]("titleBonuses") + ""
4400
- ), o, s, a, u, l = (
4435
+ ), i, s, a, u, l = (
4401
4436
  /*$_*/
4402
4437
  e[17]("bonusCode") + ""
4403
4438
  ), c, h, f, b, m, d, C = (
4404
4439
  /*$_*/
4405
4440
  e[17]("getBonus") + ""
4406
- ), _, y, M, O, T, E, N, H, Y, J = (
4441
+ ), _, y, P, O, A, E, N, M, K, J = (
4407
4442
  /*isMobile*/
4408
- e[18] && Co(e)
4443
+ e[18] && Pi(e)
4409
4444
  ), R = (
4410
4445
  /*invalidBonusCode*/
4411
- e[8] && Zt(e)
4446
+ e[8] && Yt(e)
4412
4447
  );
4413
4448
  function ue(S, L) {
4414
4449
  return (
4415
4450
  /*activeBonusesList*/
4416
- S[15].length === 0 ? Ao : So
4451
+ S[15].length === 0 ? Hi : Mi
4417
4452
  );
4418
4453
  }
4419
4454
  let le = ue(e), V = le(e), U = (
4420
4455
  /*activeBonusesList*/
4421
- e[15].length !== 0 && Qt(e)
4456
+ e[15].length !== 0 && en(e)
4422
4457
  ), $ = (
4423
4458
  /*bonusModal*/
4424
- e[16] && Yt(e)
4459
+ e[16] && nn(e)
4425
4460
  );
4426
4461
  return {
4427
4462
  c() {
4428
- t = P("div"), J && J.c(), n = j(), r = P("h2"), o = F(i), s = j(), a = P("div"), u = P("label"), c = F(l), h = j(), f = P("div"), b = P("input"), m = j(), d = P("button"), _ = F(C), y = j(), R && R.c(), M = j(), O = P("div"), V.c(), T = j(), U && U.c(), E = j(), $ && $.c(), N = bt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4463
+ t = T("div"), J && J.c(), n = j(), r = T("h2"), i = F(o), s = j(), a = T("div"), u = T("label"), c = F(l), h = j(), f = T("div"), b = T("input"), m = j(), d = T("button"), _ = F(C), y = j(), R && R.c(), P = j(), O = T("div"), V.c(), A = j(), U && U.c(), E = j(), $ && $.c(), N = Bt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4429
4464
  (e[18] ? "ActiveBonusesTitleNone" : "")), B(u, "for", "BonusCode"), B(b, "class", "BonusCodeInput " + /*isMobile*/
4430
4465
  (e[18] ? "BonusCodeInputMobile" : "")), B(b, "type", "text"), B(b, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4431
4466
  (e[18] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
@@ -4436,11 +4471,11 @@ function wo(e) {
4436
4471
  (e[18] ? "ActiveBonusesWrapperMobile" : ""));
4437
4472
  },
4438
4473
  m(S, L) {
4439
- W(S, t, L), J && J.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, u), v(u, c), v(a, h), v(a, f), v(f, b), Et(
4474
+ W(S, t, L), J && J.m(t, null), v(t, n), v(t, r), v(r, i), v(t, s), v(t, a), v(a, u), v(u, c), v(a, h), v(a, f), v(f, b), St(
4440
4475
  b,
4441
4476
  /*bonusCode*/
4442
4477
  e[9]
4443
- ), v(f, m), v(f, d), v(d, _), v(a, y), R && R.m(a, null), v(t, M), v(t, O), V.m(O, null), v(t, T), U && U.m(t, null), W(S, E, L), $ && $.m(S, L), W(S, N, L), H || (Y = [
4478
+ ), v(f, m), v(f, d), v(d, _), v(a, y), R && R.m(a, null), v(t, P), v(t, O), V.m(O, null), v(t, A), U && U.m(t, null), W(S, E, L), $ && $.m(S, L), W(S, N, L), M || (K = [
4444
4479
  q(
4445
4480
  b,
4446
4481
  "input",
@@ -4462,45 +4497,45 @@ function wo(e) {
4462
4497
  e[22]
4463
4498
  )
4464
4499
  )
4465
- ], H = !0);
4500
+ ], M = !0);
4466
4501
  },
4467
4502
  p(S, L) {
4468
4503
  /*isMobile*/
4469
4504
  S[18] && J.p(S, L), L[0] & /*$_*/
4470
- 131072 && i !== (i = /*$_*/
4471
- S[17]("titleBonuses") + "") && ne(o, i), L[0] & /*$_*/
4505
+ 131072 && o !== (o = /*$_*/
4506
+ S[17]("titleBonuses") + "") && re(i, o), L[0] & /*$_*/
4472
4507
  131072 && l !== (l = /*$_*/
4473
- S[17]("bonusCode") + "") && ne(c, l), L[0] & /*bonusCode*/
4508
+ S[17]("bonusCode") + "") && re(c, l), L[0] & /*bonusCode*/
4474
4509
  512 && b.value !== /*bonusCode*/
4475
- S[9] && Et(
4510
+ S[9] && St(
4476
4511
  b,
4477
4512
  /*bonusCode*/
4478
4513
  S[9]
4479
4514
  ), L[0] & /*$_*/
4480
4515
  131072 && C !== (C = /*$_*/
4481
- S[17]("getBonus") + "") && ne(_, C), L[0] & /*invalidBonusField*/
4516
+ S[17]("getBonus") + "") && re(_, C), L[0] & /*invalidBonusField*/
4482
4517
  128 && (d.disabled = /*invalidBonusField*/
4483
4518
  S[7]), /*invalidBonusCode*/
4484
- S[8] ? R ? R.p(S, L) : (R = Zt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), le === (le = ue(S)) && V ? V.p(S, L) : (V.d(1), V = le(S), V && (V.c(), V.m(O, null))), /*activeBonusesList*/
4485
- S[15].length !== 0 ? U ? U.p(S, L) : (U = Qt(S), U.c(), U.m(t, null)) : U && (U.d(1), U = null), /*bonusModal*/
4486
- S[16] ? $ ? $.p(S, L) : ($ = Yt(S), $.c(), $.m(N.parentNode, N)) : $ && ($.d(1), $ = null);
4519
+ S[8] ? R ? R.p(S, L) : (R = Yt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), le === (le = ue(S)) && V ? V.p(S, L) : (V.d(1), V = le(S), V && (V.c(), V.m(O, null))), /*activeBonusesList*/
4520
+ S[15].length !== 0 ? U ? U.p(S, L) : (U = en(S), U.c(), U.m(t, null)) : U && (U.d(1), U = null), /*bonusModal*/
4521
+ S[16] ? $ ? $.p(S, L) : ($ = nn(S), $.c(), $.m(N.parentNode, N)) : $ && ($.d(1), $ = null);
4487
4522
  },
4488
4523
  d(S) {
4489
- S && (G(t), G(E), G(N)), J && J.d(), R && R.d(), V.d(), U && U.d(), $ && $.d(S), H = !1, se(Y);
4524
+ S && (G(t), G(E), G(N)), J && J.d(), R && R.d(), V.d(), U && U.d(), $ && $.d(S), M = !1, se(K);
4490
4525
  }
4491
4526
  };
4492
4527
  }
4493
- function Co(e) {
4494
- let t, n, r, i, o, s, a, u, l, c, h = (
4528
+ function Pi(e) {
4529
+ let t, n, r, o, i, s, a, u, l, c, h = (
4495
4530
  /*$_*/
4496
4531
  e[17]("titleBonuses") + ""
4497
4532
  ), f, b, m;
4498
4533
  return {
4499
4534
  c() {
4500
- t = P("div"), n = ce("svg"), r = ce("defs"), i = ce("style"), o = F(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = ce("g"), a = ce("g"), u = ce("path"), l = j(), c = P("h2"), f = F(h), B(u, "class", "aaa"), B(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(u, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(c, "class", "ActiveBonusesTitleMobile"), B(t, "class", "MenuReturnButton");
4535
+ t = T("div"), n = ce("svg"), r = ce("defs"), o = ce("style"), i = F(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = ce("g"), a = ce("g"), u = ce("path"), l = j(), c = T("h2"), f = F(h), B(u, "class", "aaa"), B(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(u, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(c, "class", "ActiveBonusesTitleMobile"), B(t, "class", "MenuReturnButton");
4501
4536
  },
4502
4537
  m(d, C) {
4503
- W(d, t, C), v(t, n), v(n, r), v(r, i), v(i, o), v(n, s), v(s, a), v(a, u), v(t, l), v(t, c), v(c, f), b || (m = q(
4538
+ W(d, t, C), v(t, n), v(n, r), v(r, o), v(o, i), v(n, s), v(s, a), v(a, u), v(t, l), v(t, c), v(c, f), b || (m = q(
4504
4539
  t,
4505
4540
  "click",
4506
4541
  /*click_handler*/
@@ -4510,105 +4545,105 @@ function Co(e) {
4510
4545
  p(d, C) {
4511
4546
  C[0] & /*$_*/
4512
4547
  131072 && h !== (h = /*$_*/
4513
- d[17]("titleBonuses") + "") && ne(f, h);
4548
+ d[17]("titleBonuses") + "") && re(f, h);
4514
4549
  },
4515
4550
  d(d) {
4516
4551
  d && G(t), b = !1, m();
4517
4552
  }
4518
4553
  };
4519
4554
  }
4520
- function Zt(e) {
4555
+ function Yt(e) {
4521
4556
  let t, n = (
4522
4557
  /*$_*/
4523
4558
  e[17]("invalidBonusCode") + ""
4524
4559
  ), r;
4525
4560
  return {
4526
4561
  c() {
4527
- t = P("p"), r = F(n), B(t, "class", "InvalidBonusCodeMessage");
4562
+ t = T("p"), r = F(n), B(t, "class", "InvalidBonusCodeMessage");
4528
4563
  },
4529
- m(i, o) {
4530
- W(i, t, o), v(t, r);
4564
+ m(o, i) {
4565
+ W(o, t, i), v(t, r);
4531
4566
  },
4532
- p(i, o) {
4533
- o[0] & /*$_*/
4567
+ p(o, i) {
4568
+ i[0] & /*$_*/
4534
4569
  131072 && n !== (n = /*$_*/
4535
- i[17]("invalidBonusCode") + "") && ne(r, n);
4570
+ o[17]("invalidBonusCode") + "") && re(r, n);
4536
4571
  },
4537
- d(i) {
4538
- i && G(t);
4572
+ d(o) {
4573
+ o && G(t);
4539
4574
  }
4540
4575
  };
4541
4576
  }
4542
- function So(e) {
4577
+ function Mi(e) {
4543
4578
  let t, n = Fe(
4544
4579
  /*activeBonusesList*/
4545
4580
  e[15]
4546
4581
  ), r = [];
4547
- for (let i = 0; i < n.length; i += 1)
4548
- r[i] = qt(Xt(e, n, i));
4582
+ for (let o = 0; o < n.length; o += 1)
4583
+ r[o] = Kt(Jt(e, n, o));
4549
4584
  return {
4550
4585
  c() {
4551
- for (let i = 0; i < r.length; i += 1)
4552
- r[i].c();
4553
- t = bt();
4586
+ for (let o = 0; o < r.length; o += 1)
4587
+ r[o].c();
4588
+ t = Bt();
4554
4589
  },
4555
- m(i, o) {
4590
+ m(o, i) {
4556
4591
  for (let s = 0; s < r.length; s += 1)
4557
- r[s] && r[s].m(i, o);
4558
- W(i, t, o);
4592
+ r[s] && r[s].m(o, i);
4593
+ W(o, t, i);
4559
4594
  },
4560
- p(i, o) {
4561
- if (o[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
4595
+ p(o, i) {
4596
+ if (i[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
4562
4597
  32831) {
4563
4598
  n = Fe(
4564
4599
  /*activeBonusesList*/
4565
- i[15]
4600
+ o[15]
4566
4601
  );
4567
4602
  let s;
4568
4603
  for (s = 0; s < n.length; s += 1) {
4569
- const a = Xt(i, n, s);
4570
- r[s] ? r[s].p(a, o) : (r[s] = qt(a), r[s].c(), r[s].m(t.parentNode, t));
4604
+ const a = Jt(o, n, s);
4605
+ r[s] ? r[s].p(a, i) : (r[s] = Kt(a), r[s].c(), r[s].m(t.parentNode, t));
4571
4606
  }
4572
4607
  for (; s < r.length; s += 1)
4573
4608
  r[s].d(1);
4574
4609
  r.length = n.length;
4575
4610
  }
4576
4611
  },
4577
- d(i) {
4578
- i && G(t), nn(r, i);
4612
+ d(o) {
4613
+ o && G(t), an(r, o);
4579
4614
  }
4580
4615
  };
4581
4616
  }
4582
- function Ao(e) {
4617
+ function Hi(e) {
4583
4618
  let t, n = (
4584
4619
  /*$_*/
4585
4620
  e[17]("noActiveBonuses") + ""
4586
4621
  ), r;
4587
4622
  return {
4588
4623
  c() {
4589
- t = P("p"), r = F(n);
4624
+ t = T("p"), r = F(n);
4590
4625
  },
4591
- m(i, o) {
4592
- W(i, t, o), v(t, r);
4626
+ m(o, i) {
4627
+ W(o, t, i), v(t, r);
4593
4628
  },
4594
- p(i, o) {
4595
- o[0] & /*$_*/
4629
+ p(o, i) {
4630
+ i[0] & /*$_*/
4596
4631
  131072 && n !== (n = /*$_*/
4597
- i[17]("noActiveBonuses") + "") && ne(r, n);
4632
+ o[17]("noActiveBonuses") + "") && re(r, n);
4598
4633
  },
4599
- d(i) {
4600
- i && G(t);
4634
+ d(o) {
4635
+ o && G(t);
4601
4636
  }
4602
4637
  };
4603
4638
  }
4604
- function To(e) {
4605
- let t, n, r, i, o, s, a, u, l, c, h, f, b, m, d, C;
4639
+ function Oi(e) {
4640
+ let t, n, r, o, i, s, a, u, l, c, h, f, b, m, d, C;
4606
4641
  return {
4607
4642
  c() {
4608
- t = P("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4643
+ t = T("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4609
4644
  e[51].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4610
- e[51].termsandconditionsurl), p(t, "termsandconditionsasset", i = /*activeBonus*/
4611
- e[51].termsandconditionsasset), p(t, "endpoint", o = /*activeBonus*/
4645
+ e[51].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4646
+ e[51].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4612
4647
  e[51].endpoint), p(t, "playerid", s = /*activeBonus*/
4613
4648
  e[51].playerid), p(t, "session", a = /*activeBonus*/
4614
4649
  e[51].session), p(t, "bonuswalletid", u = /*activeBonus*/
@@ -4662,10 +4697,10 @@ function To(e) {
4662
4697
  _[51].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), y[0] & /*activeBonusesList*/
4663
4698
  32768 && r !== (r = /*activeBonus*/
4664
4699
  _[51].termsandconditionsurl) && p(t, "termsandconditionsurl", r), y[0] & /*activeBonusesList*/
4665
- 32768 && i !== (i = /*activeBonus*/
4666
- _[51].termsandconditionsasset) && p(t, "termsandconditionsasset", i), y[0] & /*activeBonusesList*/
4667
4700
  32768 && o !== (o = /*activeBonus*/
4668
- _[51].endpoint) && p(t, "endpoint", o), y[0] & /*activeBonusesList*/
4701
+ _[51].termsandconditionsasset) && p(t, "termsandconditionsasset", o), y[0] & /*activeBonusesList*/
4702
+ 32768 && i !== (i = /*activeBonus*/
4703
+ _[51].endpoint) && p(t, "endpoint", i), y[0] & /*activeBonusesList*/
4669
4704
  32768 && s !== (s = /*activeBonus*/
4670
4705
  _[51].playerid) && p(t, "playerid", s), y[0] & /*activeBonusesList*/
4671
4706
  32768 && a !== (a = /*activeBonus*/
@@ -4731,14 +4766,14 @@ function To(e) {
4731
4766
  }
4732
4767
  };
4733
4768
  }
4734
- function Po(e) {
4735
- let t, n, r, i, o, s, a, u, l, c, h, f, b;
4769
+ function Ii(e) {
4770
+ let t, n, r, o, i, s, a, u, l, c, h, f, b;
4736
4771
  return {
4737
4772
  c() {
4738
- t = P("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4773
+ t = T("player-bonus-card"), p(t, "termsandconditionsdescription", n = /*activeBonus*/
4739
4774
  e[51].termsandconditionsdescription), p(t, "termsandconditionsurl", r = /*activeBonus*/
4740
- e[51].termsandconditionsurl), p(t, "termsandconditionsasset", i = /*activeBonus*/
4741
- e[51].termsandconditionsasset), p(t, "endpoint", o = /*activeBonus*/
4775
+ e[51].termsandconditionsurl), p(t, "termsandconditionsasset", o = /*activeBonus*/
4776
+ e[51].termsandconditionsasset), p(t, "endpoint", i = /*activeBonus*/
4742
4777
  e[51].endpoint), p(t, "playerid", s = /*activeBonus*/
4743
4778
  e[51].playerid), p(t, "session", a = /*activeBonus*/
4744
4779
  e[51].session), p(t, "bonuswalletid", u = /*activeBonus*/
@@ -4788,10 +4823,10 @@ function Po(e) {
4788
4823
  m[51].termsandconditionsdescription) && p(t, "termsandconditionsdescription", n), d[0] & /*activeBonusesList*/
4789
4824
  32768 && r !== (r = /*activeBonus*/
4790
4825
  m[51].termsandconditionsurl) && p(t, "termsandconditionsurl", r), d[0] & /*activeBonusesList*/
4791
- 32768 && i !== (i = /*activeBonus*/
4792
- m[51].termsandconditionsasset) && p(t, "termsandconditionsasset", i), d[0] & /*activeBonusesList*/
4793
4826
  32768 && o !== (o = /*activeBonus*/
4794
- m[51].endpoint) && p(t, "endpoint", o), d[0] & /*activeBonusesList*/
4827
+ m[51].termsandconditionsasset) && p(t, "termsandconditionsasset", o), d[0] & /*activeBonusesList*/
4828
+ 32768 && i !== (i = /*activeBonus*/
4829
+ m[51].endpoint) && p(t, "endpoint", i), d[0] & /*activeBonusesList*/
4795
4830
  32768 && s !== (s = /*activeBonus*/
4796
4831
  m[51].playerid) && p(t, "playerid", s), d[0] & /*activeBonusesList*/
4797
4832
  32768 && a !== (a = /*activeBonus*/
@@ -4850,43 +4885,43 @@ function Po(e) {
4850
4885
  }
4851
4886
  };
4852
4887
  }
4853
- function qt(e) {
4888
+ function Kt(e) {
4854
4889
  let t;
4855
- function n(o, s) {
4890
+ function n(i, s) {
4856
4891
  return (
4857
4892
  /*activeBonus*/
4858
- o[51].type === "freeRound" ? Po : To
4893
+ i[51].type === "freeRound" ? Ii : Oi
4859
4894
  );
4860
4895
  }
4861
- let r = n(e), i = r(e);
4896
+ let r = n(e), o = r(e);
4862
4897
  return {
4863
4898
  c() {
4864
- i.c(), t = bt();
4899
+ o.c(), t = Bt();
4865
4900
  },
4866
- m(o, s) {
4867
- i.m(o, s), W(o, t, s);
4901
+ m(i, s) {
4902
+ o.m(i, s), W(i, t, s);
4868
4903
  },
4869
- p(o, s) {
4870
- r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t.parentNode, t)));
4904
+ p(i, s) {
4905
+ r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
4871
4906
  },
4872
- d(o) {
4873
- o && G(t), i.d(o);
4907
+ d(i) {
4908
+ i && G(t), o.d(i);
4874
4909
  }
4875
4910
  };
4876
4911
  }
4877
- function Qt(e) {
4878
- let t, n, r, i, o, s, a, u, l, c, h, f, b, m, d, C, _, y, M, O = Fe(Array(
4912
+ function en(e) {
4913
+ let t, n, r, o, i, s, a, u, l, c, h, f, b, m, d, C, _, y, P, O = Fe(Array(
4879
4914
  /*numberOfPages*/
4880
4915
  e[13]
4881
- )), T = [];
4916
+ )), A = [];
4882
4917
  for (let E = 0; E < O.length; E += 1)
4883
- T[E] = Jt(zt(e, O, E));
4918
+ A[E] = tn(Qt(e, O, E));
4884
4919
  return {
4885
4920
  c() {
4886
- t = P("div"), n = P("span"), r = F("|<"), o = j(), s = P("span"), a = F("<"), l = j();
4887
- for (let E = 0; E < T.length; E += 1)
4888
- T[E].c();
4889
- c = j(), h = P("span"), f = F(">"), m = j(), d = P("span"), C = F(">|"), B(n, "class", i = "BonusesFirst " + /*currentPage*/
4921
+ t = T("div"), n = T("span"), r = F("|<"), i = j(), s = T("span"), a = F("<"), l = j();
4922
+ for (let E = 0; E < A.length; E += 1)
4923
+ A[E].c();
4924
+ c = j(), h = T("span"), f = F(">"), m = j(), d = T("span"), C = F(">|"), B(n, "class", o = "BonusesFirst " + /*currentPage*/
4890
4925
  (e[14] === 0 ? "Inactive" : "")), B(s, "class", u = "BonusesPrev " + /*currentPage*/
4891
4926
  (e[14] === 0 ? "Inactive" : "")), B(h, "class", b = "BonusesNext " + /*currentPage*/
4892
4927
  (e[14] === /*numberOfPages*/
@@ -4896,10 +4931,10 @@ function Qt(e) {
4896
4931
  (e[18] ? "BonusesPaginationWrapperMobile" : ""));
4897
4932
  },
4898
4933
  m(E, N) {
4899
- W(E, t, N), v(t, n), v(n, r), v(t, o), v(t, s), v(s, a), v(t, l);
4900
- for (let H = 0; H < T.length; H += 1)
4901
- T[H] && T[H].m(t, null);
4902
- v(t, c), v(t, h), v(h, f), v(t, m), v(t, d), v(d, C), y || (M = [
4934
+ W(E, t, N), v(t, n), v(n, r), v(t, i), v(t, s), v(s, a), v(t, l);
4935
+ for (let M = 0; M < A.length; M += 1)
4936
+ A[M] && A[M].m(t, null);
4937
+ v(t, c), v(t, h), v(h, f), v(t, m), v(t, d), v(d, C), y || (P = [
4903
4938
  q(
4904
4939
  n,
4905
4940
  "click",
@@ -4928,8 +4963,8 @@ function Qt(e) {
4928
4963
  },
4929
4964
  p(E, N) {
4930
4965
  if (N[0] & /*currentPage*/
4931
- 16384 && i !== (i = "BonusesFirst " + /*currentPage*/
4932
- (E[14] === 0 ? "Inactive" : "")) && B(n, "class", i), N[0] & /*currentPage*/
4966
+ 16384 && o !== (o = "BonusesFirst " + /*currentPage*/
4967
+ (E[14] === 0 ? "Inactive" : "")) && B(n, "class", o), N[0] & /*currentPage*/
4933
4968
  16384 && u !== (u = "BonusesPrev " + /*currentPage*/
4934
4969
  (E[14] === 0 ? "Inactive" : "")) && B(s, "class", u), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4935
4970
  2121728) {
@@ -4937,14 +4972,14 @@ function Qt(e) {
4937
4972
  /*numberOfPages*/
4938
4973
  E[13]
4939
4974
  ));
4940
- let H;
4941
- for (H = 0; H < O.length; H += 1) {
4942
- const Y = zt(E, O, H);
4943
- T[H] ? T[H].p(Y, N) : (T[H] = Jt(Y), T[H].c(), T[H].m(t, c));
4975
+ let M;
4976
+ for (M = 0; M < O.length; M += 1) {
4977
+ const K = Qt(E, O, M);
4978
+ A[M] ? A[M].p(K, N) : (A[M] = tn(K), A[M].c(), A[M].m(t, c));
4944
4979
  }
4945
- for (; H < T.length; H += 1)
4946
- T[H].d(1);
4947
- T.length = O.length;
4980
+ for (; M < A.length; M += 1)
4981
+ A[M].d(1);
4982
+ A.length = O.length;
4948
4983
  }
4949
4984
  N[0] & /*currentPage, numberOfPages*/
4950
4985
  24576 && b !== (b = "BonusesNext " + /*currentPage*/
@@ -4955,15 +4990,15 @@ function Qt(e) {
4955
4990
  E[13] - 1 ? "Inactive" : "")) && B(d, "class", _);
4956
4991
  },
4957
4992
  d(E) {
4958
- E && G(t), nn(T, E), y = !1, se(M);
4993
+ E && G(t), an(A, E), y = !1, se(P);
4959
4994
  }
4960
4995
  };
4961
4996
  }
4962
- function Jt(e) {
4997
+ function tn(e) {
4963
4998
  let t, n = (
4964
4999
  /*i*/
4965
5000
  e[50] + 1 + ""
4966
- ), r, i, o, s;
5001
+ ), r, o, i, s;
4967
5002
  function a() {
4968
5003
  return (
4969
5004
  /*click_handler_3*/
@@ -4975,26 +5010,26 @@ function Jt(e) {
4975
5010
  }
4976
5011
  return {
4977
5012
  c() {
4978
- t = P("span"), r = F(n), B(t, "class", i = "BonusesPage " + /*i*/
5013
+ t = T("span"), r = F(n), B(t, "class", o = "BonusesPage " + /*i*/
4979
5014
  (e[50] === /*currentPage*/
4980
5015
  e[14] ? "BonusPageActive" : ""));
4981
5016
  },
4982
5017
  m(u, l) {
4983
- W(u, t, l), v(t, r), o || (s = q(t, "click", a), o = !0);
5018
+ W(u, t, l), v(t, r), i || (s = q(t, "click", a), i = !0);
4984
5019
  },
4985
5020
  p(u, l) {
4986
5021
  e = u, l[0] & /*currentPage*/
4987
- 16384 && i !== (i = "BonusesPage " + /*i*/
5022
+ 16384 && o !== (o = "BonusesPage " + /*i*/
4988
5023
  (e[50] === /*currentPage*/
4989
- e[14] ? "BonusPageActive" : "")) && B(t, "class", i);
5024
+ e[14] ? "BonusPageActive" : "")) && B(t, "class", o);
4990
5025
  },
4991
5026
  d(u) {
4992
- u && G(t), o = !1, s();
5027
+ u && G(t), i = !1, s();
4993
5028
  }
4994
5029
  };
4995
5030
  }
4996
- function Yt(e) {
4997
- let t, n, r, i, o = (
5031
+ function nn(e) {
5032
+ let t, n, r, o, i = (
4998
5033
  /*$_*/
4999
5034
  e[17]("forfeitBonus") + ""
5000
5035
  ), s, a, u, l, c = (
@@ -5006,11 +5041,11 @@ function Yt(e) {
5006
5041
  ), d, C, _;
5007
5042
  return {
5008
5043
  c() {
5009
- t = P("div"), n = P("div"), r = P("div"), i = P("p"), s = F(o), a = j(), u = P("div"), l = P("button"), h = F(c), f = j(), b = P("button"), d = F(m), B(i, "class", "ModalText"), B(l, "class", "ModalCancel"), B(b, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5044
+ t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = F(i), a = j(), u = T("div"), l = T("button"), h = F(c), f = j(), b = T("button"), d = F(m), B(o, "class", "ModalText"), B(l, "class", "ModalCancel"), B(b, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5010
5045
  (e[18] ? "ModalWrapperMobile" : ""));
5011
5046
  },
5012
- m(y, M) {
5013
- W(y, t, M), v(t, n), v(n, r), v(r, i), v(i, s), v(r, a), v(r, u), v(u, l), v(l, h), v(u, f), v(u, b), v(b, d), C || (_ = [
5047
+ m(y, P) {
5048
+ W(y, t, P), v(t, n), v(n, r), v(r, o), v(o, s), v(r, a), v(r, u), v(u, l), v(l, h), v(u, f), v(u, b), v(b, d), C || (_ = [
5014
5049
  q(
5015
5050
  l,
5016
5051
  "click",
@@ -5028,59 +5063,59 @@ function Yt(e) {
5028
5063
  )
5029
5064
  ], C = !0);
5030
5065
  },
5031
- p(y, M) {
5032
- M[0] & /*$_*/
5033
- 131072 && o !== (o = /*$_*/
5034
- y[17]("forfeitBonus") + "") && ne(s, o), M[0] & /*$_*/
5066
+ p(y, P) {
5067
+ P[0] & /*$_*/
5068
+ 131072 && i !== (i = /*$_*/
5069
+ y[17]("forfeitBonus") + "") && re(s, i), P[0] & /*$_*/
5035
5070
  131072 && c !== (c = /*$_*/
5036
- y[17]("forfeitBonusCancel") + "") && ne(h, c), M[0] & /*$_*/
5071
+ y[17]("forfeitBonusCancel") + "") && re(h, c), P[0] & /*$_*/
5037
5072
  131072 && m !== (m = /*$_*/
5038
- y[17]("forfeitBonusConfirm") + "") && ne(d, m);
5073
+ y[17]("forfeitBonusConfirm") + "") && re(d, m);
5039
5074
  },
5040
5075
  d(y) {
5041
5076
  y && G(t), C = !1, se(_);
5042
5077
  }
5043
5078
  };
5044
5079
  }
5045
- function Mo(e) {
5080
+ function Ni(e) {
5046
5081
  let t;
5047
- function n(o, s) {
5048
- return wo;
5082
+ function n(i, s) {
5083
+ return Ti;
5049
5084
  }
5050
- let i = n()(e);
5085
+ let o = n()(e);
5051
5086
  return {
5052
5087
  c() {
5053
- t = P("div"), i.c();
5088
+ t = T("div"), o.c();
5054
5089
  },
5055
- m(o, s) {
5056
- W(o, t, s), i.m(t, null), e[37](t);
5090
+ m(i, s) {
5091
+ W(i, t, s), o.m(t, null), e[37](t);
5057
5092
  },
5058
- p(o, s) {
5059
- i.p(o, s);
5093
+ p(i, s) {
5094
+ o.p(i, s);
5060
5095
  },
5061
5096
  i: Q,
5062
5097
  o: Q,
5063
- d(o) {
5064
- o && G(t), i.d(), e[37](null);
5098
+ d(i) {
5099
+ i && G(t), o.d(), e[37](null);
5065
5100
  }
5066
5101
  };
5067
5102
  }
5068
- let Ho = "status=active", te = 6;
5069
- function Io(e, t, n) {
5103
+ let Li = "status=active", ne = 6;
5104
+ function Ri(e, t, n) {
5070
5105
  let r;
5071
- Zn(e, go, (g) => n(17, r = g));
5072
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, { currencylocale: b = "" } = t, m, d = window.navigator.userAgent, C = vo(d) !== "PC", _ = !0, y = !1, M = "", O = 0, T = 0, E = 0, N = 0, H = 0, Y = [], J, R = "", ue = !1;
5106
+ Yn(e, Bi, (g) => n(17, r = g));
5107
+ let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, { currencylocale: b = "" } = t, m, d = window.navigator.userAgent, C = Ei(d) !== "PC", _ = !0, y = !1, P = "", O = 0, A = 0, E = 0, N = 0, M = 0, K = [], J, R = "", ue = !1;
5073
5108
  const le = () => {
5074
5109
  fetch(f).then((D) => D.json()).then((D) => {
5075
5110
  Object.keys(D).forEach((X) => {
5076
- Wt(X, D[X]);
5111
+ Zt(X, D[X]);
5077
5112
  });
5078
5113
  }).catch((D) => {
5079
5114
  console.log(D);
5080
5115
  });
5081
5116
  };
5082
- Object.keys(Vt).forEach((g) => {
5083
- Wt(g, Vt[g]);
5117
+ Object.keys(qt).forEach((g) => {
5118
+ Zt(g, qt[g]);
5084
5119
  });
5085
5120
  const V = (g) => {
5086
5121
  if (g.data)
@@ -5108,36 +5143,36 @@ function Io(e, t, n) {
5108
5143
  },
5109
5144
  window.location.href
5110
5145
  );
5111
- }, S = () => !!M, L = () => {
5146
+ }, S = () => !!P, L = () => {
5112
5147
  n(7, _ = !S());
5113
- }, K = (g) => {
5148
+ }, ee = (g) => {
5114
5149
  let D = {
5115
5150
  method: "GET",
5116
- headers: { "X-SessionId": o }
5117
- }, X = new URL(`${i}/v1/player/${s}/bonusWallet`);
5118
- X.searchParams.append("filter", Ho), X.searchParams.append("pagination", `offset=${g},limit=${te}`), fetch(X, D).then((ee) => ee.json()).then(
5119
- (ee) => {
5120
- Array.isArray(ee.items) && ee.items.forEach((z) => {
5151
+ headers: { "X-SessionId": i }
5152
+ }, X = new URL(`${o}/v1/player/${s}/bonusWallet`);
5153
+ X.searchParams.append("filter", Li), X.searchParams.append("pagination", `offset=${g},limit=${ne}`), fetch(X, D).then((te) => te.json()).then(
5154
+ (te) => {
5155
+ Array.isArray(te.items) && te.items.forEach((z) => {
5121
5156
  const Me = z?.extension?.bonus?.presentation;
5122
5157
  Me && (z.termsandconditionsurl = Me.url, z.termsandconditionsdescription = Me.description, z.termsandconditionsasset = Me.assets);
5123
- }), n(13, N = Math.ceil(ee.total / te)), g - te >= 0 && n(10, O = g - te), g + te < ee.total && n(11, T = g + te), n(12, E = (N - 1) * te), n(14, H = g / te), n(15, Y = ee?.items || []), b && Y.forEach((z) => {
5158
+ }), n(13, N = Math.ceil(te.total / ne)), g - ne >= 0 && n(10, O = g - ne), g + ne < te.total && n(11, A = g + ne), n(12, E = (N - 1) * ne), n(14, M = g / ne), n(15, K = te?.items || []), b && K.forEach((z) => {
5124
5159
  z.fulfilledWR = Pe(z.fulfilledWR), z.originalWageringRequirement = Pe(z.originalWageringRequirement), z.currentAmount = Pe(z.currentAmount), z.extension.grantedPlayerCurrencyAmount = Pe(z.extension.grantedPlayerCurrencyAmount);
5125
5160
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5126
5161
  },
5127
- (ee) => {
5128
- console.error(ee);
5162
+ (te) => {
5163
+ console.error(te);
5129
5164
  }
5130
5165
  );
5131
- }, Pe = (g) => new Intl.NumberFormat(b, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), Ln = () => {
5132
- let g = new URL(`${i}/v1/player/${s}/claimbonus`), D = {
5166
+ }, Pe = (g) => new Intl.NumberFormat(b, { style: "currency", currency: u }).format(g).replace(/\s/g, ""), Un = () => {
5167
+ let g = new URL(`${o}/v1/player/${s}/claimbonus`), D = {
5133
5168
  method: "POST",
5134
5169
  headers: {
5135
- "X-SessionId": o,
5170
+ "X-SessionId": i,
5136
5171
  accept: "application/json"
5137
5172
  }
5138
5173
  };
5139
- g.searchParams.append("currency", u), g.searchParams.append("bonusCode", M), fetch(g.href, D).then((X) => {
5140
- X.status == 200 ? (n(8, y = !1), K(0), window.postMessage(
5174
+ g.searchParams.append("currency", u), g.searchParams.append("bonusCode", P), fetch(g.href, D).then((X) => {
5175
+ X.status == 200 ? (n(8, y = !1), ee(0), window.postMessage(
5141
5176
  {
5142
5177
  type: "WidgetNotification",
5143
5178
  data: {
@@ -5149,7 +5184,7 @@ function Io(e, t, n) {
5149
5184
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5150
5185
  context: "PlayerActiveBonuses",
5151
5186
  userId: `${s || "Not logged in"}`,
5152
- bonusCode: `${M}`
5187
+ bonusCode: `${P}`
5153
5188
  })) : (n(8, y = !0), window.postMessage(
5154
5189
  {
5155
5190
  type: "WidgetNotification",
@@ -5161,48 +5196,48 @@ function Io(e, t, n) {
5161
5196
  window.location.href
5162
5197
  ));
5163
5198
  });
5164
- }, _t = () => {
5199
+ }, wt = () => {
5165
5200
  window.postMessage({ type: "EnableScroll" }, window.location.href), n(16, ue = !1);
5166
- }, Rn = () => {
5201
+ }, Dn = () => {
5167
5202
  let g = {
5168
5203
  method: "DELETE",
5169
5204
  headers: {
5170
- "X-SessionId": o,
5205
+ "X-SessionId": i,
5171
5206
  "Content-Type": "application/json",
5172
5207
  Accept: "application/json"
5173
5208
  }
5174
- }, D = new URL(`${i}/v1/player/${s}/bonusWallet`);
5209
+ }, D = new URL(`${o}/v1/player/${s}/bonusWallet`);
5175
5210
  D.searchParams.append("bonusWalletID", R), fetch(D, g).then((X) => {
5176
- X.status == 200 && (K(0), _t());
5211
+ X.status == 200 && (ee(0), wt());
5177
5212
  });
5178
- }, $n = () => {
5179
- yo(a);
5213
+ }, Gn = () => {
5214
+ xi(a);
5180
5215
  };
5181
- function Fn(g) {
5216
+ function kn(g) {
5182
5217
  return U(g, 1e3);
5183
5218
  }
5184
- tr(() => (window.addEventListener("message", V, !1), () => {
5219
+ ir(() => (window.addEventListener("message", V, !1), () => {
5185
5220
  window.removeEventListener("message", V);
5186
5221
  }));
5187
- const Un = () => $();
5188
- function Dn() {
5189
- M = this.value, n(9, M);
5222
+ const jn = () => $();
5223
+ function Wn() {
5224
+ P = this.value, n(9, P);
5190
5225
  }
5191
- const Gn = () => K(0), kn = () => K(O), jn = (g) => K(g * te), Wn = () => K(T), Vn = () => K(E);
5192
- function zn(g) {
5193
- Ke[g ? "unshift" : "push"](() => {
5226
+ const Vn = () => ee(0), zn = () => ee(O), Xn = (g) => ee(g * ne), Zn = () => ee(A), qn = () => ee(E);
5227
+ function Qn(g) {
5228
+ nt[g ? "unshift" : "push"](() => {
5194
5229
  m = g, n(6, m);
5195
5230
  });
5196
5231
  }
5197
5232
  return e.$$set = (g) => {
5198
- "endpoint" in g && n(26, i = g.endpoint), "session" in g && n(27, o = g.session), "playerid" in g && n(28, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(29, u = g.currency), "clientstyling" in g && n(1, l = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "mbsource" in g && n(3, h = g.mbsource), "translationurl" in g && n(4, f = g.translationurl), "currencylocale" in g && n(5, b = g.currencylocale);
5233
+ "endpoint" in g && n(26, o = g.endpoint), "session" in g && n(27, i = g.session), "playerid" in g && n(28, s = g.playerid), "lang" in g && n(0, a = g.lang), "currency" in g && n(29, u = g.currency), "clientstyling" in g && n(1, l = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "mbsource" in g && n(3, h = g.mbsource), "translationurl" in g && n(4, f = g.translationurl), "currencylocale" in g && n(5, b = g.currencylocale);
5199
5234
  }, e.$$.update = () => {
5200
5235
  e.$$.dirty[0] & /*lang*/
5201
- 1 && a && $n(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5202
- 469762048 && o && s && i && K(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5203
- 66 && l && m && _o(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5204
- 68 && c && m && Bo(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5205
- 72 && h && m && Eo(m, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5236
+ 1 && a && Gn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5237
+ 469762048 && i && s && o && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5238
+ 66 && l && m && wi(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5239
+ 68 && c && m && Ci(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5240
+ 72 && h && m && Si(m, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5206
5241
  16 && f && le();
5207
5242
  }, [
5208
5243
  a,
@@ -5214,45 +5249,45 @@ function Io(e, t, n) {
5214
5249
  m,
5215
5250
  _,
5216
5251
  y,
5217
- M,
5252
+ P,
5218
5253
  O,
5219
- T,
5254
+ A,
5220
5255
  E,
5221
5256
  N,
5222
- H,
5223
- Y,
5257
+ M,
5258
+ K,
5224
5259
  ue,
5225
5260
  r,
5226
5261
  C,
5227
5262
  $,
5228
5263
  L,
5229
- K,
5230
- Ln,
5231
- _t,
5232
- Rn,
5233
- Fn,
5234
- i,
5235
- o,
5236
- s,
5237
- u,
5264
+ ee,
5238
5265
  Un,
5266
+ wt,
5239
5267
  Dn,
5240
- Gn,
5241
5268
  kn,
5269
+ o,
5270
+ i,
5271
+ s,
5272
+ u,
5242
5273
  jn,
5243
5274
  Wn,
5244
5275
  Vn,
5245
- zn
5276
+ zn,
5277
+ Xn,
5278
+ Zn,
5279
+ qn,
5280
+ Qn
5246
5281
  ];
5247
5282
  }
5248
- class Oo extends dr {
5283
+ class $i extends gr {
5249
5284
  constructor(t) {
5250
- super(), hr(
5285
+ super(), mr(
5251
5286
  this,
5252
5287
  t,
5253
- Io,
5254
- Mo,
5255
- en,
5288
+ Ri,
5289
+ Ni,
5290
+ on,
5256
5291
  {
5257
5292
  endpoint: 26,
5258
5293
  session: 27,
@@ -5265,7 +5300,7 @@ class Oo extends dr {
5265
5300
  translationurl: 4,
5266
5301
  currencylocale: 5
5267
5302
  },
5268
- xo,
5303
+ Ai,
5269
5304
  [-1, -1]
5270
5305
  );
5271
5306
  }
@@ -5330,34 +5365,34 @@ class Oo extends dr {
5330
5365
  this.$$set({ currencylocale: t }), Z();
5331
5366
  }
5332
5367
  }
5333
- fr(Oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {} }, [], [], !0);
5368
+ br($i, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {} }, [], [], !0);
5334
5369
  export {
5335
- Be as $,
5336
- Oo as P,
5337
- dr as S,
5338
- Mn as a,
5339
- qn as b,
5340
- fr as c,
5341
- j as d,
5342
- P as e,
5370
+ _e as $,
5371
+ $i as P,
5372
+ gr as S,
5373
+ Nn as a,
5374
+ Kn as b,
5375
+ br as c,
5376
+ G as d,
5377
+ re as e,
5343
5378
  Z as f,
5344
5379
  B as g,
5345
5380
  W as h,
5346
- hr as i,
5381
+ mr as i,
5347
5382
  v as j,
5348
- ne as k,
5349
- G as l,
5350
- Zn as m,
5383
+ T as k,
5384
+ j as l,
5385
+ Yn as m,
5351
5386
  Q as n,
5352
- vo as o,
5353
- tr as p,
5354
- No as q,
5387
+ Ei as o,
5388
+ ir as p,
5389
+ Fi as q,
5355
5390
  q as r,
5356
- en as s,
5391
+ on as s,
5357
5392
  F as t,
5358
- Ke as u,
5359
- _o as v,
5360
- Bo as w,
5361
- Eo as x,
5362
- go as y
5393
+ nt as u,
5394
+ Bi as v,
5395
+ wi as w,
5396
+ Ci as x,
5397
+ Si as y
5363
5398
  };