@everymatrix/player-account-general-confirmation-modal 1.77.20 → 1.77.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- function M() {
1
+ function N() {
2
2
  }
3
- function hr(e, t) {
3
+ function dr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function hr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ht(e) {
11
+ function Ot(e) {
12
12
  return e();
13
13
  }
14
- function qe() {
14
+ function nt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function Z(e) {
18
- e.forEach(Ht);
17
+ function z(e) {
18
+ e.forEach(Ot);
19
19
  }
20
- function ze(e) {
20
+ function qe(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Bt(e, t) {
23
+ function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function cr(e) {
26
+ function br(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function At(e, ...t) {
29
+ function Mt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return M;
33
+ return N;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function fr(e, t, r) {
39
- e.$$.on_destroy.push(At(t, r));
38
+ function gr(e, t, r) {
39
+ e.$$.on_destroy.push(Mt(t, r));
40
40
  }
41
- function mr(e, t, r, n) {
41
+ function vr(e, t, r, n) {
42
42
  if (e) {
43
- const i = Ct(e, t, r, n);
43
+ const i = Nt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Ct(e, t, r, n) {
48
- return e[1] && n ? hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function Nt(e, t, r, n) {
48
+ return e[1] && n ? dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function dr(e, t, r, n) {
50
+ function yr(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function dr(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function pr(e, t, r, n, i, o) {
65
+ function _r(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Ct(t, r, n, o);
67
+ const s = Nt(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function br(e) {
71
+ function xr(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,17 +77,17 @@ function br(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function A(e, t) {
80
+ function B(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function gr(e, t, r) {
84
- const n = vr(e);
83
+ function Er(e, t, r) {
84
+ const n = Sr(e);
85
85
  if (!n.getElementById(t)) {
86
86
  const i = I("style");
87
- i.id = t, i.textContent = r, yr(n, i);
87
+ i.id = t, i.textContent = r, wr(n, i);
88
88
  }
89
89
  }
90
- function vr(e) {
90
+ function Sr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,45 +97,45 @@ function vr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function yr(e, t) {
101
- return A(
100
+ function wr(e, t) {
101
+ return B(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function ie(e, t, r) {
107
+ function ne(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function Q(e) {
110
+ function Z(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 Ke(e) {
116
+ function it(e) {
117
117
  return document.createElementNS("http://www.w3.org/2000/svg", e);
118
118
  }
119
- function ge(e) {
119
+ function ve(e) {
120
120
  return document.createTextNode(e);
121
121
  }
122
122
  function ae() {
123
- return ge(" ");
123
+ return ve(" ");
124
124
  }
125
- function Pe(e, t, r, n) {
125
+ function Me(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 xr(e) {
131
+ function Tr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function Ze(e, t) {
134
+ function Ke(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function _r(e) {
138
+ function Hr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,105 +144,105 @@ function _r(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let te;
148
- function ee(e) {
149
- te = e;
147
+ let ee;
148
+ function K(e) {
149
+ ee = e;
150
150
  }
151
- function Er() {
152
- if (!te)
151
+ function Ar() {
152
+ if (!ee)
153
153
  throw new Error("Function called outside component initialization");
154
- return te;
154
+ return ee;
155
155
  }
156
- function Sr(e) {
157
- Er().$$.on_mount.push(e);
156
+ function Br(e) {
157
+ Ar().$$.on_mount.push(e);
158
158
  }
159
- const F = [], Oe = [];
159
+ const F = [], Ne = [];
160
160
  let j = [];
161
- const et = [], wr = /* @__PURE__ */ Promise.resolve();
162
- let Ie = !1;
163
- function Tr() {
164
- Ie || (Ie = !0, wr.then(O));
161
+ const ot = [], Cr = /* @__PURE__ */ Promise.resolve();
162
+ let Le = !1;
163
+ function Pr() {
164
+ Le || (Le = !0, Cr.then(O));
165
165
  }
166
- function Me(e) {
166
+ function Re(e) {
167
167
  j.push(e);
168
168
  }
169
- const Se = /* @__PURE__ */ new Set();
169
+ const Te = /* @__PURE__ */ new Set();
170
170
  let U = 0;
171
171
  function O() {
172
172
  if (U !== 0)
173
173
  return;
174
- const e = te;
174
+ const e = ee;
175
175
  do {
176
176
  try {
177
177
  for (; U < F.length; ) {
178
178
  const t = F[U];
179
- U++, ee(t), Hr(t.$$);
179
+ U++, K(t), Or(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw F.length = 0, U = 0, t;
183
183
  }
184
- for (ee(null), F.length = 0, U = 0; Oe.length; )
185
- Oe.pop()();
184
+ for (K(null), F.length = 0, U = 0; Ne.length; )
185
+ Ne.pop()();
186
186
  for (let t = 0; t < j.length; t += 1) {
187
187
  const r = j[t];
188
- Se.has(r) || (Se.add(r), r());
188
+ Te.has(r) || (Te.add(r), r());
189
189
  }
190
190
  j.length = 0;
191
191
  } while (F.length);
192
- for (; et.length; )
193
- et.pop()();
194
- Ie = !1, Se.clear(), ee(e);
192
+ for (; ot.length; )
193
+ ot.pop()();
194
+ Le = !1, Te.clear(), K(e);
195
195
  }
196
- function Hr(e) {
196
+ function Or(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(Me);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
201
201
  }
202
202
  }
203
- function Br(e) {
203
+ function Ir(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 Ar;
209
- function Pt(e, t) {
208
+ let Mr;
209
+ function Lt(e, t) {
210
210
  e && e.i && (he.delete(e), e.i(t));
211
211
  }
212
- function Cr(e, t, r, n) {
212
+ function Nr(e, t, r, n) {
213
213
  if (e && e.o) {
214
214
  if (he.has(e))
215
215
  return;
216
- he.add(e), Ar.c.push(() => {
216
+ he.add(e), Mr.c.push(() => {
217
217
  he.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function Pr(e, t, r) {
221
+ function Lr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Me(() => {
224
- const o = e.$$.on_mount.map(Ht).filter(ze);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
226
- }), i.forEach(Me);
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);
227
227
  }
228
- function Or(e, t) {
228
+ function Rr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Br(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 && (Ir(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 Ir(e, t) {
233
- e.$$.dirty[0] === -1 && (F.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
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;
234
234
  }
235
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
236
- const l = te;
237
- ee(e);
235
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
236
+ const l = ee;
237
+ K(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
241
241
  // state
242
242
  props: o,
243
- update: M,
243
+ update: N,
244
244
  not_equal: i,
245
- bound: qe(),
245
+ bound: nt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,7 +251,7 @@ function Mr(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: qe(),
254
+ callbacks: nt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
@@ -260,19 +260,19 @@ function Mr(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 && Ir(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 && $r(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 = xr(t.target);
267
- u.fragment && u.fragment.l(c), c.forEach(Q);
266
+ const c = Tr(t.target);
267
+ u.fragment && u.fragment.l(c), c.forEach(Z);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Pt(e.$$.fragment), Pr(e, t.target, t.anchor), O();
270
+ t.intro && Lt(e.$$.fragment), Lr(e, t.target, t.anchor), O();
271
271
  }
272
- ee(l);
272
+ K(l);
273
273
  }
274
- let Ot;
275
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
274
+ let Rt;
275
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -321,17 +321,17 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
323
  m: function(l, u) {
324
- ie(l, o, u);
324
+ ne(l, o, u);
325
325
  },
326
326
  d: function(l) {
327
- l && Q(o);
327
+ l && Z(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 = _r(this);
334
+ const t = {}, r = Hr(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 Nr(e, t, r, n, i, o) {
422
- let s = class extends Ot {
421
+ function Ur(e, t, r, n, i, o) {
422
+ let s = class extends Rt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -447,7 +447,7 @@ function Nr(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class Lr {
450
+ class Dr {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class Lr {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- Or(this, 1), this.$destroy = M;
469
+ Rr(this, 1), this.$destroy = N;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,8 +475,8 @@ class Lr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!ze(r))
479
- return M;
478
+ if (!qe(r))
479
+ return N;
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 Lr {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const Rr = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
494
+ const Fr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -507,43 +507,24 @@ 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 Ne = function(e, t) {
511
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ var $e = function(e, t) {
511
+ return $e = 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
- }, Ne(e, t);
516
+ }, $e(e, t);
517
517
  };
518
- function L(e, t) {
518
+ function ie(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
- Ne(e, t);
521
+ $e(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
- 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 $r(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 Le(e) {
527
+ function Ge(e) {
547
528
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
548
529
  if (r)
549
530
  return r.call(e);
@@ -555,7 +536,7 @@ function Le(e) {
555
536
  };
556
537
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
557
538
  }
558
- function Re(e, t) {
539
+ function Ue(e, t) {
559
540
  var r = typeof Symbol == "function" && e[Symbol.iterator];
560
541
  if (!r)
561
542
  return e;
@@ -575,22 +556,22 @@ function Re(e, t) {
575
556
  }
576
557
  return o;
577
558
  }
578
- function k(e, t, r) {
579
- if (r || arguments.length === 2)
559
+ function De(e, t, r) {
560
+ if (arguments.length === 2)
580
561
  for (var n = 0, i = t.length, o; n < i; n++)
581
562
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
582
563
  return e.concat(o || t);
583
564
  }
584
- function N(e) {
565
+ function L(e) {
585
566
  return typeof e == "function";
586
567
  }
587
- function It(e) {
568
+ function $t(e) {
588
569
  var t = function(n) {
589
570
  Error.call(n), n.stack = new Error().stack;
590
571
  }, r = e(t);
591
572
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
592
573
  }
593
- var we = It(function(e) {
574
+ var He = $t(function(e) {
594
575
  return function(r) {
595
576
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
596
577
  ` + r.map(function(n, i) {
@@ -599,13 +580,13 @@ var we = It(function(e) {
599
580
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
600
581
  };
601
582
  });
602
- function $e(e, t) {
583
+ function Fe(e, t) {
603
584
  if (e) {
604
585
  var r = e.indexOf(t);
605
586
  0 <= r && e.splice(r, 1);
606
587
  }
607
588
  }
608
- var ve = function() {
589
+ var ye = function() {
609
590
  function e(t) {
610
591
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
611
592
  }
@@ -617,12 +598,12 @@ var ve = function() {
617
598
  if (s)
618
599
  if (this._parentage = null, Array.isArray(s))
619
600
  try {
620
- for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
601
+ for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
621
602
  var u = l.value;
622
603
  u.remove(this);
623
604
  }
624
- } catch (p) {
625
- t = { error: p };
605
+ } catch (d) {
606
+ t = { error: d };
626
607
  } finally {
627
608
  try {
628
609
  l && !l.done && (r = a.return) && r.call(a);
@@ -634,26 +615,26 @@ var ve = function() {
634
615
  else
635
616
  s.remove(this);
636
617
  var h = this.initialTeardown;
637
- if (N(h))
618
+ if (L(h))
638
619
  try {
639
620
  h();
640
- } catch (p) {
641
- o = p instanceof we ? p.errors : [p];
621
+ } catch (d) {
622
+ o = d instanceof He ? d.errors : [d];
642
623
  }
643
624
  var c = this._finalizers;
644
625
  if (c) {
645
626
  this._finalizers = null;
646
627
  try {
647
- for (var f = Le(c), m = f.next(); !m.done; m = f.next()) {
628
+ for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
648
629
  var v = m.value;
649
630
  try {
650
- tt(v);
651
- } catch (p) {
652
- o = o ?? [], p instanceof we ? o = k(k([], Re(o)), Re(p.errors)) : o.push(p);
631
+ st(v);
632
+ } catch (d) {
633
+ o = o ?? [], d instanceof He ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
653
634
  }
654
635
  }
655
- } catch (p) {
656
- n = { error: p };
636
+ } catch (d) {
637
+ n = { error: d };
657
638
  } finally {
658
639
  try {
659
640
  m && !m.done && (i = f.return) && i.call(f);
@@ -664,13 +645,13 @@ var ve = function() {
664
645
  }
665
646
  }
666
647
  if (o)
667
- throw new we(o);
648
+ throw new He(o);
668
649
  }
669
650
  }, e.prototype.add = function(t) {
670
651
  var r;
671
652
  if (t && t !== this)
672
653
  if (this.closed)
673
- tt(t);
654
+ st(t);
674
655
  else {
675
656
  if (t instanceof e) {
676
657
  if (t.closed || t._hasParent(this))
@@ -687,52 +668,52 @@ var ve = function() {
687
668
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
669
  }, e.prototype._removeParent = function(t) {
689
670
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
671
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
691
672
  }, e.prototype.remove = function(t) {
692
673
  var r = this._finalizers;
693
- r && $e(r, t), t instanceof e && t._removeParent(this);
674
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
694
675
  }, e.EMPTY = function() {
695
676
  var t = new e();
696
677
  return t.closed = !0, t;
697
678
  }(), e;
698
- }(), Mt = ve.EMPTY;
699
- function Nt(e) {
700
- return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
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);
701
682
  }
702
- function tt(e) {
703
- N(e) ? e() : e.unsubscribe();
683
+ function st(e) {
684
+ L(e) ? e() : e.unsubscribe();
704
685
  }
705
- var Gr = {
686
+ var jr = {
706
687
  Promise: void 0
707
- }, Ur = {
688
+ }, kr = {
708
689
  setTimeout: function(e, t) {
709
690
  for (var r = [], n = 2; n < arguments.length; n++)
710
691
  r[n - 2] = arguments[n];
711
- return setTimeout.apply(void 0, k([e, t], Re(r)));
692
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
712
693
  },
713
694
  clearTimeout: function(e) {
714
695
  return clearTimeout(e);
715
696
  },
716
697
  delegate: void 0
717
698
  };
718
- function Dr(e) {
719
- Ur.setTimeout(function() {
699
+ function Vr(e) {
700
+ kr.setTimeout(function() {
720
701
  throw e;
721
702
  });
722
703
  }
723
- function rt() {
704
+ function at() {
724
705
  }
725
706
  function fe(e) {
726
707
  e();
727
708
  }
728
- var Lt = function(e) {
729
- L(t, e);
709
+ var Dt = function(e) {
710
+ ie(t, e);
730
711
  function t(r) {
731
712
  var n = e.call(this) || this;
732
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = kr, n;
713
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = zr, n;
733
714
  }
734
715
  return t.create = function(r, n, i) {
735
- return new Ge(r, n, i);
716
+ return new je(r, n, i);
736
717
  }, t.prototype.next = function(r) {
737
718
  this.isStopped || this._next(r);
738
719
  }, t.prototype.error = function(r) {
@@ -756,7 +737,7 @@ var Lt = function(e) {
756
737
  this.unsubscribe();
757
738
  }
758
739
  }, t;
759
- }(ve), Fr = function() {
740
+ }(ye), Xr = function() {
760
741
  function e(t) {
761
742
  this.partialObserver = t;
762
743
  }
@@ -787,43 +768,43 @@ var Lt = function(e) {
787
768
  ue(r);
788
769
  }
789
770
  }, e;
790
- }(), Ge = function(e) {
791
- L(t, e);
771
+ }(), je = function(e) {
772
+ ie(t, e);
792
773
  function t(r, n, i) {
793
774
  var o = e.call(this) || this, s;
794
- return N(r) || !r ? s = {
775
+ return L(r) || !r ? s = {
795
776
  next: r ?? void 0,
796
777
  error: n ?? void 0,
797
778
  complete: i ?? void 0
798
- } : s = r, o.destination = new Fr(s), o;
779
+ } : s = r, o.destination = new Xr(s), o;
799
780
  }
800
781
  return t;
801
- }(Lt);
782
+ }(Dt);
802
783
  function ue(e) {
803
- Dr(e);
784
+ Vr(e);
804
785
  }
805
- function jr(e) {
786
+ function Wr(e) {
806
787
  throw e;
807
788
  }
808
- var kr = {
789
+ var zr = {
809
790
  closed: !0,
810
- next: rt,
811
- error: jr,
812
- complete: rt
813
- }, Vr = function() {
791
+ next: at,
792
+ error: Wr,
793
+ complete: at
794
+ }, Zr = function() {
814
795
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
815
796
  }();
816
- function Xr(e) {
797
+ function Qr(e) {
817
798
  return e;
818
799
  }
819
- function Wr(e) {
820
- return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
800
+ function Jr(e) {
801
+ return e.length === 0 ? Qr : e.length === 1 ? e[0] : function(r) {
821
802
  return e.reduce(function(n, i) {
822
803
  return i(n);
823
804
  }, r);
824
805
  };
825
806
  }
826
- var nt = function() {
807
+ var ut = function() {
827
808
  function e(t) {
828
809
  t && (this._subscribe = t);
829
810
  }
@@ -831,7 +812,7 @@ var nt = function() {
831
812
  var r = new e();
832
813
  return r.source = this, r.operator = t, r;
833
814
  }, e.prototype.subscribe = function(t, r, n) {
834
- var i = this, o = Zr(t) ? t : new Ge(t, r, n);
815
+ var i = this, o = qr(t) ? t : new je(t, r, n);
835
816
  return fe(function() {
836
817
  var s = i, a = s.operator, l = s.source;
837
818
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -844,8 +825,8 @@ var nt = function() {
844
825
  }
845
826
  }, e.prototype.forEach = function(t, r) {
846
827
  var n = this;
847
- return r = it(r), new r(function(i, o) {
848
- var s = new Ge({
828
+ return r = lt(r), new r(function(i, o) {
829
+ var s = new je({
849
830
  next: function(a) {
850
831
  try {
851
832
  t(a);
@@ -861,15 +842,15 @@ var nt = function() {
861
842
  }, e.prototype._subscribe = function(t) {
862
843
  var r;
863
844
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
864
- }, e.prototype[Vr] = function() {
845
+ }, e.prototype[Zr] = function() {
865
846
  return this;
866
847
  }, e.prototype.pipe = function() {
867
848
  for (var t = [], r = 0; r < arguments.length; r++)
868
849
  t[r] = arguments[r];
869
- return Wr(t)(this);
850
+ return Jr(t)(this);
870
851
  }, e.prototype.toPromise = function(t) {
871
852
  var r = this;
872
- return t = it(t), new t(function(n, i) {
853
+ return t = lt(t), new t(function(n, i) {
873
854
  var o;
874
855
  r.subscribe(function(s) {
875
856
  return o = s;
@@ -883,32 +864,32 @@ var nt = function() {
883
864
  return new e(t);
884
865
  }, e;
885
866
  }();
886
- function it(e) {
867
+ function lt(e) {
887
868
  var t;
888
- return (t = e ?? Gr.Promise) !== null && t !== void 0 ? t : Promise;
869
+ return (t = e ?? jr.Promise) !== null && t !== void 0 ? t : Promise;
889
870
  }
890
- function zr(e) {
891
- return e && N(e.next) && N(e.error) && N(e.complete);
871
+ function Yr(e) {
872
+ return e && L(e.next) && L(e.error) && L(e.complete);
892
873
  }
893
- function Zr(e) {
894
- return e && e instanceof Lt || zr(e) && Nt(e);
874
+ function qr(e) {
875
+ return e && e instanceof Dt || Yr(e) && Ut(e);
895
876
  }
896
- var Qr = It(function(e) {
877
+ var Kr = $t(function(e) {
897
878
  return function() {
898
879
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
899
880
  };
900
- }), Rt = function(e) {
901
- L(t, e);
881
+ }), Ft = function(e) {
882
+ ie(t, e);
902
883
  function t() {
903
884
  var r = e.call(this) || this;
904
885
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
905
886
  }
906
887
  return t.prototype.lift = function(r) {
907
- var n = new ot(this, this);
888
+ var n = new ht(this, this);
908
889
  return n.operator = r, n;
909
890
  }, t.prototype._throwIfClosed = function() {
910
891
  if (this.closed)
911
- throw new Qr();
892
+ throw new Kr();
912
893
  }, t.prototype.next = function(r) {
913
894
  var n = this;
914
895
  fe(function() {
@@ -916,7 +897,7 @@ var Qr = It(function(e) {
916
897
  if (n._throwIfClosed(), !n.isStopped) {
917
898
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
918
899
  try {
919
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
900
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
920
901
  var l = a.value;
921
902
  l.next(r);
922
903
  }
@@ -965,20 +946,20 @@ var Qr = It(function(e) {
965
946
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
966
947
  }, t.prototype._innerSubscribe = function(r) {
967
948
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
968
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
969
- n.currentObservers = null, $e(a, r);
949
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new ye(function() {
950
+ n.currentObservers = null, Fe(a, r);
970
951
  }));
971
952
  }, t.prototype._checkFinalizedStatuses = function(r) {
972
953
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
973
954
  i ? r.error(o) : s && r.complete();
974
955
  }, t.prototype.asObservable = function() {
975
- var r = new nt();
956
+ var r = new ut();
976
957
  return r.source = this, r;
977
958
  }, t.create = function(r, n) {
978
- return new ot(r, n);
959
+ return new ht(r, n);
979
960
  }, t;
980
- }(nt), ot = function(e) {
981
- L(t, e);
961
+ }(ut), ht = function(e) {
962
+ ie(t, e);
982
963
  function t(r, n) {
983
964
  var i = e.call(this) || this;
984
965
  return i.destination = r, i.source = n, i;
@@ -994,17 +975,17 @@ var Qr = It(function(e) {
994
975
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
995
976
  }, t.prototype._subscribe = function(r) {
996
977
  var n, i;
997
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
978
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
998
979
  }, t;
999
- }(Rt), $t = {
980
+ }(Ft), jt = {
1000
981
  now: function() {
1001
- return ($t.delegate || Date).now();
982
+ return (jt.delegate || Date).now();
1002
983
  },
1003
984
  delegate: void 0
1004
- }, Jr = function(e) {
1005
- L(t, e);
985
+ }, en = function(e) {
986
+ ie(t, e);
1006
987
  function t(r, n, i) {
1007
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
988
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1008
989
  var o = e.call(this) || this;
1009
990
  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;
1010
991
  }
@@ -1024,24 +1005,24 @@ var Qr = It(function(e) {
1024
1005
  u && o.splice(0, u + 1);
1025
1006
  }
1026
1007
  }, t;
1027
- }(Rt);
1028
- const st = [], at = {}, Yr = (e, t = 0) => {
1029
- if (st.indexOf(e) == -1) {
1030
- const r = new Jr(t);
1031
- at[e] = r, st.push(e);
1008
+ }(Ft);
1009
+ const ct = [], ft = {}, tn = (e, t = 0) => {
1010
+ if (ct.indexOf(e) == -1) {
1011
+ const r = new en(t);
1012
+ ft[e] = r, ct.push(e);
1032
1013
  }
1033
- return at[e];
1014
+ return ft[e];
1034
1015
  }, D = [];
1035
- function qr(e, t) {
1016
+ function rn(e, t) {
1036
1017
  return {
1037
- subscribe: ye(e, t).subscribe
1018
+ subscribe: _e(e, t).subscribe
1038
1019
  };
1039
1020
  }
1040
- function ye(e, t = M) {
1021
+ function _e(e, t = N) {
1041
1022
  let r;
1042
1023
  const n = /* @__PURE__ */ new Set();
1043
1024
  function i(a) {
1044
- if (Bt(e, a) && (e = a, r)) {
1025
+ if (It(e, a) && (e = a, r)) {
1045
1026
  const l = !D.length;
1046
1027
  for (const u of n)
1047
1028
  u[1](), D.push(u, e);
@@ -1055,150 +1036,192 @@ function ye(e, t = M) {
1055
1036
  function o(a) {
1056
1037
  i(a(e));
1057
1038
  }
1058
- function s(a, l = M) {
1039
+ function s(a, l = N) {
1059
1040
  const u = [a, l];
1060
- return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1041
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1061
1042
  n.delete(u), n.size === 0 && r && (r(), r = null);
1062
1043
  };
1063
1044
  }
1064
1045
  return { set: i, update: o, subscribe: s };
1065
1046
  }
1066
- function J(e, t, r) {
1047
+ function Q(e, t, r) {
1067
1048
  const n = !Array.isArray(e), i = n ? [e] : e;
1068
1049
  if (!i.every(Boolean))
1069
1050
  throw new Error("derived() expects stores as input, got a falsy value");
1070
1051
  const o = t.length < 2;
1071
- return qr(r, (s, a) => {
1052
+ return rn(r, (s, a) => {
1072
1053
  let l = !1;
1073
1054
  const u = [];
1074
- let h = 0, c = M;
1055
+ let h = 0, c = N;
1075
1056
  const f = () => {
1076
1057
  if (h)
1077
1058
  return;
1078
1059
  c();
1079
1060
  const v = t(n ? u[0] : u, s, a);
1080
- o ? s(v) : c = ze(v) ? v : M;
1061
+ o ? s(v) : c = qe(v) ? v : N;
1081
1062
  }, m = i.map(
1082
- (v, p) => At(
1063
+ (v, d) => Mt(
1083
1064
  v,
1084
- (w) => {
1085
- u[p] = w, h &= ~(1 << p), l && f();
1065
+ (S) => {
1066
+ u[d] = S, h &= ~(1 << d), l && f();
1086
1067
  },
1087
1068
  () => {
1088
- h |= 1 << p;
1069
+ h |= 1 << d;
1089
1070
  }
1090
1071
  )
1091
1072
  );
1092
1073
  return l = !0, f(), function() {
1093
- Z(m), c(), l = !1;
1074
+ z(m), c(), l = !1;
1094
1075
  };
1095
1076
  });
1096
1077
  }
1097
- function Kr(e) {
1078
+ function nn(e) {
1098
1079
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1099
1080
  }
1100
- var en = function(t) {
1101
- return tn(t) && !rn(t);
1081
+ var on = function(t) {
1082
+ return sn(t) && !an(t);
1102
1083
  };
1103
- function tn(e) {
1084
+ function sn(e) {
1104
1085
  return !!e && typeof e == "object";
1105
1086
  }
1106
- function rn(e) {
1087
+ function an(e) {
1107
1088
  var t = Object.prototype.toString.call(e);
1108
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1089
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1109
1090
  }
1110
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1111
- function sn(e) {
1112
- return e.$$typeof === on;
1091
+ var un = typeof Symbol == "function" && Symbol.for, ln = un ? Symbol.for("react.element") : 60103;
1092
+ function hn(e) {
1093
+ return e.$$typeof === ln;
1113
1094
  }
1114
- function an(e) {
1095
+ function cn(e) {
1115
1096
  return Array.isArray(e) ? [] : {};
1116
1097
  }
1117
- function re(e, t) {
1118
- return t.clone !== !1 && t.isMergeableObject(e) ? V(an(e), e, t) : e;
1098
+ function te(e, t) {
1099
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(cn(e), e, t) : e;
1119
1100
  }
1120
- function un(e, t, r) {
1101
+ function fn(e, t, r) {
1121
1102
  return e.concat(t).map(function(n) {
1122
- return re(n, r);
1103
+ return te(n, r);
1123
1104
  });
1124
1105
  }
1125
- function ln(e, t) {
1106
+ function mn(e, t) {
1126
1107
  if (!t.customMerge)
1127
- return V;
1108
+ return k;
1128
1109
  var r = t.customMerge(e);
1129
- return typeof r == "function" ? r : V;
1110
+ return typeof r == "function" ? r : k;
1130
1111
  }
1131
- function hn(e) {
1112
+ function pn(e) {
1132
1113
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1133
1114
  return Object.propertyIsEnumerable.call(e, t);
1134
1115
  }) : [];
1135
1116
  }
1136
- function ut(e) {
1137
- return Object.keys(e).concat(hn(e));
1117
+ function mt(e) {
1118
+ return Object.keys(e).concat(pn(e));
1138
1119
  }
1139
- function Gt(e, t) {
1120
+ function kt(e, t) {
1140
1121
  try {
1141
1122
  return t in e;
1142
1123
  } catch {
1143
1124
  return !1;
1144
1125
  }
1145
1126
  }
1146
- function cn(e, t) {
1147
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1127
+ function dn(e, t) {
1128
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1148
1129
  }
1149
- function fn(e, t, r) {
1130
+ function bn(e, t, r) {
1150
1131
  var n = {};
1151
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1152
- n[i] = re(e[i], r);
1153
- }), ut(t).forEach(function(i) {
1154
- cn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
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));
1155
1136
  }), n;
1156
1137
  }
1157
- function V(e, t, r) {
1158
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = re;
1138
+ function k(e, t, r) {
1139
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = te;
1159
1140
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1160
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : re(t, r);
1141
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : te(t, r);
1161
1142
  }
1162
- V.all = function(t, r) {
1143
+ k.all = function(t, r) {
1163
1144
  if (!Array.isArray(t))
1164
1145
  throw new Error("first argument should be an array");
1165
1146
  return t.reduce(function(n, i) {
1166
- return V(n, i, r);
1147
+ return k(n, i, r);
1167
1148
  }, {});
1168
1149
  };
1169
- var mn = V, dn = mn;
1170
- const pn = /* @__PURE__ */ Kr(dn);
1171
- function Te(e, t) {
1172
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
1150
+ var gn = k, vn = gn;
1151
+ 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;
1173
1196
  return i(e, {
1174
1197
  cache: r,
1175
1198
  serializer: n
1176
1199
  });
1177
1200
  }
1178
- function bn(e) {
1201
+ function xn(e) {
1179
1202
  return e == null || typeof e == "number" || typeof e == "boolean";
1180
1203
  }
1181
- function gn(e, t, r, n) {
1182
- var i = bn(n) ? n : r(n), o = t.get(i);
1204
+ function En(e, t, r, n) {
1205
+ var i = xn(n) ? n : r(n), o = t.get(i);
1183
1206
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1184
1207
  }
1185
- function Ut(e, t, r) {
1208
+ function Vt(e, t, r) {
1186
1209
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1187
1210
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1188
1211
  }
1189
- function Dt(e, t, r, n, i) {
1212
+ function Xt(e, t, r, n, i) {
1190
1213
  return r.bind(t, e, n, i);
1191
1214
  }
1192
- function vn(e, t) {
1193
- var r = e.length === 1 ? gn : Ut;
1194
- return Dt(e, this, r, t.cache.create(), t.serializer);
1215
+ function Sn(e, t) {
1216
+ var r = e.length === 1 ? En : Vt;
1217
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1195
1218
  }
1196
- function yn(e, t) {
1197
- return Dt(e, this, Ut, t.cache.create(), t.serializer);
1219
+ function wn(e, t) {
1220
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1198
1221
  }
1199
- var xn = function() {
1222
+ var Tn = function() {
1200
1223
  return JSON.stringify(arguments);
1201
- }, _n = (
1224
+ }, Hn = (
1202
1225
  /** @class */
1203
1226
  function() {
1204
1227
  function e() {
@@ -1210,61 +1233,71 @@ var xn = function() {
1210
1233
  this.cache[t] = r;
1211
1234
  }, e;
1212
1235
  }()
1213
- ), En = {
1236
+ ), An = {
1214
1237
  create: function() {
1215
- return new _n();
1238
+ return new Hn();
1216
1239
  }
1217
- }, He = {
1218
- variadic: yn
1219
- }, d;
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;
1220
1253
  (function(e) {
1221
1254
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1222
- })(d || (d = {}));
1223
- var S;
1255
+ })(p || (p = {}));
1256
+ var E;
1224
1257
  (function(e) {
1225
1258
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1226
- })(S || (S = {}));
1227
- var X;
1259
+ })(E || (E = {}));
1260
+ var V;
1228
1261
  (function(e) {
1229
1262
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1230
- })(X || (X = {}));
1231
- function lt(e) {
1232
- return e.type === S.literal;
1263
+ })(V || (V = {}));
1264
+ function pt(e) {
1265
+ return e.type === E.literal;
1233
1266
  }
1234
- function Sn(e) {
1235
- return e.type === S.argument;
1267
+ function Bn(e) {
1268
+ return e.type === E.argument;
1236
1269
  }
1237
- function Ft(e) {
1238
- return e.type === S.number;
1270
+ function Wt(e) {
1271
+ return e.type === E.number;
1239
1272
  }
1240
- function jt(e) {
1241
- return e.type === S.date;
1273
+ function zt(e) {
1274
+ return e.type === E.date;
1242
1275
  }
1243
- function kt(e) {
1244
- return e.type === S.time;
1276
+ function Zt(e) {
1277
+ return e.type === E.time;
1245
1278
  }
1246
- function Vt(e) {
1247
- return e.type === S.select;
1279
+ function Qt(e) {
1280
+ return e.type === E.select;
1248
1281
  }
1249
- function Xt(e) {
1250
- return e.type === S.plural;
1282
+ function Jt(e) {
1283
+ return e.type === E.plural;
1251
1284
  }
1252
- function wn(e) {
1253
- return e.type === S.pound;
1285
+ function Cn(e) {
1286
+ return e.type === E.pound;
1254
1287
  }
1255
- function Wt(e) {
1256
- return e.type === S.tag;
1288
+ function Yt(e) {
1289
+ return e.type === E.tag;
1257
1290
  }
1258
- function zt(e) {
1259
- return !!(e && typeof e == "object" && e.type === X.number);
1291
+ function qt(e) {
1292
+ return !!(e && typeof e == "object" && e.type === V.number);
1260
1293
  }
1261
- function Ue(e) {
1262
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1294
+ function Ve(e) {
1295
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
1263
1296
  }
1264
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1265
- function Hn(e) {
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) {
1266
1299
  var t = {};
1267
- return e.replace(Tn, function(r) {
1300
+ return e.replace(Pn, function(r) {
1268
1301
  var n = r.length;
1269
1302
  switch (r[0]) {
1270
1303
  case "G":
@@ -1353,11 +1386,21 @@ function Hn(e) {
1353
1386
  return "";
1354
1387
  }), t;
1355
1388
  }
1356
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
- function An(e) {
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) {
1358
1401
  if (e.length === 0)
1359
1402
  throw new Error("Number skeleton cannot be empty");
1360
- for (var t = e.split(Bn).filter(function(f) {
1403
+ for (var t = e.split(In).filter(function(f) {
1361
1404
  return f.length > 0;
1362
1405
  }), r = [], n = 0, i = t; n < i.length; n++) {
1363
1406
  var o = i[n], s = o.split("/");
@@ -1372,17 +1415,17 @@ function An(e) {
1372
1415
  }
1373
1416
  return r;
1374
1417
  }
1375
- function Cn(e) {
1418
+ function Nn(e) {
1376
1419
  return e.replace(/^(.*?)-/, "");
1377
1420
  }
1378
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1379
- function ct(e) {
1421
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1422
+ function bt(e) {
1380
1423
  var t = {};
1381
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
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) {
1382
1425
  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)), "";
1383
1426
  }), t;
1384
1427
  }
1385
- function Yt(e) {
1428
+ function rr(e) {
1386
1429
  switch (e) {
1387
1430
  case "sign-auto":
1388
1431
  return {
@@ -1422,7 +1465,7 @@ function Yt(e) {
1422
1465
  };
1423
1466
  }
1424
1467
  }
1425
- function On(e) {
1468
+ function Rn(e) {
1426
1469
  var t;
1427
1470
  if (e[0] === "E" && e[1] === "E" ? (t = {
1428
1471
  notation: "engineering"
@@ -1430,17 +1473,17 @@ function On(e) {
1430
1473
  notation: "scientific"
1431
1474
  }, e = e.slice(1)), t) {
1432
1475
  var r = e.slice(0, 2);
1433
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1476
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1434
1477
  throw new Error("Malformed concise eng/scientific notation");
1435
1478
  t.minimumIntegerDigits = e.length;
1436
1479
  }
1437
1480
  return t;
1438
1481
  }
1439
- function ft(e) {
1440
- var t = {}, r = Yt(e);
1482
+ function gt(e) {
1483
+ var t = {}, r = rr(e);
1441
1484
  return r || t;
1442
1485
  }
1443
- function In(e) {
1486
+ function $n(e) {
1444
1487
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1445
1488
  var i = n[r];
1446
1489
  switch (i.stem) {
@@ -1464,7 +1507,7 @@ function In(e) {
1464
1507
  continue;
1465
1508
  case "measure-unit":
1466
1509
  case "unit":
1467
- t.style = "unit", t.unit = Cn(i.options[0]);
1510
+ t.style = "unit", t.unit = Nn(i.options[0]);
1468
1511
  continue;
1469
1512
  case "compact-short":
1470
1513
  case "K":
@@ -1475,13 +1518,13 @@ function In(e) {
1475
1518
  t.notation = "compact", t.compactDisplay = "long";
1476
1519
  continue;
1477
1520
  case "scientific":
1478
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1479
- return y(y({}, l), ft(u));
1521
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1522
+ return w(w({}, l), gt(u));
1480
1523
  }, {}));
1481
1524
  continue;
1482
1525
  case "engineering":
1483
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1484
- return y(y({}, l), ft(u));
1526
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1527
+ return w(w({}, l), gt(u));
1485
1528
  }, {}));
1486
1529
  continue;
1487
1530
  case "notation-simple":
@@ -1526,7 +1569,7 @@ function In(e) {
1526
1569
  case "integer-width":
1527
1570
  if (i.options.length > 1)
1528
1571
  throw new RangeError("integer-width stems only accept a single optional option");
1529
- i.options[0].replace(Pn, function(l, u, h, c, f, m) {
1572
+ i.options[0].replace(Ln, function(l, u, h, c, f, m) {
1530
1573
  if (u)
1531
1574
  t.minimumIntegerDigits = h.length;
1532
1575
  else {
@@ -1539,28 +1582,28 @@ function In(e) {
1539
1582
  });
1540
1583
  continue;
1541
1584
  }
1542
- if (Jt.test(i.stem)) {
1585
+ if (tr.test(i.stem)) {
1543
1586
  t.minimumIntegerDigits = i.stem.length;
1544
1587
  continue;
1545
1588
  }
1546
- if (ht.test(i.stem)) {
1589
+ if (dt.test(i.stem)) {
1547
1590
  if (i.options.length > 1)
1548
1591
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1549
- i.stem.replace(ht, function(l, u, h, c, f, m) {
1592
+ i.stem.replace(dt, function(l, u, h, c, f, m) {
1550
1593
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1551
1594
  });
1552
1595
  var o = i.options[0];
1553
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
1596
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), bt(o)));
1554
1597
  continue;
1555
1598
  }
1556
- if (Qt.test(i.stem)) {
1557
- t = y(y({}, t), ct(i.stem));
1599
+ if (er.test(i.stem)) {
1600
+ t = w(w({}, t), bt(i.stem));
1558
1601
  continue;
1559
1602
  }
1560
- var s = Yt(i.stem);
1561
- s && (t = y(y({}, t), s));
1562
- var a = On(i.stem);
1563
- a && (t = y(y({}, t), a));
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));
1564
1607
  }
1565
1608
  return t;
1566
1609
  }
@@ -2979,13 +3022,13 @@ var le = {
2979
3022
  "h"
2980
3023
  ]
2981
3024
  };
2982
- function Mn(e, t) {
3025
+ function Gn(e, t) {
2983
3026
  for (var r = "", n = 0; n < e.length; n++) {
2984
3027
  var i = e.charAt(n);
2985
3028
  if (i === "j") {
2986
3029
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2987
3030
  o++, n++;
2988
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
3031
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Un(t);
2989
3032
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2990
3033
  r += l;
2991
3034
  for (; s-- > 0; )
@@ -2995,7 +3038,7 @@ function Mn(e, t) {
2995
3038
  }
2996
3039
  return r;
2997
3040
  }
2998
- function Nn(e) {
3041
+ function Un(e) {
2999
3042
  var t = e.hourCycle;
3000
3043
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3001
3044
  e.hourCycles && // @ts-ignore
@@ -3017,20 +3060,20 @@ function Nn(e) {
3017
3060
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3018
3061
  return i[0];
3019
3062
  }
3020
- var Be, Ln = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
3063
+ var Pe, Dn = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
3021
3064
  function g(e, t) {
3022
3065
  return { start: e, end: t };
3023
3066
  }
3024
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
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) {
3025
3068
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3026
- }, De = !0;
3069
+ }, Xe = !0;
3027
3070
  try {
3028
- var Xn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
- De = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
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";
3030
3073
  } catch {
3031
- De = !1;
3074
+ Xe = !1;
3032
3075
  }
3033
- var mt = $n ? (
3076
+ var vt = jn ? (
3034
3077
  // Native
3035
3078
  function(t, r, n) {
3036
3079
  return t.startsWith(r, n);
@@ -3040,7 +3083,7 @@ var mt = $n ? (
3040
3083
  function(t, r, n) {
3041
3084
  return t.slice(n, n + r.length) === r;
3042
3085
  }
3043
- ), Fe = Gn ? String.fromCodePoint : (
3086
+ ), We = kn ? String.fromCodePoint : (
3044
3087
  // IE11
3045
3088
  function() {
3046
3089
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3052,9 +3095,9 @@ var mt = $n ? (
3052
3095
  }
3053
3096
  return n;
3054
3097
  }
3055
- ), dt = (
3098
+ ), yt = (
3056
3099
  // native
3057
- Un ? Object.fromEntries : (
3100
+ Vn ? Object.fromEntries : (
3058
3101
  // Ponyfill
3059
3102
  function(t) {
3060
3103
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3064,7 +3107,7 @@ var mt = $n ? (
3064
3107
  return r;
3065
3108
  }
3066
3109
  )
3067
- ), qt = Dn ? (
3110
+ ), nr = Xn ? (
3068
3111
  // Native
3069
3112
  function(t, r) {
3070
3113
  return t.codePointAt(r);
@@ -3078,7 +3121,7 @@ var mt = $n ? (
3078
3121
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3079
3122
  }
3080
3123
  }
3081
- ), Wn = Fn ? (
3124
+ ), Yn = Wn ? (
3082
3125
  // Native
3083
3126
  function(t) {
3084
3127
  return t.trimStart();
@@ -3086,9 +3129,9 @@ var mt = $n ? (
3086
3129
  ) : (
3087
3130
  // Ponyfill
3088
3131
  function(t) {
3089
- return t.replace(Ln, "");
3132
+ return t.replace(Dn, "");
3090
3133
  }
3091
- ), zn = jn ? (
3134
+ ), qn = zn ? (
3092
3135
  // Native
3093
3136
  function(t) {
3094
3137
  return t.trimEnd();
@@ -3096,32 +3139,32 @@ var mt = $n ? (
3096
3139
  ) : (
3097
3140
  // Ponyfill
3098
3141
  function(t) {
3099
- return t.replace(Rn, "");
3142
+ return t.replace(Fn, "");
3100
3143
  }
3101
3144
  );
3102
- function Kt(e, t) {
3145
+ function ir(e, t) {
3103
3146
  return new RegExp(e, t);
3104
3147
  }
3105
- var je;
3106
- if (De) {
3107
- var pt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3108
- je = function(t, r) {
3148
+ var ze;
3149
+ if (Xe) {
3150
+ var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
+ ze = function(t, r) {
3109
3152
  var n;
3110
- pt.lastIndex = r;
3111
- var i = pt.exec(t);
3153
+ _t.lastIndex = r;
3154
+ var i = _t.exec(t);
3112
3155
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3113
3156
  };
3114
3157
  } else
3115
- je = function(t, r) {
3158
+ ze = function(t, r) {
3116
3159
  for (var n = []; ; ) {
3117
- var i = qt(t, r);
3118
- if (i === void 0 || er(i) || Yn(i))
3160
+ var i = nr(t, r);
3161
+ if (i === void 0 || or(i) || ri(i))
3119
3162
  break;
3120
3163
  n.push(i), r += i >= 65536 ? 2 : 1;
3121
3164
  }
3122
- return Fe.apply(void 0, n);
3165
+ return We.apply(void 0, n);
3123
3166
  };
3124
- var Zn = (
3167
+ var Kn = (
3125
3168
  /** @class */
3126
3169
  function() {
3127
3170
  function e(t, r) {
@@ -3145,14 +3188,14 @@ var Zn = (
3145
3188
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3146
3189
  var a = this.clonePosition();
3147
3190
  this.bump(), i.push({
3148
- type: S.pound,
3191
+ type: E.pound,
3149
3192
  location: g(a, this.clonePosition())
3150
3193
  });
3151
3194
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3152
3195
  if (n)
3153
3196
  break;
3154
- return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3155
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3197
+ return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3198
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3156
3199
  var s = this.parseTag(t, r);
3157
3200
  if (s.err)
3158
3201
  return s;
@@ -3173,7 +3216,7 @@ var Zn = (
3173
3216
  if (this.bumpSpace(), this.bumpIf("/>"))
3174
3217
  return {
3175
3218
  val: {
3176
- type: S.literal,
3219
+ type: E.literal,
3177
3220
  value: "<".concat(i, "/>"),
3178
3221
  location: g(n, this.clonePosition())
3179
3222
  },
@@ -3185,25 +3228,25 @@ var Zn = (
3185
3228
  return o;
3186
3229
  var s = o.val, a = this.clonePosition();
3187
3230
  if (this.bumpIf("</")) {
3188
- if (this.isEOF() || !ke(this.char()))
3189
- return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3231
+ if (this.isEOF() || !Ze(this.char()))
3232
+ return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3190
3233
  var l = this.clonePosition(), u = this.parseTagName();
3191
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3234
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3192
3235
  val: {
3193
- type: S.tag,
3236
+ type: E.tag,
3194
3237
  value: i,
3195
3238
  children: s,
3196
3239
  location: g(n, this.clonePosition())
3197
3240
  },
3198
3241
  err: null
3199
- } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3242
+ } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3200
3243
  } else
3201
- return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3244
+ return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3202
3245
  } else
3203
- return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3246
+ return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3204
3247
  }, e.prototype.parseTagName = function() {
3205
3248
  var t = this.offset();
3206
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3249
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
3207
3250
  this.bump();
3208
3251
  return this.message.slice(t, this.offset());
3209
3252
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3227,12 +3270,12 @@ var Zn = (
3227
3270
  }
3228
3271
  var l = g(n, this.clonePosition());
3229
3272
  return {
3230
- val: { type: S.literal, value: i, location: l },
3273
+ val: { type: E.literal, value: i, location: l },
3231
3274
  err: null
3232
3275
  };
3233
3276
  }, e.prototype.tryParseLeftAngleBracket = function() {
3234
3277
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3235
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3278
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3236
3279
  }, e.prototype.tryParseQuote = function(t) {
3237
3280
  if (this.isEOF() || this.char() !== 39)
3238
3281
  return null;
@@ -3266,28 +3309,28 @@ var Zn = (
3266
3309
  r.push(n);
3267
3310
  this.bump();
3268
3311
  }
3269
- return Fe.apply(void 0, r);
3312
+ return We.apply(void 0, r);
3270
3313
  }, e.prototype.tryParseUnquoted = function(t, r) {
3271
3314
  if (this.isEOF())
3272
3315
  return null;
3273
3316
  var n = this.char();
3274
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3317
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3275
3318
  }, e.prototype.parseArgument = function(t, r) {
3276
3319
  var n = this.clonePosition();
3277
3320
  if (this.bump(), this.bumpSpace(), this.isEOF())
3278
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3321
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3279
3322
  if (this.char() === 125)
3280
- return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3323
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3281
3324
  var i = this.parseIdentifierIfPossible().value;
3282
3325
  if (!i)
3283
- return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3326
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3284
3327
  if (this.bumpSpace(), this.isEOF())
3285
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3328
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3286
3329
  switch (this.char()) {
3287
3330
  case 125:
3288
3331
  return this.bump(), {
3289
3332
  val: {
3290
- type: S.argument,
3333
+ type: E.argument,
3291
3334
  // value does not include the opening and closing braces.
3292
3335
  value: i,
3293
3336
  location: g(n, this.clonePosition())
@@ -3295,12 +3338,12 @@ var Zn = (
3295
3338
  err: null
3296
3339
  };
3297
3340
  case 44:
3298
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
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);
3299
3342
  default:
3300
- return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3343
+ return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3301
3344
  }
3302
3345
  }, e.prototype.parseIdentifierIfPossible = function() {
3303
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3346
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3304
3347
  this.bumpTo(i);
3305
3348
  var o = this.clonePosition(), s = g(t, o);
3306
3349
  return { value: n, location: s };
@@ -3308,7 +3351,7 @@ var Zn = (
3308
3351
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3309
3352
  switch (a) {
3310
3353
  case "":
3311
- return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3354
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3312
3355
  case "number":
3313
3356
  case "date":
3314
3357
  case "time": {
@@ -3319,46 +3362,46 @@ var Zn = (
3319
3362
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3320
3363
  if (c.err)
3321
3364
  return c;
3322
- var f = zn(c.val);
3365
+ var f = qn(c.val);
3323
3366
  if (f.length === 0)
3324
- return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3367
+ return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3325
3368
  var m = g(h, this.clonePosition());
3326
3369
  u = { style: f, styleLocation: m };
3327
3370
  }
3328
3371
  var v = this.tryParseArgumentClose(i);
3329
3372
  if (v.err)
3330
3373
  return v;
3331
- var p = g(i, this.clonePosition());
3332
- if (u && mt(u?.style, "::", 0)) {
3333
- var w = Wn(u.style.slice(2));
3374
+ var d = g(i, this.clonePosition());
3375
+ if (u && vt(u?.style, "::", 0)) {
3376
+ var S = Yn(u.style.slice(2));
3334
3377
  if (a === "number") {
3335
- var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3378
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3336
3379
  return c.err ? c : {
3337
- val: { type: S.number, value: n, location: p, style: c.val },
3380
+ val: { type: E.number, value: n, location: d, style: c.val },
3338
3381
  err: null
3339
3382
  };
3340
3383
  } else {
3341
- if (w.length === 0)
3342
- return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
3343
- var P = w;
3344
- this.locale && (P = Mn(w, this.locale));
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));
3345
3388
  var f = {
3346
- type: X.dateTime,
3389
+ type: V.dateTime,
3347
3390
  pattern: P,
3348
3391
  location: u.styleLocation,
3349
- parsedOptions: this.shouldParseSkeletons ? Hn(P) : {}
3350
- }, H = a === "date" ? S.date : S.time;
3392
+ parsedOptions: this.shouldParseSkeletons ? On(P) : {}
3393
+ }, H = a === "date" ? E.date : E.time;
3351
3394
  return {
3352
- val: { type: H, value: n, location: p, style: f },
3395
+ val: { type: H, value: n, location: d, style: f },
3353
3396
  err: null
3354
3397
  };
3355
3398
  }
3356
3399
  }
3357
3400
  return {
3358
3401
  val: {
3359
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3402
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3360
3403
  value: n,
3361
- location: p,
3404
+ location: d,
3362
3405
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3363
3406
  },
3364
3407
  err: null
@@ -3369,39 +3412,39 @@ var Zn = (
3369
3412
  case "select": {
3370
3413
  var _ = this.clonePosition();
3371
3414
  if (this.bumpSpace(), !this.bumpIf(","))
3372
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, y({}, _)));
3415
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, de({}, _)));
3373
3416
  this.bumpSpace();
3374
- var E = this.parseIdentifierIfPossible(), x = 0;
3375
- if (a !== "select" && E.value === "offset") {
3417
+ var x = this.parseIdentifierIfPossible(), y = 0;
3418
+ if (a !== "select" && x.value === "offset") {
3376
3419
  if (!this.bumpIf(":"))
3377
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3420
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3378
3421
  this.bumpSpace();
3379
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3422
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3380
3423
  if (c.err)
3381
3424
  return c;
3382
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = c.val;
3425
+ this.bumpSpace(), x = this.parseIdentifierIfPossible(), y = c.val;
3383
3426
  }
3384
- var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3385
- if (B.err)
3386
- return B;
3427
+ var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
3428
+ if (A.err)
3429
+ return A;
3387
3430
  var v = this.tryParseArgumentClose(i);
3388
3431
  if (v.err)
3389
3432
  return v;
3390
3433
  var se = g(i, this.clonePosition());
3391
3434
  return a === "select" ? {
3392
3435
  val: {
3393
- type: S.select,
3436
+ type: E.select,
3394
3437
  value: n,
3395
- options: dt(B.val),
3438
+ options: yt(A.val),
3396
3439
  location: se
3397
3440
  },
3398
3441
  err: null
3399
3442
  } : {
3400
3443
  val: {
3401
- type: S.plural,
3444
+ type: E.plural,
3402
3445
  value: n,
3403
- options: dt(B.val),
3404
- offset: x,
3446
+ options: yt(A.val),
3447
+ offset: y,
3405
3448
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3406
3449
  location: se
3407
3450
  },
@@ -3409,10 +3452,10 @@ var Zn = (
3409
3452
  };
3410
3453
  }
3411
3454
  default:
3412
- return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3455
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3413
3456
  }
3414
3457
  }, e.prototype.tryParseArgumentClose = function(t) {
3415
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3458
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3416
3459
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3417
3460
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3418
3461
  var n = this.char();
@@ -3421,7 +3464,7 @@ var Zn = (
3421
3464
  this.bump();
3422
3465
  var i = this.clonePosition();
3423
3466
  if (!this.bumpUntil("'"))
3424
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3467
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3425
3468
  this.bump();
3426
3469
  break;
3427
3470
  }
@@ -3451,16 +3494,16 @@ var Zn = (
3451
3494
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3452
3495
  var n = [];
3453
3496
  try {
3454
- n = An(t);
3497
+ n = Mn(t);
3455
3498
  } catch {
3456
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3499
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
3457
3500
  }
3458
3501
  return {
3459
3502
  val: {
3460
- type: X.number,
3503
+ type: V.number,
3461
3504
  tokens: n,
3462
3505
  location: r,
3463
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3506
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3464
3507
  },
3465
3508
  err: null
3466
3509
  };
@@ -3469,7 +3512,7 @@ var Zn = (
3469
3512
  if (u.length === 0) {
3470
3513
  var c = this.clonePosition();
3471
3514
  if (r !== "select" && this.bumpIf("=")) {
3472
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3515
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3473
3516
  if (f.err)
3474
3517
  return f;
3475
3518
  h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3477,17 +3520,17 @@ var Zn = (
3477
3520
  break;
3478
3521
  }
3479
3522
  if (l.has(u))
3480
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3523
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3481
3524
  u === "other" && (s = !0), this.bumpSpace();
3482
3525
  var m = this.clonePosition();
3483
3526
  if (!this.bumpIf("{"))
3484
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3527
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3485
3528
  var v = this.parseMessage(t + 1, r, n);
3486
3529
  if (v.err)
3487
3530
  return v;
3488
- var p = this.tryParseArgumentClose(m);
3489
- if (p.err)
3490
- return p;
3531
+ var d = this.tryParseArgumentClose(m);
3532
+ if (d.err)
3533
+ return d;
3491
3534
  a.push([
3492
3535
  u,
3493
3536
  {
@@ -3496,7 +3539,7 @@ var Zn = (
3496
3539
  }
3497
3540
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3498
3541
  }
3499
- 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 };
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 };
3500
3543
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3501
3544
  var n = 1, i = this.clonePosition();
3502
3545
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3508,7 +3551,7 @@ var Zn = (
3508
3551
  break;
3509
3552
  }
3510
3553
  var l = g(i, this.clonePosition());
3511
- return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3554
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3512
3555
  }, e.prototype.offset = function() {
3513
3556
  return this.position.offset;
3514
3557
  }, e.prototype.isEOF = function() {
@@ -3523,7 +3566,7 @@ var Zn = (
3523
3566
  var t = this.position.offset;
3524
3567
  if (t >= this.message.length)
3525
3568
  throw Error("out of bound");
3526
- var r = qt(this.message, t);
3569
+ var r = nr(this.message, t);
3527
3570
  if (r === void 0)
3528
3571
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3529
3572
  return r;
@@ -3542,7 +3585,7 @@ var Zn = (
3542
3585
  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);
3543
3586
  }
3544
3587
  }, e.prototype.bumpIf = function(t) {
3545
- if (mt(this.message, t, this.offset())) {
3588
+ if (vt(this.message, t, this.offset())) {
3546
3589
  for (var r = 0; r < t.length; r++)
3547
3590
  this.bump();
3548
3591
  return !0;
@@ -3564,7 +3607,7 @@ var Zn = (
3564
3607
  break;
3565
3608
  }
3566
3609
  }, e.prototype.bumpSpace = function() {
3567
- for (; !this.isEOF() && er(this.char()); )
3610
+ for (; !this.isEOF() && or(this.char()); )
3568
3611
  this.bump();
3569
3612
  }, e.prototype.peek = function() {
3570
3613
  if (this.isEOF())
@@ -3574,47 +3617,47 @@ var Zn = (
3574
3617
  }, e;
3575
3618
  }()
3576
3619
  );
3577
- function ke(e) {
3620
+ function Ze(e) {
3578
3621
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3579
3622
  }
3580
- function Qn(e) {
3581
- return ke(e) || e === 47;
3623
+ function ei(e) {
3624
+ return Ze(e) || e === 47;
3582
3625
  }
3583
- function Jn(e) {
3626
+ function ti(e) {
3584
3627
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3585
3628
  }
3586
- function er(e) {
3629
+ function or(e) {
3587
3630
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3588
3631
  }
3589
- function Yn(e) {
3632
+ function ri(e) {
3590
3633
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3591
3634
  }
3592
- function Ve(e) {
3635
+ function Qe(e) {
3593
3636
  e.forEach(function(t) {
3594
- if (delete t.location, Vt(t) || Xt(t))
3637
+ if (delete t.location, Qt(t) || Jt(t))
3595
3638
  for (var r in t.options)
3596
- delete t.options[r].location, Ve(t.options[r].value);
3639
+ delete t.options[r].location, Qe(t.options[r].value);
3597
3640
  else
3598
- Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ue(t.style) ? delete t.style.location : Wt(t) && Ve(t.children);
3641
+ Wt(t) && qt(t.style) || (zt(t) || Zt(t)) && Ve(t.style) ? delete t.style.location : Yt(t) && Qe(t.children);
3599
3642
  });
3600
3643
  }
3601
- function qn(e, t) {
3602
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3603
- var r = new Zn(e, t).parse();
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();
3604
3647
  if (r.err) {
3605
- var n = SyntaxError(d[r.err.kind]);
3648
+ var n = SyntaxError(p[r.err.kind]);
3606
3649
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3607
3650
  }
3608
- return t?.captureLocation || Ve(r.val), r.val;
3651
+ return t?.captureLocation || Qe(r.val), r.val;
3609
3652
  }
3610
- var W;
3653
+ var X;
3611
3654
  (function(e) {
3612
3655
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3613
- })(W || (W = {}));
3614
- var xe = (
3656
+ })(X || (X = {}));
3657
+ var Ee = (
3615
3658
  /** @class */
3616
3659
  function(e) {
3617
- L(t, e);
3660
+ xe(t, e);
3618
3661
  function t(r, n, i) {
3619
3662
  var o = e.call(this, r) || this;
3620
3663
  return o.code = n, o.originalMessage = i, o;
@@ -3623,48 +3666,48 @@ var xe = (
3623
3666
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3624
3667
  }, t;
3625
3668
  }(Error)
3626
- ), bt = (
3669
+ ), xt = (
3627
3670
  /** @class */
3628
3671
  function(e) {
3629
- L(t, e);
3672
+ xe(t, e);
3630
3673
  function t(r, n, i, o) {
3631
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3674
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3632
3675
  }
3633
3676
  return t;
3634
- }(xe)
3635
- ), Kn = (
3677
+ }(Ee)
3678
+ ), ii = (
3636
3679
  /** @class */
3637
3680
  function(e) {
3638
- L(t, e);
3681
+ xe(t, e);
3639
3682
  function t(r, n, i) {
3640
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3683
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3641
3684
  }
3642
3685
  return t;
3643
- }(xe)
3644
- ), ei = (
3686
+ }(Ee)
3687
+ ), oi = (
3645
3688
  /** @class */
3646
3689
  function(e) {
3647
- L(t, e);
3690
+ xe(t, e);
3648
3691
  function t(r, n) {
3649
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
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;
3650
3693
  }
3651
3694
  return t;
3652
- }(xe)
3695
+ }(Ee)
3653
3696
  ), C;
3654
3697
  (function(e) {
3655
3698
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3656
3699
  })(C || (C = {}));
3657
- function ti(e) {
3700
+ function si(e) {
3658
3701
  return e.length < 2 ? e : e.reduce(function(t, r) {
3659
3702
  var n = t[t.length - 1];
3660
3703
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3661
3704
  }, []);
3662
3705
  }
3663
- function ri(e) {
3706
+ function ai(e) {
3664
3707
  return typeof e == "function";
3665
3708
  }
3666
3709
  function me(e, t, r, n, i, o, s) {
3667
- if (e.length === 1 && lt(e[0]))
3710
+ if (e.length === 1 && pt(e[0]))
3668
3711
  return [
3669
3712
  {
3670
3713
  type: C.literal,
@@ -3673,14 +3716,14 @@ function me(e, t, r, n, i, o, s) {
3673
3716
  ];
3674
3717
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3675
3718
  var h = u[l];
3676
- if (lt(h)) {
3719
+ if (pt(h)) {
3677
3720
  a.push({
3678
3721
  type: C.literal,
3679
3722
  value: h.value
3680
3723
  });
3681
3724
  continue;
3682
3725
  }
3683
- if (wn(h)) {
3726
+ if (Cn(h)) {
3684
3727
  typeof o == "number" && a.push({
3685
3728
  type: C.literal,
3686
3729
  value: r.getNumberFormat(t).format(o)
@@ -3689,89 +3732,89 @@ function me(e, t, r, n, i, o, s) {
3689
3732
  }
3690
3733
  var c = h.value;
3691
3734
  if (!(i && c in i))
3692
- throw new ei(c, s);
3735
+ throw new oi(c, s);
3693
3736
  var f = i[c];
3694
- if (Sn(h)) {
3737
+ if (Bn(h)) {
3695
3738
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3696
3739
  type: typeof f == "string" ? C.literal : C.object,
3697
3740
  value: f
3698
3741
  });
3699
3742
  continue;
3700
3743
  }
3701
- if (jt(h)) {
3702
- var m = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3744
+ if (zt(h)) {
3745
+ var m = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3703
3746
  a.push({
3704
3747
  type: C.literal,
3705
3748
  value: r.getDateTimeFormat(t, m).format(f)
3706
3749
  });
3707
3750
  continue;
3708
3751
  }
3709
- if (kt(h)) {
3710
- var m = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3752
+ if (Zt(h)) {
3753
+ var m = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3711
3754
  a.push({
3712
3755
  type: C.literal,
3713
3756
  value: r.getDateTimeFormat(t, m).format(f)
3714
3757
  });
3715
3758
  continue;
3716
3759
  }
3717
- if (Ft(h)) {
3718
- var m = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3760
+ if (Wt(h)) {
3761
+ var m = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3719
3762
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3720
3763
  type: C.literal,
3721
3764
  value: r.getNumberFormat(t, m).format(f)
3722
3765
  });
3723
3766
  continue;
3724
3767
  }
3725
- if (Wt(h)) {
3726
- var v = h.children, p = h.value, w = i[p];
3727
- if (!ri(w))
3728
- throw new Kn(p, "function", s);
3729
- var P = me(v, t, r, n, i, o), H = w(P.map(function(x) {
3730
- return x.value;
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;
3731
3774
  }));
3732
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(x) {
3775
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(y) {
3733
3776
  return {
3734
- type: typeof x == "string" ? C.literal : C.object,
3735
- value: x
3777
+ type: typeof y == "string" ? C.literal : C.object,
3778
+ value: y
3736
3779
  };
3737
3780
  }));
3738
3781
  }
3739
- if (Vt(h)) {
3782
+ if (Qt(h)) {
3740
3783
  var _ = h.options[f] || h.options.other;
3741
3784
  if (!_)
3742
- throw new bt(h.value, f, Object.keys(h.options), s);
3785
+ throw new xt(h.value, f, Object.keys(h.options), s);
3743
3786
  a.push.apply(a, me(_.value, t, r, n, i));
3744
3787
  continue;
3745
3788
  }
3746
- if (Xt(h)) {
3789
+ if (Jt(h)) {
3747
3790
  var _ = h.options["=".concat(f)];
3748
3791
  if (!_) {
3749
3792
  if (!Intl.PluralRules)
3750
- throw new xe(`Intl.PluralRules is not available in this environment.
3793
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3751
3794
  Try polyfilling it using "@formatjs/intl-pluralrules"
3752
- `, W.MISSING_INTL_API, s);
3753
- var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3754
- _ = h.options[E] || h.options.other;
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;
3755
3798
  }
3756
3799
  if (!_)
3757
- throw new bt(h.value, f, Object.keys(h.options), s);
3800
+ throw new xt(h.value, f, Object.keys(h.options), s);
3758
3801
  a.push.apply(a, me(_.value, t, r, n, i, f - (h.offset || 0)));
3759
3802
  continue;
3760
3803
  }
3761
3804
  }
3762
- return ti(a);
3805
+ return si(a);
3763
3806
  }
3764
- function ni(e, t) {
3765
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3766
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
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;
3767
3810
  }, {})) : e;
3768
3811
  }
3769
- function ii(e, t) {
3812
+ function li(e, t) {
3770
3813
  return t ? Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = ni(e[n], t[n]), r;
3772
- }, y({}, e)) : e;
3814
+ return r[n] = ui(e[n], t[n]), r;
3815
+ }, M({}, e)) : e;
3773
3816
  }
3774
- function Ae(e) {
3817
+ function Oe(e) {
3775
3818
  return {
3776
3819
  create: function() {
3777
3820
  return {
@@ -3785,39 +3828,39 @@ function Ae(e) {
3785
3828
  }
3786
3829
  };
3787
3830
  }
3788
- function oi(e) {
3831
+ function hi(e) {
3789
3832
  return e === void 0 && (e = {
3790
3833
  number: {},
3791
3834
  dateTime: {},
3792
3835
  pluralRules: {}
3793
3836
  }), {
3794
- getNumberFormat: Te(function() {
3837
+ getNumberFormat: Be(function() {
3795
3838
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3839
  r[n] = arguments[n];
3797
- return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3840
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3798
3841
  }, {
3799
- cache: Ae(e.number),
3800
- strategy: He.variadic
3842
+ cache: Oe(e.number),
3843
+ strategy: Ce.variadic
3801
3844
  }),
3802
- getDateTimeFormat: Te(function() {
3845
+ getDateTimeFormat: Be(function() {
3803
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3847
  r[n] = arguments[n];
3805
- return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3848
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3806
3849
  }, {
3807
- cache: Ae(e.dateTime),
3808
- strategy: He.variadic
3850
+ cache: Oe(e.dateTime),
3851
+ strategy: Ce.variadic
3809
3852
  }),
3810
- getPluralRules: Te(function() {
3853
+ getPluralRules: Be(function() {
3811
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3812
3855
  r[n] = arguments[n];
3813
- return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3856
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3814
3857
  }, {
3815
- cache: Ae(e.pluralRules),
3816
- strategy: He.variadic
3858
+ cache: Oe(e.pluralRules),
3859
+ strategy: Ce.variadic
3817
3860
  })
3818
3861
  };
3819
3862
  }
3820
- var si = (
3863
+ var ci = (
3821
3864
  /** @class */
3822
3865
  function() {
3823
3866
  function e(t, r, n, i) {
@@ -3849,13 +3892,13 @@ var si = (
3849
3892
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3850
3893
  var s = i || {};
3851
3894
  s.formatters;
3852
- var a = $r(s, ["formatters"]);
3853
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3895
+ var a = _n(s, ["formatters"]);
3896
+ this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3854
3897
  } else
3855
3898
  this.ast = t;
3856
3899
  if (!Array.isArray(this.ast))
3857
3900
  throw new TypeError("A message must be provided as a String or AST.");
3858
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3901
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3859
3902
  }
3860
3903
  return Object.defineProperty(e, "defaultLocale", {
3861
3904
  get: function() {
@@ -3868,7 +3911,7 @@ var si = (
3868
3911
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3869
3912
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3870
3913
  }
3871
- }, e.__parse = qn, e.formats = {
3914
+ }, e.__parse = ni, e.formats = {
3872
3915
  number: {
3873
3916
  integer: {
3874
3917
  maximumFractionDigits: 0
@@ -3929,7 +3972,7 @@ var si = (
3929
3972
  }, e;
3930
3973
  }()
3931
3974
  );
3932
- function ai(e, t) {
3975
+ function fi(e, t) {
3933
3976
  if (t == null)
3934
3977
  return;
3935
3978
  if (t in e)
@@ -3950,92 +3993,92 @@ function ai(e, t) {
3950
3993
  n = void 0;
3951
3994
  return n;
3952
3995
  }
3953
- const R = {}, ui = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), tr = (e, t) => {
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) => {
3954
3997
  if (t == null)
3955
3998
  return;
3956
3999
  if (t in R && e in R[t])
3957
4000
  return R[t][e];
3958
- const r = _e(t);
4001
+ const r = Se(t);
3959
4002
  for (let n = 0; n < r.length; n++) {
3960
- const i = r[n], o = hi(i, e);
4003
+ const i = r[n], o = di(i, e);
3961
4004
  if (o)
3962
- return ui(e, t, o);
4005
+ return mi(e, t, o);
3963
4006
  }
3964
4007
  };
3965
- let Qe;
3966
- const oe = ye({});
3967
- function li(e) {
3968
- return Qe[e] || null;
4008
+ let et;
4009
+ const oe = _e({});
4010
+ function pi(e) {
4011
+ return et[e] || null;
3969
4012
  }
3970
- function rr(e) {
3971
- return e in Qe;
4013
+ function ar(e) {
4014
+ return e in et;
3972
4015
  }
3973
- function hi(e, t) {
3974
- if (!rr(e))
4016
+ function di(e, t) {
4017
+ if (!ar(e))
3975
4018
  return null;
3976
- const r = li(e);
3977
- return ai(r, t);
4019
+ const r = pi(e);
4020
+ return fi(r, t);
3978
4021
  }
3979
- function ci(e) {
4022
+ function bi(e) {
3980
4023
  if (e == null)
3981
4024
  return;
3982
- const t = _e(e);
4025
+ const t = Se(e);
3983
4026
  for (let r = 0; r < t.length; r++) {
3984
4027
  const n = t[r];
3985
- if (rr(n))
4028
+ if (ar(n))
3986
4029
  return n;
3987
4030
  }
3988
4031
  }
3989
- function nr(e, ...t) {
3990
- delete R[e], oe.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
4032
+ function ur(e, ...t) {
4033
+ delete R[e], oe.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3991
4034
  }
3992
- J(
4035
+ Q(
3993
4036
  [oe],
3994
4037
  ([e]) => Object.keys(e)
3995
4038
  );
3996
- oe.subscribe((e) => Qe = e);
3997
- const de = {};
3998
- function fi(e, t) {
3999
- de[e].delete(t), de[e].size === 0 && delete de[e];
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];
4000
4043
  }
4001
- function ir(e) {
4002
- return de[e];
4044
+ function lr(e) {
4045
+ return pe[e];
4003
4046
  }
4004
- function mi(e) {
4005
- return _e(e).map((t) => {
4006
- const r = ir(t);
4047
+ function vi(e) {
4048
+ return Se(e).map((t) => {
4049
+ const r = lr(t);
4007
4050
  return [t, r ? [...r] : []];
4008
4051
  }).filter(([, t]) => t.length > 0);
4009
4052
  }
4010
- function Xe(e) {
4011
- return e == null ? !1 : _e(e).some(
4053
+ function Je(e) {
4054
+ return e == null ? !1 : Se(e).some(
4012
4055
  (t) => {
4013
4056
  var r;
4014
- return (r = ir(t)) == null ? void 0 : r.size;
4057
+ return (r = lr(t)) == null ? void 0 : r.size;
4015
4058
  }
4016
4059
  );
4017
4060
  }
4018
- function di(e, t) {
4061
+ function yi(e, t) {
4019
4062
  return Promise.all(
4020
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4021
- ).then((n) => nr(e, ...n));
4022
- }
4023
- const K = {};
4024
- function or(e) {
4025
- if (!Xe(e))
4026
- return e in K ? K[e] : Promise.resolve();
4027
- const t = mi(e);
4028
- return K[e] = 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(
4029
4072
  t.map(
4030
- ([r, n]) => di(r, n)
4073
+ ([r, n]) => yi(r, n)
4031
4074
  )
4032
4075
  ).then(() => {
4033
- if (Xe(e))
4034
- return or(e);
4035
- delete K[e];
4036
- }), K[e];
4076
+ if (Je(e))
4077
+ return hr(e);
4078
+ delete q[e];
4079
+ }), q[e];
4037
4080
  }
4038
- const pi = {
4081
+ const _i = {
4039
4082
  number: {
4040
4083
  scientific: { notation: "scientific" },
4041
4084
  engineering: { notation: "engineering" },
@@ -4064,135 +4107,135 @@ const pi = {
4064
4107
  timeZoneName: "short"
4065
4108
  }
4066
4109
  }
4067
- }, bi = {
4110
+ }, xi = {
4068
4111
  fallbackLocale: null,
4069
4112
  loadingDelay: 200,
4070
- formats: pi,
4113
+ formats: _i,
4071
4114
  warnOnMissingMessages: !0,
4072
4115
  handleMissingMessage: void 0,
4073
4116
  ignoreTag: !0
4074
- }, gi = bi;
4075
- function z() {
4076
- return gi;
4117
+ }, Ei = xi;
4118
+ function W() {
4119
+ return Ei;
4077
4120
  }
4078
- const Ce = ye(!1);
4079
- var vi = Object.defineProperty, yi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
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) => {
4080
4123
  for (var r in t || (t = {}))
4081
- _i.call(t, r) && vt(e, r, t[r]);
4082
- if (gt)
4083
- for (var r of gt(t))
4084
- Ei.call(t, r) && vt(e, r, t[r]);
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]);
4085
4128
  return e;
4086
- }, wi = (e, t) => yi(e, xi(t));
4087
- let We;
4088
- const pe = ye(null);
4089
- function yt(e) {
4129
+ }, Ci = (e, t) => wi(e, Ti(t));
4130
+ let Ye;
4131
+ const be = _e(null);
4132
+ function wt(e) {
4090
4133
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4091
4134
  }
4092
- function _e(e, t = z().fallbackLocale) {
4093
- const r = yt(e);
4094
- return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4135
+ function Se(e, t = W().fallbackLocale) {
4136
+ const r = wt(e);
4137
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4095
4138
  }
4096
4139
  function $() {
4097
- return We ?? void 0;
4140
+ return Ye ?? void 0;
4098
4141
  }
4099
- pe.subscribe((e) => {
4100
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4142
+ be.subscribe((e) => {
4143
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4101
4144
  });
4102
- const Ti = (e) => {
4103
- if (e && ci(e) && Xe(e)) {
4104
- const { loadingDelay: t } = z();
4145
+ const Pi = (e) => {
4146
+ if (e && bi(e) && Je(e)) {
4147
+ const { loadingDelay: t } = W();
4105
4148
  let r;
4106
4149
  return typeof window < "u" && $() != null && t ? r = window.setTimeout(
4107
- () => Ce.set(!0),
4150
+ () => Ie.set(!0),
4108
4151
  t
4109
- ) : Ce.set(!0), or(e).then(() => {
4110
- pe.set(e);
4152
+ ) : Ie.set(!0), hr(e).then(() => {
4153
+ be.set(e);
4111
4154
  }).finally(() => {
4112
- clearTimeout(r), Ce.set(!1);
4155
+ clearTimeout(r), Ie.set(!1);
4113
4156
  });
4114
4157
  }
4115
- return pe.set(e);
4116
- }, Y = wi(Si({}, pe), {
4117
- set: Ti
4118
- }), Ee = (e) => {
4158
+ return be.set(e);
4159
+ }, J = Ci(Bi({}, be), {
4160
+ set: Pi
4161
+ }), we = (e) => {
4119
4162
  const t = /* @__PURE__ */ Object.create(null);
4120
4163
  return (n) => {
4121
4164
  const i = JSON.stringify(n);
4122
4165
  return i in t ? t[i] : t[i] = e(n);
4123
4166
  };
4124
4167
  };
4125
- var Hi = Object.defineProperty, be = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
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) => {
4126
4169
  for (var r in t || (t = {}))
4127
- sr.call(t, r) && xt(e, r, t[r]);
4128
- if (be)
4129
- for (var r of be(t))
4130
- ar.call(t, r) && xt(e, r, t[r]);
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]);
4131
4174
  return e;
4132
- }, q = (e, t) => {
4175
+ }, Y = (e, t) => {
4133
4176
  var r = {};
4134
4177
  for (var n in e)
4135
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
- if (e != null && be)
4137
- for (var n of be(e))
4138
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
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]);
4139
4182
  return r;
4140
4183
  };
4141
- const ne = (e, t) => {
4142
- const { formats: r } = z();
4184
+ const re = (e, t) => {
4185
+ const { formats: r } = W();
4143
4186
  if (e in r && t in r[e])
4144
4187
  return r[e][t];
4145
4188
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4146
- }, Bi = Ee(
4189
+ }, Ii = we(
4147
4190
  (e) => {
4148
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4191
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4149
4192
  if (r == null)
4150
4193
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4151
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4194
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4152
4195
  }
4153
- ), Ai = Ee(
4196
+ ), Mi = we(
4154
4197
  (e) => {
4155
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4198
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4156
4199
  if (r == null)
4157
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4158
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4201
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4159
4202
  }
4160
- ), Ci = Ee(
4203
+ ), Ni = we(
4161
4204
  (e) => {
4162
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4163
4206
  if (r == null)
4164
4207
  throw new Error(
4165
4208
  '[svelte-i18n] A "locale" must be set to format time values'
4166
4209
  );
4167
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4210
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4168
4211
  }
4169
- ), Pi = (e = {}) => {
4212
+ ), Li = (e = {}) => {
4170
4213
  var t = e, {
4171
4214
  locale: r = $()
4172
- } = t, n = q(t, [
4215
+ } = t, n = Y(t, [
4173
4216
  "locale"
4174
4217
  ]);
4175
- return Bi(Je({ locale: r }, n));
4176
- }, Oi = (e = {}) => {
4218
+ return Ii(tt({ locale: r }, n));
4219
+ }, Ri = (e = {}) => {
4177
4220
  var t = e, {
4178
4221
  locale: r = $()
4179
- } = t, n = q(t, [
4222
+ } = t, n = Y(t, [
4180
4223
  "locale"
4181
4224
  ]);
4182
- return Ai(Je({ locale: r }, n));
4183
- }, Ii = (e = {}) => {
4225
+ return Mi(tt({ locale: r }, n));
4226
+ }, $i = (e = {}) => {
4184
4227
  var t = e, {
4185
4228
  locale: r = $()
4186
- } = t, n = q(t, [
4229
+ } = t, n = Y(t, [
4187
4230
  "locale"
4188
4231
  ]);
4189
- return Ci(Je({ locale: r }, n));
4190
- }, Mi = Ee(
4232
+ return Ni(tt({ locale: r }, n));
4233
+ }, Gi = we(
4191
4234
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4192
- (e, t = $()) => new si(e, t, z().formats, {
4193
- ignoreTag: z().ignoreTag
4235
+ (e, t = $()) => new ci(e, t, W().formats, {
4236
+ ignoreTag: W().ignoreTag
4194
4237
  })
4195
- ), Ni = (e, t = {}) => {
4238
+ ), Ui = (e, t = {}) => {
4196
4239
  var r, n, i, o;
4197
4240
  let s = t;
4198
4241
  typeof e == "object" && (s = e, e = s.id);
@@ -4205,9 +4248,9 @@ const ne = (e, t) => {
4205
4248
  throw new Error(
4206
4249
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4207
4250
  );
4208
- let h = tr(e, l);
4251
+ let h = sr(e, l);
4209
4252
  if (!h)
4210
- h = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4253
+ 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;
4211
4254
  else if (typeof h != "string")
4212
4255
  return console.warn(
4213
4256
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4216,7 +4259,7 @@ const ne = (e, t) => {
4216
4259
  return h;
4217
4260
  let c = h;
4218
4261
  try {
4219
- c = Mi(h, l).format(a);
4262
+ c = Gi(h, l).format(a);
4220
4263
  } catch (f) {
4221
4264
  f instanceof Error && console.warn(
4222
4265
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4224,20 +4267,20 @@ const ne = (e, t) => {
4224
4267
  );
4225
4268
  }
4226
4269
  return c;
4227
- }, Li = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Gi = (e, t = $()) => tr(e, t), Ui = J([Y, oe], () => Ni);
4228
- J([Y], () => Li);
4229
- J([Y], () => Ri);
4230
- J([Y], () => $i);
4231
- J([Y, oe], () => Gi);
4232
- window.emWidgets = { topic: Yr };
4233
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4234
- function _t(e, t) {
4235
- nr(e, t);
4236
- }
4237
- function Fi(e) {
4238
- Y.set(e);
4239
- }
4240
- const Et = {
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);
4275
+ window.emWidgets = { topic: tn };
4276
+ const Xi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
+ function Ht(e, t) {
4278
+ ur(e, t);
4279
+ }
4280
+ function Wi(e) {
4281
+ J.set(e);
4282
+ }
4283
+ const At = {
4241
4284
  en: {
4242
4285
  cancel: "Cancel",
4243
4286
  confirm: "Confirm"
@@ -4283,13 +4326,13 @@ const Et = {
4283
4326
  confirm: "Confirm"
4284
4327
  }
4285
4328
  };
4286
- function ji(e, t) {
4329
+ function zi(e, t) {
4287
4330
  if (e) {
4288
4331
  const r = document.createElement("style");
4289
4332
  r.innerHTML = t, e.appendChild(r);
4290
4333
  }
4291
4334
  }
4292
- function ki(e, t) {
4335
+ function Zi(e, t) {
4293
4336
  const r = new URL(t);
4294
4337
  fetch(r.href).then((n) => n.text()).then((n) => {
4295
4338
  const i = document.createElement("style");
@@ -4298,7 +4341,7 @@ function ki(e, t) {
4298
4341
  console.error("There was an error while trying to load client styling from URL", n);
4299
4342
  });
4300
4343
  }
4301
- function Vi(e, t, r) {
4344
+ function Qi(e, t, r) {
4302
4345
  if (window.emMessageBus) {
4303
4346
  const n = document.createElement("style");
4304
4347
  window.emMessageBus.subscribe(t, (i) => {
@@ -4306,61 +4349,61 @@ function Vi(e, t, r) {
4306
4349
  });
4307
4350
  }
4308
4351
  }
4309
- function Xi(e) {
4310
- gr(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}');
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}');
4311
4354
  }
4312
- const Wi = (e) => ({}), St = (e) => ({});
4313
- function zi(e) {
4355
+ const Yi = (e) => ({}), Bt = (e) => ({});
4356
+ function qi(e) {
4314
4357
  let t, r;
4315
4358
  return {
4316
4359
  c() {
4317
- t = Ke("svg"), r = Ke("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");
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");
4318
4361
  },
4319
4362
  m(n, i) {
4320
- ie(n, t, i), A(t, r);
4363
+ ne(n, t, i), B(t, r);
4321
4364
  },
4322
- p: M,
4365
+ p: N,
4323
4366
  d(n) {
4324
- n && Q(t);
4367
+ n && Z(t);
4325
4368
  }
4326
4369
  };
4327
4370
  }
4328
- function wt(e) {
4371
+ function Ct(e) {
4329
4372
  let t, r, n;
4330
4373
  return {
4331
4374
  c() {
4332
- t = I("div"), r = I("h2"), n = ge(
4375
+ t = I("div"), r = I("h2"), n = ve(
4333
4376
  /*modaltitle*/
4334
4377
  e[1]
4335
4378
  ), T(t, "class", "GeneralConfirmationTitle");
4336
4379
  },
4337
4380
  m(i, o) {
4338
- ie(i, t, o), A(t, r), A(r, n);
4381
+ ne(i, t, o), B(t, r), B(r, n);
4339
4382
  },
4340
4383
  p(i, o) {
4341
4384
  o & /*modaltitle*/
4342
- 2 && Ze(
4385
+ 2 && Ke(
4343
4386
  n,
4344
4387
  /*modaltitle*/
4345
4388
  i[1]
4346
4389
  );
4347
4390
  },
4348
4391
  d(i) {
4349
- i && Q(t);
4392
+ i && Z(t);
4350
4393
  }
4351
4394
  };
4352
4395
  }
4353
- function Tt(e) {
4396
+ function Pt(e) {
4354
4397
  let t, r = (
4355
4398
  /*$_*/
4356
4399
  e[4]("cancel") + ""
4357
4400
  ), n, i, o;
4358
4401
  return {
4359
4402
  c() {
4360
- t = I("button"), n = ge(r), T(t, "class", "GeneralCancelButton");
4403
+ t = I("button"), n = ve(r), T(t, "class", "GeneralCancelButton");
4361
4404
  },
4362
4405
  m(s, a) {
4363
- ie(s, t, a), A(t, n), i || (o = Pe(
4406
+ ne(s, t, a), B(t, n), i || (o = Me(
4364
4407
  t,
4365
4408
  "click",
4366
4409
  /*click_handler*/
@@ -4370,52 +4413,52 @@ function Tt(e) {
4370
4413
  p(s, a) {
4371
4414
  a & /*$_*/
4372
4415
  16 && r !== (r = /*$_*/
4373
- s[4]("cancel") + "") && Ze(n, r);
4416
+ s[4]("cancel") + "") && Ke(n, r);
4374
4417
  },
4375
4418
  d(s) {
4376
- s && Q(t), i = !1, o();
4419
+ s && Z(t), i = !1, o();
4377
4420
  }
4378
4421
  };
4379
4422
  }
4380
- function Zi(e) {
4423
+ function Ki(e) {
4381
4424
  let t, r, n, i, o, s, a, l, u, h, c = (
4382
4425
  /*$_*/
4383
4426
  e[4]("confirm") + ""
4384
- ), f, m, v, p;
4385
- const w = (
4427
+ ), f, m, v, d;
4428
+ const S = (
4386
4429
  /*#slots*/
4387
4430
  e[16].close
4388
- ), P = mr(
4389
- w,
4431
+ ), P = vr(
4432
+ S,
4390
4433
  e,
4391
4434
  /*$$scope*/
4392
4435
  e[15],
4393
- St
4394
- ), H = P || zi();
4436
+ Bt
4437
+ ), H = P || qi();
4395
4438
  let _ = (
4396
4439
  /*modaltitle*/
4397
- e[1] && wt(e)
4398
- ), E = (
4440
+ e[1] && Ct(e)
4441
+ ), x = (
4399
4442
  /*hascancelbutton*/
4400
- e[2] && Tt(e)
4443
+ e[2] && Pt(e)
4401
4444
  );
4402
4445
  return {
4403
4446
  c() {
4404
- 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*/
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*/
4405
4448
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4406
4449
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4407
4450
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4408
4451
  },
4409
- m(x, B) {
4410
- 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*/
4411
- 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 = [
4412
- Pe(
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(
4413
4456
  n,
4414
4457
  "click",
4415
4458
  /*close*/
4416
4459
  e[6]
4417
4460
  ),
4418
- Pe(
4461
+ Me(
4419
4462
  h,
4420
4463
  "click",
4421
4464
  /*click_handler_1*/
@@ -4423,115 +4466,115 @@ function Zi(e) {
4423
4466
  )
4424
4467
  ], v = !0);
4425
4468
  },
4426
- p(x, [B]) {
4427
- P && P.p && (!m || B & /*$$scope*/
4428
- 32768) && pr(
4469
+ p(y, [A]) {
4470
+ P && P.p && (!m || A & /*$$scope*/
4471
+ 32768) && _r(
4429
4472
  P,
4430
- w,
4431
- x,
4473
+ S,
4474
+ y,
4432
4475
  /*$$scope*/
4433
- x[15],
4434
- m ? dr(
4435
- w,
4476
+ y[15],
4477
+ m ? yr(
4478
+ S,
4436
4479
  /*$$scope*/
4437
- x[15],
4438
- B,
4439
- Wi
4440
- ) : br(
4480
+ y[15],
4481
+ A,
4482
+ Yi
4483
+ ) : xr(
4441
4484
  /*$$scope*/
4442
- x[15]
4485
+ y[15]
4443
4486
  ),
4444
- St
4487
+ Bt
4445
4488
  ), /*modaltitle*/
4446
- x[1] ? _ ? _.p(x, B) : (_ = wt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
4489
+ y[1] ? _ ? _.p(y, A) : (_ = Ct(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4447
4490
  1) && (s.innerHTML = /*modaltext*/
4448
- x[0]), /*hascancelbutton*/
4449
- x[2] ? E ? E.p(x, B) : (E = Tt(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
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 & /*$_*/
4450
4493
  16) && c !== (c = /*$_*/
4451
- x[4]("confirm") + "") && Ze(f, c);
4494
+ y[4]("confirm") + "") && Ke(f, c);
4452
4495
  },
4453
- i(x) {
4454
- m || (Pt(H, x), m = !0);
4496
+ i(y) {
4497
+ m || (Lt(H, y), m = !0);
4455
4498
  },
4456
- o(x) {
4457
- Cr(H, x), m = !1;
4499
+ o(y) {
4500
+ Nr(H, y), m = !1;
4458
4501
  },
4459
- d(x) {
4460
- x && Q(t), H && H.d(x), _ && _.d(), E && E.d(), e[19](null), v = !1, Z(p);
4502
+ d(y) {
4503
+ y && Z(t), H && H.d(y), _ && _.d(), x && x.d(), e[19](null), v = !1, z(d);
4461
4504
  }
4462
4505
  };
4463
4506
  }
4464
- function Qi(e, t, r) {
4507
+ function eo(e, t, r) {
4465
4508
  let n;
4466
- fr(e, Ui, (b) => r(4, n = b));
4467
- 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 = Di(P) !== "PC";
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";
4468
4511
  const _ = () => {
4469
4512
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4470
- }, E = (b) => {
4513
+ }, x = (b) => {
4471
4514
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4472
- }, x = () => {
4515
+ }, y = () => {
4473
4516
  fetch(v).then((G) => G.json()).then((G) => {
4474
- Object.keys(G).forEach((Ye) => {
4475
- _t(Ye, G[Ye]);
4517
+ Object.keys(G).forEach((rt) => {
4518
+ Ht(rt, G[rt]);
4476
4519
  });
4477
4520
  }).catch((G) => {
4478
4521
  console.log(G);
4479
4522
  });
4480
4523
  };
4481
- Object.keys(Et).forEach((b) => {
4482
- _t(b, Et[b]);
4524
+ Object.keys(At).forEach((b) => {
4525
+ Ht(b, At[b]);
4483
4526
  });
4484
- const B = () => {
4485
- Fi(c);
4527
+ const A = () => {
4528
+ Wi(c);
4486
4529
  };
4487
- Sr(() => () => {
4530
+ Br(() => () => {
4488
4531
  });
4489
- const se = () => E("cancel"), ur = () => E("confirm");
4490
- function lr(b) {
4491
- Oe[b ? "unshift" : "push"](() => {
4492
- w = b, r(3, w);
4532
+ const se = () => x("cancel"), mr = () => x("confirm");
4533
+ function pr(b) {
4534
+ Ne[b ? "unshift" : "push"](() => {
4535
+ S = b, r(3, S);
4493
4536
  });
4494
4537
  }
4495
4538
  return e.$$set = (b) => {
4496
- "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);
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);
4497
4540
  }, e.$$.update = () => {
4498
4541
  e.$$.dirty & /*modaltext, lang*/
4499
- 1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4500
- 2056 && f && w && ji(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4501
- 4104 && m && w && ki(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4502
- 16392 && p && w && Vi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4503
- 8192 && v && x();
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();
4504
4547
  }, [
4505
4548
  s,
4506
4549
  a,
4507
4550
  l,
4508
- w,
4551
+ S,
4509
4552
  n,
4510
4553
  H,
4511
4554
  _,
4512
- E,
4555
+ x,
4513
4556
  u,
4514
4557
  h,
4515
4558
  c,
4516
4559
  f,
4517
4560
  m,
4518
4561
  v,
4519
- p,
4562
+ d,
4520
4563
  o,
4521
4564
  i,
4522
4565
  se,
4523
- ur,
4524
- lr
4566
+ mr,
4567
+ pr
4525
4568
  ];
4526
4569
  }
4527
- class Ji extends Lr {
4570
+ class to extends Dr {
4528
4571
  constructor(t) {
4529
- super(), Mr(
4572
+ super(), Gr(
4530
4573
  this,
4531
4574
  t,
4532
- Qi,
4533
- Zi,
4534
- Bt,
4575
+ eo,
4576
+ Ki,
4577
+ It,
4535
4578
  {
4536
4579
  modaltext: 0,
4537
4580
  modaltitle: 1,
@@ -4544,7 +4587,7 @@ class Ji extends Lr {
4544
4587
  translationurl: 13,
4545
4588
  mbsource: 14
4546
4589
  },
4547
- Xi
4590
+ Ji
4548
4591
  );
4549
4592
  }
4550
4593
  get modaltext() {
@@ -4608,7 +4651,7 @@ class Ji extends Lr {
4608
4651
  this.$$set({ mbsource: t }), O();
4609
4652
  }
4610
4653
  }
4611
- Nr(Ji, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4654
+ Ur(to, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4612
4655
  export {
4613
- Ji as P
4656
+ to as P
4614
4657
  };