@everymatrix/player-account-general-confirmation-modal 1.55.0 → 1.56.2

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,16 +1,16 @@
1
- var _r = Object.defineProperty, Er = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
1
+ var xr = Object.defineProperty, _r = Object.defineProperties;
2
+ var Er = Object.getOwnPropertyDescriptors;
3
3
  var nt = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var we = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4
+ var Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Tr.call(t, r) && we(e, r, t[r]);
7
+ Sr.call(t, r) && Te(e, r, t[r]);
8
8
  if (nt)
9
9
  for (var r of nt(t))
10
- wr.call(t, r) && we(e, r, t[r]);
10
+ wr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => Er(e, Sr(t));
13
- var O = (e, t, r) => we(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, ot = (e, t) => _r(e, Er(t));
13
+ var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
@@ -29,8 +29,9 @@ var st = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function L() {
31
31
  }
32
- function Hr(e, t) {
33
- for (const r in t) e[r] = t[r];
32
+ function Tr(e, t) {
33
+ for (const r in t)
34
+ e[r] = t[r];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  e
@@ -42,7 +43,7 @@ function Lt(e) {
42
43
  function at() {
43
44
  return /* @__PURE__ */ Object.create(null);
44
45
  }
45
- function Y(e) {
46
+ function J(e) {
46
47
  e.forEach(Lt);
47
48
  }
48
49
  function Ye(e) {
@@ -51,7 +52,7 @@ function Ye(e) {
51
52
  function Rt(e, t) {
52
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
54
  }
54
- function Br(e) {
55
+ function Hr(e) {
55
56
  return Object.keys(e).length === 0;
56
57
  }
57
58
  function $t(e, ...t) {
@@ -63,19 +64,19 @@ function $t(e, ...t) {
63
64
  const r = e.subscribe(...t);
64
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
65
66
  }
66
- function Ar(e, t, r) {
67
+ function Br(e, t, r) {
67
68
  e.$$.on_destroy.push($t(t, r));
68
69
  }
69
- function Cr(e, t, r, n) {
70
+ function Ar(e, t, r, n) {
70
71
  if (e) {
71
72
  const i = Gt(e, t, r, n);
72
73
  return e[0](i);
73
74
  }
74
75
  }
75
76
  function Gt(e, t, r, n) {
76
- return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
+ return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
78
  }
78
- function Pr(e, t, r, n) {
79
+ function Cr(e, t, r, n) {
79
80
  if (e[2] && n) {
80
81
  const i = e[2](n(r));
81
82
  if (t.dirty === void 0)
@@ -90,13 +91,13 @@ function Pr(e, t, r, n) {
90
91
  }
91
92
  return t.dirty;
92
93
  }
93
- function Or(e, t, r, n, i, o) {
94
+ function Pr(e, t, r, n, i, o) {
94
95
  if (i) {
95
96
  const s = Gt(t, r, n, o);
96
97
  e.p(s, i);
97
98
  }
98
99
  }
99
- function Ir(e) {
100
+ function Or(e) {
100
101
  if (e.ctx.length > 32) {
101
102
  const t = [], r = e.ctx.length / 32;
102
103
  for (let n = 0; n < r; n++)
@@ -105,18 +106,19 @@ function Ir(e) {
105
106
  }
106
107
  return -1;
107
108
  }
108
- function H(e, t) {
109
+ function B(e, t) {
109
110
  e.appendChild(t);
110
111
  }
111
- function Nr(e, t, r) {
112
+ function Ir(e, t, r) {
112
113
  const n = Mr(e);
113
114
  if (!n.getElementById(t)) {
114
- const i = M("style");
115
- i.id = t, i.textContent = r, Lr(n, i);
115
+ const i = N("style");
116
+ i.id = t, i.textContent = r, Nr(n, i);
116
117
  }
117
118
  }
118
119
  function Mr(e) {
119
- if (!e) return document;
120
+ if (!e)
121
+ return document;
120
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
121
123
  return t && /** @type {ShadowRoot} */
122
124
  t.host ? (
@@ -124,8 +126,8 @@ function Mr(e) {
124
126
  t
125
127
  ) : e.ownerDocument;
126
128
  }
127
- function Lr(e, t) {
128
- return H(
129
+ function Nr(e, t) {
130
+ return B(
129
131
  /** @type {Document} */
130
132
  e.head || e,
131
133
  t
@@ -134,35 +136,35 @@ function Lr(e, t) {
134
136
  function ae(e, t, r) {
135
137
  e.insertBefore(t, r || null);
136
138
  }
137
- function q(e) {
139
+ function Y(e) {
138
140
  e.parentNode && e.parentNode.removeChild(e);
139
141
  }
140
- function M(e) {
142
+ function N(e) {
141
143
  return document.createElement(e);
142
144
  }
143
145
  function ut(e) {
144
146
  return document.createElementNS("http://www.w3.org/2000/svg", e);
145
147
  }
146
- function ie(e) {
148
+ function ne(e) {
147
149
  return document.createTextNode(e);
148
150
  }
149
151
  function le() {
150
- return ie(" ");
152
+ return ne(" ");
151
153
  }
152
- function Me(e, t, r, n) {
154
+ function Ne(e, t, r, n) {
153
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
154
156
  }
155
- function w(e, t, r) {
157
+ function H(e, t, r) {
156
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
157
159
  }
158
- function Rr(e) {
160
+ function Lr(e) {
159
161
  return Array.from(e.childNodes);
160
162
  }
161
163
  function ge(e, t) {
162
164
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
163
165
  t);
164
166
  }
165
- function $r(e) {
167
+ function Rr(e) {
166
168
  const t = {};
167
169
  return e.childNodes.forEach(
168
170
  /** @param {Element} node */
@@ -171,87 +173,97 @@ function $r(e) {
171
173
  }
172
174
  ), t;
173
175
  }
174
- let qe;
175
- function ne(e) {
176
- qe = e;
176
+ let ie;
177
+ function re(e) {
178
+ ie = e;
179
+ }
180
+ function $r() {
181
+ if (!ie)
182
+ throw new Error("Function called outside component initialization");
183
+ return ie;
184
+ }
185
+ function Gr(e) {
186
+ $r().$$.on_mount.push(e);
177
187
  }
178
- const V = [], Le = [];
179
- let X = [];
180
- const lt = [], Gr = /* @__PURE__ */ Promise.resolve();
188
+ const k = [], Le = [];
189
+ let V = [];
190
+ const lt = [], Ur = /* @__PURE__ */ Promise.resolve();
181
191
  let Re = !1;
182
- function Ur() {
183
- Re || (Re = !0, Gr.then(N));
192
+ function Dr() {
193
+ Re || (Re = !0, Ur.then(I));
184
194
  }
185
195
  function $e(e) {
186
- X.push(e);
196
+ V.push(e);
187
197
  }
188
198
  const He = /* @__PURE__ */ new Set();
189
- let j = 0;
190
- function N() {
191
- if (j !== 0)
199
+ let F = 0;
200
+ function I() {
201
+ if (F !== 0)
192
202
  return;
193
- const e = qe;
203
+ const e = ie;
194
204
  do {
195
205
  try {
196
- for (; j < V.length; ) {
197
- const t = V[j];
198
- j++, ne(t), Dr(t.$$);
206
+ for (; F < k.length; ) {
207
+ const t = k[F];
208
+ F++, re(t), Fr(t.$$);
199
209
  }
200
210
  } catch (t) {
201
- throw V.length = 0, j = 0, t;
211
+ throw k.length = 0, F = 0, t;
202
212
  }
203
- for (ne(null), V.length = 0, j = 0; Le.length; ) Le.pop()();
204
- for (let t = 0; t < X.length; t += 1) {
205
- const r = X[t];
213
+ for (re(null), k.length = 0, F = 0; Le.length; )
214
+ Le.pop()();
215
+ for (let t = 0; t < V.length; t += 1) {
216
+ const r = V[t];
206
217
  He.has(r) || (He.add(r), r());
207
218
  }
208
- X.length = 0;
209
- } while (V.length);
219
+ V.length = 0;
220
+ } while (k.length);
210
221
  for (; lt.length; )
211
222
  lt.pop()();
212
- Re = !1, He.clear(), ne(e);
223
+ Re = !1, He.clear(), re(e);
213
224
  }
214
- function Dr(e) {
225
+ function Fr(e) {
215
226
  if (e.fragment !== null) {
216
- e.update(), Y(e.before_update);
227
+ e.update(), J(e.before_update);
217
228
  const t = e.dirty;
218
229
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
219
230
  }
220
231
  }
221
- function Fr(e) {
232
+ function jr(e) {
222
233
  const t = [], r = [];
223
- X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
234
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
224
235
  }
225
236
  const fe = /* @__PURE__ */ new Set();
226
- let jr;
237
+ let kr;
227
238
  function Ut(e, t) {
228
239
  e && e.i && (fe.delete(e), e.i(t));
229
240
  }
230
- function kr(e, t, r, n) {
241
+ function Vr(e, t, r, n) {
231
242
  if (e && e.o) {
232
- if (fe.has(e)) return;
233
- fe.add(e), jr.c.push(() => {
243
+ if (fe.has(e))
244
+ return;
245
+ fe.add(e), kr.c.push(() => {
234
246
  fe.delete(e);
235
247
  }), e.o(t);
236
248
  }
237
249
  }
238
- function Vr(e, t, r) {
250
+ function Xr(e, t, r) {
239
251
  const { fragment: n, after_update: i } = e.$$;
240
252
  n && n.m(t, r), $e(() => {
241
253
  const o = e.$$.on_mount.map(Lt).filter(Ye);
242
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
254
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
243
255
  }), i.forEach($e);
244
256
  }
245
- function Xr(e, t) {
257
+ function zr(e, t) {
246
258
  const r = e.$$;
247
- r.fragment !== null && (Fr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (jr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
248
260
  }
249
- function zr(e, t) {
250
- e.$$.dirty[0] === -1 && (V.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
261
+ function Wr(e, t) {
262
+ e.$$.dirty[0] === -1 && (k.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
263
  }
252
- function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
253
- const l = qe;
254
- ne(e);
264
+ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
265
+ const l = ie;
266
+ re(e);
255
267
  const u = e.$$ = {
256
268
  fragment: null,
257
269
  ctx: [],
@@ -276,17 +288,17 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
276
288
  s && s(u.root);
277
289
  let h = !1;
278
290
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
279
- const p = m.length ? m[0] : f;
280
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && zr(e, c)), f;
281
- }) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
291
+ const d = m.length ? m[0] : f;
292
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Wr(e, c)), f;
293
+ }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
282
294
  if (t.hydrate) {
283
- const c = Rr(t.target);
284
- u.fragment && u.fragment.l(c), c.forEach(q);
295
+ const c = Lr(t.target);
296
+ u.fragment && u.fragment.l(c), c.forEach(Y);
285
297
  } else
286
298
  u.fragment && u.fragment.c();
287
- t.intro && Ut(e.$$.fragment), Vr(e, t.target, t.anchor), N();
299
+ t.intro && Ut(e.$$.fragment), Xr(e, t.target, t.anchor), I();
288
300
  }
289
- ne(l);
301
+ re(l);
290
302
  }
291
303
  let Dt;
292
304
  typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
@@ -333,7 +345,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
333
345
  let s;
334
346
  return {
335
347
  c: function() {
336
- s = M("slot"), o !== "default" && w(s, "name", o);
348
+ s = N("slot"), o !== "default" && H(s, "name", o);
337
349
  },
338
350
  /**
339
351
  * @param {HTMLElement} target
@@ -343,14 +355,14 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
343
355
  ae(u, s, h);
344
356
  },
345
357
  d: function(u) {
346
- u && q(s);
358
+ u && Y(s);
347
359
  }
348
360
  };
349
361
  };
350
362
  };
351
363
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
352
364
  return;
353
- const r = {}, n = $r(this);
365
+ const r = {}, n = Rr(this);
354
366
  for (const o of this.$$s)
355
367
  o in n && (r[o] = [t(o)]);
356
368
  for (const o of this.attributes) {
@@ -439,7 +451,7 @@ function me(e, t, r, n) {
439
451
  return t;
440
452
  }
441
453
  }
442
- function Zr(e, t, r, n, i, o) {
454
+ function Qr(e, t, r, n, i, o) {
443
455
  let s = class extends Dt {
444
456
  constructor() {
445
457
  super(e, r, i), this.$$p_d = t;
@@ -470,7 +482,7 @@ function Zr(e, t, r, n, i, o) {
470
482
  }), e.element = /** @type {any} */
471
483
  s, s;
472
484
  }
473
- class Qr {
485
+ class Jr {
474
486
  constructor() {
475
487
  /**
476
488
  * ### PRIVATE API
@@ -491,7 +503,7 @@ class Qr {
491
503
  }
492
504
  /** @returns {void} */
493
505
  $destroy() {
494
- Xr(this, 1), this.$destroy = L;
506
+ zr(this, 1), this.$destroy = L;
495
507
  }
496
508
  /**
497
509
  * @template {Extract<keyof Events, string>} K
@@ -513,19 +525,34 @@ class Qr {
513
525
  * @returns {void}
514
526
  */
515
527
  $set(t) {
516
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
528
+ this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
529
  }
518
530
  }
519
- const Jr = "4";
520
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
531
+ const Yr = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
533
+ /*! *****************************************************************************
534
+ Copyright (c) Microsoft Corporation.
535
+
536
+ Permission to use, copy, modify, and/or distribute this software for any
537
+ purpose with or without fee is hereby granted.
538
+
539
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
540
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
541
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
542
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
543
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
544
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
545
+ PERFORMANCE OF THIS SOFTWARE.
546
+ ***************************************************************************** */
521
547
  var Ge = function(e, t) {
522
548
  return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
523
549
  r.__proto__ = n;
524
550
  } || function(r, n) {
525
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
551
+ for (var i in n)
552
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
526
553
  }, Ge(e, t);
527
554
  };
528
- function G(e, t) {
555
+ function $(e, t) {
529
556
  if (typeof t != "function" && t !== null)
530
557
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
531
558
  Ge(e, t);
@@ -538,14 +565,16 @@ var y = function() {
538
565
  return y = Object.assign || function(t) {
539
566
  for (var r, n = 1, i = arguments.length; n < i; n++) {
540
567
  r = arguments[n];
541
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
568
+ for (var o in r)
569
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
542
570
  }
543
571
  return t;
544
572
  }, y.apply(this, arguments);
545
573
  };
546
- function Yr(e, t) {
574
+ function qr(e, t) {
547
575
  var r = {};
548
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
576
+ for (var n in e)
577
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
549
578
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
550
579
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
551
580
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
@@ -553,37 +582,43 @@ function Yr(e, t) {
553
582
  }
554
583
  function Ue(e) {
555
584
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
556
- if (r) return r.call(e);
557
- if (e && typeof e.length == "number") return {
558
- next: function() {
559
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
560
- }
561
- };
585
+ if (r)
586
+ return r.call(e);
587
+ if (e && typeof e.length == "number")
588
+ return {
589
+ next: function() {
590
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
591
+ }
592
+ };
562
593
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
563
594
  }
564
595
  function De(e, t) {
565
596
  var r = typeof Symbol == "function" && e[Symbol.iterator];
566
- if (!r) return e;
597
+ if (!r)
598
+ return e;
567
599
  var n = r.call(e), i, o = [], s;
568
600
  try {
569
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
601
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
602
+ o.push(i.value);
570
603
  } catch (a) {
571
604
  s = { error: a };
572
605
  } finally {
573
606
  try {
574
607
  i && !i.done && (r = n.return) && r.call(n);
575
608
  } finally {
576
- if (s) throw s.error;
609
+ if (s)
610
+ throw s.error;
577
611
  }
578
612
  }
579
613
  return o;
580
614
  }
581
- function z(e, t, r) {
582
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
583
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
584
- return e.concat(o || Array.prototype.slice.call(t));
615
+ function X(e, t, r) {
616
+ if (r || arguments.length === 2)
617
+ for (var n = 0, i = t.length, o; n < i; n++)
618
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
619
+ return e.concat(o || t);
585
620
  }
586
- function $(e) {
621
+ function R(e) {
587
622
  return typeof e == "function";
588
623
  }
589
624
  function Ft(e) {
@@ -623,43 +658,45 @@ var xe = function() {
623
658
  var u = l.value;
624
659
  u.remove(this);
625
660
  }
626
- } catch (d) {
627
- t = { error: d };
661
+ } catch (p) {
662
+ t = { error: p };
628
663
  } finally {
629
664
  try {
630
665
  l && !l.done && (r = a.return) && r.call(a);
631
666
  } finally {
632
- if (t) throw t.error;
667
+ if (t)
668
+ throw t.error;
633
669
  }
634
670
  }
635
671
  else
636
672
  s.remove(this);
637
673
  var h = this.initialTeardown;
638
- if ($(h))
674
+ if (R(h))
639
675
  try {
640
676
  h();
641
- } catch (d) {
642
- o = d instanceof Be ? d.errors : [d];
677
+ } catch (p) {
678
+ o = p instanceof Be ? p.errors : [p];
643
679
  }
644
680
  var c = this._finalizers;
645
681
  if (c) {
646
682
  this._finalizers = null;
647
683
  try {
648
684
  for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
649
- var p = m.value;
685
+ var d = m.value;
650
686
  try {
651
- ht(p);
652
- } catch (d) {
653
- o = o != null ? o : [], d instanceof Be ? o = z(z([], De(o)), De(d.errors)) : o.push(d);
687
+ ht(d);
688
+ } catch (p) {
689
+ o = o != null ? o : [], p instanceof Be ? o = X(X([], De(o)), De(p.errors)) : o.push(p);
654
690
  }
655
691
  }
656
- } catch (d) {
657
- n = { error: d };
692
+ } catch (p) {
693
+ n = { error: p };
658
694
  } finally {
659
695
  try {
660
696
  m && !m.done && (i = f.return) && i.call(f);
661
697
  } finally {
662
- if (n) throw n.error;
698
+ if (n)
699
+ throw n.error;
663
700
  }
664
701
  }
665
702
  }
@@ -697,10 +734,10 @@ var xe = function() {
697
734
  }(), e;
698
735
  }(), jt = xe.EMPTY;
699
736
  function kt(e) {
700
- return e instanceof xe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
737
+ return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
701
738
  }
702
739
  function ht(e) {
703
- $(e) ? e() : e.unsubscribe();
740
+ R(e) ? e() : e.unsubscribe();
704
741
  }
705
742
  var Vt = {
706
743
  onUnhandledError: null,
@@ -708,19 +745,19 @@ var Vt = {
708
745
  Promise: void 0,
709
746
  useDeprecatedSynchronousErrorHandling: !1,
710
747
  useDeprecatedNextContext: !1
711
- }, qr = {
748
+ }, Kr = {
712
749
  setTimeout: function(e, t) {
713
750
  for (var r = [], n = 2; n < arguments.length; n++)
714
751
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, z([e, t], De(r)));
752
+ return setTimeout.apply(void 0, X([e, t], De(r)));
716
753
  },
717
754
  clearTimeout: function(e) {
718
755
  return clearTimeout(e);
719
756
  },
720
757
  delegate: void 0
721
758
  };
722
- function Kr(e) {
723
- qr.setTimeout(function() {
759
+ function en(e) {
760
+ Kr.setTimeout(function() {
724
761
  throw e;
725
762
  });
726
763
  }
@@ -730,10 +767,10 @@ function de(e) {
730
767
  e();
731
768
  }
732
769
  var Xt = function(e) {
733
- G(t, e);
770
+ $(t, e);
734
771
  function t(r) {
735
772
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = nn, n;
773
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = on, n;
737
774
  }
738
775
  return t.create = function(r, n, i) {
739
776
  return new je(r, n, i);
@@ -760,11 +797,11 @@ var Xt = function(e) {
760
797
  this.unsubscribe();
761
798
  }
762
799
  }, t;
763
- }(xe), en = Function.prototype.bind;
800
+ }(xe), tn = Function.prototype.bind;
764
801
  function Ae(e, t) {
765
- return en.call(e, t);
802
+ return tn.call(e, t);
766
803
  }
767
- var tn = function() {
804
+ var rn = function() {
768
805
  function e(t) {
769
806
  this.partialObserver = t;
770
807
  }
@@ -796,10 +833,10 @@ var tn = function() {
796
833
  }
797
834
  }, e;
798
835
  }(), je = function(e) {
799
- G(t, e);
836
+ $(t, e);
800
837
  function t(r, n, i) {
801
838
  var o = e.call(this) || this, s;
802
- if ($(r) || !r)
839
+ if (R(r) || !r)
803
840
  s = {
804
841
  next: r != null ? r : void 0,
805
842
  error: n != null ? n : void 0,
@@ -815,29 +852,29 @@ var tn = function() {
815
852
  complete: r.complete && Ae(r.complete, a)
816
853
  }) : s = r;
817
854
  }
818
- return o.destination = new tn(s), o;
855
+ return o.destination = new rn(s), o;
819
856
  }
820
857
  return t;
821
858
  }(Xt);
822
859
  function he(e) {
823
- Kr(e);
860
+ en(e);
824
861
  }
825
- function rn(e) {
862
+ function nn(e) {
826
863
  throw e;
827
864
  }
828
- var nn = {
865
+ var on = {
829
866
  closed: !0,
830
867
  next: ct,
831
- error: rn,
868
+ error: nn,
832
869
  complete: ct
833
- }, on = function() {
870
+ }, sn = function() {
834
871
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
835
872
  }();
836
- function sn(e) {
873
+ function an(e) {
837
874
  return e;
838
875
  }
839
- function an(e) {
840
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
876
+ function un(e) {
877
+ return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
841
878
  return e.reduce(function(n, i) {
842
879
  return i(n);
843
880
  }, r);
@@ -851,7 +888,7 @@ var ft = function() {
851
888
  var r = new e();
852
889
  return r.source = this, r.operator = t, r;
853
890
  }, e.prototype.subscribe = function(t, r, n) {
854
- var i = this, o = ln(t) ? t : new je(t, r, n);
891
+ var i = this, o = hn(t) ? t : new je(t, r, n);
855
892
  return de(function() {
856
893
  var s = i, a = s.operator, l = s.source;
857
894
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -881,12 +918,12 @@ var ft = function() {
881
918
  }, e.prototype._subscribe = function(t) {
882
919
  var r;
883
920
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
884
- }, e.prototype[on] = function() {
921
+ }, e.prototype[sn] = function() {
885
922
  return this;
886
923
  }, e.prototype.pipe = function() {
887
924
  for (var t = [], r = 0; r < arguments.length; r++)
888
925
  t[r] = arguments[r];
889
- return an(t)(this);
926
+ return un(t)(this);
890
927
  }, e.prototype.toPromise = function(t) {
891
928
  var r = this;
892
929
  return t = mt(t), new t(function(n, i) {
@@ -907,18 +944,18 @@ function mt(e) {
907
944
  var t;
908
945
  return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
909
946
  }
910
- function un(e) {
911
- return e && $(e.next) && $(e.error) && $(e.complete);
912
- }
913
947
  function ln(e) {
914
- return e && e instanceof Xt || un(e) && kt(e);
948
+ return e && R(e.next) && R(e.error) && R(e.complete);
949
+ }
950
+ function hn(e) {
951
+ return e && e instanceof Xt || ln(e) && kt(e);
915
952
  }
916
- var hn = Ft(function(e) {
953
+ var cn = Ft(function(e) {
917
954
  return function() {
918
955
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
919
956
  };
920
957
  }), zt = function(e) {
921
- G(t, e);
958
+ $(t, e);
922
959
  function t() {
923
960
  var r = e.call(this) || this;
924
961
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -928,7 +965,7 @@ var hn = Ft(function(e) {
928
965
  return n.operator = r, n;
929
966
  }, t.prototype._throwIfClosed = function() {
930
967
  if (this.closed)
931
- throw new hn();
968
+ throw new cn();
932
969
  }, t.prototype.next = function(r) {
933
970
  var n = this;
934
971
  de(function() {
@@ -946,7 +983,8 @@ var hn = Ft(function(e) {
946
983
  try {
947
984
  a && !a.done && (o = s.return) && o.call(s);
948
985
  } finally {
949
- if (i) throw i.error;
986
+ if (i)
987
+ throw i.error;
950
988
  }
951
989
  }
952
990
  }
@@ -997,7 +1035,7 @@ var hn = Ft(function(e) {
997
1035
  return new dt(r, n);
998
1036
  }, t;
999
1037
  }(ft), dt = function(e) {
1000
- G(t, e);
1038
+ $(t, e);
1001
1039
  function t(r, n) {
1002
1040
  var i = e.call(this) || this;
1003
1041
  return i.destination = r, i.source = n, i;
@@ -1020,8 +1058,8 @@ var hn = Ft(function(e) {
1020
1058
  return (Wt.delegate || Date).now();
1021
1059
  },
1022
1060
  delegate: void 0
1023
- }, cn = function(e) {
1024
- G(t, e);
1061
+ }, fn = function(e) {
1062
+ $(t, e);
1025
1063
  function t(r, n, i) {
1026
1064
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
1027
1065
  var o = e.call(this) || this;
@@ -1044,14 +1082,14 @@ var hn = Ft(function(e) {
1044
1082
  }
1045
1083
  }, t;
1046
1084
  }(zt);
1047
- const pt = [], bt = {}, fn = (e, t = 0) => {
1085
+ const pt = [], bt = {}, mn = (e, t = 0) => {
1048
1086
  if (pt.indexOf(e) == -1) {
1049
- const r = new cn(t);
1087
+ const r = new fn(t);
1050
1088
  bt[e] = r, pt.push(e);
1051
1089
  }
1052
1090
  return bt[e];
1053
- }, k = [];
1054
- function mn(e, t) {
1091
+ }, j = [];
1092
+ function dn(e, t) {
1055
1093
  return {
1056
1094
  subscribe: _e(e, t).subscribe
1057
1095
  };
@@ -1061,13 +1099,13 @@ function _e(e, t = L) {
1061
1099
  const n = /* @__PURE__ */ new Set();
1062
1100
  function i(a) {
1063
1101
  if (Rt(e, a) && (e = a, r)) {
1064
- const l = !k.length;
1102
+ const l = !j.length;
1065
1103
  for (const u of n)
1066
- u[1](), k.push(u, e);
1104
+ u[1](), j.push(u, e);
1067
1105
  if (l) {
1068
- for (let u = 0; u < k.length; u += 2)
1069
- k[u][0](k[u + 1]);
1070
- k.length = 0;
1106
+ for (let u = 0; u < j.length; u += 2)
1107
+ j[u][0](j[u + 1]);
1108
+ j.length = 0;
1071
1109
  }
1072
1110
  }
1073
1111
  }
@@ -1082,12 +1120,12 @@ function _e(e, t = L) {
1082
1120
  }
1083
1121
  return { set: i, update: o, subscribe: s };
1084
1122
  }
1085
- function K(e, t, r) {
1123
+ function q(e, t, r) {
1086
1124
  const n = !Array.isArray(e), i = n ? [e] : e;
1087
1125
  if (!i.every(Boolean))
1088
1126
  throw new Error("derived() expects stores as input, got a falsy value");
1089
1127
  const o = t.length < 2;
1090
- return mn(r, (s, a) => {
1128
+ return dn(r, (s, a) => {
1091
1129
  let l = !1;
1092
1130
  const u = [];
1093
1131
  let h = 0, c = L;
@@ -1095,57 +1133,57 @@ function K(e, t, r) {
1095
1133
  if (h)
1096
1134
  return;
1097
1135
  c();
1098
- const p = t(n ? u[0] : u, s, a);
1099
- o ? s(p) : c = Ye(p) ? p : L;
1136
+ const d = t(n ? u[0] : u, s, a);
1137
+ o ? s(d) : c = Ye(d) ? d : L;
1100
1138
  }, m = i.map(
1101
- (p, d) => $t(
1102
- p,
1103
- (A) => {
1104
- u[d] = A, h &= ~(1 << d), l && f();
1139
+ (d, p) => $t(
1140
+ d,
1141
+ (w) => {
1142
+ u[p] = w, h &= ~(1 << p), l && f();
1105
1143
  },
1106
1144
  () => {
1107
- h |= 1 << d;
1145
+ h |= 1 << p;
1108
1146
  }
1109
1147
  )
1110
1148
  );
1111
1149
  return l = !0, f(), function() {
1112
- Y(m), c(), l = !1;
1150
+ J(m), c(), l = !1;
1113
1151
  };
1114
1152
  });
1115
1153
  }
1116
- function dn(e) {
1154
+ function pn(e) {
1117
1155
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1118
1156
  }
1119
- var pn = function(t) {
1120
- return bn(t) && !gn(t);
1157
+ var bn = function(t) {
1158
+ return gn(t) && !vn(t);
1121
1159
  };
1122
- function bn(e) {
1160
+ function gn(e) {
1123
1161
  return !!e && typeof e == "object";
1124
1162
  }
1125
- function gn(e) {
1163
+ function vn(e) {
1126
1164
  var t = Object.prototype.toString.call(e);
1127
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1128
- }
1129
- var vn = typeof Symbol == "function" && Symbol.for, yn = vn ? Symbol.for("react.element") : 60103;
1130
- function xn(e) {
1131
- return e.$$typeof === yn;
1165
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1132
1166
  }
1167
+ var yn = typeof Symbol == "function" && Symbol.for, xn = yn ? Symbol.for("react.element") : 60103;
1133
1168
  function _n(e) {
1169
+ return e.$$typeof === xn;
1170
+ }
1171
+ function En(e) {
1134
1172
  return Array.isArray(e) ? [] : {};
1135
1173
  }
1136
1174
  function oe(e, t) {
1137
- return t.clone !== !1 && t.isMergeableObject(e) ? W(_n(e), e, t) : e;
1175
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(En(e), e, t) : e;
1138
1176
  }
1139
- function En(e, t, r) {
1177
+ function Sn(e, t, r) {
1140
1178
  return e.concat(t).map(function(n) {
1141
1179
  return oe(n, r);
1142
1180
  });
1143
1181
  }
1144
- function Sn(e, t) {
1182
+ function wn(e, t) {
1145
1183
  if (!t.customMerge)
1146
- return W;
1184
+ return z;
1147
1185
  var r = t.customMerge(e);
1148
- return typeof r == "function" ? r : W;
1186
+ return typeof r == "function" ? r : z;
1149
1187
  }
1150
1188
  function Tn(e) {
1151
1189
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1162,130 +1200,130 @@ function Zt(e, t) {
1162
1200
  return !1;
1163
1201
  }
1164
1202
  }
1165
- function wn(e, t) {
1203
+ function Hn(e, t) {
1166
1204
  return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1167
1205
  }
1168
- function Hn(e, t, r) {
1206
+ function Bn(e, t, r) {
1169
1207
  var n = {};
1170
1208
  return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1171
1209
  n[i] = oe(e[i], r);
1172
1210
  }), gt(t).forEach(function(i) {
1173
- wn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1211
+ Hn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1174
1212
  }), n;
1175
1213
  }
1176
- function W(e, t, r) {
1177
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = oe;
1214
+ function z(e, t, r) {
1215
+ r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = oe;
1178
1216
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1179
- return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : oe(t, r);
1217
+ return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : oe(t, r);
1180
1218
  }
1181
- W.all = function(t, r) {
1219
+ z.all = function(t, r) {
1182
1220
  if (!Array.isArray(t))
1183
1221
  throw new Error("first argument should be an array");
1184
1222
  return t.reduce(function(n, i) {
1185
- return W(n, i, r);
1223
+ return z(n, i, r);
1186
1224
  }, {});
1187
1225
  };
1188
- var Bn = W, An = Bn;
1189
- const Cn = /* @__PURE__ */ dn(An);
1226
+ var An = z, Cn = An;
1227
+ const Pn = /* @__PURE__ */ pn(Cn);
1190
1228
  function Ce(e, t) {
1191
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : On;
1229
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : In;
1192
1230
  return i(e, {
1193
1231
  cache: r,
1194
1232
  serializer: n
1195
1233
  });
1196
1234
  }
1197
- function Pn(e) {
1235
+ function On(e) {
1198
1236
  return e == null || typeof e == "number" || typeof e == "boolean";
1199
1237
  }
1200
1238
  function Qt(e, t, r, n) {
1201
- var i = Pn(n) ? n : r(n), o = t.get(i);
1239
+ var i = On(n) ? n : r(n), o = t.get(i);
1202
1240
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1203
1241
  }
1204
1242
  function Jt(e, t, r) {
1205
1243
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1206
1244
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1207
1245
  }
1208
- function Ke(e, t, r, n, i) {
1246
+ function qe(e, t, r, n, i) {
1209
1247
  return r.bind(t, e, n, i);
1210
1248
  }
1211
- function On(e, t) {
1249
+ function In(e, t) {
1212
1250
  var r = e.length === 1 ? Qt : Jt;
1213
- return Ke(e, this, r, t.cache.create(), t.serializer);
1251
+ return qe(e, this, r, t.cache.create(), t.serializer);
1214
1252
  }
1215
- function In(e, t) {
1216
- return Ke(e, this, Jt, t.cache.create(), t.serializer);
1253
+ function Mn(e, t) {
1254
+ return qe(e, this, Jt, t.cache.create(), t.serializer);
1217
1255
  }
1218
1256
  function Nn(e, t) {
1219
- return Ke(e, this, Qt, t.cache.create(), t.serializer);
1257
+ return qe(e, this, Qt, t.cache.create(), t.serializer);
1220
1258
  }
1221
- var Mn = function() {
1259
+ var Ln = function() {
1222
1260
  return JSON.stringify(arguments);
1223
1261
  };
1224
- function et() {
1262
+ function Ke() {
1225
1263
  this.cache = /* @__PURE__ */ Object.create(null);
1226
1264
  }
1227
- et.prototype.get = function(e) {
1265
+ Ke.prototype.get = function(e) {
1228
1266
  return this.cache[e];
1229
1267
  };
1230
- et.prototype.set = function(e, t) {
1268
+ Ke.prototype.set = function(e, t) {
1231
1269
  this.cache[e] = t;
1232
1270
  };
1233
- var Ln = {
1271
+ var Rn = {
1234
1272
  create: function() {
1235
- return new et();
1273
+ return new Ke();
1236
1274
  }
1237
1275
  }, Pe = {
1238
- variadic: In,
1276
+ variadic: Mn,
1239
1277
  monadic: Nn
1240
- }, g;
1278
+ }, b;
1241
1279
  (function(e) {
1242
1280
  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";
1243
- })(g || (g = {}));
1244
- var E;
1281
+ })(b || (b = {}));
1282
+ var S;
1245
1283
  (function(e) {
1246
1284
  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";
1247
- })(E || (E = {}));
1248
- var Z;
1285
+ })(S || (S = {}));
1286
+ var W;
1249
1287
  (function(e) {
1250
1288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1251
- })(Z || (Z = {}));
1289
+ })(W || (W = {}));
1252
1290
  function vt(e) {
1253
- return e.type === E.literal;
1291
+ return e.type === S.literal;
1254
1292
  }
1255
- function Rn(e) {
1256
- return e.type === E.argument;
1293
+ function $n(e) {
1294
+ return e.type === S.argument;
1257
1295
  }
1258
1296
  function Yt(e) {
1259
- return e.type === E.number;
1297
+ return e.type === S.number;
1260
1298
  }
1261
1299
  function qt(e) {
1262
- return e.type === E.date;
1300
+ return e.type === S.date;
1263
1301
  }
1264
1302
  function Kt(e) {
1265
- return e.type === E.time;
1303
+ return e.type === S.time;
1266
1304
  }
1267
1305
  function er(e) {
1268
- return e.type === E.select;
1306
+ return e.type === S.select;
1269
1307
  }
1270
1308
  function tr(e) {
1271
- return e.type === E.plural;
1309
+ return e.type === S.plural;
1272
1310
  }
1273
- function $n(e) {
1274
- return e.type === E.pound;
1311
+ function Gn(e) {
1312
+ return e.type === S.pound;
1275
1313
  }
1276
1314
  function rr(e) {
1277
- return e.type === E.tag;
1315
+ return e.type === S.tag;
1278
1316
  }
1279
1317
  function nr(e) {
1280
- return !!(e && typeof e == "object" && e.type === Z.number);
1318
+ return !!(e && typeof e == "object" && e.type === W.number);
1281
1319
  }
1282
1320
  function ke(e) {
1283
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1321
+ return !!(e && typeof e == "object" && e.type === W.dateTime);
1284
1322
  }
1285
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1286
- function Un(e) {
1323
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1324
+ function Dn(e) {
1287
1325
  var t = {};
1288
- return e.replace(Gn, function(r) {
1326
+ return e.replace(Un, function(r) {
1289
1327
  var n = r.length;
1290
1328
  switch (r[0]) {
1291
1329
  case "G":
@@ -1374,11 +1412,11 @@ function Un(e) {
1374
1412
  return "";
1375
1413
  }), t;
1376
1414
  }
1377
- var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1378
- function Fn(e) {
1415
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1416
+ function jn(e) {
1379
1417
  if (e.length === 0)
1380
1418
  throw new Error("Number skeleton cannot be empty");
1381
- for (var t = e.split(Dn).filter(function(f) {
1419
+ for (var t = e.split(Fn).filter(function(f) {
1382
1420
  return f.length > 0;
1383
1421
  }), r = [], n = 0, i = t; n < i.length; n++) {
1384
1422
  var o = i[n], s = o.split("/");
@@ -1393,10 +1431,10 @@ function Fn(e) {
1393
1431
  }
1394
1432
  return r;
1395
1433
  }
1396
- function jn(e) {
1434
+ function kn(e) {
1397
1435
  return e.replace(/^(.*?)-/, "");
1398
1436
  }
1399
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1437
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1400
1438
  function xt(e) {
1401
1439
  var t = {};
1402
1440
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
@@ -1443,7 +1481,7 @@ function ar(e) {
1443
1481
  };
1444
1482
  }
1445
1483
  }
1446
- function Vn(e) {
1484
+ function Xn(e) {
1447
1485
  var t;
1448
1486
  if (e[0] === "E" && e[1] === "E" ? (t = {
1449
1487
  notation: "engineering"
@@ -1461,7 +1499,7 @@ function _t(e) {
1461
1499
  var t = {}, r = ar(e);
1462
1500
  return r || t;
1463
1501
  }
1464
- function Xn(e) {
1502
+ function zn(e) {
1465
1503
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1466
1504
  var i = n[r];
1467
1505
  switch (i.stem) {
@@ -1485,7 +1523,7 @@ function Xn(e) {
1485
1523
  continue;
1486
1524
  case "measure-unit":
1487
1525
  case "unit":
1488
- t.style = "unit", t.unit = jn(i.options[0]);
1526
+ t.style = "unit", t.unit = kn(i.options[0]);
1489
1527
  continue;
1490
1528
  case "compact-short":
1491
1529
  case "K":
@@ -1547,7 +1585,7 @@ function Xn(e) {
1547
1585
  case "integer-width":
1548
1586
  if (i.options.length > 1)
1549
1587
  throw new RangeError("integer-width stems only accept a single optional option");
1550
- i.options[0].replace(kn, function(l, u, h, c, f, m) {
1588
+ i.options[0].replace(Vn, function(l, u, h, c, f, m) {
1551
1589
  if (u)
1552
1590
  t.minimumIntegerDigits = h.length;
1553
1591
  else {
@@ -1580,7 +1618,7 @@ function Xn(e) {
1580
1618
  }
1581
1619
  var s = ar(i.stem);
1582
1620
  s && (t = y(y({}, t), s));
1583
- var a = Vn(i.stem);
1621
+ var a = Xn(i.stem);
1584
1622
  a && (t = y(y({}, t), a));
1585
1623
  }
1586
1624
  return t;
@@ -3000,22 +3038,23 @@ var ce = {
3000
3038
  "h"
3001
3039
  ]
3002
3040
  };
3003
- function zn(e, t) {
3041
+ function Wn(e, t) {
3004
3042
  for (var r = "", n = 0; n < e.length; n++) {
3005
3043
  var i = e.charAt(n);
3006
3044
  if (i === "j") {
3007
3045
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3008
3046
  o++, n++;
3009
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Wn(t);
3047
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zn(t);
3010
3048
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3011
3049
  r += l;
3012
3050
  for (; s-- > 0; )
3013
3051
  r = u + r;
3014
- } else i === "J" ? r += "H" : r += i;
3052
+ } else
3053
+ i === "J" ? r += "H" : r += i;
3015
3054
  }
3016
3055
  return r;
3017
3056
  }
3018
- function Wn(e) {
3057
+ function Zn(e) {
3019
3058
  var t = e.hourCycle;
3020
3059
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3021
3060
  e.hourCycles && // @ts-ignore
@@ -3037,20 +3076,20 @@ function Wn(e) {
3037
3076
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3038
3077
  return i[0];
3039
3078
  }
3040
- var Oe, Zn = new RegExp("^".concat(ir.source, "*")), Qn = new RegExp("".concat(ir.source, "*$"));
3079
+ var Oe, Qn = new RegExp("^".concat(ir.source, "*")), Jn = new RegExp("".concat(ir.source, "*$"));
3041
3080
  function v(e, t) {
3042
3081
  return { start: e, end: t };
3043
3082
  }
3044
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3083
+ var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3045
3084
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3046
3085
  }, Ve = !0;
3047
3086
  try {
3048
- var ii = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3049
- Ve = ((Oe = ii.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3087
+ var oi = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
+ Ve = ((Oe = oi.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3050
3089
  } catch (e) {
3051
3090
  Ve = !1;
3052
3091
  }
3053
- var Et = Jn ? (
3092
+ var Et = Yn ? (
3054
3093
  // Native
3055
3094
  function(t, r, n) {
3056
3095
  return t.startsWith(r, n);
@@ -3060,7 +3099,7 @@ var Et = Jn ? (
3060
3099
  function(t, r, n) {
3061
3100
  return t.slice(n, n + r.length) === r;
3062
3101
  }
3063
- ), Xe = Yn ? String.fromCodePoint : (
3102
+ ), Xe = qn ? String.fromCodePoint : (
3064
3103
  // IE11
3065
3104
  function() {
3066
3105
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3074,7 +3113,7 @@ var Et = Jn ? (
3074
3113
  }
3075
3114
  ), St = (
3076
3115
  // native
3077
- qn ? Object.fromEntries : (
3116
+ Kn ? Object.fromEntries : (
3078
3117
  // Ponyfill
3079
3118
  function(t) {
3080
3119
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3084,7 +3123,7 @@ var Et = Jn ? (
3084
3123
  return r;
3085
3124
  }
3086
3125
  )
3087
- ), ur = Kn ? (
3126
+ ), ur = ei ? (
3088
3127
  // Native
3089
3128
  function(t, r) {
3090
3129
  return t.codePointAt(r);
@@ -3098,7 +3137,7 @@ var Et = Jn ? (
3098
3137
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3099
3138
  }
3100
3139
  }
3101
- ), oi = ei ? (
3140
+ ), si = ti ? (
3102
3141
  // Native
3103
3142
  function(t) {
3104
3143
  return t.trimStart();
@@ -3106,9 +3145,9 @@ var Et = Jn ? (
3106
3145
  ) : (
3107
3146
  // Ponyfill
3108
3147
  function(t) {
3109
- return t.replace(Zn, "");
3148
+ return t.replace(Qn, "");
3110
3149
  }
3111
- ), si = ti ? (
3150
+ ), ai = ri ? (
3112
3151
  // Native
3113
3152
  function(t) {
3114
3153
  return t.trimEnd();
@@ -3116,7 +3155,7 @@ var Et = Jn ? (
3116
3155
  ) : (
3117
3156
  // Ponyfill
3118
3157
  function(t) {
3119
- return t.replace(Qn, "");
3158
+ return t.replace(Jn, "");
3120
3159
  }
3121
3160
  );
3122
3161
  function lr(e, t) {
@@ -3124,24 +3163,24 @@ function lr(e, t) {
3124
3163
  }
3125
3164
  var ze;
3126
3165
  if (Ve) {
3127
- var Tt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3166
+ var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3128
3167
  ze = function(t, r) {
3129
3168
  var n;
3130
- Tt.lastIndex = r;
3131
- var i = Tt.exec(t);
3169
+ wt.lastIndex = r;
3170
+ var i = wt.exec(t);
3132
3171
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3133
3172
  };
3134
3173
  } else
3135
3174
  ze = function(t, r) {
3136
3175
  for (var n = []; ; ) {
3137
3176
  var i = ur(t, r);
3138
- if (i === void 0 || hr(i) || hi(i))
3177
+ if (i === void 0 || hr(i) || ci(i))
3139
3178
  break;
3140
3179
  n.push(i), r += i >= 65536 ? 2 : 1;
3141
3180
  }
3142
3181
  return Xe.apply(void 0, n);
3143
3182
  };
3144
- var ai = (
3183
+ var ui = (
3145
3184
  /** @class */
3146
3185
  function() {
3147
3186
  function e(t, r) {
@@ -3165,13 +3204,13 @@ var ai = (
3165
3204
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3166
3205
  var a = this.clonePosition();
3167
3206
  this.bump(), i.push({
3168
- type: E.pound,
3207
+ type: S.pound,
3169
3208
  location: v(a, this.clonePosition())
3170
3209
  });
3171
3210
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3172
3211
  if (n)
3173
3212
  break;
3174
- return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3213
+ return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3175
3214
  } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3176
3215
  var s = this.parseTag(t, r);
3177
3216
  if (s.err)
@@ -3193,7 +3232,7 @@ var ai = (
3193
3232
  if (this.bumpSpace(), this.bumpIf("/>"))
3194
3233
  return {
3195
3234
  val: {
3196
- type: E.literal,
3235
+ type: S.literal,
3197
3236
  value: "<".concat(i, "/>"),
3198
3237
  location: v(n, this.clonePosition())
3199
3238
  },
@@ -3206,24 +3245,24 @@ var ai = (
3206
3245
  var s = o.val, a = this.clonePosition();
3207
3246
  if (this.bumpIf("</")) {
3208
3247
  if (this.isEOF() || !We(this.char()))
3209
- return this.error(g.INVALID_TAG, v(a, this.clonePosition()));
3248
+ return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3210
3249
  var l = this.clonePosition(), u = this.parseTagName();
3211
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3250
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3212
3251
  val: {
3213
- type: E.tag,
3252
+ type: S.tag,
3214
3253
  value: i,
3215
3254
  children: s,
3216
3255
  location: v(n, this.clonePosition())
3217
3256
  },
3218
3257
  err: null
3219
- } : this.error(g.INVALID_TAG, v(a, this.clonePosition())));
3258
+ } : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
3220
3259
  } else
3221
- return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3260
+ return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
3222
3261
  } else
3223
- return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3262
+ return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3224
3263
  }, e.prototype.parseTagName = function() {
3225
3264
  var t = this.offset();
3226
- for (this.bump(); !this.isEOF() && li(this.char()); )
3265
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3227
3266
  this.bump();
3228
3267
  return this.message.slice(t, this.offset());
3229
3268
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3247,12 +3286,12 @@ var ai = (
3247
3286
  }
3248
3287
  var l = v(n, this.clonePosition());
3249
3288
  return {
3250
- val: { type: E.literal, value: i, location: l },
3289
+ val: { type: S.literal, value: i, location: l },
3251
3290
  err: null
3252
3291
  };
3253
3292
  }, e.prototype.tryParseLeftAngleBracket = function() {
3254
3293
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3255
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3294
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3256
3295
  }, e.prototype.tryParseQuote = function(t) {
3257
3296
  if (this.isEOF() || this.char() !== 39)
3258
3297
  return null;
@@ -3295,19 +3334,19 @@ var ai = (
3295
3334
  }, e.prototype.parseArgument = function(t, r) {
3296
3335
  var n = this.clonePosition();
3297
3336
  if (this.bump(), this.bumpSpace(), this.isEOF())
3298
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3337
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3299
3338
  if (this.char() === 125)
3300
- return this.bump(), this.error(g.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3339
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3301
3340
  var i = this.parseIdentifierIfPossible().value;
3302
3341
  if (!i)
3303
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3342
+ return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3304
3343
  if (this.bumpSpace(), this.isEOF())
3305
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3344
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3306
3345
  switch (this.char()) {
3307
3346
  case 125:
3308
3347
  return this.bump(), {
3309
3348
  val: {
3310
- type: E.argument,
3349
+ type: S.argument,
3311
3350
  // value does not include the opening and closing braces.
3312
3351
  value: i,
3313
3352
  location: v(n, this.clonePosition())
@@ -3315,9 +3354,9 @@ var ai = (
3315
3354
  err: null
3316
3355
  };
3317
3356
  case 44:
3318
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3357
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3319
3358
  default:
3320
- return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3359
+ return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3321
3360
  }
3322
3361
  }, e.prototype.parseIdentifierIfPossible = function() {
3323
3362
  var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
@@ -3328,7 +3367,7 @@ var ai = (
3328
3367
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3329
3368
  switch (a) {
3330
3369
  case "":
3331
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(s, l));
3370
+ return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
3332
3371
  case "number":
3333
3372
  case "date":
3334
3373
  case "time": {
@@ -3339,46 +3378,46 @@ var ai = (
3339
3378
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3340
3379
  if (c.err)
3341
3380
  return c;
3342
- var f = si(c.val);
3381
+ var f = ai(c.val);
3343
3382
  if (f.length === 0)
3344
- return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3383
+ return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3345
3384
  var m = v(h, this.clonePosition());
3346
3385
  u = { style: f, styleLocation: m };
3347
3386
  }
3348
- var p = this.tryParseArgumentClose(i);
3349
- if (p.err)
3350
- return p;
3351
- var d = v(i, this.clonePosition());
3387
+ var d = this.tryParseArgumentClose(i);
3388
+ if (d.err)
3389
+ return d;
3390
+ var p = v(i, this.clonePosition());
3352
3391
  if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3353
- var A = oi(u.style.slice(2));
3392
+ var w = si(u.style.slice(2));
3354
3393
  if (a === "number") {
3355
- var c = this.parseNumberSkeletonFromString(A, u.styleLocation);
3394
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3356
3395
  return c.err ? c : {
3357
- val: { type: E.number, value: n, location: d, style: c.val },
3396
+ val: { type: S.number, value: n, location: p, style: c.val },
3358
3397
  err: null
3359
3398
  };
3360
3399
  } else {
3361
- if (A.length === 0)
3362
- return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3363
- var I = A;
3364
- this.locale && (I = zn(A, this.locale));
3400
+ if (w.length === 0)
3401
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3402
+ var M = w;
3403
+ this.locale && (M = Wn(w, this.locale));
3365
3404
  var f = {
3366
- type: Z.dateTime,
3367
- pattern: I,
3405
+ type: W.dateTime,
3406
+ pattern: M,
3368
3407
  location: u.styleLocation,
3369
- parsedOptions: this.shouldParseSkeletons ? Un(I) : {}
3370
- }, C = a === "date" ? E.date : E.time;
3408
+ parsedOptions: this.shouldParseSkeletons ? Dn(M) : {}
3409
+ }, C = a === "date" ? S.date : S.time;
3371
3410
  return {
3372
- val: { type: C, value: n, location: d, style: f },
3411
+ val: { type: C, value: n, location: p, style: f },
3373
3412
  err: null
3374
3413
  };
3375
3414
  }
3376
3415
  }
3377
3416
  return {
3378
3417
  val: {
3379
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3418
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3380
3419
  value: n,
3381
- location: d,
3420
+ location: p,
3382
3421
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3383
3422
  },
3384
3423
  err: null
@@ -3387,30 +3426,30 @@ var ai = (
3387
3426
  case "plural":
3388
3427
  case "selectordinal":
3389
3428
  case "select": {
3390
- var S = this.clonePosition();
3429
+ var T = this.clonePosition();
3391
3430
  if (this.bumpSpace(), !this.bumpIf(","))
3392
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, y({}, S)));
3431
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
3393
3432
  this.bumpSpace();
3394
- var T = this.parseIdentifierIfPossible(), _ = 0;
3395
- if (a !== "select" && T.value === "offset") {
3433
+ var _ = this.parseIdentifierIfPossible(), E = 0;
3434
+ if (a !== "select" && _.value === "offset") {
3396
3435
  if (!this.bumpIf(":"))
3397
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3436
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3398
3437
  this.bumpSpace();
3399
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3438
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3400
3439
  if (c.err)
3401
3440
  return c;
3402
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), _ = c.val;
3441
+ this.bumpSpace(), _ = this.parseIdentifierIfPossible(), E = c.val;
3403
3442
  }
3404
- var x = this.tryParsePluralOrSelectOptions(t, a, r, T);
3443
+ var x = this.tryParsePluralOrSelectOptions(t, a, r, _);
3405
3444
  if (x.err)
3406
3445
  return x;
3407
- var p = this.tryParseArgumentClose(i);
3408
- if (p.err)
3409
- return p;
3446
+ var d = this.tryParseArgumentClose(i);
3447
+ if (d.err)
3448
+ return d;
3410
3449
  var P = v(i, this.clonePosition());
3411
3450
  return a === "select" ? {
3412
3451
  val: {
3413
- type: E.select,
3452
+ type: S.select,
3414
3453
  value: n,
3415
3454
  options: St(x.val),
3416
3455
  location: P
@@ -3418,10 +3457,10 @@ var ai = (
3418
3457
  err: null
3419
3458
  } : {
3420
3459
  val: {
3421
- type: E.plural,
3460
+ type: S.plural,
3422
3461
  value: n,
3423
3462
  options: St(x.val),
3424
- offset: _,
3463
+ offset: E,
3425
3464
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3426
3465
  location: P
3427
3466
  },
@@ -3429,10 +3468,10 @@ var ai = (
3429
3468
  };
3430
3469
  }
3431
3470
  default:
3432
- return this.error(g.INVALID_ARGUMENT_TYPE, v(s, l));
3471
+ return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
3433
3472
  }
3434
3473
  }, e.prototype.tryParseArgumentClose = function(t) {
3435
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3474
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3436
3475
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3437
3476
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3438
3477
  var n = this.char();
@@ -3441,7 +3480,7 @@ var ai = (
3441
3480
  this.bump();
3442
3481
  var i = this.clonePosition();
3443
3482
  if (!this.bumpUntil("'"))
3444
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3483
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3445
3484
  this.bump();
3446
3485
  break;
3447
3486
  }
@@ -3471,16 +3510,16 @@ var ai = (
3471
3510
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3472
3511
  var n = [];
3473
3512
  try {
3474
- n = Fn(t);
3513
+ n = jn(t);
3475
3514
  } catch (i) {
3476
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3515
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3477
3516
  }
3478
3517
  return {
3479
3518
  val: {
3480
- type: Z.number,
3519
+ type: W.number,
3481
3520
  tokens: n,
3482
3521
  location: r,
3483
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3522
+ parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3484
3523
  },
3485
3524
  err: null
3486
3525
  };
@@ -3489,7 +3528,7 @@ var ai = (
3489
3528
  if (u.length === 0) {
3490
3529
  var c = this.clonePosition();
3491
3530
  if (r !== "select" && this.bumpIf("=")) {
3492
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3531
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3493
3532
  if (f.err)
3494
3533
  return f;
3495
3534
  h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3497,26 +3536,26 @@ var ai = (
3497
3536
  break;
3498
3537
  }
3499
3538
  if (l.has(u))
3500
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3539
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3501
3540
  u === "other" && (s = !0), this.bumpSpace();
3502
3541
  var m = this.clonePosition();
3503
3542
  if (!this.bumpIf("{"))
3504
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3505
- var p = this.parseMessage(t + 1, r, n);
3506
- if (p.err)
3507
- return p;
3508
- var d = this.tryParseArgumentClose(m);
3543
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3544
+ var d = this.parseMessage(t + 1, r, n);
3509
3545
  if (d.err)
3510
3546
  return d;
3547
+ var p = this.tryParseArgumentClose(m);
3548
+ if (p.err)
3549
+ return p;
3511
3550
  a.push([
3512
3551
  u,
3513
3552
  {
3514
- value: p.val,
3553
+ value: d.val,
3515
3554
  location: v(m, this.clonePosition())
3516
3555
  }
3517
3556
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3518
3557
  }
3519
- return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3558
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3520
3559
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3521
3560
  var n = 1, i = this.clonePosition();
3522
3561
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3528,7 +3567,7 @@ var ai = (
3528
3567
  break;
3529
3568
  }
3530
3569
  var l = v(i, this.clonePosition());
3531
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3570
+ return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3532
3571
  }, e.prototype.offset = function() {
3533
3572
  return this.position.offset;
3534
3573
  }, e.prototype.isEOF = function() {
@@ -3597,16 +3636,16 @@ var ai = (
3597
3636
  function We(e) {
3598
3637
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3599
3638
  }
3600
- function ui(e) {
3639
+ function li(e) {
3601
3640
  return We(e) || e === 47;
3602
3641
  }
3603
- function li(e) {
3642
+ function hi(e) {
3604
3643
  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;
3605
3644
  }
3606
3645
  function hr(e) {
3607
3646
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3608
3647
  }
3609
- function hi(e) {
3648
+ function ci(e) {
3610
3649
  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;
3611
3650
  }
3612
3651
  function Ze(e) {
@@ -3614,26 +3653,27 @@ function Ze(e) {
3614
3653
  if (delete t.location, er(t) || tr(t))
3615
3654
  for (var r in t.options)
3616
3655
  delete t.options[r].location, Ze(t.options[r].value);
3617
- else Yt(t) && nr(t.style) || (qt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
3656
+ else
3657
+ Yt(t) && nr(t.style) || (qt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
3618
3658
  });
3619
3659
  }
3620
- function ci(e, t) {
3660
+ function fi(e, t) {
3621
3661
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3622
- var r = new ai(e, t).parse();
3662
+ var r = new ui(e, t).parse();
3623
3663
  if (r.err) {
3624
- var n = SyntaxError(g[r.err.kind]);
3664
+ var n = SyntaxError(b[r.err.kind]);
3625
3665
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3626
3666
  }
3627
3667
  return t != null && t.captureLocation || Ze(r.val), r.val;
3628
3668
  }
3629
- var Q;
3669
+ var Z;
3630
3670
  (function(e) {
3631
3671
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3632
- })(Q || (Q = {}));
3672
+ })(Z || (Z = {}));
3633
3673
  var Ee = (
3634
3674
  /** @class */
3635
3675
  function(e) {
3636
- G(t, e);
3676
+ $(t, e);
3637
3677
  function t(r, n, i) {
3638
3678
  var o = e.call(this, r) || this;
3639
3679
  return o.code = n, o.originalMessage = i, o;
@@ -3642,51 +3682,51 @@ var Ee = (
3642
3682
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3643
3683
  }, t;
3644
3684
  }(Error)
3645
- ), wt = (
3685
+ ), Tt = (
3646
3686
  /** @class */
3647
3687
  function(e) {
3648
- G(t, e);
3688
+ $(t, e);
3649
3689
  function t(r, n, i, o) {
3650
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3690
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3651
3691
  }
3652
3692
  return t;
3653
3693
  }(Ee)
3654
- ), fi = (
3694
+ ), mi = (
3655
3695
  /** @class */
3656
3696
  function(e) {
3657
- G(t, e);
3697
+ $(t, e);
3658
3698
  function t(r, n, i) {
3659
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3699
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3660
3700
  }
3661
3701
  return t;
3662
3702
  }(Ee)
3663
- ), mi = (
3703
+ ), di = (
3664
3704
  /** @class */
3665
3705
  function(e) {
3666
- G(t, e);
3706
+ $(t, e);
3667
3707
  function t(r, n) {
3668
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3708
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3669
3709
  }
3670
3710
  return t;
3671
3711
  }(Ee)
3672
- ), B;
3712
+ ), A;
3673
3713
  (function(e) {
3674
3714
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3675
- })(B || (B = {}));
3676
- function di(e) {
3715
+ })(A || (A = {}));
3716
+ function pi(e) {
3677
3717
  return e.length < 2 ? e : e.reduce(function(t, r) {
3678
3718
  var n = t[t.length - 1];
3679
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3719
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3680
3720
  }, []);
3681
3721
  }
3682
- function pi(e) {
3722
+ function bi(e) {
3683
3723
  return typeof e == "function";
3684
3724
  }
3685
3725
  function pe(e, t, r, n, i, o, s) {
3686
3726
  if (e.length === 1 && vt(e[0]))
3687
3727
  return [
3688
3728
  {
3689
- type: B.literal,
3729
+ type: A.literal,
3690
3730
  value: e[0].value
3691
3731
  }
3692
3732
  ];
@@ -3694,25 +3734,25 @@ function pe(e, t, r, n, i, o, s) {
3694
3734
  var h = u[l];
3695
3735
  if (vt(h)) {
3696
3736
  a.push({
3697
- type: B.literal,
3737
+ type: A.literal,
3698
3738
  value: h.value
3699
3739
  });
3700
3740
  continue;
3701
3741
  }
3702
- if ($n(h)) {
3742
+ if (Gn(h)) {
3703
3743
  typeof o == "number" && a.push({
3704
- type: B.literal,
3744
+ type: A.literal,
3705
3745
  value: r.getNumberFormat(t).format(o)
3706
3746
  });
3707
3747
  continue;
3708
3748
  }
3709
3749
  var c = h.value;
3710
3750
  if (!(i && c in i))
3711
- throw new mi(c, s);
3751
+ throw new di(c, s);
3712
3752
  var f = i[c];
3713
- if (Rn(h)) {
3753
+ if ($n(h)) {
3714
3754
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3715
- type: typeof f == "string" ? B.literal : B.object,
3755
+ type: typeof f == "string" ? A.literal : A.object,
3716
3756
  value: f
3717
3757
  });
3718
3758
  continue;
@@ -3720,7 +3760,7 @@ function pe(e, t, r, n, i, o, s) {
3720
3760
  if (qt(h)) {
3721
3761
  var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3722
3762
  a.push({
3723
- type: B.literal,
3763
+ type: A.literal,
3724
3764
  value: r.getDateTimeFormat(t, m).format(f)
3725
3765
  });
3726
3766
  continue;
@@ -3728,7 +3768,7 @@ function pe(e, t, r, n, i, o, s) {
3728
3768
  if (Kt(h)) {
3729
3769
  var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3730
3770
  a.push({
3731
- type: B.literal,
3771
+ type: A.literal,
3732
3772
  value: r.getDateTimeFormat(t, m).format(f)
3733
3773
  });
3734
3774
  continue;
@@ -3736,58 +3776,58 @@ function pe(e, t, r, n, i, o, s) {
3736
3776
  if (Yt(h)) {
3737
3777
  var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3738
3778
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3739
- type: B.literal,
3779
+ type: A.literal,
3740
3780
  value: r.getNumberFormat(t, m).format(f)
3741
3781
  });
3742
3782
  continue;
3743
3783
  }
3744
3784
  if (rr(h)) {
3745
- var p = h.children, d = h.value, A = i[d];
3746
- if (!pi(A))
3747
- throw new fi(d, "function", s);
3748
- var I = pe(p, t, r, n, i, o), C = A(I.map(function(_) {
3749
- return _.value;
3785
+ var d = h.children, p = h.value, w = i[p];
3786
+ if (!bi(w))
3787
+ throw new mi(p, "function", s);
3788
+ var M = pe(d, t, r, n, i, o), C = w(M.map(function(E) {
3789
+ return E.value;
3750
3790
  }));
3751
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(_) {
3791
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
3752
3792
  return {
3753
- type: typeof _ == "string" ? B.literal : B.object,
3754
- value: _
3793
+ type: typeof E == "string" ? A.literal : A.object,
3794
+ value: E
3755
3795
  };
3756
3796
  }));
3757
3797
  }
3758
3798
  if (er(h)) {
3759
- var S = h.options[f] || h.options.other;
3760
- if (!S)
3761
- throw new wt(h.value, f, Object.keys(h.options), s);
3762
- a.push.apply(a, pe(S.value, t, r, n, i));
3799
+ var T = h.options[f] || h.options.other;
3800
+ if (!T)
3801
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3802
+ a.push.apply(a, pe(T.value, t, r, n, i));
3763
3803
  continue;
3764
3804
  }
3765
3805
  if (tr(h)) {
3766
- var S = h.options["=".concat(f)];
3767
- if (!S) {
3806
+ var T = h.options["=".concat(f)];
3807
+ if (!T) {
3768
3808
  if (!Intl.PluralRules)
3769
3809
  throw new Ee(`Intl.PluralRules is not available in this environment.
3770
3810
  Try polyfilling it using "@formatjs/intl-pluralrules"
3771
- `, Q.MISSING_INTL_API, s);
3772
- var T = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3773
- S = h.options[T] || h.options.other;
3811
+ `, Z.MISSING_INTL_API, s);
3812
+ var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3813
+ T = h.options[_] || h.options.other;
3774
3814
  }
3775
- if (!S)
3776
- throw new wt(h.value, f, Object.keys(h.options), s);
3777
- a.push.apply(a, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3815
+ if (!T)
3816
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3817
+ a.push.apply(a, pe(T.value, t, r, n, i, f - (h.offset || 0)));
3778
3818
  continue;
3779
3819
  }
3780
3820
  }
3781
- return di(a);
3821
+ return pi(a);
3782
3822
  }
3783
- function bi(e, t) {
3823
+ function gi(e, t) {
3784
3824
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3785
3825
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3786
3826
  }, {})) : e;
3787
3827
  }
3788
- function gi(e, t) {
3828
+ function vi(e, t) {
3789
3829
  return t ? Object.keys(e).reduce(function(r, n) {
3790
- return r[n] = bi(e[n], t[n]), r;
3830
+ return r[n] = gi(e[n], t[n]), r;
3791
3831
  }, y({}, e)) : e;
3792
3832
  }
3793
3833
  function Ie(e) {
@@ -3804,7 +3844,7 @@ function Ie(e) {
3804
3844
  }
3805
3845
  };
3806
3846
  }
3807
- function vi(e) {
3847
+ function yi(e) {
3808
3848
  return e === void 0 && (e = {
3809
3849
  number: {},
3810
3850
  dateTime: {},
@@ -3813,7 +3853,7 @@ function vi(e) {
3813
3853
  getNumberFormat: Ce(function() {
3814
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3855
  r[n] = arguments[n];
3816
- return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3856
+ return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3817
3857
  }, {
3818
3858
  cache: Ie(e.number),
3819
3859
  strategy: Pe.variadic
@@ -3821,7 +3861,7 @@ function vi(e) {
3821
3861
  getDateTimeFormat: Ce(function() {
3822
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3863
  r[n] = arguments[n];
3824
- return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3864
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3825
3865
  }, {
3826
3866
  cache: Ie(e.dateTime),
3827
3867
  strategy: Pe.variadic
@@ -3829,14 +3869,14 @@ function vi(e) {
3829
3869
  getPluralRules: Ce(function() {
3830
3870
  for (var t, r = [], n = 0; n < arguments.length; n++)
3831
3871
  r[n] = arguments[n];
3832
- return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3872
+ return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3833
3873
  }, {
3834
3874
  cache: Ie(e.pluralRules),
3835
3875
  strategy: Pe.variadic
3836
3876
  })
3837
3877
  };
3838
3878
  }
3839
- var yi = (
3879
+ var xi = (
3840
3880
  /** @class */
3841
3881
  function() {
3842
3882
  function e(t, r, n, i) {
@@ -3851,7 +3891,7 @@ var yi = (
3851
3891
  if (u.length === 1)
3852
3892
  return u[0].value;
3853
3893
  var h = u.reduce(function(c, f) {
3854
- return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3894
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3855
3895
  }, []);
3856
3896
  return h.length <= 1 ? h[0] || "" : h;
3857
3897
  }, this.formatToParts = function(l) {
@@ -3868,13 +3908,13 @@ var yi = (
3868
3908
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3869
3909
  var s = i || {};
3870
3910
  s.formatters;
3871
- var a = Yr(s, ["formatters"]);
3911
+ var a = qr(s, ["formatters"]);
3872
3912
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3873
3913
  } else
3874
3914
  this.ast = t;
3875
3915
  if (!Array.isArray(this.ast))
3876
3916
  throw new TypeError("A message must be provided as a String or AST.");
3877
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3917
+ this.formats = vi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3878
3918
  }
3879
3919
  return Object.defineProperty(e, "defaultLocale", {
3880
3920
  get: function() {
@@ -3887,7 +3927,7 @@ var yi = (
3887
3927
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3888
3928
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3889
3929
  }
3890
- }, e.__parse = ci, e.formats = {
3930
+ }, e.__parse = fi, e.formats = {
3891
3931
  number: {
3892
3932
  integer: {
3893
3933
  maximumFractionDigits: 0
@@ -3948,7 +3988,7 @@ var yi = (
3948
3988
  }, e;
3949
3989
  }()
3950
3990
  );
3951
- function xi(e, t) {
3991
+ function _i(e, t) {
3952
3992
  if (t == null)
3953
3993
  return;
3954
3994
  if (t in e)
@@ -3969,31 +4009,31 @@ function xi(e, t) {
3969
4009
  n = void 0;
3970
4010
  return n;
3971
4011
  }
3972
- const U = {}, _i = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), cr = (e, t) => {
4012
+ const G = {}, Ei = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), cr = (e, t) => {
3973
4013
  if (t == null)
3974
4014
  return;
3975
- if (t in U && e in U[t])
3976
- return U[t][e];
4015
+ if (t in G && e in G[t])
4016
+ return G[t][e];
3977
4017
  const r = Se(t);
3978
4018
  for (let n = 0; n < r.length; n++) {
3979
- const i = r[n], o = Si(i, e);
4019
+ const i = r[n], o = wi(i, e);
3980
4020
  if (o)
3981
- return _i(e, t, o);
4021
+ return Ei(e, t, o);
3982
4022
  }
3983
4023
  };
3984
- let tt;
4024
+ let et;
3985
4025
  const ue = _e({});
3986
- function Ei(e) {
3987
- return tt[e] || null;
4026
+ function Si(e) {
4027
+ return et[e] || null;
3988
4028
  }
3989
4029
  function fr(e) {
3990
- return e in tt;
4030
+ return e in et;
3991
4031
  }
3992
- function Si(e, t) {
4032
+ function wi(e, t) {
3993
4033
  if (!fr(e))
3994
4034
  return null;
3995
- const r = Ei(e);
3996
- return xi(r, t);
4035
+ const r = Si(e);
4036
+ return _i(r, t);
3997
4037
  }
3998
4038
  function Ti(e) {
3999
4039
  if (e == null)
@@ -4006,21 +4046,21 @@ function Ti(e) {
4006
4046
  }
4007
4047
  }
4008
4048
  function mr(e, ...t) {
4009
- delete U[e], ue.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
4049
+ delete G[e], ue.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
4010
4050
  }
4011
- K(
4051
+ q(
4012
4052
  [ue],
4013
4053
  ([e]) => Object.keys(e)
4014
4054
  );
4015
- ue.subscribe((e) => tt = e);
4055
+ ue.subscribe((e) => et = e);
4016
4056
  const be = {};
4017
- function wi(e, t) {
4057
+ function Hi(e, t) {
4018
4058
  be[e].delete(t), be[e].size === 0 && delete be[e];
4019
4059
  }
4020
4060
  function dr(e) {
4021
4061
  return be[e];
4022
4062
  }
4023
- function Hi(e) {
4063
+ function Bi(e) {
4024
4064
  return Se(e).map((t) => {
4025
4065
  const r = dr(t);
4026
4066
  return [t, r ? [...r] : []];
@@ -4034,27 +4074,27 @@ function Qe(e) {
4034
4074
  }
4035
4075
  );
4036
4076
  }
4037
- function Bi(e, t) {
4077
+ function Ai(e, t) {
4038
4078
  return Promise.all(
4039
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4079
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4040
4080
  ).then((n) => mr(e, ...n));
4041
4081
  }
4042
- const re = {};
4082
+ const te = {};
4043
4083
  function pr(e) {
4044
4084
  if (!Qe(e))
4045
- return e in re ? re[e] : Promise.resolve();
4046
- const t = Hi(e);
4047
- return re[e] = Promise.all(
4085
+ return e in te ? te[e] : Promise.resolve();
4086
+ const t = Bi(e);
4087
+ return te[e] = Promise.all(
4048
4088
  t.map(
4049
- ([r, n]) => Bi(r, n)
4089
+ ([r, n]) => Ai(r, n)
4050
4090
  )
4051
4091
  ).then(() => {
4052
4092
  if (Qe(e))
4053
4093
  return pr(e);
4054
- delete re[e];
4055
- }), re[e];
4094
+ delete te[e];
4095
+ }), te[e];
4056
4096
  }
4057
- const Ai = {
4097
+ const Ci = {
4058
4098
  number: {
4059
4099
  scientific: { notation: "scientific" },
4060
4100
  engineering: { notation: "engineering" },
@@ -4083,72 +4123,72 @@ const Ai = {
4083
4123
  timeZoneName: "short"
4084
4124
  }
4085
4125
  }
4086
- }, Ci = {
4126
+ }, Pi = {
4087
4127
  fallbackLocale: null,
4088
4128
  loadingDelay: 200,
4089
- formats: Ai,
4129
+ formats: Ci,
4090
4130
  warnOnMissingMessages: !0,
4091
4131
  handleMissingMessage: void 0,
4092
4132
  ignoreTag: !0
4093
- }, Pi = Ci;
4094
- function J() {
4095
- return Pi;
4133
+ }, Oi = Pi;
4134
+ function Q() {
4135
+ return Oi;
4096
4136
  }
4097
- const Ne = _e(!1);
4098
- var Oi = Object.defineProperty, Ii = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4137
+ const Me = _e(!1);
4138
+ var Ii = Object.defineProperty, Mi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4099
4139
  for (var r in t || (t = {}))
4100
- Mi.call(t, r) && Bt(e, r, t[r]);
4140
+ Li.call(t, r) && Bt(e, r, t[r]);
4101
4141
  if (Ht)
4102
4142
  for (var r of Ht(t))
4103
- Li.call(t, r) && Bt(e, r, t[r]);
4143
+ Ri.call(t, r) && Bt(e, r, t[r]);
4104
4144
  return e;
4105
- }, $i = (e, t) => Ii(e, Ni(t));
4145
+ }, Gi = (e, t) => Mi(e, Ni(t));
4106
4146
  let Je;
4107
4147
  const ve = _e(null);
4108
4148
  function At(e) {
4109
4149
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4110
4150
  }
4111
- function Se(e, t = J().fallbackLocale) {
4151
+ function Se(e, t = Q().fallbackLocale) {
4112
4152
  const r = At(e);
4113
4153
  return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4114
4154
  }
4115
- function D() {
4155
+ function U() {
4116
4156
  return Je != null ? Je : void 0;
4117
4157
  }
4118
4158
  ve.subscribe((e) => {
4119
4159
  Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4120
4160
  });
4121
- const Gi = (e) => {
4161
+ const Ui = (e) => {
4122
4162
  if (e && Ti(e) && Qe(e)) {
4123
- const { loadingDelay: t } = J();
4163
+ const { loadingDelay: t } = Q();
4124
4164
  let r;
4125
- return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4126
- () => Ne.set(!0),
4165
+ return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4166
+ () => Me.set(!0),
4127
4167
  t
4128
- ) : Ne.set(!0), pr(e).then(() => {
4168
+ ) : Me.set(!0), pr(e).then(() => {
4129
4169
  ve.set(e);
4130
4170
  }).finally(() => {
4131
- clearTimeout(r), Ne.set(!1);
4171
+ clearTimeout(r), Me.set(!1);
4132
4172
  });
4133
4173
  }
4134
4174
  return ve.set(e);
4135
- }, ee = $i(Ri({}, ve), {
4136
- set: Gi
4137
- }), Te = (e) => {
4175
+ }, K = Gi($i({}, ve), {
4176
+ set: Ui
4177
+ }), we = (e) => {
4138
4178
  const t = /* @__PURE__ */ Object.create(null);
4139
4179
  return (n) => {
4140
4180
  const i = JSON.stringify(n);
4141
4181
  return i in t ? t[i] : t[i] = e(n);
4142
4182
  };
4143
4183
  };
4144
- var Ui = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4184
+ var Di = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4145
4185
  for (var r in t || (t = {}))
4146
4186
  br.call(t, r) && Ct(e, r, t[r]);
4147
4187
  if (ye)
4148
4188
  for (var r of ye(t))
4149
4189
  gr.call(t, r) && Ct(e, r, t[r]);
4150
4190
  return e;
4151
- }, te = (e, t) => {
4191
+ }, ee = (e, t) => {
4152
4192
  var r = {};
4153
4193
  for (var n in e)
4154
4194
  br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -4158,66 +4198,66 @@ var Ui = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.p
4158
4198
  return r;
4159
4199
  };
4160
4200
  const se = (e, t) => {
4161
- const { formats: r } = J();
4201
+ const { formats: r } = Q();
4162
4202
  if (e in r && t in r[e])
4163
4203
  return r[e][t];
4164
4204
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4165
- }, Di = Te(
4205
+ }, Fi = we(
4166
4206
  (e) => {
4167
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4207
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4168
4208
  if (r == null)
4169
4209
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4170
4210
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4171
4211
  }
4172
- ), Fi = Te(
4212
+ ), ji = we(
4173
4213
  (e) => {
4174
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4214
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4175
4215
  if (r == null)
4176
4216
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4177
4217
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4178
4218
  }
4179
- ), ji = Te(
4219
+ ), ki = we(
4180
4220
  (e) => {
4181
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4221
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4182
4222
  if (r == null)
4183
4223
  throw new Error(
4184
4224
  '[svelte-i18n] A "locale" must be set to format time values'
4185
4225
  );
4186
4226
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4187
4227
  }
4188
- ), ki = (e = {}) => {
4228
+ ), Vi = (e = {}) => {
4189
4229
  var t = e, {
4190
- locale: r = D()
4191
- } = t, n = te(t, [
4230
+ locale: r = U()
4231
+ } = t, n = ee(t, [
4192
4232
  "locale"
4193
4233
  ]);
4194
- return Di(rt({ locale: r }, n));
4195
- }, Vi = (e = {}) => {
4234
+ return Fi(tt({ locale: r }, n));
4235
+ }, Xi = (e = {}) => {
4196
4236
  var t = e, {
4197
- locale: r = D()
4198
- } = t, n = te(t, [
4237
+ locale: r = U()
4238
+ } = t, n = ee(t, [
4199
4239
  "locale"
4200
4240
  ]);
4201
- return Fi(rt({ locale: r }, n));
4202
- }, Xi = (e = {}) => {
4241
+ return ji(tt({ locale: r }, n));
4242
+ }, zi = (e = {}) => {
4203
4243
  var t = e, {
4204
- locale: r = D()
4205
- } = t, n = te(t, [
4244
+ locale: r = U()
4245
+ } = t, n = ee(t, [
4206
4246
  "locale"
4207
4247
  ]);
4208
- return ji(rt({ locale: r }, n));
4209
- }, zi = Te(
4248
+ return ki(tt({ locale: r }, n));
4249
+ }, Wi = we(
4210
4250
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4211
- (e, t = D()) => new yi(e, t, J().formats, {
4212
- ignoreTag: J().ignoreTag
4251
+ (e, t = U()) => new xi(e, t, Q().formats, {
4252
+ ignoreTag: Q().ignoreTag
4213
4253
  })
4214
- ), Wi = (e, t = {}) => {
4254
+ ), Zi = (e, t = {}) => {
4215
4255
  var r, n, i, o;
4216
4256
  let s = t;
4217
4257
  typeof e == "object" && (s = e, e = s.id);
4218
4258
  const {
4219
4259
  values: a,
4220
- locale: l = D(),
4260
+ locale: l = U(),
4221
4261
  default: u
4222
4262
  } = s;
4223
4263
  if (l == null)
@@ -4226,7 +4266,7 @@ const se = (e, t) => {
4226
4266
  );
4227
4267
  let h = cr(e, l);
4228
4268
  if (!h)
4229
- h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4269
+ h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4230
4270
  else if (typeof h != "string")
4231
4271
  return console.warn(
4232
4272
  `[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.`
@@ -4235,7 +4275,7 @@ const se = (e, t) => {
4235
4275
  return h;
4236
4276
  let c = h;
4237
4277
  try {
4238
- c = zi(h, l).format(a);
4278
+ c = Wi(h, l).format(a);
4239
4279
  } catch (f) {
4240
4280
  f instanceof Error && console.warn(
4241
4281
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4243,18 +4283,18 @@ const se = (e, t) => {
4243
4283
  );
4244
4284
  }
4245
4285
  return c;
4246
- }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), Yi = (e, t = D()) => cr(e, t), qi = K([ee, ue], () => Wi);
4247
- K([ee], () => Zi);
4248
- K([ee], () => Qi);
4249
- K([ee], () => Ji);
4250
- K([ee, ue], () => Yi);
4251
- window.emWidgets = { topic: fn };
4252
- const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4286
+ }, Qi = (e, t) => zi(t).format(e), Ji = (e, t) => Xi(t).format(e), Yi = (e, t) => Vi(t).format(e), qi = (e, t = U()) => cr(e, t), Ki = q([K, ue], () => Zi);
4287
+ q([K], () => Qi);
4288
+ q([K], () => Ji);
4289
+ q([K], () => Yi);
4290
+ q([K, ue], () => qi);
4291
+ window.emWidgets = { topic: mn };
4292
+ const eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4253
4293
  function Pt(e, t) {
4254
4294
  mr(e, t);
4255
4295
  }
4256
- function eo(e) {
4257
- ee.set(e);
4296
+ function to(e) {
4297
+ K.set(e);
4258
4298
  }
4259
4299
  const Ot = {
4260
4300
  en: {
@@ -4302,36 +4342,59 @@ const Ot = {
4302
4342
  confirm: "Confirm"
4303
4343
  }
4304
4344
  };
4305
- function to(e) {
4306
- Nr(e, "svelte-1o81iqe", '*,*::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, 20px);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, 20px)}.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}');
4345
+ function ro(e, t) {
4346
+ if (e) {
4347
+ const r = document.createElement("style");
4348
+ r.innerHTML = t, e.appendChild(r);
4349
+ }
4350
+ }
4351
+ function no(e, t) {
4352
+ const r = new URL(t);
4353
+ fetch(r.href).then((n) => n.text()).then((n) => {
4354
+ const i = document.createElement("style");
4355
+ i.innerHTML = n, e && e.appendChild(i);
4356
+ }).catch((n) => {
4357
+ console.error("There was an error while trying to load client styling from URL", n);
4358
+ });
4307
4359
  }
4308
- const ro = (e) => ({}), It = (e) => ({});
4309
- function no(e) {
4360
+ function io(e, t, r) {
4361
+ if (window.emMessageBus) {
4362
+ const n = document.createElement("style");
4363
+ window.emMessageBus.subscribe(t, (i) => {
4364
+ n.innerHTML = i, e && e.appendChild(n);
4365
+ });
4366
+ }
4367
+ }
4368
+ function oo(e) {
4369
+ Ir(e, "svelte-1o81iqe", '*,*::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, 20px);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, 20px)}.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}');
4370
+ }
4371
+ const so = (e) => ({}), It = (e) => ({});
4372
+ function ao(e) {
4310
4373
  let t, r;
4311
4374
  return {
4312
4375
  c() {
4313
- t = ut("svg"), r = ut("path"), w(r, "stroke-linecap", "round"), w(r, "stroke-linejoin", "round"), w(r, "stroke-width", "2"), w(r, "d", "M6 18L18 6M6 6l12 12"), w(t, "class", "w-6 h-6"), w(t, "fill", "none"), w(t, "stroke", "currentColor"), w(t, "viewBox", "0 0 24 24"), w(t, "xmlns", "http://www.w3.org/2000/svg");
4376
+ t = ut("svg"), r = ut("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4314
4377
  },
4315
4378
  m(n, i) {
4316
- ae(n, t, i), H(t, r);
4379
+ ae(n, t, i), B(t, r);
4317
4380
  },
4318
4381
  p: L,
4319
4382
  d(n) {
4320
- n && q(t);
4383
+ n && Y(t);
4321
4384
  }
4322
4385
  };
4323
4386
  }
4324
- function Nt(e) {
4387
+ function Mt(e) {
4325
4388
  let t, r, n;
4326
4389
  return {
4327
4390
  c() {
4328
- t = M("div"), r = M("h2"), n = ie(
4391
+ t = N("div"), r = N("h2"), n = ne(
4329
4392
  /*modaltitle*/
4330
4393
  e[1]
4331
- ), w(t, "class", "GeneralConfirmationTitle");
4394
+ ), H(t, "class", "GeneralConfirmationTitle");
4332
4395
  },
4333
4396
  m(i, o) {
4334
- ae(i, t, o), H(t, r), H(r, n);
4397
+ ae(i, t, o), B(t, r), B(r, n);
4335
4398
  },
4336
4399
  p(i, o) {
4337
4400
  o & /*modaltitle*/
@@ -4342,25 +4405,25 @@ function Nt(e) {
4342
4405
  );
4343
4406
  },
4344
4407
  d(i) {
4345
- i && q(t);
4408
+ i && Y(t);
4346
4409
  }
4347
4410
  };
4348
4411
  }
4349
- function Mt(e) {
4412
+ function Nt(e) {
4350
4413
  let t, r = (
4351
4414
  /*$_*/
4352
4415
  e[4]("cancel") + ""
4353
4416
  ), n, i, o;
4354
4417
  return {
4355
4418
  c() {
4356
- t = M("button"), n = ie(r), w(t, "class", "GeneralCancelButton");
4419
+ t = N("button"), n = ne(r), H(t, "class", "GeneralCancelButton");
4357
4420
  },
4358
4421
  m(s, a) {
4359
- ae(s, t, a), H(t, n), i || (o = Me(
4422
+ ae(s, t, a), B(t, n), i || (o = Ne(
4360
4423
  t,
4361
4424
  "click",
4362
4425
  /*click_handler*/
4363
- e[16]
4426
+ e[17]
4364
4427
  ), i = !0);
4365
4428
  },
4366
4429
  p(s, a) {
@@ -4369,177 +4432,169 @@ function Mt(e) {
4369
4432
  s[4]("cancel") + "") && ge(n, r);
4370
4433
  },
4371
4434
  d(s) {
4372
- s && q(t), i = !1, o();
4435
+ s && Y(t), i = !1, o();
4373
4436
  }
4374
4437
  };
4375
4438
  }
4376
- function io(e) {
4439
+ function uo(e) {
4377
4440
  let t, r, n, i, o, s, a, l, u, h, c, f = (
4378
4441
  /*$_*/
4379
4442
  e[4]("confirm") + ""
4380
- ), m, p, d, A;
4381
- const I = (
4443
+ ), m, d, p, w;
4444
+ const M = (
4382
4445
  /*#slots*/
4383
- e[15].close
4384
- ), C = Cr(
4385
- I,
4446
+ e[16].close
4447
+ ), C = Ar(
4448
+ M,
4386
4449
  e,
4387
4450
  /*$$scope*/
4388
- e[14],
4451
+ e[15],
4389
4452
  It
4390
- ), S = C || no();
4391
- let T = (
4453
+ ), T = C || ao();
4454
+ let _ = (
4392
4455
  /*modaltitle*/
4393
- e[1] && Nt(e)
4394
- ), _ = (
4456
+ e[1] && Mt(e)
4457
+ ), E = (
4395
4458
  /*hascancelbutton*/
4396
- e[2] && Mt(e)
4459
+ e[2] && Nt(e)
4397
4460
  );
4398
4461
  return {
4399
4462
  c() {
4400
- t = M("div"), r = M("div"), n = M("span"), S && S.c(), i = le(), T && T.c(), o = le(), s = M("div"), a = ie(
4463
+ t = N("div"), r = N("div"), n = N("span"), T && T.c(), i = le(), _ && _.c(), o = le(), s = N("div"), a = ne(
4401
4464
  /*modaltext*/
4402
4465
  e[0]
4403
- ), l = le(), u = M("div"), _ && _.c(), h = le(), c = M("button"), m = ie(f), w(n, "class", "ModalCloseBtn"), w(n, "role", "button"), w(s, "class", "GeneralConfirmationContent"), w(c, "class", "GeneralConfirmButton"), w(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4404
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), w(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4405
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), w(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4466
+ ), l = le(), u = N("div"), E && E.c(), h = le(), c = N("button"), m = ne(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4467
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4468
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4406
4469
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4407
4470
  },
4408
4471
  m(x, P) {
4409
- ae(x, t, P), H(t, r), H(r, n), S && S.m(n, null), H(r, i), T && T.m(r, null), H(r, o), H(r, s), H(s, a), H(r, l), H(r, u), _ && _.m(u, null), H(u, h), H(u, c), H(c, m), e[18](t), p = !0, d || (A = [
4410
- Me(
4472
+ ae(x, t, P), B(t, r), B(r, n), T && T.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), d = !0, p || (w = [
4473
+ Ne(
4411
4474
  n,
4412
4475
  "click",
4413
4476
  /*close*/
4414
4477
  e[6]
4415
4478
  ),
4416
- Me(
4479
+ Ne(
4417
4480
  c,
4418
4481
  "click",
4419
4482
  /*click_handler_1*/
4420
- e[17]
4483
+ e[18]
4421
4484
  )
4422
- ], d = !0);
4485
+ ], p = !0);
4423
4486
  },
4424
4487
  p(x, [P]) {
4425
- C && C.p && (!p || P & /*$$scope*/
4426
- 16384) && Or(
4488
+ C && C.p && (!d || P & /*$$scope*/
4489
+ 32768) && Pr(
4427
4490
  C,
4428
- I,
4491
+ M,
4429
4492
  x,
4430
4493
  /*$$scope*/
4431
- x[14],
4432
- p ? Pr(
4433
- I,
4494
+ x[15],
4495
+ d ? Cr(
4496
+ M,
4434
4497
  /*$$scope*/
4435
- x[14],
4498
+ x[15],
4436
4499
  P,
4437
- ro
4438
- ) : Ir(
4500
+ so
4501
+ ) : Or(
4439
4502
  /*$$scope*/
4440
- x[14]
4503
+ x[15]
4441
4504
  ),
4442
4505
  It
4443
4506
  ), /*modaltitle*/
4444
- x[1] ? T ? T.p(x, P) : (T = Nt(x), T.c(), T.m(r, o)) : T && (T.d(1), T = null), (!p || P & /*modaltext*/
4507
+ x[1] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4445
4508
  1) && ge(
4446
4509
  a,
4447
4510
  /*modaltext*/
4448
4511
  x[0]
4449
4512
  ), /*hascancelbutton*/
4450
- x[2] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(u, h)) : _ && (_.d(1), _ = null), (!p || P & /*$_*/
4513
+ x[2] ? E ? E.p(x, P) : (E = Nt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4451
4514
  16) && f !== (f = /*$_*/
4452
4515
  x[4]("confirm") + "") && ge(m, f);
4453
4516
  },
4454
4517
  i(x) {
4455
- p || (Ut(S, x), p = !0);
4518
+ d || (Ut(T, x), d = !0);
4456
4519
  },
4457
4520
  o(x) {
4458
- kr(S, x), p = !1;
4521
+ Vr(T, x), d = !1;
4459
4522
  },
4460
4523
  d(x) {
4461
- x && q(t), S && S.d(x), T && T.d(), _ && _.d(), e[18](null), d = !1, Y(A);
4524
+ x && Y(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, J(w);
4462
4525
  }
4463
4526
  };
4464
4527
  }
4465
- function oo(e, t, r) {
4528
+ function lo(e, t, r) {
4466
4529
  let n;
4467
- Ar(e, qi, (b) => r(4, n = b));
4468
- 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: p = "" } = t, d, A = window.navigator.userAgent, I = Ki(A) !== "PC";
4469
- const C = () => {
4530
+ Br(e, Ki, (g) => r(4, n = g));
4531
+ 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: d = "" } = t, { mbsource: p } = t, w, M = window.navigator.userAgent, C = eo(M) !== "PC";
4532
+ const T = () => {
4470
4533
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4471
- }, S = (b) => {
4472
- b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), C();
4473
- }, T = () => {
4474
- let b = document.createElement("style");
4475
- b.innerHTML = f, d.appendChild(b);
4476
- }, _ = () => {
4477
- let b = new URL(m), R = document.createElement("style");
4478
- fetch(b.href).then((F) => F.text()).then((F) => {
4479
- R.innerHTML = F, setTimeout(
4480
- () => {
4481
- d.appendChild(R);
4482
- },
4483
- 1
4484
- );
4485
- });
4486
- }, x = () => {
4487
- fetch(p).then((R) => R.json()).then((R) => {
4488
- Object.keys(R).forEach((F) => {
4489
- Pt(F, R[F]);
4534
+ }, _ = (g) => {
4535
+ g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
4536
+ }, E = () => {
4537
+ fetch(d).then((D) => D.json()).then((D) => {
4538
+ Object.keys(D).forEach((rt) => {
4539
+ Pt(rt, D[rt]);
4490
4540
  });
4491
- }).catch((R) => {
4492
- console.log(R);
4541
+ }).catch((D) => {
4542
+ console.log(D);
4493
4543
  });
4494
4544
  };
4495
- Object.keys(Ot).forEach((b) => {
4496
- Pt(b, Ot[b]);
4545
+ Object.keys(Ot).forEach((g) => {
4546
+ Pt(g, Ot[g]);
4497
4547
  });
4498
- const P = () => {
4499
- eo(c);
4500
- }, vr = () => S("cancel"), yr = () => S("confirm");
4501
- function xr(b) {
4502
- Le[b ? "unshift" : "push"](() => {
4503
- d = b, r(3, d);
4548
+ const x = () => {
4549
+ to(c);
4550
+ };
4551
+ Gr(() => () => {
4552
+ });
4553
+ const P = () => _("cancel"), vr = () => _("confirm");
4554
+ function yr(g) {
4555
+ Le[g ? "unshift" : "push"](() => {
4556
+ w = g, r(3, w);
4504
4557
  });
4505
4558
  }
4506
- return e.$$set = (b) => {
4507
- "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, p = b.translationurl), "$$scope" in b && r(14, o = b.$$scope);
4559
+ return e.$$set = (g) => {
4560
+ "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, d = g.translationurl), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4508
4561
  }, e.$$.update = () => {
4509
4562
  e.$$.dirty & /*modaltext, lang*/
4510
- 1025 && s && c && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4511
- 2056 && f && d && T(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4512
- 4104 && m && d && _(), e.$$.dirty & /*translationurl*/
4513
- 8192 && p && x();
4563
+ 1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4564
+ 2056 && f && w && ro(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4565
+ 4104 && m && w && no(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4566
+ 16392 && p && w && io(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4567
+ 8192 && d && E();
4514
4568
  }, [
4515
4569
  s,
4516
4570
  a,
4517
4571
  l,
4518
- d,
4572
+ w,
4519
4573
  n,
4520
- I,
4521
4574
  C,
4522
- S,
4575
+ T,
4576
+ _,
4523
4577
  u,
4524
4578
  h,
4525
4579
  c,
4526
4580
  f,
4527
4581
  m,
4582
+ d,
4528
4583
  p,
4529
4584
  o,
4530
4585
  i,
4586
+ P,
4531
4587
  vr,
4532
- yr,
4533
- xr
4588
+ yr
4534
4589
  ];
4535
4590
  }
4536
- class so extends Qr {
4591
+ class ho extends Jr {
4537
4592
  constructor(t) {
4538
- super(), Wr(
4593
+ super(), Zr(
4539
4594
  this,
4540
4595
  t,
4541
- oo,
4542
- io,
4596
+ lo,
4597
+ uo,
4543
4598
  Rt,
4544
4599
  {
4545
4600
  modaltext: 0,
@@ -4550,67 +4605,74 @@ class so extends Qr {
4550
4605
  lang: 10,
4551
4606
  clientstyling: 11,
4552
4607
  clientstylingurl: 12,
4553
- translationurl: 13
4608
+ translationurl: 13,
4609
+ mbsource: 14
4554
4610
  },
4555
- to
4611
+ oo
4556
4612
  );
4557
4613
  }
4558
4614
  get modaltext() {
4559
4615
  return this.$$.ctx[0];
4560
4616
  }
4561
4617
  set modaltext(t) {
4562
- this.$$set({ modaltext: t }), N();
4618
+ this.$$set({ modaltext: t }), I();
4563
4619
  }
4564
4620
  get modaltitle() {
4565
4621
  return this.$$.ctx[1];
4566
4622
  }
4567
4623
  set modaltitle(t) {
4568
- this.$$set({ modaltitle: t }), N();
4624
+ this.$$set({ modaltitle: t }), I();
4569
4625
  }
4570
4626
  get hascancelbutton() {
4571
4627
  return this.$$.ctx[2];
4572
4628
  }
4573
4629
  set hascancelbutton(t) {
4574
- this.$$set({ hascancelbutton: t }), N();
4630
+ this.$$set({ hascancelbutton: t }), I();
4575
4631
  }
4576
4632
  get modalconfirmevent() {
4577
4633
  return this.$$.ctx[8];
4578
4634
  }
4579
4635
  set modalconfirmevent(t) {
4580
- this.$$set({ modalconfirmevent: t }), N();
4636
+ this.$$set({ modalconfirmevent: t }), I();
4581
4637
  }
4582
4638
  get modalcancelevent() {
4583
4639
  return this.$$.ctx[9];
4584
4640
  }
4585
4641
  set modalcancelevent(t) {
4586
- this.$$set({ modalcancelevent: t }), N();
4642
+ this.$$set({ modalcancelevent: t }), I();
4587
4643
  }
4588
4644
  get lang() {
4589
4645
  return this.$$.ctx[10];
4590
4646
  }
4591
4647
  set lang(t) {
4592
- this.$$set({ lang: t }), N();
4648
+ this.$$set({ lang: t }), I();
4593
4649
  }
4594
4650
  get clientstyling() {
4595
4651
  return this.$$.ctx[11];
4596
4652
  }
4597
4653
  set clientstyling(t) {
4598
- this.$$set({ clientstyling: t }), N();
4654
+ this.$$set({ clientstyling: t }), I();
4599
4655
  }
4600
4656
  get clientstylingurl() {
4601
4657
  return this.$$.ctx[12];
4602
4658
  }
4603
4659
  set clientstylingurl(t) {
4604
- this.$$set({ clientstylingurl: t }), N();
4660
+ this.$$set({ clientstylingurl: t }), I();
4605
4661
  }
4606
4662
  get translationurl() {
4607
4663
  return this.$$.ctx[13];
4608
4664
  }
4609
4665
  set translationurl(t) {
4610
- this.$$set({ translationurl: t }), N();
4666
+ this.$$set({ translationurl: t }), I();
4667
+ }
4668
+ get mbsource() {
4669
+ return this.$$.ctx[14];
4670
+ }
4671
+ set mbsource(t) {
4672
+ this.$$set({ mbsource: t }), I();
4611
4673
  }
4612
4674
  }
4613
- Zr(so, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4675
+ Qr(ho, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4614
4676
  export {
4615
- so as default
4677
+ ho as default
4616
4678
  };