@everymatrix/player-account-notifications 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var 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 Ke = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4
+ var dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
5
+ var Ee = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- mr.call(t, r) && Ee(e, r, t[r]);
7
+ dr.call(t, r) && Ee(e, r, t[r]);
8
8
  if (Ke)
9
9
  for (var r of Ke(t))
10
- br.call(t, r) && Ee(e, r, t[r]);
10
+ mr.call(t, r) && Ee(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => pr(e, dr(t));
12
+ }, tt = (e, t) => fr(e, pr(t));
13
13
  var S = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
@@ -27,7 +27,7 @@ var rt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function H() {
30
+ function A() {
31
31
  }
32
32
  function Ot(e) {
33
33
  return e();
@@ -48,14 +48,14 @@ let se;
48
48
  function it(e, t) {
49
49
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
50
50
  }
51
- function gr(e) {
51
+ function br(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function yr(e, ...t) {
54
+ function gr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return H;
58
+ return A;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -63,14 +63,14 @@ function yr(e, ...t) {
63
63
  function w(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function vr(e, t, r) {
67
- const n = xr(e);
66
+ function yr(e, t, r) {
67
+ const n = vr(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = O("style");
70
- i.id = t, i.textContent = r, Er(n, i);
70
+ i.id = t, i.textContent = r, xr(n, i);
71
71
  }
72
72
  }
73
- function xr(e) {
73
+ function vr(e) {
74
74
  if (!e) return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
76
  return t && /** @type {ShadowRoot} */
@@ -79,7 +79,7 @@ function xr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Er(e, t) {
82
+ function xr(e, t) {
83
83
  return w(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -92,7 +92,7 @@ function me(e, t, r) {
92
92
  function ne(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function _r(e, t) {
95
+ function Er(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
@@ -108,17 +108,17 @@ function _e() {
108
108
  function T(e, t, r) {
109
109
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
110
110
  }
111
- function Sr(e) {
111
+ function _r(e) {
112
112
  return Array.from(e.childNodes);
113
113
  }
114
- function Tr(e, t) {
114
+ function Sr(e, t) {
115
115
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
116
116
  t);
117
117
  }
118
118
  function ot(e, t, r, n) {
119
119
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
120
120
  }
121
- function Ar(e) {
121
+ function Tr(e) {
122
122
  const t = {};
123
123
  return e.childNodes.forEach(
124
124
  /** @param {Element} node */
@@ -135,7 +135,7 @@ const j = [], Oe = [];
135
135
  let k = [];
136
136
  const st = [], Hr = /* @__PURE__ */ Promise.resolve();
137
137
  let Ie = !1;
138
- function Pr() {
138
+ function Ar() {
139
139
  Ie || (Ie = !0, Hr.then(N));
140
140
  }
141
141
  function Ce(e) {
@@ -151,7 +151,7 @@ function N() {
151
151
  try {
152
152
  for (; G < j.length; ) {
153
153
  const t = j[G];
154
- G++, K(t), Br(t.$$);
154
+ G++, K(t), Pr(t.$$);
155
155
  }
156
156
  } catch (t) {
157
157
  throw j.length = 0, G = 0, t;
@@ -167,39 +167,39 @@ function N() {
167
167
  st.pop()();
168
168
  Ie = !1, Se.clear(), K(e);
169
169
  }
170
- function Br(e) {
170
+ function Pr(e) {
171
171
  if (e.fragment !== null) {
172
172
  e.update(), re(e.before_update);
173
173
  const t = e.dirty;
174
174
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
175
175
  }
176
176
  }
177
- function wr(e) {
177
+ function Br(e) {
178
178
  const t = [], r = [];
179
179
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
180
180
  }
181
- const Nr = /* @__PURE__ */ new Set();
182
- function Or(e, t) {
183
- e && e.i && (Nr.delete(e), e.i(t));
181
+ const wr = /* @__PURE__ */ new Set();
182
+ function Nr(e, t) {
183
+ e && e.i && (wr.delete(e), e.i(t));
184
184
  }
185
185
  function at(e) {
186
186
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
187
187
  }
188
- function Ir(e, t, r) {
188
+ function Or(e, t, r) {
189
189
  const { fragment: n, after_update: i } = e.$$;
190
190
  n && n.m(t, r), Ce(() => {
191
191
  const o = e.$$.on_mount.map(Ot).filter(ze);
192
192
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
193
193
  }), i.forEach(Ce);
194
194
  }
195
- function Cr(e, t) {
195
+ function Ir(e, t) {
196
196
  const r = e.$$;
197
- r.fragment !== null && (wr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
197
+ r.fragment !== null && (Br(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
198
198
  }
199
- function Lr(e, t) {
200
- e.$$.dirty[0] === -1 && (j.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
199
+ function Cr(e, t) {
200
+ e.$$.dirty[0] === -1 && (j.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
201
201
  }
202
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
202
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
203
203
  const h = Ze;
204
204
  K(e);
205
205
  const u = e.$$ = {
@@ -207,7 +207,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
207
207
  ctx: [],
208
208
  // state
209
209
  props: o,
210
- update: H,
210
+ update: A,
211
211
  not_equal: i,
212
212
  bound: nt(),
213
213
  // lifecycle
@@ -227,14 +227,14 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
227
227
  let l = !1;
228
228
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
229
229
  const p = d.length ? d[0] : f;
230
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Lr(e, c)), f;
230
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Cr(e, c)), f;
231
231
  }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
232
232
  if (t.hydrate) {
233
- const c = Sr(t.target);
233
+ const c = _r(t.target);
234
234
  u.fragment && u.fragment.l(c), c.forEach(ne);
235
235
  } else
236
236
  u.fragment && u.fragment.c();
237
- t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), N();
237
+ t.intro && Nr(e.$$.fragment), Or(e, t.target, t.anchor), N();
238
238
  }
239
239
  K(h);
240
240
  }
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
300
300
  };
301
301
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
302
302
  return;
303
- const r = {}, n = Ar(this);
303
+ const r = {}, n = Tr(this);
304
304
  for (const o of this.$$s)
305
305
  o in n && (r[o] = [t(o)]);
306
306
  for (const o of this.attributes) {
@@ -389,7 +389,7 @@ function he(e, t, r, n) {
389
389
  return t;
390
390
  }
391
391
  }
392
- function $r(e, t, r, n, i, o) {
392
+ function Mr(e, t, r, n, i, o) {
393
393
  let s = class extends Lt {
394
394
  constructor() {
395
395
  super(e, r, i), this.$$p_d = t;
@@ -420,7 +420,7 @@ function $r(e, t, r, n, i, o) {
420
420
  }), e.element = /** @type {any} */
421
421
  s, s;
422
422
  }
423
- class Rr {
423
+ class $r {
424
424
  constructor() {
425
425
  /**
426
426
  * ### PRIVATE API
@@ -441,7 +441,7 @@ class Rr {
441
441
  }
442
442
  /** @returns {void} */
443
443
  $destroy() {
444
- Cr(this, 1), this.$destroy = H;
444
+ Ir(this, 1), this.$destroy = A;
445
445
  }
446
446
  /**
447
447
  * @template {Extract<keyof Events, string>} K
@@ -451,7 +451,7 @@ class Rr {
451
451
  */
452
452
  $on(t, r) {
453
453
  if (!ze(r))
454
- return H;
454
+ return A;
455
455
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
456
456
  return n.push(r), () => {
457
457
  const i = n.indexOf(r);
@@ -463,11 +463,11 @@ class Rr {
463
463
  * @returns {void}
464
464
  */
465
465
  $set(t) {
466
- this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
467
467
  }
468
468
  }
469
- const Ur = "4";
470
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
469
+ const Rr = "4";
470
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
471
471
  var Le = function(e, t) {
472
472
  return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
473
473
  r.__proto__ = n;
@@ -493,7 +493,7 @@ var v = function() {
493
493
  return t;
494
494
  }, v.apply(this, arguments);
495
495
  };
496
- function Dr(e, t) {
496
+ function Ur(e, t) {
497
497
  var r = {};
498
498
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
499
499
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -658,20 +658,19 @@ var Ut = {
658
658
  Promise: void 0,
659
659
  useDeprecatedSynchronousErrorHandling: !1,
660
660
  useDeprecatedNextContext: !1
661
- }, Dt = {
661
+ }, Dr = {
662
662
  setTimeout: function(e, t) {
663
663
  for (var r = [], n = 2; n < arguments.length; n++)
664
664
  r[n - 2] = arguments[n];
665
665
  return setTimeout.apply(void 0, V([e, t], $e(r)));
666
666
  },
667
667
  clearTimeout: function(e) {
668
- var t = Dt.delegate;
669
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
668
+ return clearTimeout(e);
670
669
  },
671
670
  delegate: void 0
672
671
  };
673
672
  function Gr(e) {
674
- Dt.setTimeout(function() {
673
+ Dr.setTimeout(function() {
675
674
  throw e;
676
675
  });
677
676
  }
@@ -680,7 +679,7 @@ function ht() {
680
679
  function le(e) {
681
680
  e();
682
681
  }
683
- var Gt = function(e) {
682
+ var Dt = function(e) {
684
683
  C(t, e);
685
684
  function t(r) {
686
685
  var n = e.call(this) || this;
@@ -712,7 +711,7 @@ var Gt = function(e) {
712
711
  }
713
712
  }, t;
714
713
  }(be), Fr = Function.prototype.bind;
715
- function Ae(e, t) {
714
+ function He(e, t) {
716
715
  return Fr.call(e, t);
717
716
  }
718
717
  var jr = function() {
@@ -761,15 +760,15 @@ var jr = function() {
761
760
  o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
762
761
  return o.unsubscribe();
763
762
  }, s = {
764
- next: r.next && Ae(r.next, a),
765
- error: r.error && Ae(r.error, a),
766
- complete: r.complete && Ae(r.complete, a)
763
+ next: r.next && He(r.next, a),
764
+ error: r.error && He(r.error, a),
765
+ complete: r.complete && He(r.complete, a)
767
766
  }) : s = r;
768
767
  }
769
768
  return o.destination = new jr(s), o;
770
769
  }
771
770
  return t;
772
- }(Gt);
771
+ }(Dt);
773
772
  function ae(e) {
774
773
  Gr(e);
775
774
  }
@@ -862,13 +861,13 @@ function Zr(e) {
862
861
  return e && I(e.next) && I(e.error) && I(e.complete);
863
862
  }
864
863
  function Qr(e) {
865
- return e && e instanceof Gt || Zr(e) && Rt(e);
864
+ return e && e instanceof Dt || Zr(e) && Rt(e);
866
865
  }
867
866
  var Jr = Mt(function(e) {
868
867
  return function() {
869
868
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
870
869
  };
871
- }), Ft = function(e) {
870
+ }), Gt = function(e) {
872
871
  C(t, e);
873
872
  function t() {
874
873
  var r = e.call(this) || this;
@@ -966,15 +965,15 @@ var Jr = Mt(function(e) {
966
965
  var n, i;
967
966
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
968
967
  }, t;
969
- }(Ft), jt = {
968
+ }(Gt), Ft = {
970
969
  now: function() {
971
- return (jt.delegate || Date).now();
970
+ return (Ft.delegate || Date).now();
972
971
  },
973
972
  delegate: void 0
974
973
  }, qr = function(e) {
975
974
  C(t, e);
976
975
  function t(r, n, i) {
977
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
976
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
978
977
  var o = e.call(this) || this;
979
978
  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;
980
979
  }
@@ -994,7 +993,7 @@ var Jr = Mt(function(e) {
994
993
  u && o.splice(0, u + 1);
995
994
  }
996
995
  }, t;
997
- }(Ft);
996
+ }(Gt);
998
997
  const pt = [], dt = {}, Yr = (e, t = 0) => {
999
998
  if (pt.indexOf(e) == -1) {
1000
999
  const r = new qr(t);
@@ -1007,7 +1006,7 @@ function Kr(e, t) {
1007
1006
  subscribe: ge(e, t).subscribe
1008
1007
  };
1009
1008
  }
1010
- function ge(e, t = H) {
1009
+ function ge(e, t = A) {
1011
1010
  let r;
1012
1011
  const n = /* @__PURE__ */ new Set();
1013
1012
  function i(a) {
@@ -1025,9 +1024,9 @@ function ge(e, t = H) {
1025
1024
  function o(a) {
1026
1025
  i(a(e));
1027
1026
  }
1028
- function s(a, h = H) {
1027
+ function s(a, h = A) {
1029
1028
  const u = [a, h];
1030
- return n.add(u), n.size === 1 && (r = t(i, o) || H), a(e), () => {
1029
+ return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1031
1030
  n.delete(u), n.size === 0 && r && (r(), r = null);
1032
1031
  };
1033
1032
  }
@@ -1041,18 +1040,18 @@ function Q(e, t, r) {
1041
1040
  return Kr(r, (s, a) => {
1042
1041
  let h = !1;
1043
1042
  const u = [];
1044
- let l = 0, c = H;
1043
+ let l = 0, c = A;
1045
1044
  const f = () => {
1046
1045
  if (l)
1047
1046
  return;
1048
1047
  c();
1049
1048
  const p = t(n ? u[0] : u, s, a);
1050
- o ? s(p) : c = ze(p) ? p : H;
1049
+ o ? s(p) : c = ze(p) ? p : A;
1051
1050
  }, d = i.map(
1052
- (p, m) => yr(
1051
+ (p, m) => gr(
1053
1052
  p,
1054
- (A) => {
1055
- u[m] = A, l &= ~(1 << m), h && f();
1053
+ (H) => {
1054
+ u[m] = H, l &= ~(1 << m), h && f();
1056
1055
  },
1057
1056
  () => {
1058
1057
  l |= 1 << m;
@@ -1106,7 +1105,7 @@ function cn(e) {
1106
1105
  function mt(e) {
1107
1106
  return Object.keys(e).concat(cn(e));
1108
1107
  }
1109
- function kt(e, t) {
1108
+ function jt(e, t) {
1110
1109
  try {
1111
1110
  return t in e;
1112
1111
  } catch (r) {
@@ -1114,14 +1113,14 @@ function kt(e, t) {
1114
1113
  }
1115
1114
  }
1116
1115
  function fn(e, t) {
1117
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1118
1117
  }
1119
1118
  function pn(e, t, r) {
1120
1119
  var n = {};
1121
1120
  return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1122
1121
  n[i] = ee(e[i], r);
1123
1122
  }), mt(t).forEach(function(i) {
1124
- fn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1123
+ fn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1125
1124
  }), n;
1126
1125
  }
1127
1126
  function X(e, t, r) {
@@ -1138,7 +1137,57 @@ X.all = function(t, r) {
1138
1137
  };
1139
1138
  var dn = X, mn = dn;
1140
1139
  const bn = /* @__PURE__ */ en(mn);
1141
- var g;
1140
+ function Ae(e, t) {
1141
+ var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1142
+ return i(e, {
1143
+ cache: r,
1144
+ serializer: n
1145
+ });
1146
+ }
1147
+ function gn(e) {
1148
+ return e == null || typeof e == "number" || typeof e == "boolean";
1149
+ }
1150
+ function kt(e, t, r, n) {
1151
+ var i = gn(n) ? n : r(n), o = t.get(i);
1152
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1153
+ }
1154
+ function Vt(e, t, r) {
1155
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1157
+ }
1158
+ function Qe(e, t, r, n, i) {
1159
+ return r.bind(t, e, n, i);
1160
+ }
1161
+ function yn(e, t) {
1162
+ var r = e.length === 1 ? kt : Vt;
1163
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1164
+ }
1165
+ function vn(e, t) {
1166
+ return Qe(e, this, Vt, t.cache.create(), t.serializer);
1167
+ }
1168
+ function xn(e, t) {
1169
+ return Qe(e, this, kt, t.cache.create(), t.serializer);
1170
+ }
1171
+ var En = function() {
1172
+ return JSON.stringify(arguments);
1173
+ };
1174
+ function Je() {
1175
+ this.cache = /* @__PURE__ */ Object.create(null);
1176
+ }
1177
+ Je.prototype.get = function(e) {
1178
+ return this.cache[e];
1179
+ };
1180
+ Je.prototype.set = function(e, t) {
1181
+ this.cache[e] = t;
1182
+ };
1183
+ var _n = {
1184
+ create: function() {
1185
+ return new Je();
1186
+ }
1187
+ }, Pe = {
1188
+ variadic: vn,
1189
+ monadic: xn
1190
+ }, g;
1142
1191
  (function(e) {
1143
1192
  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";
1144
1193
  })(g || (g = {}));
@@ -1153,40 +1202,40 @@ var W;
1153
1202
  function bt(e) {
1154
1203
  return e.type === x.literal;
1155
1204
  }
1156
- function gn(e) {
1205
+ function Sn(e) {
1157
1206
  return e.type === x.argument;
1158
1207
  }
1159
- function Vt(e) {
1208
+ function Xt(e) {
1160
1209
  return e.type === x.number;
1161
1210
  }
1162
- function Xt(e) {
1211
+ function Wt(e) {
1163
1212
  return e.type === x.date;
1164
1213
  }
1165
- function Wt(e) {
1214
+ function zt(e) {
1166
1215
  return e.type === x.time;
1167
1216
  }
1168
- function zt(e) {
1217
+ function Zt(e) {
1169
1218
  return e.type === x.select;
1170
1219
  }
1171
- function Zt(e) {
1220
+ function Qt(e) {
1172
1221
  return e.type === x.plural;
1173
1222
  }
1174
- function yn(e) {
1223
+ function Tn(e) {
1175
1224
  return e.type === x.pound;
1176
1225
  }
1177
- function Qt(e) {
1226
+ function Jt(e) {
1178
1227
  return e.type === x.tag;
1179
1228
  }
1180
- function Jt(e) {
1229
+ function qt(e) {
1181
1230
  return !!(e && typeof e == "object" && e.type === W.number);
1182
1231
  }
1183
1232
  function De(e) {
1184
1233
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1185
1234
  }
1186
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
1187
- function xn(e) {
1235
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1236
+ function An(e) {
1188
1237
  var t = {};
1189
- return e.replace(vn, function(r) {
1238
+ return e.replace(Hn, function(r) {
1190
1239
  var n = r.length;
1191
1240
  switch (r[0]) {
1192
1241
  case "G":
@@ -1275,11 +1324,11 @@ function xn(e) {
1275
1324
  return "";
1276
1325
  }), t;
1277
1326
  }
1278
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1279
- function _n(e) {
1327
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1328
+ function Bn(e) {
1280
1329
  if (e.length === 0)
1281
1330
  throw new Error("Number skeleton cannot be empty");
1282
- for (var t = e.split(En).filter(function(f) {
1331
+ for (var t = e.split(Pn).filter(function(f) {
1283
1332
  return f.length > 0;
1284
1333
  }), r = [], n = 0, i = t; n < i.length; n++) {
1285
1334
  var o = i[n], s = o.split("/");
@@ -1294,17 +1343,17 @@ function _n(e) {
1294
1343
  }
1295
1344
  return r;
1296
1345
  }
1297
- function Sn(e) {
1346
+ function wn(e) {
1298
1347
  return e.replace(/^(.*?)-/, "");
1299
1348
  }
1300
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1349
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1301
1350
  function yt(e) {
1302
1351
  var t = {};
1303
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1352
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1304
1353
  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)), "";
1305
1354
  }), t;
1306
1355
  }
1307
- function er(e) {
1356
+ function tr(e) {
1308
1357
  switch (e) {
1309
1358
  case "sign-auto":
1310
1359
  return {
@@ -1344,7 +1393,7 @@ function er(e) {
1344
1393
  };
1345
1394
  }
1346
1395
  }
1347
- function An(e) {
1396
+ function On(e) {
1348
1397
  var t;
1349
1398
  if (e[0] === "E" && e[1] === "E" ? (t = {
1350
1399
  notation: "engineering"
@@ -1352,17 +1401,17 @@ function An(e) {
1352
1401
  notation: "scientific"
1353
1402
  }, e = e.slice(1)), t) {
1354
1403
  var r = e.slice(0, 2);
1355
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1404
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1356
1405
  throw new Error("Malformed concise eng/scientific notation");
1357
1406
  t.minimumIntegerDigits = e.length;
1358
1407
  }
1359
1408
  return t;
1360
1409
  }
1361
1410
  function vt(e) {
1362
- var t = {}, r = er(e);
1411
+ var t = {}, r = tr(e);
1363
1412
  return r || t;
1364
1413
  }
1365
- function Hn(e) {
1414
+ function In(e) {
1366
1415
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1367
1416
  var i = n[r];
1368
1417
  switch (i.stem) {
@@ -1386,7 +1435,7 @@ function Hn(e) {
1386
1435
  continue;
1387
1436
  case "measure-unit":
1388
1437
  case "unit":
1389
- t.style = "unit", t.unit = Sn(i.options[0]);
1438
+ t.style = "unit", t.unit = wn(i.options[0]);
1390
1439
  continue;
1391
1440
  case "compact-short":
1392
1441
  case "K":
@@ -1448,7 +1497,7 @@ function Hn(e) {
1448
1497
  case "integer-width":
1449
1498
  if (i.options.length > 1)
1450
1499
  throw new RangeError("integer-width stems only accept a single optional option");
1451
- i.options[0].replace(Tn, function(h, u, l, c, f, d) {
1500
+ i.options[0].replace(Nn, function(h, u, l, c, f, d) {
1452
1501
  if (u)
1453
1502
  t.minimumIntegerDigits = l.length;
1454
1503
  else {
@@ -1461,7 +1510,7 @@ function Hn(e) {
1461
1510
  });
1462
1511
  continue;
1463
1512
  }
1464
- if (Kt.test(i.stem)) {
1513
+ if (er.test(i.stem)) {
1465
1514
  t.minimumIntegerDigits = i.stem.length;
1466
1515
  continue;
1467
1516
  }
@@ -1475,13 +1524,13 @@ function Hn(e) {
1475
1524
  o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1476
1525
  continue;
1477
1526
  }
1478
- if (Yt.test(i.stem)) {
1527
+ if (Kt.test(i.stem)) {
1479
1528
  t = v(v({}, t), yt(i.stem));
1480
1529
  continue;
1481
1530
  }
1482
- var s = er(i.stem);
1531
+ var s = tr(i.stem);
1483
1532
  s && (t = v(v({}, t), s));
1484
- var a = An(i.stem);
1533
+ var a = On(i.stem);
1485
1534
  a && (t = v(v({}, t), a));
1486
1535
  }
1487
1536
  return t;
@@ -1491,6 +1540,12 @@ var ue = {
1491
1540
  "H",
1492
1541
  "h"
1493
1542
  ],
1543
+ 419: [
1544
+ "h",
1545
+ "H",
1546
+ "hB",
1547
+ "hb"
1548
+ ],
1494
1549
  AC: [
1495
1550
  "H",
1496
1551
  "h",
@@ -1539,8 +1594,8 @@ var ue = {
1539
1594
  "hB"
1540
1595
  ],
1541
1596
  AR: [
1542
- "H",
1543
1597
  "h",
1598
+ "H",
1544
1599
  "hB",
1545
1600
  "hb"
1546
1601
  ],
@@ -1630,9 +1685,9 @@ var ue = {
1630
1685
  "H"
1631
1686
  ],
1632
1687
  BO: [
1688
+ "h",
1633
1689
  "H",
1634
1690
  "hB",
1635
- "h",
1636
1691
  "hb"
1637
1692
  ],
1638
1693
  BQ: [
@@ -1709,8 +1764,8 @@ var ue = {
1709
1764
  "hB"
1710
1765
  ],
1711
1766
  CL: [
1712
- "H",
1713
1767
  "h",
1768
+ "H",
1714
1769
  "hB",
1715
1770
  "hb"
1716
1771
  ],
@@ -1735,14 +1790,14 @@ var ue = {
1735
1790
  "H"
1736
1791
  ],
1737
1792
  CR: [
1738
- "H",
1739
1793
  "h",
1794
+ "H",
1740
1795
  "hB",
1741
1796
  "hb"
1742
1797
  ],
1743
1798
  CU: [
1744
- "H",
1745
1799
  "h",
1800
+ "H",
1746
1801
  "hB",
1747
1802
  "hb"
1748
1803
  ],
@@ -1811,9 +1866,9 @@ var ue = {
1811
1866
  "hb"
1812
1867
  ],
1813
1868
  EC: [
1869
+ "h",
1814
1870
  "H",
1815
1871
  "hB",
1816
- "h",
1817
1872
  "hb"
1818
1873
  ],
1819
1874
  EE: [
@@ -1949,8 +2004,8 @@ var ue = {
1949
2004
  "hB"
1950
2005
  ],
1951
2006
  GT: [
1952
- "H",
1953
2007
  "h",
2008
+ "H",
1954
2009
  "hB",
1955
2010
  "hb"
1956
2011
  ],
@@ -1977,8 +2032,8 @@ var ue = {
1977
2032
  "H"
1978
2033
  ],
1979
2034
  HN: [
1980
- "H",
1981
2035
  "h",
2036
+ "H",
1982
2037
  "hB",
1983
2038
  "hb"
1984
2039
  ],
@@ -2292,8 +2347,8 @@ var ue = {
2292
2347
  "hB"
2293
2348
  ],
2294
2349
  MX: [
2295
- "H",
2296
2350
  "h",
2351
+ "H",
2297
2352
  "hB",
2298
2353
  "hb"
2299
2354
  ],
@@ -2333,8 +2388,8 @@ var ue = {
2333
2388
  "hB"
2334
2389
  ],
2335
2390
  NI: [
2336
- "H",
2337
2391
  "h",
2392
+ "H",
2338
2393
  "hB",
2339
2394
  "hb"
2340
2395
  ],
@@ -2382,9 +2437,9 @@ var ue = {
2382
2437
  "hb"
2383
2438
  ],
2384
2439
  PE: [
2440
+ "h",
2385
2441
  "H",
2386
2442
  "hB",
2387
- "h",
2388
2443
  "hb"
2389
2444
  ],
2390
2445
  PF: [
@@ -2442,8 +2497,8 @@ var ue = {
2442
2497
  "H"
2443
2498
  ],
2444
2499
  PY: [
2445
- "H",
2446
2500
  "h",
2501
+ "H",
2447
2502
  "hB",
2448
2503
  "hb"
2449
2504
  ],
@@ -2556,8 +2611,8 @@ var ue = {
2556
2611
  "hB"
2557
2612
  ],
2558
2613
  SV: [
2559
- "H",
2560
2614
  "h",
2615
+ "H",
2561
2616
  "hB",
2562
2617
  "hb"
2563
2618
  ],
@@ -2679,8 +2734,8 @@ var ue = {
2679
2734
  "hB"
2680
2735
  ],
2681
2736
  UY: [
2682
- "H",
2683
2737
  "h",
2738
+ "H",
2684
2739
  "hB",
2685
2740
  "hb"
2686
2741
  ],
@@ -2788,37 +2843,37 @@ var ue = {
2788
2843
  "H",
2789
2844
  "hB"
2790
2845
  ],
2791
- "es-BO": [
2792
- "H",
2846
+ "en-HK": [
2793
2847
  "h",
2794
- "hB",
2795
- "hb"
2848
+ "hb",
2849
+ "H",
2850
+ "hB"
2796
2851
  ],
2797
- "es-BR": [
2852
+ "en-IL": [
2798
2853
  "H",
2799
2854
  "h",
2800
- "hB",
2801
- "hb"
2855
+ "hb",
2856
+ "hB"
2802
2857
  ],
2803
- "es-EC": [
2804
- "H",
2858
+ "en-MY": [
2805
2859
  "h",
2806
- "hB",
2807
- "hb"
2860
+ "hb",
2861
+ "H",
2862
+ "hB"
2808
2863
  ],
2809
- "es-ES": [
2864
+ "es-BR": [
2810
2865
  "H",
2811
2866
  "h",
2812
2867
  "hB",
2813
2868
  "hb"
2814
2869
  ],
2815
- "es-GQ": [
2870
+ "es-ES": [
2816
2871
  "H",
2817
2872
  "h",
2818
2873
  "hB",
2819
2874
  "hb"
2820
2875
  ],
2821
- "es-PE": [
2876
+ "es-GQ": [
2822
2877
  "H",
2823
2878
  "h",
2824
2879
  "hB",
@@ -2895,13 +2950,13 @@ var ue = {
2895
2950
  "h"
2896
2951
  ]
2897
2952
  };
2898
- function Pn(e, t) {
2953
+ function Cn(e, t) {
2899
2954
  for (var r = "", n = 0; n < e.length; n++) {
2900
2955
  var i = e.charAt(n);
2901
2956
  if (i === "j") {
2902
2957
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2903
2958
  o++, n++;
2904
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
2959
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ln(t);
2905
2960
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2906
2961
  r += h;
2907
2962
  for (; s-- > 0; )
@@ -2910,7 +2965,7 @@ function Pn(e, t) {
2910
2965
  }
2911
2966
  return r;
2912
2967
  }
2913
- function Bn(e) {
2968
+ function Ln(e) {
2914
2969
  var t = e.hourCycle;
2915
2970
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2916
2971
  e.hourCycles && // @ts-ignore
@@ -2932,20 +2987,20 @@ function Bn(e) {
2932
2987
  var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
2933
2988
  return i[0];
2934
2989
  }
2935
- var He, wn = new RegExp("^".concat(qt.source, "*")), Nn = new RegExp("".concat(qt.source, "*$"));
2990
+ var Be, Mn = new RegExp("^".concat(Yt.source, "*")), $n = new RegExp("".concat(Yt.source, "*$"));
2936
2991
  function y(e, t) {
2937
2992
  return { start: e, end: t };
2938
2993
  }
2939
- var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Cn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Un = Rn ? Number.isSafeInteger : function(e) {
2994
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2940
2995
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2941
2996
  }, Ge = !0;
2942
2997
  try {
2943
- var Dn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
- Ge = ((He = Dn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2998
+ var Xn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2999
+ Ge = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2945
3000
  } catch (e) {
2946
3001
  Ge = !1;
2947
3002
  }
2948
- var xt = On ? (
3003
+ var xt = Rn ? (
2949
3004
  // Native
2950
3005
  function(t, r, n) {
2951
3006
  return t.startsWith(r, n);
@@ -2955,7 +3010,7 @@ var xt = On ? (
2955
3010
  function(t, r, n) {
2956
3011
  return t.slice(n, n + r.length) === r;
2957
3012
  }
2958
- ), Fe = In ? String.fromCodePoint : (
3013
+ ), Fe = Un ? String.fromCodePoint : (
2959
3014
  // IE11
2960
3015
  function() {
2961
3016
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2969,7 +3024,7 @@ var xt = On ? (
2969
3024
  }
2970
3025
  ), Et = (
2971
3026
  // native
2972
- Cn ? Object.fromEntries : (
3027
+ Dn ? Object.fromEntries : (
2973
3028
  // Ponyfill
2974
3029
  function(t) {
2975
3030
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2979,7 +3034,7 @@ var xt = On ? (
2979
3034
  return r;
2980
3035
  }
2981
3036
  )
2982
- ), tr = Ln ? (
3037
+ ), rr = Gn ? (
2983
3038
  // Native
2984
3039
  function(t, r) {
2985
3040
  return t.codePointAt(r);
@@ -2993,7 +3048,7 @@ var xt = On ? (
2993
3048
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2994
3049
  }
2995
3050
  }
2996
- ), Gn = Mn ? (
3051
+ ), Wn = Fn ? (
2997
3052
  // Native
2998
3053
  function(t) {
2999
3054
  return t.trimStart();
@@ -3001,9 +3056,9 @@ var xt = On ? (
3001
3056
  ) : (
3002
3057
  // Ponyfill
3003
3058
  function(t) {
3004
- return t.replace(wn, "");
3059
+ return t.replace(Mn, "");
3005
3060
  }
3006
- ), Fn = $n ? (
3061
+ ), zn = jn ? (
3007
3062
  // Native
3008
3063
  function(t) {
3009
3064
  return t.trimEnd();
@@ -3011,15 +3066,15 @@ var xt = On ? (
3011
3066
  ) : (
3012
3067
  // Ponyfill
3013
3068
  function(t) {
3014
- return t.replace(Nn, "");
3069
+ return t.replace($n, "");
3015
3070
  }
3016
3071
  );
3017
- function rr(e, t) {
3072
+ function nr(e, t) {
3018
3073
  return new RegExp(e, t);
3019
3074
  }
3020
3075
  var je;
3021
3076
  if (Ge) {
3022
- var _t = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
+ var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3023
3078
  je = function(t, r) {
3024
3079
  var n;
3025
3080
  _t.lastIndex = r;
@@ -3029,14 +3084,14 @@ if (Ge) {
3029
3084
  } else
3030
3085
  je = function(t, r) {
3031
3086
  for (var n = []; ; ) {
3032
- var i = tr(t, r);
3033
- if (i === void 0 || nr(i) || Xn(i))
3087
+ var i = rr(t, r);
3088
+ if (i === void 0 || ir(i) || qn(i))
3034
3089
  break;
3035
3090
  n.push(i), r += i >= 65536 ? 2 : 1;
3036
3091
  }
3037
3092
  return Fe.apply(void 0, n);
3038
3093
  };
3039
- var jn = (
3094
+ var Zn = (
3040
3095
  /** @class */
3041
3096
  function() {
3042
3097
  function e(t, r) {
@@ -3118,7 +3173,7 @@ var jn = (
3118
3173
  return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3119
3174
  }, e.prototype.parseTagName = function() {
3120
3175
  var t = this.offset();
3121
- for (this.bump(); !this.isEOF() && Vn(this.char()); )
3176
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3122
3177
  this.bump();
3123
3178
  return this.message.slice(t, this.offset());
3124
3179
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3147,7 +3202,7 @@ var jn = (
3147
3202
  };
3148
3203
  }, e.prototype.tryParseLeftAngleBracket = function() {
3149
3204
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3150
- !kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3205
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3151
3206
  }, e.prototype.tryParseQuote = function(t) {
3152
3207
  if (this.isEOF() || this.char() !== 39)
3153
3208
  return null;
@@ -3234,7 +3289,7 @@ var jn = (
3234
3289
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3235
3290
  if (c.err)
3236
3291
  return c;
3237
- var f = Fn(c.val);
3292
+ var f = zn(c.val);
3238
3293
  if (f.length === 0)
3239
3294
  return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3240
3295
  var d = y(l, this.clonePosition());
@@ -3245,23 +3300,23 @@ var jn = (
3245
3300
  return p;
3246
3301
  var m = y(i, this.clonePosition());
3247
3302
  if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3248
- var A = Gn(u.style.slice(2));
3303
+ var H = Wn(u.style.slice(2));
3249
3304
  if (a === "number") {
3250
- var c = this.parseNumberSkeletonFromString(A, u.styleLocation);
3305
+ var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
3251
3306
  return c.err ? c : {
3252
3307
  val: { type: x.number, value: n, location: m, style: c.val },
3253
3308
  err: null
3254
3309
  };
3255
3310
  } else {
3256
- if (A.length === 0)
3311
+ if (H.length === 0)
3257
3312
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3258
- var $ = A;
3259
- this.locale && ($ = Pn(A, this.locale));
3313
+ var $ = H;
3314
+ this.locale && ($ = Cn(H, this.locale));
3260
3315
  var f = {
3261
3316
  type: W.dateTime,
3262
3317
  pattern: $,
3263
3318
  location: u.styleLocation,
3264
- parsedOptions: this.shouldParseSkeletons ? xn($) : {}
3319
+ parsedOptions: this.shouldParseSkeletons ? An($) : {}
3265
3320
  }, L = a === "date" ? x.date : x.time;
3266
3321
  return {
3267
3322
  val: { type: L, value: n, location: m, style: f },
@@ -3366,7 +3421,7 @@ var jn = (
3366
3421
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3367
3422
  var n = [];
3368
3423
  try {
3369
- n = _n(t);
3424
+ n = Bn(t);
3370
3425
  } catch (i) {
3371
3426
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3372
3427
  }
@@ -3375,7 +3430,7 @@ var jn = (
3375
3430
  type: W.number,
3376
3431
  tokens: n,
3377
3432
  location: r,
3378
- parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3433
+ parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3379
3434
  },
3380
3435
  err: null
3381
3436
  };
@@ -3423,7 +3478,7 @@ var jn = (
3423
3478
  break;
3424
3479
  }
3425
3480
  var h = y(i, this.clonePosition());
3426
- return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3481
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3427
3482
  }, e.prototype.offset = function() {
3428
3483
  return this.position.offset;
3429
3484
  }, e.prototype.isEOF = function() {
@@ -3438,7 +3493,7 @@ var jn = (
3438
3493
  var t = this.position.offset;
3439
3494
  if (t >= this.message.length)
3440
3495
  throw Error("out of bound");
3441
- var r = tr(this.message, t);
3496
+ var r = rr(this.message, t);
3442
3497
  if (r === void 0)
3443
3498
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3444
3499
  return r;
@@ -3479,7 +3534,7 @@ var jn = (
3479
3534
  break;
3480
3535
  }
3481
3536
  }, e.prototype.bumpSpace = function() {
3482
- for (; !this.isEOF() && nr(this.char()); )
3537
+ for (; !this.isEOF() && ir(this.char()); )
3483
3538
  this.bump();
3484
3539
  }, e.prototype.peek = function() {
3485
3540
  if (this.isEOF())
@@ -3492,86 +3547,36 @@ var jn = (
3492
3547
  function ke(e) {
3493
3548
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3494
3549
  }
3495
- function kn(e) {
3550
+ function Qn(e) {
3496
3551
  return ke(e) || e === 47;
3497
3552
  }
3498
- function Vn(e) {
3553
+ function Jn(e) {
3499
3554
  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;
3500
3555
  }
3501
- function nr(e) {
3556
+ function ir(e) {
3502
3557
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3503
3558
  }
3504
- function Xn(e) {
3559
+ function qn(e) {
3505
3560
  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;
3506
3561
  }
3507
3562
  function Ve(e) {
3508
3563
  e.forEach(function(t) {
3509
- if (delete t.location, zt(t) || Zt(t))
3564
+ if (delete t.location, Zt(t) || Qt(t))
3510
3565
  for (var r in t.options)
3511
3566
  delete t.options[r].location, Ve(t.options[r].value);
3512
- else Vt(t) && Jt(t.style) || (Xt(t) || Wt(t)) && De(t.style) ? delete t.style.location : Qt(t) && Ve(t.children);
3567
+ else Xt(t) && qt(t.style) || (Wt(t) || zt(t)) && De(t.style) ? delete t.style.location : Jt(t) && Ve(t.children);
3513
3568
  });
3514
3569
  }
3515
- function Wn(e, t) {
3570
+ function Yn(e, t) {
3516
3571
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3517
- var r = new jn(e, t).parse();
3572
+ var r = new Zn(e, t).parse();
3518
3573
  if (r.err) {
3519
3574
  var n = SyntaxError(g[r.err.kind]);
3520
3575
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3521
3576
  }
3522
3577
  return t != null && t.captureLocation || Ve(r.val), r.val;
3523
3578
  }
3524
- function Pe(e, t) {
3525
- var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
3526
- return i(e, {
3527
- cache: r,
3528
- serializer: n
3529
- });
3530
- }
3531
- function zn(e) {
3532
- return e == null || typeof e == "number" || typeof e == "boolean";
3533
- }
3534
- function ir(e, t, r, n) {
3535
- var i = zn(n) ? n : r(n), o = t.get(i);
3536
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3537
- }
3538
- function or(e, t, r) {
3539
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3540
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3541
- }
3542
- function Qe(e, t, r, n, i) {
3543
- return r.bind(t, e, n, i);
3544
- }
3545
- function Zn(e, t) {
3546
- var r = e.length === 1 ? ir : or;
3547
- return Qe(e, this, r, t.cache.create(), t.serializer);
3548
- }
3549
- function Qn(e, t) {
3550
- return Qe(e, this, or, t.cache.create(), t.serializer);
3551
- }
3552
- function Jn(e, t) {
3553
- return Qe(e, this, ir, t.cache.create(), t.serializer);
3554
- }
3555
- var qn = function() {
3556
- return JSON.stringify(arguments);
3557
- };
3558
- function Je() {
3559
- this.cache = /* @__PURE__ */ Object.create(null);
3560
- }
3561
- Je.prototype.get = function(e) {
3562
- return this.cache[e];
3563
- };
3564
- Je.prototype.set = function(e, t) {
3565
- this.cache[e] = t;
3566
- };
3567
- var Yn = {
3568
- create: function() {
3569
- return new Je();
3570
- }
3571
- }, Be = {
3572
- variadic: Qn,
3573
- monadic: Jn
3574
- }, z;
3579
+ var z;
3575
3580
  (function(e) {
3576
3581
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3577
3582
  })(z || (z = {}));
@@ -3644,7 +3649,7 @@ function ce(e, t, r, n, i, o, s) {
3644
3649
  });
3645
3650
  continue;
3646
3651
  }
3647
- if (yn(l)) {
3652
+ if (Tn(l)) {
3648
3653
  typeof o == "number" && a.push({
3649
3654
  type: E.literal,
3650
3655
  value: r.getNumberFormat(t).format(o)
@@ -3655,14 +3660,14 @@ function ce(e, t, r, n, i, o, s) {
3655
3660
  if (!(i && c in i))
3656
3661
  throw new ei(c, s);
3657
3662
  var f = i[c];
3658
- if (gn(l)) {
3663
+ if (Sn(l)) {
3659
3664
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3660
3665
  type: typeof f == "string" ? E.literal : E.object,
3661
3666
  value: f
3662
3667
  });
3663
3668
  continue;
3664
3669
  }
3665
- if (Xt(l)) {
3670
+ if (Wt(l)) {
3666
3671
  var d = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3667
3672
  a.push({
3668
3673
  type: E.literal,
@@ -3670,7 +3675,7 @@ function ce(e, t, r, n, i, o, s) {
3670
3675
  });
3671
3676
  continue;
3672
3677
  }
3673
- if (Wt(l)) {
3678
+ if (zt(l)) {
3674
3679
  var d = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3675
3680
  a.push({
3676
3681
  type: E.literal,
@@ -3678,19 +3683,19 @@ function ce(e, t, r, n, i, o, s) {
3678
3683
  });
3679
3684
  continue;
3680
3685
  }
3681
- if (Vt(l)) {
3682
- var d = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3686
+ if (Xt(l)) {
3687
+ var d = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3683
3688
  d && d.scale && (f = f * (d.scale || 1)), a.push({
3684
3689
  type: E.literal,
3685
3690
  value: r.getNumberFormat(t, d).format(f)
3686
3691
  });
3687
3692
  continue;
3688
3693
  }
3689
- if (Qt(l)) {
3690
- var p = l.children, m = l.value, A = i[m];
3691
- if (!ri(A))
3694
+ if (Jt(l)) {
3695
+ var p = l.children, m = l.value, H = i[m];
3696
+ if (!ri(H))
3692
3697
  throw new Kn(m, "function", s);
3693
- var $ = ce(p, t, r, n, i, o), L = A($.map(function(P) {
3698
+ var $ = ce(p, t, r, n, i, o), L = H($.map(function(P) {
3694
3699
  return P.value;
3695
3700
  }));
3696
3701
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
@@ -3700,14 +3705,14 @@ function ce(e, t, r, n, i, o, s) {
3700
3705
  };
3701
3706
  }));
3702
3707
  }
3703
- if (zt(l)) {
3708
+ if (Zt(l)) {
3704
3709
  var _ = l.options[f] || l.options.other;
3705
3710
  if (!_)
3706
3711
  throw new St(l.value, f, Object.keys(l.options), s);
3707
3712
  a.push.apply(a, ce(_.value, t, r, n, i));
3708
3713
  continue;
3709
3714
  }
3710
- if (Zt(l)) {
3715
+ if (Qt(l)) {
3711
3716
  var _ = l.options["=".concat(f)];
3712
3717
  if (!_) {
3713
3718
  if (!Intl.PluralRules)
@@ -3755,29 +3760,29 @@ function oi(e) {
3755
3760
  dateTime: {},
3756
3761
  pluralRules: {}
3757
3762
  }), {
3758
- getNumberFormat: Pe(function() {
3763
+ getNumberFormat: Ae(function() {
3759
3764
  for (var t, r = [], n = 0; n < arguments.length; n++)
3760
3765
  r[n] = arguments[n];
3761
3766
  return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3762
3767
  }, {
3763
3768
  cache: we(e.number),
3764
- strategy: Be.variadic
3769
+ strategy: Pe.variadic
3765
3770
  }),
3766
- getDateTimeFormat: Pe(function() {
3771
+ getDateTimeFormat: Ae(function() {
3767
3772
  for (var t, r = [], n = 0; n < arguments.length; n++)
3768
3773
  r[n] = arguments[n];
3769
3774
  return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3770
3775
  }, {
3771
3776
  cache: we(e.dateTime),
3772
- strategy: Be.variadic
3777
+ strategy: Pe.variadic
3773
3778
  }),
3774
- getPluralRules: Pe(function() {
3779
+ getPluralRules: Ae(function() {
3775
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3776
3781
  r[n] = arguments[n];
3777
3782
  return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3778
3783
  }, {
3779
3784
  cache: we(e.pluralRules),
3780
- strategy: Be.variadic
3785
+ strategy: Pe.variadic
3781
3786
  })
3782
3787
  };
3783
3788
  }
@@ -3785,8 +3790,9 @@ var si = (
3785
3790
  /** @class */
3786
3791
  function() {
3787
3792
  function e(t, r, n, i) {
3793
+ r === void 0 && (r = e.defaultLocale);
3788
3794
  var o = this;
3789
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3795
+ if (this.formatterCache = {
3790
3796
  number: {},
3791
3797
  dateTime: {},
3792
3798
  pluralRules: {}
@@ -3812,7 +3818,7 @@ var si = (
3812
3818
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3813
3819
  var s = i || {};
3814
3820
  s.formatters;
3815
- var a = Dr(s, ["formatters"]);
3821
+ var a = Ur(s, ["formatters"]);
3816
3822
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3817
3823
  } else
3818
3824
  this.ast = t;
@@ -3831,7 +3837,7 @@ var si = (
3831
3837
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3832
3838
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3833
3839
  }
3834
- }, e.__parse = Wn, e.formats = {
3840
+ }, e.__parse = Yn, e.formats = {
3835
3841
  number: {
3836
3842
  integer: {
3837
3843
  maximumFractionDigits: 0
@@ -3913,7 +3919,7 @@ function ai(e, t) {
3913
3919
  n = void 0;
3914
3920
  return n;
3915
3921
  }
3916
- const M = {}, ui = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), sr = (e, t) => {
3922
+ const M = {}, ui = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), or = (e, t) => {
3917
3923
  if (t == null)
3918
3924
  return;
3919
3925
  if (t in M && e in M[t])
@@ -3930,11 +3936,11 @@ const ie = ge({});
3930
3936
  function hi(e) {
3931
3937
  return qe[e] || null;
3932
3938
  }
3933
- function ar(e) {
3939
+ function sr(e) {
3934
3940
  return e in qe;
3935
3941
  }
3936
3942
  function li(e, t) {
3937
- if (!ar(e))
3943
+ if (!sr(e))
3938
3944
  return null;
3939
3945
  const r = hi(e);
3940
3946
  return ai(r, t);
@@ -3945,7 +3951,7 @@ function ci(e) {
3945
3951
  const t = ve(e);
3946
3952
  for (let r = 0; r < t.length; r++) {
3947
3953
  const n = t[r];
3948
- if (ar(n))
3954
+ if (sr(n))
3949
3955
  return n;
3950
3956
  }
3951
3957
  }
@@ -3961,12 +3967,12 @@ const fe = {};
3961
3967
  function pi(e, t) {
3962
3968
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3963
3969
  }
3964
- function ur(e) {
3970
+ function ar(e) {
3965
3971
  return fe[e];
3966
3972
  }
3967
3973
  function di(e) {
3968
3974
  return ve(e).map((t) => {
3969
- const r = ur(t);
3975
+ const r = ar(t);
3970
3976
  return [t, r ? [...r] : []];
3971
3977
  }).filter(([, t]) => t.length > 0);
3972
3978
  }
@@ -3974,7 +3980,7 @@ function Xe(e) {
3974
3980
  return e == null ? !1 : ve(e).some(
3975
3981
  (t) => {
3976
3982
  var r;
3977
- return (r = ur(t)) == null ? void 0 : r.size;
3983
+ return (r = ar(t)) == null ? void 0 : r.size;
3978
3984
  }
3979
3985
  );
3980
3986
  }
@@ -3984,7 +3990,7 @@ function mi(e, t) {
3984
3990
  ).then((n) => fi(e, ...n));
3985
3991
  }
3986
3992
  const Y = {};
3987
- function hr(e) {
3993
+ function ur(e) {
3988
3994
  if (!Xe(e))
3989
3995
  return e in Y ? Y[e] : Promise.resolve();
3990
3996
  const t = di(e);
@@ -3994,7 +4000,7 @@ function hr(e) {
3994
4000
  )
3995
4001
  ).then(() => {
3996
4002
  if (Xe(e))
3997
- return hr(e);
4003
+ return ur(e);
3998
4004
  delete Y[e];
3999
4005
  }), Y[e];
4000
4006
  }
@@ -4039,22 +4045,22 @@ function Z() {
4039
4045
  return yi;
4040
4046
  }
4041
4047
  const Ne = ge(!1);
4042
- var vi = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4048
+ var vi = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4043
4049
  for (var r in t || (t = {}))
4044
- _i.call(t, r) && At(e, r, t[r]);
4050
+ _i.call(t, r) && Ht(e, r, t[r]);
4045
4051
  if (Tt)
4046
4052
  for (var r of Tt(t))
4047
- Si.call(t, r) && At(e, r, t[r]);
4053
+ Si.call(t, r) && Ht(e, r, t[r]);
4048
4054
  return e;
4049
- }, Ai = (e, t) => xi(e, Ei(t));
4055
+ }, Hi = (e, t) => xi(e, Ei(t));
4050
4056
  let We;
4051
4057
  const pe = ge(null);
4052
- function Ht(e) {
4058
+ function At(e) {
4053
4059
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4054
4060
  }
4055
4061
  function ve(e, t = Z().fallbackLocale) {
4056
- const r = Ht(e);
4057
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4062
+ const r = At(e);
4063
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4058
4064
  }
4059
4065
  function U() {
4060
4066
  return We != null ? We : void 0;
@@ -4062,22 +4068,22 @@ function U() {
4062
4068
  pe.subscribe((e) => {
4063
4069
  We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4064
4070
  });
4065
- const Hi = (e) => {
4071
+ const Ai = (e) => {
4066
4072
  if (e && ci(e) && Xe(e)) {
4067
4073
  const { loadingDelay: t } = Z();
4068
4074
  let r;
4069
4075
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4070
4076
  () => Ne.set(!0),
4071
4077
  t
4072
- ) : Ne.set(!0), hr(e).then(() => {
4078
+ ) : Ne.set(!0), ur(e).then(() => {
4073
4079
  pe.set(e);
4074
4080
  }).finally(() => {
4075
4081
  clearTimeout(r), Ne.set(!1);
4076
4082
  });
4077
4083
  }
4078
4084
  return pe.set(e);
4079
- }, oe = Ai(Ti({}, pe), {
4080
- set: Hi
4085
+ }, oe = Hi(Ti({}, pe), {
4086
+ set: Ai
4081
4087
  }), xe = (e) => {
4082
4088
  const t = /* @__PURE__ */ Object.create(null);
4083
4089
  return (n) => {
@@ -4085,20 +4091,20 @@ const Hi = (e) => {
4085
4091
  return i in t ? t[i] : t[i] = e(n);
4086
4092
  };
4087
4093
  };
4088
- var Pi = Object.defineProperty, de = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4094
+ var Pi = Object.defineProperty, de = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4089
4095
  for (var r in t || (t = {}))
4090
- lr.call(t, r) && Pt(e, r, t[r]);
4096
+ hr.call(t, r) && Pt(e, r, t[r]);
4091
4097
  if (de)
4092
4098
  for (var r of de(t))
4093
- cr.call(t, r) && Pt(e, r, t[r]);
4099
+ lr.call(t, r) && Pt(e, r, t[r]);
4094
4100
  return e;
4095
4101
  }, J = (e, t) => {
4096
4102
  var r = {};
4097
4103
  for (var n in e)
4098
- lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4099
4105
  if (e != null && de)
4100
4106
  for (var n of de(e))
4101
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4107
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4102
4108
  return r;
4103
4109
  };
4104
4110
  const te = (e, t) => {
@@ -4168,7 +4174,7 @@ const te = (e, t) => {
4168
4174
  throw new Error(
4169
4175
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4170
4176
  );
4171
- let l = sr(e, h);
4177
+ let l = or(e, h);
4172
4178
  if (!l)
4173
4179
  l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4174
4180
  else if (typeof l != "string")
@@ -4187,7 +4193,7 @@ const te = (e, t) => {
4187
4193
  );
4188
4194
  }
4189
4195
  return c;
4190
- }, $i = (e, t) => Ci(t).format(e), Ri = (e, t) => Ii(t).format(e), Ui = (e, t) => Oi(t).format(e), Di = (e, t = U()) => sr(e, t);
4196
+ }, $i = (e, t) => Ci(t).format(e), Ri = (e, t) => Ii(t).format(e), Ui = (e, t) => Oi(t).format(e), Di = (e, t = U()) => or(e, t);
4191
4197
  Q([oe, ie], () => Mi);
4192
4198
  Q([oe], () => $i);
4193
4199
  Q([oe], () => Ri);
@@ -4196,7 +4202,7 @@ Q([oe, ie], () => Di);
4196
4202
  window.emWidgets = { topic: Yr };
4197
4203
  const Bt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4198
4204
  function Gi(e) {
4199
- vr(e, "svelte-1uzv27a", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4205
+ yr(e, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4200
4206
  }
4201
4207
  function wt(e, t, r) {
4202
4208
  const n = e.slice();
@@ -4249,7 +4255,7 @@ function Fi(e) {
4249
4255
  }
4250
4256
  },
4251
4257
  d(i) {
4252
- i && ne(t), _r(n, i);
4258
+ i && ne(t), Er(n, i);
4253
4259
  }
4254
4260
  };
4255
4261
  }
@@ -4282,7 +4288,7 @@ function Nt(e) {
4282
4288
  2 && o !== (o = /*notification*/
4283
4289
  p[20].title) && T(n, "alt", o), m & /*notificationsData*/
4284
4290
  2 && h !== (h = /*notification*/
4285
- p[20].title + "") && Tr(u, h), m & /*notificationsData*/
4291
+ p[20].title + "") && Sr(u, h), m & /*notificationsData*/
4286
4292
  2 && f !== (f = /*notification*/
4287
4293
  p[20].description + "") && (c.innerHTML = f), m & /*notificationsData*/
4288
4294
  2 && ot(
@@ -4316,8 +4322,8 @@ function ji(e) {
4316
4322
  p(o, [s]) {
4317
4323
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4318
4324
  },
4319
- i: H,
4320
- o: H,
4325
+ i: A,
4326
+ o: A,
4321
4327
  d(o) {
4322
4328
  o && ne(t), i && i.d(), e[11](null);
4323
4329
  }
@@ -4325,7 +4331,7 @@ function ji(e) {
4325
4331
  }
4326
4332
  function ki(e, t, r) {
4327
4333
  let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, l, c = window.navigator.userAgent, f = Bt(c) !== "PC", d = [], p = [], m = $();
4328
- const A = window.matchMedia("(min-width: 768px)");
4334
+ const H = window.matchMedia("(min-width: 768px)");
4329
4335
  function $() {
4330
4336
  const b = Bt(c);
4331
4337
  if (b)
@@ -4377,7 +4383,7 @@ function ki(e, t, r) {
4377
4383
  l,
4378
4384
  d,
4379
4385
  f,
4380
- A,
4386
+ H,
4381
4387
  n,
4382
4388
  i,
4383
4389
  o,
@@ -4388,9 +4394,9 @@ function ki(e, t, r) {
4388
4394
  D
4389
4395
  ];
4390
4396
  }
4391
- class Vi extends Rr {
4397
+ class Vi extends $r {
4392
4398
  constructor(t) {
4393
- super(), Mr(
4399
+ super(), Lr(
4394
4400
  this,
4395
4401
  t,
4396
4402
  ki,
@@ -4451,7 +4457,7 @@ class Vi extends Rr {
4451
4457
  this.$$set({ clientstylingurl: t }), N();
4452
4458
  }
4453
4459
  }
4454
- $r(Vi, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4460
+ Mr(Vi, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4455
4461
  export {
4456
4462
  Vi as default
4457
4463
  };