@everymatrix/cashier-verifications 1.63.3 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,50 @@
1
- function Q() {
1
+ function Z() {
2
2
  }
3
- function Yt(e) {
3
+ function Zt(e) {
4
4
  return e();
5
5
  }
6
6
  function St() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Le(e) {
10
- e.forEach(Yt);
9
+ function Ie(e) {
10
+ e.forEach(Zt);
11
11
  }
12
12
  function bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Zt(e, t) {
15
+ function Jt(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 es(e, t) {
20
- return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
18
+ let Fe;
19
+ function ts(e, t) {
20
+ return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
- function Ar(e) {
22
+ function Mr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Jt(e, ...t) {
25
+ function Qt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const i of t)
28
28
  i(void 0);
29
- return Q;
29
+ return Z;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function $r(e, t, r) {
35
- e.$$.on_destroy.push(Jt(t, r));
34
+ function Tt(e, t, r) {
35
+ e.$$.on_destroy.push(Qt(t, r));
36
36
  }
37
- function re(e, t) {
37
+ function te(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Br(e, t, r) {
41
- const i = Mr(e);
40
+ function Cr(e, t, r) {
41
+ const i = Dr(e);
42
42
  if (!i.getElementById(t)) {
43
- const n = Z("style");
44
- n.id = t, n.textContent = r, Cr(i, n);
43
+ const n = Y("style");
44
+ n.id = t, n.textContent = r, Lr(i, n);
45
45
  }
46
46
  }
47
- function Mr(e) {
47
+ function Dr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,27 +54,27 @@ function Mr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Cr(e, t) {
58
- return re(
57
+ function Lr(e, t) {
58
+ return te(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ue(e, t, r) {
64
+ function ae(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function ne(e) {
67
+ function ie(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Dr(e, t) {
70
+ function Ir(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function Z(e) {
74
+ function Y(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function ts(e) {
77
+ function rs(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function yt(e) {
@@ -83,30 +83,30 @@ function yt(e) {
83
83
  function xe() {
84
84
  return yt(" ");
85
85
  }
86
- function rs() {
86
+ function is() {
87
87
  return yt("");
88
88
  }
89
89
  function _t(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
- function K(e, t, r) {
92
+ function J(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function he(e, t, r) {
95
+ function le(e, t, r) {
96
96
  const i = t.toLowerCase();
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);
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 : J(e, t, r);
98
98
  }
99
- function Ir(e) {
99
+ function Nr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function Lr(e, t) {
102
+ function Rr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
106
  function we(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
- function Nr(e) {
109
+ function kr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -119,27 +119,27 @@ let Ce;
119
119
  function Me(e) {
120
120
  Ce = e;
121
121
  }
122
- function Rr() {
122
+ function Ur() {
123
123
  if (!Ce)
124
124
  throw new Error("Function called outside component initialization");
125
125
  return Ce;
126
126
  }
127
- function is(e) {
128
- Rr().$$.on_mount.push(e);
127
+ function ns(e) {
128
+ Ur().$$.on_mount.push(e);
129
129
  }
130
130
  const _e = [], at = [];
131
131
  let Ee = [];
132
- const Tt = [], kr = /* @__PURE__ */ Promise.resolve();
132
+ const Ht = [], Fr = /* @__PURE__ */ Promise.resolve();
133
133
  let ut = !1;
134
- function Ur() {
135
- ut || (ut = !0, kr.then(te));
134
+ function Vr() {
135
+ ut || (ut = !0, Fr.then(ee));
136
136
  }
137
137
  function lt(e) {
138
138
  Ee.push(e);
139
139
  }
140
140
  const et = /* @__PURE__ */ new Set();
141
141
  let be = 0;
142
- function te() {
142
+ function ee() {
143
143
  if (be !== 0)
144
144
  return;
145
145
  const e = Ce;
@@ -147,7 +147,7 @@ function te() {
147
147
  try {
148
148
  for (; be < _e.length; ) {
149
149
  const t = _e[be];
150
- be++, Me(t), Fr(t.$$);
150
+ be++, Me(t), Gr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw _e.length = 0, be = 0, t;
@@ -160,43 +160,43 @@ function te() {
160
160
  }
161
161
  Ee.length = 0;
162
162
  } while (_e.length);
163
- for (; Tt.length; )
164
- Tt.pop()();
163
+ for (; Ht.length; )
164
+ Ht.pop()();
165
165
  ut = !1, et.clear(), Me(e);
166
166
  }
167
- function Fr(e) {
167
+ function Gr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), Le(e.before_update);
169
+ e.update(), Ie(e.before_update);
170
170
  const t = e.dirty;
171
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
172
172
  }
173
173
  }
174
- function Vr(e) {
174
+ function jr(e) {
175
175
  const t = [], r = [];
176
176
  Ee.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Ee = t;
177
177
  }
178
- const Gr = /* @__PURE__ */ new Set();
179
- function jr(e, t) {
180
- e && e.i && (Gr.delete(e), e.i(t));
178
+ const zr = /* @__PURE__ */ new Set();
179
+ function Xr(e, t) {
180
+ e && e.i && (zr.delete(e), e.i(t));
181
181
  }
182
- function Ht(e) {
182
+ function Ot(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function zr(e, t, r) {
185
+ function Wr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
187
  i && i.m(t, r), lt(() => {
188
- const s = e.$$.on_mount.map(Yt).filter(bt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
188
+ const s = e.$$.on_mount.map(Zt).filter(bt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
190
190
  }), n.forEach(lt);
191
191
  }
192
- function Xr(e, t) {
192
+ function qr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Vr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (jr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function Wr(e, t) {
197
- e.$$.dirty[0] === -1 && (_e.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Yr(e, t) {
197
+ e.$$.dirty[0] === -1 && (_e.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function qr(e, t, r, i, n, s, l = null, a = [-1]) {
199
+ function Zr(e, t, r, i, n, s, h = null, a = [-1]) {
200
200
  const o = Ce;
201
201
  Me(e);
202
202
  const u = e.$$ = {
@@ -204,7 +204,7 @@ function qr(e, t, r, i, n, s, l = null, a = [-1]) {
204
204
  ctx: [],
205
205
  // state
206
206
  props: s,
207
- update: Q,
207
+ update: Z,
208
208
  not_equal: n,
209
209
  bound: St(),
210
210
  // lifecycle
@@ -220,23 +220,23 @@ function qr(e, t, r, i, n, s, l = null, a = [-1]) {
220
220
  skip_bound: !1,
221
221
  root: t.target || o.$$.root
222
222
  };
223
- l && l(u.root);
224
- let h = !1;
225
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
226
- const H = E.length ? E[0] : m;
227
- return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && Wr(e, c)), m;
228
- }) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
223
+ h && h(u.root);
224
+ let l = !1;
225
+ if (u.ctx = r ? r(e, t.props || {}, (d, p, ..._) => {
226
+ const H = _.length ? _[0] : p;
227
+ return u.ctx && n(u.ctx[d], u.ctx[d] = H) && (!u.skip_bound && u.bound[d] && u.bound[d](H), l && Yr(e, d)), p;
228
+ }) : [], u.update(), l = !0, Ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const c = Ir(t.target);
231
- u.fragment && u.fragment.l(c), c.forEach(ne);
230
+ const d = Nr(t.target);
231
+ u.fragment && u.fragment.l(d), d.forEach(ie);
232
232
  } else
233
233
  u.fragment && u.fragment.c();
234
- t.intro && jr(e.$$.fragment), zr(e, t.target, t.anchor), te();
234
+ t.intro && Xr(e.$$.fragment), Wr(e, t.target, t.anchor), ee();
235
235
  }
236
236
  Me(o);
237
237
  }
238
- let Qt;
239
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
238
+ let Kt;
239
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -278,29 +278,29 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
278
278
  let s;
279
279
  return {
280
280
  c: function() {
281
- s = Z("slot"), n !== "default" && K(s, "name", n);
281
+ s = Y("slot"), n !== "default" && J(s, "name", n);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(o, u) {
288
- ue(o, s, u);
288
+ ae(o, s, u);
289
289
  },
290
290
  d: function(o) {
291
- o && ne(s);
291
+ o && ie(s);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Nr(this);
298
+ const t = {}, r = kr(this);
299
299
  for (const n of this.$$s)
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" && (Qt = 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,
@@ -331,8 +331,8 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
331
331
  this.$$c.$$.after_update.push(i), i();
332
332
  for (const n in this.$$l)
333
333
  for (const s of this.$$l[n]) {
334
- const l = this.$$c.$on(n, s);
335
- this.$$l_u.set(s, l);
334
+ const h = this.$$c.$on(n, s);
335
+ this.$$l_u.set(s, h);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Qt = 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" && (Qt = 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;
@@ -382,8 +382,8 @@ function Ve(e, t, r, i) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Yr(e, t, r, i, n, s) {
386
- let l = class extends Qt {
385
+ function Jr(e, t, r, i, n, s) {
386
+ let h = class extends Kt {
387
387
  constructor() {
388
388
  super(e, r, n), this.$$p_d = t;
389
389
  }
@@ -394,24 +394,24 @@ function Yr(e, t, r, i, n, s) {
394
394
  }
395
395
  };
396
396
  return Object.keys(t).forEach((a) => {
397
- Object.defineProperty(l.prototype, a, {
397
+ Object.defineProperty(h.prototype, a, {
398
398
  get() {
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) => {
406
- Object.defineProperty(l.prototype, a, {
406
+ Object.defineProperty(h.prototype, a, {
407
407
  get() {
408
408
  return this.$$c?.[a];
409
409
  }
410
410
  });
411
411
  }), e.element = /** @type {any} */
412
- l, l;
412
+ h, h;
413
413
  }
414
- class Zr {
414
+ class Qr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Zr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Xr(this, 1), this.$destroy = Q;
433
+ qr(this, 1), this.$destroy = Z;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -440,7 +440,7 @@ class Zr {
440
440
  */
441
441
  $on(t, r) {
442
442
  if (!bt(r))
443
- return Q;
443
+ return Z;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
446
446
  const n = i.indexOf(r);
@@ -452,22 +452,22 @@ class Zr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const Jr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
458
+ const Kr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
460
460
  const ye = [];
461
- function Qr(e, t) {
461
+ function ei(e, t) {
462
462
  return {
463
- subscribe: Ye(e, t).subscribe
463
+ subscribe: Ne(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ye(e, t = Q) {
466
+ function Ne(e, t = Z) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
469
  function n(a) {
470
- if (Zt(e, a) && (e = a, r)) {
470
+ if (Jt(e, a) && (e = a, r)) {
471
471
  const o = !ye.length;
472
472
  for (const u of i)
473
473
  u[1](), ye.push(u, e);
@@ -481,110 +481,110 @@ function Ye(e, t = Q) {
481
481
  function s(a) {
482
482
  n(a(e));
483
483
  }
484
- function l(a, o = Q) {
484
+ function h(a, o = Z) {
485
485
  const u = [a, o];
486
- return i.add(u), i.size === 1 && (r = t(n, s) || Q), a(e), () => {
486
+ return i.add(u), i.size === 1 && (r = t(n, s) || Z), a(e), () => {
487
487
  i.delete(u), i.size === 0 && r && (r(), r = null);
488
488
  };
489
489
  }
490
- return { set: n, update: s, subscribe: l };
490
+ return { set: n, update: s, subscribe: h };
491
491
  }
492
492
  function Pe(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");
496
496
  const s = t.length < 2;
497
- return Qr(r, (l, a) => {
497
+ return ei(r, (h, a) => {
498
498
  let o = !1;
499
499
  const u = [];
500
- let h = 0, c = Q;
501
- const m = () => {
502
- if (h)
500
+ let l = 0, d = Z;
501
+ const p = () => {
502
+ if (l)
503
503
  return;
504
- c();
505
- const H = t(i ? u[0] : u, l, a);
506
- s ? l(H) : c = bt(H) ? H : Q;
507
- }, E = n.map(
508
- (H, v) => Jt(
504
+ d();
505
+ const H = t(i ? u[0] : u, h, a);
506
+ s ? h(H) : d = bt(H) ? H : Z;
507
+ }, _ = n.map(
508
+ (H, v) => Qt(
509
509
  H,
510
- (A) => {
511
- u[v] = A, h &= ~(1 << v), o && m();
510
+ ($) => {
511
+ u[v] = $, l &= ~(1 << v), o && p();
512
512
  },
513
513
  () => {
514
- h |= 1 << v;
514
+ l |= 1 << v;
515
515
  }
516
516
  )
517
517
  );
518
- return o = !0, m(), function() {
519
- Le(E), c(), o = !1;
518
+ return o = !0, p(), function() {
519
+ Ie(_), d(), o = !1;
520
520
  };
521
521
  });
522
522
  }
523
- var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
523
+ var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
524
  function xt(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
527
- var Kr = function(t) {
528
- return ei(t) && !ti(t);
527
+ var ti = function(t) {
528
+ return ri(t) && !ii(t);
529
529
  };
530
- function ei(e) {
530
+ function ri(e) {
531
531
  return !!e && typeof e == "object";
532
532
  }
533
- function ti(e) {
533
+ function ii(e) {
534
534
  var t = Object.prototype.toString.call(e);
535
- return t === "[object RegExp]" || t === "[object Date]" || ni(e);
535
+ return t === "[object RegExp]" || t === "[object Date]" || oi(e);
536
536
  }
537
- var ri = typeof Symbol == "function" && Symbol.for, ii = ri ? Symbol.for("react.element") : 60103;
538
- function ni(e) {
539
- return e.$$typeof === ii;
537
+ var ni = typeof Symbol == "function" && Symbol.for, si = ni ? Symbol.for("react.element") : 60103;
538
+ function oi(e) {
539
+ return e.$$typeof === si;
540
540
  }
541
- function si(e) {
541
+ function ai(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
544
  function De(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? Se(si(e), e, t) : e;
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? Se(ai(e), e, t) : e;
546
546
  }
547
- function oi(e, t, r) {
547
+ function ui(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
549
  return De(i, r);
550
550
  });
551
551
  }
552
- function ai(e, t) {
552
+ function li(e, t) {
553
553
  if (!t.customMerge)
554
554
  return Se;
555
555
  var r = t.customMerge(e);
556
556
  return typeof r == "function" ? r : Se;
557
557
  }
558
- function ui(e) {
558
+ function hi(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) {
564
- return Object.keys(e).concat(ui(e));
563
+ function Pt(e) {
564
+ return Object.keys(e).concat(hi(e));
565
565
  }
566
- function er(e, t) {
566
+ function tr(e, t) {
567
567
  try {
568
568
  return t in e;
569
569
  } catch {
570
570
  return !1;
571
571
  }
572
572
  }
573
- function li(e, t) {
574
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
+ function fi(e, t) {
574
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
575
575
  }
576
- function hi(e, t, r) {
576
+ function ci(e, t, r) {
577
577
  var i = {};
578
- return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
578
+ return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
579
579
  i[n] = De(e[n], r);
580
- }), Ot(t).forEach(function(n) {
581
- li(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = ai(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
580
+ }), Pt(t).forEach(function(n) {
581
+ fi(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = li(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
582
582
  }), i;
583
583
  }
584
584
  function Se(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = De;
585
+ r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = De;
586
586
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : hi(e, t, r) : De(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : ci(e, t, r) : De(t, r);
588
588
  }
589
589
  Se.all = function(t, r) {
590
590
  if (!Array.isArray(t))
@@ -593,8 +593,8 @@ Se.all = function(t, r) {
593
593
  return Se(i, n, r);
594
594
  }, {});
595
595
  };
596
- var fi = Se, ci = fi;
597
- const di = /* @__PURE__ */ xt(ci);
596
+ var di = Se, mi = di;
597
+ const pi = /* @__PURE__ */ xt(mi);
598
598
  var ht = function(e, t) {
599
599
  return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
600
600
  r.__proto__ = i;
@@ -612,17 +612,17 @@ function Ze(e, t) {
612
612
  }
613
613
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
614
614
  }
615
- var ie = function() {
616
- return ie = Object.assign || function(t) {
615
+ var re = function() {
616
+ return re = Object.assign || function(t) {
617
617
  for (var r, i = 1, n = arguments.length; i < n; i++) {
618
618
  r = arguments[i];
619
619
  for (var s in r)
620
620
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
621
621
  }
622
622
  return t;
623
- }, ie.apply(this, arguments);
623
+ }, re.apply(this, arguments);
624
624
  };
625
- function mi(e, t) {
625
+ function gi(e, t) {
626
626
  var r = {};
627
627
  for (var i in e)
628
628
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -638,36 +638,36 @@ function tt(e, t, r) {
638
638
  return e.concat(s || Array.prototype.slice.call(t));
639
639
  }
640
640
  function rt(e, t) {
641
- var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : yi, n = t && t.strategy ? t.strategy : vi;
641
+ var r = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : xi, n = t && t.strategy ? t.strategy : yi;
642
642
  return n(e, {
643
643
  cache: r,
644
644
  serializer: i
645
645
  });
646
646
  }
647
- function pi(e) {
647
+ function vi(e) {
648
648
  return e == null || typeof e == "number" || typeof e == "boolean";
649
649
  }
650
- function gi(e, t, r, i) {
651
- var n = pi(i) ? i : r(i), s = t.get(n);
650
+ function bi(e, t, r, i) {
651
+ var n = vi(i) ? i : r(i), s = t.get(n);
652
652
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
653
653
  }
654
- function tr(e, t, r) {
654
+ function rr(e, t, r) {
655
655
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
656
656
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
657
657
  }
658
- function rr(e, t, r, i, n) {
658
+ function ir(e, t, r, i, n) {
659
659
  return r.bind(t, e, i, n);
660
660
  }
661
- function vi(e, t) {
662
- var r = e.length === 1 ? gi : tr;
663
- return rr(e, this, r, t.cache.create(), t.serializer);
661
+ function yi(e, t) {
662
+ var r = e.length === 1 ? bi : rr;
663
+ return ir(e, this, r, t.cache.create(), t.serializer);
664
664
  }
665
- function bi(e, t) {
666
- return rr(e, this, tr, t.cache.create(), t.serializer);
665
+ function _i(e, t) {
666
+ return ir(e, this, rr, t.cache.create(), t.serializer);
667
667
  }
668
- var yi = function() {
668
+ var xi = function() {
669
669
  return JSON.stringify(arguments);
670
- }, _i = (
670
+ }, Ei = (
671
671
  /** @class */
672
672
  function() {
673
673
  function e() {
@@ -679,71 +679,71 @@ var yi = function() {
679
679
  this.cache[t] = r;
680
680
  }, e;
681
681
  }()
682
- ), xi = {
682
+ ), wi = {
683
683
  create: function() {
684
- return new _i();
684
+ return new Ei();
685
685
  }
686
686
  }, it = {
687
- variadic: bi
688
- }, ze = function() {
689
- return ze = Object.assign || function(t) {
687
+ variadic: _i
688
+ }, Xe = function() {
689
+ return Xe = Object.assign || function(t) {
690
690
  for (var r, i = 1, n = arguments.length; i < n; i++) {
691
691
  r = arguments[i];
692
692
  for (var s in r)
693
693
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
694
694
  }
695
695
  return t;
696
- }, ze.apply(this, arguments);
696
+ }, Xe.apply(this, arguments);
697
697
  };
698
698
  var T;
699
699
  (function(e) {
700
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";
701
701
  })(T || (T = {}));
702
- var M;
702
+ var C;
703
703
  (function(e) {
704
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";
705
- })(M || (M = {}));
705
+ })(C || (C = {}));
706
706
  var Te;
707
707
  (function(e) {
708
708
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
709
709
  })(Te || (Te = {}));
710
- function Pt(e) {
711
- return e.type === M.literal;
710
+ function At(e) {
711
+ return e.type === C.literal;
712
712
  }
713
- function Ei(e) {
714
- return e.type === M.argument;
715
- }
716
- function ir(e) {
717
- return e.type === M.number;
713
+ function Si(e) {
714
+ return e.type === C.argument;
718
715
  }
719
716
  function nr(e) {
720
- return e.type === M.date;
717
+ return e.type === C.number;
721
718
  }
722
719
  function sr(e) {
723
- return e.type === M.time;
720
+ return e.type === C.date;
724
721
  }
725
722
  function or(e) {
726
- return e.type === M.select;
723
+ return e.type === C.time;
727
724
  }
728
725
  function ar(e) {
729
- return e.type === M.plural;
730
- }
731
- function wi(e) {
732
- return e.type === M.pound;
726
+ return e.type === C.select;
733
727
  }
734
728
  function ur(e) {
735
- return e.type === M.tag;
729
+ return e.type === C.plural;
730
+ }
731
+ function Ti(e) {
732
+ return e.type === C.pound;
736
733
  }
737
734
  function lr(e) {
735
+ return e.type === C.tag;
736
+ }
737
+ function hr(e) {
738
738
  return !!(e && typeof e == "object" && e.type === Te.number);
739
739
  }
740
740
  function ft(e) {
741
741
  return !!(e && typeof e == "object" && e.type === Te.dateTime);
742
742
  }
743
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
744
- function Ti(e) {
743
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hi = /(?:[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;
744
+ function Oi(e) {
745
745
  var t = {};
746
- return e.replace(Si, function(r) {
746
+ return e.replace(Hi, function(r) {
747
747
  var i = r.length;
748
748
  switch (r[0]) {
749
749
  case "G":
@@ -832,46 +832,46 @@ function Ti(e) {
832
832
  return "";
833
833
  }), t;
834
834
  }
835
- var D = function() {
836
- return D = Object.assign || function(t) {
835
+ var I = function() {
836
+ return I = Object.assign || function(t) {
837
837
  for (var r, i = 1, n = arguments.length; i < n; i++) {
838
838
  r = arguments[i];
839
839
  for (var s in r)
840
840
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
841
841
  }
842
842
  return t;
843
- }, D.apply(this, arguments);
843
+ }, I.apply(this, arguments);
844
844
  };
845
- var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
- function Oi(e) {
845
+ var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
+ function Ai(e) {
847
847
  if (e.length === 0)
848
848
  throw new Error("Number skeleton cannot be empty");
849
- for (var t = e.split(Hi).filter(function(m) {
850
- return m.length > 0;
849
+ for (var t = e.split(Pi).filter(function(p) {
850
+ return p.length > 0;
851
851
  }), r = [], i = 0, n = t; i < n.length; i++) {
852
- var s = n[i], l = s.split("/");
853
- if (l.length === 0)
852
+ var s = n[i], h = s.split("/");
853
+ if (h.length === 0)
854
854
  throw new Error("Invalid number skeleton");
855
- for (var a = l[0], o = l.slice(1), u = 0, h = o; u < h.length; u++) {
856
- var c = h[u];
857
- if (c.length === 0)
855
+ for (var a = h[0], o = h.slice(1), u = 0, l = o; u < l.length; u++) {
856
+ var d = l[u];
857
+ if (d.length === 0)
858
858
  throw new Error("Invalid number skeleton");
859
859
  }
860
860
  r.push({ stem: a, options: o });
861
861
  }
862
862
  return r;
863
863
  }
864
- function Pi(e) {
864
+ function $i(e) {
865
865
  return e.replace(/^(.*?)-/, "");
866
866
  }
867
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
868
- function $t(e) {
867
+ var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
868
+ function Bt(e) {
869
869
  var t = {};
870
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
870
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
871
871
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
872
872
  }), t;
873
873
  }
874
- function dr(e) {
874
+ function mr(e) {
875
875
  switch (e) {
876
876
  case "sign-auto":
877
877
  return {
@@ -911,7 +911,7 @@ function dr(e) {
911
911
  };
912
912
  }
913
913
  }
914
- function $i(e) {
914
+ function Mi(e) {
915
915
  var t;
916
916
  if (e[0] === "E" && e[1] === "E" ? (t = {
917
917
  notation: "engineering"
@@ -919,17 +919,17 @@ function $i(e) {
919
919
  notation: "scientific"
920
920
  }, e = e.slice(1)), t) {
921
921
  var r = e.slice(0, 2);
922
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
922
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
923
923
  throw new Error("Malformed concise eng/scientific notation");
924
924
  t.minimumIntegerDigits = e.length;
925
925
  }
926
926
  return t;
927
927
  }
928
- function Bt(e) {
929
- var t = {}, r = dr(e);
928
+ function Mt(e) {
929
+ var t = {}, r = mr(e);
930
930
  return r || t;
931
931
  }
932
- function Bi(e) {
932
+ function Ci(e) {
933
933
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
934
934
  var n = i[r];
935
935
  switch (n.stem) {
@@ -953,7 +953,7 @@ function Bi(e) {
953
953
  continue;
954
954
  case "measure-unit":
955
955
  case "unit":
956
- t.style = "unit", t.unit = Pi(n.options[0]);
956
+ t.style = "unit", t.unit = $i(n.options[0]);
957
957
  continue;
958
958
  case "compact-short":
959
959
  case "K":
@@ -964,13 +964,13 @@ function Bi(e) {
964
964
  t.notation = "compact", t.compactDisplay = "long";
965
965
  continue;
966
966
  case "scientific":
967
- t = D(D(D({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
- return D(D({}, o), Bt(u));
967
+ t = I(I(I({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
+ return I(I({}, o), Mt(u));
969
969
  }, {}));
970
970
  continue;
971
971
  case "engineering":
972
- t = D(D(D({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
- return D(D({}, o), Bt(u));
972
+ t = I(I(I({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
+ return I(I({}, o), Mt(u));
974
974
  }, {}));
975
975
  continue;
976
976
  case "notation-simple":
@@ -1015,45 +1015,45 @@ function Bi(e) {
1015
1015
  case "integer-width":
1016
1016
  if (n.options.length > 1)
1017
1017
  throw new RangeError("integer-width stems only accept a single optional option");
1018
- n.options[0].replace(Ai, function(o, u, h, c, m, E) {
1018
+ n.options[0].replace(Bi, function(o, u, l, d, p, _) {
1019
1019
  if (u)
1020
- t.minimumIntegerDigits = h.length;
1020
+ t.minimumIntegerDigits = l.length;
1021
1021
  else {
1022
- if (c && m)
1022
+ if (d && p)
1023
1023
  throw new Error("We currently do not support maximum integer digits");
1024
- if (E)
1024
+ if (_)
1025
1025
  throw new Error("We currently do not support exact integer digits");
1026
1026
  }
1027
1027
  return "";
1028
1028
  });
1029
1029
  continue;
1030
1030
  }
1031
- if (cr.test(n.stem)) {
1031
+ if (dr.test(n.stem)) {
1032
1032
  t.minimumIntegerDigits = n.stem.length;
1033
1033
  continue;
1034
1034
  }
1035
- if (At.test(n.stem)) {
1035
+ if ($t.test(n.stem)) {
1036
1036
  if (n.options.length > 1)
1037
1037
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1038
- n.stem.replace(At, function(o, u, h, c, m, E) {
1039
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1038
+ n.stem.replace($t, function(o, u, l, d, p, _) {
1039
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1040
1040
  });
1041
1041
  var s = n.options[0];
1042
- s === "w" ? t = D(D({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = D(D({}, t), $t(s)));
1042
+ s === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = I(I({}, t), Bt(s)));
1043
1043
  continue;
1044
1044
  }
1045
- if (fr.test(n.stem)) {
1046
- t = D(D({}, t), $t(n.stem));
1045
+ if (cr.test(n.stem)) {
1046
+ t = I(I({}, t), Bt(n.stem));
1047
1047
  continue;
1048
1048
  }
1049
- var l = dr(n.stem);
1050
- l && (t = D(D({}, t), l));
1051
- var a = $i(n.stem);
1052
- a && (t = D(D({}, t), a));
1049
+ var h = mr(n.stem);
1050
+ h && (t = I(I({}, t), h));
1051
+ var a = Mi(n.stem);
1052
+ a && (t = I(I({}, t), a));
1053
1053
  }
1054
1054
  return t;
1055
1055
  }
1056
- var Fe = {
1056
+ var Ve = {
1057
1057
  "001": [
1058
1058
  "H",
1059
1059
  "h"
@@ -2468,23 +2468,23 @@ var Fe = {
2468
2468
  "h"
2469
2469
  ]
2470
2470
  };
2471
- function Mi(e, t) {
2471
+ function Di(e, t) {
2472
2472
  for (var r = "", i = 0; i < e.length; i++) {
2473
2473
  var n = e.charAt(i);
2474
2474
  if (n === "j") {
2475
2475
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2476
2476
  s++, i++;
2477
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ci(t);
2477
+ var h = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Li(t);
2478
2478
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2479
2479
  r += o;
2480
- for (; l-- > 0; )
2480
+ for (; h-- > 0; )
2481
2481
  r = u + r;
2482
2482
  } else
2483
2483
  n === "J" ? r += "H" : r += n;
2484
2484
  }
2485
2485
  return r;
2486
2486
  }
2487
- function Ci(e) {
2487
+ function Li(e) {
2488
2488
  var t = e.hourCycle;
2489
2489
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2490
2490
  e.hourCycles && // @ts-ignore
@@ -2503,23 +2503,23 @@ function Ci(e) {
2503
2503
  }
2504
2504
  var r = e.language, i;
2505
2505
  r !== "root" && (i = e.maximize().region);
2506
- 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"];
2507
2507
  return n[0];
2508
2508
  }
2509
- var nt, Di = new RegExp("^".concat(hr.source, "*")), Ii = new RegExp("".concat(hr.source, "*$"));
2509
+ var nt, Ii = new RegExp("^".concat(fr.source, "*")), Ni = new RegExp("".concat(fr.source, "*$"));
2510
2510
  function O(e, t) {
2511
2511
  return { start: e, end: t };
2512
2512
  }
2513
- var Li = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Ri = !!Object.fromEntries, ki = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Vi = !!Number.isSafeInteger, Gi = Vi ? Number.isSafeInteger : function(e) {
2513
+ var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, Ui = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, zi = ji ? Number.isSafeInteger : function(e) {
2514
2514
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2515
2515
  }, ct = !0;
2516
2516
  try {
2517
- var ji = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
- ct = ((nt = ji.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2517
+ var Xi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
+ ct = ((nt = Xi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2519
2519
  } catch {
2520
2520
  ct = !1;
2521
2521
  }
2522
- var Mt = Li ? (
2522
+ var Ct = Ri ? (
2523
2523
  // Native
2524
2524
  function(t, r, i) {
2525
2525
  return t.startsWith(r, i);
@@ -2529,31 +2529,31 @@ var Mt = Li ? (
2529
2529
  function(t, r, i) {
2530
2530
  return t.slice(i, i + r.length) === r;
2531
2531
  }
2532
- ), dt = Ni ? String.fromCodePoint : (
2532
+ ), dt = ki ? String.fromCodePoint : (
2533
2533
  // IE11
2534
2534
  function() {
2535
2535
  for (var t = [], r = 0; r < arguments.length; r++)
2536
2536
  t[r] = arguments[r];
2537
- for (var i = "", n = t.length, s = 0, l; n > s; ) {
2538
- if (l = t[s++], l > 1114111)
2539
- throw RangeError(l + " is not a valid code point");
2540
- i += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
2537
+ for (var i = "", n = t.length, s = 0, h; n > s; ) {
2538
+ if (h = t[s++], h > 1114111)
2539
+ throw RangeError(h + " is not a valid code point");
2540
+ i += h < 65536 ? String.fromCharCode(h) : String.fromCharCode(((h -= 65536) >> 10) + 55296, h % 1024 + 56320);
2541
2541
  }
2542
2542
  return i;
2543
2543
  }
2544
- ), Ct = (
2544
+ ), Dt = (
2545
2545
  // native
2546
- Ri ? Object.fromEntries : (
2546
+ Ui ? Object.fromEntries : (
2547
2547
  // Ponyfill
2548
2548
  function(t) {
2549
2549
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2550
- var s = n[i], l = s[0], a = s[1];
2551
- r[l] = a;
2550
+ var s = n[i], h = s[0], a = s[1];
2551
+ r[h] = a;
2552
2552
  }
2553
2553
  return r;
2554
2554
  }
2555
2555
  )
2556
- ), mr = ki ? (
2556
+ ), pr = Fi ? (
2557
2557
  // Native
2558
2558
  function(t, r) {
2559
2559
  return t.codePointAt(r);
@@ -2567,7 +2567,7 @@ var Mt = Li ? (
2567
2567
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2568
2568
  }
2569
2569
  }
2570
- ), zi = Ui ? (
2570
+ ), Wi = Vi ? (
2571
2571
  // Native
2572
2572
  function(t) {
2573
2573
  return t.trimStart();
@@ -2575,9 +2575,9 @@ var Mt = Li ? (
2575
2575
  ) : (
2576
2576
  // Ponyfill
2577
2577
  function(t) {
2578
- return t.replace(Di, "");
2578
+ return t.replace(Ii, "");
2579
2579
  }
2580
- ), Xi = Fi ? (
2580
+ ), qi = Gi ? (
2581
2581
  // Native
2582
2582
  function(t) {
2583
2583
  return t.trimEnd();
@@ -2585,32 +2585,32 @@ var Mt = Li ? (
2585
2585
  ) : (
2586
2586
  // Ponyfill
2587
2587
  function(t) {
2588
- return t.replace(Ii, "");
2588
+ return t.replace(Ni, "");
2589
2589
  }
2590
2590
  );
2591
- function pr(e, t) {
2591
+ function gr(e, t) {
2592
2592
  return new RegExp(e, t);
2593
2593
  }
2594
2594
  var mt;
2595
2595
  if (ct) {
2596
- var Dt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
+ var Lt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
2597
  mt = function(t, r) {
2598
2598
  var i;
2599
- Dt.lastIndex = r;
2600
- var n = Dt.exec(t);
2599
+ Lt.lastIndex = r;
2600
+ var n = Lt.exec(t);
2601
2601
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2602
2602
  };
2603
2603
  } else
2604
2604
  mt = function(t, r) {
2605
2605
  for (var i = []; ; ) {
2606
- var n = mr(t, r);
2607
- if (n === void 0 || gr(n) || Zi(n))
2606
+ var n = pr(t, r);
2607
+ if (n === void 0 || vr(n) || Qi(n))
2608
2608
  break;
2609
2609
  i.push(n), r += n >= 65536 ? 2 : 1;
2610
2610
  }
2611
2611
  return dt.apply(void 0, i);
2612
2612
  };
2613
- var Wi = (
2613
+ var Yi = (
2614
2614
  /** @class */
2615
2615
  function() {
2616
2616
  function e(t, r) {
@@ -2624,17 +2624,17 @@ var Wi = (
2624
2624
  for (var n = []; !this.isEOF(); ) {
2625
2625
  var s = this.char();
2626
2626
  if (s === 123) {
2627
- var l = this.parseArgument(t, i);
2628
- if (l.err)
2629
- return l;
2630
- n.push(l.val);
2627
+ var h = this.parseArgument(t, i);
2628
+ if (h.err)
2629
+ return h;
2630
+ n.push(h.val);
2631
2631
  } else {
2632
2632
  if (s === 125 && t > 0)
2633
2633
  break;
2634
2634
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2635
2635
  var a = this.clonePosition();
2636
2636
  this.bump(), n.push({
2637
- type: M.pound,
2637
+ type: C.pound,
2638
2638
  location: O(a, this.clonePosition())
2639
2639
  });
2640
2640
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2642,15 +2642,15 @@ var Wi = (
2642
2642
  break;
2643
2643
  return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2644
2644
  } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2645
- var l = this.parseTag(t, r);
2646
- if (l.err)
2647
- return l;
2648
- n.push(l.val);
2645
+ var h = this.parseTag(t, r);
2646
+ if (h.err)
2647
+ return h;
2648
+ n.push(h.val);
2649
2649
  } else {
2650
- var l = this.parseLiteral(t, r);
2651
- if (l.err)
2652
- return l;
2653
- n.push(l.val);
2650
+ var h = this.parseLiteral(t, r);
2651
+ if (h.err)
2652
+ return h;
2653
+ n.push(h.val);
2654
2654
  }
2655
2655
  }
2656
2656
  }
@@ -2662,7 +2662,7 @@ var Wi = (
2662
2662
  if (this.bumpSpace(), this.bumpIf("/>"))
2663
2663
  return {
2664
2664
  val: {
2665
- type: M.literal,
2665
+ type: C.literal,
2666
2666
  value: "<".concat(n, "/>"),
2667
2667
  location: O(i, this.clonePosition())
2668
2668
  },
@@ -2672,16 +2672,16 @@ var Wi = (
2672
2672
  var s = this.parseMessage(t + 1, r, !0);
2673
2673
  if (s.err)
2674
2674
  return s;
2675
- var l = s.val, a = this.clonePosition();
2675
+ var h = s.val, a = this.clonePosition();
2676
2676
  if (this.bumpIf("</")) {
2677
2677
  if (this.isEOF() || !pt(this.char()))
2678
2678
  return this.error(T.INVALID_TAG, O(a, this.clonePosition()));
2679
2679
  var o = this.clonePosition(), u = this.parseTagName();
2680
2680
  return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2681
2681
  val: {
2682
- type: M.tag,
2682
+ type: C.tag,
2683
2683
  value: n,
2684
- children: l,
2684
+ children: h,
2685
2685
  location: O(i, this.clonePosition())
2686
2686
  },
2687
2687
  err: null
@@ -2692,7 +2692,7 @@ var Wi = (
2692
2692
  return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2693
2693
  }, e.prototype.parseTagName = function() {
2694
2694
  var t = this.offset();
2695
- for (this.bump(); !this.isEOF() && Yi(this.char()); )
2695
+ for (this.bump(); !this.isEOF() && Ji(this.char()); )
2696
2696
  this.bump();
2697
2697
  return this.message.slice(t, this.offset());
2698
2698
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2702,9 +2702,9 @@ var Wi = (
2702
2702
  n += s;
2703
2703
  continue;
2704
2704
  }
2705
- var l = this.tryParseUnquoted(t, r);
2706
- if (l) {
2707
- n += l;
2705
+ var h = this.tryParseUnquoted(t, r);
2706
+ if (h) {
2707
+ n += h;
2708
2708
  continue;
2709
2709
  }
2710
2710
  var a = this.tryParseLeftAngleBracket();
@@ -2716,12 +2716,12 @@ var Wi = (
2716
2716
  }
2717
2717
  var o = O(i, this.clonePosition());
2718
2718
  return {
2719
- val: { type: M.literal, value: n, location: o },
2719
+ val: { type: C.literal, value: n, location: o },
2720
2720
  err: null
2721
2721
  };
2722
2722
  }, e.prototype.tryParseLeftAngleBracket = function() {
2723
2723
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2724
- !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
+ !Zi(this.peek() || 0)) ? (this.bump(), "<") : null;
2725
2725
  }, e.prototype.tryParseQuote = function(t) {
2726
2726
  if (this.isEOF() || this.char() !== 39)
2727
2727
  return null;
@@ -2776,7 +2776,7 @@ var Wi = (
2776
2776
  case 125:
2777
2777
  return this.bump(), {
2778
2778
  val: {
2779
- type: M.argument,
2779
+ type: C.argument,
2780
2780
  // value does not include the opening and closing braces.
2781
2781
  value: n,
2782
2782
  location: O(i, this.clonePosition())
@@ -2791,13 +2791,13 @@ var Wi = (
2791
2791
  }, e.prototype.parseIdentifierIfPossible = function() {
2792
2792
  var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2793
2793
  this.bumpTo(n);
2794
- var s = this.clonePosition(), l = O(t, s);
2795
- return { value: i, location: l };
2794
+ var s = this.clonePosition(), h = O(t, s);
2795
+ return { value: i, location: h };
2796
2796
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2797
- var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2797
+ var s, h = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2798
2798
  switch (a) {
2799
2799
  case "":
2800
- return this.error(T.EXPECT_ARGUMENT_TYPE, O(l, o));
2800
+ return this.error(T.EXPECT_ARGUMENT_TYPE, O(h, o));
2801
2801
  case "number":
2802
2802
  case "date":
2803
2803
  case "time": {
@@ -2805,47 +2805,47 @@ var Wi = (
2805
2805
  var u = null;
2806
2806
  if (this.bumpIf(",")) {
2807
2807
  this.bumpSpace();
2808
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2809
- if (c.err)
2810
- return c;
2811
- var m = Xi(c.val);
2812
- if (m.length === 0)
2808
+ var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2809
+ if (d.err)
2810
+ return d;
2811
+ var p = qi(d.val);
2812
+ if (p.length === 0)
2813
2813
  return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2814
- var E = O(h, this.clonePosition());
2815
- u = { style: m, styleLocation: E };
2814
+ var _ = O(l, this.clonePosition());
2815
+ u = { style: p, styleLocation: _ };
2816
2816
  }
2817
2817
  var H = this.tryParseArgumentClose(n);
2818
2818
  if (H.err)
2819
2819
  return H;
2820
2820
  var v = O(n, this.clonePosition());
2821
- if (u && Mt(u?.style, "::", 0)) {
2822
- var A = zi(u.style.slice(2));
2821
+ if (u && Ct(u?.style, "::", 0)) {
2822
+ var $ = Wi(u.style.slice(2));
2823
2823
  if (a === "number") {
2824
- var c = this.parseNumberSkeletonFromString(A, u.styleLocation);
2825
- return c.err ? c : {
2826
- val: { type: M.number, value: i, location: v, style: c.val },
2824
+ var d = this.parseNumberSkeletonFromString($, u.styleLocation);
2825
+ return d.err ? d : {
2826
+ val: { type: C.number, value: i, location: v, style: d.val },
2827
2827
  err: null
2828
2828
  };
2829
2829
  } else {
2830
- if (A.length === 0)
2830
+ if ($.length === 0)
2831
2831
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2832
- var V = A;
2833
- this.locale && (V = Mi(A, this.locale));
2834
- var m = {
2832
+ var U = $;
2833
+ this.locale && (U = Di($, this.locale));
2834
+ var p = {
2835
2835
  type: Te.dateTime,
2836
- pattern: V,
2836
+ pattern: U,
2837
2837
  location: u.styleLocation,
2838
- parsedOptions: this.shouldParseSkeletons ? Ti(V) : {}
2839
- }, U = a === "date" ? M.date : M.time;
2838
+ parsedOptions: this.shouldParseSkeletons ? Oi(U) : {}
2839
+ }, F = a === "date" ? C.date : C.time;
2840
2840
  return {
2841
- val: { type: U, value: i, location: v, style: m },
2841
+ val: { type: F, value: i, location: v, style: p },
2842
2842
  err: null
2843
2843
  };
2844
2844
  }
2845
2845
  }
2846
2846
  return {
2847
2847
  val: {
2848
- type: a === "number" ? M.number : a === "date" ? M.date : M.time,
2848
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2849
2849
  value: i,
2850
2850
  location: v,
2851
2851
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2856,49 +2856,49 @@ var Wi = (
2856
2856
  case "plural":
2857
2857
  case "selectordinal":
2858
2858
  case "select": {
2859
- var $ = this.clonePosition();
2859
+ var B = this.clonePosition();
2860
2860
  if (this.bumpSpace(), !this.bumpIf(","))
2861
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O($, ze({}, $)));
2861
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B, Xe({}, B)));
2862
2862
  this.bumpSpace();
2863
- var z = this.parseIdentifierIfPossible(), I = 0;
2864
- if (a !== "select" && z.value === "offset") {
2863
+ var W = this.parseIdentifierIfPossible(), N = 0;
2864
+ if (a !== "select" && W.value === "offset") {
2865
2865
  if (!this.bumpIf(":"))
2866
2866
  return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2867
2867
  this.bumpSpace();
2868
- var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2869
- if (c.err)
2870
- return c;
2871
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
2868
+ var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2869
+ if (d.err)
2870
+ return d;
2871
+ this.bumpSpace(), W = this.parseIdentifierIfPossible(), N = d.val;
2872
2872
  }
2873
- var L = this.tryParsePluralOrSelectOptions(t, a, r, z);
2874
- if (L.err)
2875
- return L;
2873
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, W);
2874
+ if (k.err)
2875
+ return k;
2876
2876
  var H = this.tryParseArgumentClose(n);
2877
2877
  if (H.err)
2878
2878
  return H;
2879
- var q = O(n, this.clonePosition());
2879
+ var j = O(n, this.clonePosition());
2880
2880
  return a === "select" ? {
2881
2881
  val: {
2882
- type: M.select,
2882
+ type: C.select,
2883
2883
  value: i,
2884
- options: Ct(L.val),
2885
- location: q
2884
+ options: Dt(k.val),
2885
+ location: j
2886
2886
  },
2887
2887
  err: null
2888
2888
  } : {
2889
2889
  val: {
2890
- type: M.plural,
2890
+ type: C.plural,
2891
2891
  value: i,
2892
- options: Ct(L.val),
2893
- offset: I,
2892
+ options: Dt(k.val),
2893
+ offset: N,
2894
2894
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2895
- location: q
2895
+ location: j
2896
2896
  },
2897
2897
  err: null
2898
2898
  };
2899
2899
  }
2900
2900
  default:
2901
- return this.error(T.INVALID_ARGUMENT_TYPE, O(l, o));
2901
+ return this.error(T.INVALID_ARGUMENT_TYPE, O(h, o));
2902
2902
  }
2903
2903
  }, e.prototype.tryParseArgumentClose = function(t) {
2904
2904
  return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2940,7 +2940,7 @@ var Wi = (
2940
2940
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2941
2941
  var i = [];
2942
2942
  try {
2943
- i = Oi(t);
2943
+ i = Ai(t);
2944
2944
  } catch {
2945
2945
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2946
2946
  }
@@ -2949,55 +2949,55 @@ var Wi = (
2949
2949
  type: Te.number,
2950
2950
  tokens: i,
2951
2951
  location: r,
2952
- parsedOptions: this.shouldParseSkeletons ? Bi(i) : {}
2952
+ parsedOptions: this.shouldParseSkeletons ? Ci(i) : {}
2953
2953
  },
2954
2954
  err: null
2955
2955
  };
2956
2956
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2957
- for (var s, l = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
2957
+ for (var s, h = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
2958
2958
  if (u.length === 0) {
2959
- var c = this.clonePosition();
2959
+ var d = this.clonePosition();
2960
2960
  if (r !== "select" && this.bumpIf("=")) {
2961
- var m = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
2962
- if (m.err)
2963
- return m;
2964
- h = O(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2961
+ var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
2962
+ if (p.err)
2963
+ return p;
2964
+ l = O(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2965
2965
  } else
2966
2966
  break;
2967
2967
  }
2968
2968
  if (o.has(u))
2969
- return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2970
- u === "other" && (l = !0), this.bumpSpace();
2971
- var E = this.clonePosition();
2969
+ return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2970
+ u === "other" && (h = !0), this.bumpSpace();
2971
+ var _ = this.clonePosition();
2972
2972
  if (!this.bumpIf("{"))
2973
2973
  return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2974
2974
  var H = this.parseMessage(t + 1, r, i);
2975
2975
  if (H.err)
2976
2976
  return H;
2977
- var v = this.tryParseArgumentClose(E);
2977
+ var v = this.tryParseArgumentClose(_);
2978
2978
  if (v.err)
2979
2979
  return v;
2980
2980
  a.push([
2981
2981
  u,
2982
2982
  {
2983
2983
  value: H.val,
2984
- location: O(E, this.clonePosition())
2984
+ location: O(_, this.clonePosition())
2985
2985
  }
2986
- ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2986
+ ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
2987
2987
  }
2988
- return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(T.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2988
+ return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !h ? this.error(T.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2989
2989
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2990
2990
  var i = 1, n = this.clonePosition();
2991
2991
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2992
- for (var s = !1, l = 0; !this.isEOF(); ) {
2992
+ for (var s = !1, h = 0; !this.isEOF(); ) {
2993
2993
  var a = this.char();
2994
2994
  if (a >= 48 && a <= 57)
2995
- s = !0, l = l * 10 + (a - 48), this.bump();
2995
+ s = !0, h = h * 10 + (a - 48), this.bump();
2996
2996
  else
2997
2997
  break;
2998
2998
  }
2999
2999
  var o = O(n, this.clonePosition());
3000
- return s ? (l *= i, Gi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
3000
+ return s ? (h *= i, zi(h) ? { val: h, err: null } : this.error(r, o)) : this.error(t, o);
3001
3001
  }, e.prototype.offset = function() {
3002
3002
  return this.position.offset;
3003
3003
  }, e.prototype.isEOF = function() {
@@ -3012,7 +3012,7 @@ var Wi = (
3012
3012
  var t = this.position.offset;
3013
3013
  if (t >= this.message.length)
3014
3014
  throw Error("out of bound");
3015
- var r = mr(this.message, t);
3015
+ var r = pr(this.message, t);
3016
3016
  if (r === void 0)
3017
3017
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3018
3018
  return r;
@@ -3031,7 +3031,7 @@ var Wi = (
3031
3031
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3032
3032
  }
3033
3033
  }, e.prototype.bumpIf = function(t) {
3034
- if (Mt(this.message, t, this.offset())) {
3034
+ if (Ct(this.message, t, this.offset())) {
3035
3035
  for (var r = 0; r < t.length; r++)
3036
3036
  this.bump();
3037
3037
  return !0;
@@ -3053,7 +3053,7 @@ var Wi = (
3053
3053
  break;
3054
3054
  }
3055
3055
  }, e.prototype.bumpSpace = function() {
3056
- for (; !this.isEOF() && gr(this.char()); )
3056
+ for (; !this.isEOF() && vr(this.char()); )
3057
3057
  this.bump();
3058
3058
  }, e.prototype.peek = function() {
3059
3059
  if (this.isEOF())
@@ -3066,30 +3066,30 @@ var Wi = (
3066
3066
  function pt(e) {
3067
3067
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3068
3068
  }
3069
- function qi(e) {
3069
+ function Zi(e) {
3070
3070
  return pt(e) || e === 47;
3071
3071
  }
3072
- function Yi(e) {
3072
+ function Ji(e) {
3073
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;
3074
3074
  }
3075
- function gr(e) {
3075
+ function vr(e) {
3076
3076
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3077
3077
  }
3078
- function Zi(e) {
3078
+ function Qi(e) {
3079
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;
3080
3080
  }
3081
3081
  function gt(e) {
3082
3082
  e.forEach(function(t) {
3083
- if (delete t.location, or(t) || ar(t))
3083
+ if (delete t.location, ar(t) || ur(t))
3084
3084
  for (var r in t.options)
3085
3085
  delete t.options[r].location, gt(t.options[r].value);
3086
3086
  else
3087
- ir(t) && lr(t.style) || (nr(t) || sr(t)) && ft(t.style) ? delete t.style.location : ur(t) && gt(t.children);
3087
+ nr(t) && hr(t.style) || (sr(t) || or(t)) && ft(t.style) ? delete t.style.location : lr(t) && gt(t.children);
3088
3088
  });
3089
3089
  }
3090
- function Ji(e, t) {
3091
- t === void 0 && (t = {}), t = ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
- var r = new Wi(e, t).parse();
3090
+ function Ki(e, t) {
3091
+ t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
+ var r = new Yi(e, t).parse();
3093
3093
  if (r.err) {
3094
3094
  var i = SyntaxError(T[r.err.kind]);
3095
3095
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -3121,7 +3121,7 @@ var Je = (
3121
3121
  }
3122
3122
  return t;
3123
3123
  }(Je)
3124
- ), Qi = (
3124
+ ), en = (
3125
3125
  /** @class */
3126
3126
  function(e) {
3127
3127
  Ze(t, e);
@@ -3130,7 +3130,7 @@ var Je = (
3130
3130
  }
3131
3131
  return t;
3132
3132
  }(Je)
3133
- ), Ki = (
3133
+ ), tn = (
3134
3134
  /** @class */
3135
3135
  function(e) {
3136
3136
  Ze(t, e);
@@ -3139,126 +3139,126 @@ var Je = (
3139
3139
  }
3140
3140
  return t;
3141
3141
  }(Je)
3142
- ), j;
3142
+ ), X;
3143
3143
  (function(e) {
3144
3144
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3145
- })(j || (j = {}));
3146
- function en(e) {
3145
+ })(X || (X = {}));
3146
+ function rn(e) {
3147
3147
  return e.length < 2 ? e : e.reduce(function(t, r) {
3148
3148
  var i = t[t.length - 1];
3149
- return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3149
+ return !i || i.type !== X.literal || r.type !== X.literal ? t.push(r) : i.value += r.value, t;
3150
3150
  }, []);
3151
3151
  }
3152
- function tn(e) {
3152
+ function nn(e) {
3153
3153
  return typeof e == "function";
3154
3154
  }
3155
- function Ge(e, t, r, i, n, s, l) {
3156
- if (e.length === 1 && Pt(e[0]))
3155
+ function je(e, t, r, i, n, s, h) {
3156
+ if (e.length === 1 && At(e[0]))
3157
3157
  return [
3158
3158
  {
3159
- type: j.literal,
3159
+ type: X.literal,
3160
3160
  value: e[0].value
3161
3161
  }
3162
3162
  ];
3163
3163
  for (var a = [], o = 0, u = e; o < u.length; o++) {
3164
- var h = u[o];
3165
- if (Pt(h)) {
3164
+ var l = u[o];
3165
+ if (At(l)) {
3166
3166
  a.push({
3167
- type: j.literal,
3168
- value: h.value
3167
+ type: X.literal,
3168
+ value: l.value
3169
3169
  });
3170
3170
  continue;
3171
3171
  }
3172
- if (wi(h)) {
3172
+ if (Ti(l)) {
3173
3173
  typeof s == "number" && a.push({
3174
- type: j.literal,
3174
+ type: X.literal,
3175
3175
  value: r.getNumberFormat(t).format(s)
3176
3176
  });
3177
3177
  continue;
3178
3178
  }
3179
- var c = h.value;
3180
- if (!(n && c in n))
3181
- throw new Ki(c, l);
3182
- var m = n[c];
3183
- if (Ei(h)) {
3184
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3185
- type: typeof m == "string" ? j.literal : j.object,
3186
- value: m
3179
+ var d = l.value;
3180
+ if (!(n && d in n))
3181
+ throw new tn(d, h);
3182
+ var p = n[d];
3183
+ if (Si(l)) {
3184
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3185
+ type: typeof p == "string" ? X.literal : X.object,
3186
+ value: p
3187
3187
  });
3188
3188
  continue;
3189
3189
  }
3190
- if (nr(h)) {
3191
- var E = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3190
+ if (sr(l)) {
3191
+ var _ = typeof l.style == "string" ? i.date[l.style] : ft(l.style) ? l.style.parsedOptions : void 0;
3192
3192
  a.push({
3193
- type: j.literal,
3194
- value: r.getDateTimeFormat(t, E).format(m)
3193
+ type: X.literal,
3194
+ value: r.getDateTimeFormat(t, _).format(p)
3195
3195
  });
3196
3196
  continue;
3197
3197
  }
3198
- if (sr(h)) {
3199
- var E = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3198
+ if (or(l)) {
3199
+ var _ = typeof l.style == "string" ? i.time[l.style] : ft(l.style) ? l.style.parsedOptions : i.time.medium;
3200
3200
  a.push({
3201
- type: j.literal,
3202
- value: r.getDateTimeFormat(t, E).format(m)
3201
+ type: X.literal,
3202
+ value: r.getDateTimeFormat(t, _).format(p)
3203
3203
  });
3204
3204
  continue;
3205
3205
  }
3206
- if (ir(h)) {
3207
- var E = typeof h.style == "string" ? i.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3208
- E && E.scale && (m = m * (E.scale || 1)), a.push({
3209
- type: j.literal,
3210
- value: r.getNumberFormat(t, E).format(m)
3206
+ if (nr(l)) {
3207
+ var _ = typeof l.style == "string" ? i.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3208
+ _ && _.scale && (p = p * (_.scale || 1)), a.push({
3209
+ type: X.literal,
3210
+ value: r.getNumberFormat(t, _).format(p)
3211
3211
  });
3212
3212
  continue;
3213
3213
  }
3214
- if (ur(h)) {
3215
- var H = h.children, v = h.value, A = n[v];
3216
- if (!tn(A))
3217
- throw new Qi(v, "function", l);
3218
- var V = Ge(H, t, r, i, n, s), U = A(V.map(function(I) {
3219
- return I.value;
3214
+ if (lr(l)) {
3215
+ var H = l.children, v = l.value, $ = n[v];
3216
+ if (!nn($))
3217
+ throw new en(v, "function", h);
3218
+ var U = je(H, t, r, i, n, s), F = $(U.map(function(N) {
3219
+ return N.value;
3220
3220
  }));
3221
- Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(I) {
3221
+ Array.isArray(F) || (F = [F]), a.push.apply(a, F.map(function(N) {
3222
3222
  return {
3223
- type: typeof I == "string" ? j.literal : j.object,
3224
- value: I
3223
+ type: typeof N == "string" ? X.literal : X.object,
3224
+ value: N
3225
3225
  };
3226
3226
  }));
3227
3227
  }
3228
- if (or(h)) {
3229
- var $ = h.options[m] || h.options.other;
3230
- if (!$)
3231
- throw new It(h.value, m, Object.keys(h.options), l);
3232
- a.push.apply(a, Ge($.value, t, r, i, n));
3228
+ if (ar(l)) {
3229
+ var B = l.options[p] || l.options.other;
3230
+ if (!B)
3231
+ throw new It(l.value, p, Object.keys(l.options), h);
3232
+ a.push.apply(a, je(B.value, t, r, i, n));
3233
3233
  continue;
3234
3234
  }
3235
- if (ar(h)) {
3236
- var $ = h.options["=".concat(m)];
3237
- if (!$) {
3235
+ if (ur(l)) {
3236
+ var B = l.options["=".concat(p)];
3237
+ if (!B) {
3238
3238
  if (!Intl.PluralRules)
3239
3239
  throw new Je(`Intl.PluralRules is not available in this environment.
3240
3240
  Try polyfilling it using "@formatjs/intl-pluralrules"
3241
- `, He.MISSING_INTL_API, l);
3242
- var z = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3243
- $ = h.options[z] || h.options.other;
3241
+ `, He.MISSING_INTL_API, h);
3242
+ var W = r.getPluralRules(t, { type: l.pluralType }).select(p - (l.offset || 0));
3243
+ B = l.options[W] || l.options.other;
3244
3244
  }
3245
- if (!$)
3246
- throw new It(h.value, m, Object.keys(h.options), l);
3247
- a.push.apply(a, Ge($.value, t, r, i, n, m - (h.offset || 0)));
3245
+ if (!B)
3246
+ throw new It(l.value, p, Object.keys(l.options), h);
3247
+ a.push.apply(a, je(B.value, t, r, i, n, p - (l.offset || 0)));
3248
3248
  continue;
3249
3249
  }
3250
3250
  }
3251
- return en(a);
3251
+ return rn(a);
3252
3252
  }
3253
- function rn(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;
3253
+ function sn(e, t) {
3254
+ return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
+ return r[i] = re(re({}, e[i]), t[i] || {}), r;
3256
3256
  }, {})) : e;
3257
3257
  }
3258
- function nn(e, t) {
3258
+ function on(e, t) {
3259
3259
  return t ? Object.keys(e).reduce(function(r, i) {
3260
- return r[i] = rn(e[i], t[i]), r;
3261
- }, ie({}, e)) : e;
3260
+ return r[i] = sn(e[i], t[i]), r;
3261
+ }, re({}, e)) : e;
3262
3262
  }
3263
3263
  function st(e) {
3264
3264
  return {
@@ -3274,7 +3274,7 @@ function st(e) {
3274
3274
  }
3275
3275
  };
3276
3276
  }
3277
- function sn(e) {
3277
+ function an(e) {
3278
3278
  return e === void 0 && (e = {
3279
3279
  number: {},
3280
3280
  dateTime: {},
@@ -3306,7 +3306,7 @@ function sn(e) {
3306
3306
  })
3307
3307
  };
3308
3308
  }
3309
- var vr = (
3309
+ var br = (
3310
3310
  /** @class */
3311
3311
  function() {
3312
3312
  function e(t, r, i, n) {
@@ -3320,12 +3320,12 @@ var vr = (
3320
3320
  var u = s.formatToParts(o);
3321
3321
  if (u.length === 1)
3322
3322
  return u[0].value;
3323
- var h = u.reduce(function(c, m) {
3324
- return !c.length || m.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3323
+ var l = u.reduce(function(d, p) {
3324
+ return !d.length || p.type !== X.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3325
3325
  }, []);
3326
- return h.length <= 1 ? h[0] || "" : h;
3326
+ return l.length <= 1 ? l[0] || "" : l;
3327
3327
  }, this.formatToParts = function(o) {
3328
- 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);
3329
3329
  }, this.resolvedOptions = function() {
3330
3330
  var o;
3331
3331
  return {
@@ -3336,15 +3336,15 @@ var vr = (
3336
3336
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3337
3337
  if (this.message = t, !e.__parse)
3338
3338
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3339
- var l = n || {};
3340
- l.formatters;
3341
- var a = mi(l, ["formatters"]);
3342
- this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3339
+ var h = n || {};
3340
+ h.formatters;
3341
+ var a = gi(h, ["formatters"]);
3342
+ this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
3343
3343
  } else
3344
3344
  this.ast = t;
3345
3345
  if (!Array.isArray(this.ast))
3346
3346
  throw new TypeError("A message must be provided as a String or AST.");
3347
- this.formats = nn(e.formats, i), this.formatters = n && n.formatters || sn(this.formatterCache);
3347
+ this.formats = on(e.formats, i), this.formatters = n && n.formatters || an(this.formatterCache);
3348
3348
  }
3349
3349
  return Object.defineProperty(e, "defaultLocale", {
3350
3350
  get: function() {
@@ -3357,7 +3357,7 @@ var vr = (
3357
3357
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3358
3358
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3359
3359
  }
3360
- }, e.__parse = Ji, e.formats = {
3360
+ }, e.__parse = Ki, e.formats = {
3361
3361
  number: {
3362
3362
  integer: {
3363
3363
  maximumFractionDigits: 0
@@ -3418,7 +3418,7 @@ var vr = (
3418
3418
  }, e;
3419
3419
  }()
3420
3420
  );
3421
- function on(e, t) {
3421
+ function un(e, t) {
3422
3422
  if (t == null)
3423
3423
  return;
3424
3424
  if (t in e)
@@ -3439,101 +3439,101 @@ function on(e, t) {
3439
3439
  i = void 0;
3440
3440
  return i;
3441
3441
  }
3442
- const fe = {}, an = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), br = (e, t) => {
3442
+ const he = {}, ln = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), yr = (e, t) => {
3443
3443
  if (t == null)
3444
3444
  return;
3445
- if (t in fe && e in fe[t])
3446
- return fe[t][e];
3447
- const r = Re(t);
3445
+ if (t in he && e in he[t])
3446
+ return he[t][e];
3447
+ const r = ke(t);
3448
3448
  for (let i = 0; i < r.length; i++) {
3449
- const n = r[i], s = ln(n, e);
3449
+ const n = r[i], s = fn(n, e);
3450
3450
  if (s)
3451
- return an(e, t, s);
3451
+ return ln(e, t, s);
3452
3452
  }
3453
3453
  };
3454
3454
  let Et;
3455
- const Ne = Ye({});
3456
- function un(e) {
3455
+ const Re = Ne({});
3456
+ function hn(e) {
3457
3457
  return Et[e] || null;
3458
3458
  }
3459
- function yr(e) {
3459
+ function _r(e) {
3460
3460
  return e in Et;
3461
3461
  }
3462
- function ln(e, t) {
3463
- if (!yr(e))
3462
+ function fn(e, t) {
3463
+ if (!_r(e))
3464
3464
  return null;
3465
- const r = un(e);
3466
- return on(r, t);
3465
+ const r = hn(e);
3466
+ return un(r, t);
3467
3467
  }
3468
- function hn(e) {
3468
+ function cn(e) {
3469
3469
  if (e == null)
3470
3470
  return;
3471
- const t = Re(e);
3471
+ const t = ke(e);
3472
3472
  for (let r = 0; r < t.length; r++) {
3473
3473
  const i = t[r];
3474
- if (yr(i))
3474
+ if (_r(i))
3475
3475
  return i;
3476
3476
  }
3477
3477
  }
3478
- function _r(e, ...t) {
3479
- delete fe[e], Ne.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3478
+ function xr(e, ...t) {
3479
+ delete he[e], Re.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3480
3480
  }
3481
3481
  Pe(
3482
- [Ne],
3482
+ [Re],
3483
3483
  ([e]) => Object.keys(e)
3484
3484
  );
3485
- Ne.subscribe((e) => Et = e);
3486
- const je = {};
3487
- function fn(e, t) {
3488
- je[e].delete(t), je[e].size === 0 && delete je[e];
3485
+ Re.subscribe((e) => Et = e);
3486
+ const ze = {};
3487
+ function dn(e, t) {
3488
+ ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3489
3489
  }
3490
- function xr(e) {
3491
- return je[e];
3490
+ function Er(e) {
3491
+ return ze[e];
3492
3492
  }
3493
- function cn(e) {
3494
- return Re(e).map((t) => {
3495
- const r = xr(t);
3493
+ function mn(e) {
3494
+ return ke(e).map((t) => {
3495
+ const r = Er(t);
3496
3496
  return [t, r ? [...r] : []];
3497
3497
  }).filter(([, t]) => t.length > 0);
3498
3498
  }
3499
- function Xe(e) {
3500
- return e == null ? !1 : Re(e).some(
3499
+ function We(e) {
3500
+ return e == null ? !1 : ke(e).some(
3501
3501
  (t) => {
3502
3502
  var r;
3503
- return (r = xr(t)) == null ? void 0 : r.size;
3503
+ return (r = Er(t)) == null ? void 0 : r.size;
3504
3504
  }
3505
3505
  );
3506
3506
  }
3507
- function dn(e, t) {
3507
+ function pn(e, t) {
3508
3508
  return Promise.all(
3509
- t.map((i) => (fn(e, i), i().then((n) => n.default || n)))
3510
- ).then((i) => _r(e, ...i));
3509
+ t.map((i) => (dn(e, i), i().then((n) => n.default || n)))
3510
+ ).then((i) => xr(e, ...i));
3511
3511
  }
3512
3512
  const $e = {};
3513
- function Er(e) {
3514
- if (!Xe(e))
3513
+ function wr(e) {
3514
+ if (!We(e))
3515
3515
  return e in $e ? $e[e] : Promise.resolve();
3516
- const t = cn(e);
3516
+ const t = mn(e);
3517
3517
  return $e[e] = Promise.all(
3518
3518
  t.map(
3519
- ([r, i]) => dn(r, i)
3519
+ ([r, i]) => pn(r, i)
3520
3520
  )
3521
3521
  ).then(() => {
3522
- if (Xe(e))
3523
- return Er(e);
3522
+ if (We(e))
3523
+ return wr(e);
3524
3524
  delete $e[e];
3525
3525
  }), $e[e];
3526
3526
  }
3527
- var Lt = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, gn = (e, t) => {
3527
+ var Nt = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, bn = (e, t) => {
3528
3528
  var r = {};
3529
3529
  for (var i in e)
3530
- mn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3531
- if (e != null && Lt)
3532
- for (var i of Lt(e))
3533
- t.indexOf(i) < 0 && pn.call(e, i) && (r[i] = e[i]);
3530
+ gn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3531
+ if (e != null && Nt)
3532
+ for (var i of Nt(e))
3533
+ t.indexOf(i) < 0 && vn.call(e, i) && (r[i] = e[i]);
3534
3534
  return r;
3535
3535
  };
3536
- const vn = {
3536
+ const yn = {
3537
3537
  number: {
3538
3538
  scientific: { notation: "scientific" },
3539
3539
  engineering: { notation: "engineering" },
@@ -3563,81 +3563,81 @@ const vn = {
3563
3563
  }
3564
3564
  }
3565
3565
  };
3566
- function bn({ locale: e, id: t }) {
3566
+ function _n({ locale: e, id: t }) {
3567
3567
  console.warn(
3568
- `[svelte-i18n] The message "${t}" was not found in "${Re(
3568
+ `[svelte-i18n] The message "${t}" was not found in "${ke(
3569
3569
  e
3570
- ).join('", "')}".${Xe(ce()) ? `
3570
+ ).join('", "')}".${We(fe()) ? `
3571
3571
 
3572
3572
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3573
3573
  );
3574
3574
  }
3575
- const yn = {
3575
+ const xn = {
3576
3576
  fallbackLocale: null,
3577
3577
  loadingDelay: 200,
3578
- formats: vn,
3578
+ formats: yn,
3579
3579
  warnOnMissingMessages: !0,
3580
3580
  handleMissingMessage: void 0,
3581
3581
  ignoreTag: !0
3582
- }, Be = yn;
3582
+ }, Be = xn;
3583
3583
  function Oe() {
3584
3584
  return Be;
3585
3585
  }
3586
- function _n(e) {
3587
- const t = e, { formats: r } = t, i = gn(t, ["formats"]);
3586
+ function En(e) {
3587
+ const t = e, { formats: r } = t, i = bn(t, ["formats"]);
3588
3588
  let n = e.fallbackLocale;
3589
3589
  if (e.initialLocale)
3590
3590
  try {
3591
- vr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3591
+ br.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3592
3592
  } catch {
3593
3593
  console.warn(
3594
3594
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3595
3595
  );
3596
3596
  }
3597
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3597
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = _n : console.warn(
3598
3598
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3599
- )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), me.set(n);
3599
+ )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), pe.set(n);
3600
3600
  }
3601
- const ot = Ye(!1);
3602
- var xn = Object.defineProperty, En = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hn = (e, t) => {
3601
+ const ot = Ne(!1);
3602
+ var wn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3603
3603
  for (var r in t || (t = {}))
3604
- Sn.call(t, r) && Rt(e, r, t[r]);
3605
- if (Nt)
3606
- for (var r of Nt(t))
3607
- Tn.call(t, r) && Rt(e, r, t[r]);
3604
+ Hn.call(t, r) && kt(e, r, t[r]);
3605
+ if (Rt)
3606
+ for (var r of Rt(t))
3607
+ On.call(t, r) && kt(e, r, t[r]);
3608
3608
  return e;
3609
- }, On = (e, t) => En(e, wn(t));
3609
+ }, An = (e, t) => Sn(e, Tn(t));
3610
3610
  let vt;
3611
- const We = Ye(null);
3612
- function kt(e) {
3611
+ const qe = Ne(null);
3612
+ function Ut(e) {
3613
3613
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3614
3614
  }
3615
- function Re(e, t = Oe().fallbackLocale) {
3616
- const r = kt(e);
3617
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3615
+ function ke(e, t = Oe().fallbackLocale) {
3616
+ const r = Ut(e);
3617
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
3618
3618
  }
3619
- function ce() {
3619
+ function fe() {
3620
3620
  return vt ?? void 0;
3621
3621
  }
3622
- We.subscribe((e) => {
3622
+ qe.subscribe((e) => {
3623
3623
  vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3624
3624
  });
3625
- const Pn = (e) => {
3626
- if (e && hn(e) && Xe(e)) {
3625
+ const $n = (e) => {
3626
+ if (e && cn(e) && We(e)) {
3627
3627
  const { loadingDelay: t } = Oe();
3628
3628
  let r;
3629
- return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3629
+ return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
3630
3630
  () => ot.set(!0),
3631
3631
  t
3632
- ) : ot.set(!0), Er(e).then(() => {
3633
- We.set(e);
3632
+ ) : ot.set(!0), wr(e).then(() => {
3633
+ qe.set(e);
3634
3634
  }).finally(() => {
3635
3635
  clearTimeout(r), ot.set(!1);
3636
3636
  });
3637
3637
  }
3638
- return We.set(e);
3639
- }, me = On(Hn({}, We), {
3640
- set: Pn
3638
+ return qe.set(e);
3639
+ }, pe = An(Pn({}, qe), {
3640
+ set: $n
3641
3641
  }), Qe = (e) => {
3642
3642
  const t = /* @__PURE__ */ Object.create(null);
3643
3643
  return (i) => {
@@ -3645,122 +3645,122 @@ const Pn = (e) => {
3645
3645
  return n in t ? t[n] : t[n] = e(i);
3646
3646
  };
3647
3647
  };
3648
- var An = Object.defineProperty, qe = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3648
+ var Bn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3649
3649
  for (var r in t || (t = {}))
3650
- wr.call(t, r) && Ut(e, r, t[r]);
3651
- if (qe)
3652
- for (var r of qe(t))
3653
- Sr.call(t, r) && Ut(e, r, t[r]);
3650
+ Sr.call(t, r) && Ft(e, r, t[r]);
3651
+ if (Ye)
3652
+ for (var r of Ye(t))
3653
+ Tr.call(t, r) && Ft(e, r, t[r]);
3654
3654
  return e;
3655
3655
  }, Ae = (e, t) => {
3656
3656
  var r = {};
3657
3657
  for (var i in e)
3658
- wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3659
- if (e != null && qe)
3660
- for (var i of qe(e))
3661
- t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3658
+ Sr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3659
+ if (e != null && Ye)
3660
+ for (var i of Ye(e))
3661
+ t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
3662
3662
  return r;
3663
3663
  };
3664
- const Ie = (e, t) => {
3664
+ const Le = (e, t) => {
3665
3665
  const { formats: r } = Oe();
3666
3666
  if (e in r && t in r[e])
3667
3667
  return r[e][t];
3668
3668
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3669
- }, $n = Qe(
3669
+ }, Mn = Qe(
3670
3670
  (e) => {
3671
3671
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3672
3672
  if (r == null)
3673
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3674
- return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3674
+ return i && (n = Le("number", i)), new Intl.NumberFormat(r, n);
3675
3675
  }
3676
- ), Bn = Qe(
3676
+ ), Cn = Qe(
3677
3677
  (e) => {
3678
3678
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3679
3679
  if (r == null)
3680
3680
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3681
- return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3681
+ return i ? n = Le("date", i) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(r, n);
3682
3682
  }
3683
- ), Mn = Qe(
3683
+ ), Dn = Qe(
3684
3684
  (e) => {
3685
3685
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3686
3686
  if (r == null)
3687
3687
  throw new Error(
3688
3688
  '[svelte-i18n] A "locale" must be set to format time values'
3689
3689
  );
3690
- return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3690
+ return i ? n = Le("time", i) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(r, n);
3691
3691
  }
3692
- ), Cn = (e = {}) => {
3692
+ ), Ln = (e = {}) => {
3693
3693
  var t = e, {
3694
- locale: r = ce()
3694
+ locale: r = fe()
3695
3695
  } = t, i = Ae(t, [
3696
3696
  "locale"
3697
3697
  ]);
3698
- return $n(wt({ locale: r }, i));
3699
- }, Dn = (e = {}) => {
3698
+ return Mn(wt({ locale: r }, i));
3699
+ }, In = (e = {}) => {
3700
3700
  var t = e, {
3701
- locale: r = ce()
3701
+ locale: r = fe()
3702
3702
  } = t, i = Ae(t, [
3703
3703
  "locale"
3704
3704
  ]);
3705
- return Bn(wt({ locale: r }, i));
3706
- }, In = (e = {}) => {
3705
+ return Cn(wt({ locale: r }, i));
3706
+ }, Nn = (e = {}) => {
3707
3707
  var t = e, {
3708
- locale: r = ce()
3708
+ locale: r = fe()
3709
3709
  } = t, i = Ae(t, [
3710
3710
  "locale"
3711
3711
  ]);
3712
- return Mn(wt({ locale: r }, i));
3713
- }, Ln = Qe(
3712
+ return Dn(wt({ locale: r }, i));
3713
+ }, Rn = Qe(
3714
3714
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3715
- (e, t = ce()) => new vr(e, t, Oe().formats, {
3715
+ (e, t = fe()) => new br(e, t, Oe().formats, {
3716
3716
  ignoreTag: Oe().ignoreTag
3717
3717
  })
3718
- ), Nn = (e, t = {}) => {
3718
+ ), kn = (e, t = {}) => {
3719
3719
  var r, i, n, s;
3720
- let l = t;
3721
- typeof e == "object" && (l = e, e = l.id);
3720
+ let h = t;
3721
+ typeof e == "object" && (h = e, e = h.id);
3722
3722
  const {
3723
3723
  values: a,
3724
- locale: o = ce(),
3724
+ locale: o = fe(),
3725
3725
  default: u
3726
- } = l;
3726
+ } = h;
3727
3727
  if (o == null)
3728
3728
  throw new Error(
3729
3729
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3730
3730
  );
3731
- let h = br(e, o);
3732
- if (!h)
3733
- h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3734
- else if (typeof h != "string")
3731
+ let l = yr(e, o);
3732
+ if (!l)
3733
+ l = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3734
+ else if (typeof l != "string")
3735
3735
  return console.warn(
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.`
3737
- ), h;
3736
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3737
+ ), l;
3738
3738
  if (!a)
3739
- return h;
3740
- let c = h;
3739
+ return l;
3740
+ let d = l;
3741
3741
  try {
3742
- c = Ln(h, o).format(a);
3743
- } catch (m) {
3744
- m instanceof Error && console.warn(
3742
+ d = Rn(l, o).format(a);
3743
+ } catch (p) {
3744
+ p instanceof Error && console.warn(
3745
3745
  `[svelte-i18n] Message "${e}" has syntax error:`,
3746
- m.message
3746
+ p.message
3747
3747
  );
3748
3748
  }
3749
- return c;
3750
- }, Rn = (e, t) => In(t).format(e), kn = (e, t) => Dn(t).format(e), Un = (e, t) => Cn(t).format(e), Fn = (e, t = ce()) => br(e, t), Vn = Pe([me, Ne], () => Nn);
3751
- Pe([me], () => Rn);
3752
- Pe([me], () => kn);
3753
- Pe([me], () => Un);
3754
- Pe([me, Ne], () => Fn);
3755
- function Ft(e, t) {
3756
- _r(e, t);
3757
- }
3758
- function Gn(e) {
3759
- _n({
3749
+ return d;
3750
+ }, Un = (e, t) => Nn(t).format(e), Fn = (e, t) => In(t).format(e), Vn = (e, t) => Ln(t).format(e), Gn = (e, t = fe()) => yr(e, t), jn = Pe([pe, Re], () => kn);
3751
+ Pe([pe], () => Un);
3752
+ Pe([pe], () => Fn);
3753
+ Pe([pe], () => Vn);
3754
+ Pe([pe, Re], () => Gn);
3755
+ function Vt(e, t) {
3756
+ xr(e, t);
3757
+ }
3758
+ function zn(e) {
3759
+ En({
3760
3760
  fallbackLocale: "en"
3761
- }), me.set(e);
3761
+ }), pe.set(e);
3762
3762
  }
3763
- const Vt = {
3763
+ const Gt = {
3764
3764
  en: {
3765
3765
  "verification.video.how-to": "How to verify yourself",
3766
3766
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3828,193 +3828,194 @@ if (typeof window < "u") {
3828
3828
  }
3829
3829
  };
3830
3830
  };
3831
- customElements.define = e(customElements.define), import("./CashierVideoModal-C5FVx3Tq.js").then(({ default: t }) => {
3831
+ customElements.define = e(customElements.define), import("./CashierVideoModal-ID_LmSyp.js").then(({ default: t }) => {
3832
3832
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3833
3833
  });
3834
3834
  }
3835
- var Tr = { exports: {} };
3835
+ let Xn = Ne(null);
3836
+ var Hr = { exports: {} };
3836
3837
  (function(e, t) {
3837
3838
  (function(r, i) {
3838
3839
  e.exports = i();
3839
- })(Kt, function() {
3840
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|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, U = { 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(_) {
3841
- var g = ["th", "st", "nd", "rd"], d = _ % 100;
3842
- return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3843
- } }, $ = function(_, g, d) {
3844
- var b = String(_);
3845
- return !b || b.length >= g ? _ : "" + Array(g + 1 - b.length).join(d) + _;
3846
- }, z = { s: $, z: function(_) {
3847
- var g = -_.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
3848
- return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(p, 2, "0");
3849
- }, m: function _(g, d) {
3850
- if (g.date() < d.date())
3851
- return -_(d, g);
3852
- var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), x = d - p < 0, w = g.clone().add(b + (x ? -1 : 1), c);
3853
- return +(-(b + (d - p) / (x ? p - w : w - p)) || 0);
3854
- }, a: function(_) {
3855
- return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3856
- }, p: function(_) {
3857
- return { M: c, y: E, w: h, d: u, D: H, h: o, m: a, s: l, ms: s, Q: m }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3858
- }, u: function(_) {
3859
- return _ === void 0;
3860
- } }, I = "en", L = {};
3861
- L[I] = U;
3862
- var q = "$isDayjsObject", R = function(_) {
3863
- return _ instanceof pe || !(!_ || !_[q]);
3864
- }, X = function _(g, d, b) {
3865
- var p;
3840
+ })(er, function() {
3841
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", h = "second", a = "minute", o = "hour", u = "day", l = "week", d = "month", p = "quarter", _ = "year", H = "date", v = "Invalid Date", $ = /^(\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, F = { 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"], c = x % 100;
3843
+ return "[" + x + (g[(c - 20) % 10] || g[c] || g[0]) + "]";
3844
+ } }, B = function(x, g, c) {
3845
+ var b = String(x);
3846
+ return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(c) + x;
3847
+ }, W = { s: B, z: function(x) {
3848
+ var g = -x.utcOffset(), c = Math.abs(g), b = Math.floor(c / 60), m = c % 60;
3849
+ return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3850
+ }, m: function x(g, c) {
3851
+ if (g.date() < c.date())
3852
+ return -x(c, g);
3853
+ var b = 12 * (c.year() - g.year()) + (c.month() - g.month()), m = g.clone().add(b, d), E = c - m < 0, w = g.clone().add(b + (E ? -1 : 1), d);
3854
+ return +(-(b + (c - m) / (E ? m - w : w - m)) || 0);
3855
+ }, a: function(x) {
3856
+ return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3857
+ }, p: function(x) {
3858
+ return { M: d, y: _, w: l, d: u, D: H, h: o, m: a, s: h, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3859
+ }, u: function(x) {
3860
+ return x === void 0;
3861
+ } }, N = "en", k = {};
3862
+ k[N] = F;
3863
+ var j = "$isDayjsObject", ne = function(x) {
3864
+ return x instanceof ge || !(!x || !x[j]);
3865
+ }, D = function x(g, c, b) {
3866
+ var m;
3866
3867
  if (!g)
3867
- return I;
3868
+ return N;
3868
3869
  if (typeof g == "string") {
3869
- var x = g.toLowerCase();
3870
- L[x] && (p = x), d && (L[x] = d, p = x);
3870
+ var E = g.toLowerCase();
3871
+ k[E] && (m = E), c && (k[E] = c, m = E);
3871
3872
  var w = g.split("-");
3872
- if (!p && w.length > 1)
3873
- return _(w[0]);
3873
+ if (!m && w.length > 1)
3874
+ return x(w[0]);
3874
3875
  } else {
3875
- var B = g.name;
3876
- L[B] = g, p = B;
3876
+ var A = g.name;
3877
+ k[A] = g, m = A;
3877
3878
  }
3878
- return !b && p && (I = p), p || !b && I;
3879
- }, k = function(_, g) {
3880
- if (R(_))
3881
- return _.clone();
3882
- var d = typeof g == "object" ? g : {};
3883
- return d.date = _, d.args = arguments, new pe(d);
3884
- }, P = z;
3885
- P.l = X, P.i = R, P.w = function(_, g) {
3886
- return k(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3879
+ return !b && m && (N = m), m || !b && N;
3880
+ }, M = function(x, g) {
3881
+ if (ne(x))
3882
+ return x.clone();
3883
+ var c = typeof g == "object" ? g : {};
3884
+ return c.date = x, c.args = arguments, new ge(c);
3885
+ }, P = W;
3886
+ P.l = D, P.i = ne, P.w = function(x, g) {
3887
+ return M(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3887
3888
  };
3888
- var pe = function() {
3889
- function _(d) {
3890
- this.$L = X(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[q] = !0;
3889
+ var ge = function() {
3890
+ function x(c) {
3891
+ this.$L = D(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[j] = !0;
3891
3892
  }
3892
- var g = _.prototype;
3893
- return g.parse = function(d) {
3893
+ var g = x.prototype;
3894
+ return g.parse = function(c) {
3894
3895
  this.$d = function(b) {
3895
- var p = b.date, x = b.utc;
3896
- if (p === null)
3896
+ var m = b.date, E = b.utc;
3897
+ if (m === null)
3897
3898
  return /* @__PURE__ */ new Date(NaN);
3898
- if (P.u(p))
3899
+ if (P.u(m))
3899
3900
  return /* @__PURE__ */ new Date();
3900
- if (p instanceof Date)
3901
- return new Date(p);
3902
- if (typeof p == "string" && !/Z$/i.test(p)) {
3903
- var w = p.match(A);
3901
+ if (m instanceof Date)
3902
+ return new Date(m);
3903
+ if (typeof m == "string" && !/Z$/i.test(m)) {
3904
+ var w = m.match($);
3904
3905
  if (w) {
3905
- var B = w[2] - 1 || 0, C = (w[7] || "0").substring(0, 3);
3906
- return x ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C);
3906
+ var A = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3907
+ return E ? new Date(Date.UTC(w[1], A, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], A, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3907
3908
  }
3908
3909
  }
3909
- return new Date(p);
3910
- }(d), this.init();
3910
+ return new Date(m);
3911
+ }(c), this.init();
3911
3912
  }, g.init = function() {
3912
- var d = this.$d;
3913
- 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();
3913
+ var c = this.$d;
3914
+ this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3914
3915
  }, g.$utils = function() {
3915
3916
  return P;
3916
3917
  }, g.isValid = function() {
3917
3918
  return this.$d.toString() !== v;
3918
- }, g.isSame = function(d, b) {
3919
- var p = k(d);
3920
- return this.startOf(b) <= p && p <= this.endOf(b);
3921
- }, g.isAfter = function(d, b) {
3922
- return k(d) < this.startOf(b);
3923
- }, g.isBefore = function(d, b) {
3924
- return this.endOf(b) < k(d);
3925
- }, g.$g = function(d, b, p) {
3926
- return P.u(d) ? this[b] : this.set(p, d);
3919
+ }, g.isSame = function(c, b) {
3920
+ var m = M(c);
3921
+ return this.startOf(b) <= m && m <= this.endOf(b);
3922
+ }, g.isAfter = function(c, b) {
3923
+ return M(c) < this.startOf(b);
3924
+ }, g.isBefore = function(c, b) {
3925
+ return this.endOf(b) < M(c);
3926
+ }, g.$g = function(c, b, m) {
3927
+ return P.u(c) ? this[b] : this.set(m, c);
3927
3928
  }, g.unix = function() {
3928
3929
  return Math.floor(this.valueOf() / 1e3);
3929
3930
  }, g.valueOf = function() {
3930
3931
  return this.$d.getTime();
3931
- }, g.startOf = function(d, b) {
3932
- var p = this, x = !!P.u(b) || b, w = P.p(d), B = function(ae, G) {
3933
- var J = P.w(p.$u ? Date.UTC(p.$y, G, ae) : new Date(p.$y, G, ae), p);
3934
- return x ? J : J.endOf(u);
3935
- }, C = function(ae, G) {
3936
- return P.w(p.toDate()[ae].apply(p.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), p);
3937
- }, N = this.$W, F = this.$M, W = this.$D, le = "set" + (this.$u ? "UTC" : "");
3932
+ }, g.startOf = function(c, b) {
3933
+ var m = this, E = !!P.u(b) || b, w = P.p(c), A = function(oe, G) {
3934
+ var Q = P.w(m.$u ? Date.UTC(m.$y, G, oe) : new Date(m.$y, G, oe), m);
3935
+ return E ? Q : Q.endOf(u);
3936
+ }, L = function(oe, G) {
3937
+ return P.w(m.toDate()[oe].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3938
+ }, R = this.$W, V = this.$M, z = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3938
3939
  switch (w) {
3939
- case E:
3940
- return x ? B(1, 0) : B(31, 11);
3941
- case c:
3942
- return x ? B(1, F) : B(0, F + 1);
3943
- case h:
3944
- var se = this.$locale().weekStart || 0, oe = (N < se ? N + 7 : N) - se;
3945
- return B(x ? W - oe : W + (6 - oe), F);
3940
+ case _:
3941
+ return E ? A(1, 0) : A(31, 11);
3942
+ case d:
3943
+ return E ? A(1, V) : A(0, V + 1);
3944
+ case l:
3945
+ var se = this.$locale().weekStart || 0, ce = (R < se ? R + 7 : R) - se;
3946
+ return A(E ? z - ce : z + (6 - ce), V);
3946
3947
  case u:
3947
3948
  case H:
3948
- return C(le + "Hours", 0);
3949
+ return L(ue + "Hours", 0);
3949
3950
  case o:
3950
- return C(le + "Minutes", 1);
3951
+ return L(ue + "Minutes", 1);
3951
3952
  case a:
3952
- return C(le + "Seconds", 2);
3953
- case l:
3954
- return C(le + "Milliseconds", 3);
3953
+ return L(ue + "Seconds", 2);
3954
+ case h:
3955
+ return L(ue + "Milliseconds", 3);
3955
3956
  default:
3956
3957
  return this.clone();
3957
3958
  }
3958
- }, g.endOf = function(d) {
3959
- return this.startOf(d, !1);
3960
- }, g.$set = function(d, b) {
3961
- var p, x = P.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[a] = w + "Minutes", p[l] = w + "Seconds", p[s] = w + "Milliseconds", p)[x], C = x === u ? this.$D + (b - this.$W) : b;
3962
- if (x === c || x === E) {
3963
- var N = this.clone().set(H, 1);
3964
- N.$d[B](C), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
3959
+ }, g.endOf = function(c) {
3960
+ return this.startOf(c, !1);
3961
+ }, g.$set = function(c, b) {
3962
+ var m, E = P.p(c), w = "set" + (this.$u ? "UTC" : ""), A = (m = {}, m[u] = w + "Date", m[H] = w + "Date", m[d] = w + "Month", m[_] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[h] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === u ? this.$D + (b - this.$W) : b;
3963
+ if (E === d || E === _) {
3964
+ var R = this.clone().set(H, 1);
3965
+ R.$d[A](L), R.init(), this.$d = R.set(H, Math.min(this.$D, R.daysInMonth())).$d;
3965
3966
  } else
3966
- B && this.$d[B](C);
3967
+ A && this.$d[A](L);
3967
3968
  return this.init(), this;
3968
- }, g.set = function(d, b) {
3969
- return this.clone().$set(d, b);
3970
- }, g.get = function(d) {
3971
- return this[P.p(d)]();
3972
- }, g.add = function(d, b) {
3973
- var p, x = this;
3974
- d = Number(d);
3975
- var w = P.p(b), B = function(F) {
3976
- var W = k(x);
3977
- return P.w(W.date(W.date() + Math.round(F * d)), x);
3969
+ }, g.set = function(c, b) {
3970
+ return this.clone().$set(c, b);
3971
+ }, g.get = function(c) {
3972
+ return this[P.p(c)]();
3973
+ }, g.add = function(c, b) {
3974
+ var m, E = this;
3975
+ c = Number(c);
3976
+ var w = P.p(b), A = function(V) {
3977
+ var z = M(E);
3978
+ return P.w(z.date(z.date() + Math.round(V * c)), E);
3978
3979
  };
3979
- if (w === c)
3980
- return this.set(c, this.$M + d);
3981
- if (w === E)
3982
- return this.set(E, this.$y + d);
3980
+ if (w === d)
3981
+ return this.set(d, this.$M + c);
3982
+ if (w === _)
3983
+ return this.set(_, this.$y + c);
3983
3984
  if (w === u)
3984
- return B(1);
3985
- if (w === h)
3986
- return B(7);
3987
- var C = (p = {}, p[a] = i, p[o] = n, p[l] = r, p)[w] || 1, N = this.$d.getTime() + d * C;
3988
- return P.w(N, this);
3989
- }, g.subtract = function(d, b) {
3990
- return this.add(-1 * d, b);
3991
- }, g.format = function(d) {
3992
- var b = this, p = this.$locale();
3985
+ return A(1);
3986
+ if (w === l)
3987
+ return A(7);
3988
+ var L = (m = {}, m[a] = i, m[o] = n, m[h] = r, m)[w] || 1, R = this.$d.getTime() + c * L;
3989
+ return P.w(R, this);
3990
+ }, g.subtract = function(c, b) {
3991
+ return this.add(-1 * c, b);
3992
+ }, g.format = function(c) {
3993
+ var b = this, m = this.$locale();
3993
3994
  if (!this.isValid())
3994
- return p.invalidDate || v;
3995
- var x = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), B = this.$H, C = this.$m, N = this.$M, F = p.weekdays, W = p.months, le = p.meridiem, se = function(G, J, de, ge) {
3996
- return G && (G[J] || G(b, x)) || de[J].slice(0, ge);
3997
- }, oe = function(G) {
3998
- return P.s(B % 12 || 12, G, "0");
3999
- }, ae = le || function(G, J, de) {
4000
- var ge = G < 12 ? "AM" : "PM";
4001
- return de ? ge.toLowerCase() : ge;
3995
+ return m.invalidDate || v;
3996
+ var E = c || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), A = this.$H, L = this.$m, R = this.$M, V = m.weekdays, z = m.months, ue = m.meridiem, se = function(G, Q, de, me) {
3997
+ return G && (G[Q] || G(b, E)) || de[Q].slice(0, me);
3998
+ }, ce = function(G) {
3999
+ return P.s(A % 12 || 12, G, "0");
4000
+ }, oe = ue || function(G, Q, de) {
4001
+ var me = G < 12 ? "AM" : "PM";
4002
+ return de ? me.toLowerCase() : me;
4002
4003
  };
4003
- return x.replace(V, function(G, J) {
4004
- return J || function(de) {
4004
+ return E.replace(U, function(G, Q) {
4005
+ return Q || function(de) {
4005
4006
  switch (de) {
4006
4007
  case "YY":
4007
4008
  return String(b.$y).slice(-2);
4008
4009
  case "YYYY":
4009
4010
  return P.s(b.$y, 4, "0");
4010
4011
  case "M":
4011
- return N + 1;
4012
+ return R + 1;
4012
4013
  case "MM":
4013
- return P.s(N + 1, 2, "0");
4014
+ return P.s(R + 1, 2, "0");
4014
4015
  case "MMM":
4015
- return se(p.monthsShort, N, W, 3);
4016
+ return se(m.monthsShort, R, z, 3);
4016
4017
  case "MMMM":
4017
- return se(W, N);
4018
+ return se(z, R);
4018
4019
  case "D":
4019
4020
  return b.$D;
4020
4021
  case "DD":
@@ -4022,27 +4023,27 @@ var Tr = { exports: {} };
4022
4023
  case "d":
4023
4024
  return String(b.$W);
4024
4025
  case "dd":
4025
- return se(p.weekdaysMin, b.$W, F, 2);
4026
+ return se(m.weekdaysMin, b.$W, V, 2);
4026
4027
  case "ddd":
4027
- return se(p.weekdaysShort, b.$W, F, 3);
4028
+ return se(m.weekdaysShort, b.$W, V, 3);
4028
4029
  case "dddd":
4029
- return F[b.$W];
4030
+ return V[b.$W];
4030
4031
  case "H":
4031
- return String(B);
4032
+ return String(A);
4032
4033
  case "HH":
4033
- return P.s(B, 2, "0");
4034
+ return P.s(A, 2, "0");
4034
4035
  case "h":
4035
- return oe(1);
4036
+ return ce(1);
4036
4037
  case "hh":
4037
- return oe(2);
4038
+ return ce(2);
4038
4039
  case "a":
4039
- return ae(B, C, !0);
4040
+ return oe(A, L, !0);
4040
4041
  case "A":
4041
- return ae(B, C, !1);
4042
+ return oe(A, L, !1);
4042
4043
  case "m":
4043
- return String(C);
4044
+ return String(L);
4044
4045
  case "mm":
4045
- return P.s(C, 2, "0");
4046
+ return P.s(L, 2, "0");
4046
4047
  case "s":
4047
4048
  return String(b.$s);
4048
4049
  case "ss":
@@ -4057,48 +4058,48 @@ var Tr = { exports: {} };
4057
4058
  });
4058
4059
  }, g.utcOffset = function() {
4059
4060
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4060
- }, g.diff = function(d, b, p) {
4061
- var x, w = this, B = P.p(b), C = k(d), N = (C.utcOffset() - this.utcOffset()) * i, F = this - C, W = function() {
4062
- return P.m(w, C);
4061
+ }, g.diff = function(c, b, m) {
4062
+ var E, w = this, A = P.p(b), L = M(c), R = (L.utcOffset() - this.utcOffset()) * i, V = this - L, z = function() {
4063
+ return P.m(w, L);
4063
4064
  };
4064
- switch (B) {
4065
- case E:
4066
- x = W() / 12;
4065
+ switch (A) {
4066
+ case _:
4067
+ E = z() / 12;
4067
4068
  break;
4068
- case c:
4069
- x = W();
4069
+ case d:
4070
+ E = z();
4070
4071
  break;
4071
- case m:
4072
- x = W() / 3;
4072
+ case p:
4073
+ E = z() / 3;
4073
4074
  break;
4074
- case h:
4075
- x = (F - N) / 6048e5;
4075
+ case l:
4076
+ E = (V - R) / 6048e5;
4076
4077
  break;
4077
4078
  case u:
4078
- x = (F - N) / 864e5;
4079
+ E = (V - R) / 864e5;
4079
4080
  break;
4080
4081
  case o:
4081
- x = F / n;
4082
+ E = V / n;
4082
4083
  break;
4083
4084
  case a:
4084
- x = F / i;
4085
+ E = V / i;
4085
4086
  break;
4086
- case l:
4087
- x = F / r;
4087
+ case h:
4088
+ E = V / r;
4088
4089
  break;
4089
4090
  default:
4090
- x = F;
4091
+ E = V;
4091
4092
  }
4092
- return p ? x : P.a(x);
4093
+ return m ? E : P.a(E);
4093
4094
  }, g.daysInMonth = function() {
4094
- return this.endOf(c).$D;
4095
+ return this.endOf(d).$D;
4095
4096
  }, g.$locale = function() {
4096
- return L[this.$L];
4097
- }, g.locale = function(d, b) {
4098
- if (!d)
4097
+ return k[this.$L];
4098
+ }, g.locale = function(c, b) {
4099
+ if (!c)
4099
4100
  return this.$L;
4100
- var p = this.clone(), x = X(d, b, !0);
4101
- return x && (p.$L = x), p;
4101
+ var m = this.clone(), E = D(c, b, !0);
4102
+ return E && (m.$L = E), m;
4102
4103
  }, g.clone = function() {
4103
4104
  return P.w(this.$d, this);
4104
4105
  }, g.toDate = function() {
@@ -4109,35 +4110,35 @@ var Tr = { exports: {} };
4109
4110
  return this.$d.toISOString();
4110
4111
  }, g.toString = function() {
4111
4112
  return this.$d.toUTCString();
4112
- }, _;
4113
- }(), ke = pe.prototype;
4114
- return k.prototype = ke, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(_) {
4115
- ke[_[1]] = function(g) {
4116
- return this.$g(g, _[0], _[1]);
4113
+ }, x;
4114
+ }(), Ue = ge.prototype;
4115
+ return M.prototype = Ue, [["$ms", s], ["$s", h], ["$m", a], ["$H", o], ["$W", u], ["$M", d], ["$y", _], ["$D", H]].forEach(function(x) {
4116
+ Ue[x[1]] = function(g) {
4117
+ return this.$g(g, x[0], x[1]);
4117
4118
  };
4118
- }), k.extend = function(_, g) {
4119
- return _.$i || (_(g, pe, k), _.$i = !0), k;
4120
- }, k.locale = X, k.isDayjs = R, k.unix = function(_) {
4121
- return k(1e3 * _);
4122
- }, k.en = L[I], k.Ls = L, k.p = {}, k;
4119
+ }), M.extend = function(x, g) {
4120
+ return x.$i || (x(g, ge, M), x.$i = !0), M;
4121
+ }, M.locale = D, M.isDayjs = ne, M.unix = function(x) {
4122
+ return M(1e3 * x);
4123
+ }, M.en = k[N], M.Ls = k, M.p = {}, M;
4123
4124
  });
4124
- })(Tr);
4125
- var jn = Tr.exports;
4126
- const Gt = /* @__PURE__ */ xt(jn);
4127
- var Hr = { exports: {} };
4125
+ })(Hr);
4126
+ var Wn = Hr.exports;
4127
+ const jt = /* @__PURE__ */ xt(Wn);
4128
+ var Or = { exports: {} };
4128
4129
  (function(e, t) {
4129
4130
  (function(r, i) {
4130
4131
  e.exports = i();
4131
- })(Kt, function() {
4132
+ })(er, function() {
4132
4133
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4133
- return function(s, l, a) {
4134
- var o = l.prototype;
4134
+ return function(s, h, a) {
4135
+ var o = h.prototype;
4135
4136
  a.utc = function(v) {
4136
- var A = { date: v, utc: !0, args: arguments };
4137
- return new l(A);
4137
+ var $ = { date: v, utc: !0, args: arguments };
4138
+ return new h($);
4138
4139
  }, o.utc = function(v) {
4139
- var A = a(this.toDate(), { locale: this.$L, utc: !0 });
4140
- return v ? A.add(this.utcOffset(), r) : A;
4140
+ var $ = a(this.toDate(), { locale: this.$L, utc: !0 });
4141
+ return v ? $.add(this.utcOffset(), r) : $;
4141
4142
  }, o.local = function() {
4142
4143
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4143
4144
  };
@@ -4145,42 +4146,42 @@ var Hr = { exports: {} };
4145
4146
  o.parse = function(v) {
4146
4147
  v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4147
4148
  };
4148
- var h = o.init;
4149
+ var l = o.init;
4149
4150
  o.init = function() {
4150
4151
  if (this.$u) {
4151
4152
  var v = this.$d;
4152
4153
  this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
4153
4154
  } else
4154
- h.call(this);
4155
+ l.call(this);
4155
4156
  };
4156
- var c = o.utcOffset;
4157
- o.utcOffset = function(v, A) {
4158
- var V = this.$utils().u;
4159
- if (V(v))
4160
- return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
4161
- if (typeof v == "string" && (v = function(I) {
4162
- I === void 0 && (I = "");
4163
- var L = I.match(i);
4164
- if (!L)
4157
+ var d = o.utcOffset;
4158
+ o.utcOffset = function(v, $) {
4159
+ var U = this.$utils().u;
4160
+ if (U(v))
4161
+ return this.$u ? 0 : U(this.$offset) ? d.call(this) : this.$offset;
4162
+ if (typeof v == "string" && (v = function(N) {
4163
+ N === void 0 && (N = "");
4164
+ var k = N.match(i);
4165
+ if (!k)
4165
4166
  return null;
4166
- var q = ("" + L[0]).match(n) || ["-", 0, 0], R = q[0], X = 60 * +q[1] + +q[2];
4167
- return X === 0 ? 0 : R === "+" ? X : -X;
4167
+ var j = ("" + k[0]).match(n) || ["-", 0, 0], ne = j[0], D = 60 * +j[1] + +j[2];
4168
+ return D === 0 ? 0 : ne === "+" ? D : -D;
4168
4169
  }(v), v === null))
4169
4170
  return this;
4170
- var U = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4171
- if (A)
4172
- return $.$offset = U, $.$u = v === 0, $;
4171
+ var F = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4172
+ if ($)
4173
+ return B.$offset = F, B.$u = v === 0, B;
4173
4174
  if (v !== 0) {
4174
- var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4175
- ($ = this.local().add(U + z, r)).$offset = U, $.$x.$localOffset = z;
4175
+ var W = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4176
+ (B = this.local().add(F + W, r)).$offset = F, B.$x.$localOffset = W;
4176
4177
  } else
4177
- $ = this.utc();
4178
- return $;
4178
+ B = this.utc();
4179
+ return B;
4179
4180
  };
4180
- var m = o.format;
4181
+ var p = o.format;
4181
4182
  o.format = function(v) {
4182
- var A = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4183
- return m.call(this, A);
4183
+ var $ = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4184
+ return p.call(this, $);
4184
4185
  }, o.valueOf = function() {
4185
4186
  var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4186
4187
  return this.$d.valueOf() - 6e4 * v;
@@ -4191,61 +4192,61 @@ var Hr = { exports: {} };
4191
4192
  }, o.toString = function() {
4192
4193
  return this.toDate().toUTCString();
4193
4194
  };
4194
- var E = o.toDate;
4195
+ var _ = o.toDate;
4195
4196
  o.toDate = function(v) {
4196
- return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
4197
+ return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4197
4198
  };
4198
4199
  var H = o.diff;
4199
- o.diff = function(v, A, V) {
4200
+ o.diff = function(v, $, U) {
4200
4201
  if (v && this.$u === v.$u)
4201
- return H.call(this, v, A, V);
4202
- var U = this.local(), $ = a(v).local();
4203
- return H.call(U, $, A, V);
4202
+ return H.call(this, v, $, U);
4203
+ var F = this.local(), B = a(v).local();
4204
+ return H.call(F, B, $, U);
4204
4205
  };
4205
4206
  };
4206
4207
  });
4207
- })(Hr);
4208
- var zn = Hr.exports;
4209
- const Xn = /* @__PURE__ */ xt(zn);
4210
- function Wn(e) {
4211
- Br(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)}");
4208
+ })(Or);
4209
+ var qn = Or.exports;
4210
+ const Yn = /* @__PURE__ */ xt(qn);
4211
+ function Zn(e) {
4212
+ Cr(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)}");
4212
4213
  }
4213
- function jt(e, t, r) {
4214
+ function zt(e, t, r) {
4214
4215
  const i = e.slice();
4215
- return i[49] = t[r], i[51] = r, i;
4216
+ return i[51] = t[r], i[53] = r, i;
4216
4217
  }
4217
- function zt(e) {
4218
- let t, r, i, n, s = Ht(
4218
+ function Xt(e) {
4219
+ let t, r, i, n, s = Ot(
4219
4220
  /*displayMessages*/
4220
4221
  e[4]
4221
- ), l = [];
4222
+ ), h = [];
4222
4223
  for (let o = 0; o < s.length; o += 1)
4223
- l[o] = Wt(jt(e, s, o));
4224
+ h[o] = qt(zt(e, s, o));
4224
4225
  let a = (
4225
4226
  /*videoExists*/
4226
- e[7] && qt(e)
4227
+ e[7] && Yt(e)
4227
4228
  );
4228
4229
  return {
4229
4230
  c() {
4230
- t = Z("div");
4231
- for (let o = 0; o < l.length; o += 1)
4232
- l[o].c();
4233
- r = xe(), a && a.c(), i = xe(), n = Z("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), he(
4231
+ t = Y("div");
4232
+ for (let o = 0; o < h.length; o += 1)
4233
+ h[o].c();
4234
+ r = xe(), a && a.c(), i = xe(), n = Y("cashier-video-modal"), J(t, "class", "CashierVerificationsWrapper"), le(
4234
4235
  n,
4235
4236
  "clientstylingurl",
4236
4237
  /*clientstylingurl*/
4237
4238
  e[1]
4238
- ), he(
4239
+ ), le(
4239
4240
  n,
4240
4241
  "clientstyling",
4241
4242
  /*clientstyling*/
4242
4243
  e[0]
4243
- ), he(
4244
+ ), le(
4244
4245
  n,
4245
4246
  "ismobileview",
4246
4247
  /*ismobileview*/
4247
4248
  e[2]
4248
- ), he(
4249
+ ), le(
4249
4250
  n,
4250
4251
  "videosrc",
4251
4252
  /*videoSrc*/
@@ -4253,48 +4254,48 @@ function zt(e) {
4253
4254
  );
4254
4255
  },
4255
4256
  m(o, u) {
4256
- ue(o, t, u);
4257
- for (let h = 0; h < l.length; h += 1)
4258
- l[h] && l[h].m(t, null);
4259
- ue(o, r, u), a && a.m(o, u), ue(o, i, u), ue(o, n, u);
4257
+ ae(o, t, u);
4258
+ for (let l = 0; l < h.length; l += 1)
4259
+ h[l] && h[l].m(t, null);
4260
+ ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
4260
4261
  },
4261
4262
  p(o, u) {
4262
4263
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4263
4264
  1072) {
4264
- s = Ht(
4265
+ s = Ot(
4265
4266
  /*displayMessages*/
4266
4267
  o[4]
4267
4268
  );
4268
- let h;
4269
- for (h = 0; h < s.length; h += 1) {
4270
- const c = jt(o, s, h);
4271
- l[h] ? l[h].p(c, u) : (l[h] = Wt(c), l[h].c(), l[h].m(t, null));
4269
+ let l;
4270
+ for (l = 0; l < s.length; l += 1) {
4271
+ const d = zt(o, s, l);
4272
+ h[l] ? h[l].p(d, u) : (h[l] = qt(d), h[l].c(), h[l].m(t, null));
4272
4273
  }
4273
- for (; h < l.length; h += 1)
4274
- l[h].d(1);
4275
- l.length = s.length;
4274
+ for (; l < h.length; l += 1)
4275
+ h[l].d(1);
4276
+ h.length = s.length;
4276
4277
  }
4277
4278
  /*videoExists*/
4278
- o[7] ? a ? a.p(o, u) : (a = qt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4279
- 2 && he(
4279
+ o[7] ? a ? a.p(o, u) : (a = Yt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4280
+ 2 && le(
4280
4281
  n,
4281
4282
  "clientstylingurl",
4282
4283
  /*clientstylingurl*/
4283
4284
  o[1]
4284
4285
  ), u[0] & /*clientstyling*/
4285
- 1 && he(
4286
+ 1 && le(
4286
4287
  n,
4287
4288
  "clientstyling",
4288
4289
  /*clientstyling*/
4289
4290
  o[0]
4290
4291
  ), u[0] & /*ismobileview*/
4291
- 4 && he(
4292
+ 4 && le(
4292
4293
  n,
4293
4294
  "ismobileview",
4294
4295
  /*ismobileview*/
4295
4296
  o[2]
4296
4297
  ), u[0] & /*videoSrc*/
4297
- 256 && he(
4298
+ 256 && le(
4298
4299
  n,
4299
4300
  "videosrc",
4300
4301
  /*videoSrc*/
@@ -4302,74 +4303,74 @@ function zt(e) {
4302
4303
  );
4303
4304
  },
4304
4305
  d(o) {
4305
- o && (ne(t), ne(r), ne(i), ne(n)), Dr(l, o), a && a.d(o);
4306
+ o && (ie(t), ie(r), ie(i), ie(n)), Ir(h, o), a && a.d(o);
4306
4307
  }
4307
4308
  };
4308
4309
  }
4309
- function Xt(e) {
4310
+ function Wt(e) {
4310
4311
  let t, r, i;
4311
4312
  function n(...s) {
4312
4313
  return (
4313
4314
  /*click_handler*/
4314
4315
  e[18](
4315
4316
  /*index*/
4316
- e[51],
4317
+ e[53],
4317
4318
  ...s
4318
4319
  )
4319
4320
  );
4320
4321
  }
4321
4322
  return {
4322
4323
  c() {
4323
- t = Z("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");
4324
+ t = Y("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>', J(t, "class", "CashierVerificationChevron");
4324
4325
  },
4325
- m(s, l) {
4326
- ue(s, t, l), r || (i = _t(t, "click", n), r = !0);
4326
+ m(s, h) {
4327
+ ae(s, t, h), r || (i = _t(t, "click", n), r = !0);
4327
4328
  },
4328
- p(s, l) {
4329
+ p(s, h) {
4329
4330
  e = s;
4330
4331
  },
4331
4332
  d(s) {
4332
- s && ne(t), r = !1, i();
4333
+ s && ie(t), r = !1, i();
4333
4334
  }
4334
4335
  };
4335
4336
  }
4336
- function Wt(e) {
4337
+ function qt(e) {
4337
4338
  let t, r, i, n, s = (
4338
4339
  /*message*/
4339
- e[49] + ""
4340
- ), l, a, o, u, h = (
4340
+ e[51] + ""
4341
+ ), h, a, o, u, l = (
4341
4342
  /*displayMessages*/
4342
4343
  e[4].length > 1 && /*index*/
4343
- e[51] === 0 && Xt(e)
4344
+ e[53] === 0 && Wt(e)
4344
4345
  );
4345
- function c(...m) {
4346
+ function d(...p) {
4346
4347
  return (
4347
4348
  /*click_handler_1*/
4348
4349
  e[19](
4349
4350
  /*index*/
4350
- e[51],
4351
- ...m
4351
+ e[53],
4352
+ ...p
4352
4353
  )
4353
4354
  );
4354
4355
  }
4355
4356
  return {
4356
4357
  c() {
4357
- t = Z("div"), r = Z("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 = xe(), n = Z("p"), l = xe(), h && h.c(), a = xe(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), we(
4358
+ t = Y("div"), r = Y("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 = xe(), n = Y("p"), h = xe(), l && l.c(), a = xe(), J(r, "class", "IconVerification"), J(n, "class", "text"), J(t, "class", "CashierVerificationMessage"), we(
4358
4359
  t,
4359
4360
  "ShowAll",
4360
4361
  /*allVerificationsVisible*/
4361
4362
  e[5]
4362
4363
  );
4363
4364
  },
4364
- m(m, E) {
4365
- ue(m, t, E), 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);
4365
+ m(p, _) {
4366
+ ae(p, t, _), te(t, r), te(t, i), te(t, n), n.innerHTML = s, te(t, h), l && l.m(t, null), te(t, a), o || (u = _t(t, "click", d), o = !0);
4366
4367
  },
4367
- p(m, E) {
4368
- e = m, E[0] & /*displayMessages*/
4368
+ p(p, _) {
4369
+ e = p, _[0] & /*displayMessages*/
4369
4370
  16 && s !== (s = /*message*/
4370
- e[49] + "") && (n.innerHTML = s), /*displayMessages*/
4371
+ e[51] + "") && (n.innerHTML = s), /*displayMessages*/
4371
4372
  e[4].length > 1 && /*index*/
4372
- e[51] === 0 ? h ? h.p(e, E) : (h = Xt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4373
+ e[53] === 0 ? l ? l.p(e, _) : (l = Wt(e), l.c(), l.m(t, a)) : l && (l.d(1), l = null), _[0] & /*allVerificationsVisible*/
4373
4374
  32 && we(
4374
4375
  t,
4375
4376
  "ShowAll",
@@ -4377,37 +4378,37 @@ function Wt(e) {
4377
4378
  e[5]
4378
4379
  );
4379
4380
  },
4380
- d(m) {
4381
- m && ne(t), h && h.d(), o = !1, u();
4381
+ d(p) {
4382
+ p && ie(t), l && l.d(), o = !1, u();
4382
4383
  }
4383
4384
  };
4384
4385
  }
4385
- function qt(e) {
4386
+ function Yt(e) {
4386
4387
  let t, r, i, n, s = (
4387
4388
  /*$_*/
4388
4389
  e[9]("verification.video.how-to") + ""
4389
- ), l, a, o;
4390
+ ), h, a, o;
4390
4391
  return {
4391
4392
  c() {
4392
- t = Z("div"), r = Z("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 = xe(), n = Z("div"), l = yt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), we(
4393
+ t = Y("div"), r = Y("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 = xe(), n = Y("div"), h = yt(s), J(r, "class", "IconVideo"), J(n, "class", "CashierVerificationVideoLink"), we(
4393
4394
  n,
4394
4395
  "CashierVerificationVideoLinkDesktop",
4395
4396
  /*desktopView*/
4396
4397
  e[6]
4397
- ), K(t, "class", "CashierVerificationVideo");
4398
+ ), J(t, "class", "CashierVerificationVideo");
4398
4399
  },
4399
- m(u, h) {
4400
- ue(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = _t(
4400
+ m(u, l) {
4401
+ ae(u, t, l), te(t, r), te(t, i), te(t, n), te(n, h), a || (o = _t(
4401
4402
  n,
4402
4403
  "click",
4403
4404
  /*click_handler_2*/
4404
4405
  e[20]
4405
4406
  ), a = !0);
4406
4407
  },
4407
- p(u, h) {
4408
- h[0] & /*$_*/
4408
+ p(u, l) {
4409
+ l[0] & /*$_*/
4409
4410
  512 && s !== (s = /*$_*/
4410
- u[9]("verification.video.how-to") + "") && Lr(l, s), h[0] & /*desktopView*/
4411
+ u[9]("verification.video.how-to") + "") && Rr(h, s), l[0] & /*desktopView*/
4411
4412
  64 && we(
4412
4413
  n,
4413
4414
  "CashierVerificationVideoLinkDesktop",
@@ -4416,18 +4417,18 @@ function qt(e) {
4416
4417
  );
4417
4418
  },
4418
4419
  d(u) {
4419
- u && ne(t), a = !1, o();
4420
+ u && ie(t), a = !1, o();
4420
4421
  }
4421
4422
  };
4422
4423
  }
4423
- function qn(e) {
4424
+ function Jn(e) {
4424
4425
  let t, r = (
4425
4426
  /*displayMessages*/
4426
- e[4] && zt(e)
4427
+ e[4] && Xt(e)
4427
4428
  );
4428
4429
  return {
4429
4430
  c() {
4430
- t = Z("div"), r && r.c(), K(t, "class", "CashierVerifications"), we(
4431
+ t = Y("div"), r && r.c(), J(t, "class", "CashierVerifications"), we(
4431
4432
  t,
4432
4433
  "CashierVerificationsDesktop",
4433
4434
  /*desktopView*/
@@ -4435,11 +4436,11 @@ function qn(e) {
4435
4436
  );
4436
4437
  },
4437
4438
  m(i, n) {
4438
- ue(i, t, n), r && r.m(t, null), e[21](t);
4439
+ ae(i, t, n), r && r.m(t, null), e[21](t);
4439
4440
  },
4440
4441
  p(i, n) {
4441
4442
  /*displayMessages*/
4442
- i[4] ? r ? r.p(i, n) : (r = zt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4443
+ i[4] ? r ? r.p(i, n) : (r = Xt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4443
4444
  64 && we(
4444
4445
  t,
4445
4446
  "CashierVerificationsDesktop",
@@ -4447,76 +4448,76 @@ function qn(e) {
4447
4448
  i[6]
4448
4449
  );
4449
4450
  },
4450
- i: Q,
4451
- o: Q,
4451
+ i: Z,
4452
+ o: Z,
4452
4453
  d(i) {
4453
- i && ne(t), r && r.d(), e[21](null);
4454
+ i && ie(t), r && r.d(), e[21](null);
4454
4455
  }
4455
4456
  };
4456
4457
  }
4457
- const Yn = "verification_explanation_video_widgets.MP4", Zn = "700px", Jn = "500px";
4458
- function Qn(e, t, r) {
4459
- let i;
4460
- $r(e, Vn, (f) => r(9, i = f)), Gt.extend(Xn);
4461
- let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, A, V, U = !0, $ = !0, z = !1, I = "";
4462
- var L;
4458
+ const Qn = "verification_explanation_video_widgets.MP4";
4459
+ function Kn(e, t, r) {
4460
+ let i, n;
4461
+ Tt(e, jn, (f) => r(9, i = f)), Tt(e, Xn, (f) => r(27, n = f)), jt.extend(Yn);
4462
+ let { endpoint: s } = t, { lang: h = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: l = "" } = t, { customerid: d = "" } = t, { ismobileview: p = "" } = t, _, H = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), $, U, F, B = !0, W = !0, N = !1, k = "";
4463
+ var j;
4463
4464
  (function(f) {
4464
4465
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4465
- })(L || (L = {}));
4466
- var q;
4466
+ })(j || (j = {}));
4467
+ var ne;
4467
4468
  (function(f) {
4468
4469
  f.Requested = "Requested";
4469
- })(q || (q = {}));
4470
- var R;
4470
+ })(ne || (ne = {}));
4471
+ var D;
4471
4472
  (function(f) {
4472
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";
4473
- })(R || (R = {}));
4474
- var X;
4474
+ })(D || (D = {}));
4475
+ var M;
4475
4476
  (function(f) {
4476
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";
4477
- })(X || (X = {}));
4478
- const k = [
4479
- R.InProgress,
4480
- R.Referred,
4481
- R.AwaitingForResponse
4482
- ], P = () => {
4483
- let f = l;
4478
+ })(M || (M = {}));
4479
+ const P = [
4480
+ D.InProgress,
4481
+ D.Referred,
4482
+ D.AwaitingForResponse
4483
+ ], ge = () => {
4484
+ let f = a;
4484
4485
  if (f)
4485
4486
  return fetch(f).then((y) => y.json()).then((y) => {
4486
4487
  Object.keys(y).forEach((S) => {
4487
- Ft(S, y[S]);
4488
+ Vt(S, y[S]);
4488
4489
  });
4489
4490
  }).catch((y) => {
4490
4491
  console.log(y);
4491
4492
  });
4492
4493
  };
4493
- Object.keys(Vt).forEach((f) => {
4494
- Ft(f, Vt[f]);
4494
+ Object.keys(Gt).forEach((f) => {
4495
+ Vt(f, Gt[f]);
4495
4496
  });
4496
- const pe = () => {
4497
- Gn(s);
4498
- }, ke = () => {
4497
+ const Ue = () => {
4498
+ zn(h);
4499
+ }, x = () => {
4499
4500
  let f = document.createElement("style");
4500
- f.innerHTML = a, m.appendChild(f);
4501
- }, _ = () => {
4502
- let f = new URL(o), y = document.createElement("style");
4501
+ f.innerHTML = o, _.appendChild(f);
4502
+ }, g = () => {
4503
+ let f = new URL(u), y = document.createElement("style");
4503
4504
  fetch(f.href).then((S) => S.text()).then((S) => {
4504
4505
  y.innerHTML = S, setTimeout(
4505
4506
  () => {
4506
- m.appendChild(y);
4507
+ _.appendChild(y);
4507
4508
  },
4508
4509
  1
4509
4510
  );
4510
4511
  });
4511
- }, g = () => {
4512
- const { merchantId: f, customerId: y } = d();
4512
+ }, c = () => {
4513
+ const { merchantId: f, customerId: y } = m();
4513
4514
  if (!f)
4514
4515
  return;
4515
- const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), Y = new Headers();
4516
- Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Gt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4516
+ const S = new URL(`${s}/v1/player/verification/GetKYCStatus`), q = new Headers();
4517
+ q.append("accept", "application/json"), q.append("Content-Type", "application/json"), q.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4517
4518
  const Ke = {
4518
4519
  method: "POST",
4519
- headers: Y,
4520
+ headers: q,
4520
4521
  body: JSON.stringify({
4521
4522
  MerchantId: f,
4522
4523
  CustomerId: y,
@@ -4525,162 +4526,159 @@ function Qn(e, t, r) {
4525
4526
  })
4526
4527
  };
4527
4528
  fetch(S, Ke).then((ve) => ve.json()).then((ve) => {
4528
- r(17, A = ve.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(ve.Verifications), v.VerificationStatuses.forEach((ee) => {
4529
- ee.VerificationUrlType !== "Widget" && E.add(ee.Vendor);
4530
- }), r(4, V = N());
4529
+ r(17, U = ve.StaticCdnUrl + "/cashier/operator-assets/" + f), $ = E(ve.Verifications), $.VerificationStatuses.forEach((K) => {
4530
+ K.VerificationUrlType !== "Widget" && H.add(K.Vendor);
4531
+ }), r(4, F = z());
4531
4532
  });
4532
- }, d = () => {
4533
- let f = u.split(".")[1];
4533
+ }, b = () => {
4534
+ n && c();
4535
+ }, m = () => {
4536
+ let f = (l || n).split(".")[1];
4534
4537
  if (f) {
4535
4538
  let y = JSON.parse(atob(f));
4536
4539
  return {
4537
4540
  merchantId: y?.mid,
4538
- customerId: `${y?.mid}~${h}`
4541
+ customerId: `${y?.mid}~${d}`
4539
4542
  };
4540
4543
  }
4541
4544
  return { merchantId: null, customerId: null };
4542
- }, b = (f) => {
4545
+ }, E = (f) => {
4543
4546
  if (!f || !f.length)
4544
4547
  return {
4545
- VerificationSummaryStatus: R.Unverified,
4548
+ VerificationSummaryStatus: D.Unverified,
4546
4549
  VerificationStatuses: []
4547
4550
  };
4548
- const y = w(f);
4551
+ const y = L(f);
4549
4552
  if (y && y.length) {
4550
- const S = p(y);
4553
+ const S = w(y);
4551
4554
  return {
4552
4555
  VerificationSummaryStatus: S.Status,
4553
4556
  VerificationUrl: S.Flags?.DeferredUrlKey,
4554
- VerificationStatuses: x(y, S.Status)
4557
+ VerificationStatuses: A(y, S.Status)
4555
4558
  };
4556
4559
  } else
4557
4560
  return {
4558
- VerificationSummaryStatus: f.some((Y) => Y.Status === R.Failed) ? R.Failed : R.Verified,
4559
- VerificationStatuses: x(f, [R.Failed])
4561
+ VerificationSummaryStatus: f.some((q) => q.Status === D.Failed) ? D.Failed : D.Verified,
4562
+ VerificationStatuses: A(f, [D.Failed])
4560
4563
  };
4561
- }, p = (f) => f.reduce(
4564
+ }, w = (f) => f.reduce(
4562
4565
  (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4563
4566
  0
4564
- ), x = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
4567
+ ), A = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
4565
4568
  Type: S.Type,
4566
4569
  Vendor: S.VendorName,
4567
4570
  VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
4568
4571
  VerificationUrlType: S.Flags?.DeferredUrlTypeKey,
4569
4572
  VerificationUrl: S.Flags?.DeferredUrlKey
4570
- })), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || B(y) || C(y) : !1), B = (f) => {
4571
- const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((Y) => Y.Status === q.Requested);
4573
+ })), L = (f) => f.filter((y) => P.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || R(y) || V(y) : !1), R = (f) => {
4574
+ const y = f.Documents && f.VendorName === j.Manual, S = Object.values(f.Documents).some((q) => q.Status === ne.Requested);
4572
4575
  return y && S;
4573
- }, C = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
4574
- switch (v.VerificationSummaryStatus) {
4575
- case R.InProgress:
4576
+ }, V = (f) => f.VendorName === j.ShuftiPro && f.Status === D.Referred, z = () => {
4577
+ switch ($.VerificationSummaryStatus) {
4578
+ case D.InProgress:
4576
4579
  const f = [];
4577
- return E.forEach((y) => {
4578
- f.push(F(y));
4580
+ return H.forEach((y) => {
4581
+ f.push(ue(y));
4579
4582
  }), f;
4580
- case R.Referred:
4583
+ case D.Referred:
4581
4584
  return [i("verification.idenfy.referred-awaiting")];
4582
- case R.Failed:
4585
+ case D.Failed:
4583
4586
  return [i("verification.message.failed")];
4584
4587
  }
4585
- }, F = (f) => {
4586
- const y = v.VerificationStatuses.filter((S) => S.Vendor === f);
4587
- if (f === L.ShuftiPro)
4588
- return W(y);
4588
+ }, ue = (f) => {
4589
+ const y = $.VerificationStatuses.filter((S) => S.Vendor === f);
4590
+ if (f === j.ShuftiPro)
4591
+ return se(y);
4589
4592
  {
4590
- const S = i("verification.idenfy.link-name"), Y = {
4593
+ const S = i("verification.idenfy.link-name"), q = {
4591
4594
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
4592
4595
  };
4593
- return i("verification.idenfy.in-progress", { values: Y });
4596
+ return i("verification.idenfy.in-progress", { values: q });
4594
4597
  }
4595
- }, W = (f) => {
4596
- const y = [], S = {}, Y = [
4597
- X.Biometric,
4598
- X.Documents,
4599
- X.ProofOfAddress
4598
+ }, se = (f) => {
4599
+ const y = [], S = {}, q = [
4600
+ M.Biometric,
4601
+ M.Documents,
4602
+ M.ProofOfAddress
4600
4603
  ];
4601
- f.forEach((ee) => {
4602
- Y.includes(ee.Type) && (y.push(ee.Type), S[ee.Type] = le(ee, se(ee.Type)));
4604
+ f.forEach((K) => {
4605
+ q.includes(K.Type) && (y.push(K.Type), S[K.Type] = ce(K, oe(K.Type)));
4603
4606
  });
4604
- let Ke = y.every((ee) => H.has(ee)), ve = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4607
+ let Ke = y.every((K) => v.has(K)), ve = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4605
4608
  return Ke ? i("verification.shuftipro.validations-started") : i(ve, { values: S });
4606
- }, le = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, se = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
4609
+ }, ce = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, oe = (f) => i(`verification.shuftipro.link-name.${f}`), G = (f, y) => {
4607
4610
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4608
4611
  if (f.target.closest(".verificationLink")) {
4609
4612
  const S = f.target.className.split(" ")[1];
4610
- H.add(S), r(4, V = N());
4613
+ v.add(S), r(4, F = z());
4611
4614
  }
4612
4615
  return;
4613
4616
  }
4614
- y === 0 && r(5, U = !U);
4615
- }, ae = () => {
4616
- r(6, $ = c === "false");
4617
- }, G = () => {
4618
- r(8, I = A + "/" + s + "/" + Yn);
4617
+ y === 0 && r(5, B = !B);
4618
+ }, Q = () => {
4619
+ r(6, W = p === "false");
4620
+ }, de = () => {
4621
+ r(8, k = U + "/" + h + "/" + Qn);
4619
4622
  try {
4620
- fetch(I, { method: "HEAD" }).then((f) => {
4621
- r(7, z = f.ok);
4623
+ fetch(k, { method: "HEAD" }).then((f) => {
4624
+ r(7, N = f.ok);
4622
4625
  });
4623
4626
  } catch {
4624
- r(7, z = !1);
4627
+ r(7, N = !1);
4625
4628
  }
4626
- }, J = () => {
4627
- window.postMessage(
4628
- {
4629
- type: "ShowCashierVideoModal",
4630
- details: $ ? Zn : Jn
4631
- },
4632
- window.location.href
4633
- );
4634
- }, de = (f, y) => oe(y, f), ge = (f, y) => oe(y, f), Or = () => J();
4635
- function Pr(f) {
4629
+ }, me = () => {
4630
+ window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4631
+ }, Pr = (f, y) => G(y, f), Ar = (f, y) => G(y, f), $r = () => me();
4632
+ function Br(f) {
4636
4633
  at[f ? "unshift" : "push"](() => {
4637
- m = f, r(3, m);
4634
+ _ = f, r(3, _);
4638
4635
  });
4639
4636
  }
4640
4637
  return e.$$set = (f) => {
4641
- "endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, o = f.clientstylingurl), "session" in f && r(15, u = f.session), "customerid" in f && r(16, h = f.customerid), "ismobileview" in f && r(2, c = f.ismobileview);
4638
+ "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, h = 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, l = f.session), "customerid" in f && r(16, d = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview);
4642
4639
  }, e.$$.update = () => {
4643
4640
  e.$$.dirty[0] & /*lang*/
4644
- 8192 && s && pe(), e.$$.dirty[0] & /*endpoint, session*/
4645
- 36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
4646
- 16384 && l && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4647
- 9 && a && m && ke(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4648
- 10 && o && m && _(), e.$$.dirty[0] & /*ismobileview*/
4649
- 4 && c && ae(), e.$$.dirty[0] & /*staticCdnUrl*/
4650
- 131072 && A && G();
4641
+ 8192 && h && Ue(), e.$$.dirty[0] & /*endpoint, session*/
4642
+ 36864 && s && l && c(), e.$$.dirty[0] & /*endpoint, session*/
4643
+ 36864 && s && !l && b(), e.$$.dirty[0] & /*translationurl*/
4644
+ 16384 && a && ge(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4645
+ 9 && o && _ && x(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4646
+ 10 && u && _ && g(), e.$$.dirty[0] & /*ismobileview*/
4647
+ 4 && p && Q(), e.$$.dirty[0] & /*staticCdnUrl*/
4648
+ 131072 && U && de();
4651
4649
  }, [
4652
- a,
4653
4650
  o,
4654
- c,
4655
- m,
4656
- V,
4657
- U,
4658
- $,
4659
- z,
4660
- I,
4651
+ u,
4652
+ p,
4653
+ _,
4654
+ F,
4655
+ B,
4656
+ W,
4657
+ N,
4658
+ k,
4661
4659
  i,
4662
- oe,
4663
- J,
4664
- n,
4660
+ G,
4661
+ me,
4665
4662
  s,
4666
- l,
4667
- u,
4668
4663
  h,
4669
- A,
4670
- de,
4671
- ge,
4672
- Or,
4673
- Pr
4664
+ a,
4665
+ l,
4666
+ d,
4667
+ U,
4668
+ Pr,
4669
+ Ar,
4670
+ $r,
4671
+ Br
4674
4672
  ];
4675
4673
  }
4676
- class Kn extends Zr {
4674
+ class es extends Qr {
4677
4675
  constructor(t) {
4678
- super(), qr(
4676
+ super(), Zr(
4679
4677
  this,
4680
4678
  t,
4681
- Qn,
4682
- qn,
4683
- Zt,
4679
+ Kn,
4680
+ Jn,
4681
+ Jt,
4684
4682
  {
4685
4683
  endpoint: 12,
4686
4684
  lang: 13,
@@ -4691,7 +4689,7 @@ class Kn extends Zr {
4691
4689
  customerid: 16,
4692
4690
  ismobileview: 2
4693
4691
  },
4694
- Wn,
4692
+ Zn,
4695
4693
  [-1, -1]
4696
4694
  );
4697
4695
  }
@@ -4699,72 +4697,72 @@ class Kn extends Zr {
4699
4697
  return this.$$.ctx[12];
4700
4698
  }
4701
4699
  set endpoint(t) {
4702
- this.$$set({ endpoint: t }), te();
4700
+ this.$$set({ endpoint: t }), ee();
4703
4701
  }
4704
4702
  get lang() {
4705
4703
  return this.$$.ctx[13];
4706
4704
  }
4707
4705
  set lang(t) {
4708
- this.$$set({ lang: t }), te();
4706
+ this.$$set({ lang: t }), ee();
4709
4707
  }
4710
4708
  get translationurl() {
4711
4709
  return this.$$.ctx[14];
4712
4710
  }
4713
4711
  set translationurl(t) {
4714
- this.$$set({ translationurl: t }), te();
4712
+ this.$$set({ translationurl: t }), ee();
4715
4713
  }
4716
4714
  get clientstyling() {
4717
4715
  return this.$$.ctx[0];
4718
4716
  }
4719
4717
  set clientstyling(t) {
4720
- this.$$set({ clientstyling: t }), te();
4718
+ this.$$set({ clientstyling: t }), ee();
4721
4719
  }
4722
4720
  get clientstylingurl() {
4723
4721
  return this.$$.ctx[1];
4724
4722
  }
4725
4723
  set clientstylingurl(t) {
4726
- this.$$set({ clientstylingurl: t }), te();
4724
+ this.$$set({ clientstylingurl: t }), ee();
4727
4725
  }
4728
4726
  get session() {
4729
4727
  return this.$$.ctx[15];
4730
4728
  }
4731
4729
  set session(t) {
4732
- this.$$set({ session: t }), te();
4730
+ this.$$set({ session: t }), ee();
4733
4731
  }
4734
4732
  get customerid() {
4735
4733
  return this.$$.ctx[16];
4736
4734
  }
4737
4735
  set customerid(t) {
4738
- this.$$set({ customerid: t }), te();
4736
+ this.$$set({ customerid: t }), ee();
4739
4737
  }
4740
4738
  get ismobileview() {
4741
4739
  return this.$$.ctx[2];
4742
4740
  }
4743
4741
  set ismobileview(t) {
4744
- this.$$set({ ismobileview: t }), te();
4742
+ this.$$set({ ismobileview: t }), ee();
4745
4743
  }
4746
4744
  }
4747
- Yr(Kn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4745
+ Jr(es, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4748
4746
  export {
4749
- Kn as C,
4750
- Zr as S,
4751
- Br as a,
4752
- ue as b,
4753
- Yr as c,
4754
- ne as d,
4755
- rs as e,
4756
- te as f,
4757
- es as g,
4758
- K as h,
4759
- qr as i,
4760
- re as j,
4761
- Z as k,
4747
+ es as C,
4748
+ Qr as S,
4749
+ Cr as a,
4750
+ ae as b,
4751
+ Jr as c,
4752
+ ie as d,
4753
+ is as e,
4754
+ ee as f,
4755
+ ts as g,
4756
+ J as h,
4757
+ Zr as i,
4758
+ te as j,
4759
+ Y as k,
4762
4760
  xe as l,
4763
4761
  at as m,
4764
- Q as n,
4765
- is as o,
4762
+ Z as n,
4763
+ ns as o,
4766
4764
  _t as p,
4767
- ts as q,
4768
- Zt as s,
4765
+ rs as q,
4766
+ Jt as s,
4769
4767
  we as t
4770
4768
  };