@everymatrix/casino-tournaments-slider-controller 1.74.2 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- import { i as Vr, n as ze, s as Zr, r as gr, a as vr, b as qr, c as Yr, S as Wr, d as Kr, f as Ae, e as $r, g as Y, h as se, j as ge, k as h, x as yt, l as qe, m as C, o as at, t as wt, p as zt, q as en, u as Ye, v as tn, w as rn, y as nn, z as Vt, A as Er, B as J, C as on, D as br, E as Zt, F as an, G as qt, H as sn, I as un, J as it, K as ln } from "./CasinoTournamentsRank-CmoOfN4B.js";
2
- function Yt(e, { delay: t = 0, duration: r = 400, easing: n = Vr } = {}) {
1
+ import { i as Vn, n as ze, s as Zn, r as gn, a as vn, b as qn, c as Yn, S as Wn, d as Kn, f as Ae, e as $n, g as Y, h as se, j as ge, k as h, x as yt, l as qe, m as C, o as at, t as wt, p as Xt, q as er, u as Ye, v as tr, w as nr, y as En, z as J, A as rr, B as bn, C as zt, D as ir, E as Vt, F as or, G as ar, H as it, I as sr, J as ur, K as Zt } from "./CasinoTournamentsRank-EJ4CoSz6.js";
2
+ function qt(e, { delay: t = 0, duration: n = 400, easing: r = Vn } = {}) {
3
3
  const i = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
6
- duration: r,
7
- easing: n,
6
+ duration: n,
7
+ easing: r,
8
8
  css: (o) => `opacity: ${o * i}`
9
9
  };
10
10
  }
11
11
  const Pe = [];
