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