@everymatrix/player-email-verification 1.86.4 → 1.86.6

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,31 +1,31 @@
1
- var wt = Object.defineProperty, $t = Object.defineProperties;
1
+ var It = Object.defineProperty, $t = Object.defineProperties;
2
2
  var Lt = Object.getOwnPropertyDescriptors;
3
3
  var Le = Object.getOwnPropertySymbols;
4
4
  var Mt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
5
- var ae = (e, t, r) => t in e ? wt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Me = (e, t) => {
5
+ var he = (e, t, r) => t in e ? It(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Me = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Mt.call(t, r) && ae(e, r, t[r]);
7
+ Mt.call(t, r) && he(e, r, t[r]);
8
8
  if (Le)
9
9
  for (var r of Le(t))
10
- Ct.call(t, r) && ae(e, r, t[r]);
10
+ Ct.call(t, r) && he(e, r, t[r]);
11
11
  return e;
12
12
  }, Ce = (e, t) => $t(e, Lt(t));
13
- var v = (e, t, r) => (ae(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var v = (e, t, r) => (he(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Re = (e, t, r) => new Promise((n, i) => {
15
- var s = (u) => {
15
+ var s = (h) => {
16
16
  try {
17
- h(r.next(u));
17
+ u(r.next(h));
18
18
  } catch (a) {
19
19
  i(a);
20
20
  }
21
- }, o = (u) => {
21
+ }, o = (h) => {
22
22
  try {
23
- h(r.throw(u));
23
+ u(r.throw(h));
24
24
  } catch (a) {
25
25
  i(a);
26
26
  }
27
- }, h = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
28
- h((r = r.apply(e, t)).next());
27
+ }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
+ u((r = r.apply(e, t)).next());
29
29
  });
30
30
  function _() {
31
31
  }
@@ -35,10 +35,10 @@ function rt(e) {
35
35
  function Ue() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function W(e) {
38
+ function Z(e) {
39
39
  e.forEach(rt);
40
40
  }
41
- function Be(e) {
41
+ function Pe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function nt(e, t) {
@@ -62,7 +62,7 @@ function Ut(e, t, r) {
62
62
  function st(e, t, r) {
63
63
  e.insertBefore(t, r || null);
64
64
  }
65
- function Ae(e) {
65
+ function Oe(e) {
66
66
  e.parentNode && e.parentNode.removeChild(e);
67
67
  }
68
68
  function ot(e) {
@@ -83,79 +83,79 @@ function Ft(e) {
83
83
  }
84
84
  ), t;
85
85
  }
86
- let Pe;
87
- function k(e) {
88
- Pe = e;
86
+ let Ne;
87
+ function X(e) {
88
+ Ne = e;
89
89
  }
90
90
  const I = [], Ge = [];
91
- let $ = [];
91
+ let L = [];
92
92
  const De = [], jt = /* @__PURE__ */ Promise.resolve();
93
- let de = !1;
93
+ let ge = !1;
94
94
  function Vt() {
95
- de || (de = !0, jt.then(w));
95
+ ge || (ge = !0, jt.then($));
96
96
  }
97
- function be(e) {
98
- $.push(e);
97
+ function Ee(e) {
98
+ L.push(e);
99
99
  }
100
- const he = /* @__PURE__ */ new Set();
100
+ const le = /* @__PURE__ */ new Set();
101
101
  let N = 0;
102
- function w() {
102
+ function $() {
103
103
  if (N !== 0)
104
104
  return;
105
- const e = Pe;
105
+ const e = Ne;
106
106
  do {
107
107
  try {
108
108
  for (; N < I.length; ) {
109
109
  const t = I[N];
110
- N++, k(t), kt(t.$$);
110
+ N++, X(t), kt(t.$$);
111
111
  }
112
112
  } catch (t) {
113
113
  throw I.length = 0, N = 0, t;
114
114
  }
115
- for (k(null), I.length = 0, N = 0; Ge.length; )
115
+ for (X(null), I.length = 0, N = 0; Ge.length; )
116
116
  Ge.pop()();
117
- for (let t = 0; t < $.length; t += 1) {
118
- const r = $[t];
119
- he.has(r) || (he.add(r), r());
117
+ for (let t = 0; t < L.length; t += 1) {
118
+ const r = L[t];
119
+ le.has(r) || (le.add(r), r());
120
120
  }
121
- $.length = 0;
121
+ L.length = 0;
122
122
  } while (I.length);
123
123
  for (; De.length; )
124
124
  De.pop()();
125
- de = !1, he.clear(), k(e);
125
+ ge = !1, le.clear(), X(e);
126
126
  }
127
127
  function kt(e) {
128
128
  if (e.fragment !== null) {
129
- e.update(), W(e.before_update);
129
+ e.update(), Z(e.before_update);
130
130
  const t = e.dirty;
131
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(be);
131
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
132
132
  }
133
133
  }
134
134
  function Xt(e) {
135
135
  const t = [], r = [];
136
- $.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), $ = t;
136
+ L.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), L = t;
137
137
  }
138
- const zt = /* @__PURE__ */ new Set();
139
- function Wt(e, t) {
140
- e && e.i && (zt.delete(e), e.i(t));
138
+ const Wt = /* @__PURE__ */ new Set();
139
+ function zt(e, t) {
140
+ e && e.i && (Wt.delete(e), e.i(t));
141
141
  }
142
142
  function Zt(e, t, r) {
143
143
  const { fragment: n, after_update: i } = e.$$;
144
- n && n.m(t, r), be(() => {
145
- const s = e.$$.on_mount.map(rt).filter(Be);
146
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
147
- }), i.forEach(be);
144
+ n && n.m(t, r), Ee(() => {
145
+ const s = e.$$.on_mount.map(rt).filter(Pe);
146
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Z(s), e.$$.on_mount = [];
147
+ }), i.forEach(Ee);
148
148
  }
149
149
  function Qt(e, t) {
150
150
  const r = e.$$;
151
- r.fragment !== null && (Xt(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
151
+ r.fragment !== null && (Xt(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
152
152
  }
153
153
  function Jt(e, t) {
154
154
  e.$$.dirty[0] === -1 && (I.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
155
155
  }
156
- function qt(e, t, r, n, i, s, o = null, h = [-1]) {
157
- const u = Pe;
158
- k(e);
156
+ function qt(e, t, r, n, i, s, o = null, u = [-1]) {
157
+ const h = Ne;
158
+ X(e);
159
159
  const a = e.$$ = {
160
160
  fragment: null,
161
161
  ctx: [],
@@ -170,27 +170,27 @@ function qt(e, t, r, n, i, s, o = null, h = [-1]) {
170
170
  on_disconnect: [],
171
171
  before_update: [],
172
172
  after_update: [],
173
- context: new Map(t.context || (u ? u.$$.context : [])),
173
+ context: new Map(t.context || (h ? h.$$.context : [])),
174
174
  // everything else
175
175
  callbacks: Ue(),
176
- dirty: h,
176
+ dirty: u,
177
177
  skip_bound: !1,
178
- root: t.target || u.$$.root
178
+ root: t.target || h.$$.root
179
179
  };
180
180
  o && o(a.root);
181
181
  let l = !1;
182
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
183
- const g = b.length ? b[0] : c;
184
- return a.ctx && i(a.ctx[f], a.ctx[f] = g) && (!a.skip_bound && a.bound[f] && a.bound[f](g), l && Jt(e, f)), c;
185
- }) : [], a.update(), l = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
182
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
183
+ const b = d.length ? d[0] : c;
184
+ return a.ctx && i(a.ctx[f], a.ctx[f] = b) && (!a.skip_bound && a.bound[f] && a.bound[f](b), l && Jt(e, f)), c;
185
+ }) : [], a.update(), l = !0, Z(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
186
186
  if (t.hydrate) {
187
187
  const f = Dt(t.target);
188
- a.fragment && a.fragment.l(f), f.forEach(Ae);
188
+ a.fragment && a.fragment.l(f), f.forEach(Oe);
189
189
  } else
190
190
  a.fragment && a.fragment.c();
191
- t.intro && Wt(e.$$.fragment), Zt(e, t.target, t.anchor), w();
191
+ t.intro && zt(e.$$.fragment), Zt(e, t.target, t.anchor), $();
192
192
  }
193
- k(u);
193
+ X(h);
194
194
  }
195
195
  let at;
196
196
  typeof HTMLElement == "function" && (at = class extends HTMLElement {
@@ -247,7 +247,7 @@ typeof HTMLElement == "function" && (at = class extends HTMLElement {
247
247
  st(a, o, l);
248
248
  },
249
249
  d: function(a) {
250
- a && Ae(o);
250
+ a && Oe(o);
251
251
  }
252
252
  };
253
253
  };
@@ -259,7 +259,7 @@ typeof HTMLElement == "function" && (at = class extends HTMLElement {
259
259
  s in n && (r[s] = [t(s)]);
260
260
  for (const s of this.attributes) {
261
261
  const o = this.$$g_p(s.name);
262
- o in this.$$d || (this.$$d[o] = q(o, s.value, this.$$p_d, "toProp"));
262
+ o in this.$$d || (this.$$d[o] = Y(o, s.value, this.$$p_d, "toProp"));
263
263
  }
264
264
  for (const s in this.$$p_d)
265
265
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -276,7 +276,7 @@ typeof HTMLElement == "function" && (at = class extends HTMLElement {
276
276
  this.$$r = !0;
277
277
  for (const s in this.$$p_d)
278
278
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
279
- const o = q(
279
+ const o = Y(
280
280
  s,
281
281
  this.$$d[s],
282
282
  this.$$p_d,
@@ -289,8 +289,8 @@ typeof HTMLElement == "function" && (at = class extends HTMLElement {
289
289
  this.$$c.$$.after_update.push(i), i();
290
290
  for (const s in this.$$l)
291
291
  for (const o of this.$$l[s]) {
292
- const h = this.$$c.$on(s, o);
293
- this.$$l_u.set(o, h);
292
+ const u = this.$$c.$on(s, o);
293
+ this.$$l_u.set(o, u);
294
294
  }
295
295
  this.$$l = {};
296
296
  }
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (at = class extends HTMLElement {
300
300
  // and setting attributes through setAttribute etc, this is helpful
301
301
  attributeChangedCallback(t, r, n) {
302
302
  var i;
303
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = q(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
303
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Y(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
304
304
  }
305
305
  disconnectedCallback() {
306
306
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (at = class extends HTMLElement {
313
313
  ) || t;
314
314
  }
315
315
  });
316
- function q(e, t, r, n) {
316
+ function Y(e, t, r, n) {
317
317
  var s;
318
318
  const i = (s = r[e]) == null ? void 0 : s.type;
319
319
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -350,25 +350,25 @@ function Yt(e, t, r, n, i, s) {
350
350
  }
351
351
  static get observedAttributes() {
352
352
  return Object.keys(t).map(
353
- (h) => (t[h].attribute || h).toLowerCase()
353
+ (u) => (t[u].attribute || u).toLowerCase()
354
354
  );
355
355
  }
356
356
  };
357
- return Object.keys(t).forEach((h) => {
358
- Object.defineProperty(o.prototype, h, {
357
+ return Object.keys(t).forEach((u) => {
358
+ Object.defineProperty(o.prototype, u, {
359
359
  get() {
360
- return this.$$c && h in this.$$c ? this.$$c[h] : this.$$d[h];
360
+ return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
361
361
  },
362
- set(u) {
362
+ set(h) {
363
363
  var a;
364
- u = q(h, u, t), this.$$d[h] = u, (a = this.$$c) == null || a.$set({ [h]: u });
364
+ h = Y(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
365
365
  }
366
366
  });
367
- }), n.forEach((h) => {
368
- Object.defineProperty(o.prototype, h, {
367
+ }), n.forEach((u) => {
368
+ Object.defineProperty(o.prototype, u, {
369
369
  get() {
370
- var u;
371
- return (u = this.$$c) == null ? void 0 : u[h];
370
+ var h;
371
+ return (h = this.$$c) == null ? void 0 : h[u];
372
372
  }
373
373
  });
374
374
  }), e.element = /** @type {any} */
@@ -404,7 +404,7 @@ class Kt {
404
404
  * @returns {() => void}
405
405
  */
406
406
  $on(t, r) {
407
- if (!Be(r))
407
+ if (!Pe(r))
408
408
  return _;
409
409
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
410
410
  return n.push(r), () => {
@@ -422,66 +422,66 @@ class Kt {
422
422
  }
423
423
  const er = "4";
424
424
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
425
- const O = [];
425
+ const w = [];
426
426
  function tr(e, t) {
427
427
  return {
428
- subscribe: re(e, t).subscribe
428
+ subscribe: ie(e, t).subscribe
429
429
  };
430
430
  }
431
- function re(e, t = _) {
431
+ function ie(e, t = _) {
432
432
  let r;
433
433
  const n = /* @__PURE__ */ new Set();
434
- function i(h) {
435
- if (nt(e, h) && (e = h, r)) {
436
- const u = !O.length;
434
+ function i(u) {
435
+ if (nt(e, u) && (e = u, r)) {
436
+ const h = !w.length;
437
437
  for (const a of n)
438
- a[1](), O.push(a, e);
439
- if (u) {
440
- for (let a = 0; a < O.length; a += 2)
441
- O[a][0](O[a + 1]);
442
- O.length = 0;
438
+ a[1](), w.push(a, e);
439
+ if (h) {
440
+ for (let a = 0; a < w.length; a += 2)
441
+ w[a][0](w[a + 1]);
442
+ w.length = 0;
443
443
  }
444
444
  }
445
445
  }
446
- function s(h) {
447
- i(h(e));
446
+ function s(u) {
447
+ i(u(e));
448
448
  }
449
- function o(h, u = _) {
450
- const a = [h, u];
451
- return n.add(a), n.size === 1 && (r = t(i, s) || _), h(e), () => {
449
+ function o(u, h = _) {
450
+ const a = [u, h];
451
+ return n.add(a), n.size === 1 && (r = t(i, s) || _), u(e), () => {
452
452
  n.delete(a), n.size === 0 && r && (r(), r = null);
453
453
  };
454
454
  }
455
455
  return { set: i, update: s, subscribe: o };
456
456
  }
457
- function U(e, t, r) {
457
+ function G(e, t, r) {
458
458
  const n = !Array.isArray(e), i = n ? [e] : e;
459
459
  if (!i.every(Boolean))
460
460
  throw new Error("derived() expects stores as input, got a falsy value");
461
461
  const s = t.length < 2;
462
- return tr(r, (o, h) => {
463
- let u = !1;
462
+ return tr(r, (o, u) => {
463
+ let h = !1;
464
464
  const a = [];
465
465
  let l = 0, f = _;
466
466
  const c = () => {
467
467
  if (l)
468
468
  return;
469
469
  f();
470
- const g = t(n ? a[0] : a, o, h);
471
- s ? o(g) : f = Be(g) ? g : _;
472
- }, b = i.map(
473
- (g, x) => it(
474
- g,
470
+ const b = t(n ? a[0] : a, o, u);
471
+ s ? o(b) : f = Pe(b) ? b : _;
472
+ }, d = i.map(
473
+ (b, x) => it(
474
+ b,
475
475
  (T) => {
476
- a[x] = T, l &= ~(1 << x), u && c();
476
+ a[x] = T, l &= ~(1 << x), h && c();
477
477
  },
478
478
  () => {
479
479
  l |= 1 << x;
480
480
  }
481
481
  )
482
482
  );
483
- return u = !0, c(), function() {
484
- W(b), f(), u = !1;
483
+ return h = !0, c(), function() {
484
+ Z(d), f(), h = !1;
485
485
  };
486
486
  });
487
487
  }
@@ -496,28 +496,28 @@ function ir(e) {
496
496
  }
497
497
  function sr(e) {
498
498
  var t = Object.prototype.toString.call(e);
499
- return t === "[object RegExp]" || t === "[object Date]" || hr(e);
499
+ return t === "[object RegExp]" || t === "[object Date]" || ur(e);
500
500
  }
501
501
  var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
502
- function hr(e) {
502
+ function ur(e) {
503
503
  return e.$$typeof === ar;
504
504
  }
505
- function ur(e) {
505
+ function hr(e) {
506
506
  return Array.isArray(e) ? [] : {};
507
507
  }
508
- function X(e, t) {
509
- return t.clone !== !1 && t.isMergeableObject(e) ? L(ur(e), e, t) : e;
508
+ function W(e, t) {
509
+ return t.clone !== !1 && t.isMergeableObject(e) ? M(hr(e), e, t) : e;
510
510
  }
511
511
  function lr(e, t, r) {
512
512
  return e.concat(t).map(function(n) {
513
- return X(n, r);
513
+ return W(n, r);
514
514
  });
515
515
  }
516
516
  function fr(e, t) {
517
517
  if (!t.customMerge)
518
- return L;
518
+ return M;
519
519
  var r = t.customMerge(e);
520
- return typeof r == "function" ? r : L;
520
+ return typeof r == "function" ? r : M;
521
521
  }
522
522
  function cr(e) {
523
523
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -527,7 +527,7 @@ function cr(e) {
527
527
  function Fe(e) {
528
528
  return Object.keys(e).concat(cr(e));
529
529
  }
530
- function ht(e, t) {
530
+ function ut(e, t) {
531
531
  try {
532
532
  return t in e;
533
533
  } catch (r) {
@@ -535,70 +535,56 @@ function ht(e, t) {
535
535
  }
536
536
  }
537
537
  function mr(e, t) {
538
- return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
538
+ return ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
539
539
  }
540
540
  function pr(e, t, r) {
541
541
  var n = {};
542
542
  return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
543
- n[i] = X(e[i], r);
543
+ n[i] = W(e[i], r);
544
544
  }), Fe(t).forEach(function(i) {
545
- mr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = X(t[i], r));
545
+ mr(e, i) || (ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = W(t[i], r));
546
546
  }), n;
547
547
  }
548
- function L(e, t, r) {
549
- r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = X;
548
+ function M(e, t, r) {
549
+ r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = W;
550
550
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
551
- return s ? n ? r.arrayMerge(e, t, r) : pr(e, t, r) : X(t, r);
551
+ return s ? n ? r.arrayMerge(e, t, r) : pr(e, t, r) : W(t, r);
552
552
  }
553
- L.all = function(t, r) {
553
+ M.all = function(t, r) {
554
554
  if (!Array.isArray(t))
555
555
  throw new Error("first argument should be an array");
556
556
  return t.reduce(function(n, i) {
557
- return L(n, i, r);
557
+ return M(n, i, r);
558
558
  }, {});
559
559
  };
560
- var dr = L, br = dr;
560
+ var dr = M, br = dr;
561
561
  const gr = /* @__PURE__ */ rr(br);
562
- /*! *****************************************************************************
563
- Copyright (c) Microsoft Corporation.
564
-
565
- Permission to use, copy, modify, and/or distribute this software for any
566
- purpose with or without fee is hereby granted.
567
-
568
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
569
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
570
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
571
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
572
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
573
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
574
- PERFORMANCE OF THIS SOFTWARE.
575
- ***************************************************************************** */
576
- var ge = function(e, t) {
577
- return ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
562
+ var ye = function(e, t) {
563
+ return ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
578
564
  r.__proto__ = n;
579
565
  } || function(r, n) {
580
566
  for (var i in n)
581
567
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
582
- }, ge(e, t);
568
+ }, ye(e, t);
583
569
  };
584
- function ne(e, t) {
570
+ function se(e, t) {
585
571
  if (typeof t != "function" && t !== null)
586
572
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
587
- ge(e, t);
573
+ ye(e, t);
588
574
  function r() {
589
575
  this.constructor = e;
590
576
  }
591
577
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
592
578
  }
593
- var d = function() {
594
- return d = Object.assign || function(t) {
579
+ var S = function() {
580
+ return S = Object.assign || function(t) {
595
581
  for (var r, n = 1, i = arguments.length; n < i; n++) {
596
582
  r = arguments[n];
597
583
  for (var s in r)
598
584
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
599
585
  }
600
586
  return t;
601
- }, d.apply(this, arguments);
587
+ }, S.apply(this, arguments);
602
588
  };
603
589
  function Er(e, t) {
604
590
  var r = {};
@@ -609,14 +595,14 @@ function Er(e, t) {
609
595
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
610
596
  return r;
611
597
  }
612
- function ue(e, t, r) {
613
- if (arguments.length === 2)
598
+ function fe(e, t, r) {
599
+ if (r || arguments.length === 2)
614
600
  for (var n = 0, i = t.length, s; n < i; n++)
615
601
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
616
- return e.concat(s || t);
602
+ return e.concat(s || Array.prototype.slice.call(t));
617
603
  }
618
- function le(e, t) {
619
- var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : xr;
604
+ function ce(e, t) {
605
+ var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
620
606
  return i(e, {
621
607
  cache: r,
622
608
  serializer: n
@@ -625,95 +611,103 @@ function le(e, t) {
625
611
  function yr(e) {
626
612
  return e == null || typeof e == "number" || typeof e == "boolean";
627
613
  }
628
- function ut(e, t, r, n) {
614
+ function xr(e, t, r, n) {
629
615
  var i = yr(n) ? n : r(n), s = t.get(i);
630
616
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
631
617
  }
632
- function lt(e, t, r) {
618
+ function ht(e, t, r) {
633
619
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
634
620
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
635
621
  }
636
- function Ne(e, t, r, n, i) {
622
+ function lt(e, t, r, n, i) {
637
623
  return r.bind(t, e, n, i);
638
624
  }
639
- function xr(e, t) {
640
- var r = e.length === 1 ? ut : lt;
641
- return Ne(e, this, r, t.cache.create(), t.serializer);
642
- }
643
625
  function vr(e, t) {
644
- return Ne(e, this, lt, t.cache.create(), t.serializer);
626
+ var r = e.length === 1 ? xr : ht;
627
+ return lt(e, this, r, t.cache.create(), t.serializer);
645
628
  }
646
629
  function _r(e, t) {
647
- return Ne(e, this, ut, t.cache.create(), t.serializer);
630
+ return lt(e, this, ht, t.cache.create(), t.serializer);
648
631
  }
649
632
  var Hr = function() {
650
633
  return JSON.stringify(arguments);
651
- };
652
- function Oe() {
653
- this.cache = /* @__PURE__ */ Object.create(null);
654
- }
655
- Oe.prototype.get = function(e) {
656
- return this.cache[e];
657
- };
658
- Oe.prototype.set = function(e, t) {
659
- this.cache[e] = t;
660
- };
661
- var Tr = {
634
+ }, Sr = (
635
+ /** @class */
636
+ function() {
637
+ function e() {
638
+ this.cache = /* @__PURE__ */ Object.create(null);
639
+ }
640
+ return e.prototype.get = function(t) {
641
+ return this.cache[t];
642
+ }, e.prototype.set = function(t, r) {
643
+ this.cache[t] = r;
644
+ }, e;
645
+ }()
646
+ ), Tr = {
662
647
  create: function() {
663
- return new Oe();
648
+ return new Sr();
664
649
  }
665
- }, fe = {
666
- variadic: vr,
667
- monadic: _r
668
- }, m;
650
+ }, me = {
651
+ variadic: _r
652
+ }, te = function() {
653
+ return te = Object.assign || function(t) {
654
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
655
+ r = arguments[n];
656
+ for (var s in r)
657
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
658
+ }
659
+ return t;
660
+ }, te.apply(this, arguments);
661
+ };
662
+ var m;
669
663
  (function(e) {
670
664
  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";
671
665
  })(m || (m = {}));
672
- var E;
666
+ var g;
673
667
  (function(e) {
674
668
  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";
675
- })(E || (E = {}));
676
- var M;
669
+ })(g || (g = {}));
670
+ var C;
677
671
  (function(e) {
678
672
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
679
- })(M || (M = {}));
673
+ })(C || (C = {}));
680
674
  function je(e) {
681
- return e.type === E.literal;
675
+ return e.type === g.literal;
682
676
  }
683
- function Sr(e) {
684
- return e.type === E.argument;
677
+ function Br(e) {
678
+ return e.type === g.argument;
685
679
  }
686
680
  function ft(e) {
687
- return e.type === E.number;
681
+ return e.type === g.number;
688
682
  }
689
683
  function ct(e) {
690
- return e.type === E.date;
684
+ return e.type === g.date;
691
685
  }
692
686
  function mt(e) {
693
- return e.type === E.time;
687
+ return e.type === g.time;
694
688
  }
695
689
  function pt(e) {
696
- return e.type === E.select;
690
+ return e.type === g.select;
697
691
  }
698
692
  function dt(e) {
699
- return e.type === E.plural;
693
+ return e.type === g.plural;
700
694
  }
701
- function Br(e) {
702
- return e.type === E.pound;
695
+ function Ar(e) {
696
+ return e.type === g.pound;
703
697
  }
704
698
  function bt(e) {
705
- return e.type === E.tag;
699
+ return e.type === g.tag;
706
700
  }
707
701
  function gt(e) {
708
- return !!(e && typeof e == "object" && e.type === M.number);
702
+ return !!(e && typeof e == "object" && e.type === C.number);
709
703
  }
710
- function Ee(e) {
711
- return !!(e && typeof e == "object" && e.type === M.dateTime);
704
+ function xe(e) {
705
+ return !!(e && typeof e == "object" && e.type === C.dateTime);
712
706
  }
713
- var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
714
- function Pr(e) {
707
+ var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pr = /(?:[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;
708
+ function Or(e) {
715
709
  var t = {};
716
- return e.replace(Ar, function(r) {
710
+ return e.replace(Pr, function(r) {
717
711
  var n = r.length;
718
712
  switch (r[0]) {
719
713
  case "G":
@@ -802,8 +796,18 @@ function Pr(e) {
802
796
  return "";
803
797
  }), t;
804
798
  }
799
+ var E = function() {
800
+ return E = Object.assign || function(t) {
801
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
802
+ r = arguments[n];
803
+ for (var s in r)
804
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
805
+ }
806
+ return t;
807
+ }, E.apply(this, arguments);
808
+ };
805
809
  var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
806
- function Or(e) {
810
+ function wr(e) {
807
811
  if (e.length === 0)
808
812
  throw new Error("Number skeleton cannot be empty");
809
813
  for (var t = e.split(Nr).filter(function(c) {
@@ -812,19 +816,19 @@ function Or(e) {
812
816
  var s = i[n], o = s.split("/");
813
817
  if (o.length === 0)
814
818
  throw new Error("Invalid number skeleton");
815
- for (var h = o[0], u = o.slice(1), a = 0, l = u; a < l.length; a++) {
819
+ for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
816
820
  var f = l[a];
817
821
  if (f.length === 0)
818
822
  throw new Error("Invalid number skeleton");
819
823
  }
820
- r.push({ stem: h, options: u });
824
+ r.push({ stem: u, options: h });
821
825
  }
822
826
  return r;
823
827
  }
824
828
  function Ir(e) {
825
829
  return e.replace(/^(.*?)-/, "");
826
830
  }
827
- var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yt = /^(@+)?(\+|#+)?[rs]?$/g, wr = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
831
+ var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yt = /^(@+)?(\+|#+)?[rs]?$/g, $r = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
828
832
  function ke(e) {
829
833
  var t = {};
830
834
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yt, function(r, n, i) {
@@ -871,7 +875,7 @@ function vt(e) {
871
875
  };
872
876
  }
873
877
  }
874
- function $r(e) {
878
+ function Lr(e) {
875
879
  var t;
876
880
  if (e[0] === "E" && e[1] === "E" ? (t = {
877
881
  notation: "engineering"
@@ -889,7 +893,7 @@ function Xe(e) {
889
893
  var t = {}, r = vt(e);
890
894
  return r || t;
891
895
  }
892
- function Lr(e) {
896
+ function Mr(e) {
893
897
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
894
898
  var i = n[r];
895
899
  switch (i.stem) {
@@ -924,13 +928,13 @@ function Lr(e) {
924
928
  t.notation = "compact", t.compactDisplay = "long";
925
929
  continue;
926
930
  case "scientific":
927
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(u, a) {
928
- return d(d({}, u), Xe(a));
931
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
932
+ return E(E({}, h), Xe(a));
929
933
  }, {}));
930
934
  continue;
931
935
  case "engineering":
932
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(u, a) {
933
- return d(d({}, u), Xe(a));
936
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
937
+ return E(E({}, h), Xe(a));
934
938
  }, {}));
935
939
  continue;
936
940
  case "notation-simple":
@@ -975,13 +979,13 @@ function Lr(e) {
975
979
  case "integer-width":
976
980
  if (i.options.length > 1)
977
981
  throw new RangeError("integer-width stems only accept a single optional option");
978
- i.options[0].replace(wr, function(u, a, l, f, c, b) {
982
+ i.options[0].replace($r, function(h, a, l, f, c, d) {
979
983
  if (a)
980
984
  t.minimumIntegerDigits = l.length;
981
985
  else {
982
986
  if (f && c)
983
987
  throw new Error("We currently do not support maximum integer digits");
984
- if (b)
988
+ if (d)
985
989
  throw new Error("We currently do not support exact integer digits");
986
990
  }
987
991
  return "";
@@ -995,25 +999,25 @@ function Lr(e) {
995
999
  if (Ve.test(i.stem)) {
996
1000
  if (i.options.length > 1)
997
1001
  throw new RangeError("Fraction-precision stems only accept a single optional option");
998
- i.stem.replace(Ve, function(u, a, l, f, c, b) {
999
- return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1002
+ i.stem.replace(Ve, function(h, a, l, f, c, d) {
1003
+ return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1000
1004
  });
1001
1005
  var s = i.options[0];
1002
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ke(s)));
1006
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ke(s)));
1003
1007
  continue;
1004
1008
  }
1005
1009
  if (yt.test(i.stem)) {
1006
- t = d(d({}, t), ke(i.stem));
1010
+ t = E(E({}, t), ke(i.stem));
1007
1011
  continue;
1008
1012
  }
1009
1013
  var o = vt(i.stem);
1010
- o && (t = d(d({}, t), o));
1011
- var h = $r(i.stem);
1012
- h && (t = d(d({}, t), h));
1014
+ o && (t = E(E({}, t), o));
1015
+ var u = Lr(i.stem);
1016
+ u && (t = E(E({}, t), u));
1013
1017
  }
1014
1018
  return t;
1015
1019
  }
1016
- var J = {
1020
+ var q = {
1017
1021
  "001": [
1018
1022
  "H",
1019
1023
  "h"
@@ -2428,15 +2432,15 @@ var J = {
2428
2432
  "h"
2429
2433
  ]
2430
2434
  };
2431
- function Mr(e, t) {
2435
+ function Cr(e, t) {
2432
2436
  for (var r = "", n = 0; n < e.length; n++) {
2433
2437
  var i = e.charAt(n);
2434
2438
  if (i === "j") {
2435
2439
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2436
2440
  s++, n++;
2437
- var o = 1 + (s & 1), h = s < 2 ? 1 : 3 + (s >> 1), u = "a", a = Cr(t);
2438
- for ((a == "H" || a == "k") && (h = 0); h-- > 0; )
2439
- r += u;
2441
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = Rr(t);
2442
+ for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2443
+ r += h;
2440
2444
  for (; o-- > 0; )
2441
2445
  r = a + r;
2442
2446
  } else
@@ -2444,7 +2448,7 @@ function Mr(e, t) {
2444
2448
  }
2445
2449
  return r;
2446
2450
  }
2447
- function Cr(e) {
2451
+ function Rr(e) {
2448
2452
  var t = e.hourCycle;
2449
2453
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2450
2454
  e.hourCycles && // @ts-ignore
@@ -2463,23 +2467,23 @@ function Cr(e) {
2463
2467
  }
2464
2468
  var r = e.language, n;
2465
2469
  r !== "root" && (n = e.maximize().region);
2466
- var i = J[n || ""] || J[r || ""] || J["".concat(r, "-001")] || J["001"];
2470
+ var i = q[n || ""] || q[r || ""] || q["".concat(r, "-001")] || q["001"];
2467
2471
  return i[0];
2468
2472
  }
2469
- var ce, Rr = new RegExp("^".concat(Et.source, "*")), Ur = new RegExp("".concat(Et.source, "*$"));
2473
+ var pe, Ur = new RegExp("^".concat(Et.source, "*")), Gr = new RegExp("".concat(Et.source, "*$"));
2470
2474
  function p(e, t) {
2471
2475
  return { start: e, end: t };
2472
2476
  }
2473
- var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
2477
+ var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, zr = Wr ? Number.isSafeInteger : function(e) {
2474
2478
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2475
- }, ye = !0;
2479
+ }, ve = !0;
2476
2480
  try {
2477
- var Wr = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2478
- ye = ((ce = Wr.exec("a")) === null || ce === void 0 ? void 0 : ce[0]) === "a";
2481
+ var Zr = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2482
+ ve = ((pe = Zr.exec("a")) === null || pe === void 0 ? void 0 : pe[0]) === "a";
2479
2483
  } catch (e) {
2480
- ye = !1;
2484
+ ve = !1;
2481
2485
  }
2482
- var ze = Gr ? (
2486
+ var We = Dr ? (
2483
2487
  // Native
2484
2488
  function(t, r, n) {
2485
2489
  return t.startsWith(r, n);
@@ -2489,7 +2493,7 @@ var ze = Gr ? (
2489
2493
  function(t, r, n) {
2490
2494
  return t.slice(n, n + r.length) === r;
2491
2495
  }
2492
- ), xe = Dr ? String.fromCodePoint : (
2496
+ ), _e = Fr ? String.fromCodePoint : (
2493
2497
  // IE11
2494
2498
  function() {
2495
2499
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2501,19 +2505,19 @@ var ze = Gr ? (
2501
2505
  }
2502
2506
  return n;
2503
2507
  }
2504
- ), We = (
2508
+ ), ze = (
2505
2509
  // native
2506
- Fr ? Object.fromEntries : (
2510
+ jr ? Object.fromEntries : (
2507
2511
  // Ponyfill
2508
2512
  function(t) {
2509
2513
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2510
- var s = i[n], o = s[0], h = s[1];
2511
- r[o] = h;
2514
+ var s = i[n], o = s[0], u = s[1];
2515
+ r[o] = u;
2512
2516
  }
2513
2517
  return r;
2514
2518
  }
2515
2519
  )
2516
- ), _t = jr ? (
2520
+ ), _t = Vr ? (
2517
2521
  // Native
2518
2522
  function(t, r) {
2519
2523
  return t.codePointAt(r);
@@ -2527,7 +2531,7 @@ var ze = Gr ? (
2527
2531
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2528
2532
  }
2529
2533
  }
2530
- ), Zr = Vr ? (
2534
+ ), Qr = kr ? (
2531
2535
  // Native
2532
2536
  function(t) {
2533
2537
  return t.trimStart();
@@ -2535,9 +2539,9 @@ var ze = Gr ? (
2535
2539
  ) : (
2536
2540
  // Ponyfill
2537
2541
  function(t) {
2538
- return t.replace(Rr, "");
2542
+ return t.replace(Ur, "");
2539
2543
  }
2540
- ), Qr = kr ? (
2544
+ ), Jr = Xr ? (
2541
2545
  // Native
2542
2546
  function(t) {
2543
2547
  return t.trimEnd();
@@ -2545,32 +2549,32 @@ var ze = Gr ? (
2545
2549
  ) : (
2546
2550
  // Ponyfill
2547
2551
  function(t) {
2548
- return t.replace(Ur, "");
2552
+ return t.replace(Gr, "");
2549
2553
  }
2550
2554
  );
2551
2555
  function Ht(e, t) {
2552
2556
  return new RegExp(e, t);
2553
2557
  }
2554
- var ve;
2555
- if (ye) {
2558
+ var He;
2559
+ if (ve) {
2556
2560
  var Ze = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2557
- ve = function(t, r) {
2561
+ He = function(t, r) {
2558
2562
  var n;
2559
2563
  Ze.lastIndex = r;
2560
2564
  var i = Ze.exec(t);
2561
2565
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2562
2566
  };
2563
2567
  } else
2564
- ve = function(t, r) {
2568
+ He = function(t, r) {
2565
2569
  for (var n = []; ; ) {
2566
2570
  var i = _t(t, r);
2567
- if (i === void 0 || Tt(i) || Kr(i))
2571
+ if (i === void 0 || St(i) || en(i))
2568
2572
  break;
2569
2573
  n.push(i), r += i >= 65536 ? 2 : 1;
2570
2574
  }
2571
- return xe.apply(void 0, n);
2575
+ return _e.apply(void 0, n);
2572
2576
  };
2573
- var Jr = (
2577
+ var qr = (
2574
2578
  /** @class */
2575
2579
  function() {
2576
2580
  function e(t, r) {
@@ -2592,16 +2596,16 @@ var Jr = (
2592
2596
  if (s === 125 && t > 0)
2593
2597
  break;
2594
2598
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2595
- var h = this.clonePosition();
2599
+ var u = this.clonePosition();
2596
2600
  this.bump(), i.push({
2597
- type: E.pound,
2598
- location: p(h, this.clonePosition())
2601
+ type: g.pound,
2602
+ location: p(u, this.clonePosition())
2599
2603
  });
2600
2604
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2601
2605
  if (n)
2602
2606
  break;
2603
2607
  return this.error(m.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2604
- } else if (s === 60 && !this.ignoreTag && _e(this.peek() || 0)) {
2608
+ } else if (s === 60 && !this.ignoreTag && Se(this.peek() || 0)) {
2605
2609
  var o = this.parseTag(t, r);
2606
2610
  if (o.err)
2607
2611
  return o;
@@ -2622,7 +2626,7 @@ var Jr = (
2622
2626
  if (this.bumpSpace(), this.bumpIf("/>"))
2623
2627
  return {
2624
2628
  val: {
2625
- type: E.literal,
2629
+ type: g.literal,
2626
2630
  value: "<".concat(i, "/>"),
2627
2631
  location: p(n, this.clonePosition())
2628
2632
  },
@@ -2632,27 +2636,27 @@ var Jr = (
2632
2636
  var s = this.parseMessage(t + 1, r, !0);
2633
2637
  if (s.err)
2634
2638
  return s;
2635
- var o = s.val, h = this.clonePosition();
2639
+ var o = s.val, u = this.clonePosition();
2636
2640
  if (this.bumpIf("</")) {
2637
- if (this.isEOF() || !_e(this.char()))
2638
- return this.error(m.INVALID_TAG, p(h, this.clonePosition()));
2639
- var u = this.clonePosition(), a = this.parseTagName();
2640
- return i !== a ? this.error(m.UNMATCHED_CLOSING_TAG, p(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2641
+ if (this.isEOF() || !Se(this.char()))
2642
+ return this.error(m.INVALID_TAG, p(u, this.clonePosition()));
2643
+ var h = this.clonePosition(), a = this.parseTagName();
2644
+ return i !== a ? this.error(m.UNMATCHED_CLOSING_TAG, p(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2641
2645
  val: {
2642
- type: E.tag,
2646
+ type: g.tag,
2643
2647
  value: i,
2644
2648
  children: o,
2645
2649
  location: p(n, this.clonePosition())
2646
2650
  },
2647
2651
  err: null
2648
- } : this.error(m.INVALID_TAG, p(h, this.clonePosition())));
2652
+ } : this.error(m.INVALID_TAG, p(u, this.clonePosition())));
2649
2653
  } else
2650
2654
  return this.error(m.UNCLOSED_TAG, p(n, this.clonePosition()));
2651
2655
  } else
2652
2656
  return this.error(m.INVALID_TAG, p(n, this.clonePosition()));
2653
2657
  }, e.prototype.parseTagName = function() {
2654
2658
  var t = this.offset();
2655
- for (this.bump(); !this.isEOF() && Yr(this.char()); )
2659
+ for (this.bump(); !this.isEOF() && Kr(this.char()); )
2656
2660
  this.bump();
2657
2661
  return this.message.slice(t, this.offset());
2658
2662
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2667,21 +2671,21 @@ var Jr = (
2667
2671
  i += o;
2668
2672
  continue;
2669
2673
  }
2670
- var h = this.tryParseLeftAngleBracket();
2671
- if (h) {
2672
- i += h;
2674
+ var u = this.tryParseLeftAngleBracket();
2675
+ if (u) {
2676
+ i += u;
2673
2677
  continue;
2674
2678
  }
2675
2679
  break;
2676
2680
  }
2677
- var u = p(n, this.clonePosition());
2681
+ var h = p(n, this.clonePosition());
2678
2682
  return {
2679
- val: { type: E.literal, value: i, location: u },
2683
+ val: { type: g.literal, value: i, location: h },
2680
2684
  err: null
2681
2685
  };
2682
2686
  }, e.prototype.tryParseLeftAngleBracket = function() {
2683
2687
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2684
- !qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2688
+ !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2685
2689
  }, e.prototype.tryParseQuote = function(t) {
2686
2690
  if (this.isEOF() || this.char() !== 39)
2687
2691
  return null;
@@ -2715,12 +2719,12 @@ var Jr = (
2715
2719
  r.push(n);
2716
2720
  this.bump();
2717
2721
  }
2718
- return xe.apply(void 0, r);
2722
+ return _e.apply(void 0, r);
2719
2723
  }, e.prototype.tryParseUnquoted = function(t, r) {
2720
2724
  if (this.isEOF())
2721
2725
  return null;
2722
2726
  var n = this.char();
2723
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xe(n));
2727
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), _e(n));
2724
2728
  }, e.prototype.parseArgument = function(t, r) {
2725
2729
  var n = this.clonePosition();
2726
2730
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2736,7 +2740,7 @@ var Jr = (
2736
2740
  case 125:
2737
2741
  return this.bump(), {
2738
2742
  val: {
2739
- type: E.argument,
2743
+ type: g.argument,
2740
2744
  // value does not include the opening and closing braces.
2741
2745
  value: i,
2742
2746
  location: p(n, this.clonePosition())
@@ -2749,15 +2753,15 @@ var Jr = (
2749
2753
  return this.error(m.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2750
2754
  }
2751
2755
  }, e.prototype.parseIdentifierIfPossible = function() {
2752
- var t = this.clonePosition(), r = this.offset(), n = ve(this.message, r), i = r + n.length;
2756
+ var t = this.clonePosition(), r = this.offset(), n = He(this.message, r), i = r + n.length;
2753
2757
  this.bumpTo(i);
2754
2758
  var s = this.clonePosition(), o = p(t, s);
2755
2759
  return { value: n, location: o };
2756
2760
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2757
- var s, o = this.clonePosition(), h = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2758
- switch (h) {
2761
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2762
+ switch (u) {
2759
2763
  case "":
2760
- return this.error(m.EXPECT_ARGUMENT_TYPE, p(o, u));
2764
+ return this.error(m.EXPECT_ARGUMENT_TYPE, p(o, h));
2761
2765
  case "number":
2762
2766
  case "date":
2763
2767
  case "time": {
@@ -2768,44 +2772,44 @@ var Jr = (
2768
2772
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2769
2773
  if (f.err)
2770
2774
  return f;
2771
- var c = Qr(f.val);
2775
+ var c = Jr(f.val);
2772
2776
  if (c.length === 0)
2773
2777
  return this.error(m.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2774
- var b = p(l, this.clonePosition());
2775
- a = { style: c, styleLocation: b };
2778
+ var d = p(l, this.clonePosition());
2779
+ a = { style: c, styleLocation: d };
2776
2780
  }
2777
- var g = this.tryParseArgumentClose(i);
2778
- if (g.err)
2779
- return g;
2781
+ var b = this.tryParseArgumentClose(i);
2782
+ if (b.err)
2783
+ return b;
2780
2784
  var x = p(i, this.clonePosition());
2781
- if (a && ze(a == null ? void 0 : a.style, "::", 0)) {
2782
- var T = Zr(a.style.slice(2));
2783
- if (h === "number") {
2785
+ if (a && We(a == null ? void 0 : a.style, "::", 0)) {
2786
+ var T = Qr(a.style.slice(2));
2787
+ if (u === "number") {
2784
2788
  var f = this.parseNumberSkeletonFromString(T, a.styleLocation);
2785
2789
  return f.err ? f : {
2786
- val: { type: E.number, value: n, location: x, style: f.val },
2790
+ val: { type: g.number, value: n, location: x, style: f.val },
2787
2791
  err: null
2788
2792
  };
2789
2793
  } else {
2790
2794
  if (T.length === 0)
2791
2795
  return this.error(m.EXPECT_DATE_TIME_SKELETON, x);
2792
- var F = T;
2793
- this.locale && (F = Mr(T, this.locale));
2796
+ var j = T;
2797
+ this.locale && (j = Cr(T, this.locale));
2794
2798
  var c = {
2795
- type: M.dateTime,
2796
- pattern: F,
2799
+ type: C.dateTime,
2800
+ pattern: j,
2797
2801
  location: a.styleLocation,
2798
- parsedOptions: this.shouldParseSkeletons ? Pr(F) : {}
2799
- }, P = h === "date" ? E.date : E.time;
2802
+ parsedOptions: this.shouldParseSkeletons ? Or(j) : {}
2803
+ }, O = u === "date" ? g.date : g.time;
2800
2804
  return {
2801
- val: { type: P, value: n, location: x, style: c },
2805
+ val: { type: O, value: n, location: x, style: c },
2802
2806
  err: null
2803
2807
  };
2804
2808
  }
2805
2809
  }
2806
2810
  return {
2807
2811
  val: {
2808
- type: h === "number" ? E.number : h === "date" ? E.date : E.time,
2812
+ type: u === "number" ? g.number : u === "date" ? g.date : g.time,
2809
2813
  value: n,
2810
2814
  location: x,
2811
2815
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
@@ -2818,47 +2822,47 @@ var Jr = (
2818
2822
  case "select": {
2819
2823
  var H = this.clonePosition();
2820
2824
  if (this.bumpSpace(), !this.bumpIf(","))
2821
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, p(H, d({}, H)));
2825
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, p(H, te({}, H)));
2822
2826
  this.bumpSpace();
2823
- var j = this.parseIdentifierIfPossible(), B = 0;
2824
- if (h !== "select" && j.value === "offset") {
2827
+ var V = this.parseIdentifierIfPossible(), A = 0;
2828
+ if (u !== "select" && V.value === "offset") {
2825
2829
  if (!this.bumpIf(":"))
2826
2830
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2827
2831
  this.bumpSpace();
2828
2832
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2829
2833
  if (f.err)
2830
2834
  return f;
2831
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), B = f.val;
2835
+ this.bumpSpace(), V = this.parseIdentifierIfPossible(), A = f.val;
2832
2836
  }
2833
- var Q = this.tryParsePluralOrSelectOptions(t, h, r, j);
2834
- if (Q.err)
2835
- return Q;
2836
- var g = this.tryParseArgumentClose(i);
2837
- if (g.err)
2838
- return g;
2837
+ var J = this.tryParsePluralOrSelectOptions(t, u, r, V);
2838
+ if (J.err)
2839
+ return J;
2840
+ var b = this.tryParseArgumentClose(i);
2841
+ if (b.err)
2842
+ return b;
2839
2843
  var $e = p(i, this.clonePosition());
2840
- return h === "select" ? {
2844
+ return u === "select" ? {
2841
2845
  val: {
2842
- type: E.select,
2846
+ type: g.select,
2843
2847
  value: n,
2844
- options: We(Q.val),
2848
+ options: ze(J.val),
2845
2849
  location: $e
2846
2850
  },
2847
2851
  err: null
2848
2852
  } : {
2849
2853
  val: {
2850
- type: E.plural,
2854
+ type: g.plural,
2851
2855
  value: n,
2852
- options: We(Q.val),
2853
- offset: B,
2854
- pluralType: h === "plural" ? "cardinal" : "ordinal",
2856
+ options: ze(J.val),
2857
+ offset: A,
2858
+ pluralType: u === "plural" ? "cardinal" : "ordinal",
2855
2859
  location: $e
2856
2860
  },
2857
2861
  err: null
2858
2862
  };
2859
2863
  }
2860
2864
  default:
2861
- return this.error(m.INVALID_ARGUMENT_TYPE, p(o, u));
2865
+ return this.error(m.INVALID_ARGUMENT_TYPE, p(o, h));
2862
2866
  }
2863
2867
  }, e.prototype.tryParseArgumentClose = function(t) {
2864
2868
  return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2900,21 +2904,21 @@ var Jr = (
2900
2904
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2901
2905
  var n = [];
2902
2906
  try {
2903
- n = Or(t);
2907
+ n = wr(t);
2904
2908
  } catch (i) {
2905
2909
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2906
2910
  }
2907
2911
  return {
2908
2912
  val: {
2909
- type: M.number,
2913
+ type: C.number,
2910
2914
  tokens: n,
2911
2915
  location: r,
2912
- parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
2916
+ parsedOptions: this.shouldParseSkeletons ? Mr(n) : {}
2913
2917
  },
2914
2918
  err: null
2915
2919
  };
2916
2920
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2917
- for (var s, o = !1, h = [], u = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2921
+ for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2918
2922
  if (a.length === 0) {
2919
2923
  var f = this.clonePosition();
2920
2924
  if (r !== "select" && this.bumpIf("=")) {
@@ -2925,39 +2929,39 @@ var Jr = (
2925
2929
  } else
2926
2930
  break;
2927
2931
  }
2928
- if (u.has(a))
2932
+ if (h.has(a))
2929
2933
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2930
2934
  a === "other" && (o = !0), this.bumpSpace();
2931
- var b = this.clonePosition();
2935
+ var d = this.clonePosition();
2932
2936
  if (!this.bumpIf("{"))
2933
2937
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
2934
- var g = this.parseMessage(t + 1, r, n);
2935
- if (g.err)
2936
- return g;
2937
- var x = this.tryParseArgumentClose(b);
2938
+ var b = this.parseMessage(t + 1, r, n);
2939
+ if (b.err)
2940
+ return b;
2941
+ var x = this.tryParseArgumentClose(d);
2938
2942
  if (x.err)
2939
2943
  return x;
2940
- h.push([
2944
+ u.push([
2941
2945
  a,
2942
2946
  {
2943
- value: g.val,
2944
- location: p(b, this.clonePosition())
2947
+ value: b.val,
2948
+ location: p(d, this.clonePosition())
2945
2949
  }
2946
- ]), u.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
2950
+ ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
2947
2951
  }
2948
- return h.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(m.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: h, err: null };
2952
+ return u.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(m.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2949
2953
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2950
2954
  var n = 1, i = this.clonePosition();
2951
2955
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2952
2956
  for (var s = !1, o = 0; !this.isEOF(); ) {
2953
- var h = this.char();
2954
- if (h >= 48 && h <= 57)
2955
- s = !0, o = o * 10 + (h - 48), this.bump();
2957
+ var u = this.char();
2958
+ if (u >= 48 && u <= 57)
2959
+ s = !0, o = o * 10 + (u - 48), this.bump();
2956
2960
  else
2957
2961
  break;
2958
2962
  }
2959
- var u = p(i, this.clonePosition());
2960
- return s ? (o *= n, zr(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
2963
+ var h = p(i, this.clonePosition());
2964
+ return s ? (o *= n, zr(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
2961
2965
  }, e.prototype.offset = function() {
2962
2966
  return this.position.offset;
2963
2967
  }, e.prototype.isEOF = function() {
@@ -2991,7 +2995,7 @@ var Jr = (
2991
2995
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2992
2996
  }
2993
2997
  }, e.prototype.bumpIf = function(t) {
2994
- if (ze(this.message, t, this.offset())) {
2998
+ if (We(this.message, t, this.offset())) {
2995
2999
  for (var r = 0; r < t.length; r++)
2996
3000
  this.bump();
2997
3001
  return !0;
@@ -3013,7 +3017,7 @@ var Jr = (
3013
3017
  break;
3014
3018
  }
3015
3019
  }, e.prototype.bumpSpace = function() {
3016
- for (; !this.isEOF() && Tt(this.char()); )
3020
+ for (; !this.isEOF() && St(this.char()); )
3017
3021
  this.bump();
3018
3022
  }, e.prototype.peek = function() {
3019
3023
  if (this.isEOF())
@@ -3023,47 +3027,47 @@ var Jr = (
3023
3027
  }, e;
3024
3028
  }()
3025
3029
  );
3026
- function _e(e) {
3030
+ function Se(e) {
3027
3031
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3028
3032
  }
3029
- function qr(e) {
3030
- return _e(e) || e === 47;
3031
- }
3032
3033
  function Yr(e) {
3034
+ return Se(e) || e === 47;
3035
+ }
3036
+ function Kr(e) {
3033
3037
  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;
3034
3038
  }
3035
- function Tt(e) {
3039
+ function St(e) {
3036
3040
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3037
3041
  }
3038
- function Kr(e) {
3042
+ function en(e) {
3039
3043
  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;
3040
3044
  }
3041
- function He(e) {
3045
+ function Te(e) {
3042
3046
  e.forEach(function(t) {
3043
3047
  if (delete t.location, pt(t) || dt(t))
3044
3048
  for (var r in t.options)
3045
- delete t.options[r].location, He(t.options[r].value);
3049
+ delete t.options[r].location, Te(t.options[r].value);
3046
3050
  else
3047
- ft(t) && gt(t.style) || (ct(t) || mt(t)) && Ee(t.style) ? delete t.style.location : bt(t) && He(t.children);
3051
+ ft(t) && gt(t.style) || (ct(t) || mt(t)) && xe(t.style) ? delete t.style.location : bt(t) && Te(t.children);
3048
3052
  });
3049
3053
  }
3050
- function en(e, t) {
3051
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3052
- var r = new Jr(e, t).parse();
3054
+ function tn(e, t) {
3055
+ t === void 0 && (t = {}), t = te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3056
+ var r = new qr(e, t).parse();
3053
3057
  if (r.err) {
3054
3058
  var n = SyntaxError(m[r.err.kind]);
3055
3059
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3056
3060
  }
3057
- return t != null && t.captureLocation || He(r.val), r.val;
3061
+ return t != null && t.captureLocation || Te(r.val), r.val;
3058
3062
  }
3059
- var C;
3063
+ var R;
3060
3064
  (function(e) {
3061
3065
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3062
- })(C || (C = {}));
3063
- var ie = (
3066
+ })(R || (R = {}));
3067
+ var oe = (
3064
3068
  /** @class */
3065
3069
  function(e) {
3066
- ne(t, e);
3070
+ se(t, e);
3067
3071
  function t(r, n, i) {
3068
3072
  var s = e.call(this, r) || this;
3069
3073
  return s.code = n, s.originalMessage = i, s;
@@ -3075,44 +3079,44 @@ var ie = (
3075
3079
  ), Qe = (
3076
3080
  /** @class */
3077
3081
  function(e) {
3078
- ne(t, e);
3082
+ se(t, e);
3079
3083
  function t(r, n, i, s) {
3080
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), C.INVALID_VALUE, s) || this;
3084
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), R.INVALID_VALUE, s) || this;
3081
3085
  }
3082
3086
  return t;
3083
- }(ie)
3084
- ), tn = (
3087
+ }(oe)
3088
+ ), rn = (
3085
3089
  /** @class */
3086
3090
  function(e) {
3087
- ne(t, e);
3091
+ se(t, e);
3088
3092
  function t(r, n, i) {
3089
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), C.INVALID_VALUE, i) || this;
3093
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), R.INVALID_VALUE, i) || this;
3090
3094
  }
3091
3095
  return t;
3092
- }(ie)
3093
- ), rn = (
3096
+ }(oe)
3097
+ ), nn = (
3094
3098
  /** @class */
3095
3099
  function(e) {
3096
- ne(t, e);
3100
+ se(t, e);
3097
3101
  function t(r, n) {
3098
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), C.MISSING_VALUE, n) || this;
3102
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), R.MISSING_VALUE, n) || this;
3099
3103
  }
3100
3104
  return t;
3101
- }(ie)
3105
+ }(oe)
3102
3106
  ), y;
3103
3107
  (function(e) {
3104
3108
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3105
3109
  })(y || (y = {}));
3106
- function nn(e) {
3110
+ function sn(e) {
3107
3111
  return e.length < 2 ? e : e.reduce(function(t, r) {
3108
3112
  var n = t[t.length - 1];
3109
3113
  return !n || n.type !== y.literal || r.type !== y.literal ? t.push(r) : n.value += r.value, t;
3110
3114
  }, []);
3111
3115
  }
3112
- function sn(e) {
3116
+ function on(e) {
3113
3117
  return typeof e == "function";
3114
3118
  }
3115
- function Y(e, t, r, n, i, s, o) {
3119
+ function K(e, t, r, n, i, s, o) {
3116
3120
  if (e.length === 1 && je(e[0]))
3117
3121
  return [
3118
3122
  {
@@ -3120,17 +3124,17 @@ function Y(e, t, r, n, i, s, o) {
3120
3124
  value: e[0].value
3121
3125
  }
3122
3126
  ];
3123
- for (var h = [], u = 0, a = e; u < a.length; u++) {
3124
- var l = a[u];
3127
+ for (var u = [], h = 0, a = e; h < a.length; h++) {
3128
+ var l = a[h];
3125
3129
  if (je(l)) {
3126
- h.push({
3130
+ u.push({
3127
3131
  type: y.literal,
3128
3132
  value: l.value
3129
3133
  });
3130
3134
  continue;
3131
3135
  }
3132
- if (Br(l)) {
3133
- typeof s == "number" && h.push({
3136
+ if (Ar(l)) {
3137
+ typeof s == "number" && u.push({
3134
3138
  type: y.literal,
3135
3139
  value: r.getNumberFormat(t).format(s)
3136
3140
  });
@@ -3138,50 +3142,50 @@ function Y(e, t, r, n, i, s, o) {
3138
3142
  }
3139
3143
  var f = l.value;
3140
3144
  if (!(i && f in i))
3141
- throw new rn(f, o);
3145
+ throw new nn(f, o);
3142
3146
  var c = i[f];
3143
- if (Sr(l)) {
3144
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), h.push({
3147
+ if (Br(l)) {
3148
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3145
3149
  type: typeof c == "string" ? y.literal : y.object,
3146
3150
  value: c
3147
3151
  });
3148
3152
  continue;
3149
3153
  }
3150
3154
  if (ct(l)) {
3151
- var b = typeof l.style == "string" ? n.date[l.style] : Ee(l.style) ? l.style.parsedOptions : void 0;
3152
- h.push({
3155
+ var d = typeof l.style == "string" ? n.date[l.style] : xe(l.style) ? l.style.parsedOptions : void 0;
3156
+ u.push({
3153
3157
  type: y.literal,
3154
- value: r.getDateTimeFormat(t, b).format(c)
3158
+ value: r.getDateTimeFormat(t, d).format(c)
3155
3159
  });
3156
3160
  continue;
3157
3161
  }
3158
3162
  if (mt(l)) {
3159
- var b = typeof l.style == "string" ? n.time[l.style] : Ee(l.style) ? l.style.parsedOptions : n.time.medium;
3160
- h.push({
3163
+ var d = typeof l.style == "string" ? n.time[l.style] : xe(l.style) ? l.style.parsedOptions : n.time.medium;
3164
+ u.push({
3161
3165
  type: y.literal,
3162
- value: r.getDateTimeFormat(t, b).format(c)
3166
+ value: r.getDateTimeFormat(t, d).format(c)
3163
3167
  });
3164
3168
  continue;
3165
3169
  }
3166
3170
  if (ft(l)) {
3167
- var b = typeof l.style == "string" ? n.number[l.style] : gt(l.style) ? l.style.parsedOptions : void 0;
3168
- b && b.scale && (c = c * (b.scale || 1)), h.push({
3171
+ var d = typeof l.style == "string" ? n.number[l.style] : gt(l.style) ? l.style.parsedOptions : void 0;
3172
+ d && d.scale && (c = c * (d.scale || 1)), u.push({
3169
3173
  type: y.literal,
3170
- value: r.getNumberFormat(t, b).format(c)
3174
+ value: r.getNumberFormat(t, d).format(c)
3171
3175
  });
3172
3176
  continue;
3173
3177
  }
3174
3178
  if (bt(l)) {
3175
- var g = l.children, x = l.value, T = i[x];
3176
- if (!sn(T))
3177
- throw new tn(x, "function", o);
3178
- var F = Y(g, t, r, n, i, s), P = T(F.map(function(B) {
3179
- return B.value;
3179
+ var b = l.children, x = l.value, T = i[x];
3180
+ if (!on(T))
3181
+ throw new rn(x, "function", o);
3182
+ var j = K(b, t, r, n, i, s), O = T(j.map(function(A) {
3183
+ return A.value;
3180
3184
  }));
3181
- Array.isArray(P) || (P = [P]), h.push.apply(h, P.map(function(B) {
3185
+ Array.isArray(O) || (O = [O]), u.push.apply(u, O.map(function(A) {
3182
3186
  return {
3183
- type: typeof B == "string" ? y.literal : y.object,
3184
- value: B
3187
+ type: typeof A == "string" ? y.literal : y.object,
3188
+ value: A
3185
3189
  };
3186
3190
  }));
3187
3191
  }
@@ -3189,38 +3193,38 @@ function Y(e, t, r, n, i, s, o) {
3189
3193
  var H = l.options[c] || l.options.other;
3190
3194
  if (!H)
3191
3195
  throw new Qe(l.value, c, Object.keys(l.options), o);
3192
- h.push.apply(h, Y(H.value, t, r, n, i));
3196
+ u.push.apply(u, K(H.value, t, r, n, i));
3193
3197
  continue;
3194
3198
  }
3195
3199
  if (dt(l)) {
3196
3200
  var H = l.options["=".concat(c)];
3197
3201
  if (!H) {
3198
3202
  if (!Intl.PluralRules)
3199
- throw new ie(`Intl.PluralRules is not available in this environment.
3203
+ throw new oe(`Intl.PluralRules is not available in this environment.
3200
3204
  Try polyfilling it using "@formatjs/intl-pluralrules"
3201
- `, C.MISSING_INTL_API, o);
3202
- var j = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3203
- H = l.options[j] || l.options.other;
3205
+ `, R.MISSING_INTL_API, o);
3206
+ var V = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3207
+ H = l.options[V] || l.options.other;
3204
3208
  }
3205
3209
  if (!H)
3206
3210
  throw new Qe(l.value, c, Object.keys(l.options), o);
3207
- h.push.apply(h, Y(H.value, t, r, n, i, c - (l.offset || 0)));
3211
+ u.push.apply(u, K(H.value, t, r, n, i, c - (l.offset || 0)));
3208
3212
  continue;
3209
3213
  }
3210
3214
  }
3211
- return nn(h);
3215
+ return sn(u);
3212
3216
  }
3213
- function on(e, t) {
3214
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3215
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3217
+ function an(e, t) {
3218
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3219
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3216
3220
  }, {})) : e;
3217
3221
  }
3218
- function an(e, t) {
3222
+ function un(e, t) {
3219
3223
  return t ? Object.keys(e).reduce(function(r, n) {
3220
- return r[n] = on(e[n], t[n]), r;
3221
- }, d({}, e)) : e;
3224
+ return r[n] = an(e[n], t[n]), r;
3225
+ }, S({}, e)) : e;
3222
3226
  }
3223
- function me(e) {
3227
+ function de(e) {
3224
3228
  return {
3225
3229
  create: function() {
3226
3230
  return {
@@ -3240,33 +3244,33 @@ function hn(e) {
3240
3244
  dateTime: {},
3241
3245
  pluralRules: {}
3242
3246
  }), {
3243
- getNumberFormat: le(function() {
3247
+ getNumberFormat: ce(function() {
3244
3248
  for (var t, r = [], n = 0; n < arguments.length; n++)
3245
3249
  r[n] = arguments[n];
3246
- return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], r, !1)))();
3250
+ return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
3247
3251
  }, {
3248
- cache: me(e.number),
3249
- strategy: fe.variadic
3252
+ cache: de(e.number),
3253
+ strategy: me.variadic
3250
3254
  }),
3251
- getDateTimeFormat: le(function() {
3255
+ getDateTimeFormat: ce(function() {
3252
3256
  for (var t, r = [], n = 0; n < arguments.length; n++)
3253
3257
  r[n] = arguments[n];
3254
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], r, !1)))();
3258
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
3255
3259
  }, {
3256
- cache: me(e.dateTime),
3257
- strategy: fe.variadic
3260
+ cache: de(e.dateTime),
3261
+ strategy: me.variadic
3258
3262
  }),
3259
- getPluralRules: le(function() {
3263
+ getPluralRules: ce(function() {
3260
3264
  for (var t, r = [], n = 0; n < arguments.length; n++)
3261
3265
  r[n] = arguments[n];
3262
- return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], r, !1)))();
3266
+ return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
3263
3267
  }, {
3264
- cache: me(e.pluralRules),
3265
- strategy: fe.variadic
3268
+ cache: de(e.pluralRules),
3269
+ strategy: me.variadic
3266
3270
  })
3267
3271
  };
3268
3272
  }
3269
- var un = (
3273
+ var ln = (
3270
3274
  /** @class */
3271
3275
  function() {
3272
3276
  function e(t, r, n, i) {
@@ -3276,20 +3280,20 @@ var un = (
3276
3280
  number: {},
3277
3281
  dateTime: {},
3278
3282
  pluralRules: {}
3279
- }, this.format = function(u) {
3280
- var a = s.formatToParts(u);
3283
+ }, this.format = function(h) {
3284
+ var a = s.formatToParts(h);
3281
3285
  if (a.length === 1)
3282
3286
  return a[0].value;
3283
3287
  var l = a.reduce(function(f, c) {
3284
3288
  return !f.length || c.type !== y.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3285
3289
  }, []);
3286
3290
  return l.length <= 1 ? l[0] || "" : l;
3287
- }, this.formatToParts = function(u) {
3288
- return Y(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3291
+ }, this.formatToParts = function(h) {
3292
+ return K(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3289
3293
  }, this.resolvedOptions = function() {
3290
- var u;
3294
+ var h;
3291
3295
  return {
3292
- locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3296
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3293
3297
  };
3294
3298
  }, this.getAst = function() {
3295
3299
  return s.ast;
@@ -3298,13 +3302,13 @@ var un = (
3298
3302
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3299
3303
  var o = i || {};
3300
3304
  o.formatters;
3301
- var h = Er(o, ["formatters"]);
3302
- this.ast = e.__parse(t, d(d({}, h), { locale: this.resolvedLocale }));
3305
+ var u = Er(o, ["formatters"]);
3306
+ this.ast = e.__parse(t, S(S({}, u), { locale: this.resolvedLocale }));
3303
3307
  } else
3304
3308
  this.ast = t;
3305
3309
  if (!Array.isArray(this.ast))
3306
3310
  throw new TypeError("A message must be provided as a String or AST.");
3307
- this.formats = an(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3311
+ this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3308
3312
  }
3309
3313
  return Object.defineProperty(e, "defaultLocale", {
3310
3314
  get: function() {
@@ -3317,7 +3321,7 @@ var un = (
3317
3321
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3318
3322
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3319
3323
  }
3320
- }, e.__parse = en, e.formats = {
3324
+ }, e.__parse = tn, e.formats = {
3321
3325
  number: {
3322
3326
  integer: {
3323
3327
  maximumFractionDigits: 0
@@ -3378,7 +3382,7 @@ var un = (
3378
3382
  }, e;
3379
3383
  }()
3380
3384
  );
3381
- function ln(e, t) {
3385
+ function fn(e, t) {
3382
3386
  if (t == null)
3383
3387
  return;
3384
3388
  if (t in e)
@@ -3399,36 +3403,36 @@ function ln(e, t) {
3399
3403
  n = void 0;
3400
3404
  return n;
3401
3405
  }
3402
- const S = {}, fn = (e, t, r) => r && (t in S || (S[t] = {}), e in S[t] || (S[t][e] = r), r), St = (e, t) => {
3406
+ const B = {}, cn = (e, t, r) => r && (t in B || (B[t] = {}), e in B[t] || (B[t][e] = r), r), Tt = (e, t) => {
3403
3407
  if (t == null)
3404
3408
  return;
3405
- if (t in S && e in S[t])
3406
- return S[t][e];
3407
- const r = se(t);
3409
+ if (t in B && e in B[t])
3410
+ return B[t][e];
3411
+ const r = ae(t);
3408
3412
  for (let n = 0; n < r.length; n++) {
3409
- const i = r[n], s = mn(i, e);
3413
+ const i = r[n], s = pn(i, e);
3410
3414
  if (s)
3411
- return fn(e, t, s);
3415
+ return cn(e, t, s);
3412
3416
  }
3413
3417
  };
3414
- let Ie;
3415
- const Z = re({});
3416
- function cn(e) {
3417
- return Ie[e] || null;
3418
+ let we;
3419
+ const Q = ie({});
3420
+ function mn(e) {
3421
+ return we[e] || null;
3418
3422
  }
3419
3423
  function Bt(e) {
3420
- return e in Ie;
3424
+ return e in we;
3421
3425
  }
3422
- function mn(e, t) {
3426
+ function pn(e, t) {
3423
3427
  if (!Bt(e))
3424
3428
  return null;
3425
- const r = cn(e);
3426
- return ln(r, t);
3429
+ const r = mn(e);
3430
+ return fn(r, t);
3427
3431
  }
3428
- function pn(e) {
3432
+ function dn(e) {
3429
3433
  if (e == null)
3430
3434
  return;
3431
- const t = se(e);
3435
+ const t = ae(e);
3432
3436
  for (let r = 0; r < t.length; r++) {
3433
3437
  const n = t[r];
3434
3438
  if (Bt(n))
@@ -3436,55 +3440,55 @@ function pn(e) {
3436
3440
  }
3437
3441
  }
3438
3442
  function At(e, ...t) {
3439
- delete S[e], Z.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3443
+ delete B[e], Q.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3440
3444
  }
3441
- U(
3442
- [Z],
3445
+ G(
3446
+ [Q],
3443
3447
  ([e]) => Object.keys(e)
3444
3448
  );
3445
- Z.subscribe((e) => Ie = e);
3446
- const K = {};
3447
- function dn(e, t) {
3448
- K[e].delete(t), K[e].size === 0 && delete K[e];
3449
+ Q.subscribe((e) => we = e);
3450
+ const ee = {};
3451
+ function bn(e, t) {
3452
+ ee[e].delete(t), ee[e].size === 0 && delete ee[e];
3449
3453
  }
3450
3454
  function Pt(e) {
3451
- return K[e];
3455
+ return ee[e];
3452
3456
  }
3453
- function bn(e) {
3454
- return se(e).map((t) => {
3457
+ function gn(e) {
3458
+ return ae(e).map((t) => {
3455
3459
  const r = Pt(t);
3456
3460
  return [t, r ? [...r] : []];
3457
3461
  }).filter(([, t]) => t.length > 0);
3458
3462
  }
3459
- function Te(e) {
3460
- return e == null ? !1 : se(e).some(
3463
+ function Be(e) {
3464
+ return e == null ? !1 : ae(e).some(
3461
3465
  (t) => {
3462
3466
  var r;
3463
3467
  return (r = Pt(t)) == null ? void 0 : r.size;
3464
3468
  }
3465
3469
  );
3466
3470
  }
3467
- function gn(e, t) {
3471
+ function En(e, t) {
3468
3472
  return Promise.all(
3469
- t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3473
+ t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
3470
3474
  ).then((n) => At(e, ...n));
3471
3475
  }
3472
- const V = {};
3473
- function Nt(e) {
3474
- if (!Te(e))
3475
- return e in V ? V[e] : Promise.resolve();
3476
- const t = bn(e);
3477
- return V[e] = Promise.all(
3476
+ const k = {};
3477
+ function Ot(e) {
3478
+ if (!Be(e))
3479
+ return e in k ? k[e] : Promise.resolve();
3480
+ const t = gn(e);
3481
+ return k[e] = Promise.all(
3478
3482
  t.map(
3479
- ([r, n]) => gn(r, n)
3483
+ ([r, n]) => En(r, n)
3480
3484
  )
3481
3485
  ).then(() => {
3482
- if (Te(e))
3483
- return Nt(e);
3484
- delete V[e];
3485
- }), V[e];
3486
+ if (Be(e))
3487
+ return Ot(e);
3488
+ delete k[e];
3489
+ }), k[e];
3486
3490
  }
3487
- const En = {
3491
+ const yn = {
3488
3492
  number: {
3489
3493
  scientific: { notation: "scientific" },
3490
3494
  engineering: { notation: "engineering" },
@@ -3513,159 +3517,159 @@ const En = {
3513
3517
  timeZoneName: "short"
3514
3518
  }
3515
3519
  }
3516
- }, yn = {
3520
+ }, xn = {
3517
3521
  fallbackLocale: null,
3518
3522
  loadingDelay: 200,
3519
- formats: En,
3523
+ formats: yn,
3520
3524
  warnOnMissingMessages: !0,
3521
3525
  handleMissingMessage: void 0,
3522
3526
  ignoreTag: !0
3523
- }, xn = yn;
3524
- function R() {
3525
- return xn;
3527
+ }, vn = xn;
3528
+ function U() {
3529
+ return vn;
3526
3530
  }
3527
- const pe = re(!1);
3528
- var vn = Object.defineProperty, _n = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3531
+ const be = ie(!1);
3532
+ var _n = Object.defineProperty, Hn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3529
3533
  for (var r in t || (t = {}))
3530
3534
  Tn.call(t, r) && qe(e, r, t[r]);
3531
3535
  if (Je)
3532
3536
  for (var r of Je(t))
3533
- Sn.call(t, r) && qe(e, r, t[r]);
3537
+ Bn.call(t, r) && qe(e, r, t[r]);
3534
3538
  return e;
3535
- }, An = (e, t) => _n(e, Hn(t));
3536
- let Se;
3537
- const ee = re(null);
3539
+ }, Pn = (e, t) => Hn(e, Sn(t));
3540
+ let Ae;
3541
+ const re = ie(null);
3538
3542
  function Ye(e) {
3539
3543
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3540
3544
  }
3541
- function se(e, t = R().fallbackLocale) {
3545
+ function ae(e, t = U().fallbackLocale) {
3542
3546
  const r = Ye(e);
3543
3547
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
3544
3548
  }
3545
- function A() {
3546
- return Se != null ? Se : void 0;
3549
+ function P() {
3550
+ return Ae != null ? Ae : void 0;
3547
3551
  }
3548
- ee.subscribe((e) => {
3549
- Se = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3552
+ re.subscribe((e) => {
3553
+ Ae = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3550
3554
  });
3551
- const Pn = (e) => {
3552
- if (e && pn(e) && Te(e)) {
3553
- const { loadingDelay: t } = R();
3555
+ const On = (e) => {
3556
+ if (e && dn(e) && Be(e)) {
3557
+ const { loadingDelay: t } = U();
3554
3558
  let r;
3555
- return typeof window != "undefined" && A() != null && t ? r = window.setTimeout(
3556
- () => pe.set(!0),
3559
+ return typeof window != "undefined" && P() != null && t ? r = window.setTimeout(
3560
+ () => be.set(!0),
3557
3561
  t
3558
- ) : pe.set(!0), Nt(e).then(() => {
3559
- ee.set(e);
3562
+ ) : be.set(!0), Ot(e).then(() => {
3563
+ re.set(e);
3560
3564
  }).finally(() => {
3561
- clearTimeout(r), pe.set(!1);
3565
+ clearTimeout(r), be.set(!1);
3562
3566
  });
3563
3567
  }
3564
- return ee.set(e);
3565
- }, G = An(Bn({}, ee), {
3566
- set: Pn
3567
- }), oe = (e) => {
3568
+ return re.set(e);
3569
+ }, D = Pn(An({}, re), {
3570
+ set: On
3571
+ }), ue = (e) => {
3568
3572
  const t = /* @__PURE__ */ Object.create(null);
3569
3573
  return (n) => {
3570
3574
  const i = JSON.stringify(n);
3571
3575
  return i in t ? t[i] : t[i] = e(n);
3572
3576
  };
3573
3577
  };
3574
- var Nn = Object.defineProperty, te = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, we = (e, t) => {
3578
+ var Nn = Object.defineProperty, ne = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, wt = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ie = (e, t) => {
3575
3579
  for (var r in t || (t = {}))
3576
- Ot.call(t, r) && Ke(e, r, t[r]);
3577
- if (te)
3578
- for (var r of te(t))
3579
- It.call(t, r) && Ke(e, r, t[r]);
3580
+ Nt.call(t, r) && Ke(e, r, t[r]);
3581
+ if (ne)
3582
+ for (var r of ne(t))
3583
+ wt.call(t, r) && Ke(e, r, t[r]);
3580
3584
  return e;
3581
- }, D = (e, t) => {
3585
+ }, F = (e, t) => {
3582
3586
  var r = {};
3583
3587
  for (var n in e)
3584
- Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3585
- if (e != null && te)
3586
- for (var n of te(e))
3587
- t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
3588
+ Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3589
+ if (e != null && ne)
3590
+ for (var n of ne(e))
3591
+ t.indexOf(n) < 0 && wt.call(e, n) && (r[n] = e[n]);
3588
3592
  return r;
3589
3593
  };
3590
3594
  const z = (e, t) => {
3591
- const { formats: r } = R();
3595
+ const { formats: r } = U();
3592
3596
  if (e in r && t in r[e])
3593
3597
  return r[e][t];
3594
3598
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3595
- }, On = oe(
3599
+ }, wn = ue(
3596
3600
  (e) => {
3597
- var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3601
+ var t = e, { locale: r, format: n } = t, i = F(t, ["locale", "format"]);
3598
3602
  if (r == null)
3599
3603
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3600
3604
  return n && (i = z("number", n)), new Intl.NumberFormat(r, i);
3601
3605
  }
3602
- ), In = oe(
3606
+ ), In = ue(
3603
3607
  (e) => {
3604
- var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3608
+ var t = e, { locale: r, format: n } = t, i = F(t, ["locale", "format"]);
3605
3609
  if (r == null)
3606
3610
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3607
3611
  return n ? i = z("date", n) : Object.keys(i).length === 0 && (i = z("date", "short")), new Intl.DateTimeFormat(r, i);
3608
3612
  }
3609
- ), wn = oe(
3613
+ ), $n = ue(
3610
3614
  (e) => {
3611
- var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3615
+ var t = e, { locale: r, format: n } = t, i = F(t, ["locale", "format"]);
3612
3616
  if (r == null)
3613
3617
  throw new Error(
3614
3618
  '[svelte-i18n] A "locale" must be set to format time values'
3615
3619
  );
3616
3620
  return n ? i = z("time", n) : Object.keys(i).length === 0 && (i = z("time", "short")), new Intl.DateTimeFormat(r, i);
3617
3621
  }
3618
- ), $n = (e = {}) => {
3622
+ ), Ln = (e = {}) => {
3619
3623
  var t = e, {
3620
- locale: r = A()
3621
- } = t, n = D(t, [
3624
+ locale: r = P()
3625
+ } = t, n = F(t, [
3622
3626
  "locale"
3623
3627
  ]);
3624
- return On(we({ locale: r }, n));
3625
- }, Ln = (e = {}) => {
3628
+ return wn(Ie({ locale: r }, n));
3629
+ }, Mn = (e = {}) => {
3626
3630
  var t = e, {
3627
- locale: r = A()
3628
- } = t, n = D(t, [
3631
+ locale: r = P()
3632
+ } = t, n = F(t, [
3629
3633
  "locale"
3630
3634
  ]);
3631
- return In(we({ locale: r }, n));
3632
- }, Mn = (e = {}) => {
3635
+ return In(Ie({ locale: r }, n));
3636
+ }, Cn = (e = {}) => {
3633
3637
  var t = e, {
3634
- locale: r = A()
3635
- } = t, n = D(t, [
3638
+ locale: r = P()
3639
+ } = t, n = F(t, [
3636
3640
  "locale"
3637
3641
  ]);
3638
- return wn(we({ locale: r }, n));
3639
- }, Cn = oe(
3642
+ return $n(Ie({ locale: r }, n));
3643
+ }, Rn = ue(
3640
3644
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3641
- (e, t = A()) => new un(e, t, R().formats, {
3642
- ignoreTag: R().ignoreTag
3645
+ (e, t = P()) => new ln(e, t, U().formats, {
3646
+ ignoreTag: U().ignoreTag
3643
3647
  })
3644
- ), Rn = (e, t = {}) => {
3648
+ ), Un = (e, t = {}) => {
3645
3649
  var r, n, i, s;
3646
3650
  let o = t;
3647
3651
  typeof e == "object" && (o = e, e = o.id);
3648
3652
  const {
3649
- values: h,
3650
- locale: u = A(),
3653
+ values: u,
3654
+ locale: h = P(),
3651
3655
  default: a
3652
3656
  } = o;
3653
- if (u == null)
3657
+ if (h == null)
3654
3658
  throw new Error(
3655
3659
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3656
3660
  );
3657
- let l = St(e, u);
3661
+ let l = Tt(e, h);
3658
3662
  if (!l)
3659
- l = (s = (i = (n = (r = R()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3663
+ l = (s = (i = (n = (r = U()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3660
3664
  else if (typeof l != "string")
3661
3665
  return console.warn(
3662
3666
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3663
3667
  ), l;
3664
- if (!h)
3668
+ if (!u)
3665
3669
  return l;
3666
3670
  let f = l;
3667
3671
  try {
3668
- f = Cn(l, u).format(h);
3672
+ f = Rn(l, h).format(u);
3669
3673
  } catch (c) {
3670
3674
  c instanceof Error && console.warn(
3671
3675
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3673,16 +3677,16 @@ const z = (e, t) => {
3673
3677
  );
3674
3678
  }
3675
3679
  return f;
3676
- }, Un = (e, t) => Mn(t).format(e), Gn = (e, t) => Ln(t).format(e), Dn = (e, t) => $n(t).format(e), Fn = (e, t = A()) => St(e, t), jn = U([G, Z], () => Rn);
3677
- U([G], () => Un);
3678
- U([G], () => Gn);
3679
- U([G], () => Dn);
3680
- U([G, Z], () => Fn);
3680
+ }, Gn = (e, t) => Cn(t).format(e), Dn = (e, t) => Mn(t).format(e), Fn = (e, t) => Ln(t).format(e), jn = (e, t = P()) => Tt(e, t), Vn = G([D, Q], () => Un);
3681
+ G([D], () => Gn);
3682
+ G([D], () => Dn);
3683
+ G([D], () => Fn);
3684
+ G([D, Q], () => jn);
3681
3685
  function et(e, t) {
3682
3686
  At(e, t);
3683
3687
  }
3684
- function Vn(e) {
3685
- G.set(e);
3688
+ function kn(e) {
3689
+ D.set(e);
3686
3690
  }
3687
3691
  const tt = {
3688
3692
  en: {
@@ -3704,7 +3708,7 @@ const tt = {
3704
3708
  msgEmailVerificationSuccess: "Başarılı! E-posta adresiniz başarıyla doğrulandı"
3705
3709
  }
3706
3710
  };
3707
- function kn(e) {
3711
+ function Xn(e) {
3708
3712
  let t;
3709
3713
  return {
3710
3714
  c() {
@@ -3717,18 +3721,18 @@ function kn(e) {
3717
3721
  i: _,
3718
3722
  o: _,
3719
3723
  d(r) {
3720
- r && Ae(t);
3724
+ r && Oe(t);
3721
3725
  }
3722
3726
  };
3723
3727
  }
3724
- function Xn(e, t, r) {
3728
+ function Wn(e, t, r) {
3725
3729
  let n;
3726
- Ut(e, jn, (f) => r(4, n = f));
3727
- let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: o = "" } = t, { translationurl: h = "" } = t;
3728
- const u = () => {
3729
- fetch(h).then((c) => c.json()).then((c) => {
3730
- Object.keys(c).forEach((b) => {
3731
- et(b, c[b]);
3730
+ Ut(e, Vn, (f) => r(4, n = f));
3731
+ let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: o = "" } = t, { translationurl: u = "" } = t;
3732
+ const h = () => {
3733
+ fetch(u).then((c) => c.json()).then((c) => {
3734
+ Object.keys(c).forEach((d) => {
3735
+ et(d, c[d]);
3732
3736
  });
3733
3737
  }).catch((c) => {
3734
3738
  console.log(c);
@@ -3738,9 +3742,9 @@ function Xn(e, t, r) {
3738
3742
  et(f, tt[f]);
3739
3743
  });
3740
3744
  const a = () => {
3741
- Vn(i);
3745
+ kn(i);
3742
3746
  }, l = () => {
3743
- let f = new URL(`${s}/v1/player/activatePlayerByHashKey`), b = {
3747
+ let f = new URL(`${s}/v1/player/activatePlayerByHashKey`), d = {
3744
3748
  method: "POST",
3745
3749
  headers: {
3746
3750
  "Content-Type": "application/json",
@@ -3748,7 +3752,7 @@ function Xn(e, t, r) {
3748
3752
  },
3749
3753
  body: JSON.stringify({ hashKey: o })
3750
3754
  };
3751
- fetch(f.href, b).then((g) => (g.status > 500 && (window.postMessage({ type: "ActivatePlayerResponseFailed" }, window.location.href), window.postMessage(
3755
+ fetch(f.href, d).then((b) => (b.status > 500 && (window.postMessage({ type: "ActivatePlayerResponseFailed" }, window.location.href), window.postMessage(
3752
3756
  {
3753
3757
  type: "WidgetNotification",
3754
3758
  data: {
@@ -3757,8 +3761,8 @@ function Xn(e, t, r) {
3757
3761
  }
3758
3762
  },
3759
3763
  window.location.href
3760
- )), g.json())).then((g) => {
3761
- window.postMessage({ type: "ActivatePlayerResponse", data: g }, window.location.href), g.error && (window.postMessage(
3764
+ )), b.json())).then((b) => {
3765
+ window.postMessage({ type: "ActivatePlayerResponse", data: b }, window.location.href), b.error && (window.postMessage(
3762
3766
  {
3763
3767
  type: "WidgetNotification",
3764
3768
  data: {
@@ -3776,7 +3780,7 @@ function Xn(e, t, r) {
3776
3780
  }
3777
3781
  },
3778
3782
  window.location.href
3779
- )), g.SESSION_ID && window.postMessage(
3783
+ )), b.SESSION_ID && window.postMessage(
3780
3784
  {
3781
3785
  type: "WidgetNotification",
3782
3786
  data: {
@@ -3789,17 +3793,17 @@ function Xn(e, t, r) {
3789
3793
  });
3790
3794
  };
3791
3795
  return e.$$set = (f) => {
3792
- "lang" in f && r(0, i = f.lang), "endpoint" in f && r(1, s = f.endpoint), "key" in f && r(2, o = f.key), "translationurl" in f && r(3, h = f.translationurl);
3796
+ "lang" in f && r(0, i = f.lang), "endpoint" in f && r(1, s = f.endpoint), "key" in f && r(2, o = f.key), "translationurl" in f && r(3, u = f.translationurl);
3793
3797
  }, e.$$.update = () => {
3794
3798
  e.$$.dirty & /*lang*/
3795
3799
  1 && i && a(), e.$$.dirty & /*translationurl*/
3796
- 8 && h && u(), e.$$.dirty & /*endpoint, key*/
3800
+ 8 && u && h(), e.$$.dirty & /*endpoint, key*/
3797
3801
  6 && s && o && l();
3798
- }, [i, s, o, h];
3802
+ }, [i, s, o, u];
3799
3803
  }
3800
3804
  class zn extends Kt {
3801
3805
  constructor(t) {
3802
- super(), qt(this, t, Xn, kn, nt, {
3806
+ super(), qt(this, t, Wn, Xn, nt, {
3803
3807
  lang: 0,
3804
3808
  endpoint: 1,
3805
3809
  key: 2,
@@ -3810,25 +3814,25 @@ class zn extends Kt {
3810
3814
  return this.$$.ctx[0];
3811
3815
  }
3812
3816
  set lang(t) {
3813
- this.$$set({ lang: t }), w();
3817
+ this.$$set({ lang: t }), $();
3814
3818
  }
3815
3819
  get endpoint() {
3816
3820
  return this.$$.ctx[1];
3817
3821
  }
3818
3822
  set endpoint(t) {
3819
- this.$$set({ endpoint: t }), w();
3823
+ this.$$set({ endpoint: t }), $();
3820
3824
  }
3821
3825
  get key() {
3822
3826
  return this.$$.ctx[2];
3823
3827
  }
3824
3828
  set key(t) {
3825
- this.$$set({ key: t }), w();
3829
+ this.$$set({ key: t }), $();
3826
3830
  }
3827
3831
  get translationurl() {
3828
3832
  return this.$$.ctx[3];
3829
3833
  }
3830
3834
  set translationurl(t) {
3831
- this.$$set({ translationurl: t }), w();
3835
+ this.$$set({ translationurl: t }), $();
3832
3836
  }
3833
3837
  }
3834
3838
  Yt(zn, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);