@everymatrix/cashier-verifications 1.71.0 → 1.72.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.
@@ -6,18 +6,18 @@ function Jt(e) {
6
6
  function Tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function De(e) {
9
+ function Le(e) {
10
10
  e.forEach(Jt);
11
11
  }
12
- function gt(e) {
12
+ function bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function Qt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Ue;
19
- function rs(e, t) {
20
- return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
18
+ let Fe;
19
+ function is(e, t) {
20
+ return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
22
  function Dr(e) {
23
23
  return Object.keys(e).length === 0;
@@ -61,10 +61,10 @@ function Nr(e, t) {
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function oe(e, t, r) {
64
+ function ae(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function ie(e) {
67
+ function ne(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
70
  function Rr(e, t) {
@@ -74,25 +74,25 @@ function Rr(e, t) {
74
74
  function q(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function is(e) {
77
+ function ns(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function vt(e) {
80
+ function yt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function ye() {
84
- return vt(" ");
83
+ function _e() {
84
+ return yt(" ");
85
85
  }
86
- function ns() {
87
- return vt("");
86
+ function ss() {
87
+ return yt("");
88
88
  }
89
- function bt(e, t, r, i) {
89
+ function _t(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
92
  function K(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function ue(e, t, r) {
95
+ function le(e, t, r) {
96
96
  const i = t.toLowerCase();
97
97
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
98
98
  }
@@ -103,7 +103,7 @@ function Ur(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function _e(e, t, r) {
106
+ function Ee(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
109
  function Fr(e) {
@@ -115,60 +115,60 @@ function Fr(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Be;
119
- function $e(e) {
120
- Be = e;
118
+ let Me;
119
+ function Be(e) {
120
+ Me = e;
121
121
  }
122
122
  function Vr() {
123
- if (!Be)
123
+ if (!Me)
124
124
  throw new Error("Function called outside component initialization");
125
- return Be;
125
+ return Me;
126
126
  }
127
- function ss(e) {
127
+ function os(e) {
128
128
  Vr().$$.on_mount.push(e);
129
129
  }
130
- const be = [], st = [];
130
+ const ye = [], at = [];
131
131
  let xe = [];
132
- const Pt = [], Gr = /* @__PURE__ */ Promise.resolve();
133
- let ot = !1;
132
+ const Ot = [], Gr = /* @__PURE__ */ Promise.resolve();
133
+ let ut = !1;
134
134
  function jr() {
135
- ot || (ot = !0, Gr.then(J));
135
+ ut || (ut = !0, Gr.then(J));
136
136
  }
137
- function at(e) {
137
+ function lt(e) {
138
138
  xe.push(e);
139
139
  }
140
- const Qe = /* @__PURE__ */ new Set();
141
- let ge = 0;
140
+ const et = /* @__PURE__ */ new Set();
141
+ let ve = 0;
142
142
  function J() {
143
- if (ge !== 0)
143
+ if (ve !== 0)
144
144
  return;
145
- const e = Be;
145
+ const e = Me;
146
146
  do {
147
147
  try {
148
- for (; ge < be.length; ) {
149
- const t = be[ge];
150
- ge++, $e(t), zr(t.$$);
148
+ for (; ve < ye.length; ) {
149
+ const t = ye[ve];
150
+ ve++, Be(t), zr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw be.length = 0, ge = 0, t;
153
+ throw ye.length = 0, ve = 0, t;
154
154
  }
155
- for ($e(null), be.length = 0, ge = 0; st.length; )
156
- st.pop()();
155
+ for (Be(null), ye.length = 0, ve = 0; at.length; )
156
+ at.pop()();
157
157
  for (let t = 0; t < xe.length; t += 1) {
158
158
  const r = xe[t];
159
- Qe.has(r) || (Qe.add(r), r());
159
+ et.has(r) || (et.add(r), r());
160
160
  }
161
161
  xe.length = 0;
162
- } while (be.length);
163
- for (; Pt.length; )
164
- Pt.pop()();
165
- ot = !1, Qe.clear(), $e(e);
162
+ } while (ye.length);
163
+ for (; Ot.length; )
164
+ Ot.pop()();
165
+ ut = !1, et.clear(), Be(e);
166
166
  }
167
167
  function zr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), De(e.before_update);
169
+ e.update(), Le(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
172
172
  }
173
173
  }
174
174
  function Xr(e) {
@@ -179,26 +179,26 @@ const Wr = /* @__PURE__ */ new Set();
179
179
  function qr(e, t) {
180
180
  e && e.i && (Wr.delete(e), e.i(t));
181
181
  }
182
- function At(e) {
182
+ function Pt(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
185
  function Yr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
- i && i.m(t, r), at(() => {
188
- const s = e.$$.on_mount.map(Jt).filter(gt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : De(s), e.$$.on_mount = [];
190
- }), n.forEach(at);
187
+ i && i.m(t, r), lt(() => {
188
+ const s = e.$$.on_mount.map(Jt).filter(bt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
190
+ }), n.forEach(lt);
191
191
  }
192
192
  function Zr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Xr(r.after_update), De(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (Xr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
196
  function Jr(e, t) {
197
- e.$$.dirty[0] === -1 && (be.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
197
+ e.$$.dirty[0] === -1 && (ye.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
199
  function Qr(e, t, r, i, n, s, l = null, a = [-1]) {
200
- const o = Be;
201
- $e(e);
200
+ const o = Me;
201
+ Be(e);
202
202
  const u = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
@@ -222,18 +222,18 @@ function Qr(e, t, r, i, n, s, l = null, a = [-1]) {
222
222
  };
223
223
  l && l(u.root);
224
224
  let h = !1;
225
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ...x) => {
226
- const T = x.length ? x[0] : p;
225
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
+ const T = _.length ? _[0] : p;
227
227
  return u.ctx && n(u.ctx[c], u.ctx[c] = T) && (!u.skip_bound && u.bound[c] && u.bound[c](T), h && Jr(e, c)), p;
228
- }) : [], u.update(), h = !0, De(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
228
+ }) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
230
  const c = kr(t.target);
231
- u.fragment && u.fragment.l(c), c.forEach(ie);
231
+ u.fragment && u.fragment.l(c), c.forEach(ne);
232
232
  } else
233
233
  u.fragment && u.fragment.c();
234
234
  t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), J();
235
235
  }
236
- $e(o);
236
+ Be(o);
237
237
  }
238
238
  let er;
239
239
  typeof HTMLElement == "function" && (er = class extends HTMLElement {
@@ -285,10 +285,10 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(o, u) {
288
- oe(o, s, u);
288
+ ae(o, s, u);
289
289
  },
290
290
  d: function(o) {
291
- o && ie(s);
291
+ o && ne(s);
292
292
  }
293
293
  };
294
294
  };
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
300
300
  n in r && (t[n] = [e(n)]);
301
301
  for (const n of this.attributes) {
302
302
  const s = this.$$g_p(n.name);
303
- s in this.$$d || (this.$$d[s] = Ve(s, n.value, this.$$p_d, "toProp"));
303
+ s in this.$$d || (this.$$d[s] = Ge(s, n.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const n in this.$$p_d)
306
306
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
318
318
  this.$$r = !0;
319
319
  for (const n in this.$$p_d)
320
320
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
321
- const s = Ve(
321
+ const s = Ge(
322
322
  n,
323
323
  this.$$d[n],
324
324
  this.$$p_d,
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
342
  attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Ve(e, t, r, i) {
356
+ function Ge(e, t, r, i) {
357
357
  const n = r[e]?.type;
358
358
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
359
359
  return t;
@@ -399,7 +399,7 @@ function Kr(e, t, r, i, n, s) {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(o) {
402
- o = Ve(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
402
+ o = Ge(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
403
403
  }
404
404
  });
405
405
  }), i.forEach((a) => {
@@ -439,7 +439,7 @@ class ei {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!gt(r))
442
+ if (!bt(r))
443
443
  return Q;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
@@ -457,24 +457,24 @@ class ei {
457
457
  }
458
458
  const ti = "4";
459
459
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
460
- const ve = [];
460
+ const be = [];
461
461
  function ri(e, t) {
462
462
  return {
463
- subscribe: Le(e, t).subscribe
463
+ subscribe: Ie(e, t).subscribe
464
464
  };
465
465
  }
466
- function Le(e, t = Q) {
466
+ function Ie(e, t = Q) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
469
  function n(a) {
470
470
  if (Qt(e, a) && (e = a, r)) {
471
- const o = !ve.length;
471
+ const o = !be.length;
472
472
  for (const u of i)
473
- u[1](), ve.push(u, e);
473
+ u[1](), be.push(u, e);
474
474
  if (o) {
475
- for (let u = 0; u < ve.length; u += 2)
476
- ve[u][0](ve[u + 1]);
477
- ve.length = 0;
475
+ for (let u = 0; u < be.length; u += 2)
476
+ be[u][0](be[u + 1]);
477
+ be.length = 0;
478
478
  }
479
479
  }
480
480
  }
@@ -489,7 +489,7 @@ function Le(e, t = Q) {
489
489
  }
490
490
  return { set: n, update: s, subscribe: l };
491
491
  }
492
- function He(e, t, r) {
492
+ function Oe(e, t, r) {
493
493
  const i = !Array.isArray(e), n = i ? [e] : e;
494
494
  if (!n.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -503,12 +503,12 @@ function He(e, t, r) {
503
503
  return;
504
504
  c();
505
505
  const T = t(i ? u[0] : u, l, a);
506
- s ? l(T) : c = gt(T) ? T : Q;
507
- }, x = n.map(
506
+ s ? l(T) : c = bt(T) ? T : Q;
507
+ }, _ = n.map(
508
508
  (T, v) => Kt(
509
509
  T,
510
- (C) => {
511
- u[v] = C, h &= ~(1 << v), o && p();
510
+ (M) => {
511
+ u[v] = M, h &= ~(1 << v), o && p();
512
512
  },
513
513
  () => {
514
514
  h |= 1 << v;
@@ -516,12 +516,12 @@ function He(e, t, r) {
516
516
  )
517
517
  );
518
518
  return o = !0, p(), function() {
519
- De(x), c(), o = !1;
519
+ Le(_), c(), o = !1;
520
520
  };
521
521
  });
522
522
  }
523
523
  var tr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
- function yt(e) {
524
+ function xt(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
527
527
  var ii = function(t) {
@@ -541,26 +541,26 @@ function ui(e) {
541
541
  function li(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
- function Me(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(li(e), e, t) : e;
544
+ function Ce(e, t) {
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(li(e), e, t) : e;
546
546
  }
547
547
  function hi(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
- return Me(i, r);
549
+ return Ce(i, r);
550
550
  });
551
551
  }
552
552
  function fi(e, t) {
553
553
  if (!t.customMerge)
554
- return Ee;
554
+ return we;
555
555
  var r = t.customMerge(e);
556
- return typeof r == "function" ? r : Ee;
556
+ return typeof r == "function" ? r : we;
557
557
  }
558
558
  function ci(e) {
559
559
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
560
560
  return Object.propertyIsEnumerable.call(e, t);
561
561
  }) : [];
562
562
  }
563
- function Ot(e) {
563
+ function At(e) {
564
564
  return Object.keys(e).concat(ci(e));
565
565
  }
566
566
  function rr(e, t) {
@@ -575,66 +575,52 @@ function di(e, t) {
575
575
  }
576
576
  function mi(e, t, r) {
577
577
  var i = {};
578
- return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
579
- i[n] = Me(e[n], r);
580
- }), Ot(t).forEach(function(n) {
581
- di(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(n, r)(e[n], t[n], r) : i[n] = Me(t[n], r));
578
+ return r.isMergeableObject(e) && At(e).forEach(function(n) {
579
+ i[n] = Ce(e[n], r);
580
+ }), At(t).forEach(function(n) {
581
+ di(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
582
582
  }), i;
583
583
  }
584
- function Ee(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Me;
584
+ function we(e, t, r) {
585
+ r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ce;
586
586
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : mi(e, t, r) : Me(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : mi(e, t, r) : Ce(t, r);
588
588
  }
589
- Ee.all = function(t, r) {
589
+ we.all = function(t, r) {
590
590
  if (!Array.isArray(t))
591
591
  throw new Error("first argument should be an array");
592
592
  return t.reduce(function(i, n) {
593
- return Ee(i, n, r);
593
+ return we(i, n, r);
594
594
  }, {});
595
595
  };
596
- var pi = Ee, gi = pi;
597
- const vi = /* @__PURE__ */ yt(gi);
598
- /*! *****************************************************************************
599
- Copyright (c) Microsoft Corporation.
600
-
601
- Permission to use, copy, modify, and/or distribute this software for any
602
- purpose with or without fee is hereby granted.
603
-
604
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
605
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
606
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
607
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
608
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
609
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
610
- PERFORMANCE OF THIS SOFTWARE.
611
- ***************************************************************************** */
612
- var ut = function(e, t) {
613
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
596
+ var pi = we, gi = pi;
597
+ const vi = /* @__PURE__ */ xt(gi);
598
+ var ht = function(e, t) {
599
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
614
600
  r.__proto__ = i;
615
601
  } || function(r, i) {
616
602
  for (var n in i)
617
603
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
618
- }, ut(e, t);
604
+ }, ht(e, t);
619
605
  };
620
- function qe(e, t) {
606
+ function Ze(e, t) {
621
607
  if (typeof t != "function" && t !== null)
622
608
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
623
- ut(e, t);
609
+ ht(e, t);
624
610
  function r() {
625
611
  this.constructor = e;
626
612
  }
627
613
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
628
614
  }
629
- var $ = function() {
630
- return $ = Object.assign || function(t) {
615
+ var ie = function() {
616
+ return ie = Object.assign || function(t) {
631
617
  for (var r, i = 1, n = arguments.length; i < n; i++) {
632
618
  r = arguments[i];
633
619
  for (var s in r)
634
620
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
635
621
  }
636
622
  return t;
637
- }, $.apply(this, arguments);
623
+ }, ie.apply(this, arguments);
638
624
  };
639
625
  function bi(e, t) {
640
626
  var r = {};
@@ -645,14 +631,14 @@ function bi(e, t) {
645
631
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
646
632
  return r;
647
633
  }
648
- function Ke(e, t, r) {
649
- if (arguments.length === 2)
634
+ function tt(e, t, r) {
635
+ if (r || arguments.length === 2)
650
636
  for (var i = 0, n = t.length, s; i < n; i++)
651
637
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
652
- return e.concat(s || t);
638
+ return e.concat(s || Array.prototype.slice.call(t));
653
639
  }
654
- function et(e, t) {
655
- var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : xi;
640
+ function rt(e, t) {
641
+ var r = t && t.cache ? t.cache : Ti, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : xi;
656
642
  return n(e, {
657
643
  cache: r,
658
644
  serializer: i
@@ -661,90 +647,98 @@ function et(e, t) {
661
647
  function yi(e) {
662
648
  return e == null || typeof e == "number" || typeof e == "boolean";
663
649
  }
664
- function ir(e, t, r, i) {
650
+ function _i(e, t, r, i) {
665
651
  var n = yi(i) ? i : r(i), s = t.get(n);
666
652
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
667
653
  }
668
- function nr(e, t, r) {
654
+ function ir(e, t, r) {
669
655
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
670
656
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
671
657
  }
672
- function xt(e, t, r, i, n) {
658
+ function nr(e, t, r, i, n) {
673
659
  return r.bind(t, e, i, n);
674
660
  }
675
661
  function xi(e, t) {
676
- var r = e.length === 1 ? ir : nr;
677
- return xt(e, this, r, t.cache.create(), t.serializer);
678
- }
679
- function _i(e, t) {
680
- return xt(e, this, nr, t.cache.create(), t.serializer);
662
+ var r = e.length === 1 ? _i : ir;
663
+ return nr(e, this, r, t.cache.create(), t.serializer);
681
664
  }
682
665
  function Ei(e, t) {
683
- return xt(e, this, ir, t.cache.create(), t.serializer);
666
+ return nr(e, this, ir, t.cache.create(), t.serializer);
684
667
  }
685
668
  var wi = function() {
686
669
  return JSON.stringify(arguments);
687
- };
688
- function _t() {
689
- this.cache = /* @__PURE__ */ Object.create(null);
690
- }
691
- _t.prototype.get = function(e) {
692
- return this.cache[e];
693
- };
694
- _t.prototype.set = function(e, t) {
695
- this.cache[e] = t;
696
- };
697
- var Si = {
670
+ }, Si = (
671
+ /** @class */
672
+ function() {
673
+ function e() {
674
+ this.cache = /* @__PURE__ */ Object.create(null);
675
+ }
676
+ return e.prototype.get = function(t) {
677
+ return this.cache[t];
678
+ }, e.prototype.set = function(t, r) {
679
+ this.cache[t] = r;
680
+ }, e;
681
+ }()
682
+ ), Ti = {
698
683
  create: function() {
699
- return new _t();
684
+ return new Si();
700
685
  }
701
- }, tt = {
702
- variadic: _i,
703
- monadic: Ei
704
- }, H;
686
+ }, it = {
687
+ variadic: Ei
688
+ }, Xe = function() {
689
+ return Xe = Object.assign || function(t) {
690
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
691
+ r = arguments[i];
692
+ for (var s in r)
693
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
694
+ }
695
+ return t;
696
+ }, Xe.apply(this, arguments);
697
+ };
698
+ var H;
705
699
  (function(e) {
706
700
  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";
707
701
  })(H || (H = {}));
708
- var D;
702
+ var C;
709
703
  (function(e) {
710
704
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
711
- })(D || (D = {}));
712
- var we;
705
+ })(C || (C = {}));
706
+ var Se;
713
707
  (function(e) {
714
708
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
715
- })(we || (we = {}));
709
+ })(Se || (Se = {}));
716
710
  function $t(e) {
717
- return e.type === D.literal;
711
+ return e.type === C.literal;
718
712
  }
719
- function Ti(e) {
720
- return e.type === D.argument;
713
+ function Hi(e) {
714
+ return e.type === C.argument;
721
715
  }
722
716
  function sr(e) {
723
- return e.type === D.number;
717
+ return e.type === C.number;
724
718
  }
725
719
  function or(e) {
726
- return e.type === D.date;
720
+ return e.type === C.date;
727
721
  }
728
722
  function ar(e) {
729
- return e.type === D.time;
723
+ return e.type === C.time;
730
724
  }
731
725
  function ur(e) {
732
- return e.type === D.select;
726
+ return e.type === C.select;
733
727
  }
734
728
  function lr(e) {
735
- return e.type === D.plural;
729
+ return e.type === C.plural;
736
730
  }
737
- function Hi(e) {
738
- return e.type === D.pound;
731
+ function Oi(e) {
732
+ return e.type === C.pound;
739
733
  }
740
734
  function hr(e) {
741
- return e.type === D.tag;
735
+ return e.type === C.tag;
742
736
  }
743
737
  function fr(e) {
744
- return !!(e && typeof e == "object" && e.type === we.number);
738
+ return !!(e && typeof e == "object" && e.type === Se.number);
745
739
  }
746
- function lt(e) {
747
- return !!(e && typeof e == "object" && e.type === we.dateTime);
740
+ function ft(e) {
741
+ return !!(e && typeof e == "object" && e.type === Se.dateTime);
748
742
  }
749
743
  var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
750
744
  function Ai(e) {
@@ -838,11 +832,21 @@ function Ai(e) {
838
832
  return "";
839
833
  }), t;
840
834
  }
841
- var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
842
- function $i(e) {
835
+ var L = function() {
836
+ return L = Object.assign || function(t) {
837
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
838
+ r = arguments[i];
839
+ for (var s in r)
840
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
841
+ }
842
+ return t;
843
+ }, L.apply(this, arguments);
844
+ };
845
+ var $i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
+ function Bi(e) {
843
847
  if (e.length === 0)
844
848
  throw new Error("Number skeleton cannot be empty");
845
- for (var t = e.split(Oi).filter(function(p) {
849
+ for (var t = e.split($i).filter(function(p) {
846
850
  return p.length > 0;
847
851
  }), r = [], i = 0, n = t; i < n.length; i++) {
848
852
  var s = n[i], l = s.split("/");
@@ -857,10 +861,10 @@ function $i(e) {
857
861
  }
858
862
  return r;
859
863
  }
860
- function Bi(e) {
864
+ function Mi(e) {
861
865
  return e.replace(/^(.*?)-/, "");
862
866
  }
863
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
867
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
864
868
  function Mt(e) {
865
869
  var t = {};
866
870
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, i, n) {
@@ -907,7 +911,7 @@ function pr(e) {
907
911
  };
908
912
  }
909
913
  }
910
- function Ci(e) {
914
+ function Di(e) {
911
915
  var t;
912
916
  if (e[0] === "E" && e[1] === "E" ? (t = {
913
917
  notation: "engineering"
@@ -925,7 +929,7 @@ function Ct(e) {
925
929
  var t = {}, r = pr(e);
926
930
  return r || t;
927
931
  }
928
- function Di(e) {
932
+ function Li(e) {
929
933
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
930
934
  var n = i[r];
931
935
  switch (n.stem) {
@@ -949,7 +953,7 @@ function Di(e) {
949
953
  continue;
950
954
  case "measure-unit":
951
955
  case "unit":
952
- t.style = "unit", t.unit = Bi(n.options[0]);
956
+ t.style = "unit", t.unit = Mi(n.options[0]);
953
957
  continue;
954
958
  case "compact-short":
955
959
  case "K":
@@ -960,13 +964,13 @@ function Di(e) {
960
964
  t.notation = "compact", t.compactDisplay = "long";
961
965
  continue;
962
966
  case "scientific":
963
- t = $($($({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
964
- return $($({}, o), Ct(u));
967
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
+ return L(L({}, o), Ct(u));
965
969
  }, {}));
966
970
  continue;
967
971
  case "engineering":
968
- t = $($($({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
969
- return $($({}, o), Ct(u));
972
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
+ return L(L({}, o), Ct(u));
970
974
  }, {}));
971
975
  continue;
972
976
  case "notation-simple":
@@ -1011,13 +1015,13 @@ function Di(e) {
1011
1015
  case "integer-width":
1012
1016
  if (n.options.length > 1)
1013
1017
  throw new RangeError("integer-width stems only accept a single optional option");
1014
- n.options[0].replace(Mi, function(o, u, h, c, p, x) {
1018
+ n.options[0].replace(Ci, function(o, u, h, c, p, _) {
1015
1019
  if (u)
1016
1020
  t.minimumIntegerDigits = h.length;
1017
1021
  else {
1018
1022
  if (c && p)
1019
1023
  throw new Error("We currently do not support maximum integer digits");
1020
- if (x)
1024
+ if (_)
1021
1025
  throw new Error("We currently do not support exact integer digits");
1022
1026
  }
1023
1027
  return "";
@@ -1031,25 +1035,25 @@ function Di(e) {
1031
1035
  if (Bt.test(n.stem)) {
1032
1036
  if (n.options.length > 1)
1033
1037
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1034
- n.stem.replace(Bt, function(o, u, h, c, p, x) {
1035
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1038
+ n.stem.replace(Bt, function(o, u, h, c, p, _) {
1039
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1036
1040
  });
1037
1041
  var s = n.options[0];
1038
- s === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = $($({}, t), Mt(s)));
1042
+ s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Mt(s)));
1039
1043
  continue;
1040
1044
  }
1041
1045
  if (dr.test(n.stem)) {
1042
- t = $($({}, t), Mt(n.stem));
1046
+ t = L(L({}, t), Mt(n.stem));
1043
1047
  continue;
1044
1048
  }
1045
1049
  var l = pr(n.stem);
1046
- l && (t = $($({}, t), l));
1047
- var a = Ci(n.stem);
1048
- a && (t = $($({}, t), a));
1050
+ l && (t = L(L({}, t), l));
1051
+ var a = Di(n.stem);
1052
+ a && (t = L(L({}, t), a));
1049
1053
  }
1050
1054
  return t;
1051
1055
  }
1052
- var Fe = {
1056
+ var Ve = {
1053
1057
  "001": [
1054
1058
  "H",
1055
1059
  "h"
@@ -2464,13 +2468,13 @@ var Fe = {
2464
2468
  "h"
2465
2469
  ]
2466
2470
  };
2467
- function Li(e, t) {
2471
+ function Ii(e, t) {
2468
2472
  for (var r = "", i = 0; i < e.length; i++) {
2469
2473
  var n = e.charAt(i);
2470
2474
  if (n === "j") {
2471
2475
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2472
2476
  s++, i++;
2473
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ii(t);
2477
+ var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ni(t);
2474
2478
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2475
2479
  r += o;
2476
2480
  for (; l-- > 0; )
@@ -2480,7 +2484,7 @@ function Li(e, t) {
2480
2484
  }
2481
2485
  return r;
2482
2486
  }
2483
- function Ii(e) {
2487
+ function Ni(e) {
2484
2488
  var t = e.hourCycle;
2485
2489
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2486
2490
  e.hourCycles && // @ts-ignore
@@ -2499,23 +2503,23 @@ function Ii(e) {
2499
2503
  }
2500
2504
  var r = e.language, i;
2501
2505
  r !== "root" && (i = e.maximize().region);
2502
- var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2506
+ var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2503
2507
  return n[0];
2504
2508
  }
2505
- var rt, Ni = new RegExp("^".concat(cr.source, "*")), Ri = new RegExp("".concat(cr.source, "*$"));
2506
- function A(e, t) {
2509
+ var nt, Ri = new RegExp("^".concat(cr.source, "*")), ki = new RegExp("".concat(cr.source, "*$"));
2510
+ function P(e, t) {
2507
2511
  return { start: e, end: t };
2508
2512
  }
2509
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Xi = zi ? Number.isSafeInteger : function(e) {
2513
+ var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, ji = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
2510
2514
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2511
- }, ht = !0;
2515
+ }, ct = !0;
2512
2516
  try {
2513
- var Wi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2514
- ht = ((rt = Wi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2517
+ var qi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
+ ct = ((nt = qi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2515
2519
  } catch {
2516
- ht = !1;
2520
+ ct = !1;
2517
2521
  }
2518
- var Dt = ki ? (
2522
+ var Dt = Ui ? (
2519
2523
  // Native
2520
2524
  function(t, r, i) {
2521
2525
  return t.startsWith(r, i);
@@ -2525,7 +2529,7 @@ var Dt = ki ? (
2525
2529
  function(t, r, i) {
2526
2530
  return t.slice(i, i + r.length) === r;
2527
2531
  }
2528
- ), ft = Ui ? String.fromCodePoint : (
2532
+ ), dt = Fi ? String.fromCodePoint : (
2529
2533
  // IE11
2530
2534
  function() {
2531
2535
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2539,7 +2543,7 @@ var Dt = ki ? (
2539
2543
  }
2540
2544
  ), Lt = (
2541
2545
  // native
2542
- Fi ? Object.fromEntries : (
2546
+ Vi ? Object.fromEntries : (
2543
2547
  // Ponyfill
2544
2548
  function(t) {
2545
2549
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2549,7 +2553,7 @@ var Dt = ki ? (
2549
2553
  return r;
2550
2554
  }
2551
2555
  )
2552
- ), gr = Vi ? (
2556
+ ), gr = Gi ? (
2553
2557
  // Native
2554
2558
  function(t, r) {
2555
2559
  return t.codePointAt(r);
@@ -2563,7 +2567,7 @@ var Dt = ki ? (
2563
2567
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2564
2568
  }
2565
2569
  }
2566
- ), qi = Gi ? (
2570
+ ), Yi = ji ? (
2567
2571
  // Native
2568
2572
  function(t) {
2569
2573
  return t.trimStart();
@@ -2571,9 +2575,9 @@ var Dt = ki ? (
2571
2575
  ) : (
2572
2576
  // Ponyfill
2573
2577
  function(t) {
2574
- return t.replace(Ni, "");
2578
+ return t.replace(Ri, "");
2575
2579
  }
2576
- ), Yi = ji ? (
2580
+ ), Zi = zi ? (
2577
2581
  // Native
2578
2582
  function(t) {
2579
2583
  return t.trimEnd();
@@ -2581,32 +2585,32 @@ var Dt = ki ? (
2581
2585
  ) : (
2582
2586
  // Ponyfill
2583
2587
  function(t) {
2584
- return t.replace(Ri, "");
2588
+ return t.replace(ki, "");
2585
2589
  }
2586
2590
  );
2587
2591
  function vr(e, t) {
2588
2592
  return new RegExp(e, t);
2589
2593
  }
2590
- var ct;
2591
- if (ht) {
2594
+ var mt;
2595
+ if (ct) {
2592
2596
  var It = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2593
- ct = function(t, r) {
2597
+ mt = function(t, r) {
2594
2598
  var i;
2595
2599
  It.lastIndex = r;
2596
2600
  var n = It.exec(t);
2597
2601
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2598
2602
  };
2599
2603
  } else
2600
- ct = function(t, r) {
2604
+ mt = function(t, r) {
2601
2605
  for (var i = []; ; ) {
2602
2606
  var n = gr(t, r);
2603
- if (n === void 0 || br(n) || Ki(n))
2607
+ if (n === void 0 || br(n) || en(n))
2604
2608
  break;
2605
2609
  i.push(n), r += n >= 65536 ? 2 : 1;
2606
2610
  }
2607
- return ft.apply(void 0, i);
2611
+ return dt.apply(void 0, i);
2608
2612
  };
2609
- var Zi = (
2613
+ var Ji = (
2610
2614
  /** @class */
2611
2615
  function() {
2612
2616
  function e(t, r) {
@@ -2630,14 +2634,14 @@ var Zi = (
2630
2634
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2631
2635
  var a = this.clonePosition();
2632
2636
  this.bump(), n.push({
2633
- type: D.pound,
2634
- location: A(a, this.clonePosition())
2637
+ type: C.pound,
2638
+ location: P(a, this.clonePosition())
2635
2639
  });
2636
2640
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2637
2641
  if (i)
2638
2642
  break;
2639
- return this.error(H.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2640
- } else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2643
+ return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2644
+ } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2641
2645
  var l = this.parseTag(t, r);
2642
2646
  if (l.err)
2643
2647
  return l;
@@ -2658,9 +2662,9 @@ var Zi = (
2658
2662
  if (this.bumpSpace(), this.bumpIf("/>"))
2659
2663
  return {
2660
2664
  val: {
2661
- type: D.literal,
2665
+ type: C.literal,
2662
2666
  value: "<".concat(n, "/>"),
2663
- location: A(i, this.clonePosition())
2667
+ location: P(i, this.clonePosition())
2664
2668
  },
2665
2669
  err: null
2666
2670
  };
@@ -2670,25 +2674,25 @@ var Zi = (
2670
2674
  return s;
2671
2675
  var l = s.val, a = this.clonePosition();
2672
2676
  if (this.bumpIf("</")) {
2673
- if (this.isEOF() || !dt(this.char()))
2674
- return this.error(H.INVALID_TAG, A(a, this.clonePosition()));
2677
+ if (this.isEOF() || !pt(this.char()))
2678
+ return this.error(H.INVALID_TAG, P(a, this.clonePosition()));
2675
2679
  var o = this.clonePosition(), u = this.parseTagName();
2676
- return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, A(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2680
+ return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2677
2681
  val: {
2678
- type: D.tag,
2682
+ type: C.tag,
2679
2683
  value: n,
2680
2684
  children: l,
2681
- location: A(i, this.clonePosition())
2685
+ location: P(i, this.clonePosition())
2682
2686
  },
2683
2687
  err: null
2684
- } : this.error(H.INVALID_TAG, A(a, this.clonePosition())));
2688
+ } : this.error(H.INVALID_TAG, P(a, this.clonePosition())));
2685
2689
  } else
2686
- return this.error(H.UNCLOSED_TAG, A(i, this.clonePosition()));
2690
+ return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2687
2691
  } else
2688
- return this.error(H.INVALID_TAG, A(i, this.clonePosition()));
2692
+ return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2689
2693
  }, e.prototype.parseTagName = function() {
2690
2694
  var t = this.offset();
2691
- for (this.bump(); !this.isEOF() && Qi(this.char()); )
2695
+ for (this.bump(); !this.isEOF() && Ki(this.char()); )
2692
2696
  this.bump();
2693
2697
  return this.message.slice(t, this.offset());
2694
2698
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2710,14 +2714,14 @@ var Zi = (
2710
2714
  }
2711
2715
  break;
2712
2716
  }
2713
- var o = A(i, this.clonePosition());
2717
+ var o = P(i, this.clonePosition());
2714
2718
  return {
2715
- val: { type: D.literal, value: n, location: o },
2719
+ val: { type: C.literal, value: n, location: o },
2716
2720
  err: null
2717
2721
  };
2718
2722
  }, e.prototype.tryParseLeftAngleBracket = function() {
2719
2723
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2720
- !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
+ !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2721
2725
  }, e.prototype.tryParseQuote = function(t) {
2722
2726
  if (this.isEOF() || this.char() !== 39)
2723
2727
  return null;
@@ -2751,49 +2755,49 @@ var Zi = (
2751
2755
  r.push(i);
2752
2756
  this.bump();
2753
2757
  }
2754
- return ft.apply(void 0, r);
2758
+ return dt.apply(void 0, r);
2755
2759
  }, e.prototype.tryParseUnquoted = function(t, r) {
2756
2760
  if (this.isEOF())
2757
2761
  return null;
2758
2762
  var i = this.char();
2759
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
2763
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2760
2764
  }, e.prototype.parseArgument = function(t, r) {
2761
2765
  var i = this.clonePosition();
2762
2766
  if (this.bump(), this.bumpSpace(), this.isEOF())
2763
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2767
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2764
2768
  if (this.char() === 125)
2765
- return this.bump(), this.error(H.EMPTY_ARGUMENT, A(i, this.clonePosition()));
2769
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2766
2770
  var n = this.parseIdentifierIfPossible().value;
2767
2771
  if (!n)
2768
- return this.error(H.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2772
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2769
2773
  if (this.bumpSpace(), this.isEOF())
2770
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2774
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2771
2775
  switch (this.char()) {
2772
2776
  case 125:
2773
2777
  return this.bump(), {
2774
2778
  val: {
2775
- type: D.argument,
2779
+ type: C.argument,
2776
2780
  // value does not include the opening and closing braces.
2777
2781
  value: n,
2778
- location: A(i, this.clonePosition())
2782
+ location: P(i, this.clonePosition())
2779
2783
  },
2780
2784
  err: null
2781
2785
  };
2782
2786
  case 44:
2783
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2787
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2784
2788
  default:
2785
- return this.error(H.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2789
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2786
2790
  }
2787
2791
  }, e.prototype.parseIdentifierIfPossible = function() {
2788
- var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
2792
+ var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2789
2793
  this.bumpTo(n);
2790
- var s = this.clonePosition(), l = A(t, s);
2794
+ var s = this.clonePosition(), l = P(t, s);
2791
2795
  return { value: i, location: l };
2792
2796
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2793
2797
  var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2794
2798
  switch (a) {
2795
2799
  case "":
2796
- return this.error(H.EXPECT_ARGUMENT_TYPE, A(l, o));
2800
+ return this.error(H.EXPECT_ARGUMENT_TYPE, P(l, o));
2797
2801
  case "number":
2798
2802
  case "date":
2799
2803
  case "time": {
@@ -2804,35 +2808,35 @@ var Zi = (
2804
2808
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2805
2809
  if (c.err)
2806
2810
  return c;
2807
- var p = Yi(c.val);
2811
+ var p = Zi(c.val);
2808
2812
  if (p.length === 0)
2809
- return this.error(H.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2810
- var x = A(h, this.clonePosition());
2811
- u = { style: p, styleLocation: x };
2813
+ return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2814
+ var _ = P(h, this.clonePosition());
2815
+ u = { style: p, styleLocation: _ };
2812
2816
  }
2813
2817
  var T = this.tryParseArgumentClose(n);
2814
2818
  if (T.err)
2815
2819
  return T;
2816
- var v = A(n, this.clonePosition());
2820
+ var v = P(n, this.clonePosition());
2817
2821
  if (u && Dt(u?.style, "::", 0)) {
2818
- var C = qi(u.style.slice(2));
2822
+ var M = Yi(u.style.slice(2));
2819
2823
  if (a === "number") {
2820
- var c = this.parseNumberSkeletonFromString(C, u.styleLocation);
2824
+ var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2821
2825
  return c.err ? c : {
2822
- val: { type: D.number, value: i, location: v, style: c.val },
2826
+ val: { type: C.number, value: i, location: v, style: c.val },
2823
2827
  err: null
2824
2828
  };
2825
2829
  } else {
2826
- if (C.length === 0)
2830
+ if (M.length === 0)
2827
2831
  return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2828
- var U = C;
2829
- this.locale && (U = Li(C, this.locale));
2832
+ var U = M;
2833
+ this.locale && (U = Ii(M, this.locale));
2830
2834
  var p = {
2831
- type: we.dateTime,
2835
+ type: Se.dateTime,
2832
2836
  pattern: U,
2833
2837
  location: u.styleLocation,
2834
2838
  parsedOptions: this.shouldParseSkeletons ? Ai(U) : {}
2835
- }, R = a === "date" ? D.date : D.time;
2839
+ }, R = a === "date" ? C.date : C.time;
2836
2840
  return {
2837
2841
  val: { type: R, value: i, location: v, style: p },
2838
2842
  err: null
@@ -2841,7 +2845,7 @@ var Zi = (
2841
2845
  }
2842
2846
  return {
2843
2847
  val: {
2844
- type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2848
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2845
2849
  value: i,
2846
2850
  location: v,
2847
2851
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2852,14 +2856,14 @@ var Zi = (
2852
2856
  case "plural":
2853
2857
  case "selectordinal":
2854
2858
  case "select": {
2855
- var B = this.clonePosition();
2859
+ var $ = this.clonePosition();
2856
2860
  if (this.bumpSpace(), !this.bumpIf(","))
2857
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, A(B, $({}, B)));
2861
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P($, Xe({}, $)));
2858
2862
  this.bumpSpace();
2859
2863
  var j = this.parseIdentifierIfPossible(), N = 0;
2860
2864
  if (a !== "select" && j.value === "offset") {
2861
2865
  if (!this.bumpIf(":"))
2862
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
2866
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2863
2867
  this.bumpSpace();
2864
2868
  var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2865
2869
  if (c.err)
@@ -2872,10 +2876,10 @@ var Zi = (
2872
2876
  var T = this.tryParseArgumentClose(n);
2873
2877
  if (T.err)
2874
2878
  return T;
2875
- var X = A(n, this.clonePosition());
2879
+ var X = P(n, this.clonePosition());
2876
2880
  return a === "select" ? {
2877
2881
  val: {
2878
- type: D.select,
2882
+ type: C.select,
2879
2883
  value: i,
2880
2884
  options: Lt(k.val),
2881
2885
  location: X
@@ -2883,7 +2887,7 @@ var Zi = (
2883
2887
  err: null
2884
2888
  } : {
2885
2889
  val: {
2886
- type: D.plural,
2890
+ type: C.plural,
2887
2891
  value: i,
2888
2892
  options: Lt(k.val),
2889
2893
  offset: N,
@@ -2894,10 +2898,10 @@ var Zi = (
2894
2898
  };
2895
2899
  }
2896
2900
  default:
2897
- return this.error(H.INVALID_ARGUMENT_TYPE, A(l, o));
2901
+ return this.error(H.INVALID_ARGUMENT_TYPE, P(l, o));
2898
2902
  }
2899
2903
  }, e.prototype.tryParseArgumentClose = function(t) {
2900
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2904
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2901
2905
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2902
2906
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2903
2907
  var i = this.char();
@@ -2906,7 +2910,7 @@ var Zi = (
2906
2910
  this.bump();
2907
2911
  var n = this.clonePosition();
2908
2912
  if (!this.bumpUntil("'"))
2909
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(n, this.clonePosition()));
2913
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2910
2914
  this.bump();
2911
2915
  break;
2912
2916
  }
@@ -2936,16 +2940,16 @@ var Zi = (
2936
2940
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2937
2941
  var i = [];
2938
2942
  try {
2939
- i = $i(t);
2943
+ i = Bi(t);
2940
2944
  } catch {
2941
2945
  return this.error(H.INVALID_NUMBER_SKELETON, r);
2942
2946
  }
2943
2947
  return {
2944
2948
  val: {
2945
- type: we.number,
2949
+ type: Se.number,
2946
2950
  tokens: i,
2947
2951
  location: r,
2948
- parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2952
+ parsedOptions: this.shouldParseSkeletons ? Li(i) : {}
2949
2953
  },
2950
2954
  err: null
2951
2955
  };
@@ -2957,31 +2961,31 @@ var Zi = (
2957
2961
  var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2958
2962
  if (p.err)
2959
2963
  return p;
2960
- h = A(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2964
+ h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2961
2965
  } else
2962
2966
  break;
2963
2967
  }
2964
2968
  if (o.has(u))
2965
2969
  return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2966
2970
  u === "other" && (l = !0), this.bumpSpace();
2967
- var x = this.clonePosition();
2971
+ var _ = this.clonePosition();
2968
2972
  if (!this.bumpIf("{"))
2969
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2973
+ return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2970
2974
  var T = this.parseMessage(t + 1, r, i);
2971
2975
  if (T.err)
2972
2976
  return T;
2973
- var v = this.tryParseArgumentClose(x);
2977
+ var v = this.tryParseArgumentClose(_);
2974
2978
  if (v.err)
2975
2979
  return v;
2976
2980
  a.push([
2977
2981
  u,
2978
2982
  {
2979
2983
  value: T.val,
2980
- location: A(x, this.clonePosition())
2984
+ location: P(_, this.clonePosition())
2981
2985
  }
2982
2986
  ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2983
2987
  }
2984
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(H.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2988
+ return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2985
2989
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2986
2990
  var i = 1, n = this.clonePosition();
2987
2991
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2992,8 +2996,8 @@ var Zi = (
2992
2996
  else
2993
2997
  break;
2994
2998
  }
2995
- var o = A(n, this.clonePosition());
2996
- return s ? (l *= i, Xi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2999
+ var o = P(n, this.clonePosition());
3000
+ return s ? (l *= i, Wi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2997
3001
  }, e.prototype.offset = function() {
2998
3002
  return this.position.offset;
2999
3003
  }, e.prototype.isEOF = function() {
@@ -3059,47 +3063,47 @@ var Zi = (
3059
3063
  }, e;
3060
3064
  }()
3061
3065
  );
3062
- function dt(e) {
3066
+ function pt(e) {
3063
3067
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3064
3068
  }
3065
- function Ji(e) {
3066
- return dt(e) || e === 47;
3067
- }
3068
3069
  function Qi(e) {
3070
+ return pt(e) || e === 47;
3071
+ }
3072
+ function Ki(e) {
3069
3073
  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;
3070
3074
  }
3071
3075
  function br(e) {
3072
3076
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3073
3077
  }
3074
- function Ki(e) {
3078
+ function en(e) {
3075
3079
  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;
3076
3080
  }
3077
- function mt(e) {
3081
+ function gt(e) {
3078
3082
  e.forEach(function(t) {
3079
3083
  if (delete t.location, ur(t) || lr(t))
3080
3084
  for (var r in t.options)
3081
- delete t.options[r].location, mt(t.options[r].value);
3085
+ delete t.options[r].location, gt(t.options[r].value);
3082
3086
  else
3083
- sr(t) && fr(t.style) || (or(t) || ar(t)) && lt(t.style) ? delete t.style.location : hr(t) && mt(t.children);
3087
+ sr(t) && fr(t.style) || (or(t) || ar(t)) && ft(t.style) ? delete t.style.location : hr(t) && gt(t.children);
3084
3088
  });
3085
3089
  }
3086
- function en(e, t) {
3087
- t === void 0 && (t = {}), t = $({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3088
- var r = new Zi(e, t).parse();
3090
+ function tn(e, t) {
3091
+ t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
+ var r = new Ji(e, t).parse();
3089
3093
  if (r.err) {
3090
3094
  var i = SyntaxError(H[r.err.kind]);
3091
3095
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3092
3096
  }
3093
- return t?.captureLocation || mt(r.val), r.val;
3097
+ return t?.captureLocation || gt(r.val), r.val;
3094
3098
  }
3095
- var Se;
3099
+ var Te;
3096
3100
  (function(e) {
3097
3101
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3098
- })(Se || (Se = {}));
3099
- var Ye = (
3102
+ })(Te || (Te = {}));
3103
+ var Je = (
3100
3104
  /** @class */
3101
3105
  function(e) {
3102
- qe(t, e);
3106
+ Ze(t, e);
3103
3107
  function t(r, i, n) {
3104
3108
  var s = e.call(this, r) || this;
3105
3109
  return s.code = i, s.originalMessage = n, s;
@@ -3111,44 +3115,44 @@ var Ye = (
3111
3115
  ), Nt = (
3112
3116
  /** @class */
3113
3117
  function(e) {
3114
- qe(t, e);
3118
+ Ze(t, e);
3115
3119
  function t(r, i, n, s) {
3116
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Se.INVALID_VALUE, s) || this;
3120
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3117
3121
  }
3118
3122
  return t;
3119
- }(Ye)
3120
- ), tn = (
3123
+ }(Je)
3124
+ ), rn = (
3121
3125
  /** @class */
3122
3126
  function(e) {
3123
- qe(t, e);
3127
+ Ze(t, e);
3124
3128
  function t(r, i, n) {
3125
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Se.INVALID_VALUE, n) || this;
3129
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
3126
3130
  }
3127
3131
  return t;
3128
- }(Ye)
3129
- ), rn = (
3132
+ }(Je)
3133
+ ), nn = (
3130
3134
  /** @class */
3131
3135
  function(e) {
3132
- qe(t, e);
3136
+ Ze(t, e);
3133
3137
  function t(r, i) {
3134
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Se.MISSING_VALUE, i) || this;
3138
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
3135
3139
  }
3136
3140
  return t;
3137
- }(Ye)
3141
+ }(Je)
3138
3142
  ), G;
3139
3143
  (function(e) {
3140
3144
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3141
3145
  })(G || (G = {}));
3142
- function nn(e) {
3146
+ function sn(e) {
3143
3147
  return e.length < 2 ? e : e.reduce(function(t, r) {
3144
3148
  var i = t[t.length - 1];
3145
3149
  return !i || i.type !== G.literal || r.type !== G.literal ? t.push(r) : i.value += r.value, t;
3146
3150
  }, []);
3147
3151
  }
3148
- function sn(e) {
3152
+ function on(e) {
3149
3153
  return typeof e == "function";
3150
3154
  }
3151
- function Ge(e, t, r, i, n, s, l) {
3155
+ function je(e, t, r, i, n, s, l) {
3152
3156
  if (e.length === 1 && $t(e[0]))
3153
3157
  return [
3154
3158
  {
@@ -3165,7 +3169,7 @@ function Ge(e, t, r, i, n, s, l) {
3165
3169
  });
3166
3170
  continue;
3167
3171
  }
3168
- if (Hi(h)) {
3172
+ if (Oi(h)) {
3169
3173
  typeof s == "number" && a.push({
3170
3174
  type: G.literal,
3171
3175
  value: r.getNumberFormat(t).format(s)
@@ -3174,9 +3178,9 @@ function Ge(e, t, r, i, n, s, l) {
3174
3178
  }
3175
3179
  var c = h.value;
3176
3180
  if (!(n && c in n))
3177
- throw new rn(c, l);
3181
+ throw new nn(c, l);
3178
3182
  var p = n[c];
3179
- if (Ti(h)) {
3183
+ if (Hi(h)) {
3180
3184
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3181
3185
  type: typeof p == "string" ? G.literal : G.object,
3182
3186
  value: p
@@ -3184,34 +3188,34 @@ function Ge(e, t, r, i, n, s, l) {
3184
3188
  continue;
3185
3189
  }
3186
3190
  if (or(h)) {
3187
- var x = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3191
+ var _ = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3188
3192
  a.push({
3189
3193
  type: G.literal,
3190
- value: r.getDateTimeFormat(t, x).format(p)
3194
+ value: r.getDateTimeFormat(t, _).format(p)
3191
3195
  });
3192
3196
  continue;
3193
3197
  }
3194
3198
  if (ar(h)) {
3195
- var x = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
3199
+ var _ = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3196
3200
  a.push({
3197
3201
  type: G.literal,
3198
- value: r.getDateTimeFormat(t, x).format(p)
3202
+ value: r.getDateTimeFormat(t, _).format(p)
3199
3203
  });
3200
3204
  continue;
3201
3205
  }
3202
3206
  if (sr(h)) {
3203
- var x = typeof h.style == "string" ? i.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3204
- x && x.scale && (p = p * (x.scale || 1)), a.push({
3207
+ var _ = typeof h.style == "string" ? i.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3208
+ _ && _.scale && (p = p * (_.scale || 1)), a.push({
3205
3209
  type: G.literal,
3206
- value: r.getNumberFormat(t, x).format(p)
3210
+ value: r.getNumberFormat(t, _).format(p)
3207
3211
  });
3208
3212
  continue;
3209
3213
  }
3210
3214
  if (hr(h)) {
3211
- var T = h.children, v = h.value, C = n[v];
3212
- if (!sn(C))
3213
- throw new tn(v, "function", l);
3214
- var U = Ge(T, t, r, i, n, s), R = C(U.map(function(N) {
3215
+ var T = h.children, v = h.value, M = n[v];
3216
+ if (!on(M))
3217
+ throw new rn(v, "function", l);
3218
+ var U = je(T, t, r, i, n, s), R = M(U.map(function(N) {
3215
3219
  return N.value;
3216
3220
  }));
3217
3221
  Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(N) {
@@ -3222,41 +3226,41 @@ function Ge(e, t, r, i, n, s, l) {
3222
3226
  }));
3223
3227
  }
3224
3228
  if (ur(h)) {
3225
- var B = h.options[p] || h.options.other;
3226
- if (!B)
3229
+ var $ = h.options[p] || h.options.other;
3230
+ if (!$)
3227
3231
  throw new Nt(h.value, p, Object.keys(h.options), l);
3228
- a.push.apply(a, Ge(B.value, t, r, i, n));
3232
+ a.push.apply(a, je($.value, t, r, i, n));
3229
3233
  continue;
3230
3234
  }
3231
3235
  if (lr(h)) {
3232
- var B = h.options["=".concat(p)];
3233
- if (!B) {
3236
+ var $ = h.options["=".concat(p)];
3237
+ if (!$) {
3234
3238
  if (!Intl.PluralRules)
3235
- throw new Ye(`Intl.PluralRules is not available in this environment.
3239
+ throw new Je(`Intl.PluralRules is not available in this environment.
3236
3240
  Try polyfilling it using "@formatjs/intl-pluralrules"
3237
- `, Se.MISSING_INTL_API, l);
3241
+ `, Te.MISSING_INTL_API, l);
3238
3242
  var j = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3239
- B = h.options[j] || h.options.other;
3243
+ $ = h.options[j] || h.options.other;
3240
3244
  }
3241
- if (!B)
3245
+ if (!$)
3242
3246
  throw new Nt(h.value, p, Object.keys(h.options), l);
3243
- a.push.apply(a, Ge(B.value, t, r, i, n, p - (h.offset || 0)));
3247
+ a.push.apply(a, je($.value, t, r, i, n, p - (h.offset || 0)));
3244
3248
  continue;
3245
3249
  }
3246
3250
  }
3247
- return nn(a);
3251
+ return sn(a);
3248
3252
  }
3249
- function on(e, t) {
3250
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3251
- return r[i] = $($({}, e[i]), t[i] || {}), r;
3253
+ function an(e, t) {
3254
+ return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
+ return r[i] = ie(ie({}, e[i]), t[i] || {}), r;
3252
3256
  }, {})) : e;
3253
3257
  }
3254
- function an(e, t) {
3258
+ function un(e, t) {
3255
3259
  return t ? Object.keys(e).reduce(function(r, i) {
3256
- return r[i] = on(e[i], t[i]), r;
3257
- }, $({}, e)) : e;
3260
+ return r[i] = an(e[i], t[i]), r;
3261
+ }, ie({}, e)) : e;
3258
3262
  }
3259
- function it(e) {
3263
+ function st(e) {
3260
3264
  return {
3261
3265
  create: function() {
3262
3266
  return {
@@ -3270,35 +3274,35 @@ function it(e) {
3270
3274
  }
3271
3275
  };
3272
3276
  }
3273
- function un(e) {
3277
+ function ln(e) {
3274
3278
  return e === void 0 && (e = {
3275
3279
  number: {},
3276
3280
  dateTime: {},
3277
3281
  pluralRules: {}
3278
3282
  }), {
3279
- getNumberFormat: et(function() {
3283
+ getNumberFormat: rt(function() {
3280
3284
  for (var t, r = [], i = 0; i < arguments.length; i++)
3281
3285
  r[i] = arguments[i];
3282
- return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
3286
+ return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3283
3287
  }, {
3284
- cache: it(e.number),
3285
- strategy: tt.variadic
3288
+ cache: st(e.number),
3289
+ strategy: it.variadic
3286
3290
  }),
3287
- getDateTimeFormat: et(function() {
3291
+ getDateTimeFormat: rt(function() {
3288
3292
  for (var t, r = [], i = 0; i < arguments.length; i++)
3289
3293
  r[i] = arguments[i];
3290
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
3294
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3291
3295
  }, {
3292
- cache: it(e.dateTime),
3293
- strategy: tt.variadic
3296
+ cache: st(e.dateTime),
3297
+ strategy: it.variadic
3294
3298
  }),
3295
- getPluralRules: et(function() {
3299
+ getPluralRules: rt(function() {
3296
3300
  for (var t, r = [], i = 0; i < arguments.length; i++)
3297
3301
  r[i] = arguments[i];
3298
- return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
3302
+ return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3299
3303
  }, {
3300
- cache: it(e.pluralRules),
3301
- strategy: tt.variadic
3304
+ cache: st(e.pluralRules),
3305
+ strategy: it.variadic
3302
3306
  })
3303
3307
  };
3304
3308
  }
@@ -3321,7 +3325,7 @@ var yr = (
3321
3325
  }, []);
3322
3326
  return h.length <= 1 ? h[0] || "" : h;
3323
3327
  }, this.formatToParts = function(o) {
3324
- return Ge(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3328
+ return je(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3325
3329
  }, this.resolvedOptions = function() {
3326
3330
  var o;
3327
3331
  return {
@@ -3335,12 +3339,12 @@ var yr = (
3335
3339
  var l = n || {};
3336
3340
  l.formatters;
3337
3341
  var a = bi(l, ["formatters"]);
3338
- this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3342
+ this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3339
3343
  } else
3340
3344
  this.ast = t;
3341
3345
  if (!Array.isArray(this.ast))
3342
3346
  throw new TypeError("A message must be provided as a String or AST.");
3343
- this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
3347
+ this.formats = un(e.formats, i), this.formatters = n && n.formatters || ln(this.formatterCache);
3344
3348
  }
3345
3349
  return Object.defineProperty(e, "defaultLocale", {
3346
3350
  get: function() {
@@ -3353,7 +3357,7 @@ var yr = (
3353
3357
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3354
3358
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3355
3359
  }
3356
- }, e.__parse = en, e.formats = {
3360
+ }, e.__parse = tn, e.formats = {
3357
3361
  number: {
3358
3362
  integer: {
3359
3363
  maximumFractionDigits: 0
@@ -3414,7 +3418,7 @@ var yr = (
3414
3418
  }, e;
3415
3419
  }()
3416
3420
  );
3417
- function ln(e, t) {
3421
+ function hn(e, t) {
3418
3422
  if (t == null)
3419
3423
  return;
3420
3424
  if (t in e)
@@ -3435,98 +3439,98 @@ function ln(e, t) {
3435
3439
  i = void 0;
3436
3440
  return i;
3437
3441
  }
3438
- const le = {}, hn = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), xr = (e, t) => {
3442
+ const he = {}, fn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), _r = (e, t) => {
3439
3443
  if (t == null)
3440
3444
  return;
3441
- if (t in le && e in le[t])
3442
- return le[t][e];
3443
- const r = Ne(t);
3445
+ if (t in he && e in he[t])
3446
+ return he[t][e];
3447
+ const r = Re(t);
3444
3448
  for (let i = 0; i < r.length; i++) {
3445
- const n = r[i], s = cn(n, e);
3449
+ const n = r[i], s = dn(n, e);
3446
3450
  if (s)
3447
- return hn(e, t, s);
3451
+ return fn(e, t, s);
3448
3452
  }
3449
3453
  };
3450
3454
  let Et;
3451
- const Ie = Le({});
3452
- function fn(e) {
3455
+ const Ne = Ie({});
3456
+ function cn(e) {
3453
3457
  return Et[e] || null;
3454
3458
  }
3455
- function _r(e) {
3459
+ function xr(e) {
3456
3460
  return e in Et;
3457
3461
  }
3458
- function cn(e, t) {
3459
- if (!_r(e))
3462
+ function dn(e, t) {
3463
+ if (!xr(e))
3460
3464
  return null;
3461
- const r = fn(e);
3462
- return ln(r, t);
3465
+ const r = cn(e);
3466
+ return hn(r, t);
3463
3467
  }
3464
- function dn(e) {
3468
+ function mn(e) {
3465
3469
  if (e == null)
3466
3470
  return;
3467
- const t = Ne(e);
3471
+ const t = Re(e);
3468
3472
  for (let r = 0; r < t.length; r++) {
3469
3473
  const i = t[r];
3470
- if (_r(i))
3474
+ if (xr(i))
3471
3475
  return i;
3472
3476
  }
3473
3477
  }
3474
3478
  function Er(e, ...t) {
3475
- delete le[e], Ie.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3479
+ delete he[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3476
3480
  }
3477
- He(
3478
- [Ie],
3481
+ Oe(
3482
+ [Ne],
3479
3483
  ([e]) => Object.keys(e)
3480
3484
  );
3481
- Ie.subscribe((e) => Et = e);
3482
- const je = {};
3483
- function mn(e, t) {
3484
- je[e].delete(t), je[e].size === 0 && delete je[e];
3485
+ Ne.subscribe((e) => Et = e);
3486
+ const ze = {};
3487
+ function pn(e, t) {
3488
+ ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3485
3489
  }
3486
3490
  function wr(e) {
3487
- return je[e];
3491
+ return ze[e];
3488
3492
  }
3489
- function pn(e) {
3490
- return Ne(e).map((t) => {
3493
+ function gn(e) {
3494
+ return Re(e).map((t) => {
3491
3495
  const r = wr(t);
3492
3496
  return [t, r ? [...r] : []];
3493
3497
  }).filter(([, t]) => t.length > 0);
3494
3498
  }
3495
- function ze(e) {
3496
- return e == null ? !1 : Ne(e).some(
3499
+ function We(e) {
3500
+ return e == null ? !1 : Re(e).some(
3497
3501
  (t) => {
3498
3502
  var r;
3499
3503
  return (r = wr(t)) == null ? void 0 : r.size;
3500
3504
  }
3501
3505
  );
3502
3506
  }
3503
- function gn(e, t) {
3507
+ function vn(e, t) {
3504
3508
  return Promise.all(
3505
- t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
3509
+ t.map((i) => (pn(e, i), i().then((n) => n.default || n)))
3506
3510
  ).then((i) => Er(e, ...i));
3507
3511
  }
3508
3512
  const Ae = {};
3509
3513
  function Sr(e) {
3510
- if (!ze(e))
3514
+ if (!We(e))
3511
3515
  return e in Ae ? Ae[e] : Promise.resolve();
3512
- const t = pn(e);
3516
+ const t = gn(e);
3513
3517
  return Ae[e] = Promise.all(
3514
3518
  t.map(
3515
- ([r, i]) => gn(r, i)
3519
+ ([r, i]) => vn(r, i)
3516
3520
  )
3517
3521
  ).then(() => {
3518
- if (ze(e))
3522
+ if (We(e))
3519
3523
  return Sr(e);
3520
3524
  delete Ae[e];
3521
3525
  }), Ae[e];
3522
3526
  }
3523
- var Rt = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3527
+ var Rt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, _n = (e, t) => {
3524
3528
  var r = {};
3525
3529
  for (var i in e)
3526
- vn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3530
+ bn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3527
3531
  if (e != null && Rt)
3528
3532
  for (var i of Rt(e))
3529
- t.indexOf(i) < 0 && bn.call(e, i) && (r[i] = e[i]);
3533
+ t.indexOf(i) < 0 && yn.call(e, i) && (r[i] = e[i]);
3530
3534
  return r;
3531
3535
  };
3532
3536
  const xn = {
@@ -3559,28 +3563,28 @@ const xn = {
3559
3563
  }
3560
3564
  }
3561
3565
  };
3562
- function _n({ locale: e, id: t }) {
3566
+ function En({ locale: e, id: t }) {
3563
3567
  console.warn(
3564
- `[svelte-i18n] The message "${t}" was not found in "${Ne(
3568
+ `[svelte-i18n] The message "${t}" was not found in "${Re(
3565
3569
  e
3566
- ).join('", "')}".${ze(he()) ? `
3570
+ ).join('", "')}".${We(fe()) ? `
3567
3571
 
3568
3572
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3569
3573
  );
3570
3574
  }
3571
- const En = {
3575
+ const wn = {
3572
3576
  fallbackLocale: null,
3573
3577
  loadingDelay: 200,
3574
3578
  formats: xn,
3575
3579
  warnOnMissingMessages: !0,
3576
3580
  handleMissingMessage: void 0,
3577
3581
  ignoreTag: !0
3578
- }, Oe = En;
3579
- function Te() {
3580
- return Oe;
3582
+ }, $e = wn;
3583
+ function He() {
3584
+ return $e;
3581
3585
  }
3582
- function wn(e) {
3583
- const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3586
+ function Sn(e) {
3587
+ const t = e, { formats: r } = t, i = _n(t, ["formats"]);
3584
3588
  let n = e.fallbackLocale;
3585
3589
  if (e.initialLocale)
3586
3590
  try {
@@ -3590,143 +3594,143 @@ function wn(e) {
3590
3594
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3591
3595
  );
3592
3596
  }
3593
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = _n : console.warn(
3597
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = En : console.warn(
3594
3598
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3595
- )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), de.set(n);
3599
+ )), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), me.set(n);
3596
3600
  }
3597
- const nt = Le(!1);
3598
- var Sn = Object.defineProperty, Tn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3601
+ const ot = Ie(!1);
3602
+ var Tn = Object.defineProperty, Hn = Object.defineProperties, On = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $n = (e, t) => {
3599
3603
  for (var r in t || (t = {}))
3600
3604
  Pn.call(t, r) && Ut(e, r, t[r]);
3601
3605
  if (kt)
3602
3606
  for (var r of kt(t))
3603
3607
  An.call(t, r) && Ut(e, r, t[r]);
3604
3608
  return e;
3605
- }, $n = (e, t) => Tn(e, Hn(t));
3606
- let pt;
3607
- const Xe = Le(null);
3609
+ }, Bn = (e, t) => Hn(e, On(t));
3610
+ let vt;
3611
+ const qe = Ie(null);
3608
3612
  function Ft(e) {
3609
3613
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3610
3614
  }
3611
- function Ne(e, t = Te().fallbackLocale) {
3615
+ function Re(e, t = He().fallbackLocale) {
3612
3616
  const r = Ft(e);
3613
3617
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
3614
3618
  }
3615
- function he() {
3616
- return pt ?? void 0;
3619
+ function fe() {
3620
+ return vt ?? void 0;
3617
3621
  }
3618
- Xe.subscribe((e) => {
3619
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3622
+ qe.subscribe((e) => {
3623
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3620
3624
  });
3621
- const Bn = (e) => {
3622
- if (e && dn(e) && ze(e)) {
3623
- const { loadingDelay: t } = Te();
3625
+ const Mn = (e) => {
3626
+ if (e && mn(e) && We(e)) {
3627
+ const { loadingDelay: t } = He();
3624
3628
  let r;
3625
- return typeof window < "u" && he() != null && t ? r = window.setTimeout(
3626
- () => nt.set(!0),
3629
+ return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
3630
+ () => ot.set(!0),
3627
3631
  t
3628
- ) : nt.set(!0), Sr(e).then(() => {
3629
- Xe.set(e);
3632
+ ) : ot.set(!0), Sr(e).then(() => {
3633
+ qe.set(e);
3630
3634
  }).finally(() => {
3631
- clearTimeout(r), nt.set(!1);
3635
+ clearTimeout(r), ot.set(!1);
3632
3636
  });
3633
3637
  }
3634
- return Xe.set(e);
3635
- }, de = $n(On({}, Xe), {
3636
- set: Bn
3637
- }), Ze = (e) => {
3638
+ return qe.set(e);
3639
+ }, me = Bn($n({}, qe), {
3640
+ set: Mn
3641
+ }), Qe = (e) => {
3638
3642
  const t = /* @__PURE__ */ Object.create(null);
3639
3643
  return (i) => {
3640
3644
  const n = JSON.stringify(i);
3641
3645
  return n in t ? t[n] : t[n] = e(i);
3642
3646
  };
3643
3647
  };
3644
- var Mn = Object.defineProperty, We = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3648
+ var Cn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3645
3649
  for (var r in t || (t = {}))
3646
3650
  Tr.call(t, r) && Vt(e, r, t[r]);
3647
- if (We)
3648
- for (var r of We(t))
3651
+ if (Ye)
3652
+ for (var r of Ye(t))
3649
3653
  Hr.call(t, r) && Vt(e, r, t[r]);
3650
3654
  return e;
3651
3655
  }, Pe = (e, t) => {
3652
3656
  var r = {};
3653
3657
  for (var i in e)
3654
3658
  Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3655
- if (e != null && We)
3656
- for (var i of We(e))
3659
+ if (e != null && Ye)
3660
+ for (var i of Ye(e))
3657
3661
  t.indexOf(i) < 0 && Hr.call(e, i) && (r[i] = e[i]);
3658
3662
  return r;
3659
3663
  };
3660
- const Ce = (e, t) => {
3661
- const { formats: r } = Te();
3664
+ const De = (e, t) => {
3665
+ const { formats: r } = He();
3662
3666
  if (e in r && t in r[e])
3663
3667
  return r[e][t];
3664
3668
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3665
- }, Cn = Ze(
3669
+ }, Dn = Qe(
3666
3670
  (e) => {
3667
3671
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3668
3672
  if (r == null)
3669
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3670
- return i && (n = Ce("number", i)), new Intl.NumberFormat(r, n);
3674
+ return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3671
3675
  }
3672
- ), Dn = Ze(
3676
+ ), Ln = Qe(
3673
3677
  (e) => {
3674
3678
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3675
3679
  if (r == null)
3676
3680
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3677
- return i ? n = Ce("date", i) : Object.keys(n).length === 0 && (n = Ce("date", "short")), new Intl.DateTimeFormat(r, n);
3681
+ return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3678
3682
  }
3679
- ), Ln = Ze(
3683
+ ), In = Qe(
3680
3684
  (e) => {
3681
3685
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3682
3686
  if (r == null)
3683
3687
  throw new Error(
3684
3688
  '[svelte-i18n] A "locale" must be set to format time values'
3685
3689
  );
3686
- return i ? n = Ce("time", i) : Object.keys(n).length === 0 && (n = Ce("time", "short")), new Intl.DateTimeFormat(r, n);
3690
+ return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3687
3691
  }
3688
- ), In = (e = {}) => {
3692
+ ), Nn = (e = {}) => {
3689
3693
  var t = e, {
3690
- locale: r = he()
3694
+ locale: r = fe()
3691
3695
  } = t, i = Pe(t, [
3692
3696
  "locale"
3693
3697
  ]);
3694
- return Cn(wt({ locale: r }, i));
3695
- }, Nn = (e = {}) => {
3698
+ return Dn(wt({ locale: r }, i));
3699
+ }, Rn = (e = {}) => {
3696
3700
  var t = e, {
3697
- locale: r = he()
3701
+ locale: r = fe()
3698
3702
  } = t, i = Pe(t, [
3699
3703
  "locale"
3700
3704
  ]);
3701
- return Dn(wt({ locale: r }, i));
3702
- }, Rn = (e = {}) => {
3705
+ return Ln(wt({ locale: r }, i));
3706
+ }, kn = (e = {}) => {
3703
3707
  var t = e, {
3704
- locale: r = he()
3708
+ locale: r = fe()
3705
3709
  } = t, i = Pe(t, [
3706
3710
  "locale"
3707
3711
  ]);
3708
- return Ln(wt({ locale: r }, i));
3709
- }, kn = Ze(
3712
+ return In(wt({ locale: r }, i));
3713
+ }, Un = Qe(
3710
3714
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3711
- (e, t = he()) => new yr(e, t, Te().formats, {
3712
- ignoreTag: Te().ignoreTag
3715
+ (e, t = fe()) => new yr(e, t, He().formats, {
3716
+ ignoreTag: He().ignoreTag
3713
3717
  })
3714
- ), Un = (e, t = {}) => {
3718
+ ), Fn = (e, t = {}) => {
3715
3719
  var r, i, n, s;
3716
3720
  let l = t;
3717
3721
  typeof e == "object" && (l = e, e = l.id);
3718
3722
  const {
3719
3723
  values: a,
3720
- locale: o = he(),
3724
+ locale: o = fe(),
3721
3725
  default: u
3722
3726
  } = l;
3723
3727
  if (o == null)
3724
3728
  throw new Error(
3725
3729
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3726
3730
  );
3727
- let h = xr(e, o);
3731
+ let h = _r(e, o);
3728
3732
  if (!h)
3729
- h = (s = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3733
+ h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3730
3734
  else if (typeof h != "string")
3731
3735
  return console.warn(
3732
3736
  `[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.`
@@ -3735,7 +3739,7 @@ const Ce = (e, t) => {
3735
3739
  return h;
3736
3740
  let c = h;
3737
3741
  try {
3738
- c = kn(h, o).format(a);
3742
+ c = Un(h, o).format(a);
3739
3743
  } catch (p) {
3740
3744
  p instanceof Error && console.warn(
3741
3745
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3743,18 +3747,18 @@ const Ce = (e, t) => {
3743
3747
  );
3744
3748
  }
3745
3749
  return c;
3746
- }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => In(t).format(e), jn = (e, t = he()) => xr(e, t), zn = He([de, Ie], () => Un);
3747
- He([de], () => Fn);
3748
- He([de], () => Vn);
3749
- He([de], () => Gn);
3750
- He([de, Ie], () => jn);
3750
+ }, Vn = (e, t) => kn(t).format(e), Gn = (e, t) => Rn(t).format(e), jn = (e, t) => Nn(t).format(e), zn = (e, t = fe()) => _r(e, t), Xn = Oe([me, Ne], () => Fn);
3751
+ Oe([me], () => Vn);
3752
+ Oe([me], () => Gn);
3753
+ Oe([me], () => jn);
3754
+ Oe([me, Ne], () => zn);
3751
3755
  function Gt(e, t) {
3752
3756
  Er(e, t);
3753
3757
  }
3754
- function Xn(e) {
3755
- wn({
3758
+ function Wn(e) {
3759
+ Sn({
3756
3760
  fallbackLocale: "en"
3757
- }), de.set(e);
3761
+ }), me.set(e);
3758
3762
  }
3759
3763
  const jt = {
3760
3764
  en: {
@@ -3824,41 +3828,41 @@ if (typeof window < "u") {
3824
3828
  }
3825
3829
  };
3826
3830
  };
3827
- customElements.define = e(customElements.define), import("./CashierVideoModal-BdiwRhUs.js").then(({ default: t }) => {
3831
+ customElements.define = e(customElements.define), import("./CashierVideoModal-CfvC_JtE.js").then(({ default: t }) => {
3828
3832
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3829
3833
  });
3830
3834
  }
3831
- let Wn = Le(null);
3832
- var Pr = { exports: {} };
3835
+ let qn = Ie(null);
3836
+ var Or = { exports: {} };
3833
3837
  (function(e, t) {
3834
3838
  (function(r, i) {
3835
3839
  e.exports = i();
3836
3840
  })(tr, function() {
3837
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", p = "quarter", x = "year", T = "date", v = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3838
- var g = ["th", "st", "nd", "rd"], d = _ % 100;
3839
- return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3840
- } }, B = function(_, g, d) {
3841
- var b = String(_);
3842
- return !b || b.length >= g ? _ : "" + Array(g + 1 - b.length).join(d) + _;
3843
- }, j = { s: B, z: function(_) {
3844
- var g = -_.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3845
- return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3846
- }, m: function _(g, d) {
3841
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", p = "quarter", _ = "year", T = "date", v = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3842
+ var g = ["th", "st", "nd", "rd"], d = x % 100;
3843
+ return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3844
+ } }, $ = function(x, g, d) {
3845
+ var b = String(x);
3846
+ return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3847
+ }, j = { s: $, z: function(x) {
3848
+ var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3849
+ return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(m, 2, "0");
3850
+ }, m: function x(g, d) {
3847
3851
  if (g.date() < d.date())
3848
- return -_(d, g);
3852
+ return -x(d, g);
3849
3853
  var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(b, c), E = d - m < 0, w = g.clone().add(b + (E ? -1 : 1), c);
3850
3854
  return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3851
- }, a: function(_) {
3852
- return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3853
- }, p: function(_) {
3854
- return { M: c, y: x, w: h, d: u, D: T, h: o, m: a, s: l, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3855
- }, u: function(_) {
3856
- return _ === void 0;
3855
+ }, a: function(x) {
3856
+ return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3857
+ }, p: function(x) {
3858
+ return { M: c, y: _, w: h, d: u, D: T, h: o, m: a, s: l, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3859
+ }, u: function(x) {
3860
+ return x === void 0;
3857
3861
  } }, N = "en", k = {};
3858
3862
  k[N] = R;
3859
- var X = "$isDayjsObject", Y = function(_) {
3860
- return _ instanceof me || !(!_ || !_[X]);
3861
- }, W = function _(g, d, b) {
3863
+ var X = "$isDayjsObject", Y = function(x) {
3864
+ return x instanceof pe || !(!x || !x[X]);
3865
+ }, W = function x(g, d, b) {
3862
3866
  var m;
3863
3867
  if (!g)
3864
3868
  return N;
@@ -3867,40 +3871,40 @@ var Pr = { exports: {} };
3867
3871
  k[E] && (m = E), d && (k[E] = d, m = E);
3868
3872
  var w = g.split("-");
3869
3873
  if (!m && w.length > 1)
3870
- return _(w[0]);
3874
+ return x(w[0]);
3871
3875
  } else {
3872
- var M = g.name;
3873
- k[M] = g, m = M;
3876
+ var B = g.name;
3877
+ k[B] = g, m = B;
3874
3878
  }
3875
3879
  return !b && m && (N = m), m || !b && N;
3876
- }, O = function(_, g) {
3877
- if (Y(_))
3878
- return _.clone();
3880
+ }, A = function(x, g) {
3881
+ if (Y(x))
3882
+ return x.clone();
3879
3883
  var d = typeof g == "object" ? g : {};
3880
- return d.date = _, d.args = arguments, new me(d);
3881
- }, P = j;
3882
- P.l = W, P.i = Y, P.w = function(_, g) {
3883
- return O(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3884
+ return d.date = x, d.args = arguments, new pe(d);
3885
+ }, O = j;
3886
+ O.l = W, O.i = Y, O.w = function(x, g) {
3887
+ return A(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3884
3888
  };
3885
- var me = function() {
3886
- function _(d) {
3889
+ var pe = function() {
3890
+ function x(d) {
3887
3891
  this.$L = W(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[X] = !0;
3888
3892
  }
3889
- var g = _.prototype;
3893
+ var g = x.prototype;
3890
3894
  return g.parse = function(d) {
3891
3895
  this.$d = function(b) {
3892
3896
  var m = b.date, E = b.utc;
3893
3897
  if (m === null)
3894
3898
  return /* @__PURE__ */ new Date(NaN);
3895
- if (P.u(m))
3899
+ if (O.u(m))
3896
3900
  return /* @__PURE__ */ new Date();
3897
3901
  if (m instanceof Date)
3898
3902
  return new Date(m);
3899
3903
  if (typeof m == "string" && !/Z$/i.test(m)) {
3900
- var w = m.match(C);
3904
+ var w = m.match(M);
3901
3905
  if (w) {
3902
- var M = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3903
- return E ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3906
+ var B = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3907
+ return E ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3904
3908
  }
3905
3909
  }
3906
3910
  return new Date(m);
@@ -3909,105 +3913,105 @@ var Pr = { exports: {} };
3909
3913
  var d = this.$d;
3910
3914
  this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
3911
3915
  }, g.$utils = function() {
3912
- return P;
3916
+ return O;
3913
3917
  }, g.isValid = function() {
3914
3918
  return this.$d.toString() !== v;
3915
3919
  }, g.isSame = function(d, b) {
3916
- var m = O(d);
3920
+ var m = A(d);
3917
3921
  return this.startOf(b) <= m && m <= this.endOf(b);
3918
3922
  }, g.isAfter = function(d, b) {
3919
- return O(d) < this.startOf(b);
3923
+ return A(d) < this.startOf(b);
3920
3924
  }, g.isBefore = function(d, b) {
3921
- return this.endOf(b) < O(d);
3925
+ return this.endOf(b) < A(d);
3922
3926
  }, g.$g = function(d, b, m) {
3923
- return P.u(d) ? this[b] : this.set(m, d);
3927
+ return O.u(d) ? this[b] : this.set(m, d);
3924
3928
  }, g.unix = function() {
3925
3929
  return Math.floor(this.valueOf() / 1e3);
3926
3930
  }, g.valueOf = function() {
3927
3931
  return this.$d.getTime();
3928
3932
  }, g.startOf = function(d, b) {
3929
- var m = this, E = !!P.u(b) || b, w = P.p(d), M = function(ne, V) {
3930
- var te = P.w(m.$u ? Date.UTC(m.$y, V, ne) : new Date(m.$y, V, ne), m);
3933
+ var m = this, E = !!O.u(b) || b, w = O.p(d), B = function(se, V) {
3934
+ var te = O.w(m.$u ? Date.UTC(m.$y, V, se) : new Date(m.$y, V, se), m);
3931
3935
  return E ? te : te.endOf(u);
3932
- }, L = function(ne, V) {
3933
- return P.w(m.toDate()[ne].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
3934
- }, I = this.$W, F = this.$M, z = this.$D, ae = "set" + (this.$u ? "UTC" : "");
3936
+ }, D = function(se, V) {
3937
+ return O.w(m.toDate()[se].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
3938
+ }, I = this.$W, F = this.$M, z = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3935
3939
  switch (w) {
3936
- case x:
3937
- return E ? M(1, 0) : M(31, 11);
3940
+ case _:
3941
+ return E ? B(1, 0) : B(31, 11);
3938
3942
  case c:
3939
- return E ? M(1, F) : M(0, F + 1);
3943
+ return E ? B(1, F) : B(0, F + 1);
3940
3944
  case h:
3941
- var ee = this.$locale().weekStart || 0, fe = (I < ee ? I + 7 : I) - ee;
3942
- return M(E ? z - fe : z + (6 - fe), F);
3945
+ var ee = this.$locale().weekStart || 0, ce = (I < ee ? I + 7 : I) - ee;
3946
+ return B(E ? z - ce : z + (6 - ce), F);
3943
3947
  case u:
3944
3948
  case T:
3945
- return L(ae + "Hours", 0);
3949
+ return D(ue + "Hours", 0);
3946
3950
  case o:
3947
- return L(ae + "Minutes", 1);
3951
+ return D(ue + "Minutes", 1);
3948
3952
  case a:
3949
- return L(ae + "Seconds", 2);
3953
+ return D(ue + "Seconds", 2);
3950
3954
  case l:
3951
- return L(ae + "Milliseconds", 3);
3955
+ return D(ue + "Milliseconds", 3);
3952
3956
  default:
3953
3957
  return this.clone();
3954
3958
  }
3955
3959
  }, g.endOf = function(d) {
3956
3960
  return this.startOf(d, !1);
3957
3961
  }, g.$set = function(d, b) {
3958
- var m, E = P.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[u] = w + "Date", m[T] = w + "Date", m[c] = w + "Month", m[x] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[l] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === u ? this.$D + (b - this.$W) : b;
3959
- if (E === c || E === x) {
3962
+ var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[u] = w + "Date", m[T] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[l] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], D = E === u ? this.$D + (b - this.$W) : b;
3963
+ if (E === c || E === _) {
3960
3964
  var I = this.clone().set(T, 1);
3961
- I.$d[M](L), I.init(), this.$d = I.set(T, Math.min(this.$D, I.daysInMonth())).$d;
3965
+ I.$d[B](D), I.init(), this.$d = I.set(T, Math.min(this.$D, I.daysInMonth())).$d;
3962
3966
  } else
3963
- M && this.$d[M](L);
3967
+ B && this.$d[B](D);
3964
3968
  return this.init(), this;
3965
3969
  }, g.set = function(d, b) {
3966
3970
  return this.clone().$set(d, b);
3967
3971
  }, g.get = function(d) {
3968
- return this[P.p(d)]();
3972
+ return this[O.p(d)]();
3969
3973
  }, g.add = function(d, b) {
3970
3974
  var m, E = this;
3971
3975
  d = Number(d);
3972
- var w = P.p(b), M = function(F) {
3973
- var z = O(E);
3974
- return P.w(z.date(z.date() + Math.round(F * d)), E);
3976
+ var w = O.p(b), B = function(F) {
3977
+ var z = A(E);
3978
+ return O.w(z.date(z.date() + Math.round(F * d)), E);
3975
3979
  };
3976
3980
  if (w === c)
3977
3981
  return this.set(c, this.$M + d);
3978
- if (w === x)
3979
- return this.set(x, this.$y + d);
3982
+ if (w === _)
3983
+ return this.set(_, this.$y + d);
3980
3984
  if (w === u)
3981
- return M(1);
3985
+ return B(1);
3982
3986
  if (w === h)
3983
- return M(7);
3984
- var L = (m = {}, m[a] = i, m[o] = n, m[l] = r, m)[w] || 1, I = this.$d.getTime() + d * L;
3985
- return P.w(I, this);
3987
+ return B(7);
3988
+ var D = (m = {}, m[a] = i, m[o] = n, m[l] = r, m)[w] || 1, I = this.$d.getTime() + d * D;
3989
+ return O.w(I, this);
3986
3990
  }, g.subtract = function(d, b) {
3987
3991
  return this.add(-1 * d, b);
3988
3992
  }, g.format = function(d) {
3989
3993
  var b = this, m = this.$locale();
3990
3994
  if (!this.isValid())
3991
3995
  return m.invalidDate || v;
3992
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), M = this.$H, L = this.$m, I = this.$M, F = m.weekdays, z = m.months, ae = m.meridiem, ee = function(V, te, se, pe) {
3993
- return V && (V[te] || V(b, E)) || se[te].slice(0, pe);
3994
- }, fe = function(V) {
3995
- return P.s(M % 12 || 12, V, "0");
3996
- }, ne = ae || function(V, te, se) {
3997
- var pe = V < 12 ? "AM" : "PM";
3998
- return se ? pe.toLowerCase() : pe;
3996
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), B = this.$H, D = this.$m, I = this.$M, F = m.weekdays, z = m.months, ue = m.meridiem, ee = function(V, te, oe, ge) {
3997
+ return V && (V[te] || V(b, E)) || oe[te].slice(0, ge);
3998
+ }, ce = function(V) {
3999
+ return O.s(B % 12 || 12, V, "0");
4000
+ }, se = ue || function(V, te, oe) {
4001
+ var ge = V < 12 ? "AM" : "PM";
4002
+ return oe ? ge.toLowerCase() : ge;
3999
4003
  };
4000
4004
  return E.replace(U, function(V, te) {
4001
- return te || function(se) {
4002
- switch (se) {
4005
+ return te || function(oe) {
4006
+ switch (oe) {
4003
4007
  case "YY":
4004
4008
  return String(b.$y).slice(-2);
4005
4009
  case "YYYY":
4006
- return P.s(b.$y, 4, "0");
4010
+ return O.s(b.$y, 4, "0");
4007
4011
  case "M":
4008
4012
  return I + 1;
4009
4013
  case "MM":
4010
- return P.s(I + 1, 2, "0");
4014
+ return O.s(I + 1, 2, "0");
4011
4015
  case "MMM":
4012
4016
  return ee(m.monthsShort, I, z, 3);
4013
4017
  case "MMMM":
@@ -4015,7 +4019,7 @@ var Pr = { exports: {} };
4015
4019
  case "D":
4016
4020
  return b.$D;
4017
4021
  case "DD":
4018
- return P.s(b.$D, 2, "0");
4022
+ return O.s(b.$D, 2, "0");
4019
4023
  case "d":
4020
4024
  return String(b.$W);
4021
4025
  case "dd":
@@ -4025,27 +4029,27 @@ var Pr = { exports: {} };
4025
4029
  case "dddd":
4026
4030
  return F[b.$W];
4027
4031
  case "H":
4028
- return String(M);
4032
+ return String(B);
4029
4033
  case "HH":
4030
- return P.s(M, 2, "0");
4034
+ return O.s(B, 2, "0");
4031
4035
  case "h":
4032
- return fe(1);
4036
+ return ce(1);
4033
4037
  case "hh":
4034
- return fe(2);
4038
+ return ce(2);
4035
4039
  case "a":
4036
- return ne(M, L, !0);
4040
+ return se(B, D, !0);
4037
4041
  case "A":
4038
- return ne(M, L, !1);
4042
+ return se(B, D, !1);
4039
4043
  case "m":
4040
- return String(L);
4044
+ return String(D);
4041
4045
  case "mm":
4042
- return P.s(L, 2, "0");
4046
+ return O.s(D, 2, "0");
4043
4047
  case "s":
4044
4048
  return String(b.$s);
4045
4049
  case "ss":
4046
- return P.s(b.$s, 2, "0");
4050
+ return O.s(b.$s, 2, "0");
4047
4051
  case "SSS":
4048
- return P.s(b.$ms, 3, "0");
4052
+ return O.s(b.$ms, 3, "0");
4049
4053
  case "Z":
4050
4054
  return w;
4051
4055
  }
@@ -4055,11 +4059,11 @@ var Pr = { exports: {} };
4055
4059
  }, g.utcOffset = function() {
4056
4060
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4057
4061
  }, g.diff = function(d, b, m) {
4058
- var E, w = this, M = P.p(b), L = O(d), I = (L.utcOffset() - this.utcOffset()) * i, F = this - L, z = function() {
4059
- return P.m(w, L);
4062
+ var E, w = this, B = O.p(b), D = A(d), I = (D.utcOffset() - this.utcOffset()) * i, F = this - D, z = function() {
4063
+ return O.m(w, D);
4060
4064
  };
4061
- switch (M) {
4062
- case x:
4065
+ switch (B) {
4066
+ case _:
4063
4067
  E = z() / 12;
4064
4068
  break;
4065
4069
  case c:
@@ -4086,7 +4090,7 @@ var Pr = { exports: {} };
4086
4090
  default:
4087
4091
  E = F;
4088
4092
  }
4089
- return m ? E : P.a(E);
4093
+ return m ? E : O.a(E);
4090
4094
  }, g.daysInMonth = function() {
4091
4095
  return this.endOf(c).$D;
4092
4096
  }, g.$locale = function() {
@@ -4097,7 +4101,7 @@ var Pr = { exports: {} };
4097
4101
  var m = this.clone(), E = W(d, b, !0);
4098
4102
  return E && (m.$L = E), m;
4099
4103
  }, g.clone = function() {
4100
- return P.w(this.$d, this);
4104
+ return O.w(this.$d, this);
4101
4105
  }, g.toDate = function() {
4102
4106
  return new Date(this.valueOf());
4103
4107
  }, g.toJSON = function() {
@@ -4106,22 +4110,22 @@ var Pr = { exports: {} };
4106
4110
  return this.$d.toISOString();
4107
4111
  }, g.toString = function() {
4108
4112
  return this.$d.toUTCString();
4109
- }, _;
4110
- }(), Re = me.prototype;
4111
- return O.prototype = Re, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", x], ["$D", T]].forEach(function(_) {
4112
- Re[_[1]] = function(g) {
4113
- return this.$g(g, _[0], _[1]);
4113
+ }, x;
4114
+ }(), ke = pe.prototype;
4115
+ return A.prototype = ke, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", _], ["$D", T]].forEach(function(x) {
4116
+ ke[x[1]] = function(g) {
4117
+ return this.$g(g, x[0], x[1]);
4114
4118
  };
4115
- }), O.extend = function(_, g) {
4116
- return _.$i || (_(g, me, O), _.$i = !0), O;
4117
- }, O.locale = W, O.isDayjs = Y, O.unix = function(_) {
4118
- return O(1e3 * _);
4119
- }, O.en = k[N], O.Ls = k, O.p = {}, O;
4119
+ }), A.extend = function(x, g) {
4120
+ return x.$i || (x(g, pe, A), x.$i = !0), A;
4121
+ }, A.locale = W, A.isDayjs = Y, A.unix = function(x) {
4122
+ return A(1e3 * x);
4123
+ }, A.en = k[N], A.Ls = k, A.p = {}, A;
4120
4124
  });
4121
- })(Pr);
4122
- var qn = Pr.exports;
4123
- const zt = /* @__PURE__ */ yt(qn);
4124
- var Ar = { exports: {} };
4125
+ })(Or);
4126
+ var Yn = Or.exports;
4127
+ const zt = /* @__PURE__ */ xt(Yn);
4128
+ var Pr = { exports: {} };
4125
4129
  (function(e, t) {
4126
4130
  (function(r, i) {
4127
4131
  e.exports = i();
@@ -4130,11 +4134,11 @@ var Ar = { exports: {} };
4130
4134
  return function(s, l, a) {
4131
4135
  var o = l.prototype;
4132
4136
  a.utc = function(v) {
4133
- var C = { date: v, utc: !0, args: arguments };
4134
- return new l(C);
4137
+ var M = { date: v, utc: !0, args: arguments };
4138
+ return new l(M);
4135
4139
  }, o.utc = function(v) {
4136
- var C = a(this.toDate(), { locale: this.$L, utc: !0 });
4137
- return v ? C.add(this.utcOffset(), r) : C;
4140
+ var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4141
+ return v ? M.add(this.utcOffset(), r) : M;
4138
4142
  }, o.local = function() {
4139
4143
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4140
4144
  };
@@ -4151,7 +4155,7 @@ var Ar = { exports: {} };
4151
4155
  h.call(this);
4152
4156
  };
4153
4157
  var c = o.utcOffset;
4154
- o.utcOffset = function(v, C) {
4158
+ o.utcOffset = function(v, M) {
4155
4159
  var U = this.$utils().u;
4156
4160
  if (U(v))
4157
4161
  return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
@@ -4164,20 +4168,20 @@ var Ar = { exports: {} };
4164
4168
  return W === 0 ? 0 : Y === "+" ? W : -W;
4165
4169
  }(v), v === null))
4166
4170
  return this;
4167
- var R = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4168
- if (C)
4169
- return B.$offset = R, B.$u = v === 0, B;
4171
+ var R = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4172
+ if (M)
4173
+ return $.$offset = R, $.$u = v === 0, $;
4170
4174
  if (v !== 0) {
4171
4175
  var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4172
- (B = this.local().add(R + j, r)).$offset = R, B.$x.$localOffset = j;
4176
+ ($ = this.local().add(R + j, r)).$offset = R, $.$x.$localOffset = j;
4173
4177
  } else
4174
- B = this.utc();
4175
- return B;
4178
+ $ = this.utc();
4179
+ return $;
4176
4180
  };
4177
4181
  var p = o.format;
4178
4182
  o.format = function(v) {
4179
- var C = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4180
- return p.call(this, C);
4183
+ var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4184
+ return p.call(this, M);
4181
4185
  }, o.valueOf = function() {
4182
4186
  var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4183
4187
  return this.$d.valueOf() - 6e4 * v;
@@ -4188,23 +4192,23 @@ var Ar = { exports: {} };
4188
4192
  }, o.toString = function() {
4189
4193
  return this.toDate().toUTCString();
4190
4194
  };
4191
- var x = o.toDate;
4195
+ var _ = o.toDate;
4192
4196
  o.toDate = function(v) {
4193
- return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4197
+ return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4194
4198
  };
4195
4199
  var T = o.diff;
4196
- o.diff = function(v, C, U) {
4200
+ o.diff = function(v, M, U) {
4197
4201
  if (v && this.$u === v.$u)
4198
- return T.call(this, v, C, U);
4199
- var R = this.local(), B = a(v).local();
4200
- return T.call(R, B, C, U);
4202
+ return T.call(this, v, M, U);
4203
+ var R = this.local(), $ = a(v).local();
4204
+ return T.call(R, $, M, U);
4201
4205
  };
4202
4206
  };
4203
4207
  });
4204
- })(Ar);
4205
- var Yn = Ar.exports;
4206
- const Zn = /* @__PURE__ */ yt(Yn);
4207
- function Jn(e) {
4208
+ })(Pr);
4209
+ var Zn = Pr.exports;
4210
+ const Jn = /* @__PURE__ */ xt(Zn);
4211
+ function Qn(e) {
4208
4212
  Lr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4209
4213
  }
4210
4214
  function Xt(e, t, r) {
@@ -4212,7 +4216,7 @@ function Xt(e, t, r) {
4212
4216
  return i[53] = t[r], i[55] = r, i;
4213
4217
  }
4214
4218
  function Wt(e) {
4215
- let t, r, i, n, s = At(
4219
+ let t, r, i, n, s = Pt(
4216
4220
  /*displayMessages*/
4217
4221
  e[4]
4218
4222
  ), l = [];
@@ -4227,22 +4231,22 @@ function Wt(e) {
4227
4231
  t = q("div");
4228
4232
  for (let o = 0; o < l.length; o += 1)
4229
4233
  l[o].c();
4230
- r = ye(), a && a.c(), i = ye(), n = q("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), ue(
4234
+ r = _e(), a && a.c(), i = _e(), n = q("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), le(
4231
4235
  n,
4232
4236
  "clientstylingurl",
4233
4237
  /*clientstylingurl*/
4234
4238
  e[1]
4235
- ), ue(
4239
+ ), le(
4236
4240
  n,
4237
4241
  "clientstyling",
4238
4242
  /*clientstyling*/
4239
4243
  e[0]
4240
- ), ue(
4244
+ ), le(
4241
4245
  n,
4242
4246
  "ismobileview",
4243
4247
  /*ismobileview*/
4244
4248
  e[2]
4245
- ), ue(
4249
+ ), le(
4246
4250
  n,
4247
4251
  "videosrc",
4248
4252
  /*videoSrc*/
@@ -4250,15 +4254,15 @@ function Wt(e) {
4250
4254
  );
4251
4255
  },
4252
4256
  m(o, u) {
4253
- oe(o, t, u);
4257
+ ae(o, t, u);
4254
4258
  for (let h = 0; h < l.length; h += 1)
4255
4259
  l[h] && l[h].m(t, null);
4256
- oe(o, r, u), a && a.m(o, u), oe(o, i, u), oe(o, n, u);
4260
+ ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
4257
4261
  },
4258
4262
  p(o, u) {
4259
4263
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4260
4264
  1072) {
4261
- s = At(
4265
+ s = Pt(
4262
4266
  /*displayMessages*/
4263
4267
  o[4]
4264
4268
  );
@@ -4273,25 +4277,25 @@ function Wt(e) {
4273
4277
  }
4274
4278
  /*videoExists*/
4275
4279
  o[7] ? a ? a.p(o, u) : (a = Zt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4276
- 2 && ue(
4280
+ 2 && le(
4277
4281
  n,
4278
4282
  "clientstylingurl",
4279
4283
  /*clientstylingurl*/
4280
4284
  o[1]
4281
4285
  ), u[0] & /*clientstyling*/
4282
- 1 && ue(
4286
+ 1 && le(
4283
4287
  n,
4284
4288
  "clientstyling",
4285
4289
  /*clientstyling*/
4286
4290
  o[0]
4287
4291
  ), u[0] & /*ismobileview*/
4288
- 4 && ue(
4292
+ 4 && le(
4289
4293
  n,
4290
4294
  "ismobileview",
4291
4295
  /*ismobileview*/
4292
4296
  o[2]
4293
4297
  ), u[0] & /*videoSrc*/
4294
- 256 && ue(
4298
+ 256 && le(
4295
4299
  n,
4296
4300
  "videosrc",
4297
4301
  /*videoSrc*/
@@ -4299,7 +4303,7 @@ function Wt(e) {
4299
4303
  );
4300
4304
  },
4301
4305
  d(o) {
4302
- o && (ie(t), ie(r), ie(i), ie(n)), Rr(l, o), a && a.d(o);
4306
+ o && (ne(t), ne(r), ne(i), ne(n)), Rr(l, o), a && a.d(o);
4303
4307
  }
4304
4308
  };
4305
4309
  }
@@ -4320,13 +4324,13 @@ function qt(e) {
4320
4324
  t = q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', K(t, "class", "CashierVerificationChevron");
4321
4325
  },
4322
4326
  m(s, l) {
4323
- oe(s, t, l), r || (i = bt(t, "click", n), r = !0);
4327
+ ae(s, t, l), r || (i = _t(t, "click", n), r = !0);
4324
4328
  },
4325
4329
  p(s, l) {
4326
4330
  e = s;
4327
4331
  },
4328
4332
  d(s) {
4329
- s && ie(t), r = !1, i();
4333
+ s && ne(t), r = !1, i();
4330
4334
  }
4331
4335
  };
4332
4336
  }
@@ -4351,23 +4355,23 @@ function Yt(e) {
4351
4355
  }
4352
4356
  return {
4353
4357
  c() {
4354
- t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = ye(), n = q("p"), l = ye(), h && h.c(), a = ye(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), _e(
4358
+ t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = q("p"), l = _e(), h && h.c(), a = _e(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), Ee(
4355
4359
  t,
4356
4360
  "ShowAll",
4357
4361
  /*allVerificationsVisible*/
4358
4362
  e[5]
4359
4363
  );
4360
4364
  },
4361
- m(p, x) {
4362
- oe(p, t, x), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = bt(t, "click", c), o = !0);
4365
+ m(p, _) {
4366
+ ae(p, t, _), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = _t(t, "click", c), o = !0);
4363
4367
  },
4364
- p(p, x) {
4365
- e = p, x[0] & /*displayMessages*/
4368
+ p(p, _) {
4369
+ e = p, _[0] & /*displayMessages*/
4366
4370
  16 && s !== (s = /*message*/
4367
4371
  e[53] + "") && (n.innerHTML = s), /*displayMessages*/
4368
4372
  e[4].length > 1 && /*index*/
4369
- e[55] === 0 ? h ? h.p(e, x) : (h = qt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4370
- 32 && _e(
4373
+ e[55] === 0 ? h ? h.p(e, _) : (h = qt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4374
+ 32 && Ee(
4371
4375
  t,
4372
4376
  "ShowAll",
4373
4377
  /*allVerificationsVisible*/
@@ -4375,7 +4379,7 @@ function Yt(e) {
4375
4379
  );
4376
4380
  },
4377
4381
  d(p) {
4378
- p && ie(t), h && h.d(), o = !1, u();
4382
+ p && ne(t), h && h.d(), o = !1, u();
4379
4383
  }
4380
4384
  };
4381
4385
  }
@@ -4386,7 +4390,7 @@ function Zt(e) {
4386
4390
  ), l, a, o;
4387
4391
  return {
4388
4392
  c() {
4389
- t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = ye(), n = q("div"), l = vt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), _e(
4393
+ t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = q("div"), l = yt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), Ee(
4390
4394
  n,
4391
4395
  "CashierVerificationVideoLinkDesktop",
4392
4396
  /*desktopView*/
@@ -4394,7 +4398,7 @@ function Zt(e) {
4394
4398
  ), K(t, "class", "CashierVerificationVideo");
4395
4399
  },
4396
4400
  m(u, h) {
4397
- oe(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = bt(
4401
+ ae(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = _t(
4398
4402
  n,
4399
4403
  "click",
4400
4404
  /*click_handler_2*/
@@ -4405,7 +4409,7 @@ function Zt(e) {
4405
4409
  h[0] & /*$_*/
4406
4410
  512 && s !== (s = /*$_*/
4407
4411
  u[9]("verification.video.how-to") + "") && Ur(l, s), h[0] & /*desktopView*/
4408
- 64 && _e(
4412
+ 64 && Ee(
4409
4413
  n,
4410
4414
  "CashierVerificationVideoLinkDesktop",
4411
4415
  /*desktopView*/
@@ -4413,18 +4417,18 @@ function Zt(e) {
4413
4417
  );
4414
4418
  },
4415
4419
  d(u) {
4416
- u && ie(t), a = !1, o();
4420
+ u && ne(t), a = !1, o();
4417
4421
  }
4418
4422
  };
4419
4423
  }
4420
- function Qn(e) {
4424
+ function Kn(e) {
4421
4425
  let t, r = (
4422
4426
  /*displayMessages*/
4423
4427
  e[4] && Wt(e)
4424
4428
  );
4425
4429
  return {
4426
4430
  c() {
4427
- t = q("div"), r && r.c(), K(t, "class", "CashierVerifications"), _e(
4431
+ t = q("div"), r && r.c(), K(t, "class", "CashierVerifications"), Ee(
4428
4432
  t,
4429
4433
  "CashierVerificationsDesktop",
4430
4434
  /*desktopView*/
@@ -4432,12 +4436,12 @@ function Qn(e) {
4432
4436
  );
4433
4437
  },
4434
4438
  m(i, n) {
4435
- oe(i, t, n), r && r.m(t, null), e[22](t);
4439
+ ae(i, t, n), r && r.m(t, null), e[22](t);
4436
4440
  },
4437
4441
  p(i, n) {
4438
4442
  /*displayMessages*/
4439
4443
  i[4] ? r ? r.p(i, n) : (r = Wt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4440
- 64 && _e(
4444
+ 64 && Ee(
4441
4445
  t,
4442
4446
  "CashierVerificationsDesktop",
4443
4447
  /*desktopView*/
@@ -4447,15 +4451,15 @@ function Qn(e) {
4447
4451
  i: Q,
4448
4452
  o: Q,
4449
4453
  d(i) {
4450
- i && ie(t), r && r.d(), e[22](null);
4454
+ i && ne(t), r && r.d(), e[22](null);
4451
4455
  }
4452
4456
  };
4453
4457
  }
4454
- const Kn = "verification_explanation_video_widgets.MP4";
4455
- function es(e, t, r) {
4458
+ const es = "verification_explanation_video_widgets.MP4";
4459
+ function ts(e, t, r) {
4456
4460
  let i, n;
4457
- Ht(e, zn, (f) => r(9, i = f)), Ht(e, Wn, (f) => r(28, n = f)), zt.extend(Zn);
4458
- let { endpoint: s } = t, { lang: l = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: x = "" } = t, T, v = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), U, R, B, j = !0, N = !0, k = !1, X = "";
4461
+ Ht(e, Xn, (f) => r(9, i = f)), Ht(e, qn, (f) => r(28, n = f)), zt.extend(Jn);
4462
+ let { endpoint: s } = t, { lang: l = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, T, v = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), U, R, $, j = !0, N = !0, k = !1, X = "";
4459
4463
  var Y;
4460
4464
  (function(f) {
4461
4465
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
@@ -4464,19 +4468,19 @@ function es(e, t, r) {
4464
4468
  (function(f) {
4465
4469
  f.Requested = "Requested";
4466
4470
  })(W || (W = {}));
4467
- var O;
4471
+ var A;
4468
4472
  (function(f) {
4469
4473
  f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4470
- })(O || (O = {}));
4471
- var P;
4474
+ })(A || (A = {}));
4475
+ var O;
4472
4476
  (function(f) {
4473
4477
  f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4474
- })(P || (P = {}));
4475
- const me = [
4476
- O.InProgress,
4477
- O.Referred,
4478
- O.AwaitingForResponse
4479
- ], Re = () => {
4478
+ })(O || (O = {}));
4479
+ const pe = [
4480
+ A.InProgress,
4481
+ A.Referred,
4482
+ A.AwaitingForResponse
4483
+ ], ke = () => {
4480
4484
  let f = a;
4481
4485
  if (f)
4482
4486
  return fetch(f).then((y) => y.json()).then((y) => {
@@ -4490,8 +4494,8 @@ function es(e, t, r) {
4490
4494
  Object.keys(jt).forEach((f) => {
4491
4495
  Gt(f, jt[f]);
4492
4496
  });
4493
- const _ = () => {
4494
- Xn(l);
4497
+ const x = () => {
4498
+ Wn(l);
4495
4499
  }, g = () => {
4496
4500
  let f = document.createElement("style");
4497
4501
  f.innerHTML = o, T.appendChild(f);
@@ -4508,17 +4512,17 @@ function es(e, t, r) {
4508
4512
  }, b = () => {
4509
4513
  r(18, R = w());
4510
4514
  const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${l}`), y = new Headers();
4511
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${x}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4515
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4512
4516
  const S = {
4513
4517
  method: "POST",
4514
4518
  headers: y,
4515
4519
  body: JSON.stringify({})
4516
4520
  };
4517
4521
  fetch(f, S).then((Z) => Z.json()).then((Z) => {
4518
- const Je = m(Z?.Verifications);
4519
- U = M(Je), U.VerificationStatuses.forEach((ke) => {
4520
- ke.VerificationUrlType !== "Widget" && v.add(ke.Vendor);
4521
- }), r(4, B = ee());
4522
+ const Ke = m(Z?.Verifications);
4523
+ U = B(Ke), U.VerificationStatuses.forEach((Ue) => {
4524
+ Ue.VerificationUrlType !== "Widget" && v.add(Ue.Vendor);
4525
+ }), r(4, $ = ee());
4522
4526
  });
4523
4527
  }, m = (f) => f ? f.sort((y, S) => new Date(S.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4524
4528
  n && b();
@@ -4529,15 +4533,15 @@ function es(e, t, r) {
4529
4533
  return y.cdn + "/cashier/operator-assets/" + y?.mid;
4530
4534
  }
4531
4535
  return "";
4532
- }, M = (f) => {
4536
+ }, B = (f) => {
4533
4537
  if (!f || !f.length)
4534
4538
  return {
4535
- VerificationSummaryStatus: O.Unverified,
4539
+ VerificationSummaryStatus: A.Unverified,
4536
4540
  VerificationStatuses: []
4537
4541
  };
4538
4542
  const y = F(f);
4539
4543
  if (y && y.length) {
4540
- const S = L(y);
4544
+ const S = D(y);
4541
4545
  return {
4542
4546
  VerificationSummaryStatus: S.Status,
4543
4547
  VerificationUrl: S.Flags?.DeferredUrlKey,
@@ -4545,10 +4549,10 @@ function es(e, t, r) {
4545
4549
  };
4546
4550
  } else
4547
4551
  return {
4548
- VerificationSummaryStatus: f.some((Z) => Z.Status === O.Failed) ? O.Failed : O.Verified,
4549
- VerificationStatuses: I(f, [O.Failed])
4552
+ VerificationSummaryStatus: f.some((Z) => Z.Status === A.Failed) ? A.Failed : A.Verified,
4553
+ VerificationStatuses: I(f, [A.Failed])
4550
4554
  };
4551
- }, L = (f) => f.reduce(
4555
+ }, D = (f) => f.reduce(
4552
4556
  (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4553
4557
  0
4554
4558
  ), I = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
@@ -4557,55 +4561,55 @@ function es(e, t, r) {
4557
4561
  VerificationDocuments: S.Documents ? [...S.Documents] : [],
4558
4562
  VerificationUrlType: S.FlowInfo?.Type,
4559
4563
  VerificationUrl: S.FlowInfo?.Url
4560
- })), F = (f) => f.filter((y) => me.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || z(y) || ae(y) : !1), z = (f) => {
4564
+ })), F = (f) => f.filter((y) => pe.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || z(y) || ue(y) : !1), z = (f) => {
4561
4565
  const y = f.Documents && f.VendorName === Y.Manual, S = f.Documents && f.Documents.some((Z) => Z.Status === W.Requested);
4562
4566
  return y && S;
4563
- }, ae = (f) => f.VendorName === Y.ShuftiPro && f.Status === O.Referred, ee = () => {
4567
+ }, ue = (f) => f.VendorName === Y.ShuftiPro && f.Status === A.Referred, ee = () => {
4564
4568
  switch (U.VerificationSummaryStatus) {
4565
- case O.InProgress:
4569
+ case A.InProgress:
4566
4570
  const f = [];
4567
4571
  return v.forEach((y) => {
4568
- f.push(fe(y));
4572
+ f.push(ce(y));
4569
4573
  }), f;
4570
- case O.Referred:
4574
+ case A.Referred:
4571
4575
  return [i("verification.idenfy.referred-awaiting")];
4572
- case O.Failed:
4576
+ case A.Failed:
4573
4577
  return [i("verification.message.failed")];
4574
4578
  }
4575
- }, fe = (f) => {
4579
+ }, ce = (f) => {
4576
4580
  const y = U.VerificationStatuses.filter((S) => S.Vendor === f);
4577
4581
  if (f === Y.ShuftiPro)
4578
- return ne(y);
4582
+ return se(y);
4579
4583
  {
4580
4584
  const S = i("verification.idenfy.link-name"), Z = {
4581
4585
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
4582
4586
  };
4583
4587
  return i("verification.idenfy.in-progress", { values: Z });
4584
4588
  }
4585
- }, ne = (f) => {
4589
+ }, se = (f) => {
4586
4590
  const y = [], S = {}, Z = [
4587
- P.Biometric,
4588
- P.Documents,
4589
- P.ProofOfAddress
4591
+ O.Biometric,
4592
+ O.Documents,
4593
+ O.ProofOfAddress
4590
4594
  ];
4591
- f.forEach((ce) => {
4592
- Z.includes(ce.Type) && (y.push(ce.Type), S[ce.Type] = V(ce, te(ce.Type)));
4595
+ f.forEach((de) => {
4596
+ Z.includes(de.Type) && (y.push(de.Type), S[de.Type] = V(de, te(de.Type)));
4593
4597
  });
4594
- let Je = y.every((ce) => C.has(ce)), ke = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4595
- return Je ? i("verification.shuftipro.validations-started") : i(ke, { values: S });
4596
- }, V = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, te = (f) => i(`verification.shuftipro.link-name.${f}`), se = (f, y) => {
4598
+ let Ke = y.every((de) => M.has(de)), Ue = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4599
+ return Ke ? i("verification.shuftipro.validations-started") : i(Ue, { values: S });
4600
+ }, V = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, te = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
4597
4601
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4598
4602
  if (f.target.closest(".verificationLink")) {
4599
4603
  const S = f.target.className.split(" ")[1];
4600
- C.add(S), r(4, B = ee());
4604
+ M.add(S), r(4, $ = ee());
4601
4605
  }
4602
4606
  return;
4603
4607
  }
4604
4608
  y === 0 && r(5, j = !j);
4605
- }, pe = () => {
4609
+ }, ge = () => {
4606
4610
  r(6, N = p === "false");
4607
- }, Or = () => {
4608
- r(8, X = R + "/" + l + "/" + Kn);
4611
+ }, Ar = () => {
4612
+ r(8, X = R + "/" + l + "/" + es);
4609
4613
  try {
4610
4614
  fetch(X, { method: "HEAD" }).then((f) => {
4611
4615
  r(7, k = f.ok);
@@ -4615,43 +4619,43 @@ function es(e, t, r) {
4615
4619
  }
4616
4620
  }, St = () => {
4617
4621
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4618
- }, $r = (f, y) => se(y, f), Br = (f, y) => se(y, f), Mr = () => St();
4622
+ }, $r = (f, y) => oe(y, f), Br = (f, y) => oe(y, f), Mr = () => St();
4619
4623
  function Cr(f) {
4620
- st[f ? "unshift" : "push"](() => {
4624
+ at[f ? "unshift" : "push"](() => {
4621
4625
  T = f, r(3, T);
4622
4626
  });
4623
4627
  }
4624
4628
  return e.$$set = (f) => {
4625
- "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, l = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(17, x = f.playersession);
4629
+ "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, l = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(17, _ = f.playersession);
4626
4630
  }, e.$$.update = () => {
4627
4631
  e.$$.dirty[0] & /*lang*/
4628
- 8192 && l && _(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4629
- 167936 && s && h && x && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4630
- 167936 && s && !h && x && E(), e.$$.dirty[0] & /*translationurl*/
4631
- 16384 && a && Re(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4632
+ 8192 && l && x(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4633
+ 167936 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4634
+ 167936 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
4635
+ 16384 && a && ke(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4632
4636
  9 && o && T && g(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4633
4637
  10 && u && T && d(), e.$$.dirty[0] & /*ismobileview*/
4634
- 4 && p && pe(), e.$$.dirty[0] & /*staticCdnUrl*/
4635
- 262144 && R && Or();
4638
+ 4 && p && ge(), e.$$.dirty[0] & /*staticCdnUrl*/
4639
+ 262144 && R && Ar();
4636
4640
  }, [
4637
4641
  o,
4638
4642
  u,
4639
4643
  p,
4640
4644
  T,
4641
- B,
4645
+ $,
4642
4646
  j,
4643
4647
  N,
4644
4648
  k,
4645
4649
  X,
4646
4650
  i,
4647
- se,
4651
+ oe,
4648
4652
  St,
4649
4653
  s,
4650
4654
  l,
4651
4655
  a,
4652
4656
  h,
4653
4657
  c,
4654
- x,
4658
+ _,
4655
4659
  R,
4656
4660
  $r,
4657
4661
  Br,
@@ -4659,13 +4663,13 @@ function es(e, t, r) {
4659
4663
  Cr
4660
4664
  ];
4661
4665
  }
4662
- class ts extends ei {
4666
+ class rs extends ei {
4663
4667
  constructor(t) {
4664
4668
  super(), Qr(
4665
4669
  this,
4666
4670
  t,
4667
- es,
4668
- Qn,
4671
+ ts,
4672
+ Kn,
4669
4673
  Qt,
4670
4674
  {
4671
4675
  endpoint: 12,
@@ -4678,7 +4682,7 @@ class ts extends ei {
4678
4682
  ismobileview: 2,
4679
4683
  playersession: 17
4680
4684
  },
4681
- Jn,
4685
+ Qn,
4682
4686
  [-1, -1]
4683
4687
  );
4684
4688
  }
@@ -4737,27 +4741,27 @@ class ts extends ei {
4737
4741
  this.$$set({ playersession: t }), J();
4738
4742
  }
4739
4743
  }
4740
- Kr(ts, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4744
+ Kr(rs, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4741
4745
  export {
4742
- ts as C,
4746
+ rs as C,
4743
4747
  ei as S,
4744
4748
  Lr as a,
4745
- oe as b,
4749
+ ae as b,
4746
4750
  Kr as c,
4747
- ie as d,
4748
- ns as e,
4751
+ ne as d,
4752
+ ss as e,
4749
4753
  J as f,
4750
- q as g,
4751
- ye as h,
4754
+ is as g,
4755
+ K as h,
4752
4756
  Qr as i,
4753
- rs as j,
4754
- K as k,
4755
- re as l,
4756
- is as m,
4757
+ re as j,
4758
+ q as k,
4759
+ _e as l,
4760
+ at as m,
4757
4761
  Q as n,
4758
- ss as o,
4759
- bt as p,
4760
- st as q,
4762
+ os as o,
4763
+ _t as p,
4764
+ ns as q,
4761
4765
  Qt as s,
4762
- _e as t
4766
+ Ee as t
4763
4767
  };