@everymatrix/player-active-bonuses 1.61.1 → 1.62.1

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