12
- function hn(e, t) {
12
+ function lr(e, t) {
13
13
  return {
14
14
  subscribe: ft(e, t).subscribe
15
15
  };
16
16
  }
17
17
  function ft(e, t = ze) {
18
- let r;
19
- const n = /* @__PURE__ */ new Set();
18
+ let n;
19
+ const r = /* @__PURE__ */ new Set();
20
20
  function i(c) {
21
- if (vr(e, c) && (e = c, r)) {
21
+ if (vn(e, c) && (e = c, n)) {
22
22
  const d = !Pe.length;
23
- for (const u of n)
23
+ for (const u of r)
24
24
  u[1](), Pe.push(u, e);
25
25
  if (d) {
26
26
  for (let u = 0; u < Pe.length; u += 2)
@@ -34,18 +34,18 @@ function ft(e, t = ze) {
34
34
  }
35
35
  function f(c, d = ze) {
36
36
  const u = [c, d];
37
- return n.add(u), n.size === 1 && (r = t(i, o) || ze), c(e), () => {
38
- n.delete(u), n.size === 0 && r && (r(), r = null);
37
+ return r.add(u), r.size === 1 && (n = t(i, o) || ze), c(e), () => {
38
+ r.delete(u), r.size === 0 && n && (n(), n = null);
39
39
  };
40
40
  }
41
41
  return { set: i, update: o, subscribe: f };
42
42
  }
43
- function Fe(e, t, r) {
44
- const n = !Array.isArray(e), i = n ? [e] : e;
43
+ function Fe(e, t, n) {
44
+ const r = !Array.isArray(e), i = r ? [e] : e;
45
45
  if (!i.every(Boolean))
46
46
  throw new Error("derived() expects stores as input, got a falsy value");
47
47
  const o = t.length < 2;
48
- return hn(r, (f, c) => {
48
+ return lr(n, (f, c) => {
49
49
  let d = !1;
50
50
  const u = [];
51
51
  let l = 0, m = ze;
@@ -53,10 +53,10 @@ function Fe(e, t, r) {
53
53
  if (l)
54
54
  return;
55
55
  m();
56
- const U = t(n ? u[0] : u, f, c);
57
- o ? f(U) : m = qr(U) ? U : ze;
56
+ const U = t(r ? u[0] : u, f, c);
57
+ o ? f(U) : m = qn(U) ? U : ze;
58
58
  }, S = i.map(
59
- (U, T) => Zr(
59
+ (U, T) => Zn(
60
60
  U,
61
61
  (O) => {
62
62
  u[T] = O, l &= ~(1 << T), d && g();
@@ -67,85 +67,85 @@ function Fe(e, t, r) {
67
67
  )
68
68
  );
69
69
  return d = !0, g(), function() {
70
- gr(S), m(), d = !1;
70
+ gn(S), m(), d = !1;
71
71
  };
72
72
  });
73
73
  }
74
- var fn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
75
- function cn(e) {
74
+ var hr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
75
+ function fr(e) {
76
76
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
77
77
  }
78
- var dn = function(t) {
79
- return pn(t) && !An(t);
78
+ var cr = function(t) {
79
+ return dr(t) && !pr(t);
80
80
  };
81
- function pn(e) {
81
+ function dr(e) {
82
82
  return !!e && typeof e == "object";
83
83
  }
84
- function An(e) {
84
+ function pr(e) {
85
85
  var t = Object.prototype.toString.call(e);
86
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
86
+ return t === "[object RegExp]" || t === "[object Date]" || gr(e);
87
87
  }
88
- var mn = typeof Symbol == "function" && Symbol.for, gn = mn ? Symbol.for("react.element") : 60103;
89
- function vn(e) {
90
- return e.$$typeof === gn;
88
+ var Ar = typeof Symbol == "function" && Symbol.for, mr = Ar ? Symbol.for("react.element") : 60103;
89
+ function gr(e) {
90
+ return e.$$typeof === mr;
91
91
  }
92
- function En(e) {
92
+ function vr(e) {
93
93
  return Array.isArray(e) ? [] : {};
94
94
  }
95
95
  function Ve(e, t) {
96
- return t.clone !== !1 && t.isMergeableObject(e) ? Me(En(e), e, t) : e;
96
+ return t.clone !== !1 && t.isMergeableObject(e) ? Me(vr(e), e, t) : e;
97
97
  }
98
- function bn(e, t, r) {
99
- return e.concat(t).map(function(n) {
100
- return Ve(n, r);
98
+ function Er(e, t, n) {
99
+ return e.concat(t).map(function(r) {
100
+ return Ve(r, n);
101
101
  });
102
102
  }
103
- function yn(e, t) {
103
+ function br(e, t) {
104
104
  if (!t.customMerge)
105
105
  return Me;
106
- var r = t.customMerge(e);
107
- return typeof r == "function" ? r : Me;
106
+ var n = t.customMerge(e);
107
+ return typeof n == "function" ? n : Me;
108
108
  }
109
- function wn(e) {
109
+ function yr(e) {
110
110
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
111
111
  return Object.propertyIsEnumerable.call(e, t);
112
112
  }) : [];
113
113
  }
114
- function Wt(e) {
115
- return Object.keys(e).concat(wn(e));
114
+ function Yt(e) {
115
+ return Object.keys(e).concat(yr(e));
116
116
  }
117
- function yr(e, t) {
117
+ function yn(e, t) {
118
118
  try {
119
119
  return t in e;
120
120
  } catch {
121
121
  return !1;
122
122
  }
123
123
  }
124
- function In(e, t) {
125
- return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
124
+ function wr(e, t) {
125
+ return yn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
126
126
  }
127
- function xn(e, t, r) {
128
- var n = {};
129
- return r.isMergeableObject(e) && Wt(e).forEach(function(i) {
130
- n[i] = Ve(e[i], r);
131
- }), Wt(t).forEach(function(i) {
132
- In(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
133
- }), n;
127
+ function Ir(e, t, n) {
128
+ var r = {};
129
+ return n.isMergeableObject(e) && Yt(e).forEach(function(i) {
130
+ r[i] = Ve(e[i], n);
131
+ }), Yt(t).forEach(function(i) {
132
+ wr(e, i) || (yn(e, i) && n.isMergeableObject(t[i]) ? r[i] = br(i, n)(e[i], t[i], n) : r[i] = Ve(t[i], n));
133
+ }), r;
134
134
  }
135
- function Me(e, t, r) {
136
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = Ve;
137
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
138
- return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : Ve(t, r);
135
+ function Me(e, t, n) {
136
+ n = n || {}, n.arrayMerge = n.arrayMerge || Er, n.isMergeableObject = n.isMergeableObject || cr, n.cloneUnlessOtherwiseSpecified = Ve;
137
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
138
+ return o ? r ? n.arrayMerge(e, t, n) : Ir(e, t, n) : Ve(t, n);
139
139
  }
140
- Me.all = function(t, r) {
140
+ Me.all = function(t, n) {
141
141
  if (!Array.isArray(t))
142
142
  throw new Error("first argument should be an array");
143
- return t.reduce(function(n, i) {
144
- return Me(n, i, r);
143
+ return t.reduce(function(r, i) {
144
+ return Me(r, i, n);
145
145
  }, {});
146
146
  };
147
- var Bn = Me, Tn = Bn;
148
- const Hn = /* @__PURE__ */ cn(Tn);
147
+ var xr = Me, Br = xr;
148
+ const Tr = /* @__PURE__ */ fr(Br);
149
149
  /*! *****************************************************************************
150
150
  Copyright (c) Microsoft Corporation.
151
151
 
@@ -161,97 +161,99 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
161
161
  PERFORMANCE OF THIS SOFTWARE.
162
162
  ***************************************************************************** */
163
163
  var Ot = function(e, t) {
164
- return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
165
- r.__proto__ = n;
166
- } || function(r, n) {
167
- for (var i in n)
168
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
164
+ return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
165
+ n.__proto__ = r;
166
+ } || function(n, r) {
167
+ for (var i in r)
168
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
169
169
  }, Ot(e, t);
170
170
  };
171
171
  function ct(e, t) {
172
172
  if (typeof t != "function" && t !== null)
173
173
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
174
174
  Ot(e, t);
175
- function r() {
175
+ function n() {
176
176
  this.constructor = e;
177
177
  }
178
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
178
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
179
179
  }
180
180
  var F = function() {
181
181
  return F = Object.assign || function(t) {
182
- for (var r, n = 1, i = arguments.length; n < i; n++) {
183
- r = arguments[n];
184
- for (var o in r)
185
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
182
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
183
+ n = arguments[r];
184
+ for (var o in n)
185
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
186
186
  }
187
187
  return t;
188
188
  }, F.apply(this, arguments);
189
189
  };
190
- function Cn(e, t) {
191
- var r = {};
192
- for (var n in e)
193
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
190
+ function Hr(e, t) {
191
+ var n = {};
192
+ for (var r in e)
193
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
194
194
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
195
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
196
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
197
- return r;
195
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
196
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
197
+ return n;
198
198
  }
199
- function It(e, t, r) {
199
+ function It(e, t, n) {
200
200
  if (arguments.length === 2)
201
- for (var n = 0, i = t.length, o; n < i; n++)
202
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
201
+ for (var r = 0, i = t.length, o; r < i; r++)
202
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
203
203
  return e.concat(o || t);
204
204
  }
205
205
  function xt(e, t) {
206
- var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Sn;
206
+ var n = t && t.cache ? t.cache : Dr, r = t && t.serializer ? t.serializer : Nr, i = t && t.strategy ? t.strategy : Rr;
207
207
  return i(e, {
208
- cache: r,
209
- serializer: n
208
+ cache: n,
209
+ serializer: r
210
210
  });
211
211
  }
212
- function Rn(e) {
212
+ function Cr(e) {
213
213
  return e == null || typeof e == "number" || typeof e == "boolean";
214
214
  }
215
- function wr(e, t, r, n) {
216
- var i = Rn(n) ? n : r(n), o = t.get(i);
217
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
215
+ function wn(e, t, n, r) {
216
+ var i = Cr(r) ? r : n(r), o = t.get(i);
217
+ return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
218
218
  }
219
- function Ir(e, t, r) {
220
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
221
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
219
+ function In(e, t, n) {
220
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
221
+ return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
222
222
  }
223
- function _t(e, t, r, n, i) {
224
- return r.bind(t, e, n, i);
223
+ function _t(e, t, n, r, i) {
224
+ return n.bind(t, e, r, i);
225
225
  }
226
- function Sn(e, t) {
227
- var r = e.length === 1 ? wr : Ir;
228
- return _t(e, this, r, t.cache.create(), t.serializer);
226
+ function Rr(e, t) {
227
+ var n = e.length === 1 ? wn : In;
228
+ return _t(e, this, n, t.cache.create(), t.serializer);
229
229
  }
230
- function On(e, t) {
231
- return _t(e, this, Ir, t.cache.create(), t.serializer);
230
+ function Sr(e, t) {
231
+ return _t(e, this, In, t.cache.create(), t.serializer);
232
232
  }
233
- function Nn(e, t) {
234
- return _t(e, this, wr, t.cache.create(), t.serializer);
233
+ function Or(e, t) {
234
+ return _t(e, this, wn, t.cache.create(), t.serializer);
235
235
  }
236
- var Ln = function() {
236
+ var Nr = function() {
237
237
  return JSON.stringify(arguments);
238
- };
239
- function Qt() {
240
- this.cache = /* @__PURE__ */ Object.create(null);
241
- }
242
- Qt.prototype.get = function(e) {
243
- return this.cache[e];
244
- };
245
- Qt.prototype.set = function(e, t) {
246
- this.cache[e] = t;
247
- };
248
- var Dn = {
238
+ }, Lr = (
239
+ /** @class */
240
+ function() {
241
+ function e() {
242
+ this.cache = /* @__PURE__ */ Object.create(null);
243
+ }
244
+ return e.prototype.get = function(t) {
245
+ return this.cache[t];
246
+ }, e.prototype.set = function(t, n) {
247
+ this.cache[t] = n;
248
+ }, e;
249
+ }()
250
+ ), Dr = {
249
251
  create: function() {
250
- return new Qt();
252
+ return new Lr();
251
253
  }
252
254
  }, Bt = {
253
- variadic: On,
254
- monadic: Nn
255
+ variadic: Sr,
256
+ monadic: Or
255
257
  }, M;
256
258
  (function(e) {
257
259
  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";
@@ -264,50 +266,50 @@ var ke;
264
266
  (function(e) {
265
267
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
266
268
  })(ke || (ke = {}));
267
- function Kt(e) {
269
+ function Wt(e) {
268
270
  return e.type === V.literal;
269
271
  }
270
- function Pn(e) {
272
+ function Pr(e) {
271
273
  return e.type === V.argument;
272
274
  }
273
- function xr(e) {
275
+ function xn(e) {
274
276
  return e.type === V.number;
275
277
  }
276
- function Br(e) {
278
+ function Bn(e) {
277
279
  return e.type === V.date;
278
280
  }
279
- function Tr(e) {
281
+ function Tn(e) {
280
282
  return e.type === V.time;
281
283
  }
282
- function Hr(e) {
284
+ function Hn(e) {
283
285
  return e.type === V.select;
284
286
  }
285
- function Cr(e) {
287
+ function Cn(e) {
286
288
  return e.type === V.plural;
287
289
  }
288
- function Mn(e) {
290
+ function Mr(e) {
289
291
  return e.type === V.pound;
290
292
  }
291
- function Rr(e) {
293
+ function Rn(e) {
292
294
  return e.type === V.tag;
293
295
  }
294
- function Sr(e) {
296
+ function Sn(e) {
295
297
  return !!(e && typeof e == "object" && e.type === ke.number);
296
298
  }
297
299
  function Nt(e) {
298
300
  return !!(e && typeof e == "object" && e.type === ke.dateTime);
299
301
  }
300
- var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
301
- function Un(e) {
302
+ var On = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
303
+ function Ur(e) {
302
304
  var t = {};
303
- return e.replace(kn, function(r) {
304
- var n = r.length;
305
- switch (r[0]) {
305
+ return e.replace(kr, function(n) {
306
+ var r = n.length;
307
+ switch (n[0]) {
306
308
  case "G":
307
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
309
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
308
310
  break;
309
311
  case "y":
310
- t.year = n === 2 ? "2-digit" : "numeric";
312
+ t.year = r === 2 ? "2-digit" : "numeric";
311
313
  break;
312
314
  case "Y":
313
315
  case "u":
@@ -319,30 +321,30 @@ function Un(e) {
319
321
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
320
322
  case "M":
321
323
  case "L":
322
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
324
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
323
325
  break;
324
326
  case "w":
325
327
  case "W":
326
328
  throw new RangeError("`w/W` (week) patterns are not supported");
327
329
  case "d":
328
- t.day = ["numeric", "2-digit"][n - 1];
330
+ t.day = ["numeric", "2-digit"][r - 1];
329
331
  break;
330
332
  case "D":
331
333
  case "F":
332
334
  case "g":
333
335
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
334
336
  case "E":
335
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
337
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
336
338
  break;
337
339
  case "e":
338
- if (n < 4)
340
+ if (r < 4)
339
341
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
340
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
342
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
341
343
  break;
342
344
  case "c":
343
- if (n < 4)
345
+ if (r < 4)
344
346
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
345
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
347
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
346
348
  break;
347
349
  case "a":
348
350
  t.hour12 = !0;
@@ -351,32 +353,32 @@ function Un(e) {
351
353
  case "B":
352
354
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
353
355
  case "h":
354
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
356
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
355
357
  break;
356
358
  case "H":
357
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
359
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
358
360
  break;
359
361
  case "K":
360
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
362
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
361
363
  break;
362
364
  case "k":
363
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
365
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
364
366
  break;
365
367
  case "j":
366
368
  case "J":
367
369
  case "C":
368
370
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
369
371
  case "m":
370
- t.minute = ["numeric", "2-digit"][n - 1];
372
+ t.minute = ["numeric", "2-digit"][r - 1];
371
373
  break;
372
374
  case "s":
373
- t.second = ["numeric", "2-digit"][n - 1];
375
+ t.second = ["numeric", "2-digit"][r - 1];
374
376
  break;
375
377
  case "S":
376
378
  case "A":
377
379
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
378
380
  case "z":
379
- t.timeZoneName = n < 4 ? "short" : "long";
381
+ t.timeZoneName = r < 4 ? "short" : "long";
380
382
  break;
381
383
  case "Z":
382
384
  case "O":
@@ -389,14 +391,14 @@ function Un(e) {
389
391
  return "";
390
392
  }), t;
391
393
  }
392
- var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
393
- function Fn(e) {
394
+ var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
395
+ function Fr(e) {
394
396
  if (e.length === 0)
395
397
  throw new Error("Number skeleton cannot be empty");
396
- for (var t = e.split(Gn).filter(function(g) {
398
+ for (var t = e.split(Gr).filter(function(g) {
397
399
  return g.length > 0;
398
- }), r = [], n = 0, i = t; n < i.length; n++) {
399
- var o = i[n], f = o.split("/");
400
+ }), n = [], r = 0, i = t; r < i.length; r++) {
401
+ var o = i[r], f = o.split("/");
400
402
  if (f.length === 0)
401
403
  throw new Error("Invalid number skeleton");
402
404
  for (var c = f[0], d = f.slice(1), u = 0, l = d; u < l.length; u++) {
@@ -404,21 +406,21 @@ function Fn(e) {
404
406
  if (m.length === 0)
405
407
  throw new Error("Invalid number skeleton");
406
408
  }
407
- r.push({ stem: c, options: d });
409
+ n.push({ stem: c, options: d });
408
410
  }
409
- return r;
411
+ return n;
410
412
  }
411
- function _n(e) {
413
+ function _r(e) {
412
414
  return e.replace(/^(.*?)-/, "");
413
415
  }
414
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
415
- function er(e) {
416
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nn = /^(@+)?(\+|#+)?[rs]?$/g, Qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ln = /^(0+)$/;
417
+ function $t(e) {
416
418
  var t = {};
417
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
418
- 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)), "";
419
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nn, function(n, r, i) {
420
+ 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)), "";
419
421
  }), t;
420
422
  }
421
- function Dr(e) {
423
+ function Dn(e) {
422
424
  switch (e) {
423
425
  case "sign-auto":
424
426
  return {
@@ -458,27 +460,27 @@ function Dr(e) {
458
460
  };
459
461
  }
460
462
  }
461
- function jn(e) {
463
+ function jr(e) {
462
464
  var t;
463
465
  if (e[0] === "E" && e[1] === "E" ? (t = {
464
466
  notation: "engineering"
465
467
  }, e = e.slice(2)) : e[0] === "E" && (t = {
466
468
  notation: "scientific"
467
469
  }, e = e.slice(1)), t) {
468
- var r = e.slice(0, 2);
469
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
470
+ var n = e.slice(0, 2);
471
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ln.test(e))
470
472
  throw new Error("Malformed concise eng/scientific notation");
471
473
  t.minimumIntegerDigits = e.length;
472
474
  }
473
475
  return t;
474
476
  }
475
- function tr(e) {
476
- var t = {}, r = Dr(e);
477
- return r || t;
477
+ function en(e) {
478
+ var t = {}, n = Dn(e);
479
+ return n || t;
478
480
  }
479
- function Jn(e) {
480
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
481
- var i = n[r];
481
+ function Jr(e) {
482
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
483
+ var i = r[n];
482
484
  switch (i.stem) {
483
485
  case "percent":
484
486
  case "%":
@@ -500,7 +502,7 @@ function Jn(e) {
500
502
  continue;
501
503
  case "measure-unit":
502
504
  case "unit":
503
- t.style = "unit", t.unit = _n(i.options[0]);
505
+ t.style = "unit", t.unit = _r(i.options[0]);
504
506
  continue;
505
507
  case "compact-short":
506
508
  case "K":
@@ -512,12 +514,12 @@ function Jn(e) {
512
514
  continue;
513
515
  case "scientific":
514
516
  t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
515
- return F(F({}, d), tr(u));
517
+ return F(F({}, d), en(u));
516
518
  }, {}));
517
519
  continue;
518
520
  case "engineering":
519
521
  t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
520
- return F(F({}, d), tr(u));
522
+ return F(F({}, d), en(u));
521
523
  }, {}));
522
524
  continue;
523
525
  case "notation-simple":
@@ -562,7 +564,7 @@ function Jn(e) {
562
564
  case "integer-width":
563
565
  if (i.options.length > 1)
564
566
  throw new RangeError("integer-width stems only accept a single optional option");
565
- i.options[0].replace(Qn, function(d, u, l, m, g, S) {
567
+ i.options[0].replace(Qr, function(d, u, l, m, g, S) {
566
568
  if (u)
567
569
  t.minimumIntegerDigits = l.length;
568
570
  else {
@@ -575,27 +577,27 @@ function Jn(e) {
575
577
  });
576
578
  continue;
577
579
  }
578
- if (Lr.test(i.stem)) {
580
+ if (Ln.test(i.stem)) {
579
581
  t.minimumIntegerDigits = i.stem.length;
580
582
  continue;
581
583
  }
582
- if ($t.test(i.stem)) {
584
+ if (Kt.test(i.stem)) {
583
585
  if (i.options.length > 1)
584
586
  throw new RangeError("Fraction-precision stems only accept a single optional option");
585
- i.stem.replace($t, function(d, u, l, m, g, S) {
587
+ i.stem.replace(Kt, function(d, u, l, m, g, S) {
586
588
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : g && S ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
587
589
  });
588
590
  var o = i.options[0];
589
- o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), er(o)));
591
+ o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), $t(o)));
590
592
  continue;
591
593
  }
592
- if (Nr.test(i.stem)) {
593
- t = F(F({}, t), er(i.stem));
594
+ if (Nn.test(i.stem)) {
595
+ t = F(F({}, t), $t(i.stem));
594
596
  continue;
595
597
  }
596
- var f = Dr(i.stem);
598
+ var f = Dn(i.stem);
597
599
  f && (t = F(F({}, t), f));
598
- var c = jn(i.stem);
600
+ var c = jr(i.stem);
599
601
  c && (t = F(F({}, t), c));
600
602
  }
601
603
  return t;
@@ -2015,23 +2017,23 @@ var ot = {
2015
2017
  "h"
2016
2018
  ]
2017
2019
  };
2018
- function Xn(e, t) {
2019
- for (var r = "", n = 0; n < e.length; n++) {
2020
- var i = e.charAt(n);
2020
+ function Xr(e, t) {
2021
+ for (var n = "", r = 0; r < e.length; r++) {
2022
+ var i = e.charAt(r);
2021
2023
  if (i === "j") {
2022
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2023
- o++, n++;
2024
- var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = zn(t);
2024
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2025
+ o++, r++;
2026
+ var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = zr(t);
2025
2027
  for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
2026
- r += d;
2028
+ n += d;
2027
2029
  for (; f-- > 0; )
2028
- r = u + r;
2030
+ n = u + n;
2029
2031
  } else
2030
- i === "J" ? r += "H" : r += i;
2032
+ i === "J" ? n += "H" : n += i;
2031
2033
  }
2032
- return r;
2034
+ return n;
2033
2035
  }
2034
- function zn(e) {
2036
+ function zr(e) {
2035
2037
  var t = e.hourCycle;
2036
2038
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2037
2039
  e.hourCycles && // @ts-ignore
@@ -2048,73 +2050,73 @@ function zn(e) {
2048
2050
  default:
2049
2051
  throw new Error("Invalid hourCycle");
2050
2052
  }
2051
- var r = e.language, n;
2052
- r !== "root" && (n = e.maximize().region);
2053
- var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
2053
+ var n = e.language, r;
2054
+ n !== "root" && (r = e.maximize().region);
2055
+ var i = ot[r || ""] || ot[n || ""] || ot["".concat(n, "-001")] || ot["001"];
2054
2056
  return i[0];
2055
2057
  }
2056
- var Tt, Vn = new RegExp("^".concat(Or.source, "*")), Zn = new RegExp("".concat(Or.source, "*$"));
2058
+ var Tt, Vr = new RegExp("^".concat(On.source, "*")), Zr = new RegExp("".concat(On.source, "*$"));
2057
2059
  function k(e, t) {
2058
2060
  return { start: e, end: t };
2059
2061
  }
2060
- var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Wn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
2062
+ var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Wr = !!Object.fromEntries, Kr = !!String.prototype.codePointAt, $r = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ni = ti ? Number.isSafeInteger : function(e) {
2061
2063
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2062
2064
  }, Lt = !0;
2063
2065
  try {
2064
- var ni = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2065
- Lt = ((Tt = ni.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2066
+ var ri = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2067
+ Lt = ((Tt = ri.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2066
2068
  } catch {
2067
2069
  Lt = !1;
2068
2070
  }
2069
- var rr = qn ? (
2071
+ var tn = qr ? (
2070
2072
  // Native
2071
- function(t, r, n) {
2072
- return t.startsWith(r, n);
2073
+ function(t, n, r) {
2074
+ return t.startsWith(n, r);
2073
2075
  }
2074
2076
  ) : (
2075
2077
  // For IE11
2076
- function(t, r, n) {
2077
- return t.slice(n, n + r.length) === r;
2078
+ function(t, n, r) {
2079
+ return t.slice(r, r + n.length) === n;
2078
2080
  }
2079
- ), Dt = Yn ? String.fromCodePoint : (
2081
+ ), Dt = Yr ? String.fromCodePoint : (
2080
2082
  // IE11
2081
2083
  function() {
2082
- for (var t = [], r = 0; r < arguments.length; r++)
2083
- t[r] = arguments[r];
2084
- for (var n = "", i = t.length, o = 0, f; i > o; ) {
2084
+ for (var t = [], n = 0; n < arguments.length; n++)
2085
+ t[n] = arguments[n];
2086
+ for (var r = "", i = t.length, o = 0, f; i > o; ) {
2085
2087
  if (f = t[o++], f > 1114111)
2086
2088
  throw RangeError(f + " is not a valid code point");
2087
- n += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2089
+ r += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2088
2090
  }
2089
- return n;
2091
+ return r;
2090
2092
  }
2091
- ), nr = (
2093
+ ), nn = (
2092
2094
  // native
2093
- Wn ? Object.fromEntries : (
2095
+ Wr ? Object.fromEntries : (
2094
2096
  // Ponyfill
2095
2097
  function(t) {
2096
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2097
- var o = i[n], f = o[0], c = o[1];
2098
- r[f] = c;
2098
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2099
+ var o = i[r], f = o[0], c = o[1];
2100
+ n[f] = c;
2099
2101
  }
2100
- return r;
2102
+ return n;
2101
2103
  }
2102
2104
  )
2103
- ), Pr = Kn ? (
2105
+ ), Pn = Kr ? (
2104
2106
  // Native
2105
- function(t, r) {
2106
- return t.codePointAt(r);
2107
+ function(t, n) {
2108
+ return t.codePointAt(n);
2107
2109
  }
2108
2110
  ) : (
2109
2111
  // IE 11
2110
- function(t, r) {
2111
- var n = t.length;
2112
- if (!(r < 0 || r >= n)) {
2113
- var i = t.charCodeAt(r), o;
2114
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2112
+ function(t, n) {
2113
+ var r = t.length;
2114
+ if (!(n < 0 || n >= r)) {
2115
+ var i = t.charCodeAt(n), o;
2116
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2115
2117
  }
2116
2118
  }
2117
- ), ii = $n ? (
2119
+ ), ii = $r ? (
2118
2120
  // Native
2119
2121
  function(t) {
2120
2122
  return t.trimStart();
@@ -2122,7 +2124,7 @@ var rr = qn ? (
2122
2124
  ) : (
2123
2125
  // Ponyfill
2124
2126
  function(t) {
2125
- return t.replace(Vn, "");
2127
+ return t.replace(Vr, "");
2126
2128
  }
2127
2129
  ), oi = ei ? (
2128
2130
  // Native
@@ -2132,69 +2134,69 @@ var rr = qn ? (
2132
2134
  ) : (
2133
2135
  // Ponyfill
2134
2136
  function(t) {
2135
- return t.replace(Zn, "");
2137
+ return t.replace(Zr, "");
2136
2138
  }
2137
2139
  );
2138
- function Mr(e, t) {
2140
+ function Mn(e, t) {
2139
2141
  return new RegExp(e, t);
2140
2142
  }
2141
2143
  var Pt;
2142
2144
  if (Lt) {
2143
- var ir = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2144
- Pt = function(t, r) {
2145
- var n;
2146
- ir.lastIndex = r;
2147
- var i = ir.exec(t);
2148
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2145
+ var rn = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2146
+ Pt = function(t, n) {
2147
+ var r;
2148
+ rn.lastIndex = n;
2149
+ var i = rn.exec(t);
2150
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2149
2151
  };
2150
2152
  } else
2151
- Pt = function(t, r) {
2152
- for (var n = []; ; ) {
2153
- var i = Pr(t, r);
2154
- if (i === void 0 || kr(i) || li(i))
2153
+ Pt = function(t, n) {
2154
+ for (var r = []; ; ) {
2155
+ var i = Pn(t, n);
2156
+ if (i === void 0 || kn(i) || li(i))
2155
2157
  break;
2156
- n.push(i), r += i >= 65536 ? 2 : 1;
2158
+ r.push(i), n += i >= 65536 ? 2 : 1;
2157
2159
  }
2158
- return Dt.apply(void 0, n);
2160
+ return Dt.apply(void 0, r);
2159
2161
  };
2160
2162
  var ai = (
2161
2163
  /** @class */
2162
2164
  function() {
2163
- function e(t, r) {
2164
- 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;
2165
+ function e(t, n) {
2166
+ 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;
2165
2167
  }
2166
2168
  return e.prototype.parse = function() {
2167
2169
  if (this.offset() !== 0)
2168
2170
  throw Error("parser can only be used once");
2169
2171
  return this.parseMessage(0, "", !1);
2170
- }, e.prototype.parseMessage = function(t, r, n) {
2172
+ }, e.prototype.parseMessage = function(t, n, r) {
2171
2173
  for (var i = []; !this.isEOF(); ) {
2172
2174
  var o = this.char();
2173
2175
  if (o === 123) {
2174
- var f = this.parseArgument(t, n);
2176
+ var f = this.parseArgument(t, r);
2175
2177
  if (f.err)
2176
2178
  return f;
2177
2179
  i.push(f.val);
2178
2180
  } else {
2179
2181
  if (o === 125 && t > 0)
2180
2182
  break;
2181
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2183
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2182
2184
  var c = this.clonePosition();
2183
2185
  this.bump(), i.push({
2184
2186
  type: V.pound,
2185
2187
  location: k(c, this.clonePosition())
2186
2188
  });
2187
2189
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2188
- if (n)
2190
+ if (r)
2189
2191
  break;
2190
2192
  return this.error(M.UNMATCHED_CLOSING_TAG, k(this.clonePosition(), this.clonePosition()));
2191
2193
  } else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
2192
- var f = this.parseTag(t, r);
2194
+ var f = this.parseTag(t, n);
2193
2195
  if (f.err)
2194
2196
  return f;
2195
2197
  i.push(f.val);
2196
2198
  } else {
2197
- var f = this.parseLiteral(t, r);
2199
+ var f = this.parseLiteral(t, n);
2198
2200
  if (f.err)
2199
2201
  return f;
2200
2202
  i.push(f.val);
@@ -2202,8 +2204,8 @@ var ai = (
2202
2204
  }
2203
2205
  }
2204
2206
  return { val: i, err: null };
2205
- }, e.prototype.parseTag = function(t, r) {
2206
- var n = this.clonePosition();
2207
+ }, e.prototype.parseTag = function(t, n) {
2208
+ var r = this.clonePosition();
2207
2209
  this.bump();
2208
2210
  var i = this.parseTagName();
2209
2211
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2211,12 +2213,12 @@ var ai = (
2211
2213
  val: {
2212
2214
  type: V.literal,
2213
2215
  value: "<".concat(i, "/>"),
2214
- location: k(n, this.clonePosition())
2216
+ location: k(r, this.clonePosition())
2215
2217
  },
2216
2218
  err: null
2217
2219
  };
2218
2220
  if (this.bumpIf(">")) {
2219
- var o = this.parseMessage(t + 1, r, !0);
2221
+ var o = this.parseMessage(t + 1, n, !0);
2220
2222
  if (o.err)
2221
2223
  return o;
2222
2224
  var f = o.val, c = this.clonePosition();
@@ -2229,27 +2231,27 @@ var ai = (
2229
2231
  type: V.tag,
2230
2232
  value: i,
2231
2233
  children: f,
2232
- location: k(n, this.clonePosition())
2234
+ location: k(r, this.clonePosition())
2233
2235
  },
2234
2236
  err: null
2235
2237
  } : this.error(M.INVALID_TAG, k(c, this.clonePosition())));
2236
2238
  } else
2237
- return this.error(M.UNCLOSED_TAG, k(n, this.clonePosition()));
2239
+ return this.error(M.UNCLOSED_TAG, k(r, this.clonePosition()));
2238
2240
  } else
2239
- return this.error(M.INVALID_TAG, k(n, this.clonePosition()));
2241
+ return this.error(M.INVALID_TAG, k(r, this.clonePosition()));
2240
2242
  }, e.prototype.parseTagName = function() {
2241
2243
  var t = this.offset();
2242
2244
  for (this.bump(); !this.isEOF() && ui(this.char()); )
2243
2245
  this.bump();
2244
2246
  return this.message.slice(t, this.offset());
2245
- }, e.prototype.parseLiteral = function(t, r) {
2246
- for (var n = this.clonePosition(), i = ""; ; ) {
2247
- var o = this.tryParseQuote(r);
2247
+ }, e.prototype.parseLiteral = function(t, n) {
2248
+ for (var r = this.clonePosition(), i = ""; ; ) {
2249
+ var o = this.tryParseQuote(n);
2248
2250
  if (o) {
2249
2251
  i += o;
2250
2252
  continue;
2251
2253
  }
2252
- var f = this.tryParseUnquoted(t, r);
2254
+ var f = this.tryParseUnquoted(t, n);
2253
2255
  if (f) {
2254
2256
  i += f;
2255
2257
  continue;
@@ -2261,7 +2263,7 @@ var ai = (
2261
2263
  }
2262
2264
  break;
2263
2265
  }
2264
- var d = k(n, this.clonePosition());
2266
+ var d = k(r, this.clonePosition());
2265
2267
  return {
2266
2268
  val: { type: V.literal, value: i, location: d },
2267
2269
  err: null
@@ -2288,37 +2290,37 @@ var ai = (
2288
2290
  return null;
2289
2291
  }
2290
2292
  this.bump();
2291
- var r = [this.char()];
2293
+ var n = [this.char()];
2292
2294
  for (this.bump(); !this.isEOF(); ) {
2293
- var n = this.char();
2294
- if (n === 39)
2295
+ var r = this.char();
2296
+ if (r === 39)
2295
2297
  if (this.peek() === 39)
2296
- r.push(39), this.bump();
2298
+ n.push(39), this.bump();
2297
2299
  else {
2298
2300
  this.bump();
2299
2301
  break;
2300
2302
  }
2301
2303
  else
2302
- r.push(n);
2304
+ n.push(r);
2303
2305
  this.bump();
2304
2306
  }
2305
- return Dt.apply(void 0, r);
2306
- }, e.prototype.tryParseUnquoted = function(t, r) {
2307
+ return Dt.apply(void 0, n);
2308
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2307
2309
  if (this.isEOF())
2308
2310
  return null;
2309
- var n = this.char();
2310
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
2311
- }, e.prototype.parseArgument = function(t, r) {
2312
- var n = this.clonePosition();
2311
+ var r = this.char();
2312
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Dt(r));
2313
+ }, e.prototype.parseArgument = function(t, n) {
2314
+ var r = this.clonePosition();
2313
2315
  if (this.bump(), this.bumpSpace(), this.isEOF())
2314
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition()));
2316
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(r, this.clonePosition()));
2315
2317
  if (this.char() === 125)
2316
- return this.bump(), this.error(M.EMPTY_ARGUMENT, k(n, this.clonePosition()));
2318
+ return this.bump(), this.error(M.EMPTY_ARGUMENT, k(r, this.clonePosition()));
2317
2319
  var i = this.parseIdentifierIfPossible().value;
2318
2320
  if (!i)
2319
- return this.error(M.MALFORMED_ARGUMENT, k(n, this.clonePosition()));
2321
+ return this.error(M.MALFORMED_ARGUMENT, k(r, this.clonePosition()));
2320
2322
  if (this.bumpSpace(), this.isEOF())
2321
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition()));
2323
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(r, this.clonePosition()));
2322
2324
  switch (this.char()) {
2323
2325
  case 125:
2324
2326
  return this.bump(), {
@@ -2326,21 +2328,21 @@ var ai = (
2326
2328
  type: V.argument,
2327
2329
  // value does not include the opening and closing braces.
2328
2330
  value: i,
2329
- location: k(n, this.clonePosition())
2331
+ location: k(r, this.clonePosition())
2330
2332
  },
2331
2333
  err: null
2332
2334
  };
2333
2335
  case 44:
2334
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2336
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2335
2337
  default:
2336
- return this.error(M.MALFORMED_ARGUMENT, k(n, this.clonePosition()));
2338
+ return this.error(M.MALFORMED_ARGUMENT, k(r, this.clonePosition()));
2337
2339
  }
2338
2340
  }, e.prototype.parseIdentifierIfPossible = function() {
2339
- var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
2341
+ var t = this.clonePosition(), n = this.offset(), r = Pt(this.message, n), i = n + r.length;
2340
2342
  this.bumpTo(i);
2341
2343
  var o = this.clonePosition(), f = k(t, o);
2342
- return { value: n, location: f };
2343
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2344
+ return { value: r, location: f };
2345
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2344
2346
  var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2345
2347
  switch (c) {
2346
2348
  case "":
@@ -2365,27 +2367,27 @@ var ai = (
2365
2367
  if (U.err)
2366
2368
  return U;
2367
2369
  var T = k(i, this.clonePosition());
2368
- if (u && rr(u?.style, "::", 0)) {
2370
+ if (u && tn(u?.style, "::", 0)) {
2369
2371
  var O = ii(u.style.slice(2));
2370
2372
  if (c === "number") {
2371
2373
  var m = this.parseNumberSkeletonFromString(O, u.styleLocation);
2372
2374
  return m.err ? m : {
2373
- val: { type: V.number, value: n, location: T, style: m.val },
2375
+ val: { type: V.number, value: r, location: T, style: m.val },
2374
2376
  err: null
2375
2377
  };
2376
2378
  } else {
2377
2379
  if (O.length === 0)
2378
2380
  return this.error(M.EXPECT_DATE_TIME_SKELETON, T);
2379
2381
  var I = O;
2380
- this.locale && (I = Xn(O, this.locale));
2382
+ this.locale && (I = Xr(O, this.locale));
2381
2383
  var g = {
2382
2384
  type: ke.dateTime,
2383
2385
  pattern: I,
2384
2386
  location: u.styleLocation,
2385
- parsedOptions: this.shouldParseSkeletons ? Un(I) : {}
2387
+ parsedOptions: this.shouldParseSkeletons ? Ur(I) : {}
2386
2388
  }, X = c === "date" ? V.date : V.time;
2387
2389
  return {
2388
- val: { type: X, value: n, location: T, style: g },
2390
+ val: { type: X, value: r, location: T, style: g },
2389
2391
  err: null
2390
2392
  };
2391
2393
  }
@@ -2393,7 +2395,7 @@ var ai = (
2393
2395
  return {
2394
2396
  val: {
2395
2397
  type: c === "number" ? V.number : c === "date" ? V.date : V.time,
2396
- value: n,
2398
+ value: r,
2397
2399
  location: T,
2398
2400
  style: (o = u?.style) !== null && o !== void 0 ? o : null
2399
2401
  },
@@ -2417,7 +2419,7 @@ var ai = (
2417
2419
  return m;
2418
2420
  this.bumpSpace(), G = this.parseIdentifierIfPossible(), N = m.val;
2419
2421
  }
2420
- var b = this.tryParsePluralOrSelectOptions(t, c, r, G);
2422
+ var b = this.tryParsePluralOrSelectOptions(t, c, n, G);
2421
2423
  if (b.err)
2422
2424
  return b;
2423
2425
  var U = this.tryParseArgumentClose(i);
@@ -2427,16 +2429,16 @@ var ai = (
2427
2429
  return c === "select" ? {
2428
2430
  val: {
2429
2431
  type: V.select,
2430
- value: n,
2431
- options: nr(b.val),
2432
+ value: r,
2433
+ options: nn(b.val),
2432
2434
  location: B
2433
2435
  },
2434
2436
  err: null
2435
2437
  } : {
2436
2438
  val: {
2437
2439
  type: V.plural,
2438
- value: n,
2439
- options: nr(b.val),
2440
+ value: r,
2441
+ options: nn(b.val),
2440
2442
  offset: N,
2441
2443
  pluralType: c === "plural" ? "cardinal" : "ordinal",
2442
2444
  location: B
@@ -2450,9 +2452,9 @@ var ai = (
2450
2452
  }, e.prototype.tryParseArgumentClose = function(t) {
2451
2453
  return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2452
2454
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2453
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2454
- var n = this.char();
2455
- switch (n) {
2455
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2456
+ var r = this.char();
2457
+ switch (r) {
2456
2458
  case 39: {
2457
2459
  this.bump();
2458
2460
  var i = this.clonePosition();
@@ -2470,7 +2472,7 @@ var ai = (
2470
2472
  t -= 1;
2471
2473
  else
2472
2474
  return {
2473
- val: this.message.slice(r.offset, this.offset()),
2475
+ val: this.message.slice(n.offset, this.offset()),
2474
2476
  err: null
2475
2477
  };
2476
2478
  break;
@@ -2481,30 +2483,30 @@ var ai = (
2481
2483
  }
2482
2484
  }
2483
2485
  return {
2484
- val: this.message.slice(r.offset, this.offset()),
2486
+ val: this.message.slice(n.offset, this.offset()),
2485
2487
  err: null
2486
2488
  };
2487
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2488
- var n = [];
2489
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2490
+ var r = [];
2489
2491
  try {
2490
- n = Fn(t);
2492
+ r = Fr(t);
2491
2493
  } catch {
2492
- return this.error(M.INVALID_NUMBER_SKELETON, r);
2494
+ return this.error(M.INVALID_NUMBER_SKELETON, n);
2493
2495
  }
2494
2496
  return {
2495
2497
  val: {
2496
2498
  type: ke.number,
2497
- tokens: n,
2498
- location: r,
2499
- parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
2499
+ tokens: r,
2500
+ location: n,
2501
+ parsedOptions: this.shouldParseSkeletons ? Jr(r) : {}
2500
2502
  },
2501
2503
  err: null
2502
2504
  };
2503
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2505
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2504
2506
  for (var o, f = !1, c = [], d = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2505
2507
  if (u.length === 0) {
2506
2508
  var m = this.clonePosition();
2507
- if (r !== "select" && this.bumpIf("=")) {
2509
+ if (n !== "select" && this.bumpIf("=")) {
2508
2510
  var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2509
2511
  if (g.err)
2510
2512
  return g;
@@ -2513,12 +2515,12 @@ var ai = (
2513
2515
  break;
2514
2516
  }
2515
2517
  if (d.has(u))
2516
- return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2518
+ return this.error(n === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2517
2519
  u === "other" && (f = !0), this.bumpSpace();
2518
2520
  var S = this.clonePosition();
2519
2521
  if (!this.bumpIf("{"))
2520
- return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
2521
- var U = this.parseMessage(t + 1, r, n);
2522
+ return this.error(n === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
2523
+ var U = this.parseMessage(t + 1, n, r);
2522
2524
  if (U.err)
2523
2525
  return U;
2524
2526
  var T = this.tryParseArgumentClose(S);
@@ -2532,10 +2534,10 @@ var ai = (
2532
2534
  }
2533
2535
  ]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2534
2536
  }
2535
- return c.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(M.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2536
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
2537
- var n = 1, i = this.clonePosition();
2538
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2537
+ return c.length === 0 ? this.error(n === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(M.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2538
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
2539
+ var r = 1, i = this.clonePosition();
2540
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
2539
2541
  for (var o = !1, f = 0; !this.isEOF(); ) {
2540
2542
  var c = this.char();
2541
2543
  if (c >= 48 && c <= 57)
@@ -2544,7 +2546,7 @@ var ai = (
2544
2546
  break;
2545
2547
  }
2546
2548
  var d = k(i, this.clonePosition());
2547
- return o ? (f *= n, ri(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2549
+ return o ? (f *= r, ni(f) ? { val: f, err: null } : this.error(n, d)) : this.error(t, d);
2548
2550
  }, e.prototype.offset = function() {
2549
2551
  return this.position.offset;
2550
2552
  }, e.prototype.isEOF = function() {
@@ -2559,17 +2561,17 @@ var ai = (
2559
2561
  var t = this.position.offset;
2560
2562
  if (t >= this.message.length)
2561
2563
  throw Error("out of bound");
2562
- var r = Pr(this.message, t);
2563
- if (r === void 0)
2564
+ var n = Pn(this.message, t);
2565
+ if (n === void 0)
2564
2566
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2565
- return r;
2566
- }, e.prototype.error = function(t, r) {
2567
+ return n;
2568
+ }, e.prototype.error = function(t, n) {
2567
2569
  return {
2568
2570
  val: null,
2569
2571
  err: {
2570
2572
  kind: t,
2571
2573
  message: this.message,
2572
- location: r
2574
+ location: n
2573
2575
  }
2574
2576
  };
2575
2577
  }, e.prototype.bump = function() {
@@ -2578,35 +2580,35 @@ var ai = (
2578
2580
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2579
2581
  }
2580
2582
  }, e.prototype.bumpIf = function(t) {
2581
- if (rr(this.message, t, this.offset())) {
2582
- for (var r = 0; r < t.length; r++)
2583
+ if (tn(this.message, t, this.offset())) {
2584
+ for (var n = 0; n < t.length; n++)
2583
2585
  this.bump();
2584
2586
  return !0;
2585
2587
  }
2586
2588
  return !1;
2587
2589
  }, e.prototype.bumpUntil = function(t) {
2588
- var r = this.offset(), n = this.message.indexOf(t, r);
2589
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2590
+ var n = this.offset(), r = this.message.indexOf(t, n);
2591
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
2590
2592
  }, e.prototype.bumpTo = function(t) {
2591
2593
  if (this.offset() > t)
2592
2594
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
2593
2595
  for (t = Math.min(t, this.message.length); ; ) {
2594
- var r = this.offset();
2595
- if (r === t)
2596
+ var n = this.offset();
2597
+ if (n === t)
2596
2598
  break;
2597
- if (r > t)
2599
+ if (n > t)
2598
2600
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2599
2601
  if (this.bump(), this.isEOF())
2600
2602
  break;
2601
2603
  }
2602
2604
  }, e.prototype.bumpSpace = function() {
2603
- for (; !this.isEOF() && kr(this.char()); )
2605
+ for (; !this.isEOF() && kn(this.char()); )
2604
2606
  this.bump();
2605
2607
  }, e.prototype.peek = function() {
2606
2608
  if (this.isEOF())
2607
2609
  return null;
2608
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
2609
- return n ?? null;
2610
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
2611
+ return r ?? null;
2610
2612
  }, e;
2611
2613
  }()
2612
2614
  );
@@ -2619,7 +2621,7 @@ function si(e) {
2619
2621
  function ui(e) {
2620
2622
  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;
2621
2623
  }
2622
- function kr(e) {
2624
+ function kn(e) {
2623
2625
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2624
2626
  }
2625
2627
  function li(e) {
@@ -2627,21 +2629,21 @@ function li(e) {
2627
2629
  }
2628
2630
  function kt(e) {
2629
2631
  e.forEach(function(t) {
2630
- if (delete t.location, Hr(t) || Cr(t))
2631
- for (var r in t.options)
2632
- delete t.options[r].location, kt(t.options[r].value);
2632
+ if (delete t.location, Hn(t) || Cn(t))
2633
+ for (var n in t.options)
2634
+ delete t.options[n].location, kt(t.options[n].value);
2633
2635
  else
2634
- xr(t) && Sr(t.style) || (Br(t) || Tr(t)) && Nt(t.style) ? delete t.style.location : Rr(t) && kt(t.children);
2636
+ xn(t) && Sn(t.style) || (Bn(t) || Tn(t)) && Nt(t.style) ? delete t.style.location : Rn(t) && kt(t.children);
2635
2637
  });
2636
2638
  }
2637
2639
  function hi(e, t) {
2638
2640
  t === void 0 && (t = {}), t = F({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2639
- var r = new ai(e, t).parse();
2640
- if (r.err) {
2641
- var n = SyntaxError(M[r.err.kind]);
2642
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2641
+ var n = new ai(e, t).parse();
2642
+ if (n.err) {
2643
+ var r = SyntaxError(M[n.err.kind]);
2644
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
2643
2645
  }
2644
- return t?.captureLocation || kt(r.val), r.val;
2646
+ return t?.captureLocation || kt(n.val), n.val;
2645
2647
  }
2646
2648
  var Ue;
2647
2649
  (function(e) {
@@ -2651,20 +2653,20 @@ var dt = (
2651
2653
  /** @class */
2652
2654
  function(e) {
2653
2655
  ct(t, e);
2654
- function t(r, n, i) {
2655
- var o = e.call(this, r) || this;
2656
- return o.code = n, o.originalMessage = i, o;
2656
+ function t(n, r, i) {
2657
+ var o = e.call(this, n) || this;
2658
+ return o.code = r, o.originalMessage = i, o;
2657
2659
  }
2658
2660
  return t.prototype.toString = function() {
2659
2661
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2660
2662
  }, t;
2661
2663
  }(Error)
2662
- ), or = (
2664
+ ), on = (
2663
2665
  /** @class */
2664
2666
  function(e) {
2665
2667
  ct(t, e);
2666
- function t(r, n, i, o) {
2667
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ue.INVALID_VALUE, o) || this;
2668
+ function t(n, r, i, o) {
2669
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ue.INVALID_VALUE, o) || this;
2668
2670
  }
2669
2671
  return t;
2670
2672
  }(dt)
@@ -2672,8 +2674,8 @@ var dt = (
2672
2674
  /** @class */
2673
2675
  function(e) {
2674
2676
  ct(t, e);
2675
- function t(r, n, i) {
2676
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ue.INVALID_VALUE, i) || this;
2677
+ function t(n, r, i) {
2678
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Ue.INVALID_VALUE, i) || this;
2677
2679
  }
2678
2680
  return t;
2679
2681
  }(dt)
@@ -2681,8 +2683,8 @@ var dt = (
2681
2683
  /** @class */
2682
2684
  function(e) {
2683
2685
  ct(t, e);
2684
- function t(r, n) {
2685
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ue.MISSING_VALUE, n) || this;
2686
+ function t(n, r) {
2687
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Ue.MISSING_VALUE, r) || this;
2686
2688
  }
2687
2689
  return t;
2688
2690
  }(dt)
@@ -2691,16 +2693,16 @@ var dt = (
2691
2693
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2692
2694
  })(ie || (ie = {}));
2693
2695
  function di(e) {
2694
- return e.length < 2 ? e : e.reduce(function(t, r) {
2695
- var n = t[t.length - 1];
2696
- return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
2696
+ return e.length < 2 ? e : e.reduce(function(t, n) {
2697
+ var r = t[t.length - 1];
2698
+ return !r || r.type !== ie.literal || n.type !== ie.literal ? t.push(n) : r.value += n.value, t;
2697
2699
  }, []);
2698
2700
  }
2699
2701
  function pi(e) {
2700
2702
  return typeof e == "function";
2701
2703
  }
2702
- function st(e, t, r, n, i, o, f) {
2703
- if (e.length === 1 && Kt(e[0]))
2704
+ function st(e, t, n, r, i, o, f) {
2705
+ if (e.length === 1 && Wt(e[0]))
2704
2706
  return [
2705
2707
  {
2706
2708
  type: ie.literal,
@@ -2709,17 +2711,17 @@ function st(e, t, r, n, i, o, f) {
2709
2711
  ];
2710
2712
  for (var c = [], d = 0, u = e; d < u.length; d++) {
2711
2713
  var l = u[d];
2712
- if (Kt(l)) {
2714
+ if (Wt(l)) {
2713
2715
  c.push({
2714
2716
  type: ie.literal,
2715
2717
  value: l.value
2716
2718
  });
2717
2719
  continue;
2718
2720
  }
2719
- if (Mn(l)) {
2721
+ if (Mr(l)) {
2720
2722
  typeof o == "number" && c.push({
2721
2723
  type: ie.literal,
2722
- value: r.getNumberFormat(t).format(o)
2724
+ value: n.getNumberFormat(t).format(o)
2723
2725
  });
2724
2726
  continue;
2725
2727
  }
@@ -2727,42 +2729,42 @@ function st(e, t, r, n, i, o, f) {
2727
2729
  if (!(i && m in i))
2728
2730
  throw new ci(m, f);
2729
2731
  var g = i[m];
2730
- if (Pn(l)) {
2732
+ if (Pr(l)) {
2731
2733
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), c.push({
2732
2734
  type: typeof g == "string" ? ie.literal : ie.object,
2733
2735
  value: g
2734
2736
  });
2735
2737
  continue;
2736
2738
  }
2737
- if (Br(l)) {
2738
- var S = typeof l.style == "string" ? n.date[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
2739
+ if (Bn(l)) {
2740
+ var S = typeof l.style == "string" ? r.date[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
2739
2741
  c.push({
2740
2742
  type: ie.literal,
2741
- value: r.getDateTimeFormat(t, S).format(g)
2743
+ value: n.getDateTimeFormat(t, S).format(g)
2742
2744
  });
2743
2745
  continue;
2744
2746
  }
2745
- if (Tr(l)) {
2746
- var S = typeof l.style == "string" ? n.time[l.style] : Nt(l.style) ? l.style.parsedOptions : n.time.medium;
2747
+ if (Tn(l)) {
2748
+ var S = typeof l.style == "string" ? r.time[l.style] : Nt(l.style) ? l.style.parsedOptions : r.time.medium;
2747
2749
  c.push({
2748
2750
  type: ie.literal,
2749
- value: r.getDateTimeFormat(t, S).format(g)
2751
+ value: n.getDateTimeFormat(t, S).format(g)
2750
2752
  });
2751
2753
  continue;
2752
2754
  }
2753
- if (xr(l)) {
2754
- var S = typeof l.style == "string" ? n.number[l.style] : Sr(l.style) ? l.style.parsedOptions : void 0;
2755
+ if (xn(l)) {
2756
+ var S = typeof l.style == "string" ? r.number[l.style] : Sn(l.style) ? l.style.parsedOptions : void 0;
2755
2757
  S && S.scale && (g = g * (S.scale || 1)), c.push({
2756
2758
  type: ie.literal,
2757
- value: r.getNumberFormat(t, S).format(g)
2759
+ value: n.getNumberFormat(t, S).format(g)
2758
2760
  });
2759
2761
  continue;
2760
2762
  }
2761
- if (Rr(l)) {
2763
+ if (Rn(l)) {
2762
2764
  var U = l.children, T = l.value, O = i[T];
2763
2765
  if (!pi(O))
2764
2766
  throw new fi(T, "function", f);
2765
- var I = st(U, t, r, n, i, o), X = O(I.map(function(N) {
2767
+ var I = st(U, t, n, r, i, o), X = O(I.map(function(N) {
2766
2768
  return N.value;
2767
2769
  }));
2768
2770
  Array.isArray(X) || (X = [X]), c.push.apply(c, X.map(function(N) {
@@ -2772,39 +2774,39 @@ function st(e, t, r, n, i, o, f) {
2772
2774
  };
2773
2775
  }));
2774
2776
  }
2775
- if (Hr(l)) {
2777
+ if (Hn(l)) {
2776
2778
  var H = l.options[g] || l.options.other;
2777
2779
  if (!H)
2778
- throw new or(l.value, g, Object.keys(l.options), f);
2779
- c.push.apply(c, st(H.value, t, r, n, i));
2780
+ throw new on(l.value, g, Object.keys(l.options), f);
2781
+ c.push.apply(c, st(H.value, t, n, r, i));
2780
2782
  continue;
2781
2783
  }
2782
- if (Cr(l)) {
2784
+ if (Cn(l)) {
2783
2785
  var H = l.options["=".concat(g)];
2784
2786
  if (!H) {
2785
2787
  if (!Intl.PluralRules)
2786
2788
  throw new dt(`Intl.PluralRules is not available in this environment.
2787
2789
  Try polyfilling it using "@formatjs/intl-pluralrules"
2788
2790
  `, Ue.MISSING_INTL_API, f);
2789
- var G = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
2791
+ var G = n.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
2790
2792
  H = l.options[G] || l.options.other;
2791
2793
  }
2792
2794
  if (!H)
2793
- throw new or(l.value, g, Object.keys(l.options), f);
2794
- c.push.apply(c, st(H.value, t, r, n, i, g - (l.offset || 0)));
2795
+ throw new on(l.value, g, Object.keys(l.options), f);
2796
+ c.push.apply(c, st(H.value, t, n, r, i, g - (l.offset || 0)));
2795
2797
  continue;
2796
2798
  }
2797
2799
  }
2798
2800
  return di(c);
2799
2801
  }
2800
2802
  function Ai(e, t) {
2801
- return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2802
- return r[n] = F(F({}, e[n]), t[n] || {}), r;
2803
+ return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
2804
+ return n[r] = F(F({}, e[r]), t[r] || {}), n;
2803
2805
  }, {})) : e;
2804
2806
  }
2805
2807
  function mi(e, t) {
2806
- return t ? Object.keys(e).reduce(function(r, n) {
2807
- return r[n] = Ai(e[n], t[n]), r;
2808
+ return t ? Object.keys(e).reduce(function(n, r) {
2809
+ return n[r] = Ai(e[r], t[r]), n;
2808
2810
  }, F({}, e)) : e;
2809
2811
  }
2810
2812
  function Ht(e) {
@@ -2814,8 +2816,8 @@ function Ht(e) {
2814
2816
  get: function(t) {
2815
2817
  return e[t];
2816
2818
  },
2817
- set: function(t, r) {
2818
- e[t] = r;
2819
+ set: function(t, n) {
2820
+ e[t] = n;
2819
2821
  }
2820
2822
  };
2821
2823
  }
@@ -2828,25 +2830,25 @@ function gi(e) {
2828
2830
  pluralRules: {}
2829
2831
  }), {
2830
2832
  getNumberFormat: xt(function() {
2831
- for (var t, r = [], n = 0; n < arguments.length; n++)
2832
- r[n] = arguments[n];
2833
- return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
2833
+ for (var t, n = [], r = 0; r < arguments.length; r++)
2834
+ n[r] = arguments[r];
2835
+ return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], n, !1)))();
2834
2836
  }, {
2835
2837
  cache: Ht(e.number),
2836
2838
  strategy: Bt.variadic
2837
2839
  }),
2838
2840
  getDateTimeFormat: xt(function() {
2839
- for (var t, r = [], n = 0; n < arguments.length; n++)
2840
- r[n] = arguments[n];
2841
- return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
2841
+ for (var t, n = [], r = 0; r < arguments.length; r++)
2842
+ n[r] = arguments[r];
2843
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], n, !1)))();
2842
2844
  }, {
2843
2845
  cache: Ht(e.dateTime),
2844
2846
  strategy: Bt.variadic
2845
2847
  }),
2846
2848
  getPluralRules: xt(function() {
2847
- for (var t, r = [], n = 0; n < arguments.length; n++)
2848
- r[n] = arguments[n];
2849
- return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
2849
+ for (var t, n = [], r = 0; r < arguments.length; r++)
2850
+ n[r] = arguments[r];
2851
+ return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], n, !1)))();
2850
2852
  }, {
2851
2853
  cache: Ht(e.pluralRules),
2852
2854
  strategy: Bt.variadic
@@ -2856,8 +2858,8 @@ function gi(e) {
2856
2858
  var vi = (
2857
2859
  /** @class */
2858
2860
  function() {
2859
- function e(t, r, n, i) {
2860
- r === void 0 && (r = e.defaultLocale);
2861
+ function e(t, n, r, i) {
2862
+ n === void 0 && (n = e.defaultLocale);
2861
2863
  var o = this;
2862
2864
  if (this.formatterCache = {
2863
2865
  number: {},
@@ -2880,18 +2882,18 @@ var vi = (
2880
2882
  };
2881
2883
  }, this.getAst = function() {
2882
2884
  return o.ast;
2883
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
2885
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
2884
2886
  if (this.message = t, !e.__parse)
2885
2887
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2886
2888
  var f = i || {};
2887
2889
  f.formatters;
2888
- var c = Cn(f, ["formatters"]);
2890
+ var c = Hr(f, ["formatters"]);
2889
2891
  this.ast = e.__parse(t, F(F({}, c), { locale: this.resolvedLocale }));
2890
2892
  } else
2891
2893
  this.ast = t;
2892
2894
  if (!Array.isArray(this.ast))
2893
2895
  throw new TypeError("A message must be provided as a String or AST.");
2894
- this.formats = mi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
2896
+ this.formats = mi(e.formats, r), this.formatters = i && i.formatters || gi(this.formatterCache);
2895
2897
  }
2896
2898
  return Object.defineProperty(e, "defaultLocale", {
2897
2899
  get: function() {
@@ -2901,8 +2903,8 @@ var vi = (
2901
2903
  configurable: !0
2902
2904
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
2903
2905
  if (!(typeof Intl.Locale > "u")) {
2904
- var r = Intl.NumberFormat.supportedLocalesOf(t);
2905
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2906
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
2907
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2906
2908
  }
2907
2909
  }, e.__parse = hi, e.formats = {
2908
2910
  number: {
@@ -2970,104 +2972,104 @@ function Ei(e, t) {
2970
2972
  return;
2971
2973
  if (t in e)
2972
2974
  return e[t];
2973
- const r = t.split(".");
2974
- let n = e;
2975
- for (let i = 0; i < r.length; i++)
2976
- if (typeof n == "object") {
2975
+ const n = t.split(".");
2976
+ let r = e;
2977
+ for (let i = 0; i < n.length; i++)
2978
+ if (typeof r == "object") {
2977
2979
  if (i > 0) {
2978
- const o = r.slice(i, r.length).join(".");
2979
- if (o in n) {
2980
- n = n[o];
2980
+ const o = n.slice(i, n.length).join(".");
2981
+ if (o in r) {
2982
+ r = r[o];
2981
2983
  break;
2982
2984
  }
2983
2985
  }
2984
- n = n[r[i]];
2986
+ r = r[n[i]];
2985
2987
  } else
2986
- n = void 0;
2987
- return n;
2988
+ r = void 0;
2989
+ return r;
2988
2990
  }
2989
- const Te = {}, bi = (e, t, r) => r && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = r), r), Ur = (e, t) => {
2991
+ const Te = {}, bi = (e, t, n) => n && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = n), n), Un = (e, t) => {
2990
2992
  if (t == null)
2991
2993
  return;
2992
2994
  if (t in Te && e in Te[t])
2993
2995
  return Te[t][e];
2994
- const r = pt(t);
2995
- for (let n = 0; n < r.length; n++) {
2996
- const i = r[n], o = wi(i, e);
2996
+ const n = pt(t);
2997
+ for (let r = 0; r < n.length; r++) {
2998
+ const i = n[r], o = wi(i, e);
2997
2999
  if (o)
2998
3000
  return bi(e, t, o);
2999
3001
  }
3000
3002
  };
3001
- let jt;
3003
+ let Qt;
3002
3004
  const _e = ft({});
3003
3005
  function yi(e) {
3004
- return jt[e] || null;
3006
+ return Qt[e] || null;
3005
3007
  }
3006
- function Gr(e) {
3007
- return e in jt;
3008
+ function Gn(e) {
3009
+ return e in Qt;
3008
3010
  }
3009
3011
  function wi(e, t) {
3010
- if (!Gr(e))
3012
+ if (!Gn(e))
3011
3013
  return null;
3012
- const r = yi(e);
3013
- return Ei(r, t);
3014
+ const n = yi(e);
3015
+ return Ei(n, t);
3014
3016
  }
3015
3017
  function Ii(e) {
3016
3018
  if (e == null)
3017
3019
  return;
3018
3020
  const t = pt(e);
3019
- for (let r = 0; r < t.length; r++) {
3020
- const n = t[r];
3021
- if (Gr(n))
3022
- return n;
3021
+ for (let n = 0; n < t.length; n++) {
3022
+ const r = t[n];
3023
+ if (Gn(r))
3024
+ return r;
3023
3025
  }
3024
3026
  }
3025
- function Fr(e, ...t) {
3026
- delete Te[e], _e.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3027
+ function Fn(e, ...t) {
3028
+ delete Te[e], _e.update((n) => (n[e] = Tr.all([n[e] || {}, ...t]), n));
3027
3029
  }
3028
3030
  Fe(
3029
3031
  [_e],
3030
3032
  ([e]) => Object.keys(e)
3031
3033
  );
3032
- _e.subscribe((e) => jt = e);
3034
+ _e.subscribe((e) => Qt = e);
3033
3035
  const ut = {};
3034
3036
  function xi(e, t) {
3035
3037
  ut[e].delete(t), ut[e].size === 0 && delete ut[e];
3036
3038
  }
3037
- function _r(e) {
3039
+ function _n(e) {
3038
3040
  return ut[e];
3039
3041
  }
3040
3042
  function Bi(e) {
3041
3043
  return pt(e).map((t) => {
3042
- const r = _r(t);
3043
- return [t, r ? [...r] : []];
3044
+ const n = _n(t);
3045
+ return [t, n ? [...n] : []];
3044
3046
  }).filter(([, t]) => t.length > 0);
3045
3047
  }
3046
3048
  function Ut(e) {
3047
3049
  return e == null ? !1 : pt(e).some(
3048
3050
  (t) => {
3049
- var r;
3050
- return (r = _r(t)) == null ? void 0 : r.size;
3051
+ var n;
3052
+ return (n = _n(t)) == null ? void 0 : n.size;
3051
3053
  }
3052
3054
  );
3053
3055
  }
3054
3056
  function Ti(e, t) {
3055
3057
  return Promise.all(
3056
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3057
- ).then((n) => Fr(e, ...n));
3058
+ t.map((r) => (xi(e, r), r().then((i) => i.default || i)))
3059
+ ).then((r) => Fn(e, ...r));
3058
3060
  }
3059
3061
  const Xe = {};
3060
- function Qr(e) {
3062
+ function Qn(e) {
3061
3063
  if (!Ut(e))
3062
3064
  return e in Xe ? Xe[e] : Promise.resolve();
3063
3065
  const t = Bi(e);
3064
3066
  return Xe[e] = Promise.all(
3065
3067
  t.map(
3066
- ([r, n]) => Ti(r, n)
3068
+ ([n, r]) => Ti(n, r)
3067
3069
  )
3068
3070
  ).then(() => {
3069
3071
  if (Ut(e))
3070
- return Qr(e);
3072
+ return Qn(e);
3071
3073
  delete Xe[e];
3072
3074
  }), Xe[e];
3073
3075
  }
@@ -3112,22 +3114,22 @@ function Ge() {
3112
3114
  return Ri;
3113
3115
  }
3114
3116
  const Ct = ft(!1);
3115
- var Si = Object.defineProperty, Oi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3116
- for (var r in t || (t = {}))
3117
- Li.call(t, r) && sr(e, r, t[r]);
3118
- if (ar)
3119
- for (var r of ar(t))
3120
- Di.call(t, r) && sr(e, r, t[r]);
3117
+ var Si = Object.defineProperty, Oi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, an = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, sn = (e, t, n) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pi = (e, t) => {
3118
+ for (var n in t)
3119
+ Li.call(t, n) && sn(e, n, t[n]);
3120
+ if (an)
3121
+ for (var n of an(t))
3122
+ Di.call(t, n) && sn(e, n, t[n]);
3121
3123
  return e;
3122
3124
  }, Mi = (e, t) => Oi(e, Ni(t));
3123
3125
  let Gt;
3124
3126
  const lt = ft(null);
3125
- function ur(e) {
3126
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3127
+ function un(e) {
3128
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3127
3129
  }
3128
3130
  function pt(e, t = Ge().fallbackLocale) {
3129
- const r = ur(e);
3130
- return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
3131
+ const n = un(e);
3132
+ return t ? [.../* @__PURE__ */ new Set([...n, ...un(t)])] : n;
3131
3133
  }
3132
3134
  function Oe() {
3133
3135
  return Gt ?? void 0;
@@ -3138,14 +3140,14 @@ lt.subscribe((e) => {
3138
3140
  const ki = (e) => {
3139
3141
  if (e && Ii(e) && Ut(e)) {
3140
3142
  const { loadingDelay: t } = Ge();
3141
- let r;
3142
- return typeof window < "u" && Oe() != null && t ? r = window.setTimeout(
3143
+ let n;
3144
+ return typeof window < "u" && Oe() != null && t ? n = window.setTimeout(
3143
3145
  () => Ct.set(!0),
3144
3146
  t
3145
- ) : Ct.set(!0), Qr(e).then(() => {
3147
+ ) : Ct.set(!0), Qn(e).then(() => {
3146
3148
  lt.set(e);
3147
3149
  }).finally(() => {
3148
- clearTimeout(r), Ct.set(!1);
3150
+ clearTimeout(n), Ct.set(!1);
3149
3151
  });
3150
3152
  }
3151
3153
  return lt.set(e);
@@ -3153,83 +3155,83 @@ const ki = (e) => {
3153
3155
  set: ki
3154
3156
  }), At = (e) => {
3155
3157
  const t = /* @__PURE__ */ Object.create(null);
3156
- return (n) => {
3157
- const i = JSON.stringify(n);
3158
- return i in t ? t[i] : t[i] = e(n);
3158
+ return (r) => {
3159
+ const i = JSON.stringify(r);
3160
+ return i in t ? t[i] : t[i] = e(r);
3159
3161
  };
3160
3162
  };
3161
- var Ui = Object.defineProperty, ht = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
3162
- for (var r in t || (t = {}))
3163
- jr.call(t, r) && lr(e, r, t[r]);
3163
+ var Ui = Object.defineProperty, ht = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, ln = (e, t, n) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, jt = (e, t) => {
3164
+ for (var n in t || (t = {}))
3165
+ jn.call(t, n) && ln(e, n, t[n]);
3164
3166
  if (ht)
3165
- for (var r of ht(t))
3166
- Jr.call(t, r) && lr(e, r, t[r]);
3167
+ for (var n of ht(t))
3168
+ Jn.call(t, n) && ln(e, n, t[n]);
3167
3169
  return e;
3168
3170
  }, Qe = (e, t) => {
3169
- var r = {};
3170
- for (var n in e)
3171
- jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3171
+ var n = {};
3172
+ for (var r in e)
3173
+ jn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3172
3174
  if (e != null && ht)
3173
- for (var n of ht(e))
3174
- t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
3175
- return r;
3175
+ for (var r of ht(e))
3176
+ t.indexOf(r) < 0 && Jn.call(e, r) && (n[r] = e[r]);
3177
+ return n;
3176
3178
  };
3177
3179
  const Ze = (e, t) => {
3178
- const { formats: r } = Ge();
3179
- if (e in r && t in r[e])
3180
- return r[e][t];
3180
+ const { formats: n } = Ge();
3181
+ if (e in n && t in n[e])
3182
+ return n[e][t];
3181
3183
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3182
3184
  }, Gi = At(
3183
3185
  (e) => {
3184
- var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
3185
- if (r == null)
3186
+ var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3187
+ if (n == null)
3186
3188
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3187
- return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
3189
+ return r && (i = Ze("number", r)), new Intl.NumberFormat(n, i);
3188
3190
  }
3189
3191
  ), Fi = At(
3190
3192
  (e) => {
3191
- var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
3192
- if (r == null)
3193
+ var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3194
+ if (n == null)
3193
3195
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3194
- return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
3196
+ return r ? i = Ze("date", r) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(n, i);
3195
3197
  }
3196
3198
  ), _i = At(
3197
3199
  (e) => {
3198
- var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
3199
- if (r == null)
3200
+ var t = e, { locale: n, format: r } = t, i = Qe(t, ["locale", "format"]);
3201
+ if (n == null)
3200
3202
  throw new Error(
3201
3203
  '[svelte-i18n] A "locale" must be set to format time values'
3202
3204
  );
3203
- return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
3205
+ return r ? i = Ze("time", r) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(n, i);
3204
3206
  }
3205
3207
  ), Qi = (e = {}) => {
3206
3208
  var t = e, {
3207
- locale: r = Oe()
3208
- } = t, n = Qe(t, [
3209
+ locale: n = Oe()
3210
+ } = t, r = Qe(t, [
3209
3211
  "locale"
3210
3212
  ]);
3211
- return Gi(Jt({ locale: r }, n));
3213
+ return Gi(jt({ locale: n }, r));
3212
3214
  }, ji = (e = {}) => {
3213
3215
  var t = e, {
3214
- locale: r = Oe()
3215
- } = t, n = Qe(t, [
3216
+ locale: n = Oe()
3217
+ } = t, r = Qe(t, [
3216
3218
  "locale"
3217
3219
  ]);
3218
- return Fi(Jt({ locale: r }, n));
3220
+ return Fi(jt({ locale: n }, r));
3219
3221
  }, Ji = (e = {}) => {
3220
3222
  var t = e, {
3221
- locale: r = Oe()
3222
- } = t, n = Qe(t, [
3223
+ locale: n = Oe()
3224
+ } = t, r = Qe(t, [
3223
3225
  "locale"
3224
3226
  ]);
3225
- return _i(Jt({ locale: r }, n));
3227
+ return _i(jt({ locale: n }, r));
3226
3228
  }, Xi = At(
3227
3229
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3228
3230
  (e, t = Oe()) => new vi(e, t, Ge().formats, {
3229
3231
  ignoreTag: Ge().ignoreTag
3230
3232
  })
3231
3233
  ), zi = (e, t = {}) => {
3232
- var r, n, i, o;
3234
+ var n, r, i, o;
3233
3235
  let f = t;
3234
3236
  typeof e == "object" && (f = e, e = f.id);
3235
3237
  const {
@@ -3241,9 +3243,9 @@ const Ze = (e, t) => {
3241
3243
  throw new Error(
3242
3244
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3243
3245
  );
3244
- let l = Ur(e, d);
3246
+ let l = Un(e, d);
3245
3247
  if (!l)
3246
- l = (o = (i = (n = (r = Ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3248
+ l = (o = (i = (r = (n = Ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3247
3249
  else if (typeof l != "string")
3248
3250
  return console.warn(
3249
3251
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3260,23 +3262,23 @@ const Ze = (e, t) => {
3260
3262
  );
3261
3263
  }
3262
3264
  return m;
3263
- }, Vi = (e, t) => Ji(t).format(e), Zi = (e, t) => ji(t).format(e), qi = (e, t) => Qi(t).format(e), Yi = (e, t = Oe()) => Ur(e, t), Wi = Fe([He, _e], () => zi);
3265
+ }, Vi = (e, t) => Ji(t).format(e), Zi = (e, t) => ji(t).format(e), qi = (e, t) => Qi(t).format(e), Yi = (e, t = Oe()) => Un(e, t), Wi = Fe([He, _e], () => zi);
3264
3266
  Fe([He], () => Vi);
3265
3267
  Fe([He], () => Zi);
3266
3268
  Fe([He], () => qi);
3267
3269
  Fe([He, _e], () => Yi);
3268
3270
  function Ki({ withLocale: e, translations: t }) {
3269
- He.subscribe((r) => {
3270
- r == null && (_e.set(t), He.set(e));
3271
+ He.subscribe((n) => {
3272
+ n == null && (_e.set(t), He.set(e));
3271
3273
  });
3272
3274
  }
3273
- function hr(e, t) {
3274
- Fr(e, t);
3275
+ function hn(e, t) {
3276
+ Fn(e, t);
3275
3277
  }
3276
3278
  function $i(e) {
3277
3279
  He.set(e);
3278
3280
  }
3279
- const fr = {
3281
+ const fn = {
3280
3282
  en: {
3281
3283
  loading: "Loading"
3282
3284
  },
@@ -3309,8 +3311,8 @@ var Ft = { exports: {} };
3309
3311
  * https://github.com/Yaffle/EventSource/
3310
3312
  */
3311
3313
  (function(e, t) {
3312
- (function(r) {
3313
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, f = r.XDomainRequest, c = r.ActiveXObject, d = r.EventSource, u = r.document, l = r.Promise, m = r.fetch, g = r.Response, S = r.TextDecoder, U = r.TextEncoder, T = r.AbortController;
3314
+ (function(n) {
3315
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, f = n.XDomainRequest, c = n.ActiveXObject, d = n.EventSource, u = n.document, l = n.Promise, m = n.fetch, g = n.Response, S = n.TextDecoder, U = n.TextEncoder, T = n.AbortController;
3314
3316
  if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
3315
3317
  u.readyState = "complete";
3316
3318
  }, !1)), o == null && c != null && (o = function() {
@@ -3435,7 +3437,7 @@ var Ft = { exports: {} };
3435
3437
  }, s = function(E) {
3436
3438
  p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && L(p.responseText === "" ? "error" : "load", E) : p.readyState === 3 ? "onprogress" in p || z() : p.readyState === 2 && R());
3437
3439
  }, y = function() {
3438
- w = n(function() {
3440
+ w = r(function() {
3439
3441
  y();
3440
3442
  }, 500), p.readyState === 3 && z();
3441
3443
  };
@@ -3447,7 +3449,7 @@ var Ft = { exports: {} };
3447
3449
  L("abort", E);
3448
3450
  }), "onprogress" in p && (p.onprogress = z), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
3449
3451
  s(E);
3450
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (A += (A.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(a, A, !0), "readyState" in p && (w = n(function() {
3452
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (A += (A.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(a, A, !0), "readyState" in p && (w = r(function() {
3451
3453
  y();
3452
3454
  }, 0));
3453
3455
  }, G.prototype.abort = function() {
@@ -3462,7 +3464,7 @@ var Ft = { exports: {} };
3462
3464
  }, G.prototype.send = function() {
3463
3465
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
3464
3466
  var a = this;
3465
- a._sendTimeout = n(function() {
3467
+ a._sendTimeout = r(function() {
3466
3468
  a._sendTimeout = 0, a.send();
3467
3469
  }, 4);
3468
3470
  return;
@@ -3561,7 +3563,7 @@ var Ft = { exports: {} };
3561
3563
  this._listeners = /* @__PURE__ */ Object.create(null);
3562
3564
  }
3563
3565
  function ve(a) {
3564
- n(function() {
3566
+ r(function() {
3565
3567
  throw a;
3566
3568
  }, 0);
3567
3569
  }
@@ -3629,67 +3631,67 @@ var Ft = { exports: {} };
3629
3631
  var gt = m != null && g != null && "body" in g.prototype;
3630
3632
  function vt(a, A, v) {
3631
3633
  A = String(A);
3632
- var p = !!v.withCredentials, x = v.lastEventIdQueryParameterName || "lastEventId", w = Ce(1e3), R = Ne(v.heartbeatTimeout, 45e3), z = "", L = w, s = !1, y = 0, E = v.headers || {}, P = v.Transport, le = gt && P == null ? void 0 : new G(P != null ? new P() : et()), Re = P != null && typeof P != "string" ? new P() : le == null ? new ee() : new B(), ae = void 0, te = 0, pe = W, Le = "", rt = "", be = "", nt = "", re = de, Et = 0, Se = 0, Xr = function(K, q, he, fe) {
3634
+ var p = !!v.withCredentials, x = v.lastEventIdQueryParameterName || "lastEventId", w = Ce(1e3), R = Ne(v.heartbeatTimeout, 45e3), z = "", L = w, s = !1, y = 0, E = v.headers || {}, P = v.Transport, le = gt && P == null ? void 0 : new G(P != null ? new P() : et()), Re = P != null && typeof P != "string" ? new P() : le == null ? new ee() : new B(), ae = void 0, te = 0, pe = W, Le = "", nt = "", be = "", rt = "", ne = de, Et = 0, Se = 0, Xn = function(K, q, he, fe) {
3633
3635
  if (pe === me)
3634
3636
  if (K === 200 && he != null && We.test(he)) {
3635
3637
  pe = Ie, s = Date.now(), L = w, a.readyState = Ie;
3636
- var ne = new Z("open", {
3638
+ var re = new Z("open", {
3637
3639
  status: K,
3638
3640
  statusText: q,
3639
3641
  headers: fe
3640
3642
  });
3641
- a.dispatchEvent(ne), Be(a, a.onopen, ne);
3643
+ a.dispatchEvent(re), Be(a, a.onopen, re);
3642
3644
  } else {
3643
3645
  var $ = "";
3644
3646
  K !== 200 ? (q && (q = q.replace(/\s+/g, " ")), $ = "EventSource's response has a status " + K + " " + q + " that is not 200. Aborting the connection.") : $ = "EventSource's response has a Content-Type specifying an unsupported type: " + (he == null ? "-" : he.replace(/\s+/g, " ")) + ". Aborting the connection.", bt();
3645
- var ne = new Z("error", {
3647
+ var re = new Z("error", {
3646
3648
  status: K,
3647
3649
  statusText: q,
3648
3650
  headers: fe
3649
3651
  });
3650
- a.dispatchEvent(ne), Be(a, a.onerror, ne), console.error($);
3652
+ a.dispatchEvent(re), Be(a, a.onerror, re), console.error($);
3651
3653
  }
3652
- }, zr = function(K) {
3654
+ }, zn = function(K) {
3653
3655
  if (pe === Ie) {
3654
3656
  for (var q = -1, he = 0; he < K.length; he += 1) {
3655
3657
  var fe = K.charCodeAt(he);
3656
3658
  (fe === 10 || fe === 13) && (q = he);
3657
3659
  }
3658
- var ne = (q !== -1 ? nt : "") + K.slice(0, q + 1);
3659
- nt = (q === -1 ? nt : "") + K.slice(q + 1), K !== "" && (s = Date.now(), y += K.length);
3660
- for (var $ = 0; $ < ne.length; $ += 1) {
3661
- var fe = ne.charCodeAt($);
3662
- if (re === Ee && fe === 10)
3663
- re = de;
3664
- else if (re === Ee && (re = de), fe === 13 || fe === 10) {
3665
- if (re !== de) {
3666
- re === ce && (Se = $ + 1);
3667
- var ye = ne.slice(Et, Se - 1), we = ne.slice(Se + (Se < $ && ne.charCodeAt(Se) === 32 ? 1 : 0), $);
3660
+ var re = (q !== -1 ? rt : "") + K.slice(0, q + 1);
3661
+ rt = (q === -1 ? rt : "") + K.slice(q + 1), K !== "" && (s = Date.now(), y += K.length);
3662
+ for (var $ = 0; $ < re.length; $ += 1) {
3663
+ var fe = re.charCodeAt($);
3664
+ if (ne === Ee && fe === 10)
3665
+ ne = de;
3666
+ else if (ne === Ee && (ne = de), fe === 13 || fe === 10) {
3667
+ if (ne !== de) {
3668
+ ne === ce && (Se = $ + 1);
3669
+ var ye = re.slice(Et, Se - 1), we = re.slice(Se + (Se < $ && re.charCodeAt(Se) === 32 ? 1 : 0), $);
3668
3670
  ye === "data" ? (Le += `
3669
- `, Le += we) : ye === "id" ? rt = we : ye === "event" ? be = we : ye === "retry" ? (w = Ne(we, w), L = w) : ye === "heartbeatTimeout" && (R = Ne(we, R), te !== 0 && (i(te), te = n(function() {
3671
+ `, Le += we) : ye === "id" ? nt = we : ye === "event" ? be = we : ye === "retry" ? (w = Ne(we, w), L = w) : ye === "heartbeatTimeout" && (R = Ne(we, R), te !== 0 && (i(te), te = r(function() {
3670
3672
  Je();
3671
3673
  }, R)));
3672
3674
  }
3673
- if (re === de) {
3675
+ if (ne === de) {
3674
3676
  if (Le !== "") {
3675
- z = rt, be === "" && (be = "message");
3677
+ z = nt, be === "" && (be = "message");
3676
3678
  var De = new _(be, {
3677
3679
  data: Le.slice(1),
3678
- lastEventId: rt
3680
+ lastEventId: nt
3679
3681
  });
3680
3682
  if (a.dispatchEvent(De), be === "open" ? Be(a, a.onopen, De) : be === "message" ? Be(a, a.onmessage, De) : be === "error" && Be(a, a.onerror, De), pe === xe)
3681
3683
  return;
3682
3684
  }
3683
3685
  Le = "", be = "";
3684
3686
  }
3685
- re = fe === 13 ? Ee : de;
3687
+ ne = fe === 13 ? Ee : de;
3686
3688
  } else
3687
- re === de && (Et = $, re = ce), re === ce ? fe === 58 && (Se = $ + 1, re = je) : re === je && (re = mt);
3689
+ ne === de && (Et = $, ne = ce), ne === ce ? fe === 58 && (Se = $ + 1, ne = je) : ne === je && (ne = mt);
3688
3690
  }
3689
3691
  }
3690
- }, Xt = function(K) {
3692
+ }, Jt = function(K) {
3691
3693
  if (pe === Ie || pe === me) {
3692
- pe = W, te !== 0 && (i(te), te = 0), te = n(function() {
3694
+ pe = W, te !== 0 && (i(te), te = 0), te = r(function() {
3693
3695
  Je();
3694
3696
  }, L), L = Ce(Math.min(w * 16, L * 2)), a.readyState = me;
3695
3697
  var q = new j("error", { error: K });
@@ -3700,18 +3702,18 @@ var Ft = { exports: {} };
3700
3702
  }, Je = function() {
3701
3703
  if (te = 0, pe !== W) {
3702
3704
  if (!s && ae != null)
3703
- Xt(new Error("No activity within " + R + " milliseconds. " + (pe === me ? "No response received." : y + " chars received.") + " Reconnecting.")), ae != null && (ae.abort(), ae = void 0);
3705
+ Jt(new Error("No activity within " + R + " milliseconds. " + (pe === me ? "No response received." : y + " chars received.") + " Reconnecting.")), ae != null && (ae.abort(), ae = void 0);
3704
3706
  else {
3705
3707
  var K = Math.max((s || Date.now()) + R - Date.now(), 1);
3706
- s = !1, te = n(function() {
3708
+ s = !1, te = r(function() {
3707
3709
  Je();
3708
3710
  }, K);
3709
3711
  }
3710
3712
  return;
3711
3713
  }
3712
- s = !1, y = 0, te = n(function() {
3714
+ s = !1, y = 0, te = r(function() {
3713
3715
  Je();
3714
- }, R), pe = me, Le = "", be = "", rt = z, nt = "", Et = 0, Se = 0, re = de;
3716
+ }, R), pe = me, Le = "", be = "", nt = z, rt = "", Et = 0, Se = 0, ne = de;
3715
3717
  var q = A;
3716
3718
  if (A.slice(0, 5) !== "data:" && A.slice(0, 5) !== "blob:" && z !== "") {
3717
3719
  var he = A.indexOf("?");
@@ -3719,14 +3721,14 @@ var Ft = { exports: {} };
3719
3721
  return De === x ? "" : we;
3720
3722
  }), q += (A.indexOf("?") === -1 ? "?" : "&") + x + "=" + encodeURIComponent(z);
3721
3723
  }
3722
- var fe = a.withCredentials, ne = {};
3723
- ne.Accept = "text/event-stream";
3724
+ var fe = a.withCredentials, re = {};
3725
+ re.Accept = "text/event-stream";
3724
3726
  var $ = a.headers;
3725
3727
  if ($ != null)
3726
3728
  for (var ye in $)
3727
- Object.prototype.hasOwnProperty.call($, ye) && (ne[ye] = $[ye]);
3729
+ Object.prototype.hasOwnProperty.call($, ye) && (re[ye] = $[ye]);
3728
3730
  try {
3729
- ae = Re.open(le, Xr, zr, Xt, q, fe, ne);
3731
+ ae = Re.open(le, Xn, zn, Jt, q, fe, re);
3730
3732
  } catch (we) {
3731
3733
  throw bt(), we;
3732
3734
  }
@@ -3745,7 +3747,7 @@ var Ft = { exports: {} };
3745
3747
  }(function(a) {
3746
3748
  a.EventSourcePolyfill = oe, a.NativeEventSource = d, a.EventSource = tt;
3747
3749
  });
3748
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : fn : globalThis);
3750
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : hr : globalThis);
3749
3751
  })(Ft, Ft.exports);
3750
3752
  var eo = Ft.exports;
3751
3753
  const to = `
@@ -3753,35 +3755,35 @@ const to = `
3753
3755
  `;
3754
3756
  if (typeof window < "u") {
3755
3757
  let e = function(t) {
3756
- return function(...r) {
3758
+ return function(...n) {
3757
3759
  try {
3758
- return t.apply(this, r);
3759
- } catch (n) {
3760
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3760
+ return t.apply(this, n);
3761
+ } catch (r) {
3762
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
3761
3763
  return !1;
3762
- throw n;
3764
+ throw r;
3763
3765
  }
3764
3766
  };
3765
3767
  };
3766
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-CmoOfN4B.js").then((t) => t.L).then(({ default: t }) => {
3768
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-EJ4CoSz6.js").then((t) => t.L).then(({ default: t }) => {
3767
3769
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3768
3770
  });
3769
3771
  }
3770
- function ro(e) {
3771
- $r(e, "svelte-8x54mj", ".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}");
3772
+ function no(e) {
3773
+ $n(e, "svelte-8x54mj", ".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}");
3772
3774
  }
3773
- function cr(e, t, r) {
3774
- const n = e.slice();
3775
- return n[63] = t[r], n[65] = r, n;
3775
+ function cn(e, t, n) {
3776
+ const r = e.slice();
3777
+ return r[63] = t[n], r[65] = n, r;
3776
3778
  }
3777
- function dr(e) {
3778
- let t, r, n, i = (
3779
+ function dn(e) {
3780
+ let t, n, r, i = (
3779
3781
  /*$_*/
3780
3782
  e[14]("loading") + ""
3781
3783
  ), o, f, c, d, u, l;
3782
3784
  return {
3783
3785
  c() {
3784
- t = Y("div"), r = Y("div"), n = Y("span"), o = Er(i), f = ge(), c = Y("div"), d = Y("casino-tournaments-rank"), u = ge(), l = Y("div"), l.innerHTML = "", h(n, "part", "TournamentInfo_Name_link"), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), J(d, "displayin", "col"), J(d, "showicon", "false"), J(d, "userrank", "-"), J(d, "prize", "-"), J(d, "overallrank", "-"), J(d, "tournamentid", ""), J(
3786
+ t = Y("div"), n = Y("div"), r = Y("span"), o = En(i), f = ge(), c = Y("div"), d = Y("casino-tournaments-rank"), u = ge(), l = Y("div"), l.innerHTML = "", h(r, "part", "TournamentInfo_Name_link"), h(n, "part", "TournamentInfo_Name"), h(n, "class", "name"), J(d, "displayin", "col"), J(d, "showicon", "false"), J(d, "userrank", "-"), J(d, "prize", "-"), J(d, "overallrank", "-"), J(d, "tournamentid", ""), J(
3785
3787
  d,
3786
3788
  "mbsource",
3787
3789
  /*mbsource*/
@@ -3796,15 +3798,15 @@ function dr(e) {
3796
3798
  "clientstylingurl",
3797
3799
  /*clientstylingurl*/
3798
3800
  e[2]
3799
- ), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"), on(t, "height", "200px");
3801
+ ), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"), rr(t, "height", "200px");
3800
3802
  },
3801
3803
  m(m, g) {
3802
- qe(m, t, g), C(t, r), C(r, n), C(n, o), C(t, f), C(t, c), C(c, d), C(t, u), C(t, l);
3804
+ qe(m, t, g), C(t, n), C(n, r), C(r, o), C(t, f), C(t, c), C(c, d), C(t, u), C(t, l);
3803
3805
  },
3804
3806
  p(m, g) {
3805
3807
  g[0] & /*$_*/
3806
3808
  16384 && i !== (i = /*$_*/
3807
- m[14]("loading") + "") && br(o, i), g[0] & /*mbsource*/
3809
+ m[14]("loading") + "") && bn(o, i), g[0] & /*mbsource*/
3808
3810
  8 && J(
3809
3811
  d,
3810
3812
  "mbsource",
@@ -3829,23 +3831,23 @@ function dr(e) {
3829
3831
  }
3830
3832
  };
3831
3833
  }
3832
- function pr(e) {
3833
- let t, r, n, i = (
3834
+ function pn(e) {
3835
+ let t, n, r, i = (
3834
3836
  /*currentTournament*/
3835
3837
  e[8].name + ""
3836
- ), o, f, c, d, u, l, m, g, S, U, T, O, I, X, H, G = Zt(
3838
+ ), o, f, c, d, u, l, m, g, S, U, T, O, I, X, H, G = zt(
3837
3839
  /*tournamentList*/
3838
3840
  e[5]
3839
3841
  ), N = [];
3840
3842
  for (let b = 0; b < G.length; b += 1)
3841
- N[b] = Ar(cr(e, G, b));
3843
+ N[b] = An(cn(e, G, b));
3842
3844
  return {
3843
3845
  c() {
3844
- t = Y("div"), r = Y("div"), n = Y("span"), o = Er(i), c = ge(), d = Y("div"), u = Y("casino-tournaments-rank"), U = ge(), T = Y("div");
3846
+ t = Y("div"), n = Y("div"), r = Y("span"), o = En(i), c = ge(), d = Y("div"), u = Y("casino-tournaments-rank"), U = ge(), T = Y("div");
3845
3847
  for (let b = 0; b < N.length; b += 1)
3846
3848
  N[b].c();
3847
- h(n, "part", "TournamentInfo_Name_link"), h(n, "class", "TournamentNameLink"), h(n, "title", f = /*currentTournament*/
3848
- e[8].name), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), J(u, "displayin", "col"), J(u, "showicon", "false"), J(u, "userrank", l = /*currentTournament*/
3849
+ h(r, "part", "TournamentInfo_Name_link"), h(r, "class", "TournamentNameLink"), h(r, "title", f = /*currentTournament*/
3850
+ e[8].name), h(n, "part", "TournamentInfo_Name"), h(n, "class", "name"), J(u, "displayin", "col"), J(u, "showicon", "false"), J(u, "userrank", l = /*currentTournament*/
3849
3851
  e[8].rank), J(
3850
3852
  u,
3851
3853
  "mbsource",
@@ -3867,11 +3869,11 @@ function pr(e) {
3867
3869
  ), h(d, "part", "TournamentInfo_Rank"), h(d, "class", "rank"), h(T, "part", "TournamentInfo_Points"), h(T, "class", "circle"), h(t, "part", "TournamentInfo"), h(t, "class", "TournamentInfo");
3868
3870
  },
3869
3871
  m(b, B) {
3870
- qe(b, t, B), C(t, r), C(r, n), C(n, o), C(t, c), C(t, d), C(d, u), C(t, U), C(t, T);
3872
+ qe(b, t, B), C(t, n), C(n, r), C(r, o), C(t, c), C(t, d), C(d, u), C(t, U), C(t, T);
3871
3873
  for (let Q = 0; Q < N.length; Q += 1)
3872
3874
  N[Q] && N[Q].m(T, null);
3873
3875
  e[28](t), I = !0, X || (H = at(
3874
- n,
3876
+ r,
3875
3877
  "click",
3876
3878
  /*click_handler_1*/
3877
3879
  e[27]
@@ -3880,9 +3882,9 @@ function pr(e) {
3880
3882
  p(b, B) {
3881
3883
  if ((!I || B[0] & /*currentTournament*/
3882
3884
  256) && i !== (i = /*currentTournament*/
3883
- b[8].name + "") && br(o, i), (!I || B[0] & /*currentTournament*/
3885
+ b[8].name + "") && bn(o, i), (!I || B[0] & /*currentTournament*/
3884
3886
  256 && f !== (f = /*currentTournament*/
3885
- b[8].name)) && h(n, "title", f), (!I || B[0] & /*currentTournament*/
3887
+ b[8].name)) && h(r, "title", f), (!I || B[0] & /*currentTournament*/
3886
3888
  256 && l !== (l = /*currentTournament*/
3887
3889
  b[8].rank)) && J(u, "userrank", l), (!I || B[0] & /*mbsource*/
3888
3890
  8) && J(
@@ -3910,14 +3912,14 @@ function pr(e) {
3910
3912
  b[2]
3911
3913
  ), B[0] & /*currentTournamentIdx, tournamentList*/
3912
3914
  96) {
3913
- G = Zt(
3915
+ G = zt(
3914
3916
  /*tournamentList*/
3915
3917
  b[5]
3916
3918
  );
3917
3919
  let Q;
3918
3920
  for (Q = 0; Q < G.length; Q += 1) {
3919
- const ee = cr(b, G, Q);
3920
- N[Q] ? N[Q].p(ee, B) : (N[Q] = Ar(ee), N[Q].c(), N[Q].m(T, null));
3921
+ const ee = cn(b, G, Q);
3922
+ N[Q] ? N[Q].p(ee, B) : (N[Q] = An(ee), N[Q].c(), N[Q].m(T, null));
3921
3923
  }
3922
3924
  for (; Q < N.length; Q += 1)
3923
3925
  N[Q].d(1);
@@ -3925,68 +3927,68 @@ function pr(e) {
3925
3927
  }
3926
3928
  },
3927
3929
  i(b) {
3928
- I || (b && an(() => {
3929
- I && (O || (O = qt(t, Yt, { delay: 250, duration: 300 }, !0)), O.run(1));
3930
+ I || (b && ir(() => {
3931
+ I && (O || (O = Vt(t, qt, { delay: 250, duration: 300 }, !0)), O.run(1));
3930
3932
  }), I = !0);
3931
3933
  },
3932
3934
  o(b) {
3933
- b && (O || (O = qt(t, Yt, { delay: 250, duration: 300 }, !1)), O.run(0)), I = !1;
3935
+ b && (O || (O = Vt(t, qt, { delay: 250, duration: 300 }, !1)), O.run(0)), I = !1;
3934
3936
  },
3935
3937
  d(b) {
3936
- b && Ye(t), sn(N, b), e[28](null), b && O && O.end(), X = !1, H();
3938
+ b && Ye(t), or(N, b), e[28](null), b && O && O.end(), X = !1, H();
3937
3939
  }
3938
3940
  };
3939
3941
  }
3940
- function Ar(e) {
3941
- let t, r, n;
3942
+ function An(e) {
3943
+ let t, n, r;
3942
3944
  return {
3943
3945
  c() {
3944
- t = se("svg"), r = se("circle"), h(r, "cx", "2.77888"), h(r, "cy", "2.50837"), h(r, "r", "2.28571"), h(r, "fill", "currentColor"), h(r, "stroke", "currentColor"), h(t, "class", n = /*currentTournamentIdx*/
3946
+ t = se("svg"), n = se("circle"), h(n, "cx", "2.77888"), h(n, "cy", "2.50837"), h(n, "r", "2.28571"), h(n, "fill", "currentColor"), h(n, "stroke", "currentColor"), h(t, "class", r = /*currentTournamentIdx*/
3945
3947
  e[6] == /*idx*/
3946
3948
  e[65] ? "active" : ""), h(t, "width", "6"), h(t, "height", "5"), h(t, "viewBox", "0 0 6 5"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3947
3949
  },
3948
3950
  m(i, o) {
3949
- qe(i, t, o), C(t, r);
3951
+ qe(i, t, o), C(t, n);
3950
3952
  },
3951
3953
  p(i, o) {
3952
3954
  o[0] & /*currentTournamentIdx*/
3953
- 64 && n !== (n = /*currentTournamentIdx*/
3955
+ 64 && r !== (r = /*currentTournamentIdx*/
3954
3956
  i[6] == /*idx*/
3955
- i[65] ? "active" : "") && h(t, "class", n);
3957
+ i[65] ? "active" : "") && h(t, "class", r);
3956
3958
  },
3957
3959
  d(i) {
3958
3960
  i && Ye(t);
3959
3961
  }
3960
3962
  };
3961
3963
  }
3962
- function mr(e) {
3963
- let t, r;
3964
+ function mn(e) {
3965
+ let t, n;
3964
3966
  return {
3965
3967
  c() {
3966
- t = se("svg"), r = se("path"), h(r, "fill-rule", "evenodd"), h(r, "clip-rule", "evenodd"), h(r, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(t, "width", "6"), h(t, "height", "10"), h(t, "fill", "currentColor"), h(t, "viewBox", "0 0 6 10"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3968
+ t = se("svg"), n = se("path"), h(n, "fill-rule", "evenodd"), h(n, "clip-rule", "evenodd"), h(n, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(t, "width", "6"), h(t, "height", "10"), h(t, "fill", "currentColor"), h(t, "viewBox", "0 0 6 10"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3967
3969
  },
3968
- m(n, i) {
3969
- qe(n, t, i), C(t, r);
3970
+ m(r, i) {
3971
+ qe(r, t, i), C(t, n);
3970
3972
  },
3971
- d(n) {
3972
- n && Ye(t);
3973
+ d(r) {
3974
+ r && Ye(t);
3973
3975
  }
3974
3976
  };
3975
3977
  }
3976
- function no(e) {
3977
- let t, r, n, i, o, f, c, d, u, l, m, g, S, U, T, O, I, X, H, G, N, b, B, Q, ee, ue, ve, D = !/*tournamentList*/
3978
- e[5] && dr(e), _ = (
3978
+ function ro(e) {
3979
+ let t, n, r, i, o, f, c, d, u, l, m, g, S, U, T, O, I, X, H, G, N, b, B, Q, ee, ue, ve, D = !/*tournamentList*/
3980
+ e[5] && dn(e), _ = (
3979
3981
  /*tournamentList*/
3980
3982
  e[5] && /*tournamentList*/
3981
- e[5].length > 0 && pr(e)
3983
+ e[5].length > 0 && pn(e)
3982
3984
  ), Z = (
3983
3985
  /*isLast*/
3984
- e[10] && mr()
3986
+ e[10] && mn()
3985
3987
  );
3986
3988
  return {
3987
3989
  c() {
3988
- t = Y("div"), r = Y("div"), n = Y("div"), i = se("svg"), o = se("path"), c = ge(), D && D.c(), d = ge(), _ && _.c(), u = ge(), l = Y("div"), m = se("svg"), g = se("path"), S = ge(), Z && Z.c(), U = ge(), T = Y("section"), O = Y("div"), I = se("svg"), X = se("rect"), H = se("defs"), G = se("pattern"), N = se("use"), b = se("image"), Q = ge(), ee = Y("div"), ee.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(n, "part", "Tournaments_ArrowLeft"), h(n, "class", f = "ArrowLeft " + /*isFirst*/
3989
- (e[9] ? "Disabled" : "")), h(g, "fill-rule", "evenodd"), h(g, "clip-rule", "evenodd"), h(g, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(m, "width", "6"), h(m, "height", "10"), h(m, "fill", "currentColor"), h(m, "viewBox", "0 0 6 10"), h(m, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(r, "part", "Tournaments"), h(r, "class", "casino-tournaments-slider-controller"), h(
3990
+ t = Y("div"), n = Y("div"), r = Y("div"), i = se("svg"), o = se("path"), c = ge(), D && D.c(), d = ge(), _ && _.c(), u = ge(), l = Y("div"), m = se("svg"), g = se("path"), S = ge(), Z && Z.c(), U = ge(), T = Y("section"), O = Y("div"), I = se("svg"), X = se("rect"), H = se("defs"), G = se("pattern"), N = se("use"), b = se("image"), Q = ge(), ee = Y("div"), ee.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(r, "part", "Tournaments_ArrowLeft"), h(r, "class", f = "ArrowLeft " + /*isFirst*/
3991
+ (e[9] ? "Disabled" : "")), h(g, "fill-rule", "evenodd"), h(g, "clip-rule", "evenodd"), h(g, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(m, "width", "6"), h(m, "height", "10"), h(m, "fill", "currentColor"), h(m, "viewBox", "0 0 6 10"), h(m, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(n, "part", "Tournaments"), h(n, "class", "casino-tournaments-slider-controller"), h(
3990
3992
  X,
3991
3993
  "width",
3992
3994
  /*iconsize*/
@@ -4016,9 +4018,9 @@ function no(e) {
4016
4018
  e[0]}`), h(I, "fill", "none"), h(I, "xmlns", "http://www.w3.org/2000/svg"), h(I, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(O, "class", "svg"), h(O, "part", "Icon"), h(ee, "class", "restoreButton"), h(ee, "part", "RestoreButton"), h(T, "id", "animator"), h(T, "part", "Animator");
4017
4019
  },
4018
4020
  m(j, W) {
4019
- qe(j, t, W), C(t, r), C(r, n), C(n, i), C(i, o), C(r, c), D && D.m(r, null), C(r, d), _ && _.m(r, null), C(r, u), C(r, l), C(l, m), C(m, g), C(l, S), Z && Z.m(l, null), e[30](r), C(t, U), C(t, T), C(T, O), C(O, I), C(I, X), C(I, H), C(H, G), C(G, N), C(H, b), C(T, Q), C(T, ee), e[31](T), e[33](t), ue || (ve = [
4021
+ qe(j, t, W), C(t, n), C(n, r), C(r, i), C(i, o), C(n, c), D && D.m(n, null), C(n, d), _ && _.m(n, null), C(n, u), C(n, l), C(l, m), C(m, g), C(l, S), Z && Z.m(l, null), e[30](n), C(t, U), C(t, T), C(T, O), C(O, I), C(I, X), C(I, H), C(H, G), C(G, N), C(H, b), C(T, Q), C(T, ee), e[31](T), e[33](t), ue || (ve = [
4020
4022
  at(
4021
- n,
4023
+ r,
4022
4024
  "click",
4023
4025
  /*click_handler*/
4024
4026
  e[26]
@@ -4040,14 +4042,14 @@ function no(e) {
4040
4042
  p(j, W) {
4041
4043
  W[0] & /*isFirst*/
4042
4044
  512 && f !== (f = "ArrowLeft " + /*isFirst*/
4043
- (j[9] ? "Disabled" : "")) && h(n, "class", f), /*tournamentList*/
4044
- j[5] ? D && (D.d(1), D = null) : D ? D.p(j, W) : (D = dr(j), D.c(), D.m(r, d)), /*tournamentList*/
4045
+ (j[9] ? "Disabled" : "")) && h(r, "class", f), /*tournamentList*/
4046
+ j[5] ? D && (D.d(1), D = null) : D ? D.p(j, W) : (D = dn(j), D.c(), D.m(n, d)), /*tournamentList*/
4045
4047
  j[5] && /*tournamentList*/
4046
4048
  j[5].length > 0 ? _ ? (_.p(j, W), W[0] & /*tournamentList*/
4047
- 32 && wt(_, 1)) : (_ = pr(j), _.c(), wt(_, 1), _.m(r, u)) : _ && (un(), zt(_, 1, 1, () => {
4049
+ 32 && wt(_, 1)) : (_ = pn(j), _.c(), wt(_, 1), _.m(n, u)) : _ && (ar(), Xt(_, 1, 1, () => {
4048
4050
  _ = null;
4049
- }), en()), /*isLast*/
4050
- j[10] ? Z || (Z = mr(), Z.c(), Z.m(l, null)) : Z && (Z.d(1), Z = null), W[0] & /*iconsize*/
4051
+ }), er()), /*isLast*/
4052
+ j[10] ? Z || (Z = mn(), Z.c(), Z.m(l, null)) : Z && (Z.d(1), Z = null), W[0] & /*iconsize*/
4051
4053
  1 && h(
4052
4054
  X,
4053
4055
  "width",
@@ -4086,33 +4088,33 @@ function no(e) {
4086
4088
  wt(_);
4087
4089
  },
4088
4090
  o(j) {
4089
- zt(_);
4091
+ Xt(_);
4090
4092
  },
4091
4093
  d(j) {
4092
- j && Ye(t), D && D.d(), _ && _.d(), Z && Z.d(), e[30](null), e[31](null), e[33](null), ue = !1, gr(ve);
4094
+ j && Ye(t), D && D.d(), _ && _.d(), Z && Z.d(), e[30](null), e[31](null), e[33](null), ue = !1, gn(ve);
4093
4095
  }
4094
4096
  };
4095
4097
  }
4096
4098
  let Rt = 1, St = 300;
4097
- function io(e, t, r) {
4098
- let n, i;
4099
- tn(e, Wi, (s) => r(14, i = s));
4099
+ function io(e, t, n) {
4100
+ let r, i;
4101
+ tr(e, Wi, (s) => n(14, i = s));
4100
4102
  let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: m = "" } = t, { clientstyling: g = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: U = "" } = t, { mbsource: T } = t, O, I = [], X, H = 0, G = !0, N = !1, b, B, Q = null, ee = null, ue, ve = !1, D, _;
4101
4103
  Ki({ withLocale: "en", translations: {} });
4102
4104
  const Z = () => {
4103
4105
  fetch(U).then((y) => y.json()).then((y) => {
4104
4106
  Object.keys(y).forEach((E) => {
4105
- hr(E, y[E]);
4107
+ hn(E, y[E]);
4106
4108
  });
4107
4109
  }).catch((y) => {
4108
4110
  console.log(y);
4109
4111
  });
4110
4112
  };
4111
- Object.keys(fr).forEach((s) => {
4112
- hr(s, fr[s]);
4113
+ Object.keys(fn).forEach((s) => {
4114
+ hn(s, fn[s]);
4113
4115
  });
4114
4116
  const j = (s) => {
4115
- s.data && s.data.type == "TournamentList" && r(5, I = s.data.tournamentList);
4117
+ s.data && s.data.type == "TournamentList" && n(5, I = s.data.tournamentList);
4116
4118
  }, W = () => {
4117
4119
  o.length > 0 && o != "false";
4118
4120
  }, me = () => {
@@ -4120,7 +4122,7 @@ function io(e, t, r) {
4120
4122
  }, Ie = () => {
4121
4123
  I.length !== 0 && (ce.curTournament.hide(), setTimeout(
4122
4124
  () => {
4123
- r(6, H = (H + 1) % I.length), ce.curTournament.show();
4125
+ n(6, H = (H + 1) % I.length), ce.curTournament.show();
4124
4126
  },
4125
4127
  St * 1.5
4126
4128
  ));
@@ -4134,42 +4136,42 @@ function io(e, t, r) {
4134
4136
  }, Ee = (s) => {
4135
4137
  ce.curTournament.hide(), xe(), s > 0 && N && mt(), !(s > 0 && N || s < 0 && G) && setTimeout(
4136
4138
  () => {
4137
- r(6, H = H + s), ce.curTournament.show();
4139
+ n(6, H = H + s), ce.curTournament.show();
4138
4140
  },
4139
4141
  St * 1.5
4140
4142
  );
4141
4143
  }, de = (s) => setTimeout(() => s(), Rt * 1e3), ce = {
4142
4144
  icon: {
4143
4145
  init() {
4144
- r(11, D.style.transition = `all ${Rt}s ease-in-out`, D);
4146
+ n(11, D.style.transition = `all ${Rt}s ease-in-out`, D);
4145
4147
  },
4146
4148
  show() {
4147
- r(11, D.style.display = "flex", D), de(() => r(11, D.style.opacity = "1", D));
4149
+ n(11, D.style.display = "flex", D), de(() => n(11, D.style.opacity = "1", D));
4148
4150
  },
4149
4151
  hide() {
4150
- r(11, D.style.display = "none", D), r(11, D.style.opacity = "0", D);
4152
+ n(11, D.style.display = "none", D), n(11, D.style.opacity = "0", D);
4151
4153
  }
4152
4154
  },
4153
4155
  slider: {
4154
4156
  init() {
4155
- r(7, B.style.transition = `all ${Rt}s ease-in-out`, B);
4157
+ n(7, B.style.transition = `all ${Rt}s ease-in-out`, B);
4156
4158
  },
4157
4159
  show() {
4158
- r(7, B.style.opacity = "1", B), r(7, B.style.transform = null, B), document.querySelector("body").style["overflow-x"] = "hidden";
4160
+ n(7, B.style.opacity = "1", B), n(7, B.style.transform = null, B), document.querySelector("body").style["overflow-x"] = "hidden";
4159
4161
  },
4160
4162
  hide() {
4161
- this.init(), r(7, B.style.opacity = "0", B), r(7, B.style.transform = `translateX(${B.clientWidth + 20}px)`, B), de(() => document.querySelector("body").setAttribute("style", null));
4163
+ this.init(), n(7, B.style.opacity = "0", B), n(7, B.style.transform = `translateX(${B.clientWidth + 20}px)`, B), de(() => document.querySelector("body").setAttribute("style", null));
4162
4164
  }
4163
4165
  },
4164
4166
  curTournament: {
4165
4167
  init() {
4166
- r(12, _.style.transition = `all ${St}ms linear`, _);
4168
+ n(12, _.style.transition = `all ${St}ms linear`, _);
4167
4169
  },
4168
4170
  show() {
4169
- r(12, _.style.opacity = "1", _);
4171
+ n(12, _.style.opacity = "1", _);
4170
4172
  },
4171
4173
  hide() {
4172
- this.init(), r(12, _.style.opacity = "0", _);
4174
+ this.init(), n(12, _.style.opacity = "0", _);
4173
4175
  }
4174
4176
  }
4175
4177
  }, je = () => {
@@ -4203,7 +4205,7 @@ function io(e, t, r) {
4203
4205
  }
4204
4206
  },
4205
4207
  window.location.href
4206
- ), r(5, I[E] = y, I);
4208
+ ), n(5, I[E] = y, I);
4207
4209
  }, Ce = (s) => {
4208
4210
  if (s.data)
4209
4211
  try {
@@ -4245,15 +4247,15 @@ function io(e, t, r) {
4245
4247
  $e(s.searchParams, 0, d), o && y.append("X-SessionID", o), fetch(s, { method: "GET", headers: y }).then((P) => P.json()).then((P) => {
4246
4248
  if (!P.items)
4247
4249
  return;
4248
- r(5, I = []), P.items.forEach((Re, ae) => {
4250
+ n(5, I = []), P.items.forEach((Re, ae) => {
4249
4251
  I.push(We(Re));
4250
- }), r(8, X = I[H]), vt(), xe();
4252
+ }), n(8, X = I[H]), vt(), xe();
4251
4253
  });
4252
4254
  };
4253
4255
  let a = !1;
4254
- rn(() => (r(25, a = !0), window.addEventListener("message", j, !1), setTimeout(
4256
+ nr(() => (n(25, a = !0), window.addEventListener("message", j, !1), setTimeout(
4255
4257
  () => {
4256
- r(18, c = "tr");
4258
+ n(18, c = "tr");
4257
4259
  },
4258
4260
  5e3
4259
4261
  ), () => {
@@ -4262,43 +4264,43 @@ function io(e, t, r) {
4262
4264
  const A = () => Ee(-1), v = () => Ke(X.id);
4263
4265
  function p(s) {
4264
4266
  it[s ? "unshift" : "push"](() => {
4265
- _ = s, r(12, _);
4267
+ _ = s, n(12, _);
4266
4268
  });
4267
4269
  }
4268
4270
  const x = () => Ee(1);
4269
4271
  function w(s) {
4270
4272
  it[s ? "unshift" : "push"](() => {
4271
- B = s, r(7, B);
4273
+ B = s, n(7, B);
4272
4274
  });
4273
4275
  }
4274
4276
  function R(s) {
4275
4277
  it[s ? "unshift" : "push"](() => {
4276
- D = s, r(11, D);
4278
+ D = s, n(11, D);
4277
4279
  });
4278
4280
  }
4279
4281
  const z = () => je();
4280
4282
  function L(s) {
4281
4283
  it[s ? "unshift" : "push"](() => {
4282
- O = s, r(4, O);
4284
+ O = s, n(4, O);
4283
4285
  });
4284
4286
  }
4285
4287
  return e.$$set = (s) => {
4286
- "session" in s && r(19, o = s.session), "endpoint" in s && r(20, f = s.endpoint), "lang" in s && r(18, c = s.lang), "tournamentsshownnumber" in s && r(21, d = s.tournamentsshownnumber), "looptime" in s && r(22, u = s.looptime), "iconsize" in s && r(0, l = s.iconsize), "icon" in s && r(23, m = s.icon), "clientstyling" in s && r(1, g = s.clientstyling), "clientstylingurl" in s && r(2, S = s.clientstylingurl), "translationurl" in s && r(24, U = s.translationurl), "mbsource" in s && r(3, T = s.mbsource);
4288
+ "session" in s && n(19, o = s.session), "endpoint" in s && n(20, f = s.endpoint), "lang" in s && n(18, c = s.lang), "tournamentsshownnumber" in s && n(21, d = s.tournamentsshownnumber), "looptime" in s && n(22, u = s.looptime), "iconsize" in s && n(0, l = s.iconsize), "icon" in s && n(23, m = s.icon), "clientstyling" in s && n(1, g = s.clientstyling), "clientstylingurl" in s && n(2, S = s.clientstylingurl), "translationurl" in s && n(24, U = s.translationurl), "mbsource" in s && n(3, T = s.mbsource);
4287
4289
  }, e.$$.update = () => {
4288
4290
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4289
- 18 && g && O && ln(O, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4290
- 20 && S && O && nn(O, S), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4291
- 24 && T && O && Vt(O, `${T}.Style`), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4292
- 24 && T && O && Vt(O, `${T}.Style`), e.$$.dirty[0] & /*icon*/
4293
- 8388608 && r(13, n = m || to), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4291
+ 18 && g && O && sr(O, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4292
+ 20 && S && O && ur(O, S), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4293
+ 24 && T && O && Zt(O, `${T}.Style`), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4294
+ 24 && T && O && Zt(O, `${T}.Style`), e.$$.dirty[0] & /*icon*/
4295
+ 8388608 && n(13, r = m || to), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4294
4296
  36962304 && a && f && d && c && tt(), e.$$.dirty[0] & /*tourSlider*/
4295
4297
  128 && B && gt(), e.$$.dirty[0] & /*session*/
4296
4298
  524288 && o && W(), e.$$.dirty[0] & /*lang*/
4297
4299
  262144 && c && me(), e.$$.dirty[0] & /*translationurl*/
4298
4300
  16777216 && U && Z(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
4299
- 96 && r(8, X = I[H]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4300
- 96 && r(10, N = H == I.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4301
- 64 && r(9, G = H == 0);
4301
+ 96 && n(8, X = I[H]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4302
+ 96 && n(10, N = H == I.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4303
+ 64 && n(9, G = H == 0);
4302
4304
  }, [
4303
4305
  l,
4304
4306
  g,
@@ -4313,7 +4315,7 @@ function io(e, t, r) {
4313
4315
  N,
4314
4316
  D,
4315
4317
  _,
4316
- n,
4318
+ r,
4317
4319
  i,
4318
4320
  Ee,
4319
4321
  je,
@@ -4336,14 +4338,14 @@ function io(e, t, r) {
4336
4338
  L
4337
4339
  ];
4338
4340
  }
4339
- class oo extends Wr {
4341
+ class oo extends Wn {
4340
4342
  constructor(t) {
4341
- super(), Kr(
4343
+ super(), Kn(
4342
4344
  this,
4343
4345
  t,
4344
4346
  io,
4345
- no,
4346
- vr,
4347
+ ro,
4348
+ vn,
4347
4349
  {
4348
4350
  session: 19,
4349
4351
  endpoint: 20,
@@ -4357,7 +4359,7 @@ class oo extends Wr {
4357
4359
  translationurl: 24,
4358
4360
  mbsource: 3
4359
4361
  },
4360
- ro,
4362
+ no,
4361
4363
  [-1, -1, -1]
4362
4364
  );
4363
4365
  }
@@ -4428,7 +4430,7 @@ class oo extends Wr {
4428
4430
  this.$$set({ mbsource: t }), Ae();
4429
4431
  }
4430
4432
  }
4431
- Yr(oo, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4433
+ Yn(oo, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4432
4434
  export {
4433
4435
  oo as C
4434
4436
  };