@everymatrix/player-email-verification 1.86.2 → 1.86.3

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