@everymatrix/casino-random-game 1.54.8 → 1.54.9

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,7 +1,7 @@
1
1
  function M() {
2
2
  }
3
- function Fn(e, t) {
4
- for (const n in t) e[n] = t[n];
3
+ function Dr(e, t) {
4
+ for (const r in t) e[r] = t[r];
5
5
  return (
6
6
  /** @type {T & S} */
7
7
  e
@@ -16,7 +16,7 @@ function lt() {
16
16
  function X(e) {
17
17
  e.forEach(Ft);
18
18
  }
19
- function nt(e) {
19
+ function rt(e) {
20
20
  return typeof e == "function";
21
21
  }
22
22
  function $t(e, t) {
@@ -26,33 +26,33 @@ let pe;
26
26
  function ht(e, t) {
27
27
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
28
28
  }
29
- function $n(e) {
29
+ function Fr(e) {
30
30
  return Object.keys(e).length === 0;
31
31
  }
32
32
  function jt(e, ...t) {
33
33
  if (e == null) {
34
- for (const r of t)
35
- r(void 0);
34
+ for (const n of t)
35
+ n(void 0);
36
36
  return M;
37
37
  }
38
- const n = e.subscribe(...t);
39
- return n.unsubscribe ? () => n.unsubscribe() : n;
38
+ const r = e.subscribe(...t);
39
+ return r.unsubscribe ? () => r.unsubscribe() : r;
40
40
  }
41
- function jn(e, t, n) {
42
- e.$$.on_destroy.push(jt(t, n));
41
+ function $r(e, t, r) {
42
+ e.$$.on_destroy.push(jt(t, r));
43
43
  }
44
- function kn(e, t, n, r) {
44
+ function jr(e, t, r, n) {
45
45
  if (e) {
46
- const i = kt(e, t, n, r);
46
+ const i = kt(e, t, r, n);
47
47
  return e[0](i);
48
48
  }
49
49
  }
50
- function kt(e, t, n, r) {
51
- return e[1] && r ? Fn(n.ctx.slice(), e[1](r(t))) : n.ctx;
50
+ function kt(e, t, r, n) {
51
+ return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
52
  }
53
- function Vn(e, t, n, r) {
54
- if (e[2] && r) {
55
- const i = e[2](r(n));
53
+ function kr(e, t, r, n) {
54
+ if (e[2] && n) {
55
+ const i = e[2](n(r));
56
56
  if (t.dirty === void 0)
57
57
  return i;
58
58
  if (typeof i == "object") {
@@ -65,17 +65,17 @@ function Vn(e, t, n, r) {
65
65
  }
66
66
  return t.dirty;
67
67
  }
68
- function Wn(e, t, n, r, i, o) {
68
+ function Vr(e, t, r, n, i, o) {
69
69
  if (i) {
70
- const a = kt(t, n, r, o);
70
+ const a = kt(t, r, n, o);
71
71
  e.p(a, i);
72
72
  }
73
73
  }
74
- function Xn(e) {
74
+ function Wr(e) {
75
75
  if (e.ctx.length > 32) {
76
- const t = [], n = e.ctx.length / 32;
77
- for (let r = 0; r < n; r++)
78
- t[r] = -1;
76
+ const t = [], r = e.ctx.length / 32;
77
+ for (let n = 0; n < r; n++)
78
+ t[n] = -1;
79
79
  return t;
80
80
  }
81
81
  return -1;
@@ -83,14 +83,14 @@ function Xn(e) {
83
83
  function E(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function zn(e, t, n) {
87
- const r = Jn(e);
88
- if (!r.getElementById(t)) {
86
+ function Xr(e, t, r) {
87
+ const n = zr(e);
88
+ if (!n.getElementById(t)) {
89
89
  const i = S("style");
90
- i.id = t, i.textContent = n, Zn(r, i);
90
+ i.id = t, i.textContent = r, Jr(n, i);
91
91
  }
92
92
  }
93
- function Jn(e) {
93
+ function zr(e) {
94
94
  if (!e) return document;
95
95
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
96
  return t && /** @type {ShadowRoot} */
@@ -99,22 +99,22 @@ function Jn(e) {
99
99
  t
100
100
  ) : e.ownerDocument;
101
101
  }
102
- function Zn(e, t) {
102
+ function Jr(e, t) {
103
103
  return E(
104
104
  /** @type {Document} */
105
105
  e.head || e,
106
106
  t
107
107
  ), t.sheet;
108
108
  }
109
- function I(e, t, n) {
110
- e.insertBefore(t, n || null);
109
+ function I(e, t, r) {
110
+ e.insertBefore(t, r || null);
111
111
  }
112
112
  function R(e) {
113
113
  e.parentNode && e.parentNode.removeChild(e);
114
114
  }
115
- function Qn(e, t) {
116
- for (let n = 0; n < e.length; n += 1)
117
- e[n] && e[n].d(t);
115
+ function Zr(e, t) {
116
+ for (let r = 0; r < e.length; r += 1)
117
+ e[r] && e[r].d(t);
118
118
  }
119
119
  function S(e) {
120
120
  return document.createElement(e);
@@ -128,31 +128,31 @@ function $(e) {
128
128
  function j() {
129
129
  return $(" ");
130
130
  }
131
- function we(e, t, n, r) {
132
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
131
+ function we(e, t, r, n) {
132
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
133
133
  }
134
- function g(e, t, n) {
135
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
134
+ function g(e, t, r) {
135
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
136
136
  }
137
- function Yn(e) {
137
+ function Qr(e) {
138
138
  return Array.from(e.childNodes);
139
139
  }
140
140
  function W(e, t) {
141
141
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
142
  t);
143
143
  }
144
- function qn(e) {
144
+ function Yr(e) {
145
145
  const t = {};
146
146
  return e.childNodes.forEach(
147
147
  /** @param {Element} node */
148
- (n) => {
149
- t[n.slot || "default"] = !0;
148
+ (r) => {
149
+ t[r.slot || "default"] = !0;
150
150
  }
151
151
  ), t;
152
152
  }
153
- let rt;
153
+ let nt;
154
154
  function he(e) {
155
- rt = e;
155
+ nt = e;
156
156
  }
157
157
  const q = [], Se = [];
158
158
  let K = [];
@@ -161,7 +161,7 @@ let Fe = !1;
161
161
  function Wt() {
162
162
  Fe || (Fe = !0, Vt.then(C));
163
163
  }
164
- function Kn() {
164
+ function qr() {
165
165
  return Wt(), Vt;
166
166
  }
167
167
  function $e(e) {
@@ -172,20 +172,20 @@ let Q = 0;
172
172
  function C() {
173
173
  if (Q !== 0)
174
174
  return;
175
- const e = rt;
175
+ const e = nt;
176
176
  do {
177
177
  try {
178
178
  for (; Q < q.length; ) {
179
179
  const t = q[Q];
180
- Q++, he(t), er(t.$$);
180
+ Q++, he(t), Kr(t.$$);
181
181
  }
182
182
  } catch (t) {
183
183
  throw q.length = 0, Q = 0, t;
184
184
  }
185
185
  for (he(null), q.length = 0, Q = 0; Se.length; ) Se.pop()();
186
186
  for (let t = 0; t < K.length; t += 1) {
187
- const n = K[t];
188
- Ne.has(n) || (Ne.add(n), n());
187
+ const r = K[t];
188
+ Ne.has(r) || (Ne.add(r), r());
189
189
  }
190
190
  K.length = 0;
191
191
  } while (q.length);
@@ -193,20 +193,20 @@ function C() {
193
193
  ft.pop()();
194
194
  Fe = !1, Ne.clear(), he(e);
195
195
  }
196
- function er(e) {
196
+ function Kr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), X(e.before_update);
199
199
  const t = e.dirty;
200
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
201
201
  }
202
202
  }
203
- function tr(e) {
204
- const t = [], n = [];
205
- K.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), K = t;
203
+ function en(e) {
204
+ const t = [], r = [];
205
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
206
206
  }
207
207
  const ye = /* @__PURE__ */ new Set();
208
208
  let V;
209
- function nr() {
209
+ function tn() {
210
210
  V = {
211
211
  r: 0,
212
212
  c: [],
@@ -214,39 +214,39 @@ function nr() {
214
214
  // parent group
215
215
  };
216
216
  }
217
- function rr() {
217
+ function rn() {
218
218
  V.r || X(V.c), V = V.p;
219
219
  }
220
220
  function ce(e, t) {
221
221
  e && e.i && (ye.delete(e), e.i(t));
222
222
  }
223
- function je(e, t, n, r) {
223
+ function je(e, t, r, n) {
224
224
  if (e && e.o) {
225
225
  if (ye.has(e)) return;
226
226
  ye.add(e), V.c.push(() => {
227
- ye.delete(e), r && (n && e.d(1), r());
227
+ ye.delete(e), n && (r && e.d(1), n());
228
228
  }), e.o(t);
229
- } else r && r();
229
+ } else n && n();
230
230
  }
231
- function dt(e) {
231
+ function mt(e) {
232
232
  return e?.length !== void 0 ? e : Array.from(e);
233
233
  }
234
- function ir(e, t, n) {
235
- const { fragment: r, after_update: i } = e.$$;
236
- r && r.m(t, n), $e(() => {
237
- const o = e.$$.on_mount.map(Ft).filter(nt);
234
+ function nn(e, t, r) {
235
+ const { fragment: n, after_update: i } = e.$$;
236
+ n && n.m(t, r), $e(() => {
237
+ const o = e.$$.on_mount.map(Ft).filter(rt);
238
238
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
239
239
  }), i.forEach($e);
240
240
  }
241
- function or(e, t) {
242
- const n = e.$$;
243
- n.fragment !== null && (tr(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
241
+ function on(e, t) {
242
+ const r = e.$$;
243
+ r.fragment !== null && (en(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
244
244
  }
245
- function ar(e, t) {
245
+ function an(e, t) {
246
246
  e.$$.dirty[0] === -1 && (q.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
247
247
  }
248
- function sr(e, t, n, r, i, o, a = null, s = [-1]) {
249
- const h = rt;
248
+ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
249
+ const h = nt;
250
250
  he(e);
251
251
  const l = e.$$ = {
252
252
  fragment: null,
@@ -271,16 +271,16 @@ function sr(e, t, n, r, i, o, a = null, s = [-1]) {
271
271
  };
272
272
  a && a(l.root);
273
273
  let u = !1;
274
- if (l.ctx = n ? n(e, t.props || {}, (f, c, ...d) => {
275
- const m = d.length ? d[0] : c;
276
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && ar(e, f)), c;
277
- }) : [], l.update(), u = !0, X(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
274
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
275
+ const d = m.length ? m[0] : c;
276
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && an(e, f)), c;
277
+ }) : [], l.update(), u = !0, X(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
278
278
  if (t.hydrate) {
279
- const f = Yn(t.target);
279
+ const f = Qr(t.target);
280
280
  l.fragment && l.fragment.l(f), f.forEach(R);
281
281
  } else
282
282
  l.fragment && l.fragment.c();
283
- t.intro && ce(e.$$.fragment), ir(e, t.target, t.anchor), C();
283
+ t.intro && ce(e.$$.fragment), nn(e, t.target, t.anchor), C();
284
284
  }
285
285
  he(h);
286
286
  }
@@ -304,20 +304,20 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
304
304
  $$l = {};
305
305
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
306
306
  $$l_u = /* @__PURE__ */ new Map();
307
- constructor(e, t, n) {
308
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
307
+ constructor(e, t, r) {
308
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
309
309
  }
310
- addEventListener(e, t, n) {
310
+ addEventListener(e, t, r) {
311
311
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
312
- const r = this.$$c.$on(e, t);
313
- this.$$l_u.set(t, r);
312
+ const n = this.$$c.$on(e, t);
313
+ this.$$l_u.set(t, n);
314
314
  }
315
- super.addEventListener(e, t, n);
315
+ super.addEventListener(e, t, r);
316
316
  }
317
- removeEventListener(e, t, n) {
318
- if (super.removeEventListener(e, t, n), this.$$c) {
319
- const r = this.$$l_u.get(t);
320
- r && (r(), this.$$l_u.delete(t));
317
+ removeEventListener(e, t, r) {
318
+ if (super.removeEventListener(e, t, r), this.$$c) {
319
+ const n = this.$$l_u.get(t);
320
+ n && (n(), this.$$l_u.delete(t));
321
321
  }
322
322
  }
323
323
  async connectedCallback() {
@@ -344,12 +344,12 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
344
344
  };
345
345
  if (await Promise.resolve(), !this.$$cn || this.$$c)
346
346
  return;
347
- const t = {}, n = qn(this);
347
+ const t = {}, r = Yr(this);
348
348
  for (const i of this.$$s)
349
- i in n && (t[i] = [e(i)]);
349
+ i in r && (t[i] = [e(i)]);
350
350
  for (const i of this.attributes) {
351
351
  const o = this.$$g_p(i.name);
352
- o in this.$$d || (this.$$d[o] = _e(o, i.value, this.$$p_d, "toProp"));
352
+ o in this.$$d || (this.$$d[o] = ve(o, i.value, this.$$p_d, "toProp"));
353
353
  }
354
354
  for (const i in this.$$p_d)
355
355
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -363,11 +363,11 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
363
363
  }
364
364
  }
365
365
  });
366
- const r = () => {
366
+ const n = () => {
367
367
  this.$$r = !0;
368
368
  for (const i in this.$$p_d)
369
369
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
370
- const o = _e(
370
+ const o = ve(
371
371
  i,
372
372
  this.$$d[i],
373
373
  this.$$p_d,
@@ -377,7 +377,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
377
377
  }
378
378
  this.$$r = !1;
379
379
  };
380
- this.$$c.$$.after_update.push(r), r();
380
+ this.$$c.$$.after_update.push(n), n();
381
381
  for (const i in this.$$l)
382
382
  for (const o of this.$$l[i]) {
383
383
  const a = this.$$c.$on(i, o);
@@ -388,8 +388,8 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
388
388
  }
389
389
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
390
390
  // and setting attributes through setAttribute etc, this is helpful
391
- attributeChangedCallback(e, t, n) {
392
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
391
+ attributeChangedCallback(e, t, r) {
392
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
393
393
  }
394
394
  disconnectedCallback() {
395
395
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -402,11 +402,11 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
402
402
  ) || e;
403
403
  }
404
404
  });
405
- function _e(e, t, n, r) {
406
- const i = n[e]?.type;
407
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
405
+ function ve(e, t, r, n) {
406
+ const i = r[e]?.type;
407
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
408
408
  return t;
409
- if (r === "toAttribute")
409
+ if (n === "toAttribute")
410
410
  switch (i) {
411
411
  case "Object":
412
412
  case "Array":
@@ -431,10 +431,10 @@ function _e(e, t, n, r) {
431
431
  return t;
432
432
  }
433
433
  }
434
- function ur(e, t, n, r, i, o) {
434
+ function un(e, t, r, n, i, o) {
435
435
  let a = class extends Xt {
436
436
  constructor() {
437
- super(e, n, i), this.$$p_d = t;
437
+ super(e, r, i), this.$$p_d = t;
438
438
  }
439
439
  static get observedAttributes() {
440
440
  return Object.keys(t).map(
@@ -448,10 +448,10 @@ function ur(e, t, n, r, i, o) {
448
448
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
449
449
  },
450
450
  set(h) {
451
- h = _e(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
451
+ h = ve(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
452
452
  }
453
453
  });
454
- }), r.forEach((s) => {
454
+ }), n.forEach((s) => {
455
455
  Object.defineProperty(a.prototype, s, {
456
456
  get() {
457
457
  return this.$$c?.[s];
@@ -460,7 +460,7 @@ function ur(e, t, n, r, i, o) {
460
460
  }), e.element = /** @type {any} */
461
461
  a, a;
462
462
  }
463
- class lr {
463
+ class ln {
464
464
  /**
465
465
  * ### PRIVATE API
466
466
  *
@@ -479,7 +479,7 @@ class lr {
479
479
  $$set = void 0;
480
480
  /** @returns {void} */
481
481
  $destroy() {
482
- or(this, 1), this.$destroy = M;
482
+ on(this, 1), this.$destroy = M;
483
483
  }
484
484
  /**
485
485
  * @template {Extract<keyof Events, string>} K
@@ -487,13 +487,13 @@ class lr {
487
487
  * @param {((e: Events[K]) => void) | null | undefined} callback
488
488
  * @returns {() => void}
489
489
  */
490
- $on(t, n) {
491
- if (!nt(n))
490
+ $on(t, r) {
491
+ if (!rt(r))
492
492
  return M;
493
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
- return r.push(n), () => {
495
- const i = r.indexOf(n);
496
- i !== -1 && r.splice(i, 1);
493
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
+ return n.push(r), () => {
495
+ const i = n.indexOf(r);
496
+ i !== -1 && n.splice(i, 1);
497
497
  };
498
498
  }
499
499
  /**
@@ -501,98 +501,98 @@ class lr {
501
501
  * @returns {void}
502
502
  */
503
503
  $set(t) {
504
- this.$$set && !$n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
504
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
505
  }
506
506
  }
507
- const hr = "4";
508
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hr);
507
+ const hn = "4";
508
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hn);
509
509
  var ke = function(e, t) {
510
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
511
- n.__proto__ = r;
512
- } || function(n, r) {
513
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
510
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
511
+ r.__proto__ = n;
512
+ } || function(r, n) {
513
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
514
514
  }, ke(e, t);
515
515
  };
516
516
  function D(e, t) {
517
517
  if (typeof t != "function" && t !== null)
518
518
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
519
519
  ke(e, t);
520
- function n() {
520
+ function r() {
521
521
  this.constructor = e;
522
522
  }
523
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
523
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
524
524
  }
525
- var v = function() {
526
- return v = Object.assign || function(t) {
527
- for (var n, r = 1, i = arguments.length; r < i; r++) {
528
- n = arguments[r];
529
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
525
+ var _ = function() {
526
+ return _ = Object.assign || function(t) {
527
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
528
+ r = arguments[n];
529
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
530
530
  }
531
531
  return t;
532
- }, v.apply(this, arguments);
532
+ }, _.apply(this, arguments);
533
533
  };
534
- function cr(e, t) {
535
- var n = {};
536
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
534
+ function cn(e, t) {
535
+ var r = {};
536
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
537
537
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
538
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
539
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
540
- return n;
538
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
539
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
540
+ return r;
541
541
  }
542
542
  function Ve(e) {
543
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
544
- if (n) return n.call(e);
543
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
544
+ if (r) return r.call(e);
545
545
  if (e && typeof e.length == "number") return {
546
546
  next: function() {
547
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
547
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
548
548
  }
549
549
  };
550
550
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
551
551
  }
552
552
  function We(e, t) {
553
- var n = typeof Symbol == "function" && e[Symbol.iterator];
554
- if (!n) return e;
555
- var r = n.call(e), i, o = [], a;
553
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
554
+ if (!r) return e;
555
+ var n = r.call(e), i, o = [], a;
556
556
  try {
557
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
557
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
558
558
  } catch (s) {
559
559
  a = { error: s };
560
560
  } finally {
561
561
  try {
562
- i && !i.done && (n = r.return) && n.call(r);
562
+ i && !i.done && (r = n.return) && r.call(n);
563
563
  } finally {
564
564
  if (a) throw a.error;
565
565
  }
566
566
  }
567
567
  return o;
568
568
  }
569
- function ee(e, t, n) {
570
- if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
571
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
569
+ function ee(e, t, r) {
570
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
571
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
572
572
  return e.concat(o || Array.prototype.slice.call(t));
573
573
  }
574
574
  function U(e) {
575
575
  return typeof e == "function";
576
576
  }
577
577
  function zt(e) {
578
- var t = function(r) {
579
- Error.call(r), r.stack = new Error().stack;
580
- }, n = e(t);
581
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
578
+ var t = function(n) {
579
+ Error.call(n), n.stack = new Error().stack;
580
+ }, r = e(t);
581
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
582
582
  }
583
583
  var Ce = zt(function(e) {
584
- return function(n) {
585
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
586
- ` + n.map(function(r, i) {
587
- return i + 1 + ") " + r.toString();
584
+ return function(r) {
585
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
586
+ ` + r.map(function(n, i) {
587
+ return i + 1 + ") " + n.toString();
588
588
  }).join(`
589
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
589
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
590
590
  };
591
591
  });
592
592
  function Xe(e, t) {
593
593
  if (e) {
594
- var n = e.indexOf(t);
595
- 0 <= n && e.splice(n, 1);
594
+ var r = e.indexOf(t);
595
+ 0 <= r && e.splice(r, 1);
596
596
  }
597
597
  }
598
598
  var Be = function() {
@@ -600,7 +600,7 @@ var Be = function() {
600
600
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
601
601
  }
602
602
  return e.prototype.unsubscribe = function() {
603
- var t, n, r, i, o;
603
+ var t, r, n, i, o;
604
604
  if (!this.closed) {
605
605
  this.closed = !0;
606
606
  var a = this._parentage;
@@ -615,7 +615,7 @@ var Be = function() {
615
615
  t = { error: b };
616
616
  } finally {
617
617
  try {
618
- h && !h.done && (n = s.return) && n.call(s);
618
+ h && !h.done && (r = s.return) && r.call(s);
619
619
  } finally {
620
620
  if (t) throw t.error;
621
621
  }
@@ -633,21 +633,21 @@ var Be = function() {
633
633
  if (f) {
634
634
  this._finalizers = null;
635
635
  try {
636
- for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
637
- var m = d.value;
636
+ for (var c = Ve(f), m = c.next(); !m.done; m = c.next()) {
637
+ var d = m.value;
638
638
  try {
639
- mt(m);
639
+ dt(d);
640
640
  } catch (b) {
641
641
  o = o ?? [], b instanceof Ce ? o = ee(ee([], We(o)), We(b.errors)) : o.push(b);
642
642
  }
643
643
  }
644
644
  } catch (b) {
645
- r = { error: b };
645
+ n = { error: b };
646
646
  } finally {
647
647
  try {
648
- d && !d.done && (i = c.return) && i.call(c);
648
+ m && !m.done && (i = c.return) && i.call(c);
649
649
  } finally {
650
- if (r) throw r.error;
650
+ if (n) throw n.error;
651
651
  }
652
652
  }
653
653
  }
@@ -655,30 +655,30 @@ var Be = function() {
655
655
  throw new Ce(o);
656
656
  }
657
657
  }, e.prototype.add = function(t) {
658
- var n;
658
+ var r;
659
659
  if (t && t !== this)
660
660
  if (this.closed)
661
- mt(t);
661
+ dt(t);
662
662
  else {
663
663
  if (t instanceof e) {
664
664
  if (t.closed || t._hasParent(this))
665
665
  return;
666
666
  t._addParent(this);
667
667
  }
668
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
668
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
669
669
  }
670
670
  }, e.prototype._hasParent = function(t) {
671
- var n = this._parentage;
672
- return n === t || Array.isArray(n) && n.includes(t);
671
+ var r = this._parentage;
672
+ return r === t || Array.isArray(r) && r.includes(t);
673
673
  }, e.prototype._addParent = function(t) {
674
- var n = this._parentage;
675
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
674
+ var r = this._parentage;
675
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
676
676
  }, e.prototype._removeParent = function(t) {
677
- var n = this._parentage;
678
- n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
677
+ var r = this._parentage;
678
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
679
679
  }, e.prototype.remove = function(t) {
680
- var n = this._finalizers;
681
- n && Xe(n, t), t instanceof e && t._removeParent(this);
680
+ var r = this._finalizers;
681
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
682
682
  }, e.EMPTY = function() {
683
683
  var t = new e();
684
684
  return t.closed = !0, t;
@@ -687,53 +687,53 @@ var Be = function() {
687
687
  function Zt(e) {
688
688
  return e instanceof Be || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
689
689
  }
690
- function mt(e) {
690
+ function dt(e) {
691
691
  U(e) ? e() : e.unsubscribe();
692
692
  }
693
- var fr = {
693
+ var fn = {
694
694
  Promise: void 0
695
- }, dr = {
695
+ }, mn = {
696
696
  setTimeout: function(e, t) {
697
- for (var n = [], r = 2; r < arguments.length; r++)
698
- n[r - 2] = arguments[r];
699
- return setTimeout.apply(void 0, ee([e, t], We(n)));
697
+ for (var r = [], n = 2; n < arguments.length; n++)
698
+ r[n - 2] = arguments[n];
699
+ return setTimeout.apply(void 0, ee([e, t], We(r)));
700
700
  },
701
701
  clearTimeout: function(e) {
702
702
  return clearTimeout(e);
703
703
  },
704
704
  delegate: void 0
705
705
  };
706
- function mr(e) {
707
- dr.setTimeout(function() {
706
+ function dn(e) {
707
+ mn.setTimeout(function() {
708
708
  throw e;
709
709
  });
710
710
  }
711
711
  function pt() {
712
712
  }
713
- function ve(e) {
713
+ function _e(e) {
714
714
  e();
715
715
  }
716
716
  var Qt = function(e) {
717
717
  D(t, e);
718
- function t(n) {
719
- var r = e.call(this) || this;
720
- return r.isStopped = !1, n ? (r.destination = n, Zt(n) && n.add(r)) : r.destination = gr, r;
718
+ function t(r) {
719
+ var n = e.call(this) || this;
720
+ return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = gn, n;
721
721
  }
722
- return t.create = function(n, r, i) {
723
- return new ze(n, r, i);
724
- }, t.prototype.next = function(n) {
725
- this.isStopped || this._next(n);
726
- }, t.prototype.error = function(n) {
727
- this.isStopped || (this.isStopped = !0, this._error(n));
722
+ return t.create = function(r, n, i) {
723
+ return new ze(r, n, i);
724
+ }, t.prototype.next = function(r) {
725
+ this.isStopped || this._next(r);
726
+ }, t.prototype.error = function(r) {
727
+ this.isStopped || (this.isStopped = !0, this._error(r));
728
728
  }, t.prototype.complete = function() {
729
729
  this.isStopped || (this.isStopped = !0, this._complete());
730
730
  }, t.prototype.unsubscribe = function() {
731
731
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
732
- }, t.prototype._next = function(n) {
733
- this.destination.next(n);
734
- }, t.prototype._error = function(n) {
732
+ }, t.prototype._next = function(r) {
733
+ this.destination.next(r);
734
+ }, t.prototype._error = function(r) {
735
735
  try {
736
- this.destination.error(n);
736
+ this.destination.error(r);
737
737
  } finally {
738
738
  this.unsubscribe();
739
739
  }
@@ -744,25 +744,25 @@ var Qt = function(e) {
744
744
  this.unsubscribe();
745
745
  }
746
746
  }, t;
747
- }(Be), pr = function() {
747
+ }(Be), pn = function() {
748
748
  function e(t) {
749
749
  this.partialObserver = t;
750
750
  }
751
751
  return e.prototype.next = function(t) {
752
- var n = this.partialObserver;
753
- if (n.next)
752
+ var r = this.partialObserver;
753
+ if (r.next)
754
754
  try {
755
- n.next(t);
756
- } catch (r) {
757
- be(r);
755
+ r.next(t);
756
+ } catch (n) {
757
+ be(n);
758
758
  }
759
759
  }, e.prototype.error = function(t) {
760
- var n = this.partialObserver;
761
- if (n.error)
760
+ var r = this.partialObserver;
761
+ if (r.error)
762
762
  try {
763
- n.error(t);
764
- } catch (r) {
765
- be(r);
763
+ r.error(t);
764
+ } catch (n) {
765
+ be(n);
766
766
  }
767
767
  else
768
768
  be(t);
@@ -771,44 +771,44 @@ var Qt = function(e) {
771
771
  if (t.complete)
772
772
  try {
773
773
  t.complete();
774
- } catch (n) {
775
- be(n);
774
+ } catch (r) {
775
+ be(r);
776
776
  }
777
777
  }, e;
778
778
  }(), ze = function(e) {
779
779
  D(t, e);
780
- function t(n, r, i) {
780
+ function t(r, n, i) {
781
781
  var o = e.call(this) || this, a;
782
- return U(n) || !n ? a = {
783
- next: n ?? void 0,
784
- error: r ?? void 0,
782
+ return U(r) || !r ? a = {
783
+ next: r ?? void 0,
784
+ error: n ?? void 0,
785
785
  complete: i ?? void 0
786
- } : a = n, o.destination = new pr(a), o;
786
+ } : a = r, o.destination = new pn(a), o;
787
787
  }
788
788
  return t;
789
789
  }(Qt);
790
790
  function be(e) {
791
- mr(e);
791
+ dn(e);
792
792
  }
793
- function br(e) {
793
+ function bn(e) {
794
794
  throw e;
795
795
  }
796
- var gr = {
796
+ var gn = {
797
797
  closed: !0,
798
798
  next: pt,
799
- error: br,
799
+ error: bn,
800
800
  complete: pt
801
- }, yr = function() {
801
+ }, yn = function() {
802
802
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
803
803
  }();
804
- function _r(e) {
804
+ function vn(e) {
805
805
  return e;
806
806
  }
807
- function vr(e) {
808
- return e.length === 0 ? _r : e.length === 1 ? e[0] : function(n) {
809
- return e.reduce(function(r, i) {
810
- return i(r);
811
- }, n);
807
+ function _n(e) {
808
+ return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
809
+ return e.reduce(function(n, i) {
810
+ return i(n);
811
+ }, r);
812
812
  };
813
813
  }
814
814
  var bt = function() {
@@ -816,23 +816,23 @@ var bt = function() {
816
816
  t && (this._subscribe = t);
817
817
  }
818
818
  return e.prototype.lift = function(t) {
819
- var n = new e();
820
- return n.source = this, n.operator = t, n;
821
- }, e.prototype.subscribe = function(t, n, r) {
822
- var i = this, o = Er(t) ? t : new ze(t, n, r);
823
- return ve(function() {
819
+ var r = new e();
820
+ return r.source = this, r.operator = t, r;
821
+ }, e.prototype.subscribe = function(t, r, n) {
822
+ var i = this, o = En(t) ? t : new ze(t, r, n);
823
+ return _e(function() {
824
824
  var a = i, s = a.operator, h = a.source;
825
825
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
826
826
  }), o;
827
827
  }, e.prototype._trySubscribe = function(t) {
828
828
  try {
829
829
  return this._subscribe(t);
830
- } catch (n) {
831
- t.error(n);
830
+ } catch (r) {
831
+ t.error(r);
832
832
  }
833
- }, e.prototype.forEach = function(t, n) {
834
- var r = this;
835
- return n = gt(n), new n(function(i, o) {
833
+ }, e.prototype.forEach = function(t, r) {
834
+ var n = this;
835
+ return r = gt(r), new r(function(i, o) {
836
836
  var a = new ze({
837
837
  next: function(s) {
838
838
  try {
@@ -844,27 +844,27 @@ var bt = function() {
844
844
  error: o,
845
845
  complete: i
846
846
  });
847
- r.subscribe(a);
847
+ n.subscribe(a);
848
848
  });
849
849
  }, e.prototype._subscribe = function(t) {
850
- var n;
851
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
852
- }, e.prototype[yr] = function() {
850
+ var r;
851
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
852
+ }, e.prototype[yn] = function() {
853
853
  return this;
854
854
  }, e.prototype.pipe = function() {
855
- for (var t = [], n = 0; n < arguments.length; n++)
856
- t[n] = arguments[n];
857
- return vr(t)(this);
855
+ for (var t = [], r = 0; r < arguments.length; r++)
856
+ t[r] = arguments[r];
857
+ return _n(t)(this);
858
858
  }, e.prototype.toPromise = function(t) {
859
- var n = this;
860
- return t = gt(t), new t(function(r, i) {
859
+ var r = this;
860
+ return t = gt(t), new t(function(n, i) {
861
861
  var o;
862
- n.subscribe(function(a) {
862
+ r.subscribe(function(a) {
863
863
  return o = a;
864
864
  }, function(a) {
865
865
  return i(a);
866
866
  }, function() {
867
- return r(o);
867
+ return n(o);
868
868
  });
869
869
  });
870
870
  }, e.create = function(t) {
@@ -873,40 +873,40 @@ var bt = function() {
873
873
  }();
874
874
  function gt(e) {
875
875
  var t;
876
- return (t = e ?? fr.Promise) !== null && t !== void 0 ? t : Promise;
876
+ return (t = e ?? fn.Promise) !== null && t !== void 0 ? t : Promise;
877
877
  }
878
- function xr(e) {
878
+ function xn(e) {
879
879
  return e && U(e.next) && U(e.error) && U(e.complete);
880
880
  }
881
- function Er(e) {
882
- return e && e instanceof Qt || xr(e) && Zt(e);
881
+ function En(e) {
882
+ return e && e instanceof Qt || xn(e) && Zt(e);
883
883
  }
884
- var wr = zt(function(e) {
884
+ var wn = zt(function(e) {
885
885
  return function() {
886
886
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
887
887
  };
888
888
  }), Yt = function(e) {
889
889
  D(t, e);
890
890
  function t() {
891
- var n = e.call(this) || this;
892
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
891
+ var r = e.call(this) || this;
892
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
893
893
  }
894
- return t.prototype.lift = function(n) {
895
- var r = new yt(this, this);
896
- return r.operator = n, r;
894
+ return t.prototype.lift = function(r) {
895
+ var n = new yt(this, this);
896
+ return n.operator = r, n;
897
897
  }, t.prototype._throwIfClosed = function() {
898
898
  if (this.closed)
899
- throw new wr();
900
- }, t.prototype.next = function(n) {
901
- var r = this;
902
- ve(function() {
899
+ throw new wn();
900
+ }, t.prototype.next = function(r) {
901
+ var n = this;
902
+ _e(function() {
903
903
  var i, o;
904
- if (r._throwIfClosed(), !r.isStopped) {
905
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
904
+ if (n._throwIfClosed(), !n.isStopped) {
905
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
906
906
  try {
907
- for (var a = Ve(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
907
+ for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
908
908
  var h = s.value;
909
- h.next(n);
909
+ h.next(r);
910
910
  }
911
911
  } catch (l) {
912
912
  i = { error: l };
@@ -919,118 +919,118 @@ var wr = zt(function(e) {
919
919
  }
920
920
  }
921
921
  });
922
- }, t.prototype.error = function(n) {
923
- var r = this;
924
- ve(function() {
925
- if (r._throwIfClosed(), !r.isStopped) {
926
- r.hasError = r.isStopped = !0, r.thrownError = n;
927
- for (var i = r.observers; i.length; )
928
- i.shift().error(n);
922
+ }, t.prototype.error = function(r) {
923
+ var n = this;
924
+ _e(function() {
925
+ if (n._throwIfClosed(), !n.isStopped) {
926
+ n.hasError = n.isStopped = !0, n.thrownError = r;
927
+ for (var i = n.observers; i.length; )
928
+ i.shift().error(r);
929
929
  }
930
930
  });
931
931
  }, t.prototype.complete = function() {
932
- var n = this;
933
- ve(function() {
934
- if (n._throwIfClosed(), !n.isStopped) {
935
- n.isStopped = !0;
936
- for (var r = n.observers; r.length; )
937
- r.shift().complete();
932
+ var r = this;
933
+ _e(function() {
934
+ if (r._throwIfClosed(), !r.isStopped) {
935
+ r.isStopped = !0;
936
+ for (var n = r.observers; n.length; )
937
+ n.shift().complete();
938
938
  }
939
939
  });
940
940
  }, t.prototype.unsubscribe = function() {
941
941
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
942
942
  }, Object.defineProperty(t.prototype, "observed", {
943
943
  get: function() {
944
- var n;
945
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
944
+ var r;
945
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
946
946
  },
947
947
  enumerable: !1,
948
948
  configurable: !0
949
- }), t.prototype._trySubscribe = function(n) {
950
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
951
- }, t.prototype._subscribe = function(n) {
952
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
953
- }, t.prototype._innerSubscribe = function(n) {
954
- var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
955
- return o || a ? Jt : (this.currentObservers = null, s.push(n), new Be(function() {
956
- r.currentObservers = null, Xe(s, n);
949
+ }), t.prototype._trySubscribe = function(r) {
950
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
951
+ }, t.prototype._subscribe = function(r) {
952
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
953
+ }, t.prototype._innerSubscribe = function(r) {
954
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
955
+ return o || a ? Jt : (this.currentObservers = null, s.push(r), new Be(function() {
956
+ n.currentObservers = null, Xe(s, r);
957
957
  }));
958
- }, t.prototype._checkFinalizedStatuses = function(n) {
959
- var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
960
- i ? n.error(o) : a && n.complete();
958
+ }, t.prototype._checkFinalizedStatuses = function(r) {
959
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
960
+ i ? r.error(o) : a && r.complete();
961
961
  }, t.prototype.asObservable = function() {
962
- var n = new bt();
963
- return n.source = this, n;
964
- }, t.create = function(n, r) {
965
- return new yt(n, r);
962
+ var r = new bt();
963
+ return r.source = this, r;
964
+ }, t.create = function(r, n) {
965
+ return new yt(r, n);
966
966
  }, t;
967
967
  }(bt), yt = function(e) {
968
968
  D(t, e);
969
- function t(n, r) {
969
+ function t(r, n) {
970
970
  var i = e.call(this) || this;
971
- return i.destination = n, i.source = r, i;
971
+ return i.destination = r, i.source = n, i;
972
972
  }
973
- return t.prototype.next = function(n) {
974
- var r, i;
975
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
976
- }, t.prototype.error = function(n) {
977
- var r, i;
978
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
973
+ return t.prototype.next = function(r) {
974
+ var n, i;
975
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
976
+ }, t.prototype.error = function(r) {
977
+ var n, i;
978
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
979
979
  }, t.prototype.complete = function() {
980
- var n, r;
981
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
982
- }, t.prototype._subscribe = function(n) {
983
- var r, i;
984
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Jt;
980
+ var r, n;
981
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
982
+ }, t.prototype._subscribe = function(r) {
983
+ var n, i;
984
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
985
985
  }, t;
986
986
  }(Yt), qt = {
987
987
  now: function() {
988
988
  return (qt.delegate || Date).now();
989
989
  },
990
990
  delegate: void 0
991
- }, Sr = function(e) {
991
+ }, Sn = function(e) {
992
992
  D(t, e);
993
- function t(n, r, i) {
994
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = qt);
993
+ function t(r, n, i) {
994
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
995
995
  var o = e.call(this) || this;
996
- 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;
996
+ return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
997
997
  }
998
- return t.prototype.next = function(n) {
999
- var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, h = r._windowTime;
1000
- i || (o.push(n), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, n);
1001
- }, t.prototype._subscribe = function(n) {
998
+ return t.prototype.next = function(r) {
999
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
1000
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1001
+ }, t.prototype._subscribe = function(r) {
1002
1002
  this._throwIfClosed(), this._trimBuffer();
1003
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !n.closed; h += o ? 1 : 2)
1004
- n.next(s[h]);
1005
- return this._checkFinalizedStatuses(n), r;
1003
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
1004
+ r.next(s[h]);
1005
+ return this._checkFinalizedStatuses(r), n;
1006
1006
  }, t.prototype._trimBuffer = function() {
1007
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
1008
- if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1007
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1008
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1009
1009
  for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1010
1010
  l = u;
1011
1011
  l && o.splice(0, l + 1);
1012
1012
  }
1013
1013
  }, t;
1014
1014
  }(Yt);
1015
- const _t = [], vt = {}, Tr = (e, t = 0) => {
1016
- if (_t.indexOf(e) == -1) {
1017
- const n = new Sr(t);
1018
- vt[e] = n, _t.push(e);
1015
+ const vt = [], _t = {}, Tn = (e, t = 0) => {
1016
+ if (vt.indexOf(e) == -1) {
1017
+ const r = new Sn(t);
1018
+ _t[e] = r, vt.push(e);
1019
1019
  }
1020
- return vt[e];
1020
+ return _t[e];
1021
1021
  }, Y = [];
1022
- function Hr(e, t) {
1022
+ function Hn(e, t) {
1023
1023
  return {
1024
1024
  subscribe: Ae(e, t).subscribe
1025
1025
  };
1026
1026
  }
1027
1027
  function Ae(e, t = M) {
1028
- let n;
1029
- const r = /* @__PURE__ */ new Set();
1028
+ let r;
1029
+ const n = /* @__PURE__ */ new Set();
1030
1030
  function i(s) {
1031
- if ($t(e, s) && (e = s, n)) {
1031
+ if ($t(e, s) && (e = s, r)) {
1032
1032
  const h = !Y.length;
1033
- for (const l of r)
1033
+ for (const l of n)
1034
1034
  l[1](), Y.push(l, e);
1035
1035
  if (h) {
1036
1036
  for (let l = 0; l < Y.length; l += 2)
@@ -1044,18 +1044,18 @@ function Ae(e, t = M) {
1044
1044
  }
1045
1045
  function a(s, h = M) {
1046
1046
  const l = [s, h];
1047
- return r.add(l), r.size === 1 && (n = t(i, o) || M), s(e), () => {
1048
- r.delete(l), r.size === 0 && n && (n(), n = null);
1047
+ return n.add(l), n.size === 1 && (r = t(i, o) || M), s(e), () => {
1048
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1049
1049
  };
1050
1050
  }
1051
1051
  return { set: i, update: o, subscribe: a };
1052
1052
  }
1053
- function oe(e, t, n) {
1054
- const r = !Array.isArray(e), i = r ? [e] : e;
1053
+ function oe(e, t, r) {
1054
+ const n = !Array.isArray(e), i = n ? [e] : e;
1055
1055
  if (!i.every(Boolean))
1056
1056
  throw new Error("derived() expects stores as input, got a falsy value");
1057
1057
  const o = t.length < 2;
1058
- return Hr(n, (a, s) => {
1058
+ return Hn(r, (a, s) => {
1059
1059
  let h = !1;
1060
1060
  const l = [];
1061
1061
  let u = 0, f = M;
@@ -1063,11 +1063,11 @@ function oe(e, t, n) {
1063
1063
  if (u)
1064
1064
  return;
1065
1065
  f();
1066
- const m = t(r ? l[0] : l, a, s);
1067
- o ? a(m) : f = nt(m) ? m : M;
1068
- }, d = i.map(
1069
- (m, b) => jt(
1070
- m,
1066
+ const d = t(n ? l[0] : l, a, s);
1067
+ o ? a(d) : f = rt(d) ? d : M;
1068
+ }, m = i.map(
1069
+ (d, b) => jt(
1070
+ d,
1071
1071
  (B) => {
1072
1072
  l[b] = B, u &= ~(1 << b), h && c();
1073
1073
  },
@@ -1077,51 +1077,51 @@ function oe(e, t, n) {
1077
1077
  )
1078
1078
  );
1079
1079
  return h = !0, c(), function() {
1080
- X(d), f(), h = !1;
1080
+ X(m), f(), h = !1;
1081
1081
  };
1082
1082
  });
1083
1083
  }
1084
- function Br(e) {
1084
+ function Bn(e) {
1085
1085
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1086
1086
  }
1087
- var Ar = function(t) {
1088
- return Pr(t) && !Rr(t);
1087
+ var An = function(t) {
1088
+ return Pn(t) && !Rn(t);
1089
1089
  };
1090
- function Pr(e) {
1090
+ function Pn(e) {
1091
1091
  return !!e && typeof e == "object";
1092
1092
  }
1093
- function Rr(e) {
1093
+ function Rn(e) {
1094
1094
  var t = Object.prototype.toString.call(e);
1095
- return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
1095
+ return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
1096
1096
  }
1097
- var Or = typeof Symbol == "function" && Symbol.for, Ir = Or ? Symbol.for("react.element") : 60103;
1098
- function Nr(e) {
1099
- return e.$$typeof === Ir;
1097
+ var On = typeof Symbol == "function" && Symbol.for, In = On ? Symbol.for("react.element") : 60103;
1098
+ function Nn(e) {
1099
+ return e.$$typeof === In;
1100
1100
  }
1101
- function Cr(e) {
1101
+ function Cn(e) {
1102
1102
  return Array.isArray(e) ? [] : {};
1103
1103
  }
1104
1104
  function fe(e, t) {
1105
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Cr(e), e, t) : e;
1105
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Cn(e), e, t) : e;
1106
1106
  }
1107
- function Lr(e, t, n) {
1108
- return e.concat(t).map(function(r) {
1109
- return fe(r, n);
1107
+ function Ln(e, t, r) {
1108
+ return e.concat(t).map(function(n) {
1109
+ return fe(n, r);
1110
1110
  });
1111
1111
  }
1112
- function Mr(e, t) {
1112
+ function Mn(e, t) {
1113
1113
  if (!t.customMerge)
1114
1114
  return te;
1115
- var n = t.customMerge(e);
1116
- return typeof n == "function" ? n : te;
1115
+ var r = t.customMerge(e);
1116
+ return typeof r == "function" ? r : te;
1117
1117
  }
1118
- function Gr(e) {
1118
+ function Gn(e) {
1119
1119
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1120
1120
  return Object.propertyIsEnumerable.call(e, t);
1121
1121
  }) : [];
1122
1122
  }
1123
1123
  function xt(e) {
1124
- return Object.keys(e).concat(Gr(e));
1124
+ return Object.keys(e).concat(Gn(e));
1125
1125
  }
1126
1126
  function Kt(e, t) {
1127
1127
  try {
@@ -1130,62 +1130,62 @@ function Kt(e, t) {
1130
1130
  return !1;
1131
1131
  }
1132
1132
  }
1133
- function Ur(e, t) {
1133
+ function Un(e, t) {
1134
1134
  return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
1135
  }
1136
- function Dr(e, t, n) {
1137
- var r = {};
1138
- return n.isMergeableObject(e) && xt(e).forEach(function(i) {
1139
- r[i] = fe(e[i], n);
1136
+ function Dn(e, t, r) {
1137
+ var n = {};
1138
+ return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1139
+ n[i] = fe(e[i], r);
1140
1140
  }), xt(t).forEach(function(i) {
1141
- Ur(e, i) || (Kt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Mr(i, n)(e[i], t[i], n) : r[i] = fe(t[i], n));
1142
- }), r;
1141
+ Un(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1142
+ }), n;
1143
1143
  }
1144
- function te(e, t, n) {
1145
- n = n || {}, n.arrayMerge = n.arrayMerge || Lr, n.isMergeableObject = n.isMergeableObject || Ar, n.cloneUnlessOtherwiseSpecified = fe;
1146
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1147
- return o ? r ? n.arrayMerge(e, t, n) : Dr(e, t, n) : fe(t, n);
1144
+ function te(e, t, r) {
1145
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || An, r.cloneUnlessOtherwiseSpecified = fe;
1146
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1147
+ return o ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : fe(t, r);
1148
1148
  }
1149
- te.all = function(t, n) {
1149
+ te.all = function(t, r) {
1150
1150
  if (!Array.isArray(t))
1151
1151
  throw new Error("first argument should be an array");
1152
- return t.reduce(function(r, i) {
1153
- return te(r, i, n);
1152
+ return t.reduce(function(n, i) {
1153
+ return te(n, i, r);
1154
1154
  }, {});
1155
1155
  };
1156
- var Fr = te, $r = Fr;
1157
- const jr = /* @__PURE__ */ Br($r);
1156
+ var Fn = te, $n = Fn;
1157
+ const jn = /* @__PURE__ */ Bn($n);
1158
1158
  function Le(e, t) {
1159
- var n = t && t.cache ? t.cache : Zr, r = t && t.serializer ? t.serializer : zr, i = t && t.strategy ? t.strategy : Wr;
1159
+ var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Wn;
1160
1160
  return i(e, {
1161
- cache: n,
1162
- serializer: r
1161
+ cache: r,
1162
+ serializer: n
1163
1163
  });
1164
1164
  }
1165
- function kr(e) {
1165
+ function kn(e) {
1166
1166
  return e == null || typeof e == "number" || typeof e == "boolean";
1167
1167
  }
1168
- function Vr(e, t, n, r) {
1169
- var i = kr(r) ? r : n(r), o = t.get(i);
1170
- return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1168
+ function Vn(e, t, r, n) {
1169
+ var i = kn(n) ? n : r(n), o = t.get(i);
1170
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1171
1171
  }
1172
- function en(e, t, n) {
1173
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1174
- return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1172
+ function er(e, t, r) {
1173
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1174
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1175
1175
  }
1176
- function tn(e, t, n, r, i) {
1177
- return n.bind(t, e, r, i);
1176
+ function tr(e, t, r, n, i) {
1177
+ return r.bind(t, e, n, i);
1178
1178
  }
1179
- function Wr(e, t) {
1180
- var n = e.length === 1 ? Vr : en;
1181
- return tn(e, this, n, t.cache.create(), t.serializer);
1179
+ function Wn(e, t) {
1180
+ var r = e.length === 1 ? Vn : er;
1181
+ return tr(e, this, r, t.cache.create(), t.serializer);
1182
1182
  }
1183
- function Xr(e, t) {
1184
- return tn(e, this, en, t.cache.create(), t.serializer);
1183
+ function Xn(e, t) {
1184
+ return tr(e, this, er, t.cache.create(), t.serializer);
1185
1185
  }
1186
- var zr = function() {
1186
+ var zn = function() {
1187
1187
  return JSON.stringify(arguments);
1188
- }, Jr = (
1188
+ }, Jn = (
1189
1189
  /** @class */
1190
1190
  function() {
1191
1191
  function e() {
@@ -1193,16 +1193,16 @@ var zr = function() {
1193
1193
  }
1194
1194
  return e.prototype.get = function(t) {
1195
1195
  return this.cache[t];
1196
- }, e.prototype.set = function(t, n) {
1197
- this.cache[t] = n;
1196
+ }, e.prototype.set = function(t, r) {
1197
+ this.cache[t] = r;
1198
1198
  }, e;
1199
1199
  }()
1200
- ), Zr = {
1200
+ ), Zn = {
1201
1201
  create: function() {
1202
- return new Jr();
1202
+ return new Jn();
1203
1203
  }
1204
1204
  }, Me = {
1205
- variadic: Xr
1205
+ variadic: Xn
1206
1206
  }, y;
1207
1207
  (function(e) {
1208
1208
  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";
@@ -1211,54 +1211,54 @@ var w;
1211
1211
  (function(e) {
1212
1212
  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";
1213
1213
  })(w || (w = {}));
1214
- var ne;
1214
+ var re;
1215
1215
  (function(e) {
1216
1216
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1217
- })(ne || (ne = {}));
1217
+ })(re || (re = {}));
1218
1218
  function Et(e) {
1219
1219
  return e.type === w.literal;
1220
1220
  }
1221
- function Qr(e) {
1221
+ function Qn(e) {
1222
1222
  return e.type === w.argument;
1223
1223
  }
1224
- function nn(e) {
1224
+ function rr(e) {
1225
1225
  return e.type === w.number;
1226
1226
  }
1227
- function rn(e) {
1227
+ function nr(e) {
1228
1228
  return e.type === w.date;
1229
1229
  }
1230
- function on(e) {
1230
+ function ir(e) {
1231
1231
  return e.type === w.time;
1232
1232
  }
1233
- function an(e) {
1233
+ function or(e) {
1234
1234
  return e.type === w.select;
1235
1235
  }
1236
- function sn(e) {
1236
+ function ar(e) {
1237
1237
  return e.type === w.plural;
1238
1238
  }
1239
- function Yr(e) {
1239
+ function Yn(e) {
1240
1240
  return e.type === w.pound;
1241
1241
  }
1242
- function un(e) {
1242
+ function sr(e) {
1243
1243
  return e.type === w.tag;
1244
1244
  }
1245
- function ln(e) {
1246
- return !!(e && typeof e == "object" && e.type === ne.number);
1245
+ function ur(e) {
1246
+ return !!(e && typeof e == "object" && e.type === re.number);
1247
1247
  }
1248
1248
  function Je(e) {
1249
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1249
+ return !!(e && typeof e == "object" && e.type === re.dateTime);
1250
1250
  }
1251
- var hn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[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;
1252
- function Kr(e) {
1251
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[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;
1252
+ function Kn(e) {
1253
1253
  var t = {};
1254
- return e.replace(qr, function(n) {
1255
- var r = n.length;
1256
- switch (n[0]) {
1254
+ return e.replace(qn, function(r) {
1255
+ var n = r.length;
1256
+ switch (r[0]) {
1257
1257
  case "G":
1258
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1258
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1259
1259
  break;
1260
1260
  case "y":
1261
- t.year = r === 2 ? "2-digit" : "numeric";
1261
+ t.year = n === 2 ? "2-digit" : "numeric";
1262
1262
  break;
1263
1263
  case "Y":
1264
1264
  case "u":
@@ -1270,30 +1270,30 @@ function Kr(e) {
1270
1270
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1271
1271
  case "M":
1272
1272
  case "L":
1273
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1273
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1274
1274
  break;
1275
1275
  case "w":
1276
1276
  case "W":
1277
1277
  throw new RangeError("`w/W` (week) patterns are not supported");
1278
1278
  case "d":
1279
- t.day = ["numeric", "2-digit"][r - 1];
1279
+ t.day = ["numeric", "2-digit"][n - 1];
1280
1280
  break;
1281
1281
  case "D":
1282
1282
  case "F":
1283
1283
  case "g":
1284
1284
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1285
1285
  case "E":
1286
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1286
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1287
1287
  break;
1288
1288
  case "e":
1289
- if (r < 4)
1289
+ if (n < 4)
1290
1290
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1291
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1291
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1292
1292
  break;
1293
1293
  case "c":
1294
- if (r < 4)
1294
+ if (n < 4)
1295
1295
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1296
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1296
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1297
1297
  break;
1298
1298
  case "a":
1299
1299
  t.hour12 = !0;
@@ -1302,32 +1302,32 @@ function Kr(e) {
1302
1302
  case "B":
1303
1303
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1304
1304
  case "h":
1305
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1305
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1306
1306
  break;
1307
1307
  case "H":
1308
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1308
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1309
1309
  break;
1310
1310
  case "K":
1311
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1311
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1312
1312
  break;
1313
1313
  case "k":
1314
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1314
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1315
1315
  break;
1316
1316
  case "j":
1317
1317
  case "J":
1318
1318
  case "C":
1319
1319
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1320
1320
  case "m":
1321
- t.minute = ["numeric", "2-digit"][r - 1];
1321
+ t.minute = ["numeric", "2-digit"][n - 1];
1322
1322
  break;
1323
1323
  case "s":
1324
- t.second = ["numeric", "2-digit"][r - 1];
1324
+ t.second = ["numeric", "2-digit"][n - 1];
1325
1325
  break;
1326
1326
  case "S":
1327
1327
  case "A":
1328
1328
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1329
1329
  case "z":
1330
- t.timeZoneName = r < 4 ? "short" : "long";
1330
+ t.timeZoneName = n < 4 ? "short" : "long";
1331
1331
  break;
1332
1332
  case "Z":
1333
1333
  case "O":
@@ -1346,8 +1346,8 @@ function ti(e) {
1346
1346
  throw new Error("Number skeleton cannot be empty");
1347
1347
  for (var t = e.split(ei).filter(function(c) {
1348
1348
  return c.length > 0;
1349
- }), n = [], r = 0, i = t; r < i.length; r++) {
1350
- var o = i[r], a = o.split("/");
1349
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1350
+ var o = i[n], a = o.split("/");
1351
1351
  if (a.length === 0)
1352
1352
  throw new Error("Invalid number skeleton");
1353
1353
  for (var s = a[0], h = a.slice(1), l = 0, u = h; l < u.length; l++) {
@@ -1355,21 +1355,21 @@ function ti(e) {
1355
1355
  if (f.length === 0)
1356
1356
  throw new Error("Invalid number skeleton");
1357
1357
  }
1358
- n.push({ stem: s, options: h });
1358
+ r.push({ stem: s, options: h });
1359
1359
  }
1360
- return n;
1360
+ return r;
1361
1361
  }
1362
- function ni(e) {
1362
+ function ri(e) {
1363
1363
  return e.replace(/^(.*?)-/, "");
1364
1364
  }
1365
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cn = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, fn = /^(0+)$/;
1365
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1366
1366
  function St(e) {
1367
1367
  var t = {};
1368
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cn, function(n, r, i) {
1369
- 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)), "";
1368
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
1369
+ return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1370
1370
  }), t;
1371
1371
  }
1372
- function dn(e) {
1372
+ function fr(e) {
1373
1373
  switch (e) {
1374
1374
  case "sign-auto":
1375
1375
  return {
@@ -1416,20 +1416,20 @@ function ii(e) {
1416
1416
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1417
1417
  notation: "scientific"
1418
1418
  }, e = e.slice(1)), t) {
1419
- var n = e.slice(0, 2);
1420
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fn.test(e))
1419
+ var r = e.slice(0, 2);
1420
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1421
1421
  throw new Error("Malformed concise eng/scientific notation");
1422
1422
  t.minimumIntegerDigits = e.length;
1423
1423
  }
1424
1424
  return t;
1425
1425
  }
1426
1426
  function Tt(e) {
1427
- var t = {}, n = dn(e);
1428
- return n || t;
1427
+ var t = {}, r = fr(e);
1428
+ return r || t;
1429
1429
  }
1430
1430
  function oi(e) {
1431
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1432
- var i = r[n];
1431
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1432
+ var i = n[r];
1433
1433
  switch (i.stem) {
1434
1434
  case "percent":
1435
1435
  case "%":
@@ -1451,7 +1451,7 @@ function oi(e) {
1451
1451
  continue;
1452
1452
  case "measure-unit":
1453
1453
  case "unit":
1454
- t.style = "unit", t.unit = ni(i.options[0]);
1454
+ t.style = "unit", t.unit = ri(i.options[0]);
1455
1455
  continue;
1456
1456
  case "compact-short":
1457
1457
  case "K":
@@ -1462,13 +1462,13 @@ function oi(e) {
1462
1462
  t.notation = "compact", t.compactDisplay = "long";
1463
1463
  continue;
1464
1464
  case "scientific":
1465
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1466
- return v(v({}, h), Tt(l));
1465
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1466
+ return _(_({}, h), Tt(l));
1467
1467
  }, {}));
1468
1468
  continue;
1469
1469
  case "engineering":
1470
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1471
- return v(v({}, h), Tt(l));
1470
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1471
+ return _(_({}, h), Tt(l));
1472
1472
  }, {}));
1473
1473
  continue;
1474
1474
  case "notation-simple":
@@ -1513,41 +1513,41 @@ function oi(e) {
1513
1513
  case "integer-width":
1514
1514
  if (i.options.length > 1)
1515
1515
  throw new RangeError("integer-width stems only accept a single optional option");
1516
- i.options[0].replace(ri, function(h, l, u, f, c, d) {
1516
+ i.options[0].replace(ni, function(h, l, u, f, c, m) {
1517
1517
  if (l)
1518
1518
  t.minimumIntegerDigits = u.length;
1519
1519
  else {
1520
1520
  if (f && c)
1521
1521
  throw new Error("We currently do not support maximum integer digits");
1522
- if (d)
1522
+ if (m)
1523
1523
  throw new Error("We currently do not support exact integer digits");
1524
1524
  }
1525
1525
  return "";
1526
1526
  });
1527
1527
  continue;
1528
1528
  }
1529
- if (fn.test(i.stem)) {
1529
+ if (cr.test(i.stem)) {
1530
1530
  t.minimumIntegerDigits = i.stem.length;
1531
1531
  continue;
1532
1532
  }
1533
1533
  if (wt.test(i.stem)) {
1534
1534
  if (i.options.length > 1)
1535
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1536
- i.stem.replace(wt, function(h, l, u, f, c, d) {
1537
- return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1536
+ i.stem.replace(wt, function(h, l, u, f, c, m) {
1537
+ return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1538
1538
  });
1539
1539
  var o = i.options[0];
1540
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), St(o)));
1540
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), St(o)));
1541
1541
  continue;
1542
1542
  }
1543
- if (cn.test(i.stem)) {
1544
- t = v(v({}, t), St(i.stem));
1543
+ if (hr.test(i.stem)) {
1544
+ t = _(_({}, t), St(i.stem));
1545
1545
  continue;
1546
1546
  }
1547
- var a = dn(i.stem);
1548
- a && (t = v(v({}, t), a));
1547
+ var a = fr(i.stem);
1548
+ a && (t = _(_({}, t), a));
1549
1549
  var s = ii(i.stem);
1550
- s && (t = v(v({}, t), s));
1550
+ s && (t = _(_({}, t), s));
1551
1551
  }
1552
1552
  return t;
1553
1553
  }
@@ -2967,19 +2967,19 @@ var ge = {
2967
2967
  ]
2968
2968
  };
2969
2969
  function ai(e, t) {
2970
- for (var n = "", r = 0; r < e.length; r++) {
2971
- var i = e.charAt(r);
2970
+ for (var r = "", n = 0; n < e.length; n++) {
2971
+ var i = e.charAt(n);
2972
2972
  if (i === "j") {
2973
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2974
- o++, r++;
2973
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2974
+ o++, n++;
2975
2975
  var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = si(t);
2976
2976
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2977
- n += h;
2977
+ r += h;
2978
2978
  for (; a-- > 0; )
2979
- n = l + n;
2980
- } else i === "J" ? n += "H" : n += i;
2979
+ r = l + r;
2980
+ } else i === "J" ? r += "H" : r += i;
2981
2981
  }
2982
- return n;
2982
+ return r;
2983
2983
  }
2984
2984
  function si(e) {
2985
2985
  var t = e.hourCycle;
@@ -2998,73 +2998,73 @@ function si(e) {
2998
2998
  default:
2999
2999
  throw new Error("Invalid hourCycle");
3000
3000
  }
3001
- var n = e.language, r;
3002
- n !== "root" && (r = e.maximize().region);
3003
- var i = ge[r || ""] || ge[n || ""] || ge["".concat(n, "-001")] || ge["001"];
3001
+ var r = e.language, n;
3002
+ r !== "root" && (n = e.maximize().region);
3003
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3004
3004
  return i[0];
3005
3005
  }
3006
- var Ge, ui = new RegExp("^".concat(hn.source, "*")), li = new RegExp("".concat(hn.source, "*$"));
3007
- function _(e, t) {
3006
+ var Ge, ui = new RegExp("^".concat(lr.source, "*")), li = new RegExp("".concat(lr.source, "*$"));
3007
+ function v(e, t) {
3008
3008
  return { start: e, end: t };
3009
3009
  }
3010
- var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, di = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, gi = bi ? Number.isSafeInteger : function(e) {
3010
+ var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, gi = bi ? Number.isSafeInteger : function(e) {
3011
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3012
3012
  }, Ze = !0;
3013
3013
  try {
3014
- var yi = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3014
+ var yi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
3015
  Ze = ((Ge = yi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3016
3016
  } catch {
3017
3017
  Ze = !1;
3018
3018
  }
3019
3019
  var Ht = hi ? (
3020
3020
  // Native
3021
- function(t, n, r) {
3022
- return t.startsWith(n, r);
3021
+ function(t, r, n) {
3022
+ return t.startsWith(r, n);
3023
3023
  }
3024
3024
  ) : (
3025
3025
  // For IE11
3026
- function(t, n, r) {
3027
- return t.slice(r, r + n.length) === n;
3026
+ function(t, r, n) {
3027
+ return t.slice(n, n + r.length) === r;
3028
3028
  }
3029
3029
  ), Qe = ci ? String.fromCodePoint : (
3030
3030
  // IE11
3031
3031
  function() {
3032
- for (var t = [], n = 0; n < arguments.length; n++)
3033
- t[n] = arguments[n];
3034
- for (var r = "", i = t.length, o = 0, a; i > o; ) {
3032
+ for (var t = [], r = 0; r < arguments.length; r++)
3033
+ t[r] = arguments[r];
3034
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3035
3035
  if (a = t[o++], a > 1114111)
3036
3036
  throw RangeError(a + " is not a valid code point");
3037
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3037
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3038
3038
  }
3039
- return r;
3039
+ return n;
3040
3040
  }
3041
3041
  ), Bt = (
3042
3042
  // native
3043
3043
  fi ? Object.fromEntries : (
3044
3044
  // Ponyfill
3045
3045
  function(t) {
3046
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3047
- var o = i[r], a = o[0], s = o[1];
3048
- n[a] = s;
3046
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3047
+ var o = i[n], a = o[0], s = o[1];
3048
+ r[a] = s;
3049
3049
  }
3050
- return n;
3050
+ return r;
3051
3051
  }
3052
3052
  )
3053
- ), mn = di ? (
3053
+ ), mr = mi ? (
3054
3054
  // Native
3055
- function(t, n) {
3056
- return t.codePointAt(n);
3055
+ function(t, r) {
3056
+ return t.codePointAt(r);
3057
3057
  }
3058
3058
  ) : (
3059
3059
  // IE 11
3060
- function(t, n) {
3061
- var r = t.length;
3062
- if (!(n < 0 || n >= r)) {
3063
- var i = t.charCodeAt(n), o;
3064
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3060
+ function(t, r) {
3061
+ var n = t.length;
3062
+ if (!(r < 0 || r >= n)) {
3063
+ var i = t.charCodeAt(r), o;
3064
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3065
3065
  }
3066
3066
  }
3067
- ), _i = mi ? (
3067
+ ), vi = di ? (
3068
3068
  // Native
3069
3069
  function(t) {
3070
3070
  return t.trimStart();
@@ -3074,7 +3074,7 @@ var Ht = hi ? (
3074
3074
  function(t) {
3075
3075
  return t.replace(ui, "");
3076
3076
  }
3077
- ), vi = pi ? (
3077
+ ), _i = pi ? (
3078
3078
  // Native
3079
3079
  function(t) {
3080
3080
  return t.trimEnd();
@@ -3085,66 +3085,66 @@ var Ht = hi ? (
3085
3085
  return t.replace(li, "");
3086
3086
  }
3087
3087
  );
3088
- function pn(e, t) {
3088
+ function dr(e, t) {
3089
3089
  return new RegExp(e, t);
3090
3090
  }
3091
3091
  var Ye;
3092
3092
  if (Ze) {
3093
- var At = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
- Ye = function(t, n) {
3095
- var r;
3096
- At.lastIndex = n;
3093
+ var At = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ Ye = function(t, r) {
3095
+ var n;
3096
+ At.lastIndex = r;
3097
3097
  var i = At.exec(t);
3098
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3098
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3099
3099
  };
3100
3100
  } else
3101
- Ye = function(t, n) {
3102
- for (var r = []; ; ) {
3103
- var i = mn(t, n);
3104
- if (i === void 0 || bn(i) || Si(i))
3101
+ Ye = function(t, r) {
3102
+ for (var n = []; ; ) {
3103
+ var i = mr(t, r);
3104
+ if (i === void 0 || pr(i) || Si(i))
3105
3105
  break;
3106
- r.push(i), n += i >= 65536 ? 2 : 1;
3106
+ n.push(i), r += i >= 65536 ? 2 : 1;
3107
3107
  }
3108
- return Qe.apply(void 0, r);
3108
+ return Qe.apply(void 0, n);
3109
3109
  };
3110
3110
  var xi = (
3111
3111
  /** @class */
3112
3112
  function() {
3113
- function e(t, n) {
3114
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3113
+ function e(t, r) {
3114
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3115
3115
  }
3116
3116
  return e.prototype.parse = function() {
3117
3117
  if (this.offset() !== 0)
3118
3118
  throw Error("parser can only be used once");
3119
3119
  return this.parseMessage(0, "", !1);
3120
- }, e.prototype.parseMessage = function(t, n, r) {
3120
+ }, e.prototype.parseMessage = function(t, r, n) {
3121
3121
  for (var i = []; !this.isEOF(); ) {
3122
3122
  var o = this.char();
3123
3123
  if (o === 123) {
3124
- var a = this.parseArgument(t, r);
3124
+ var a = this.parseArgument(t, n);
3125
3125
  if (a.err)
3126
3126
  return a;
3127
3127
  i.push(a.val);
3128
3128
  } else {
3129
3129
  if (o === 125 && t > 0)
3130
3130
  break;
3131
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3131
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3132
3132
  var s = this.clonePosition();
3133
3133
  this.bump(), i.push({
3134
3134
  type: w.pound,
3135
- location: _(s, this.clonePosition())
3135
+ location: v(s, this.clonePosition())
3136
3136
  });
3137
3137
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3138
- if (r)
3138
+ if (n)
3139
3139
  break;
3140
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3140
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3141
3141
  } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3142
- var a = this.parseTag(t, n);
3142
+ var a = this.parseTag(t, r);
3143
3143
  if (a.err)
3144
3144
  return a;
3145
3145
  i.push(a.val);
3146
3146
  } else {
3147
- var a = this.parseLiteral(t, n);
3147
+ var a = this.parseLiteral(t, r);
3148
3148
  if (a.err)
3149
3149
  return a;
3150
3150
  i.push(a.val);
@@ -3152,8 +3152,8 @@ var xi = (
3152
3152
  }
3153
3153
  }
3154
3154
  return { val: i, err: null };
3155
- }, e.prototype.parseTag = function(t, n) {
3156
- var r = this.clonePosition();
3155
+ }, e.prototype.parseTag = function(t, r) {
3156
+ var n = this.clonePosition();
3157
3157
  this.bump();
3158
3158
  var i = this.parseTagName();
3159
3159
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3161,45 +3161,45 @@ var xi = (
3161
3161
  val: {
3162
3162
  type: w.literal,
3163
3163
  value: "<".concat(i, "/>"),
3164
- location: _(r, this.clonePosition())
3164
+ location: v(n, this.clonePosition())
3165
3165
  },
3166
3166
  err: null
3167
3167
  };
3168
3168
  if (this.bumpIf(">")) {
3169
- var o = this.parseMessage(t + 1, n, !0);
3169
+ var o = this.parseMessage(t + 1, r, !0);
3170
3170
  if (o.err)
3171
3171
  return o;
3172
3172
  var a = o.val, s = this.clonePosition();
3173
3173
  if (this.bumpIf("</")) {
3174
3174
  if (this.isEOF() || !qe(this.char()))
3175
- return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3175
+ return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3176
3176
  var h = this.clonePosition(), l = this.parseTagName();
3177
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3177
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3178
3178
  val: {
3179
3179
  type: w.tag,
3180
3180
  value: i,
3181
3181
  children: a,
3182
- location: _(r, this.clonePosition())
3182
+ location: v(n, this.clonePosition())
3183
3183
  },
3184
3184
  err: null
3185
- } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3185
+ } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3186
3186
  } else
3187
- return this.error(y.UNCLOSED_TAG, _(r, this.clonePosition()));
3187
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3188
3188
  } else
3189
- return this.error(y.INVALID_TAG, _(r, this.clonePosition()));
3189
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3190
3190
  }, e.prototype.parseTagName = function() {
3191
3191
  var t = this.offset();
3192
3192
  for (this.bump(); !this.isEOF() && wi(this.char()); )
3193
3193
  this.bump();
3194
3194
  return this.message.slice(t, this.offset());
3195
- }, e.prototype.parseLiteral = function(t, n) {
3196
- for (var r = this.clonePosition(), i = ""; ; ) {
3197
- var o = this.tryParseQuote(n);
3195
+ }, e.prototype.parseLiteral = function(t, r) {
3196
+ for (var n = this.clonePosition(), i = ""; ; ) {
3197
+ var o = this.tryParseQuote(r);
3198
3198
  if (o) {
3199
3199
  i += o;
3200
3200
  continue;
3201
3201
  }
3202
- var a = this.tryParseUnquoted(t, n);
3202
+ var a = this.tryParseUnquoted(t, r);
3203
3203
  if (a) {
3204
3204
  i += a;
3205
3205
  continue;
@@ -3211,7 +3211,7 @@ var xi = (
3211
3211
  }
3212
3212
  break;
3213
3213
  }
3214
- var h = _(r, this.clonePosition());
3214
+ var h = v(n, this.clonePosition());
3215
3215
  return {
3216
3216
  val: { type: w.literal, value: i, location: h },
3217
3217
  err: null
@@ -3238,37 +3238,37 @@ var xi = (
3238
3238
  return null;
3239
3239
  }
3240
3240
  this.bump();
3241
- var n = [this.char()];
3241
+ var r = [this.char()];
3242
3242
  for (this.bump(); !this.isEOF(); ) {
3243
- var r = this.char();
3244
- if (r === 39)
3243
+ var n = this.char();
3244
+ if (n === 39)
3245
3245
  if (this.peek() === 39)
3246
- n.push(39), this.bump();
3246
+ r.push(39), this.bump();
3247
3247
  else {
3248
3248
  this.bump();
3249
3249
  break;
3250
3250
  }
3251
3251
  else
3252
- n.push(r);
3252
+ r.push(n);
3253
3253
  this.bump();
3254
3254
  }
3255
- return Qe.apply(void 0, n);
3256
- }, e.prototype.tryParseUnquoted = function(t, n) {
3255
+ return Qe.apply(void 0, r);
3256
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3257
3257
  if (this.isEOF())
3258
3258
  return null;
3259
- var r = this.char();
3260
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Qe(r));
3261
- }, e.prototype.parseArgument = function(t, n) {
3262
- var r = this.clonePosition();
3259
+ var n = this.char();
3260
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3261
+ }, e.prototype.parseArgument = function(t, r) {
3262
+ var n = this.clonePosition();
3263
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
3264
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
3264
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3265
3265
  if (this.char() === 125)
3266
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(r, this.clonePosition()));
3266
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3267
3267
  var i = this.parseIdentifierIfPossible().value;
3268
3268
  if (!i)
3269
- return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3269
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3270
3270
  if (this.bumpSpace(), this.isEOF())
3271
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
3271
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3272
3272
  switch (this.char()) {
3273
3273
  case 125:
3274
3274
  return this.bump(), {
@@ -3276,25 +3276,25 @@ var xi = (
3276
3276
  type: w.argument,
3277
3277
  // value does not include the opening and closing braces.
3278
3278
  value: i,
3279
- location: _(r, this.clonePosition())
3279
+ location: v(n, this.clonePosition())
3280
3280
  },
3281
3281
  err: null
3282
3282
  };
3283
3283
  case 44:
3284
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3284
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3285
3285
  default:
3286
- return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3286
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3287
3287
  }
3288
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3289
- var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
3289
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3290
3290
  this.bumpTo(i);
3291
- var o = this.clonePosition(), a = _(t, o);
3292
- return { value: r, location: a };
3293
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3291
+ var o = this.clonePosition(), a = v(t, o);
3292
+ return { value: n, location: a };
3293
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3294
3294
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3295
3295
  switch (s) {
3296
3296
  case "":
3297
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, h));
3297
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, h));
3298
3298
  case "number":
3299
3299
  case "date":
3300
3300
  case "time": {
@@ -3305,22 +3305,22 @@ var xi = (
3305
3305
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3306
3306
  if (f.err)
3307
3307
  return f;
3308
- var c = vi(f.val);
3308
+ var c = _i(f.val);
3309
3309
  if (c.length === 0)
3310
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3311
- var d = _(u, this.clonePosition());
3312
- l = { style: c, styleLocation: d };
3310
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3311
+ var m = v(u, this.clonePosition());
3312
+ l = { style: c, styleLocation: m };
3313
3313
  }
3314
- var m = this.tryParseArgumentClose(i);
3315
- if (m.err)
3316
- return m;
3317
- var b = _(i, this.clonePosition());
3314
+ var d = this.tryParseArgumentClose(i);
3315
+ if (d.err)
3316
+ return d;
3317
+ var b = v(i, this.clonePosition());
3318
3318
  if (l && Ht(l?.style, "::", 0)) {
3319
- var B = _i(l.style.slice(2));
3319
+ var B = vi(l.style.slice(2));
3320
3320
  if (s === "number") {
3321
3321
  var f = this.parseNumberSkeletonFromString(B, l.styleLocation);
3322
3322
  return f.err ? f : {
3323
- val: { type: w.number, value: r, location: b, style: f.val },
3323
+ val: { type: w.number, value: n, location: b, style: f.val },
3324
3324
  err: null
3325
3325
  };
3326
3326
  } else {
@@ -3329,13 +3329,13 @@ var xi = (
3329
3329
  var T = B;
3330
3330
  this.locale && (T = ai(B, this.locale));
3331
3331
  var c = {
3332
- type: ne.dateTime,
3332
+ type: re.dateTime,
3333
3333
  pattern: T,
3334
3334
  location: l.styleLocation,
3335
- parsedOptions: this.shouldParseSkeletons ? Kr(T) : {}
3335
+ parsedOptions: this.shouldParseSkeletons ? Kn(T) : {}
3336
3336
  }, H = s === "date" ? w.date : w.time;
3337
3337
  return {
3338
- val: { type: H, value: r, location: b, style: c },
3338
+ val: { type: H, value: n, location: b, style: c },
3339
3339
  err: null
3340
3340
  };
3341
3341
  }
@@ -3343,7 +3343,7 @@ var xi = (
3343
3343
  return {
3344
3344
  val: {
3345
3345
  type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3346
- value: r,
3346
+ value: n,
3347
3347
  location: b,
3348
3348
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3349
3349
  },
@@ -3355,29 +3355,29 @@ var xi = (
3355
3355
  case "select": {
3356
3356
  var A = this.clonePosition();
3357
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3358
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, v({}, A)));
3358
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(A, _({}, A)));
3359
3359
  this.bumpSpace();
3360
3360
  var G = this.parseIdentifierIfPossible(), N = 0;
3361
3361
  if (s !== "select" && G.value === "offset") {
3362
3362
  if (!this.bumpIf(":"))
3363
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3363
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3364
3364
  this.bumpSpace();
3365
3365
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3366
3366
  if (f.err)
3367
3367
  return f;
3368
3368
  this.bumpSpace(), G = this.parseIdentifierIfPossible(), N = f.val;
3369
3369
  }
3370
- var J = this.tryParsePluralOrSelectOptions(t, s, n, G);
3370
+ var J = this.tryParsePluralOrSelectOptions(t, s, r, G);
3371
3371
  if (J.err)
3372
3372
  return J;
3373
- var m = this.tryParseArgumentClose(i);
3374
- if (m.err)
3375
- return m;
3376
- var L = _(i, this.clonePosition());
3373
+ var d = this.tryParseArgumentClose(i);
3374
+ if (d.err)
3375
+ return d;
3376
+ var L = v(i, this.clonePosition());
3377
3377
  return s === "select" ? {
3378
3378
  val: {
3379
3379
  type: w.select,
3380
- value: r,
3380
+ value: n,
3381
3381
  options: Bt(J.val),
3382
3382
  location: L
3383
3383
  },
@@ -3385,7 +3385,7 @@ var xi = (
3385
3385
  } : {
3386
3386
  val: {
3387
3387
  type: w.plural,
3388
- value: r,
3388
+ value: n,
3389
3389
  options: Bt(J.val),
3390
3390
  offset: N,
3391
3391
  pluralType: s === "plural" ? "cardinal" : "ordinal",
@@ -3395,19 +3395,19 @@ var xi = (
3395
3395
  };
3396
3396
  }
3397
3397
  default:
3398
- return this.error(y.INVALID_ARGUMENT_TYPE, _(a, h));
3398
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, h));
3399
3399
  }
3400
3400
  }, e.prototype.tryParseArgumentClose = function(t) {
3401
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3401
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3402
3402
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3403
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3404
- var r = this.char();
3405
- switch (r) {
3403
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3404
+ var n = this.char();
3405
+ switch (n) {
3406
3406
  case 39: {
3407
3407
  this.bump();
3408
3408
  var i = this.clonePosition();
3409
3409
  if (!this.bumpUntil("'"))
3410
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3410
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3411
3411
  this.bump();
3412
3412
  break;
3413
3413
  }
@@ -3420,7 +3420,7 @@ var xi = (
3420
3420
  t -= 1;
3421
3421
  else
3422
3422
  return {
3423
- val: this.message.slice(n.offset, this.offset()),
3423
+ val: this.message.slice(r.offset, this.offset()),
3424
3424
  err: null
3425
3425
  };
3426
3426
  break;
@@ -3431,61 +3431,61 @@ var xi = (
3431
3431
  }
3432
3432
  }
3433
3433
  return {
3434
- val: this.message.slice(n.offset, this.offset()),
3434
+ val: this.message.slice(r.offset, this.offset()),
3435
3435
  err: null
3436
3436
  };
3437
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3438
- var r = [];
3437
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3438
+ var n = [];
3439
3439
  try {
3440
- r = ti(t);
3440
+ n = ti(t);
3441
3441
  } catch {
3442
- return this.error(y.INVALID_NUMBER_SKELETON, n);
3442
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3443
3443
  }
3444
3444
  return {
3445
3445
  val: {
3446
- type: ne.number,
3447
- tokens: r,
3448
- location: n,
3449
- parsedOptions: this.shouldParseSkeletons ? oi(r) : {}
3446
+ type: re.number,
3447
+ tokens: n,
3448
+ location: r,
3449
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3450
3450
  },
3451
3451
  err: null
3452
3452
  };
3453
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3453
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3454
3454
  for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3455
3455
  if (l.length === 0) {
3456
3456
  var f = this.clonePosition();
3457
- if (n !== "select" && this.bumpIf("=")) {
3457
+ if (r !== "select" && this.bumpIf("=")) {
3458
3458
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3459
3459
  if (c.err)
3460
3460
  return c;
3461
- u = _(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3461
+ u = v(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3462
3462
  } else
3463
3463
  break;
3464
3464
  }
3465
3465
  if (h.has(l))
3466
- return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3466
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3467
3467
  l === "other" && (a = !0), this.bumpSpace();
3468
- var d = this.clonePosition();
3468
+ var m = this.clonePosition();
3469
3469
  if (!this.bumpIf("{"))
3470
- return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3471
- var m = this.parseMessage(t + 1, n, r);
3472
- if (m.err)
3473
- return m;
3474
- var b = this.tryParseArgumentClose(d);
3470
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3471
+ var d = this.parseMessage(t + 1, r, n);
3472
+ if (d.err)
3473
+ return d;
3474
+ var b = this.tryParseArgumentClose(m);
3475
3475
  if (b.err)
3476
3476
  return b;
3477
3477
  s.push([
3478
3478
  l,
3479
3479
  {
3480
- value: m.val,
3481
- location: _(d, this.clonePosition())
3480
+ value: d.val,
3481
+ location: v(m, this.clonePosition())
3482
3482
  }
3483
3483
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3484
3484
  }
3485
- return s.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3486
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3487
- var r = 1, i = this.clonePosition();
3488
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3485
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3486
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3487
+ var n = 1, i = this.clonePosition();
3488
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3489
3489
  for (var o = !1, a = 0; !this.isEOF(); ) {
3490
3490
  var s = this.char();
3491
3491
  if (s >= 48 && s <= 57)
@@ -3493,8 +3493,8 @@ var xi = (
3493
3493
  else
3494
3494
  break;
3495
3495
  }
3496
- var h = _(i, this.clonePosition());
3497
- return o ? (a *= r, gi(a) ? { val: a, err: null } : this.error(n, h)) : this.error(t, h);
3496
+ var h = v(i, this.clonePosition());
3497
+ return o ? (a *= n, gi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3498
3498
  }, e.prototype.offset = function() {
3499
3499
  return this.position.offset;
3500
3500
  }, e.prototype.isEOF = function() {
@@ -3509,17 +3509,17 @@ var xi = (
3509
3509
  var t = this.position.offset;
3510
3510
  if (t >= this.message.length)
3511
3511
  throw Error("out of bound");
3512
- var n = mn(this.message, t);
3513
- if (n === void 0)
3512
+ var r = mr(this.message, t);
3513
+ if (r === void 0)
3514
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3515
- return n;
3516
- }, e.prototype.error = function(t, n) {
3515
+ return r;
3516
+ }, e.prototype.error = function(t, r) {
3517
3517
  return {
3518
3518
  val: null,
3519
3519
  err: {
3520
3520
  kind: t,
3521
3521
  message: this.message,
3522
- location: n
3522
+ location: r
3523
3523
  }
3524
3524
  };
3525
3525
  }, e.prototype.bump = function() {
@@ -3529,34 +3529,34 @@ var xi = (
3529
3529
  }
3530
3530
  }, e.prototype.bumpIf = function(t) {
3531
3531
  if (Ht(this.message, t, this.offset())) {
3532
- for (var n = 0; n < t.length; n++)
3532
+ for (var r = 0; r < t.length; r++)
3533
3533
  this.bump();
3534
3534
  return !0;
3535
3535
  }
3536
3536
  return !1;
3537
3537
  }, e.prototype.bumpUntil = function(t) {
3538
- var n = this.offset(), r = this.message.indexOf(t, n);
3539
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3538
+ var r = this.offset(), n = this.message.indexOf(t, r);
3539
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3540
3540
  }, e.prototype.bumpTo = function(t) {
3541
3541
  if (this.offset() > t)
3542
3542
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3543
3543
  for (t = Math.min(t, this.message.length); ; ) {
3544
- var n = this.offset();
3545
- if (n === t)
3544
+ var r = this.offset();
3545
+ if (r === t)
3546
3546
  break;
3547
- if (n > t)
3547
+ if (r > t)
3548
3548
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3549
3549
  if (this.bump(), this.isEOF())
3550
3550
  break;
3551
3551
  }
3552
3552
  }, e.prototype.bumpSpace = function() {
3553
- for (; !this.isEOF() && bn(this.char()); )
3553
+ for (; !this.isEOF() && pr(this.char()); )
3554
3554
  this.bump();
3555
3555
  }, e.prototype.peek = function() {
3556
3556
  if (this.isEOF())
3557
3557
  return null;
3558
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3559
- return r ?? null;
3558
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3559
+ return n ?? null;
3560
3560
  }, e;
3561
3561
  }()
3562
3562
  );
@@ -3569,7 +3569,7 @@ function Ei(e) {
3569
3569
  function wi(e) {
3570
3570
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3571
3571
  }
3572
- function bn(e) {
3572
+ function pr(e) {
3573
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3574
3574
  }
3575
3575
  function Si(e) {
@@ -3577,32 +3577,32 @@ function Si(e) {
3577
3577
  }
3578
3578
  function Ke(e) {
3579
3579
  e.forEach(function(t) {
3580
- if (delete t.location, an(t) || sn(t))
3581
- for (var n in t.options)
3582
- delete t.options[n].location, Ke(t.options[n].value);
3583
- else nn(t) && ln(t.style) || (rn(t) || on(t)) && Je(t.style) ? delete t.style.location : un(t) && Ke(t.children);
3580
+ if (delete t.location, or(t) || ar(t))
3581
+ for (var r in t.options)
3582
+ delete t.options[r].location, Ke(t.options[r].value);
3583
+ else rr(t) && ur(t.style) || (nr(t) || ir(t)) && Je(t.style) ? delete t.style.location : sr(t) && Ke(t.children);
3584
3584
  });
3585
3585
  }
3586
3586
  function Ti(e, t) {
3587
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3588
- var n = new xi(e, t).parse();
3589
- if (n.err) {
3590
- var r = SyntaxError(y[n.err.kind]);
3591
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3587
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3588
+ var r = new xi(e, t).parse();
3589
+ if (r.err) {
3590
+ var n = SyntaxError(y[r.err.kind]);
3591
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3592
3592
  }
3593
- return t?.captureLocation || Ke(n.val), n.val;
3593
+ return t?.captureLocation || Ke(r.val), r.val;
3594
3594
  }
3595
- var re;
3595
+ var ne;
3596
3596
  (function(e) {
3597
3597
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3598
- })(re || (re = {}));
3598
+ })(ne || (ne = {}));
3599
3599
  var Pe = (
3600
3600
  /** @class */
3601
3601
  function(e) {
3602
3602
  D(t, e);
3603
- function t(n, r, i) {
3604
- var o = e.call(this, n) || this;
3605
- return o.code = r, o.originalMessage = i, o;
3603
+ function t(r, n, i) {
3604
+ var o = e.call(this, r) || this;
3605
+ return o.code = n, o.originalMessage = i, o;
3606
3606
  }
3607
3607
  return t.prototype.toString = function() {
3608
3608
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3612,8 +3612,8 @@ var Pe = (
3612
3612
  /** @class */
3613
3613
  function(e) {
3614
3614
  D(t, e);
3615
- function t(n, r, i, o) {
3616
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3615
+ function t(r, n, i, o) {
3616
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3617
3617
  }
3618
3618
  return t;
3619
3619
  }(Pe)
@@ -3621,8 +3621,8 @@ var Pe = (
3621
3621
  /** @class */
3622
3622
  function(e) {
3623
3623
  D(t, e);
3624
- function t(n, r, i) {
3625
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), re.INVALID_VALUE, i) || this;
3624
+ function t(r, n, i) {
3625
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3626
3626
  }
3627
3627
  return t;
3628
3628
  }(Pe)
@@ -3630,8 +3630,8 @@ var Pe = (
3630
3630
  /** @class */
3631
3631
  function(e) {
3632
3632
  D(t, e);
3633
- function t(n, r) {
3634
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), re.MISSING_VALUE, r) || this;
3633
+ function t(r, n) {
3634
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3635
3635
  }
3636
3636
  return t;
3637
3637
  }(Pe)
@@ -3640,15 +3640,15 @@ var Pe = (
3640
3640
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3641
3641
  })(P || (P = {}));
3642
3642
  function Ai(e) {
3643
- return e.length < 2 ? e : e.reduce(function(t, n) {
3644
- var r = t[t.length - 1];
3645
- return !r || r.type !== P.literal || n.type !== P.literal ? t.push(n) : r.value += n.value, t;
3643
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3644
+ var n = t[t.length - 1];
3645
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3646
3646
  }, []);
3647
3647
  }
3648
3648
  function Pi(e) {
3649
3649
  return typeof e == "function";
3650
3650
  }
3651
- function xe(e, t, n, r, i, o, a) {
3651
+ function xe(e, t, r, n, i, o, a) {
3652
3652
  if (e.length === 1 && Et(e[0]))
3653
3653
  return [
3654
3654
  {
@@ -3665,10 +3665,10 @@ function xe(e, t, n, r, i, o, a) {
3665
3665
  });
3666
3666
  continue;
3667
3667
  }
3668
- if (Yr(u)) {
3668
+ if (Yn(u)) {
3669
3669
  typeof o == "number" && s.push({
3670
3670
  type: P.literal,
3671
- value: n.getNumberFormat(t).format(o)
3671
+ value: r.getNumberFormat(t).format(o)
3672
3672
  });
3673
3673
  continue;
3674
3674
  }
@@ -3676,42 +3676,42 @@ function xe(e, t, n, r, i, o, a) {
3676
3676
  if (!(i && f in i))
3677
3677
  throw new Bi(f, a);
3678
3678
  var c = i[f];
3679
- if (Qr(u)) {
3679
+ if (Qn(u)) {
3680
3680
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3681
3681
  type: typeof c == "string" ? P.literal : P.object,
3682
3682
  value: c
3683
3683
  });
3684
3684
  continue;
3685
3685
  }
3686
- if (rn(u)) {
3687
- var d = typeof u.style == "string" ? r.date[u.style] : Je(u.style) ? u.style.parsedOptions : void 0;
3686
+ if (nr(u)) {
3687
+ var m = typeof u.style == "string" ? n.date[u.style] : Je(u.style) ? u.style.parsedOptions : void 0;
3688
3688
  s.push({
3689
3689
  type: P.literal,
3690
- value: n.getDateTimeFormat(t, d).format(c)
3690
+ value: r.getDateTimeFormat(t, m).format(c)
3691
3691
  });
3692
3692
  continue;
3693
3693
  }
3694
- if (on(u)) {
3695
- var d = typeof u.style == "string" ? r.time[u.style] : Je(u.style) ? u.style.parsedOptions : r.time.medium;
3694
+ if (ir(u)) {
3695
+ var m = typeof u.style == "string" ? n.time[u.style] : Je(u.style) ? u.style.parsedOptions : n.time.medium;
3696
3696
  s.push({
3697
3697
  type: P.literal,
3698
- value: n.getDateTimeFormat(t, d).format(c)
3698
+ value: r.getDateTimeFormat(t, m).format(c)
3699
3699
  });
3700
3700
  continue;
3701
3701
  }
3702
- if (nn(u)) {
3703
- var d = typeof u.style == "string" ? r.number[u.style] : ln(u.style) ? u.style.parsedOptions : void 0;
3704
- d && d.scale && (c = c * (d.scale || 1)), s.push({
3702
+ if (rr(u)) {
3703
+ var m = typeof u.style == "string" ? n.number[u.style] : ur(u.style) ? u.style.parsedOptions : void 0;
3704
+ m && m.scale && (c = c * (m.scale || 1)), s.push({
3705
3705
  type: P.literal,
3706
- value: n.getNumberFormat(t, d).format(c)
3706
+ value: r.getNumberFormat(t, m).format(c)
3707
3707
  });
3708
3708
  continue;
3709
3709
  }
3710
- if (un(u)) {
3711
- var m = u.children, b = u.value, B = i[b];
3710
+ if (sr(u)) {
3711
+ var d = u.children, b = u.value, B = i[b];
3712
3712
  if (!Pi(B))
3713
3713
  throw new Hi(b, "function", a);
3714
- var T = xe(m, t, n, r, i, o), H = B(T.map(function(N) {
3714
+ var T = xe(d, t, r, n, i, o), H = B(T.map(function(N) {
3715
3715
  return N.value;
3716
3716
  }));
3717
3717
  Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(N) {
@@ -3721,40 +3721,40 @@ function xe(e, t, n, r, i, o, a) {
3721
3721
  };
3722
3722
  }));
3723
3723
  }
3724
- if (an(u)) {
3724
+ if (or(u)) {
3725
3725
  var A = u.options[c] || u.options.other;
3726
3726
  if (!A)
3727
3727
  throw new Pt(u.value, c, Object.keys(u.options), a);
3728
- s.push.apply(s, xe(A.value, t, n, r, i));
3728
+ s.push.apply(s, xe(A.value, t, r, n, i));
3729
3729
  continue;
3730
3730
  }
3731
- if (sn(u)) {
3731
+ if (ar(u)) {
3732
3732
  var A = u.options["=".concat(c)];
3733
3733
  if (!A) {
3734
3734
  if (!Intl.PluralRules)
3735
3735
  throw new Pe(`Intl.PluralRules is not available in this environment.
3736
3736
  Try polyfilling it using "@formatjs/intl-pluralrules"
3737
- `, re.MISSING_INTL_API, a);
3738
- var G = n.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3737
+ `, ne.MISSING_INTL_API, a);
3738
+ var G = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3739
3739
  A = u.options[G] || u.options.other;
3740
3740
  }
3741
3741
  if (!A)
3742
3742
  throw new Pt(u.value, c, Object.keys(u.options), a);
3743
- s.push.apply(s, xe(A.value, t, n, r, i, c - (u.offset || 0)));
3743
+ s.push.apply(s, xe(A.value, t, r, n, i, c - (u.offset || 0)));
3744
3744
  continue;
3745
3745
  }
3746
3746
  }
3747
3747
  return Ai(s);
3748
3748
  }
3749
3749
  function Ri(e, t) {
3750
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3751
- return n[r] = v(v({}, e[r]), t[r] || {}), n;
3750
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3751
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3752
3752
  }, {})) : e;
3753
3753
  }
3754
3754
  function Oi(e, t) {
3755
- return t ? Object.keys(e).reduce(function(n, r) {
3756
- return n[r] = Ri(e[r], t[r]), n;
3757
- }, v({}, e)) : e;
3755
+ return t ? Object.keys(e).reduce(function(r, n) {
3756
+ return r[n] = Ri(e[n], t[n]), r;
3757
+ }, _({}, e)) : e;
3758
3758
  }
3759
3759
  function Ue(e) {
3760
3760
  return {
@@ -3763,8 +3763,8 @@ function Ue(e) {
3763
3763
  get: function(t) {
3764
3764
  return e[t];
3765
3765
  },
3766
- set: function(t, n) {
3767
- e[t] = n;
3766
+ set: function(t, r) {
3767
+ e[t] = r;
3768
3768
  }
3769
3769
  };
3770
3770
  }
@@ -3777,25 +3777,25 @@ function Ii(e) {
3777
3777
  pluralRules: {}
3778
3778
  }), {
3779
3779
  getNumberFormat: Le(function() {
3780
- for (var t, n = [], r = 0; r < arguments.length; r++)
3781
- n[r] = arguments[r];
3782
- return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], n, !1)))();
3780
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3781
+ r[n] = arguments[n];
3782
+ return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3783
3783
  }, {
3784
3784
  cache: Ue(e.number),
3785
3785
  strategy: Me.variadic
3786
3786
  }),
3787
3787
  getDateTimeFormat: Le(function() {
3788
- for (var t, n = [], r = 0; r < arguments.length; r++)
3789
- n[r] = arguments[r];
3790
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], n, !1)))();
3788
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3789
+ r[n] = arguments[n];
3790
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3791
3791
  }, {
3792
3792
  cache: Ue(e.dateTime),
3793
3793
  strategy: Me.variadic
3794
3794
  }),
3795
3795
  getPluralRules: Le(function() {
3796
- for (var t, n = [], r = 0; r < arguments.length; r++)
3797
- n[r] = arguments[r];
3798
- return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], n, !1)))();
3796
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3797
+ r[n] = arguments[n];
3798
+ return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3799
3799
  }, {
3800
3800
  cache: Ue(e.pluralRules),
3801
3801
  strategy: Me.variadic
@@ -3805,8 +3805,8 @@ function Ii(e) {
3805
3805
  var Ni = (
3806
3806
  /** @class */
3807
3807
  function() {
3808
- function e(t, n, r, i) {
3809
- n === void 0 && (n = e.defaultLocale);
3808
+ function e(t, r, n, i) {
3809
+ r === void 0 && (r = e.defaultLocale);
3810
3810
  var o = this;
3811
3811
  if (this.formatterCache = {
3812
3812
  number: {},
@@ -3829,18 +3829,18 @@ var Ni = (
3829
3829
  };
3830
3830
  }, this.getAst = function() {
3831
3831
  return o.ast;
3832
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3832
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3833
3833
  if (this.message = t, !e.__parse)
3834
3834
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3835
3835
  var a = i || {};
3836
3836
  a.formatters;
3837
- var s = cr(a, ["formatters"]);
3838
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3837
+ var s = cn(a, ["formatters"]);
3838
+ this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3839
3839
  } else
3840
3840
  this.ast = t;
3841
3841
  if (!Array.isArray(this.ast))
3842
3842
  throw new TypeError("A message must be provided as a String or AST.");
3843
- this.formats = Oi(e.formats, r), this.formatters = i && i.formatters || Ii(this.formatterCache);
3843
+ this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3844
3844
  }
3845
3845
  return Object.defineProperty(e, "defaultLocale", {
3846
3846
  get: function() {
@@ -3850,8 +3850,8 @@ var Ni = (
3850
3850
  configurable: !0
3851
3851
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3852
3852
  if (!(typeof Intl.Locale > "u")) {
3853
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3854
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3853
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3854
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3855
3855
  }
3856
3856
  }, e.__parse = Ti, e.formats = {
3857
3857
  number: {
@@ -3919,30 +3919,30 @@ function Ci(e, t) {
3919
3919
  return;
3920
3920
  if (t in e)
3921
3921
  return e[t];
3922
- const n = t.split(".");
3923
- let r = e;
3924
- for (let i = 0; i < n.length; i++)
3925
- if (typeof r == "object") {
3922
+ const r = t.split(".");
3923
+ let n = e;
3924
+ for (let i = 0; i < r.length; i++)
3925
+ if (typeof n == "object") {
3926
3926
  if (i > 0) {
3927
- const o = n.slice(i, n.length).join(".");
3928
- if (o in r) {
3929
- r = r[o];
3927
+ const o = r.slice(i, r.length).join(".");
3928
+ if (o in n) {
3929
+ n = n[o];
3930
3930
  break;
3931
3931
  }
3932
3932
  }
3933
- r = r[n[i]];
3933
+ n = n[r[i]];
3934
3934
  } else
3935
- r = void 0;
3936
- return r;
3935
+ n = void 0;
3936
+ return n;
3937
3937
  }
3938
- const F = {}, Li = (e, t, n) => n && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = n), n), gn = (e, t) => {
3938
+ const F = {}, Li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), br = (e, t) => {
3939
3939
  if (t == null)
3940
3940
  return;
3941
3941
  if (t in F && e in F[t])
3942
3942
  return F[t][e];
3943
- const n = Re(t);
3944
- for (let r = 0; r < n.length; r++) {
3945
- const i = n[r], o = Gi(i, e);
3943
+ const r = Re(t);
3944
+ for (let n = 0; n < r.length; n++) {
3945
+ const i = r[n], o = Gi(i, e);
3946
3946
  if (o)
3947
3947
  return Li(e, t, o);
3948
3948
  }
@@ -3952,27 +3952,27 @@ const ae = Ae({});
3952
3952
  function Mi(e) {
3953
3953
  return it[e] || null;
3954
3954
  }
3955
- function yn(e) {
3955
+ function gr(e) {
3956
3956
  return e in it;
3957
3957
  }
3958
3958
  function Gi(e, t) {
3959
- if (!yn(e))
3959
+ if (!gr(e))
3960
3960
  return null;
3961
- const n = Mi(e);
3962
- return Ci(n, t);
3961
+ const r = Mi(e);
3962
+ return Ci(r, t);
3963
3963
  }
3964
3964
  function Ui(e) {
3965
3965
  if (e == null)
3966
3966
  return;
3967
3967
  const t = Re(e);
3968
- for (let n = 0; n < t.length; n++) {
3969
- const r = t[n];
3970
- if (yn(r))
3971
- return r;
3968
+ for (let r = 0; r < t.length; r++) {
3969
+ const n = t[r];
3970
+ if (gr(n))
3971
+ return n;
3972
3972
  }
3973
3973
  }
3974
- function _n(e, ...t) {
3975
- delete F[e], ae.update((n) => (n[e] = jr.all([n[e] || {}, ...t]), n));
3974
+ function yr(e, ...t) {
3975
+ delete F[e], ae.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
3976
3976
  }
3977
3977
  oe(
3978
3978
  [ae],
@@ -3983,40 +3983,40 @@ const Ee = {};
3983
3983
  function Di(e, t) {
3984
3984
  Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3985
3985
  }
3986
- function vn(e) {
3986
+ function vr(e) {
3987
3987
  return Ee[e];
3988
3988
  }
3989
3989
  function Fi(e) {
3990
3990
  return Re(e).map((t) => {
3991
- const n = vn(t);
3992
- return [t, n ? [...n] : []];
3991
+ const r = vr(t);
3992
+ return [t, r ? [...r] : []];
3993
3993
  }).filter(([, t]) => t.length > 0);
3994
3994
  }
3995
3995
  function et(e) {
3996
3996
  return e == null ? !1 : Re(e).some(
3997
3997
  (t) => {
3998
- var n;
3999
- return (n = vn(t)) == null ? void 0 : n.size;
3998
+ var r;
3999
+ return (r = vr(t)) == null ? void 0 : r.size;
4000
4000
  }
4001
4001
  );
4002
4002
  }
4003
4003
  function $i(e, t) {
4004
4004
  return Promise.all(
4005
- t.map((r) => (Di(e, r), r().then((i) => i.default || i)))
4006
- ).then((r) => _n(e, ...r));
4005
+ t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
4006
+ ).then((n) => yr(e, ...n));
4007
4007
  }
4008
4008
  const le = {};
4009
- function xn(e) {
4009
+ function _r(e) {
4010
4010
  if (!et(e))
4011
4011
  return e in le ? le[e] : Promise.resolve();
4012
4012
  const t = Fi(e);
4013
4013
  return le[e] = Promise.all(
4014
4014
  t.map(
4015
- ([n, r]) => $i(n, r)
4015
+ ([r, n]) => $i(r, n)
4016
4016
  )
4017
4017
  ).then(() => {
4018
4018
  if (et(e))
4019
- return xn(e);
4019
+ return _r(e);
4020
4020
  delete le[e];
4021
4021
  }), le[e];
4022
4022
  }
@@ -4061,22 +4061,22 @@ function ie() {
4061
4061
  return Vi;
4062
4062
  }
4063
4063
  const De = Ae(!1);
4064
- var Wi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Ot = (e, t, n) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Qi = (e, t) => {
4065
- for (var n in t || (t = {}))
4066
- Ji.call(t, n) && Ot(e, n, t[n]);
4064
+ var Wi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4065
+ for (var r in t || (t = {}))
4066
+ Ji.call(t, r) && Ot(e, r, t[r]);
4067
4067
  if (Rt)
4068
- for (var n of Rt(t))
4069
- Zi.call(t, n) && Ot(e, n, t[n]);
4068
+ for (var r of Rt(t))
4069
+ Zi.call(t, r) && Ot(e, r, t[r]);
4070
4070
  return e;
4071
4071
  }, Yi = (e, t) => Xi(e, zi(t));
4072
4072
  let tt;
4073
4073
  const Te = Ae(null);
4074
4074
  function It(e) {
4075
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4075
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4076
4076
  }
4077
4077
  function Re(e, t = ie().fallbackLocale) {
4078
- const n = It(e);
4079
- return t ? [.../* @__PURE__ */ new Set([...n, ...It(t)])] : n;
4078
+ const r = It(e);
4079
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4080
4080
  }
4081
4081
  function z() {
4082
4082
  return tt ?? void 0;
@@ -4087,14 +4087,14 @@ Te.subscribe((e) => {
4087
4087
  const qi = (e) => {
4088
4088
  if (e && Ui(e) && et(e)) {
4089
4089
  const { loadingDelay: t } = ie();
4090
- let n;
4091
- return typeof window < "u" && z() != null && t ? n = window.setTimeout(
4090
+ let r;
4091
+ return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4092
4092
  () => De.set(!0),
4093
4093
  t
4094
- ) : De.set(!0), xn(e).then(() => {
4094
+ ) : De.set(!0), _r(e).then(() => {
4095
4095
  Te.set(e);
4096
4096
  }).finally(() => {
4097
- clearTimeout(n), De.set(!1);
4097
+ clearTimeout(r), De.set(!1);
4098
4098
  });
4099
4099
  }
4100
4100
  return Te.set(e);
@@ -4102,83 +4102,83 @@ const qi = (e) => {
4102
4102
  set: qi
4103
4103
  }), Oe = (e) => {
4104
4104
  const t = /* @__PURE__ */ Object.create(null);
4105
- return (r) => {
4106
- const i = JSON.stringify(r);
4107
- return i in t ? t[i] : t[i] = e(r);
4105
+ return (n) => {
4106
+ const i = JSON.stringify(n);
4107
+ return i in t ? t[i] : t[i] = e(n);
4108
4108
  };
4109
4109
  };
4110
- var Ki = Object.defineProperty, He = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Nt = (e, t, n) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ot = (e, t) => {
4111
- for (var n in t || (t = {}))
4112
- En.call(t, n) && Nt(e, n, t[n]);
4110
+ var Ki = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4111
+ for (var r in t || (t = {}))
4112
+ xr.call(t, r) && Nt(e, r, t[r]);
4113
4113
  if (He)
4114
- for (var n of He(t))
4115
- wn.call(t, n) && Nt(e, n, t[n]);
4114
+ for (var r of He(t))
4115
+ Er.call(t, r) && Nt(e, r, t[r]);
4116
4116
  return e;
4117
4117
  }, se = (e, t) => {
4118
- var n = {};
4119
- for (var r in e)
4120
- En.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4118
+ var r = {};
4119
+ for (var n in e)
4120
+ xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4121
4121
  if (e != null && He)
4122
- for (var r of He(e))
4123
- t.indexOf(r) < 0 && wn.call(e, r) && (n[r] = e[r]);
4124
- return n;
4122
+ for (var n of He(e))
4123
+ t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
4124
+ return r;
4125
4125
  };
4126
- const de = (e, t) => {
4127
- const { formats: n } = ie();
4128
- if (e in n && t in n[e])
4129
- return n[e][t];
4126
+ const me = (e, t) => {
4127
+ const { formats: r } = ie();
4128
+ if (e in r && t in r[e])
4129
+ return r[e][t];
4130
4130
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4131
4131
  }, eo = Oe(
4132
4132
  (e) => {
4133
- var t = e, { locale: n, format: r } = t, i = se(t, ["locale", "format"]);
4134
- if (n == null)
4133
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4134
+ if (r == null)
4135
4135
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4136
- return r && (i = de("number", r)), new Intl.NumberFormat(n, i);
4136
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
4137
4137
  }
4138
4138
  ), to = Oe(
4139
4139
  (e) => {
4140
- var t = e, { locale: n, format: r } = t, i = se(t, ["locale", "format"]);
4141
- if (n == null)
4140
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4141
+ if (r == null)
4142
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4143
- return r ? i = de("date", r) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(n, i);
4143
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
4144
4144
  }
4145
- ), no = Oe(
4145
+ ), ro = Oe(
4146
4146
  (e) => {
4147
- var t = e, { locale: n, format: r } = t, i = se(t, ["locale", "format"]);
4148
- if (n == null)
4147
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4148
+ if (r == null)
4149
4149
  throw new Error(
4150
4150
  '[svelte-i18n] A "locale" must be set to format time values'
4151
4151
  );
4152
- return r ? i = de("time", r) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(n, i);
4152
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
4153
4153
  }
4154
- ), ro = (e = {}) => {
4154
+ ), no = (e = {}) => {
4155
4155
  var t = e, {
4156
- locale: n = z()
4157
- } = t, r = se(t, [
4156
+ locale: r = z()
4157
+ } = t, n = se(t, [
4158
4158
  "locale"
4159
4159
  ]);
4160
- return eo(ot({ locale: n }, r));
4160
+ return eo(ot({ locale: r }, n));
4161
4161
  }, io = (e = {}) => {
4162
4162
  var t = e, {
4163
- locale: n = z()
4164
- } = t, r = se(t, [
4163
+ locale: r = z()
4164
+ } = t, n = se(t, [
4165
4165
  "locale"
4166
4166
  ]);
4167
- return to(ot({ locale: n }, r));
4167
+ return to(ot({ locale: r }, n));
4168
4168
  }, oo = (e = {}) => {
4169
4169
  var t = e, {
4170
- locale: n = z()
4171
- } = t, r = se(t, [
4170
+ locale: r = z()
4171
+ } = t, n = se(t, [
4172
4172
  "locale"
4173
4173
  ]);
4174
- return no(ot({ locale: n }, r));
4174
+ return ro(ot({ locale: r }, n));
4175
4175
  }, ao = Oe(
4176
4176
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4177
4177
  (e, t = z()) => new Ni(e, t, ie().formats, {
4178
4178
  ignoreTag: ie().ignoreTag
4179
4179
  })
4180
4180
  ), so = (e, t = {}) => {
4181
- var n, r, i, o;
4181
+ var r, n, i, o;
4182
4182
  let a = t;
4183
4183
  typeof e == "object" && (a = e, e = a.id);
4184
4184
  const {
@@ -4190,9 +4190,9 @@ const de = (e, t) => {
4190
4190
  throw new Error(
4191
4191
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4192
4192
  );
4193
- let u = gn(e, h);
4193
+ let u = br(e, h);
4194
4194
  if (!u)
4195
- u = (o = (i = (r = (n = ie()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4195
+ u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4196
4196
  else if (typeof u != "string")
4197
4197
  return console.warn(
4198
4198
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4209,20 +4209,20 @@ const de = (e, t) => {
4209
4209
  );
4210
4210
  }
4211
4211
  return f;
4212
- }, uo = (e, t) => oo(t).format(e), lo = (e, t) => io(t).format(e), ho = (e, t) => ro(t).format(e), co = (e, t = z()) => gn(e, t), fo = oe([k, ae], () => so);
4212
+ }, uo = (e, t) => oo(t).format(e), lo = (e, t) => io(t).format(e), ho = (e, t) => no(t).format(e), co = (e, t = z()) => br(e, t), fo = oe([k, ae], () => so);
4213
4213
  oe([k], () => uo);
4214
4214
  oe([k], () => lo);
4215
4215
  oe([k], () => ho);
4216
4216
  oe([k, ae], () => co);
4217
- window.emWidgets = { topic: Tr };
4217
+ window.emWidgets = { topic: Tn };
4218
4218
  const mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4219
4219
  function po({ withLocale: e, translations: t }) {
4220
- k.subscribe((n) => {
4221
- n == null && (ae.set(t), k.set(e));
4220
+ k.subscribe((r) => {
4221
+ r == null && (ae.set(t), k.set(e));
4222
4222
  });
4223
4223
  }
4224
4224
  function Ct(e, t) {
4225
- _n(e, t);
4225
+ yr(e, t);
4226
4226
  }
4227
4227
  function bo(e) {
4228
4228
  k.set(e);
@@ -4302,107 +4302,107 @@ const Lt = {
4302
4302
  }
4303
4303
  };
4304
4304
  function go(e) {
4305
- zn(e, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4305
+ Xr(e, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4306
4306
  }
4307
- function Mt(e, t, n) {
4308
- const r = e.slice();
4309
- return r[41] = t[n], r;
4307
+ function Mt(e, t, r) {
4308
+ const n = e.slice();
4309
+ return n[41] = t[r], n;
4310
4310
  }
4311
4311
  const yo = (e) => ({}), Gt = (e) => ({});
4312
4312
  function Ut(e) {
4313
- let t, n, r, i, o, a, s;
4313
+ let t, r, n, i, o, a, s;
4314
4314
  const h = (
4315
4315
  /*#slots*/
4316
4316
  e[22].close
4317
- ), l = kn(
4317
+ ), l = jr(
4318
4318
  h,
4319
4319
  e,
4320
4320
  /*$$scope*/
4321
4321
  e[21],
4322
4322
  Gt
4323
- ), u = l || _o();
4324
- function f(m, b) {
4323
+ ), u = l || vo();
4324
+ function f(d, b) {
4325
4325
  return (
4326
4326
  /*hasRandomGames*/
4327
- m[7] ? xo : vo
4327
+ d[7] ? xo : _o
4328
4328
  );
4329
4329
  }
4330
- let c = f(e), d = c(e);
4330
+ let c = f(e), m = c(e);
4331
4331
  return {
4332
4332
  c() {
4333
- t = S("div"), n = S("div"), r = S("span"), u && u.c(), i = j(), d.c(), g(r, "class", "ModalCloseBtn"), g(r, "role", "button"), g(n, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4333
+ t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = j(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4334
4334
  },
4335
- m(m, b) {
4336
- I(m, t, b), E(t, n), E(n, r), u && u.m(r, null), E(n, i), d.m(n, null), o = !0, a || (s = we(
4337
- r,
4335
+ m(d, b) {
4336
+ I(d, t, b), E(t, r), E(r, n), u && u.m(n, null), E(r, i), m.m(r, null), o = !0, a || (s = we(
4337
+ n,
4338
4338
  "click",
4339
4339
  /*closeModal*/
4340
4340
  e[12]
4341
4341
  ), a = !0);
4342
4342
  },
4343
- p(m, b) {
4343
+ p(d, b) {
4344
4344
  l && l.p && (!o || b[0] & /*$$scope*/
4345
- 2097152) && Wn(
4345
+ 2097152) && Vr(
4346
4346
  l,
4347
4347
  h,
4348
- m,
4348
+ d,
4349
4349
  /*$$scope*/
4350
- m[21],
4351
- o ? Vn(
4350
+ d[21],
4351
+ o ? kr(
4352
4352
  h,
4353
4353
  /*$$scope*/
4354
- m[21],
4354
+ d[21],
4355
4355
  b,
4356
4356
  yo
4357
- ) : Xn(
4357
+ ) : Wr(
4358
4358
  /*$$scope*/
4359
- m[21]
4359
+ d[21]
4360
4360
  ),
4361
4361
  Gt
4362
- ), c === (c = f(m)) && d ? d.p(m, b) : (d.d(1), d = c(m), d && (d.c(), d.m(n, null)));
4362
+ ), c === (c = f(d)) && m ? m.p(d, b) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4363
4363
  },
4364
- i(m) {
4365
- o || (ce(u, m), o = !0);
4364
+ i(d) {
4365
+ o || (ce(u, d), o = !0);
4366
4366
  },
4367
- o(m) {
4368
- je(u, m), o = !1;
4367
+ o(d) {
4368
+ je(u, d), o = !1;
4369
4369
  },
4370
- d(m) {
4371
- m && R(t), u && u.d(m), d.d(), a = !1, s();
4370
+ d(d) {
4371
+ d && R(t), u && u.d(d), m.d(), a = !1, s();
4372
4372
  }
4373
4373
  };
4374
4374
  }
4375
- function _o(e) {
4376
- let t, n;
4375
+ function vo(e) {
4376
+ let t, r;
4377
4377
  return {
4378
4378
  c() {
4379
- t = ct("svg"), n = ct("path"), g(n, "stroke-linecap", "round"), g(n, "stroke-linejoin", "round"), g(n, "stroke-width", "2"), g(n, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4379
+ t = ct("svg"), r = ct("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4380
4380
  },
4381
- m(r, i) {
4382
- I(r, t, i), E(t, n);
4381
+ m(n, i) {
4382
+ I(n, t, i), E(t, r);
4383
4383
  },
4384
4384
  p: M,
4385
- d(r) {
4386
- r && R(t);
4385
+ d(n) {
4386
+ n && R(t);
4387
4387
  }
4388
4388
  };
4389
4389
  }
4390
- function vo(e) {
4391
- let t, n = (
4390
+ function _o(e) {
4391
+ let t, r = (
4392
4392
  /*$_*/
4393
4393
  e[9]("noGames") + ""
4394
- ), r;
4394
+ ), n;
4395
4395
  return {
4396
4396
  c() {
4397
- t = S("p"), r = $(n), g(t, "class", "RandomGameLoading");
4397
+ t = S("p"), n = $(r), g(t, "class", "RandomGameLoading");
4398
4398
  },
4399
4399
  m(i, o) {
4400
- I(i, t, o), E(t, r);
4400
+ I(i, t, o), E(t, n);
4401
4401
  },
4402
4402
  p(i, o) {
4403
4403
  o[0] & /*$_*/
4404
- 512 && n !== (n = /*$_*/
4405
- i[9]("noGames") + "") && W(r, n);
4404
+ 512 && r !== (r = /*$_*/
4405
+ i[9]("noGames") + "") && W(n, r);
4406
4406
  },
4407
4407
  d(i) {
4408
4408
  i && R(t);
@@ -4410,7 +4410,7 @@ function vo(e) {
4410
4410
  };
4411
4411
  }
4412
4412
  function xo(e) {
4413
- let t, n, r, i, o = dt(
4413
+ let t, r, n, i, o = mt(
4414
4414
  /*gamesToShow*/
4415
4415
  e[4]
4416
4416
  ), a = [];
@@ -4425,28 +4425,28 @@ function xo(e) {
4425
4425
  let h = s(e), l = h(e);
4426
4426
  return {
4427
4427
  c() {
4428
- t = S("div"), n = S("main"), r = S("div");
4428
+ t = S("div"), r = S("main"), n = S("div");
4429
4429
  for (let u = 0; u < a.length; u += 1)
4430
4430
  a[u].c();
4431
- i = j(), l.c(), g(r, "class", "GamesContainer"), g(n, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4431
+ i = j(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4432
4432
  },
4433
4433
  m(u, f) {
4434
- I(u, t, f), E(t, n), E(n, r);
4434
+ I(u, t, f), E(t, r), E(r, n);
4435
4435
  for (let c = 0; c < a.length; c += 1)
4436
- a[c] && a[c].m(r, null);
4437
- e[23](r), E(t, i), l.m(t, null);
4436
+ a[c] && a[c].m(n, null);
4437
+ e[23](n), E(t, i), l.m(t, null);
4438
4438
  },
4439
4439
  p(u, f) {
4440
4440
  if (f[0] & /*gamesToShow*/
4441
4441
  16) {
4442
- o = dt(
4442
+ o = mt(
4443
4443
  /*gamesToShow*/
4444
4444
  u[4]
4445
4445
  );
4446
4446
  let c;
4447
4447
  for (c = 0; c < o.length; c += 1) {
4448
- const d = Mt(u, o, c);
4449
- a[c] ? a[c].p(d, f) : (a[c] = Dt(d), a[c].c(), a[c].m(r, null));
4448
+ const m = Mt(u, o, c);
4449
+ a[c] ? a[c].p(m, f) : (a[c] = Dt(m), a[c].c(), a[c].m(n, null));
4450
4450
  }
4451
4451
  for (; c < a.length; c += 1)
4452
4452
  a[c].d(1);
@@ -4455,30 +4455,30 @@ function xo(e) {
4455
4455
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4456
4456
  },
4457
4457
  d(u) {
4458
- u && R(t), Qn(a, u), e[23](null), l.d();
4458
+ u && R(t), Zr(a, u), e[23](null), l.d();
4459
4459
  }
4460
4460
  };
4461
4461
  }
4462
4462
  function Dt(e) {
4463
- let t, n, r, i, o, a;
4463
+ let t, r, n, i, o, a;
4464
4464
  return {
4465
4465
  c() {
4466
- t = S("div"), n = S("img"), a = j(), g(n, "class", "RandomGameImage"), ht(n.src, r = /*game*/
4467
- e[41].thumbnail) || g(n, "src", r), g(n, "alt", i = /*game*/
4468
- e[41].name), g(n, "title", o = /*game*/
4466
+ t = S("div"), r = S("img"), a = j(), g(r, "class", "RandomGameImage"), ht(r.src, n = /*game*/
4467
+ e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4468
+ e[41].name), g(r, "title", o = /*game*/
4469
4469
  e[41].name), g(t, "class", "item");
4470
4470
  },
4471
4471
  m(s, h) {
4472
- I(s, t, h), E(t, n), E(t, a);
4472
+ I(s, t, h), E(t, r), E(t, a);
4473
4473
  },
4474
4474
  p(s, h) {
4475
4475
  h[0] & /*gamesToShow*/
4476
- 16 && !ht(n.src, r = /*game*/
4477
- s[41].thumbnail) && g(n, "src", r), h[0] & /*gamesToShow*/
4476
+ 16 && !ht(r.src, n = /*game*/
4477
+ s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4478
4478
  16 && i !== (i = /*game*/
4479
- s[41].name) && g(n, "alt", i), h[0] & /*gamesToShow*/
4479
+ s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
4480
4480
  16 && o !== (o = /*game*/
4481
- s[41].name) && g(n, "title", o);
4481
+ s[41].name) && g(r, "title", o);
4482
4482
  },
4483
4483
  d(s) {
4484
4484
  s && R(t);
@@ -4486,21 +4486,21 @@ function Dt(e) {
4486
4486
  };
4487
4487
  }
4488
4488
  function Eo(e) {
4489
- let t, n = (
4489
+ let t, r = (
4490
4490
  /*$_*/
4491
4491
  e[9]("randomGameLoading") + ""
4492
- ), r;
4492
+ ), n;
4493
4493
  return {
4494
4494
  c() {
4495
- t = S("p"), r = $(n), g(t, "class", "RandomGameLoading");
4495
+ t = S("p"), n = $(r), g(t, "class", "RandomGameLoading");
4496
4496
  },
4497
4497
  m(i, o) {
4498
- I(i, t, o), E(t, r);
4498
+ I(i, t, o), E(t, n);
4499
4499
  },
4500
4500
  p(i, o) {
4501
4501
  o[0] & /*$_*/
4502
- 512 && n !== (n = /*$_*/
4503
- i[9]("randomGameLoading") + "") && W(r, n);
4502
+ 512 && r !== (r = /*$_*/
4503
+ i[9]("randomGameLoading") + "") && W(n, r);
4504
4504
  },
4505
4505
  d(i) {
4506
4506
  i && R(t);
@@ -4508,23 +4508,23 @@ function Eo(e) {
4508
4508
  };
4509
4509
  }
4510
4510
  function wo(e) {
4511
- let t, n, r, i, o = (
4511
+ let t, r, n, i, o = (
4512
4512
  /*randomGame*/
4513
4513
  e[3].name + ""
4514
4514
  ), a, s, h, l = (
4515
4515
  /*randomGame*/
4516
4516
  e[3].vendor.name + ""
4517
- ), u, f, c, d = (
4517
+ ), u, f, c, m = (
4518
4518
  /*$_*/
4519
4519
  e[9]("playNowRandomGame") + ""
4520
- ), m, b, B;
4520
+ ), d, b, B;
4521
4521
  return {
4522
4522
  c() {
4523
4523
  t = S("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
4524
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, n = j(), r = S("div"), i = S("p"), a = $(o), s = j(), h = S("p"), u = $(l), f = j(), c = S("button"), m = $(d), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(r, "class", "RandomGameDetails");
4524
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = j(), n = S("div"), i = S("p"), a = $(o), s = j(), h = S("p"), u = $(l), f = j(), c = S("button"), d = $(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4525
4525
  },
4526
4526
  m(T, H) {
4527
- I(T, t, H), I(T, n, H), I(T, r, H), E(r, i), E(i, a), E(r, s), E(r, h), E(h, u), E(r, f), E(r, c), E(c, m), b || (B = [
4527
+ I(T, t, H), I(T, r, H), I(T, n, H), E(n, i), E(i, a), E(n, s), E(n, h), E(h, u), E(n, f), E(n, c), E(c, d), b || (B = [
4528
4528
  we(
4529
4529
  t,
4530
4530
  "click",
@@ -4545,30 +4545,30 @@ function wo(e) {
4545
4545
  T[3].name + "") && W(a, o), H[0] & /*randomGame*/
4546
4546
  8 && l !== (l = /*randomGame*/
4547
4547
  T[3].vendor.name + "") && W(u, l), H[0] & /*$_*/
4548
- 512 && d !== (d = /*$_*/
4549
- T[9]("playNowRandomGame") + "") && W(m, d);
4548
+ 512 && m !== (m = /*$_*/
4549
+ T[9]("playNowRandomGame") + "") && W(d, m);
4550
4550
  },
4551
4551
  d(T) {
4552
- T && (R(t), R(n), R(r)), b = !1, X(B);
4552
+ T && (R(t), R(r), R(n)), b = !1, X(B);
4553
4553
  }
4554
4554
  };
4555
4555
  }
4556
4556
  function So(e) {
4557
- let t, n = (
4557
+ let t, r = (
4558
4558
  /*$_*/
4559
4559
  e[9]("playRandomGame") + ""
4560
- ), r;
4560
+ ), n;
4561
4561
  return {
4562
4562
  c() {
4563
- t = S("span"), r = $(n), g(t, "class", "RandomButtonText");
4563
+ t = S("span"), n = $(r), g(t, "class", "RandomButtonText");
4564
4564
  },
4565
4565
  m(i, o) {
4566
- I(i, t, o), E(t, r);
4566
+ I(i, t, o), E(t, n);
4567
4567
  },
4568
4568
  p(i, o) {
4569
4569
  o[0] & /*$_*/
4570
- 512 && n !== (n = /*$_*/
4571
- i[9]("playRandomGame") + "") && W(r, n);
4570
+ 512 && r !== (r = /*$_*/
4571
+ i[9]("playRandomGame") + "") && W(n, r);
4572
4572
  },
4573
4573
  d(i) {
4574
4574
  i && R(t);
@@ -4576,50 +4576,50 @@ function So(e) {
4576
4576
  };
4577
4577
  }
4578
4578
  function To(e) {
4579
- let t, n;
4579
+ let t, r;
4580
4580
  return {
4581
4581
  c() {
4582
- t = S("span"), n = $(
4582
+ t = S("span"), r = $(
4583
4583
  /*buttontext*/
4584
4584
  e[1]
4585
4585
  ), g(t, "class", "RandomButtonText");
4586
4586
  },
4587
- m(r, i) {
4588
- I(r, t, i), E(t, n);
4587
+ m(n, i) {
4588
+ I(n, t, i), E(t, r);
4589
4589
  },
4590
- p(r, i) {
4590
+ p(n, i) {
4591
4591
  i[0] & /*buttontext*/
4592
4592
  2 && W(
4593
- n,
4593
+ r,
4594
4594
  /*buttontext*/
4595
- r[1]
4595
+ n[1]
4596
4596
  );
4597
4597
  },
4598
- d(r) {
4599
- r && R(t);
4598
+ d(n) {
4599
+ n && R(t);
4600
4600
  }
4601
4601
  };
4602
4602
  }
4603
4603
  function Ho(e) {
4604
- let t, n, r, i, o, a, s, h, l, u = (
4604
+ let t, r, n, i, o, a, s, h, l, u = (
4605
4605
  /*show*/
4606
4606
  e[5] && Ut(e)
4607
4607
  );
4608
- function f(m, b) {
4608
+ function f(d, b) {
4609
4609
  if (
4610
4610
  /*buttontext*/
4611
- m[1]
4611
+ d[1]
4612
4612
  ) return To;
4613
4613
  if (!/*buttontext*/
4614
- m[1]) return So;
4614
+ d[1]) return So;
4615
4615
  }
4616
- let c = f(e), d = c && c(e);
4616
+ let c = f(e), m = c && c(e);
4617
4617
  return {
4618
4618
  c() {
4619
- t = S("div"), u && u.c(), n = j(), r = S("div"), i = S("button"), d && d.c(), o = j(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(r, "class", "RandomButtonWrapper"), g(t, "part", "CustomStylingContainer");
4619
+ t = S("div"), u && u.c(), r = j(), n = S("div"), i = S("button"), m && m.c(), o = j(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper"), g(t, "part", "CustomStylingContainer");
4620
4620
  },
4621
- m(m, b) {
4622
- I(m, t, b), u && u.m(t, null), E(t, n), E(t, r), E(r, i), d && d.m(i, null), E(i, o), E(i, a), a.innerHTML = /*randombuttonicon*/
4621
+ m(d, b) {
4622
+ I(d, t, b), u && u.m(t, null), E(t, r), E(t, n), E(n, i), m && m.m(i, null), E(i, o), E(i, a), a.innerHTML = /*randombuttonicon*/
4623
4623
  e[0], e[27](t), s = !0, h || (l = we(
4624
4624
  i,
4625
4625
  "click",
@@ -4627,32 +4627,32 @@ function Ho(e) {
4627
4627
  e[26]
4628
4628
  ), h = !0);
4629
4629
  },
4630
- p(m, b) {
4630
+ p(d, b) {
4631
4631
  /*show*/
4632
- m[5] ? u ? (u.p(m, b), b[0] & /*show*/
4633
- 32 && ce(u, 1)) : (u = Ut(m), u.c(), ce(u, 1), u.m(t, n)) : u && (nr(), je(u, 1, 1, () => {
4632
+ d[5] ? u ? (u.p(d, b), b[0] & /*show*/
4633
+ 32 && ce(u, 1)) : (u = Ut(d), u.c(), ce(u, 1), u.m(t, r)) : u && (tn(), je(u, 1, 1, () => {
4634
4634
  u = null;
4635
- }), rr()), c === (c = f(m)) && d ? d.p(m, b) : (d && d.d(1), d = c && c(m), d && (d.c(), d.m(i, o))), (!s || b[0] & /*randombuttonicon*/
4635
+ }), rn()), c === (c = f(d)) && m ? m.p(d, b) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || b[0] & /*randombuttonicon*/
4636
4636
  1) && (a.innerHTML = /*randombuttonicon*/
4637
- m[0]);
4637
+ d[0]);
4638
4638
  },
4639
- i(m) {
4639
+ i(d) {
4640
4640
  s || (ce(u), s = !0);
4641
4641
  },
4642
- o(m) {
4642
+ o(d) {
4643
4643
  je(u), s = !1;
4644
4644
  },
4645
- d(m) {
4646
- m && R(t), u && u.d(), d && d.d(), e[27](null), h = !1, l();
4645
+ d(d) {
4646
+ d && R(t), u && u.d(), m && m.d(), e[27](null), h = !1, l();
4647
4647
  }
4648
4648
  };
4649
4649
  }
4650
- function Bo(e, t, n) {
4651
- let r;
4652
- jn(e, fo, (p) => n(9, r = p));
4653
- let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { filteredrandomgamecategories: b = "" } = t, B = [], T = "", H, A = !1, G = !1, N = !1, J = window.navigator.userAgent, L, Z, at, me, st = null;
4650
+ function Bo(e, t, r) {
4651
+ let n;
4652
+ $r(e, fo, (p) => r(9, n = p));
4653
+ let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: b = "" } = t, B = [], T = "", H, A = !1, G = !1, N = !1, J = window.navigator.userAgent, L, Z, at, de, st = null;
4654
4654
  po({ withLocale: "en", translations: {} });
4655
- const Sn = () => {
4655
+ const wr = () => {
4656
4656
  fetch(c).then((x) => x.json()).then((x) => {
4657
4657
  Object.keys(x).forEach((O) => {
4658
4658
  Ct(O, x[O]);
@@ -4664,35 +4664,35 @@ function Bo(e, t, n) {
4664
4664
  Object.keys(Lt).forEach((p) => {
4665
4665
  Ct(p, Lt[p]);
4666
4666
  });
4667
- const Tn = () => {
4667
+ const Sr = () => {
4668
4668
  let p = new URL(`${a}/v1/casino/games`);
4669
4669
  p.searchParams.append("platform", mo(J)), p.searchParams.append("datasource", s), p.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && p.searchParams.append("filter", `groups=${b}`), p.searchParams.append("expand", "categories,vendor"), p.searchParams.append("pagination", "offset=0,limit=1000"), fetch(p.href).then((x) => x.json()).then((x) => {
4670
- B = x.items, B.length ? (n(4, H = Hn(B.slice(0, 19))), n(7, N = !0)) : (n(4, H = []), n(7, N = !1));
4670
+ B = x.items, B.length ? (r(4, H = Tr(B.slice(0, 19))), r(7, N = !0)) : (r(4, H = []), r(7, N = !1));
4671
4671
  }).catch((x) => {
4672
- console.log(x), n(7, N = !1);
4672
+ console.log(x), r(7, N = !1);
4673
4673
  });
4674
- }, Hn = (p) => {
4675
- const x = An(p);
4674
+ }, Tr = (p) => {
4675
+ const x = Br(p);
4676
4676
  return x.concat(x);
4677
- }, Bn = async () => {
4678
- await Kn(), me = Math.floor(Math.random() * (H.length / 2)) + H.length / 2, n(3, T = H[me]), at = Z.children[me];
4677
+ }, Hr = async () => {
4678
+ await qr(), de = Math.floor(Math.random() * (H.length / 2)) + H.length / 2, r(3, T = H[de]), at = Z.children[de];
4679
4679
  }, Ie = async () => {
4680
- n(6, G = !1), n(5, A = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Bn();
4681
- const p = window.getComputedStyle(Z).getPropertyValue("gap"), x = parseInt(p, 10) || 0, ue = (at.offsetHeight + x) * me, Un = [
4680
+ r(6, G = !1), r(5, A = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Hr();
4681
+ const p = window.getComputedStyle(Z).getPropertyValue("gap"), x = parseInt(p, 10) || 0, ue = (at.offsetHeight + x) * de, Gr = [
4682
4682
  { transform: "translateX(0px)" },
4683
4683
  { filter: "blur(5px)" },
4684
4684
  {
4685
4685
  transform: `translateY(-${ue}px)`
4686
4686
  }
4687
- ], Dn = {
4687
+ ], Ur = {
4688
4688
  duration: 2e3,
4689
4689
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4690
4690
  fill: "forwards"
4691
4691
  };
4692
- st = Z.animate(Un, Dn), st.onfinish = () => {
4693
- n(6, G = !0);
4692
+ st = Z.animate(Gr, Ur), st.onfinish = () => {
4693
+ r(6, G = !0);
4694
4694
  };
4695
- }, An = (p) => {
4695
+ }, Br = (p) => {
4696
4696
  const x = structuredClone(p);
4697
4697
  let O = x.length, ue;
4698
4698
  for (; O != 0; )
@@ -4705,19 +4705,19 @@ function Bo(e, t, n) {
4705
4705
  gameId: T.gId || T.id
4706
4706
  },
4707
4707
  window.location.href
4708
- ), n(5, A = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4708
+ ), r(5, A = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4709
4709
  context: "RandomGameWidget",
4710
4710
  gameId: `${T.gId || T.id}`
4711
4711
  });
4712
- }, Pn = () => {
4713
- n(5, A = !1), window.postMessage({ type: "RandomWidgetState", state: A }, window.location.href);
4714
- }, Rn = () => {
4712
+ }, Ar = () => {
4713
+ r(5, A = !1), window.postMessage({ type: "RandomWidgetState", state: A }, window.location.href);
4714
+ }, Pr = () => {
4715
4715
  bo(l);
4716
- }, On = () => {
4716
+ }, Rr = () => {
4717
4717
  let p = document.createElement("style");
4718
- p.innerHTML = d, L.appendChild(p);
4719
- }, In = () => {
4720
- let p = new URL(m), x = document.createElement("style");
4718
+ p.innerHTML = m, L.appendChild(p);
4719
+ }, Or = () => {
4720
+ let p = new URL(d), x = document.createElement("style");
4721
4721
  fetch(p.href).then((O) => O.text()).then((O) => {
4722
4722
  x.innerHTML = O, setTimeout(
4723
4723
  () => {
@@ -4727,26 +4727,26 @@ function Bo(e, t, n) {
4727
4727
  );
4728
4728
  });
4729
4729
  };
4730
- function Nn(p) {
4730
+ function Ir(p) {
4731
4731
  Se[p ? "unshift" : "push"](() => {
4732
- Z = p, n(8, Z);
4732
+ Z = p, r(8, Z);
4733
4733
  });
4734
4734
  }
4735
- const Cn = () => Ie(), Ln = () => ut(), Mn = () => Ie();
4736
- function Gn(p) {
4735
+ const Nr = () => Ie(), Cr = () => ut(), Lr = () => Ie();
4736
+ function Mr(p) {
4737
4737
  Se[p ? "unshift" : "push"](() => {
4738
- L = p, n(2, L);
4738
+ L = p, r(2, L);
4739
4739
  });
4740
4740
  }
4741
4741
  return e.$$set = (p) => {
4742
- "endpoint" in p && n(13, a = p.endpoint), "datasource" in p && n(14, s = p.datasource), "gameevent" in p && n(15, h = p.gameevent), "lang" in p && n(16, l = p.lang), "randombuttonicon" in p && n(0, u = p.randombuttonicon), "buttontext" in p && n(1, f = p.buttontext), "translationurl" in p && n(17, c = p.translationurl), "clientstyling" in p && n(18, d = p.clientstyling), "clientstylingurl" in p && n(19, m = p.clientstylingurl), "filteredrandomgamecategories" in p && n(20, b = p.filteredrandomgamecategories), "$$scope" in p && n(21, o = p.$$scope);
4742
+ "endpoint" in p && r(13, a = p.endpoint), "datasource" in p && r(14, s = p.datasource), "gameevent" in p && r(15, h = p.gameevent), "lang" in p && r(16, l = p.lang), "randombuttonicon" in p && r(0, u = p.randombuttonicon), "buttontext" in p && r(1, f = p.buttontext), "translationurl" in p && r(17, c = p.translationurl), "clientstyling" in p && r(18, m = p.clientstyling), "clientstylingurl" in p && r(19, d = p.clientstylingurl), "filteredrandomgamecategories" in p && r(20, b = p.filteredrandomgamecategories), "$$scope" in p && r(21, o = p.$$scope);
4743
4743
  }, e.$$.update = () => {
4744
4744
  e.$$.dirty[0] & /*lang*/
4745
- 65536 && l && Rn(), e.$$.dirty[0] & /*translationurl*/
4746
- 131072 && c && Sn(), e.$$.dirty[0] & /*endpoint, datasource*/
4747
- 24576 && a && s && Tn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4748
- 262148 && d && L && On(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4749
- 524292 && m && L && In();
4745
+ 65536 && l && Pr(), e.$$.dirty[0] & /*translationurl*/
4746
+ 131072 && c && wr(), e.$$.dirty[0] & /*endpoint, datasource*/
4747
+ 24576 && a && s && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4748
+ 262148 && m && L && Rr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4749
+ 524292 && d && L && Or();
4750
4750
  }, [
4751
4751
  u,
4752
4752
  f,
@@ -4757,30 +4757,30 @@ function Bo(e, t, n) {
4757
4757
  G,
4758
4758
  N,
4759
4759
  Z,
4760
- r,
4760
+ n,
4761
4761
  Ie,
4762
4762
  ut,
4763
- Pn,
4763
+ Ar,
4764
4764
  a,
4765
4765
  s,
4766
4766
  h,
4767
4767
  l,
4768
4768
  c,
4769
- d,
4770
4769
  m,
4770
+ d,
4771
4771
  b,
4772
4772
  o,
4773
4773
  i,
4774
- Nn,
4775
- Cn,
4776
- Ln,
4777
- Mn,
4778
- Gn
4774
+ Ir,
4775
+ Nr,
4776
+ Cr,
4777
+ Lr,
4778
+ Mr
4779
4779
  ];
4780
4780
  }
4781
- class Ao extends lr {
4781
+ class Ao extends ln {
4782
4782
  constructor(t) {
4783
- super(), sr(
4783
+ super(), sn(
4784
4784
  this,
4785
4785
  t,
4786
4786
  Bo,
@@ -4863,7 +4863,7 @@ class Ao extends lr {
4863
4863
  this.$$set({ filteredrandomgamecategories: t }), C();
4864
4864
  }
4865
4865
  }
4866
- ur(Ao, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
4866
+ un(Ao, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
4867
4867
  export {
4868
4868
  Ao as C
4869
4869
  };