@everymatrix/casino-tournaments-slider-controller 1.54.8 → 1.54.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- import { i as Xn, n as Xe, s as An, a as zn, r as mn, b as Vn, S as Zn, c as qn, f as ge, d as Yn, e as Wn, g as Ze, t as Jt, h as yt, j as h, k as Kn, x as wt, l as qe, m as H, o as at, p as K, q as he, u as ve, v as $n, w as er, y as gn, z as X, A as vn, B as tr, C as Xt, D as nr, E as zt, F as rr, G as it, H as ir } from "./CasinoTournamentsRank-DX6yQIEr.js";
2
- function Vt(e, { delay: t = 0, duration: n = 400, easing: r = Xn } = {}) {
1
+ import { i as Jr, n as Xe, s as pr, a as Xr, r as Ar, b as zr, S as Vr, c as Zr, f as ge, d as qr, e as Yr, g as Ze, t as Jt, h as yt, j as h, k as Wr, x as wt, l as qe, m as H, o as at, p as K, q as he, u as ve, v as Kr, w as $r, y as mr, z as X, A as gr, B as en, C as Xt, D as tn, E as zt, F as rn, G as it, H as nn } from "./CasinoTournamentsRank-DX6yQIEr.js";
2
+ function Vt(e, { delay: t = 0, duration: r = 400, easing: n = Jr } = {}) {
3
3
  const i = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
6
- duration: n,
7
- easing: r,
6
+ duration: r,
7
+ easing: n,
8
8
  css: (o) => `opacity: ${o * i}`
9
9
  };
10
10
  }
11
11
  const De = [];
