@everymatrix/player-panic-button 1.45.0 → 1.45.2

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 fr = Object.defineProperty, pr = Object.defineProperties;
2
- var dr = Object.getOwnPropertyDescriptors;
1
+ var cr = Object.defineProperty, fr = Object.defineProperties;
2
+ var pr = Object.getOwnPropertyDescriptors;
3
3
  var qe = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var _e = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4
+ var mr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
+ var _e = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
7
  mr.call(t, r) && _e(e, r, t[r]);
8
8
  if (qe)
9
9
  for (var r of qe(t))
10
- br.call(t, r) && _e(e, r, t[r]);
10
+ dr.call(t, r) && _e(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => pr(e, dr(t));
12
+ }, et = (e, t) => fr(e, pr(t));
13
13
  var S = (e, t, r) => _e(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function H() {
31
31
  }
32
- function Bt(e) {
32
+ function Pt(e) {
33
33
  return e();
34
34
  }
35
35
  function rt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ne(e) {
39
- e.forEach(Bt);
39
+ e.forEach(Pt);
40
40
  }
41
41
  function Xe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function At(e, t) {
44
+ function Bt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function gr(e) {
47
+ function br(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Ot(e, ...t) {
50
+ function At(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,23 +56,20 @@ function Ot(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function vr(e, t, r) {
60
- e.$$.on_destroy.push(Ot(t, r));
61
- }
62
- function nt(e) {
63
- return e == null ? "" : e;
59
+ function gr(e, t, r) {
60
+ e.$$.on_destroy.push(At(t, r));
64
61
  }
65
62
  function he(e, t) {
66
63
  e.appendChild(t);
67
64
  }
68
65
  function yr(e, t, r) {
69
- const n = xr(e);
66
+ const n = vr(e);
70
67
  if (!n.getElementById(t)) {
71
68
  const i = q("style");
72
69
  i.id = t, i.textContent = r, Er(n, i);
73
70
  }
74
71
  }
75
- function xr(e) {
72
+ function vr(e) {
76
73
  if (!e) return document;
77
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
78
75
  return t && /** @type {ShadowRoot} */
@@ -88,7 +85,7 @@ function Er(e, t) {
88
85
  t
89
86
  ), t.sheet;
90
87
  }
91
- function It(e, t, r) {
88
+ function Ot(e, t, r) {
92
89
  e.insertBefore(t, r || null);
93
90
  }
94
91
  function We(e) {
@@ -97,23 +94,23 @@ function We(e) {
97
94
  function q(e) {
98
95
  return document.createElement(e);
99
96
  }
100
- function _r(e) {
97
+ function xr(e) {
101
98
  return document.createTextNode(e);
102
99
  }
103
100
  function M(e, t, r) {
104
101
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
105
102
  }
106
- function Sr(e) {
103
+ function _r(e) {
107
104
  return Array.from(e.childNodes);
108
105
  }
109
- function Tr(e, t) {
106
+ function Sr(e, t) {
110
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
111
108
  t);
112
109
  }
113
- function it(e, t, r) {
110
+ function nt(e, t, r) {
114
111
  e.classList.toggle(t, !!r);
115
112
  }
116
- function Hr(e) {
113
+ function Tr(e) {
117
114
  const t = {};
118
115
  return e.childNodes.forEach(
119
116
  /** @param {Element} node */
@@ -126,19 +123,19 @@ let ee;
126
123
  function K(e) {
127
124
  ee = e;
128
125
  }
129
- function wr() {
126
+ function Hr() {
130
127
  if (!ee) throw new Error("Function called outside component initialization");
131
128
  return ee;
132
129
  }
133
- function Pr(e) {
134
- wr().$$.on_mount.push(e);
130
+ function wr(e) {
131
+ Hr().$$.on_mount.push(e);
135
132
  }
136
- const G = [], de = [];
133
+ const G = [], me = [];
137
134
  let j = [];
138
- const ot = [], Br = /* @__PURE__ */ Promise.resolve();
135
+ const it = [], Pr = /* @__PURE__ */ Promise.resolve();
139
136
  let Ie = !1;
140
- function Ar() {
141
- Ie || (Ie = !0, Br.then(C));
137
+ function Br() {
138
+ Ie || (Ie = !0, Pr.then(C));
142
139
  }
143
140
  function Ce(e) {
144
141
  j.push(e);
@@ -153,52 +150,52 @@ function C() {
153
150
  try {
154
151
  for (; U < G.length; ) {
155
152
  const t = G[U];
156
- U++, K(t), Or(t.$$);
153
+ U++, K(t), Ar(t.$$);
157
154
  }
158
155
  } catch (t) {
159
156
  throw G.length = 0, U = 0, t;
160
157
  }
161
- for (K(null), G.length = 0, U = 0; de.length; ) de.pop()();
158
+ for (K(null), G.length = 0, U = 0; me.length; ) me.pop()();
162
159
  for (let t = 0; t < j.length; t += 1) {
163
160
  const r = j[t];
164
161
  Se.has(r) || (Se.add(r), r());
165
162
  }
166
163
  j.length = 0;
167
164
  } while (G.length);
168
- for (; ot.length; )
169
- ot.pop()();
165
+ for (; it.length; )
166
+ it.pop()();
170
167
  Ie = !1, Se.clear(), K(e);
171
168
  }
172
- function Or(e) {
169
+ function Ar(e) {
173
170
  if (e.fragment !== null) {
174
171
  e.update(), ne(e.before_update);
175
172
  const t = e.dirty;
176
173
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
177
174
  }
178
175
  }
179
- function Ir(e) {
176
+ function Or(e) {
180
177
  const t = [], r = [];
181
178
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
182
179
  }
183
- const Cr = /* @__PURE__ */ new Set();
184
- function Nr(e, t) {
185
- e && e.i && (Cr.delete(e), e.i(t));
180
+ const Ir = /* @__PURE__ */ new Set();
181
+ function Cr(e, t) {
182
+ e && e.i && (Ir.delete(e), e.i(t));
186
183
  }
187
- function Lr(e, t, r) {
184
+ function Nr(e, t, r) {
188
185
  const { fragment: n, after_update: i } = e.$$;
189
186
  n && n.m(t, r), Ce(() => {
190
- const o = e.$$.on_mount.map(Bt).filter(Xe);
187
+ const o = e.$$.on_mount.map(Pt).filter(Xe);
191
188
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
192
189
  }), i.forEach(Ce);
193
190
  }
194
- function Mr(e, t) {
191
+ function Lr(e, t) {
195
192
  const r = e.$$;
196
- r.fragment !== null && (Ir(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
193
+ r.fragment !== null && (Or(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
197
194
  }
198
- function $r(e, t) {
199
- e.$$.dirty[0] === -1 && (G.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
+ function Mr(e, t) {
196
+ e.$$.dirty[0] === -1 && (G.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
200
197
  }
201
- function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
198
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
202
199
  const l = ee;
203
200
  K(e);
204
201
  const h = e.$$ = {
@@ -224,21 +221,21 @@ function Rr(e, t, r, n, i, o, s = null, a = [-1]) {
224
221
  };
225
222
  s && s(h.root);
226
223
  let u = !1;
227
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
228
- const y = m.length ? m[0] : f;
229
- return h.ctx && i(h.ctx[c], h.ctx[c] = y) && (!h.skip_bound && h.bound[c] && h.bound[c](y), u && $r(e, c)), f;
224
+ if (h.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
225
+ const v = d.length ? d[0] : f;
226
+ return h.ctx && i(h.ctx[c], h.ctx[c] = v) && (!h.skip_bound && h.bound[c] && h.bound[c](v), u && Mr(e, c)), f;
230
227
  }) : [], h.update(), u = !0, ne(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
231
228
  if (t.hydrate) {
232
- const c = Sr(t.target);
229
+ const c = _r(t.target);
233
230
  h.fragment && h.fragment.l(c), c.forEach(We);
234
231
  } else
235
232
  h.fragment && h.fragment.c();
236
- t.intro && Nr(e.$$.fragment), Lr(e, t.target, t.anchor), C();
233
+ t.intro && Cr(e.$$.fragment), Nr(e, t.target, t.anchor), C();
237
234
  }
238
235
  K(l);
239
236
  }
240
- let Ct;
241
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
237
+ let It;
238
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
242
239
  constructor(t, r, n) {
243
240
  super();
244
241
  /** The Svelte component constructor */
@@ -289,7 +286,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
289
286
  * @param {HTMLElement} [anchor]
290
287
  */
291
288
  m: function(h, u) {
292
- It(h, s, u);
289
+ Ot(h, s, u);
293
290
  },
294
291
  d: function(h) {
295
292
  h && We(s);
@@ -299,7 +296,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
299
296
  };
300
297
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
301
298
  return;
302
- const r = {}, n = Hr(this);
299
+ const r = {}, n = Tr(this);
303
300
  for (const o of this.$$s)
304
301
  o in n && (r[o] = [t(o)]);
305
302
  for (const o of this.attributes) {
@@ -388,8 +385,8 @@ function le(e, t, r, n) {
388
385
  return t;
389
386
  }
390
387
  }
391
- function Dr(e, t, r, n, i, o) {
392
- let s = class extends Ct {
388
+ function Rr(e, t, r, n, i, o) {
389
+ let s = class extends It {
393
390
  constructor() {
394
391
  super(e, r, i), this.$$p_d = t;
395
392
  }
@@ -419,7 +416,7 @@ function Dr(e, t, r, n, i, o) {
419
416
  }), e.element = /** @type {any} */
420
417
  s, s;
421
418
  }
422
- class Ur {
419
+ class Dr {
423
420
  constructor() {
424
421
  /**
425
422
  * ### PRIVATE API
@@ -440,7 +437,7 @@ class Ur {
440
437
  }
441
438
  /** @returns {void} */
442
439
  $destroy() {
443
- Mr(this, 1), this.$destroy = H;
440
+ Lr(this, 1), this.$destroy = H;
444
441
  }
445
442
  /**
446
443
  * @template {Extract<keyof Events, string>} K
@@ -462,11 +459,11 @@ class Ur {
462
459
  * @returns {void}
463
460
  */
464
461
  $set(t) {
465
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
462
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
463
  }
467
464
  }
468
- const Fr = "4";
469
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
465
+ const Ur = "4";
466
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
470
467
  var Ne = function(e, t) {
471
468
  return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
472
469
  r.__proto__ = n;
@@ -492,7 +489,7 @@ var b = function() {
492
489
  return t;
493
490
  }, b.apply(this, arguments);
494
491
  };
495
- function Gr(e, t) {
492
+ function Fr(e, t) {
496
493
  var r = {};
497
494
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
498
495
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -535,13 +532,13 @@ function k(e, t, r) {
535
532
  function A(e) {
536
533
  return typeof e == "function";
537
534
  }
538
- function Nt(e) {
535
+ function Ct(e) {
539
536
  var t = function(n) {
540
537
  Error.call(n), n.stack = new Error().stack;
541
538
  }, r = e(t);
542
539
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
543
540
  }
544
- var Te = Nt(function(e) {
541
+ var Te = Ct(function(e) {
545
542
  return function(r) {
546
543
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
547
544
  ` + r.map(function(n, i) {
@@ -572,8 +569,8 @@ var ge = function() {
572
569
  var h = l.value;
573
570
  h.remove(this);
574
571
  }
575
- } catch (v) {
576
- t = { error: v };
572
+ } catch (y) {
573
+ t = { error: y };
577
574
  } finally {
578
575
  try {
579
576
  l && !l.done && (r = a.return) && r.call(a);
@@ -587,26 +584,26 @@ var ge = function() {
587
584
  if (A(u))
588
585
  try {
589
586
  u();
590
- } catch (v) {
591
- o = v instanceof Te ? v.errors : [v];
587
+ } catch (y) {
588
+ o = y instanceof Te ? y.errors : [y];
592
589
  }
593
590
  var c = this._finalizers;
594
591
  if (c) {
595
592
  this._finalizers = null;
596
593
  try {
597
- for (var f = Le(c), m = f.next(); !m.done; m = f.next()) {
598
- var y = m.value;
594
+ for (var f = Le(c), d = f.next(); !d.done; d = f.next()) {
595
+ var v = d.value;
599
596
  try {
600
- st(y);
601
- } catch (v) {
602
- o = o != null ? o : [], v instanceof Te ? o = k(k([], Me(o)), Me(v.errors)) : o.push(v);
597
+ ot(v);
598
+ } catch (y) {
599
+ o = o != null ? o : [], y instanceof Te ? o = k(k([], Me(o)), Me(y.errors)) : o.push(y);
603
600
  }
604
601
  }
605
- } catch (v) {
606
- n = { error: v };
602
+ } catch (y) {
603
+ n = { error: y };
607
604
  } finally {
608
605
  try {
609
- m && !m.done && (i = f.return) && i.call(f);
606
+ d && !d.done && (i = f.return) && i.call(f);
610
607
  } finally {
611
608
  if (n) throw n.error;
612
609
  }
@@ -619,7 +616,7 @@ var ge = function() {
619
616
  var r;
620
617
  if (t && t !== this)
621
618
  if (this.closed)
622
- st(t);
619
+ ot(t);
623
620
  else {
624
621
  if (t instanceof e) {
625
622
  if (t.closed || t._hasParent(this))
@@ -644,46 +641,46 @@ var ge = function() {
644
641
  var t = new e();
645
642
  return t.closed = !0, t;
646
643
  }(), e;
647
- }(), Lt = ge.EMPTY;
648
- function Mt(e) {
644
+ }(), Nt = ge.EMPTY;
645
+ function Lt(e) {
649
646
  return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
650
647
  }
651
- function st(e) {
648
+ function ot(e) {
652
649
  A(e) ? e() : e.unsubscribe();
653
650
  }
654
- var $t = {
651
+ var Mt = {
655
652
  onUnhandledError: null,
656
653
  onStoppedNotification: null,
657
654
  Promise: void 0,
658
655
  useDeprecatedSynchronousErrorHandling: !1,
659
656
  useDeprecatedNextContext: !1
660
- }, Rt = {
657
+ }, $t = {
661
658
  setTimeout: function(e, t) {
662
659
  for (var r = [], n = 2; n < arguments.length; n++)
663
660
  r[n - 2] = arguments[n];
664
661
  return setTimeout.apply(void 0, k([e, t], Me(r)));
665
662
  },
666
663
  clearTimeout: function(e) {
667
- var t = Rt.delegate;
664
+ var t = $t.delegate;
668
665
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
669
666
  },
670
667
  delegate: void 0
671
668
  };
672
- function jr(e) {
673
- Rt.setTimeout(function() {
669
+ function Gr(e) {
670
+ $t.setTimeout(function() {
674
671
  throw e;
675
672
  });
676
673
  }
677
- function at() {
674
+ function st() {
678
675
  }
679
676
  function ce(e) {
680
677
  e();
681
678
  }
682
- var Dt = function(e) {
679
+ var Rt = function(e) {
683
680
  O(t, e);
684
681
  function t(r) {
685
682
  var n = e.call(this) || this;
686
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Xr, n;
683
+ return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = zr, n;
687
684
  }
688
685
  return t.create = function(r, n, i) {
689
686
  return new Re(r, n, i);
@@ -710,11 +707,11 @@ var Dt = function(e) {
710
707
  this.unsubscribe();
711
708
  }
712
709
  }, t;
713
- }(ge), kr = Function.prototype.bind;
710
+ }(ge), jr = Function.prototype.bind;
714
711
  function He(e, t) {
715
- return kr.call(e, t);
712
+ return jr.call(e, t);
716
713
  }
717
- var Vr = function() {
714
+ var kr = function() {
718
715
  function e(t) {
719
716
  this.partialObserver = t;
720
717
  }
@@ -757,7 +754,7 @@ var Vr = function() {
757
754
  };
758
755
  else {
759
756
  var a;
760
- o && $t.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
757
+ o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
761
758
  return o.unsubscribe();
762
759
  }, s = {
763
760
  next: r.next && He(r.next, a),
@@ -765,35 +762,35 @@ var Vr = function() {
765
762
  complete: r.complete && He(r.complete, a)
766
763
  }) : s = r;
767
764
  }
768
- return o.destination = new Vr(s), o;
765
+ return o.destination = new kr(s), o;
769
766
  }
770
767
  return t;
771
- }(Dt);
768
+ }(Rt);
772
769
  function se(e) {
773
- jr(e);
770
+ Gr(e);
774
771
  }
775
- function zr(e) {
772
+ function Vr(e) {
776
773
  throw e;
777
774
  }
778
- var Xr = {
775
+ var zr = {
779
776
  closed: !0,
780
- next: at,
781
- error: zr,
782
- complete: at
783
- }, Wr = function() {
777
+ next: st,
778
+ error: Vr,
779
+ complete: st
780
+ }, Xr = function() {
784
781
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
782
  }();
786
- function Zr(e) {
783
+ function Wr(e) {
787
784
  return e;
788
785
  }
789
- function Qr(e) {
790
- return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
786
+ function Zr(e) {
787
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
791
788
  return e.reduce(function(n, i) {
792
789
  return i(n);
793
790
  }, r);
794
791
  };
795
792
  }
796
- var ut = function() {
793
+ var at = function() {
797
794
  function e(t) {
798
795
  t && (this._subscribe = t);
799
796
  }
@@ -801,7 +798,7 @@ var ut = function() {
801
798
  var r = new e();
802
799
  return r.source = this, r.operator = t, r;
803
800
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = Yr(t) ? t : new Re(t, r, n);
801
+ var i = this, o = Jr(t) ? t : new Re(t, r, n);
805
802
  return ce(function() {
806
803
  var s = i, a = s.operator, l = s.source;
807
804
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -814,7 +811,7 @@ var ut = function() {
814
811
  }
815
812
  }, e.prototype.forEach = function(t, r) {
816
813
  var n = this;
817
- return r = ht(r), new r(function(i, o) {
814
+ return r = ut(r), new r(function(i, o) {
818
815
  var s = new Re({
819
816
  next: function(a) {
820
817
  try {
@@ -831,15 +828,15 @@ var ut = function() {
831
828
  }, e.prototype._subscribe = function(t) {
832
829
  var r;
833
830
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
834
- }, e.prototype[Wr] = function() {
831
+ }, e.prototype[Xr] = function() {
835
832
  return this;
836
833
  }, e.prototype.pipe = function() {
837
834
  for (var t = [], r = 0; r < arguments.length; r++)
838
835
  t[r] = arguments[r];
839
- return Qr(t)(this);
836
+ return Zr(t)(this);
840
837
  }, e.prototype.toPromise = function(t) {
841
838
  var r = this;
842
- return t = ht(t), new t(function(n, i) {
839
+ return t = ut(t), new t(function(n, i) {
843
840
  var o;
844
841
  r.subscribe(function(s) {
845
842
  return o = s;
@@ -853,32 +850,32 @@ var ut = function() {
853
850
  return new e(t);
854
851
  }, e;
855
852
  }();
856
- function ht(e) {
853
+ function ut(e) {
857
854
  var t;
858
- return (t = e != null ? e : $t.Promise) !== null && t !== void 0 ? t : Promise;
855
+ return (t = e != null ? e : Mt.Promise) !== null && t !== void 0 ? t : Promise;
859
856
  }
860
- function Jr(e) {
857
+ function Qr(e) {
861
858
  return e && A(e.next) && A(e.error) && A(e.complete);
862
859
  }
863
- function Yr(e) {
864
- return e && e instanceof Dt || Jr(e) && Mt(e);
860
+ function Jr(e) {
861
+ return e && e instanceof Rt || Qr(e) && Lt(e);
865
862
  }
866
- var qr = Nt(function(e) {
863
+ var Yr = Ct(function(e) {
867
864
  return function() {
868
865
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
866
  };
870
- }), Ut = function(e) {
867
+ }), Dt = function(e) {
871
868
  O(t, e);
872
869
  function t() {
873
870
  var r = e.call(this) || this;
874
871
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
875
872
  }
876
873
  return t.prototype.lift = function(r) {
877
- var n = new lt(this, this);
874
+ var n = new ht(this, this);
878
875
  return n.operator = r, n;
879
876
  }, t.prototype._throwIfClosed = function() {
880
877
  if (this.closed)
881
- throw new qr();
878
+ throw new Yr();
882
879
  }, t.prototype.next = function(r) {
883
880
  var n = this;
884
881
  ce(function() {
@@ -934,19 +931,19 @@ var qr = Nt(function(e) {
934
931
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
935
932
  }, t.prototype._innerSubscribe = function(r) {
936
933
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
937
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new ge(function() {
934
+ return o || s ? Nt : (this.currentObservers = null, a.push(r), new ge(function() {
938
935
  n.currentObservers = null, $e(a, r);
939
936
  }));
940
937
  }, t.prototype._checkFinalizedStatuses = function(r) {
941
938
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
942
939
  i ? r.error(o) : s && r.complete();
943
940
  }, t.prototype.asObservable = function() {
944
- var r = new ut();
941
+ var r = new at();
945
942
  return r.source = this, r;
946
943
  }, t.create = function(r, n) {
947
- return new lt(r, n);
944
+ return new ht(r, n);
948
945
  }, t;
949
- }(ut), lt = function(e) {
946
+ }(at), ht = function(e) {
950
947
  O(t, e);
951
948
  function t(r, n) {
952
949
  var i = e.call(this) || this;
@@ -963,17 +960,17 @@ var qr = Nt(function(e) {
963
960
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
964
961
  }, t.prototype._subscribe = function(r) {
965
962
  var n, i;
966
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
963
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
967
964
  }, t;
968
- }(Ut), Ft = {
965
+ }(Dt), Ut = {
969
966
  now: function() {
970
- return (Ft.delegate || Date).now();
967
+ return (Ut.delegate || Date).now();
971
968
  },
972
969
  delegate: void 0
973
- }, Kr = function(e) {
970
+ }, qr = function(e) {
974
971
  O(t, e);
975
972
  function t(r, n, i) {
976
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
973
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
977
974
  var o = e.call(this) || this;
978
975
  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;
979
976
  }
@@ -993,24 +990,24 @@ var qr = Nt(function(e) {
993
990
  h && o.splice(0, h + 1);
994
991
  }
995
992
  }, t;
996
- }(Ut);
997
- const ct = [], ft = {}, en = (e, t = 0) => {
998
- if (ct.indexOf(e) == -1) {
999
- const r = new Kr(t);
1000
- ft[e] = r, ct.push(e);
993
+ }(Dt);
994
+ const lt = [], ct = {}, Kr = (e, t = 0) => {
995
+ if (lt.indexOf(e) == -1) {
996
+ const r = new qr(t);
997
+ ct[e] = r, lt.push(e);
1001
998
  }
1002
- return ft[e];
999
+ return ct[e];
1003
1000
  }, F = [];
1004
- function tn(e, t) {
1001
+ function en(e, t) {
1005
1002
  return {
1006
- subscribe: ve(e, t).subscribe
1003
+ subscribe: ye(e, t).subscribe
1007
1004
  };
1008
1005
  }
1009
- function ve(e, t = H) {
1006
+ function ye(e, t = H) {
1010
1007
  let r;
1011
1008
  const n = /* @__PURE__ */ new Set();
1012
1009
  function i(a) {
1013
- if (At(e, a) && (e = a, r)) {
1010
+ if (Bt(e, a) && (e = a, r)) {
1014
1011
  const l = !F.length;
1015
1012
  for (const h of n)
1016
1013
  h[1](), F.push(h, e);
@@ -1037,7 +1034,7 @@ function Z(e, t, r) {
1037
1034
  if (!i.every(Boolean))
1038
1035
  throw new Error("derived() expects stores as input, got a falsy value");
1039
1036
  const o = t.length < 2;
1040
- return tn(r, (s, a) => {
1037
+ return en(r, (s, a) => {
1041
1038
  let l = !1;
1042
1039
  const h = [];
1043
1040
  let u = 0, c = H;
@@ -1045,86 +1042,86 @@ function Z(e, t, r) {
1045
1042
  if (u)
1046
1043
  return;
1047
1044
  c();
1048
- const y = t(n ? h[0] : h, s, a);
1049
- o ? s(y) : c = Xe(y) ? y : H;
1050
- }, m = i.map(
1051
- (y, v) => Ot(
1052
- y,
1045
+ const v = t(n ? h[0] : h, s, a);
1046
+ o ? s(v) : c = Xe(v) ? v : H;
1047
+ }, d = i.map(
1048
+ (v, y) => At(
1049
+ v,
1053
1050
  (T) => {
1054
- h[v] = T, u &= ~(1 << v), l && f();
1051
+ h[y] = T, u &= ~(1 << y), l && f();
1055
1052
  },
1056
1053
  () => {
1057
- u |= 1 << v;
1054
+ u |= 1 << y;
1058
1055
  }
1059
1056
  )
1060
1057
  );
1061
1058
  return l = !0, f(), function() {
1062
- ne(m), c(), l = !1;
1059
+ ne(d), c(), l = !1;
1063
1060
  };
1064
1061
  });
1065
1062
  }
1066
- function rn(e) {
1063
+ function tn(e) {
1067
1064
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1068
1065
  }
1069
- var nn = function(t) {
1070
- return on(t) && !sn(t);
1066
+ var rn = function(t) {
1067
+ return nn(t) && !on(t);
1071
1068
  };
1072
- function on(e) {
1069
+ function nn(e) {
1073
1070
  return !!e && typeof e == "object";
1074
1071
  }
1075
- function sn(e) {
1072
+ function on(e) {
1076
1073
  var t = Object.prototype.toString.call(e);
1077
- return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1074
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1078
1075
  }
1079
- var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1080
- function hn(e) {
1081
- return e.$$typeof === un;
1076
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1077
+ function un(e) {
1078
+ return e.$$typeof === an;
1082
1079
  }
1083
- function ln(e) {
1080
+ function hn(e) {
1084
1081
  return Array.isArray(e) ? [] : {};
1085
1082
  }
1086
1083
  function te(e, t) {
1087
- return t.clone !== !1 && t.isMergeableObject(e) ? V(ln(e), e, t) : e;
1084
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(hn(e), e, t) : e;
1088
1085
  }
1089
- function cn(e, t, r) {
1086
+ function ln(e, t, r) {
1090
1087
  return e.concat(t).map(function(n) {
1091
1088
  return te(n, r);
1092
1089
  });
1093
1090
  }
1094
- function fn(e, t) {
1091
+ function cn(e, t) {
1095
1092
  if (!t.customMerge)
1096
1093
  return V;
1097
1094
  var r = t.customMerge(e);
1098
1095
  return typeof r == "function" ? r : V;
1099
1096
  }
1100
- function pn(e) {
1097
+ function fn(e) {
1101
1098
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1102
1099
  return Object.propertyIsEnumerable.call(e, t);
1103
1100
  }) : [];
1104
1101
  }
1105
- function pt(e) {
1106
- return Object.keys(e).concat(pn(e));
1102
+ function ft(e) {
1103
+ return Object.keys(e).concat(fn(e));
1107
1104
  }
1108
- function Gt(e, t) {
1105
+ function Ft(e, t) {
1109
1106
  try {
1110
1107
  return t in e;
1111
1108
  } catch (r) {
1112
1109
  return !1;
1113
1110
  }
1114
1111
  }
1115
- function dn(e, t) {
1116
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
+ function pn(e, t) {
1113
+ return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
1114
  }
1118
1115
  function mn(e, t, r) {
1119
1116
  var n = {};
1120
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1117
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1121
1118
  n[i] = te(e[i], r);
1122
- }), pt(t).forEach(function(i) {
1123
- dn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1119
+ }), ft(t).forEach(function(i) {
1120
+ pn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1124
1121
  }), n;
1125
1122
  }
1126
1123
  function V(e, t, r) {
1127
- r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = te;
1124
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = te;
1128
1125
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1129
1126
  return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : te(t, r);
1130
1127
  }
@@ -1135,55 +1132,55 @@ V.all = function(t, r) {
1135
1132
  return V(n, i, r);
1136
1133
  }, {});
1137
1134
  };
1138
- var bn = V, gn = bn;
1139
- const vn = /* @__PURE__ */ rn(gn);
1135
+ var dn = V, bn = dn;
1136
+ const gn = /* @__PURE__ */ tn(bn);
1140
1137
  var p;
1141
1138
  (function(e) {
1142
1139
  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";
1143
1140
  })(p || (p = {}));
1144
- var x;
1141
+ var E;
1145
1142
  (function(e) {
1146
1143
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1147
- })(x || (x = {}));
1144
+ })(E || (E = {}));
1148
1145
  var z;
1149
1146
  (function(e) {
1150
1147
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1151
1148
  })(z || (z = {}));
1152
- function dt(e) {
1153
- return e.type === x.literal;
1149
+ function pt(e) {
1150
+ return e.type === E.literal;
1154
1151
  }
1155
1152
  function yn(e) {
1156
- return e.type === x.argument;
1153
+ return e.type === E.argument;
1154
+ }
1155
+ function Gt(e) {
1156
+ return e.type === E.number;
1157
1157
  }
1158
1158
  function jt(e) {
1159
- return e.type === x.number;
1159
+ return e.type === E.date;
1160
1160
  }
1161
1161
  function kt(e) {
1162
- return e.type === x.date;
1162
+ return e.type === E.time;
1163
1163
  }
1164
1164
  function Vt(e) {
1165
- return e.type === x.time;
1165
+ return e.type === E.select;
1166
1166
  }
1167
1167
  function zt(e) {
1168
- return e.type === x.select;
1168
+ return e.type === E.plural;
1169
1169
  }
1170
- function Xt(e) {
1171
- return e.type === x.plural;
1170
+ function vn(e) {
1171
+ return e.type === E.pound;
1172
1172
  }
1173
- function xn(e) {
1174
- return e.type === x.pound;
1173
+ function Xt(e) {
1174
+ return e.type === E.tag;
1175
1175
  }
1176
1176
  function Wt(e) {
1177
- return e.type === x.tag;
1178
- }
1179
- function Zt(e) {
1180
1177
  return !!(e && typeof e == "object" && e.type === z.number);
1181
1178
  }
1182
1179
  function De(e) {
1183
1180
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1184
1181
  }
1185
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1186
- function _n(e) {
1182
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1183
+ function xn(e) {
1187
1184
  var t = {};
1188
1185
  return e.replace(En, function(r) {
1189
1186
  var n = r.length;
@@ -1274,11 +1271,11 @@ function _n(e) {
1274
1271
  return "";
1275
1272
  }), t;
1276
1273
  }
1277
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1278
- function Tn(e) {
1274
+ var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1275
+ function Sn(e) {
1279
1276
  if (e.length === 0)
1280
1277
  throw new Error("Number skeleton cannot be empty");
1281
- for (var t = e.split(Sn).filter(function(f) {
1278
+ for (var t = e.split(_n).filter(function(f) {
1282
1279
  return f.length > 0;
1283
1280
  }), r = [], n = 0, i = t; n < i.length; n++) {
1284
1281
  var o = i[n], s = o.split("/");
@@ -1293,17 +1290,17 @@ function Tn(e) {
1293
1290
  }
1294
1291
  return r;
1295
1292
  }
1296
- function Hn(e) {
1293
+ function Tn(e) {
1297
1294
  return e.replace(/^(.*?)-/, "");
1298
1295
  }
1299
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1300
- function bt(e) {
1296
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1297
+ function dt(e) {
1301
1298
  var t = {};
1302
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1299
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1303
1300
  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)), "";
1304
1301
  }), t;
1305
1302
  }
1306
- function qt(e) {
1303
+ function Yt(e) {
1307
1304
  switch (e) {
1308
1305
  case "sign-auto":
1309
1306
  return {
@@ -1343,7 +1340,7 @@ function qt(e) {
1343
1340
  };
1344
1341
  }
1345
1342
  }
1346
- function Pn(e) {
1343
+ function wn(e) {
1347
1344
  var t;
1348
1345
  if (e[0] === "E" && e[1] === "E" ? (t = {
1349
1346
  notation: "engineering"
@@ -1351,17 +1348,17 @@ function Pn(e) {
1351
1348
  notation: "scientific"
1352
1349
  }, e = e.slice(1)), t) {
1353
1350
  var r = e.slice(0, 2);
1354
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1351
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1355
1352
  throw new Error("Malformed concise eng/scientific notation");
1356
1353
  t.minimumIntegerDigits = e.length;
1357
1354
  }
1358
1355
  return t;
1359
1356
  }
1360
- function gt(e) {
1361
- var t = {}, r = qt(e);
1357
+ function bt(e) {
1358
+ var t = {}, r = Yt(e);
1362
1359
  return r || t;
1363
1360
  }
1364
- function Bn(e) {
1361
+ function Pn(e) {
1365
1362
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1366
1363
  var i = n[r];
1367
1364
  switch (i.stem) {
@@ -1385,7 +1382,7 @@ function Bn(e) {
1385
1382
  continue;
1386
1383
  case "measure-unit":
1387
1384
  case "unit":
1388
- t.style = "unit", t.unit = Hn(i.options[0]);
1385
+ t.style = "unit", t.unit = Tn(i.options[0]);
1389
1386
  continue;
1390
1387
  case "compact-short":
1391
1388
  case "K":
@@ -1397,12 +1394,12 @@ function Bn(e) {
1397
1394
  continue;
1398
1395
  case "scientific":
1399
1396
  t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1400
- return b(b({}, l), gt(h));
1397
+ return b(b({}, l), bt(h));
1401
1398
  }, {}));
1402
1399
  continue;
1403
1400
  case "engineering":
1404
1401
  t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1405
- return b(b({}, l), gt(h));
1402
+ return b(b({}, l), bt(h));
1406
1403
  }, {}));
1407
1404
  continue;
1408
1405
  case "notation-simple":
@@ -1447,40 +1444,40 @@ function Bn(e) {
1447
1444
  case "integer-width":
1448
1445
  if (i.options.length > 1)
1449
1446
  throw new RangeError("integer-width stems only accept a single optional option");
1450
- i.options[0].replace(wn, function(l, h, u, c, f, m) {
1447
+ i.options[0].replace(Hn, function(l, h, u, c, f, d) {
1451
1448
  if (h)
1452
1449
  t.minimumIntegerDigits = u.length;
1453
1450
  else {
1454
1451
  if (c && f)
1455
1452
  throw new Error("We currently do not support maximum integer digits");
1456
- if (m)
1453
+ if (d)
1457
1454
  throw new Error("We currently do not support exact integer digits");
1458
1455
  }
1459
1456
  return "";
1460
1457
  });
1461
1458
  continue;
1462
1459
  }
1463
- if (Yt.test(i.stem)) {
1460
+ if (Jt.test(i.stem)) {
1464
1461
  t.minimumIntegerDigits = i.stem.length;
1465
1462
  continue;
1466
1463
  }
1467
1464
  if (mt.test(i.stem)) {
1468
1465
  if (i.options.length > 1)
1469
1466
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1470
- i.stem.replace(mt, function(l, h, u, c, f, m) {
1471
- return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1467
+ i.stem.replace(mt, function(l, h, u, c, f, d) {
1468
+ return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1472
1469
  });
1473
1470
  var o = i.options[0];
1474
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), bt(o)));
1471
+ o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), dt(o)));
1475
1472
  continue;
1476
1473
  }
1477
- if (Jt.test(i.stem)) {
1478
- t = b(b({}, t), bt(i.stem));
1474
+ if (Qt.test(i.stem)) {
1475
+ t = b(b({}, t), dt(i.stem));
1479
1476
  continue;
1480
1477
  }
1481
- var s = qt(i.stem);
1478
+ var s = Yt(i.stem);
1482
1479
  s && (t = b(b({}, t), s));
1483
- var a = Pn(i.stem);
1480
+ var a = wn(i.stem);
1484
1481
  a && (t = b(b({}, t), a));
1485
1482
  }
1486
1483
  return t;
@@ -2894,13 +2891,13 @@ var ae = {
2894
2891
  "h"
2895
2892
  ]
2896
2893
  };
2897
- function An(e, t) {
2894
+ function Bn(e, t) {
2898
2895
  for (var r = "", n = 0; n < e.length; n++) {
2899
2896
  var i = e.charAt(n);
2900
2897
  if (i === "j") {
2901
2898
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2902
2899
  o++, n++;
2903
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = On(t);
2900
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = An(t);
2904
2901
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2905
2902
  r += l;
2906
2903
  for (; s-- > 0; )
@@ -2909,7 +2906,7 @@ function An(e, t) {
2909
2906
  }
2910
2907
  return r;
2911
2908
  }
2912
- function On(e) {
2909
+ function An(e) {
2913
2910
  var t = e.hourCycle;
2914
2911
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2915
2912
  e.hourCycles && // @ts-ignore
@@ -2931,20 +2928,20 @@ function On(e) {
2931
2928
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2932
2929
  return i[0];
2933
2930
  }
2934
- var we, In = new RegExp("^".concat(Qt.source, "*")), Cn = new RegExp("".concat(Qt.source, "*$"));
2935
- function d(e, t) {
2931
+ var we, On = new RegExp("^".concat(Zt.source, "*")), In = new RegExp("".concat(Zt.source, "*$"));
2932
+ function m(e, t) {
2936
2933
  return { start: e, end: t };
2937
2934
  }
2938
- var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Fn = Un ? Number.isSafeInteger : function(e) {
2935
+ var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Un = Dn ? Number.isSafeInteger : function(e) {
2939
2936
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2940
2937
  }, Ue = !0;
2941
2938
  try {
2942
- var Gn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2943
- Ue = ((we = Gn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2939
+ var Fn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2940
+ Ue = ((we = Fn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2944
2941
  } catch (e) {
2945
2942
  Ue = !1;
2946
2943
  }
2947
- var vt = Nn ? (
2944
+ var gt = Cn ? (
2948
2945
  // Native
2949
2946
  function(t, r, n) {
2950
2947
  return t.startsWith(r, n);
@@ -2954,7 +2951,7 @@ var vt = Nn ? (
2954
2951
  function(t, r, n) {
2955
2952
  return t.slice(n, n + r.length) === r;
2956
2953
  }
2957
- ), Fe = Ln ? String.fromCodePoint : (
2954
+ ), Fe = Nn ? String.fromCodePoint : (
2958
2955
  // IE11
2959
2956
  function() {
2960
2957
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2968,7 +2965,7 @@ var vt = Nn ? (
2968
2965
  }
2969
2966
  ), yt = (
2970
2967
  // native
2971
- Mn ? Object.fromEntries : (
2968
+ Ln ? Object.fromEntries : (
2972
2969
  // Ponyfill
2973
2970
  function(t) {
2974
2971
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2978,7 +2975,7 @@ var vt = Nn ? (
2978
2975
  return r;
2979
2976
  }
2980
2977
  )
2981
- ), Kt = $n ? (
2978
+ ), qt = Mn ? (
2982
2979
  // Native
2983
2980
  function(t, r) {
2984
2981
  return t.codePointAt(r);
@@ -2992,7 +2989,7 @@ var vt = Nn ? (
2992
2989
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2993
2990
  }
2994
2991
  }
2995
- ), jn = Rn ? (
2992
+ ), Gn = $n ? (
2996
2993
  // Native
2997
2994
  function(t) {
2998
2995
  return t.trimStart();
@@ -3000,9 +2997,9 @@ var vt = Nn ? (
3000
2997
  ) : (
3001
2998
  // Ponyfill
3002
2999
  function(t) {
3003
- return t.replace(In, "");
3000
+ return t.replace(On, "");
3004
3001
  }
3005
- ), kn = Dn ? (
3002
+ ), jn = Rn ? (
3006
3003
  // Native
3007
3004
  function(t) {
3008
3005
  return t.trimEnd();
@@ -3010,32 +3007,32 @@ var vt = Nn ? (
3010
3007
  ) : (
3011
3008
  // Ponyfill
3012
3009
  function(t) {
3013
- return t.replace(Cn, "");
3010
+ return t.replace(In, "");
3014
3011
  }
3015
3012
  );
3016
- function er(e, t) {
3013
+ function Kt(e, t) {
3017
3014
  return new RegExp(e, t);
3018
3015
  }
3019
3016
  var Ge;
3020
3017
  if (Ue) {
3021
- var xt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3018
+ var vt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
3019
  Ge = function(t, r) {
3023
3020
  var n;
3024
- xt.lastIndex = r;
3025
- var i = xt.exec(t);
3021
+ vt.lastIndex = r;
3022
+ var i = vt.exec(t);
3026
3023
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3027
3024
  };
3028
3025
  } else
3029
3026
  Ge = function(t, r) {
3030
3027
  for (var n = []; ; ) {
3031
- var i = Kt(t, r);
3032
- if (i === void 0 || tr(i) || Wn(i))
3028
+ var i = qt(t, r);
3029
+ if (i === void 0 || er(i) || Xn(i))
3033
3030
  break;
3034
3031
  n.push(i), r += i >= 65536 ? 2 : 1;
3035
3032
  }
3036
3033
  return Fe.apply(void 0, n);
3037
3034
  };
3038
- var Vn = (
3035
+ var kn = (
3039
3036
  /** @class */
3040
3037
  function() {
3041
3038
  function e(t, r) {
@@ -3059,13 +3056,13 @@ var Vn = (
3059
3056
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3060
3057
  var a = this.clonePosition();
3061
3058
  this.bump(), i.push({
3062
- type: x.pound,
3063
- location: d(a, this.clonePosition())
3059
+ type: E.pound,
3060
+ location: m(a, this.clonePosition())
3064
3061
  });
3065
3062
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3066
3063
  if (n)
3067
3064
  break;
3068
- return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3065
+ return this.error(p.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3069
3066
  } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3070
3067
  var s = this.parseTag(t, r);
3071
3068
  if (s.err)
@@ -3087,9 +3084,9 @@ var Vn = (
3087
3084
  if (this.bumpSpace(), this.bumpIf("/>"))
3088
3085
  return {
3089
3086
  val: {
3090
- type: x.literal,
3087
+ type: E.literal,
3091
3088
  value: "<".concat(i, "/>"),
3092
- location: d(n, this.clonePosition())
3089
+ location: m(n, this.clonePosition())
3093
3090
  },
3094
3091
  err: null
3095
3092
  };
@@ -3100,24 +3097,24 @@ var Vn = (
3100
3097
  var s = o.val, a = this.clonePosition();
3101
3098
  if (this.bumpIf("</")) {
3102
3099
  if (this.isEOF() || !je(this.char()))
3103
- return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3100
+ return this.error(p.INVALID_TAG, m(a, this.clonePosition()));
3104
3101
  var l = this.clonePosition(), h = this.parseTagName();
3105
- return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3102
+ return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, m(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3106
3103
  val: {
3107
- type: x.tag,
3104
+ type: E.tag,
3108
3105
  value: i,
3109
3106
  children: s,
3110
- location: d(n, this.clonePosition())
3107
+ location: m(n, this.clonePosition())
3111
3108
  },
3112
3109
  err: null
3113
- } : this.error(p.INVALID_TAG, d(a, this.clonePosition())));
3110
+ } : this.error(p.INVALID_TAG, m(a, this.clonePosition())));
3114
3111
  } else
3115
- return this.error(p.UNCLOSED_TAG, d(n, this.clonePosition()));
3112
+ return this.error(p.UNCLOSED_TAG, m(n, this.clonePosition()));
3116
3113
  } else
3117
- return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3114
+ return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
3118
3115
  }, e.prototype.parseTagName = function() {
3119
3116
  var t = this.offset();
3120
- for (this.bump(); !this.isEOF() && Xn(this.char()); )
3117
+ for (this.bump(); !this.isEOF() && zn(this.char()); )
3121
3118
  this.bump();
3122
3119
  return this.message.slice(t, this.offset());
3123
3120
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3139,14 +3136,14 @@ var Vn = (
3139
3136
  }
3140
3137
  break;
3141
3138
  }
3142
- var l = d(n, this.clonePosition());
3139
+ var l = m(n, this.clonePosition());
3143
3140
  return {
3144
- val: { type: x.literal, value: i, location: l },
3141
+ val: { type: E.literal, value: i, location: l },
3145
3142
  err: null
3146
3143
  };
3147
3144
  }, e.prototype.tryParseLeftAngleBracket = function() {
3148
3145
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3149
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3146
+ !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3150
3147
  }, e.prototype.tryParseQuote = function(t) {
3151
3148
  if (this.isEOF() || this.char() !== 39)
3152
3149
  return null;
@@ -3189,40 +3186,40 @@ var Vn = (
3189
3186
  }, e.prototype.parseArgument = function(t, r) {
3190
3187
  var n = this.clonePosition();
3191
3188
  if (this.bump(), this.bumpSpace(), this.isEOF())
3192
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3189
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3193
3190
  if (this.char() === 125)
3194
- return this.bump(), this.error(p.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3191
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, m(n, this.clonePosition()));
3195
3192
  var i = this.parseIdentifierIfPossible().value;
3196
3193
  if (!i)
3197
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3194
+ return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3198
3195
  if (this.bumpSpace(), this.isEOF())
3199
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3196
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3200
3197
  switch (this.char()) {
3201
3198
  case 125:
3202
3199
  return this.bump(), {
3203
3200
  val: {
3204
- type: x.argument,
3201
+ type: E.argument,
3205
3202
  // value does not include the opening and closing braces.
3206
3203
  value: i,
3207
- location: d(n, this.clonePosition())
3204
+ location: m(n, this.clonePosition())
3208
3205
  },
3209
3206
  err: null
3210
3207
  };
3211
3208
  case 44:
3212
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3209
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3213
3210
  default:
3214
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3211
+ return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3215
3212
  }
3216
3213
  }, e.prototype.parseIdentifierIfPossible = function() {
3217
3214
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3218
3215
  this.bumpTo(i);
3219
- var o = this.clonePosition(), s = d(t, o);
3216
+ var o = this.clonePosition(), s = m(t, o);
3220
3217
  return { value: n, location: s };
3221
3218
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3222
3219
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3223
3220
  switch (a) {
3224
3221
  case "":
3225
- return this.error(p.EXPECT_ARGUMENT_TYPE, d(s, l));
3222
+ return this.error(p.EXPECT_ARGUMENT_TYPE, m(s, l));
3226
3223
  case "number":
3227
3224
  case "date":
3228
3225
  case "time": {
@@ -3233,46 +3230,46 @@ var Vn = (
3233
3230
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3234
3231
  if (c.err)
3235
3232
  return c;
3236
- var f = kn(c.val);
3233
+ var f = jn(c.val);
3237
3234
  if (f.length === 0)
3238
- return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3239
- var m = d(u, this.clonePosition());
3240
- h = { style: f, styleLocation: m };
3235
+ return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3236
+ var d = m(u, this.clonePosition());
3237
+ h = { style: f, styleLocation: d };
3241
3238
  }
3242
- var y = this.tryParseArgumentClose(i);
3243
- if (y.err)
3244
- return y;
3245
- var v = d(i, this.clonePosition());
3246
- if (h && vt(h == null ? void 0 : h.style, "::", 0)) {
3247
- var T = jn(h.style.slice(2));
3239
+ var v = this.tryParseArgumentClose(i);
3240
+ if (v.err)
3241
+ return v;
3242
+ var y = m(i, this.clonePosition());
3243
+ if (h && gt(h == null ? void 0 : h.style, "::", 0)) {
3244
+ var T = Gn(h.style.slice(2));
3248
3245
  if (a === "number") {
3249
3246
  var c = this.parseNumberSkeletonFromString(T, h.styleLocation);
3250
3247
  return c.err ? c : {
3251
- val: { type: x.number, value: n, location: v, style: c.val },
3248
+ val: { type: E.number, value: n, location: y, style: c.val },
3252
3249
  err: null
3253
3250
  };
3254
3251
  } else {
3255
3252
  if (T.length === 0)
3256
- return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3253
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3257
3254
  var L = T;
3258
- this.locale && (L = An(T, this.locale));
3255
+ this.locale && (L = Bn(T, this.locale));
3259
3256
  var f = {
3260
3257
  type: z.dateTime,
3261
3258
  pattern: L,
3262
3259
  location: h.styleLocation,
3263
- parsedOptions: this.shouldParseSkeletons ? _n(L) : {}
3264
- }, I = a === "date" ? x.date : x.time;
3260
+ parsedOptions: this.shouldParseSkeletons ? xn(L) : {}
3261
+ }, I = a === "date" ? E.date : E.time;
3265
3262
  return {
3266
- val: { type: I, value: n, location: v, style: f },
3263
+ val: { type: I, value: n, location: y, style: f },
3267
3264
  err: null
3268
3265
  };
3269
3266
  }
3270
3267
  }
3271
3268
  return {
3272
3269
  val: {
3273
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3270
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3274
3271
  value: n,
3275
- location: v,
3272
+ location: y,
3276
3273
  style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3277
3274
  },
3278
3275
  err: null
@@ -3281,14 +3278,14 @@ var Vn = (
3281
3278
  case "plural":
3282
3279
  case "selectordinal":
3283
3280
  case "select": {
3284
- var E = this.clonePosition();
3281
+ var x = this.clonePosition();
3285
3282
  if (this.bumpSpace(), !this.bumpIf(","))
3286
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(E, b({}, E)));
3283
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(x, b({}, x)));
3287
3284
  this.bumpSpace();
3288
3285
  var w = this.parseIdentifierIfPossible(), P = 0;
3289
3286
  if (a !== "select" && w.value === "offset") {
3290
3287
  if (!this.bumpIf(":"))
3291
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3288
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3292
3289
  this.bumpSpace();
3293
3290
  var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3294
3291
  if (c.err)
@@ -3298,13 +3295,13 @@ var Vn = (
3298
3295
  var R = this.tryParsePluralOrSelectOptions(t, a, r, w);
3299
3296
  if (R.err)
3300
3297
  return R;
3301
- var y = this.tryParseArgumentClose(i);
3302
- if (y.err)
3303
- return y;
3304
- var oe = d(i, this.clonePosition());
3298
+ var v = this.tryParseArgumentClose(i);
3299
+ if (v.err)
3300
+ return v;
3301
+ var oe = m(i, this.clonePosition());
3305
3302
  return a === "select" ? {
3306
3303
  val: {
3307
- type: x.select,
3304
+ type: E.select,
3308
3305
  value: n,
3309
3306
  options: yt(R.val),
3310
3307
  location: oe
@@ -3312,7 +3309,7 @@ var Vn = (
3312
3309
  err: null
3313
3310
  } : {
3314
3311
  val: {
3315
- type: x.plural,
3312
+ type: E.plural,
3316
3313
  value: n,
3317
3314
  options: yt(R.val),
3318
3315
  offset: P,
@@ -3323,10 +3320,10 @@ var Vn = (
3323
3320
  };
3324
3321
  }
3325
3322
  default:
3326
- return this.error(p.INVALID_ARGUMENT_TYPE, d(s, l));
3323
+ return this.error(p.INVALID_ARGUMENT_TYPE, m(s, l));
3327
3324
  }
3328
3325
  }, e.prototype.tryParseArgumentClose = function(t) {
3329
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3326
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3330
3327
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3331
3328
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3332
3329
  var n = this.char();
@@ -3335,7 +3332,7 @@ var Vn = (
3335
3332
  this.bump();
3336
3333
  var i = this.clonePosition();
3337
3334
  if (!this.bumpUntil("'"))
3338
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3335
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
3339
3336
  this.bump();
3340
3337
  break;
3341
3338
  }
@@ -3365,7 +3362,7 @@ var Vn = (
3365
3362
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3366
3363
  var n = [];
3367
3364
  try {
3368
- n = Tn(t);
3365
+ n = Sn(t);
3369
3366
  } catch (i) {
3370
3367
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3371
3368
  }
@@ -3374,7 +3371,7 @@ var Vn = (
3374
3371
  type: z.number,
3375
3372
  tokens: n,
3376
3373
  location: r,
3377
- parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3374
+ parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3378
3375
  },
3379
3376
  err: null
3380
3377
  };
@@ -3386,31 +3383,31 @@ var Vn = (
3386
3383
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3387
3384
  if (f.err)
3388
3385
  return f;
3389
- u = d(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3386
+ u = m(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3390
3387
  } else
3391
3388
  break;
3392
3389
  }
3393
3390
  if (l.has(h))
3394
3391
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3395
3392
  h === "other" && (s = !0), this.bumpSpace();
3396
- var m = this.clonePosition();
3393
+ var d = this.clonePosition();
3397
3394
  if (!this.bumpIf("{"))
3398
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3399
- var y = this.parseMessage(t + 1, r, n);
3400
- if (y.err)
3401
- return y;
3402
- var v = this.tryParseArgumentClose(m);
3395
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3396
+ var v = this.parseMessage(t + 1, r, n);
3403
3397
  if (v.err)
3404
3398
  return v;
3399
+ var y = this.tryParseArgumentClose(d);
3400
+ if (y.err)
3401
+ return y;
3405
3402
  a.push([
3406
3403
  h,
3407
3404
  {
3408
- value: y.val,
3409
- location: d(m, this.clonePosition())
3405
+ value: v.val,
3406
+ location: m(d, this.clonePosition())
3410
3407
  }
3411
3408
  ]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, u = o.location;
3412
3409
  }
3413
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3410
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3414
3411
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3415
3412
  var n = 1, i = this.clonePosition();
3416
3413
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3421,8 +3418,8 @@ var Vn = (
3421
3418
  else
3422
3419
  break;
3423
3420
  }
3424
- var l = d(i, this.clonePosition());
3425
- return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3421
+ var l = m(i, this.clonePosition());
3422
+ return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3426
3423
  }, e.prototype.offset = function() {
3427
3424
  return this.position.offset;
3428
3425
  }, e.prototype.isEOF = function() {
@@ -3437,7 +3434,7 @@ var Vn = (
3437
3434
  var t = this.position.offset;
3438
3435
  if (t >= this.message.length)
3439
3436
  throw Error("out of bound");
3440
- var r = Kt(this.message, t);
3437
+ var r = qt(this.message, t);
3441
3438
  if (r === void 0)
3442
3439
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3443
3440
  return r;
@@ -3456,7 +3453,7 @@ var Vn = (
3456
3453
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3457
3454
  }
3458
3455
  }, e.prototype.bumpIf = function(t) {
3459
- if (vt(this.message, t, this.offset())) {
3456
+ if (gt(this.message, t, this.offset())) {
3460
3457
  for (var r = 0; r < t.length; r++)
3461
3458
  this.bump();
3462
3459
  return !0;
@@ -3478,7 +3475,7 @@ var Vn = (
3478
3475
  break;
3479
3476
  }
3480
3477
  }, e.prototype.bumpSpace = function() {
3481
- for (; !this.isEOF() && tr(this.char()); )
3478
+ for (; !this.isEOF() && er(this.char()); )
3482
3479
  this.bump();
3483
3480
  }, e.prototype.peek = function() {
3484
3481
  if (this.isEOF())
@@ -3491,29 +3488,29 @@ var Vn = (
3491
3488
  function je(e) {
3492
3489
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3493
3490
  }
3494
- function zn(e) {
3491
+ function Vn(e) {
3495
3492
  return je(e) || e === 47;
3496
3493
  }
3497
- function Xn(e) {
3494
+ function zn(e) {
3498
3495
  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;
3499
3496
  }
3500
- function tr(e) {
3497
+ function er(e) {
3501
3498
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3502
3499
  }
3503
- function Wn(e) {
3500
+ function Xn(e) {
3504
3501
  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;
3505
3502
  }
3506
3503
  function ke(e) {
3507
3504
  e.forEach(function(t) {
3508
- if (delete t.location, zt(t) || Xt(t))
3505
+ if (delete t.location, Vt(t) || zt(t))
3509
3506
  for (var r in t.options)
3510
3507
  delete t.options[r].location, ke(t.options[r].value);
3511
- else jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : Wt(t) && ke(t.children);
3508
+ else Gt(t) && Wt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : Xt(t) && ke(t.children);
3512
3509
  });
3513
3510
  }
3514
- function Zn(e, t) {
3511
+ function Wn(e, t) {
3515
3512
  t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3516
- var r = new Vn(e, t).parse();
3513
+ var r = new kn(e, t).parse();
3517
3514
  if (r.err) {
3518
3515
  var n = SyntaxError(p[r.err.kind]);
3519
3516
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3521,37 +3518,37 @@ function Zn(e, t) {
3521
3518
  return t != null && t.captureLocation || ke(r.val), r.val;
3522
3519
  }
3523
3520
  function Pe(e, t) {
3524
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Jn;
3521
+ var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Qn;
3525
3522
  return i(e, {
3526
3523
  cache: r,
3527
3524
  serializer: n
3528
3525
  });
3529
3526
  }
3530
- function Qn(e) {
3527
+ function Zn(e) {
3531
3528
  return e == null || typeof e == "number" || typeof e == "boolean";
3532
3529
  }
3533
- function rr(e, t, r, n) {
3534
- var i = Qn(n) ? n : r(n), o = t.get(i);
3530
+ function tr(e, t, r, n) {
3531
+ var i = Zn(n) ? n : r(n), o = t.get(i);
3535
3532
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3536
3533
  }
3537
- function nr(e, t, r) {
3534
+ function rr(e, t, r) {
3538
3535
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3539
3536
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3540
3537
  }
3541
3538
  function Ze(e, t, r, n, i) {
3542
3539
  return r.bind(t, e, n, i);
3543
3540
  }
3544
- function Jn(e, t) {
3545
- var r = e.length === 1 ? rr : nr;
3541
+ function Qn(e, t) {
3542
+ var r = e.length === 1 ? tr : rr;
3546
3543
  return Ze(e, this, r, t.cache.create(), t.serializer);
3547
3544
  }
3548
- function Yn(e, t) {
3549
- return Ze(e, this, nr, t.cache.create(), t.serializer);
3550
- }
3551
- function qn(e, t) {
3545
+ function Jn(e, t) {
3552
3546
  return Ze(e, this, rr, t.cache.create(), t.serializer);
3553
3547
  }
3554
- var Kn = function() {
3548
+ function Yn(e, t) {
3549
+ return Ze(e, this, tr, t.cache.create(), t.serializer);
3550
+ }
3551
+ var qn = function() {
3555
3552
  return JSON.stringify(arguments);
3556
3553
  };
3557
3554
  function Qe() {
@@ -3563,18 +3560,18 @@ Qe.prototype.get = function(e) {
3563
3560
  Qe.prototype.set = function(e, t) {
3564
3561
  this.cache[e] = t;
3565
3562
  };
3566
- var ei = {
3563
+ var Kn = {
3567
3564
  create: function() {
3568
3565
  return new Qe();
3569
3566
  }
3570
3567
  }, Be = {
3571
- variadic: Yn,
3572
- monadic: qn
3568
+ variadic: Jn,
3569
+ monadic: Yn
3573
3570
  }, X;
3574
3571
  (function(e) {
3575
3572
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3576
3573
  })(X || (X = {}));
3577
- var ye = (
3574
+ var ve = (
3578
3575
  /** @class */
3579
3576
  function(e) {
3580
3577
  O(t, e);
@@ -3594,8 +3591,8 @@ var ye = (
3594
3591
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3595
3592
  }
3596
3593
  return t;
3597
- }(ye)
3598
- ), ti = (
3594
+ }(ve)
3595
+ ), ei = (
3599
3596
  /** @class */
3600
3597
  function(e) {
3601
3598
  O(t, e);
@@ -3603,8 +3600,8 @@ var ye = (
3603
3600
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3604
3601
  }
3605
3602
  return t;
3606
- }(ye)
3607
- ), ri = (
3603
+ }(ve)
3604
+ ), ti = (
3608
3605
  /** @class */
3609
3606
  function(e) {
3610
3607
  O(t, e);
@@ -3612,22 +3609,22 @@ var ye = (
3612
3609
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3613
3610
  }
3614
3611
  return t;
3615
- }(ye)
3612
+ }(ve)
3616
3613
  ), _;
3617
3614
  (function(e) {
3618
3615
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3619
3616
  })(_ || (_ = {}));
3620
- function ni(e) {
3617
+ function ri(e) {
3621
3618
  return e.length < 2 ? e : e.reduce(function(t, r) {
3622
3619
  var n = t[t.length - 1];
3623
3620
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3624
3621
  }, []);
3625
3622
  }
3626
- function ii(e) {
3623
+ function ni(e) {
3627
3624
  return typeof e == "function";
3628
3625
  }
3629
3626
  function fe(e, t, r, n, i, o, s) {
3630
- if (e.length === 1 && dt(e[0]))
3627
+ if (e.length === 1 && pt(e[0]))
3631
3628
  return [
3632
3629
  {
3633
3630
  type: _.literal,
@@ -3636,14 +3633,14 @@ function fe(e, t, r, n, i, o, s) {
3636
3633
  ];
3637
3634
  for (var a = [], l = 0, h = e; l < h.length; l++) {
3638
3635
  var u = h[l];
3639
- if (dt(u)) {
3636
+ if (pt(u)) {
3640
3637
  a.push({
3641
3638
  type: _.literal,
3642
3639
  value: u.value
3643
3640
  });
3644
3641
  continue;
3645
3642
  }
3646
- if (xn(u)) {
3643
+ if (vn(u)) {
3647
3644
  typeof o == "number" && a.push({
3648
3645
  type: _.literal,
3649
3646
  value: r.getNumberFormat(t).format(o)
@@ -3652,7 +3649,7 @@ function fe(e, t, r, n, i, o, s) {
3652
3649
  }
3653
3650
  var c = u.value;
3654
3651
  if (!(i && c in i))
3655
- throw new ri(c, s);
3652
+ throw new ti(c, s);
3656
3653
  var f = i[c];
3657
3654
  if (yn(u)) {
3658
3655
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
@@ -3661,35 +3658,35 @@ function fe(e, t, r, n, i, o, s) {
3661
3658
  });
3662
3659
  continue;
3663
3660
  }
3664
- if (kt(u)) {
3665
- var m = typeof u.style == "string" ? n.date[u.style] : De(u.style) ? u.style.parsedOptions : void 0;
3661
+ if (jt(u)) {
3662
+ var d = typeof u.style == "string" ? n.date[u.style] : De(u.style) ? u.style.parsedOptions : void 0;
3666
3663
  a.push({
3667
3664
  type: _.literal,
3668
- value: r.getDateTimeFormat(t, m).format(f)
3665
+ value: r.getDateTimeFormat(t, d).format(f)
3669
3666
  });
3670
3667
  continue;
3671
3668
  }
3672
- if (Vt(u)) {
3673
- var m = typeof u.style == "string" ? n.time[u.style] : De(u.style) ? u.style.parsedOptions : n.time.medium;
3669
+ if (kt(u)) {
3670
+ var d = typeof u.style == "string" ? n.time[u.style] : De(u.style) ? u.style.parsedOptions : n.time.medium;
3674
3671
  a.push({
3675
3672
  type: _.literal,
3676
- value: r.getDateTimeFormat(t, m).format(f)
3673
+ value: r.getDateTimeFormat(t, d).format(f)
3677
3674
  });
3678
3675
  continue;
3679
3676
  }
3680
- if (jt(u)) {
3681
- var m = typeof u.style == "string" ? n.number[u.style] : Zt(u.style) ? u.style.parsedOptions : void 0;
3682
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3677
+ if (Gt(u)) {
3678
+ var d = typeof u.style == "string" ? n.number[u.style] : Wt(u.style) ? u.style.parsedOptions : void 0;
3679
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3683
3680
  type: _.literal,
3684
- value: r.getNumberFormat(t, m).format(f)
3681
+ value: r.getNumberFormat(t, d).format(f)
3685
3682
  });
3686
3683
  continue;
3687
3684
  }
3688
- if (Wt(u)) {
3689
- var y = u.children, v = u.value, T = i[v];
3690
- if (!ii(T))
3691
- throw new ti(v, "function", s);
3692
- var L = fe(y, t, r, n, i, o), I = T(L.map(function(P) {
3685
+ if (Xt(u)) {
3686
+ var v = u.children, y = u.value, T = i[y];
3687
+ if (!ni(T))
3688
+ throw new ei(y, "function", s);
3689
+ var L = fe(v, t, r, n, i, o), I = T(L.map(function(P) {
3693
3690
  return P.value;
3694
3691
  }));
3695
3692
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
@@ -3699,39 +3696,39 @@ function fe(e, t, r, n, i, o, s) {
3699
3696
  };
3700
3697
  }));
3701
3698
  }
3702
- if (zt(u)) {
3703
- var E = u.options[f] || u.options.other;
3704
- if (!E)
3699
+ if (Vt(u)) {
3700
+ var x = u.options[f] || u.options.other;
3701
+ if (!x)
3705
3702
  throw new Et(u.value, f, Object.keys(u.options), s);
3706
- a.push.apply(a, fe(E.value, t, r, n, i));
3703
+ a.push.apply(a, fe(x.value, t, r, n, i));
3707
3704
  continue;
3708
3705
  }
3709
- if (Xt(u)) {
3710
- var E = u.options["=".concat(f)];
3711
- if (!E) {
3706
+ if (zt(u)) {
3707
+ var x = u.options["=".concat(f)];
3708
+ if (!x) {
3712
3709
  if (!Intl.PluralRules)
3713
- throw new ye(`Intl.PluralRules is not available in this environment.
3710
+ throw new ve(`Intl.PluralRules is not available in this environment.
3714
3711
  Try polyfilling it using "@formatjs/intl-pluralrules"
3715
3712
  `, X.MISSING_INTL_API, s);
3716
3713
  var w = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3717
- E = u.options[w] || u.options.other;
3714
+ x = u.options[w] || u.options.other;
3718
3715
  }
3719
- if (!E)
3716
+ if (!x)
3720
3717
  throw new Et(u.value, f, Object.keys(u.options), s);
3721
- a.push.apply(a, fe(E.value, t, r, n, i, f - (u.offset || 0)));
3718
+ a.push.apply(a, fe(x.value, t, r, n, i, f - (u.offset || 0)));
3722
3719
  continue;
3723
3720
  }
3724
3721
  }
3725
- return ni(a);
3722
+ return ri(a);
3726
3723
  }
3727
- function oi(e, t) {
3724
+ function ii(e, t) {
3728
3725
  return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3729
3726
  return r[n] = b(b({}, e[n]), t[n] || {}), r;
3730
3727
  }, {})) : e;
3731
3728
  }
3732
- function si(e, t) {
3729
+ function oi(e, t) {
3733
3730
  return t ? Object.keys(e).reduce(function(r, n) {
3734
- return r[n] = oi(e[n], t[n]), r;
3731
+ return r[n] = ii(e[n], t[n]), r;
3735
3732
  }, b({}, e)) : e;
3736
3733
  }
3737
3734
  function Ae(e) {
@@ -3748,7 +3745,7 @@ function Ae(e) {
3748
3745
  }
3749
3746
  };
3750
3747
  }
3751
- function ai(e) {
3748
+ function si(e) {
3752
3749
  return e === void 0 && (e = {
3753
3750
  number: {},
3754
3751
  dateTime: {},
@@ -3780,7 +3777,7 @@ function ai(e) {
3780
3777
  })
3781
3778
  };
3782
3779
  }
3783
- var ui = (
3780
+ var ai = (
3784
3781
  /** @class */
3785
3782
  function() {
3786
3783
  function e(t, r, n, i) {
@@ -3811,13 +3808,13 @@ var ui = (
3811
3808
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3812
3809
  var s = i || {};
3813
3810
  s.formatters;
3814
- var a = Gr(s, ["formatters"]);
3811
+ var a = Fr(s, ["formatters"]);
3815
3812
  this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3816
3813
  } else
3817
3814
  this.ast = t;
3818
3815
  if (!Array.isArray(this.ast))
3819
3816
  throw new TypeError("A message must be provided as a String or AST.");
3820
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3817
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3821
3818
  }
3822
3819
  return Object.defineProperty(e, "defaultLocale", {
3823
3820
  get: function() {
@@ -3830,7 +3827,7 @@ var ui = (
3830
3827
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3831
3828
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3832
3829
  }
3833
- }, e.__parse = Zn, e.formats = {
3830
+ }, e.__parse = Wn, e.formats = {
3834
3831
  number: {
3835
3832
  integer: {
3836
3833
  maximumFractionDigits: 0
@@ -3891,7 +3888,7 @@ var ui = (
3891
3888
  }, e;
3892
3889
  }()
3893
3890
  );
3894
- function hi(e, t) {
3891
+ function ui(e, t) {
3895
3892
  if (t == null)
3896
3893
  return;
3897
3894
  if (t in e)
@@ -3912,44 +3909,44 @@ function hi(e, t) {
3912
3909
  n = void 0;
3913
3910
  return n;
3914
3911
  }
3915
- const N = {}, li = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), ir = (e, t) => {
3912
+ const N = {}, hi = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), nr = (e, t) => {
3916
3913
  if (t == null)
3917
3914
  return;
3918
3915
  if (t in N && e in N[t])
3919
3916
  return N[t][e];
3920
- const r = xe(t);
3917
+ const r = Ee(t);
3921
3918
  for (let n = 0; n < r.length; n++) {
3922
- const i = r[n], o = fi(i, e);
3919
+ const i = r[n], o = ci(i, e);
3923
3920
  if (o)
3924
- return li(e, t, o);
3921
+ return hi(e, t, o);
3925
3922
  }
3926
3923
  };
3927
3924
  let Je;
3928
- const ie = ve({});
3929
- function ci(e) {
3925
+ const ie = ye({});
3926
+ function li(e) {
3930
3927
  return Je[e] || null;
3931
3928
  }
3932
- function or(e) {
3929
+ function ir(e) {
3933
3930
  return e in Je;
3934
3931
  }
3935
- function fi(e, t) {
3936
- if (!or(e))
3932
+ function ci(e, t) {
3933
+ if (!ir(e))
3937
3934
  return null;
3938
- const r = ci(e);
3939
- return hi(r, t);
3935
+ const r = li(e);
3936
+ return ui(r, t);
3940
3937
  }
3941
- function pi(e) {
3938
+ function fi(e) {
3942
3939
  if (e == null)
3943
3940
  return;
3944
- const t = xe(e);
3941
+ const t = Ee(e);
3945
3942
  for (let r = 0; r < t.length; r++) {
3946
3943
  const n = t[r];
3947
- if (or(n))
3944
+ if (ir(n))
3948
3945
  return n;
3949
3946
  }
3950
3947
  }
3951
- function sr(e, ...t) {
3952
- delete N[e], ie.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3948
+ function or(e, ...t) {
3949
+ delete N[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3953
3950
  }
3954
3951
  Z(
3955
3952
  [ie],
@@ -3957,47 +3954,47 @@ Z(
3957
3954
  );
3958
3955
  ie.subscribe((e) => Je = e);
3959
3956
  const pe = {};
3960
- function di(e, t) {
3957
+ function pi(e, t) {
3961
3958
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3962
3959
  }
3963
- function ar(e) {
3960
+ function sr(e) {
3964
3961
  return pe[e];
3965
3962
  }
3966
3963
  function mi(e) {
3967
- return xe(e).map((t) => {
3968
- const r = ar(t);
3964
+ return Ee(e).map((t) => {
3965
+ const r = sr(t);
3969
3966
  return [t, r ? [...r] : []];
3970
3967
  }).filter(([, t]) => t.length > 0);
3971
3968
  }
3972
3969
  function Ve(e) {
3973
- return e == null ? !1 : xe(e).some(
3970
+ return e == null ? !1 : Ee(e).some(
3974
3971
  (t) => {
3975
3972
  var r;
3976
- return (r = ar(t)) == null ? void 0 : r.size;
3973
+ return (r = sr(t)) == null ? void 0 : r.size;
3977
3974
  }
3978
3975
  );
3979
3976
  }
3980
- function bi(e, t) {
3977
+ function di(e, t) {
3981
3978
  return Promise.all(
3982
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3983
- ).then((n) => sr(e, ...n));
3979
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3980
+ ).then((n) => or(e, ...n));
3984
3981
  }
3985
3982
  const Y = {};
3986
- function ur(e) {
3983
+ function ar(e) {
3987
3984
  if (!Ve(e))
3988
3985
  return e in Y ? Y[e] : Promise.resolve();
3989
3986
  const t = mi(e);
3990
3987
  return Y[e] = Promise.all(
3991
3988
  t.map(
3992
- ([r, n]) => bi(r, n)
3989
+ ([r, n]) => di(r, n)
3993
3990
  )
3994
3991
  ).then(() => {
3995
3992
  if (Ve(e))
3996
- return ur(e);
3993
+ return ar(e);
3997
3994
  delete Y[e];
3998
3995
  }), Y[e];
3999
3996
  }
4000
- const gi = {
3997
+ const bi = {
4001
3998
  number: {
4002
3999
  scientific: { notation: "scientific" },
4003
4000
  engineering: { notation: "engineering" },
@@ -4026,78 +4023,78 @@ const gi = {
4026
4023
  timeZoneName: "short"
4027
4024
  }
4028
4025
  }
4029
- }, vi = {
4026
+ }, gi = {
4030
4027
  fallbackLocale: null,
4031
4028
  loadingDelay: 200,
4032
- formats: gi,
4029
+ formats: bi,
4033
4030
  warnOnMissingMessages: !0,
4034
4031
  handleMissingMessage: void 0,
4035
4032
  ignoreTag: !0
4036
- }, yi = vi;
4033
+ }, yi = gi;
4037
4034
  function W() {
4038
4035
  return yi;
4039
4036
  }
4040
- const Oe = ve(!1);
4041
- var xi = Object.defineProperty, Ei = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4037
+ const Oe = ye(!1);
4038
+ var vi = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4042
4039
  for (var r in t || (t = {}))
4043
- Si.call(t, r) && St(e, r, t[r]);
4044
- if (_t)
4045
- for (var r of _t(t))
4046
- Ti.call(t, r) && St(e, r, t[r]);
4040
+ _i.call(t, r) && _t(e, r, t[r]);
4041
+ if (xt)
4042
+ for (var r of xt(t))
4043
+ Si.call(t, r) && _t(e, r, t[r]);
4047
4044
  return e;
4048
- }, wi = (e, t) => Ei(e, _i(t));
4045
+ }, Hi = (e, t) => Ei(e, xi(t));
4049
4046
  let ze;
4050
- const me = ve(null);
4051
- function Tt(e) {
4047
+ const de = ye(null);
4048
+ function St(e) {
4052
4049
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4053
4050
  }
4054
- function xe(e, t = W().fallbackLocale) {
4055
- const r = Tt(e);
4056
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4051
+ function Ee(e, t = W().fallbackLocale) {
4052
+ const r = St(e);
4053
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4057
4054
  }
4058
4055
  function $() {
4059
4056
  return ze != null ? ze : void 0;
4060
4057
  }
4061
- me.subscribe((e) => {
4058
+ de.subscribe((e) => {
4062
4059
  ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4063
4060
  });
4064
- const Pi = (e) => {
4065
- if (e && pi(e) && Ve(e)) {
4061
+ const wi = (e) => {
4062
+ if (e && fi(e) && Ve(e)) {
4066
4063
  const { loadingDelay: t } = W();
4067
4064
  let r;
4068
4065
  return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
4069
4066
  () => Oe.set(!0),
4070
4067
  t
4071
- ) : Oe.set(!0), ur(e).then(() => {
4072
- me.set(e);
4068
+ ) : Oe.set(!0), ar(e).then(() => {
4069
+ de.set(e);
4073
4070
  }).finally(() => {
4074
4071
  clearTimeout(r), Oe.set(!1);
4075
4072
  });
4076
4073
  }
4077
- return me.set(e);
4078
- }, Q = wi(Hi({}, me), {
4079
- set: Pi
4080
- }), Ee = (e) => {
4074
+ return de.set(e);
4075
+ }, Q = Hi(Ti({}, de), {
4076
+ set: wi
4077
+ }), xe = (e) => {
4081
4078
  const t = /* @__PURE__ */ Object.create(null);
4082
4079
  return (n) => {
4083
4080
  const i = JSON.stringify(n);
4084
4081
  return i in t ? t[i] : t[i] = e(n);
4085
4082
  };
4086
4083
  };
4087
- var Bi = Object.defineProperty, be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4084
+ var Pi = Object.defineProperty, be = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4088
4085
  for (var r in t || (t = {}))
4089
- hr.call(t, r) && Ht(e, r, t[r]);
4086
+ ur.call(t, r) && Tt(e, r, t[r]);
4090
4087
  if (be)
4091
4088
  for (var r of be(t))
4092
- lr.call(t, r) && Ht(e, r, t[r]);
4089
+ hr.call(t, r) && Tt(e, r, t[r]);
4093
4090
  return e;
4094
4091
  }, J = (e, t) => {
4095
4092
  var r = {};
4096
4093
  for (var n in e)
4097
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4094
+ ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4098
4095
  if (e != null && be)
4099
4096
  for (var n of be(e))
4100
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4097
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4101
4098
  return r;
4102
4099
  };
4103
4100
  const re = (e, t) => {
@@ -4105,21 +4102,21 @@ const re = (e, t) => {
4105
4102
  if (e in r && t in r[e])
4106
4103
  return r[e][t];
4107
4104
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4108
- }, Ai = Ee(
4105
+ }, Bi = xe(
4109
4106
  (e) => {
4110
4107
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4111
4108
  if (r == null)
4112
4109
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4113
4110
  return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4114
4111
  }
4115
- ), Oi = Ee(
4112
+ ), Ai = xe(
4116
4113
  (e) => {
4117
4114
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4118
4115
  if (r == null)
4119
4116
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4120
4117
  return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4121
4118
  }
4122
- ), Ii = Ee(
4119
+ ), Oi = xe(
4123
4120
  (e) => {
4124
4121
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4125
4122
  if (r == null)
@@ -4128,33 +4125,33 @@ const re = (e, t) => {
4128
4125
  );
4129
4126
  return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4130
4127
  }
4131
- ), Ci = (e = {}) => {
4128
+ ), Ii = (e = {}) => {
4132
4129
  var t = e, {
4133
4130
  locale: r = $()
4134
4131
  } = t, n = J(t, [
4135
4132
  "locale"
4136
4133
  ]);
4137
- return Ai(Ye({ locale: r }, n));
4138
- }, Ni = (e = {}) => {
4134
+ return Bi(Ye({ locale: r }, n));
4135
+ }, Ci = (e = {}) => {
4139
4136
  var t = e, {
4140
4137
  locale: r = $()
4141
4138
  } = t, n = J(t, [
4142
4139
  "locale"
4143
4140
  ]);
4144
- return Oi(Ye({ locale: r }, n));
4145
- }, Li = (e = {}) => {
4141
+ return Ai(Ye({ locale: r }, n));
4142
+ }, Ni = (e = {}) => {
4146
4143
  var t = e, {
4147
4144
  locale: r = $()
4148
4145
  } = t, n = J(t, [
4149
4146
  "locale"
4150
4147
  ]);
4151
- return Ii(Ye({ locale: r }, n));
4152
- }, Mi = Ee(
4148
+ return Oi(Ye({ locale: r }, n));
4149
+ }, Li = xe(
4153
4150
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4154
- (e, t = $()) => new ui(e, t, W().formats, {
4151
+ (e, t = $()) => new ai(e, t, W().formats, {
4155
4152
  ignoreTag: W().ignoreTag
4156
4153
  })
4157
- ), $i = (e, t = {}) => {
4154
+ ), Mi = (e, t = {}) => {
4158
4155
  var r, n, i, o;
4159
4156
  let s = t;
4160
4157
  typeof e == "object" && (s = e, e = s.id);
@@ -4167,7 +4164,7 @@ const re = (e, t) => {
4167
4164
  throw new Error(
4168
4165
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4169
4166
  );
4170
- let u = ir(e, l);
4167
+ let u = nr(e, l);
4171
4168
  if (!u)
4172
4169
  u = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4173
4170
  else if (typeof u != "string")
@@ -4178,7 +4175,7 @@ const re = (e, t) => {
4178
4175
  return u;
4179
4176
  let c = u;
4180
4177
  try {
4181
- c = Mi(u, l).format(a);
4178
+ c = Li(u, l).format(a);
4182
4179
  } catch (f) {
4183
4180
  f instanceof Error && console.warn(
4184
4181
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4186,20 +4183,20 @@ const re = (e, t) => {
4186
4183
  );
4187
4184
  }
4188
4185
  return c;
4189
- }, Ri = (e, t) => Li(t).format(e), Di = (e, t) => Ni(t).format(e), Ui = (e, t) => Ci(t).format(e), Fi = (e, t = $()) => ir(e, t), Gi = Z([Q, ie], () => $i);
4186
+ }, $i = (e, t) => Ni(t).format(e), Ri = (e, t) => Ci(t).format(e), Di = (e, t) => Ii(t).format(e), Ui = (e, t = $()) => nr(e, t), Fi = Z([Q, ie], () => Mi);
4187
+ Z([Q], () => $i);
4190
4188
  Z([Q], () => Ri);
4191
4189
  Z([Q], () => Di);
4192
- Z([Q], () => Ui);
4193
- Z([Q, ie], () => Fi);
4194
- window.emWidgets = { topic: en };
4190
+ Z([Q, ie], () => Ui);
4191
+ window.emWidgets = { topic: Kr };
4195
4192
  const ue = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4196
- function wt(e, t) {
4197
- sr(e, t);
4193
+ function Ht(e, t) {
4194
+ or(e, t);
4198
4195
  }
4199
- function ji(e) {
4196
+ function Gi(e) {
4200
4197
  Q.set(e);
4201
4198
  }
4202
- const Pt = {
4199
+ const wt = {
4203
4200
  en: {
4204
4201
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4205
4202
  },
@@ -4237,10 +4234,10 @@ const Pt = {
4237
4234
  panicButtonString: "24 saatlik zaman aşımına uğramak için düğmeyi 3 saniye basılı tutun"
4238
4235
  }
4239
4236
  };
4240
- function ki(e) {
4241
- yr(e, "svelte-1pdndx7", ".svelte-1pdndx7.svelte-1pdndx7,.svelte-1pdndx7.svelte-1pdndx7::before,.svelte-1pdndx7.svelte-1pdndx7::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection.svelte-1pdndx7.svelte-1pdndx7{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection.svelte-1pdndx7 .PanicButton.svelte-1pdndx7{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile.svelte-1pdndx7.svelte-1pdndx7{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile.svelte-1pdndx7.svelte-1pdndx7{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation.svelte-1pdndx7.svelte-1pdndx7{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:svelte-1pdndx7-bar-animation 2s linear}@-webkit-keyframes svelte-1pdndx7-bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2.svelte-1pdndx7 .PanicButton.svelte-1pdndx7{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2.svelte-1pdndx7 .PanicButtonMobile.svelte-1pdndx7{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px}.PanicButtonV2.svelte-1pdndx7 .PanicButtonAnimation.svelte-1pdndx7{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px}@-webkit-keyframes svelte-1pdndx7-bar-animation{0%{background-position:0}100%{background-position:388px}}");
4237
+ function ji(e) {
4238
+ yr(e, "svelte-m8v4z7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4242
4239
  }
4243
- function Vi(e) {
4240
+ function ki(e) {
4244
4241
  let t, r, n, i = (
4245
4242
  /*customtext*/
4246
4243
  (e[0] || /*$_*/
@@ -4248,13 +4245,13 @@ function Vi(e) {
4248
4245
  ), o, s;
4249
4246
  return {
4250
4247
  c() {
4251
- t = q("div"), r = q("div"), n = q("button"), o = _r(i), M(n, "class", "PanicButton " + (ue(
4248
+ t = q("div"), r = q("div"), n = q("button"), o = xr(i), M(n, "class", "PanicButton " + (ue(
4252
4249
  /*userAgent*/
4253
4250
  e[6]
4254
- ) !== "PC" ? "PanicButtonMobile" : "") + " svelte-1pdndx7"), M(n, "part", "PanicButton " + (ue(
4251
+ ) !== "PC" ? "PanicButtonMobile" : "")), M(n, "part", "PanicButton " + (ue(
4255
4252
  /*userAgent*/
4256
4253
  e[6]
4257
- ) !== "PC" ? "PanicButtonMobile" : "")), it(
4254
+ ) !== "PC" ? "PanicButtonMobile" : "")), nt(
4258
4255
  n,
4259
4256
  "PanicButtonAnimation",
4260
4257
  /*panicLoading*/
@@ -4262,32 +4259,28 @@ function Vi(e) {
4262
4259
  ), M(r, "class", "PanicSection " + (ue(
4263
4260
  /*userAgent*/
4264
4261
  e[6]
4265
- ) !== "PC" ? "PanicSectionMobile" : "") + " svelte-1pdndx7"), M(r, "part", "PanicSection " + (ue(
4262
+ ) !== "PC" ? "PanicSectionMobile" : "")), M(r, "part", "PanicSection " + (ue(
4266
4263
  /*userAgent*/
4267
4264
  e[6]
4268
- ) !== "PC" ? "PanicSectionMobile" : "")), M(t, "class", s = nt(
4269
- /*alternativestyling*/
4270
- e[1] == "true" ? "PanicButtonV2" : ""
4271
- ) + " svelte-1pdndx7");
4265
+ ) !== "PC" ? "PanicSectionMobile" : "")), M(t, "class", s = /*alternativestyling*/
4266
+ e[1] == "true" ? "PanicButtonV2" : "");
4272
4267
  },
4273
4268
  m(a, l) {
4274
- It(a, t, l), he(t, r), he(r, n), he(n, o), e[11](n), e[12](t);
4269
+ Ot(a, t, l), he(t, r), he(r, n), he(n, o), e[11](n), e[12](t);
4275
4270
  },
4276
4271
  p(a, [l]) {
4277
4272
  l & /*customtext, $_*/
4278
4273
  33 && i !== (i = /*customtext*/
4279
4274
  (a[0] || /*$_*/
4280
- a[5]("panicButtonString")) + "") && Tr(o, i), l & /*panicLoading*/
4281
- 16 && it(
4275
+ a[5]("panicButtonString")) + "") && Sr(o, i), l & /*panicLoading*/
4276
+ 16 && nt(
4282
4277
  n,
4283
4278
  "PanicButtonAnimation",
4284
4279
  /*panicLoading*/
4285
4280
  a[4]
4286
4281
  ), l & /*alternativestyling*/
4287
- 2 && s !== (s = nt(
4288
- /*alternativestyling*/
4289
- a[1] == "true" ? "PanicButtonV2" : ""
4290
- ) + " svelte-1pdndx7") && M(t, "class", s);
4282
+ 2 && s !== (s = /*alternativestyling*/
4283
+ a[1] == "true" ? "PanicButtonV2" : "") && M(t, "class", s);
4291
4284
  },
4292
4285
  i: H,
4293
4286
  o: H,
@@ -4296,35 +4289,35 @@ function Vi(e) {
4296
4289
  }
4297
4290
  };
4298
4291
  }
4299
- function zi(e, t, r) {
4292
+ function Vi(e, t, r) {
4300
4293
  let n;
4301
- vr(e, Gi, (g) => r(5, n = g));
4302
- let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: l = "" } = t, { translationurl: h = "" } = t, u, c, f = !1, m = 0, y, v = window.navigator.userAgent;
4294
+ gr(e, Fi, (g) => r(5, n = g));
4295
+ let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: l = "" } = t, { translationurl: h = "" } = t, u, c, f = !1, d = 0, v, y = window.navigator.userAgent;
4303
4296
  const T = () => {
4304
4297
  fetch(h).then((B) => B.json()).then((B) => {
4305
4298
  Object.keys(B).forEach((D) => {
4306
- wt(D, B[D]);
4299
+ Ht(D, B[D]);
4307
4300
  });
4308
4301
  }).catch((B) => {
4309
4302
  console.log(B);
4310
4303
  });
4311
4304
  };
4312
- Object.keys(Pt).forEach((g) => {
4313
- wt(g, Pt[g]);
4305
+ Object.keys(wt).forEach((g) => {
4306
+ Ht(g, wt[g]);
4314
4307
  });
4315
4308
  const L = () => {
4316
- u == null || u.addEventListener("mousedown", E, !1), u == null || u.addEventListener("touchstart", E, !1), u == null || u.addEventListener("mouseup", w, !1), u == null || u.addEventListener("touchend", w, !1);
4309
+ u == null || u.addEventListener("mousedown", x, !1), u == null || u.addEventListener("touchstart", x, !1), u == null || u.addEventListener("mouseup", w, !1), u == null || u.addEventListener("touchend", w, !1);
4317
4310
  }, I = () => {
4318
- r(4, f = !1), u == null || u.removeEventListener("mousedown", E), u == null || u.removeEventListener("touchstart", E), u == null || u.removeEventListener("mouseup", w), u == null || u.removeEventListener("touchend", w);
4319
- }, E = () => {
4320
- m = 0, r(4, f = !0), y = setInterval(
4311
+ r(4, f = !1), u == null || u.removeEventListener("mousedown", x), u == null || u.removeEventListener("touchstart", x), u == null || u.removeEventListener("mouseup", w), u == null || u.removeEventListener("touchend", w);
4312
+ }, x = () => {
4313
+ d = 0, r(4, f = !0), v = setInterval(
4321
4314
  () => {
4322
- m++, m >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(y), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4315
+ d++, d >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(v), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4323
4316
  },
4324
4317
  1e3
4325
4318
  );
4326
4319
  }, w = () => {
4327
- r(4, f = !1), clearInterval(y);
4320
+ r(4, f = !1), clearInterval(v);
4328
4321
  }, P = () => {
4329
4322
  let g = document.createElement("style");
4330
4323
  g.innerHTML = s, c.appendChild(g);
@@ -4339,16 +4332,16 @@ function zi(e, t, r) {
4339
4332
  );
4340
4333
  });
4341
4334
  };
4342
- Pr(() => () => {
4335
+ wr(() => () => {
4343
4336
  I();
4344
4337
  });
4345
4338
  function oe(g) {
4346
- de[g ? "unshift" : "push"](() => {
4339
+ me[g ? "unshift" : "push"](() => {
4347
4340
  u = g, r(2, u);
4348
4341
  });
4349
4342
  }
4350
- function cr(g) {
4351
- de[g ? "unshift" : "push"](() => {
4343
+ function lr(g) {
4344
+ me[g ? "unshift" : "push"](() => {
4352
4345
  c = g, r(3, c);
4353
4346
  });
4354
4347
  }
@@ -4357,7 +4350,7 @@ function zi(e, t, r) {
4357
4350
  }, e.$$.update = () => {
4358
4351
  e.$$.dirty & /*panicButton*/
4359
4352
  4 && u && L(), e.$$.dirty & /*lang*/
4360
- 128 && i && ji(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4353
+ 128 && i && Gi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4361
4354
  264 && s && c && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4362
4355
  520 && a && c && R(), e.$$.dirty & /*translationurl*/
4363
4356
  1024 && h && T();
@@ -4368,23 +4361,23 @@ function zi(e, t, r) {
4368
4361
  c,
4369
4362
  f,
4370
4363
  n,
4371
- v,
4364
+ y,
4372
4365
  i,
4373
4366
  s,
4374
4367
  a,
4375
4368
  h,
4376
4369
  oe,
4377
- cr
4370
+ lr
4378
4371
  ];
4379
4372
  }
4380
- class Xi extends Ur {
4373
+ class zi extends Dr {
4381
4374
  constructor(t) {
4382
- super(), Rr(
4375
+ super(), $r(
4383
4376
  this,
4384
4377
  t,
4385
- zi,
4386
4378
  Vi,
4387
- At,
4379
+ ki,
4380
+ Bt,
4388
4381
  {
4389
4382
  lang: 7,
4390
4383
  customtext: 0,
@@ -4393,7 +4386,7 @@ class Xi extends Ur {
4393
4386
  alternativestyling: 1,
4394
4387
  translationurl: 10
4395
4388
  },
4396
- ki
4389
+ ji
4397
4390
  );
4398
4391
  }
4399
4392
  get lang() {
@@ -4433,7 +4426,7 @@ class Xi extends Ur {
4433
4426
  this.$$set({ translationurl: t }), C();
4434
4427
  }
4435
4428
  }
4436
- Dr(Xi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4429
+ Rr(zi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4437
4430
  export {
4438
- Xi as default
4431
+ zi as default
4439
4432
  };