@everymatrix/player-panic-button 1.50.0 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var cr = Object.defineProperty, fr = Object.defineProperties;
2
- var pr = Object.getOwnPropertyDescriptors;
1
+ var lr = Object.defineProperty, cr = Object.defineProperties;
2
+ var fr = Object.getOwnPropertyDescriptors;
3
3
  var qe = Object.getOwnPropertySymbols;
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) => {
4
+ var pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
5
+ var _e = (e, t, r) => t in e ? lr(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
- mr.call(t, r) && _e(e, r, t[r]);
7
+ pr.call(t, r) && _e(e, r, t[r]);
8
8
  if (qe)
9
9
  for (var r of qe(t))
10
- dr.call(t, r) && _e(e, r, t[r]);
10
+ mr.call(t, r) && _e(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => fr(e, pr(t));
12
+ }, et = (e, t) => cr(e, fr(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) => {
@@ -44,7 +44,7 @@ function Xe(e) {
44
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 br(e) {
47
+ function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
50
  function At(e, ...t) {
@@ -56,20 +56,20 @@ function At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function gr(e, t, r) {
59
+ function br(e, t, r) {
60
60
  e.$$.on_destroy.push(At(t, r));
61
61
  }
62
62
  function he(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function yr(e, t, r) {
66
- const n = vr(e);
65
+ function gr(e, t, r) {
66
+ const n = yr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = q("style");
69
- i.id = t, i.textContent = r, Er(n, i);
69
+ i.id = t, i.textContent = r, vr(n, i);
70
70
  }
71
71
  }
72
- function vr(e) {
72
+ function yr(e) {
73
73
  if (!e) return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return t && /** @type {ShadowRoot} */
@@ -78,7 +78,7 @@ function vr(e) {
78
78
  t
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function Er(e, t) {
81
+ function vr(e, t) {
82
82
  return he(
83
83
  /** @type {Document} */
84
84
  e.head || e,
@@ -94,23 +94,23 @@ function We(e) {
94
94
  function q(e) {
95
95
  return document.createElement(e);
96
96
  }
97
- function xr(e) {
97
+ function Er(e) {
98
98
  return document.createTextNode(e);
99
99
  }
100
100
  function M(e, t, r) {
101
101
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
102
102
  }
103
- function _r(e) {
103
+ function xr(e) {
104
104
  return Array.from(e.childNodes);
105
105
  }
106
- function Sr(e, t) {
106
+ function _r(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
110
  function nt(e, t, r) {
111
111
  e.classList.toggle(t, !!r);
112
112
  }
113
- function Tr(e) {
113
+ function Sr(e) {
114
114
  const t = {};
115
115
  return e.childNodes.forEach(
116
116
  /** @param {Element} node */
@@ -123,19 +123,19 @@ let ee;
123
123
  function K(e) {
124
124
  ee = e;
125
125
  }
126
- function Hr() {
126
+ function Tr() {
127
127
  if (!ee) throw new Error("Function called outside component initialization");
128
128
  return ee;
129
129
  }
130
- function wr(e) {
131
- Hr().$$.on_mount.push(e);
130
+ function Hr(e) {
131
+ Tr().$$.on_mount.push(e);
132
132
  }
133
133
  const G = [], me = [];
134
134
  let j = [];
135
- const it = [], Pr = /* @__PURE__ */ Promise.resolve();
135
+ const it = [], wr = /* @__PURE__ */ Promise.resolve();
136
136
  let Ie = !1;
137
- function Br() {
138
- Ie || (Ie = !0, Pr.then(C));
137
+ function Pr() {
138
+ Ie || (Ie = !0, wr.then(C));
139
139
  }
140
140
  function Ce(e) {
141
141
  j.push(e);
@@ -150,7 +150,7 @@ function C() {
150
150
  try {
151
151
  for (; U < G.length; ) {
152
152
  const t = G[U];
153
- U++, K(t), Ar(t.$$);
153
+ U++, K(t), Br(t.$$);
154
154
  }
155
155
  } catch (t) {
156
156
  throw G.length = 0, U = 0, t;
@@ -166,22 +166,22 @@ function C() {
166
166
  it.pop()();
167
167
  Ie = !1, Se.clear(), K(e);
168
168
  }
169
- function Ar(e) {
169
+ function Br(e) {
170
170
  if (e.fragment !== null) {
171
171
  e.update(), ne(e.before_update);
172
172
  const t = e.dirty;
173
173
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
174
174
  }
175
175
  }
176
- function Or(e) {
176
+ function Ar(e) {
177
177
  const t = [], r = [];
178
178
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
179
179
  }
180
- const Ir = /* @__PURE__ */ new Set();
181
- function Cr(e, t) {
182
- e && e.i && (Ir.delete(e), e.i(t));
180
+ const Or = /* @__PURE__ */ new Set();
181
+ function Ir(e, t) {
182
+ e && e.i && (Or.delete(e), e.i(t));
183
183
  }
184
- function Nr(e, t, r) {
184
+ function Cr(e, t, r) {
185
185
  const { fragment: n, after_update: i } = e.$$;
186
186
  n && n.m(t, r), Ce(() => {
187
187
  const o = e.$$.on_mount.map(Pt).filter(Xe);
@@ -190,12 +190,12 @@ function Nr(e, t, r) {
190
190
  }
191
191
  function Lr(e, t) {
192
192
  const r = e.$$;
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 = []);
193
+ r.fragment !== null && (Ar(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
194
  }
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;
195
+ function Nr(e, t) {
196
+ e.$$.dirty[0] === -1 && (G.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
197
197
  }
198
- function $r(e, t, r, n, i, o, s = null, a = [-1]) {
198
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
199
199
  const l = ee;
200
200
  K(e);
201
201
  const h = e.$$ = {
@@ -223,14 +223,14 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  let u = !1;
224
224
  if (h.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
225
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;
226
+ return h.ctx && i(h.ctx[c], h.ctx[c] = v) && (!h.skip_bound && h.bound[c] && h.bound[c](v), u && Nr(e, c)), f;
227
227
  }) : [], h.update(), u = !0, ne(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
228
228
  if (t.hydrate) {
229
- const c = _r(t.target);
229
+ const c = xr(t.target);
230
230
  h.fragment && h.fragment.l(c), c.forEach(We);
231
231
  } else
232
232
  h.fragment && h.fragment.c();
233
- t.intro && Cr(e.$$.fragment), Nr(e, t.target, t.anchor), C();
233
+ t.intro && Ir(e.$$.fragment), Cr(e, t.target, t.anchor), C();
234
234
  }
235
235
  K(l);
236
236
  }
@@ -296,7 +296,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
296
296
  };
297
297
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
298
298
  return;
299
- const r = {}, n = Tr(this);
299
+ const r = {}, n = Sr(this);
300
300
  for (const o of this.$$s)
301
301
  o in n && (r[o] = [t(o)]);
302
302
  for (const o of this.attributes) {
@@ -385,7 +385,7 @@ function le(e, t, r, n) {
385
385
  return t;
386
386
  }
387
387
  }
388
- function Rr(e, t, r, n, i, o) {
388
+ function $r(e, t, r, n, i, o) {
389
389
  let s = class extends It {
390
390
  constructor() {
391
391
  super(e, r, i), this.$$p_d = t;
@@ -416,7 +416,7 @@ function Rr(e, t, r, n, i, o) {
416
416
  }), e.element = /** @type {any} */
417
417
  s, s;
418
418
  }
419
- class Dr {
419
+ class Rr {
420
420
  constructor() {
421
421
  /**
422
422
  * ### PRIVATE API
@@ -459,22 +459,22 @@ class Dr {
459
459
  * @returns {void}
460
460
  */
461
461
  $set(t) {
462
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
462
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
463
463
  }
464
464
  }
465
- const Ur = "4";
466
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
467
- var Ne = function(e, t) {
468
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
465
+ const Dr = "4";
466
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
467
+ var Le = function(e, t) {
468
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
469
469
  r.__proto__ = n;
470
470
  } || function(r, n) {
471
471
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
472
- }, Ne(e, t);
472
+ }, Le(e, t);
473
473
  };
474
474
  function O(e, t) {
475
475
  if (typeof t != "function" && t !== null)
476
476
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
477
- Ne(e, t);
477
+ Le(e, t);
478
478
  function r() {
479
479
  this.constructor = e;
480
480
  }
@@ -489,7 +489,7 @@ var b = function() {
489
489
  return t;
490
490
  }, b.apply(this, arguments);
491
491
  };
492
- function Fr(e, t) {
492
+ function Ur(e, t) {
493
493
  var r = {};
494
494
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
495
495
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -497,7 +497,7 @@ function Fr(e, t) {
497
497
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
498
498
  return r;
499
499
  }
500
- function Le(e) {
500
+ function Ne(e) {
501
501
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
502
502
  if (r) return r.call(e);
503
503
  if (e && typeof e.length == "number") return {
@@ -565,7 +565,7 @@ var ge = function() {
565
565
  if (s)
566
566
  if (this._parentage = null, Array.isArray(s))
567
567
  try {
568
- for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
568
+ for (var a = Ne(s), l = a.next(); !l.done; l = a.next()) {
569
569
  var h = l.value;
570
570
  h.remove(this);
571
571
  }
@@ -591,7 +591,7 @@ var ge = function() {
591
591
  if (c) {
592
592
  this._finalizers = null;
593
593
  try {
594
- for (var f = Le(c), d = f.next(); !d.done; d = f.next()) {
594
+ for (var f = Ne(c), d = f.next(); !d.done; d = f.next()) {
595
595
  var v = d.value;
596
596
  try {
597
597
  ot(v);
@@ -641,8 +641,8 @@ var ge = function() {
641
641
  var t = new e();
642
642
  return t.closed = !0, t;
643
643
  }(), e;
644
- }(), Nt = ge.EMPTY;
645
- function Lt(e) {
644
+ }(), Lt = ge.EMPTY;
645
+ function Nt(e) {
646
646
  return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
647
647
  }
648
648
  function ot(e) {
@@ -654,20 +654,19 @@ var Mt = {
654
654
  Promise: void 0,
655
655
  useDeprecatedSynchronousErrorHandling: !1,
656
656
  useDeprecatedNextContext: !1
657
- }, $t = {
657
+ }, Fr = {
658
658
  setTimeout: function(e, t) {
659
659
  for (var r = [], n = 2; n < arguments.length; n++)
660
660
  r[n - 2] = arguments[n];
661
661
  return setTimeout.apply(void 0, k([e, t], Me(r)));
662
662
  },
663
663
  clearTimeout: function(e) {
664
- var t = $t.delegate;
665
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
664
+ return clearTimeout(e);
666
665
  },
667
666
  delegate: void 0
668
667
  };
669
668
  function Gr(e) {
670
- $t.setTimeout(function() {
669
+ Fr.setTimeout(function() {
671
670
  throw e;
672
671
  });
673
672
  }
@@ -676,11 +675,11 @@ function st() {
676
675
  function ce(e) {
677
676
  e();
678
677
  }
679
- var Rt = function(e) {
678
+ var $t = function(e) {
680
679
  O(t, e);
681
680
  function t(r) {
682
681
  var n = e.call(this) || this;
683
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = zr, n;
682
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = zr, n;
684
683
  }
685
684
  return t.create = function(r, n, i) {
686
685
  return new Re(r, n, i);
@@ -765,7 +764,7 @@ var kr = function() {
765
764
  return o.destination = new kr(s), o;
766
765
  }
767
766
  return t;
768
- }(Rt);
767
+ }($t);
769
768
  function se(e) {
770
769
  Gr(e);
771
770
  }
@@ -858,13 +857,13 @@ function Qr(e) {
858
857
  return e && A(e.next) && A(e.error) && A(e.complete);
859
858
  }
860
859
  function Jr(e) {
861
- return e && e instanceof Rt || Qr(e) && Lt(e);
860
+ return e && e instanceof $t || Qr(e) && Nt(e);
862
861
  }
863
862
  var Yr = Ct(function(e) {
864
863
  return function() {
865
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
866
865
  };
867
- }), Dt = function(e) {
866
+ }), Rt = function(e) {
868
867
  O(t, e);
869
868
  function t() {
870
869
  var r = e.call(this) || this;
@@ -883,7 +882,7 @@ var Yr = Ct(function(e) {
883
882
  if (n._throwIfClosed(), !n.isStopped) {
884
883
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
885
884
  try {
886
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
885
+ for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
887
886
  var l = a.value;
888
887
  l.next(r);
889
888
  }
@@ -931,7 +930,7 @@ var Yr = Ct(function(e) {
931
930
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
932
931
  }, t.prototype._innerSubscribe = function(r) {
933
932
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
934
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new ge(function() {
933
+ return o || s ? Lt : (this.currentObservers = null, a.push(r), new ge(function() {
935
934
  n.currentObservers = null, $e(a, r);
936
935
  }));
937
936
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -960,17 +959,17 @@ var Yr = Ct(function(e) {
960
959
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
961
960
  }, t.prototype._subscribe = function(r) {
962
961
  var n, i;
963
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
962
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
964
963
  }, t;
965
- }(Dt), Ut = {
964
+ }(Rt), Dt = {
966
965
  now: function() {
967
- return (Ut.delegate || Date).now();
966
+ return (Dt.delegate || Date).now();
968
967
  },
969
968
  delegate: void 0
970
969
  }, qr = function(e) {
971
970
  O(t, e);
972
971
  function t(r, n, i) {
973
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
972
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
974
973
  var o = e.call(this) || this;
975
974
  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;
976
975
  }
@@ -990,7 +989,7 @@ var Yr = Ct(function(e) {
990
989
  h && o.splice(0, h + 1);
991
990
  }
992
991
  }, t;
993
- }(Dt);
992
+ }(Rt);
994
993
  const lt = [], ct = {}, Kr = (e, t = 0) => {
995
994
  if (lt.indexOf(e) == -1) {
996
995
  const r = new qr(t);
@@ -1102,7 +1101,7 @@ function fn(e) {
1102
1101
  function ft(e) {
1103
1102
  return Object.keys(e).concat(fn(e));
1104
1103
  }
1105
- function Ft(e, t) {
1104
+ function Ut(e, t) {
1106
1105
  try {
1107
1106
  return t in e;
1108
1107
  } catch (r) {
@@ -1110,14 +1109,14 @@ function Ft(e, t) {
1110
1109
  }
1111
1110
  }
1112
1111
  function pn(e, t) {
1113
- return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1114
1113
  }
1115
1114
  function mn(e, t, r) {
1116
1115
  var n = {};
1117
1116
  return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1118
1117
  n[i] = te(e[i], r);
1119
1118
  }), 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));
1119
+ pn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1121
1120
  }), n;
1122
1121
  }
1123
1122
  function V(e, t, r) {
@@ -1134,7 +1133,57 @@ V.all = function(t, r) {
1134
1133
  };
1135
1134
  var dn = V, bn = dn;
1136
1135
  const gn = /* @__PURE__ */ tn(bn);
1137
- var p;
1136
+ function we(e, t) {
1137
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : vn;
1138
+ return i(e, {
1139
+ cache: r,
1140
+ serializer: n
1141
+ });
1142
+ }
1143
+ function yn(e) {
1144
+ return e == null || typeof e == "number" || typeof e == "boolean";
1145
+ }
1146
+ function Ft(e, t, r, n) {
1147
+ var i = yn(n) ? n : r(n), o = t.get(i);
1148
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1149
+ }
1150
+ function Gt(e, t, r) {
1151
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1152
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1153
+ }
1154
+ function Ze(e, t, r, n, i) {
1155
+ return r.bind(t, e, n, i);
1156
+ }
1157
+ function vn(e, t) {
1158
+ var r = e.length === 1 ? Ft : Gt;
1159
+ return Ze(e, this, r, t.cache.create(), t.serializer);
1160
+ }
1161
+ function En(e, t) {
1162
+ return Ze(e, this, Gt, t.cache.create(), t.serializer);
1163
+ }
1164
+ function xn(e, t) {
1165
+ return Ze(e, this, Ft, t.cache.create(), t.serializer);
1166
+ }
1167
+ var _n = function() {
1168
+ return JSON.stringify(arguments);
1169
+ };
1170
+ function Qe() {
1171
+ this.cache = /* @__PURE__ */ Object.create(null);
1172
+ }
1173
+ Qe.prototype.get = function(e) {
1174
+ return this.cache[e];
1175
+ };
1176
+ Qe.prototype.set = function(e, t) {
1177
+ this.cache[e] = t;
1178
+ };
1179
+ var Sn = {
1180
+ create: function() {
1181
+ return new Qe();
1182
+ }
1183
+ }, Pe = {
1184
+ variadic: En,
1185
+ monadic: xn
1186
+ }, p;
1138
1187
  (function(e) {
1139
1188
  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";
1140
1189
  })(p || (p = {}));
@@ -1149,40 +1198,40 @@ var z;
1149
1198
  function pt(e) {
1150
1199
  return e.type === E.literal;
1151
1200
  }
1152
- function yn(e) {
1201
+ function Tn(e) {
1153
1202
  return e.type === E.argument;
1154
1203
  }
1155
- function Gt(e) {
1204
+ function jt(e) {
1156
1205
  return e.type === E.number;
1157
1206
  }
1158
- function jt(e) {
1207
+ function kt(e) {
1159
1208
  return e.type === E.date;
1160
1209
  }
1161
- function kt(e) {
1210
+ function Vt(e) {
1162
1211
  return e.type === E.time;
1163
1212
  }
1164
- function Vt(e) {
1213
+ function zt(e) {
1165
1214
  return e.type === E.select;
1166
1215
  }
1167
- function zt(e) {
1216
+ function Xt(e) {
1168
1217
  return e.type === E.plural;
1169
1218
  }
1170
- function vn(e) {
1219
+ function Hn(e) {
1171
1220
  return e.type === E.pound;
1172
1221
  }
1173
- function Xt(e) {
1222
+ function Wt(e) {
1174
1223
  return e.type === E.tag;
1175
1224
  }
1176
- function Wt(e) {
1225
+ function Zt(e) {
1177
1226
  return !!(e && typeof e == "object" && e.type === z.number);
1178
1227
  }
1179
1228
  function De(e) {
1180
1229
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1181
1230
  }
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) {
1231
+ var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1232
+ function Pn(e) {
1184
1233
  var t = {};
1185
- return e.replace(En, function(r) {
1234
+ return e.replace(wn, function(r) {
1186
1235
  var n = r.length;
1187
1236
  switch (r[0]) {
1188
1237
  case "G":
@@ -1271,11 +1320,11 @@ function xn(e) {
1271
1320
  return "";
1272
1321
  }), t;
1273
1322
  }
1274
- var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1275
- function Sn(e) {
1323
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1324
+ function An(e) {
1276
1325
  if (e.length === 0)
1277
1326
  throw new Error("Number skeleton cannot be empty");
1278
- for (var t = e.split(_n).filter(function(f) {
1327
+ for (var t = e.split(Bn).filter(function(f) {
1279
1328
  return f.length > 0;
1280
1329
  }), r = [], n = 0, i = t; n < i.length; n++) {
1281
1330
  var o = i[n], s = o.split("/");
@@ -1290,17 +1339,17 @@ function Sn(e) {
1290
1339
  }
1291
1340
  return r;
1292
1341
  }
1293
- function Tn(e) {
1342
+ function On(e) {
1294
1343
  return e.replace(/^(.*?)-/, "");
1295
1344
  }
1296
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1345
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1297
1346
  function dt(e) {
1298
1347
  var t = {};
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) {
1348
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1300
1349
  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)), "";
1301
1350
  }), t;
1302
1351
  }
1303
- function Yt(e) {
1352
+ function qt(e) {
1304
1353
  switch (e) {
1305
1354
  case "sign-auto":
1306
1355
  return {
@@ -1340,7 +1389,7 @@ function Yt(e) {
1340
1389
  };
1341
1390
  }
1342
1391
  }
1343
- function wn(e) {
1392
+ function Cn(e) {
1344
1393
  var t;
1345
1394
  if (e[0] === "E" && e[1] === "E" ? (t = {
1346
1395
  notation: "engineering"
@@ -1348,17 +1397,17 @@ function wn(e) {
1348
1397
  notation: "scientific"
1349
1398
  }, e = e.slice(1)), t) {
1350
1399
  var r = e.slice(0, 2);
1351
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1400
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1352
1401
  throw new Error("Malformed concise eng/scientific notation");
1353
1402
  t.minimumIntegerDigits = e.length;
1354
1403
  }
1355
1404
  return t;
1356
1405
  }
1357
1406
  function bt(e) {
1358
- var t = {}, r = Yt(e);
1407
+ var t = {}, r = qt(e);
1359
1408
  return r || t;
1360
1409
  }
1361
- function Pn(e) {
1410
+ function Ln(e) {
1362
1411
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1363
1412
  var i = n[r];
1364
1413
  switch (i.stem) {
@@ -1382,7 +1431,7 @@ function Pn(e) {
1382
1431
  continue;
1383
1432
  case "measure-unit":
1384
1433
  case "unit":
1385
- t.style = "unit", t.unit = Tn(i.options[0]);
1434
+ t.style = "unit", t.unit = On(i.options[0]);
1386
1435
  continue;
1387
1436
  case "compact-short":
1388
1437
  case "K":
@@ -1444,7 +1493,7 @@ function Pn(e) {
1444
1493
  case "integer-width":
1445
1494
  if (i.options.length > 1)
1446
1495
  throw new RangeError("integer-width stems only accept a single optional option");
1447
- i.options[0].replace(Hn, function(l, h, u, c, f, d) {
1496
+ i.options[0].replace(In, function(l, h, u, c, f, d) {
1448
1497
  if (h)
1449
1498
  t.minimumIntegerDigits = u.length;
1450
1499
  else {
@@ -1457,7 +1506,7 @@ function Pn(e) {
1457
1506
  });
1458
1507
  continue;
1459
1508
  }
1460
- if (Jt.test(i.stem)) {
1509
+ if (Yt.test(i.stem)) {
1461
1510
  t.minimumIntegerDigits = i.stem.length;
1462
1511
  continue;
1463
1512
  }
@@ -1471,13 +1520,13 @@ function Pn(e) {
1471
1520
  o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), dt(o)));
1472
1521
  continue;
1473
1522
  }
1474
- if (Qt.test(i.stem)) {
1523
+ if (Jt.test(i.stem)) {
1475
1524
  t = b(b({}, t), dt(i.stem));
1476
1525
  continue;
1477
1526
  }
1478
- var s = Yt(i.stem);
1527
+ var s = qt(i.stem);
1479
1528
  s && (t = b(b({}, t), s));
1480
- var a = wn(i.stem);
1529
+ var a = Cn(i.stem);
1481
1530
  a && (t = b(b({}, t), a));
1482
1531
  }
1483
1532
  return t;
@@ -1487,6 +1536,12 @@ var ae = {
1487
1536
  "H",
1488
1537
  "h"
1489
1538
  ],
1539
+ 419: [
1540
+ "h",
1541
+ "H",
1542
+ "hB",
1543
+ "hb"
1544
+ ],
1490
1545
  AC: [
1491
1546
  "H",
1492
1547
  "h",
@@ -1535,8 +1590,8 @@ var ae = {
1535
1590
  "hB"
1536
1591
  ],
1537
1592
  AR: [
1538
- "H",
1539
1593
  "h",
1594
+ "H",
1540
1595
  "hB",
1541
1596
  "hb"
1542
1597
  ],
@@ -1626,9 +1681,9 @@ var ae = {
1626
1681
  "H"
1627
1682
  ],
1628
1683
  BO: [
1684
+ "h",
1629
1685
  "H",
1630
1686
  "hB",
1631
- "h",
1632
1687
  "hb"
1633
1688
  ],
1634
1689
  BQ: [
@@ -1705,8 +1760,8 @@ var ae = {
1705
1760
  "hB"
1706
1761
  ],
1707
1762
  CL: [
1708
- "H",
1709
1763
  "h",
1764
+ "H",
1710
1765
  "hB",
1711
1766
  "hb"
1712
1767
  ],
@@ -1731,14 +1786,14 @@ var ae = {
1731
1786
  "H"
1732
1787
  ],
1733
1788
  CR: [
1734
- "H",
1735
1789
  "h",
1790
+ "H",
1736
1791
  "hB",
1737
1792
  "hb"
1738
1793
  ],
1739
1794
  CU: [
1740
- "H",
1741
1795
  "h",
1796
+ "H",
1742
1797
  "hB",
1743
1798
  "hb"
1744
1799
  ],
@@ -1807,9 +1862,9 @@ var ae = {
1807
1862
  "hb"
1808
1863
  ],
1809
1864
  EC: [
1865
+ "h",
1810
1866
  "H",
1811
1867
  "hB",
1812
- "h",
1813
1868
  "hb"
1814
1869
  ],
1815
1870
  EE: [
@@ -1945,8 +2000,8 @@ var ae = {
1945
2000
  "hB"
1946
2001
  ],
1947
2002
  GT: [
1948
- "H",
1949
2003
  "h",
2004
+ "H",
1950
2005
  "hB",
1951
2006
  "hb"
1952
2007
  ],
@@ -1973,8 +2028,8 @@ var ae = {
1973
2028
  "H"
1974
2029
  ],
1975
2030
  HN: [
1976
- "H",
1977
2031
  "h",
2032
+ "H",
1978
2033
  "hB",
1979
2034
  "hb"
1980
2035
  ],
@@ -2288,8 +2343,8 @@ var ae = {
2288
2343
  "hB"
2289
2344
  ],
2290
2345
  MX: [
2291
- "H",
2292
2346
  "h",
2347
+ "H",
2293
2348
  "hB",
2294
2349
  "hb"
2295
2350
  ],
@@ -2329,8 +2384,8 @@ var ae = {
2329
2384
  "hB"
2330
2385
  ],
2331
2386
  NI: [
2332
- "H",
2333
2387
  "h",
2388
+ "H",
2334
2389
  "hB",
2335
2390
  "hb"
2336
2391
  ],
@@ -2378,9 +2433,9 @@ var ae = {
2378
2433
  "hb"
2379
2434
  ],
2380
2435
  PE: [
2436
+ "h",
2381
2437
  "H",
2382
2438
  "hB",
2383
- "h",
2384
2439
  "hb"
2385
2440
  ],
2386
2441
  PF: [
@@ -2438,8 +2493,8 @@ var ae = {
2438
2493
  "H"
2439
2494
  ],
2440
2495
  PY: [
2441
- "H",
2442
2496
  "h",
2497
+ "H",
2443
2498
  "hB",
2444
2499
  "hb"
2445
2500
  ],
@@ -2552,8 +2607,8 @@ var ae = {
2552
2607
  "hB"
2553
2608
  ],
2554
2609
  SV: [
2555
- "H",
2556
2610
  "h",
2611
+ "H",
2557
2612
  "hB",
2558
2613
  "hb"
2559
2614
  ],
@@ -2675,8 +2730,8 @@ var ae = {
2675
2730
  "hB"
2676
2731
  ],
2677
2732
  UY: [
2678
- "H",
2679
2733
  "h",
2734
+ "H",
2680
2735
  "hB",
2681
2736
  "hb"
2682
2737
  ],
@@ -2784,37 +2839,37 @@ var ae = {
2784
2839
  "H",
2785
2840
  "hB"
2786
2841
  ],
2787
- "es-BO": [
2788
- "H",
2842
+ "en-HK": [
2789
2843
  "h",
2790
- "hB",
2791
- "hb"
2844
+ "hb",
2845
+ "H",
2846
+ "hB"
2792
2847
  ],
2793
- "es-BR": [
2848
+ "en-IL": [
2794
2849
  "H",
2795
2850
  "h",
2796
- "hB",
2797
- "hb"
2851
+ "hb",
2852
+ "hB"
2798
2853
  ],
2799
- "es-EC": [
2800
- "H",
2854
+ "en-MY": [
2801
2855
  "h",
2802
- "hB",
2803
- "hb"
2856
+ "hb",
2857
+ "H",
2858
+ "hB"
2804
2859
  ],
2805
- "es-ES": [
2860
+ "es-BR": [
2806
2861
  "H",
2807
2862
  "h",
2808
2863
  "hB",
2809
2864
  "hb"
2810
2865
  ],
2811
- "es-GQ": [
2866
+ "es-ES": [
2812
2867
  "H",
2813
2868
  "h",
2814
2869
  "hB",
2815
2870
  "hb"
2816
2871
  ],
2817
- "es-PE": [
2872
+ "es-GQ": [
2818
2873
  "H",
2819
2874
  "h",
2820
2875
  "hB",
@@ -2891,13 +2946,13 @@ var ae = {
2891
2946
  "h"
2892
2947
  ]
2893
2948
  };
2894
- function Bn(e, t) {
2949
+ function Nn(e, t) {
2895
2950
  for (var r = "", n = 0; n < e.length; n++) {
2896
2951
  var i = e.charAt(n);
2897
2952
  if (i === "j") {
2898
2953
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2899
2954
  o++, n++;
2900
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = An(t);
2955
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Mn(t);
2901
2956
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2902
2957
  r += l;
2903
2958
  for (; s-- > 0; )
@@ -2906,7 +2961,7 @@ function Bn(e, t) {
2906
2961
  }
2907
2962
  return r;
2908
2963
  }
2909
- function An(e) {
2964
+ function Mn(e) {
2910
2965
  var t = e.hourCycle;
2911
2966
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2912
2967
  e.hourCycles && // @ts-ignore
@@ -2928,20 +2983,20 @@ function An(e) {
2928
2983
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2929
2984
  return i[0];
2930
2985
  }
2931
- var we, On = new RegExp("^".concat(Zt.source, "*")), In = new RegExp("".concat(Zt.source, "*$"));
2986
+ var Be, $n = new RegExp("^".concat(Qt.source, "*")), Rn = new RegExp("".concat(Qt.source, "*$"));
2932
2987
  function m(e, t) {
2933
2988
  return { start: e, end: t };
2934
2989
  }
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) {
2990
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Fn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, zn = Vn ? Number.isSafeInteger : function(e) {
2936
2991
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2937
2992
  }, Ue = !0;
2938
2993
  try {
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";
2994
+ var Xn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2995
+ Ue = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2941
2996
  } catch (e) {
2942
2997
  Ue = !1;
2943
2998
  }
2944
- var gt = Cn ? (
2999
+ var gt = Dn ? (
2945
3000
  // Native
2946
3001
  function(t, r, n) {
2947
3002
  return t.startsWith(r, n);
@@ -2951,7 +3006,7 @@ var gt = Cn ? (
2951
3006
  function(t, r, n) {
2952
3007
  return t.slice(n, n + r.length) === r;
2953
3008
  }
2954
- ), Fe = Nn ? String.fromCodePoint : (
3009
+ ), Fe = Un ? String.fromCodePoint : (
2955
3010
  // IE11
2956
3011
  function() {
2957
3012
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2965,7 +3020,7 @@ var gt = Cn ? (
2965
3020
  }
2966
3021
  ), yt = (
2967
3022
  // native
2968
- Ln ? Object.fromEntries : (
3023
+ Fn ? Object.fromEntries : (
2969
3024
  // Ponyfill
2970
3025
  function(t) {
2971
3026
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2975,7 +3030,7 @@ var gt = Cn ? (
2975
3030
  return r;
2976
3031
  }
2977
3032
  )
2978
- ), qt = Mn ? (
3033
+ ), Kt = Gn ? (
2979
3034
  // Native
2980
3035
  function(t, r) {
2981
3036
  return t.codePointAt(r);
@@ -2989,7 +3044,7 @@ var gt = Cn ? (
2989
3044
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2990
3045
  }
2991
3046
  }
2992
- ), Gn = $n ? (
3047
+ ), Wn = jn ? (
2993
3048
  // Native
2994
3049
  function(t) {
2995
3050
  return t.trimStart();
@@ -2997,9 +3052,9 @@ var gt = Cn ? (
2997
3052
  ) : (
2998
3053
  // Ponyfill
2999
3054
  function(t) {
3000
- return t.replace(On, "");
3055
+ return t.replace($n, "");
3001
3056
  }
3002
- ), jn = Rn ? (
3057
+ ), Zn = kn ? (
3003
3058
  // Native
3004
3059
  function(t) {
3005
3060
  return t.trimEnd();
@@ -3007,15 +3062,15 @@ var gt = Cn ? (
3007
3062
  ) : (
3008
3063
  // Ponyfill
3009
3064
  function(t) {
3010
- return t.replace(In, "");
3065
+ return t.replace(Rn, "");
3011
3066
  }
3012
3067
  );
3013
- function Kt(e, t) {
3068
+ function er(e, t) {
3014
3069
  return new RegExp(e, t);
3015
3070
  }
3016
3071
  var Ge;
3017
3072
  if (Ue) {
3018
- var vt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
+ var vt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3019
3074
  Ge = function(t, r) {
3020
3075
  var n;
3021
3076
  vt.lastIndex = r;
@@ -3025,14 +3080,14 @@ if (Ue) {
3025
3080
  } else
3026
3081
  Ge = function(t, r) {
3027
3082
  for (var n = []; ; ) {
3028
- var i = qt(t, r);
3029
- if (i === void 0 || er(i) || Xn(i))
3083
+ var i = Kt(t, r);
3084
+ if (i === void 0 || tr(i) || qn(i))
3030
3085
  break;
3031
3086
  n.push(i), r += i >= 65536 ? 2 : 1;
3032
3087
  }
3033
3088
  return Fe.apply(void 0, n);
3034
3089
  };
3035
- var kn = (
3090
+ var Qn = (
3036
3091
  /** @class */
3037
3092
  function() {
3038
3093
  function e(t, r) {
@@ -3114,7 +3169,7 @@ var kn = (
3114
3169
  return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
3115
3170
  }, e.prototype.parseTagName = function() {
3116
3171
  var t = this.offset();
3117
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3172
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3118
3173
  this.bump();
3119
3174
  return this.message.slice(t, this.offset());
3120
3175
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3143,7 +3198,7 @@ var kn = (
3143
3198
  };
3144
3199
  }, e.prototype.tryParseLeftAngleBracket = function() {
3145
3200
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3146
- !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3201
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3147
3202
  }, e.prototype.tryParseQuote = function(t) {
3148
3203
  if (this.isEOF() || this.char() !== 39)
3149
3204
  return null;
@@ -3230,7 +3285,7 @@ var kn = (
3230
3285
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3231
3286
  if (c.err)
3232
3287
  return c;
3233
- var f = jn(c.val);
3288
+ var f = Zn(c.val);
3234
3289
  if (f.length === 0)
3235
3290
  return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3236
3291
  var d = m(u, this.clonePosition());
@@ -3241,7 +3296,7 @@ var kn = (
3241
3296
  return v;
3242
3297
  var y = m(i, this.clonePosition());
3243
3298
  if (h && gt(h == null ? void 0 : h.style, "::", 0)) {
3244
- var T = Gn(h.style.slice(2));
3299
+ var T = Wn(h.style.slice(2));
3245
3300
  if (a === "number") {
3246
3301
  var c = this.parseNumberSkeletonFromString(T, h.styleLocation);
3247
3302
  return c.err ? c : {
@@ -3251,13 +3306,13 @@ var kn = (
3251
3306
  } else {
3252
3307
  if (T.length === 0)
3253
3308
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3254
- var L = T;
3255
- this.locale && (L = Bn(T, this.locale));
3309
+ var N = T;
3310
+ this.locale && (N = Nn(T, this.locale));
3256
3311
  var f = {
3257
3312
  type: z.dateTime,
3258
- pattern: L,
3313
+ pattern: N,
3259
3314
  location: h.styleLocation,
3260
- parsedOptions: this.shouldParseSkeletons ? xn(L) : {}
3315
+ parsedOptions: this.shouldParseSkeletons ? Pn(N) : {}
3261
3316
  }, I = a === "date" ? E.date : E.time;
3262
3317
  return {
3263
3318
  val: { type: I, value: n, location: y, style: f },
@@ -3362,7 +3417,7 @@ var kn = (
3362
3417
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3363
3418
  var n = [];
3364
3419
  try {
3365
- n = Sn(t);
3420
+ n = An(t);
3366
3421
  } catch (i) {
3367
3422
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3368
3423
  }
@@ -3371,7 +3426,7 @@ var kn = (
3371
3426
  type: z.number,
3372
3427
  tokens: n,
3373
3428
  location: r,
3374
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3429
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3375
3430
  },
3376
3431
  err: null
3377
3432
  };
@@ -3419,7 +3474,7 @@ var kn = (
3419
3474
  break;
3420
3475
  }
3421
3476
  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);
3477
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3423
3478
  }, e.prototype.offset = function() {
3424
3479
  return this.position.offset;
3425
3480
  }, e.prototype.isEOF = function() {
@@ -3434,7 +3489,7 @@ var kn = (
3434
3489
  var t = this.position.offset;
3435
3490
  if (t >= this.message.length)
3436
3491
  throw Error("out of bound");
3437
- var r = qt(this.message, t);
3492
+ var r = Kt(this.message, t);
3438
3493
  if (r === void 0)
3439
3494
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3440
3495
  return r;
@@ -3475,7 +3530,7 @@ var kn = (
3475
3530
  break;
3476
3531
  }
3477
3532
  }, e.prototype.bumpSpace = function() {
3478
- for (; !this.isEOF() && er(this.char()); )
3533
+ for (; !this.isEOF() && tr(this.char()); )
3479
3534
  this.bump();
3480
3535
  }, e.prototype.peek = function() {
3481
3536
  if (this.isEOF())
@@ -3488,86 +3543,36 @@ var kn = (
3488
3543
  function je(e) {
3489
3544
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3490
3545
  }
3491
- function Vn(e) {
3546
+ function Jn(e) {
3492
3547
  return je(e) || e === 47;
3493
3548
  }
3494
- function zn(e) {
3549
+ function Yn(e) {
3495
3550
  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;
3496
3551
  }
3497
- function er(e) {
3552
+ function tr(e) {
3498
3553
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3499
3554
  }
3500
- function Xn(e) {
3555
+ function qn(e) {
3501
3556
  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;
3502
3557
  }
3503
3558
  function ke(e) {
3504
3559
  e.forEach(function(t) {
3505
- if (delete t.location, Vt(t) || zt(t))
3560
+ if (delete t.location, zt(t) || Xt(t))
3506
3561
  for (var r in t.options)
3507
3562
  delete t.options[r].location, ke(t.options[r].value);
3508
- else Gt(t) && Wt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : Xt(t) && ke(t.children);
3563
+ else jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : Wt(t) && ke(t.children);
3509
3564
  });
3510
3565
  }
3511
- function Wn(e, t) {
3566
+ function Kn(e, t) {
3512
3567
  t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3513
- var r = new kn(e, t).parse();
3568
+ var r = new Qn(e, t).parse();
3514
3569
  if (r.err) {
3515
3570
  var n = SyntaxError(p[r.err.kind]);
3516
3571
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3517
3572
  }
3518
3573
  return t != null && t.captureLocation || ke(r.val), r.val;
3519
3574
  }
3520
- function Pe(e, t) {
3521
- var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Qn;
3522
- return i(e, {
3523
- cache: r,
3524
- serializer: n
3525
- });
3526
- }
3527
- function Zn(e) {
3528
- return e == null || typeof e == "number" || typeof e == "boolean";
3529
- }
3530
- function tr(e, t, r, n) {
3531
- var i = Zn(n) ? n : r(n), o = t.get(i);
3532
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3533
- }
3534
- function rr(e, t, r) {
3535
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3536
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3537
- }
3538
- function Ze(e, t, r, n, i) {
3539
- return r.bind(t, e, n, i);
3540
- }
3541
- function Qn(e, t) {
3542
- var r = e.length === 1 ? tr : rr;
3543
- return Ze(e, this, r, t.cache.create(), t.serializer);
3544
- }
3545
- function Jn(e, t) {
3546
- return Ze(e, this, rr, t.cache.create(), t.serializer);
3547
- }
3548
- function Yn(e, t) {
3549
- return Ze(e, this, tr, t.cache.create(), t.serializer);
3550
- }
3551
- var qn = function() {
3552
- return JSON.stringify(arguments);
3553
- };
3554
- function Qe() {
3555
- this.cache = /* @__PURE__ */ Object.create(null);
3556
- }
3557
- Qe.prototype.get = function(e) {
3558
- return this.cache[e];
3559
- };
3560
- Qe.prototype.set = function(e, t) {
3561
- this.cache[e] = t;
3562
- };
3563
- var Kn = {
3564
- create: function() {
3565
- return new Qe();
3566
- }
3567
- }, Be = {
3568
- variadic: Jn,
3569
- monadic: Yn
3570
- }, X;
3575
+ var X;
3571
3576
  (function(e) {
3572
3577
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3573
3578
  })(X || (X = {}));
@@ -3640,7 +3645,7 @@ function fe(e, t, r, n, i, o, s) {
3640
3645
  });
3641
3646
  continue;
3642
3647
  }
3643
- if (vn(u)) {
3648
+ if (Hn(u)) {
3644
3649
  typeof o == "number" && a.push({
3645
3650
  type: _.literal,
3646
3651
  value: r.getNumberFormat(t).format(o)
@@ -3651,14 +3656,14 @@ function fe(e, t, r, n, i, o, s) {
3651
3656
  if (!(i && c in i))
3652
3657
  throw new ti(c, s);
3653
3658
  var f = i[c];
3654
- if (yn(u)) {
3659
+ if (Tn(u)) {
3655
3660
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3656
3661
  type: typeof f == "string" ? _.literal : _.object,
3657
3662
  value: f
3658
3663
  });
3659
3664
  continue;
3660
3665
  }
3661
- if (jt(u)) {
3666
+ if (kt(u)) {
3662
3667
  var d = typeof u.style == "string" ? n.date[u.style] : De(u.style) ? u.style.parsedOptions : void 0;
3663
3668
  a.push({
3664
3669
  type: _.literal,
@@ -3666,7 +3671,7 @@ function fe(e, t, r, n, i, o, s) {
3666
3671
  });
3667
3672
  continue;
3668
3673
  }
3669
- if (kt(u)) {
3674
+ if (Vt(u)) {
3670
3675
  var d = typeof u.style == "string" ? n.time[u.style] : De(u.style) ? u.style.parsedOptions : n.time.medium;
3671
3676
  a.push({
3672
3677
  type: _.literal,
@@ -3674,19 +3679,19 @@ function fe(e, t, r, n, i, o, s) {
3674
3679
  });
3675
3680
  continue;
3676
3681
  }
3677
- if (Gt(u)) {
3678
- var d = typeof u.style == "string" ? n.number[u.style] : Wt(u.style) ? u.style.parsedOptions : void 0;
3682
+ if (jt(u)) {
3683
+ var d = typeof u.style == "string" ? n.number[u.style] : Zt(u.style) ? u.style.parsedOptions : void 0;
3679
3684
  d && d.scale && (f = f * (d.scale || 1)), a.push({
3680
3685
  type: _.literal,
3681
3686
  value: r.getNumberFormat(t, d).format(f)
3682
3687
  });
3683
3688
  continue;
3684
3689
  }
3685
- if (Xt(u)) {
3690
+ if (Wt(u)) {
3686
3691
  var v = u.children, y = u.value, T = i[y];
3687
3692
  if (!ni(T))
3688
3693
  throw new ei(y, "function", s);
3689
- var L = fe(v, t, r, n, i, o), I = T(L.map(function(P) {
3694
+ var N = fe(v, t, r, n, i, o), I = T(N.map(function(P) {
3690
3695
  return P.value;
3691
3696
  }));
3692
3697
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
@@ -3696,14 +3701,14 @@ function fe(e, t, r, n, i, o, s) {
3696
3701
  };
3697
3702
  }));
3698
3703
  }
3699
- if (Vt(u)) {
3704
+ if (zt(u)) {
3700
3705
  var x = u.options[f] || u.options.other;
3701
3706
  if (!x)
3702
3707
  throw new Et(u.value, f, Object.keys(u.options), s);
3703
3708
  a.push.apply(a, fe(x.value, t, r, n, i));
3704
3709
  continue;
3705
3710
  }
3706
- if (zt(u)) {
3711
+ if (Xt(u)) {
3707
3712
  var x = u.options["=".concat(f)];
3708
3713
  if (!x) {
3709
3714
  if (!Intl.PluralRules)
@@ -3751,29 +3756,29 @@ function si(e) {
3751
3756
  dateTime: {},
3752
3757
  pluralRules: {}
3753
3758
  }), {
3754
- getNumberFormat: Pe(function() {
3759
+ getNumberFormat: we(function() {
3755
3760
  for (var t, r = [], n = 0; n < arguments.length; n++)
3756
3761
  r[n] = arguments[n];
3757
3762
  return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3758
3763
  }, {
3759
3764
  cache: Ae(e.number),
3760
- strategy: Be.variadic
3765
+ strategy: Pe.variadic
3761
3766
  }),
3762
- getDateTimeFormat: Pe(function() {
3767
+ getDateTimeFormat: we(function() {
3763
3768
  for (var t, r = [], n = 0; n < arguments.length; n++)
3764
3769
  r[n] = arguments[n];
3765
3770
  return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3766
3771
  }, {
3767
3772
  cache: Ae(e.dateTime),
3768
- strategy: Be.variadic
3773
+ strategy: Pe.variadic
3769
3774
  }),
3770
- getPluralRules: Pe(function() {
3775
+ getPluralRules: we(function() {
3771
3776
  for (var t, r = [], n = 0; n < arguments.length; n++)
3772
3777
  r[n] = arguments[n];
3773
3778
  return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3774
3779
  }, {
3775
3780
  cache: Ae(e.pluralRules),
3776
- strategy: Be.variadic
3781
+ strategy: Pe.variadic
3777
3782
  })
3778
3783
  };
3779
3784
  }
@@ -3781,8 +3786,9 @@ var ai = (
3781
3786
  /** @class */
3782
3787
  function() {
3783
3788
  function e(t, r, n, i) {
3789
+ r === void 0 && (r = e.defaultLocale);
3784
3790
  var o = this;
3785
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3791
+ if (this.formatterCache = {
3786
3792
  number: {},
3787
3793
  dateTime: {},
3788
3794
  pluralRules: {}
@@ -3808,7 +3814,7 @@ var ai = (
3808
3814
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3809
3815
  var s = i || {};
3810
3816
  s.formatters;
3811
- var a = Fr(s, ["formatters"]);
3817
+ var a = Ur(s, ["formatters"]);
3812
3818
  this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3813
3819
  } else
3814
3820
  this.ast = t;
@@ -3827,7 +3833,7 @@ var ai = (
3827
3833
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3828
3834
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3829
3835
  }
3830
- }, e.__parse = Wn, e.formats = {
3836
+ }, e.__parse = Kn, e.formats = {
3831
3837
  number: {
3832
3838
  integer: {
3833
3839
  maximumFractionDigits: 0
@@ -3909,11 +3915,11 @@ function ui(e, t) {
3909
3915
  n = void 0;
3910
3916
  return n;
3911
3917
  }
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) => {
3918
+ const L = {}, hi = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), rr = (e, t) => {
3913
3919
  if (t == null)
3914
3920
  return;
3915
- if (t in N && e in N[t])
3916
- return N[t][e];
3921
+ if (t in L && e in L[t])
3922
+ return L[t][e];
3917
3923
  const r = Ee(t);
3918
3924
  for (let n = 0; n < r.length; n++) {
3919
3925
  const i = r[n], o = ci(i, e);
@@ -3926,11 +3932,11 @@ const ie = ye({});
3926
3932
  function li(e) {
3927
3933
  return Je[e] || null;
3928
3934
  }
3929
- function ir(e) {
3935
+ function nr(e) {
3930
3936
  return e in Je;
3931
3937
  }
3932
3938
  function ci(e, t) {
3933
- if (!ir(e))
3939
+ if (!nr(e))
3934
3940
  return null;
3935
3941
  const r = li(e);
3936
3942
  return ui(r, t);
@@ -3941,12 +3947,12 @@ function fi(e) {
3941
3947
  const t = Ee(e);
3942
3948
  for (let r = 0; r < t.length; r++) {
3943
3949
  const n = t[r];
3944
- if (ir(n))
3950
+ if (nr(n))
3945
3951
  return n;
3946
3952
  }
3947
3953
  }
3948
- function or(e, ...t) {
3949
- delete N[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3954
+ function ir(e, ...t) {
3955
+ delete L[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3950
3956
  }
3951
3957
  Z(
3952
3958
  [ie],
@@ -3957,12 +3963,12 @@ const pe = {};
3957
3963
  function pi(e, t) {
3958
3964
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3959
3965
  }
3960
- function sr(e) {
3966
+ function or(e) {
3961
3967
  return pe[e];
3962
3968
  }
3963
3969
  function mi(e) {
3964
3970
  return Ee(e).map((t) => {
3965
- const r = sr(t);
3971
+ const r = or(t);
3966
3972
  return [t, r ? [...r] : []];
3967
3973
  }).filter(([, t]) => t.length > 0);
3968
3974
  }
@@ -3970,17 +3976,17 @@ function Ve(e) {
3970
3976
  return e == null ? !1 : Ee(e).some(
3971
3977
  (t) => {
3972
3978
  var r;
3973
- return (r = sr(t)) == null ? void 0 : r.size;
3979
+ return (r = or(t)) == null ? void 0 : r.size;
3974
3980
  }
3975
3981
  );
3976
3982
  }
3977
3983
  function di(e, t) {
3978
3984
  return Promise.all(
3979
3985
  t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3980
- ).then((n) => or(e, ...n));
3986
+ ).then((n) => ir(e, ...n));
3981
3987
  }
3982
3988
  const Y = {};
3983
- function ar(e) {
3989
+ function sr(e) {
3984
3990
  if (!Ve(e))
3985
3991
  return e in Y ? Y[e] : Promise.resolve();
3986
3992
  const t = mi(e);
@@ -3990,7 +3996,7 @@ function ar(e) {
3990
3996
  )
3991
3997
  ).then(() => {
3992
3998
  if (Ve(e))
3993
- return ar(e);
3999
+ return sr(e);
3994
4000
  delete Y[e];
3995
4001
  }), Y[e];
3996
4002
  }
@@ -4065,7 +4071,7 @@ const wi = (e) => {
4065
4071
  return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
4066
4072
  () => Oe.set(!0),
4067
4073
  t
4068
- ) : Oe.set(!0), ar(e).then(() => {
4074
+ ) : Oe.set(!0), sr(e).then(() => {
4069
4075
  de.set(e);
4070
4076
  }).finally(() => {
4071
4077
  clearTimeout(r), Oe.set(!1);
@@ -4081,20 +4087,20 @@ const wi = (e) => {
4081
4087
  return i in t ? t[i] : t[i] = e(n);
4082
4088
  };
4083
4089
  };
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) => {
4090
+ var Pi = Object.defineProperty, be = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = 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) => {
4085
4091
  for (var r in t || (t = {}))
4086
- ur.call(t, r) && Tt(e, r, t[r]);
4092
+ ar.call(t, r) && Tt(e, r, t[r]);
4087
4093
  if (be)
4088
4094
  for (var r of be(t))
4089
- hr.call(t, r) && Tt(e, r, t[r]);
4095
+ ur.call(t, r) && Tt(e, r, t[r]);
4090
4096
  return e;
4091
4097
  }, J = (e, t) => {
4092
4098
  var r = {};
4093
4099
  for (var n in e)
4094
- ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4100
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4095
4101
  if (e != null && be)
4096
4102
  for (var n of be(e))
4097
- t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4103
+ t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4098
4104
  return r;
4099
4105
  };
4100
4106
  const re = (e, t) => {
@@ -4139,14 +4145,14 @@ const re = (e, t) => {
4139
4145
  "locale"
4140
4146
  ]);
4141
4147
  return Ai(Ye({ locale: r }, n));
4142
- }, Ni = (e = {}) => {
4148
+ }, Li = (e = {}) => {
4143
4149
  var t = e, {
4144
4150
  locale: r = $()
4145
4151
  } = t, n = J(t, [
4146
4152
  "locale"
4147
4153
  ]);
4148
4154
  return Oi(Ye({ locale: r }, n));
4149
- }, Li = xe(
4155
+ }, Ni = xe(
4150
4156
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4151
4157
  (e, t = $()) => new ai(e, t, W().formats, {
4152
4158
  ignoreTag: W().ignoreTag
@@ -4164,7 +4170,7 @@ const re = (e, t) => {
4164
4170
  throw new Error(
4165
4171
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4166
4172
  );
4167
- let u = nr(e, l);
4173
+ let u = rr(e, l);
4168
4174
  if (!u)
4169
4175
  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;
4170
4176
  else if (typeof u != "string")
@@ -4175,7 +4181,7 @@ const re = (e, t) => {
4175
4181
  return u;
4176
4182
  let c = u;
4177
4183
  try {
4178
- c = Li(u, l).format(a);
4184
+ c = Ni(u, l).format(a);
4179
4185
  } catch (f) {
4180
4186
  f instanceof Error && console.warn(
4181
4187
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4183,7 +4189,7 @@ const re = (e, t) => {
4183
4189
  );
4184
4190
  }
4185
4191
  return c;
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);
4192
+ }, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ci(t).format(e), Di = (e, t) => Ii(t).format(e), Ui = (e, t = $()) => rr(e, t), Fi = Z([Q, ie], () => Mi);
4187
4193
  Z([Q], () => $i);
4188
4194
  Z([Q], () => Ri);
4189
4195
  Z([Q], () => Di);
@@ -4191,7 +4197,7 @@ Z([Q, ie], () => Ui);
4191
4197
  window.emWidgets = { topic: Kr };
4192
4198
  const ue = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4193
4199
  function Ht(e, t) {
4194
- or(e, t);
4200
+ ir(e, t);
4195
4201
  }
4196
4202
  function Gi(e) {
4197
4203
  Q.set(e);
@@ -4235,7 +4241,7 @@ const wt = {
4235
4241
  }
4236
4242
  };
4237
4243
  function ji(e) {
4238
- yr(e, "svelte-1v7b25v", "*,*::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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4244
+ gr(e, "svelte-1v7b25v", "*,*::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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4239
4245
  }
4240
4246
  function ki(e) {
4241
4247
  let t, r, n, i = (
@@ -4245,7 +4251,7 @@ function ki(e) {
4245
4251
  ), o, s;
4246
4252
  return {
4247
4253
  c() {
4248
- t = q("div"), r = q("div"), n = q("button"), o = xr(i), M(n, "class", "PanicButton " + (ue(
4254
+ t = q("div"), r = q("div"), n = q("button"), o = Er(i), M(n, "class", "PanicButton " + (ue(
4249
4255
  /*userAgent*/
4250
4256
  e[6]
4251
4257
  ) !== "PC" ? "PanicButtonMobile" : "")), M(n, "part", "PanicButton " + (ue(
@@ -4272,7 +4278,7 @@ function ki(e) {
4272
4278
  l & /*customtext, $_*/
4273
4279
  33 && i !== (i = /*customtext*/
4274
4280
  (a[0] || /*$_*/
4275
- a[5]("panicButtonString")) + "") && Sr(o, i), l & /*panicLoading*/
4281
+ a[5]("panicButtonString")) + "") && _r(o, i), l & /*panicLoading*/
4276
4282
  16 && nt(
4277
4283
  n,
4278
4284
  "PanicButtonAnimation",
@@ -4291,7 +4297,7 @@ function ki(e) {
4291
4297
  }
4292
4298
  function Vi(e, t, r) {
4293
4299
  let n;
4294
- gr(e, Fi, (g) => r(5, n = g));
4300
+ br(e, Fi, (g) => r(5, n = g));
4295
4301
  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;
4296
4302
  const T = () => {
4297
4303
  fetch(h).then((B) => B.json()).then((B) => {
@@ -4305,7 +4311,7 @@ function Vi(e, t, r) {
4305
4311
  Object.keys(wt).forEach((g) => {
4306
4312
  Ht(g, wt[g]);
4307
4313
  });
4308
- const L = () => {
4314
+ const N = () => {
4309
4315
  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);
4310
4316
  }, I = () => {
4311
4317
  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);
@@ -4332,7 +4338,7 @@ function Vi(e, t, r) {
4332
4338
  );
4333
4339
  });
4334
4340
  };
4335
- wr(() => () => {
4341
+ Hr(() => () => {
4336
4342
  I();
4337
4343
  });
4338
4344
  function oe(g) {
@@ -4340,7 +4346,7 @@ function Vi(e, t, r) {
4340
4346
  u = g, r(2, u);
4341
4347
  });
4342
4348
  }
4343
- function lr(g) {
4349
+ function hr(g) {
4344
4350
  me[g ? "unshift" : "push"](() => {
4345
4351
  c = g, r(3, c);
4346
4352
  });
@@ -4349,7 +4355,7 @@ function Vi(e, t, r) {
4349
4355
  "lang" in g && r(7, i = g.lang), "customtext" in g && r(0, o = g.customtext), "clientstyling" in g && r(8, s = g.clientstyling), "clientstylingurl" in g && r(9, a = g.clientstylingurl), "alternativestyling" in g && r(1, l = g.alternativestyling), "translationurl" in g && r(10, h = g.translationurl);
4350
4356
  }, e.$$.update = () => {
4351
4357
  e.$$.dirty & /*panicButton*/
4352
- 4 && u && L(), e.$$.dirty & /*lang*/
4358
+ 4 && u && N(), e.$$.dirty & /*lang*/
4353
4359
  128 && i && Gi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4354
4360
  264 && s && c && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4355
4361
  520 && a && c && R(), e.$$.dirty & /*translationurl*/
@@ -4367,12 +4373,12 @@ function Vi(e, t, r) {
4367
4373
  a,
4368
4374
  h,
4369
4375
  oe,
4370
- lr
4376
+ hr
4371
4377
  ];
4372
4378
  }
4373
- class zi extends Dr {
4379
+ class zi extends Rr {
4374
4380
  constructor(t) {
4375
- super(), $r(
4381
+ super(), Mr(
4376
4382
  this,
4377
4383
  t,
4378
4384
  Vi,
@@ -4426,7 +4432,7 @@ class zi extends Dr {
4426
4432
  this.$$set({ translationurl: t }), C();
4427
4433
  }
4428
4434
  }
4429
- Rr(zi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4435
+ $r(zi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4430
4436
  export {
4431
4437
  zi as default
4432
4438
  };