@everymatrix/casino-random-game 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var Qr = Object.defineProperty, Yr = Object.defineProperties;
2
- var qr = Object.getOwnPropertyDescriptors;
1
+ var Zr = Object.defineProperty, Qr = Object.defineProperties;
2
+ var Yr = Object.getOwnPropertyDescriptors;
3
3
  var pt = Object.getOwnPropertySymbols;
4
- var Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? Qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4
+ var qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Kr.call(t, r) && Me(e, r, t[r]);
7
+ qr.call(t, r) && Me(e, r, t[r]);
8
8
  if (pt)
9
9
  for (var r of pt(t))
10
- en.call(t, r) && Me(e, r, t[r]);
10
+ Kr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, gt = (e, t) => Yr(e, qr(t));
12
+ }, gt = (e, t) => Qr(e, Yr(t));
13
13
  var L = (e, t, r) => Me(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var be = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
@@ -29,7 +29,7 @@ var be = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function G() {
31
31
  }
32
- function tn(e, t) {
32
+ function en(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
@@ -55,7 +55,7 @@ let ge;
55
55
  function vt(e, t) {
56
56
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
57
57
  }
58
- function rn(e) {
58
+ function tn(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
61
  function Yt(e, ...t) {
@@ -67,19 +67,19 @@ function Yt(e, ...t) {
67
67
  const r = e.subscribe(...t);
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
- function nn(e, t, r) {
70
+ function rn(e, t, r) {
71
71
  e.$$.on_destroy.push(Yt(t, r));
72
72
  }
73
- function on(e, t, r, n) {
73
+ function nn(e, t, r, n) {
74
74
  if (e) {
75
75
  const i = qt(e, t, r, n);
76
76
  return e[0](i);
77
77
  }
78
78
  }
79
79
  function qt(e, t, r, n) {
80
- return e[1] && n ? tn(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ return e[1] && n ? en(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
- function an(e, t, r, n) {
82
+ function on(e, t, r, n) {
83
83
  if (e[2] && n) {
84
84
  const i = e[2](n(r));
85
85
  if (t.dirty === void 0)
@@ -94,13 +94,13 @@ function an(e, t, r, n) {
94
94
  }
95
95
  return t.dirty;
96
96
  }
97
- function sn(e, t, r, n, i, o) {
97
+ function an(e, t, r, n, i, o) {
98
98
  if (i) {
99
99
  const a = qt(t, r, n, o);
100
100
  e.p(a, i);
101
101
  }
102
102
  }
103
- function un(e) {
103
+ function sn(e) {
104
104
  if (e.ctx.length > 32) {
105
105
  const t = [], r = e.ctx.length / 32;
106
106
  for (let n = 0; n < r; n++)
@@ -112,14 +112,14 @@ function un(e) {
112
112
  function E(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function ln(e, t, r) {
116
- const n = hn(e);
115
+ function un(e, t, r) {
116
+ const n = ln(e);
117
117
  if (!n.getElementById(t)) {
118
118
  const i = S("style");
119
- i.id = t, i.textContent = r, cn(n, i);
119
+ i.id = t, i.textContent = r, hn(n, i);
120
120
  }
121
121
  }
122
- function hn(e) {
122
+ function ln(e) {
123
123
  if (!e) return document;
124
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
125
125
  return t && /** @type {ShadowRoot} */
@@ -128,20 +128,20 @@ function hn(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function cn(e, t) {
131
+ function hn(e, t) {
132
132
  return E(
133
133
  /** @type {Document} */
134
134
  e.head || e,
135
135
  t
136
136
  ), t.sheet;
137
137
  }
138
- function I(e, t, r) {
138
+ function O(e, t, r) {
139
139
  e.insertBefore(t, r || null);
140
140
  }
141
141
  function R(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
- function fn(e, t) {
144
+ function cn(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
@@ -163,14 +163,14 @@ function Te(e, t, r, n) {
163
163
  function g(e, t, r) {
164
164
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
165
165
  }
166
- function mn(e) {
166
+ function fn(e) {
167
167
  return Array.from(e.childNodes);
168
168
  }
169
169
  function X(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function dn(e) {
173
+ function mn(e) {
174
174
  const t = {};
175
175
  return e.childNodes.forEach(
176
176
  /** @param {Element} node */
@@ -190,7 +190,7 @@ let Ve = !1;
190
190
  function er() {
191
191
  Ve || (Ve = !0, Kt.then(M));
192
192
  }
193
- function pn() {
193
+ function dn() {
194
194
  return er(), Kt;
195
195
  }
196
196
  function We(e) {
@@ -206,7 +206,7 @@ function M() {
206
206
  try {
207
207
  for (; Y < K.length; ) {
208
208
  const t = K[Y];
209
- Y++, ce(t), bn(t.$$);
209
+ Y++, ce(t), pn(t.$$);
210
210
  }
211
211
  } catch (t) {
212
212
  throw K.length = 0, Y = 0, t;
@@ -222,20 +222,20 @@ function M() {
222
222
  xt.pop()();
223
223
  Ve = !1, Ne.clear(), ce(e);
224
224
  }
225
- function bn(e) {
225
+ function pn(e) {
226
226
  if (e.fragment !== null) {
227
227
  e.update(), z(e.before_update);
228
228
  const t = e.dirty;
229
229
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
230
230
  }
231
231
  }
232
- function gn(e) {
232
+ function bn(e) {
233
233
  const t = [], r = [];
234
234
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
235
235
  }
236
236
  const _e = /* @__PURE__ */ new Set();
237
237
  let W;
238
- function yn() {
238
+ function gn() {
239
239
  W = {
240
240
  r: 0,
241
241
  c: [],
@@ -243,7 +243,7 @@ function yn() {
243
243
  // parent group
244
244
  };
245
245
  }
246
- function vn() {
246
+ function yn() {
247
247
  W.r || z(W.c), W = W.p;
248
248
  }
249
249
  function fe(e, t) {
@@ -260,21 +260,21 @@ function Xe(e, t, r, n) {
260
260
  function Et(e) {
261
261
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
262
262
  }
263
- function _n(e, t, r) {
263
+ function vn(e, t, r) {
264
264
  const { fragment: n, after_update: i } = e.$$;
265
265
  n && n.m(t, r), We(() => {
266
266
  const o = e.$$.on_mount.map(Zt).filter(at);
267
267
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
268
268
  }), i.forEach(We);
269
269
  }
270
- function xn(e, t) {
270
+ function _n(e, t) {
271
271
  const r = e.$$;
272
- r.fragment !== null && (gn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
272
+ r.fragment !== null && (bn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
273
273
  }
274
- function En(e, t) {
274
+ function xn(e, t) {
275
275
  e.$$.dirty[0] === -1 && (K.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
276
276
  }
277
- function wn(e, t, r, n, i, o, a = null, s = [-1]) {
277
+ function En(e, t, r, n, i, o, a = null, s = [-1]) {
278
278
  const h = st;
279
279
  ce(e);
280
280
  const l = e.$$ = {
@@ -302,14 +302,14 @@ function wn(e, t, r, n, i, o, a = null, s = [-1]) {
302
302
  let u = !1;
303
303
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
304
304
  const d = m.length ? m[0] : c;
305
- return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && En(e, f)), c;
305
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && xn(e, f)), c;
306
306
  }) : [], l.update(), u = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
307
307
  if (t.hydrate) {
308
- const f = mn(t.target);
308
+ const f = fn(t.target);
309
309
  l.fragment && l.fragment.l(f), f.forEach(R);
310
310
  } else
311
311
  l.fragment && l.fragment.c();
312
- t.intro && fe(e.$$.fragment), _n(e, t.target, t.anchor), M();
312
+ t.intro && fe(e.$$.fragment), vn(e, t.target, t.anchor), M();
313
313
  }
314
314
  ce(h);
315
315
  }
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
365
365
  * @param {HTMLElement} [anchor]
366
366
  */
367
367
  m: function(l, u) {
368
- I(l, a, u);
368
+ O(l, a, u);
369
369
  },
370
370
  d: function(l) {
371
371
  l && R(a);
@@ -375,7 +375,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
375
375
  };
376
376
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
377
377
  return;
378
- const r = {}, n = dn(this);
378
+ const r = {}, n = mn(this);
379
379
  for (const o of this.$$s)
380
380
  o in n && (r[o] = [t(o)]);
381
381
  for (const o of this.attributes) {
@@ -464,7 +464,7 @@ function xe(e, t, r, n) {
464
464
  return t;
465
465
  }
466
466
  }
467
- function Sn(e, t, r, n, i, o) {
467
+ function wn(e, t, r, n, i, o) {
468
468
  let a = class extends tr {
469
469
  constructor() {
470
470
  super(e, r, i), this.$$p_d = t;
@@ -495,7 +495,7 @@ function Sn(e, t, r, n, i, o) {
495
495
  }), e.element = /** @type {any} */
496
496
  a, a;
497
497
  }
498
- class Tn {
498
+ class Sn {
499
499
  constructor() {
500
500
  /**
501
501
  * ### PRIVATE API
@@ -516,7 +516,7 @@ class Tn {
516
516
  }
517
517
  /** @returns {void} */
518
518
  $destroy() {
519
- xn(this, 1), this.$destroy = G;
519
+ _n(this, 1), this.$destroy = G;
520
520
  }
521
521
  /**
522
522
  * @template {Extract<keyof Events, string>} K
@@ -538,11 +538,11 @@ class Tn {
538
538
  * @returns {void}
539
539
  */
540
540
  $set(t) {
541
- this.$$set && !rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
541
+ this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
542
542
  }
543
543
  }
544
- const Hn = "4";
545
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
544
+ const Tn = "4";
545
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
546
546
  var ze = function(e, t) {
547
547
  return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
548
548
  r.__proto__ = n;
@@ -568,7 +568,7 @@ var _ = function() {
568
568
  return t;
569
569
  }, _.apply(this, arguments);
570
570
  };
571
- function Bn(e, t) {
571
+ function Hn(e, t) {
572
572
  var r = {};
573
573
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
574
574
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -733,20 +733,19 @@ var or = {
733
733
  Promise: void 0,
734
734
  useDeprecatedSynchronousErrorHandling: !1,
735
735
  useDeprecatedNextContext: !1
736
- }, ar = {
736
+ }, Bn = {
737
737
  setTimeout: function(e, t) {
738
738
  for (var r = [], n = 2; n < arguments.length; n++)
739
739
  r[n - 2] = arguments[n];
740
740
  return setTimeout.apply(void 0, te([e, t], Ze(r)));
741
741
  },
742
742
  clearTimeout: function(e) {
743
- var t = ar.delegate;
744
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
743
+ return clearTimeout(e);
745
744
  },
746
745
  delegate: void 0
747
746
  };
748
747
  function An(e) {
749
- ar.setTimeout(function() {
748
+ Bn.setTimeout(function() {
750
749
  throw e;
751
750
  });
752
751
  }
@@ -755,11 +754,11 @@ function St() {
755
754
  function Ee(e) {
756
755
  e();
757
756
  }
758
- var sr = function(e) {
757
+ var ar = function(e) {
759
758
  F(t, e);
760
759
  function t(r) {
761
760
  var n = e.call(this) || this;
762
- return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = In, n;
761
+ return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = On, n;
763
762
  }
764
763
  return t.create = function(r, n, i) {
765
764
  return new Ye(r, n, i);
@@ -844,17 +843,17 @@ var Rn = function() {
844
843
  return o.destination = new Rn(a), o;
845
844
  }
846
845
  return t;
847
- }(sr);
846
+ }(ar);
848
847
  function ye(e) {
849
848
  An(e);
850
849
  }
851
- function On(e) {
850
+ function In(e) {
852
851
  throw e;
853
852
  }
854
- var In = {
853
+ var On = {
855
854
  closed: !0,
856
855
  next: St,
857
- error: On,
856
+ error: In,
858
857
  complete: St
859
858
  }, Cn = function() {
860
859
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
@@ -937,13 +936,13 @@ function Nn(e) {
937
936
  return e && D(e.next) && D(e.error) && D(e.complete);
938
937
  }
939
938
  function Gn(e) {
940
- return e && e instanceof sr || Nn(e) && ir(e);
939
+ return e && e instanceof ar || Nn(e) && ir(e);
941
940
  }
942
941
  var Un = rr(function(e) {
943
942
  return function() {
944
943
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
945
944
  };
946
- }), ur = function(e) {
945
+ }), sr = function(e) {
947
946
  F(t, e);
948
947
  function t() {
949
948
  var r = e.call(this) || this;
@@ -1041,15 +1040,15 @@ var Un = rr(function(e) {
1041
1040
  var n, i;
1042
1041
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
1043
1042
  }, t;
1044
- }(ur), lr = {
1043
+ }(sr), ur = {
1045
1044
  now: function() {
1046
- return (lr.delegate || Date).now();
1045
+ return (ur.delegate || Date).now();
1047
1046
  },
1048
1047
  delegate: void 0
1049
1048
  }, Dn = function(e) {
1050
1049
  F(t, e);
1051
1050
  function t(r, n, i) {
1052
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lr);
1051
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ur);
1053
1052
  var o = e.call(this) || this;
1054
1053
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1055
1054
  }
@@ -1069,7 +1068,7 @@ var Un = rr(function(e) {
1069
1068
  l && o.splice(0, l + 1);
1070
1069
  }
1071
1070
  }, t;
1072
- }(ur);
1071
+ }(sr);
1073
1072
  const At = [], Pt = {}, Fn = (e, t = 0) => {
1074
1073
  if (At.indexOf(e) == -1) {
1075
1074
  const r = new Dn(t);
@@ -1181,7 +1180,7 @@ function qn(e) {
1181
1180
  function Rt(e) {
1182
1181
  return Object.keys(e).concat(qn(e));
1183
1182
  }
1184
- function hr(e, t) {
1183
+ function lr(e, t) {
1185
1184
  try {
1186
1185
  return t in e;
1187
1186
  } catch (r) {
@@ -1189,14 +1188,14 @@ function hr(e, t) {
1189
1188
  }
1190
1189
  }
1191
1190
  function Kn(e, t) {
1192
- return hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1191
+ return lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1193
1192
  }
1194
1193
  function ei(e, t, r) {
1195
1194
  var n = {};
1196
1195
  return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1197
1196
  n[i] = me(e[i], r);
1198
1197
  }), Rt(t).forEach(function(i) {
1199
- Kn(e, i) || (hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1198
+ Kn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1200
1199
  }), n;
1201
1200
  }
1202
1201
  function re(e, t, r) {
@@ -1213,7 +1212,57 @@ re.all = function(t, r) {
1213
1212
  };
1214
1213
  var ti = re, ri = ti;
1215
1214
  const ni = /* @__PURE__ */ jn(ri);
1216
- var y;
1215
+ function De(e, t) {
1216
+ var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : oi;
1217
+ return i(e, {
1218
+ cache: r,
1219
+ serializer: n
1220
+ });
1221
+ }
1222
+ function ii(e) {
1223
+ return e == null || typeof e == "number" || typeof e == "boolean";
1224
+ }
1225
+ function hr(e, t, r, n) {
1226
+ var i = ii(n) ? n : r(n), o = t.get(i);
1227
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1228
+ }
1229
+ function cr(e, t, r) {
1230
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1231
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1232
+ }
1233
+ function ut(e, t, r, n, i) {
1234
+ return r.bind(t, e, n, i);
1235
+ }
1236
+ function oi(e, t) {
1237
+ var r = e.length === 1 ? hr : cr;
1238
+ return ut(e, this, r, t.cache.create(), t.serializer);
1239
+ }
1240
+ function ai(e, t) {
1241
+ return ut(e, this, cr, t.cache.create(), t.serializer);
1242
+ }
1243
+ function si(e, t) {
1244
+ return ut(e, this, hr, t.cache.create(), t.serializer);
1245
+ }
1246
+ var ui = function() {
1247
+ return JSON.stringify(arguments);
1248
+ };
1249
+ function lt() {
1250
+ this.cache = /* @__PURE__ */ Object.create(null);
1251
+ }
1252
+ lt.prototype.get = function(e) {
1253
+ return this.cache[e];
1254
+ };
1255
+ lt.prototype.set = function(e, t) {
1256
+ this.cache[e] = t;
1257
+ };
1258
+ var li = {
1259
+ create: function() {
1260
+ return new lt();
1261
+ }
1262
+ }, Fe = {
1263
+ variadic: ai,
1264
+ monadic: si
1265
+ }, y;
1217
1266
  (function(e) {
1218
1267
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1219
1268
  })(y || (y = {}));
@@ -1225,43 +1274,43 @@ var ne;
1225
1274
  (function(e) {
1226
1275
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1227
1276
  })(ne || (ne = {}));
1228
- function Ot(e) {
1277
+ function It(e) {
1229
1278
  return e.type === w.literal;
1230
1279
  }
1231
- function ii(e) {
1280
+ function hi(e) {
1232
1281
  return e.type === w.argument;
1233
1282
  }
1234
- function cr(e) {
1283
+ function fr(e) {
1235
1284
  return e.type === w.number;
1236
1285
  }
1237
- function fr(e) {
1286
+ function mr(e) {
1238
1287
  return e.type === w.date;
1239
1288
  }
1240
- function mr(e) {
1289
+ function dr(e) {
1241
1290
  return e.type === w.time;
1242
1291
  }
1243
- function dr(e) {
1292
+ function pr(e) {
1244
1293
  return e.type === w.select;
1245
1294
  }
1246
- function pr(e) {
1295
+ function br(e) {
1247
1296
  return e.type === w.plural;
1248
1297
  }
1249
- function oi(e) {
1298
+ function ci(e) {
1250
1299
  return e.type === w.pound;
1251
1300
  }
1252
- function br(e) {
1301
+ function gr(e) {
1253
1302
  return e.type === w.tag;
1254
1303
  }
1255
- function gr(e) {
1304
+ function yr(e) {
1256
1305
  return !!(e && typeof e == "object" && e.type === ne.number);
1257
1306
  }
1258
1307
  function qe(e) {
1259
1308
  return !!(e && typeof e == "object" && e.type === ne.dateTime);
1260
1309
  }
1261
- var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1262
- function si(e) {
1310
+ var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1311
+ function mi(e) {
1263
1312
  var t = {};
1264
- return e.replace(ai, function(r) {
1313
+ return e.replace(fi, function(r) {
1265
1314
  var n = r.length;
1266
1315
  switch (r[0]) {
1267
1316
  case "G":
@@ -1350,11 +1399,11 @@ function si(e) {
1350
1399
  return "";
1351
1400
  }), t;
1352
1401
  }
1353
- var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1354
- function li(e) {
1402
+ var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1403
+ function pi(e) {
1355
1404
  if (e.length === 0)
1356
1405
  throw new Error("Number skeleton cannot be empty");
1357
- for (var t = e.split(ui).filter(function(c) {
1406
+ for (var t = e.split(di).filter(function(c) {
1358
1407
  return c.length > 0;
1359
1408
  }), r = [], n = 0, i = t; n < i.length; n++) {
1360
1409
  var o = i[n], a = o.split("/");
@@ -1369,17 +1418,17 @@ function li(e) {
1369
1418
  }
1370
1419
  return r;
1371
1420
  }
1372
- function hi(e) {
1421
+ function bi(e) {
1373
1422
  return e.replace(/^(.*?)-/, "");
1374
1423
  }
1375
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1424
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, xr = /^(0+)$/;
1376
1425
  function Ct(e) {
1377
1426
  var t = {};
1378
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
1427
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
1379
1428
  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)), "";
1380
1429
  }), t;
1381
1430
  }
1382
- function xr(e) {
1431
+ function Er(e) {
1383
1432
  switch (e) {
1384
1433
  case "sign-auto":
1385
1434
  return {
@@ -1419,7 +1468,7 @@ function xr(e) {
1419
1468
  };
1420
1469
  }
1421
1470
  }
1422
- function fi(e) {
1471
+ function yi(e) {
1423
1472
  var t;
1424
1473
  if (e[0] === "E" && e[1] === "E" ? (t = {
1425
1474
  notation: "engineering"
@@ -1427,17 +1476,17 @@ function fi(e) {
1427
1476
  notation: "scientific"
1428
1477
  }, e = e.slice(1)), t) {
1429
1478
  var r = e.slice(0, 2);
1430
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1479
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xr.test(e))
1431
1480
  throw new Error("Malformed concise eng/scientific notation");
1432
1481
  t.minimumIntegerDigits = e.length;
1433
1482
  }
1434
1483
  return t;
1435
1484
  }
1436
1485
  function Lt(e) {
1437
- var t = {}, r = xr(e);
1486
+ var t = {}, r = Er(e);
1438
1487
  return r || t;
1439
1488
  }
1440
- function mi(e) {
1489
+ function vi(e) {
1441
1490
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1442
1491
  var i = n[r];
1443
1492
  switch (i.stem) {
@@ -1461,7 +1510,7 @@ function mi(e) {
1461
1510
  continue;
1462
1511
  case "measure-unit":
1463
1512
  case "unit":
1464
- t.style = "unit", t.unit = hi(i.options[0]);
1513
+ t.style = "unit", t.unit = bi(i.options[0]);
1465
1514
  continue;
1466
1515
  case "compact-short":
1467
1516
  case "K":
@@ -1523,7 +1572,7 @@ function mi(e) {
1523
1572
  case "integer-width":
1524
1573
  if (i.options.length > 1)
1525
1574
  throw new RangeError("integer-width stems only accept a single optional option");
1526
- i.options[0].replace(ci, function(h, l, u, f, c, m) {
1575
+ i.options[0].replace(gi, function(h, l, u, f, c, m) {
1527
1576
  if (l)
1528
1577
  t.minimumIntegerDigits = u.length;
1529
1578
  else {
@@ -1536,27 +1585,27 @@ function mi(e) {
1536
1585
  });
1537
1586
  continue;
1538
1587
  }
1539
- if (_r.test(i.stem)) {
1588
+ if (xr.test(i.stem)) {
1540
1589
  t.minimumIntegerDigits = i.stem.length;
1541
1590
  continue;
1542
1591
  }
1543
- if (It.test(i.stem)) {
1592
+ if (Ot.test(i.stem)) {
1544
1593
  if (i.options.length > 1)
1545
1594
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1546
- i.stem.replace(It, function(h, l, u, f, c, m) {
1595
+ i.stem.replace(Ot, function(h, l, u, f, c, m) {
1547
1596
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1548
1597
  });
1549
1598
  var o = i.options[0];
1550
1599
  o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ct(o)));
1551
1600
  continue;
1552
1601
  }
1553
- if (vr.test(i.stem)) {
1602
+ if (_r.test(i.stem)) {
1554
1603
  t = _(_({}, t), Ct(i.stem));
1555
1604
  continue;
1556
1605
  }
1557
- var a = xr(i.stem);
1606
+ var a = Er(i.stem);
1558
1607
  a && (t = _(_({}, t), a));
1559
- var s = fi(i.stem);
1608
+ var s = yi(i.stem);
1560
1609
  s && (t = _(_({}, t), s));
1561
1610
  }
1562
1611
  return t;
@@ -1566,6 +1615,12 @@ var ve = {
1566
1615
  "H",
1567
1616
  "h"
1568
1617
  ],
1618
+ 419: [
1619
+ "h",
1620
+ "H",
1621
+ "hB",
1622
+ "hb"
1623
+ ],
1569
1624
  AC: [
1570
1625
  "H",
1571
1626
  "h",
@@ -1614,8 +1669,8 @@ var ve = {
1614
1669
  "hB"
1615
1670
  ],
1616
1671
  AR: [
1617
- "H",
1618
1672
  "h",
1673
+ "H",
1619
1674
  "hB",
1620
1675
  "hb"
1621
1676
  ],
@@ -1705,9 +1760,9 @@ var ve = {
1705
1760
  "H"
1706
1761
  ],
1707
1762
  BO: [
1763
+ "h",
1708
1764
  "H",
1709
1765
  "hB",
1710
- "h",
1711
1766
  "hb"
1712
1767
  ],
1713
1768
  BQ: [
@@ -1784,8 +1839,8 @@ var ve = {
1784
1839
  "hB"
1785
1840
  ],
1786
1841
  CL: [
1787
- "H",
1788
1842
  "h",
1843
+ "H",
1789
1844
  "hB",
1790
1845
  "hb"
1791
1846
  ],
@@ -1810,14 +1865,14 @@ var ve = {
1810
1865
  "H"
1811
1866
  ],
1812
1867
  CR: [
1813
- "H",
1814
1868
  "h",
1869
+ "H",
1815
1870
  "hB",
1816
1871
  "hb"
1817
1872
  ],
1818
1873
  CU: [
1819
- "H",
1820
1874
  "h",
1875
+ "H",
1821
1876
  "hB",
1822
1877
  "hb"
1823
1878
  ],
@@ -1886,9 +1941,9 @@ var ve = {
1886
1941
  "hb"
1887
1942
  ],
1888
1943
  EC: [
1944
+ "h",
1889
1945
  "H",
1890
1946
  "hB",
1891
- "h",
1892
1947
  "hb"
1893
1948
  ],
1894
1949
  EE: [
@@ -2024,8 +2079,8 @@ var ve = {
2024
2079
  "hB"
2025
2080
  ],
2026
2081
  GT: [
2027
- "H",
2028
2082
  "h",
2083
+ "H",
2029
2084
  "hB",
2030
2085
  "hb"
2031
2086
  ],
@@ -2052,8 +2107,8 @@ var ve = {
2052
2107
  "H"
2053
2108
  ],
2054
2109
  HN: [
2055
- "H",
2056
2110
  "h",
2111
+ "H",
2057
2112
  "hB",
2058
2113
  "hb"
2059
2114
  ],
@@ -2367,8 +2422,8 @@ var ve = {
2367
2422
  "hB"
2368
2423
  ],
2369
2424
  MX: [
2370
- "H",
2371
2425
  "h",
2426
+ "H",
2372
2427
  "hB",
2373
2428
  "hb"
2374
2429
  ],
@@ -2408,8 +2463,8 @@ var ve = {
2408
2463
  "hB"
2409
2464
  ],
2410
2465
  NI: [
2411
- "H",
2412
2466
  "h",
2467
+ "H",
2413
2468
  "hB",
2414
2469
  "hb"
2415
2470
  ],
@@ -2457,9 +2512,9 @@ var ve = {
2457
2512
  "hb"
2458
2513
  ],
2459
2514
  PE: [
2515
+ "h",
2460
2516
  "H",
2461
2517
  "hB",
2462
- "h",
2463
2518
  "hb"
2464
2519
  ],
2465
2520
  PF: [
@@ -2517,8 +2572,8 @@ var ve = {
2517
2572
  "H"
2518
2573
  ],
2519
2574
  PY: [
2520
- "H",
2521
2575
  "h",
2576
+ "H",
2522
2577
  "hB",
2523
2578
  "hb"
2524
2579
  ],
@@ -2631,8 +2686,8 @@ var ve = {
2631
2686
  "hB"
2632
2687
  ],
2633
2688
  SV: [
2634
- "H",
2635
2689
  "h",
2690
+ "H",
2636
2691
  "hB",
2637
2692
  "hb"
2638
2693
  ],
@@ -2754,8 +2809,8 @@ var ve = {
2754
2809
  "hB"
2755
2810
  ],
2756
2811
  UY: [
2757
- "H",
2758
2812
  "h",
2813
+ "H",
2759
2814
  "hB",
2760
2815
  "hb"
2761
2816
  ],
@@ -2863,37 +2918,37 @@ var ve = {
2863
2918
  "H",
2864
2919
  "hB"
2865
2920
  ],
2866
- "es-BO": [
2867
- "H",
2921
+ "en-HK": [
2868
2922
  "h",
2869
- "hB",
2870
- "hb"
2923
+ "hb",
2924
+ "H",
2925
+ "hB"
2871
2926
  ],
2872
- "es-BR": [
2927
+ "en-IL": [
2873
2928
  "H",
2874
2929
  "h",
2875
- "hB",
2876
- "hb"
2930
+ "hb",
2931
+ "hB"
2877
2932
  ],
2878
- "es-EC": [
2879
- "H",
2933
+ "en-MY": [
2880
2934
  "h",
2881
- "hB",
2882
- "hb"
2935
+ "hb",
2936
+ "H",
2937
+ "hB"
2883
2938
  ],
2884
- "es-ES": [
2939
+ "es-BR": [
2885
2940
  "H",
2886
2941
  "h",
2887
2942
  "hB",
2888
2943
  "hb"
2889
2944
  ],
2890
- "es-GQ": [
2945
+ "es-ES": [
2891
2946
  "H",
2892
2947
  "h",
2893
2948
  "hB",
2894
2949
  "hb"
2895
2950
  ],
2896
- "es-PE": [
2951
+ "es-GQ": [
2897
2952
  "H",
2898
2953
  "h",
2899
2954
  "hB",
@@ -2970,13 +3025,13 @@ var ve = {
2970
3025
  "h"
2971
3026
  ]
2972
3027
  };
2973
- function di(e, t) {
3028
+ function _i(e, t) {
2974
3029
  for (var r = "", n = 0; n < e.length; n++) {
2975
3030
  var i = e.charAt(n);
2976
3031
  if (i === "j") {
2977
3032
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2978
3033
  o++, n++;
2979
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = pi(t);
3034
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = xi(t);
2980
3035
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2981
3036
  r += h;
2982
3037
  for (; a-- > 0; )
@@ -2985,7 +3040,7 @@ function di(e, t) {
2985
3040
  }
2986
3041
  return r;
2987
3042
  }
2988
- function pi(e) {
3043
+ function xi(e) {
2989
3044
  var t = e.hourCycle;
2990
3045
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2991
3046
  e.hourCycles && // @ts-ignore
@@ -3007,20 +3062,20 @@ function pi(e) {
3007
3062
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3008
3063
  return i[0];
3009
3064
  }
3010
- var De, bi = new RegExp("^".concat(yr.source, "*")), gi = new RegExp("".concat(yr.source, "*$"));
3065
+ var $e, Ei = new RegExp("^".concat(vr.source, "*")), wi = new RegExp("".concat(vr.source, "*$"));
3011
3066
  function v(e, t) {
3012
3067
  return { start: e, end: t };
3013
3068
  }
3014
- var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, _i = !!Object.fromEntries, xi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, wi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
3069
+ var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Hi = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ii = Ri ? Number.isSafeInteger : function(e) {
3015
3070
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3016
3071
  }, Ke = !0;
3017
3072
  try {
3018
- var Hi = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3019
- Ke = ((De = Hi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3073
+ var Oi = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3074
+ Ke = (($e = Oi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3020
3075
  } catch (e) {
3021
3076
  Ke = !1;
3022
3077
  }
3023
- var Mt = yi ? (
3078
+ var Mt = Si ? (
3024
3079
  // Native
3025
3080
  function(t, r, n) {
3026
3081
  return t.startsWith(r, n);
@@ -3030,7 +3085,7 @@ var Mt = yi ? (
3030
3085
  function(t, r, n) {
3031
3086
  return t.slice(n, n + r.length) === r;
3032
3087
  }
3033
- ), et = vi ? String.fromCodePoint : (
3088
+ ), et = Ti ? String.fromCodePoint : (
3034
3089
  // IE11
3035
3090
  function() {
3036
3091
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3044,7 +3099,7 @@ var Mt = yi ? (
3044
3099
  }
3045
3100
  ), Nt = (
3046
3101
  // native
3047
- _i ? Object.fromEntries : (
3102
+ Hi ? Object.fromEntries : (
3048
3103
  // Ponyfill
3049
3104
  function(t) {
3050
3105
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3054,7 +3109,7 @@ var Mt = yi ? (
3054
3109
  return r;
3055
3110
  }
3056
3111
  )
3057
- ), Er = xi ? (
3112
+ ), wr = Bi ? (
3058
3113
  // Native
3059
3114
  function(t, r) {
3060
3115
  return t.codePointAt(r);
@@ -3068,7 +3123,7 @@ var Mt = yi ? (
3068
3123
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3069
3124
  }
3070
3125
  }
3071
- ), Bi = Ei ? (
3126
+ ), Ci = Ai ? (
3072
3127
  // Native
3073
3128
  function(t) {
3074
3129
  return t.trimStart();
@@ -3076,9 +3131,9 @@ var Mt = yi ? (
3076
3131
  ) : (
3077
3132
  // Ponyfill
3078
3133
  function(t) {
3079
- return t.replace(bi, "");
3134
+ return t.replace(Ei, "");
3080
3135
  }
3081
- ), Ai = wi ? (
3136
+ ), Li = Pi ? (
3082
3137
  // Native
3083
3138
  function(t) {
3084
3139
  return t.trimEnd();
@@ -3086,15 +3141,15 @@ var Mt = yi ? (
3086
3141
  ) : (
3087
3142
  // Ponyfill
3088
3143
  function(t) {
3089
- return t.replace(gi, "");
3144
+ return t.replace(wi, "");
3090
3145
  }
3091
3146
  );
3092
- function wr(e, t) {
3147
+ function Sr(e, t) {
3093
3148
  return new RegExp(e, t);
3094
3149
  }
3095
3150
  var tt;
3096
3151
  if (Ke) {
3097
- var Gt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3152
+ var Gt = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
3153
  tt = function(t, r) {
3099
3154
  var n;
3100
3155
  Gt.lastIndex = r;
@@ -3104,14 +3159,14 @@ if (Ke) {
3104
3159
  } else
3105
3160
  tt = function(t, r) {
3106
3161
  for (var n = []; ; ) {
3107
- var i = Er(t, r);
3108
- if (i === void 0 || Sr(i) || Ii(i))
3162
+ var i = wr(t, r);
3163
+ if (i === void 0 || Tr(i) || Ui(i))
3109
3164
  break;
3110
3165
  n.push(i), r += i >= 65536 ? 2 : 1;
3111
3166
  }
3112
3167
  return et.apply(void 0, n);
3113
3168
  };
3114
- var Pi = (
3169
+ var Mi = (
3115
3170
  /** @class */
3116
3171
  function() {
3117
3172
  function e(t, r) {
@@ -3193,7 +3248,7 @@ var Pi = (
3193
3248
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3194
3249
  }, e.prototype.parseTagName = function() {
3195
3250
  var t = this.offset();
3196
- for (this.bump(); !this.isEOF() && Oi(this.char()); )
3251
+ for (this.bump(); !this.isEOF() && Gi(this.char()); )
3197
3252
  this.bump();
3198
3253
  return this.message.slice(t, this.offset());
3199
3254
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3222,7 +3277,7 @@ var Pi = (
3222
3277
  };
3223
3278
  }, e.prototype.tryParseLeftAngleBracket = function() {
3224
3279
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3225
- !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3280
+ !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3226
3281
  }, e.prototype.tryParseQuote = function(t) {
3227
3282
  if (this.isEOF() || this.char() !== 39)
3228
3283
  return null;
@@ -3309,7 +3364,7 @@ var Pi = (
3309
3364
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3310
3365
  if (f.err)
3311
3366
  return f;
3312
- var c = Ai(f.val);
3367
+ var c = Li(f.val);
3313
3368
  if (c.length === 0)
3314
3369
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3315
3370
  var m = v(u, this.clonePosition());
@@ -3320,7 +3375,7 @@ var Pi = (
3320
3375
  return d;
3321
3376
  var b = v(i, this.clonePosition());
3322
3377
  if (l && Mt(l == null ? void 0 : l.style, "::", 0)) {
3323
- var B = Bi(l.style.slice(2));
3378
+ var B = Ci(l.style.slice(2));
3324
3379
  if (s === "number") {
3325
3380
  var f = this.parseNumberSkeletonFromString(B, l.styleLocation);
3326
3381
  return f.err ? f : {
@@ -3331,12 +3386,12 @@ var Pi = (
3331
3386
  if (B.length === 0)
3332
3387
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3333
3388
  var T = B;
3334
- this.locale && (T = di(B, this.locale));
3389
+ this.locale && (T = _i(B, this.locale));
3335
3390
  var c = {
3336
3391
  type: ne.dateTime,
3337
3392
  pattern: T,
3338
3393
  location: l.styleLocation,
3339
- parsedOptions: this.shouldParseSkeletons ? si(T) : {}
3394
+ parsedOptions: this.shouldParseSkeletons ? mi(T) : {}
3340
3395
  }, H = s === "date" ? w.date : w.time;
3341
3396
  return {
3342
3397
  val: { type: H, value: n, location: b, style: c },
@@ -3441,7 +3496,7 @@ var Pi = (
3441
3496
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3442
3497
  var n = [];
3443
3498
  try {
3444
- n = li(t);
3499
+ n = pi(t);
3445
3500
  } catch (i) {
3446
3501
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3447
3502
  }
@@ -3450,7 +3505,7 @@ var Pi = (
3450
3505
  type: ne.number,
3451
3506
  tokens: n,
3452
3507
  location: r,
3453
- parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
3508
+ parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
3454
3509
  },
3455
3510
  err: null
3456
3511
  };
@@ -3498,7 +3553,7 @@ var Pi = (
3498
3553
  break;
3499
3554
  }
3500
3555
  var h = v(i, this.clonePosition());
3501
- return o ? (a *= n, Ti(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3556
+ return o ? (a *= n, Ii(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3502
3557
  }, e.prototype.offset = function() {
3503
3558
  return this.position.offset;
3504
3559
  }, e.prototype.isEOF = function() {
@@ -3513,7 +3568,7 @@ var Pi = (
3513
3568
  var t = this.position.offset;
3514
3569
  if (t >= this.message.length)
3515
3570
  throw Error("out of bound");
3516
- var r = Er(this.message, t);
3571
+ var r = wr(this.message, t);
3517
3572
  if (r === void 0)
3518
3573
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3519
3574
  return r;
@@ -3554,7 +3609,7 @@ var Pi = (
3554
3609
  break;
3555
3610
  }
3556
3611
  }, e.prototype.bumpSpace = function() {
3557
- for (; !this.isEOF() && Sr(this.char()); )
3612
+ for (; !this.isEOF() && Tr(this.char()); )
3558
3613
  this.bump();
3559
3614
  }, e.prototype.peek = function() {
3560
3615
  if (this.isEOF())
@@ -3567,90 +3622,40 @@ var Pi = (
3567
3622
  function rt(e) {
3568
3623
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3569
3624
  }
3570
- function Ri(e) {
3625
+ function Ni(e) {
3571
3626
  return rt(e) || e === 47;
3572
3627
  }
3573
- function Oi(e) {
3628
+ function Gi(e) {
3574
3629
  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;
3575
3630
  }
3576
- function Sr(e) {
3631
+ function Tr(e) {
3577
3632
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3578
3633
  }
3579
- function Ii(e) {
3634
+ function Ui(e) {
3580
3635
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3581
3636
  }
3582
3637
  function nt(e) {
3583
3638
  e.forEach(function(t) {
3584
- if (delete t.location, dr(t) || pr(t))
3639
+ if (delete t.location, pr(t) || br(t))
3585
3640
  for (var r in t.options)
3586
3641
  delete t.options[r].location, nt(t.options[r].value);
3587
- else cr(t) && gr(t.style) || (fr(t) || mr(t)) && qe(t.style) ? delete t.style.location : br(t) && nt(t.children);
3642
+ else fr(t) && yr(t.style) || (mr(t) || dr(t)) && qe(t.style) ? delete t.style.location : gr(t) && nt(t.children);
3588
3643
  });
3589
3644
  }
3590
- function Ci(e, t) {
3645
+ function Di(e, t) {
3591
3646
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3592
- var r = new Pi(e, t).parse();
3647
+ var r = new Mi(e, t).parse();
3593
3648
  if (r.err) {
3594
3649
  var n = SyntaxError(y[r.err.kind]);
3595
3650
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3596
3651
  }
3597
3652
  return t != null && t.captureLocation || nt(r.val), r.val;
3598
3653
  }
3599
- function Fe(e, t) {
3600
- var r = t && t.cache ? t.cache : Di, n = t && t.serializer ? t.serializer : Ui, i = t && t.strategy ? t.strategy : Mi;
3601
- return i(e, {
3602
- cache: r,
3603
- serializer: n
3604
- });
3605
- }
3606
- function Li(e) {
3607
- return e == null || typeof e == "number" || typeof e == "boolean";
3608
- }
3609
- function Tr(e, t, r, n) {
3610
- var i = Li(n) ? n : r(n), o = t.get(i);
3611
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3612
- }
3613
- function Hr(e, t, r) {
3614
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3615
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3616
- }
3617
- function ut(e, t, r, n, i) {
3618
- return r.bind(t, e, n, i);
3619
- }
3620
- function Mi(e, t) {
3621
- var r = e.length === 1 ? Tr : Hr;
3622
- return ut(e, this, r, t.cache.create(), t.serializer);
3623
- }
3624
- function Ni(e, t) {
3625
- return ut(e, this, Hr, t.cache.create(), t.serializer);
3626
- }
3627
- function Gi(e, t) {
3628
- return ut(e, this, Tr, t.cache.create(), t.serializer);
3629
- }
3630
- var Ui = function() {
3631
- return JSON.stringify(arguments);
3632
- };
3633
- function lt() {
3634
- this.cache = /* @__PURE__ */ Object.create(null);
3635
- }
3636
- lt.prototype.get = function(e) {
3637
- return this.cache[e];
3638
- };
3639
- lt.prototype.set = function(e, t) {
3640
- this.cache[e] = t;
3641
- };
3642
- var Di = {
3643
- create: function() {
3644
- return new lt();
3645
- }
3646
- }, $e = {
3647
- variadic: Ni,
3648
- monadic: Gi
3649
- }, ie;
3654
+ var ie;
3650
3655
  (function(e) {
3651
3656
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3652
3657
  })(ie || (ie = {}));
3653
- var Oe = (
3658
+ var Ie = (
3654
3659
  /** @class */
3655
3660
  function(e) {
3656
3661
  F(t, e);
@@ -3670,7 +3675,7 @@ var Oe = (
3670
3675
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3671
3676
  }
3672
3677
  return t;
3673
- }(Oe)
3678
+ }(Ie)
3674
3679
  ), Fi = (
3675
3680
  /** @class */
3676
3681
  function(e) {
@@ -3679,7 +3684,7 @@ var Oe = (
3679
3684
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3680
3685
  }
3681
3686
  return t;
3682
- }(Oe)
3687
+ }(Ie)
3683
3688
  ), $i = (
3684
3689
  /** @class */
3685
3690
  function(e) {
@@ -3688,7 +3693,7 @@ var Oe = (
3688
3693
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3689
3694
  }
3690
3695
  return t;
3691
- }(Oe)
3696
+ }(Ie)
3692
3697
  ), P;
3693
3698
  (function(e) {
3694
3699
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3703,7 +3708,7 @@ function ki(e) {
3703
3708
  return typeof e == "function";
3704
3709
  }
3705
3710
  function we(e, t, r, n, i, o, a) {
3706
- if (e.length === 1 && Ot(e[0]))
3711
+ if (e.length === 1 && It(e[0]))
3707
3712
  return [
3708
3713
  {
3709
3714
  type: P.literal,
@@ -3712,14 +3717,14 @@ function we(e, t, r, n, i, o, a) {
3712
3717
  ];
3713
3718
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3714
3719
  var u = l[h];
3715
- if (Ot(u)) {
3720
+ if (It(u)) {
3716
3721
  s.push({
3717
3722
  type: P.literal,
3718
3723
  value: u.value
3719
3724
  });
3720
3725
  continue;
3721
3726
  }
3722
- if (oi(u)) {
3727
+ if (ci(u)) {
3723
3728
  typeof o == "number" && s.push({
3724
3729
  type: P.literal,
3725
3730
  value: r.getNumberFormat(t).format(o)
@@ -3730,14 +3735,14 @@ function we(e, t, r, n, i, o, a) {
3730
3735
  if (!(i && f in i))
3731
3736
  throw new $i(f, a);
3732
3737
  var c = i[f];
3733
- if (ii(u)) {
3738
+ if (hi(u)) {
3734
3739
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3735
3740
  type: typeof c == "string" ? P.literal : P.object,
3736
3741
  value: c
3737
3742
  });
3738
3743
  continue;
3739
3744
  }
3740
- if (fr(u)) {
3745
+ if (mr(u)) {
3741
3746
  var m = typeof u.style == "string" ? n.date[u.style] : qe(u.style) ? u.style.parsedOptions : void 0;
3742
3747
  s.push({
3743
3748
  type: P.literal,
@@ -3745,7 +3750,7 @@ function we(e, t, r, n, i, o, a) {
3745
3750
  });
3746
3751
  continue;
3747
3752
  }
3748
- if (mr(u)) {
3753
+ if (dr(u)) {
3749
3754
  var m = typeof u.style == "string" ? n.time[u.style] : qe(u.style) ? u.style.parsedOptions : n.time.medium;
3750
3755
  s.push({
3751
3756
  type: P.literal,
@@ -3753,15 +3758,15 @@ function we(e, t, r, n, i, o, a) {
3753
3758
  });
3754
3759
  continue;
3755
3760
  }
3756
- if (cr(u)) {
3757
- var m = typeof u.style == "string" ? n.number[u.style] : gr(u.style) ? u.style.parsedOptions : void 0;
3761
+ if (fr(u)) {
3762
+ var m = typeof u.style == "string" ? n.number[u.style] : yr(u.style) ? u.style.parsedOptions : void 0;
3758
3763
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3759
3764
  type: P.literal,
3760
3765
  value: r.getNumberFormat(t, m).format(c)
3761
3766
  });
3762
3767
  continue;
3763
3768
  }
3764
- if (br(u)) {
3769
+ if (gr(u)) {
3765
3770
  var d = u.children, b = u.value, B = i[b];
3766
3771
  if (!ki(B))
3767
3772
  throw new Fi(b, "function", a);
@@ -3775,18 +3780,18 @@ function we(e, t, r, n, i, o, a) {
3775
3780
  };
3776
3781
  }));
3777
3782
  }
3778
- if (dr(u)) {
3783
+ if (pr(u)) {
3779
3784
  var A = u.options[c] || u.options.other;
3780
3785
  if (!A)
3781
3786
  throw new Ut(u.value, c, Object.keys(u.options), a);
3782
3787
  s.push.apply(s, we(A.value, t, r, n, i));
3783
3788
  continue;
3784
3789
  }
3785
- if (pr(u)) {
3790
+ if (br(u)) {
3786
3791
  var A = u.options["=".concat(c)];
3787
3792
  if (!A) {
3788
3793
  if (!Intl.PluralRules)
3789
- throw new Oe(`Intl.PluralRules is not available in this environment.
3794
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3790
3795
  Try polyfilling it using "@formatjs/intl-pluralrules"
3791
3796
  `, ie.MISSING_INTL_API, a);
3792
3797
  var U = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
@@ -3830,29 +3835,29 @@ function Xi(e) {
3830
3835
  dateTime: {},
3831
3836
  pluralRules: {}
3832
3837
  }), {
3833
- getNumberFormat: Fe(function() {
3838
+ getNumberFormat: De(function() {
3834
3839
  for (var t, r = [], n = 0; n < arguments.length; n++)
3835
3840
  r[n] = arguments[n];
3836
3841
  return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3837
3842
  }, {
3838
3843
  cache: je(e.number),
3839
- strategy: $e.variadic
3844
+ strategy: Fe.variadic
3840
3845
  }),
3841
- getDateTimeFormat: Fe(function() {
3846
+ getDateTimeFormat: De(function() {
3842
3847
  for (var t, r = [], n = 0; n < arguments.length; n++)
3843
3848
  r[n] = arguments[n];
3844
3849
  return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3845
3850
  }, {
3846
3851
  cache: je(e.dateTime),
3847
- strategy: $e.variadic
3852
+ strategy: Fe.variadic
3848
3853
  }),
3849
- getPluralRules: Fe(function() {
3854
+ getPluralRules: De(function() {
3850
3855
  for (var t, r = [], n = 0; n < arguments.length; n++)
3851
3856
  r[n] = arguments[n];
3852
3857
  return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3853
3858
  }, {
3854
3859
  cache: je(e.pluralRules),
3855
- strategy: $e.variadic
3860
+ strategy: Fe.variadic
3856
3861
  })
3857
3862
  };
3858
3863
  }
@@ -3860,8 +3865,9 @@ var zi = (
3860
3865
  /** @class */
3861
3866
  function() {
3862
3867
  function e(t, r, n, i) {
3868
+ r === void 0 && (r = e.defaultLocale);
3863
3869
  var o = this;
3864
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3870
+ if (this.formatterCache = {
3865
3871
  number: {},
3866
3872
  dateTime: {},
3867
3873
  pluralRules: {}
@@ -3887,7 +3893,7 @@ var zi = (
3887
3893
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3888
3894
  var a = i || {};
3889
3895
  a.formatters;
3890
- var s = Bn(a, ["formatters"]);
3896
+ var s = Hn(a, ["formatters"]);
3891
3897
  this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3892
3898
  } else
3893
3899
  this.ast = t;
@@ -3906,7 +3912,7 @@ var zi = (
3906
3912
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3907
3913
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3908
3914
  }
3909
- }, e.__parse = Ci, e.formats = {
3915
+ }, e.__parse = Di, e.formats = {
3910
3916
  number: {
3911
3917
  integer: {
3912
3918
  maximumFractionDigits: 0
@@ -3988,12 +3994,12 @@ function Ji(e, t) {
3988
3994
  n = void 0;
3989
3995
  return n;
3990
3996
  }
3991
- const $ = {}, Zi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Br = (e, t) => {
3997
+ const $ = {}, Zi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Hr = (e, t) => {
3992
3998
  if (t == null)
3993
3999
  return;
3994
4000
  if (t in $ && e in $[t])
3995
4001
  return $[t][e];
3996
- const r = Ie(t);
4002
+ const r = Oe(t);
3997
4003
  for (let n = 0; n < r.length; n++) {
3998
4004
  const i = r[n], o = Yi(i, e);
3999
4005
  if (o)
@@ -4005,11 +4011,11 @@ const se = Re({});
4005
4011
  function Qi(e) {
4006
4012
  return ht[e] || null;
4007
4013
  }
4008
- function Ar(e) {
4014
+ function Br(e) {
4009
4015
  return e in ht;
4010
4016
  }
4011
4017
  function Yi(e, t) {
4012
- if (!Ar(e))
4018
+ if (!Br(e))
4013
4019
  return null;
4014
4020
  const r = Qi(e);
4015
4021
  return Ji(r, t);
@@ -4017,14 +4023,14 @@ function Yi(e, t) {
4017
4023
  function qi(e) {
4018
4024
  if (e == null)
4019
4025
  return;
4020
- const t = Ie(e);
4026
+ const t = Oe(e);
4021
4027
  for (let r = 0; r < t.length; r++) {
4022
4028
  const n = t[r];
4023
- if (Ar(n))
4029
+ if (Br(n))
4024
4030
  return n;
4025
4031
  }
4026
4032
  }
4027
- function Pr(e, ...t) {
4033
+ function Ar(e, ...t) {
4028
4034
  delete $[e], se.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
4029
4035
  }
4030
4036
  ae(
@@ -4036,30 +4042,30 @@ const Se = {};
4036
4042
  function Ki(e, t) {
4037
4043
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4038
4044
  }
4039
- function Rr(e) {
4045
+ function Pr(e) {
4040
4046
  return Se[e];
4041
4047
  }
4042
4048
  function eo(e) {
4043
- return Ie(e).map((t) => {
4044
- const r = Rr(t);
4049
+ return Oe(e).map((t) => {
4050
+ const r = Pr(t);
4045
4051
  return [t, r ? [...r] : []];
4046
4052
  }).filter(([, t]) => t.length > 0);
4047
4053
  }
4048
4054
  function it(e) {
4049
- return e == null ? !1 : Ie(e).some(
4055
+ return e == null ? !1 : Oe(e).some(
4050
4056
  (t) => {
4051
4057
  var r;
4052
- return (r = Rr(t)) == null ? void 0 : r.size;
4058
+ return (r = Pr(t)) == null ? void 0 : r.size;
4053
4059
  }
4054
4060
  );
4055
4061
  }
4056
4062
  function to(e, t) {
4057
4063
  return Promise.all(
4058
4064
  t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
4059
- ).then((n) => Pr(e, ...n));
4065
+ ).then((n) => Ar(e, ...n));
4060
4066
  }
4061
4067
  const he = {};
4062
- function Or(e) {
4068
+ function Rr(e) {
4063
4069
  if (!it(e))
4064
4070
  return e in he ? he[e] : Promise.resolve();
4065
4071
  const t = eo(e);
@@ -4069,7 +4075,7 @@ function Or(e) {
4069
4075
  )
4070
4076
  ).then(() => {
4071
4077
  if (it(e))
4072
- return Or(e);
4078
+ return Rr(e);
4073
4079
  delete he[e];
4074
4080
  }), he[e];
4075
4081
  }
@@ -4127,7 +4133,7 @@ const Be = Re(null);
4127
4133
  function $t(e) {
4128
4134
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4129
4135
  }
4130
- function Ie(e, t = oe().fallbackLocale) {
4136
+ function Oe(e, t = oe().fallbackLocale) {
4131
4137
  const r = $t(e);
4132
4138
  return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4133
4139
  }
@@ -4144,7 +4150,7 @@ const fo = (e) => {
4144
4150
  return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4145
4151
  () => ke.set(!0),
4146
4152
  t
4147
- ) : ke.set(!0), Or(e).then(() => {
4153
+ ) : ke.set(!0), Rr(e).then(() => {
4148
4154
  Be.set(e);
4149
4155
  }).finally(() => {
4150
4156
  clearTimeout(r), ke.set(!1);
@@ -4160,12 +4166,12 @@ const fo = (e) => {
4160
4166
  return i in t ? t[i] : t[i] = e(n);
4161
4167
  };
4162
4168
  };
4163
- var mo = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4169
+ var mo = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4164
4170
  for (var r in t || (t = {}))
4165
4171
  Ir.call(t, r) && jt(e, r, t[r]);
4166
4172
  if (Ae)
4167
4173
  for (var r of Ae(t))
4168
- Cr.call(t, r) && jt(e, r, t[r]);
4174
+ Or.call(t, r) && jt(e, r, t[r]);
4169
4175
  return e;
4170
4176
  }, ue = (e, t) => {
4171
4177
  var r = {};
@@ -4173,7 +4179,7 @@ var mo = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ir = Object.p
4173
4179
  Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4174
4180
  if (e != null && Ae)
4175
4181
  for (var n of Ae(e))
4176
- t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
4182
+ t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4177
4183
  return r;
4178
4184
  };
4179
4185
  const de = (e, t) => {
@@ -4243,7 +4249,7 @@ const de = (e, t) => {
4243
4249
  throw new Error(
4244
4250
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4245
4251
  );
4246
- let u = Br(e, h);
4252
+ let u = Hr(e, h);
4247
4253
  if (!u)
4248
4254
  u = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4249
4255
  else if (typeof u != "string")
@@ -4262,7 +4268,7 @@ const de = (e, t) => {
4262
4268
  );
4263
4269
  }
4264
4270
  return f;
4265
- }, wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), To = (e, t) => yo(t).format(e), Ho = (e, t = J()) => Br(e, t), Bo = ae([V, se], () => Eo);
4271
+ }, wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), To = (e, t) => yo(t).format(e), Ho = (e, t = J()) => Hr(e, t), Bo = ae([V, se], () => Eo);
4266
4272
  ae([V], () => wo);
4267
4273
  ae([V], () => So);
4268
4274
  ae([V], () => To);
@@ -4275,7 +4281,7 @@ function Po({ withLocale: e, translations: t }) {
4275
4281
  });
4276
4282
  }
4277
4283
  function kt(e, t) {
4278
- Pr(e, t);
4284
+ Ar(e, t);
4279
4285
  }
4280
4286
  function Ro(e) {
4281
4287
  V.set(e);
@@ -4348,20 +4354,20 @@ const Vt = {
4348
4354
  noGames: "There are no random games to play"
4349
4355
  }
4350
4356
  };
4351
- function Oo(e) {
4352
- ln(e, "svelte-jp1l3j", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4357
+ function Io(e) {
4358
+ un(e, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4353
4359
  }
4354
4360
  function Wt(e, t, r) {
4355
4361
  const n = e.slice();
4356
4362
  return n[41] = t[r], n;
4357
4363
  }
4358
- const Io = (e) => ({}), Xt = (e) => ({});
4364
+ const Oo = (e) => ({}), Xt = (e) => ({});
4359
4365
  function zt(e) {
4360
4366
  let t, r, n, i, o, a, s;
4361
4367
  const h = (
4362
4368
  /*#slots*/
4363
4369
  e[22].close
4364
- ), l = on(
4370
+ ), l = nn(
4365
4371
  h,
4366
4372
  e,
4367
4373
  /*$$scope*/
@@ -4380,7 +4386,7 @@ function zt(e) {
4380
4386
  t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = k(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4381
4387
  },
4382
4388
  m(d, b) {
4383
- I(d, t, b), E(t, r), E(r, n), u && u.m(n, null), E(r, i), m.m(r, null), o = !0, a || (s = Te(
4389
+ O(d, t, b), E(t, r), E(r, n), u && u.m(n, null), E(r, i), m.m(r, null), o = !0, a || (s = Te(
4384
4390
  n,
4385
4391
  "click",
4386
4392
  /*closeModal*/
@@ -4389,19 +4395,19 @@ function zt(e) {
4389
4395
  },
4390
4396
  p(d, b) {
4391
4397
  l && l.p && (!o || b[0] & /*$$scope*/
4392
- 2097152) && sn(
4398
+ 2097152) && an(
4393
4399
  l,
4394
4400
  h,
4395
4401
  d,
4396
4402
  /*$$scope*/
4397
4403
  d[21],
4398
- o ? an(
4404
+ o ? on(
4399
4405
  h,
4400
4406
  /*$$scope*/
4401
4407
  d[21],
4402
4408
  b,
4403
- Io
4404
- ) : un(
4409
+ Oo
4410
+ ) : sn(
4405
4411
  /*$$scope*/
4406
4412
  d[21]
4407
4413
  ),
@@ -4426,7 +4432,7 @@ function Co(e) {
4426
4432
  t = _t("svg"), r = _t("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4427
4433
  },
4428
4434
  m(n, i) {
4429
- I(n, t, i), E(t, r);
4435
+ O(n, t, i), E(t, r);
4430
4436
  },
4431
4437
  p: G,
4432
4438
  d(n) {
@@ -4444,7 +4450,7 @@ function Lo(e) {
4444
4450
  t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4445
4451
  },
4446
4452
  m(i, o) {
4447
- I(i, t, o), E(t, n);
4453
+ O(i, t, o), E(t, n);
4448
4454
  },
4449
4455
  p(i, o) {
4450
4456
  o[0] & /*$_*/
@@ -4478,7 +4484,7 @@ function Mo(e) {
4478
4484
  i = k(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4479
4485
  },
4480
4486
  m(u, f) {
4481
- I(u, t, f), E(t, r), E(r, n);
4487
+ O(u, t, f), E(t, r), E(r, n);
4482
4488
  for (let c = 0; c < a.length; c += 1)
4483
4489
  a[c] && a[c].m(n, null);
4484
4490
  e[23](n), E(t, i), l.m(t, null);
@@ -4502,7 +4508,7 @@ function Mo(e) {
4502
4508
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4503
4509
  },
4504
4510
  d(u) {
4505
- u && R(t), fn(a, u), e[23](null), l.d();
4511
+ u && R(t), cn(a, u), e[23](null), l.d();
4506
4512
  }
4507
4513
  };
4508
4514
  }
@@ -4516,7 +4522,7 @@ function Jt(e) {
4516
4522
  e[41].name), g(t, "class", "item");
4517
4523
  },
4518
4524
  m(s, h) {
4519
- I(s, t, h), E(t, r), E(t, a);
4525
+ O(s, t, h), E(t, r), E(t, a);
4520
4526
  },
4521
4527
  p(s, h) {
4522
4528
  h[0] & /*gamesToShow*/
@@ -4542,7 +4548,7 @@ function No(e) {
4542
4548
  t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4543
4549
  },
4544
4550
  m(i, o) {
4545
- I(i, t, o), E(t, n);
4551
+ O(i, t, o), E(t, n);
4546
4552
  },
4547
4553
  p(i, o) {
4548
4554
  o[0] & /*$_*/
@@ -4567,11 +4573,11 @@ function Go(e) {
4567
4573
  ), d, b, B;
4568
4574
  return {
4569
4575
  c() {
4570
- t = S("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}
4576
+ t = S("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
4571
4577
  </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = k(), n = S("div"), i = S("p"), a = j(o), s = k(), h = S("p"), u = j(l), f = k(), c = S("button"), d = j(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4572
4578
  },
4573
4579
  m(T, H) {
4574
- I(T, t, H), I(T, r, H), I(T, n, H), E(n, i), E(i, a), E(n, s), E(n, h), E(h, u), E(n, f), E(n, c), E(c, d), b || (B = [
4580
+ O(T, t, H), O(T, r, H), O(T, n, H), E(n, i), E(i, a), E(n, s), E(n, h), E(h, u), E(n, f), E(n, c), E(c, d), b || (B = [
4575
4581
  Te(
4576
4582
  t,
4577
4583
  "click",
@@ -4610,7 +4616,7 @@ function Uo(e) {
4610
4616
  t = S("span"), n = j(r), g(t, "class", "RandomButtonText");
4611
4617
  },
4612
4618
  m(i, o) {
4613
- I(i, t, o), E(t, n);
4619
+ O(i, t, o), E(t, n);
4614
4620
  },
4615
4621
  p(i, o) {
4616
4622
  o[0] & /*$_*/
@@ -4632,7 +4638,7 @@ function Do(e) {
4632
4638
  ), g(t, "class", "RandomButtonText");
4633
4639
  },
4634
4640
  m(n, i) {
4635
- I(n, t, i), E(t, r);
4641
+ O(n, t, i), E(t, r);
4636
4642
  },
4637
4643
  p(n, i) {
4638
4644
  i[0] & /*buttontext*/
@@ -4666,7 +4672,7 @@ function Fo(e) {
4666
4672
  t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper"), g(t, "part", "CustomStylingContainer");
4667
4673
  },
4668
4674
  m(d, b) {
4669
- I(d, t, b), u && u.m(t, null), E(t, r), E(t, n), E(n, i), m && m.m(i, null), E(i, o), E(i, a), a.innerHTML = /*randombuttonicon*/
4675
+ O(d, t, b), u && u.m(t, null), E(t, r), E(t, n), E(n, i), m && m.m(i, null), E(i, o), E(i, a), a.innerHTML = /*randombuttonicon*/
4670
4676
  e[0], e[27](t), s = !0, h || (l = Te(
4671
4677
  i,
4672
4678
  "click",
@@ -4677,9 +4683,9 @@ function Fo(e) {
4677
4683
  p(d, b) {
4678
4684
  /*show*/
4679
4685
  d[5] ? u ? (u.p(d, b), b[0] & /*show*/
4680
- 32 && fe(u, 1)) : (u = zt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (yn(), Xe(u, 1, 1, () => {
4686
+ 32 && fe(u, 1)) : (u = zt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (gn(), Xe(u, 1, 1, () => {
4681
4687
  u = null;
4682
- }), vn()), c === (c = f(d)) && m ? m.p(d, b) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || b[0] & /*randombuttonicon*/
4688
+ }), yn()), c === (c = f(d)) && m ? m.p(d, b) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || b[0] & /*randombuttonicon*/
4683
4689
  1) && (a.innerHTML = /*randombuttonicon*/
4684
4690
  d[0]);
4685
4691
  },
@@ -4696,13 +4702,13 @@ function Fo(e) {
4696
4702
  }
4697
4703
  function $o(e, t, r) {
4698
4704
  let n;
4699
- nn(e, Bo, (p) => r(9, n = p));
4705
+ rn(e, Bo, (p) => r(9, n = p));
4700
4706
  let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: b = "" } = t, B = [], T = "", H, A = !1, U = !1, C = !1, Z = window.navigator.userAgent, N, Q, ft, pe, mt = null;
4701
4707
  Po({ withLocale: "en", translations: {} });
4702
- const Lr = () => {
4708
+ const Cr = () => {
4703
4709
  fetch(c).then((x) => x.json()).then((x) => {
4704
- Object.keys(x).forEach((O) => {
4705
- kt(O, x[O]);
4710
+ Object.keys(x).forEach((I) => {
4711
+ kt(I, x[I]);
4706
4712
  });
4707
4713
  }).catch((x) => {
4708
4714
  console.log(x);
@@ -4711,39 +4717,39 @@ function $o(e, t, r) {
4711
4717
  Object.keys(Vt).forEach((p) => {
4712
4718
  kt(p, Vt[p]);
4713
4719
  });
4714
- const Mr = () => {
4720
+ const Lr = () => {
4715
4721
  let p = new URL(`${a}/v1/casino/games`);
4716
4722
  p.searchParams.append("platform", Ao(Z)), p.searchParams.append("datasource", s), p.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && p.searchParams.append("filter", `groups=${b}`), p.searchParams.append("expand", "categories,vendor"), p.searchParams.append("pagination", "offset=0,limit=1000"), fetch(p.href).then((x) => x.json()).then((x) => {
4717
- B = x.items, B.length ? (r(4, H = Nr(B.slice(0, 19))), r(7, C = !0)) : (r(4, H = []), r(7, C = !1));
4723
+ B = x.items, B.length ? (r(4, H = Mr(B.slice(0, 19))), r(7, C = !0)) : (r(4, H = []), r(7, C = !1));
4718
4724
  }).catch((x) => {
4719
4725
  console.log(x), r(7, C = !1);
4720
4726
  });
4721
- }, Nr = (p) => {
4722
- const x = Ur(p);
4727
+ }, Mr = (p) => {
4728
+ const x = Gr(p);
4723
4729
  return x.concat(x);
4724
- }, Gr = () => be(this, null, function* () {
4725
- yield pn(), pe = Math.floor(Math.random() * (H.length / 2)) + H.length / 2, r(3, T = H[pe]), ft = Q.children[pe];
4730
+ }, Nr = () => be(this, null, function* () {
4731
+ yield dn(), pe = Math.floor(Math.random() * (H.length / 2)) + H.length / 2, r(3, T = H[pe]), ft = Q.children[pe];
4726
4732
  }), Le = () => be(this, null, function* () {
4727
- r(6, U = !1), r(5, A = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Gr();
4728
- const p = window.getComputedStyle(Q).getPropertyValue("gap"), x = parseInt(p, 10) || 0, le = (ft.offsetHeight + x) * pe, Jr = [
4733
+ r(6, U = !1), r(5, A = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Nr();
4734
+ const p = window.getComputedStyle(Q).getPropertyValue("gap"), x = parseInt(p, 10) || 0, le = (ft.offsetHeight + x) * pe, zr = [
4729
4735
  { transform: "translateX(0px)" },
4730
4736
  { filter: "blur(5px)" },
4731
4737
  {
4732
4738
  transform: `translateY(-${le}px)`
4733
4739
  }
4734
- ], Zr = {
4740
+ ], Jr = {
4735
4741
  duration: 2e3,
4736
4742
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4737
4743
  fill: "forwards"
4738
4744
  };
4739
- mt = Q.animate(Jr, Zr), mt.onfinish = () => {
4745
+ mt = Q.animate(zr, Jr), mt.onfinish = () => {
4740
4746
  r(6, U = !0);
4741
4747
  };
4742
- }), Ur = (p) => {
4748
+ }), Gr = (p) => {
4743
4749
  const x = structuredClone(p);
4744
- let O = x.length, le;
4745
- for (; O != 0; )
4746
- le = Math.floor(Math.random() * O), O--, [x[O], x[le]] = [x[le], x[O]];
4750
+ let I = x.length, le;
4751
+ for (; I != 0; )
4752
+ le = Math.floor(Math.random() * I), I--, [x[I], x[le]] = [x[le], x[I]];
4747
4753
  return x;
4748
4754
  }, dt = () => {
4749
4755
  window.postMessage(
@@ -4756,17 +4762,17 @@ function $o(e, t, r) {
4756
4762
  context: "RandomGameWidget",
4757
4763
  gameId: `${T.gId || T.id}`
4758
4764
  });
4759
- }, Dr = () => {
4765
+ }, Ur = () => {
4760
4766
  r(5, A = !1), window.postMessage({ type: "RandomWidgetState", state: A }, window.location.href);
4761
- }, Fr = () => {
4767
+ }, Dr = () => {
4762
4768
  Ro(l);
4763
- }, $r = () => {
4769
+ }, Fr = () => {
4764
4770
  let p = document.createElement("style");
4765
4771
  p.innerHTML = m, N.appendChild(p);
4766
- }, jr = () => {
4772
+ }, $r = () => {
4767
4773
  let p = new URL(d), x = document.createElement("style");
4768
- fetch(p.href).then((O) => O.text()).then((O) => {
4769
- x.innerHTML = O, setTimeout(
4774
+ fetch(p.href).then((I) => I.text()).then((I) => {
4775
+ x.innerHTML = I, setTimeout(
4770
4776
  () => {
4771
4777
  N.appendChild(x);
4772
4778
  },
@@ -4774,13 +4780,13 @@ function $o(e, t, r) {
4774
4780
  );
4775
4781
  });
4776
4782
  };
4777
- function kr(p) {
4783
+ function jr(p) {
4778
4784
  He[p ? "unshift" : "push"](() => {
4779
4785
  Q = p, r(8, Q);
4780
4786
  });
4781
4787
  }
4782
- const Vr = () => Le(), Wr = () => dt(), Xr = () => Le();
4783
- function zr(p) {
4788
+ const kr = () => Le(), Vr = () => dt(), Wr = () => Le();
4789
+ function Xr(p) {
4784
4790
  He[p ? "unshift" : "push"](() => {
4785
4791
  N = p, r(2, N);
4786
4792
  });
@@ -4789,11 +4795,11 @@ function $o(e, t, r) {
4789
4795
  "endpoint" in p && r(13, a = p.endpoint), "datasource" in p && r(14, s = p.datasource), "gameevent" in p && r(15, h = p.gameevent), "lang" in p && r(16, l = p.lang), "randombuttonicon" in p && r(0, u = p.randombuttonicon), "buttontext" in p && r(1, f = p.buttontext), "translationurl" in p && r(17, c = p.translationurl), "clientstyling" in p && r(18, m = p.clientstyling), "clientstylingurl" in p && r(19, d = p.clientstylingurl), "filteredrandomgamecategories" in p && r(20, b = p.filteredrandomgamecategories), "$$scope" in p && r(21, o = p.$$scope);
4790
4796
  }, e.$$.update = () => {
4791
4797
  e.$$.dirty[0] & /*lang*/
4792
- 65536 && l && Fr(), e.$$.dirty[0] & /*translationurl*/
4793
- 131072 && c && Lr(), e.$$.dirty[0] & /*endpoint, datasource*/
4794
- 24576 && a && s && Mr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4795
- 262148 && m && N && $r(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4796
- 524292 && d && N && jr();
4798
+ 65536 && l && Dr(), e.$$.dirty[0] & /*translationurl*/
4799
+ 131072 && c && Cr(), e.$$.dirty[0] & /*endpoint, datasource*/
4800
+ 24576 && a && s && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4801
+ 262148 && m && N && Fr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4802
+ 524292 && d && N && $r();
4797
4803
  }, [
4798
4804
  u,
4799
4805
  f,
@@ -4807,7 +4813,7 @@ function $o(e, t, r) {
4807
4813
  n,
4808
4814
  Le,
4809
4815
  dt,
4810
- Dr,
4816
+ Ur,
4811
4817
  a,
4812
4818
  s,
4813
4819
  h,
@@ -4818,16 +4824,16 @@ function $o(e, t, r) {
4818
4824
  b,
4819
4825
  o,
4820
4826
  i,
4827
+ jr,
4821
4828
  kr,
4822
4829
  Vr,
4823
4830
  Wr,
4824
- Xr,
4825
- zr
4831
+ Xr
4826
4832
  ];
4827
4833
  }
4828
- class jo extends Tn {
4834
+ class jo extends Sn {
4829
4835
  constructor(t) {
4830
- super(), wn(
4836
+ super(), En(
4831
4837
  this,
4832
4838
  t,
4833
4839
  $o,
@@ -4845,7 +4851,7 @@ class jo extends Tn {
4845
4851
  clientstylingurl: 19,
4846
4852
  filteredrandomgamecategories: 20
4847
4853
  },
4848
- Oo,
4854
+ Io,
4849
4855
  [-1, -1]
4850
4856
  );
4851
4857
  }
@@ -4910,7 +4916,7 @@ class jo extends Tn {
4910
4916
  this.$$set({ filteredrandomgamecategories: t }), M();
4911
4917
  }
4912
4918
  }
4913
- Sn(jo, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
4919
+ wn(jo, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
4914
4920
  export {
4915
4921
  jo as default
4916
4922
  };