12
- function or(e, t) {
12
+ function on(e, t) {
13
13
  return {
14
14
  subscribe: ft(e, t).subscribe
15
15
  };
16
16
  }
17
17
  function ft(e, t = Xe) {
18
- let n;
19
- const r = /* @__PURE__ */ new Set();
18
+ let r;
19
+ const n = /* @__PURE__ */ new Set();
20
20
  function i(c) {
21
- if (An(e, c) && (e = c, n)) {
21
+ if (pr(e, c) && (e = c, r)) {
22
22
  const d = !De.length;
23
- for (const u of r)
23
+ for (const u of n)
24
24
  u[1](), De.push(u, e);
25
25
  if (d) {
26
26
  for (let u = 0; u < De.length; u += 2)
@@ -34,18 +34,18 @@ function ft(e, t = Xe) {
34
34
  }
35
35
  function f(c, d = Xe) {
36
36
  const u = [c, d];
37
- return r.add(u), r.size === 1 && (n = t(i, o) || Xe), c(e), () => {
38
- r.delete(u), r.size === 0 && n && (n(), n = null);
37
+ return n.add(u), n.size === 1 && (r = t(i, o) || Xe), c(e), () => {
38
+ n.delete(u), n.size === 0 && r && (r(), r = null);
39
39
  };
40
40
  }
41
41
  return { set: i, update: o, subscribe: f };
42
42
  }
43
- function Ge(e, t, n) {
44
- const r = !Array.isArray(e), i = r ? [e] : e;
43
+ function Ge(e, t, r) {
44
+ const n = !Array.isArray(e), i = n ? [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 or(n, (f, c) => {
48
+ return on(r, (f, c) => {
49
49
  let d = !1;
50
50
  const u = [];
51
51
  let l = 0, g = Xe;
@@ -53,10 +53,10 @@ function Ge(e, t, n) {
53
53
  if (l)
54
54
  return;
55
55
  g();
56
- const M = t(r ? u[0] : u, f, c);
57
- o ? f(M) : g = Vn(M) ? M : Xe;
56
+ const M = t(n ? u[0] : u, f, c);
57
+ o ? f(M) : g = zr(M) ? M : Xe;
58
58
  }, S = i.map(
59
- (M, x) => zn(
59
+ (M, x) => Xr(
60
60
  M,
61
61
  (C) => {
62
62
  u[x] = C, l &= ~(1 << x), d && v();
@@ -67,154 +67,154 @@ function Ge(e, t, n) {
67
67
  )
68
68
  );
69
69
  return d = !0, v(), function() {
70
- mn(S), g(), d = !1;
70
+ Ar(S), g(), d = !1;
71
71
  };
72
72
  });
73
73
  }
74
- var ar = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
75
- function sr(e) {
74
+ var an = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
75
+ function sn(e) {
76
76
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
77
77
  }
78
- var ur = function(t) {
79
- return lr(t) && !hr(t);
78
+ var un = function(t) {
79
+ return ln(t) && !hn(t);
80
80
  };
81
- function lr(e) {
81
+ function ln(e) {
82
82
  return !!e && typeof e == "object";
83
83
  }
84
- function hr(e) {
84
+ function hn(e) {
85
85
  var t = Object.prototype.toString.call(e);
86
- return t === "[object RegExp]" || t === "[object Date]" || dr(e);
86
+ return t === "[object RegExp]" || t === "[object Date]" || dn(e);
87
87
  }
88
- var fr = typeof Symbol == "function" && Symbol.for, cr = fr ? Symbol.for("react.element") : 60103;
89
- function dr(e) {
90
- return e.$$typeof === cr;
88
+ var fn = typeof Symbol == "function" && Symbol.for, cn = fn ? Symbol.for("react.element") : 60103;
89
+ function dn(e) {
90
+ return e.$$typeof === cn;
91
91
  }
92
- function pr(e) {
92
+ function pn(e) {
93
93
  return Array.isArray(e) ? [] : {};
94
94
  }
95
95
  function ze(e, t) {
96
- return t.clone !== !1 && t.isMergeableObject(e) ? Pe(pr(e), e, t) : e;
96
+ return t.clone !== !1 && t.isMergeableObject(e) ? Pe(pn(e), e, t) : e;
97
97
  }
98
- function Ar(e, t, n) {
99
- return e.concat(t).map(function(r) {
100
- return ze(r, n);
98
+ function An(e, t, r) {
99
+ return e.concat(t).map(function(n) {
100
+ return ze(n, r);
101
101
  });
102
102
  }
103
- function mr(e, t) {
103
+ function mn(e, t) {
104
104
  if (!t.customMerge)
105
105
  return Pe;
106
- var n = t.customMerge(e);
107
- return typeof n == "function" ? n : Pe;
106
+ var r = t.customMerge(e);
107
+ return typeof r == "function" ? r : Pe;
108
108
  }
109
- function gr(e) {
109
+ function gn(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
114
  function Zt(e) {
115
- return Object.keys(e).concat(gr(e));
115
+ return Object.keys(e).concat(gn(e));
116
116
  }
117
- function En(e, t) {
117
+ function vr(e, t) {
118
118
  try {
119
119
  return t in e;
120
- } catch (n) {
120
+ } catch (r) {
121
121
  return !1;
122
122
  }
123
123
  }
124
- function vr(e, t) {
125
- return En(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
124
+ function vn(e, t) {
125
+ return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
126
126
  }
127
- function Er(e, t, n) {
128
- var r = {};
129
- return n.isMergeableObject(e) && Zt(e).forEach(function(i) {
130
- r[i] = ze(e[i], n);
127
+ function En(e, t, r) {
128
+ var n = {};
129
+ return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
130
+ n[i] = ze(e[i], r);
131
131
  }), Zt(t).forEach(function(i) {
132
- vr(e, i) || (En(e, i) && n.isMergeableObject(t[i]) ? r[i] = mr(i, n)(e[i], t[i], n) : r[i] = ze(t[i], n));
133
- }), r;
132
+ vn(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
133
+ }), n;
134
134
  }
135
- function Pe(e, t, n) {
136
- n = n || {}, n.arrayMerge = n.arrayMerge || Ar, n.isMergeableObject = n.isMergeableObject || ur, n.cloneUnlessOtherwiseSpecified = ze;
137
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
138
- return o ? r ? n.arrayMerge(e, t, n) : Er(e, t, n) : ze(t, n);
135
+ function Pe(e, t, r) {
136
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = ze;
137
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
138
+ return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : ze(t, r);
139
139
  }
140
- Pe.all = function(t, n) {
140
+ Pe.all = function(t, r) {
141
141
  if (!Array.isArray(t))
142
142
  throw new Error("first argument should be an array");
143
- return t.reduce(function(r, i) {
144
- return Pe(r, i, n);
143
+ return t.reduce(function(n, i) {
144
+ return Pe(n, i, r);
145
145
  }, {});
146
146
  };
147
- var br = Pe, yr = br;
148
- const wr = /* @__PURE__ */ sr(yr);
147
+ var bn = Pe, yn = bn;
148
+ const wn = /* @__PURE__ */ sn(yn);
149
149
  var Ot = function(e, t) {
150
- return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
151
- n.__proto__ = r;
152
- } || function(n, r) {
153
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
150
+ return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
151
+ r.__proto__ = n;
152
+ } || function(r, n) {
153
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
154
154
  }, Ot(e, t);
155
155
  };
156
156
  function ct(e, t) {
157
157
  if (typeof t != "function" && t !== null)
158
158
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
159
159
  Ot(e, t);
160
- function n() {
160
+ function r() {
161
161
  this.constructor = e;
162
162
  }
163
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
163
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
164
164
  }
165
165
  var k = function() {
166
166
  return k = Object.assign || function(t) {
167
- for (var n, r = 1, i = arguments.length; r < i; r++) {
168
- n = arguments[r];
169
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
167
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
168
+ r = arguments[n];
169
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
170
170
  }
171
171
  return t;
172
172
  }, k.apply(this, arguments);
173
173
  };
174
- function Ir(e, t) {
175
- var n = {};
176
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
174
+ function In(e, t) {
175
+ var r = {};
176
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
177
177
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
178
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
179
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
180
- return n;
178
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
179
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
180
+ return r;
181
181
  }
182
- function It(e, t, n) {
183
- if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
184
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
182
+ function It(e, t, r) {
183
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
184
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
185
185
  return e.concat(o || Array.prototype.slice.call(t));
186
186
  }
187
187
  function xt(e, t) {
188
- var n = t && t.cache ? t.cache : Sr, r = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Tr;
188
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Tn;
189
189
  return i(e, {
190
- cache: n,
191
- serializer: r
190
+ cache: r,
191
+ serializer: n
192
192
  });
193
193
  }
194
- function xr(e) {
194
+ function xn(e) {
195
195
  return e == null || typeof e == "number" || typeof e == "boolean";
196
196
  }
197
- function Br(e, t, n, r) {
198
- var i = xr(r) ? r : n(r), o = t.get(i);
199
- return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
197
+ function Bn(e, t, r, n) {
198
+ var i = xn(n) ? n : r(n), o = t.get(i);
199
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
200
200
  }
201
- function bn(e, t, n) {
202
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
203
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
201
+ function Er(e, t, r) {
202
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
203
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
204
204
  }
205
- function yn(e, t, n, r, i) {
206
- return n.bind(t, e, r, i);
205
+ function br(e, t, r, n, i) {
206
+ return r.bind(t, e, n, i);
207
207
  }
208
- function Tr(e, t) {
209
- var n = e.length === 1 ? Br : bn;
210
- return yn(e, this, n, t.cache.create(), t.serializer);
208
+ function Tn(e, t) {
209
+ var r = e.length === 1 ? Bn : Er;
210
+ return br(e, this, r, t.cache.create(), t.serializer);
211
211
  }
212
- function Hr(e, t) {
213
- return yn(e, this, bn, t.cache.create(), t.serializer);
212
+ function Hn(e, t) {
213
+ return br(e, this, Er, t.cache.create(), t.serializer);
214
214
  }
215
- var Cr = function() {
215
+ var Cn = function() {
216
216
  return JSON.stringify(arguments);
217
- }, Rr = (
217
+ }, Rn = (
218
218
  /** @class */
219
219
  function() {
220
220
  function e() {
@@ -222,16 +222,16 @@ var Cr = function() {
222
222
  }
223
223
  return e.prototype.get = function(t) {
224
224
  return this.cache[t];
225
- }, e.prototype.set = function(t, n) {
226
- this.cache[t] = n;
225
+ }, e.prototype.set = function(t, r) {
226
+ this.cache[t] = r;
227
227
  }, e;
228
228
  }()
229
- ), Sr = {
229
+ ), Sn = {
230
230
  create: function() {
231
- return new Rr();
231
+ return new Rn();
232
232
  }
233
233
  }, Bt = {
234
- variadic: Hr
234
+ variadic: Hn
235
235
  }, L;
236
236
  (function(e) {
237
237
  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";
@@ -247,47 +247,47 @@ var Me;
247
247
  function qt(e) {
248
248
  return e.type === z.literal;
249
249
  }
250
- function Or(e) {
250
+ function On(e) {
251
251
  return e.type === z.argument;
252
252
  }
253
- function wn(e) {
253
+ function yr(e) {
254
254
  return e.type === z.number;
255
255
  }
256
- function In(e) {
256
+ function wr(e) {
257
257
  return e.type === z.date;
258
258
  }
259
- function xn(e) {
259
+ function Ir(e) {
260
260
  return e.type === z.time;
261
261
  }
262
- function Bn(e) {
262
+ function xr(e) {
263
263
  return e.type === z.select;
264
264
  }
265
- function Tn(e) {
265
+ function Br(e) {
266
266
  return e.type === z.plural;
267
267
  }
268
- function Lr(e) {
268
+ function Ln(e) {
269
269
  return e.type === z.pound;
270
270
  }
271
- function Hn(e) {
271
+ function Tr(e) {
272
272
  return e.type === z.tag;
273
273
  }
274
- function Cn(e) {
274
+ function Hr(e) {
275
275
  return !!(e && typeof e == "object" && e.type === Me.number);
276
276
  }
277
277
  function Lt(e) {
278
278
  return !!(e && typeof e == "object" && e.type === Me.dateTime);
279
279
  }
280
- var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nr = /(?:[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;
281
- function Dr(e) {
280
+ var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[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;
281
+ function Dn(e) {
282
282
  var t = {};
283
- return e.replace(Nr, function(n) {
284
- var r = n.length;
285
- switch (n[0]) {
283
+ return e.replace(Nn, function(r) {
284
+ var n = r.length;
285
+ switch (r[0]) {
286
286
  case "G":
287
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
287
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
288
288
  break;
289
289
  case "y":
290
- t.year = r === 2 ? "2-digit" : "numeric";
290
+ t.year = n === 2 ? "2-digit" : "numeric";
291
291
  break;
292
292
  case "Y":
293
293
  case "u":
@@ -299,30 +299,30 @@ function Dr(e) {
299
299
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
300
300
  case "M":
301
301
  case "L":
302
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
302
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
303
303
  break;
304
304
  case "w":
305
305
  case "W":
306
306
  throw new RangeError("`w/W` (week) patterns are not supported");
307
307
  case "d":
308
- t.day = ["numeric", "2-digit"][r - 1];
308
+ t.day = ["numeric", "2-digit"][n - 1];
309
309
  break;
310
310
  case "D":
311
311
  case "F":
312
312
  case "g":
313
313
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
314
314
  case "E":
315
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
315
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
316
316
  break;
317
317
  case "e":
318
- if (r < 4)
318
+ if (n < 4)
319
319
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
320
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
320
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
321
321
  break;
322
322
  case "c":
323
- if (r < 4)
323
+ if (n < 4)
324
324
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
325
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
325
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
326
326
  break;
327
327
  case "a":
328
328
  t.hour12 = !0;
@@ -331,32 +331,32 @@ function Dr(e) {
331
331
  case "B":
332
332
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
333
333
  case "h":
334
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
334
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
335
335
  break;
336
336
  case "H":
337
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
337
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
338
338
  break;
339
339
  case "K":
340
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
340
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
341
341
  break;
342
342
  case "k":
343
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
343
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
344
344
  break;
345
345
  case "j":
346
346
  case "J":
347
347
  case "C":
348
348
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
349
349
  case "m":
350
- t.minute = ["numeric", "2-digit"][r - 1];
350
+ t.minute = ["numeric", "2-digit"][n - 1];
351
351
  break;
352
352
  case "s":
353
- t.second = ["numeric", "2-digit"][r - 1];
353
+ t.second = ["numeric", "2-digit"][n - 1];
354
354
  break;
355
355
  case "S":
356
356
  case "A":
357
357
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
358
358
  case "z":
359
- t.timeZoneName = r < 4 ? "short" : "long";
359
+ t.timeZoneName = n < 4 ? "short" : "long";
360
360
  break;
361
361
  case "Z":
362
362
  case "O":
@@ -369,14 +369,14 @@ function Dr(e) {
369
369
  return "";
370
370
  }), t;
371
371
  }
372
- var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
373
- function Mr(e) {
372
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
373
+ function Mn(e) {
374
374
  if (e.length === 0)
375
375
  throw new Error("Number skeleton cannot be empty");
376
- for (var t = e.split(Pr).filter(function(v) {
376
+ for (var t = e.split(Pn).filter(function(v) {
377
377
  return v.length > 0;
378
- }), n = [], r = 0, i = t; r < i.length; r++) {
379
- var o = i[r], f = o.split("/");
378
+ }), r = [], n = 0, i = t; n < i.length; n++) {
379
+ var o = i[n], f = o.split("/");
380
380
  if (f.length === 0)
381
381
  throw new Error("Invalid number skeleton");
382
382
  for (var c = f[0], d = f.slice(1), u = 0, l = d; u < l.length; u++) {
@@ -384,21 +384,21 @@ function Mr(e) {
384
384
  if (g.length === 0)
385
385
  throw new Error("Invalid number skeleton");
386
386
  }
387
- n.push({ stem: c, options: d });
387
+ r.push({ stem: c, options: d });
388
388
  }
389
- return n;
389
+ return r;
390
390
  }
391
- function kr(e) {
391
+ function kn(e) {
392
392
  return e.replace(/^(.*?)-/, "");
393
393
  }
394
- var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sn = /^(@+)?(\+|#+)?[rs]?$/g, Ur = /(\*)(0+)|(#+)(0+)|(0+)/g, On = /^(0+)$/;
394
+ var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
395
395
  function Wt(e) {
396
396
  var t = {};
397
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sn, function(n, r, i) {
398
- 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)), "";
397
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
398
+ 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)), "";
399
399
  }), t;
400
400
  }
401
- function Ln(e) {
401
+ function Or(e) {
402
402
  switch (e) {
403
403
  case "sign-auto":
404
404
  return {
@@ -438,27 +438,27 @@ function Ln(e) {
438
438
  };
439
439
  }
440
440
  }
441
- function Gr(e) {
441
+ function Gn(e) {
442
442
  var t;
443
443
  if (e[0] === "E" && e[1] === "E" ? (t = {
444
444
  notation: "engineering"
445
445
  }, e = e.slice(2)) : e[0] === "E" && (t = {
446
446
  notation: "scientific"
447
447
  }, e = e.slice(1)), t) {
448
- var n = e.slice(0, 2);
449
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !On.test(e))
448
+ var r = e.slice(0, 2);
449
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
450
450
  throw new Error("Malformed concise eng/scientific notation");
451
451
  t.minimumIntegerDigits = e.length;
452
452
  }
453
453
  return t;
454
454
  }
455
455
  function Kt(e) {
456
- var t = {}, n = Ln(e);
457
- return n || t;
456
+ var t = {}, r = Or(e);
457
+ return r || t;
458
458
  }
459
- function Fr(e) {
460
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
461
- var i = r[n];
459
+ function Fn(e) {
460
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
461
+ var i = n[r];
462
462
  switch (i.stem) {
463
463
  case "percent":
464
464
  case "%":
@@ -480,7 +480,7 @@ function Fr(e) {
480
480
  continue;
481
481
  case "measure-unit":
482
482
  case "unit":
483
- t.style = "unit", t.unit = kr(i.options[0]);
483
+ t.style = "unit", t.unit = kn(i.options[0]);
484
484
  continue;
485
485
  case "compact-short":
486
486
  case "K":
@@ -542,7 +542,7 @@ function Fr(e) {
542
542
  case "integer-width":
543
543
  if (i.options.length > 1)
544
544
  throw new RangeError("integer-width stems only accept a single optional option");
545
- i.options[0].replace(Ur, function(d, u, l, g, v, S) {
545
+ i.options[0].replace(Un, function(d, u, l, g, v, S) {
546
546
  if (u)
547
547
  t.minimumIntegerDigits = l.length;
548
548
  else {
@@ -555,7 +555,7 @@ function Fr(e) {
555
555
  });
556
556
  continue;
557
557
  }
558
- if (On.test(i.stem)) {
558
+ if (Sr.test(i.stem)) {
559
559
  t.minimumIntegerDigits = i.stem.length;
560
560
  continue;
561
561
  }
@@ -569,13 +569,13 @@ function Fr(e) {
569
569
  o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), Wt(o)));
570
570
  continue;
571
571
  }
572
- if (Sn.test(i.stem)) {
572
+ if (Rr.test(i.stem)) {
573
573
  t = k(k({}, t), Wt(i.stem));
574
574
  continue;
575
575
  }
576
- var f = Ln(i.stem);
576
+ var f = Or(i.stem);
577
577
  f && (t = k(k({}, t), f));
578
- var c = Gr(i.stem);
578
+ var c = Gn(i.stem);
579
579
  c && (t = k(k({}, t), c));
580
580
  }
581
581
  return t;
@@ -1995,22 +1995,22 @@ var ot = {
1995
1995
  "h"
1996
1996
  ]
1997
1997
  };
1998
- function _r(e, t) {
1999
- for (var n = "", r = 0; r < e.length; r++) {
2000
- var i = e.charAt(r);
1998
+ function _n(e, t) {
1999
+ for (var r = "", n = 0; n < e.length; n++) {
2000
+ var i = e.charAt(n);
2001
2001
  if (i === "j") {
2002
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2003
- o++, r++;
2004
- var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = Qr(t);
2002
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2003
+ o++, n++;
2004
+ var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = Qn(t);
2005
2005
  for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
2006
- n += d;
2006
+ r += d;
2007
2007
  for (; f-- > 0; )
2008
- n = u + n;
2009
- } else i === "J" ? n += "H" : n += i;
2008
+ r = u + r;
2009
+ } else i === "J" ? r += "H" : r += i;
2010
2010
  }
2011
- return n;
2011
+ return r;
2012
2012
  }
2013
- function Qr(e) {
2013
+ function Qn(e) {
2014
2014
  var t = e.hourCycle;
2015
2015
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2016
2016
  e.hourCycles && // @ts-ignore
@@ -2027,73 +2027,73 @@ function Qr(e) {
2027
2027
  default:
2028
2028
  throw new Error("Invalid hourCycle");
2029
2029
  }
2030
- var n = e.language, r;
2031
- n !== "root" && (r = e.maximize().region);
2032
- var i = ot[r || ""] || ot[n || ""] || ot["".concat(n, "-001")] || ot["001"];
2030
+ var r = e.language, n;
2031
+ r !== "root" && (n = e.maximize().region);
2032
+ var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
2033
2033
  return i[0];
2034
2034
  }
2035
- var Tt, jr = new RegExp("^".concat(Rn.source, "*")), Jr = new RegExp("".concat(Rn.source, "*$"));
2035
+ var Tt, jn = new RegExp("^".concat(Cr.source, "*")), Jn = new RegExp("".concat(Cr.source, "*$"));
2036
2036
  function D(e, t) {
2037
2037
  return { start: e, end: t };
2038
2038
  }
2039
- var Xr = !!String.prototype.startsWith && "_a".startsWith("a", 1), zr = !!String.fromCodePoint, Vr = !!Object.fromEntries, Zr = !!String.prototype.codePointAt, qr = !!String.prototype.trimStart, Yr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Kr = Wr ? Number.isSafeInteger : function(e) {
2039
+ var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Kn = Wn ? Number.isSafeInteger : function(e) {
2040
2040
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2041
2041
  }, Nt = !0;
2042
2042
  try {
2043
- var $r = Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2044
- Nt = ((Tt = $r.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2043
+ var $n = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2044
+ Nt = ((Tt = $n.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2045
2045
  } catch (e) {
2046
2046
  Nt = !1;
2047
2047
  }
2048
- var $t = Xr ? (
2048
+ var $t = Xn ? (
2049
2049
  // Native
2050
- function(t, n, r) {
2051
- return t.startsWith(n, r);
2050
+ function(t, r, n) {
2051
+ return t.startsWith(r, n);
2052
2052
  }
2053
2053
  ) : (
2054
2054
  // For IE11
2055
- function(t, n, r) {
2056
- return t.slice(r, r + n.length) === n;
2055
+ function(t, r, n) {
2056
+ return t.slice(n, n + r.length) === r;
2057
2057
  }
2058
- ), Dt = zr ? String.fromCodePoint : (
2058
+ ), Dt = zn ? String.fromCodePoint : (
2059
2059
  // IE11
2060
2060
  function() {
2061
- for (var t = [], n = 0; n < arguments.length; n++)
2062
- t[n] = arguments[n];
2063
- for (var r = "", i = t.length, o = 0, f; i > o; ) {
2061
+ for (var t = [], r = 0; r < arguments.length; r++)
2062
+ t[r] = arguments[r];
2063
+ for (var n = "", i = t.length, o = 0, f; i > o; ) {
2064
2064
  if (f = t[o++], f > 1114111)
2065
2065
  throw RangeError(f + " is not a valid code point");
2066
- r += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2066
+ n += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2067
2067
  }
2068
- return r;
2068
+ return n;
2069
2069
  }
2070
- ), en = (
2070
+ ), er = (
2071
2071
  // native
2072
- Vr ? Object.fromEntries : (
2072
+ Vn ? Object.fromEntries : (
2073
2073
  // Ponyfill
2074
2074
  function(t) {
2075
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2076
- var o = i[r], f = o[0], c = o[1];
2077
- n[f] = c;
2075
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2076
+ var o = i[n], f = o[0], c = o[1];
2077
+ r[f] = c;
2078
2078
  }
2079
- return n;
2079
+ return r;
2080
2080
  }
2081
2081
  )
2082
- ), Nn = Zr ? (
2082
+ ), Lr = Zn ? (
2083
2083
  // Native
2084
- function(t, n) {
2085
- return t.codePointAt(n);
2084
+ function(t, r) {
2085
+ return t.codePointAt(r);
2086
2086
  }
2087
2087
  ) : (
2088
2088
  // IE 11
2089
- function(t, n) {
2090
- var r = t.length;
2091
- if (!(n < 0 || n >= r)) {
2092
- var i = t.charCodeAt(n), o;
2093
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2089
+ function(t, r) {
2090
+ var n = t.length;
2091
+ if (!(r < 0 || r >= n)) {
2092
+ var i = t.charCodeAt(r), o;
2093
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2094
2094
  }
2095
2095
  }
2096
- ), ei = qr ? (
2096
+ ), ei = qn ? (
2097
2097
  // Native
2098
2098
  function(t) {
2099
2099
  return t.trimStart();
@@ -2101,9 +2101,9 @@ var $t = Xr ? (
2101
2101
  ) : (
2102
2102
  // Ponyfill
2103
2103
  function(t) {
2104
- return t.replace(jr, "");
2104
+ return t.replace(jn, "");
2105
2105
  }
2106
- ), ti = Yr ? (
2106
+ ), ti = Yn ? (
2107
2107
  // Native
2108
2108
  function(t) {
2109
2109
  return t.trimEnd();
@@ -2111,69 +2111,69 @@ var $t = Xr ? (
2111
2111
  ) : (
2112
2112
  // Ponyfill
2113
2113
  function(t) {
2114
- return t.replace(Jr, "");
2114
+ return t.replace(Jn, "");
2115
2115
  }
2116
2116
  );
2117
- function Dn(e, t) {
2117
+ function Nr(e, t) {
2118
2118
  return new RegExp(e, t);
2119
2119
  }
2120
2120
  var Pt;
2121
2121
  if (Nt) {
2122
- var tn = Dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2123
- Pt = function(t, n) {
2124
- var r;
2125
- tn.lastIndex = n;
2126
- var i = tn.exec(t);
2127
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2122
+ var tr = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2123
+ Pt = function(t, r) {
2124
+ var n;
2125
+ tr.lastIndex = r;
2126
+ var i = tr.exec(t);
2127
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2128
2128
  };
2129
2129
  } else
2130
- Pt = function(t, n) {
2131
- for (var r = []; ; ) {
2132
- var i = Nn(t, n);
2133
- if (i === void 0 || Pn(i) || oi(i))
2130
+ Pt = function(t, r) {
2131
+ for (var n = []; ; ) {
2132
+ var i = Lr(t, r);
2133
+ if (i === void 0 || Dr(i) || oi(i))
2134
2134
  break;
2135
- r.push(i), n += i >= 65536 ? 2 : 1;
2135
+ n.push(i), r += i >= 65536 ? 2 : 1;
2136
2136
  }
2137
- return Dt.apply(void 0, r);
2137
+ return Dt.apply(void 0, n);
2138
2138
  };
2139
- var ni = (
2139
+ var ri = (
2140
2140
  /** @class */
2141
2141
  function() {
2142
- function e(t, n) {
2143
- 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;
2142
+ function e(t, r) {
2143
+ 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;
2144
2144
  }
2145
2145
  return e.prototype.parse = function() {
2146
2146
  if (this.offset() !== 0)
2147
2147
  throw Error("parser can only be used once");
2148
2148
  return this.parseMessage(0, "", !1);
2149
- }, e.prototype.parseMessage = function(t, n, r) {
2149
+ }, e.prototype.parseMessage = function(t, r, n) {
2150
2150
  for (var i = []; !this.isEOF(); ) {
2151
2151
  var o = this.char();
2152
2152
  if (o === 123) {
2153
- var f = this.parseArgument(t, r);
2153
+ var f = this.parseArgument(t, n);
2154
2154
  if (f.err)
2155
2155
  return f;
2156
2156
  i.push(f.val);
2157
2157
  } else {
2158
2158
  if (o === 125 && t > 0)
2159
2159
  break;
2160
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
2160
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2161
2161
  var c = this.clonePosition();
2162
2162
  this.bump(), i.push({
2163
2163
  type: z.pound,
2164
2164
  location: D(c, this.clonePosition())
2165
2165
  });
2166
2166
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2167
- if (r)
2167
+ if (n)
2168
2168
  break;
2169
2169
  return this.error(L.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
2170
2170
  } else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
2171
- var f = this.parseTag(t, n);
2171
+ var f = this.parseTag(t, r);
2172
2172
  if (f.err)
2173
2173
  return f;
2174
2174
  i.push(f.val);
2175
2175
  } else {
2176
- var f = this.parseLiteral(t, n);
2176
+ var f = this.parseLiteral(t, r);
2177
2177
  if (f.err)
2178
2178
  return f;
2179
2179
  i.push(f.val);
@@ -2181,8 +2181,8 @@ var ni = (
2181
2181
  }
2182
2182
  }
2183
2183
  return { val: i, err: null };
2184
- }, e.prototype.parseTag = function(t, n) {
2185
- var r = this.clonePosition();
2184
+ }, e.prototype.parseTag = function(t, r) {
2185
+ var n = this.clonePosition();
2186
2186
  this.bump();
2187
2187
  var i = this.parseTagName();
2188
2188
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2190,12 +2190,12 @@ var ni = (
2190
2190
  val: {
2191
2191
  type: z.literal,
2192
2192
  value: "<".concat(i, "/>"),
2193
- location: D(r, this.clonePosition())
2193
+ location: D(n, this.clonePosition())
2194
2194
  },
2195
2195
  err: null
2196
2196
  };
2197
2197
  if (this.bumpIf(">")) {
2198
- var o = this.parseMessage(t + 1, n, !0);
2198
+ var o = this.parseMessage(t + 1, r, !0);
2199
2199
  if (o.err)
2200
2200
  return o;
2201
2201
  var f = o.val, c = this.clonePosition();
@@ -2208,27 +2208,27 @@ var ni = (
2208
2208
  type: z.tag,
2209
2209
  value: i,
2210
2210
  children: f,
2211
- location: D(r, this.clonePosition())
2211
+ location: D(n, this.clonePosition())
2212
2212
  },
2213
2213
  err: null
2214
2214
  } : this.error(L.INVALID_TAG, D(c, this.clonePosition())));
2215
2215
  } else
2216
- return this.error(L.UNCLOSED_TAG, D(r, this.clonePosition()));
2216
+ return this.error(L.UNCLOSED_TAG, D(n, this.clonePosition()));
2217
2217
  } else
2218
- return this.error(L.INVALID_TAG, D(r, this.clonePosition()));
2218
+ return this.error(L.INVALID_TAG, D(n, this.clonePosition()));
2219
2219
  }, e.prototype.parseTagName = function() {
2220
2220
  var t = this.offset();
2221
2221
  for (this.bump(); !this.isEOF() && ii(this.char()); )
2222
2222
  this.bump();
2223
2223
  return this.message.slice(t, this.offset());
2224
- }, e.prototype.parseLiteral = function(t, n) {
2225
- for (var r = this.clonePosition(), i = ""; ; ) {
2226
- var o = this.tryParseQuote(n);
2224
+ }, e.prototype.parseLiteral = function(t, r) {
2225
+ for (var n = this.clonePosition(), i = ""; ; ) {
2226
+ var o = this.tryParseQuote(r);
2227
2227
  if (o) {
2228
2228
  i += o;
2229
2229
  continue;
2230
2230
  }
2231
- var f = this.tryParseUnquoted(t, n);
2231
+ var f = this.tryParseUnquoted(t, r);
2232
2232
  if (f) {
2233
2233
  i += f;
2234
2234
  continue;
@@ -2240,14 +2240,14 @@ var ni = (
2240
2240
  }
2241
2241
  break;
2242
2242
  }
2243
- var d = D(r, this.clonePosition());
2243
+ var d = D(n, this.clonePosition());
2244
2244
  return {
2245
2245
  val: { type: z.literal, value: i, location: d },
2246
2246
  err: null
2247
2247
  };
2248
2248
  }, e.prototype.tryParseLeftAngleBracket = function() {
2249
2249
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2250
- !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
2250
+ !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2251
2251
  }, e.prototype.tryParseQuote = function(t) {
2252
2252
  if (this.isEOF() || this.char() !== 39)
2253
2253
  return null;
@@ -2267,37 +2267,37 @@ var ni = (
2267
2267
  return null;
2268
2268
  }
2269
2269
  this.bump();
2270
- var n = [this.char()];
2270
+ var r = [this.char()];
2271
2271
  for (this.bump(); !this.isEOF(); ) {
2272
- var r = this.char();
2273
- if (r === 39)
2272
+ var n = this.char();
2273
+ if (n === 39)
2274
2274
  if (this.peek() === 39)
2275
- n.push(39), this.bump();
2275
+ r.push(39), this.bump();
2276
2276
  else {
2277
2277
  this.bump();
2278
2278
  break;
2279
2279
  }
2280
2280
  else
2281
- n.push(r);
2281
+ r.push(n);
2282
2282
  this.bump();
2283
2283
  }
2284
- return Dt.apply(void 0, n);
2285
- }, e.prototype.tryParseUnquoted = function(t, n) {
2284
+ return Dt.apply(void 0, r);
2285
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2286
2286
  if (this.isEOF())
2287
2287
  return null;
2288
- var r = this.char();
2289
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Dt(r));
2290
- }, e.prototype.parseArgument = function(t, n) {
2291
- var r = this.clonePosition();
2288
+ var n = this.char();
2289
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
2290
+ }, e.prototype.parseArgument = function(t, r) {
2291
+ var n = this.clonePosition();
2292
2292
  if (this.bump(), this.bumpSpace(), this.isEOF())
2293
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(r, this.clonePosition()));
2293
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2294
2294
  if (this.char() === 125)
2295
- return this.bump(), this.error(L.EMPTY_ARGUMENT, D(r, this.clonePosition()));
2295
+ return this.bump(), this.error(L.EMPTY_ARGUMENT, D(n, this.clonePosition()));
2296
2296
  var i = this.parseIdentifierIfPossible().value;
2297
2297
  if (!i)
2298
- return this.error(L.MALFORMED_ARGUMENT, D(r, this.clonePosition()));
2298
+ return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2299
2299
  if (this.bumpSpace(), this.isEOF())
2300
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(r, this.clonePosition()));
2300
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2301
2301
  switch (this.char()) {
2302
2302
  case 125:
2303
2303
  return this.bump(), {
@@ -2305,21 +2305,21 @@ var ni = (
2305
2305
  type: z.argument,
2306
2306
  // value does not include the opening and closing braces.
2307
2307
  value: i,
2308
- location: D(r, this.clonePosition())
2308
+ location: D(n, this.clonePosition())
2309
2309
  },
2310
2310
  err: null
2311
2311
  };
2312
2312
  case 44:
2313
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2313
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2314
2314
  default:
2315
- return this.error(L.MALFORMED_ARGUMENT, D(r, this.clonePosition()));
2315
+ return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2316
2316
  }
2317
2317
  }, e.prototype.parseIdentifierIfPossible = function() {
2318
- var t = this.clonePosition(), n = this.offset(), r = Pt(this.message, n), i = n + r.length;
2318
+ var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
2319
2319
  this.bumpTo(i);
2320
2320
  var o = this.clonePosition(), f = D(t, o);
2321
- return { value: r, location: f };
2322
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2321
+ return { value: n, location: f };
2322
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2323
2323
  var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2324
2324
  switch (c) {
2325
2325
  case "":
@@ -2349,22 +2349,22 @@ var ni = (
2349
2349
  if (c === "number") {
2350
2350
  var g = this.parseNumberSkeletonFromString(C, u.styleLocation);
2351
2351
  return g.err ? g : {
2352
- val: { type: z.number, value: r, location: x, style: g.val },
2352
+ val: { type: z.number, value: n, location: x, style: g.val },
2353
2353
  err: null
2354
2354
  };
2355
2355
  } else {
2356
2356
  if (C.length === 0)
2357
2357
  return this.error(L.EXPECT_DATE_TIME_SKELETON, x);
2358
2358
  var B = C;
2359
- this.locale && (B = _r(C, this.locale));
2359
+ this.locale && (B = _n(C, this.locale));
2360
2360
  var v = {
2361
2361
  type: Me.dateTime,
2362
2362
  pattern: B,
2363
2363
  location: u.styleLocation,
2364
- parsedOptions: this.shouldParseSkeletons ? Dr(B) : {}
2364
+ parsedOptions: this.shouldParseSkeletons ? Dn(B) : {}
2365
2365
  }, U = c === "date" ? z.date : z.time;
2366
2366
  return {
2367
- val: { type: U, value: r, location: x, style: v },
2367
+ val: { type: U, value: n, location: x, style: v },
2368
2368
  err: null
2369
2369
  };
2370
2370
  }
@@ -2372,7 +2372,7 @@ var ni = (
2372
2372
  return {
2373
2373
  val: {
2374
2374
  type: c === "number" ? z.number : c === "date" ? z.date : z.time,
2375
- value: r,
2375
+ value: n,
2376
2376
  location: x,
2377
2377
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2378
2378
  },
@@ -2396,7 +2396,7 @@ var ni = (
2396
2396
  return g;
2397
2397
  this.bumpSpace(), P = this.parseIdentifierIfPossible(), T = g.val;
2398
2398
  }
2399
- var E = this.tryParsePluralOrSelectOptions(t, c, n, P);
2399
+ var E = this.tryParsePluralOrSelectOptions(t, c, r, P);
2400
2400
  if (E.err)
2401
2401
  return E;
2402
2402
  var M = this.tryParseArgumentClose(i);
@@ -2406,16 +2406,16 @@ var ni = (
2406
2406
  return c === "select" ? {
2407
2407
  val: {
2408
2408
  type: z.select,
2409
- value: r,
2410
- options: en(E.val),
2409
+ value: n,
2410
+ options: er(E.val),
2411
2411
  location: _
2412
2412
  },
2413
2413
  err: null
2414
2414
  } : {
2415
2415
  val: {
2416
2416
  type: z.plural,
2417
- value: r,
2418
- options: en(E.val),
2417
+ value: n,
2418
+ options: er(E.val),
2419
2419
  offset: T,
2420
2420
  pluralType: c === "plural" ? "cardinal" : "ordinal",
2421
2421
  location: _
@@ -2429,9 +2429,9 @@ var ni = (
2429
2429
  }, e.prototype.tryParseArgumentClose = function(t) {
2430
2430
  return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2431
2431
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2432
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2433
- var r = this.char();
2434
- switch (r) {
2432
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2433
+ var n = this.char();
2434
+ switch (n) {
2435
2435
  case 39: {
2436
2436
  this.bump();
2437
2437
  var i = this.clonePosition();
@@ -2449,7 +2449,7 @@ var ni = (
2449
2449
  t -= 1;
2450
2450
  else
2451
2451
  return {
2452
- val: this.message.slice(n.offset, this.offset()),
2452
+ val: this.message.slice(r.offset, this.offset()),
2453
2453
  err: null
2454
2454
  };
2455
2455
  break;
@@ -2460,30 +2460,30 @@ var ni = (
2460
2460
  }
2461
2461
  }
2462
2462
  return {
2463
- val: this.message.slice(n.offset, this.offset()),
2463
+ val: this.message.slice(r.offset, this.offset()),
2464
2464
  err: null
2465
2465
  };
2466
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2467
- var r = [];
2466
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2467
+ var n = [];
2468
2468
  try {
2469
- r = Mr(t);
2469
+ n = Mn(t);
2470
2470
  } catch (i) {
2471
- return this.error(L.INVALID_NUMBER_SKELETON, n);
2471
+ return this.error(L.INVALID_NUMBER_SKELETON, r);
2472
2472
  }
2473
2473
  return {
2474
2474
  val: {
2475
2475
  type: Me.number,
2476
- tokens: r,
2477
- location: n,
2478
- parsedOptions: this.shouldParseSkeletons ? Fr(r) : {}
2476
+ tokens: n,
2477
+ location: r,
2478
+ parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
2479
2479
  },
2480
2480
  err: null
2481
2481
  };
2482
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2482
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2483
2483
  for (var o, f = !1, c = [], d = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2484
2484
  if (u.length === 0) {
2485
2485
  var g = this.clonePosition();
2486
- if (n !== "select" && this.bumpIf("=")) {
2486
+ if (r !== "select" && this.bumpIf("=")) {
2487
2487
  var v = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
2488
2488
  if (v.err)
2489
2489
  return v;
@@ -2492,12 +2492,12 @@ var ni = (
2492
2492
  break;
2493
2493
  }
2494
2494
  if (d.has(u))
2495
- return this.error(n === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2495
+ return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2496
2496
  u === "other" && (f = !0), this.bumpSpace();
2497
2497
  var S = this.clonePosition();
2498
2498
  if (!this.bumpIf("{"))
2499
- return this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2500
- var M = this.parseMessage(t + 1, n, r);
2499
+ return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2500
+ var M = this.parseMessage(t + 1, r, n);
2501
2501
  if (M.err)
2502
2502
  return M;
2503
2503
  var x = this.tryParseArgumentClose(S);
@@ -2511,10 +2511,10 @@ var ni = (
2511
2511
  }
2512
2512
  ]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2513
2513
  }
2514
- return c.length === 0 ? this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2515
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
2516
- var r = 1, i = this.clonePosition();
2517
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
2514
+ return c.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2515
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
2516
+ var n = 1, i = this.clonePosition();
2517
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2518
2518
  for (var o = !1, f = 0; !this.isEOF(); ) {
2519
2519
  var c = this.char();
2520
2520
  if (c >= 48 && c <= 57)
@@ -2523,7 +2523,7 @@ var ni = (
2523
2523
  break;
2524
2524
  }
2525
2525
  var d = D(i, this.clonePosition());
2526
- return o ? (f *= r, Kr(f) ? { val: f, err: null } : this.error(n, d)) : this.error(t, d);
2526
+ return o ? (f *= n, Kn(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2527
2527
  }, e.prototype.offset = function() {
2528
2528
  return this.position.offset;
2529
2529
  }, e.prototype.isEOF = function() {
@@ -2538,17 +2538,17 @@ var ni = (
2538
2538
  var t = this.position.offset;
2539
2539
  if (t >= this.message.length)
2540
2540
  throw Error("out of bound");
2541
- var n = Nn(this.message, t);
2542
- if (n === void 0)
2541
+ var r = Lr(this.message, t);
2542
+ if (r === void 0)
2543
2543
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2544
- return n;
2545
- }, e.prototype.error = function(t, n) {
2544
+ return r;
2545
+ }, e.prototype.error = function(t, r) {
2546
2546
  return {
2547
2547
  val: null,
2548
2548
  err: {
2549
2549
  kind: t,
2550
2550
  message: this.message,
2551
- location: n
2551
+ location: r
2552
2552
  }
2553
2553
  };
2554
2554
  }, e.prototype.bump = function() {
@@ -2558,47 +2558,47 @@ var ni = (
2558
2558
  }
2559
2559
  }, e.prototype.bumpIf = function(t) {
2560
2560
  if ($t(this.message, t, this.offset())) {
2561
- for (var n = 0; n < t.length; n++)
2561
+ for (var r = 0; r < t.length; r++)
2562
2562
  this.bump();
2563
2563
  return !0;
2564
2564
  }
2565
2565
  return !1;
2566
2566
  }, e.prototype.bumpUntil = function(t) {
2567
- var n = this.offset(), r = this.message.indexOf(t, n);
2568
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
2567
+ var r = this.offset(), n = this.message.indexOf(t, r);
2568
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2569
2569
  }, e.prototype.bumpTo = function(t) {
2570
2570
  if (this.offset() > t)
2571
2571
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
2572
2572
  for (t = Math.min(t, this.message.length); ; ) {
2573
- var n = this.offset();
2574
- if (n === t)
2573
+ var r = this.offset();
2574
+ if (r === t)
2575
2575
  break;
2576
- if (n > t)
2576
+ if (r > t)
2577
2577
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2578
2578
  if (this.bump(), this.isEOF())
2579
2579
  break;
2580
2580
  }
2581
2581
  }, e.prototype.bumpSpace = function() {
2582
- for (; !this.isEOF() && Pn(this.char()); )
2582
+ for (; !this.isEOF() && Dr(this.char()); )
2583
2583
  this.bump();
2584
2584
  }, e.prototype.peek = function() {
2585
2585
  if (this.isEOF())
2586
2586
  return null;
2587
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
2588
- return r != null ? r : null;
2587
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
2588
+ return n != null ? n : null;
2589
2589
  }, e;
2590
2590
  }()
2591
2591
  );
2592
2592
  function Mt(e) {
2593
2593
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2594
2594
  }
2595
- function ri(e) {
2595
+ function ni(e) {
2596
2596
  return Mt(e) || e === 47;
2597
2597
  }
2598
2598
  function ii(e) {
2599
2599
  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;
2600
2600
  }
2601
- function Pn(e) {
2601
+ function Dr(e) {
2602
2602
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2603
2603
  }
2604
2604
  function oi(e) {
@@ -2606,20 +2606,20 @@ function oi(e) {
2606
2606
  }
2607
2607
  function kt(e) {
2608
2608
  e.forEach(function(t) {
2609
- if (delete t.location, Bn(t) || Tn(t))
2610
- for (var n in t.options)
2611
- delete t.options[n].location, kt(t.options[n].value);
2612
- else wn(t) && Cn(t.style) || (In(t) || xn(t)) && Lt(t.style) ? delete t.style.location : Hn(t) && kt(t.children);
2609
+ if (delete t.location, xr(t) || Br(t))
2610
+ for (var r in t.options)
2611
+ delete t.options[r].location, kt(t.options[r].value);
2612
+ else yr(t) && Hr(t.style) || (wr(t) || Ir(t)) && Lt(t.style) ? delete t.style.location : Tr(t) && kt(t.children);
2613
2613
  });
2614
2614
  }
2615
2615
  function ai(e, t) {
2616
2616
  t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2617
- var n = new ni(e, t).parse();
2618
- if (n.err) {
2619
- var r = SyntaxError(L[n.err.kind]);
2620
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
2617
+ var r = new ri(e, t).parse();
2618
+ if (r.err) {
2619
+ var n = SyntaxError(L[r.err.kind]);
2620
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2621
2621
  }
2622
- return t != null && t.captureLocation || kt(n.val), n.val;
2622
+ return t != null && t.captureLocation || kt(r.val), r.val;
2623
2623
  }
2624
2624
  var ke;
2625
2625
  (function(e) {
@@ -2629,20 +2629,20 @@ var dt = (
2629
2629
  /** @class */
2630
2630
  function(e) {
2631
2631
  ct(t, e);
2632
- function t(n, r, i) {
2633
- var o = e.call(this, n) || this;
2634
- return o.code = r, o.originalMessage = i, o;
2632
+ function t(r, n, i) {
2633
+ var o = e.call(this, r) || this;
2634
+ return o.code = n, o.originalMessage = i, o;
2635
2635
  }
2636
2636
  return t.prototype.toString = function() {
2637
2637
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2638
2638
  }, t;
2639
2639
  }(Error)
2640
- ), nn = (
2640
+ ), rr = (
2641
2641
  /** @class */
2642
2642
  function(e) {
2643
2643
  ct(t, e);
2644
- function t(n, r, i, o) {
2645
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, o) || this;
2644
+ function t(r, n, i, o) {
2645
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, o) || this;
2646
2646
  }
2647
2647
  return t;
2648
2648
  }(dt)
@@ -2650,8 +2650,8 @@ var dt = (
2650
2650
  /** @class */
2651
2651
  function(e) {
2652
2652
  ct(t, e);
2653
- function t(n, r, i) {
2654
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ke.INVALID_VALUE, i) || this;
2653
+ function t(r, n, i) {
2654
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ke.INVALID_VALUE, i) || this;
2655
2655
  }
2656
2656
  return t;
2657
2657
  }(dt)
@@ -2659,8 +2659,8 @@ var dt = (
2659
2659
  /** @class */
2660
2660
  function(e) {
2661
2661
  ct(t, e);
2662
- function t(n, r) {
2663
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ke.MISSING_VALUE, r) || this;
2662
+ function t(r, n) {
2663
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ke.MISSING_VALUE, n) || this;
2664
2664
  }
2665
2665
  return t;
2666
2666
  }(dt)
@@ -2669,15 +2669,15 @@ var dt = (
2669
2669
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2670
2670
  })(ue || (ue = {}));
2671
2671
  function li(e) {
2672
- return e.length < 2 ? e : e.reduce(function(t, n) {
2673
- var r = t[t.length - 1];
2674
- return !r || r.type !== ue.literal || n.type !== ue.literal ? t.push(n) : r.value += n.value, t;
2672
+ return e.length < 2 ? e : e.reduce(function(t, r) {
2673
+ var n = t[t.length - 1];
2674
+ return !n || n.type !== ue.literal || r.type !== ue.literal ? t.push(r) : n.value += r.value, t;
2675
2675
  }, []);
2676
2676
  }
2677
2677
  function hi(e) {
2678
2678
  return typeof e == "function";
2679
2679
  }
2680
- function st(e, t, n, r, i, o, f) {
2680
+ function st(e, t, r, n, i, o, f) {
2681
2681
  if (e.length === 1 && qt(e[0]))
2682
2682
  return [
2683
2683
  {
@@ -2694,10 +2694,10 @@ function st(e, t, n, r, i, o, f) {
2694
2694
  });
2695
2695
  continue;
2696
2696
  }
2697
- if (Lr(l)) {
2697
+ if (Ln(l)) {
2698
2698
  typeof o == "number" && c.push({
2699
2699
  type: ue.literal,
2700
- value: n.getNumberFormat(t).format(o)
2700
+ value: r.getNumberFormat(t).format(o)
2701
2701
  });
2702
2702
  continue;
2703
2703
  }
@@ -2705,42 +2705,42 @@ function st(e, t, n, r, i, o, f) {
2705
2705
  if (!(i && g in i))
2706
2706
  throw new ui(g, f);
2707
2707
  var v = i[g];
2708
- if (Or(l)) {
2708
+ if (On(l)) {
2709
2709
  (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
2710
2710
  type: typeof v == "string" ? ue.literal : ue.object,
2711
2711
  value: v
2712
2712
  });
2713
2713
  continue;
2714
2714
  }
2715
- if (In(l)) {
2716
- var S = typeof l.style == "string" ? r.date[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
2715
+ if (wr(l)) {
2716
+ var S = typeof l.style == "string" ? n.date[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
2717
2717
  c.push({
2718
2718
  type: ue.literal,
2719
- value: n.getDateTimeFormat(t, S).format(v)
2719
+ value: r.getDateTimeFormat(t, S).format(v)
2720
2720
  });
2721
2721
  continue;
2722
2722
  }
2723
- if (xn(l)) {
2724
- var S = typeof l.style == "string" ? r.time[l.style] : Lt(l.style) ? l.style.parsedOptions : r.time.medium;
2723
+ if (Ir(l)) {
2724
+ var S = typeof l.style == "string" ? n.time[l.style] : Lt(l.style) ? l.style.parsedOptions : n.time.medium;
2725
2725
  c.push({
2726
2726
  type: ue.literal,
2727
- value: n.getDateTimeFormat(t, S).format(v)
2727
+ value: r.getDateTimeFormat(t, S).format(v)
2728
2728
  });
2729
2729
  continue;
2730
2730
  }
2731
- if (wn(l)) {
2732
- var S = typeof l.style == "string" ? r.number[l.style] : Cn(l.style) ? l.style.parsedOptions : void 0;
2731
+ if (yr(l)) {
2732
+ var S = typeof l.style == "string" ? n.number[l.style] : Hr(l.style) ? l.style.parsedOptions : void 0;
2733
2733
  S && S.scale && (v = v * (S.scale || 1)), c.push({
2734
2734
  type: ue.literal,
2735
- value: n.getNumberFormat(t, S).format(v)
2735
+ value: r.getNumberFormat(t, S).format(v)
2736
2736
  });
2737
2737
  continue;
2738
2738
  }
2739
- if (Hn(l)) {
2739
+ if (Tr(l)) {
2740
2740
  var M = l.children, x = l.value, C = i[x];
2741
2741
  if (!hi(C))
2742
2742
  throw new si(x, "function", f);
2743
- var B = st(M, t, n, r, i, o), U = C(B.map(function(T) {
2743
+ var B = st(M, t, r, n, i, o), U = C(B.map(function(T) {
2744
2744
  return T.value;
2745
2745
  }));
2746
2746
  Array.isArray(U) || (U = [U]), c.push.apply(c, U.map(function(T) {
@@ -2750,39 +2750,39 @@ function st(e, t, n, r, i, o, f) {
2750
2750
  };
2751
2751
  }));
2752
2752
  }
2753
- if (Bn(l)) {
2753
+ if (xr(l)) {
2754
2754
  var N = l.options[v] || l.options.other;
2755
2755
  if (!N)
2756
- throw new nn(l.value, v, Object.keys(l.options), f);
2757
- c.push.apply(c, st(N.value, t, n, r, i));
2756
+ throw new rr(l.value, v, Object.keys(l.options), f);
2757
+ c.push.apply(c, st(N.value, t, r, n, i));
2758
2758
  continue;
2759
2759
  }
2760
- if (Tn(l)) {
2760
+ if (Br(l)) {
2761
2761
  var N = l.options["=".concat(v)];
2762
2762
  if (!N) {
2763
2763
  if (!Intl.PluralRules)
2764
2764
  throw new dt(`Intl.PluralRules is not available in this environment.
2765
2765
  Try polyfilling it using "@formatjs/intl-pluralrules"
2766
2766
  `, ke.MISSING_INTL_API, f);
2767
- var P = n.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
2767
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
2768
2768
  N = l.options[P] || l.options.other;
2769
2769
  }
2770
2770
  if (!N)
2771
- throw new nn(l.value, v, Object.keys(l.options), f);
2772
- c.push.apply(c, st(N.value, t, n, r, i, v - (l.offset || 0)));
2771
+ throw new rr(l.value, v, Object.keys(l.options), f);
2772
+ c.push.apply(c, st(N.value, t, r, n, i, v - (l.offset || 0)));
2773
2773
  continue;
2774
2774
  }
2775
2775
  }
2776
2776
  return li(c);
2777
2777
  }
2778
2778
  function fi(e, t) {
2779
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
2780
- return n[r] = k(k({}, e[r]), t[r] || {}), n;
2779
+ return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2780
+ return r[n] = k(k({}, e[n]), t[n] || {}), r;
2781
2781
  }, {})) : e;
2782
2782
  }
2783
2783
  function ci(e, t) {
2784
- return t ? Object.keys(e).reduce(function(n, r) {
2785
- return n[r] = fi(e[r], t[r]), n;
2784
+ return t ? Object.keys(e).reduce(function(r, n) {
2785
+ return r[n] = fi(e[n], t[n]), r;
2786
2786
  }, k({}, e)) : e;
2787
2787
  }
2788
2788
  function Ht(e) {
@@ -2792,8 +2792,8 @@ function Ht(e) {
2792
2792
  get: function(t) {
2793
2793
  return e[t];
2794
2794
  },
2795
- set: function(t, n) {
2796
- e[t] = n;
2795
+ set: function(t, r) {
2796
+ e[t] = r;
2797
2797
  }
2798
2798
  };
2799
2799
  }
@@ -2806,25 +2806,25 @@ function di(e) {
2806
2806
  pluralRules: {}
2807
2807
  }), {
2808
2808
  getNumberFormat: xt(function() {
2809
- for (var t, n = [], r = 0; r < arguments.length; r++)
2810
- n[r] = arguments[r];
2811
- return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], n, !1)))();
2809
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2810
+ r[n] = arguments[n];
2811
+ return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
2812
2812
  }, {
2813
2813
  cache: Ht(e.number),
2814
2814
  strategy: Bt.variadic
2815
2815
  }),
2816
2816
  getDateTimeFormat: xt(function() {
2817
- for (var t, n = [], r = 0; r < arguments.length; r++)
2818
- n[r] = arguments[r];
2819
- return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], n, !1)))();
2817
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2818
+ r[n] = arguments[n];
2819
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
2820
2820
  }, {
2821
2821
  cache: Ht(e.dateTime),
2822
2822
  strategy: Bt.variadic
2823
2823
  }),
2824
2824
  getPluralRules: xt(function() {
2825
- for (var t, n = [], r = 0; r < arguments.length; r++)
2826
- n[r] = arguments[r];
2827
- return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], n, !1)))();
2825
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2826
+ r[n] = arguments[n];
2827
+ return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
2828
2828
  }, {
2829
2829
  cache: Ht(e.pluralRules),
2830
2830
  strategy: Bt.variadic
@@ -2834,8 +2834,8 @@ function di(e) {
2834
2834
  var pi = (
2835
2835
  /** @class */
2836
2836
  function() {
2837
- function e(t, n, r, i) {
2838
- n === void 0 && (n = e.defaultLocale);
2837
+ function e(t, r, n, i) {
2838
+ r === void 0 && (r = e.defaultLocale);
2839
2839
  var o = this;
2840
2840
  if (this.formatterCache = {
2841
2841
  number: {},
@@ -2858,18 +2858,18 @@ var pi = (
2858
2858
  };
2859
2859
  }, this.getAst = function() {
2860
2860
  return o.ast;
2861
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
2861
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
2862
2862
  if (this.message = t, !e.__parse)
2863
2863
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2864
2864
  var f = i || {};
2865
2865
  f.formatters;
2866
- var c = Ir(f, ["formatters"]);
2866
+ var c = In(f, ["formatters"]);
2867
2867
  this.ast = e.__parse(t, k(k({}, c), { locale: this.resolvedLocale }));
2868
2868
  } else
2869
2869
  this.ast = t;
2870
2870
  if (!Array.isArray(this.ast))
2871
2871
  throw new TypeError("A message must be provided as a String or AST.");
2872
- this.formats = ci(e.formats, r), this.formatters = i && i.formatters || di(this.formatterCache);
2872
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
2873
2873
  }
2874
2874
  return Object.defineProperty(e, "defaultLocale", {
2875
2875
  get: function() {
@@ -2879,8 +2879,8 @@ var pi = (
2879
2879
  configurable: !0
2880
2880
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
2881
2881
  if (typeof Intl.Locale != "undefined") {
2882
- var n = Intl.NumberFormat.supportedLocalesOf(t);
2883
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2882
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
2883
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2884
2884
  }
2885
2885
  }, e.__parse = ai, e.formats = {
2886
2886
  number: {
@@ -2948,30 +2948,30 @@ function Ai(e, t) {
2948
2948
  return;
2949
2949
  if (t in e)
2950
2950
  return e[t];
2951
- const n = t.split(".");
2952
- let r = e;
2953
- for (let i = 0; i < n.length; i++)
2954
- if (typeof r == "object") {
2951
+ const r = t.split(".");
2952
+ let n = e;
2953
+ for (let i = 0; i < r.length; i++)
2954
+ if (typeof n == "object") {
2955
2955
  if (i > 0) {
2956
- const o = n.slice(i, n.length).join(".");
2957
- if (o in r) {
2958
- r = r[o];
2956
+ const o = r.slice(i, r.length).join(".");
2957
+ if (o in n) {
2958
+ n = n[o];
2959
2959
  break;
2960
2960
  }
2961
2961
  }
2962
- r = r[n[i]];
2962
+ n = n[r[i]];
2963
2963
  } else
2964
- r = void 0;
2965
- return r;
2964
+ n = void 0;
2965
+ return n;
2966
2966
  }
2967
- const Be = {}, mi = (e, t, n) => n && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = n), n), Mn = (e, t) => {
2967
+ const Be = {}, mi = (e, t, r) => r && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = r), r), Pr = (e, t) => {
2968
2968
  if (t == null)
2969
2969
  return;
2970
2970
  if (t in Be && e in Be[t])
2971
2971
  return Be[t][e];
2972
- const n = pt(t);
2973
- for (let r = 0; r < n.length; r++) {
2974
- const i = n[r], o = vi(i, e);
2972
+ const r = pt(t);
2973
+ for (let n = 0; n < r.length; n++) {
2974
+ const i = r[n], o = vi(i, e);
2975
2975
  if (o)
2976
2976
  return mi(e, t, o);
2977
2977
  }
@@ -2981,27 +2981,27 @@ const Fe = ft({});
2981
2981
  function gi(e) {
2982
2982
  return _t[e] || null;
2983
2983
  }
2984
- function kn(e) {
2984
+ function Mr(e) {
2985
2985
  return e in _t;
2986
2986
  }
2987
2987
  function vi(e, t) {
2988
- if (!kn(e))
2988
+ if (!Mr(e))
2989
2989
  return null;
2990
- const n = gi(e);
2991
- return Ai(n, t);
2990
+ const r = gi(e);
2991
+ return Ai(r, t);
2992
2992
  }
2993
2993
  function Ei(e) {
2994
2994
  if (e == null)
2995
2995
  return;
2996
2996
  const t = pt(e);
2997
- for (let n = 0; n < t.length; n++) {
2998
- const r = t[n];
2999
- if (kn(r))
3000
- return r;
2997
+ for (let r = 0; r < t.length; r++) {
2998
+ const n = t[r];
2999
+ if (Mr(n))
3000
+ return n;
3001
3001
  }
3002
3002
  }
3003
- function Un(e, ...t) {
3004
- delete Be[e], Fe.update((n) => (n[e] = wr.all([n[e] || {}, ...t]), n));
3003
+ function kr(e, ...t) {
3004
+ delete Be[e], Fe.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3005
3005
  }
3006
3006
  Ge(
3007
3007
  [Fe],
@@ -3012,40 +3012,40 @@ const ut = {};
3012
3012
  function bi(e, t) {
3013
3013
  ut[e].delete(t), ut[e].size === 0 && delete ut[e];
3014
3014
  }
3015
- function Gn(e) {
3015
+ function Ur(e) {
3016
3016
  return ut[e];
3017
3017
  }
3018
3018
  function yi(e) {
3019
3019
  return pt(e).map((t) => {
3020
- const n = Gn(t);
3021
- return [t, n ? [...n] : []];
3020
+ const r = Ur(t);
3021
+ return [t, r ? [...r] : []];
3022
3022
  }).filter(([, t]) => t.length > 0);
3023
3023
  }
3024
3024
  function Ut(e) {
3025
3025
  return e == null ? !1 : pt(e).some(
3026
3026
  (t) => {
3027
- var n;
3028
- return (n = Gn(t)) == null ? void 0 : n.size;
3027
+ var r;
3028
+ return (r = Ur(t)) == null ? void 0 : r.size;
3029
3029
  }
3030
3030
  );
3031
3031
  }
3032
3032
  function wi(e, t) {
3033
3033
  return Promise.all(
3034
- t.map((r) => (bi(e, r), r().then((i) => i.default || i)))
3035
- ).then((r) => Un(e, ...r));
3034
+ t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
3035
+ ).then((n) => kr(e, ...n));
3036
3036
  }
3037
3037
  const Je = {};
3038
- function Fn(e) {
3038
+ function Gr(e) {
3039
3039
  if (!Ut(e))
3040
3040
  return e in Je ? Je[e] : Promise.resolve();
3041
3041
  const t = yi(e);
3042
3042
  return Je[e] = Promise.all(
3043
3043
  t.map(
3044
- ([n, r]) => wi(n, r)
3044
+ ([r, n]) => wi(r, n)
3045
3045
  )
3046
3046
  ).then(() => {
3047
3047
  if (Ut(e))
3048
- return Fn(e);
3048
+ return Gr(e);
3049
3049
  delete Je[e];
3050
3050
  }), Je[e];
3051
3051
  }
@@ -3090,22 +3090,22 @@ function Ue() {
3090
3090
  return Bi;
3091
3091
  }
3092
3092
  const Ct = ft(!1);
3093
- var Ti = Object.defineProperty, Hi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, rn = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, on = (e, t, n) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Oi = (e, t) => {
3094
- for (var n in t || (t = {}))
3095
- Ri.call(t, n) && on(e, n, t[n]);
3096
- if (rn)
3097
- for (var n of rn(t))
3098
- Si.call(t, n) && on(e, n, t[n]);
3093
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
3094
+ for (var r in t || (t = {}))
3095
+ Ri.call(t, r) && ir(e, r, t[r]);
3096
+ if (nr)
3097
+ for (var r of nr(t))
3098
+ Si.call(t, r) && ir(e, r, t[r]);
3099
3099
  return e;
3100
3100
  }, Li = (e, t) => Hi(e, Ci(t));
3101
3101
  let Gt;
3102
3102
  const lt = ft(null);
3103
- function an(e) {
3104
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3103
+ function or(e) {
3104
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3105
3105
  }
3106
3106
  function pt(e, t = Ue().fallbackLocale) {
3107
- const n = an(e);
3108
- return t ? [.../* @__PURE__ */ new Set([...n, ...an(t)])] : n;
3107
+ const r = or(e);
3108
+ return t ? [.../* @__PURE__ */ new Set([...r, ...or(t)])] : r;
3109
3109
  }
3110
3110
  function Re() {
3111
3111
  return Gt != null ? Gt : void 0;
@@ -3116,14 +3116,14 @@ lt.subscribe((e) => {
3116
3116
  const Ni = (e) => {
3117
3117
  if (e && Ei(e) && Ut(e)) {
3118
3118
  const { loadingDelay: t } = Ue();
3119
- let n;
3120
- return typeof window != "undefined" && Re() != null && t ? n = window.setTimeout(
3119
+ let r;
3120
+ return typeof window != "undefined" && Re() != null && t ? r = window.setTimeout(
3121
3121
  () => Ct.set(!0),
3122
3122
  t
3123
- ) : Ct.set(!0), Fn(e).then(() => {
3123
+ ) : Ct.set(!0), Gr(e).then(() => {
3124
3124
  lt.set(e);
3125
3125
  }).finally(() => {
3126
- clearTimeout(n), Ct.set(!1);
3126
+ clearTimeout(r), Ct.set(!1);
3127
3127
  });
3128
3128
  }
3129
3129
  return lt.set(e);
@@ -3131,83 +3131,83 @@ const Ni = (e) => {
3131
3131
  set: Ni
3132
3132
  }), At = (e) => {
3133
3133
  const t = /* @__PURE__ */ Object.create(null);
3134
- return (r) => {
3135
- const i = JSON.stringify(r);
3136
- return i in t ? t[i] : t[i] = e(r);
3134
+ return (n) => {
3135
+ const i = JSON.stringify(n);
3136
+ return i in t ? t[i] : t[i] = e(n);
3137
3137
  };
3138
3138
  };
3139
- var Di = Object.defineProperty, ht = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, sn = (e, t, n) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Qt = (e, t) => {
3140
- for (var n in t || (t = {}))
3141
- _n.call(t, n) && sn(e, n, t[n]);
3139
+ var Di = Object.defineProperty, ht = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
3140
+ for (var r in t || (t = {}))
3141
+ Fr.call(t, r) && ar(e, r, t[r]);
3142
3142
  if (ht)
3143
- for (var n of ht(t))
3144
- Qn.call(t, n) && sn(e, n, t[n]);
3143
+ for (var r of ht(t))
3144
+ _r.call(t, r) && ar(e, r, t[r]);
3145
3145
  return e;
3146
3146
  }, _e = (e, t) => {
3147
- var n = {};
3148
- for (var r in e)
3149
- _n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3147
+ var r = {};
3148
+ for (var n in e)
3149
+ Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3150
3150
  if (e != null && ht)
3151
- for (var r of ht(e))
3152
- t.indexOf(r) < 0 && Qn.call(e, r) && (n[r] = e[r]);
3153
- return n;
3151
+ for (var n of ht(e))
3152
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
3153
+ return r;
3154
3154
  };
3155
3155
  const Ve = (e, t) => {
3156
- const { formats: n } = Ue();
3157
- if (e in n && t in n[e])
3158
- return n[e][t];
3156
+ const { formats: r } = Ue();
3157
+ if (e in r && t in r[e])
3158
+ return r[e][t];
3159
3159
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3160
3160
  }, Pi = At(
3161
3161
  (e) => {
3162
- var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
3163
- if (n == null)
3162
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3163
+ if (r == null)
3164
3164
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3165
- return r && (i = Ve("number", r)), new Intl.NumberFormat(n, i);
3165
+ return n && (i = Ve("number", n)), new Intl.NumberFormat(r, i);
3166
3166
  }
3167
3167
  ), Mi = At(
3168
3168
  (e) => {
3169
- var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
3170
- if (n == null)
3169
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3170
+ if (r == null)
3171
3171
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3172
- return r ? i = Ve("date", r) : Object.keys(i).length === 0 && (i = Ve("date", "short")), new Intl.DateTimeFormat(n, i);
3172
+ return n ? i = Ve("date", n) : Object.keys(i).length === 0 && (i = Ve("date", "short")), new Intl.DateTimeFormat(r, i);
3173
3173
  }
3174
3174
  ), ki = At(
3175
3175
  (e) => {
3176
- var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
3177
- if (n == null)
3176
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3177
+ if (r == null)
3178
3178
  throw new Error(
3179
3179
  '[svelte-i18n] A "locale" must be set to format time values'
3180
3180
  );
3181
- return r ? i = Ve("time", r) : Object.keys(i).length === 0 && (i = Ve("time", "short")), new Intl.DateTimeFormat(n, i);
3181
+ return n ? i = Ve("time", n) : Object.keys(i).length === 0 && (i = Ve("time", "short")), new Intl.DateTimeFormat(r, i);
3182
3182
  }
3183
3183
  ), Ui = (e = {}) => {
3184
3184
  var t = e, {
3185
- locale: n = Re()
3186
- } = t, r = _e(t, [
3185
+ locale: r = Re()
3186
+ } = t, n = _e(t, [
3187
3187
  "locale"
3188
3188
  ]);
3189
- return Pi(Qt({ locale: n }, r));
3189
+ return Pi(Qt({ locale: r }, n));
3190
3190
  }, Gi = (e = {}) => {
3191
3191
  var t = e, {
3192
- locale: n = Re()
3193
- } = t, r = _e(t, [
3192
+ locale: r = Re()
3193
+ } = t, n = _e(t, [
3194
3194
  "locale"
3195
3195
  ]);
3196
- return Mi(Qt({ locale: n }, r));
3196
+ return Mi(Qt({ locale: r }, n));
3197
3197
  }, Fi = (e = {}) => {
3198
3198
  var t = e, {
3199
- locale: n = Re()
3200
- } = t, r = _e(t, [
3199
+ locale: r = Re()
3200
+ } = t, n = _e(t, [
3201
3201
  "locale"
3202
3202
  ]);
3203
- return ki(Qt({ locale: n }, r));
3203
+ return ki(Qt({ locale: r }, n));
3204
3204
  }, _i = At(
3205
3205
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3206
3206
  (e, t = Re()) => new pi(e, t, Ue().formats, {
3207
3207
  ignoreTag: Ue().ignoreTag
3208
3208
  })
3209
3209
  ), Qi = (e, t = {}) => {
3210
- var n, r, i, o;
3210
+ var r, n, i, o;
3211
3211
  let f = t;
3212
3212
  typeof e == "object" && (f = e, e = f.id);
3213
3213
  const {
@@ -3219,9 +3219,9 @@ const Ve = (e, t) => {
3219
3219
  throw new Error(
3220
3220
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3221
3221
  );
3222
- let l = Mn(e, d);
3222
+ let l = Pr(e, d);
3223
3223
  if (!l)
3224
- l = (o = (i = (r = (n = Ue()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3224
+ l = (o = (i = (n = (r = Ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3225
3225
  else if (typeof l != "string")
3226
3226
  return console.warn(
3227
3227
  `[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.`
@@ -3238,23 +3238,23 @@ const Ve = (e, t) => {
3238
3238
  );
3239
3239
  }
3240
3240
  return g;
3241
- }, ji = (e, t) => Fi(t).format(e), Ji = (e, t) => Gi(t).format(e), Xi = (e, t) => Ui(t).format(e), zi = (e, t = Re()) => Mn(e, t), Vi = Ge([Te, Fe], () => Qi);
3241
+ }, ji = (e, t) => Fi(t).format(e), Ji = (e, t) => Gi(t).format(e), Xi = (e, t) => Ui(t).format(e), zi = (e, t = Re()) => Pr(e, t), Vi = Ge([Te, Fe], () => Qi);
3242
3242
  Ge([Te], () => ji);
3243
3243
  Ge([Te], () => Ji);
3244
3244
  Ge([Te], () => Xi);
3245
3245
  Ge([Te, Fe], () => zi);
3246
3246
  function Zi({ withLocale: e, translations: t }) {
3247
- Te.subscribe((n) => {
3248
- n == null && (Fe.set(t), Te.set(e));
3247
+ Te.subscribe((r) => {
3248
+ r == null && (Fe.set(t), Te.set(e));
3249
3249
  });
3250
3250
  }
3251
- function un(e, t) {
3252
- Un(e, t);
3251
+ function sr(e, t) {
3252
+ kr(e, t);
3253
3253
  }
3254
3254
  function qi(e) {
3255
3255
  Te.set(e);
3256
3256
  }
3257
- const ln = {
3257
+ const ur = {
3258
3258
  en: {
3259
3259
  loading: "Loading"
3260
3260
  },
@@ -3287,8 +3287,8 @@ var Ft = { exports: {} };
3287
3287
  * https://github.com/Yaffle/EventSource/
3288
3288
  */
3289
3289
  (function(e, t) {
3290
- (function(n) {
3291
- 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, g = n.fetch, v = n.Response, S = n.TextDecoder, M = n.TextEncoder, x = n.AbortController;
3290
+ (function(r) {
3291
+ 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, g = r.fetch, v = r.Response, S = r.TextDecoder, M = r.TextEncoder, x = r.AbortController;
3292
3292
  if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
3293
3293
  u.readyState = "complete";
3294
3294
  }, !1)), o == null && c != null && (o = function() {
@@ -3413,7 +3413,7 @@ var Ft = { exports: {} };
3413
3413
  }, F = function(m) {
3414
3414
  A != null && (A.readyState === 4 ? (!("onload" in A) || !("onerror" in A) || !("onabort" in A)) && O(A.responseText === "" ? "error" : "load", m) : A.readyState === 3 ? "onprogress" in A || J() : A.readyState === 2 && R());
3415
3415
  }, s = function() {
3416
- y = r(function() {
3416
+ y = n(function() {
3417
3417
  s();
3418
3418
  }, 500), A.readyState === 3 && J();
3419
3419
  };
@@ -3425,7 +3425,7 @@ var Ft = { exports: {} };
3425
3425
  O("abort", m);
3426
3426
  }), "onprogress" in A && (A.onprogress = J), "onreadystatechange" in A && (A.onreadystatechange = function(m) {
3427
3427
  F(m);
3428
- }), ("contentType" in A || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), A.open(a, p, !0), "readyState" in A && (y = r(function() {
3428
+ }), ("contentType" in A || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), A.open(a, p, !0), "readyState" in A && (y = n(function() {
3429
3429
  s();
3430
3430
  }, 0));
3431
3431
  }, P.prototype.abort = function() {
@@ -3440,7 +3440,7 @@ var Ft = { exports: {} };
3440
3440
  }, P.prototype.send = function() {
3441
3441
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
3442
3442
  var a = this;
3443
- a._sendTimeout = r(function() {
3443
+ a._sendTimeout = n(function() {
3444
3444
  a._sendTimeout = 0, a.send();
3445
3445
  }, 4);
3446
3446
  return;
@@ -3515,8 +3515,8 @@ var Ft = { exports: {} };
3515
3515
  if (oe.done)
3516
3516
  I(void 0);
3517
3517
  else {
3518
- var re = s.decode(oe.value, { stream: !0 });
3519
- b(re), ye();
3518
+ var ne = s.decode(oe.value, { stream: !0 });
3519
+ b(ne), ye();
3520
3520
  }
3521
3521
  }).catch(function(oe) {
3522
3522
  Z(oe);
@@ -3539,7 +3539,7 @@ var Ft = { exports: {} };
3539
3539
  this._listeners = /* @__PURE__ */ Object.create(null);
3540
3540
  }
3541
3541
  function Y(a) {
3542
- r(function() {
3542
+ n(function() {
3543
3543
  throw a;
3544
3544
  }, 0);
3545
3545
  }
@@ -3607,7 +3607,7 @@ var Ft = { exports: {} };
3607
3607
  var gt = g != null && v != null && "body" in v.prototype;
3608
3608
  function vt(a, p, b) {
3609
3609
  p = String(p);
3610
- var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, re = 0, Ae = $, Le = "", nt = "", we = "", rt = "", ae = te, Et = 0, Ce = 0, jn = function(ee, W, ce, de) {
3610
+ var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, ne = 0, Ae = $, Le = "", rt = "", we = "", nt = "", ae = te, Et = 0, Ce = 0, Qr = function(ee, W, ce, de) {
3611
3611
  if (Ae === me)
3612
3612
  if (ee === 200 && ce != null && Ke.test(ce)) {
3613
3613
  Ae = Ee, F = Date.now(), O = y, a.readyState = Ee;
@@ -3618,42 +3618,42 @@ var Ft = { exports: {} };
3618
3618
  });
3619
3619
  a.dispatchEvent(se), be(a, a.onopen, se);
3620
3620
  } else {
3621
- var ne = "";
3622
- ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")), ne = "EventSource's response has a status " + ee + " " + W + " that is not 200. Aborting the connection.") : ne = "EventSource's response has a Content-Type specifying an unsupported type: " + (ce == null ? "-" : ce.replace(/\s+/g, " ")) + ". Aborting the connection.", bt();
3621
+ var re = "";
3622
+ ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")), re = "EventSource's response has a status " + ee + " " + W + " that is not 200. Aborting the connection.") : re = "EventSource's response has a Content-Type specifying an unsupported type: " + (ce == null ? "-" : ce.replace(/\s+/g, " ")) + ". Aborting the connection.", bt();
3623
3623
  var se = new q("error", {
3624
3624
  status: ee,
3625
3625
  statusText: W,
3626
3626
  headers: de
3627
3627
  });
3628
- a.dispatchEvent(se), be(a, a.onerror, se), console.error(ne);
3628
+ a.dispatchEvent(se), be(a, a.onerror, se), console.error(re);
3629
3629
  }
3630
- }, Jn = function(ee) {
3630
+ }, jr = function(ee) {
3631
3631
  if (Ae === Ee) {
3632
3632
  for (var W = -1, ce = 0; ce < ee.length; ce += 1) {
3633
3633
  var de = ee.charCodeAt(ce);
3634
3634
  (de === 10 || de === 13) && (W = ce);
3635
3635
  }
3636
- var se = (W !== -1 ? rt : "") + ee.slice(0, W + 1);
3637
- rt = (W === -1 ? rt : "") + ee.slice(W + 1), ee !== "" && (F = Date.now(), s += ee.length);
3638
- for (var ne = 0; ne < se.length; ne += 1) {
3639
- var de = se.charCodeAt(ne);
3636
+ var se = (W !== -1 ? nt : "") + ee.slice(0, W + 1);
3637
+ nt = (W === -1 ? nt : "") + ee.slice(W + 1), ee !== "" && (F = Date.now(), s += ee.length);
3638
+ for (var re = 0; re < se.length; re += 1) {
3639
+ var de = se.charCodeAt(re);
3640
3640
  if (ae === Se && de === 10)
3641
3641
  ae = te;
3642
3642
  else if (ae === Se && (ae = te), de === 13 || de === 10) {
3643
3643
  if (ae !== te) {
3644
- ae === Oe && (Ce = ne + 1);
3645
- var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < ne && se.charCodeAt(Ce) === 32 ? 1 : 0), ne);
3644
+ ae === Oe && (Ce = re + 1);
3645
+ var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < re && se.charCodeAt(Ce) === 32 ? 1 : 0), re);
3646
3646
  Ie === "data" ? (Le += `
3647
- `, Le += xe) : Ie === "id" ? nt = xe : Ie === "event" ? we = xe : Ie === "retry" ? (y = He(xe, y), O = y) : Ie === "heartbeatTimeout" && (R = He(xe, R), re !== 0 && (i(re), re = r(function() {
3647
+ `, Le += xe) : Ie === "id" ? rt = xe : Ie === "event" ? we = xe : Ie === "retry" ? (y = He(xe, y), O = y) : Ie === "heartbeatTimeout" && (R = He(xe, R), ne !== 0 && (i(ne), ne = n(function() {
3648
3648
  je();
3649
3649
  }, R)));
3650
3650
  }
3651
3651
  if (ae === te) {
3652
3652
  if (Le !== "") {
3653
- J = nt, we === "" && (we = "message");
3653
+ J = rt, we === "" && (we = "message");
3654
3654
  var Ne = new V(we, {
3655
3655
  data: Le.slice(1),
3656
- lastEventId: nt
3656
+ lastEventId: rt
3657
3657
  });
3658
3658
  if (a.dispatchEvent(Ne), we === "open" ? be(a, a.onopen, Ne) : we === "message" ? be(a, a.onmessage, Ne) : we === "error" && be(a, a.onerror, Ne), Ae === pe)
3659
3659
  return;
@@ -3662,34 +3662,34 @@ var Ft = { exports: {} };
3662
3662
  }
3663
3663
  ae = de === 13 ? Se : te;
3664
3664
  } else
3665
- ae === te && (Et = ne, ae = Oe), ae === Oe ? de === 58 && (Ce = ne + 1, ae = Ye) : ae === Ye && (ae = We);
3665
+ ae === te && (Et = re, ae = Oe), ae === Oe ? de === 58 && (Ce = re + 1, ae = Ye) : ae === Ye && (ae = We);
3666
3666
  }
3667
3667
  }
3668
3668
  }, jt = function(ee) {
3669
3669
  if (Ae === Ee || Ae === me) {
3670
- Ae = $, re !== 0 && (i(re), re = 0), re = r(function() {
3670
+ Ae = $, ne !== 0 && (i(ne), ne = 0), ne = n(function() {
3671
3671
  je();
3672
3672
  }, O), O = Qe(Math.min(y * 16, O * 2)), a.readyState = me;
3673
3673
  var W = new j("error", { error: ee });
3674
3674
  a.dispatchEvent(W), be(a, a.onerror, W), ee != null && console.error(ee);
3675
3675
  }
3676
3676
  }, bt = function() {
3677
- Ae = pe, oe != null && (oe.abort(), oe = void 0), re !== 0 && (i(re), re = 0), a.readyState = pe;
3677
+ Ae = pe, oe != null && (oe.abort(), oe = void 0), ne !== 0 && (i(ne), ne = 0), a.readyState = pe;
3678
3678
  }, je = function() {
3679
- if (re = 0, Ae !== $) {
3679
+ if (ne = 0, Ae !== $) {
3680
3680
  if (!F && oe != null)
3681
3681
  jt(new Error("No activity within " + R + " milliseconds. " + (Ae === me ? "No response received." : s + " chars received.") + " Reconnecting.")), oe != null && (oe.abort(), oe = void 0);
3682
3682
  else {
3683
3683
  var ee = Math.max((F || Date.now()) + R - Date.now(), 1);
3684
- F = !1, re = r(function() {
3684
+ F = !1, ne = n(function() {
3685
3685
  je();
3686
3686
  }, ee);
3687
3687
  }
3688
3688
  return;
3689
3689
  }
3690
- F = !1, s = 0, re = r(function() {
3690
+ F = !1, s = 0, ne = n(function() {
3691
3691
  je();
3692
- }, R), Ae = me, Le = "", we = "", nt = J, rt = "", Et = 0, Ce = 0, ae = te;
3692
+ }, R), Ae = me, Le = "", we = "", rt = J, nt = "", Et = 0, Ce = 0, ae = te;
3693
3693
  var W = p;
3694
3694
  if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && J !== "") {
3695
3695
  var ce = p.indexOf("?");
@@ -3699,12 +3699,12 @@ var Ft = { exports: {} };
3699
3699
  }
3700
3700
  var de = a.withCredentials, se = {};
3701
3701
  se.Accept = "text/event-stream";
3702
- var ne = a.headers;
3703
- if (ne != null)
3704
- for (var Ie in ne)
3705
- Object.prototype.hasOwnProperty.call(ne, Ie) && (se[Ie] = ne[Ie]);
3702
+ var re = a.headers;
3703
+ if (re != null)
3704
+ for (var Ie in re)
3705
+ Object.prototype.hasOwnProperty.call(re, Ie) && (se[Ie] = re[Ie]);
3706
3706
  try {
3707
- oe = ye.open(Z, jn, Jn, jt, W, de, se);
3707
+ oe = ye.open(Z, Qr, jr, jt, W, de, se);
3708
3708
  } catch (xe) {
3709
3709
  throw bt(), xe;
3710
3710
  }
@@ -3723,7 +3723,7 @@ var Ft = { exports: {} };
3723
3723
  }(function(a) {
3724
3724
  a.EventSourcePolyfill = le, a.NativeEventSource = d, a.EventSource = tt;
3725
3725
  });
3726
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : ar : globalThis);
3726
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : an : globalThis);
3727
3727
  })(Ft, Ft.exports);
3728
3728
  var Yi = Ft.exports;
3729
3729
  const Wi = `
@@ -3731,13 +3731,13 @@ const Wi = `
3731
3731
  `;
3732
3732
  if (typeof window != "undefined") {
3733
3733
  let e = function(t) {
3734
- return function(...n) {
3734
+ return function(...r) {
3735
3735
  try {
3736
- return t.apply(this, n);
3737
- } catch (r) {
3738
- 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"))
3736
+ return t.apply(this, r);
3737
+ } catch (n) {
3738
+ 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"))
3739
3739
  return !1;
3740
- throw r;
3740
+ throw n;
3741
3741
  }
3742
3742
  };
3743
3743
  };
@@ -3746,20 +3746,20 @@ if (typeof window != "undefined") {
3746
3746
  });
3747
3747
  }
3748
3748
  function Ki(e) {
3749
- Wn(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}");
3749
+ Yr(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}");
3750
3750
  }
3751
- function hn(e, t, n) {
3752
- const r = e.slice();
3753
- return r[64] = t[n], r[66] = n, r;
3751
+ function lr(e, t, r) {
3752
+ const n = e.slice();
3753
+ return n[64] = t[r], n[66] = r, n;
3754
3754
  }
3755
- function fn(e) {
3756
- let t, n, r, i = (
3755
+ function hr(e) {
3756
+ let t, r, n, i = (
3757
3757
  /*$_*/
3758
3758
  e[13]("loading") + ""
3759
3759
  ), o, f, c, d, u, l;
3760
3760
  return {
3761
3761
  c() {
3762
- t = K("div"), n = K("div"), r = K("span"), o = vn(i), f = ve(), c = K("div"), d = K("casino-tournaments-rank"), u = ve(), l = K("div"), l.innerHTML = "", h(r, "part", "TournamentInfo_Name_link"), h(n, "part", "TournamentInfo_Name"), h(n, "class", "name"), X(d, "displayin", "col"), X(d, "showicon", "false"), X(d, "userrank", "-"), X(d, "prize", "-"), X(d, "overallrank", "-"), X(d, "tournamentid", ""), X(
3762
+ t = K("div"), r = K("div"), n = K("span"), o = gr(i), f = ve(), c = K("div"), d = K("casino-tournaments-rank"), u = ve(), l = K("div"), l.innerHTML = "", h(n, "part", "TournamentInfo_Name_link"), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), X(d, "displayin", "col"), X(d, "showicon", "false"), X(d, "userrank", "-"), X(d, "prize", "-"), X(d, "overallrank", "-"), X(d, "tournamentid", ""), X(
3763
3763
  d,
3764
3764
  "clientstyling",
3765
3765
  /*clientstyling*/
@@ -3769,15 +3769,15 @@ function fn(e) {
3769
3769
  "clientstylingurl",
3770
3770
  /*clientstylingurl*/
3771
3771
  e[2]
3772
- ), 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"), tr(t, "height", "200px");
3772
+ ), 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"), en(t, "height", "200px");
3773
3773
  },
3774
3774
  m(g, v) {
3775
- qe(g, t, v), H(t, n), H(n, r), H(r, o), H(t, f), H(t, c), H(c, d), H(t, u), H(t, l);
3775
+ qe(g, t, v), H(t, r), H(r, n), H(n, o), H(t, f), H(t, c), H(c, d), H(t, u), H(t, l);
3776
3776
  },
3777
3777
  p(g, v) {
3778
3778
  v[0] & /*$_*/
3779
3779
  8192 && i !== (i = /*$_*/
3780
- g[13]("loading") + "") && gn(o, i), v[0] & /*clientstyling*/
3780
+ g[13]("loading") + "") && mr(o, i), v[0] & /*clientstyling*/
3781
3781
  2 && X(
3782
3782
  d,
3783
3783
  "clientstyling",
@@ -3796,8 +3796,8 @@ function fn(e) {
3796
3796
  }
3797
3797
  };
3798
3798
  }
3799
- function cn(e) {
3800
- let t, n, r, i = (
3799
+ function fr(e) {
3800
+ let t, r, n, i = (
3801
3801
  /*currentTournament*/
3802
3802
  e[7].name + ""
3803
3803
  ), o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P = Xt(
@@ -3805,14 +3805,14 @@ function cn(e) {
3805
3805
  e[4]
3806
3806
  ), T = [];
3807
3807
  for (let E = 0; E < P.length; E += 1)
3808
- T[E] = dn(hn(e, P, E));
3808
+ T[E] = cr(lr(e, P, E));
3809
3809
  return {
3810
3810
  c() {
3811
- t = K("div"), n = K("div"), r = K("span"), o = vn(i), c = ve(), d = K("div"), u = K("casino-tournaments-rank"), M = ve(), x = K("div");
3811
+ t = K("div"), r = K("div"), n = K("span"), o = gr(i), c = ve(), d = K("div"), u = K("casino-tournaments-rank"), M = ve(), x = K("div");
3812
3812
  for (let E = 0; E < T.length; E += 1)
3813
3813
  T[E].c();
3814
- h(r, "part", "TournamentInfo_Name_link"), h(r, "class", "TournamentNameLink"), h(r, "title", f = /*currentTournament*/
3815
- e[7].name), h(n, "part", "TournamentInfo_Name"), h(n, "class", "name"), X(u, "displayin", "col"), X(u, "showicon", "false"), X(u, "userrank", l = /*currentTournament*/
3814
+ h(n, "part", "TournamentInfo_Name_link"), h(n, "class", "TournamentNameLink"), h(n, "title", f = /*currentTournament*/
3815
+ e[7].name), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), X(u, "displayin", "col"), X(u, "showicon", "false"), X(u, "userrank", l = /*currentTournament*/
3816
3816
  e[7].rank), X(u, "prize", g = /*currentTournament*/
3817
3817
  e[7].prize), X(u, "overallrank", v = /*currentTournament*/
3818
3818
  e[7].overallRank), X(u, "tournamentid", S = /*currentTournament*/
@@ -3829,11 +3829,11 @@ function cn(e) {
3829
3829
  ), h(d, "part", "TournamentInfo_Rank"), h(d, "class", "rank"), h(x, "part", "TournamentInfo_Points"), h(x, "class", "circle"), h(t, "part", "TournamentInfo"), h(t, "class", "TournamentInfo");
3830
3830
  },
3831
3831
  m(E, _) {
3832
- qe(E, t, _), H(t, n), H(n, r), H(r, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
3832
+ qe(E, t, _), H(t, r), H(r, n), H(n, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
3833
3833
  for (let Q = 0; Q < T.length; Q += 1)
3834
3834
  T[Q] && T[Q].m(x, null);
3835
3835
  e[27](t), B = !0, U || (N = at(
3836
- r,
3836
+ n,
3837
3837
  "click",
3838
3838
  /*click_handler_1*/
3839
3839
  e[26]
@@ -3842,9 +3842,9 @@ function cn(e) {
3842
3842
  p(E, _) {
3843
3843
  if ((!B || _[0] & /*currentTournament*/
3844
3844
  128) && i !== (i = /*currentTournament*/
3845
- E[7].name + "") && gn(o, i), (!B || _[0] & /*currentTournament*/
3845
+ E[7].name + "") && mr(o, i), (!B || _[0] & /*currentTournament*/
3846
3846
  128 && f !== (f = /*currentTournament*/
3847
- E[7].name)) && h(r, "title", f), (!B || _[0] & /*currentTournament*/
3847
+ E[7].name)) && h(n, "title", f), (!B || _[0] & /*currentTournament*/
3848
3848
  128 && l !== (l = /*currentTournament*/
3849
3849
  E[7].rank)) && X(u, "userrank", l), (!B || _[0] & /*currentTournament*/
3850
3850
  128 && g !== (g = /*currentTournament*/
@@ -3872,8 +3872,8 @@ function cn(e) {
3872
3872
  );
3873
3873
  let Q;
3874
3874
  for (Q = 0; Q < P.length; Q += 1) {
3875
- const ie = hn(E, P, Q);
3876
- T[Q] ? T[Q].p(ie, _) : (T[Q] = dn(ie), T[Q].c(), T[Q].m(x, null));
3875
+ const ie = lr(E, P, Q);
3876
+ T[Q] ? T[Q].p(ie, _) : (T[Q] = cr(ie), T[Q].c(), T[Q].m(x, null));
3877
3877
  }
3878
3878
  for (; Q < T.length; Q += 1)
3879
3879
  T[Q].d(1);
@@ -3881,7 +3881,7 @@ function cn(e) {
3881
3881
  }
3882
3882
  },
3883
3883
  i(E) {
3884
- B || (E && rr(() => {
3884
+ B || (E && rn(() => {
3885
3885
  B && (C || (C = zt(t, Vt, { delay: 250, duration: 300 }, !0)), C.run(1));
3886
3886
  }), B = !0);
3887
3887
  },
@@ -3889,60 +3889,60 @@ function cn(e) {
3889
3889
  E && (C || (C = zt(t, Vt, { delay: 250, duration: 300 }, !1)), C.run(0)), B = !1;
3890
3890
  },
3891
3891
  d(E) {
3892
- E && Ze(t), nr(T, E), e[27](null), E && C && C.end(), U = !1, N();
3892
+ E && Ze(t), tn(T, E), e[27](null), E && C && C.end(), U = !1, N();
3893
3893
  }
3894
3894
  };
3895
3895
  }
3896
- function dn(e) {
3897
- let t, n, r;
3896
+ function cr(e) {
3897
+ let t, r, n;
3898
3898
  return {
3899
3899
  c() {
3900
- t = he("svg"), n = he("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*/
3900
+ t = he("svg"), r = he("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*/
3901
3901
  e[5] == /*idx*/
3902
3902
  e[66] ? "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");
3903
3903
  },
3904
3904
  m(i, o) {
3905
- qe(i, t, o), H(t, n);
3905
+ qe(i, t, o), H(t, r);
3906
3906
  },
3907
3907
  p(i, o) {
3908
3908
  o[0] & /*currentTournamentIdx*/
3909
- 32 && r !== (r = /*currentTournamentIdx*/
3909
+ 32 && n !== (n = /*currentTournamentIdx*/
3910
3910
  i[5] == /*idx*/
3911
- i[66] ? "active" : "") && h(t, "class", r);
3911
+ i[66] ? "active" : "") && h(t, "class", n);
3912
3912
  },
3913
3913
  d(i) {
3914
3914
  i && Ze(t);
3915
3915
  }
3916
3916
  };
3917
3917
  }
3918
- function pn(e) {
3919
- let t, n;
3918
+ function dr(e) {
3919
+ let t, r;
3920
3920
  return {
3921
3921
  c() {
3922
- t = he("svg"), n = he("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");
3922
+ t = he("svg"), r = he("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");
3923
3923
  },
3924
- m(r, i) {
3925
- qe(r, t, i), H(t, n);
3924
+ m(n, i) {
3925
+ qe(n, t, i), H(t, r);
3926
3926
  },
3927
- d(r) {
3928
- r && Ze(t);
3927
+ d(n) {
3928
+ n && Ze(t);
3929
3929
  }
3930
3930
  };
3931
3931
  }
3932
3932
  function $i(e) {
3933
- let t, n, r, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
3934
- e[4] && fn(e), V = (
3933
+ let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
3934
+ e[4] && hr(e), V = (
3935
3935
  /*tournamentList*/
3936
3936
  e[4] && /*tournamentList*/
3937
- e[4].length > 0 && cn(e)
3937
+ e[4].length > 0 && fr(e)
3938
3938
  ), q = (
3939
3939
  /*isLast*/
3940
- e[9] && pn()
3940
+ e[9] && dr()
3941
3941
  );
3942
3942
  return {
3943
3943
  c() {
3944
- t = K("div"), n = K("div"), r = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"), N = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), Q = ve(), ie = K("div"), ie.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*/
3945
- (e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "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(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "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(
3944
+ t = K("div"), r = K("div"), n = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"), N = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), Q = ve(), ie = K("div"), ie.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*/
3945
+ (e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "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(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "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(
3946
3946
  U,
3947
3947
  "width",
3948
3948
  /*iconsize*/
@@ -3972,9 +3972,9 @@ function $i(e) {
3972
3972
  e[0]}`), h(B, "fill", "none"), h(B, "xmlns", "http://www.w3.org/2000/svg"), h(B, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(C, "class", "svg"), h(C, "part", "Icon"), h(ie, "class", "restoreButton"), h(ie, "part", "RestoreButton"), h(x, "id", "animator"), h(x, "part", "Animator");
3973
3973
  },
3974
3974
  m(j, $) {
3975
- qe(j, t, $), H(t, n), H(n, r), H(r, i), H(i, o), H(n, c), G && G.m(n, null), H(n, d), V && V.m(n, null), H(n, u), H(n, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](n), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B, N), H(N, P), H(P, T), H(N, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
3975
+ qe(j, t, $), H(t, r), H(r, n), H(n, i), H(i, o), H(r, c), G && G.m(r, null), H(r, d), V && V.m(r, null), H(r, u), H(r, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](r), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B, N), H(N, P), H(P, T), H(N, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
3976
3976
  at(
3977
- r,
3977
+ n,
3978
3978
  "click",
3979
3979
  /*click_handler*/
3980
3980
  e[25]
@@ -3996,14 +3996,14 @@ function $i(e) {
3996
3996
  p(j, $) {
3997
3997
  $[0] & /*isFirst*/
3998
3998
  256 && f !== (f = "ArrowLeft " + /*isFirst*/
3999
- (j[8] ? "Disabled" : "")) && h(r, "class", f), /*tournamentList*/
4000
- j[4] ? G && (G.d(1), G = null) : G ? G.p(j, $) : (G = fn(j), G.c(), G.m(n, d)), /*tournamentList*/
3999
+ (j[8] ? "Disabled" : "")) && h(n, "class", f), /*tournamentList*/
4000
+ j[4] ? G && (G.d(1), G = null) : G ? G.p(j, $) : (G = hr(j), G.c(), G.m(r, d)), /*tournamentList*/
4001
4001
  j[4] && /*tournamentList*/
4002
4002
  j[4].length > 0 ? V ? (V.p(j, $), $[0] & /*tournamentList*/
4003
- 16 && yt(V, 1)) : (V = cn(j), V.c(), yt(V, 1), V.m(n, u)) : V && (ir(), Jt(V, 1, 1, () => {
4003
+ 16 && yt(V, 1)) : (V = fr(j), V.c(), yt(V, 1), V.m(r, u)) : V && (nn(), Jt(V, 1, 1, () => {
4004
4004
  V = null;
4005
- }), Kn()), /*isLast*/
4006
- j[9] ? q || (q = pn(), q.c(), q.m(l, null)) : q && (q.d(1), q = null), $[0] & /*iconsize*/
4005
+ }), Wr()), /*isLast*/
4006
+ j[9] ? q || (q = dr(), q.c(), q.m(l, null)) : q && (q.d(1), q = null), $[0] & /*iconsize*/
4007
4007
  1 && h(
4008
4008
  U,
4009
4009
  "width",
@@ -4045,30 +4045,30 @@ function $i(e) {
4045
4045
  Jt(V);
4046
4046
  },
4047
4047
  d(j) {
4048
- j && Ze(t), G && G.d(), V && V.d(), q && q.d(), e[29](null), e[30](null), e[32](null), fe = !1, mn(Y);
4048
+ j && Ze(t), G && G.d(), V && V.d(), q && q.d(), e[29](null), e[30](null), e[32](null), fe = !1, Ar(Y);
4049
4049
  }
4050
4050
  };
4051
4051
  }
4052
4052
  let Rt = 1, St = 300;
4053
- function eo(e, t, n) {
4054
- let r, i;
4055
- $n(e, Vi, (s) => n(13, i = s));
4053
+ function eo(e, t, r) {
4054
+ let n, i;
4055
+ Kr(e, Vi, (s) => r(13, i = s));
4056
4056
  let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: g = "" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: M = "" } = t, x, C = [], B, U = 0, N = !0, P = !1, T, E, _ = null, Q = null, ie, fe = !1, Y, G;
4057
4057
  Zi({ withLocale: "en", translations: {} });
4058
4058
  const V = () => {
4059
4059
  fetch(M).then((m) => m.json()).then((m) => {
4060
4060
  Object.keys(m).forEach((I) => {
4061
- un(I, m[I]);
4061
+ sr(I, m[I]);
4062
4062
  });
4063
4063
  }).catch((m) => {
4064
4064
  console.log(m);
4065
4065
  });
4066
4066
  };
4067
- Object.keys(ln).forEach((s) => {
4068
- un(s, ln[s]);
4067
+ Object.keys(ur).forEach((s) => {
4068
+ sr(s, ur[s]);
4069
4069
  });
4070
4070
  const q = (s) => {
4071
- s.data && s.data.type == "TournamentList" && n(4, C = s.data.tournamentList);
4071
+ s.data && s.data.type == "TournamentList" && r(4, C = s.data.tournamentList);
4072
4072
  }, j = () => {
4073
4073
  o.length > 0 && o != "false";
4074
4074
  }, $ = () => {
@@ -4076,7 +4076,7 @@ function eo(e, t, n) {
4076
4076
  }, me = () => {
4077
4077
  C.length !== 0 && (te.curTournament.hide(), setTimeout(
4078
4078
  () => {
4079
- n(5, U = (U + 1) % C.length), te.curTournament.show();
4079
+ r(5, U = (U + 1) % C.length), te.curTournament.show();
4080
4080
  },
4081
4081
  St * 1.5
4082
4082
  ));
@@ -4090,42 +4090,42 @@ function eo(e, t, n) {
4090
4090
  }, pe = (s) => {
4091
4091
  te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 && N) && setTimeout(
4092
4092
  () => {
4093
- n(5, U = U + s), te.curTournament.show();
4093
+ r(5, U = U + s), te.curTournament.show();
4094
4094
  },
4095
4095
  St * 1.5
4096
4096
  );
4097
4097
  }, Se = (s) => setTimeout(() => s(), Rt * 1e3), te = {
4098
4098
  icon: {
4099
4099
  init() {
4100
- n(10, Y.style.transition = `all ${Rt}s ease-in-out`, Y);
4100
+ r(10, Y.style.transition = `all ${Rt}s ease-in-out`, Y);
4101
4101
  },
4102
4102
  show() {
4103
- n(10, Y.style.display = "flex", Y), Se(() => n(10, Y.style.opacity = "1", Y));
4103
+ r(10, Y.style.display = "flex", Y), Se(() => r(10, Y.style.opacity = "1", Y));
4104
4104
  },
4105
4105
  hide() {
4106
- n(10, Y.style.display = "none", Y), n(10, Y.style.opacity = "0", Y);
4106
+ r(10, Y.style.display = "none", Y), r(10, Y.style.opacity = "0", Y);
4107
4107
  }
4108
4108
  },
4109
4109
  slider: {
4110
4110
  init() {
4111
- n(6, E.style.transition = `all ${Rt}s ease-in-out`, E);
4111
+ r(6, E.style.transition = `all ${Rt}s ease-in-out`, E);
4112
4112
  },
4113
4113
  show() {
4114
- n(6, E.style.opacity = "1", E), n(6, E.style.transform = null, E), document.querySelector("body").style["overflow-x"] = "hidden";
4114
+ r(6, E.style.opacity = "1", E), r(6, E.style.transform = null, E), document.querySelector("body").style["overflow-x"] = "hidden";
4115
4115
  },
4116
4116
  hide() {
4117
- this.init(), n(6, E.style.opacity = "0", E), n(6, E.style.transform = `translateX(${E.clientWidth + 20}px)`, E), Se(() => document.querySelector("body").setAttribute("style", null));
4117
+ this.init(), r(6, E.style.opacity = "0", E), r(6, E.style.transform = `translateX(${E.clientWidth + 20}px)`, E), Se(() => document.querySelector("body").setAttribute("style", null));
4118
4118
  }
4119
4119
  },
4120
4120
  curTournament: {
4121
4121
  init() {
4122
- n(11, G.style.transition = `all ${St}ms linear`, G);
4122
+ r(11, G.style.transition = `all ${St}ms linear`, G);
4123
4123
  },
4124
4124
  show() {
4125
- n(11, G.style.opacity = "1", G);
4125
+ r(11, G.style.opacity = "1", G);
4126
4126
  },
4127
4127
  hide() {
4128
- this.init(), n(11, G.style.opacity = "0", G);
4128
+ this.init(), r(11, G.style.opacity = "0", G);
4129
4129
  }
4130
4130
  }
4131
4131
  }, Oe = () => {
@@ -4159,7 +4159,7 @@ function eo(e, t, n) {
4159
4159
  }
4160
4160
  },
4161
4161
  window.location.href
4162
- ), n(4, C[I] = m, C);
4162
+ ), r(4, C[I] = m, C);
4163
4163
  }, He = (s) => {
4164
4164
  if (s.data)
4165
4165
  try {
@@ -4217,15 +4217,15 @@ function eo(e, t, n) {
4217
4217
  $e(s.searchParams, 0, d), o && m.append("X-SessionID", o), fetch(s, { method: "GET", headers: m }).then((Z) => Z.json()).then((Z) => {
4218
4218
  if (!Z.items)
4219
4219
  return;
4220
- n(4, C = []), Z.items.forEach((oe, re) => {
4220
+ r(4, C = []), Z.items.forEach((oe, ne) => {
4221
4221
  C.push(We(oe));
4222
- }), n(7, B = C[U]), gt(), Ee();
4222
+ }), r(7, B = C[U]), gt(), Ee();
4223
4223
  });
4224
4224
  };
4225
4225
  let p = !1;
4226
- er(() => (n(24, p = !0), window.addEventListener("message", q, !1), setTimeout(
4226
+ $r(() => (r(24, p = !0), window.addEventListener("message", q, !1), setTimeout(
4227
4227
  () => {
4228
- n(17, c = "tr");
4228
+ r(17, c = "tr");
4229
4229
  },
4230
4230
  5e3
4231
4231
  ), () => {
@@ -4234,41 +4234,41 @@ function eo(e, t, n) {
4234
4234
  const b = () => pe(-1), A = () => Ke(B.id);
4235
4235
  function w(s) {
4236
4236
  it[s ? "unshift" : "push"](() => {
4237
- G = s, n(11, G);
4237
+ G = s, r(11, G);
4238
4238
  });
4239
4239
  }
4240
4240
  const y = () => pe(1);
4241
4241
  function R(s) {
4242
4242
  it[s ? "unshift" : "push"](() => {
4243
- E = s, n(6, E);
4243
+ E = s, r(6, E);
4244
4244
  });
4245
4245
  }
4246
4246
  function J(s) {
4247
4247
  it[s ? "unshift" : "push"](() => {
4248
- Y = s, n(10, Y);
4248
+ Y = s, r(10, Y);
4249
4249
  });
4250
4250
  }
4251
4251
  const O = () => Oe();
4252
4252
  function F(s) {
4253
4253
  it[s ? "unshift" : "push"](() => {
4254
- x = s, n(3, x);
4254
+ x = s, r(3, x);
4255
4255
  });
4256
4256
  }
4257
4257
  return e.$$set = (s) => {
4258
- "session" in s && n(18, o = s.session), "endpoint" in s && n(19, f = s.endpoint), "lang" in s && n(17, c = s.lang), "tournamentsshownnumber" in s && n(20, d = s.tournamentsshownnumber), "looptime" in s && n(21, u = s.looptime), "iconsize" in s && n(0, l = s.iconsize), "icon" in s && n(22, g = s.icon), "clientstyling" in s && n(1, v = s.clientstyling), "clientstylingurl" in s && n(2, S = s.clientstylingurl), "translationurl" in s && n(23, M = s.translationurl);
4258
+ "session" in s && r(18, o = s.session), "endpoint" in s && r(19, f = s.endpoint), "lang" in s && r(17, c = s.lang), "tournamentsshownnumber" in s && r(20, d = s.tournamentsshownnumber), "looptime" in s && r(21, u = s.looptime), "iconsize" in s && r(0, l = s.iconsize), "icon" in s && r(22, g = s.icon), "clientstyling" in s && r(1, v = s.clientstyling), "clientstylingurl" in s && r(2, S = s.clientstylingurl), "translationurl" in s && r(23, M = s.translationurl);
4259
4259
  }, e.$$.update = () => {
4260
4260
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4261
4261
  10 && x && v && vt(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4262
4262
  12 && x && S && tt(), e.$$.dirty[0] & /*icon*/
4263
- 4194304 && n(12, r = g || Wi), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4263
+ 4194304 && r(12, n = g || Wi), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4264
4264
  18481152 && p && f && d && c && a(), e.$$.dirty[0] & /*tourSlider*/
4265
4265
  64 && E && mt(), e.$$.dirty[0] & /*session*/
4266
4266
  262144 && o && j(), e.$$.dirty[0] & /*lang*/
4267
4267
  131072 && c && $(), e.$$.dirty[0] & /*translationurl*/
4268
4268
  8388608 && M && V(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
4269
- 48 && n(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4270
- 48 && n(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4271
- 32 && n(8, N = U == 0);
4269
+ 48 && r(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4270
+ 48 && r(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4271
+ 32 && r(8, N = U == 0);
4272
4272
  }, [
4273
4273
  l,
4274
4274
  v,
@@ -4282,7 +4282,7 @@ function eo(e, t, n) {
4282
4282
  P,
4283
4283
  Y,
4284
4284
  G,
4285
- r,
4285
+ n,
4286
4286
  i,
4287
4287
  pe,
4288
4288
  Oe,
@@ -4305,14 +4305,14 @@ function eo(e, t, n) {
4305
4305
  F
4306
4306
  ];
4307
4307
  }
4308
- class to extends Zn {
4308
+ class to extends Vr {
4309
4309
  constructor(t) {
4310
- super(), qn(
4310
+ super(), Zr(
4311
4311
  this,
4312
4312
  t,
4313
4313
  eo,
4314
4314
  $i,
4315
- An,
4315
+ pr,
4316
4316
  {
4317
4317
  session: 18,
4318
4318
  endpoint: 19,
@@ -4390,7 +4390,7 @@ class to extends Zn {
4390
4390
  this.$$set({ translationurl: t }), ge();
4391
4391
  }
4392
4392
  }
4393
- Yn(to, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4393
+ qr(to, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4394
4394
  export {
4395
4395
  to as default
4396
4396
  };