@everymatrix/casino-403 1.55.0 → 1.56.0

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,46 +1,46 @@
1
- function P() {
1
+ function A() {
2
2
  }
3
- function it(e) {
3
+ function rt(e) {
4
4
  return e();
5
5
  }
6
- function Fe() {
6
+ function Ue() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(it);
9
+ function ee(e) {
10
+ e.forEach(rt);
11
11
  }
12
- function Ce(e) {
12
+ function $e(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function st(e, t) {
15
+ function nt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function It(e) {
18
+ function Lt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function ot(e, ...t) {
21
+ function it(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return P;
25
+ return A;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Ct(e, t, r) {
31
- e.$$.on_destroy.push(ot(t, r));
30
+ function Ot(e, t, r) {
31
+ e.$$.on_destroy.push(it(t, r));
32
32
  }
33
- function T(e, t) {
33
+ function _(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function $t(e, t, r) {
37
- const n = Mt(e);
36
+ function It(e, t, r) {
37
+ const n = Ct(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = I("style");
40
- i.id = t, i.textContent = r, Rt(n, i);
40
+ i.id = t, i.textContent = r, $t(n, i);
41
41
  }
42
42
  }
43
- function Mt(e) {
43
+ function Ct(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,45 +49,45 @@ function Mt(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function Rt(e, t) {
53
- return T(
52
+ function $t(e, t) {
53
+ return _(
54
54
  /** @type {Document} */
55
55
  e.head || e,
56
56
  t
57
57
  ), t.sheet;
58
58
  }
59
- function at(e, t, r) {
59
+ function st(e, t, r) {
60
60
  e.insertBefore(t, r || null);
61
61
  }
62
- function $e(e) {
62
+ function Me(e) {
63
63
  e.parentNode && e.parentNode.removeChild(e);
64
64
  }
65
65
  function I(e) {
66
66
  return document.createElement(e);
67
67
  }
68
- function $(e) {
68
+ function M(e) {
69
69
  return document.createElementNS("http://www.w3.org/2000/svg", e);
70
70
  }
71
- function re(e) {
71
+ function ne(e) {
72
72
  return document.createTextNode(e);
73
73
  }
74
- function me() {
75
- return re(" ");
74
+ function pe() {
75
+ return ne(" ");
76
76
  }
77
- function Dt(e, t, r, n) {
77
+ function Mt(e, t, r, n) {
78
78
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
79
79
  }
80
80
  function v(e, t, r) {
81
81
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
82
82
  }
83
- function Ut(e) {
83
+ function Rt(e) {
84
84
  return Array.from(e.childNodes);
85
85
  }
86
- function pe(e, t) {
86
+ function ge(e, t) {
87
87
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
88
  t);
89
89
  }
90
- function Gt(e) {
90
+ function Dt(e) {
91
91
  const t = {};
92
92
  return e.childNodes.forEach(
93
93
  /** @param {Element} node */
@@ -96,51 +96,58 @@ function Gt(e) {
96
96
  }
97
97
  ), t;
98
98
  }
99
- let Me;
99
+ let J;
100
100
  function Q(e) {
101
- Me = e;
101
+ J = e;
102
+ }
103
+ function Ut() {
104
+ if (!J) throw new Error("Function called outside component initialization");
105
+ return J;
106
+ }
107
+ function Gt(e) {
108
+ Ut().$$.on_mount.push(e);
102
109
  }
103
- const D = [], _e = [];
110
+ const U = [], He = [];
104
111
  let G = [];
105
- const je = [], Ft = /* @__PURE__ */ Promise.resolve();
106
- let He = !1;
112
+ const Ge = [], Ft = /* @__PURE__ */ Promise.resolve();
113
+ let Te = !1;
107
114
  function jt() {
108
- He || (He = !0, Ft.then(U));
115
+ Te || (Te = !0, Ft.then(C));
109
116
  }
110
- function Te(e) {
117
+ function Be(e) {
111
118
  G.push(e);
112
119
  }
113
- const ge = /* @__PURE__ */ new Set();
114
- let M = 0;
115
- function U() {
116
- if (M !== 0)
120
+ const de = /* @__PURE__ */ new Set();
121
+ let R = 0;
122
+ function C() {
123
+ if (R !== 0)
117
124
  return;
118
- const e = Me;
125
+ const e = J;
119
126
  do {
120
127
  try {
121
- for (; M < D.length; ) {
122
- const t = D[M];
123
- M++, Q(t), Vt(t.$$);
128
+ for (; R < U.length; ) {
129
+ const t = U[R];
130
+ R++, Q(t), Vt(t.$$);
124
131
  }
125
132
  } catch (t) {
126
- throw D.length = 0, M = 0, t;
133
+ throw U.length = 0, R = 0, t;
127
134
  }
128
- for (Q(null), D.length = 0, M = 0; _e.length; ) _e.pop()();
135
+ for (Q(null), U.length = 0, R = 0; He.length; ) He.pop()();
129
136
  for (let t = 0; t < G.length; t += 1) {
130
137
  const r = G[t];
131
- ge.has(r) || (ge.add(r), r());
138
+ de.has(r) || (de.add(r), r());
132
139
  }
133
140
  G.length = 0;
134
- } while (D.length);
135
- for (; je.length; )
136
- je.pop()();
137
- He = !1, ge.clear(), Q(e);
141
+ } while (U.length);
142
+ for (; Ge.length; )
143
+ Ge.pop()();
144
+ Te = !1, de.clear(), Q(e);
138
145
  }
139
146
  function Vt(e) {
140
147
  if (e.fragment !== null) {
141
- e.update(), K(e.before_update);
148
+ e.update(), ee(e.before_update);
142
149
  const t = e.dirty;
143
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
150
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
144
151
  }
145
152
  }
146
153
  function kt(e) {
@@ -153,29 +160,29 @@ function zt(e, t) {
153
160
  }
154
161
  function Wt(e, t, r) {
155
162
  const { fragment: n, after_update: i } = e.$$;
156
- n && n.m(t, r), Te(() => {
157
- const s = e.$$.on_mount.map(it).filter(Ce);
158
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
159
- }), i.forEach(Te);
163
+ n && n.m(t, r), Be(() => {
164
+ const s = e.$$.on_mount.map(rt).filter($e);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
166
+ }), i.forEach(Be);
160
167
  }
161
168
  function Zt(e, t) {
162
169
  const r = e.$$;
163
- r.fragment !== null && (kt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (kt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
164
171
  }
165
172
  function qt(e, t) {
166
- e.$$.dirty[0] === -1 && (D.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
173
+ e.$$.dirty[0] === -1 && (U.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
167
174
  }
168
- function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
169
- const l = Me;
175
+ function Qt(e, t, r, n, i, s, u = null, a = [-1]) {
176
+ const l = J;
170
177
  Q(e);
171
- const u = e.$$ = {
178
+ const o = e.$$ = {
172
179
  fragment: null,
173
180
  ctx: [],
174
181
  // state
175
182
  props: s,
176
- update: P,
183
+ update: A,
177
184
  not_equal: i,
178
- bound: Fe(),
185
+ bound: Ue(),
179
186
  // lifecycle
180
187
  on_mount: [],
181
188
  on_destroy: [],
@@ -184,28 +191,28 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
184
191
  after_update: [],
185
192
  context: new Map(t.context || (l ? l.$$.context : [])),
186
193
  // everything else
187
- callbacks: Fe(),
188
- dirty: o,
194
+ callbacks: Ue(),
195
+ dirty: a,
189
196
  skip_bound: !1,
190
197
  root: t.target || l.$$.root
191
198
  };
192
- a && a(u.root);
199
+ u && u(o.root);
193
200
  let h = !1;
194
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
201
+ if (o.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
195
202
  const y = b.length ? b[0] : f;
196
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && qt(e, c)), f;
197
- }) : [], u.update(), h = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
203
+ return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), h && qt(e, c)), f;
204
+ }) : [], o.update(), h = !0, ee(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
198
205
  if (t.hydrate) {
199
- const c = Ut(t.target);
200
- u.fragment && u.fragment.l(c), c.forEach($e);
206
+ const c = Rt(t.target);
207
+ o.fragment && o.fragment.l(c), c.forEach(Me);
201
208
  } else
202
- u.fragment && u.fragment.c();
203
- t.intro && zt(e.$$.fragment), Wt(e, t.target, t.anchor), U();
209
+ o.fragment && o.fragment.c();
210
+ t.intro && zt(e.$$.fragment), Wt(e, t.target, t.anchor), C();
204
211
  }
205
212
  Q(l);
206
213
  }
207
- let ut;
208
- typeof HTMLElement == "function" && (ut = class extends HTMLElement {
214
+ let ot;
215
+ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
209
216
  /** The Svelte component constructor */
210
217
  $$ctor;
211
218
  /** Slots */
@@ -253,23 +260,23 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
253
260
  * @param {HTMLElement} target
254
261
  * @param {HTMLElement} [anchor]
255
262
  */
256
- m: function(l, u) {
257
- at(l, s, u);
263
+ m: function(l, o) {
264
+ st(l, s, o);
258
265
  },
259
266
  d: function(l) {
260
- l && $e(s);
267
+ l && Me(s);
261
268
  }
262
269
  };
263
270
  };
264
271
  };
265
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
266
273
  return;
267
- const t = {}, r = Gt(this);
274
+ const t = {}, r = Dt(this);
268
275
  for (const i of this.$$s)
269
276
  i in r && (t[i] = [e(i)]);
270
277
  for (const i of this.attributes) {
271
278
  const s = this.$$g_p(i.name);
272
- s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
279
+ s in this.$$d || (this.$$d[s] = ie(s, i.value, this.$$p_d, "toProp"));
273
280
  }
274
281
  for (const i in this.$$p_d)
275
282
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -287,7 +294,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
287
294
  this.$$r = !0;
288
295
  for (const i in this.$$p_d)
289
296
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
290
- const s = ne(
297
+ const s = ie(
291
298
  i,
292
299
  this.$$d[i],
293
300
  this.$$p_d,
@@ -300,8 +307,8 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
300
307
  this.$$c.$$.after_update.push(n), n();
301
308
  for (const i in this.$$l)
302
309
  for (const s of this.$$l[i]) {
303
- const a = this.$$c.$on(i, s);
304
- this.$$l_u.set(s, a);
310
+ const u = this.$$c.$on(i, s);
311
+ this.$$l_u.set(s, u);
305
312
  }
306
313
  this.$$l = {};
307
314
  }
@@ -309,7 +316,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
309
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
310
317
  // and setting attributes through setAttribute etc, this is helpful
311
318
  attributeChangedCallback(e, t, r) {
312
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
313
320
  }
314
321
  disconnectedCallback() {
315
322
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -322,7 +329,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
322
329
  ) || e;
323
330
  }
324
331
  });
325
- function ne(e, t, r, n) {
332
+ function ie(e, t, r, n) {
326
333
  const i = r[e]?.type;
327
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
328
335
  return t;
@@ -352,33 +359,33 @@ function ne(e, t, r, n) {
352
359
  }
353
360
  }
354
361
  function Jt(e, t, r, n, i, s) {
355
- let a = class extends ut {
362
+ let u = class extends ot {
356
363
  constructor() {
357
364
  super(e, r, i), this.$$p_d = t;
358
365
  }
359
366
  static get observedAttributes() {
360
367
  return Object.keys(t).map(
361
- (o) => (t[o].attribute || o).toLowerCase()
368
+ (a) => (t[a].attribute || a).toLowerCase()
362
369
  );
363
370
  }
364
371
  };
365
- return Object.keys(t).forEach((o) => {
366
- Object.defineProperty(a.prototype, o, {
372
+ return Object.keys(t).forEach((a) => {
373
+ Object.defineProperty(u.prototype, a, {
367
374
  get() {
368
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
375
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
369
376
  },
370
377
  set(l) {
371
- l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
378
+ l = ie(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
372
379
  }
373
380
  });
374
- }), n.forEach((o) => {
375
- Object.defineProperty(a.prototype, o, {
381
+ }), n.forEach((a) => {
382
+ Object.defineProperty(u.prototype, a, {
376
383
  get() {
377
- return this.$$c?.[o];
384
+ return this.$$c?.[a];
378
385
  }
379
386
  });
380
387
  }), e.element = /** @type {any} */
381
- a, a;
388
+ u, u;
382
389
  }
383
390
  class Yt {
384
391
  /**
@@ -399,7 +406,7 @@ class Yt {
399
406
  $$set = void 0;
400
407
  /** @returns {void} */
401
408
  $destroy() {
402
- Zt(this, 1), this.$destroy = P;
409
+ Zt(this, 1), this.$destroy = A;
403
410
  }
404
411
  /**
405
412
  * @template {Extract<keyof Events, string>} K
@@ -408,8 +415,8 @@ class Yt {
408
415
  * @returns {() => void}
409
416
  */
410
417
  $on(t, r) {
411
- if (!Ce(r))
412
- return P;
418
+ if (!$e(r))
419
+ return A;
413
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
414
421
  return n.push(r), () => {
415
422
  const i = n.indexOf(r);
@@ -421,71 +428,71 @@ class Yt {
421
428
  * @returns {void}
422
429
  */
423
430
  $set(t) {
424
- this.$$set && !It(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
425
432
  }
426
433
  }
427
434
  const Kt = "4";
428
435
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
429
- const R = [];
436
+ const D = [];
430
437
  function er(e, t) {
431
438
  return {
432
- subscribe: ue(e, t).subscribe
439
+ subscribe: he(e, t).subscribe
433
440
  };
434
441
  }
435
- function ue(e, t = P) {
442
+ function he(e, t = A) {
436
443
  let r;
437
444
  const n = /* @__PURE__ */ new Set();
438
- function i(o) {
439
- if (st(e, o) && (e = o, r)) {
440
- const l = !R.length;
441
- for (const u of n)
442
- u[1](), R.push(u, e);
445
+ function i(a) {
446
+ if (nt(e, a) && (e = a, r)) {
447
+ const l = !D.length;
448
+ for (const o of n)
449
+ o[1](), D.push(o, e);
443
450
  if (l) {
444
- for (let u = 0; u < R.length; u += 2)
445
- R[u][0](R[u + 1]);
446
- R.length = 0;
451
+ for (let o = 0; o < D.length; o += 2)
452
+ D[o][0](D[o + 1]);
453
+ D.length = 0;
447
454
  }
448
455
  }
449
456
  }
450
- function s(o) {
451
- i(o(e));
457
+ function s(a) {
458
+ i(a(e));
452
459
  }
453
- function a(o, l = P) {
454
- const u = [o, l];
455
- return n.add(u), n.size === 1 && (r = t(i, s) || P), o(e), () => {
456
- n.delete(u), n.size === 0 && r && (r(), r = null);
460
+ function u(a, l = A) {
461
+ const o = [a, l];
462
+ return n.add(o), n.size === 1 && (r = t(i, s) || A), a(e), () => {
463
+ n.delete(o), n.size === 0 && r && (r(), r = null);
457
464
  };
458
465
  }
459
- return { set: i, update: s, subscribe: a };
466
+ return { set: i, update: s, subscribe: u };
460
467
  }
461
468
  function X(e, t, r) {
462
469
  const n = !Array.isArray(e), i = n ? [e] : e;
463
470
  if (!i.every(Boolean))
464
471
  throw new Error("derived() expects stores as input, got a falsy value");
465
472
  const s = t.length < 2;
466
- return er(r, (a, o) => {
473
+ return er(r, (u, a) => {
467
474
  let l = !1;
468
- const u = [];
469
- let h = 0, c = P;
475
+ const o = [];
476
+ let h = 0, c = A;
470
477
  const f = () => {
471
478
  if (h)
472
479
  return;
473
480
  c();
474
- const y = t(n ? u[0] : u, a, o);
475
- s ? a(y) : c = Ce(y) ? y : P;
481
+ const y = t(n ? o[0] : o, u, a);
482
+ s ? u(y) : c = $e(y) ? y : A;
476
483
  }, b = i.map(
477
- (y, E) => ot(
484
+ (y, m) => it(
478
485
  y,
479
- (m) => {
480
- u[E] = m, h &= ~(1 << E), l && f();
486
+ (E) => {
487
+ o[m] = E, h &= ~(1 << m), l && f();
481
488
  },
482
489
  () => {
483
- h |= 1 << E;
490
+ h |= 1 << m;
484
491
  }
485
492
  )
486
493
  );
487
494
  return l = !0, f(), function() {
488
- K(b), c(), l = !1;
495
+ ee(b), c(), l = !1;
489
496
  };
490
497
  });
491
498
  }
@@ -509,12 +516,12 @@ function ar(e) {
509
516
  function ur(e) {
510
517
  return Array.isArray(e) ? [] : {};
511
518
  }
512
- function J(e, t) {
519
+ function Y(e, t) {
513
520
  return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
514
521
  }
515
522
  function hr(e, t, r) {
516
523
  return e.concat(t).map(function(n) {
517
- return J(n, r);
524
+ return Y(n, r);
518
525
  });
519
526
  }
520
527
  function lr(e, t) {
@@ -528,10 +535,10 @@ function cr(e) {
528
535
  return Object.propertyIsEnumerable.call(e, t);
529
536
  }) : [];
530
537
  }
531
- function Ve(e) {
538
+ function Fe(e) {
532
539
  return Object.keys(e).concat(cr(e));
533
540
  }
534
- function ht(e, t) {
541
+ function at(e, t) {
535
542
  try {
536
543
  return t in e;
537
544
  } catch {
@@ -539,20 +546,20 @@ function ht(e, t) {
539
546
  }
540
547
  }
541
548
  function fr(e, t) {
542
- return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
549
+ return at(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
543
550
  }
544
551
  function mr(e, t, r) {
545
552
  var n = {};
546
- return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
547
- n[i] = J(e[i], r);
548
- }), Ve(t).forEach(function(i) {
549
- fr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
553
+ return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
554
+ n[i] = Y(e[i], r);
555
+ }), Fe(t).forEach(function(i) {
556
+ fr(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
550
557
  }), n;
551
558
  }
552
559
  function F(e, t, r) {
553
- r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = J;
560
+ r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
554
561
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
555
- return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : J(t, r);
562
+ return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
556
563
  }
557
564
  F.all = function(t, r) {
558
565
  if (!Array.isArray(t))
@@ -563,17 +570,17 @@ F.all = function(t, r) {
563
570
  };
564
571
  var pr = F, gr = pr;
565
572
  const dr = /* @__PURE__ */ tr(gr);
566
- var Be = function(e, t) {
567
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
573
+ var Se = function(e, t) {
574
+ return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
568
575
  r.__proto__ = n;
569
576
  } || function(r, n) {
570
577
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
571
- }, Be(e, t);
578
+ }, Se(e, t);
572
579
  };
573
- function he(e, t) {
580
+ function le(e, t) {
574
581
  if (typeof t != "function" && t !== null)
575
582
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
576
- Be(e, t);
583
+ Se(e, t);
577
584
  function r() {
578
585
  this.constructor = e;
579
586
  }
@@ -596,13 +603,13 @@ function br(e, t) {
596
603
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
597
604
  return r;
598
605
  }
599
- function de(e, t, r) {
606
+ function be(e, t, r) {
600
607
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
601
608
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
602
609
  return e.concat(s || Array.prototype.slice.call(t));
603
610
  }
604
- function be(e, t) {
605
- var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : xr;
611
+ function ye(e, t) {
612
+ var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : vr;
606
613
  return i(e, {
607
614
  cache: r,
608
615
  serializer: n
@@ -611,46 +618,44 @@ function be(e, t) {
611
618
  function yr(e) {
612
619
  return e == null || typeof e == "number" || typeof e == "boolean";
613
620
  }
614
- function lt(e, t, r, n) {
621
+ function xr(e, t, r, n) {
615
622
  var i = yr(n) ? n : r(n), s = t.get(i);
616
623
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
617
624
  }
618
- function ct(e, t, r) {
625
+ function ut(e, t, r) {
619
626
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
620
627
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
621
628
  }
622
- function Re(e, t, r, n, i) {
629
+ function ht(e, t, r, n, i) {
623
630
  return r.bind(t, e, n, i);
624
631
  }
625
- function xr(e, t) {
626
- var r = e.length === 1 ? lt : ct;
627
- return Re(e, this, r, t.cache.create(), t.serializer);
628
- }
629
632
  function vr(e, t) {
630
- return Re(e, this, ct, t.cache.create(), t.serializer);
633
+ var r = e.length === 1 ? xr : ut;
634
+ return ht(e, this, r, t.cache.create(), t.serializer);
631
635
  }
632
636
  function Er(e, t) {
633
- return Re(e, this, lt, t.cache.create(), t.serializer);
637
+ return ht(e, this, ut, t.cache.create(), t.serializer);
634
638
  }
635
639
  var _r = function() {
636
640
  return JSON.stringify(arguments);
637
- };
638
- function De() {
639
- this.cache = /* @__PURE__ */ Object.create(null);
640
- }
641
- De.prototype.get = function(e) {
642
- return this.cache[e];
643
- };
644
- De.prototype.set = function(e, t) {
645
- this.cache[e] = t;
646
- };
647
- var Hr = {
641
+ }, Hr = (
642
+ /** @class */
643
+ function() {
644
+ function e() {
645
+ this.cache = /* @__PURE__ */ Object.create(null);
646
+ }
647
+ return e.prototype.get = function(t) {
648
+ return this.cache[t];
649
+ }, e.prototype.set = function(t, r) {
650
+ this.cache[t] = r;
651
+ }, e;
652
+ }()
653
+ ), Tr = {
648
654
  create: function() {
649
- return new De();
655
+ return new Hr();
650
656
  }
651
- }, ye = {
652
- variadic: vr,
653
- monadic: Er
657
+ }, xe = {
658
+ variadic: Er
654
659
  }, p;
655
660
  (function(e) {
656
661
  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";
@@ -663,43 +668,43 @@ var j;
663
668
  (function(e) {
664
669
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
665
670
  })(j || (j = {}));
666
- function ke(e) {
671
+ function je(e) {
667
672
  return e.type === x.literal;
668
673
  }
669
- function Tr(e) {
674
+ function Br(e) {
670
675
  return e.type === x.argument;
671
676
  }
672
- function ft(e) {
677
+ function lt(e) {
673
678
  return e.type === x.number;
674
679
  }
675
- function mt(e) {
680
+ function ct(e) {
676
681
  return e.type === x.date;
677
682
  }
678
- function pt(e) {
683
+ function ft(e) {
679
684
  return e.type === x.time;
680
685
  }
681
- function gt(e) {
686
+ function mt(e) {
682
687
  return e.type === x.select;
683
688
  }
684
- function dt(e) {
689
+ function pt(e) {
685
690
  return e.type === x.plural;
686
691
  }
687
- function Br(e) {
692
+ function Sr(e) {
688
693
  return e.type === x.pound;
689
694
  }
690
- function bt(e) {
695
+ function gt(e) {
691
696
  return e.type === x.tag;
692
697
  }
693
- function yt(e) {
698
+ function dt(e) {
694
699
  return !!(e && typeof e == "object" && e.type === j.number);
695
700
  }
696
- function Se(e) {
701
+ function Pe(e) {
697
702
  return !!(e && typeof e == "object" && e.type === j.dateTime);
698
703
  }
699
- var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
704
+ var bt = /[ \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;
700
705
  function Ar(e) {
701
706
  var t = {};
702
- return e.replace(Sr, function(r) {
707
+ return e.replace(Pr, function(r) {
703
708
  var n = r.length;
704
709
  switch (r[0]) {
705
710
  case "G":
@@ -788,36 +793,36 @@ function Ar(e) {
788
793
  return "";
789
794
  }), t;
790
795
  }
791
- var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
792
- function wr(e) {
796
+ var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
797
+ function Nr(e) {
793
798
  if (e.length === 0)
794
799
  throw new Error("Number skeleton cannot be empty");
795
- for (var t = e.split(Pr).filter(function(f) {
800
+ for (var t = e.split(wr).filter(function(f) {
796
801
  return f.length > 0;
797
802
  }), r = [], n = 0, i = t; n < i.length; n++) {
798
- var s = i[n], a = s.split("/");
799
- if (a.length === 0)
803
+ var s = i[n], u = s.split("/");
804
+ if (u.length === 0)
800
805
  throw new Error("Invalid number skeleton");
801
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
802
- var c = h[u];
806
+ for (var a = u[0], l = u.slice(1), o = 0, h = l; o < h.length; o++) {
807
+ var c = h[o];
803
808
  if (c.length === 0)
804
809
  throw new Error("Invalid number skeleton");
805
810
  }
806
- r.push({ stem: o, options: l });
811
+ r.push({ stem: a, options: l });
807
812
  }
808
813
  return r;
809
814
  }
810
- function Nr(e) {
815
+ function Lr(e) {
811
816
  return e.replace(/^(.*?)-/, "");
812
817
  }
813
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
814
- function ze(e) {
818
+ var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
819
+ function ke(e) {
815
820
  var t = {};
816
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
821
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yt, function(r, n, i) {
817
822
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
818
823
  }), t;
819
824
  }
820
- function _t(e) {
825
+ function vt(e) {
821
826
  switch (e) {
822
827
  case "sign-auto":
823
828
  return {
@@ -857,7 +862,7 @@ function _t(e) {
857
862
  };
858
863
  }
859
864
  }
860
- function Lr(e) {
865
+ function Ir(e) {
861
866
  var t;
862
867
  if (e[0] === "E" && e[1] === "E" ? (t = {
863
868
  notation: "engineering"
@@ -865,17 +870,17 @@ function Lr(e) {
865
870
  notation: "scientific"
866
871
  }, e = e.slice(1)), t) {
867
872
  var r = e.slice(0, 2);
868
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
873
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
869
874
  throw new Error("Malformed concise eng/scientific notation");
870
875
  t.minimumIntegerDigits = e.length;
871
876
  }
872
877
  return t;
873
878
  }
874
- function We(e) {
875
- var t = {}, r = _t(e);
879
+ function Xe(e) {
880
+ var t = {}, r = vt(e);
876
881
  return r || t;
877
882
  }
878
- function Ir(e) {
883
+ function Cr(e) {
879
884
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
880
885
  var i = n[r];
881
886
  switch (i.stem) {
@@ -899,7 +904,7 @@ function Ir(e) {
899
904
  continue;
900
905
  case "measure-unit":
901
906
  case "unit":
902
- t.style = "unit", t.unit = Nr(i.options[0]);
907
+ t.style = "unit", t.unit = Lr(i.options[0]);
903
908
  continue;
904
909
  case "compact-short":
905
910
  case "K":
@@ -910,13 +915,13 @@ function Ir(e) {
910
915
  t.notation = "compact", t.compactDisplay = "long";
911
916
  continue;
912
917
  case "scientific":
913
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
914
- return d(d({}, l), We(u));
918
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
919
+ return d(d({}, l), Xe(o));
915
920
  }, {}));
916
921
  continue;
917
922
  case "engineering":
918
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
919
- return d(d({}, l), We(u));
923
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
924
+ return d(d({}, l), Xe(o));
920
925
  }, {}));
921
926
  continue;
922
927
  case "notation-simple":
@@ -961,8 +966,8 @@ function Ir(e) {
961
966
  case "integer-width":
962
967
  if (i.options.length > 1)
963
968
  throw new RangeError("integer-width stems only accept a single optional option");
964
- i.options[0].replace(Or, function(l, u, h, c, f, b) {
965
- if (u)
969
+ i.options[0].replace(Or, function(l, o, h, c, f, b) {
970
+ if (o)
966
971
  t.minimumIntegerDigits = h.length;
967
972
  else {
968
973
  if (c && f)
@@ -974,32 +979,32 @@ function Ir(e) {
974
979
  });
975
980
  continue;
976
981
  }
977
- if (Et.test(i.stem)) {
982
+ if (xt.test(i.stem)) {
978
983
  t.minimumIntegerDigits = i.stem.length;
979
984
  continue;
980
985
  }
981
- if (Xe.test(i.stem)) {
986
+ if (Ve.test(i.stem)) {
982
987
  if (i.options.length > 1)
983
988
  throw new RangeError("Fraction-precision stems only accept a single optional option");
984
- i.stem.replace(Xe, function(l, u, h, c, f, b) {
985
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
989
+ i.stem.replace(Ve, function(l, o, h, c, f, b) {
990
+ return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
986
991
  });
987
992
  var s = i.options[0];
988
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ze(s)));
993
+ s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ke(s)));
989
994
  continue;
990
995
  }
991
- if (vt.test(i.stem)) {
992
- t = d(d({}, t), ze(i.stem));
996
+ if (yt.test(i.stem)) {
997
+ t = d(d({}, t), ke(i.stem));
993
998
  continue;
994
999
  }
995
- var a = _t(i.stem);
1000
+ var u = vt(i.stem);
1001
+ u && (t = d(d({}, t), u));
1002
+ var a = Ir(i.stem);
996
1003
  a && (t = d(d({}, t), a));
997
- var o = Lr(i.stem);
998
- o && (t = d(d({}, t), o));
999
1004
  }
1000
1005
  return t;
1001
1006
  }
1002
- var te = {
1007
+ var re = {
1003
1008
  "001": [
1004
1009
  "H",
1005
1010
  "h"
@@ -2414,22 +2419,22 @@ var te = {
2414
2419
  "h"
2415
2420
  ]
2416
2421
  };
2417
- function Cr(e, t) {
2422
+ function $r(e, t) {
2418
2423
  for (var r = "", n = 0; n < e.length; n++) {
2419
2424
  var i = e.charAt(n);
2420
2425
  if (i === "j") {
2421
2426
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2422
2427
  s++, n++;
2423
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $r(t);
2424
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2428
+ var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Mr(t);
2429
+ for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
2425
2430
  r += l;
2426
- for (; a-- > 0; )
2427
- r = u + r;
2431
+ for (; u-- > 0; )
2432
+ r = o + r;
2428
2433
  } else i === "J" ? r += "H" : r += i;
2429
2434
  }
2430
2435
  return r;
2431
2436
  }
2432
- function $r(e) {
2437
+ function Mr(e) {
2433
2438
  var t = e.hourCycle;
2434
2439
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2435
2440
  e.hourCycles && // @ts-ignore
@@ -2448,23 +2453,23 @@ function $r(e) {
2448
2453
  }
2449
2454
  var r = e.language, n;
2450
2455
  r !== "root" && (n = e.maximize().region);
2451
- var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2456
+ var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2452
2457
  return i[0];
2453
2458
  }
2454
- var xe, Mr = new RegExp("^".concat(xt.source, "*")), Rr = new RegExp("".concat(xt.source, "*$"));
2459
+ var ve, Rr = new RegExp("^".concat(bt.source, "*")), Dr = new RegExp("".concat(bt.source, "*$"));
2455
2460
  function g(e, t) {
2456
2461
  return { start: e, end: t };
2457
2462
  }
2458
- var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Xr = kr ? Number.isSafeInteger : function(e) {
2463
+ var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!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) {
2459
2464
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2460
2465
  }, Ae = !0;
2461
2466
  try {
2462
- var zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2463
- Ae = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
2467
+ var Wr = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2468
+ Ae = ((ve = Wr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2464
2469
  } catch {
2465
2470
  Ae = !1;
2466
2471
  }
2467
- var Ze = Dr ? (
2472
+ var ze = Ur ? (
2468
2473
  // Native
2469
2474
  function(t, r, n) {
2470
2475
  return t.startsWith(r, n);
@@ -2474,31 +2479,31 @@ var Ze = Dr ? (
2474
2479
  function(t, r, n) {
2475
2480
  return t.slice(n, n + r.length) === r;
2476
2481
  }
2477
- ), Pe = Ur ? String.fromCodePoint : (
2482
+ ), we = Gr ? String.fromCodePoint : (
2478
2483
  // IE11
2479
2484
  function() {
2480
2485
  for (var t = [], r = 0; r < arguments.length; r++)
2481
2486
  t[r] = arguments[r];
2482
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2483
- if (a = t[s++], a > 1114111)
2484
- throw RangeError(a + " is not a valid code point");
2485
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2487
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2488
+ if (u = t[s++], u > 1114111)
2489
+ throw RangeError(u + " is not a valid code point");
2490
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2486
2491
  }
2487
2492
  return n;
2488
2493
  }
2489
- ), qe = (
2494
+ ), We = (
2490
2495
  // native
2491
- Gr ? Object.fromEntries : (
2496
+ Fr ? Object.fromEntries : (
2492
2497
  // Ponyfill
2493
2498
  function(t) {
2494
2499
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2495
- var s = i[n], a = s[0], o = s[1];
2496
- r[a] = o;
2500
+ var s = i[n], u = s[0], a = s[1];
2501
+ r[u] = a;
2497
2502
  }
2498
2503
  return r;
2499
2504
  }
2500
2505
  )
2501
- ), Ht = Fr ? (
2506
+ ), Et = jr ? (
2502
2507
  // Native
2503
2508
  function(t, r) {
2504
2509
  return t.codePointAt(r);
@@ -2512,7 +2517,7 @@ var Ze = Dr ? (
2512
2517
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2513
2518
  }
2514
2519
  }
2515
- ), Wr = jr ? (
2520
+ ), Zr = Vr ? (
2516
2521
  // Native
2517
2522
  function(t) {
2518
2523
  return t.trimStart();
@@ -2520,9 +2525,9 @@ var Ze = Dr ? (
2520
2525
  ) : (
2521
2526
  // Ponyfill
2522
2527
  function(t) {
2523
- return t.replace(Mr, "");
2528
+ return t.replace(Rr, "");
2524
2529
  }
2525
- ), Zr = Vr ? (
2530
+ ), qr = kr ? (
2526
2531
  // Native
2527
2532
  function(t) {
2528
2533
  return t.trimEnd();
@@ -2530,32 +2535,32 @@ var Ze = Dr ? (
2530
2535
  ) : (
2531
2536
  // Ponyfill
2532
2537
  function(t) {
2533
- return t.replace(Rr, "");
2538
+ return t.replace(Dr, "");
2534
2539
  }
2535
2540
  );
2536
- function Tt(e, t) {
2541
+ function _t(e, t) {
2537
2542
  return new RegExp(e, t);
2538
2543
  }
2539
- var we;
2544
+ var Ne;
2540
2545
  if (Ae) {
2541
- var Qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2542
- we = function(t, r) {
2546
+ var Ze = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2547
+ Ne = function(t, r) {
2543
2548
  var n;
2544
- Qe.lastIndex = r;
2545
- var i = Qe.exec(t);
2549
+ Ze.lastIndex = r;
2550
+ var i = Ze.exec(t);
2546
2551
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2547
2552
  };
2548
2553
  } else
2549
- we = function(t, r) {
2554
+ Ne = function(t, r) {
2550
2555
  for (var n = []; ; ) {
2551
- var i = Ht(t, r);
2552
- if (i === void 0 || Bt(i) || Yr(i))
2556
+ var i = Et(t, r);
2557
+ if (i === void 0 || Ht(i) || Kr(i))
2553
2558
  break;
2554
2559
  n.push(i), r += i >= 65536 ? 2 : 1;
2555
2560
  }
2556
- return Pe.apply(void 0, n);
2561
+ return we.apply(void 0, n);
2557
2562
  };
2558
- var qr = (
2563
+ var Qr = (
2559
2564
  /** @class */
2560
2565
  function() {
2561
2566
  function e(t, r) {
@@ -2569,33 +2574,33 @@ var qr = (
2569
2574
  for (var i = []; !this.isEOF(); ) {
2570
2575
  var s = this.char();
2571
2576
  if (s === 123) {
2572
- var a = this.parseArgument(t, n);
2573
- if (a.err)
2574
- return a;
2575
- i.push(a.val);
2577
+ var u = this.parseArgument(t, n);
2578
+ if (u.err)
2579
+ return u;
2580
+ i.push(u.val);
2576
2581
  } else {
2577
2582
  if (s === 125 && t > 0)
2578
2583
  break;
2579
2584
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2580
- var o = this.clonePosition();
2585
+ var a = this.clonePosition();
2581
2586
  this.bump(), i.push({
2582
2587
  type: x.pound,
2583
- location: g(o, this.clonePosition())
2588
+ location: g(a, this.clonePosition())
2584
2589
  });
2585
2590
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2586
2591
  if (n)
2587
2592
  break;
2588
2593
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2589
- } else if (s === 60 && !this.ignoreTag && Ne(this.peek() || 0)) {
2590
- var a = this.parseTag(t, r);
2591
- if (a.err)
2592
- return a;
2593
- i.push(a.val);
2594
+ } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2595
+ var u = this.parseTag(t, r);
2596
+ if (u.err)
2597
+ return u;
2598
+ i.push(u.val);
2594
2599
  } else {
2595
- var a = this.parseLiteral(t, r);
2596
- if (a.err)
2597
- return a;
2598
- i.push(a.val);
2600
+ var u = this.parseLiteral(t, r);
2601
+ if (u.err)
2602
+ return u;
2603
+ i.push(u.val);
2599
2604
  }
2600
2605
  }
2601
2606
  }
@@ -2617,27 +2622,27 @@ var qr = (
2617
2622
  var s = this.parseMessage(t + 1, r, !0);
2618
2623
  if (s.err)
2619
2624
  return s;
2620
- var a = s.val, o = this.clonePosition();
2625
+ var u = s.val, a = this.clonePosition();
2621
2626
  if (this.bumpIf("</")) {
2622
- if (this.isEOF() || !Ne(this.char()))
2623
- return this.error(p.INVALID_TAG, g(o, this.clonePosition()));
2624
- var l = this.clonePosition(), u = this.parseTagName();
2625
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2627
+ if (this.isEOF() || !Le(this.char()))
2628
+ return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
2629
+ var l = this.clonePosition(), o = this.parseTagName();
2630
+ return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2626
2631
  val: {
2627
2632
  type: x.tag,
2628
2633
  value: i,
2629
- children: a,
2634
+ children: u,
2630
2635
  location: g(n, this.clonePosition())
2631
2636
  },
2632
2637
  err: null
2633
- } : this.error(p.INVALID_TAG, g(o, this.clonePosition())));
2638
+ } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
2634
2639
  } else
2635
2640
  return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
2636
2641
  } else
2637
2642
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2638
2643
  }, e.prototype.parseTagName = function() {
2639
2644
  var t = this.offset();
2640
- for (this.bump(); !this.isEOF() && Jr(this.char()); )
2645
+ for (this.bump(); !this.isEOF() && Yr(this.char()); )
2641
2646
  this.bump();
2642
2647
  return this.message.slice(t, this.offset());
2643
2648
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2647,14 +2652,14 @@ var qr = (
2647
2652
  i += s;
2648
2653
  continue;
2649
2654
  }
2650
- var a = this.tryParseUnquoted(t, r);
2651
- if (a) {
2652
- i += a;
2655
+ var u = this.tryParseUnquoted(t, r);
2656
+ if (u) {
2657
+ i += u;
2653
2658
  continue;
2654
2659
  }
2655
- var o = this.tryParseLeftAngleBracket();
2656
- if (o) {
2657
- i += o;
2660
+ var a = this.tryParseLeftAngleBracket();
2661
+ if (a) {
2662
+ i += a;
2658
2663
  continue;
2659
2664
  }
2660
2665
  break;
@@ -2666,7 +2671,7 @@ var qr = (
2666
2671
  };
2667
2672
  }, e.prototype.tryParseLeftAngleBracket = function() {
2668
2673
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2669
- !Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2674
+ !Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
2670
2675
  }, e.prototype.tryParseQuote = function(t) {
2671
2676
  if (this.isEOF() || this.char() !== 39)
2672
2677
  return null;
@@ -2700,12 +2705,12 @@ var qr = (
2700
2705
  r.push(n);
2701
2706
  this.bump();
2702
2707
  }
2703
- return Pe.apply(void 0, r);
2708
+ return we.apply(void 0, r);
2704
2709
  }, e.prototype.tryParseUnquoted = function(t, r) {
2705
2710
  if (this.isEOF())
2706
2711
  return null;
2707
2712
  var n = this.char();
2708
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
2713
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
2709
2714
  }, e.prototype.parseArgument = function(t, r) {
2710
2715
  var n = this.clonePosition();
2711
2716
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2734,66 +2739,66 @@ var qr = (
2734
2739
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2735
2740
  }
2736
2741
  }, e.prototype.parseIdentifierIfPossible = function() {
2737
- var t = this.clonePosition(), r = this.offset(), n = we(this.message, r), i = r + n.length;
2742
+ var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
2738
2743
  this.bumpTo(i);
2739
- var s = this.clonePosition(), a = g(t, s);
2740
- return { value: n, location: a };
2744
+ var s = this.clonePosition(), u = g(t, s);
2745
+ return { value: n, location: u };
2741
2746
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2742
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2743
- switch (o) {
2747
+ var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2748
+ switch (a) {
2744
2749
  case "":
2745
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(a, l));
2750
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
2746
2751
  case "number":
2747
2752
  case "date":
2748
2753
  case "time": {
2749
2754
  this.bumpSpace();
2750
- var u = null;
2755
+ var o = null;
2751
2756
  if (this.bumpIf(",")) {
2752
2757
  this.bumpSpace();
2753
2758
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2754
2759
  if (c.err)
2755
2760
  return c;
2756
- var f = Zr(c.val);
2761
+ var f = qr(c.val);
2757
2762
  if (f.length === 0)
2758
2763
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2759
2764
  var b = g(h, this.clonePosition());
2760
- u = { style: f, styleLocation: b };
2765
+ o = { style: f, styleLocation: b };
2761
2766
  }
2762
2767
  var y = this.tryParseArgumentClose(i);
2763
2768
  if (y.err)
2764
2769
  return y;
2765
- var E = g(i, this.clonePosition());
2766
- if (u && Ze(u?.style, "::", 0)) {
2767
- var m = Wr(u.style.slice(2));
2768
- if (o === "number") {
2769
- var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
2770
+ var m = g(i, this.clonePosition());
2771
+ if (o && ze(o?.style, "::", 0)) {
2772
+ var E = Zr(o.style.slice(2));
2773
+ if (a === "number") {
2774
+ var c = this.parseNumberSkeletonFromString(E, o.styleLocation);
2770
2775
  return c.err ? c : {
2771
- val: { type: x.number, value: n, location: E, style: c.val },
2776
+ val: { type: x.number, value: n, location: m, style: c.val },
2772
2777
  err: null
2773
2778
  };
2774
2779
  } else {
2775
- if (m.length === 0)
2776
- return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2777
- var H = m;
2778
- this.locale && (H = Cr(m, this.locale));
2780
+ if (E.length === 0)
2781
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2782
+ var S = E;
2783
+ this.locale && (S = $r(E, this.locale));
2779
2784
  var f = {
2780
2785
  type: j.dateTime,
2781
- pattern: H,
2782
- location: u.styleLocation,
2783
- parsedOptions: this.shouldParseSkeletons ? Ar(H) : {}
2784
- }, _ = o === "date" ? x.date : x.time;
2786
+ pattern: S,
2787
+ location: o.styleLocation,
2788
+ parsedOptions: this.shouldParseSkeletons ? Ar(S) : {}
2789
+ }, B = a === "date" ? x.date : x.time;
2785
2790
  return {
2786
- val: { type: _, value: n, location: E, style: f },
2791
+ val: { type: B, value: n, location: m, style: f },
2787
2792
  err: null
2788
2793
  };
2789
2794
  }
2790
2795
  }
2791
2796
  return {
2792
2797
  val: {
2793
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2798
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2794
2799
  value: n,
2795
- location: E,
2796
- style: (s = u?.style) !== null && s !== void 0 ? s : null
2800
+ location: m,
2801
+ style: (s = o?.style) !== null && s !== void 0 ? s : null
2797
2802
  },
2798
2803
  err: null
2799
2804
  };
@@ -2801,32 +2806,32 @@ var qr = (
2801
2806
  case "plural":
2802
2807
  case "selectordinal":
2803
2808
  case "select": {
2804
- var B = this.clonePosition();
2809
+ var H = this.clonePosition();
2805
2810
  if (this.bumpSpace(), !this.bumpIf(","))
2806
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, d({}, B)));
2811
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, d({}, H)));
2807
2812
  this.bumpSpace();
2808
- var N = this.parseIdentifierIfPossible(), A = 0;
2809
- if (o !== "select" && N.value === "offset") {
2813
+ var N = this.parseIdentifierIfPossible(), P = 0;
2814
+ if (a !== "select" && N.value === "offset") {
2810
2815
  if (!this.bumpIf(":"))
2811
2816
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2812
2817
  this.bumpSpace();
2813
2818
  var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2814
2819
  if (c.err)
2815
2820
  return c;
2816
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
2821
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), P = c.val;
2817
2822
  }
2818
- var L = this.tryParsePluralOrSelectOptions(t, o, r, N);
2819
- if (L.err)
2820
- return L;
2823
+ var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
2824
+ if (O.err)
2825
+ return O;
2821
2826
  var y = this.tryParseArgumentClose(i);
2822
2827
  if (y.err)
2823
2828
  return y;
2824
2829
  var w = g(i, this.clonePosition());
2825
- return o === "select" ? {
2830
+ return a === "select" ? {
2826
2831
  val: {
2827
2832
  type: x.select,
2828
2833
  value: n,
2829
- options: qe(L.val),
2834
+ options: We(O.val),
2830
2835
  location: w
2831
2836
  },
2832
2837
  err: null
@@ -2834,16 +2839,16 @@ var qr = (
2834
2839
  val: {
2835
2840
  type: x.plural,
2836
2841
  value: n,
2837
- options: qe(L.val),
2838
- offset: A,
2839
- pluralType: o === "plural" ? "cardinal" : "ordinal",
2842
+ options: We(O.val),
2843
+ offset: P,
2844
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2840
2845
  location: w
2841
2846
  },
2842
2847
  err: null
2843
2848
  };
2844
2849
  }
2845
2850
  default:
2846
- return this.error(p.INVALID_ARGUMENT_TYPE, g(a, l));
2851
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(u, l));
2847
2852
  }
2848
2853
  }, e.prototype.tryParseArgumentClose = function(t) {
2849
2854
  return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2885,7 +2890,7 @@ var qr = (
2885
2890
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2886
2891
  var n = [];
2887
2892
  try {
2888
- n = wr(t);
2893
+ n = Nr(t);
2889
2894
  } catch {
2890
2895
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2891
2896
  }
@@ -2894,55 +2899,55 @@ var qr = (
2894
2899
  type: j.number,
2895
2900
  tokens: n,
2896
2901
  location: r,
2897
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
2902
+ parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
2898
2903
  },
2899
2904
  err: null
2900
2905
  };
2901
2906
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2902
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2903
- if (u.length === 0) {
2907
+ for (var s, u = !1, a = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
2908
+ if (o.length === 0) {
2904
2909
  var c = this.clonePosition();
2905
2910
  if (r !== "select" && this.bumpIf("=")) {
2906
2911
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2907
2912
  if (f.err)
2908
2913
  return f;
2909
- h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2914
+ h = g(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
2910
2915
  } else
2911
2916
  break;
2912
2917
  }
2913
- if (l.has(u))
2918
+ if (l.has(o))
2914
2919
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2915
- u === "other" && (a = !0), this.bumpSpace();
2920
+ o === "other" && (u = !0), this.bumpSpace();
2916
2921
  var b = this.clonePosition();
2917
2922
  if (!this.bumpIf("{"))
2918
2923
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2919
2924
  var y = this.parseMessage(t + 1, r, n);
2920
2925
  if (y.err)
2921
2926
  return y;
2922
- var E = this.tryParseArgumentClose(b);
2923
- if (E.err)
2924
- return E;
2925
- o.push([
2926
- u,
2927
+ var m = this.tryParseArgumentClose(b);
2928
+ if (m.err)
2929
+ return m;
2930
+ a.push([
2931
+ o,
2927
2932
  {
2928
2933
  value: y.val,
2929
2934
  location: g(b, this.clonePosition())
2930
2935
  }
2931
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2936
+ ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
2932
2937
  }
2933
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2938
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2934
2939
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2935
2940
  var n = 1, i = this.clonePosition();
2936
2941
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2937
- for (var s = !1, a = 0; !this.isEOF(); ) {
2938
- var o = this.char();
2939
- if (o >= 48 && o <= 57)
2940
- s = !0, a = a * 10 + (o - 48), this.bump();
2942
+ for (var s = !1, u = 0; !this.isEOF(); ) {
2943
+ var a = this.char();
2944
+ if (a >= 48 && a <= 57)
2945
+ s = !0, u = u * 10 + (a - 48), this.bump();
2941
2946
  else
2942
2947
  break;
2943
2948
  }
2944
2949
  var l = g(i, this.clonePosition());
2945
- return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2950
+ return s ? (u *= n, zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2946
2951
  }, e.prototype.offset = function() {
2947
2952
  return this.position.offset;
2948
2953
  }, e.prototype.isEOF = function() {
@@ -2957,7 +2962,7 @@ var qr = (
2957
2962
  var t = this.position.offset;
2958
2963
  if (t >= this.message.length)
2959
2964
  throw Error("out of bound");
2960
- var r = Ht(this.message, t);
2965
+ var r = Et(this.message, t);
2961
2966
  if (r === void 0)
2962
2967
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2963
2968
  return r;
@@ -2976,7 +2981,7 @@ var qr = (
2976
2981
  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);
2977
2982
  }
2978
2983
  }, e.prototype.bumpIf = function(t) {
2979
- if (Ze(this.message, t, this.offset())) {
2984
+ if (ze(this.message, t, this.offset())) {
2980
2985
  for (var r = 0; r < t.length; r++)
2981
2986
  this.bump();
2982
2987
  return !0;
@@ -2998,7 +3003,7 @@ var qr = (
2998
3003
  break;
2999
3004
  }
3000
3005
  }, e.prototype.bumpSpace = function() {
3001
- for (; !this.isEOF() && Bt(this.char()); )
3006
+ for (; !this.isEOF() && Ht(this.char()); )
3002
3007
  this.bump();
3003
3008
  }, e.prototype.peek = function() {
3004
3009
  if (this.isEOF())
@@ -3008,32 +3013,32 @@ var qr = (
3008
3013
  }, e;
3009
3014
  }()
3010
3015
  );
3011
- function Ne(e) {
3016
+ function Le(e) {
3012
3017
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3013
3018
  }
3014
- function Qr(e) {
3015
- return Ne(e) || e === 47;
3016
- }
3017
3019
  function Jr(e) {
3020
+ return Le(e) || e === 47;
3021
+ }
3022
+ function Yr(e) {
3018
3023
  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;
3019
3024
  }
3020
- function Bt(e) {
3025
+ function Ht(e) {
3021
3026
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3022
3027
  }
3023
- function Yr(e) {
3028
+ function Kr(e) {
3024
3029
  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;
3025
3030
  }
3026
3031
  function Oe(e) {
3027
3032
  e.forEach(function(t) {
3028
- if (delete t.location, gt(t) || dt(t))
3033
+ if (delete t.location, mt(t) || pt(t))
3029
3034
  for (var r in t.options)
3030
3035
  delete t.options[r].location, Oe(t.options[r].value);
3031
- else ft(t) && yt(t.style) || (mt(t) || pt(t)) && Se(t.style) ? delete t.style.location : bt(t) && Oe(t.children);
3036
+ else lt(t) && dt(t.style) || (ct(t) || ft(t)) && Pe(t.style) ? delete t.style.location : gt(t) && Oe(t.children);
3032
3037
  });
3033
3038
  }
3034
- function Kr(e, t) {
3039
+ function en(e, t) {
3035
3040
  t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3036
- var r = new qr(e, t).parse();
3041
+ var r = new Qr(e, t).parse();
3037
3042
  if (r.err) {
3038
3043
  var n = SyntaxError(p[r.err.kind]);
3039
3044
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3044,10 +3049,10 @@ var V;
3044
3049
  (function(e) {
3045
3050
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3046
3051
  })(V || (V = {}));
3047
- var le = (
3052
+ var ce = (
3048
3053
  /** @class */
3049
3054
  function(e) {
3050
- he(t, e);
3055
+ le(t, e);
3051
3056
  function t(r, n, i) {
3052
3057
  var s = e.call(this, r) || this;
3053
3058
  return s.code = n, s.originalMessage = i, s;
@@ -3056,155 +3061,155 @@ var le = (
3056
3061
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3057
3062
  }, t;
3058
3063
  }(Error)
3059
- ), Je = (
3064
+ ), qe = (
3060
3065
  /** @class */
3061
3066
  function(e) {
3062
- he(t, e);
3067
+ le(t, e);
3063
3068
  function t(r, n, i, s) {
3064
3069
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3065
3070
  }
3066
3071
  return t;
3067
- }(le)
3068
- ), en = (
3072
+ }(ce)
3073
+ ), tn = (
3069
3074
  /** @class */
3070
3075
  function(e) {
3071
- he(t, e);
3076
+ le(t, e);
3072
3077
  function t(r, n, i) {
3073
3078
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3074
3079
  }
3075
3080
  return t;
3076
- }(le)
3077
- ), tn = (
3081
+ }(ce)
3082
+ ), rn = (
3078
3083
  /** @class */
3079
3084
  function(e) {
3080
- he(t, e);
3085
+ le(t, e);
3081
3086
  function t(r, n) {
3082
3087
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3083
3088
  }
3084
3089
  return t;
3085
- }(le)
3086
- ), S;
3090
+ }(ce)
3091
+ ), T;
3087
3092
  (function(e) {
3088
3093
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3089
- })(S || (S = {}));
3090
- function rn(e) {
3094
+ })(T || (T = {}));
3095
+ function nn(e) {
3091
3096
  return e.length < 2 ? e : e.reduce(function(t, r) {
3092
3097
  var n = t[t.length - 1];
3093
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3098
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3094
3099
  }, []);
3095
3100
  }
3096
- function nn(e) {
3101
+ function sn(e) {
3097
3102
  return typeof e == "function";
3098
3103
  }
3099
- function ie(e, t, r, n, i, s, a) {
3100
- if (e.length === 1 && ke(e[0]))
3104
+ function se(e, t, r, n, i, s, u) {
3105
+ if (e.length === 1 && je(e[0]))
3101
3106
  return [
3102
3107
  {
3103
- type: S.literal,
3108
+ type: T.literal,
3104
3109
  value: e[0].value
3105
3110
  }
3106
3111
  ];
3107
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3108
- var h = u[l];
3109
- if (ke(h)) {
3110
- o.push({
3111
- type: S.literal,
3112
+ for (var a = [], l = 0, o = e; l < o.length; l++) {
3113
+ var h = o[l];
3114
+ if (je(h)) {
3115
+ a.push({
3116
+ type: T.literal,
3112
3117
  value: h.value
3113
3118
  });
3114
3119
  continue;
3115
3120
  }
3116
- if (Br(h)) {
3117
- typeof s == "number" && o.push({
3118
- type: S.literal,
3121
+ if (Sr(h)) {
3122
+ typeof s == "number" && a.push({
3123
+ type: T.literal,
3119
3124
  value: r.getNumberFormat(t).format(s)
3120
3125
  });
3121
3126
  continue;
3122
3127
  }
3123
3128
  var c = h.value;
3124
3129
  if (!(i && c in i))
3125
- throw new tn(c, a);
3130
+ throw new rn(c, u);
3126
3131
  var f = i[c];
3127
- if (Tr(h)) {
3128
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3129
- type: typeof f == "string" ? S.literal : S.object,
3132
+ if (Br(h)) {
3133
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3134
+ type: typeof f == "string" ? T.literal : T.object,
3130
3135
  value: f
3131
3136
  });
3132
3137
  continue;
3133
3138
  }
3134
- if (mt(h)) {
3135
- var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
3136
- o.push({
3137
- type: S.literal,
3139
+ if (ct(h)) {
3140
+ var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3141
+ a.push({
3142
+ type: T.literal,
3138
3143
  value: r.getDateTimeFormat(t, b).format(f)
3139
3144
  });
3140
3145
  continue;
3141
3146
  }
3142
- if (pt(h)) {
3143
- var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
3144
- o.push({
3145
- type: S.literal,
3147
+ if (ft(h)) {
3148
+ var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
3149
+ a.push({
3150
+ type: T.literal,
3146
3151
  value: r.getDateTimeFormat(t, b).format(f)
3147
3152
  });
3148
3153
  continue;
3149
3154
  }
3150
- if (ft(h)) {
3151
- var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
3152
- b && b.scale && (f = f * (b.scale || 1)), o.push({
3153
- type: S.literal,
3155
+ if (lt(h)) {
3156
+ var b = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3157
+ b && b.scale && (f = f * (b.scale || 1)), a.push({
3158
+ type: T.literal,
3154
3159
  value: r.getNumberFormat(t, b).format(f)
3155
3160
  });
3156
3161
  continue;
3157
3162
  }
3158
- if (bt(h)) {
3159
- var y = h.children, E = h.value, m = i[E];
3160
- if (!nn(m))
3161
- throw new en(E, "function", a);
3162
- var H = ie(y, t, r, n, i, s), _ = m(H.map(function(A) {
3163
- return A.value;
3163
+ if (gt(h)) {
3164
+ var y = h.children, m = h.value, E = i[m];
3165
+ if (!sn(E))
3166
+ throw new tn(m, "function", u);
3167
+ var S = se(y, t, r, n, i, s), B = E(S.map(function(P) {
3168
+ return P.value;
3164
3169
  }));
3165
- Array.isArray(_) || (_ = [_]), o.push.apply(o, _.map(function(A) {
3170
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(P) {
3166
3171
  return {
3167
- type: typeof A == "string" ? S.literal : S.object,
3168
- value: A
3172
+ type: typeof P == "string" ? T.literal : T.object,
3173
+ value: P
3169
3174
  };
3170
3175
  }));
3171
3176
  }
3172
- if (gt(h)) {
3173
- var B = h.options[f] || h.options.other;
3174
- if (!B)
3175
- throw new Je(h.value, f, Object.keys(h.options), a);
3176
- o.push.apply(o, ie(B.value, t, r, n, i));
3177
+ if (mt(h)) {
3178
+ var H = h.options[f] || h.options.other;
3179
+ if (!H)
3180
+ throw new qe(h.value, f, Object.keys(h.options), u);
3181
+ a.push.apply(a, se(H.value, t, r, n, i));
3177
3182
  continue;
3178
3183
  }
3179
- if (dt(h)) {
3180
- var B = h.options["=".concat(f)];
3181
- if (!B) {
3184
+ if (pt(h)) {
3185
+ var H = h.options["=".concat(f)];
3186
+ if (!H) {
3182
3187
  if (!Intl.PluralRules)
3183
- throw new le(`Intl.PluralRules is not available in this environment.
3188
+ throw new ce(`Intl.PluralRules is not available in this environment.
3184
3189
  Try polyfilling it using "@formatjs/intl-pluralrules"
3185
- `, V.MISSING_INTL_API, a);
3190
+ `, V.MISSING_INTL_API, u);
3186
3191
  var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3187
- B = h.options[N] || h.options.other;
3192
+ H = h.options[N] || h.options.other;
3188
3193
  }
3189
- if (!B)
3190
- throw new Je(h.value, f, Object.keys(h.options), a);
3191
- o.push.apply(o, ie(B.value, t, r, n, i, f - (h.offset || 0)));
3194
+ if (!H)
3195
+ throw new qe(h.value, f, Object.keys(h.options), u);
3196
+ a.push.apply(a, se(H.value, t, r, n, i, f - (h.offset || 0)));
3192
3197
  continue;
3193
3198
  }
3194
3199
  }
3195
- return rn(o);
3200
+ return nn(a);
3196
3201
  }
3197
- function sn(e, t) {
3202
+ function on(e, t) {
3198
3203
  return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3199
3204
  return r[n] = d(d({}, e[n]), t[n] || {}), r;
3200
3205
  }, {})) : e;
3201
3206
  }
3202
- function on(e, t) {
3207
+ function an(e, t) {
3203
3208
  return t ? Object.keys(e).reduce(function(r, n) {
3204
- return r[n] = sn(e[n], t[n]), r;
3209
+ return r[n] = on(e[n], t[n]), r;
3205
3210
  }, d({}, e)) : e;
3206
3211
  }
3207
- function ve(e) {
3212
+ function Ee(e) {
3208
3213
  return {
3209
3214
  create: function() {
3210
3215
  return {
@@ -3218,39 +3223,39 @@ function ve(e) {
3218
3223
  }
3219
3224
  };
3220
3225
  }
3221
- function an(e) {
3226
+ function un(e) {
3222
3227
  return e === void 0 && (e = {
3223
3228
  number: {},
3224
3229
  dateTime: {},
3225
3230
  pluralRules: {}
3226
3231
  }), {
3227
- getNumberFormat: be(function() {
3232
+ getNumberFormat: ye(function() {
3228
3233
  for (var t, r = [], n = 0; n < arguments.length; n++)
3229
3234
  r[n] = arguments[n];
3230
- return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3235
+ return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3231
3236
  }, {
3232
- cache: ve(e.number),
3233
- strategy: ye.variadic
3237
+ cache: Ee(e.number),
3238
+ strategy: xe.variadic
3234
3239
  }),
3235
- getDateTimeFormat: be(function() {
3240
+ getDateTimeFormat: ye(function() {
3236
3241
  for (var t, r = [], n = 0; n < arguments.length; n++)
3237
3242
  r[n] = arguments[n];
3238
- return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3243
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3239
3244
  }, {
3240
- cache: ve(e.dateTime),
3241
- strategy: ye.variadic
3245
+ cache: Ee(e.dateTime),
3246
+ strategy: xe.variadic
3242
3247
  }),
3243
- getPluralRules: be(function() {
3248
+ getPluralRules: ye(function() {
3244
3249
  for (var t, r = [], n = 0; n < arguments.length; n++)
3245
3250
  r[n] = arguments[n];
3246
- return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3251
+ return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3247
3252
  }, {
3248
- cache: ve(e.pluralRules),
3249
- strategy: ye.variadic
3253
+ cache: Ee(e.pluralRules),
3254
+ strategy: xe.variadic
3250
3255
  })
3251
3256
  };
3252
3257
  }
3253
- var un = (
3258
+ var hn = (
3254
3259
  /** @class */
3255
3260
  function() {
3256
3261
  function e(t, r, n, i) {
@@ -3261,15 +3266,15 @@ var un = (
3261
3266
  dateTime: {},
3262
3267
  pluralRules: {}
3263
3268
  }, this.format = function(l) {
3264
- var u = s.formatToParts(l);
3265
- if (u.length === 1)
3266
- return u[0].value;
3267
- var h = u.reduce(function(c, f) {
3268
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3269
+ var o = s.formatToParts(l);
3270
+ if (o.length === 1)
3271
+ return o[0].value;
3272
+ var h = o.reduce(function(c, f) {
3273
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3269
3274
  }, []);
3270
3275
  return h.length <= 1 ? h[0] || "" : h;
3271
3276
  }, this.formatToParts = function(l) {
3272
- return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3277
+ return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3273
3278
  }, this.resolvedOptions = function() {
3274
3279
  var l;
3275
3280
  return {
@@ -3280,15 +3285,15 @@ var un = (
3280
3285
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3281
3286
  if (this.message = t, !e.__parse)
3282
3287
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3283
- var a = i || {};
3284
- a.formatters;
3285
- var o = br(a, ["formatters"]);
3286
- this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
3288
+ var u = i || {};
3289
+ u.formatters;
3290
+ var a = br(u, ["formatters"]);
3291
+ this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3287
3292
  } else
3288
3293
  this.ast = t;
3289
3294
  if (!Array.isArray(this.ast))
3290
3295
  throw new TypeError("A message must be provided as a String or AST.");
3291
- this.formats = on(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
3296
+ this.formats = an(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3292
3297
  }
3293
3298
  return Object.defineProperty(e, "defaultLocale", {
3294
3299
  get: function() {
@@ -3301,7 +3306,7 @@ var un = (
3301
3306
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3302
3307
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3303
3308
  }
3304
- }, e.__parse = Kr, e.formats = {
3309
+ }, e.__parse = en, e.formats = {
3305
3310
  number: {
3306
3311
  integer: {
3307
3312
  maximumFractionDigits: 0
@@ -3362,7 +3367,7 @@ var un = (
3362
3367
  }, e;
3363
3368
  }()
3364
3369
  );
3365
- function hn(e, t) {
3370
+ function ln(e, t) {
3366
3371
  if (t == null)
3367
3372
  return;
3368
3373
  if (t in e)
@@ -3383,92 +3388,92 @@ function hn(e, t) {
3383
3388
  n = void 0;
3384
3389
  return n;
3385
3390
  }
3386
- const O = {}, ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), St = (e, t) => {
3391
+ const L = {}, cn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Tt = (e, t) => {
3387
3392
  if (t == null)
3388
3393
  return;
3389
- if (t in O && e in O[t])
3390
- return O[t][e];
3391
- const r = ce(t);
3394
+ if (t in L && e in L[t])
3395
+ return L[t][e];
3396
+ const r = fe(t);
3392
3397
  for (let n = 0; n < r.length; n++) {
3393
- const i = r[n], s = fn(i, e);
3398
+ const i = r[n], s = mn(i, e);
3394
3399
  if (s)
3395
- return ln(e, t, s);
3400
+ return cn(e, t, s);
3396
3401
  }
3397
3402
  };
3398
- let Ue;
3399
- const ee = ue({});
3400
- function cn(e) {
3401
- return Ue[e] || null;
3403
+ let Re;
3404
+ const te = he({});
3405
+ function fn(e) {
3406
+ return Re[e] || null;
3402
3407
  }
3403
- function At(e) {
3404
- return e in Ue;
3408
+ function Bt(e) {
3409
+ return e in Re;
3405
3410
  }
3406
- function fn(e, t) {
3407
- if (!At(e))
3411
+ function mn(e, t) {
3412
+ if (!Bt(e))
3408
3413
  return null;
3409
- const r = cn(e);
3410
- return hn(r, t);
3414
+ const r = fn(e);
3415
+ return ln(r, t);
3411
3416
  }
3412
- function mn(e) {
3417
+ function pn(e) {
3413
3418
  if (e == null)
3414
3419
  return;
3415
- const t = ce(e);
3420
+ const t = fe(e);
3416
3421
  for (let r = 0; r < t.length; r++) {
3417
3422
  const n = t[r];
3418
- if (At(n))
3423
+ if (Bt(n))
3419
3424
  return n;
3420
3425
  }
3421
3426
  }
3422
- function Pt(e, ...t) {
3423
- delete O[e], ee.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
3427
+ function St(e, ...t) {
3428
+ delete L[e], te.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
3424
3429
  }
3425
3430
  X(
3426
- [ee],
3431
+ [te],
3427
3432
  ([e]) => Object.keys(e)
3428
3433
  );
3429
- ee.subscribe((e) => Ue = e);
3430
- const se = {};
3431
- function pn(e, t) {
3432
- se[e].delete(t), se[e].size === 0 && delete se[e];
3434
+ te.subscribe((e) => Re = e);
3435
+ const oe = {};
3436
+ function gn(e, t) {
3437
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3433
3438
  }
3434
- function wt(e) {
3435
- return se[e];
3439
+ function Pt(e) {
3440
+ return oe[e];
3436
3441
  }
3437
- function gn(e) {
3438
- return ce(e).map((t) => {
3439
- const r = wt(t);
3442
+ function dn(e) {
3443
+ return fe(e).map((t) => {
3444
+ const r = Pt(t);
3440
3445
  return [t, r ? [...r] : []];
3441
3446
  }).filter(([, t]) => t.length > 0);
3442
3447
  }
3443
- function Le(e) {
3444
- return e == null ? !1 : ce(e).some(
3448
+ function Ie(e) {
3449
+ return e == null ? !1 : fe(e).some(
3445
3450
  (t) => {
3446
3451
  var r;
3447
- return (r = wt(t)) == null ? void 0 : r.size;
3452
+ return (r = Pt(t)) == null ? void 0 : r.size;
3448
3453
  }
3449
3454
  );
3450
3455
  }
3451
- function dn(e, t) {
3456
+ function bn(e, t) {
3452
3457
  return Promise.all(
3453
- t.map((n) => (pn(e, n), n().then((i) => i.default || i)))
3454
- ).then((n) => Pt(e, ...n));
3458
+ t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3459
+ ).then((n) => St(e, ...n));
3455
3460
  }
3456
3461
  const q = {};
3457
- function Nt(e) {
3458
- if (!Le(e))
3462
+ function At(e) {
3463
+ if (!Ie(e))
3459
3464
  return e in q ? q[e] : Promise.resolve();
3460
- const t = gn(e);
3465
+ const t = dn(e);
3461
3466
  return q[e] = Promise.all(
3462
3467
  t.map(
3463
- ([r, n]) => dn(r, n)
3468
+ ([r, n]) => bn(r, n)
3464
3469
  )
3465
3470
  ).then(() => {
3466
- if (Le(e))
3467
- return Nt(e);
3471
+ if (Ie(e))
3472
+ return At(e);
3468
3473
  delete q[e];
3469
3474
  }), q[e];
3470
3475
  }
3471
- const bn = {
3476
+ const yn = {
3472
3477
  number: {
3473
3478
  scientific: { notation: "scientific" },
3474
3479
  engineering: { notation: "engineering" },
@@ -3497,159 +3502,159 @@ const bn = {
3497
3502
  timeZoneName: "short"
3498
3503
  }
3499
3504
  }
3500
- }, yn = {
3505
+ }, xn = {
3501
3506
  fallbackLocale: null,
3502
3507
  loadingDelay: 200,
3503
- formats: bn,
3508
+ formats: yn,
3504
3509
  warnOnMissingMessages: !0,
3505
3510
  handleMissingMessage: void 0,
3506
3511
  ignoreTag: !0
3507
- }, xn = yn;
3512
+ }, vn = xn;
3508
3513
  function k() {
3509
- return xn;
3514
+ return vn;
3510
3515
  }
3511
- const Ee = ue(!1);
3512
- var vn = Object.defineProperty, En = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3516
+ const _e = he(!1);
3517
+ var En = Object.defineProperty, _n = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3513
3518
  for (var r in t || (t = {}))
3514
- Hn.call(t, r) && Ke(e, r, t[r]);
3515
- if (Ye)
3516
- for (var r of Ye(t))
3517
- Tn.call(t, r) && Ke(e, r, t[r]);
3519
+ Tn.call(t, r) && Je(e, r, t[r]);
3520
+ if (Qe)
3521
+ for (var r of Qe(t))
3522
+ Bn.call(t, r) && Je(e, r, t[r]);
3518
3523
  return e;
3519
- }, Sn = (e, t) => En(e, _n(t));
3520
- let Ie;
3521
- const oe = ue(null);
3522
- function et(e) {
3524
+ }, Pn = (e, t) => _n(e, Hn(t));
3525
+ let Ce;
3526
+ const ae = he(null);
3527
+ function Ye(e) {
3523
3528
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3524
3529
  }
3525
- function ce(e, t = k().fallbackLocale) {
3526
- const r = et(e);
3527
- return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3530
+ function fe(e, t = k().fallbackLocale) {
3531
+ const r = Ye(e);
3532
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
3528
3533
  }
3529
- function C() {
3530
- return Ie ?? void 0;
3534
+ function $() {
3535
+ return Ce ?? void 0;
3531
3536
  }
3532
- oe.subscribe((e) => {
3533
- Ie = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3537
+ ae.subscribe((e) => {
3538
+ Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3534
3539
  });
3535
3540
  const An = (e) => {
3536
- if (e && mn(e) && Le(e)) {
3541
+ if (e && pn(e) && Ie(e)) {
3537
3542
  const { loadingDelay: t } = k();
3538
3543
  let r;
3539
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3540
- () => Ee.set(!0),
3544
+ return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3545
+ () => _e.set(!0),
3541
3546
  t
3542
- ) : Ee.set(!0), Nt(e).then(() => {
3543
- oe.set(e);
3547
+ ) : _e.set(!0), At(e).then(() => {
3548
+ ae.set(e);
3544
3549
  }).finally(() => {
3545
- clearTimeout(r), Ee.set(!1);
3550
+ clearTimeout(r), _e.set(!1);
3546
3551
  });
3547
3552
  }
3548
- return oe.set(e);
3549
- }, z = Sn(Bn({}, oe), {
3553
+ return ae.set(e);
3554
+ }, z = Pn(Sn({}, ae), {
3550
3555
  set: An
3551
- }), fe = (e) => {
3556
+ }), me = (e) => {
3552
3557
  const t = /* @__PURE__ */ Object.create(null);
3553
3558
  return (n) => {
3554
3559
  const i = JSON.stringify(n);
3555
3560
  return i in t ? t[i] : t[i] = e(n);
3556
3561
  };
3557
3562
  };
3558
- var Pn = Object.defineProperty, ae = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3563
+ var wn = Object.defineProperty, ue = Object.getOwnPropertySymbols, wt = Object.prototype.hasOwnProperty, Nt = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, De = (e, t) => {
3559
3564
  for (var r in t || (t = {}))
3560
- Ot.call(t, r) && tt(e, r, t[r]);
3561
- if (ae)
3562
- for (var r of ae(t))
3563
- Lt.call(t, r) && tt(e, r, t[r]);
3565
+ wt.call(t, r) && Ke(e, r, t[r]);
3566
+ if (ue)
3567
+ for (var r of ue(t))
3568
+ Nt.call(t, r) && Ke(e, r, t[r]);
3564
3569
  return e;
3565
3570
  }, W = (e, t) => {
3566
3571
  var r = {};
3567
3572
  for (var n in e)
3568
- Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3569
- if (e != null && ae)
3570
- for (var n of ae(e))
3571
- t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
3573
+ wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3574
+ if (e != null && ue)
3575
+ for (var n of ue(e))
3576
+ t.indexOf(n) < 0 && Nt.call(e, n) && (r[n] = e[n]);
3572
3577
  return r;
3573
3578
  };
3574
- const Y = (e, t) => {
3579
+ const K = (e, t) => {
3575
3580
  const { formats: r } = k();
3576
3581
  if (e in r && t in r[e])
3577
3582
  return r[e][t];
3578
3583
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3579
- }, wn = fe(
3584
+ }, Nn = me(
3580
3585
  (e) => {
3581
3586
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3582
3587
  if (r == null)
3583
3588
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3584
- return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3589
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3585
3590
  }
3586
- ), Nn = fe(
3591
+ ), Ln = me(
3587
3592
  (e) => {
3588
3593
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3589
3594
  if (r == null)
3590
3595
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3591
- return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3596
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3592
3597
  }
3593
- ), On = fe(
3598
+ ), On = me(
3594
3599
  (e) => {
3595
3600
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3596
3601
  if (r == null)
3597
3602
  throw new Error(
3598
3603
  '[svelte-i18n] A "locale" must be set to format time values'
3599
3604
  );
3600
- return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3605
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3601
3606
  }
3602
- ), Ln = (e = {}) => {
3607
+ ), In = (e = {}) => {
3603
3608
  var t = e, {
3604
- locale: r = C()
3609
+ locale: r = $()
3605
3610
  } = t, n = W(t, [
3606
3611
  "locale"
3607
3612
  ]);
3608
- return wn(Ge({ locale: r }, n));
3609
- }, In = (e = {}) => {
3613
+ return Nn(De({ locale: r }, n));
3614
+ }, Cn = (e = {}) => {
3610
3615
  var t = e, {
3611
- locale: r = C()
3616
+ locale: r = $()
3612
3617
  } = t, n = W(t, [
3613
3618
  "locale"
3614
3619
  ]);
3615
- return Nn(Ge({ locale: r }, n));
3616
- }, Cn = (e = {}) => {
3620
+ return Ln(De({ locale: r }, n));
3621
+ }, $n = (e = {}) => {
3617
3622
  var t = e, {
3618
- locale: r = C()
3623
+ locale: r = $()
3619
3624
  } = t, n = W(t, [
3620
3625
  "locale"
3621
3626
  ]);
3622
- return On(Ge({ locale: r }, n));
3623
- }, $n = fe(
3627
+ return On(De({ locale: r }, n));
3628
+ }, Mn = me(
3624
3629
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3625
- (e, t = C()) => new un(e, t, k().formats, {
3630
+ (e, t = $()) => new hn(e, t, k().formats, {
3626
3631
  ignoreTag: k().ignoreTag
3627
3632
  })
3628
- ), Mn = (e, t = {}) => {
3633
+ ), Rn = (e, t = {}) => {
3629
3634
  var r, n, i, s;
3630
- let a = t;
3631
- typeof e == "object" && (a = e, e = a.id);
3635
+ let u = t;
3636
+ typeof e == "object" && (u = e, e = u.id);
3632
3637
  const {
3633
- values: o,
3634
- locale: l = C(),
3635
- default: u
3636
- } = a;
3638
+ values: a,
3639
+ locale: l = $(),
3640
+ default: o
3641
+ } = u;
3637
3642
  if (l == null)
3638
3643
  throw new Error(
3639
3644
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3640
3645
  );
3641
- let h = St(e, l);
3646
+ let h = Tt(e, l);
3642
3647
  if (!h)
3643
- h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3648
+ h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3644
3649
  else if (typeof h != "string")
3645
3650
  return console.warn(
3646
3651
  `[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.`
3647
3652
  ), h;
3648
- if (!o)
3653
+ if (!a)
3649
3654
  return h;
3650
3655
  let c = h;
3651
3656
  try {
3652
- c = $n(h, l).format(o);
3657
+ c = Mn(h, l).format(a);
3653
3658
  } catch (f) {
3654
3659
  f instanceof Error && console.warn(
3655
3660
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3657,18 +3662,18 @@ const Y = (e, t) => {
3657
3662
  );
3658
3663
  }
3659
3664
  return c;
3660
- }, Rn = (e, t) => Cn(t).format(e), Dn = (e, t) => In(t).format(e), Un = (e, t) => Ln(t).format(e), Gn = (e, t = C()) => St(e, t), Fn = X([z, ee], () => Mn);
3661
- X([z], () => Rn);
3665
+ }, Dn = (e, t) => $n(t).format(e), Un = (e, t) => Cn(t).format(e), Gn = (e, t) => In(t).format(e), Fn = (e, t = $()) => Tt(e, t), jn = X([z, te], () => Rn);
3662
3666
  X([z], () => Dn);
3663
3667
  X([z], () => Un);
3664
- X([z, ee], () => Gn);
3665
- function rt(e, t) {
3666
- Pt(e, t);
3668
+ X([z], () => Gn);
3669
+ X([z, te], () => Fn);
3670
+ function et(e, t) {
3671
+ St(e, t);
3667
3672
  }
3668
- function jn(e) {
3673
+ function Vn(e) {
3669
3674
  z.set(e);
3670
3675
  }
3671
- const nt = {
3676
+ const tt = {
3672
3677
  en: {
3673
3678
  sorry: "We are sorry",
3674
3679
  access: "The page you are trying to access is available for logged-in users only. Please login.",
@@ -3760,150 +3765,172 @@ const nt = {
3760
3765
  login: "Login"
3761
3766
  }
3762
3767
  };
3763
- function Vn(e) {
3764
- $t(e, "svelte-17wxvp", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}');
3768
+ function kn(e, t) {
3769
+ if (e) {
3770
+ const r = document.createElement("style");
3771
+ r.innerHTML = t, e.appendChild(r);
3772
+ }
3773
+ }
3774
+ function Xn(e, t) {
3775
+ const r = new URL(t);
3776
+ fetch(r.href).then((n) => n.text()).then((n) => {
3777
+ const i = document.createElement("style");
3778
+ i.innerHTML = n, e && e.appendChild(i);
3779
+ }).catch((n) => {
3780
+ console.error("There was an error while trying to load client styling from URL", n);
3781
+ });
3782
+ }
3783
+ function zn(e, t, r) {
3784
+ if (window.emMessageBus) {
3785
+ const n = document.createElement("style");
3786
+ window.emMessageBus.subscribe(t, (i) => {
3787
+ n.innerHTML = i, e && e.appendChild(n);
3788
+ });
3789
+ }
3765
3790
  }
3766
- function kn(e) {
3767
- let t, r, n, i, s, a, o, l, u, h, c = (
3791
+ function Wn(e) {
3792
+ It(e, "svelte-1osslvo", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3793
+ }
3794
+ function Zn(e) {
3795
+ let t, r, n, i, s, u, a, l, o, h, c = (
3768
3796
  /*$_*/
3769
3797
  e[1]("sorry") + ""
3770
- ), f, b, y, E = (
3798
+ ), f, b, y, m = (
3771
3799
  /*$_*/
3772
3800
  e[1]("access") + ""
3773
- ), m, H, _, B = (
3801
+ ), E, S, B, H = (
3774
3802
  /*$_*/
3775
3803
  e[1]("login") + ""
3776
- ), N, A, L;
3804
+ ), N, P, O;
3777
3805
  return {
3778
3806
  c() {
3779
- t = I("div"), r = I("div"), n = $("svg"), i = $("g"), s = $("path"), a = $("path"), o = $("path"), l = $("path"), u = me(), h = I("p"), f = re(c), b = me(), y = I("p"), m = re(E), H = me(), _ = I("button"), N = re(B), v(s, "class", "a"), v(s, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), v(a, "class", "a"), v(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), v(a, "transform", "translate(-116.772 -116.794)"), v(o, "class", "a"), v(o, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), v(o, "transform", "translate(-250.22 -116.794)"), v(l, "class", "a"), v(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), v(l, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(h, "class", "PageTitle"), v(y, "class", "PageContent"), v(_, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
3807
+ t = I("div"), r = I("div"), n = M("svg"), i = M("g"), s = M("path"), u = M("path"), a = M("path"), l = M("path"), o = pe(), h = I("p"), f = ne(c), b = pe(), y = I("p"), E = ne(m), S = pe(), B = I("button"), N = ne(H), v(s, "class", "a"), v(s, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), v(u, "class", "a"), v(u, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), v(u, "transform", "translate(-116.772 -116.794)"), v(a, "class", "a"), v(a, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), v(a, "transform", "translate(-250.22 -116.794)"), v(l, "class", "a"), v(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), v(l, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(h, "class", "PageTitle"), v(y, "class", "PageContent"), v(B, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
3780
3808
  },
3781
3809
  m(w, Z) {
3782
- at(w, t, Z), T(t, r), T(r, n), T(n, i), T(i, s), T(i, a), T(i, o), T(i, l), T(r, u), T(r, h), T(h, f), T(r, b), T(r, y), T(y, m), T(r, H), T(r, _), T(_, N), e[8](t), A || (L = Dt(
3783
- _,
3810
+ st(w, t, Z), _(t, r), _(r, n), _(n, i), _(i, s), _(i, u), _(i, a), _(i, l), _(r, o), _(r, h), _(h, f), _(r, b), _(r, y), _(y, E), _(r, S), _(r, B), _(B, N), e[9](t), P || (O = Mt(
3811
+ B,
3784
3812
  "click",
3785
3813
  /*click_handler*/
3786
- e[7]
3787
- ), A = !0);
3814
+ e[8]
3815
+ ), P = !0);
3788
3816
  },
3789
3817
  p(w, [Z]) {
3790
3818
  Z & /*$_*/
3791
3819
  2 && c !== (c = /*$_*/
3792
- w[1]("sorry") + "") && pe(f, c), Z & /*$_*/
3793
- 2 && E !== (E = /*$_*/
3794
- w[1]("access") + "") && pe(m, E), Z & /*$_*/
3795
- 2 && B !== (B = /*$_*/
3796
- w[1]("login") + "") && pe(N, B);
3820
+ w[1]("sorry") + "") && ge(f, c), Z & /*$_*/
3821
+ 2 && m !== (m = /*$_*/
3822
+ w[1]("access") + "") && ge(E, m), Z & /*$_*/
3823
+ 2 && H !== (H = /*$_*/
3824
+ w[1]("login") + "") && ge(N, H);
3797
3825
  },
3798
- i: P,
3799
- o: P,
3826
+ i: A,
3827
+ o: A,
3800
3828
  d(w) {
3801
- w && $e(t), e[8](null), A = !1, L();
3829
+ w && Me(t), e[9](null), P = !1, O();
3802
3830
  }
3803
3831
  };
3804
3832
  }
3805
- function Xn(e, t, r) {
3833
+ function qn(e, t, r) {
3806
3834
  let n;
3807
- Ct(e, Fn, (m) => r(1, n = m));
3808
- let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, o, { translationurl: l = "" } = t;
3809
- const u = () => {
3810
- fetch(l).then((H) => H.json()).then((H) => {
3811
- Object.keys(H).forEach((_) => {
3812
- rt(_, H[_]);
3835
+ Ot(e, jn, (m) => r(1, n = m));
3836
+ let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, o;
3837
+ const h = () => {
3838
+ fetch(a).then((E) => E.json()).then((E) => {
3839
+ Object.keys(E).forEach((S) => {
3840
+ et(S, E[S]);
3813
3841
  });
3814
- }).catch((H) => {
3815
- console.log(H);
3842
+ }).catch((E) => {
3843
+ console.log(E);
3816
3844
  });
3817
3845
  };
3818
- Object.keys(nt).forEach((m) => {
3819
- rt(m, nt[m]);
3846
+ Object.keys(tt).forEach((m) => {
3847
+ et(m, tt[m]);
3820
3848
  });
3821
- const h = () => {
3849
+ const c = () => {
3822
3850
  window.postMessage({ type: "403ActionButton" }, window.location.href);
3823
- }, c = () => {
3824
- jn(i);
3825
3851
  }, f = () => {
3826
- let m = document.createElement("style");
3827
- m.innerHTML = s, o.appendChild(m);
3828
- }, b = () => {
3829
- let m = new URL(a), H = document.createElement("style");
3830
- fetch(m.href).then((_) => _.text()).then((_) => {
3831
- H.innerHTML = _, setTimeout(
3832
- () => {
3833
- o.appendChild(H);
3834
- },
3835
- 1
3836
- );
3837
- });
3838
- }, y = () => h();
3839
- function E(m) {
3840
- _e[m ? "unshift" : "push"](() => {
3852
+ Vn(i);
3853
+ };
3854
+ Gt(() => () => {
3855
+ });
3856
+ const b = () => c();
3857
+ function y(m) {
3858
+ He[m ? "unshift" : "push"](() => {
3841
3859
  o = m, r(0, o);
3842
3860
  });
3843
3861
  }
3844
3862
  return e.$$set = (m) => {
3845
- "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, a = m.clientstylingurl), "translationurl" in m && r(6, l = m.translationurl);
3863
+ "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, a = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
3846
3864
  }, e.$$.update = () => {
3847
3865
  e.$$.dirty & /*lang*/
3848
- 8 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3849
- 17 && s && o && f(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3850
- 33 && a && o && b(), e.$$.dirty & /*translationurl*/
3851
- 64 && l && u();
3866
+ 8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3867
+ 17 && s && o && kn(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3868
+ 33 && u && o && Xn(o, u), e.$$.dirty & /*translationurl*/
3869
+ 64 && a && h(), e.$$.dirty & /*mbsource, customStylingContainer*/
3870
+ 129 && l && o && zn(o, `${l}.Style`);
3852
3871
  }, [
3853
3872
  o,
3854
3873
  n,
3855
- h,
3874
+ c,
3856
3875
  i,
3857
3876
  s,
3877
+ u,
3858
3878
  a,
3859
3879
  l,
3860
- y,
3861
- E
3880
+ b,
3881
+ y
3862
3882
  ];
3863
3883
  }
3864
- class zn extends Yt {
3884
+ class Qn extends Yt {
3865
3885
  constructor(t) {
3866
3886
  super(), Qt(
3867
3887
  this,
3868
3888
  t,
3869
- Xn,
3870
- kn,
3871
- st,
3889
+ qn,
3890
+ Zn,
3891
+ nt,
3872
3892
  {
3873
3893
  lang: 3,
3874
3894
  clientstyling: 4,
3875
3895
  clientstylingurl: 5,
3876
- translationurl: 6
3896
+ translationurl: 6,
3897
+ mbsource: 7
3877
3898
  },
3878
- Vn
3899
+ Wn
3879
3900
  );
3880
3901
  }
3881
3902
  get lang() {
3882
3903
  return this.$$.ctx[3];
3883
3904
  }
3884
3905
  set lang(t) {
3885
- this.$$set({ lang: t }), U();
3906
+ this.$$set({ lang: t }), C();
3886
3907
  }
3887
3908
  get clientstyling() {
3888
3909
  return this.$$.ctx[4];
3889
3910
  }
3890
3911
  set clientstyling(t) {
3891
- this.$$set({ clientstyling: t }), U();
3912
+ this.$$set({ clientstyling: t }), C();
3892
3913
  }
3893
3914
  get clientstylingurl() {
3894
3915
  return this.$$.ctx[5];
3895
3916
  }
3896
3917
  set clientstylingurl(t) {
3897
- this.$$set({ clientstylingurl: t }), U();
3918
+ this.$$set({ clientstylingurl: t }), C();
3898
3919
  }
3899
3920
  get translationurl() {
3900
3921
  return this.$$.ctx[6];
3901
3922
  }
3902
3923
  set translationurl(t) {
3903
- this.$$set({ translationurl: t }), U();
3924
+ this.$$set({ translationurl: t }), C();
3925
+ }
3926
+ get mbsource() {
3927
+ return this.$$.ctx[7];
3928
+ }
3929
+ set mbsource(t) {
3930
+ this.$$set({ mbsource: t }), C();
3904
3931
  }
3905
3932
  }
3906
- Jt(zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
3933
+ Jt(Qn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3907
3934
  export {
3908
- zn as C
3935
+ Qn as C
3909
3936
  };