@everymatrix/player-email-verification 1.86.3 → 1.86.5

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.
@@ -3,13 +3,13 @@ function v() {
3
3
  function Je(e) {
4
4
  return e();
5
5
  }
6
- function we() {
6
+ function Ie() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function z(e) {
10
10
  e.forEach(Je);
11
11
  }
12
- function Te(e) {
12
+ function Be(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function qe(e, t) {
@@ -33,7 +33,7 @@ function At(e, t, r) {
33
33
  function Ke(e, t, r) {
34
34
  e.insertBefore(t, r || null);
35
35
  }
36
- function Se(e) {
36
+ function Ae(e) {
37
37
  e.parentNode && e.parentNode.removeChild(e);
38
38
  }
39
39
  function et(e) {
@@ -42,10 +42,10 @@ function et(e) {
42
42
  function Pt(e, t, r) {
43
43
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
44
44
  }
45
- function Nt(e) {
45
+ function Ot(e) {
46
46
  return Array.from(e.childNodes);
47
47
  }
48
- function Ot(e) {
48
+ function Nt(e) {
49
49
  const t = {};
50
50
  return e.childNodes.forEach(
51
51
  /** @param {Element} node */
@@ -54,57 +54,57 @@ function Ot(e) {
54
54
  }
55
55
  ), t;
56
56
  }
57
- let Be;
58
- function V(e) {
59
- Be = e;
57
+ let Pe;
58
+ function k(e) {
59
+ Pe = e;
60
60
  }
61
- const O = [], $e = [];
62
- let w = [];
63
- const Le = [], It = /* @__PURE__ */ Promise.resolve();
64
- let me = !1;
65
- function wt() {
66
- me || (me = !0, It.then(I));
61
+ const w = [], $e = [];
62
+ let $ = [];
63
+ const Le = [], wt = /* @__PURE__ */ Promise.resolve();
64
+ let de = !1;
65
+ function It() {
66
+ de || (de = !0, wt.then(I));
67
67
  }
68
- function pe(e) {
69
- w.push(e);
68
+ function be(e) {
69
+ $.push(e);
70
70
  }
71
- const oe = /* @__PURE__ */ new Set();
72
- let P = 0;
71
+ const ue = /* @__PURE__ */ new Set();
72
+ let O = 0;
73
73
  function I() {
74
- if (P !== 0)
74
+ if (O !== 0)
75
75
  return;
76
- const e = Be;
76
+ const e = Pe;
77
77
  do {
78
78
  try {
79
- for (; P < O.length; ) {
80
- const t = O[P];
81
- P++, V(t), $t(t.$$);
79
+ for (; O < w.length; ) {
80
+ const t = w[O];
81
+ O++, k(t), $t(t.$$);
82
82
  }
83
83
  } catch (t) {
84
- throw O.length = 0, P = 0, t;
84
+ throw w.length = 0, O = 0, t;
85
85
  }
86
- for (V(null), O.length = 0, P = 0; $e.length; )
86
+ for (k(null), w.length = 0, O = 0; $e.length; )
87
87
  $e.pop()();
88
- for (let t = 0; t < w.length; t += 1) {
89
- const r = w[t];
90
- oe.has(r) || (oe.add(r), r());
88
+ for (let t = 0; t < $.length; t += 1) {
89
+ const r = $[t];
90
+ ue.has(r) || (ue.add(r), r());
91
91
  }
92
- w.length = 0;
93
- } while (O.length);
92
+ $.length = 0;
93
+ } while (w.length);
94
94
  for (; Le.length; )
95
95
  Le.pop()();
96
- me = !1, oe.clear(), V(e);
96
+ de = !1, ue.clear(), k(e);
97
97
  }
98
98
  function $t(e) {
99
99
  if (e.fragment !== null) {
100
100
  e.update(), z(e.before_update);
101
101
  const t = e.dirty;
102
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(pe);
102
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(be);
103
103
  }
104
104
  }
105
105
  function Lt(e) {
106
106
  const t = [], r = [];
107
- w.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), w = t;
107
+ $.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), $ = t;
108
108
  }
109
109
  const Mt = /* @__PURE__ */ new Set();
110
110
  function Ct(e, t) {
@@ -112,21 +112,21 @@ function Ct(e, t) {
112
112
  }
113
113
  function Rt(e, t, r) {
114
114
  const { fragment: n, after_update: i } = e.$$;
115
- n && n.m(t, r), pe(() => {
116
- const s = e.$$.on_mount.map(Je).filter(Te);
115
+ n && n.m(t, r), be(() => {
116
+ const s = e.$$.on_mount.map(Je).filter(Be);
117
117
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
118
- }), i.forEach(pe);
118
+ }), i.forEach(be);
119
119
  }
120
120
  function Ut(e, t) {
121
121
  const r = e.$$;
122
122
  r.fragment !== null && (Lt(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
123
123
  }
124
124
  function Gt(e, t) {
125
- e.$$.dirty[0] === -1 && (O.push(e), wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
125
+ e.$$.dirty[0] === -1 && (w.push(e), It(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
126
126
  }
127
- function Dt(e, t, r, n, i, s, h = null, o = [-1]) {
128
- const f = Be;
129
- V(e);
127
+ function Dt(e, t, r, n, i, s, u = null, o = [-1]) {
128
+ const f = Pe;
129
+ k(e);
130
130
  const a = e.$$ = {
131
131
  fragment: null,
132
132
  ctx: [],
@@ -134,7 +134,7 @@ function Dt(e, t, r, n, i, s, h = null, o = [-1]) {
134
134
  props: s,
135
135
  update: v,
136
136
  not_equal: i,
137
- bound: we(),
137
+ bound: Ie(),
138
138
  // lifecycle
139
139
  on_mount: [],
140
140
  on_destroy: [],
@@ -143,25 +143,25 @@ function Dt(e, t, r, n, i, s, h = null, o = [-1]) {
143
143
  after_update: [],
144
144
  context: new Map(t.context || (f ? f.$$.context : [])),
145
145
  // everything else
146
- callbacks: we(),
146
+ callbacks: Ie(),
147
147
  dirty: o,
148
148
  skip_bound: !1,
149
149
  root: t.target || f.$$.root
150
150
  };
151
- h && h(a.root);
152
- let u = !1;
153
- if (a.ctx = r ? r(e, t.props || {}, (l, c, ...b) => {
154
- const g = b.length ? b[0] : c;
155
- return a.ctx && i(a.ctx[l], a.ctx[l] = g) && (!a.skip_bound && a.bound[l] && a.bound[l](g), u && Gt(e, l)), c;
156
- }) : [], a.update(), u = !0, z(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
151
+ u && u(a.root);
152
+ let h = !1;
153
+ if (a.ctx = r ? r(e, t.props || {}, (l, c, ...d) => {
154
+ const b = d.length ? d[0] : c;
155
+ return a.ctx && i(a.ctx[l], a.ctx[l] = b) && (!a.skip_bound && a.bound[l] && a.bound[l](b), h && Gt(e, l)), c;
156
+ }) : [], a.update(), h = !0, z(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
157
157
  if (t.hydrate) {
158
- const l = Nt(t.target);
159
- a.fragment && a.fragment.l(l), l.forEach(Se);
158
+ const l = Ot(t.target);
159
+ a.fragment && a.fragment.l(l), l.forEach(Ae);
160
160
  } else
161
161
  a.fragment && a.fragment.c();
162
162
  t.intro && Ct(e.$$.fragment), Rt(e, t.target, t.anchor), I();
163
163
  }
164
- V(f);
164
+ k(f);
165
165
  }
166
166
  let tt;
167
167
  typeof HTMLElement == "function" && (tt = class extends HTMLElement {
@@ -216,19 +216,19 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
216
216
  Ke(f, s, a);
217
217
  },
218
218
  d: function(f) {
219
- f && Se(s);
219
+ f && Ae(s);
220
220
  }
221
221
  };
222
222
  };
223
223
  };
224
224
  if (await Promise.resolve(), !this.$$cn || this.$$c)
225
225
  return;
226
- const t = {}, r = Ot(this);
226
+ const t = {}, r = Nt(this);
227
227
  for (const i of this.$$s)
228
228
  i in r && (t[i] = [e(i)]);
229
229
  for (const i of this.attributes) {
230
230
  const s = this.$$g_p(i.name);
231
- s in this.$$d || (this.$$d[s] = J(s, i.value, this.$$p_d, "toProp"));
231
+ s in this.$$d || (this.$$d[s] = q(s, i.value, this.$$p_d, "toProp"));
232
232
  }
233
233
  for (const i in this.$$p_d)
234
234
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -246,7 +246,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
246
246
  this.$$r = !0;
247
247
  for (const i in this.$$p_d)
248
248
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
249
- const s = J(
249
+ const s = q(
250
250
  i,
251
251
  this.$$d[i],
252
252
  this.$$p_d,
@@ -259,8 +259,8 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
259
259
  this.$$c.$$.after_update.push(n), n();
260
260
  for (const i in this.$$l)
261
261
  for (const s of this.$$l[i]) {
262
- const h = this.$$c.$on(i, s);
263
- this.$$l_u.set(s, h);
262
+ const u = this.$$c.$on(i, s);
263
+ this.$$l_u.set(s, u);
264
264
  }
265
265
  this.$$l = {};
266
266
  }
@@ -268,7 +268,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
268
268
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
269
269
  // and setting attributes through setAttribute etc, this is helpful
270
270
  attributeChangedCallback(e, t, r) {
271
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = J(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
271
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = q(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
272
272
  }
273
273
  disconnectedCallback() {
274
274
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
281
281
  ) || e;
282
282
  }
283
283
  });
284
- function J(e, t, r, n) {
284
+ function q(e, t, r, n) {
285
285
  const i = r[e]?.type;
286
286
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
287
287
  return t;
@@ -311,7 +311,7 @@ function J(e, t, r, n) {
311
311
  }
312
312
  }
313
313
  function Ft(e, t, r, n, i, s) {
314
- let h = class extends tt {
314
+ let u = class extends tt {
315
315
  constructor() {
316
316
  super(e, r, i), this.$$p_d = t;
317
317
  }
@@ -322,22 +322,22 @@ function Ft(e, t, r, n, i, s) {
322
322
  }
323
323
  };
324
324
  return Object.keys(t).forEach((o) => {
325
- Object.defineProperty(h.prototype, o, {
325
+ Object.defineProperty(u.prototype, o, {
326
326
  get() {
327
327
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
328
328
  },
329
329
  set(f) {
330
- f = J(o, f, t), this.$$d[o] = f, this.$$c?.$set({ [o]: f });
330
+ f = q(o, f, t), this.$$d[o] = f, this.$$c?.$set({ [o]: f });
331
331
  }
332
332
  });
333
333
  }), n.forEach((o) => {
334
- Object.defineProperty(h.prototype, o, {
334
+ Object.defineProperty(u.prototype, o, {
335
335
  get() {
336
336
  return this.$$c?.[o];
337
337
  }
338
338
  });
339
339
  }), e.element = /** @type {any} */
340
- h, h;
340
+ u, u;
341
341
  }
342
342
  class jt {
343
343
  /**
@@ -367,7 +367,7 @@ class jt {
367
367
  * @returns {() => void}
368
368
  */
369
369
  $on(t, r) {
370
- if (!Te(r))
370
+ if (!Be(r))
371
371
  return v;
372
372
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
373
373
  return n.push(r), () => {
@@ -388,10 +388,10 @@ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__
388
388
  const N = [];
389
389
  function kt(e, t) {
390
390
  return {
391
- subscribe: te(e, t).subscribe
391
+ subscribe: ne(e, t).subscribe
392
392
  };
393
393
  }
394
- function te(e, t = v) {
394
+ function ne(e, t = v) {
395
395
  let r;
396
396
  const n = /* @__PURE__ */ new Set();
397
397
  function i(o) {
@@ -409,52 +409,52 @@ function te(e, t = v) {
409
409
  function s(o) {
410
410
  i(o(e));
411
411
  }
412
- function h(o, f = v) {
412
+ function u(o, f = v) {
413
413
  const a = [o, f];
414
414
  return n.add(a), n.size === 1 && (r = t(i, s) || v), o(e), () => {
415
415
  n.delete(a), n.size === 0 && r && (r(), r = null);
416
416
  };
417
417
  }
418
- return { set: i, update: s, subscribe: h };
418
+ return { set: i, update: s, subscribe: u };
419
419
  }
420
- function R(e, t, r) {
420
+ function U(e, t, r) {
421
421
  const n = !Array.isArray(e), i = n ? [e] : e;
422
422
  if (!i.every(Boolean))
423
423
  throw new Error("derived() expects stores as input, got a falsy value");
424
424
  const s = t.length < 2;
425
- return kt(r, (h, o) => {
425
+ return kt(r, (u, o) => {
426
426
  let f = !1;
427
427
  const a = [];
428
- let u = 0, l = v;
428
+ let h = 0, l = v;
429
429
  const c = () => {
430
- if (u)
430
+ if (h)
431
431
  return;
432
432
  l();
433
- const g = t(n ? a[0] : a, h, o);
434
- s ? h(g) : l = Te(g) ? g : v;
435
- }, b = i.map(
436
- (g, x) => Ye(
437
- g,
438
- (H) => {
439
- a[x] = H, u &= ~(1 << x), f && c();
433
+ const b = t(n ? a[0] : a, u, o);
434
+ s ? u(b) : l = Be(b) ? b : v;
435
+ }, d = i.map(
436
+ (b, x) => Ye(
437
+ b,
438
+ (S) => {
439
+ a[x] = S, h &= ~(1 << x), f && c();
440
440
  },
441
441
  () => {
442
- u |= 1 << x;
442
+ h |= 1 << x;
443
443
  }
444
444
  )
445
445
  );
446
446
  return f = !0, c(), function() {
447
- z(b), l(), f = !1;
447
+ z(d), l(), f = !1;
448
448
  };
449
449
  });
450
450
  }
451
451
  function Xt(e) {
452
452
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
453
453
  }
454
- var zt = function(t) {
455
- return Wt(t) && !Zt(t);
454
+ var Wt = function(t) {
455
+ return zt(t) && !Zt(t);
456
456
  };
457
- function Wt(e) {
457
+ function zt(e) {
458
458
  return !!e && typeof e == "object";
459
459
  }
460
460
  function Zt(e) {
@@ -468,19 +468,19 @@ function qt(e) {
468
468
  function Yt(e) {
469
469
  return Array.isArray(e) ? [] : {};
470
470
  }
471
- function k(e, t) {
472
- return t.clone !== !1 && t.isMergeableObject(e) ? $(Yt(e), e, t) : e;
471
+ function X(e, t) {
472
+ return t.clone !== !1 && t.isMergeableObject(e) ? L(Yt(e), e, t) : e;
473
473
  }
474
474
  function Kt(e, t, r) {
475
475
  return e.concat(t).map(function(n) {
476
- return k(n, r);
476
+ return X(n, r);
477
477
  });
478
478
  }
479
479
  function er(e, t) {
480
480
  if (!t.customMerge)
481
- return $;
481
+ return L;
482
482
  var r = t.customMerge(e);
483
- return typeof r == "function" ? r : $;
483
+ return typeof r == "function" ? r : L;
484
484
  }
485
485
  function tr(e) {
486
486
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -503,65 +503,51 @@ function rr(e, t) {
503
503
  function nr(e, t, r) {
504
504
  var n = {};
505
505
  return r.isMergeableObject(e) && Me(e).forEach(function(i) {
506
- n[i] = k(e[i], r);
506
+ n[i] = X(e[i], r);
507
507
  }), Me(t).forEach(function(i) {
508
- rr(e, i) || (rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = er(i, r)(e[i], t[i], r) : n[i] = k(t[i], r));
508
+ rr(e, i) || (rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = er(i, r)(e[i], t[i], r) : n[i] = X(t[i], r));
509
509
  }), n;
510
510
  }
511
- function $(e, t, r) {
512
- r = r || {}, r.arrayMerge = r.arrayMerge || Kt, r.isMergeableObject = r.isMergeableObject || zt, r.cloneUnlessOtherwiseSpecified = k;
511
+ function L(e, t, r) {
512
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kt, r.isMergeableObject = r.isMergeableObject || Wt, r.cloneUnlessOtherwiseSpecified = X;
513
513
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
514
- return s ? n ? r.arrayMerge(e, t, r) : nr(e, t, r) : k(t, r);
514
+ return s ? n ? r.arrayMerge(e, t, r) : nr(e, t, r) : X(t, r);
515
515
  }
516
- $.all = function(t, r) {
516
+ L.all = function(t, r) {
517
517
  if (!Array.isArray(t))
518
518
  throw new Error("first argument should be an array");
519
519
  return t.reduce(function(n, i) {
520
- return $(n, i, r);
520
+ return L(n, i, r);
521
521
  }, {});
522
522
  };
523
- var ir = $, sr = ir;
523
+ var ir = L, sr = ir;
524
524
  const or = /* @__PURE__ */ Xt(sr);
525
- /*! *****************************************************************************
526
- Copyright (c) Microsoft Corporation.
527
-
528
- Permission to use, copy, modify, and/or distribute this software for any
529
- purpose with or without fee is hereby granted.
530
-
531
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
532
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
533
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
534
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
535
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
536
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
537
- PERFORMANCE OF THIS SOFTWARE.
538
- ***************************************************************************** */
539
- var de = function(e, t) {
540
- return de = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
525
+ var ge = function(e, t) {
526
+ return ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
541
527
  r.__proto__ = n;
542
528
  } || function(r, n) {
543
529
  for (var i in n)
544
530
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
545
- }, de(e, t);
531
+ }, ge(e, t);
546
532
  };
547
- function re(e, t) {
533
+ function ie(e, t) {
548
534
  if (typeof t != "function" && t !== null)
549
535
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
550
- de(e, t);
536
+ ge(e, t);
551
537
  function r() {
552
538
  this.constructor = e;
553
539
  }
554
540
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
555
541
  }
556
- var d = function() {
557
- return d = Object.assign || function(t) {
542
+ var H = function() {
543
+ return H = Object.assign || function(t) {
558
544
  for (var r, n = 1, i = arguments.length; n < i; n++) {
559
545
  r = arguments[n];
560
546
  for (var s in r)
561
547
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
562
548
  }
563
549
  return t;
564
- }, d.apply(this, arguments);
550
+ }, H.apply(this, arguments);
565
551
  };
566
552
  function ar(e, t) {
567
553
  var r = {};
@@ -572,111 +558,119 @@ function ar(e, t) {
572
558
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
573
559
  return r;
574
560
  }
575
- function ae(e, t, r) {
576
- if (arguments.length === 2)
561
+ function he(e, t, r) {
562
+ if (r || arguments.length === 2)
577
563
  for (var n = 0, i = t.length, s; n < i; n++)
578
564
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
579
- return e.concat(s || t);
565
+ return e.concat(s || Array.prototype.slice.call(t));
580
566
  }
581
- function he(e, t) {
582
- var r = t && t.cache ? t.cache : mr, n = t && t.serializer ? t.serializer : cr, i = t && t.strategy ? t.strategy : ur;
567
+ function le(e, t) {
568
+ var r = t && t.cache ? t.cache : pr, n = t && t.serializer ? t.serializer : cr, i = t && t.strategy ? t.strategy : lr;
583
569
  return i(e, {
584
570
  cache: r,
585
571
  serializer: n
586
572
  });
587
573
  }
588
- function hr(e) {
574
+ function ur(e) {
589
575
  return e == null || typeof e == "number" || typeof e == "boolean";
590
576
  }
591
- function nt(e, t, r, n) {
592
- var i = hr(n) ? n : r(n), s = t.get(i);
577
+ function hr(e, t, r, n) {
578
+ var i = ur(n) ? n : r(n), s = t.get(i);
593
579
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
594
580
  }
595
- function it(e, t, r) {
581
+ function nt(e, t, r) {
596
582
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
597
583
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
598
584
  }
599
- function Ae(e, t, r, n, i) {
585
+ function it(e, t, r, n, i) {
600
586
  return r.bind(t, e, n, i);
601
587
  }
602
- function ur(e, t) {
603
- var r = e.length === 1 ? nt : it;
604
- return Ae(e, this, r, t.cache.create(), t.serializer);
605
- }
606
588
  function lr(e, t) {
607
- return Ae(e, this, it, t.cache.create(), t.serializer);
589
+ var r = e.length === 1 ? hr : nt;
590
+ return it(e, this, r, t.cache.create(), t.serializer);
608
591
  }
609
592
  function fr(e, t) {
610
- return Ae(e, this, nt, t.cache.create(), t.serializer);
593
+ return it(e, this, nt, t.cache.create(), t.serializer);
611
594
  }
612
595
  var cr = function() {
613
596
  return JSON.stringify(arguments);
614
- };
615
- function Pe() {
616
- this.cache = /* @__PURE__ */ Object.create(null);
617
- }
618
- Pe.prototype.get = function(e) {
619
- return this.cache[e];
620
- };
621
- Pe.prototype.set = function(e, t) {
622
- this.cache[e] = t;
623
- };
624
- var mr = {
597
+ }, mr = (
598
+ /** @class */
599
+ function() {
600
+ function e() {
601
+ this.cache = /* @__PURE__ */ Object.create(null);
602
+ }
603
+ return e.prototype.get = function(t) {
604
+ return this.cache[t];
605
+ }, e.prototype.set = function(t, r) {
606
+ this.cache[t] = r;
607
+ }, e;
608
+ }()
609
+ ), pr = {
625
610
  create: function() {
626
- return new Pe();
611
+ return new mr();
627
612
  }
628
- }, ue = {
629
- variadic: lr,
630
- monadic: fr
631
- }, m;
613
+ }, fe = {
614
+ variadic: fr
615
+ }, ee = function() {
616
+ return ee = Object.assign || function(t) {
617
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
618
+ r = arguments[n];
619
+ for (var s in r)
620
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
621
+ }
622
+ return t;
623
+ }, ee.apply(this, arguments);
624
+ };
625
+ var m;
632
626
  (function(e) {
633
627
  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";
634
628
  })(m || (m = {}));
635
- var E;
629
+ var g;
636
630
  (function(e) {
637
631
  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";
638
- })(E || (E = {}));
639
- var L;
632
+ })(g || (g = {}));
633
+ var M;
640
634
  (function(e) {
641
635
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
642
- })(L || (L = {}));
636
+ })(M || (M = {}));
643
637
  function Ce(e) {
644
- return e.type === E.literal;
638
+ return e.type === g.literal;
645
639
  }
646
- function pr(e) {
647
- return e.type === E.argument;
640
+ function dr(e) {
641
+ return e.type === g.argument;
648
642
  }
649
643
  function st(e) {
650
- return e.type === E.number;
644
+ return e.type === g.number;
651
645
  }
652
646
  function ot(e) {
653
- return e.type === E.date;
647
+ return e.type === g.date;
654
648
  }
655
649
  function at(e) {
656
- return e.type === E.time;
657
- }
658
- function ht(e) {
659
- return e.type === E.select;
650
+ return e.type === g.time;
660
651
  }
661
652
  function ut(e) {
662
- return e.type === E.plural;
653
+ return e.type === g.select;
663
654
  }
664
- function dr(e) {
665
- return e.type === E.pound;
655
+ function ht(e) {
656
+ return e.type === g.plural;
657
+ }
658
+ function br(e) {
659
+ return e.type === g.pound;
666
660
  }
667
661
  function lt(e) {
668
- return e.type === E.tag;
662
+ return e.type === g.tag;
669
663
  }
670
664
  function ft(e) {
671
- return !!(e && typeof e == "object" && e.type === L.number);
665
+ return !!(e && typeof e == "object" && e.type === M.number);
672
666
  }
673
- function be(e) {
674
- return !!(e && typeof e == "object" && e.type === L.dateTime);
667
+ function Ee(e) {
668
+ return !!(e && typeof e == "object" && e.type === M.dateTime);
675
669
  }
676
- var ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, br = /(?:[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;
677
- function gr(e) {
670
+ var ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gr = /(?:[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;
671
+ function Er(e) {
678
672
  var t = {};
679
- return e.replace(br, function(r) {
673
+ return e.replace(gr, function(r) {
680
674
  var n = r.length;
681
675
  switch (r[0]) {
682
676
  case "G":
@@ -765,18 +759,28 @@ function gr(e) {
765
759
  return "";
766
760
  }), t;
767
761
  }
768
- var Er = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
769
- function yr(e) {
762
+ var E = function() {
763
+ return E = Object.assign || function(t) {
764
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
765
+ r = arguments[n];
766
+ for (var s in r)
767
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
768
+ }
769
+ return t;
770
+ }, E.apply(this, arguments);
771
+ };
772
+ var yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
773
+ function xr(e) {
770
774
  if (e.length === 0)
771
775
  throw new Error("Number skeleton cannot be empty");
772
- for (var t = e.split(Er).filter(function(c) {
776
+ for (var t = e.split(yr).filter(function(c) {
773
777
  return c.length > 0;
774
778
  }), r = [], n = 0, i = t; n < i.length; n++) {
775
- var s = i[n], h = s.split("/");
776
- if (h.length === 0)
779
+ var s = i[n], u = s.split("/");
780
+ if (u.length === 0)
777
781
  throw new Error("Invalid number skeleton");
778
- for (var o = h[0], f = h.slice(1), a = 0, u = f; a < u.length; a++) {
779
- var l = u[a];
782
+ for (var o = u[0], f = u.slice(1), a = 0, h = f; a < h.length; a++) {
783
+ var l = h[a];
780
784
  if (l.length === 0)
781
785
  throw new Error("Invalid number skeleton");
782
786
  }
@@ -784,10 +788,10 @@ function yr(e) {
784
788
  }
785
789
  return r;
786
790
  }
787
- function xr(e) {
791
+ function vr(e) {
788
792
  return e.replace(/^(.*?)-/, "");
789
793
  }
790
- var Re = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mt = /^(@+)?(\+|#+)?[rs]?$/g, vr = /(\*)(0+)|(#+)(0+)|(0+)/g, pt = /^(0+)$/;
794
+ var Re = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mt = /^(@+)?(\+|#+)?[rs]?$/g, _r = /(\*)(0+)|(#+)(0+)|(0+)/g, pt = /^(0+)$/;
791
795
  function Ue(e) {
792
796
  var t = {};
793
797
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mt, function(r, n, i) {
@@ -834,7 +838,7 @@ function dt(e) {
834
838
  };
835
839
  }
836
840
  }
837
- function _r(e) {
841
+ function Hr(e) {
838
842
  var t;
839
843
  if (e[0] === "E" && e[1] === "E" ? (t = {
840
844
  notation: "engineering"
@@ -852,7 +856,7 @@ function Ge(e) {
852
856
  var t = {}, r = dt(e);
853
857
  return r || t;
854
858
  }
855
- function Hr(e) {
859
+ function Sr(e) {
856
860
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
857
861
  var i = n[r];
858
862
  switch (i.stem) {
@@ -876,7 +880,7 @@ function Hr(e) {
876
880
  continue;
877
881
  case "measure-unit":
878
882
  case "unit":
879
- t.style = "unit", t.unit = xr(i.options[0]);
883
+ t.style = "unit", t.unit = vr(i.options[0]);
880
884
  continue;
881
885
  case "compact-short":
882
886
  case "K":
@@ -887,13 +891,13 @@ function Hr(e) {
887
891
  t.notation = "compact", t.compactDisplay = "long";
888
892
  continue;
889
893
  case "scientific":
890
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
891
- return d(d({}, f), Ge(a));
894
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
895
+ return E(E({}, f), Ge(a));
892
896
  }, {}));
893
897
  continue;
894
898
  case "engineering":
895
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
896
- return d(d({}, f), Ge(a));
899
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
900
+ return E(E({}, f), Ge(a));
897
901
  }, {}));
898
902
  continue;
899
903
  case "notation-simple":
@@ -938,13 +942,13 @@ function Hr(e) {
938
942
  case "integer-width":
939
943
  if (i.options.length > 1)
940
944
  throw new RangeError("integer-width stems only accept a single optional option");
941
- i.options[0].replace(vr, function(f, a, u, l, c, b) {
945
+ i.options[0].replace(_r, function(f, a, h, l, c, d) {
942
946
  if (a)
943
- t.minimumIntegerDigits = u.length;
947
+ t.minimumIntegerDigits = h.length;
944
948
  else {
945
949
  if (l && c)
946
950
  throw new Error("We currently do not support maximum integer digits");
947
- if (b)
951
+ if (d)
948
952
  throw new Error("We currently do not support exact integer digits");
949
953
  }
950
954
  return "";
@@ -958,25 +962,25 @@ function Hr(e) {
958
962
  if (Re.test(i.stem)) {
959
963
  if (i.options.length > 1)
960
964
  throw new RangeError("Fraction-precision stems only accept a single optional option");
961
- i.stem.replace(Re, function(f, a, u, l, c, b) {
962
- return u === "*" ? t.minimumFractionDigits = a.length : l && l[0] === "#" ? t.maximumFractionDigits = l.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
965
+ i.stem.replace(Re, function(f, a, h, l, c, d) {
966
+ return h === "*" ? t.minimumFractionDigits = a.length : l && l[0] === "#" ? t.maximumFractionDigits = l.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
963
967
  });
964
968
  var s = i.options[0];
965
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Ue(s)));
969
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ue(s)));
966
970
  continue;
967
971
  }
968
972
  if (mt.test(i.stem)) {
969
- t = d(d({}, t), Ue(i.stem));
973
+ t = E(E({}, t), Ue(i.stem));
970
974
  continue;
971
975
  }
972
- var h = dt(i.stem);
973
- h && (t = d(d({}, t), h));
974
- var o = _r(i.stem);
975
- o && (t = d(d({}, t), o));
976
+ var u = dt(i.stem);
977
+ u && (t = E(E({}, t), u));
978
+ var o = Hr(i.stem);
979
+ o && (t = E(E({}, t), o));
976
980
  }
977
981
  return t;
978
982
  }
979
- var Q = {
983
+ var J = {
980
984
  "001": [
981
985
  "H",
982
986
  "h"
@@ -2397,17 +2401,17 @@ function Tr(e, t) {
2397
2401
  if (i === "j") {
2398
2402
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2399
2403
  s++, n++;
2400
- var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Sr(t);
2404
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Br(t);
2401
2405
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2402
2406
  r += f;
2403
- for (; h-- > 0; )
2407
+ for (; u-- > 0; )
2404
2408
  r = a + r;
2405
2409
  } else
2406
2410
  i === "J" ? r += "H" : r += i;
2407
2411
  }
2408
2412
  return r;
2409
2413
  }
2410
- function Sr(e) {
2414
+ function Br(e) {
2411
2415
  var t = e.hourCycle;
2412
2416
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2413
2417
  e.hourCycles && // @ts-ignore
@@ -2426,23 +2430,23 @@ function Sr(e) {
2426
2430
  }
2427
2431
  var r = e.language, n;
2428
2432
  r !== "root" && (n = e.maximize().region);
2429
- var i = Q[n || ""] || Q[r || ""] || Q["".concat(r, "-001")] || Q["001"];
2433
+ var i = J[n || ""] || J[r || ""] || J["".concat(r, "-001")] || J["001"];
2430
2434
  return i[0];
2431
2435
  }
2432
- var le, Br = new RegExp("^".concat(ct.source, "*")), Ar = new RegExp("".concat(ct.source, "*$"));
2436
+ var ce, Ar = new RegExp("^".concat(ct.source, "*")), Pr = new RegExp("".concat(ct.source, "*$"));
2433
2437
  function p(e, t) {
2434
2438
  return { start: e, end: t };
2435
2439
  }
2436
- var Pr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nr = !!String.fromCodePoint, Or = !!Object.fromEntries, Ir = !!String.prototype.codePointAt, wr = !!String.prototype.trimStart, $r = !!String.prototype.trimEnd, Lr = !!Number.isSafeInteger, Mr = Lr ? Number.isSafeInteger : function(e) {
2440
+ var Or = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nr = !!String.fromCodePoint, wr = !!Object.fromEntries, Ir = !!String.prototype.codePointAt, $r = !!String.prototype.trimStart, Lr = !!String.prototype.trimEnd, Mr = !!Number.isSafeInteger, Cr = Mr ? Number.isSafeInteger : function(e) {
2437
2441
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2438
- }, ge = !0;
2442
+ }, ye = !0;
2439
2443
  try {
2440
- var Cr = gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2441
- ge = ((le = Cr.exec("a")) === null || le === void 0 ? void 0 : le[0]) === "a";
2444
+ var Rr = gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2445
+ ye = ((ce = Rr.exec("a")) === null || ce === void 0 ? void 0 : ce[0]) === "a";
2442
2446
  } catch {
2443
- ge = !1;
2447
+ ye = !1;
2444
2448
  }
2445
- var De = Pr ? (
2449
+ var De = Or ? (
2446
2450
  // Native
2447
2451
  function(t, r, n) {
2448
2452
  return t.startsWith(r, n);
@@ -2452,26 +2456,26 @@ var De = Pr ? (
2452
2456
  function(t, r, n) {
2453
2457
  return t.slice(n, n + r.length) === r;
2454
2458
  }
2455
- ), Ee = Nr ? String.fromCodePoint : (
2459
+ ), xe = Nr ? String.fromCodePoint : (
2456
2460
  // IE11
2457
2461
  function() {
2458
2462
  for (var t = [], r = 0; r < arguments.length; r++)
2459
2463
  t[r] = arguments[r];
2460
- for (var n = "", i = t.length, s = 0, h; i > s; ) {
2461
- if (h = t[s++], h > 1114111)
2462
- throw RangeError(h + " is not a valid code point");
2463
- n += h < 65536 ? String.fromCharCode(h) : String.fromCharCode(((h -= 65536) >> 10) + 55296, h % 1024 + 56320);
2464
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2465
+ if (u = t[s++], u > 1114111)
2466
+ throw RangeError(u + " is not a valid code point");
2467
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2464
2468
  }
2465
2469
  return n;
2466
2470
  }
2467
2471
  ), Fe = (
2468
2472
  // native
2469
- Or ? Object.fromEntries : (
2473
+ wr ? Object.fromEntries : (
2470
2474
  // Ponyfill
2471
2475
  function(t) {
2472
2476
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2473
- var s = i[n], h = s[0], o = s[1];
2474
- r[h] = o;
2477
+ var s = i[n], u = s[0], o = s[1];
2478
+ r[u] = o;
2475
2479
  }
2476
2480
  return r;
2477
2481
  }
@@ -2490,7 +2494,7 @@ var De = Pr ? (
2490
2494
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2491
2495
  }
2492
2496
  }
2493
- ), Rr = wr ? (
2497
+ ), Ur = $r ? (
2494
2498
  // Native
2495
2499
  function(t) {
2496
2500
  return t.trimStart();
@@ -2498,9 +2502,9 @@ var De = Pr ? (
2498
2502
  ) : (
2499
2503
  // Ponyfill
2500
2504
  function(t) {
2501
- return t.replace(Br, "");
2505
+ return t.replace(Ar, "");
2502
2506
  }
2503
- ), Ur = $r ? (
2507
+ ), Gr = Lr ? (
2504
2508
  // Native
2505
2509
  function(t) {
2506
2510
  return t.trimEnd();
@@ -2508,32 +2512,32 @@ var De = Pr ? (
2508
2512
  ) : (
2509
2513
  // Ponyfill
2510
2514
  function(t) {
2511
- return t.replace(Ar, "");
2515
+ return t.replace(Pr, "");
2512
2516
  }
2513
2517
  );
2514
2518
  function gt(e, t) {
2515
2519
  return new RegExp(e, t);
2516
2520
  }
2517
- var ye;
2518
- if (ge) {
2521
+ var ve;
2522
+ if (ye) {
2519
2523
  var je = gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2520
- ye = function(t, r) {
2524
+ ve = function(t, r) {
2521
2525
  var n;
2522
2526
  je.lastIndex = r;
2523
2527
  var i = je.exec(t);
2524
2528
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2525
2529
  };
2526
2530
  } else
2527
- ye = function(t, r) {
2531
+ ve = function(t, r) {
2528
2532
  for (var n = []; ; ) {
2529
2533
  var i = bt(t, r);
2530
- if (i === void 0 || Et(i) || jr(i))
2534
+ if (i === void 0 || Et(i) || Vr(i))
2531
2535
  break;
2532
2536
  n.push(i), r += i >= 65536 ? 2 : 1;
2533
2537
  }
2534
- return Ee.apply(void 0, n);
2538
+ return xe.apply(void 0, n);
2535
2539
  };
2536
- var Gr = (
2540
+ var Dr = (
2537
2541
  /** @class */
2538
2542
  function() {
2539
2543
  function e(t, r) {
@@ -2547,33 +2551,33 @@ var Gr = (
2547
2551
  for (var i = []; !this.isEOF(); ) {
2548
2552
  var s = this.char();
2549
2553
  if (s === 123) {
2550
- var h = this.parseArgument(t, n);
2551
- if (h.err)
2552
- return h;
2553
- i.push(h.val);
2554
+ var u = this.parseArgument(t, n);
2555
+ if (u.err)
2556
+ return u;
2557
+ i.push(u.val);
2554
2558
  } else {
2555
2559
  if (s === 125 && t > 0)
2556
2560
  break;
2557
2561
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2558
2562
  var o = this.clonePosition();
2559
2563
  this.bump(), i.push({
2560
- type: E.pound,
2564
+ type: g.pound,
2561
2565
  location: p(o, this.clonePosition())
2562
2566
  });
2563
2567
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2564
2568
  if (n)
2565
2569
  break;
2566
2570
  return this.error(m.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2567
- } else if (s === 60 && !this.ignoreTag && xe(this.peek() || 0)) {
2568
- var h = this.parseTag(t, r);
2569
- if (h.err)
2570
- return h;
2571
- i.push(h.val);
2571
+ } else if (s === 60 && !this.ignoreTag && _e(this.peek() || 0)) {
2572
+ var u = this.parseTag(t, r);
2573
+ if (u.err)
2574
+ return u;
2575
+ i.push(u.val);
2572
2576
  } else {
2573
- var h = this.parseLiteral(t, r);
2574
- if (h.err)
2575
- return h;
2576
- i.push(h.val);
2577
+ var u = this.parseLiteral(t, r);
2578
+ if (u.err)
2579
+ return u;
2580
+ i.push(u.val);
2577
2581
  }
2578
2582
  }
2579
2583
  }
@@ -2585,7 +2589,7 @@ var Gr = (
2585
2589
  if (this.bumpSpace(), this.bumpIf("/>"))
2586
2590
  return {
2587
2591
  val: {
2588
- type: E.literal,
2592
+ type: g.literal,
2589
2593
  value: "<".concat(i, "/>"),
2590
2594
  location: p(n, this.clonePosition())
2591
2595
  },
@@ -2595,16 +2599,16 @@ var Gr = (
2595
2599
  var s = this.parseMessage(t + 1, r, !0);
2596
2600
  if (s.err)
2597
2601
  return s;
2598
- var h = s.val, o = this.clonePosition();
2602
+ var u = s.val, o = this.clonePosition();
2599
2603
  if (this.bumpIf("</")) {
2600
- if (this.isEOF() || !xe(this.char()))
2604
+ if (this.isEOF() || !_e(this.char()))
2601
2605
  return this.error(m.INVALID_TAG, p(o, this.clonePosition()));
2602
2606
  var f = this.clonePosition(), a = this.parseTagName();
2603
2607
  return i !== a ? this.error(m.UNMATCHED_CLOSING_TAG, p(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2604
2608
  val: {
2605
- type: E.tag,
2609
+ type: g.tag,
2606
2610
  value: i,
2607
- children: h,
2611
+ children: u,
2608
2612
  location: p(n, this.clonePosition())
2609
2613
  },
2610
2614
  err: null
@@ -2615,7 +2619,7 @@ var Gr = (
2615
2619
  return this.error(m.INVALID_TAG, p(n, this.clonePosition()));
2616
2620
  }, e.prototype.parseTagName = function() {
2617
2621
  var t = this.offset();
2618
- for (this.bump(); !this.isEOF() && Fr(this.char()); )
2622
+ for (this.bump(); !this.isEOF() && jr(this.char()); )
2619
2623
  this.bump();
2620
2624
  return this.message.slice(t, this.offset());
2621
2625
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2625,9 +2629,9 @@ var Gr = (
2625
2629
  i += s;
2626
2630
  continue;
2627
2631
  }
2628
- var h = this.tryParseUnquoted(t, r);
2629
- if (h) {
2630
- i += h;
2632
+ var u = this.tryParseUnquoted(t, r);
2633
+ if (u) {
2634
+ i += u;
2631
2635
  continue;
2632
2636
  }
2633
2637
  var o = this.tryParseLeftAngleBracket();
@@ -2639,12 +2643,12 @@ var Gr = (
2639
2643
  }
2640
2644
  var f = p(n, this.clonePosition());
2641
2645
  return {
2642
- val: { type: E.literal, value: i, location: f },
2646
+ val: { type: g.literal, value: i, location: f },
2643
2647
  err: null
2644
2648
  };
2645
2649
  }, e.prototype.tryParseLeftAngleBracket = function() {
2646
2650
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2647
- !Dr(this.peek() || 0)) ? (this.bump(), "<") : null;
2651
+ !Fr(this.peek() || 0)) ? (this.bump(), "<") : null;
2648
2652
  }, e.prototype.tryParseQuote = function(t) {
2649
2653
  if (this.isEOF() || this.char() !== 39)
2650
2654
  return null;
@@ -2678,12 +2682,12 @@ var Gr = (
2678
2682
  r.push(n);
2679
2683
  this.bump();
2680
2684
  }
2681
- return Ee.apply(void 0, r);
2685
+ return xe.apply(void 0, r);
2682
2686
  }, e.prototype.tryParseUnquoted = function(t, r) {
2683
2687
  if (this.isEOF())
2684
2688
  return null;
2685
2689
  var n = this.char();
2686
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ee(n));
2690
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xe(n));
2687
2691
  }, e.prototype.parseArgument = function(t, r) {
2688
2692
  var n = this.clonePosition();
2689
2693
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2699,7 +2703,7 @@ var Gr = (
2699
2703
  case 125:
2700
2704
  return this.bump(), {
2701
2705
  val: {
2702
- type: E.argument,
2706
+ type: g.argument,
2703
2707
  // value does not include the opening and closing braces.
2704
2708
  value: i,
2705
2709
  location: p(n, this.clonePosition())
@@ -2712,15 +2716,15 @@ var Gr = (
2712
2716
  return this.error(m.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2713
2717
  }
2714
2718
  }, e.prototype.parseIdentifierIfPossible = function() {
2715
- var t = this.clonePosition(), r = this.offset(), n = ye(this.message, r), i = r + n.length;
2719
+ var t = this.clonePosition(), r = this.offset(), n = ve(this.message, r), i = r + n.length;
2716
2720
  this.bumpTo(i);
2717
- var s = this.clonePosition(), h = p(t, s);
2718
- return { value: n, location: h };
2721
+ var s = this.clonePosition(), u = p(t, s);
2722
+ return { value: n, location: u };
2719
2723
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2720
- var s, h = this.clonePosition(), o = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2724
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2721
2725
  switch (o) {
2722
2726
  case "":
2723
- return this.error(m.EXPECT_ARGUMENT_TYPE, p(h, f));
2727
+ return this.error(m.EXPECT_ARGUMENT_TYPE, p(u, f));
2724
2728
  case "number":
2725
2729
  case "date":
2726
2730
  case "time": {
@@ -2728,47 +2732,47 @@ var Gr = (
2728
2732
  var a = null;
2729
2733
  if (this.bumpIf(",")) {
2730
2734
  this.bumpSpace();
2731
- var u = this.clonePosition(), l = this.parseSimpleArgStyleIfPossible();
2735
+ var h = this.clonePosition(), l = this.parseSimpleArgStyleIfPossible();
2732
2736
  if (l.err)
2733
2737
  return l;
2734
- var c = Ur(l.val);
2738
+ var c = Gr(l.val);
2735
2739
  if (c.length === 0)
2736
2740
  return this.error(m.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2737
- var b = p(u, this.clonePosition());
2738
- a = { style: c, styleLocation: b };
2741
+ var d = p(h, this.clonePosition());
2742
+ a = { style: c, styleLocation: d };
2739
2743
  }
2740
- var g = this.tryParseArgumentClose(i);
2741
- if (g.err)
2742
- return g;
2744
+ var b = this.tryParseArgumentClose(i);
2745
+ if (b.err)
2746
+ return b;
2743
2747
  var x = p(i, this.clonePosition());
2744
2748
  if (a && De(a?.style, "::", 0)) {
2745
- var H = Rr(a.style.slice(2));
2749
+ var S = Ur(a.style.slice(2));
2746
2750
  if (o === "number") {
2747
- var l = this.parseNumberSkeletonFromString(H, a.styleLocation);
2751
+ var l = this.parseNumberSkeletonFromString(S, a.styleLocation);
2748
2752
  return l.err ? l : {
2749
- val: { type: E.number, value: n, location: x, style: l.val },
2753
+ val: { type: g.number, value: n, location: x, style: l.val },
2750
2754
  err: null
2751
2755
  };
2752
2756
  } else {
2753
- if (H.length === 0)
2757
+ if (S.length === 0)
2754
2758
  return this.error(m.EXPECT_DATE_TIME_SKELETON, x);
2755
- var D = H;
2756
- this.locale && (D = Tr(H, this.locale));
2759
+ var F = S;
2760
+ this.locale && (F = Tr(S, this.locale));
2757
2761
  var c = {
2758
- type: L.dateTime,
2759
- pattern: D,
2762
+ type: M.dateTime,
2763
+ pattern: F,
2760
2764
  location: a.styleLocation,
2761
- parsedOptions: this.shouldParseSkeletons ? gr(D) : {}
2762
- }, A = o === "date" ? E.date : E.time;
2765
+ parsedOptions: this.shouldParseSkeletons ? Er(F) : {}
2766
+ }, P = o === "date" ? g.date : g.time;
2763
2767
  return {
2764
- val: { type: A, value: n, location: x, style: c },
2768
+ val: { type: P, value: n, location: x, style: c },
2765
2769
  err: null
2766
2770
  };
2767
2771
  }
2768
2772
  }
2769
2773
  return {
2770
2774
  val: {
2771
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2775
+ type: o === "number" ? g.number : o === "date" ? g.date : g.time,
2772
2776
  value: n,
2773
2777
  location: x,
2774
2778
  style: (s = a?.style) !== null && s !== void 0 ? s : null
@@ -2781,47 +2785,47 @@ var Gr = (
2781
2785
  case "select": {
2782
2786
  var _ = this.clonePosition();
2783
2787
  if (this.bumpSpace(), !this.bumpIf(","))
2784
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, p(_, d({}, _)));
2788
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, p(_, ee({}, _)));
2785
2789
  this.bumpSpace();
2786
- var F = this.parseIdentifierIfPossible(), S = 0;
2787
- if (o !== "select" && F.value === "offset") {
2790
+ var j = this.parseIdentifierIfPossible(), B = 0;
2791
+ if (o !== "select" && j.value === "offset") {
2788
2792
  if (!this.bumpIf(":"))
2789
2793
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2790
2794
  this.bumpSpace();
2791
2795
  var l = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2792
2796
  if (l.err)
2793
2797
  return l;
2794
- this.bumpSpace(), F = this.parseIdentifierIfPossible(), S = l.val;
2798
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), B = l.val;
2795
2799
  }
2796
- var Z = this.tryParsePluralOrSelectOptions(t, o, r, F);
2797
- if (Z.err)
2798
- return Z;
2799
- var g = this.tryParseArgumentClose(i);
2800
- if (g.err)
2801
- return g;
2802
- var Ie = p(i, this.clonePosition());
2800
+ var Q = this.tryParsePluralOrSelectOptions(t, o, r, j);
2801
+ if (Q.err)
2802
+ return Q;
2803
+ var b = this.tryParseArgumentClose(i);
2804
+ if (b.err)
2805
+ return b;
2806
+ var we = p(i, this.clonePosition());
2803
2807
  return o === "select" ? {
2804
2808
  val: {
2805
- type: E.select,
2809
+ type: g.select,
2806
2810
  value: n,
2807
- options: Fe(Z.val),
2808
- location: Ie
2811
+ options: Fe(Q.val),
2812
+ location: we
2809
2813
  },
2810
2814
  err: null
2811
2815
  } : {
2812
2816
  val: {
2813
- type: E.plural,
2817
+ type: g.plural,
2814
2818
  value: n,
2815
- options: Fe(Z.val),
2816
- offset: S,
2819
+ options: Fe(Q.val),
2820
+ offset: B,
2817
2821
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2818
- location: Ie
2822
+ location: we
2819
2823
  },
2820
2824
  err: null
2821
2825
  };
2822
2826
  }
2823
2827
  default:
2824
- return this.error(m.INVALID_ARGUMENT_TYPE, p(h, f));
2828
+ return this.error(m.INVALID_ARGUMENT_TYPE, p(u, f));
2825
2829
  }
2826
2830
  }, e.prototype.tryParseArgumentClose = function(t) {
2827
2831
  return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2863,64 +2867,64 @@ var Gr = (
2863
2867
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2864
2868
  var n = [];
2865
2869
  try {
2866
- n = yr(t);
2870
+ n = xr(t);
2867
2871
  } catch {
2868
2872
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2869
2873
  }
2870
2874
  return {
2871
2875
  val: {
2872
- type: L.number,
2876
+ type: M.number,
2873
2877
  tokens: n,
2874
2878
  location: r,
2875
- parsedOptions: this.shouldParseSkeletons ? Hr(n) : {}
2879
+ parsedOptions: this.shouldParseSkeletons ? Sr(n) : {}
2876
2880
  },
2877
2881
  err: null
2878
2882
  };
2879
2883
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2880
- for (var s, h = !1, o = [], f = /* @__PURE__ */ new Set(), a = i.value, u = i.location; ; ) {
2884
+ for (var s, u = !1, o = [], f = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2881
2885
  if (a.length === 0) {
2882
2886
  var l = this.clonePosition();
2883
2887
  if (r !== "select" && this.bumpIf("=")) {
2884
2888
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2885
2889
  if (c.err)
2886
2890
  return c;
2887
- u = p(l, this.clonePosition()), a = this.message.slice(l.offset, this.offset());
2891
+ h = p(l, this.clonePosition()), a = this.message.slice(l.offset, this.offset());
2888
2892
  } else
2889
2893
  break;
2890
2894
  }
2891
2895
  if (f.has(a))
2892
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2893
- a === "other" && (h = !0), this.bumpSpace();
2894
- var b = this.clonePosition();
2896
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2897
+ a === "other" && (u = !0), this.bumpSpace();
2898
+ var d = this.clonePosition();
2895
2899
  if (!this.bumpIf("{"))
2896
2900
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
2897
- var g = this.parseMessage(t + 1, r, n);
2898
- if (g.err)
2899
- return g;
2900
- var x = this.tryParseArgumentClose(b);
2901
+ var b = this.parseMessage(t + 1, r, n);
2902
+ if (b.err)
2903
+ return b;
2904
+ var x = this.tryParseArgumentClose(d);
2901
2905
  if (x.err)
2902
2906
  return x;
2903
2907
  o.push([
2904
2908
  a,
2905
2909
  {
2906
- value: g.val,
2907
- location: p(b, this.clonePosition())
2910
+ value: b.val,
2911
+ location: p(d, this.clonePosition())
2908
2912
  }
2909
- ]), f.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, u = s.location;
2913
+ ]), f.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
2910
2914
  }
2911
- return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !h ? this.error(m.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2915
+ return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(m.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2912
2916
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2913
2917
  var n = 1, i = this.clonePosition();
2914
2918
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2915
- for (var s = !1, h = 0; !this.isEOF(); ) {
2919
+ for (var s = !1, u = 0; !this.isEOF(); ) {
2916
2920
  var o = this.char();
2917
2921
  if (o >= 48 && o <= 57)
2918
- s = !0, h = h * 10 + (o - 48), this.bump();
2922
+ s = !0, u = u * 10 + (o - 48), this.bump();
2919
2923
  else
2920
2924
  break;
2921
2925
  }
2922
2926
  var f = p(i, this.clonePosition());
2923
- return s ? (h *= n, Mr(h) ? { val: h, err: null } : this.error(r, f)) : this.error(t, f);
2927
+ return s ? (u *= n, Cr(u) ? { val: u, err: null } : this.error(r, f)) : this.error(t, f);
2924
2928
  }, e.prototype.offset = function() {
2925
2929
  return this.position.offset;
2926
2930
  }, e.prototype.isEOF = function() {
@@ -2986,47 +2990,47 @@ var Gr = (
2986
2990
  }, e;
2987
2991
  }()
2988
2992
  );
2989
- function xe(e) {
2993
+ function _e(e) {
2990
2994
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2991
2995
  }
2992
- function Dr(e) {
2993
- return xe(e) || e === 47;
2994
- }
2995
2996
  function Fr(e) {
2997
+ return _e(e) || e === 47;
2998
+ }
2999
+ function jr(e) {
2996
3000
  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;
2997
3001
  }
2998
3002
  function Et(e) {
2999
3003
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3000
3004
  }
3001
- function jr(e) {
3005
+ function Vr(e) {
3002
3006
  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;
3003
3007
  }
3004
- function ve(e) {
3008
+ function He(e) {
3005
3009
  e.forEach(function(t) {
3006
- if (delete t.location, ht(t) || ut(t))
3010
+ if (delete t.location, ut(t) || ht(t))
3007
3011
  for (var r in t.options)
3008
- delete t.options[r].location, ve(t.options[r].value);
3012
+ delete t.options[r].location, He(t.options[r].value);
3009
3013
  else
3010
- st(t) && ft(t.style) || (ot(t) || at(t)) && be(t.style) ? delete t.style.location : lt(t) && ve(t.children);
3014
+ st(t) && ft(t.style) || (ot(t) || at(t)) && Ee(t.style) ? delete t.style.location : lt(t) && He(t.children);
3011
3015
  });
3012
3016
  }
3013
- function Vr(e, t) {
3014
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3015
- var r = new Gr(e, t).parse();
3017
+ function kr(e, t) {
3018
+ t === void 0 && (t = {}), t = ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3019
+ var r = new Dr(e, t).parse();
3016
3020
  if (r.err) {
3017
3021
  var n = SyntaxError(m[r.err.kind]);
3018
3022
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3019
3023
  }
3020
- return t?.captureLocation || ve(r.val), r.val;
3024
+ return t?.captureLocation || He(r.val), r.val;
3021
3025
  }
3022
- var M;
3026
+ var C;
3023
3027
  (function(e) {
3024
3028
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3025
- })(M || (M = {}));
3026
- var ne = (
3029
+ })(C || (C = {}));
3030
+ var se = (
3027
3031
  /** @class */
3028
3032
  function(e) {
3029
- re(t, e);
3033
+ ie(t, e);
3030
3034
  function t(r, n, i) {
3031
3035
  var s = e.call(this, r) || this;
3032
3036
  return s.code = n, s.originalMessage = i, s;
@@ -3038,30 +3042,30 @@ var ne = (
3038
3042
  ), Ve = (
3039
3043
  /** @class */
3040
3044
  function(e) {
3041
- re(t, e);
3045
+ ie(t, e);
3042
3046
  function t(r, n, i, s) {
3043
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), M.INVALID_VALUE, s) || this;
3047
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), C.INVALID_VALUE, s) || this;
3044
3048
  }
3045
3049
  return t;
3046
- }(ne)
3047
- ), kr = (
3050
+ }(se)
3051
+ ), Xr = (
3048
3052
  /** @class */
3049
3053
  function(e) {
3050
- re(t, e);
3054
+ ie(t, e);
3051
3055
  function t(r, n, i) {
3052
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), M.INVALID_VALUE, i) || this;
3056
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), C.INVALID_VALUE, i) || this;
3053
3057
  }
3054
3058
  return t;
3055
- }(ne)
3056
- ), Xr = (
3059
+ }(se)
3060
+ ), Wr = (
3057
3061
  /** @class */
3058
3062
  function(e) {
3059
- re(t, e);
3063
+ ie(t, e);
3060
3064
  function t(r, n) {
3061
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), M.MISSING_VALUE, n) || this;
3065
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), C.MISSING_VALUE, n) || this;
3062
3066
  }
3063
3067
  return t;
3064
- }(ne)
3068
+ }(se)
3065
3069
  ), y;
3066
3070
  (function(e) {
3067
3071
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3072,10 +3076,10 @@ function zr(e) {
3072
3076
  return !n || n.type !== y.literal || r.type !== y.literal ? t.push(r) : n.value += r.value, t;
3073
3077
  }, []);
3074
3078
  }
3075
- function Wr(e) {
3079
+ function Zr(e) {
3076
3080
  return typeof e == "function";
3077
3081
  }
3078
- function q(e, t, r, n, i, s, h) {
3082
+ function Y(e, t, r, n, i, s, u) {
3079
3083
  if (e.length === 1 && Ce(e[0]))
3080
3084
  return [
3081
3085
  {
@@ -3084,106 +3088,106 @@ function q(e, t, r, n, i, s, h) {
3084
3088
  }
3085
3089
  ];
3086
3090
  for (var o = [], f = 0, a = e; f < a.length; f++) {
3087
- var u = a[f];
3088
- if (Ce(u)) {
3091
+ var h = a[f];
3092
+ if (Ce(h)) {
3089
3093
  o.push({
3090
3094
  type: y.literal,
3091
- value: u.value
3095
+ value: h.value
3092
3096
  });
3093
3097
  continue;
3094
3098
  }
3095
- if (dr(u)) {
3099
+ if (br(h)) {
3096
3100
  typeof s == "number" && o.push({
3097
3101
  type: y.literal,
3098
3102
  value: r.getNumberFormat(t).format(s)
3099
3103
  });
3100
3104
  continue;
3101
3105
  }
3102
- var l = u.value;
3106
+ var l = h.value;
3103
3107
  if (!(i && l in i))
3104
- throw new Xr(l, h);
3108
+ throw new Wr(l, u);
3105
3109
  var c = i[l];
3106
- if (pr(u)) {
3110
+ if (dr(h)) {
3107
3111
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3108
3112
  type: typeof c == "string" ? y.literal : y.object,
3109
3113
  value: c
3110
3114
  });
3111
3115
  continue;
3112
3116
  }
3113
- if (ot(u)) {
3114
- var b = typeof u.style == "string" ? n.date[u.style] : be(u.style) ? u.style.parsedOptions : void 0;
3117
+ if (ot(h)) {
3118
+ var d = typeof h.style == "string" ? n.date[h.style] : Ee(h.style) ? h.style.parsedOptions : void 0;
3115
3119
  o.push({
3116
3120
  type: y.literal,
3117
- value: r.getDateTimeFormat(t, b).format(c)
3121
+ value: r.getDateTimeFormat(t, d).format(c)
3118
3122
  });
3119
3123
  continue;
3120
3124
  }
3121
- if (at(u)) {
3122
- var b = typeof u.style == "string" ? n.time[u.style] : be(u.style) ? u.style.parsedOptions : n.time.medium;
3125
+ if (at(h)) {
3126
+ var d = typeof h.style == "string" ? n.time[h.style] : Ee(h.style) ? h.style.parsedOptions : n.time.medium;
3123
3127
  o.push({
3124
3128
  type: y.literal,
3125
- value: r.getDateTimeFormat(t, b).format(c)
3129
+ value: r.getDateTimeFormat(t, d).format(c)
3126
3130
  });
3127
3131
  continue;
3128
3132
  }
3129
- if (st(u)) {
3130
- var b = typeof u.style == "string" ? n.number[u.style] : ft(u.style) ? u.style.parsedOptions : void 0;
3131
- b && b.scale && (c = c * (b.scale || 1)), o.push({
3133
+ if (st(h)) {
3134
+ var d = typeof h.style == "string" ? n.number[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3135
+ d && d.scale && (c = c * (d.scale || 1)), o.push({
3132
3136
  type: y.literal,
3133
- value: r.getNumberFormat(t, b).format(c)
3137
+ value: r.getNumberFormat(t, d).format(c)
3134
3138
  });
3135
3139
  continue;
3136
3140
  }
3137
- if (lt(u)) {
3138
- var g = u.children, x = u.value, H = i[x];
3139
- if (!Wr(H))
3140
- throw new kr(x, "function", h);
3141
- var D = q(g, t, r, n, i, s), A = H(D.map(function(S) {
3142
- return S.value;
3141
+ if (lt(h)) {
3142
+ var b = h.children, x = h.value, S = i[x];
3143
+ if (!Zr(S))
3144
+ throw new Xr(x, "function", u);
3145
+ var F = Y(b, t, r, n, i, s), P = S(F.map(function(B) {
3146
+ return B.value;
3143
3147
  }));
3144
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(S) {
3148
+ Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(B) {
3145
3149
  return {
3146
- type: typeof S == "string" ? y.literal : y.object,
3147
- value: S
3150
+ type: typeof B == "string" ? y.literal : y.object,
3151
+ value: B
3148
3152
  };
3149
3153
  }));
3150
3154
  }
3151
- if (ht(u)) {
3152
- var _ = u.options[c] || u.options.other;
3155
+ if (ut(h)) {
3156
+ var _ = h.options[c] || h.options.other;
3153
3157
  if (!_)
3154
- throw new Ve(u.value, c, Object.keys(u.options), h);
3155
- o.push.apply(o, q(_.value, t, r, n, i));
3158
+ throw new Ve(h.value, c, Object.keys(h.options), u);
3159
+ o.push.apply(o, Y(_.value, t, r, n, i));
3156
3160
  continue;
3157
3161
  }
3158
- if (ut(u)) {
3159
- var _ = u.options["=".concat(c)];
3162
+ if (ht(h)) {
3163
+ var _ = h.options["=".concat(c)];
3160
3164
  if (!_) {
3161
3165
  if (!Intl.PluralRules)
3162
- throw new ne(`Intl.PluralRules is not available in this environment.
3166
+ throw new se(`Intl.PluralRules is not available in this environment.
3163
3167
  Try polyfilling it using "@formatjs/intl-pluralrules"
3164
- `, M.MISSING_INTL_API, h);
3165
- var F = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3166
- _ = u.options[F] || u.options.other;
3168
+ `, C.MISSING_INTL_API, u);
3169
+ var j = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3170
+ _ = h.options[j] || h.options.other;
3167
3171
  }
3168
3172
  if (!_)
3169
- throw new Ve(u.value, c, Object.keys(u.options), h);
3170
- o.push.apply(o, q(_.value, t, r, n, i, c - (u.offset || 0)));
3173
+ throw new Ve(h.value, c, Object.keys(h.options), u);
3174
+ o.push.apply(o, Y(_.value, t, r, n, i, c - (h.offset || 0)));
3171
3175
  continue;
3172
3176
  }
3173
3177
  }
3174
3178
  return zr(o);
3175
3179
  }
3176
- function Zr(e, t) {
3177
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3178
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3180
+ function Qr(e, t) {
3181
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3182
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
3179
3183
  }, {})) : e;
3180
3184
  }
3181
- function Qr(e, t) {
3185
+ function Jr(e, t) {
3182
3186
  return t ? Object.keys(e).reduce(function(r, n) {
3183
- return r[n] = Zr(e[n], t[n]), r;
3184
- }, d({}, e)) : e;
3187
+ return r[n] = Qr(e[n], t[n]), r;
3188
+ }, H({}, e)) : e;
3185
3189
  }
3186
- function fe(e) {
3190
+ function me(e) {
3187
3191
  return {
3188
3192
  create: function() {
3189
3193
  return {
@@ -3197,39 +3201,39 @@ function fe(e) {
3197
3201
  }
3198
3202
  };
3199
3203
  }
3200
- function Jr(e) {
3204
+ function qr(e) {
3201
3205
  return e === void 0 && (e = {
3202
3206
  number: {},
3203
3207
  dateTime: {},
3204
3208
  pluralRules: {}
3205
3209
  }), {
3206
- getNumberFormat: he(function() {
3210
+ getNumberFormat: le(function() {
3207
3211
  for (var t, r = [], n = 0; n < arguments.length; n++)
3208
3212
  r[n] = arguments[n];
3209
- return new ((t = Intl.NumberFormat).bind.apply(t, ae([void 0], r, !1)))();
3213
+ return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3210
3214
  }, {
3211
- cache: fe(e.number),
3212
- strategy: ue.variadic
3215
+ cache: me(e.number),
3216
+ strategy: fe.variadic
3213
3217
  }),
3214
- getDateTimeFormat: he(function() {
3218
+ getDateTimeFormat: le(function() {
3215
3219
  for (var t, r = [], n = 0; n < arguments.length; n++)
3216
3220
  r[n] = arguments[n];
3217
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ae([void 0], r, !1)))();
3221
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3218
3222
  }, {
3219
- cache: fe(e.dateTime),
3220
- strategy: ue.variadic
3223
+ cache: me(e.dateTime),
3224
+ strategy: fe.variadic
3221
3225
  }),
3222
- getPluralRules: he(function() {
3226
+ getPluralRules: le(function() {
3223
3227
  for (var t, r = [], n = 0; n < arguments.length; n++)
3224
3228
  r[n] = arguments[n];
3225
- return new ((t = Intl.PluralRules).bind.apply(t, ae([void 0], r, !1)))();
3229
+ return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3226
3230
  }, {
3227
- cache: fe(e.pluralRules),
3228
- strategy: ue.variadic
3231
+ cache: me(e.pluralRules),
3232
+ strategy: fe.variadic
3229
3233
  })
3230
3234
  };
3231
3235
  }
3232
- var qr = (
3236
+ var Yr = (
3233
3237
  /** @class */
3234
3238
  function() {
3235
3239
  function e(t, r, n, i) {
@@ -3243,12 +3247,12 @@ var qr = (
3243
3247
  var a = s.formatToParts(f);
3244
3248
  if (a.length === 1)
3245
3249
  return a[0].value;
3246
- var u = a.reduce(function(l, c) {
3250
+ var h = a.reduce(function(l, c) {
3247
3251
  return !l.length || c.type !== y.literal || typeof l[l.length - 1] != "string" ? l.push(c.value) : l[l.length - 1] += c.value, l;
3248
3252
  }, []);
3249
- return u.length <= 1 ? u[0] || "" : u;
3253
+ return h.length <= 1 ? h[0] || "" : h;
3250
3254
  }, this.formatToParts = function(f) {
3251
- return q(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3255
+ return Y(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3252
3256
  }, this.resolvedOptions = function() {
3253
3257
  var f;
3254
3258
  return {
@@ -3259,15 +3263,15 @@ var qr = (
3259
3263
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3260
3264
  if (this.message = t, !e.__parse)
3261
3265
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3262
- var h = i || {};
3263
- h.formatters;
3264
- var o = ar(h, ["formatters"]);
3265
- this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
3266
+ var u = i || {};
3267
+ u.formatters;
3268
+ var o = ar(u, ["formatters"]);
3269
+ this.ast = e.__parse(t, H(H({}, o), { locale: this.resolvedLocale }));
3266
3270
  } else
3267
3271
  this.ast = t;
3268
3272
  if (!Array.isArray(this.ast))
3269
3273
  throw new TypeError("A message must be provided as a String or AST.");
3270
- this.formats = Qr(e.formats, n), this.formatters = i && i.formatters || Jr(this.formatterCache);
3274
+ this.formats = Jr(e.formats, n), this.formatters = i && i.formatters || qr(this.formatterCache);
3271
3275
  }
3272
3276
  return Object.defineProperty(e, "defaultLocale", {
3273
3277
  get: function() {
@@ -3280,7 +3284,7 @@ var qr = (
3280
3284
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3281
3285
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3282
3286
  }
3283
- }, e.__parse = Vr, e.formats = {
3287
+ }, e.__parse = kr, e.formats = {
3284
3288
  number: {
3285
3289
  integer: {
3286
3290
  maximumFractionDigits: 0
@@ -3341,7 +3345,7 @@ var qr = (
3341
3345
  }, e;
3342
3346
  }()
3343
3347
  );
3344
- function Yr(e, t) {
3348
+ function Kr(e, t) {
3345
3349
  if (t == null)
3346
3350
  return;
3347
3351
  if (t in e)
@@ -3362,36 +3366,36 @@ function Yr(e, t) {
3362
3366
  n = void 0;
3363
3367
  return n;
3364
3368
  }
3365
- const T = {}, Kr = (e, t, r) => r && (t in T || (T[t] = {}), e in T[t] || (T[t][e] = r), r), yt = (e, t) => {
3369
+ const T = {}, en = (e, t, r) => r && (t in T || (T[t] = {}), e in T[t] || (T[t][e] = r), r), yt = (e, t) => {
3366
3370
  if (t == null)
3367
3371
  return;
3368
3372
  if (t in T && e in T[t])
3369
3373
  return T[t][e];
3370
- const r = ie(t);
3374
+ const r = oe(t);
3371
3375
  for (let n = 0; n < r.length; n++) {
3372
- const i = r[n], s = tn(i, e);
3376
+ const i = r[n], s = rn(i, e);
3373
3377
  if (s)
3374
- return Kr(e, t, s);
3378
+ return en(e, t, s);
3375
3379
  }
3376
3380
  };
3377
- let Ne;
3378
- const W = te({});
3379
- function en(e) {
3380
- return Ne[e] || null;
3381
+ let Oe;
3382
+ const Z = ne({});
3383
+ function tn(e) {
3384
+ return Oe[e] || null;
3381
3385
  }
3382
3386
  function xt(e) {
3383
- return e in Ne;
3387
+ return e in Oe;
3384
3388
  }
3385
- function tn(e, t) {
3389
+ function rn(e, t) {
3386
3390
  if (!xt(e))
3387
3391
  return null;
3388
- const r = en(e);
3389
- return Yr(r, t);
3392
+ const r = tn(e);
3393
+ return Kr(r, t);
3390
3394
  }
3391
- function rn(e) {
3395
+ function nn(e) {
3392
3396
  if (e == null)
3393
3397
  return;
3394
- const t = ie(e);
3398
+ const t = oe(e);
3395
3399
  for (let r = 0; r < t.length; r++) {
3396
3400
  const n = t[r];
3397
3401
  if (xt(n))
@@ -3399,55 +3403,55 @@ function rn(e) {
3399
3403
  }
3400
3404
  }
3401
3405
  function vt(e, ...t) {
3402
- delete T[e], W.update((r) => (r[e] = or.all([r[e] || {}, ...t]), r));
3406
+ delete T[e], Z.update((r) => (r[e] = or.all([r[e] || {}, ...t]), r));
3403
3407
  }
3404
- R(
3405
- [W],
3408
+ U(
3409
+ [Z],
3406
3410
  ([e]) => Object.keys(e)
3407
3411
  );
3408
- W.subscribe((e) => Ne = e);
3409
- const Y = {};
3410
- function nn(e, t) {
3411
- Y[e].delete(t), Y[e].size === 0 && delete Y[e];
3412
+ Z.subscribe((e) => Oe = e);
3413
+ const K = {};
3414
+ function sn(e, t) {
3415
+ K[e].delete(t), K[e].size === 0 && delete K[e];
3412
3416
  }
3413
3417
  function _t(e) {
3414
- return Y[e];
3418
+ return K[e];
3415
3419
  }
3416
- function sn(e) {
3417
- return ie(e).map((t) => {
3420
+ function on(e) {
3421
+ return oe(e).map((t) => {
3418
3422
  const r = _t(t);
3419
3423
  return [t, r ? [...r] : []];
3420
3424
  }).filter(([, t]) => t.length > 0);
3421
3425
  }
3422
- function _e(e) {
3423
- return e == null ? !1 : ie(e).some(
3426
+ function Se(e) {
3427
+ return e == null ? !1 : oe(e).some(
3424
3428
  (t) => {
3425
3429
  var r;
3426
3430
  return (r = _t(t)) == null ? void 0 : r.size;
3427
3431
  }
3428
3432
  );
3429
3433
  }
3430
- function on(e, t) {
3434
+ function an(e, t) {
3431
3435
  return Promise.all(
3432
- t.map((n) => (nn(e, n), n().then((i) => i.default || i)))
3436
+ t.map((n) => (sn(e, n), n().then((i) => i.default || i)))
3433
3437
  ).then((n) => vt(e, ...n));
3434
3438
  }
3435
- const j = {};
3439
+ const V = {};
3436
3440
  function Ht(e) {
3437
- if (!_e(e))
3438
- return e in j ? j[e] : Promise.resolve();
3439
- const t = sn(e);
3440
- return j[e] = Promise.all(
3441
+ if (!Se(e))
3442
+ return e in V ? V[e] : Promise.resolve();
3443
+ const t = on(e);
3444
+ return V[e] = Promise.all(
3441
3445
  t.map(
3442
- ([r, n]) => on(r, n)
3446
+ ([r, n]) => an(r, n)
3443
3447
  )
3444
3448
  ).then(() => {
3445
- if (_e(e))
3449
+ if (Se(e))
3446
3450
  return Ht(e);
3447
- delete j[e];
3448
- }), j[e];
3451
+ delete V[e];
3452
+ }), V[e];
3449
3453
  }
3450
- const an = {
3454
+ const un = {
3451
3455
  number: {
3452
3456
  scientific: { notation: "scientific" },
3453
3457
  engineering: { notation: "engineering" },
@@ -3479,156 +3483,156 @@ const an = {
3479
3483
  }, hn = {
3480
3484
  fallbackLocale: null,
3481
3485
  loadingDelay: 200,
3482
- formats: an,
3486
+ formats: un,
3483
3487
  warnOnMissingMessages: !0,
3484
3488
  handleMissingMessage: void 0,
3485
3489
  ignoreTag: !0
3486
- }, un = hn;
3487
- function C() {
3488
- return un;
3490
+ }, ln = hn;
3491
+ function R() {
3492
+ return ln;
3489
3493
  }
3490
- const ce = te(!1);
3491
- var ln = Object.defineProperty, fn = Object.defineProperties, cn = Object.getOwnPropertyDescriptors, ke = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, Xe = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dn = (e, t) => {
3494
+ const pe = ne(!1);
3495
+ var fn = Object.defineProperty, cn = Object.defineProperties, mn = Object.getOwnPropertyDescriptors, ke = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, Xe = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bn = (e, t) => {
3492
3496
  for (var r in t || (t = {}))
3493
- mn.call(t, r) && Xe(e, r, t[r]);
3497
+ pn.call(t, r) && Xe(e, r, t[r]);
3494
3498
  if (ke)
3495
3499
  for (var r of ke(t))
3496
- pn.call(t, r) && Xe(e, r, t[r]);
3500
+ dn.call(t, r) && Xe(e, r, t[r]);
3497
3501
  return e;
3498
- }, bn = (e, t) => fn(e, cn(t));
3499
- let He;
3500
- const K = te(null);
3501
- function ze(e) {
3502
+ }, gn = (e, t) => cn(e, mn(t));
3503
+ let Te;
3504
+ const te = ne(null);
3505
+ function We(e) {
3502
3506
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3503
3507
  }
3504
- function ie(e, t = C().fallbackLocale) {
3505
- const r = ze(e);
3506
- return t ? [.../* @__PURE__ */ new Set([...r, ...ze(t)])] : r;
3508
+ function oe(e, t = R().fallbackLocale) {
3509
+ const r = We(e);
3510
+ return t ? [.../* @__PURE__ */ new Set([...r, ...We(t)])] : r;
3507
3511
  }
3508
- function B() {
3509
- return He ?? void 0;
3512
+ function A() {
3513
+ return Te ?? void 0;
3510
3514
  }
3511
- K.subscribe((e) => {
3512
- He = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3515
+ te.subscribe((e) => {
3516
+ Te = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3513
3517
  });
3514
- const gn = (e) => {
3515
- if (e && rn(e) && _e(e)) {
3516
- const { loadingDelay: t } = C();
3518
+ const En = (e) => {
3519
+ if (e && nn(e) && Se(e)) {
3520
+ const { loadingDelay: t } = R();
3517
3521
  let r;
3518
- return typeof window < "u" && B() != null && t ? r = window.setTimeout(
3519
- () => ce.set(!0),
3522
+ return typeof window < "u" && A() != null && t ? r = window.setTimeout(
3523
+ () => pe.set(!0),
3520
3524
  t
3521
- ) : ce.set(!0), Ht(e).then(() => {
3522
- K.set(e);
3525
+ ) : pe.set(!0), Ht(e).then(() => {
3526
+ te.set(e);
3523
3527
  }).finally(() => {
3524
- clearTimeout(r), ce.set(!1);
3528
+ clearTimeout(r), pe.set(!1);
3525
3529
  });
3526
3530
  }
3527
- return K.set(e);
3528
- }, U = bn(dn({}, K), {
3529
- set: gn
3530
- }), se = (e) => {
3531
+ return te.set(e);
3532
+ }, G = gn(bn({}, te), {
3533
+ set: En
3534
+ }), ae = (e) => {
3531
3535
  const t = /* @__PURE__ */ Object.create(null);
3532
3536
  return (n) => {
3533
3537
  const i = JSON.stringify(n);
3534
3538
  return i in t ? t[i] : t[i] = e(n);
3535
3539
  };
3536
3540
  };
3537
- var En = Object.defineProperty, ee = Object.getOwnPropertySymbols, Tt = Object.prototype.hasOwnProperty, St = Object.prototype.propertyIsEnumerable, We = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oe = (e, t) => {
3541
+ var yn = Object.defineProperty, re = Object.getOwnPropertySymbols, St = Object.prototype.hasOwnProperty, Tt = Object.prototype.propertyIsEnumerable, ze = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ne = (e, t) => {
3538
3542
  for (var r in t || (t = {}))
3539
- Tt.call(t, r) && We(e, r, t[r]);
3540
- if (ee)
3541
- for (var r of ee(t))
3542
- St.call(t, r) && We(e, r, t[r]);
3543
+ St.call(t, r) && ze(e, r, t[r]);
3544
+ if (re)
3545
+ for (var r of re(t))
3546
+ Tt.call(t, r) && ze(e, r, t[r]);
3543
3547
  return e;
3544
- }, G = (e, t) => {
3548
+ }, D = (e, t) => {
3545
3549
  var r = {};
3546
3550
  for (var n in e)
3547
- Tt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3548
- if (e != null && ee)
3549
- for (var n of ee(e))
3550
- t.indexOf(n) < 0 && St.call(e, n) && (r[n] = e[n]);
3551
+ St.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3552
+ if (e != null && re)
3553
+ for (var n of re(e))
3554
+ t.indexOf(n) < 0 && Tt.call(e, n) && (r[n] = e[n]);
3551
3555
  return r;
3552
3556
  };
3553
- const X = (e, t) => {
3554
- const { formats: r } = C();
3557
+ const W = (e, t) => {
3558
+ const { formats: r } = R();
3555
3559
  if (e in r && t in r[e])
3556
3560
  return r[e][t];
3557
3561
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3558
- }, yn = se(
3562
+ }, xn = ae(
3559
3563
  (e) => {
3560
- var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
3564
+ var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3561
3565
  if (r == null)
3562
3566
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3563
- return n && (i = X("number", n)), new Intl.NumberFormat(r, i);
3567
+ return n && (i = W("number", n)), new Intl.NumberFormat(r, i);
3564
3568
  }
3565
- ), xn = se(
3569
+ ), vn = ae(
3566
3570
  (e) => {
3567
- var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
3571
+ var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3568
3572
  if (r == null)
3569
3573
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3570
- return n ? i = X("date", n) : Object.keys(i).length === 0 && (i = X("date", "short")), new Intl.DateTimeFormat(r, i);
3574
+ return n ? i = W("date", n) : Object.keys(i).length === 0 && (i = W("date", "short")), new Intl.DateTimeFormat(r, i);
3571
3575
  }
3572
- ), vn = se(
3576
+ ), _n = ae(
3573
3577
  (e) => {
3574
- var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
3578
+ var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
3575
3579
  if (r == null)
3576
3580
  throw new Error(
3577
3581
  '[svelte-i18n] A "locale" must be set to format time values'
3578
3582
  );
3579
- return n ? i = X("time", n) : Object.keys(i).length === 0 && (i = X("time", "short")), new Intl.DateTimeFormat(r, i);
3583
+ return n ? i = W("time", n) : Object.keys(i).length === 0 && (i = W("time", "short")), new Intl.DateTimeFormat(r, i);
3580
3584
  }
3581
- ), _n = (e = {}) => {
3585
+ ), Hn = (e = {}) => {
3582
3586
  var t = e, {
3583
- locale: r = B()
3584
- } = t, n = G(t, [
3587
+ locale: r = A()
3588
+ } = t, n = D(t, [
3585
3589
  "locale"
3586
3590
  ]);
3587
- return yn(Oe({ locale: r }, n));
3588
- }, Hn = (e = {}) => {
3591
+ return xn(Ne({ locale: r }, n));
3592
+ }, Sn = (e = {}) => {
3589
3593
  var t = e, {
3590
- locale: r = B()
3591
- } = t, n = G(t, [
3594
+ locale: r = A()
3595
+ } = t, n = D(t, [
3592
3596
  "locale"
3593
3597
  ]);
3594
- return xn(Oe({ locale: r }, n));
3598
+ return vn(Ne({ locale: r }, n));
3595
3599
  }, Tn = (e = {}) => {
3596
3600
  var t = e, {
3597
- locale: r = B()
3598
- } = t, n = G(t, [
3601
+ locale: r = A()
3602
+ } = t, n = D(t, [
3599
3603
  "locale"
3600
3604
  ]);
3601
- return vn(Oe({ locale: r }, n));
3602
- }, Sn = se(
3605
+ return _n(Ne({ locale: r }, n));
3606
+ }, Bn = ae(
3603
3607
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3604
- (e, t = B()) => new qr(e, t, C().formats, {
3605
- ignoreTag: C().ignoreTag
3608
+ (e, t = A()) => new Yr(e, t, R().formats, {
3609
+ ignoreTag: R().ignoreTag
3606
3610
  })
3607
- ), Bn = (e, t = {}) => {
3611
+ ), An = (e, t = {}) => {
3608
3612
  var r, n, i, s;
3609
- let h = t;
3610
- typeof e == "object" && (h = e, e = h.id);
3613
+ let u = t;
3614
+ typeof e == "object" && (u = e, e = u.id);
3611
3615
  const {
3612
3616
  values: o,
3613
- locale: f = B(),
3617
+ locale: f = A(),
3614
3618
  default: a
3615
- } = h;
3619
+ } = u;
3616
3620
  if (f == null)
3617
3621
  throw new Error(
3618
3622
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3619
3623
  );
3620
- let u = yt(e, f);
3621
- if (!u)
3622
- u = (s = (i = (n = (r = C()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3623
- else if (typeof u != "string")
3624
+ let h = yt(e, f);
3625
+ if (!h)
3626
+ h = (s = (i = (n = (r = R()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3627
+ else if (typeof h != "string")
3624
3628
  return console.warn(
3625
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3626
- ), u;
3629
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3630
+ ), h;
3627
3631
  if (!o)
3628
- return u;
3629
- let l = u;
3632
+ return h;
3633
+ let l = h;
3630
3634
  try {
3631
- l = Sn(u, f).format(o);
3635
+ l = Bn(h, f).format(o);
3632
3636
  } catch (c) {
3633
3637
  c instanceof Error && console.warn(
3634
3638
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3636,16 +3640,16 @@ const X = (e, t) => {
3636
3640
  );
3637
3641
  }
3638
3642
  return l;
3639
- }, An = (e, t) => Tn(t).format(e), Pn = (e, t) => Hn(t).format(e), Nn = (e, t) => _n(t).format(e), On = (e, t = B()) => yt(e, t), In = R([U, W], () => Bn);
3640
- R([U], () => An);
3641
- R([U], () => Pn);
3642
- R([U], () => Nn);
3643
- R([U, W], () => On);
3643
+ }, Pn = (e, t) => Tn(t).format(e), On = (e, t) => Sn(t).format(e), Nn = (e, t) => Hn(t).format(e), wn = (e, t = A()) => yt(e, t), In = U([G, Z], () => An);
3644
+ U([G], () => Pn);
3645
+ U([G], () => On);
3646
+ U([G], () => Nn);
3647
+ U([G, Z], () => wn);
3644
3648
  function Ze(e, t) {
3645
3649
  vt(e, t);
3646
3650
  }
3647
- function wn(e) {
3648
- U.set(e);
3651
+ function $n(e) {
3652
+ G.set(e);
3649
3653
  }
3650
3654
  const Qe = {
3651
3655
  en: {
@@ -3667,7 +3671,7 @@ const Qe = {
3667
3671
  msgEmailVerificationSuccess: "Başarılı! E-posta adresiniz başarıyla doğrulandı"
3668
3672
  }
3669
3673
  };
3670
- function $n(e) {
3674
+ function Ln(e) {
3671
3675
  let t;
3672
3676
  return {
3673
3677
  c() {
@@ -3680,18 +3684,18 @@ function $n(e) {
3680
3684
  i: v,
3681
3685
  o: v,
3682
3686
  d(r) {
3683
- r && Se(t);
3687
+ r && Ae(t);
3684
3688
  }
3685
3689
  };
3686
3690
  }
3687
- function Ln(e, t, r) {
3691
+ function Mn(e, t, r) {
3688
3692
  let n;
3689
3693
  At(e, In, (l) => r(4, n = l));
3690
- let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: h = "" } = t, { translationurl: o = "" } = t;
3694
+ let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: u = "" } = t, { translationurl: o = "" } = t;
3691
3695
  const f = () => {
3692
3696
  fetch(o).then((c) => c.json()).then((c) => {
3693
- Object.keys(c).forEach((b) => {
3694
- Ze(b, c[b]);
3697
+ Object.keys(c).forEach((d) => {
3698
+ Ze(d, c[d]);
3695
3699
  });
3696
3700
  }).catch((c) => {
3697
3701
  console.log(c);
@@ -3701,17 +3705,17 @@ function Ln(e, t, r) {
3701
3705
  Ze(l, Qe[l]);
3702
3706
  });
3703
3707
  const a = () => {
3704
- wn(i);
3705
- }, u = () => {
3706
- let l = new URL(`${s}/v1/player/activatePlayerByHashKey`), b = {
3708
+ $n(i);
3709
+ }, h = () => {
3710
+ let l = new URL(`${s}/v1/player/activatePlayerByHashKey`), d = {
3707
3711
  method: "POST",
3708
3712
  headers: {
3709
3713
  "Content-Type": "application/json",
3710
3714
  Accept: "application/json"
3711
3715
  },
3712
- body: JSON.stringify({ hashKey: h })
3716
+ body: JSON.stringify({ hashKey: u })
3713
3717
  };
3714
- fetch(l.href, b).then((g) => (g.status > 500 && (window.postMessage({ type: "ActivatePlayerResponseFailed" }, window.location.href), window.postMessage(
3718
+ fetch(l.href, d).then((b) => (b.status > 500 && (window.postMessage({ type: "ActivatePlayerResponseFailed" }, window.location.href), window.postMessage(
3715
3719
  {
3716
3720
  type: "WidgetNotification",
3717
3721
  data: {
@@ -3720,8 +3724,8 @@ function Ln(e, t, r) {
3720
3724
  }
3721
3725
  },
3722
3726
  window.location.href
3723
- )), g.json())).then((g) => {
3724
- window.postMessage({ type: "ActivatePlayerResponse", data: g }, window.location.href), g.error && (window.postMessage(
3727
+ )), b.json())).then((b) => {
3728
+ window.postMessage({ type: "ActivatePlayerResponse", data: b }, window.location.href), b.error && (window.postMessage(
3725
3729
  {
3726
3730
  type: "WidgetNotification",
3727
3731
  data: {
@@ -3739,7 +3743,7 @@ function Ln(e, t, r) {
3739
3743
  }
3740
3744
  },
3741
3745
  window.location.href
3742
- )), g.SESSION_ID && window.postMessage(
3746
+ )), b.SESSION_ID && window.postMessage(
3743
3747
  {
3744
3748
  type: "WidgetNotification",
3745
3749
  data: {
@@ -3752,17 +3756,17 @@ function Ln(e, t, r) {
3752
3756
  });
3753
3757
  };
3754
3758
  return e.$$set = (l) => {
3755
- "lang" in l && r(0, i = l.lang), "endpoint" in l && r(1, s = l.endpoint), "key" in l && r(2, h = l.key), "translationurl" in l && r(3, o = l.translationurl);
3759
+ "lang" in l && r(0, i = l.lang), "endpoint" in l && r(1, s = l.endpoint), "key" in l && r(2, u = l.key), "translationurl" in l && r(3, o = l.translationurl);
3756
3760
  }, e.$$.update = () => {
3757
3761
  e.$$.dirty & /*lang*/
3758
3762
  1 && i && a(), e.$$.dirty & /*translationurl*/
3759
3763
  8 && o && f(), e.$$.dirty & /*endpoint, key*/
3760
- 6 && s && h && u();
3761
- }, [i, s, h, o];
3764
+ 6 && s && u && h();
3765
+ }, [i, s, u, o];
3762
3766
  }
3763
- class Mn extends jt {
3767
+ class Cn extends jt {
3764
3768
  constructor(t) {
3765
- super(), Dt(this, t, Ln, $n, qe, {
3769
+ super(), Dt(this, t, Mn, Ln, qe, {
3766
3770
  lang: 0,
3767
3771
  endpoint: 1,
3768
3772
  key: 2,
@@ -3794,7 +3798,7 @@ class Mn extends jt {
3794
3798
  this.$$set({ translationurl: t }), I();
3795
3799
  }
3796
3800
  }
3797
- Ft(Mn, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);
3801
+ Ft(Cn, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);
3798
3802
  export {
3799
- Mn as P
3803
+ Cn as P
3800
3804
  };