@everymatrix/player-account-general-confirmation-modal 1.76.13 → 1.76.14

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,4 +1,4 @@
1
- function N() {
1
+ function M() {
2
2
  }
3
3
  function dr(e, t) {
4
4
  for (const r in t)
@@ -8,46 +8,46 @@ function dr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ot(e) {
11
+ function Ct(e) {
12
12
  return e();
13
13
  }
14
- function nt() {
14
+ function tt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function z(e) {
18
- e.forEach(Ot);
17
+ function Z(e) {
18
+ e.forEach(Ct);
19
19
  }
20
- function qe(e) {
20
+ function Ze(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function It(e, t) {
23
+ function Pt(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 pr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Mt(e, ...t) {
29
+ function Ot(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return N;
33
+ return M;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function gr(e, t, r) {
39
- e.$$.on_destroy.push(Mt(t, r));
38
+ function br(e, t, r) {
39
+ e.$$.on_destroy.push(Ot(t, r));
40
40
  }
41
- function vr(e, t, r, n) {
41
+ function gr(e, t, r, n) {
42
42
  if (e) {
43
- const i = Nt(e, t, r, n);
43
+ const i = It(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Nt(e, t, r, n) {
47
+ function It(e, t, r, n) {
48
48
  return e[1] && n ? dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function yr(e, t, r, n) {
50
+ function vr(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,9 +62,9 @@ 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 yr(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Nt(t, r, n, o);
67
+ const s = It(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
@@ -77,17 +77,17 @@ function xr(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function B(e, t) {
80
+ function A(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function Er(e, t, r) {
84
- const n = Sr(e);
83
+ function _r(e, t, r) {
84
+ const n = Er(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, Sr(n, i);
88
88
  }
89
89
  }
90
- function Sr(e) {
90
+ function Er(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,45 +97,45 @@ function Sr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function wr(e, t) {
101
- return B(
100
+ function Sr(e, t) {
101
+ return A(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function ne(e, t, r) {
107
+ function ie(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function Z(e) {
110
+ function Q(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
113
  function I(e) {
114
114
  return document.createElement(e);
115
115
  }
116
- function it(e) {
116
+ function rt(e) {
117
117
  return document.createElementNS("http://www.w3.org/2000/svg", e);
118
118
  }
119
- function ve(e) {
119
+ function ge(e) {
120
120
  return document.createTextNode(e);
121
121
  }
122
122
  function ae() {
123
- return ve(" ");
123
+ return ge(" ");
124
124
  }
125
- function Me(e, t, r, n) {
125
+ function Oe(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
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 wr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function Ke(e, t) {
134
+ function Qe(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Hr(e) {
138
+ function Tr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,105 +144,105 @@ function Hr(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let ee;
148
- function K(e) {
149
- ee = e;
147
+ let te;
148
+ function ee(e) {
149
+ te = e;
150
150
  }
151
- function Ar() {
152
- if (!ee)
151
+ function Hr() {
152
+ if (!te)
153
153
  throw new Error("Function called outside component initialization");
154
- return ee;
154
+ return te;
155
155
  }
156
156
  function Br(e) {
157
- Ar().$$.on_mount.push(e);
157
+ Hr().$$.on_mount.push(e);
158
158
  }
159
- const F = [], Ne = [];
159
+ const F = [], Ie = [];
160
160
  let j = [];
161
- const ot = [], Cr = /* @__PURE__ */ Promise.resolve();
162
- let Le = !1;
163
- function Pr() {
164
- Le || (Le = !0, Cr.then(O));
161
+ const nt = [], Ar = /* @__PURE__ */ Promise.resolve();
162
+ let Me = !1;
163
+ function Cr() {
164
+ Me || (Me = !0, Ar.then(O));
165
165
  }
166
- function Re(e) {
166
+ function Ne(e) {
167
167
  j.push(e);
168
168
  }
169
- const Te = /* @__PURE__ */ new Set();
169
+ const Se = /* @__PURE__ */ new Set();
170
170
  let U = 0;
171
171
  function O() {
172
172
  if (U !== 0)
173
173
  return;
174
- const e = ee;
174
+ const e = te;
175
175
  do {
176
176
  try {
177
177
  for (; U < F.length; ) {
178
178
  const t = F[U];
179
- U++, K(t), Or(t.$$);
179
+ U++, ee(t), Pr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw F.length = 0, U = 0, t;
183
183
  }
184
- for (K(null), F.length = 0, U = 0; Ne.length; )
185
- Ne.pop()();
184
+ for (ee(null), F.length = 0, U = 0; Ie.length; )
185
+ Ie.pop()();
186
186
  for (let t = 0; t < j.length; t += 1) {
187
187
  const r = j[t];
188
- Te.has(r) || (Te.add(r), r());
188
+ Se.has(r) || (Se.add(r), r());
189
189
  }
190
190
  j.length = 0;
191
191
  } while (F.length);
192
- for (; ot.length; )
193
- ot.pop()();
194
- Le = !1, Te.clear(), K(e);
192
+ for (; nt.length; )
193
+ nt.pop()();
194
+ Me = !1, Se.clear(), ee(e);
195
195
  }
196
- function Or(e) {
196
+ function Pr(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), z(e.before_update);
198
+ e.update(), Z(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
201
201
  }
202
202
  }
203
- function Ir(e) {
203
+ function Or(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 Mr;
209
- function Lt(e, t) {
208
+ let Ir;
209
+ function Mt(e, t) {
210
210
  e && e.i && (he.delete(e), e.i(t));
211
211
  }
212
- function Nr(e, t, r, n) {
212
+ function Mr(e, t, r, n) {
213
213
  if (e && e.o) {
214
214
  if (he.has(e))
215
215
  return;
216
- he.add(e), Mr.c.push(() => {
216
+ he.add(e), Ir.c.push(() => {
217
217
  he.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function Lr(e, t, r) {
221
+ function Nr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Re(() => {
224
- const o = e.$$.on_mount.map(Ot).filter(qe);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
226
- }), i.forEach(Re);
223
+ n && n.m(t, r), Ne(() => {
224
+ const o = e.$$.on_mount.map(Ct).filter(Ze);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
226
+ }), i.forEach(Ne);
227
227
  }
228
- function Rr(e, t) {
228
+ function Lr(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 && (Or(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 Rr(e, t) {
233
+ e.$$.dirty[0] === -1 && (F.push(e), Cr(), 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]) {
236
- const l = ee;
237
- K(e);
235
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
236
+ const l = te;
237
+ ee(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
241
241
  // state
242
242
  props: o,
243
- update: N,
243
+ update: M,
244
244
  not_equal: i,
245
- bound: nt(),
245
+ bound: tt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,7 +251,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (l ? l.$$.context : [])),
253
253
  // everything else
254
- callbacks: nt(),
254
+ callbacks: tt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
@@ -260,19 +260,19 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
260
260
  let h = !1;
261
261
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
262
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;
264
- }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
263
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Rr(e, c)), f;
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 c = wr(t.target);
267
+ u.fragment && u.fragment.l(c), c.forEach(Q);
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 && Mt(e.$$.fragment), Nr(e, t.target, t.anchor), O();
271
271
  }
272
- K(l);
272
+ ee(l);
273
273
  }
274
- let Rt;
275
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
274
+ let Nt;
275
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -321,17 +321,17 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
323
  m: function(l, u) {
324
- ne(l, o, u);
324
+ ie(l, o, u);
325
325
  },
326
326
  d: function(l) {
327
- l && Z(o);
327
+ l && Q(o);
328
328
  }
329
329
  };
330
330
  };
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 = Tr(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,8 +418,8 @@ function ce(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Ur(e, t, r, n, i, o) {
422
- let s = class extends Rt {
421
+ function Gr(e, t, r, n, i, o) {
422
+ let s = class extends Nt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -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 Ur {
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 = N;
469
+ Lr(this, 1), this.$destroy = M;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,8 +475,8 @@ class Dr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!qe(r))
479
- return N;
478
+ if (!Ze(r))
479
+ return M;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
482
482
  const i = n.indexOf(r);
@@ -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 && !pr(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 Dr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -507,24 +507,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
507
507
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
508
508
  PERFORMANCE OF THIS SOFTWARE.
509
509
  ***************************************************************************** */
510
- var $e = function(e, t) {
511
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ var Le = function(e, t) {
511
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
512
512
  r.__proto__ = n;
513
513
  } || function(r, n) {
514
514
  for (var i in n)
515
515
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
516
- }, $e(e, t);
516
+ }, Le(e, t);
517
517
  };
518
- function ie(e, t) {
518
+ function L(e, t) {
519
519
  if (typeof t != "function" && t !== null)
520
520
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
521
- $e(e, t);
521
+ Le(e, t);
522
522
  function r() {
523
523
  this.constructor = e;
524
524
  }
525
525
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
526
526
  }
527
- function Ge(e) {
527
+ var y = function() {
528
+ return y = Object.assign || function(t) {
529
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
530
+ r = arguments[n];
531
+ for (var o in r)
532
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
533
+ }
534
+ return t;
535
+ }, y.apply(this, arguments);
536
+ };
537
+ function Fr(e, t) {
538
+ var r = {};
539
+ for (var n in e)
540
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
541
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
542
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
543
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
544
+ return r;
545
+ }
546
+ function Re(e) {
528
547
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
529
548
  if (r)
530
549
  return r.call(e);
@@ -536,7 +555,7 @@ function Ge(e) {
536
555
  };
537
556
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
538
557
  }
539
- function Ue(e, t) {
558
+ function $e(e, t) {
540
559
  var r = typeof Symbol == "function" && e[Symbol.iterator];
541
560
  if (!r)
542
561
  return e;
@@ -556,22 +575,22 @@ function Ue(e, t) {
556
575
  }
557
576
  return o;
558
577
  }
559
- function De(e, t, r) {
560
- if (arguments.length === 2)
578
+ function k(e, t, r) {
579
+ if (r || arguments.length === 2)
561
580
  for (var n = 0, i = t.length, o; n < i; n++)
562
581
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
563
582
  return e.concat(o || t);
564
583
  }
565
- function L(e) {
584
+ function N(e) {
566
585
  return typeof e == "function";
567
586
  }
568
- function $t(e) {
587
+ function Lt(e) {
569
588
  var t = function(n) {
570
589
  Error.call(n), n.stack = new Error().stack;
571
590
  }, r = e(t);
572
591
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
573
592
  }
574
- var He = $t(function(e) {
593
+ var we = Lt(function(e) {
575
594
  return function(r) {
576
595
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
577
596
  ` + r.map(function(n, i) {
@@ -580,13 +599,13 @@ var He = $t(function(e) {
580
599
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
581
600
  };
582
601
  });
583
- function Fe(e, t) {
602
+ function Ge(e, t) {
584
603
  if (e) {
585
604
  var r = e.indexOf(t);
586
605
  0 <= r && e.splice(r, 1);
587
606
  }
588
607
  }
589
- var ye = function() {
608
+ var ve = function() {
590
609
  function e(t) {
591
610
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
592
611
  }
@@ -598,12 +617,12 @@ var ye = function() {
598
617
  if (s)
599
618
  if (this._parentage = null, Array.isArray(s))
600
619
  try {
601
- for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
620
+ for (var a = Re(s), l = a.next(); !l.done; l = a.next()) {
602
621
  var u = l.value;
603
622
  u.remove(this);
604
623
  }
605
- } catch (d) {
606
- t = { error: d };
624
+ } catch (p) {
625
+ t = { error: p };
607
626
  } finally {
608
627
  try {
609
628
  l && !l.done && (r = a.return) && r.call(a);
@@ -615,26 +634,26 @@ var ye = function() {
615
634
  else
616
635
  s.remove(this);
617
636
  var h = this.initialTeardown;
618
- if (L(h))
637
+ if (N(h))
619
638
  try {
620
639
  h();
621
- } catch (d) {
622
- o = d instanceof He ? d.errors : [d];
640
+ } catch (p) {
641
+ o = p instanceof we ? p.errors : [p];
623
642
  }
624
643
  var c = this._finalizers;
625
644
  if (c) {
626
645
  this._finalizers = null;
627
646
  try {
628
- for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
647
+ for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
629
648
  var v = m.value;
630
649
  try {
631
- st(v);
632
- } catch (d) {
633
- o = o ?? [], d instanceof He ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
650
+ it(v);
651
+ } catch (p) {
652
+ o = o ?? [], p instanceof we ? o = k(k([], $e(o)), $e(p.errors)) : o.push(p);
634
653
  }
635
654
  }
636
- } catch (d) {
637
- n = { error: d };
655
+ } catch (p) {
656
+ n = { error: p };
638
657
  } finally {
639
658
  try {
640
659
  m && !m.done && (i = f.return) && i.call(f);
@@ -645,13 +664,13 @@ var ye = function() {
645
664
  }
646
665
  }
647
666
  if (o)
648
- throw new He(o);
667
+ throw new we(o);
649
668
  }
650
669
  }, e.prototype.add = function(t) {
651
670
  var r;
652
671
  if (t && t !== this)
653
672
  if (this.closed)
654
- st(t);
673
+ it(t);
655
674
  else {
656
675
  if (t instanceof e) {
657
676
  if (t.closed || t._hasParent(this))
@@ -668,52 +687,56 @@ var ye = function() {
668
687
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
669
688
  }, e.prototype._removeParent = function(t) {
670
689
  var r = this._parentage;
671
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
690
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
672
691
  }, e.prototype.remove = function(t) {
673
692
  var r = this._finalizers;
674
- r && Fe(r, t), t instanceof e && t._removeParent(this);
693
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
675
694
  }, e.EMPTY = function() {
676
695
  var t = new e();
677
696
  return t.closed = !0, t;
678
697
  }(), e;
679
- }(), Gt = ye.EMPTY;
680
- function Ut(e) {
681
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
682
- }
683
- function st(e) {
684
- L(e) ? e() : e.unsubscribe();
698
+ }(), Rt = ve.EMPTY;
699
+ function $t(e) {
700
+ return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
685
701
  }
686
- var jr = {
687
- Promise: void 0
688
- }, kr = {
702
+ function it(e) {
703
+ N(e) ? e() : e.unsubscribe();
704
+ }
705
+ var Gt = {
706
+ onUnhandledError: null,
707
+ onStoppedNotification: null,
708
+ Promise: void 0,
709
+ useDeprecatedSynchronousErrorHandling: !1,
710
+ useDeprecatedNextContext: !1
711
+ }, jr = {
689
712
  setTimeout: function(e, t) {
690
713
  for (var r = [], n = 2; n < arguments.length; n++)
691
714
  r[n - 2] = arguments[n];
692
- return setTimeout.apply(void 0, De([e, t], Ue(r)));
715
+ return setTimeout.apply(void 0, k([e, t], $e(r)));
693
716
  },
694
717
  clearTimeout: function(e) {
695
718
  return clearTimeout(e);
696
719
  },
697
720
  delegate: void 0
698
721
  };
699
- function Vr(e) {
700
- kr.setTimeout(function() {
722
+ function kr(e) {
723
+ jr.setTimeout(function() {
701
724
  throw e;
702
725
  });
703
726
  }
704
- function at() {
727
+ function ot() {
705
728
  }
706
729
  function fe(e) {
707
730
  e();
708
731
  }
709
- var Dt = function(e) {
710
- ie(t, e);
732
+ var Ut = function(e) {
733
+ L(t, e);
711
734
  function t(r) {
712
735
  var n = e.call(this) || this;
713
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = zr, n;
736
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
714
737
  }
715
738
  return t.create = function(r, n, i) {
716
- return new je(r, n, i);
739
+ return new Ue(r, n, i);
717
740
  }, t.prototype.next = function(r) {
718
741
  this.isStopped || this._next(r);
719
742
  }, t.prototype.error = function(r) {
@@ -737,7 +760,11 @@ var Dt = function(e) {
737
760
  this.unsubscribe();
738
761
  }
739
762
  }, t;
740
- }(ye), Xr = function() {
763
+ }(ve), Vr = Function.prototype.bind;
764
+ function Te(e, t) {
765
+ return Vr.call(e, t);
766
+ }
767
+ var Xr = function() {
741
768
  function e(t) {
742
769
  this.partialObserver = t;
743
770
  }
@@ -768,29 +795,41 @@ var Dt = function(e) {
768
795
  ue(r);
769
796
  }
770
797
  }, e;
771
- }(), je = function(e) {
772
- ie(t, e);
798
+ }(), Ue = function(e) {
799
+ L(t, e);
773
800
  function t(r, n, i) {
774
801
  var o = e.call(this) || this, s;
775
- return L(r) || !r ? s = {
776
- next: r ?? void 0,
777
- error: n ?? void 0,
778
- complete: i ?? void 0
779
- } : s = r, o.destination = new Xr(s), o;
802
+ if (N(r) || !r)
803
+ s = {
804
+ next: r ?? void 0,
805
+ error: n ?? void 0,
806
+ complete: i ?? void 0
807
+ };
808
+ else {
809
+ var a;
810
+ o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
811
+ return o.unsubscribe();
812
+ }, s = {
813
+ next: r.next && Te(r.next, a),
814
+ error: r.error && Te(r.error, a),
815
+ complete: r.complete && Te(r.complete, a)
816
+ }) : s = r;
817
+ }
818
+ return o.destination = new Xr(s), o;
780
819
  }
781
820
  return t;
782
- }(Dt);
821
+ }(Ut);
783
822
  function ue(e) {
784
- Vr(e);
823
+ kr(e);
785
824
  }
786
- function Wr(e) {
825
+ function zr(e) {
787
826
  throw e;
788
827
  }
789
- var zr = {
828
+ var Wr = {
790
829
  closed: !0,
791
- next: at,
792
- error: Wr,
793
- complete: at
830
+ next: ot,
831
+ error: zr,
832
+ complete: ot
794
833
  }, Zr = function() {
795
834
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
796
835
  }();
@@ -804,7 +843,7 @@ function Jr(e) {
804
843
  }, r);
805
844
  };
806
845
  }
807
- var ut = function() {
846
+ var st = function() {
808
847
  function e(t) {
809
848
  t && (this._subscribe = t);
810
849
  }
@@ -812,7 +851,7 @@ var ut = function() {
812
851
  var r = new e();
813
852
  return r.source = this, r.operator = t, r;
814
853
  }, e.prototype.subscribe = function(t, r, n) {
815
- var i = this, o = qr(t) ? t : new je(t, r, n);
854
+ var i = this, o = qr(t) ? t : new Ue(t, r, n);
816
855
  return fe(function() {
817
856
  var s = i, a = s.operator, l = s.source;
818
857
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -825,8 +864,8 @@ var ut = function() {
825
864
  }
826
865
  }, e.prototype.forEach = function(t, r) {
827
866
  var n = this;
828
- return r = lt(r), new r(function(i, o) {
829
- var s = new je({
867
+ return r = at(r), new r(function(i, o) {
868
+ var s = new Ue({
830
869
  next: function(a) {
831
870
  try {
832
871
  t(a);
@@ -850,7 +889,7 @@ var ut = function() {
850
889
  return Jr(t)(this);
851
890
  }, e.prototype.toPromise = function(t) {
852
891
  var r = this;
853
- return t = lt(t), new t(function(n, i) {
892
+ return t = at(t), new t(function(n, i) {
854
893
  var o;
855
894
  r.subscribe(function(s) {
856
895
  return o = s;
@@ -864,28 +903,28 @@ var ut = function() {
864
903
  return new e(t);
865
904
  }, e;
866
905
  }();
867
- function lt(e) {
906
+ function at(e) {
868
907
  var t;
869
- return (t = e ?? jr.Promise) !== null && t !== void 0 ? t : Promise;
908
+ return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
870
909
  }
871
910
  function Yr(e) {
872
- return e && L(e.next) && L(e.error) && L(e.complete);
911
+ return e && N(e.next) && N(e.error) && N(e.complete);
873
912
  }
874
913
  function qr(e) {
875
- return e && e instanceof Dt || Yr(e) && Ut(e);
914
+ return e && e instanceof Ut || Yr(e) && $t(e);
876
915
  }
877
- var Kr = $t(function(e) {
916
+ var Kr = Lt(function(e) {
878
917
  return function() {
879
918
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
880
919
  };
881
- }), Ft = function(e) {
882
- ie(t, e);
920
+ }), Dt = function(e) {
921
+ L(t, e);
883
922
  function t() {
884
923
  var r = e.call(this) || this;
885
924
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
886
925
  }
887
926
  return t.prototype.lift = function(r) {
888
- var n = new ht(this, this);
927
+ var n = new ut(this, this);
889
928
  return n.operator = r, n;
890
929
  }, t.prototype._throwIfClosed = function() {
891
930
  if (this.closed)
@@ -897,7 +936,7 @@ var Kr = $t(function(e) {
897
936
  if (n._throwIfClosed(), !n.isStopped) {
898
937
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
899
938
  try {
900
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
939
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
901
940
  var l = a.value;
902
941
  l.next(r);
903
942
  }
@@ -946,20 +985,20 @@ var Kr = $t(function(e) {
946
985
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
947
986
  }, t.prototype._innerSubscribe = function(r) {
948
987
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
949
- return o || s ? Gt : (this.currentObservers = null, a.push(r), new ye(function() {
950
- n.currentObservers = null, Fe(a, r);
988
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
989
+ n.currentObservers = null, Ge(a, r);
951
990
  }));
952
991
  }, t.prototype._checkFinalizedStatuses = function(r) {
953
992
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
954
993
  i ? r.error(o) : s && r.complete();
955
994
  }, t.prototype.asObservable = function() {
956
- var r = new ut();
995
+ var r = new st();
957
996
  return r.source = this, r;
958
997
  }, t.create = function(r, n) {
959
- return new ht(r, n);
998
+ return new ut(r, n);
960
999
  }, t;
961
- }(ut), ht = function(e) {
962
- ie(t, e);
1000
+ }(st), ut = function(e) {
1001
+ L(t, e);
963
1002
  function t(r, n) {
964
1003
  var i = e.call(this) || this;
965
1004
  return i.destination = r, i.source = n, i;
@@ -975,17 +1014,17 @@ var Kr = $t(function(e) {
975
1014
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
976
1015
  }, t.prototype._subscribe = function(r) {
977
1016
  var n, i;
978
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1017
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
979
1018
  }, t;
980
- }(Ft), jt = {
1019
+ }(Dt), Ft = {
981
1020
  now: function() {
982
- return (jt.delegate || Date).now();
1021
+ return (Ft.delegate || Date).now();
983
1022
  },
984
1023
  delegate: void 0
985
1024
  }, en = function(e) {
986
- ie(t, e);
1025
+ L(t, e);
987
1026
  function t(r, n, i) {
988
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1027
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
989
1028
  var o = e.call(this) || this;
990
1029
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
991
1030
  }
@@ -1005,24 +1044,24 @@ var Kr = $t(function(e) {
1005
1044
  u && o.splice(0, u + 1);
1006
1045
  }
1007
1046
  }, t;
1008
- }(Ft);
1009
- const ct = [], ft = {}, tn = (e, t = 0) => {
1010
- if (ct.indexOf(e) == -1) {
1047
+ }(Dt);
1048
+ const lt = [], ht = {}, tn = (e, t = 0) => {
1049
+ if (lt.indexOf(e) == -1) {
1011
1050
  const r = new en(t);
1012
- ft[e] = r, ct.push(e);
1051
+ ht[e] = r, lt.push(e);
1013
1052
  }
1014
- return ft[e];
1053
+ return ht[e];
1015
1054
  }, D = [];
1016
1055
  function rn(e, t) {
1017
1056
  return {
1018
- subscribe: _e(e, t).subscribe
1057
+ subscribe: ye(e, t).subscribe
1019
1058
  };
1020
1059
  }
1021
- function _e(e, t = N) {
1060
+ function ye(e, t = M) {
1022
1061
  let r;
1023
1062
  const n = /* @__PURE__ */ new Set();
1024
1063
  function i(a) {
1025
- if (It(e, a) && (e = a, r)) {
1064
+ if (Pt(e, a) && (e = a, r)) {
1026
1065
  const l = !D.length;
1027
1066
  for (const u of n)
1028
1067
  u[1](), D.push(u, e);
@@ -1036,15 +1075,15 @@ function _e(e, t = N) {
1036
1075
  function o(a) {
1037
1076
  i(a(e));
1038
1077
  }
1039
- function s(a, l = N) {
1078
+ function s(a, l = M) {
1040
1079
  const u = [a, l];
1041
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1080
+ return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1042
1081
  n.delete(u), n.size === 0 && r && (r(), r = null);
1043
1082
  };
1044
1083
  }
1045
1084
  return { set: i, update: o, subscribe: s };
1046
1085
  }
1047
- function Q(e, t, r) {
1086
+ function J(e, t, r) {
1048
1087
  const n = !Array.isArray(e), i = n ? [e] : e;
1049
1088
  if (!i.every(Boolean))
1050
1089
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1052,26 +1091,26 @@ function Q(e, t, r) {
1052
1091
  return rn(r, (s, a) => {
1053
1092
  let l = !1;
1054
1093
  const u = [];
1055
- let h = 0, c = N;
1094
+ let h = 0, c = M;
1056
1095
  const f = () => {
1057
1096
  if (h)
1058
1097
  return;
1059
1098
  c();
1060
1099
  const v = t(n ? u[0] : u, s, a);
1061
- o ? s(v) : c = qe(v) ? v : N;
1100
+ o ? s(v) : c = Ze(v) ? v : M;
1062
1101
  }, m = i.map(
1063
- (v, d) => Mt(
1102
+ (v, p) => Ot(
1064
1103
  v,
1065
- (S) => {
1066
- u[d] = S, h &= ~(1 << d), l && f();
1104
+ (w) => {
1105
+ u[p] = w, h &= ~(1 << p), l && f();
1067
1106
  },
1068
1107
  () => {
1069
- h |= 1 << d;
1108
+ h |= 1 << p;
1070
1109
  }
1071
1110
  )
1072
1111
  );
1073
1112
  return l = !0, f(), function() {
1074
- z(m), c(), l = !1;
1113
+ Z(m), c(), l = !1;
1075
1114
  };
1076
1115
  });
1077
1116
  }
@@ -1095,104 +1134,62 @@ function hn(e) {
1095
1134
  function cn(e) {
1096
1135
  return Array.isArray(e) ? [] : {};
1097
1136
  }
1098
- function te(e, t) {
1099
- return t.clone !== !1 && t.isMergeableObject(e) ? k(cn(e), e, t) : e;
1137
+ function re(e, t) {
1138
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(cn(e), e, t) : e;
1100
1139
  }
1101
1140
  function fn(e, t, r) {
1102
1141
  return e.concat(t).map(function(n) {
1103
- return te(n, r);
1142
+ return re(n, r);
1104
1143
  });
1105
1144
  }
1106
1145
  function mn(e, t) {
1107
1146
  if (!t.customMerge)
1108
- return k;
1147
+ return V;
1109
1148
  var r = t.customMerge(e);
1110
- return typeof r == "function" ? r : k;
1149
+ return typeof r == "function" ? r : V;
1111
1150
  }
1112
- function pn(e) {
1151
+ function dn(e) {
1113
1152
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1114
1153
  return Object.propertyIsEnumerable.call(e, t);
1115
1154
  }) : [];
1116
1155
  }
1117
- function mt(e) {
1118
- return Object.keys(e).concat(pn(e));
1156
+ function ct(e) {
1157
+ return Object.keys(e).concat(dn(e));
1119
1158
  }
1120
- function kt(e, t) {
1159
+ function jt(e, t) {
1121
1160
  try {
1122
1161
  return t in e;
1123
1162
  } catch {
1124
1163
  return !1;
1125
1164
  }
1126
1165
  }
1127
- function dn(e, t) {
1128
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
+ function pn(e, t) {
1167
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1129
1168
  }
1130
1169
  function bn(e, t, r) {
1131
1170
  var n = {};
1132
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1133
- n[i] = te(e[i], r);
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));
1171
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1172
+ n[i] = re(e[i], r);
1173
+ }), ct(t).forEach(function(i) {
1174
+ pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1136
1175
  }), n;
1137
1176
  }
1138
- function k(e, t, r) {
1139
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = te;
1177
+ function V(e, t, r) {
1178
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = re;
1140
1179
  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);
1180
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : re(t, r);
1142
1181
  }
1143
- k.all = function(t, r) {
1182
+ V.all = function(t, r) {
1144
1183
  if (!Array.isArray(t))
1145
1184
  throw new Error("first argument should be an array");
1146
1185
  return t.reduce(function(n, i) {
1147
- return k(n, i, r);
1186
+ return V(n, i, r);
1148
1187
  }, {});
1149
1188
  };
1150
- var gn = k, vn = gn;
1189
+ var gn = V, vn = gn;
1151
1190
  const yn = /* @__PURE__ */ nn(vn);
1152
- var ke = function(e, t) {
1153
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1154
- r.__proto__ = n;
1155
- } || function(r, n) {
1156
- for (var i in n)
1157
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1158
- }, ke(e, t);
1159
- };
1160
- function xe(e, t) {
1161
- if (typeof t != "function" && t !== null)
1162
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1163
- ke(e, t);
1164
- function r() {
1165
- this.constructor = e;
1166
- }
1167
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1168
- }
1169
- var M = function() {
1170
- return M = Object.assign || function(t) {
1171
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1172
- r = arguments[n];
1173
- for (var o in r)
1174
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1175
- }
1176
- return t;
1177
- }, M.apply(this, arguments);
1178
- };
1179
- function _n(e, t) {
1180
- var r = {};
1181
- for (var n in e)
1182
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1183
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1184
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1185
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1186
- return r;
1187
- }
1188
- function Ae(e, t, r) {
1189
- if (r || arguments.length === 2)
1190
- for (var n = 0, i = t.length, o; n < i; n++)
1191
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1192
- return e.concat(o || Array.prototype.slice.call(t));
1193
- }
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;
1191
+ function He(e, t) {
1192
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1196
1193
  return i(e, {
1197
1194
  cache: r,
1198
1195
  serializer: n
@@ -1201,7 +1198,7 @@ function Be(e, t) {
1201
1198
  function xn(e) {
1202
1199
  return e == null || typeof e == "number" || typeof e == "boolean";
1203
1200
  }
1204
- function En(e, t, r, n) {
1201
+ function kt(e, t, r, n) {
1205
1202
  var i = xn(n) ? n : r(n), o = t.get(i);
1206
1203
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1207
1204
  }
@@ -1209,95 +1206,87 @@ function Vt(e, t, r) {
1209
1206
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1210
1207
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1211
1208
  }
1212
- function Xt(e, t, r, n, i) {
1209
+ function Je(e, t, r, n, i) {
1213
1210
  return r.bind(t, e, n, i);
1214
1211
  }
1215
- function Sn(e, t) {
1216
- var r = e.length === 1 ? En : Vt;
1217
- return Xt(e, this, r, t.cache.create(), t.serializer);
1212
+ function _n(e, t) {
1213
+ var r = e.length === 1 ? kt : Vt;
1214
+ return Je(e, this, r, t.cache.create(), t.serializer);
1215
+ }
1216
+ function En(e, t) {
1217
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1218
1218
  }
1219
- function wn(e, t) {
1220
- return Xt(e, this, Vt, t.cache.create(), t.serializer);
1219
+ function Sn(e, t) {
1220
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1221
1221
  }
1222
- var Tn = function() {
1222
+ var wn = function() {
1223
1223
  return JSON.stringify(arguments);
1224
- }, Hn = (
1225
- /** @class */
1226
- function() {
1227
- function e() {
1228
- this.cache = /* @__PURE__ */ Object.create(null);
1229
- }
1230
- return e.prototype.get = function(t) {
1231
- return this.cache[t];
1232
- }, e.prototype.set = function(t, r) {
1233
- this.cache[t] = r;
1234
- }, e;
1235
- }()
1236
- ), An = {
1224
+ };
1225
+ function Ye() {
1226
+ this.cache = /* @__PURE__ */ Object.create(null);
1227
+ }
1228
+ Ye.prototype.get = function(e) {
1229
+ return this.cache[e];
1230
+ };
1231
+ Ye.prototype.set = function(e, t) {
1232
+ this.cache[e] = t;
1233
+ };
1234
+ var Tn = {
1237
1235
  create: function() {
1238
- return new Hn();
1236
+ return new Ye();
1239
1237
  }
1240
- }, Ce = {
1241
- variadic: wn
1242
- }, de = function() {
1243
- return de = Object.assign || function(t) {
1244
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
- r = arguments[n];
1246
- for (var o in r)
1247
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1248
- }
1249
- return t;
1250
- }, de.apply(this, arguments);
1251
- };
1252
- var p;
1238
+ }, Be = {
1239
+ variadic: En,
1240
+ monadic: Sn
1241
+ }, d;
1253
1242
  (function(e) {
1254
1243
  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;
1244
+ })(d || (d = {}));
1245
+ var S;
1257
1246
  (function(e) {
1258
1247
  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 = {}));
1260
- var V;
1248
+ })(S || (S = {}));
1249
+ var X;
1261
1250
  (function(e) {
1262
1251
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1263
- })(V || (V = {}));
1264
- function pt(e) {
1265
- return e.type === E.literal;
1252
+ })(X || (X = {}));
1253
+ function ft(e) {
1254
+ return e.type === S.literal;
1266
1255
  }
1267
- function Bn(e) {
1268
- return e.type === E.argument;
1256
+ function Hn(e) {
1257
+ return e.type === S.argument;
1269
1258
  }
1270
- function Wt(e) {
1271
- return e.type === E.number;
1259
+ function Xt(e) {
1260
+ return e.type === S.number;
1272
1261
  }
1273
1262
  function zt(e) {
1274
- return e.type === E.date;
1263
+ return e.type === S.date;
1264
+ }
1265
+ function Wt(e) {
1266
+ return e.type === S.time;
1275
1267
  }
1276
1268
  function Zt(e) {
1277
- return e.type === E.time;
1269
+ return e.type === S.select;
1278
1270
  }
1279
1271
  function Qt(e) {
1280
- return e.type === E.select;
1272
+ return e.type === S.plural;
1281
1273
  }
1282
- function Jt(e) {
1283
- return e.type === E.plural;
1274
+ function Bn(e) {
1275
+ return e.type === S.pound;
1284
1276
  }
1285
- function Cn(e) {
1286
- return e.type === E.pound;
1277
+ function Jt(e) {
1278
+ return e.type === S.tag;
1287
1279
  }
1288
1280
  function Yt(e) {
1289
- return e.type === E.tag;
1281
+ return !!(e && typeof e == "object" && e.type === X.number);
1290
1282
  }
1291
- function qt(e) {
1292
- return !!(e && typeof e == "object" && e.type === V.number);
1293
- }
1294
- function Ve(e) {
1295
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1283
+ function De(e) {
1284
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1296
1285
  }
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) {
1286
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1287
+ function Cn(e) {
1299
1288
  var t = {};
1300
- return e.replace(Pn, function(r) {
1289
+ return e.replace(An, function(r) {
1301
1290
  var n = r.length;
1302
1291
  switch (r[0]) {
1303
1292
  case "G":
@@ -1386,21 +1375,11 @@ function On(e) {
1386
1375
  return "";
1387
1376
  }), t;
1388
1377
  }
1389
- var w = function() {
1390
- return w = Object.assign || function(t) {
1391
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1392
- r = arguments[n];
1393
- for (var o in r)
1394
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1395
- }
1396
- return t;
1397
- }, w.apply(this, arguments);
1398
- };
1399
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
- function Mn(e) {
1378
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
+ function On(e) {
1401
1380
  if (e.length === 0)
1402
1381
  throw new Error("Number skeleton cannot be empty");
1403
- for (var t = e.split(In).filter(function(f) {
1382
+ for (var t = e.split(Pn).filter(function(f) {
1404
1383
  return f.length > 0;
1405
1384
  }), r = [], n = 0, i = t; n < i.length; n++) {
1406
1385
  var o = i[n], s = o.split("/");
@@ -1415,17 +1394,17 @@ function Mn(e) {
1415
1394
  }
1416
1395
  return r;
1417
1396
  }
1418
- function Nn(e) {
1397
+ function In(e) {
1419
1398
  return e.replace(/^(.*?)-/, "");
1420
1399
  }
1421
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1422
- function bt(e) {
1400
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1401
+ function dt(e) {
1423
1402
  var t = {};
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) {
1403
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1425
1404
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1426
1405
  }), t;
1427
1406
  }
1428
- function rr(e) {
1407
+ function tr(e) {
1429
1408
  switch (e) {
1430
1409
  case "sign-auto":
1431
1410
  return {
@@ -1465,7 +1444,7 @@ function rr(e) {
1465
1444
  };
1466
1445
  }
1467
1446
  }
1468
- function Rn(e) {
1447
+ function Nn(e) {
1469
1448
  var t;
1470
1449
  if (e[0] === "E" && e[1] === "E" ? (t = {
1471
1450
  notation: "engineering"
@@ -1473,17 +1452,17 @@ function Rn(e) {
1473
1452
  notation: "scientific"
1474
1453
  }, e = e.slice(1)), t) {
1475
1454
  var r = e.slice(0, 2);
1476
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1455
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1477
1456
  throw new Error("Malformed concise eng/scientific notation");
1478
1457
  t.minimumIntegerDigits = e.length;
1479
1458
  }
1480
1459
  return t;
1481
1460
  }
1482
- function gt(e) {
1483
- var t = {}, r = rr(e);
1461
+ function pt(e) {
1462
+ var t = {}, r = tr(e);
1484
1463
  return r || t;
1485
1464
  }
1486
- function $n(e) {
1465
+ function Ln(e) {
1487
1466
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1488
1467
  var i = n[r];
1489
1468
  switch (i.stem) {
@@ -1507,7 +1486,7 @@ function $n(e) {
1507
1486
  continue;
1508
1487
  case "measure-unit":
1509
1488
  case "unit":
1510
- t.style = "unit", t.unit = Nn(i.options[0]);
1489
+ t.style = "unit", t.unit = In(i.options[0]);
1511
1490
  continue;
1512
1491
  case "compact-short":
1513
1492
  case "K":
@@ -1518,13 +1497,13 @@ function $n(e) {
1518
1497
  t.notation = "compact", t.compactDisplay = "long";
1519
1498
  continue;
1520
1499
  case "scientific":
1521
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1522
- return w(w({}, l), gt(u));
1500
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1501
+ return y(y({}, l), pt(u));
1523
1502
  }, {}));
1524
1503
  continue;
1525
1504
  case "engineering":
1526
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1527
- return w(w({}, l), gt(u));
1505
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1506
+ return y(y({}, l), pt(u));
1528
1507
  }, {}));
1529
1508
  continue;
1530
1509
  case "notation-simple":
@@ -1569,7 +1548,7 @@ function $n(e) {
1569
1548
  case "integer-width":
1570
1549
  if (i.options.length > 1)
1571
1550
  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) {
1551
+ i.options[0].replace(Mn, function(l, u, h, c, f, m) {
1573
1552
  if (u)
1574
1553
  t.minimumIntegerDigits = h.length;
1575
1554
  else {
@@ -1582,28 +1561,28 @@ function $n(e) {
1582
1561
  });
1583
1562
  continue;
1584
1563
  }
1585
- if (tr.test(i.stem)) {
1564
+ if (er.test(i.stem)) {
1586
1565
  t.minimumIntegerDigits = i.stem.length;
1587
1566
  continue;
1588
1567
  }
1589
- if (dt.test(i.stem)) {
1568
+ if (mt.test(i.stem)) {
1590
1569
  if (i.options.length > 1)
1591
1570
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1592
- i.stem.replace(dt, function(l, u, h, c, f, m) {
1571
+ i.stem.replace(mt, function(l, u, h, c, f, m) {
1593
1572
  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), "";
1594
1573
  });
1595
1574
  var o = i.options[0];
1596
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), bt(o)));
1575
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
1597
1576
  continue;
1598
1577
  }
1599
- if (er.test(i.stem)) {
1600
- t = w(w({}, t), bt(i.stem));
1578
+ if (Kt.test(i.stem)) {
1579
+ t = y(y({}, t), dt(i.stem));
1601
1580
  continue;
1602
1581
  }
1603
- var s = rr(i.stem);
1604
- s && (t = w(w({}, t), s));
1605
- var a = Rn(i.stem);
1606
- a && (t = w(w({}, t), a));
1582
+ var s = tr(i.stem);
1583
+ s && (t = y(y({}, t), s));
1584
+ var a = Nn(i.stem);
1585
+ a && (t = y(y({}, t), a));
1607
1586
  }
1608
1587
  return t;
1609
1588
  }
@@ -3022,13 +3001,13 @@ var le = {
3022
3001
  "h"
3023
3002
  ]
3024
3003
  };
3025
- function Gn(e, t) {
3004
+ function Rn(e, t) {
3026
3005
  for (var r = "", n = 0; n < e.length; n++) {
3027
3006
  var i = e.charAt(n);
3028
3007
  if (i === "j") {
3029
3008
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3030
3009
  o++, n++;
3031
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Un(t);
3010
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
3032
3011
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3033
3012
  r += l;
3034
3013
  for (; s-- > 0; )
@@ -3038,7 +3017,7 @@ function Gn(e, t) {
3038
3017
  }
3039
3018
  return r;
3040
3019
  }
3041
- function Un(e) {
3020
+ function $n(e) {
3042
3021
  var t = e.hourCycle;
3043
3022
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3044
3023
  e.hourCycles && // @ts-ignore
@@ -3060,20 +3039,20 @@ function Un(e) {
3060
3039
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3061
3040
  return i[0];
3062
3041
  }
3063
- var Pe, Dn = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
3042
+ var Ae, Gn = new RegExp("^".concat(qt.source, "*")), Un = new RegExp("".concat(qt.source, "*$"));
3064
3043
  function g(e, t) {
3065
3044
  return { start: e, end: t };
3066
3045
  }
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) {
3046
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3068
3047
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3069
- }, Xe = !0;
3048
+ }, Fe = !0;
3070
3049
  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";
3050
+ var Zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3051
+ Fe = ((Ae = Zn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3073
3052
  } catch {
3074
- Xe = !1;
3053
+ Fe = !1;
3075
3054
  }
3076
- var vt = jn ? (
3055
+ var bt = Dn ? (
3077
3056
  // Native
3078
3057
  function(t, r, n) {
3079
3058
  return t.startsWith(r, n);
@@ -3083,7 +3062,7 @@ var vt = jn ? (
3083
3062
  function(t, r, n) {
3084
3063
  return t.slice(n, n + r.length) === r;
3085
3064
  }
3086
- ), We = kn ? String.fromCodePoint : (
3065
+ ), je = Fn ? String.fromCodePoint : (
3087
3066
  // IE11
3088
3067
  function() {
3089
3068
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3095,9 +3074,9 @@ var vt = jn ? (
3095
3074
  }
3096
3075
  return n;
3097
3076
  }
3098
- ), yt = (
3077
+ ), gt = (
3099
3078
  // native
3100
- Vn ? Object.fromEntries : (
3079
+ jn ? Object.fromEntries : (
3101
3080
  // Ponyfill
3102
3081
  function(t) {
3103
3082
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3107,7 +3086,7 @@ var vt = jn ? (
3107
3086
  return r;
3108
3087
  }
3109
3088
  )
3110
- ), nr = Xn ? (
3089
+ ), rr = kn ? (
3111
3090
  // Native
3112
3091
  function(t, r) {
3113
3092
  return t.codePointAt(r);
@@ -3121,7 +3100,7 @@ var vt = jn ? (
3121
3100
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3122
3101
  }
3123
3102
  }
3124
- ), Yn = Wn ? (
3103
+ ), Qn = Vn ? (
3125
3104
  // Native
3126
3105
  function(t) {
3127
3106
  return t.trimStart();
@@ -3129,9 +3108,9 @@ var vt = jn ? (
3129
3108
  ) : (
3130
3109
  // Ponyfill
3131
3110
  function(t) {
3132
- return t.replace(Dn, "");
3111
+ return t.replace(Gn, "");
3133
3112
  }
3134
- ), qn = zn ? (
3113
+ ), Jn = Xn ? (
3135
3114
  // Native
3136
3115
  function(t) {
3137
3116
  return t.trimEnd();
@@ -3139,32 +3118,32 @@ var vt = jn ? (
3139
3118
  ) : (
3140
3119
  // Ponyfill
3141
3120
  function(t) {
3142
- return t.replace(Fn, "");
3121
+ return t.replace(Un, "");
3143
3122
  }
3144
3123
  );
3145
- function ir(e, t) {
3124
+ function nr(e, t) {
3146
3125
  return new RegExp(e, t);
3147
3126
  }
3148
- var ze;
3149
- if (Xe) {
3150
- var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
- ze = function(t, r) {
3127
+ var ke;
3128
+ if (Fe) {
3129
+ var vt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3130
+ ke = function(t, r) {
3152
3131
  var n;
3153
- _t.lastIndex = r;
3154
- var i = _t.exec(t);
3132
+ vt.lastIndex = r;
3133
+ var i = vt.exec(t);
3155
3134
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3156
3135
  };
3157
3136
  } else
3158
- ze = function(t, r) {
3137
+ ke = function(t, r) {
3159
3138
  for (var n = []; ; ) {
3160
- var i = nr(t, r);
3161
- if (i === void 0 || or(i) || ri(i))
3139
+ var i = rr(t, r);
3140
+ if (i === void 0 || ir(i) || ei(i))
3162
3141
  break;
3163
3142
  n.push(i), r += i >= 65536 ? 2 : 1;
3164
3143
  }
3165
- return We.apply(void 0, n);
3144
+ return je.apply(void 0, n);
3166
3145
  };
3167
- var Kn = (
3146
+ var Yn = (
3168
3147
  /** @class */
3169
3148
  function() {
3170
3149
  function e(t, r) {
@@ -3188,14 +3167,14 @@ var Kn = (
3188
3167
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3189
3168
  var a = this.clonePosition();
3190
3169
  this.bump(), i.push({
3191
- type: E.pound,
3170
+ type: S.pound,
3192
3171
  location: g(a, this.clonePosition())
3193
3172
  });
3194
3173
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3195
3174
  if (n)
3196
3175
  break;
3197
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3198
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3176
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3177
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3199
3178
  var s = this.parseTag(t, r);
3200
3179
  if (s.err)
3201
3180
  return s;
@@ -3216,7 +3195,7 @@ var Kn = (
3216
3195
  if (this.bumpSpace(), this.bumpIf("/>"))
3217
3196
  return {
3218
3197
  val: {
3219
- type: E.literal,
3198
+ type: S.literal,
3220
3199
  value: "<".concat(i, "/>"),
3221
3200
  location: g(n, this.clonePosition())
3222
3201
  },
@@ -3228,25 +3207,25 @@ var Kn = (
3228
3207
  return o;
3229
3208
  var s = o.val, a = this.clonePosition();
3230
3209
  if (this.bumpIf("</")) {
3231
- if (this.isEOF() || !Ze(this.char()))
3232
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3210
+ if (this.isEOF() || !Ve(this.char()))
3211
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3233
3212
  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(">") ? {
3213
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3235
3214
  val: {
3236
- type: E.tag,
3215
+ type: S.tag,
3237
3216
  value: i,
3238
3217
  children: s,
3239
3218
  location: g(n, this.clonePosition())
3240
3219
  },
3241
3220
  err: null
3242
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3221
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3243
3222
  } else
3244
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3223
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3245
3224
  } else
3246
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3225
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3247
3226
  }, e.prototype.parseTagName = function() {
3248
3227
  var t = this.offset();
3249
- for (this.bump(); !this.isEOF() && ti(this.char()); )
3228
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3250
3229
  this.bump();
3251
3230
  return this.message.slice(t, this.offset());
3252
3231
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3270,12 +3249,12 @@ var Kn = (
3270
3249
  }
3271
3250
  var l = g(n, this.clonePosition());
3272
3251
  return {
3273
- val: { type: E.literal, value: i, location: l },
3252
+ val: { type: S.literal, value: i, location: l },
3274
3253
  err: null
3275
3254
  };
3276
3255
  }, e.prototype.tryParseLeftAngleBracket = function() {
3277
3256
  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;
3257
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3279
3258
  }, e.prototype.tryParseQuote = function(t) {
3280
3259
  if (this.isEOF() || this.char() !== 39)
3281
3260
  return null;
@@ -3309,28 +3288,28 @@ var Kn = (
3309
3288
  r.push(n);
3310
3289
  this.bump();
3311
3290
  }
3312
- return We.apply(void 0, r);
3291
+ return je.apply(void 0, r);
3313
3292
  }, e.prototype.tryParseUnquoted = function(t, r) {
3314
3293
  if (this.isEOF())
3315
3294
  return null;
3316
3295
  var n = this.char();
3317
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3296
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3318
3297
  }, e.prototype.parseArgument = function(t, r) {
3319
3298
  var n = this.clonePosition();
3320
3299
  if (this.bump(), this.bumpSpace(), this.isEOF())
3321
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3300
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3322
3301
  if (this.char() === 125)
3323
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3302
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3324
3303
  var i = this.parseIdentifierIfPossible().value;
3325
3304
  if (!i)
3326
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3305
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3327
3306
  if (this.bumpSpace(), this.isEOF())
3328
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3307
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3329
3308
  switch (this.char()) {
3330
3309
  case 125:
3331
3310
  return this.bump(), {
3332
3311
  val: {
3333
- type: E.argument,
3312
+ type: S.argument,
3334
3313
  // value does not include the opening and closing braces.
3335
3314
  value: i,
3336
3315
  location: g(n, this.clonePosition())
@@ -3338,12 +3317,12 @@ var Kn = (
3338
3317
  err: null
3339
3318
  };
3340
3319
  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);
3320
+ 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
3321
  default:
3343
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3322
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3344
3323
  }
3345
3324
  }, e.prototype.parseIdentifierIfPossible = function() {
3346
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3325
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3347
3326
  this.bumpTo(i);
3348
3327
  var o = this.clonePosition(), s = g(t, o);
3349
3328
  return { value: n, location: s };
@@ -3351,7 +3330,7 @@ var Kn = (
3351
3330
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3352
3331
  switch (a) {
3353
3332
  case "":
3354
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3333
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3355
3334
  case "number":
3356
3335
  case "date":
3357
3336
  case "time": {
@@ -3362,46 +3341,46 @@ var Kn = (
3362
3341
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3363
3342
  if (c.err)
3364
3343
  return c;
3365
- var f = qn(c.val);
3344
+ var f = Jn(c.val);
3366
3345
  if (f.length === 0)
3367
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3346
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3368
3347
  var m = g(h, this.clonePosition());
3369
3348
  u = { style: f, styleLocation: m };
3370
3349
  }
3371
3350
  var v = this.tryParseArgumentClose(i);
3372
3351
  if (v.err)
3373
3352
  return v;
3374
- var d = g(i, this.clonePosition());
3375
- if (u && vt(u?.style, "::", 0)) {
3376
- var S = Yn(u.style.slice(2));
3353
+ var p = g(i, this.clonePosition());
3354
+ if (u && bt(u?.style, "::", 0)) {
3355
+ var w = Qn(u.style.slice(2));
3377
3356
  if (a === "number") {
3378
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3357
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3379
3358
  return c.err ? c : {
3380
- val: { type: E.number, value: n, location: d, style: c.val },
3359
+ val: { type: S.number, value: n, location: p, style: c.val },
3381
3360
  err: null
3382
3361
  };
3383
3362
  } 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));
3363
+ if (w.length === 0)
3364
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
3365
+ var P = w;
3366
+ this.locale && (P = Rn(w, this.locale));
3388
3367
  var f = {
3389
- type: V.dateTime,
3368
+ type: X.dateTime,
3390
3369
  pattern: P,
3391
3370
  location: u.styleLocation,
3392
- parsedOptions: this.shouldParseSkeletons ? On(P) : {}
3393
- }, H = a === "date" ? E.date : E.time;
3371
+ parsedOptions: this.shouldParseSkeletons ? Cn(P) : {}
3372
+ }, H = a === "date" ? S.date : S.time;
3394
3373
  return {
3395
- val: { type: H, value: n, location: d, style: f },
3374
+ val: { type: H, value: n, location: p, style: f },
3396
3375
  err: null
3397
3376
  };
3398
3377
  }
3399
3378
  }
3400
3379
  return {
3401
3380
  val: {
3402
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3381
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3403
3382
  value: n,
3404
- location: d,
3383
+ location: p,
3405
3384
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3406
3385
  },
3407
3386
  err: null
@@ -3412,39 +3391,39 @@ var Kn = (
3412
3391
  case "select": {
3413
3392
  var _ = this.clonePosition();
3414
3393
  if (this.bumpSpace(), !this.bumpIf(","))
3415
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, de({}, _)));
3394
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, y({}, _)));
3416
3395
  this.bumpSpace();
3417
- var x = this.parseIdentifierIfPossible(), y = 0;
3418
- if (a !== "select" && x.value === "offset") {
3396
+ var E = this.parseIdentifierIfPossible(), x = 0;
3397
+ if (a !== "select" && E.value === "offset") {
3419
3398
  if (!this.bumpIf(":"))
3420
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3399
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3421
3400
  this.bumpSpace();
3422
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3401
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
3402
  if (c.err)
3424
3403
  return c;
3425
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), y = c.val;
3404
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = c.val;
3426
3405
  }
3427
- var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
3428
- if (A.err)
3429
- return A;
3406
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3407
+ if (B.err)
3408
+ return B;
3430
3409
  var v = this.tryParseArgumentClose(i);
3431
3410
  if (v.err)
3432
3411
  return v;
3433
3412
  var se = g(i, this.clonePosition());
3434
3413
  return a === "select" ? {
3435
3414
  val: {
3436
- type: E.select,
3415
+ type: S.select,
3437
3416
  value: n,
3438
- options: yt(A.val),
3417
+ options: gt(B.val),
3439
3418
  location: se
3440
3419
  },
3441
3420
  err: null
3442
3421
  } : {
3443
3422
  val: {
3444
- type: E.plural,
3423
+ type: S.plural,
3445
3424
  value: n,
3446
- options: yt(A.val),
3447
- offset: y,
3425
+ options: gt(B.val),
3426
+ offset: x,
3448
3427
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3449
3428
  location: se
3450
3429
  },
@@ -3452,10 +3431,10 @@ var Kn = (
3452
3431
  };
3453
3432
  }
3454
3433
  default:
3455
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3434
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3456
3435
  }
3457
3436
  }, 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 });
3437
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3459
3438
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3460
3439
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3461
3440
  var n = this.char();
@@ -3464,7 +3443,7 @@ var Kn = (
3464
3443
  this.bump();
3465
3444
  var i = this.clonePosition();
3466
3445
  if (!this.bumpUntil("'"))
3467
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3446
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3468
3447
  this.bump();
3469
3448
  break;
3470
3449
  }
@@ -3494,16 +3473,16 @@ var Kn = (
3494
3473
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3495
3474
  var n = [];
3496
3475
  try {
3497
- n = Mn(t);
3476
+ n = On(t);
3498
3477
  } catch {
3499
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3478
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3500
3479
  }
3501
3480
  return {
3502
3481
  val: {
3503
- type: V.number,
3482
+ type: X.number,
3504
3483
  tokens: n,
3505
3484
  location: r,
3506
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3485
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3507
3486
  },
3508
3487
  err: null
3509
3488
  };
@@ -3512,7 +3491,7 @@ var Kn = (
3512
3491
  if (u.length === 0) {
3513
3492
  var c = this.clonePosition();
3514
3493
  if (r !== "select" && this.bumpIf("=")) {
3515
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3494
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
3495
  if (f.err)
3517
3496
  return f;
3518
3497
  h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3520,17 +3499,17 @@ var Kn = (
3520
3499
  break;
3521
3500
  }
3522
3501
  if (l.has(u))
3523
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3502
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3524
3503
  u === "other" && (s = !0), this.bumpSpace();
3525
3504
  var m = this.clonePosition();
3526
3505
  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()));
3506
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3528
3507
  var v = this.parseMessage(t + 1, r, n);
3529
3508
  if (v.err)
3530
3509
  return v;
3531
- var d = this.tryParseArgumentClose(m);
3532
- if (d.err)
3533
- return d;
3510
+ var p = this.tryParseArgumentClose(m);
3511
+ if (p.err)
3512
+ return p;
3534
3513
  a.push([
3535
3514
  u,
3536
3515
  {
@@ -3539,7 +3518,7 @@ var Kn = (
3539
3518
  }
3540
3519
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3541
3520
  }
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 };
3521
+ 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
3522
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3544
3523
  var n = 1, i = this.clonePosition();
3545
3524
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3551,7 +3530,7 @@ var Kn = (
3551
3530
  break;
3552
3531
  }
3553
3532
  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);
3533
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3555
3534
  }, e.prototype.offset = function() {
3556
3535
  return this.position.offset;
3557
3536
  }, e.prototype.isEOF = function() {
@@ -3566,7 +3545,7 @@ var Kn = (
3566
3545
  var t = this.position.offset;
3567
3546
  if (t >= this.message.length)
3568
3547
  throw Error("out of bound");
3569
- var r = nr(this.message, t);
3548
+ var r = rr(this.message, t);
3570
3549
  if (r === void 0)
3571
3550
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3572
3551
  return r;
@@ -3585,7 +3564,7 @@ var Kn = (
3585
3564
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3586
3565
  }
3587
3566
  }, e.prototype.bumpIf = function(t) {
3588
- if (vt(this.message, t, this.offset())) {
3567
+ if (bt(this.message, t, this.offset())) {
3589
3568
  for (var r = 0; r < t.length; r++)
3590
3569
  this.bump();
3591
3570
  return !0;
@@ -3607,7 +3586,7 @@ var Kn = (
3607
3586
  break;
3608
3587
  }
3609
3588
  }, e.prototype.bumpSpace = function() {
3610
- for (; !this.isEOF() && or(this.char()); )
3589
+ for (; !this.isEOF() && ir(this.char()); )
3611
3590
  this.bump();
3612
3591
  }, e.prototype.peek = function() {
3613
3592
  if (this.isEOF())
@@ -3617,47 +3596,47 @@ var Kn = (
3617
3596
  }, e;
3618
3597
  }()
3619
3598
  );
3620
- function Ze(e) {
3599
+ function Ve(e) {
3621
3600
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3622
3601
  }
3623
- function ei(e) {
3624
- return Ze(e) || e === 47;
3602
+ function qn(e) {
3603
+ return Ve(e) || e === 47;
3625
3604
  }
3626
- function ti(e) {
3605
+ function Kn(e) {
3627
3606
  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
3607
  }
3629
- function or(e) {
3608
+ function ir(e) {
3630
3609
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3631
3610
  }
3632
- function ri(e) {
3611
+ function ei(e) {
3633
3612
  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
3613
  }
3635
- function Qe(e) {
3614
+ function Xe(e) {
3636
3615
  e.forEach(function(t) {
3637
- if (delete t.location, Qt(t) || Jt(t))
3616
+ if (delete t.location, Zt(t) || Qt(t))
3638
3617
  for (var r in t.options)
3639
- delete t.options[r].location, Qe(t.options[r].value);
3618
+ delete t.options[r].location, Xe(t.options[r].value);
3640
3619
  else
3641
- Wt(t) && qt(t.style) || (zt(t) || Zt(t)) && Ve(t.style) ? delete t.style.location : Yt(t) && Qe(t.children);
3620
+ Xt(t) && Yt(t.style) || (zt(t) || Wt(t)) && De(t.style) ? delete t.style.location : Jt(t) && Xe(t.children);
3642
3621
  });
3643
3622
  }
3644
- function ni(e, t) {
3645
- t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
- var r = new Kn(e, t).parse();
3623
+ function ti(e, t) {
3624
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3625
+ var r = new Yn(e, t).parse();
3647
3626
  if (r.err) {
3648
- var n = SyntaxError(p[r.err.kind]);
3627
+ var n = SyntaxError(d[r.err.kind]);
3649
3628
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3650
3629
  }
3651
- return t?.captureLocation || Qe(r.val), r.val;
3630
+ return t?.captureLocation || Xe(r.val), r.val;
3652
3631
  }
3653
- var X;
3632
+ var z;
3654
3633
  (function(e) {
3655
3634
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3656
- })(X || (X = {}));
3657
- var Ee = (
3635
+ })(z || (z = {}));
3636
+ var xe = (
3658
3637
  /** @class */
3659
3638
  function(e) {
3660
- xe(t, e);
3639
+ L(t, e);
3661
3640
  function t(r, n, i) {
3662
3641
  var o = e.call(this, r) || this;
3663
3642
  return o.code = n, o.originalMessage = i, o;
@@ -3666,48 +3645,48 @@ var Ee = (
3666
3645
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3667
3646
  }, t;
3668
3647
  }(Error)
3669
- ), xt = (
3648
+ ), yt = (
3670
3649
  /** @class */
3671
3650
  function(e) {
3672
- xe(t, e);
3651
+ L(t, e);
3673
3652
  function t(r, n, i, o) {
3674
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3653
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3675
3654
  }
3676
3655
  return t;
3677
- }(Ee)
3678
- ), ii = (
3656
+ }(xe)
3657
+ ), ri = (
3679
3658
  /** @class */
3680
3659
  function(e) {
3681
- xe(t, e);
3660
+ L(t, e);
3682
3661
  function t(r, n, i) {
3683
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3662
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3684
3663
  }
3685
3664
  return t;
3686
- }(Ee)
3687
- ), oi = (
3665
+ }(xe)
3666
+ ), ni = (
3688
3667
  /** @class */
3689
3668
  function(e) {
3690
- xe(t, e);
3669
+ L(t, e);
3691
3670
  function t(r, n) {
3692
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3671
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3693
3672
  }
3694
3673
  return t;
3695
- }(Ee)
3674
+ }(xe)
3696
3675
  ), C;
3697
3676
  (function(e) {
3698
3677
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3699
3678
  })(C || (C = {}));
3700
- function si(e) {
3679
+ function ii(e) {
3701
3680
  return e.length < 2 ? e : e.reduce(function(t, r) {
3702
3681
  var n = t[t.length - 1];
3703
3682
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3704
3683
  }, []);
3705
3684
  }
3706
- function ai(e) {
3685
+ function oi(e) {
3707
3686
  return typeof e == "function";
3708
3687
  }
3709
3688
  function me(e, t, r, n, i, o, s) {
3710
- if (e.length === 1 && pt(e[0]))
3689
+ if (e.length === 1 && ft(e[0]))
3711
3690
  return [
3712
3691
  {
3713
3692
  type: C.literal,
@@ -3716,14 +3695,14 @@ function me(e, t, r, n, i, o, s) {
3716
3695
  ];
3717
3696
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3718
3697
  var h = u[l];
3719
- if (pt(h)) {
3698
+ if (ft(h)) {
3720
3699
  a.push({
3721
3700
  type: C.literal,
3722
3701
  value: h.value
3723
3702
  });
3724
3703
  continue;
3725
3704
  }
3726
- if (Cn(h)) {
3705
+ if (Bn(h)) {
3727
3706
  typeof o == "number" && a.push({
3728
3707
  type: C.literal,
3729
3708
  value: r.getNumberFormat(t).format(o)
@@ -3732,9 +3711,9 @@ function me(e, t, r, n, i, o, s) {
3732
3711
  }
3733
3712
  var c = h.value;
3734
3713
  if (!(i && c in i))
3735
- throw new oi(c, s);
3714
+ throw new ni(c, s);
3736
3715
  var f = i[c];
3737
- if (Bn(h)) {
3716
+ if (Hn(h)) {
3738
3717
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3739
3718
  type: typeof f == "string" ? C.literal : C.object,
3740
3719
  value: f
@@ -3742,79 +3721,79 @@ function me(e, t, r, n, i, o, s) {
3742
3721
  continue;
3743
3722
  }
3744
3723
  if (zt(h)) {
3745
- var m = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3724
+ var m = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3746
3725
  a.push({
3747
3726
  type: C.literal,
3748
3727
  value: r.getDateTimeFormat(t, m).format(f)
3749
3728
  });
3750
3729
  continue;
3751
3730
  }
3752
- if (Zt(h)) {
3753
- var m = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3731
+ if (Wt(h)) {
3732
+ var m = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3754
3733
  a.push({
3755
3734
  type: C.literal,
3756
3735
  value: r.getDateTimeFormat(t, m).format(f)
3757
3736
  });
3758
3737
  continue;
3759
3738
  }
3760
- if (Wt(h)) {
3761
- var m = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3739
+ if (Xt(h)) {
3740
+ var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3762
3741
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3763
3742
  type: C.literal,
3764
3743
  value: r.getNumberFormat(t, m).format(f)
3765
3744
  });
3766
3745
  continue;
3767
3746
  }
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;
3747
+ if (Jt(h)) {
3748
+ var v = h.children, p = h.value, w = i[p];
3749
+ if (!oi(w))
3750
+ throw new ri(p, "function", s);
3751
+ var P = me(v, t, r, n, i, o), H = w(P.map(function(x) {
3752
+ return x.value;
3774
3753
  }));
3775
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(y) {
3754
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(x) {
3776
3755
  return {
3777
- type: typeof y == "string" ? C.literal : C.object,
3778
- value: y
3756
+ type: typeof x == "string" ? C.literal : C.object,
3757
+ value: x
3779
3758
  };
3780
3759
  }));
3781
3760
  }
3782
- if (Qt(h)) {
3761
+ if (Zt(h)) {
3783
3762
  var _ = h.options[f] || h.options.other;
3784
3763
  if (!_)
3785
- throw new xt(h.value, f, Object.keys(h.options), s);
3764
+ throw new yt(h.value, f, Object.keys(h.options), s);
3786
3765
  a.push.apply(a, me(_.value, t, r, n, i));
3787
3766
  continue;
3788
3767
  }
3789
- if (Jt(h)) {
3768
+ if (Qt(h)) {
3790
3769
  var _ = h.options["=".concat(f)];
3791
3770
  if (!_) {
3792
3771
  if (!Intl.PluralRules)
3793
- throw new Ee(`Intl.PluralRules is not available in this environment.
3772
+ throw new xe(`Intl.PluralRules is not available in this environment.
3794
3773
  Try polyfilling it using "@formatjs/intl-pluralrules"
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;
3774
+ `, z.MISSING_INTL_API, s);
3775
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3776
+ _ = h.options[E] || h.options.other;
3798
3777
  }
3799
3778
  if (!_)
3800
- throw new xt(h.value, f, Object.keys(h.options), s);
3779
+ throw new yt(h.value, f, Object.keys(h.options), s);
3801
3780
  a.push.apply(a, me(_.value, t, r, n, i, f - (h.offset || 0)));
3802
3781
  continue;
3803
3782
  }
3804
3783
  }
3805
- return si(a);
3784
+ return ii(a);
3806
3785
  }
3807
- function ui(e, t) {
3808
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
3786
+ function si(e, t) {
3787
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3788
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3810
3789
  }, {})) : e;
3811
3790
  }
3812
- function li(e, t) {
3791
+ function ai(e, t) {
3813
3792
  return t ? Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = ui(e[n], t[n]), r;
3815
- }, M({}, e)) : e;
3793
+ return r[n] = si(e[n], t[n]), r;
3794
+ }, y({}, e)) : e;
3816
3795
  }
3817
- function Oe(e) {
3796
+ function Ce(e) {
3818
3797
  return {
3819
3798
  create: function() {
3820
3799
  return {
@@ -3828,39 +3807,39 @@ function Oe(e) {
3828
3807
  }
3829
3808
  };
3830
3809
  }
3831
- function hi(e) {
3810
+ function ui(e) {
3832
3811
  return e === void 0 && (e = {
3833
3812
  number: {},
3834
3813
  dateTime: {},
3835
3814
  pluralRules: {}
3836
3815
  }), {
3837
- getNumberFormat: Be(function() {
3816
+ getNumberFormat: He(function() {
3838
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3839
3818
  r[n] = arguments[n];
3840
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3819
+ return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3841
3820
  }, {
3842
- cache: Oe(e.number),
3843
- strategy: Ce.variadic
3821
+ cache: Ce(e.number),
3822
+ strategy: Be.variadic
3844
3823
  }),
3845
- getDateTimeFormat: Be(function() {
3824
+ getDateTimeFormat: He(function() {
3846
3825
  for (var t, r = [], n = 0; n < arguments.length; n++)
3847
3826
  r[n] = arguments[n];
3848
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3827
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3849
3828
  }, {
3850
- cache: Oe(e.dateTime),
3851
- strategy: Ce.variadic
3829
+ cache: Ce(e.dateTime),
3830
+ strategy: Be.variadic
3852
3831
  }),
3853
- getPluralRules: Be(function() {
3832
+ getPluralRules: He(function() {
3854
3833
  for (var t, r = [], n = 0; n < arguments.length; n++)
3855
3834
  r[n] = arguments[n];
3856
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3835
+ return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3857
3836
  }, {
3858
- cache: Oe(e.pluralRules),
3859
- strategy: Ce.variadic
3837
+ cache: Ce(e.pluralRules),
3838
+ strategy: Be.variadic
3860
3839
  })
3861
3840
  };
3862
3841
  }
3863
- var ci = (
3842
+ var li = (
3864
3843
  /** @class */
3865
3844
  function() {
3866
3845
  function e(t, r, n, i) {
@@ -3892,13 +3871,13 @@ var ci = (
3892
3871
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3893
3872
  var s = i || {};
3894
3873
  s.formatters;
3895
- var a = _n(s, ["formatters"]);
3896
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3874
+ var a = Fr(s, ["formatters"]);
3875
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3897
3876
  } else
3898
3877
  this.ast = t;
3899
3878
  if (!Array.isArray(this.ast))
3900
3879
  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);
3880
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3902
3881
  }
3903
3882
  return Object.defineProperty(e, "defaultLocale", {
3904
3883
  get: function() {
@@ -3911,7 +3890,7 @@ var ci = (
3911
3890
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3912
3891
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3913
3892
  }
3914
- }, e.__parse = ni, e.formats = {
3893
+ }, e.__parse = ti, e.formats = {
3915
3894
  number: {
3916
3895
  integer: {
3917
3896
  maximumFractionDigits: 0
@@ -3972,7 +3951,7 @@ var ci = (
3972
3951
  }, e;
3973
3952
  }()
3974
3953
  );
3975
- function fi(e, t) {
3954
+ function hi(e, t) {
3976
3955
  if (t == null)
3977
3956
  return;
3978
3957
  if (t in e)
@@ -3993,92 +3972,92 @@ function fi(e, t) {
3993
3972
  n = void 0;
3994
3973
  return n;
3995
3974
  }
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) => {
3975
+ const R = {}, ci = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), or = (e, t) => {
3997
3976
  if (t == null)
3998
3977
  return;
3999
3978
  if (t in R && e in R[t])
4000
3979
  return R[t][e];
4001
- const r = Se(t);
3980
+ const r = _e(t);
4002
3981
  for (let n = 0; n < r.length; n++) {
4003
- const i = r[n], o = di(i, e);
3982
+ const i = r[n], o = mi(i, e);
4004
3983
  if (o)
4005
- return mi(e, t, o);
3984
+ return ci(e, t, o);
4006
3985
  }
4007
3986
  };
4008
- let et;
4009
- const oe = _e({});
4010
- function pi(e) {
4011
- return et[e] || null;
3987
+ let qe;
3988
+ const oe = ye({});
3989
+ function fi(e) {
3990
+ return qe[e] || null;
4012
3991
  }
4013
- function ar(e) {
4014
- return e in et;
3992
+ function sr(e) {
3993
+ return e in qe;
4015
3994
  }
4016
- function di(e, t) {
4017
- if (!ar(e))
3995
+ function mi(e, t) {
3996
+ if (!sr(e))
4018
3997
  return null;
4019
- const r = pi(e);
4020
- return fi(r, t);
3998
+ const r = fi(e);
3999
+ return hi(r, t);
4021
4000
  }
4022
- function bi(e) {
4001
+ function di(e) {
4023
4002
  if (e == null)
4024
4003
  return;
4025
- const t = Se(e);
4004
+ const t = _e(e);
4026
4005
  for (let r = 0; r < t.length; r++) {
4027
4006
  const n = t[r];
4028
- if (ar(n))
4007
+ if (sr(n))
4029
4008
  return n;
4030
4009
  }
4031
4010
  }
4032
- function ur(e, ...t) {
4011
+ function ar(e, ...t) {
4033
4012
  delete R[e], oe.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4034
4013
  }
4035
- Q(
4014
+ J(
4036
4015
  [oe],
4037
4016
  ([e]) => Object.keys(e)
4038
4017
  );
4039
- oe.subscribe((e) => et = e);
4040
- const pe = {};
4041
- function gi(e, t) {
4042
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4018
+ oe.subscribe((e) => qe = e);
4019
+ const de = {};
4020
+ function pi(e, t) {
4021
+ de[e].delete(t), de[e].size === 0 && delete de[e];
4043
4022
  }
4044
- function lr(e) {
4045
- return pe[e];
4023
+ function ur(e) {
4024
+ return de[e];
4046
4025
  }
4047
- function vi(e) {
4048
- return Se(e).map((t) => {
4049
- const r = lr(t);
4026
+ function bi(e) {
4027
+ return _e(e).map((t) => {
4028
+ const r = ur(t);
4050
4029
  return [t, r ? [...r] : []];
4051
4030
  }).filter(([, t]) => t.length > 0);
4052
4031
  }
4053
- function Je(e) {
4054
- return e == null ? !1 : Se(e).some(
4032
+ function ze(e) {
4033
+ return e == null ? !1 : _e(e).some(
4055
4034
  (t) => {
4056
4035
  var r;
4057
- return (r = lr(t)) == null ? void 0 : r.size;
4036
+ return (r = ur(t)) == null ? void 0 : r.size;
4058
4037
  }
4059
4038
  );
4060
4039
  }
4061
- function yi(e, t) {
4040
+ function gi(e, t) {
4062
4041
  return Promise.all(
4063
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4064
- ).then((n) => ur(e, ...n));
4065
- }
4066
- const q = {};
4067
- function hr(e) {
4068
- if (!Je(e))
4069
- return e in q ? q[e] : Promise.resolve();
4070
- const t = vi(e);
4071
- return q[e] = Promise.all(
4042
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4043
+ ).then((n) => ar(e, ...n));
4044
+ }
4045
+ const K = {};
4046
+ function lr(e) {
4047
+ if (!ze(e))
4048
+ return e in K ? K[e] : Promise.resolve();
4049
+ const t = bi(e);
4050
+ return K[e] = Promise.all(
4072
4051
  t.map(
4073
- ([r, n]) => yi(r, n)
4052
+ ([r, n]) => gi(r, n)
4074
4053
  )
4075
4054
  ).then(() => {
4076
- if (Je(e))
4077
- return hr(e);
4078
- delete q[e];
4079
- }), q[e];
4055
+ if (ze(e))
4056
+ return lr(e);
4057
+ delete K[e];
4058
+ }), K[e];
4080
4059
  }
4081
- const _i = {
4060
+ const vi = {
4082
4061
  number: {
4083
4062
  scientific: { notation: "scientific" },
4084
4063
  engineering: { notation: "engineering" },
@@ -4107,135 +4086,135 @@ const _i = {
4107
4086
  timeZoneName: "short"
4108
4087
  }
4109
4088
  }
4110
- }, xi = {
4089
+ }, yi = {
4111
4090
  fallbackLocale: null,
4112
4091
  loadingDelay: 200,
4113
- formats: _i,
4092
+ formats: vi,
4114
4093
  warnOnMissingMessages: !0,
4115
4094
  handleMissingMessage: void 0,
4116
4095
  ignoreTag: !0
4117
- }, Ei = xi;
4096
+ }, xi = yi;
4118
4097
  function W() {
4119
- return Ei;
4098
+ return xi;
4120
4099
  }
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) => {
4100
+ const Pe = ye(!1);
4101
+ var _i = Object.defineProperty, Ei = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4123
4102
  for (var r in t || (t = {}))
4124
- Hi.call(t, r) && St(e, r, t[r]);
4125
- if (Et)
4126
- for (var r of Et(t))
4127
- Ai.call(t, r) && St(e, r, t[r]);
4103
+ wi.call(t, r) && _t(e, r, t[r]);
4104
+ if (xt)
4105
+ for (var r of xt(t))
4106
+ Ti.call(t, r) && _t(e, r, t[r]);
4128
4107
  return e;
4129
- }, Ci = (e, t) => wi(e, Ti(t));
4130
- let Ye;
4131
- const be = _e(null);
4132
- function wt(e) {
4108
+ }, Bi = (e, t) => Ei(e, Si(t));
4109
+ let We;
4110
+ const pe = ye(null);
4111
+ function Et(e) {
4133
4112
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4134
4113
  }
4135
- function Se(e, t = W().fallbackLocale) {
4136
- const r = wt(e);
4137
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4114
+ function _e(e, t = W().fallbackLocale) {
4115
+ const r = Et(e);
4116
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4138
4117
  }
4139
4118
  function $() {
4140
- return Ye ?? void 0;
4119
+ return We ?? void 0;
4141
4120
  }
4142
- be.subscribe((e) => {
4143
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4121
+ pe.subscribe((e) => {
4122
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4144
4123
  });
4145
- const Pi = (e) => {
4146
- if (e && bi(e) && Je(e)) {
4124
+ const Ai = (e) => {
4125
+ if (e && di(e) && ze(e)) {
4147
4126
  const { loadingDelay: t } = W();
4148
4127
  let r;
4149
4128
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
4150
- () => Ie.set(!0),
4129
+ () => Pe.set(!0),
4151
4130
  t
4152
- ) : Ie.set(!0), hr(e).then(() => {
4153
- be.set(e);
4131
+ ) : Pe.set(!0), lr(e).then(() => {
4132
+ pe.set(e);
4154
4133
  }).finally(() => {
4155
- clearTimeout(r), Ie.set(!1);
4134
+ clearTimeout(r), Pe.set(!1);
4156
4135
  });
4157
4136
  }
4158
- return be.set(e);
4159
- }, J = Ci(Bi({}, be), {
4160
- set: Pi
4161
- }), we = (e) => {
4137
+ return pe.set(e);
4138
+ }, Y = Bi(Hi({}, pe), {
4139
+ set: Ai
4140
+ }), Ee = (e) => {
4162
4141
  const t = /* @__PURE__ */ Object.create(null);
4163
4142
  return (n) => {
4164
4143
  const i = JSON.stringify(n);
4165
4144
  return i in t ? t[i] : t[i] = e(n);
4166
4145
  };
4167
4146
  };
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) => {
4147
+ var Ci = Object.defineProperty, be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4169
4148
  for (var r in t || (t = {}))
4170
- cr.call(t, r) && Tt(e, r, t[r]);
4171
- if (ge)
4172
- for (var r of ge(t))
4173
- fr.call(t, r) && Tt(e, r, t[r]);
4149
+ hr.call(t, r) && St(e, r, t[r]);
4150
+ if (be)
4151
+ for (var r of be(t))
4152
+ cr.call(t, r) && St(e, r, t[r]);
4174
4153
  return e;
4175
- }, Y = (e, t) => {
4154
+ }, q = (e, t) => {
4176
4155
  var r = {};
4177
4156
  for (var n in e)
4178
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4179
- if (e != null && ge)
4180
- for (var n of ge(e))
4181
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4157
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4158
+ if (e != null && be)
4159
+ for (var n of be(e))
4160
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4182
4161
  return r;
4183
4162
  };
4184
- const re = (e, t) => {
4163
+ const ne = (e, t) => {
4185
4164
  const { formats: r } = W();
4186
4165
  if (e in r && t in r[e])
4187
4166
  return r[e][t];
4188
4167
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4189
- }, Ii = we(
4168
+ }, Pi = Ee(
4190
4169
  (e) => {
4191
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4170
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4192
4171
  if (r == null)
4193
4172
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4194
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4173
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4195
4174
  }
4196
- ), Mi = we(
4175
+ ), Oi = Ee(
4197
4176
  (e) => {
4198
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4177
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4199
4178
  if (r == null)
4200
4179
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4201
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4180
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4202
4181
  }
4203
- ), Ni = we(
4182
+ ), Ii = Ee(
4204
4183
  (e) => {
4205
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4184
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4206
4185
  if (r == null)
4207
4186
  throw new Error(
4208
4187
  '[svelte-i18n] A "locale" must be set to format time values'
4209
4188
  );
4210
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4189
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4211
4190
  }
4212
- ), Li = (e = {}) => {
4191
+ ), Mi = (e = {}) => {
4213
4192
  var t = e, {
4214
4193
  locale: r = $()
4215
- } = t, n = Y(t, [
4194
+ } = t, n = q(t, [
4216
4195
  "locale"
4217
4196
  ]);
4218
- return Ii(tt({ locale: r }, n));
4219
- }, Ri = (e = {}) => {
4197
+ return Pi(Ke({ locale: r }, n));
4198
+ }, Ni = (e = {}) => {
4220
4199
  var t = e, {
4221
4200
  locale: r = $()
4222
- } = t, n = Y(t, [
4201
+ } = t, n = q(t, [
4223
4202
  "locale"
4224
4203
  ]);
4225
- return Mi(tt({ locale: r }, n));
4226
- }, $i = (e = {}) => {
4204
+ return Oi(Ke({ locale: r }, n));
4205
+ }, Li = (e = {}) => {
4227
4206
  var t = e, {
4228
4207
  locale: r = $()
4229
- } = t, n = Y(t, [
4208
+ } = t, n = q(t, [
4230
4209
  "locale"
4231
4210
  ]);
4232
- return Ni(tt({ locale: r }, n));
4233
- }, Gi = we(
4211
+ return Ii(Ke({ locale: r }, n));
4212
+ }, Ri = Ee(
4234
4213
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4235
- (e, t = $()) => new ci(e, t, W().formats, {
4214
+ (e, t = $()) => new li(e, t, W().formats, {
4236
4215
  ignoreTag: W().ignoreTag
4237
4216
  })
4238
- ), Ui = (e, t = {}) => {
4217
+ ), $i = (e, t = {}) => {
4239
4218
  var r, n, i, o;
4240
4219
  let s = t;
4241
4220
  typeof e == "object" && (s = e, e = s.id);
@@ -4248,7 +4227,7 @@ const re = (e, t) => {
4248
4227
  throw new Error(
4249
4228
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4250
4229
  );
4251
- let h = sr(e, l);
4230
+ let h = or(e, l);
4252
4231
  if (!h)
4253
4232
  h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4254
4233
  else if (typeof h != "string")
@@ -4259,7 +4238,7 @@ const re = (e, t) => {
4259
4238
  return h;
4260
4239
  let c = h;
4261
4240
  try {
4262
- c = Gi(h, l).format(a);
4241
+ c = Ri(h, l).format(a);
4263
4242
  } catch (f) {
4264
4243
  f instanceof Error && console.warn(
4265
4244
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4267,20 +4246,20 @@ const re = (e, t) => {
4267
4246
  );
4268
4247
  }
4269
4248
  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);
4272
- Q([J], () => Fi);
4273
- Q([J], () => ji);
4274
- Q([J, oe], () => ki);
4249
+ }, Gi = (e, t) => Li(t).format(e), Ui = (e, t) => Ni(t).format(e), Di = (e, t) => Mi(t).format(e), Fi = (e, t = $()) => or(e, t), ji = J([Y, oe], () => $i);
4250
+ J([Y], () => Gi);
4251
+ J([Y], () => Ui);
4252
+ J([Y], () => Di);
4253
+ J([Y, oe], () => Fi);
4275
4254
  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";
4277
- function Ht(e, t) {
4278
- ur(e, t);
4255
+ const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4256
+ function wt(e, t) {
4257
+ ar(e, t);
4279
4258
  }
4280
- function Wi(e) {
4281
- J.set(e);
4259
+ function Vi(e) {
4260
+ Y.set(e);
4282
4261
  }
4283
- const At = {
4262
+ const Tt = {
4284
4263
  en: {
4285
4264
  cancel: "Cancel",
4286
4265
  confirm: "Confirm"
@@ -4326,13 +4305,13 @@ const At = {
4326
4305
  confirm: "Confirm"
4327
4306
  }
4328
4307
  };
4329
- function zi(e, t) {
4308
+ function Xi(e, t) {
4330
4309
  if (e) {
4331
4310
  const r = document.createElement("style");
4332
4311
  r.innerHTML = t, e.appendChild(r);
4333
4312
  }
4334
4313
  }
4335
- function Zi(e, t) {
4314
+ function zi(e, t) {
4336
4315
  const r = new URL(t);
4337
4316
  fetch(r.href).then((n) => n.text()).then((n) => {
4338
4317
  const i = document.createElement("style");
@@ -4341,7 +4320,7 @@ function Zi(e, t) {
4341
4320
  console.error("There was an error while trying to load client styling from URL", n);
4342
4321
  });
4343
4322
  }
4344
- function Qi(e, t, r) {
4323
+ function Wi(e, t, r) {
4345
4324
  if (window.emMessageBus) {
4346
4325
  const n = document.createElement("style");
4347
4326
  window.emMessageBus.subscribe(t, (i) => {
@@ -4349,61 +4328,61 @@ function Qi(e, t, r) {
4349
4328
  });
4350
4329
  }
4351
4330
  }
4352
- function Ji(e) {
4353
- 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}');
4331
+ function Zi(e) {
4332
+ _r(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}');
4354
4333
  }
4355
- const Yi = (e) => ({}), Bt = (e) => ({});
4356
- function qi(e) {
4334
+ const Qi = (e) => ({}), Ht = (e) => ({});
4335
+ function Ji(e) {
4357
4336
  let t, r;
4358
4337
  return {
4359
4338
  c() {
4360
- 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");
4339
+ t = rt("svg"), r = rt("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");
4361
4340
  },
4362
4341
  m(n, i) {
4363
- ne(n, t, i), B(t, r);
4342
+ ie(n, t, i), A(t, r);
4364
4343
  },
4365
- p: N,
4344
+ p: M,
4366
4345
  d(n) {
4367
- n && Z(t);
4346
+ n && Q(t);
4368
4347
  }
4369
4348
  };
4370
4349
  }
4371
- function Ct(e) {
4350
+ function Bt(e) {
4372
4351
  let t, r, n;
4373
4352
  return {
4374
4353
  c() {
4375
- t = I("div"), r = I("h2"), n = ve(
4354
+ t = I("div"), r = I("h2"), n = ge(
4376
4355
  /*modaltitle*/
4377
4356
  e[1]
4378
4357
  ), T(t, "class", "GeneralConfirmationTitle");
4379
4358
  },
4380
4359
  m(i, o) {
4381
- ne(i, t, o), B(t, r), B(r, n);
4360
+ ie(i, t, o), A(t, r), A(r, n);
4382
4361
  },
4383
4362
  p(i, o) {
4384
4363
  o & /*modaltitle*/
4385
- 2 && Ke(
4364
+ 2 && Qe(
4386
4365
  n,
4387
4366
  /*modaltitle*/
4388
4367
  i[1]
4389
4368
  );
4390
4369
  },
4391
4370
  d(i) {
4392
- i && Z(t);
4371
+ i && Q(t);
4393
4372
  }
4394
4373
  };
4395
4374
  }
4396
- function Pt(e) {
4375
+ function At(e) {
4397
4376
  let t, r = (
4398
4377
  /*$_*/
4399
4378
  e[4]("cancel") + ""
4400
4379
  ), n, i, o;
4401
4380
  return {
4402
4381
  c() {
4403
- t = I("button"), n = ve(r), T(t, "class", "GeneralCancelButton");
4382
+ t = I("button"), n = ge(r), T(t, "class", "GeneralCancelButton");
4404
4383
  },
4405
4384
  m(s, a) {
4406
- ne(s, t, a), B(t, n), i || (o = Me(
4385
+ ie(s, t, a), A(t, n), i || (o = Oe(
4407
4386
  t,
4408
4387
  "click",
4409
4388
  /*click_handler*/
@@ -4413,52 +4392,52 @@ function Pt(e) {
4413
4392
  p(s, a) {
4414
4393
  a & /*$_*/
4415
4394
  16 && r !== (r = /*$_*/
4416
- s[4]("cancel") + "") && Ke(n, r);
4395
+ s[4]("cancel") + "") && Qe(n, r);
4417
4396
  },
4418
4397
  d(s) {
4419
- s && Z(t), i = !1, o();
4398
+ s && Q(t), i = !1, o();
4420
4399
  }
4421
4400
  };
4422
4401
  }
4423
- function Ki(e) {
4402
+ function Yi(e) {
4424
4403
  let t, r, n, i, o, s, a, l, u, h, c = (
4425
4404
  /*$_*/
4426
4405
  e[4]("confirm") + ""
4427
- ), f, m, v, d;
4428
- const S = (
4406
+ ), f, m, v, p;
4407
+ const w = (
4429
4408
  /*#slots*/
4430
4409
  e[16].close
4431
- ), P = vr(
4432
- S,
4410
+ ), P = gr(
4411
+ w,
4433
4412
  e,
4434
4413
  /*$$scope*/
4435
4414
  e[15],
4436
- Bt
4437
- ), H = P || qi();
4415
+ Ht
4416
+ ), H = P || Ji();
4438
4417
  let _ = (
4439
4418
  /*modaltitle*/
4440
- e[1] && Ct(e)
4441
- ), x = (
4419
+ e[1] && Bt(e)
4420
+ ), E = (
4442
4421
  /*hascancelbutton*/
4443
- e[2] && Pt(e)
4422
+ e[2] && At(e)
4444
4423
  );
4445
4424
  return {
4446
4425
  c() {
4447
- 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*/
4426
+ 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"), E && E.c(), u = ae(), h = I("button"), f = ge(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4448
4427
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4449
4428
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4450
4429
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4451
4430
  },
4452
- m(y, A) {
4453
- 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*/
4454
- 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
- Me(
4431
+ m(x, B) {
4432
+ ie(x, t, B), A(t, r), A(r, n), H && H.m(n, null), A(r, i), _ && _.m(r, null), A(r, o), A(r, s), s.innerHTML = /*modaltext*/
4433
+ e[0], A(r, a), A(r, l), E && E.m(l, null), A(l, u), A(l, h), A(h, f), e[19](t), m = !0, v || (p = [
4434
+ Oe(
4456
4435
  n,
4457
4436
  "click",
4458
4437
  /*close*/
4459
4438
  e[6]
4460
4439
  ),
4461
- Me(
4440
+ Oe(
4462
4441
  h,
4463
4442
  "click",
4464
4443
  /*click_handler_1*/
@@ -4466,115 +4445,115 @@ function Ki(e) {
4466
4445
  )
4467
4446
  ], v = !0);
4468
4447
  },
4469
- p(y, [A]) {
4470
- P && P.p && (!m || A & /*$$scope*/
4471
- 32768) && _r(
4448
+ p(x, [B]) {
4449
+ P && P.p && (!m || B & /*$$scope*/
4450
+ 32768) && yr(
4472
4451
  P,
4473
- S,
4474
- y,
4452
+ w,
4453
+ x,
4475
4454
  /*$$scope*/
4476
- y[15],
4477
- m ? yr(
4478
- S,
4455
+ x[15],
4456
+ m ? vr(
4457
+ w,
4479
4458
  /*$$scope*/
4480
- y[15],
4481
- A,
4482
- Yi
4459
+ x[15],
4460
+ B,
4461
+ Qi
4483
4462
  ) : xr(
4484
4463
  /*$$scope*/
4485
- y[15]
4464
+ x[15]
4486
4465
  ),
4487
- Bt
4466
+ Ht
4488
4467
  ), /*modaltitle*/
4489
- y[1] ? _ ? _.p(y, A) : (_ = Ct(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4468
+ x[1] ? _ ? _.p(x, B) : (_ = Bt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
4490
4469
  1) && (s.innerHTML = /*modaltext*/
4491
- y[0]), /*hascancelbutton*/
4492
- y[2] ? x ? x.p(y, A) : (x = Pt(y), x.c(), x.m(l, u)) : x && (x.d(1), x = null), (!m || A & /*$_*/
4470
+ x[0]), /*hascancelbutton*/
4471
+ x[2] ? E ? E.p(x, B) : (E = At(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
4493
4472
  16) && c !== (c = /*$_*/
4494
- y[4]("confirm") + "") && Ke(f, c);
4473
+ x[4]("confirm") + "") && Qe(f, c);
4495
4474
  },
4496
- i(y) {
4497
- m || (Lt(H, y), m = !0);
4475
+ i(x) {
4476
+ m || (Mt(H, x), m = !0);
4498
4477
  },
4499
- o(y) {
4500
- Nr(H, y), m = !1;
4478
+ o(x) {
4479
+ Mr(H, x), m = !1;
4501
4480
  },
4502
- d(y) {
4503
- y && Z(t), H && H.d(y), _ && _.d(), x && x.d(), e[19](null), v = !1, z(d);
4481
+ d(x) {
4482
+ x && Q(t), H && H.d(x), _ && _.d(), E && E.d(), e[19](null), v = !1, Z(p);
4504
4483
  }
4505
4484
  };
4506
4485
  }
4507
- function eo(e, t, r) {
4486
+ function qi(e, t, r) {
4508
4487
  let n;
4509
- gr(e, Vi, (b) => r(4, n = b));
4510
- 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";
4488
+ br(e, ji, (b) => r(4, n = b));
4489
+ 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: p } = t, w, P = window.navigator.userAgent, H = ki(P) !== "PC";
4511
4490
  const _ = () => {
4512
4491
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4513
- }, x = (b) => {
4492
+ }, E = (b) => {
4514
4493
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4515
- }, y = () => {
4494
+ }, x = () => {
4516
4495
  fetch(v).then((G) => G.json()).then((G) => {
4517
- Object.keys(G).forEach((rt) => {
4518
- Ht(rt, G[rt]);
4496
+ Object.keys(G).forEach((et) => {
4497
+ wt(et, G[et]);
4519
4498
  });
4520
4499
  }).catch((G) => {
4521
4500
  console.log(G);
4522
4501
  });
4523
4502
  };
4524
- Object.keys(At).forEach((b) => {
4525
- Ht(b, At[b]);
4503
+ Object.keys(Tt).forEach((b) => {
4504
+ wt(b, Tt[b]);
4526
4505
  });
4527
- const A = () => {
4528
- Wi(c);
4506
+ const B = () => {
4507
+ Vi(c);
4529
4508
  };
4530
4509
  Br(() => () => {
4531
4510
  });
4532
- const se = () => x("cancel"), mr = () => x("confirm");
4533
- function pr(b) {
4534
- Ne[b ? "unshift" : "push"](() => {
4535
- S = b, r(3, S);
4511
+ const se = () => E("cancel"), fr = () => E("confirm");
4512
+ function mr(b) {
4513
+ Ie[b ? "unshift" : "push"](() => {
4514
+ w = b, r(3, w);
4536
4515
  });
4537
4516
  }
4538
4517
  return e.$$set = (b) => {
4539
- "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);
4518
+ "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, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4540
4519
  }, e.$$.update = () => {
4541
4520
  e.$$.dirty & /*modaltext, lang*/
4542
- 1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4543
- 2056 && f && S && zi(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4544
- 4104 && m && S && Zi(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4545
- 16392 && d && S && Qi(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4546
- 8192 && v && y();
4521
+ 1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4522
+ 2056 && f && w && Xi(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4523
+ 4104 && m && w && zi(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4524
+ 16392 && p && w && Wi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4525
+ 8192 && v && x();
4547
4526
  }, [
4548
4527
  s,
4549
4528
  a,
4550
4529
  l,
4551
- S,
4530
+ w,
4552
4531
  n,
4553
4532
  H,
4554
4533
  _,
4555
- x,
4534
+ E,
4556
4535
  u,
4557
4536
  h,
4558
4537
  c,
4559
4538
  f,
4560
4539
  m,
4561
4540
  v,
4562
- d,
4541
+ p,
4563
4542
  o,
4564
4543
  i,
4565
4544
  se,
4566
- mr,
4567
- pr
4545
+ fr,
4546
+ mr
4568
4547
  ];
4569
4548
  }
4570
- class to extends Dr {
4549
+ class Ki extends Ur {
4571
4550
  constructor(t) {
4572
- super(), Gr(
4551
+ super(), $r(
4573
4552
  this,
4574
4553
  t,
4575
- eo,
4576
- Ki,
4577
- It,
4554
+ qi,
4555
+ Yi,
4556
+ Pt,
4578
4557
  {
4579
4558
  modaltext: 0,
4580
4559
  modaltitle: 1,
@@ -4587,7 +4566,7 @@ class to extends Dr {
4587
4566
  translationurl: 13,
4588
4567
  mbsource: 14
4589
4568
  },
4590
- Ji
4569
+ Zi
4591
4570
  );
4592
4571
  }
4593
4572
  get modaltext() {
@@ -4651,7 +4630,7 @@ class to extends Dr {
4651
4630
  this.$$set({ mbsource: t }), O();
4652
4631
  }
4653
4632
  }
4654
- Ur(to, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4633
+ Gr(Ki, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4655
4634
  export {
4656
- to as P
4635
+ Ki as P
4657
4636
  };