@everymatrix/player-account-general-confirmation-modal 1.86.12 → 1.86.21

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,6 +1,6 @@
1
1
  function M() {
2
2
  }
3
- function dr(e, t) {
3
+ function br(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -23,7 +23,7 @@ function qe(e) {
23
23
  function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function br(e) {
26
+ function gr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
29
  function Nt(e, ...t) {
@@ -35,19 +35,19 @@ function Nt(e, ...t) {
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function gr(e, t, r) {
38
+ function vr(e, t, r) {
39
39
  e.$$.on_destroy.push(Nt(t, r));
40
40
  }
41
- function vr(e, t, r, n) {
41
+ function yr(e, t, r, n) {
42
42
  if (e) {
43
43
  const i = Mt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
47
  function Mt(e, t, r, n) {
48
- return e[1] && n ? dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
+ return e[1] && n ? br(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function yr(e, t, r, n) {
50
+ function _r(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function yr(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function _r(e, t, r, n, i, o) {
65
+ function xr(e, t, r, n, i, o) {
66
66
  if (i) {
67
67
  const s = Mt(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function xr(e) {
71
+ function Er(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,17 +77,17 @@ function xr(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function B(e, t) {
80
+ function C(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function Er(e, t, r) {
84
- const n = Sr(e);
83
+ function Sr(e, t, r) {
84
+ const n = wr(e);
85
85
  if (!n.getElementById(t)) {
86
86
  const i = I("style");
87
- i.id = t, i.textContent = r, wr(n, i);
87
+ i.id = t, i.textContent = r, Tr(n, i);
88
88
  }
89
89
  }
90
- function Sr(e) {
90
+ function wr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,8 +97,8 @@ function Sr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function wr(e, t) {
101
- return B(
100
+ function Tr(e, t) {
101
+ return C(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
@@ -128,14 +128,14 @@ function Ne(e, t, r, n) {
128
128
  function T(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function Tr(e) {
131
+ function Hr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
134
  function Ke(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Hr(e) {
138
+ function Ar(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,20 +148,20 @@ let ee;
148
148
  function K(e) {
149
149
  ee = e;
150
150
  }
151
- function Ar() {
151
+ function Br() {
152
152
  if (!ee)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return ee;
155
155
  }
156
- function Br(e) {
157
- Ar().$$.on_mount.push(e);
156
+ function Cr(e) {
157
+ Br().$$.on_mount.push(e);
158
158
  }
159
159
  const F = [], Me = [];
160
160
  let j = [];
161
- const ot = [], Cr = /* @__PURE__ */ Promise.resolve();
161
+ const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
162
162
  let Le = !1;
163
- function Pr() {
164
- Le || (Le = !0, Cr.then(O));
163
+ function Or() {
164
+ Le || (Le = !0, Pr.then(O));
165
165
  }
166
166
  function Re(e) {
167
167
  j.push(e);
@@ -176,7 +176,7 @@ function O() {
176
176
  try {
177
177
  for (; U < F.length; ) {
178
178
  const t = F[U];
179
- U++, K(t), Or(t.$$);
179
+ U++, K(t), Ir(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw F.length = 0, U = 0, t;
@@ -193,46 +193,46 @@ function O() {
193
193
  ot.pop()();
194
194
  Le = !1, Te.clear(), K(e);
195
195
  }
196
- function Or(e) {
196
+ function Ir(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), z(e.before_update);
199
199
  const t = e.dirty;
200
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
201
201
  }
202
202
  }
203
- function Ir(e) {
203
+ function Nr(e) {
204
204
  const t = [], r = [];
205
205
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
206
206
  }
207
207
  const he = /* @__PURE__ */ new Set();
208
- let Nr;
208
+ let Mr;
209
209
  function Lt(e, t) {
210
210
  e && e.i && (he.delete(e), e.i(t));
211
211
  }
212
- function Mr(e, t, r, n) {
212
+ function Lr(e, t, r, n) {
213
213
  if (e && e.o) {
214
214
  if (he.has(e))
215
215
  return;
216
- he.add(e), Nr.c.push(() => {
216
+ he.add(e), Mr.c.push(() => {
217
217
  he.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function Lr(e, t, r) {
221
+ function Rr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
223
  n && n.m(t, r), Re(() => {
224
224
  const o = e.$$.on_mount.map(Ot).filter(qe);
225
225
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
226
226
  }), i.forEach(Re);
227
227
  }
228
- function Rr(e, t) {
228
+ function $r(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Ir(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (Nr(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function $r(e, t) {
233
- e.$$.dirty[0] === -1 && (F.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function Gr(e, t) {
233
+ e.$$.dirty[0] === -1 && (F.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
235
+ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  const l = ee;
237
237
  K(e);
238
238
  const u = e.$$ = {
@@ -258,16 +258,16 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
258
258
  };
259
259
  s && s(u.root);
260
260
  let h = !1;
261
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
262
- const v = m.length ? m[0] : f;
263
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && $r(e, c)), f;
261
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
262
+ const y = m.length ? m[0] : c;
263
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Gr(e, f)), c;
264
264
  }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const c = Tr(t.target);
267
- u.fragment && u.fragment.l(c), c.forEach(Z);
266
+ const f = Hr(t.target);
267
+ u.fragment && u.fragment.l(f), f.forEach(Z);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Lt(e.$$.fragment), Lr(e, t.target, t.anchor), O();
270
+ t.intro && Lt(e.$$.fragment), Rr(e, t.target, t.anchor), O();
271
271
  }
272
272
  K(l);
273
273
  }
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
331
331
  };
332
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
333
333
  return;
334
- const t = {}, r = Hr(this);
334
+ const t = {}, r = Ar(this);
335
335
  for (const i of this.$$s)
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
@@ -418,7 +418,7 @@ function ce(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Ur(e, t, r, n, i, o) {
421
+ function Dr(e, t, r, n, i, o) {
422
422
  let s = class extends Rt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
@@ -447,7 +447,7 @@ function Ur(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class Dr {
450
+ class Fr {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class Dr {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- Rr(this, 1), this.$destroy = M;
469
+ $r(this, 1), this.$destroy = M;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -488,11 +488,11 @@ class Dr {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const Fr = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
494
+ const jr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -602,8 +602,8 @@ var ye = function() {
602
602
  var u = l.value;
603
603
  u.remove(this);
604
604
  }
605
- } catch (d) {
606
- t = { error: d };
605
+ } catch (b) {
606
+ t = { error: b };
607
607
  } finally {
608
608
  try {
609
609
  l && !l.done && (r = a.return) && r.call(a);
@@ -618,26 +618,26 @@ var ye = function() {
618
618
  if (L(h))
619
619
  try {
620
620
  h();
621
- } catch (d) {
622
- o = d instanceof He ? d.errors : [d];
621
+ } catch (b) {
622
+ o = b instanceof He ? b.errors : [b];
623
623
  }
624
- var c = this._finalizers;
625
- if (c) {
624
+ var f = this._finalizers;
625
+ if (f) {
626
626
  this._finalizers = null;
627
627
  try {
628
- for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
629
- var v = m.value;
628
+ for (var c = Ge(f), m = c.next(); !m.done; m = c.next()) {
629
+ var y = m.value;
630
630
  try {
631
- st(v);
632
- } catch (d) {
633
- o = o ?? [], d instanceof He ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
631
+ st(y);
632
+ } catch (b) {
633
+ o = o ?? [], b instanceof He ? o = De(De([], Ue(o)), Ue(b.errors)) : o.push(b);
634
634
  }
635
635
  }
636
- } catch (d) {
637
- n = { error: d };
636
+ } catch (b) {
637
+ n = { error: b };
638
638
  } finally {
639
639
  try {
640
- m && !m.done && (i = f.return) && i.call(f);
640
+ m && !m.done && (i = c.return) && i.call(c);
641
641
  } finally {
642
642
  if (n)
643
643
  throw n.error;
@@ -683,9 +683,9 @@ function Ut(e) {
683
683
  function st(e) {
684
684
  L(e) ? e() : e.unsubscribe();
685
685
  }
686
- var jr = {
686
+ var kr = {
687
687
  Promise: void 0
688
- }, kr = {
688
+ }, Vr = {
689
689
  setTimeout: function(e, t) {
690
690
  for (var r = [], n = 2; n < arguments.length; n++)
691
691
  r[n - 2] = arguments[n];
@@ -696,8 +696,8 @@ var jr = {
696
696
  },
697
697
  delegate: void 0
698
698
  };
699
- function Vr(e) {
700
- kr.setTimeout(function() {
699
+ function Xr(e) {
700
+ Vr.setTimeout(function() {
701
701
  throw e;
702
702
  });
703
703
  }
@@ -710,7 +710,7 @@ var Dt = function(e) {
710
710
  ie(t, e);
711
711
  function t(r) {
712
712
  var n = e.call(this) || this;
713
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = zr, n;
713
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Zr, n;
714
714
  }
715
715
  return t.create = function(r, n, i) {
716
716
  return new je(r, n, i);
@@ -737,7 +737,7 @@ var Dt = function(e) {
737
737
  this.unsubscribe();
738
738
  }
739
739
  }, t;
740
- }(ye), Xr = function() {
740
+ }(ye), Wr = function() {
741
741
  function e(t) {
742
742
  this.partialObserver = t;
743
743
  }
@@ -776,29 +776,29 @@ var Dt = function(e) {
776
776
  next: r ?? void 0,
777
777
  error: n ?? void 0,
778
778
  complete: i ?? void 0
779
- } : s = r, o.destination = new Xr(s), o;
779
+ } : s = r, o.destination = new Wr(s), o;
780
780
  }
781
781
  return t;
782
782
  }(Dt);
783
783
  function ue(e) {
784
- Vr(e);
784
+ Xr(e);
785
785
  }
786
- function Wr(e) {
786
+ function zr(e) {
787
787
  throw e;
788
788
  }
789
- var zr = {
789
+ var Zr = {
790
790
  closed: !0,
791
791
  next: at,
792
- error: Wr,
792
+ error: zr,
793
793
  complete: at
794
- }, Zr = function() {
794
+ }, Qr = function() {
795
795
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
796
796
  }();
797
- function Qr(e) {
797
+ function Jr(e) {
798
798
  return e;
799
799
  }
800
- function Jr(e) {
801
- return e.length === 0 ? Qr : e.length === 1 ? e[0] : function(r) {
800
+ function Yr(e) {
801
+ return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
802
802
  return e.reduce(function(n, i) {
803
803
  return i(n);
804
804
  }, r);
@@ -812,7 +812,7 @@ var ut = function() {
812
812
  var r = new e();
813
813
  return r.source = this, r.operator = t, r;
814
814
  }, e.prototype.subscribe = function(t, r, n) {
815
- var i = this, o = qr(t) ? t : new je(t, r, n);
815
+ var i = this, o = Kr(t) ? t : new je(t, r, n);
816
816
  return fe(function() {
817
817
  var s = i, a = s.operator, l = s.source;
818
818
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -842,12 +842,12 @@ var ut = function() {
842
842
  }, e.prototype._subscribe = function(t) {
843
843
  var r;
844
844
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
845
- }, e.prototype[Zr] = function() {
845
+ }, e.prototype[Qr] = function() {
846
846
  return this;
847
847
  }, e.prototype.pipe = function() {
848
848
  for (var t = [], r = 0; r < arguments.length; r++)
849
849
  t[r] = arguments[r];
850
- return Jr(t)(this);
850
+ return Yr(t)(this);
851
851
  }, e.prototype.toPromise = function(t) {
852
852
  var r = this;
853
853
  return t = lt(t), new t(function(n, i) {
@@ -866,15 +866,15 @@ var ut = function() {
866
866
  }();
867
867
  function lt(e) {
868
868
  var t;
869
- return (t = e ?? jr.Promise) !== null && t !== void 0 ? t : Promise;
869
+ return (t = e ?? kr.Promise) !== null && t !== void 0 ? t : Promise;
870
870
  }
871
- function Yr(e) {
871
+ function qr(e) {
872
872
  return e && L(e.next) && L(e.error) && L(e.complete);
873
873
  }
874
- function qr(e) {
875
- return e && e instanceof Dt || Yr(e) && Ut(e);
874
+ function Kr(e) {
875
+ return e && e instanceof Dt || qr(e) && Ut(e);
876
876
  }
877
- var Kr = $t(function(e) {
877
+ var en = $t(function(e) {
878
878
  return function() {
879
879
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
880
880
  };
@@ -889,7 +889,7 @@ var Kr = $t(function(e) {
889
889
  return n.operator = r, n;
890
890
  }, t.prototype._throwIfClosed = function() {
891
891
  if (this.closed)
892
- throw new Kr();
892
+ throw new en();
893
893
  }, t.prototype.next = function(r) {
894
894
  var n = this;
895
895
  fe(function() {
@@ -982,7 +982,7 @@ var Kr = $t(function(e) {
982
982
  return (jt.delegate || Date).now();
983
983
  },
984
984
  delegate: void 0
985
- }, en = function(e) {
985
+ }, tn = function(e) {
986
986
  ie(t, e);
987
987
  function t(r, n, i) {
988
988
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
@@ -1006,14 +1006,14 @@ var Kr = $t(function(e) {
1006
1006
  }
1007
1007
  }, t;
1008
1008
  }(Ft);
1009
- const ct = [], ft = {}, tn = (e, t = 0) => {
1009
+ const ct = [], ft = {}, rn = (e, t = 0) => {
1010
1010
  if (ct.indexOf(e) == -1) {
1011
- const r = new en(t);
1011
+ const r = new tn(t);
1012
1012
  ft[e] = r, ct.push(e);
1013
1013
  }
1014
1014
  return ft[e];
1015
1015
  }, D = [];
1016
- function rn(e, t) {
1016
+ function nn(e, t) {
1017
1017
  return {
1018
1018
  subscribe: _e(e, t).subscribe
1019
1019
  };
@@ -1049,73 +1049,73 @@ function Q(e, t, r) {
1049
1049
  if (!i.every(Boolean))
1050
1050
  throw new Error("derived() expects stores as input, got a falsy value");
1051
1051
  const o = t.length < 2;
1052
- return rn(r, (s, a) => {
1052
+ return nn(r, (s, a) => {
1053
1053
  let l = !1;
1054
1054
  const u = [];
1055
- let h = 0, c = M;
1056
- const f = () => {
1055
+ let h = 0, f = M;
1056
+ const c = () => {
1057
1057
  if (h)
1058
1058
  return;
1059
- c();
1060
- const v = t(n ? u[0] : u, s, a);
1061
- o ? s(v) : c = qe(v) ? v : M;
1059
+ f();
1060
+ const y = t(n ? u[0] : u, s, a);
1061
+ o ? s(y) : f = qe(y) ? y : M;
1062
1062
  }, m = i.map(
1063
- (v, d) => Nt(
1064
- v,
1065
- (S) => {
1066
- u[d] = S, h &= ~(1 << d), l && f();
1063
+ (y, b) => Nt(
1064
+ y,
1065
+ (H) => {
1066
+ u[b] = H, h &= ~(1 << b), l && c();
1067
1067
  },
1068
1068
  () => {
1069
- h |= 1 << d;
1069
+ h |= 1 << b;
1070
1070
  }
1071
1071
  )
1072
1072
  );
1073
- return l = !0, f(), function() {
1074
- z(m), c(), l = !1;
1073
+ return l = !0, c(), function() {
1074
+ z(m), f(), l = !1;
1075
1075
  };
1076
1076
  });
1077
1077
  }
1078
- function nn(e) {
1078
+ function on(e) {
1079
1079
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1080
1080
  }
1081
- var on = function(t) {
1082
- return sn(t) && !an(t);
1081
+ var sn = function(t) {
1082
+ return an(t) && !un(t);
1083
1083
  };
1084
- function sn(e) {
1084
+ function an(e) {
1085
1085
  return !!e && typeof e == "object";
1086
1086
  }
1087
- function an(e) {
1087
+ function un(e) {
1088
1088
  var t = Object.prototype.toString.call(e);
1089
- return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1090
- }
1091
- var un = typeof Symbol == "function" && Symbol.for, ln = un ? Symbol.for("react.element") : 60103;
1092
- function hn(e) {
1093
- return e.$$typeof === ln;
1089
+ return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1094
1090
  }
1091
+ var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1095
1092
  function cn(e) {
1093
+ return e.$$typeof === hn;
1094
+ }
1095
+ function fn(e) {
1096
1096
  return Array.isArray(e) ? [] : {};
1097
1097
  }
1098
1098
  function te(e, t) {
1099
- return t.clone !== !1 && t.isMergeableObject(e) ? k(cn(e), e, t) : e;
1099
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(fn(e), e, t) : e;
1100
1100
  }
1101
- function fn(e, t, r) {
1101
+ function mn(e, t, r) {
1102
1102
  return e.concat(t).map(function(n) {
1103
1103
  return te(n, r);
1104
1104
  });
1105
1105
  }
1106
- function mn(e, t) {
1106
+ function pn(e, t) {
1107
1107
  if (!t.customMerge)
1108
1108
  return k;
1109
1109
  var r = t.customMerge(e);
1110
1110
  return typeof r == "function" ? r : k;
1111
1111
  }
1112
- function pn(e) {
1112
+ function dn(e) {
1113
1113
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1114
1114
  return Object.propertyIsEnumerable.call(e, t);
1115
1115
  }) : [];
1116
1116
  }
1117
1117
  function mt(e) {
1118
- return Object.keys(e).concat(pn(e));
1118
+ return Object.keys(e).concat(dn(e));
1119
1119
  }
1120
1120
  function kt(e, t) {
1121
1121
  try {
@@ -1124,21 +1124,21 @@ function kt(e, t) {
1124
1124
  return !1;
1125
1125
  }
1126
1126
  }
1127
- function dn(e, t) {
1127
+ function bn(e, t) {
1128
1128
  return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1129
1129
  }
1130
- function bn(e, t, r) {
1130
+ function gn(e, t, r) {
1131
1131
  var n = {};
1132
1132
  return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1133
1133
  n[i] = te(e[i], r);
1134
1134
  }), mt(t).forEach(function(i) {
1135
- dn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1135
+ bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1136
1136
  }), n;
1137
1137
  }
1138
1138
  function k(e, t, r) {
1139
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = te;
1139
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = te;
1140
1140
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1141
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : te(t, r);
1141
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : te(t, r);
1142
1142
  }
1143
1143
  k.all = function(t, r) {
1144
1144
  if (!Array.isArray(t))
@@ -1147,8 +1147,8 @@ k.all = function(t, r) {
1147
1147
  return k(n, i, r);
1148
1148
  }, {});
1149
1149
  };
1150
- var gn = k, vn = gn;
1151
- const yn = /* @__PURE__ */ nn(vn);
1150
+ var vn = k, yn = vn;
1151
+ const _n = /* @__PURE__ */ on(yn);
1152
1152
  var ke = function(e, t) {
1153
1153
  return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1154
1154
  r.__proto__ = n;
@@ -1176,7 +1176,7 @@ var N = function() {
1176
1176
  return t;
1177
1177
  }, N.apply(this, arguments);
1178
1178
  };
1179
- function _n(e, t) {
1179
+ function xn(e, t) {
1180
1180
  var r = {};
1181
1181
  for (var n in e)
1182
1182
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1192,17 +1192,17 @@ function Ae(e, t, r) {
1192
1192
  return e.concat(o || Array.prototype.slice.call(t));
1193
1193
  }
1194
1194
  function Be(e, t) {
1195
- var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : Sn;
1195
+ var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
1196
1196
  return i(e, {
1197
1197
  cache: r,
1198
1198
  serializer: n
1199
1199
  });
1200
1200
  }
1201
- function xn(e) {
1201
+ function En(e) {
1202
1202
  return e == null || typeof e == "number" || typeof e == "boolean";
1203
1203
  }
1204
- function En(e, t, r, n) {
1205
- var i = xn(n) ? n : r(n), o = t.get(i);
1204
+ function Sn(e, t, r, n) {
1205
+ var i = En(n) ? n : r(n), o = t.get(i);
1206
1206
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1207
1207
  }
1208
1208
  function Vt(e, t, r) {
@@ -1212,16 +1212,16 @@ function Vt(e, t, r) {
1212
1212
  function Xt(e, t, r, n, i) {
1213
1213
  return r.bind(t, e, n, i);
1214
1214
  }
1215
- function Sn(e, t) {
1216
- var r = e.length === 1 ? En : Vt;
1215
+ function wn(e, t) {
1216
+ var r = e.length === 1 ? Sn : Vt;
1217
1217
  return Xt(e, this, r, t.cache.create(), t.serializer);
1218
1218
  }
1219
- function wn(e, t) {
1219
+ function Tn(e, t) {
1220
1220
  return Xt(e, this, Vt, t.cache.create(), t.serializer);
1221
1221
  }
1222
- var Tn = function() {
1222
+ var Hn = function() {
1223
1223
  return JSON.stringify(arguments);
1224
- }, Hn = (
1224
+ }, An = (
1225
1225
  /** @class */
1226
1226
  function() {
1227
1227
  function e() {
@@ -1233,12 +1233,12 @@ var Tn = function() {
1233
1233
  this.cache[t] = r;
1234
1234
  }, e;
1235
1235
  }()
1236
- ), An = {
1236
+ ), Bn = {
1237
1237
  create: function() {
1238
- return new Hn();
1238
+ return new An();
1239
1239
  }
1240
1240
  }, Ce = {
1241
- variadic: wn
1241
+ variadic: Tn
1242
1242
  }, de = function() {
1243
1243
  return de = Object.assign || function(t) {
1244
1244
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -1249,44 +1249,44 @@ var Tn = function() {
1249
1249
  return t;
1250
1250
  }, de.apply(this, arguments);
1251
1251
  };
1252
- var p;
1252
+ var d;
1253
1253
  (function(e) {
1254
1254
  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";
1255
- })(p || (p = {}));
1256
- var E;
1255
+ })(d || (d = {}));
1256
+ var x;
1257
1257
  (function(e) {
1258
1258
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1259
- })(E || (E = {}));
1259
+ })(x || (x = {}));
1260
1260
  var V;
1261
1261
  (function(e) {
1262
1262
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1263
1263
  })(V || (V = {}));
1264
1264
  function pt(e) {
1265
- return e.type === E.literal;
1265
+ return e.type === x.literal;
1266
1266
  }
1267
- function Bn(e) {
1268
- return e.type === E.argument;
1267
+ function Cn(e) {
1268
+ return e.type === x.argument;
1269
1269
  }
1270
1270
  function Wt(e) {
1271
- return e.type === E.number;
1271
+ return e.type === x.number;
1272
1272
  }
1273
1273
  function zt(e) {
1274
- return e.type === E.date;
1274
+ return e.type === x.date;
1275
1275
  }
1276
1276
  function Zt(e) {
1277
- return e.type === E.time;
1277
+ return e.type === x.time;
1278
1278
  }
1279
1279
  function Qt(e) {
1280
- return e.type === E.select;
1280
+ return e.type === x.select;
1281
1281
  }
1282
1282
  function Jt(e) {
1283
- return e.type === E.plural;
1283
+ return e.type === x.plural;
1284
1284
  }
1285
- function Cn(e) {
1286
- return e.type === E.pound;
1285
+ function Pn(e) {
1286
+ return e.type === x.pound;
1287
1287
  }
1288
1288
  function Yt(e) {
1289
- return e.type === E.tag;
1289
+ return e.type === x.tag;
1290
1290
  }
1291
1291
  function qt(e) {
1292
1292
  return !!(e && typeof e == "object" && e.type === V.number);
@@ -1294,10 +1294,10 @@ function qt(e) {
1294
1294
  function Ve(e) {
1295
1295
  return !!(e && typeof e == "object" && e.type === V.dateTime);
1296
1296
  }
1297
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1298
- function On(e) {
1297
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
1298
+ function In(e) {
1299
1299
  var t = {};
1300
- return e.replace(Pn, function(r) {
1300
+ return e.replace(On, function(r) {
1301
1301
  var n = r.length;
1302
1302
  switch (r[0]) {
1303
1303
  case "G":
@@ -1396,29 +1396,29 @@ var w = function() {
1396
1396
  return t;
1397
1397
  }, w.apply(this, arguments);
1398
1398
  };
1399
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
- function Nn(e) {
1399
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
+ function Mn(e) {
1401
1401
  if (e.length === 0)
1402
1402
  throw new Error("Number skeleton cannot be empty");
1403
- for (var t = e.split(In).filter(function(f) {
1404
- return f.length > 0;
1403
+ for (var t = e.split(Nn).filter(function(c) {
1404
+ return c.length > 0;
1405
1405
  }), r = [], n = 0, i = t; n < i.length; n++) {
1406
1406
  var o = i[n], s = o.split("/");
1407
1407
  if (s.length === 0)
1408
1408
  throw new Error("Invalid number skeleton");
1409
1409
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1410
- var c = h[u];
1411
- if (c.length === 0)
1410
+ var f = h[u];
1411
+ if (f.length === 0)
1412
1412
  throw new Error("Invalid number skeleton");
1413
1413
  }
1414
1414
  r.push({ stem: a, options: l });
1415
1415
  }
1416
1416
  return r;
1417
1417
  }
1418
- function Mn(e) {
1418
+ function Ln(e) {
1419
1419
  return e.replace(/^(.*?)-/, "");
1420
1420
  }
1421
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1421
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1422
1422
  function bt(e) {
1423
1423
  var t = {};
1424
1424
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
@@ -1465,7 +1465,7 @@ function rr(e) {
1465
1465
  };
1466
1466
  }
1467
1467
  }
1468
- function Rn(e) {
1468
+ function $n(e) {
1469
1469
  var t;
1470
1470
  if (e[0] === "E" && e[1] === "E" ? (t = {
1471
1471
  notation: "engineering"
@@ -1483,7 +1483,7 @@ function gt(e) {
1483
1483
  var t = {}, r = rr(e);
1484
1484
  return r || t;
1485
1485
  }
1486
- function $n(e) {
1486
+ function Gn(e) {
1487
1487
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1488
1488
  var i = n[r];
1489
1489
  switch (i.stem) {
@@ -1507,7 +1507,7 @@ function $n(e) {
1507
1507
  continue;
1508
1508
  case "measure-unit":
1509
1509
  case "unit":
1510
- t.style = "unit", t.unit = Mn(i.options[0]);
1510
+ t.style = "unit", t.unit = Ln(i.options[0]);
1511
1511
  continue;
1512
1512
  case "compact-short":
1513
1513
  case "K":
@@ -1569,11 +1569,11 @@ function $n(e) {
1569
1569
  case "integer-width":
1570
1570
  if (i.options.length > 1)
1571
1571
  throw new RangeError("integer-width stems only accept a single optional option");
1572
- i.options[0].replace(Ln, function(l, u, h, c, f, m) {
1572
+ i.options[0].replace(Rn, function(l, u, h, f, c, m) {
1573
1573
  if (u)
1574
1574
  t.minimumIntegerDigits = h.length;
1575
1575
  else {
1576
- if (c && f)
1576
+ if (f && c)
1577
1577
  throw new Error("We currently do not support maximum integer digits");
1578
1578
  if (m)
1579
1579
  throw new Error("We currently do not support exact integer digits");
@@ -1589,8 +1589,8 @@ function $n(e) {
1589
1589
  if (dt.test(i.stem)) {
1590
1590
  if (i.options.length > 1)
1591
1591
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1592
- i.stem.replace(dt, function(l, u, h, c, f, m) {
1593
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1592
+ i.stem.replace(dt, function(l, u, h, f, c, m) {
1593
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1594
1594
  });
1595
1595
  var o = i.options[0];
1596
1596
  o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), bt(o)));
@@ -1602,7 +1602,7 @@ function $n(e) {
1602
1602
  }
1603
1603
  var s = rr(i.stem);
1604
1604
  s && (t = w(w({}, t), s));
1605
- var a = Rn(i.stem);
1605
+ var a = $n(i.stem);
1606
1606
  a && (t = w(w({}, t), a));
1607
1607
  }
1608
1608
  return t;
@@ -3022,13 +3022,13 @@ var le = {
3022
3022
  "h"
3023
3023
  ]
3024
3024
  };
3025
- function Gn(e, t) {
3025
+ function Un(e, t) {
3026
3026
  for (var r = "", n = 0; n < e.length; n++) {
3027
3027
  var i = e.charAt(n);
3028
3028
  if (i === "j") {
3029
3029
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3030
3030
  o++, n++;
3031
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Un(t);
3031
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3032
3032
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3033
3033
  r += l;
3034
3034
  for (; s-- > 0; )
@@ -3038,7 +3038,7 @@ function Gn(e, t) {
3038
3038
  }
3039
3039
  return r;
3040
3040
  }
3041
- function Un(e) {
3041
+ function Dn(e) {
3042
3042
  var t = e.hourCycle;
3043
3043
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3044
3044
  e.hourCycles && // @ts-ignore
@@ -3060,20 +3060,20 @@ function Un(e) {
3060
3060
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3061
3061
  return i[0];
3062
3062
  }
3063
- var Pe, Dn = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
3063
+ var Pe, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3064
3064
  function g(e, t) {
3065
3065
  return { start: e, end: t };
3066
3066
  }
3067
- var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
3067
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3068
3068
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3069
3069
  }, Xe = !0;
3070
3070
  try {
3071
- var Jn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
- Xe = ((Pe = Jn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3071
+ var Yn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
+ Xe = ((Pe = Yn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3073
3073
  } catch {
3074
3074
  Xe = !1;
3075
3075
  }
3076
- var vt = jn ? (
3076
+ var vt = kn ? (
3077
3077
  // Native
3078
3078
  function(t, r, n) {
3079
3079
  return t.startsWith(r, n);
@@ -3083,7 +3083,7 @@ var vt = jn ? (
3083
3083
  function(t, r, n) {
3084
3084
  return t.slice(n, n + r.length) === r;
3085
3085
  }
3086
- ), We = kn ? String.fromCodePoint : (
3086
+ ), We = Vn ? String.fromCodePoint : (
3087
3087
  // IE11
3088
3088
  function() {
3089
3089
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3097,7 +3097,7 @@ var vt = jn ? (
3097
3097
  }
3098
3098
  ), yt = (
3099
3099
  // native
3100
- Vn ? Object.fromEntries : (
3100
+ Xn ? Object.fromEntries : (
3101
3101
  // Ponyfill
3102
3102
  function(t) {
3103
3103
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3107,7 +3107,7 @@ var vt = jn ? (
3107
3107
  return r;
3108
3108
  }
3109
3109
  )
3110
- ), nr = Xn ? (
3110
+ ), nr = Wn ? (
3111
3111
  // Native
3112
3112
  function(t, r) {
3113
3113
  return t.codePointAt(r);
@@ -3121,7 +3121,7 @@ var vt = jn ? (
3121
3121
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3122
3122
  }
3123
3123
  }
3124
- ), Yn = Wn ? (
3124
+ ), qn = zn ? (
3125
3125
  // Native
3126
3126
  function(t) {
3127
3127
  return t.trimStart();
@@ -3129,9 +3129,9 @@ var vt = jn ? (
3129
3129
  ) : (
3130
3130
  // Ponyfill
3131
3131
  function(t) {
3132
- return t.replace(Dn, "");
3132
+ return t.replace(Fn, "");
3133
3133
  }
3134
- ), qn = zn ? (
3134
+ ), Kn = Zn ? (
3135
3135
  // Native
3136
3136
  function(t) {
3137
3137
  return t.trimEnd();
@@ -3139,7 +3139,7 @@ var vt = jn ? (
3139
3139
  ) : (
3140
3140
  // Ponyfill
3141
3141
  function(t) {
3142
- return t.replace(Fn, "");
3142
+ return t.replace(jn, "");
3143
3143
  }
3144
3144
  );
3145
3145
  function ir(e, t) {
@@ -3158,13 +3158,13 @@ if (Xe) {
3158
3158
  ze = function(t, r) {
3159
3159
  for (var n = []; ; ) {
3160
3160
  var i = nr(t, r);
3161
- if (i === void 0 || or(i) || ri(i))
3161
+ if (i === void 0 || or(i) || ni(i))
3162
3162
  break;
3163
3163
  n.push(i), r += i >= 65536 ? 2 : 1;
3164
3164
  }
3165
3165
  return We.apply(void 0, n);
3166
3166
  };
3167
- var Kn = (
3167
+ var ei = (
3168
3168
  /** @class */
3169
3169
  function() {
3170
3170
  function e(t, r) {
@@ -3188,13 +3188,13 @@ var Kn = (
3188
3188
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3189
3189
  var a = this.clonePosition();
3190
3190
  this.bump(), i.push({
3191
- type: E.pound,
3191
+ type: x.pound,
3192
3192
  location: g(a, this.clonePosition())
3193
3193
  });
3194
3194
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3195
3195
  if (n)
3196
3196
  break;
3197
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3197
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3198
3198
  } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3199
3199
  var s = this.parseTag(t, r);
3200
3200
  if (s.err)
@@ -3216,7 +3216,7 @@ var Kn = (
3216
3216
  if (this.bumpSpace(), this.bumpIf("/>"))
3217
3217
  return {
3218
3218
  val: {
3219
- type: E.literal,
3219
+ type: x.literal,
3220
3220
  value: "<".concat(i, "/>"),
3221
3221
  location: g(n, this.clonePosition())
3222
3222
  },
@@ -3229,24 +3229,24 @@ var Kn = (
3229
3229
  var s = o.val, a = this.clonePosition();
3230
3230
  if (this.bumpIf("</")) {
3231
3231
  if (this.isEOF() || !Ze(this.char()))
3232
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3232
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3233
3233
  var l = this.clonePosition(), u = this.parseTagName();
3234
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3234
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3235
3235
  val: {
3236
- type: E.tag,
3236
+ type: x.tag,
3237
3237
  value: i,
3238
3238
  children: s,
3239
3239
  location: g(n, this.clonePosition())
3240
3240
  },
3241
3241
  err: null
3242
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3242
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3243
3243
  } else
3244
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3244
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3245
3245
  } else
3246
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3246
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3247
3247
  }, e.prototype.parseTagName = function() {
3248
3248
  var t = this.offset();
3249
- for (this.bump(); !this.isEOF() && ti(this.char()); )
3249
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3250
3250
  this.bump();
3251
3251
  return this.message.slice(t, this.offset());
3252
3252
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3270,12 +3270,12 @@ var Kn = (
3270
3270
  }
3271
3271
  var l = g(n, this.clonePosition());
3272
3272
  return {
3273
- val: { type: E.literal, value: i, location: l },
3273
+ val: { type: x.literal, value: i, location: l },
3274
3274
  err: null
3275
3275
  };
3276
3276
  }, e.prototype.tryParseLeftAngleBracket = function() {
3277
3277
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3278
- !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3278
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3279
3279
  }, e.prototype.tryParseQuote = function(t) {
3280
3280
  if (this.isEOF() || this.char() !== 39)
3281
3281
  return null;
@@ -3318,19 +3318,19 @@ var Kn = (
3318
3318
  }, e.prototype.parseArgument = function(t, r) {
3319
3319
  var n = this.clonePosition();
3320
3320
  if (this.bump(), this.bumpSpace(), this.isEOF())
3321
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3321
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3322
3322
  if (this.char() === 125)
3323
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3323
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3324
3324
  var i = this.parseIdentifierIfPossible().value;
3325
3325
  if (!i)
3326
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3326
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3327
3327
  if (this.bumpSpace(), this.isEOF())
3328
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3328
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3329
3329
  switch (this.char()) {
3330
3330
  case 125:
3331
3331
  return this.bump(), {
3332
3332
  val: {
3333
- type: E.argument,
3333
+ type: x.argument,
3334
3334
  // value does not include the opening and closing braces.
3335
3335
  value: i,
3336
3336
  location: g(n, this.clonePosition())
@@ -3338,9 +3338,9 @@ var Kn = (
3338
3338
  err: null
3339
3339
  };
3340
3340
  case 44:
3341
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3341
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3342
3342
  default:
3343
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3343
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3344
3344
  }
3345
3345
  }, e.prototype.parseIdentifierIfPossible = function() {
3346
3346
  var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
@@ -3351,7 +3351,7 @@ var Kn = (
3351
3351
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3352
3352
  switch (a) {
3353
3353
  case "":
3354
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3354
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3355
3355
  case "number":
3356
3356
  case "date":
3357
3357
  case "time": {
@@ -3359,49 +3359,49 @@ var Kn = (
3359
3359
  var u = null;
3360
3360
  if (this.bumpIf(",")) {
3361
3361
  this.bumpSpace();
3362
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3363
- if (c.err)
3364
- return c;
3365
- var f = qn(c.val);
3366
- if (f.length === 0)
3367
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3362
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3363
+ if (f.err)
3364
+ return f;
3365
+ var c = Kn(f.val);
3366
+ if (c.length === 0)
3367
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3368
3368
  var m = g(h, this.clonePosition());
3369
- u = { style: f, styleLocation: m };
3369
+ u = { style: c, styleLocation: m };
3370
3370
  }
3371
- var v = this.tryParseArgumentClose(i);
3372
- if (v.err)
3373
- return v;
3374
- var d = g(i, this.clonePosition());
3371
+ var y = this.tryParseArgumentClose(i);
3372
+ if (y.err)
3373
+ return y;
3374
+ var b = g(i, this.clonePosition());
3375
3375
  if (u && vt(u?.style, "::", 0)) {
3376
- var S = Yn(u.style.slice(2));
3376
+ var H = qn(u.style.slice(2));
3377
3377
  if (a === "number") {
3378
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3379
- return c.err ? c : {
3380
- val: { type: E.number, value: n, location: d, style: c.val },
3378
+ var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3379
+ return f.err ? f : {
3380
+ val: { type: x.number, value: n, location: b, style: f.val },
3381
3381
  err: null
3382
3382
  };
3383
3383
  } else {
3384
- if (S.length === 0)
3385
- return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
3386
- var P = S;
3387
- this.locale && (P = Gn(S, this.locale));
3388
- var f = {
3384
+ if (H.length === 0)
3385
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, b);
3386
+ var S = H;
3387
+ this.locale && (S = Un(H, this.locale));
3388
+ var c = {
3389
3389
  type: V.dateTime,
3390
- pattern: P,
3390
+ pattern: S,
3391
3391
  location: u.styleLocation,
3392
- parsedOptions: this.shouldParseSkeletons ? On(P) : {}
3393
- }, H = a === "date" ? E.date : E.time;
3392
+ parsedOptions: this.shouldParseSkeletons ? In(S) : {}
3393
+ }, A = a === "date" ? x.date : x.time;
3394
3394
  return {
3395
- val: { type: H, value: n, location: d, style: f },
3395
+ val: { type: A, value: n, location: b, style: c },
3396
3396
  err: null
3397
3397
  };
3398
3398
  }
3399
3399
  }
3400
3400
  return {
3401
3401
  val: {
3402
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3402
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3403
3403
  value: n,
3404
- location: d,
3404
+ location: b,
3405
3405
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3406
3406
  },
3407
3407
  err: null
@@ -3412,39 +3412,39 @@ var Kn = (
3412
3412
  case "select": {
3413
3413
  var _ = this.clonePosition();
3414
3414
  if (this.bumpSpace(), !this.bumpIf(","))
3415
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, de({}, _)));
3415
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, de({}, _)));
3416
3416
  this.bumpSpace();
3417
- var x = this.parseIdentifierIfPossible(), y = 0;
3418
- if (a !== "select" && x.value === "offset") {
3417
+ var E = this.parseIdentifierIfPossible(), v = 0;
3418
+ if (a !== "select" && E.value === "offset") {
3419
3419
  if (!this.bumpIf(":"))
3420
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3420
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3421
3421
  this.bumpSpace();
3422
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
- if (c.err)
3424
- return c;
3425
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), y = c.val;
3422
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
+ if (f.err)
3424
+ return f;
3425
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), v = f.val;
3426
3426
  }
3427
- var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
3428
- if (A.err)
3429
- return A;
3430
- var v = this.tryParseArgumentClose(i);
3431
- if (v.err)
3432
- return v;
3427
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3428
+ if (B.err)
3429
+ return B;
3430
+ var y = this.tryParseArgumentClose(i);
3431
+ if (y.err)
3432
+ return y;
3433
3433
  var se = g(i, this.clonePosition());
3434
3434
  return a === "select" ? {
3435
3435
  val: {
3436
- type: E.select,
3436
+ type: x.select,
3437
3437
  value: n,
3438
- options: yt(A.val),
3438
+ options: yt(B.val),
3439
3439
  location: se
3440
3440
  },
3441
3441
  err: null
3442
3442
  } : {
3443
3443
  val: {
3444
- type: E.plural,
3444
+ type: x.plural,
3445
3445
  value: n,
3446
- options: yt(A.val),
3447
- offset: y,
3446
+ options: yt(B.val),
3447
+ offset: v,
3448
3448
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3449
3449
  location: se
3450
3450
  },
@@ -3452,10 +3452,10 @@ var Kn = (
3452
3452
  };
3453
3453
  }
3454
3454
  default:
3455
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3455
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3456
3456
  }
3457
3457
  }, e.prototype.tryParseArgumentClose = function(t) {
3458
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3458
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3459
3459
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3460
3460
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3461
3461
  var n = this.char();
@@ -3464,7 +3464,7 @@ var Kn = (
3464
3464
  this.bump();
3465
3465
  var i = this.clonePosition();
3466
3466
  if (!this.bumpUntil("'"))
3467
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3467
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3468
3468
  this.bump();
3469
3469
  break;
3470
3470
  }
@@ -3494,52 +3494,52 @@ var Kn = (
3494
3494
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3495
3495
  var n = [];
3496
3496
  try {
3497
- n = Nn(t);
3497
+ n = Mn(t);
3498
3498
  } catch {
3499
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3499
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3500
3500
  }
3501
3501
  return {
3502
3502
  val: {
3503
3503
  type: V.number,
3504
3504
  tokens: n,
3505
3505
  location: r,
3506
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3506
+ parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
3507
3507
  },
3508
3508
  err: null
3509
3509
  };
3510
3510
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3511
3511
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3512
3512
  if (u.length === 0) {
3513
- var c = this.clonePosition();
3513
+ var f = this.clonePosition();
3514
3514
  if (r !== "select" && this.bumpIf("=")) {
3515
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
- if (f.err)
3517
- return f;
3518
- h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3515
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
+ if (c.err)
3517
+ return c;
3518
+ h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3519
3519
  } else
3520
3520
  break;
3521
3521
  }
3522
3522
  if (l.has(u))
3523
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3523
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3524
3524
  u === "other" && (s = !0), this.bumpSpace();
3525
3525
  var m = this.clonePosition();
3526
3526
  if (!this.bumpIf("{"))
3527
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3528
- var v = this.parseMessage(t + 1, r, n);
3529
- if (v.err)
3530
- return v;
3531
- var d = this.tryParseArgumentClose(m);
3532
- if (d.err)
3533
- return d;
3527
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3528
+ var y = this.parseMessage(t + 1, r, n);
3529
+ if (y.err)
3530
+ return y;
3531
+ var b = this.tryParseArgumentClose(m);
3532
+ if (b.err)
3533
+ return b;
3534
3534
  a.push([
3535
3535
  u,
3536
3536
  {
3537
- value: v.val,
3537
+ value: y.val,
3538
3538
  location: g(m, this.clonePosition())
3539
3539
  }
3540
3540
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3541
3541
  }
3542
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3542
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3543
3543
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3544
3544
  var n = 1, i = this.clonePosition();
3545
3545
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3551,7 +3551,7 @@ var Kn = (
3551
3551
  break;
3552
3552
  }
3553
3553
  var l = g(i, this.clonePosition());
3554
- return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3554
+ return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3555
3555
  }, e.prototype.offset = function() {
3556
3556
  return this.position.offset;
3557
3557
  }, e.prototype.isEOF = function() {
@@ -3620,16 +3620,16 @@ var Kn = (
3620
3620
  function Ze(e) {
3621
3621
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3622
3622
  }
3623
- function ei(e) {
3623
+ function ti(e) {
3624
3624
  return Ze(e) || e === 47;
3625
3625
  }
3626
- function ti(e) {
3626
+ function ri(e) {
3627
3627
  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;
3628
3628
  }
3629
3629
  function or(e) {
3630
3630
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3631
3631
  }
3632
- function ri(e) {
3632
+ function ni(e) {
3633
3633
  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;
3634
3634
  }
3635
3635
  function Qe(e) {
@@ -3641,11 +3641,11 @@ function Qe(e) {
3641
3641
  Wt(t) && qt(t.style) || (zt(t) || Zt(t)) && Ve(t.style) ? delete t.style.location : Yt(t) && Qe(t.children);
3642
3642
  });
3643
3643
  }
3644
- function ni(e, t) {
3644
+ function ii(e, t) {
3645
3645
  t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
- var r = new Kn(e, t).parse();
3646
+ var r = new ei(e, t).parse();
3647
3647
  if (r.err) {
3648
- var n = SyntaxError(p[r.err.kind]);
3648
+ var n = SyntaxError(d[r.err.kind]);
3649
3649
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3650
3650
  }
3651
3651
  return t?.captureLocation || Qe(r.val), r.val;
@@ -3675,7 +3675,7 @@ var Ee = (
3675
3675
  }
3676
3676
  return t;
3677
3677
  }(Ee)
3678
- ), ii = (
3678
+ ), oi = (
3679
3679
  /** @class */
3680
3680
  function(e) {
3681
3681
  xe(t, e);
@@ -3684,7 +3684,7 @@ var Ee = (
3684
3684
  }
3685
3685
  return t;
3686
3686
  }(Ee)
3687
- ), oi = (
3687
+ ), si = (
3688
3688
  /** @class */
3689
3689
  function(e) {
3690
3690
  xe(t, e);
@@ -3693,24 +3693,24 @@ var Ee = (
3693
3693
  }
3694
3694
  return t;
3695
3695
  }(Ee)
3696
- ), C;
3696
+ ), P;
3697
3697
  (function(e) {
3698
3698
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3699
- })(C || (C = {}));
3700
- function si(e) {
3699
+ })(P || (P = {}));
3700
+ function ai(e) {
3701
3701
  return e.length < 2 ? e : e.reduce(function(t, r) {
3702
3702
  var n = t[t.length - 1];
3703
- return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3703
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3704
3704
  }, []);
3705
3705
  }
3706
- function ai(e) {
3706
+ function ui(e) {
3707
3707
  return typeof e == "function";
3708
3708
  }
3709
3709
  function me(e, t, r, n, i, o, s) {
3710
3710
  if (e.length === 1 && pt(e[0]))
3711
3711
  return [
3712
3712
  {
3713
- type: C.literal,
3713
+ type: P.literal,
3714
3714
  value: e[0].value
3715
3715
  }
3716
3716
  ];
@@ -3718,100 +3718,100 @@ function me(e, t, r, n, i, o, s) {
3718
3718
  var h = u[l];
3719
3719
  if (pt(h)) {
3720
3720
  a.push({
3721
- type: C.literal,
3721
+ type: P.literal,
3722
3722
  value: h.value
3723
3723
  });
3724
3724
  continue;
3725
3725
  }
3726
- if (Cn(h)) {
3726
+ if (Pn(h)) {
3727
3727
  typeof o == "number" && a.push({
3728
- type: C.literal,
3728
+ type: P.literal,
3729
3729
  value: r.getNumberFormat(t).format(o)
3730
3730
  });
3731
3731
  continue;
3732
3732
  }
3733
- var c = h.value;
3734
- if (!(i && c in i))
3735
- throw new oi(c, s);
3736
- var f = i[c];
3737
- if (Bn(h)) {
3738
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3739
- type: typeof f == "string" ? C.literal : C.object,
3740
- value: f
3733
+ var f = h.value;
3734
+ if (!(i && f in i))
3735
+ throw new si(f, s);
3736
+ var c = i[f];
3737
+ if (Cn(h)) {
3738
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3739
+ type: typeof c == "string" ? P.literal : P.object,
3740
+ value: c
3741
3741
  });
3742
3742
  continue;
3743
3743
  }
3744
3744
  if (zt(h)) {
3745
3745
  var m = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3746
3746
  a.push({
3747
- type: C.literal,
3748
- value: r.getDateTimeFormat(t, m).format(f)
3747
+ type: P.literal,
3748
+ value: r.getDateTimeFormat(t, m).format(c)
3749
3749
  });
3750
3750
  continue;
3751
3751
  }
3752
3752
  if (Zt(h)) {
3753
3753
  var m = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3754
3754
  a.push({
3755
- type: C.literal,
3756
- value: r.getDateTimeFormat(t, m).format(f)
3755
+ type: P.literal,
3756
+ value: r.getDateTimeFormat(t, m).format(c)
3757
3757
  });
3758
3758
  continue;
3759
3759
  }
3760
3760
  if (Wt(h)) {
3761
3761
  var m = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3762
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3763
- type: C.literal,
3764
- value: r.getNumberFormat(t, m).format(f)
3762
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3763
+ type: P.literal,
3764
+ value: r.getNumberFormat(t, m).format(c)
3765
3765
  });
3766
3766
  continue;
3767
3767
  }
3768
3768
  if (Yt(h)) {
3769
- var v = h.children, d = h.value, S = i[d];
3770
- if (!ai(S))
3771
- throw new ii(d, "function", s);
3772
- var P = me(v, t, r, n, i, o), H = S(P.map(function(y) {
3773
- return y.value;
3769
+ var y = h.children, b = h.value, H = i[b];
3770
+ if (!ui(H))
3771
+ throw new oi(b, "function", s);
3772
+ var S = me(y, t, r, n, i, o), A = H(S.map(function(v) {
3773
+ return v.value;
3774
3774
  }));
3775
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(y) {
3775
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(v) {
3776
3776
  return {
3777
- type: typeof y == "string" ? C.literal : C.object,
3778
- value: y
3777
+ type: typeof v == "string" ? P.literal : P.object,
3778
+ value: v
3779
3779
  };
3780
3780
  }));
3781
3781
  }
3782
3782
  if (Qt(h)) {
3783
- var _ = h.options[f] || h.options.other;
3783
+ var _ = h.options[c] || h.options.other;
3784
3784
  if (!_)
3785
- throw new xt(h.value, f, Object.keys(h.options), s);
3785
+ throw new xt(h.value, c, Object.keys(h.options), s);
3786
3786
  a.push.apply(a, me(_.value, t, r, n, i));
3787
3787
  continue;
3788
3788
  }
3789
3789
  if (Jt(h)) {
3790
- var _ = h.options["=".concat(f)];
3790
+ var _ = h.options["=".concat(c)];
3791
3791
  if (!_) {
3792
3792
  if (!Intl.PluralRules)
3793
3793
  throw new Ee(`Intl.PluralRules is not available in this environment.
3794
3794
  Try polyfilling it using "@formatjs/intl-pluralrules"
3795
3795
  `, X.MISSING_INTL_API, s);
3796
- var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3797
- _ = h.options[x] || h.options.other;
3796
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3797
+ _ = h.options[E] || h.options.other;
3798
3798
  }
3799
3799
  if (!_)
3800
- throw new xt(h.value, f, Object.keys(h.options), s);
3801
- a.push.apply(a, me(_.value, t, r, n, i, f - (h.offset || 0)));
3800
+ throw new xt(h.value, c, Object.keys(h.options), s);
3801
+ a.push.apply(a, me(_.value, t, r, n, i, c - (h.offset || 0)));
3802
3802
  continue;
3803
3803
  }
3804
3804
  }
3805
- return si(a);
3805
+ return ai(a);
3806
3806
  }
3807
- function ui(e, t) {
3807
+ function li(e, t) {
3808
3808
  return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
3809
  return r[n] = N(N({}, e[n]), t[n] || {}), r;
3810
3810
  }, {})) : e;
3811
3811
  }
3812
- function li(e, t) {
3812
+ function hi(e, t) {
3813
3813
  return t ? Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = ui(e[n], t[n]), r;
3814
+ return r[n] = li(e[n], t[n]), r;
3815
3815
  }, N({}, e)) : e;
3816
3816
  }
3817
3817
  function Oe(e) {
@@ -3828,7 +3828,7 @@ function Oe(e) {
3828
3828
  }
3829
3829
  };
3830
3830
  }
3831
- function hi(e) {
3831
+ function ci(e) {
3832
3832
  return e === void 0 && (e = {
3833
3833
  number: {},
3834
3834
  dateTime: {},
@@ -3860,7 +3860,7 @@ function hi(e) {
3860
3860
  })
3861
3861
  };
3862
3862
  }
3863
- var ci = (
3863
+ var fi = (
3864
3864
  /** @class */
3865
3865
  function() {
3866
3866
  function e(t, r, n, i) {
@@ -3874,8 +3874,8 @@ var ci = (
3874
3874
  var u = o.formatToParts(l);
3875
3875
  if (u.length === 1)
3876
3876
  return u[0].value;
3877
- var h = u.reduce(function(c, f) {
3878
- return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3877
+ var h = u.reduce(function(f, c) {
3878
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3879
3879
  }, []);
3880
3880
  return h.length <= 1 ? h[0] || "" : h;
3881
3881
  }, this.formatToParts = function(l) {
@@ -3892,13 +3892,13 @@ var ci = (
3892
3892
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3893
3893
  var s = i || {};
3894
3894
  s.formatters;
3895
- var a = _n(s, ["formatters"]);
3895
+ var a = xn(s, ["formatters"]);
3896
3896
  this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3897
3897
  } else
3898
3898
  this.ast = t;
3899
3899
  if (!Array.isArray(this.ast))
3900
3900
  throw new TypeError("A message must be provided as a String or AST.");
3901
- this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3901
+ this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3902
3902
  }
3903
3903
  return Object.defineProperty(e, "defaultLocale", {
3904
3904
  get: function() {
@@ -3911,7 +3911,7 @@ var ci = (
3911
3911
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3912
3912
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3913
3913
  }
3914
- }, e.__parse = ni, e.formats = {
3914
+ }, e.__parse = ii, e.formats = {
3915
3915
  number: {
3916
3916
  integer: {
3917
3917
  maximumFractionDigits: 0
@@ -3972,7 +3972,7 @@ var ci = (
3972
3972
  }, e;
3973
3973
  }()
3974
3974
  );
3975
- function fi(e, t) {
3975
+ function mi(e, t) {
3976
3976
  if (t == null)
3977
3977
  return;
3978
3978
  if (t in e)
@@ -3993,33 +3993,33 @@ function fi(e, t) {
3993
3993
  n = void 0;
3994
3994
  return n;
3995
3995
  }
3996
- const R = {}, mi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), sr = (e, t) => {
3996
+ const R = {}, pi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), sr = (e, t) => {
3997
3997
  if (t == null)
3998
3998
  return;
3999
3999
  if (t in R && e in R[t])
4000
4000
  return R[t][e];
4001
4001
  const r = Se(t);
4002
4002
  for (let n = 0; n < r.length; n++) {
4003
- const i = r[n], o = di(i, e);
4003
+ const i = r[n], o = bi(i, e);
4004
4004
  if (o)
4005
- return mi(e, t, o);
4005
+ return pi(e, t, o);
4006
4006
  }
4007
4007
  };
4008
4008
  let et;
4009
4009
  const oe = _e({});
4010
- function pi(e) {
4010
+ function di(e) {
4011
4011
  return et[e] || null;
4012
4012
  }
4013
4013
  function ar(e) {
4014
4014
  return e in et;
4015
4015
  }
4016
- function di(e, t) {
4016
+ function bi(e, t) {
4017
4017
  if (!ar(e))
4018
4018
  return null;
4019
- const r = pi(e);
4020
- return fi(r, t);
4019
+ const r = di(e);
4020
+ return mi(r, t);
4021
4021
  }
4022
- function bi(e) {
4022
+ function gi(e) {
4023
4023
  if (e == null)
4024
4024
  return;
4025
4025
  const t = Se(e);
@@ -4030,7 +4030,7 @@ function bi(e) {
4030
4030
  }
4031
4031
  }
4032
4032
  function ur(e, ...t) {
4033
- delete R[e], oe.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4033
+ delete R[e], oe.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4034
4034
  }
4035
4035
  Q(
4036
4036
  [oe],
@@ -4038,13 +4038,13 @@ Q(
4038
4038
  );
4039
4039
  oe.subscribe((e) => et = e);
4040
4040
  const pe = {};
4041
- function gi(e, t) {
4041
+ function vi(e, t) {
4042
4042
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4043
4043
  }
4044
4044
  function lr(e) {
4045
4045
  return pe[e];
4046
4046
  }
4047
- function vi(e) {
4047
+ function yi(e) {
4048
4048
  return Se(e).map((t) => {
4049
4049
  const r = lr(t);
4050
4050
  return [t, r ? [...r] : []];
@@ -4058,19 +4058,19 @@ function Je(e) {
4058
4058
  }
4059
4059
  );
4060
4060
  }
4061
- function yi(e, t) {
4061
+ function _i(e, t) {
4062
4062
  return Promise.all(
4063
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4063
+ t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
4064
4064
  ).then((n) => ur(e, ...n));
4065
4065
  }
4066
4066
  const q = {};
4067
4067
  function hr(e) {
4068
4068
  if (!Je(e))
4069
4069
  return e in q ? q[e] : Promise.resolve();
4070
- const t = vi(e);
4070
+ const t = yi(e);
4071
4071
  return q[e] = Promise.all(
4072
4072
  t.map(
4073
- ([r, n]) => yi(r, n)
4073
+ ([r, n]) => _i(r, n)
4074
4074
  )
4075
4075
  ).then(() => {
4076
4076
  if (Je(e))
@@ -4078,7 +4078,7 @@ function hr(e) {
4078
4078
  delete q[e];
4079
4079
  }), q[e];
4080
4080
  }
4081
- const _i = {
4081
+ const xi = {
4082
4082
  number: {
4083
4083
  scientific: { notation: "scientific" },
4084
4084
  engineering: { notation: "engineering" },
@@ -4107,26 +4107,26 @@ const _i = {
4107
4107
  timeZoneName: "short"
4108
4108
  }
4109
4109
  }
4110
- }, xi = {
4110
+ }, Ei = {
4111
4111
  fallbackLocale: null,
4112
4112
  loadingDelay: 200,
4113
- formats: _i,
4113
+ formats: xi,
4114
4114
  warnOnMissingMessages: !0,
4115
4115
  handleMissingMessage: void 0,
4116
4116
  ignoreTag: !0
4117
- }, Ei = xi;
4117
+ }, Si = Ei;
4118
4118
  function W() {
4119
- return Ei;
4119
+ return Si;
4120
4120
  }
4121
4121
  const Ie = _e(!1);
4122
- var Si = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4122
+ var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
4123
4123
  for (var r in t || (t = {}))
4124
- Hi.call(t, r) && St(e, r, t[r]);
4124
+ Ai.call(t, r) && St(e, r, t[r]);
4125
4125
  if (Et)
4126
4126
  for (var r of Et(t))
4127
- Ai.call(t, r) && St(e, r, t[r]);
4127
+ Bi.call(t, r) && St(e, r, t[r]);
4128
4128
  return e;
4129
- }, Ci = (e, t) => wi(e, Ti(t));
4129
+ }, Pi = (e, t) => Ti(e, Hi(t));
4130
4130
  let Ye;
4131
4131
  const be = _e(null);
4132
4132
  function wt(e) {
@@ -4142,8 +4142,8 @@ function $() {
4142
4142
  be.subscribe((e) => {
4143
4143
  Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4144
4144
  });
4145
- const Pi = (e) => {
4146
- if (e && bi(e) && Je(e)) {
4145
+ const Oi = (e) => {
4146
+ if (e && gi(e) && Je(e)) {
4147
4147
  const { loadingDelay: t } = W();
4148
4148
  let r;
4149
4149
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
@@ -4156,8 +4156,8 @@ const Pi = (e) => {
4156
4156
  });
4157
4157
  }
4158
4158
  return be.set(e);
4159
- }, J = Ci(Bi({}, be), {
4160
- set: Pi
4159
+ }, J = Pi(Ci({}, be), {
4160
+ set: Oi
4161
4161
  }), we = (e) => {
4162
4162
  const t = /* @__PURE__ */ Object.create(null);
4163
4163
  return (n) => {
@@ -4165,7 +4165,7 @@ const Pi = (e) => {
4165
4165
  return i in t ? t[i] : t[i] = e(n);
4166
4166
  };
4167
4167
  };
4168
- var Oi = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4168
+ var Ii = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4169
4169
  for (var r in t || (t = {}))
4170
4170
  cr.call(t, r) && Tt(e, r, t[r]);
4171
4171
  if (ge)
@@ -4186,21 +4186,21 @@ const re = (e, t) => {
4186
4186
  if (e in r && t in r[e])
4187
4187
  return r[e][t];
4188
4188
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4189
- }, Ii = we(
4189
+ }, Ni = we(
4190
4190
  (e) => {
4191
4191
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4192
4192
  if (r == null)
4193
4193
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4194
4194
  return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4195
4195
  }
4196
- ), Ni = we(
4196
+ ), Mi = we(
4197
4197
  (e) => {
4198
4198
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4199
4199
  if (r == null)
4200
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4201
4201
  return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4202
4202
  }
4203
- ), Mi = we(
4203
+ ), Li = we(
4204
4204
  (e) => {
4205
4205
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4206
4206
  if (r == null)
@@ -4209,33 +4209,33 @@ const re = (e, t) => {
4209
4209
  );
4210
4210
  return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4211
4211
  }
4212
- ), Li = (e = {}) => {
4212
+ ), Ri = (e = {}) => {
4213
4213
  var t = e, {
4214
4214
  locale: r = $()
4215
4215
  } = t, n = Y(t, [
4216
4216
  "locale"
4217
4217
  ]);
4218
- return Ii(tt({ locale: r }, n));
4219
- }, Ri = (e = {}) => {
4218
+ return Ni(tt({ locale: r }, n));
4219
+ }, $i = (e = {}) => {
4220
4220
  var t = e, {
4221
4221
  locale: r = $()
4222
4222
  } = t, n = Y(t, [
4223
4223
  "locale"
4224
4224
  ]);
4225
- return Ni(tt({ locale: r }, n));
4226
- }, $i = (e = {}) => {
4225
+ return Mi(tt({ locale: r }, n));
4226
+ }, Gi = (e = {}) => {
4227
4227
  var t = e, {
4228
4228
  locale: r = $()
4229
4229
  } = t, n = Y(t, [
4230
4230
  "locale"
4231
4231
  ]);
4232
- return Mi(tt({ locale: r }, n));
4233
- }, Gi = we(
4232
+ return Li(tt({ locale: r }, n));
4233
+ }, Ui = we(
4234
4234
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4235
- (e, t = $()) => new ci(e, t, W().formats, {
4235
+ (e, t = $()) => new fi(e, t, W().formats, {
4236
4236
  ignoreTag: W().ignoreTag
4237
4237
  })
4238
- ), Ui = (e, t = {}) => {
4238
+ ), Di = (e, t = {}) => {
4239
4239
  var r, n, i, o;
4240
4240
  let s = t;
4241
4241
  typeof e == "object" && (s = e, e = s.id);
@@ -4257,28 +4257,28 @@ const re = (e, t) => {
4257
4257
  ), h;
4258
4258
  if (!a)
4259
4259
  return h;
4260
- let c = h;
4260
+ let f = h;
4261
4261
  try {
4262
- c = Gi(h, l).format(a);
4263
- } catch (f) {
4264
- f instanceof Error && console.warn(
4262
+ f = Ui(h, l).format(a);
4263
+ } catch (c) {
4264
+ c instanceof Error && console.warn(
4265
4265
  `[svelte-i18n] Message "${e}" has syntax error:`,
4266
- f.message
4266
+ c.message
4267
4267
  );
4268
4268
  }
4269
- return c;
4270
- }, Di = (e, t) => $i(t).format(e), Fi = (e, t) => Ri(t).format(e), ji = (e, t) => Li(t).format(e), ki = (e, t = $()) => sr(e, t), Vi = Q([J, oe], () => Ui);
4271
- Q([J], () => Di);
4269
+ return f;
4270
+ }, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = $()) => sr(e, t), Xi = Q([J, oe], () => Di);
4272
4271
  Q([J], () => Fi);
4273
4272
  Q([J], () => ji);
4274
- Q([J, oe], () => ki);
4275
- window.emWidgets = { topic: tn };
4276
- const Xi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4273
+ Q([J], () => ki);
4274
+ Q([J, oe], () => Vi);
4275
+ window.emWidgets = { topic: rn };
4276
+ const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
4277
  String(Number.MAX_SAFE_INTEGER).length;
4278
4278
  function Ht(e, t) {
4279
4279
  ur(e, t);
4280
4280
  }
4281
- function Wi(e) {
4281
+ function zi(e) {
4282
4282
  J.set(e);
4283
4283
  }
4284
4284
  const At = {
@@ -4327,13 +4327,13 @@ const At = {
4327
4327
  confirm: "Confirm"
4328
4328
  }
4329
4329
  };
4330
- function zi(e, t) {
4330
+ function Zi(e, t) {
4331
4331
  if (e) {
4332
4332
  const r = document.createElement("style");
4333
4333
  r.innerHTML = t, e.appendChild(r);
4334
4334
  }
4335
4335
  }
4336
- function Zi(e, t) {
4336
+ function Qi(e, t) {
4337
4337
  if (!e || !t)
4338
4338
  return;
4339
4339
  const r = new URL(t);
@@ -4344,7 +4344,7 @@ function Zi(e, t) {
4344
4344
  console.error("There was an error while trying to load client styling from URL", n);
4345
4345
  });
4346
4346
  }
4347
- function Qi(e, t, r) {
4347
+ function Ji(e, t, r) {
4348
4348
  if (window.emMessageBus) {
4349
4349
  const n = document.createElement("style");
4350
4350
  window.emMessageBus.subscribe(t, (i) => {
@@ -4352,18 +4352,18 @@ function Qi(e, t, r) {
4352
4352
  });
4353
4353
  }
4354
4354
  }
4355
- function Ji(e) {
4356
- Er(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4355
+ function Yi(e) {
4356
+ Sr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4357
4357
  }
4358
- const Yi = (e) => ({}), Bt = (e) => ({});
4359
- function qi(e) {
4358
+ const qi = (e) => ({}), Bt = (e) => ({});
4359
+ function Ki(e) {
4360
4360
  let t, r;
4361
4361
  return {
4362
4362
  c() {
4363
4363
  t = it("svg"), r = it("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4364
4364
  },
4365
4365
  m(n, i) {
4366
- ne(n, t, i), B(t, r);
4366
+ ne(n, t, i), C(t, r);
4367
4367
  },
4368
4368
  p: M,
4369
4369
  d(n) {
@@ -4381,7 +4381,7 @@ function Ct(e) {
4381
4381
  ), T(t, "class", "GeneralConfirmationTitle");
4382
4382
  },
4383
4383
  m(i, o) {
4384
- ne(i, t, o), B(t, r), B(r, n);
4384
+ ne(i, t, o), C(t, r), C(r, n);
4385
4385
  },
4386
4386
  p(i, o) {
4387
4387
  o & /*modaltitle*/
@@ -4406,11 +4406,11 @@ function Pt(e) {
4406
4406
  t = I("button"), n = ve(r), T(t, "class", "GeneralCancelButton");
4407
4407
  },
4408
4408
  m(s, a) {
4409
- ne(s, t, a), B(t, n), i || (o = Ne(
4409
+ ne(s, t, a), C(t, n), i || (o = Ne(
4410
4410
  t,
4411
4411
  "click",
4412
4412
  /*click_handler*/
4413
- e[17]
4413
+ e[18]
4414
4414
  ), i = !0);
4415
4415
  },
4416
4416
  p(s, a) {
@@ -4423,38 +4423,38 @@ function Pt(e) {
4423
4423
  }
4424
4424
  };
4425
4425
  }
4426
- function Ki(e) {
4427
- let t, r, n, i, o, s, a, l, u, h, c = (
4426
+ function eo(e) {
4427
+ let t, r, n, i, o, s, a, l, u, h, f = (
4428
4428
  /*$_*/
4429
4429
  e[4]("confirm") + ""
4430
- ), f, m, v, d;
4431
- const S = (
4430
+ ), c, m, y, b;
4431
+ const H = (
4432
4432
  /*#slots*/
4433
- e[16].close
4434
- ), P = vr(
4435
- S,
4433
+ e[17].close
4434
+ ), S = yr(
4435
+ H,
4436
4436
  e,
4437
4437
  /*$$scope*/
4438
- e[15],
4438
+ e[16],
4439
4439
  Bt
4440
- ), H = P || qi();
4440
+ ), A = S || Ki();
4441
4441
  let _ = (
4442
4442
  /*modaltitle*/
4443
4443
  e[1] && Ct(e)
4444
- ), x = (
4444
+ ), E = (
4445
4445
  /*hascancelbutton*/
4446
4446
  e[2] && Pt(e)
4447
4447
  );
4448
4448
  return {
4449
4449
  c() {
4450
- t = I("div"), r = I("div"), n = I("span"), H && H.c(), i = ae(), _ && _.c(), o = ae(), s = I("div"), a = ae(), l = I("div"), x && x.c(), u = ae(), h = I("button"), f = ve(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4450
+ t = I("div"), r = I("div"), n = I("span"), A && A.c(), i = ae(), _ && _.c(), o = ae(), s = I("div"), a = ae(), l = I("div"), E && E.c(), u = ae(), h = I("button"), c = ve(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4451
4451
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4452
4452
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4453
4453
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4454
4454
  },
4455
- m(y, A) {
4456
- ne(y, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4457
- e[0], B(r, a), B(r, l), x && x.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, v || (d = [
4455
+ m(v, B) {
4456
+ ne(v, t, B), C(t, r), C(r, n), A && A.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4457
+ e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, c), e[20](t), m = !0, y || (b = [
4458
4458
  Ne(
4459
4459
  n,
4460
4460
  "click",
@@ -4465,58 +4465,66 @@ function Ki(e) {
4465
4465
  h,
4466
4466
  "click",
4467
4467
  /*click_handler_1*/
4468
- e[18]
4468
+ e[19]
4469
4469
  )
4470
- ], v = !0);
4470
+ ], y = !0);
4471
4471
  },
4472
- p(y, [A]) {
4473
- P && P.p && (!m || A & /*$$scope*/
4474
- 32768) && _r(
4475
- P,
4472
+ p(v, [B]) {
4473
+ S && S.p && (!m || B & /*$$scope*/
4474
+ 65536) && xr(
4476
4475
  S,
4477
- y,
4476
+ H,
4477
+ v,
4478
4478
  /*$$scope*/
4479
- y[15],
4480
- m ? yr(
4481
- S,
4479
+ v[16],
4480
+ m ? _r(
4481
+ H,
4482
4482
  /*$$scope*/
4483
- y[15],
4484
- A,
4485
- Yi
4486
- ) : xr(
4483
+ v[16],
4484
+ B,
4485
+ qi
4486
+ ) : Er(
4487
4487
  /*$$scope*/
4488
- y[15]
4488
+ v[16]
4489
4489
  ),
4490
4490
  Bt
4491
4491
  ), /*modaltitle*/
4492
- y[1] ? _ ? _.p(y, A) : (_ = Ct(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4492
+ v[1] ? _ ? _.p(v, B) : (_ = Ct(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
4493
4493
  1) && (s.innerHTML = /*modaltext*/
4494
- y[0]), /*hascancelbutton*/
4495
- y[2] ? x ? x.p(y, A) : (x = Pt(y), x.c(), x.m(l, u)) : x && (x.d(1), x = null), (!m || A & /*$_*/
4496
- 16) && c !== (c = /*$_*/
4497
- y[4]("confirm") + "") && Ke(f, c);
4494
+ v[0]), /*hascancelbutton*/
4495
+ v[2] ? E ? E.p(v, B) : (E = Pt(v), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
4496
+ 16) && f !== (f = /*$_*/
4497
+ v[4]("confirm") + "") && Ke(c, f);
4498
4498
  },
4499
- i(y) {
4500
- m || (Lt(H, y), m = !0);
4499
+ i(v) {
4500
+ m || (Lt(A, v), m = !0);
4501
4501
  },
4502
- o(y) {
4503
- Mr(H, y), m = !1;
4502
+ o(v) {
4503
+ Lr(A, v), m = !1;
4504
4504
  },
4505
- d(y) {
4506
- y && Z(t), H && H.d(y), _ && _.d(), x && x.d(), e[19](null), v = !1, z(d);
4505
+ d(v) {
4506
+ v && Z(t), A && A.d(v), _ && _.d(), E && E.d(), e[20](null), y = !1, z(b);
4507
4507
  }
4508
4508
  };
4509
4509
  }
4510
- function eo(e, t, r) {
4510
+ function to(e, t, r) {
4511
4511
  let n;
4512
- gr(e, Vi, (b) => r(4, n = b));
4513
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: v = "" } = t, { mbsource: d } = t, S, P = window.navigator.userAgent, H = Xi(P) !== "PC";
4514
- const _ = () => {
4512
+ vr(e, Xi, (p) => r(4, n = p));
4513
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = "" } = t, { modalcancelevent: h = "" } = t, { modalconfirmdata: f = {} } = t, { lang: c = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: b = "" } = t, { mbsource: H } = t, S, A = window.navigator.userAgent, _ = Wi(A) !== "PC";
4514
+ const E = () => {
4515
4515
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4516
- }, x = (b) => {
4517
- b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4518
- }, y = () => {
4519
- fetch(v).then((G) => G.json()).then((G) => {
4516
+ }, v = (p) => {
4517
+ p === "confirm" && u && S.dispatchEvent(new CustomEvent(
4518
+ u,
4519
+ {
4520
+ detail: f,
4521
+ // payload
4522
+ bubbles: !0,
4523
+ composed: !0
4524
+ }
4525
+ )), p === "cancel" && h && S.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), E();
4526
+ }, B = () => {
4527
+ fetch(b).then((G) => G.json()).then((G) => {
4520
4528
  Object.keys(G).forEach((rt) => {
4521
4529
  Ht(rt, G[rt]);
4522
4530
  });
@@ -4524,59 +4532,60 @@ function eo(e, t, r) {
4524
4532
  console.log(G);
4525
4533
  });
4526
4534
  };
4527
- Object.keys(At).forEach((b) => {
4528
- Ht(b, At[b]);
4535
+ Object.keys(At).forEach((p) => {
4536
+ Ht(p, At[p]);
4529
4537
  });
4530
- const A = () => {
4531
- Wi(c);
4538
+ const se = () => {
4539
+ zi(c);
4532
4540
  };
4533
- Br(() => () => {
4541
+ Cr(() => () => {
4534
4542
  });
4535
- const se = () => x("cancel"), mr = () => x("confirm");
4536
- function pr(b) {
4537
- Me[b ? "unshift" : "push"](() => {
4538
- S = b, r(3, S);
4543
+ const mr = () => v("cancel"), pr = () => v("confirm");
4544
+ function dr(p) {
4545
+ Me[p ? "unshift" : "push"](() => {
4546
+ S = p, r(3, S);
4539
4547
  });
4540
4548
  }
4541
- return e.$$set = (b) => {
4542
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, v = b.translationurl), "mbsource" in b && r(14, d = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4549
+ return e.$$set = (p) => {
4550
+ "modaltext" in p && r(0, s = p.modaltext), "modaltitle" in p && r(1, a = p.modaltitle), "hascancelbutton" in p && r(2, l = p.hascancelbutton), "modalconfirmevent" in p && r(8, u = p.modalconfirmevent), "modalcancelevent" in p && r(9, h = p.modalcancelevent), "modalconfirmdata" in p && r(10, f = p.modalconfirmdata), "lang" in p && r(11, c = p.lang), "clientstyling" in p && r(12, m = p.clientstyling), "clientstylingurl" in p && r(13, y = p.clientstylingurl), "translationurl" in p && r(14, b = p.translationurl), "mbsource" in p && r(15, H = p.mbsource), "$$scope" in p && r(16, o = p.$$scope);
4543
4551
  }, e.$$.update = () => {
4544
4552
  e.$$.dirty & /*modaltext, lang*/
4545
- 1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4546
- 2056 && f && S && zi(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4547
- 4104 && m && S && Zi(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4548
- 16392 && d && S && Qi(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4549
- 8192 && v && y();
4553
+ 2049 && s && c && se(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4554
+ 4104 && m && S && Zi(S, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4555
+ 8200 && y && S && Qi(S, y), e.$$.dirty & /*mbsource, customStylingContainer*/
4556
+ 32776 && H && S && Ji(S, `${H}.Style`), e.$$.dirty & /*translationurl*/
4557
+ 16384 && b && B();
4550
4558
  }, [
4551
4559
  s,
4552
4560
  a,
4553
4561
  l,
4554
4562
  S,
4555
4563
  n,
4556
- H,
4557
4564
  _,
4558
- x,
4565
+ E,
4566
+ v,
4559
4567
  u,
4560
4568
  h,
4561
- c,
4562
4569
  f,
4570
+ c,
4563
4571
  m,
4564
- v,
4565
- d,
4572
+ y,
4573
+ b,
4574
+ H,
4566
4575
  o,
4567
4576
  i,
4568
- se,
4569
4577
  mr,
4570
- pr
4578
+ pr,
4579
+ dr
4571
4580
  ];
4572
4581
  }
4573
- class to extends Dr {
4582
+ class ro extends Fr {
4574
4583
  constructor(t) {
4575
- super(), Gr(
4584
+ super(), Ur(
4576
4585
  this,
4577
4586
  t,
4587
+ to,
4578
4588
  eo,
4579
- Ki,
4580
4589
  It,
4581
4590
  {
4582
4591
  modaltext: 0,
@@ -4584,13 +4593,14 @@ class to extends Dr {
4584
4593
  hascancelbutton: 2,
4585
4594
  modalconfirmevent: 8,
4586
4595
  modalcancelevent: 9,
4587
- lang: 10,
4588
- clientstyling: 11,
4589
- clientstylingurl: 12,
4590
- translationurl: 13,
4591
- mbsource: 14
4596
+ modalconfirmdata: 10,
4597
+ lang: 11,
4598
+ clientstyling: 12,
4599
+ clientstylingurl: 13,
4600
+ translationurl: 14,
4601
+ mbsource: 15
4592
4602
  },
4593
- Ji
4603
+ Yi
4594
4604
  );
4595
4605
  }
4596
4606
  get modaltext() {
@@ -4623,38 +4633,44 @@ class to extends Dr {
4623
4633
  set modalcancelevent(t) {
4624
4634
  this.$$set({ modalcancelevent: t }), O();
4625
4635
  }
4626
- get lang() {
4636
+ get modalconfirmdata() {
4627
4637
  return this.$$.ctx[10];
4628
4638
  }
4639
+ set modalconfirmdata(t) {
4640
+ this.$$set({ modalconfirmdata: t }), O();
4641
+ }
4642
+ get lang() {
4643
+ return this.$$.ctx[11];
4644
+ }
4629
4645
  set lang(t) {
4630
4646
  this.$$set({ lang: t }), O();
4631
4647
  }
4632
4648
  get clientstyling() {
4633
- return this.$$.ctx[11];
4649
+ return this.$$.ctx[12];
4634
4650
  }
4635
4651
  set clientstyling(t) {
4636
4652
  this.$$set({ clientstyling: t }), O();
4637
4653
  }
4638
4654
  get clientstylingurl() {
4639
- return this.$$.ctx[12];
4655
+ return this.$$.ctx[13];
4640
4656
  }
4641
4657
  set clientstylingurl(t) {
4642
4658
  this.$$set({ clientstylingurl: t }), O();
4643
4659
  }
4644
4660
  get translationurl() {
4645
- return this.$$.ctx[13];
4661
+ return this.$$.ctx[14];
4646
4662
  }
4647
4663
  set translationurl(t) {
4648
4664
  this.$$set({ translationurl: t }), O();
4649
4665
  }
4650
4666
  get mbsource() {
4651
- return this.$$.ctx[14];
4667
+ return this.$$.ctx[15];
4652
4668
  }
4653
4669
  set mbsource(t) {
4654
4670
  this.$$set({ mbsource: t }), O();
4655
4671
  }
4656
4672
  }
4657
- Ur(to, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4673
+ Dr(ro, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4658
4674
  export {
4659
- to as P
4675
+ ro as P
4660
4676
  };