@everymatrix/cashier-verifications 1.93.12 → 1.93.14

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,6 +1,6 @@
1
- function K() {
1
+ function ee() {
2
2
  }
3
- function pi(e, t) {
3
+ function gi(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function pi(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function br(e) {
11
+ function yr(e) {
12
12
  return e();
13
13
  }
14
14
  function Ut() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function Be(e) {
18
- e.forEach(br);
17
+ function Ae(e) {
18
+ e.forEach(yr);
19
19
  }
20
20
  function It(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function yr(e, t) {
23
+ function _r(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function mi(e) {
26
+ function bi(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function _r(e, ...t) {
29
+ function xr(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const i of t)
32
32
  i(void 0);
33
- return K;
33
+ return ee;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
38
  function Vt(e, t, r) {
39
- e.$$.on_destroy.push(_r(t, r));
39
+ e.$$.on_destroy.push(xr(t, r));
40
40
  }
41
- function os(e, t, r, i) {
41
+ function ls(e, t, r, i) {
42
42
  if (e) {
43
- const n = xr(e, t, r, i);
43
+ const n = Er(e, t, r, i);
44
44
  return e[0](n);
45
45
  }
46
46
  }
47
- function xr(e, t, r, i) {
48
- return e[1] && i ? pi(r.ctx.slice(), e[1](i(t))) : r.ctx;
47
+ function Er(e, t, r, i) {
48
+ return e[1] && i ? gi(r.ctx.slice(), e[1](i(t))) : r.ctx;
49
49
  }
50
- function ss(e, t, r, i) {
50
+ function cs(e, t, r, i) {
51
51
  if (e[2] && i) {
52
52
  const n = e[2](i(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function ss(e, t, r, i) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function as(e, t, r, i, n, o) {
65
+ function fs(e, t, r, i, n, o) {
66
66
  if (n) {
67
- const s = xr(t, r, i, o);
67
+ const s = Er(t, r, i, o);
68
68
  e.p(s, n);
69
69
  }
70
70
  }
71
- function us(e) {
71
+ function hs(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let i = 0; i < r; i++)
@@ -77,17 +77,17 @@ function us(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function G(e, t) {
80
+ function W(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function vi(e, t, r) {
84
- const i = gi(e);
83
+ function yi(e, t, r) {
84
+ const i = _i(e);
85
85
  if (!i.getElementById(t)) {
86
- const n = X("style");
87
- n.id = t, n.textContent = r, bi(i, n);
86
+ const n = q("style");
87
+ n.id = t, n.textContent = r, xi(i, n);
88
88
  }
89
89
  }
90
- function gi(e) {
90
+ function _i(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,8 +97,8 @@ function gi(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function bi(e, t) {
101
- return G(
100
+ function xi(e, t) {
101
+ return W(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
@@ -107,14 +107,14 @@ function bi(e, t) {
107
107
  function se(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function ee(e) {
110
+ function te(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function yi(e, t) {
113
+ function Ei(e, t) {
114
114
  for (let r = 0; r < e.length; r += 1)
115
115
  e[r] && e[r].d(t);
116
116
  }
117
- function X(e) {
117
+ function q(e) {
118
118
  return document.createElement(e);
119
119
  }
120
120
  function je(e) {
@@ -123,28 +123,31 @@ function je(e) {
123
123
  function Dt(e) {
124
124
  return document.createTextNode(e);
125
125
  }
126
- function Se() {
126
+ function we() {
127
127
  return Dt(" ");
128
128
  }
129
129
  function et(e, t, r, i) {
130
130
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
131
131
  }
132
- function $(e, t, r) {
132
+ function B(e, t, r) {
133
133
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
134
134
  }
135
135
  function ze(e, t, r) {
136
136
  const i = t.toLowerCase();
137
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
137
+ i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
138
138
  }
139
- function _i(e) {
139
+ function wi(e) {
140
140
  return Array.from(e.childNodes);
141
141
  }
142
- function Er(e, t) {
142
+ function wr(e, t) {
143
143
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
144
144
  t);
145
145
  }
146
+ function Ft(e, t, r, i) {
147
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
148
+ }
146
149
  let We;
147
- function xi() {
150
+ function Si() {
148
151
  if (We === void 0) {
149
152
  We = !1;
150
153
  try {
@@ -155,14 +158,14 @@ function xi() {
155
158
  }
156
159
  return We;
157
160
  }
158
- function ls(e, t) {
161
+ function Ti(e, t) {
159
162
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
160
- const i = X("iframe");
163
+ const i = q("iframe");
161
164
  i.setAttribute(
162
165
  "style",
163
166
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
164
167
  ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
165
- const n = xi();
168
+ const n = Si();
166
169
  let o;
167
170
  return n ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = et(
168
171
  window,
@@ -173,14 +176,14 @@ function ls(e, t) {
173
176
  }
174
177
  )) : (i.src = "about:blank", i.onload = () => {
175
178
  o = et(i.contentWindow, "resize", t), t();
176
- }), G(e, i), () => {
177
- (n || o && i.contentWindow) && o(), ee(i);
179
+ }), W(e, i), () => {
180
+ (n || o && i.contentWindow) && o(), te(i);
178
181
  };
179
182
  }
180
- function ce(e, t, r) {
183
+ function fe(e, t, r) {
181
184
  e.classList.toggle(t, !!r);
182
185
  }
183
- function Ei(e) {
186
+ function Oi(e) {
184
187
  const t = {};
185
188
  return e.childNodes.forEach(
186
189
  /** @param {Element} node */
@@ -189,72 +192,72 @@ function Ei(e) {
189
192
  }
190
193
  ), t;
191
194
  }
192
- let De;
193
- function Ie(e) {
194
- De = e;
195
+ let Ie;
196
+ function Le(e) {
197
+ Ie = e;
195
198
  }
196
- function wi() {
197
- if (!De)
199
+ function Pi() {
200
+ if (!Ie)
198
201
  throw new Error("Function called outside component initialization");
199
- return De;
202
+ return Ie;
200
203
  }
201
- function Si(e) {
202
- wi().$$.on_mount.push(e);
204
+ function Hi(e) {
205
+ Pi().$$.on_mount.push(e);
203
206
  }
204
- const Ee = [], bt = [];
205
- let Te = [];
206
- const Ft = [], wr = /* @__PURE__ */ Promise.resolve();
207
- let yt = !1;
208
- function Sr() {
209
- yt || (yt = !0, wr.then(J));
207
+ const xe = [], yt = [];
208
+ let Se = [];
209
+ const Gt = [], Sr = /* @__PURE__ */ Promise.resolve();
210
+ let _t = !1;
211
+ function Tr() {
212
+ _t || (_t = !0, Sr.then(Q));
210
213
  }
211
- function cs() {
212
- return Sr(), wr;
214
+ function ds() {
215
+ return Tr(), Sr;
213
216
  }
214
- function _t(e) {
215
- Te.push(e);
217
+ function tt(e) {
218
+ Se.push(e);
216
219
  }
217
- const ct = /* @__PURE__ */ new Set();
218
- let _e = 0;
219
- function J() {
220
- if (_e !== 0)
220
+ const ft = /* @__PURE__ */ new Set();
221
+ let ye = 0;
222
+ function Q() {
223
+ if (ye !== 0)
221
224
  return;
222
- const e = De;
225
+ const e = Ie;
223
226
  do {
224
227
  try {
225
- for (; _e < Ee.length; ) {
226
- const t = Ee[_e];
227
- _e++, Ie(t), Ti(t.$$);
228
+ for (; ye < xe.length; ) {
229
+ const t = xe[ye];
230
+ ye++, Le(t), Ai(t.$$);
228
231
  }
229
232
  } catch (t) {
230
- throw Ee.length = 0, _e = 0, t;
233
+ throw xe.length = 0, ye = 0, t;
231
234
  }
232
- for (Ie(null), Ee.length = 0, _e = 0; bt.length; )
233
- bt.pop()();
234
- for (let t = 0; t < Te.length; t += 1) {
235
- const r = Te[t];
236
- ct.has(r) || (ct.add(r), r());
235
+ for (Le(null), xe.length = 0, ye = 0; yt.length; )
236
+ yt.pop()();
237
+ for (let t = 0; t < Se.length; t += 1) {
238
+ const r = Se[t];
239
+ ft.has(r) || (ft.add(r), r());
237
240
  }
238
- Te.length = 0;
239
- } while (Ee.length);
240
- for (; Ft.length; )
241
- Ft.pop()();
242
- yt = !1, ct.clear(), Ie(e);
241
+ Se.length = 0;
242
+ } while (xe.length);
243
+ for (; Gt.length; )
244
+ Gt.pop()();
245
+ _t = !1, ft.clear(), Le(e);
243
246
  }
244
- function Ti(e) {
247
+ function Ai(e) {
245
248
  if (e.fragment !== null) {
246
- e.update(), Be(e.before_update);
249
+ e.update(), Ae(e.before_update);
247
250
  const t = e.dirty;
248
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_t);
251
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
249
252
  }
250
253
  }
251
- function Oi(e) {
254
+ function Bi(e) {
252
255
  const t = [], r = [];
253
- Te.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Te = t;
256
+ Se.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Se = t;
254
257
  }
255
258
  const Ye = /* @__PURE__ */ new Set();
256
259
  let ve;
257
- function fs() {
260
+ function ps() {
258
261
  ve = {
259
262
  r: 0,
260
263
  c: [],
@@ -262,13 +265,13 @@ function fs() {
262
265
  // parent group
263
266
  };
264
267
  }
265
- function hs() {
266
- ve.r || Be(ve.c), ve = ve.p;
268
+ function ms() {
269
+ ve.r || Ae(ve.c), ve = ve.p;
267
270
  }
268
- function Pi(e, t) {
271
+ function Mi(e, t) {
269
272
  e && e.i && (Ye.delete(e), e.i(t));
270
273
  }
271
- function ds(e, t, r, i) {
274
+ function vs(e, t, r, i) {
272
275
  if (e && e.o) {
273
276
  if (Ye.has(e))
274
277
  return;
@@ -278,32 +281,32 @@ function ds(e, t, r, i) {
278
281
  } else
279
282
  i && i();
280
283
  }
281
- function Gt(e) {
284
+ function jt(e) {
282
285
  return e?.length !== void 0 ? e : Array.from(e);
283
286
  }
284
- function Hi(e, t, r) {
287
+ function Ci(e, t, r) {
285
288
  const { fragment: i, after_update: n } = e.$$;
286
- i && i.m(t, r), _t(() => {
287
- const o = e.$$.on_mount.map(br).filter(It);
288
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Be(o), e.$$.on_mount = [];
289
- }), n.forEach(_t);
289
+ i && i.m(t, r), tt(() => {
290
+ const o = e.$$.on_mount.map(yr).filter(It);
291
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ae(o), e.$$.on_mount = [];
292
+ }), n.forEach(tt);
290
293
  }
291
- function Ai(e, t) {
294
+ function $i(e, t) {
292
295
  const r = e.$$;
293
- r.fragment !== null && (Oi(r.after_update), Be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
296
+ r.fragment !== null && (Bi(r.after_update), Ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
294
297
  }
295
- function Bi(e, t) {
296
- e.$$.dirty[0] === -1 && (Ee.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
298
+ function Li(e, t) {
299
+ e.$$.dirty[0] === -1 && (xe.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
300
  }
298
- function Mi(e, t, r, i, n, o, s = null, a = [-1]) {
299
- const u = De;
300
- Ie(e);
301
+ function Ii(e, t, r, i, n, o, s = null, a = [-1]) {
302
+ const u = Ie;
303
+ Le(e);
301
304
  const l = e.$$ = {
302
305
  fragment: null,
303
306
  ctx: [],
304
307
  // state
305
308
  props: o,
306
- update: K,
309
+ update: ee,
307
310
  not_equal: n,
308
311
  bound: Ut(),
309
312
  // lifecycle
@@ -321,21 +324,21 @@ function Mi(e, t, r, i, n, o, s = null, a = [-1]) {
321
324
  };
322
325
  s && s(l.root);
323
326
  let f = !1;
324
- if (l.ctx = r ? r(e, t.props || {}, (p, v, ...b) => {
325
- const T = b.length ? b[0] : v;
326
- return l.ctx && n(l.ctx[p], l.ctx[p] = T) && (!l.skip_bound && l.bound[p] && l.bound[p](T), f && Bi(e, p)), v;
327
- }) : [], l.update(), f = !0, Be(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
327
+ if (l.ctx = r ? r(e, t.props || {}, (p, m, ...y) => {
328
+ const _ = y.length ? y[0] : m;
329
+ return l.ctx && n(l.ctx[p], l.ctx[p] = _) && (!l.skip_bound && l.bound[p] && l.bound[p](_), f && Li(e, p)), m;
330
+ }) : [], l.update(), f = !0, Ae(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
328
331
  if (t.hydrate) {
329
- const p = _i(t.target);
330
- l.fragment && l.fragment.l(p), p.forEach(ee);
332
+ const p = wi(t.target);
333
+ l.fragment && l.fragment.l(p), p.forEach(te);
331
334
  } else
332
335
  l.fragment && l.fragment.c();
333
- t.intro && Pi(e.$$.fragment), Hi(e, t.target, t.anchor), J();
336
+ t.intro && Mi(e.$$.fragment), Ci(e, t.target, t.anchor), Q();
334
337
  }
335
- Ie(u);
338
+ Le(u);
336
339
  }
337
- let Tr;
338
- typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
340
+ let Or;
341
+ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
339
342
  /** The Svelte component constructor */
340
343
  $$ctor;
341
344
  /** Slots */
@@ -377,7 +380,7 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
377
380
  let o;
378
381
  return {
379
382
  c: function() {
380
- o = X("slot"), n !== "default" && $(o, "name", n);
383
+ o = q("slot"), n !== "default" && B(o, "name", n);
381
384
  },
382
385
  /**
383
386
  * @param {HTMLElement} target
@@ -387,14 +390,14 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
387
390
  se(u, o, l);
388
391
  },
389
392
  d: function(u) {
390
- u && ee(o);
393
+ u && te(o);
391
394
  }
392
395
  };
393
396
  };
394
397
  };
395
398
  if (await Promise.resolve(), !this.$$cn || this.$$c)
396
399
  return;
397
- const t = {}, r = Ei(this);
400
+ const t = {}, r = Oi(this);
398
401
  for (const n of this.$$s)
399
402
  n in r && (t[n] = [e(n)]);
400
403
  for (const n of this.attributes) {
@@ -481,8 +484,8 @@ function Ze(e, t, r, i) {
481
484
  return t;
482
485
  }
483
486
  }
484
- function Ci(e, t, r, i, n, o) {
485
- let s = class extends Tr {
487
+ function Di(e, t, r, i, n, o) {
488
+ let s = class extends Or {
486
489
  constructor() {
487
490
  super(e, r, n), this.$$p_d = t;
488
491
  }
@@ -510,7 +513,7 @@ function Ci(e, t, r, i, n, o) {
510
513
  }), e.element = /** @type {any} */
511
514
  s, s;
512
515
  }
513
- class $i {
516
+ class Ni {
514
517
  /**
515
518
  * ### PRIVATE API
516
519
  *
@@ -529,7 +532,7 @@ class $i {
529
532
  $$set = void 0;
530
533
  /** @returns {void} */
531
534
  $destroy() {
532
- Ai(this, 1), this.$destroy = K;
535
+ $i(this, 1), this.$destroy = ee;
533
536
  }
534
537
  /**
535
538
  * @template {Extract<keyof Events, string>} K
@@ -539,7 +542,7 @@ class $i {
539
542
  */
540
543
  $on(t, r) {
541
544
  if (!It(r))
542
- return K;
545
+ return ee;
543
546
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
544
547
  return i.push(r), () => {
545
548
  const n = i.indexOf(r);
@@ -551,149 +554,149 @@ class $i {
551
554
  * @returns {void}
552
555
  */
553
556
  $set(t) {
554
- this.$$set && !mi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
557
+ this.$$set && !bi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
558
  }
556
559
  }
557
- const Li = "4";
558
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Li);
559
- const xe = [];
560
- function Ii(e, t) {
560
+ const ki = "4";
561
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ki);
562
+ const _e = [];
563
+ function Ri(e, t) {
561
564
  return {
562
- subscribe: Re(e, t).subscribe
565
+ subscribe: ke(e, t).subscribe
563
566
  };
564
567
  }
565
- function Re(e, t = K) {
568
+ function ke(e, t = ee) {
566
569
  let r;
567
570
  const i = /* @__PURE__ */ new Set();
568
571
  function n(a) {
569
- if (yr(e, a) && (e = a, r)) {
570
- const u = !xe.length;
572
+ if (_r(e, a) && (e = a, r)) {
573
+ const u = !_e.length;
571
574
  for (const l of i)
572
- l[1](), xe.push(l, e);
575
+ l[1](), _e.push(l, e);
573
576
  if (u) {
574
- for (let l = 0; l < xe.length; l += 2)
575
- xe[l][0](xe[l + 1]);
576
- xe.length = 0;
577
+ for (let l = 0; l < _e.length; l += 2)
578
+ _e[l][0](_e[l + 1]);
579
+ _e.length = 0;
577
580
  }
578
581
  }
579
582
  }
580
583
  function o(a) {
581
584
  n(a(e));
582
585
  }
583
- function s(a, u = K) {
586
+ function s(a, u = ee) {
584
587
  const l = [a, u];
585
- return i.add(l), i.size === 1 && (r = t(n, o) || K), a(e), () => {
588
+ return i.add(l), i.size === 1 && (r = t(n, o) || ee), a(e), () => {
586
589
  i.delete(l), i.size === 0 && r && (r(), r = null);
587
590
  };
588
591
  }
589
592
  return { set: n, update: o, subscribe: s };
590
593
  }
591
- function Me(e, t, r) {
594
+ function Be(e, t, r) {
592
595
  const i = !Array.isArray(e), n = i ? [e] : e;
593
596
  if (!n.every(Boolean))
594
597
  throw new Error("derived() expects stores as input, got a falsy value");
595
598
  const o = t.length < 2;
596
- return Ii(r, (s, a) => {
599
+ return Ri(r, (s, a) => {
597
600
  let u = !1;
598
601
  const l = [];
599
- let f = 0, p = K;
600
- const v = () => {
602
+ let f = 0, p = ee;
603
+ const m = () => {
601
604
  if (f)
602
605
  return;
603
606
  p();
604
- const T = t(i ? l[0] : l, s, a);
605
- o ? s(T) : p = It(T) ? T : K;
606
- }, b = n.map(
607
- (T, h) => _r(
608
- T,
607
+ const _ = t(i ? l[0] : l, s, a);
608
+ o ? s(_) : p = It(_) ? _ : ee;
609
+ }, y = n.map(
610
+ (_, d) => xr(
611
+ _,
609
612
  (I) => {
610
- l[h] = I, f &= ~(1 << h), u && v();
613
+ l[d] = I, f &= ~(1 << d), u && m();
611
614
  },
612
615
  () => {
613
- f |= 1 << h;
616
+ f |= 1 << d;
614
617
  }
615
618
  )
616
619
  );
617
- return u = !0, v(), function() {
618
- Be(b), p(), u = !1;
620
+ return u = !0, m(), function() {
621
+ Ae(y), p(), u = !1;
619
622
  };
620
623
  });
621
624
  }
622
- var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
625
+ var Pr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
623
626
  function Nt(e) {
624
627
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
625
628
  }
626
- var Di = function(t) {
627
- return Ni(t) && !ki(t);
629
+ var Ui = function(t) {
630
+ return Vi(t) && !Fi(t);
628
631
  };
629
- function Ni(e) {
632
+ function Vi(e) {
630
633
  return !!e && typeof e == "object";
631
634
  }
632
- function ki(e) {
635
+ function Fi(e) {
633
636
  var t = Object.prototype.toString.call(e);
634
- return t === "[object RegExp]" || t === "[object Date]" || Vi(e);
637
+ return t === "[object RegExp]" || t === "[object Date]" || zi(e);
635
638
  }
636
- var Ri = typeof Symbol == "function" && Symbol.for, Ui = Ri ? Symbol.for("react.element") : 60103;
637
- function Vi(e) {
638
- return e.$$typeof === Ui;
639
+ var Gi = typeof Symbol == "function" && Symbol.for, ji = Gi ? Symbol.for("react.element") : 60103;
640
+ function zi(e) {
641
+ return e.$$typeof === ji;
639
642
  }
640
- function Fi(e) {
643
+ function Wi(e) {
641
644
  return Array.isArray(e) ? [] : {};
642
645
  }
643
- function Ne(e, t) {
644
- return t.clone !== !1 && t.isMergeableObject(e) ? Oe(Fi(e), e, t) : e;
646
+ function De(e, t) {
647
+ return t.clone !== !1 && t.isMergeableObject(e) ? Te(Wi(e), e, t) : e;
645
648
  }
646
- function Gi(e, t, r) {
649
+ function Xi(e, t, r) {
647
650
  return e.concat(t).map(function(i) {
648
- return Ne(i, r);
651
+ return De(i, r);
649
652
  });
650
653
  }
651
- function ji(e, t) {
654
+ function qi(e, t) {
652
655
  if (!t.customMerge)
653
- return Oe;
656
+ return Te;
654
657
  var r = t.customMerge(e);
655
- return typeof r == "function" ? r : Oe;
658
+ return typeof r == "function" ? r : Te;
656
659
  }
657
- function zi(e) {
660
+ function Yi(e) {
658
661
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
659
662
  return Object.propertyIsEnumerable.call(e, t);
660
663
  }) : [];
661
664
  }
662
- function jt(e) {
663
- return Object.keys(e).concat(zi(e));
665
+ function zt(e) {
666
+ return Object.keys(e).concat(Yi(e));
664
667
  }
665
- function Pr(e, t) {
668
+ function Hr(e, t) {
666
669
  try {
667
670
  return t in e;
668
671
  } catch {
669
672
  return !1;
670
673
  }
671
674
  }
672
- function Wi(e, t) {
673
- return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
675
+ function Zi(e, t) {
676
+ return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
674
677
  }
675
- function Xi(e, t, r) {
678
+ function Ji(e, t, r) {
676
679
  var i = {};
677
- return r.isMergeableObject(e) && jt(e).forEach(function(n) {
678
- i[n] = Ne(e[n], r);
679
- }), jt(t).forEach(function(n) {
680
- Wi(e, n) || (Pr(e, n) && r.isMergeableObject(t[n]) ? i[n] = ji(n, r)(e[n], t[n], r) : i[n] = Ne(t[n], r));
680
+ return r.isMergeableObject(e) && zt(e).forEach(function(n) {
681
+ i[n] = De(e[n], r);
682
+ }), zt(t).forEach(function(n) {
683
+ Zi(e, n) || (Hr(e, n) && r.isMergeableObject(t[n]) ? i[n] = qi(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
681
684
  }), i;
682
685
  }
683
- function Oe(e, t, r) {
684
- r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Di, r.cloneUnlessOtherwiseSpecified = Ne;
686
+ function Te(e, t, r) {
687
+ r = r || {}, r.arrayMerge = r.arrayMerge || Xi, r.isMergeableObject = r.isMergeableObject || Ui, r.cloneUnlessOtherwiseSpecified = De;
685
688
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
686
- return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : Ne(t, r);
689
+ return o ? i ? r.arrayMerge(e, t, r) : Ji(e, t, r) : De(t, r);
687
690
  }
688
- Oe.all = function(t, r) {
691
+ Te.all = function(t, r) {
689
692
  if (!Array.isArray(t))
690
693
  throw new Error("first argument should be an array");
691
694
  return t.reduce(function(i, n) {
692
- return Oe(i, n, r);
695
+ return Te(i, n, r);
693
696
  }, {});
694
697
  };
695
- var qi = Oe, Yi = qi;
696
- const Zi = /* @__PURE__ */ Nt(Yi);
698
+ var Qi = Te, Ki = Qi;
699
+ const en = /* @__PURE__ */ Nt(Ki);
697
700
  var xt = function(e, t) {
698
701
  return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
699
702
  r.__proto__ = i;
@@ -702,7 +705,7 @@ var xt = function(e, t) {
702
705
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
703
706
  }, xt(e, t);
704
707
  };
705
- function ot(e, t) {
708
+ function st(e, t) {
706
709
  if (typeof t != "function" && t !== null)
707
710
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
708
711
  xt(e, t);
@@ -721,7 +724,7 @@ var ie = function() {
721
724
  return t;
722
725
  }, ie.apply(this, arguments);
723
726
  };
724
- function Ji(e, t) {
727
+ function tn(e, t) {
725
728
  var r = {};
726
729
  for (var i in e)
727
730
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -730,43 +733,43 @@ function Ji(e, t) {
730
733
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
731
734
  return r;
732
735
  }
733
- function ft(e, t, r) {
736
+ function ht(e, t, r) {
734
737
  if (r || arguments.length === 2)
735
738
  for (var i = 0, n = t.length, o; i < n; i++)
736
739
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
737
740
  return e.concat(o || Array.prototype.slice.call(t));
738
741
  }
739
- function ht(e, t) {
740
- var r = t && t.cache ? t.cache : on, i = t && t.serializer ? t.serializer : rn, n = t && t.strategy ? t.strategy : en;
742
+ function dt(e, t) {
743
+ var r = t && t.cache ? t.cache : ln, i = t && t.serializer ? t.serializer : an, n = t && t.strategy ? t.strategy : on;
741
744
  return n(e, {
742
745
  cache: r,
743
746
  serializer: i
744
747
  });
745
748
  }
746
- function Qi(e) {
749
+ function rn(e) {
747
750
  return e == null || typeof e == "number" || typeof e == "boolean";
748
751
  }
749
- function Ki(e, t, r, i) {
750
- var n = Qi(i) ? i : r(i), o = t.get(n);
752
+ function nn(e, t, r, i) {
753
+ var n = rn(i) ? i : r(i), o = t.get(n);
751
754
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
752
755
  }
753
- function Hr(e, t, r) {
756
+ function Ar(e, t, r) {
754
757
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
755
758
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
756
759
  }
757
- function Ar(e, t, r, i, n) {
760
+ function Br(e, t, r, i, n) {
758
761
  return r.bind(t, e, i, n);
759
762
  }
760
- function en(e, t) {
761
- var r = e.length === 1 ? Ki : Hr;
762
- return Ar(e, this, r, t.cache.create(), t.serializer);
763
+ function on(e, t) {
764
+ var r = e.length === 1 ? nn : Ar;
765
+ return Br(e, this, r, t.cache.create(), t.serializer);
763
766
  }
764
- function tn(e, t) {
765
- return Ar(e, this, Hr, t.cache.create(), t.serializer);
767
+ function sn(e, t) {
768
+ return Br(e, this, Ar, t.cache.create(), t.serializer);
766
769
  }
767
- var rn = function() {
770
+ var an = function() {
768
771
  return JSON.stringify(arguments);
769
- }, nn = (
772
+ }, un = (
770
773
  /** @class */
771
774
  function() {
772
775
  function e() {
@@ -778,71 +781,71 @@ var rn = function() {
778
781
  this.cache[t] = r;
779
782
  }, e;
780
783
  }()
781
- ), on = {
784
+ ), ln = {
782
785
  create: function() {
783
- return new nn();
786
+ return new un();
784
787
  }
785
- }, dt = {
786
- variadic: tn
787
- }, tt = function() {
788
- return tt = Object.assign || function(t) {
788
+ }, pt = {
789
+ variadic: sn
790
+ }, rt = function() {
791
+ return rt = Object.assign || function(t) {
789
792
  for (var r, i = 1, n = arguments.length; i < n; i++) {
790
793
  r = arguments[i];
791
794
  for (var o in r)
792
795
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
793
796
  }
794
797
  return t;
795
- }, tt.apply(this, arguments);
798
+ }, rt.apply(this, arguments);
796
799
  };
797
- var A;
800
+ var P;
798
801
  (function(e) {
799
802
  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";
800
- })(A || (A = {}));
801
- var N;
803
+ })(P || (P = {}));
804
+ var k;
802
805
  (function(e) {
803
806
  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";
804
- })(N || (N = {}));
805
- var Pe;
807
+ })(k || (k = {}));
808
+ var Oe;
806
809
  (function(e) {
807
810
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
808
- })(Pe || (Pe = {}));
809
- function zt(e) {
810
- return e.type === N.literal;
811
+ })(Oe || (Oe = {}));
812
+ function Wt(e) {
813
+ return e.type === k.literal;
811
814
  }
812
- function sn(e) {
813
- return e.type === N.argument;
814
- }
815
- function Br(e) {
816
- return e.type === N.number;
815
+ function cn(e) {
816
+ return e.type === k.argument;
817
817
  }
818
818
  function Mr(e) {
819
- return e.type === N.date;
819
+ return e.type === k.number;
820
820
  }
821
821
  function Cr(e) {
822
- return e.type === N.time;
822
+ return e.type === k.date;
823
823
  }
824
824
  function $r(e) {
825
- return e.type === N.select;
825
+ return e.type === k.time;
826
826
  }
827
827
  function Lr(e) {
828
- return e.type === N.plural;
829
- }
830
- function an(e) {
831
- return e.type === N.pound;
828
+ return e.type === k.select;
832
829
  }
833
830
  function Ir(e) {
834
- return e.type === N.tag;
831
+ return e.type === k.plural;
832
+ }
833
+ function fn(e) {
834
+ return e.type === k.pound;
835
835
  }
836
836
  function Dr(e) {
837
- return !!(e && typeof e == "object" && e.type === Pe.number);
837
+ return e.type === k.tag;
838
+ }
839
+ function Nr(e) {
840
+ return !!(e && typeof e == "object" && e.type === Oe.number);
838
841
  }
839
842
  function Et(e) {
840
- return !!(e && typeof e == "object" && e.type === Pe.dateTime);
843
+ return !!(e && typeof e == "object" && e.type === Oe.dateTime);
841
844
  }
842
- var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
843
- function ln(e) {
845
+ var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
846
+ function dn(e) {
844
847
  var t = {};
845
- return e.replace(un, function(r) {
848
+ return e.replace(hn, function(r) {
846
849
  var i = r.length;
847
850
  switch (r[0]) {
848
851
  case "G":
@@ -931,22 +934,22 @@ function ln(e) {
931
934
  return "";
932
935
  }), t;
933
936
  }
934
- var U = function() {
935
- return U = Object.assign || function(t) {
937
+ var V = function() {
938
+ return V = Object.assign || function(t) {
936
939
  for (var r, i = 1, n = arguments.length; i < n; i++) {
937
940
  r = arguments[i];
938
941
  for (var o in r)
939
942
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
940
943
  }
941
944
  return t;
942
- }, U.apply(this, arguments);
945
+ }, V.apply(this, arguments);
943
946
  };
944
- var cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
945
- function fn(e) {
947
+ var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
948
+ function mn(e) {
946
949
  if (e.length === 0)
947
950
  throw new Error("Number skeleton cannot be empty");
948
- for (var t = e.split(cn).filter(function(v) {
949
- return v.length > 0;
951
+ for (var t = e.split(pn).filter(function(m) {
952
+ return m.length > 0;
950
953
  }), r = [], i = 0, n = t; i < n.length; i++) {
951
954
  var o = n[i], s = o.split("/");
952
955
  if (s.length === 0)
@@ -960,17 +963,17 @@ function fn(e) {
960
963
  }
961
964
  return r;
962
965
  }
963
- function hn(e) {
966
+ function vn(e) {
964
967
  return e.replace(/^(.*?)-/, "");
965
968
  }
966
- var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
967
- function Xt(e) {
969
+ var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
970
+ function qt(e) {
968
971
  var t = {};
969
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, i, n) {
972
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, i, n) {
970
973
  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)), "";
971
974
  }), t;
972
975
  }
973
- function Ur(e) {
976
+ function Vr(e) {
974
977
  switch (e) {
975
978
  case "sign-auto":
976
979
  return {
@@ -1010,7 +1013,7 @@ function Ur(e) {
1010
1013
  };
1011
1014
  }
1012
1015
  }
1013
- function pn(e) {
1016
+ function bn(e) {
1014
1017
  var t;
1015
1018
  if (e[0] === "E" && e[1] === "E" ? (t = {
1016
1019
  notation: "engineering"
@@ -1018,17 +1021,17 @@ function pn(e) {
1018
1021
  notation: "scientific"
1019
1022
  }, e = e.slice(1)), t) {
1020
1023
  var r = e.slice(0, 2);
1021
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
1024
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
1022
1025
  throw new Error("Malformed concise eng/scientific notation");
1023
1026
  t.minimumIntegerDigits = e.length;
1024
1027
  }
1025
1028
  return t;
1026
1029
  }
1027
- function qt(e) {
1028
- var t = {}, r = Ur(e);
1030
+ function Yt(e) {
1031
+ var t = {}, r = Vr(e);
1029
1032
  return r || t;
1030
1033
  }
1031
- function mn(e) {
1034
+ function yn(e) {
1032
1035
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1033
1036
  var n = i[r];
1034
1037
  switch (n.stem) {
@@ -1052,7 +1055,7 @@ function mn(e) {
1052
1055
  continue;
1053
1056
  case "measure-unit":
1054
1057
  case "unit":
1055
- t.style = "unit", t.unit = hn(n.options[0]);
1058
+ t.style = "unit", t.unit = vn(n.options[0]);
1056
1059
  continue;
1057
1060
  case "compact-short":
1058
1061
  case "K":
@@ -1063,13 +1066,13 @@ function mn(e) {
1063
1066
  t.notation = "compact", t.compactDisplay = "long";
1064
1067
  continue;
1065
1068
  case "scientific":
1066
- t = U(U(U({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
1067
- return U(U({}, u), qt(l));
1069
+ t = V(V(V({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
1070
+ return V(V({}, u), Yt(l));
1068
1071
  }, {}));
1069
1072
  continue;
1070
1073
  case "engineering":
1071
- t = U(U(U({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
1072
- return U(U({}, u), qt(l));
1074
+ t = V(V(V({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
1075
+ return V(V({}, u), Yt(l));
1073
1076
  }, {}));
1074
1077
  continue;
1075
1078
  case "notation-simple":
@@ -1114,41 +1117,41 @@ function mn(e) {
1114
1117
  case "integer-width":
1115
1118
  if (n.options.length > 1)
1116
1119
  throw new RangeError("integer-width stems only accept a single optional option");
1117
- n.options[0].replace(dn, function(u, l, f, p, v, b) {
1120
+ n.options[0].replace(gn, function(u, l, f, p, m, y) {
1118
1121
  if (l)
1119
1122
  t.minimumIntegerDigits = f.length;
1120
1123
  else {
1121
- if (p && v)
1124
+ if (p && m)
1122
1125
  throw new Error("We currently do not support maximum integer digits");
1123
- if (b)
1126
+ if (y)
1124
1127
  throw new Error("We currently do not support exact integer digits");
1125
1128
  }
1126
1129
  return "";
1127
1130
  });
1128
1131
  continue;
1129
1132
  }
1130
- if (Rr.test(n.stem)) {
1133
+ if (Ur.test(n.stem)) {
1131
1134
  t.minimumIntegerDigits = n.stem.length;
1132
1135
  continue;
1133
1136
  }
1134
- if (Wt.test(n.stem)) {
1137
+ if (Xt.test(n.stem)) {
1135
1138
  if (n.options.length > 1)
1136
1139
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1137
- n.stem.replace(Wt, function(u, l, f, p, v, b) {
1138
- return f === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : v && b ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1140
+ n.stem.replace(Xt, function(u, l, f, p, m, y) {
1141
+ return f === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1139
1142
  });
1140
1143
  var o = n.options[0];
1141
- o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), Xt(o)));
1144
+ o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), qt(o)));
1142
1145
  continue;
1143
1146
  }
1144
- if (kr.test(n.stem)) {
1145
- t = U(U({}, t), Xt(n.stem));
1147
+ if (Rr.test(n.stem)) {
1148
+ t = V(V({}, t), qt(n.stem));
1146
1149
  continue;
1147
1150
  }
1148
- var s = Ur(n.stem);
1149
- s && (t = U(U({}, t), s));
1150
- var a = pn(n.stem);
1151
- a && (t = U(U({}, t), a));
1151
+ var s = Vr(n.stem);
1152
+ s && (t = V(V({}, t), s));
1153
+ var a = bn(n.stem);
1154
+ a && (t = V(V({}, t), a));
1152
1155
  }
1153
1156
  return t;
1154
1157
  }
@@ -2567,13 +2570,13 @@ var Xe = {
2567
2570
  "h"
2568
2571
  ]
2569
2572
  };
2570
- function vn(e, t) {
2573
+ function _n(e, t) {
2571
2574
  for (var r = "", i = 0; i < e.length; i++) {
2572
2575
  var n = e.charAt(i);
2573
2576
  if (n === "j") {
2574
2577
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2575
2578
  o++, i++;
2576
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = gn(t);
2579
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xn(t);
2577
2580
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2578
2581
  r += u;
2579
2582
  for (; s-- > 0; )
@@ -2583,7 +2586,7 @@ function vn(e, t) {
2583
2586
  }
2584
2587
  return r;
2585
2588
  }
2586
- function gn(e) {
2589
+ function xn(e) {
2587
2590
  var t = e.hourCycle;
2588
2591
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2589
2592
  e.hourCycles && // @ts-ignore
@@ -2605,20 +2608,20 @@ function gn(e) {
2605
2608
  var n = Xe[i || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
2606
2609
  return n[0];
2607
2610
  }
2608
- var pt, bn = new RegExp("^".concat(Nr.source, "*")), yn = new RegExp("".concat(Nr.source, "*$"));
2609
- function M(e, t) {
2611
+ var mt, En = new RegExp("^".concat(kr.source, "*")), wn = new RegExp("".concat(kr.source, "*$"));
2612
+ function A(e, t) {
2610
2613
  return { start: e, end: t };
2611
2614
  }
2612
- var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, En = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, Pn = On ? Number.isSafeInteger : function(e) {
2615
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, On = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Bn = !!Number.isSafeInteger, Mn = Bn ? Number.isSafeInteger : function(e) {
2613
2616
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2614
2617
  }, wt = !0;
2615
2618
  try {
2616
- var Hn = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
- wt = ((pt = Hn.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2619
+ var Cn = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
+ wt = ((mt = Cn.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
2618
2621
  } catch {
2619
2622
  wt = !1;
2620
2623
  }
2621
- var Yt = _n ? (
2624
+ var Zt = Sn ? (
2622
2625
  // Native
2623
2626
  function(t, r, i) {
2624
2627
  return t.startsWith(r, i);
@@ -2628,7 +2631,7 @@ var Yt = _n ? (
2628
2631
  function(t, r, i) {
2629
2632
  return t.slice(i, i + r.length) === r;
2630
2633
  }
2631
- ), St = xn ? String.fromCodePoint : (
2634
+ ), St = Tn ? String.fromCodePoint : (
2632
2635
  // IE11
2633
2636
  function() {
2634
2637
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2640,9 +2643,9 @@ var Yt = _n ? (
2640
2643
  }
2641
2644
  return i;
2642
2645
  }
2643
- ), Zt = (
2646
+ ), Jt = (
2644
2647
  // native
2645
- En ? Object.fromEntries : (
2648
+ On ? Object.fromEntries : (
2646
2649
  // Ponyfill
2647
2650
  function(t) {
2648
2651
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2652,7 +2655,7 @@ var Yt = _n ? (
2652
2655
  return r;
2653
2656
  }
2654
2657
  )
2655
- ), Vr = wn ? (
2658
+ ), Fr = Pn ? (
2656
2659
  // Native
2657
2660
  function(t, r) {
2658
2661
  return t.codePointAt(r);
@@ -2666,7 +2669,7 @@ var Yt = _n ? (
2666
2669
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2667
2670
  }
2668
2671
  }
2669
- ), An = Sn ? (
2672
+ ), $n = Hn ? (
2670
2673
  // Native
2671
2674
  function(t) {
2672
2675
  return t.trimStart();
@@ -2674,9 +2677,9 @@ var Yt = _n ? (
2674
2677
  ) : (
2675
2678
  // Ponyfill
2676
2679
  function(t) {
2677
- return t.replace(bn, "");
2680
+ return t.replace(En, "");
2678
2681
  }
2679
- ), Bn = Tn ? (
2682
+ ), Ln = An ? (
2680
2683
  // Native
2681
2684
  function(t) {
2682
2685
  return t.trimEnd();
@@ -2684,32 +2687,32 @@ var Yt = _n ? (
2684
2687
  ) : (
2685
2688
  // Ponyfill
2686
2689
  function(t) {
2687
- return t.replace(yn, "");
2690
+ return t.replace(wn, "");
2688
2691
  }
2689
2692
  );
2690
- function Fr(e, t) {
2693
+ function Gr(e, t) {
2691
2694
  return new RegExp(e, t);
2692
2695
  }
2693
2696
  var Tt;
2694
2697
  if (wt) {
2695
- var Jt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2698
+ var Qt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2696
2699
  Tt = function(t, r) {
2697
2700
  var i;
2698
- Jt.lastIndex = r;
2699
- var n = Jt.exec(t);
2701
+ Qt.lastIndex = r;
2702
+ var n = Qt.exec(t);
2700
2703
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2701
2704
  };
2702
2705
  } else
2703
2706
  Tt = function(t, r) {
2704
2707
  for (var i = []; ; ) {
2705
- var n = Vr(t, r);
2706
- if (n === void 0 || Gr(n) || Ln(n))
2708
+ var n = Fr(t, r);
2709
+ if (n === void 0 || jr(n) || kn(n))
2707
2710
  break;
2708
2711
  i.push(n), r += n >= 65536 ? 2 : 1;
2709
2712
  }
2710
2713
  return St.apply(void 0, i);
2711
2714
  };
2712
- var Mn = (
2715
+ var In = (
2713
2716
  /** @class */
2714
2717
  function() {
2715
2718
  function e(t, r) {
@@ -2733,13 +2736,13 @@ var Mn = (
2733
2736
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2734
2737
  var a = this.clonePosition();
2735
2738
  this.bump(), n.push({
2736
- type: N.pound,
2737
- location: M(a, this.clonePosition())
2739
+ type: k.pound,
2740
+ location: A(a, this.clonePosition())
2738
2741
  });
2739
2742
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2740
2743
  if (i)
2741
2744
  break;
2742
- return this.error(A.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2745
+ return this.error(P.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2743
2746
  } else if (o === 60 && !this.ignoreTag && Ot(this.peek() || 0)) {
2744
2747
  var s = this.parseTag(t, r);
2745
2748
  if (s.err)
@@ -2761,9 +2764,9 @@ var Mn = (
2761
2764
  if (this.bumpSpace(), this.bumpIf("/>"))
2762
2765
  return {
2763
2766
  val: {
2764
- type: N.literal,
2767
+ type: k.literal,
2765
2768
  value: "<".concat(n, "/>"),
2766
- location: M(i, this.clonePosition())
2769
+ location: A(i, this.clonePosition())
2767
2770
  },
2768
2771
  err: null
2769
2772
  };
@@ -2774,24 +2777,24 @@ var Mn = (
2774
2777
  var s = o.val, a = this.clonePosition();
2775
2778
  if (this.bumpIf("</")) {
2776
2779
  if (this.isEOF() || !Ot(this.char()))
2777
- return this.error(A.INVALID_TAG, M(a, this.clonePosition()));
2780
+ return this.error(P.INVALID_TAG, A(a, this.clonePosition()));
2778
2781
  var u = this.clonePosition(), l = this.parseTagName();
2779
- return n !== l ? this.error(A.UNMATCHED_CLOSING_TAG, M(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2782
+ return n !== l ? this.error(P.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2780
2783
  val: {
2781
- type: N.tag,
2784
+ type: k.tag,
2782
2785
  value: n,
2783
2786
  children: s,
2784
- location: M(i, this.clonePosition())
2787
+ location: A(i, this.clonePosition())
2785
2788
  },
2786
2789
  err: null
2787
- } : this.error(A.INVALID_TAG, M(a, this.clonePosition())));
2790
+ } : this.error(P.INVALID_TAG, A(a, this.clonePosition())));
2788
2791
  } else
2789
- return this.error(A.UNCLOSED_TAG, M(i, this.clonePosition()));
2792
+ return this.error(P.UNCLOSED_TAG, A(i, this.clonePosition()));
2790
2793
  } else
2791
- return this.error(A.INVALID_TAG, M(i, this.clonePosition()));
2794
+ return this.error(P.INVALID_TAG, A(i, this.clonePosition()));
2792
2795
  }, e.prototype.parseTagName = function() {
2793
2796
  var t = this.offset();
2794
- for (this.bump(); !this.isEOF() && $n(this.char()); )
2797
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
2795
2798
  this.bump();
2796
2799
  return this.message.slice(t, this.offset());
2797
2800
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2813,14 +2816,14 @@ var Mn = (
2813
2816
  }
2814
2817
  break;
2815
2818
  }
2816
- var u = M(i, this.clonePosition());
2819
+ var u = A(i, this.clonePosition());
2817
2820
  return {
2818
- val: { type: N.literal, value: n, location: u },
2821
+ val: { type: k.literal, value: n, location: u },
2819
2822
  err: null
2820
2823
  };
2821
2824
  }, e.prototype.tryParseLeftAngleBracket = function() {
2822
2825
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2823
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2826
+ !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2824
2827
  }, e.prototype.tryParseQuote = function(t) {
2825
2828
  if (this.isEOF() || this.char() !== 39)
2826
2829
  return null;
@@ -2863,40 +2866,40 @@ var Mn = (
2863
2866
  }, e.prototype.parseArgument = function(t, r) {
2864
2867
  var i = this.clonePosition();
2865
2868
  if (this.bump(), this.bumpSpace(), this.isEOF())
2866
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2869
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2867
2870
  if (this.char() === 125)
2868
- return this.bump(), this.error(A.EMPTY_ARGUMENT, M(i, this.clonePosition()));
2871
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, A(i, this.clonePosition()));
2869
2872
  var n = this.parseIdentifierIfPossible().value;
2870
2873
  if (!n)
2871
- return this.error(A.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2874
+ return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2872
2875
  if (this.bumpSpace(), this.isEOF())
2873
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2876
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2874
2877
  switch (this.char()) {
2875
2878
  case 125:
2876
2879
  return this.bump(), {
2877
2880
  val: {
2878
- type: N.argument,
2881
+ type: k.argument,
2879
2882
  // value does not include the opening and closing braces.
2880
2883
  value: n,
2881
- location: M(i, this.clonePosition())
2884
+ location: A(i, this.clonePosition())
2882
2885
  },
2883
2886
  err: null
2884
2887
  };
2885
2888
  case 44:
2886
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2889
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2887
2890
  default:
2888
- return this.error(A.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2891
+ return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2889
2892
  }
2890
2893
  }, e.prototype.parseIdentifierIfPossible = function() {
2891
2894
  var t = this.clonePosition(), r = this.offset(), i = Tt(this.message, r), n = r + i.length;
2892
2895
  this.bumpTo(n);
2893
- var o = this.clonePosition(), s = M(t, o);
2896
+ var o = this.clonePosition(), s = A(t, o);
2894
2897
  return { value: i, location: s };
2895
2898
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2896
2899
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2897
2900
  switch (a) {
2898
2901
  case "":
2899
- return this.error(A.EXPECT_ARGUMENT_TYPE, M(s, u));
2902
+ return this.error(P.EXPECT_ARGUMENT_TYPE, A(s, u));
2900
2903
  case "number":
2901
2904
  case "date":
2902
2905
  case "time": {
@@ -2907,46 +2910,46 @@ var Mn = (
2907
2910
  var f = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2908
2911
  if (p.err)
2909
2912
  return p;
2910
- var v = Bn(p.val);
2911
- if (v.length === 0)
2912
- return this.error(A.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2913
- var b = M(f, this.clonePosition());
2914
- l = { style: v, styleLocation: b };
2913
+ var m = Ln(p.val);
2914
+ if (m.length === 0)
2915
+ return this.error(P.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2916
+ var y = A(f, this.clonePosition());
2917
+ l = { style: m, styleLocation: y };
2915
2918
  }
2916
- var T = this.tryParseArgumentClose(n);
2917
- if (T.err)
2918
- return T;
2919
- var h = M(n, this.clonePosition());
2920
- if (l && Yt(l?.style, "::", 0)) {
2921
- var I = An(l.style.slice(2));
2919
+ var _ = this.tryParseArgumentClose(n);
2920
+ if (_.err)
2921
+ return _;
2922
+ var d = A(n, this.clonePosition());
2923
+ if (l && Zt(l?.style, "::", 0)) {
2924
+ var I = $n(l.style.slice(2));
2922
2925
  if (a === "number") {
2923
2926
  var p = this.parseNumberSkeletonFromString(I, l.styleLocation);
2924
2927
  return p.err ? p : {
2925
- val: { type: N.number, value: i, location: h, style: p.val },
2928
+ val: { type: k.number, value: i, location: d, style: p.val },
2926
2929
  err: null
2927
2930
  };
2928
2931
  } else {
2929
2932
  if (I.length === 0)
2930
- return this.error(A.EXPECT_DATE_TIME_SKELETON, h);
2931
- var R = I;
2932
- this.locale && (R = vn(I, this.locale));
2933
- var v = {
2934
- type: Pe.dateTime,
2935
- pattern: R,
2933
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2934
+ var G = I;
2935
+ this.locale && (G = _n(I, this.locale));
2936
+ var m = {
2937
+ type: Oe.dateTime,
2938
+ pattern: G,
2936
2939
  location: l.styleLocation,
2937
- parsedOptions: this.shouldParseSkeletons ? ln(R) : {}
2938
- }, H = a === "date" ? N.date : N.time;
2940
+ parsedOptions: this.shouldParseSkeletons ? dn(G) : {}
2941
+ }, R = a === "date" ? k.date : k.time;
2939
2942
  return {
2940
- val: { type: H, value: i, location: h, style: v },
2943
+ val: { type: R, value: i, location: d, style: m },
2941
2944
  err: null
2942
2945
  };
2943
2946
  }
2944
2947
  }
2945
2948
  return {
2946
2949
  val: {
2947
- type: a === "number" ? N.number : a === "date" ? N.date : N.time,
2950
+ type: a === "number" ? k.number : a === "date" ? k.date : k.time,
2948
2951
  value: i,
2949
- location: h,
2952
+ location: d,
2950
2953
  style: (o = l?.style) !== null && o !== void 0 ? o : null
2951
2954
  },
2952
2955
  err: null
@@ -2955,52 +2958,52 @@ var Mn = (
2955
2958
  case "plural":
2956
2959
  case "selectordinal":
2957
2960
  case "select": {
2958
- var E = this.clonePosition();
2961
+ var $ = this.clonePosition();
2959
2962
  if (this.bumpSpace(), !this.bumpIf(","))
2960
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, M(E, tt({}, E)));
2963
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A($, rt({}, $)));
2961
2964
  this.bumpSpace();
2962
- var O = this.parseIdentifierIfPossible(), L = 0;
2963
- if (a !== "select" && O.value === "offset") {
2965
+ var j = this.parseIdentifierIfPossible(), O = 0;
2966
+ if (a !== "select" && j.value === "offset") {
2964
2967
  if (!this.bumpIf(":"))
2965
- return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2968
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
2966
2969
  this.bumpSpace();
2967
- var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2970
+ var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2968
2971
  if (p.err)
2969
2972
  return p;
2970
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = p.val;
2973
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), O = p.val;
2971
2974
  }
2972
- var P = this.tryParsePluralOrSelectOptions(t, a, r, O);
2973
- if (P.err)
2974
- return P;
2975
- var T = this.tryParseArgumentClose(n);
2976
- if (T.err)
2977
- return T;
2978
- var z = M(n, this.clonePosition());
2975
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, j);
2976
+ if (M.err)
2977
+ return M;
2978
+ var _ = this.tryParseArgumentClose(n);
2979
+ if (_.err)
2980
+ return _;
2981
+ var T = A(n, this.clonePosition());
2979
2982
  return a === "select" ? {
2980
2983
  val: {
2981
- type: N.select,
2984
+ type: k.select,
2982
2985
  value: i,
2983
- options: Zt(P.val),
2984
- location: z
2986
+ options: Jt(M.val),
2987
+ location: T
2985
2988
  },
2986
2989
  err: null
2987
2990
  } : {
2988
2991
  val: {
2989
- type: N.plural,
2992
+ type: k.plural,
2990
2993
  value: i,
2991
- options: Zt(P.val),
2992
- offset: L,
2994
+ options: Jt(M.val),
2995
+ offset: O,
2993
2996
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2994
- location: z
2997
+ location: T
2995
2998
  },
2996
2999
  err: null
2997
3000
  };
2998
3001
  }
2999
3002
  default:
3000
- return this.error(A.INVALID_ARGUMENT_TYPE, M(s, u));
3003
+ return this.error(P.INVALID_ARGUMENT_TYPE, A(s, u));
3001
3004
  }
3002
3005
  }, e.prototype.tryParseArgumentClose = function(t) {
3003
- return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3006
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3004
3007
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3005
3008
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3006
3009
  var i = this.char();
@@ -3009,7 +3012,7 @@ var Mn = (
3009
3012
  this.bump();
3010
3013
  var n = this.clonePosition();
3011
3014
  if (!this.bumpUntil("'"))
3012
- return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition()));
3015
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(n, this.clonePosition()));
3013
3016
  this.bump();
3014
3017
  break;
3015
3018
  }
@@ -3039,16 +3042,16 @@ var Mn = (
3039
3042
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3040
3043
  var i = [];
3041
3044
  try {
3042
- i = fn(t);
3045
+ i = mn(t);
3043
3046
  } catch {
3044
- return this.error(A.INVALID_NUMBER_SKELETON, r);
3047
+ return this.error(P.INVALID_NUMBER_SKELETON, r);
3045
3048
  }
3046
3049
  return {
3047
3050
  val: {
3048
- type: Pe.number,
3051
+ type: Oe.number,
3049
3052
  tokens: i,
3050
3053
  location: r,
3051
- parsedOptions: this.shouldParseSkeletons ? mn(i) : {}
3054
+ parsedOptions: this.shouldParseSkeletons ? yn(i) : {}
3052
3055
  },
3053
3056
  err: null
3054
3057
  };
@@ -3057,34 +3060,34 @@ var Mn = (
3057
3060
  if (l.length === 0) {
3058
3061
  var p = this.clonePosition();
3059
3062
  if (r !== "select" && this.bumpIf("=")) {
3060
- var v = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
3061
- if (v.err)
3062
- return v;
3063
- f = M(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3063
+ var m = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
3064
+ if (m.err)
3065
+ return m;
3066
+ f = A(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3064
3067
  } else
3065
3068
  break;
3066
3069
  }
3067
3070
  if (u.has(l))
3068
- return this.error(r === "select" ? A.DUPLICATE_SELECT_ARGUMENT_SELECTOR : A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3071
+ return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3069
3072
  l === "other" && (s = !0), this.bumpSpace();
3070
- var b = this.clonePosition();
3073
+ var y = this.clonePosition();
3071
3074
  if (!this.bumpIf("{"))
3072
- return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
3073
- var T = this.parseMessage(t + 1, r, i);
3074
- if (T.err)
3075
- return T;
3076
- var h = this.tryParseArgumentClose(b);
3077
- if (h.err)
3078
- return h;
3075
+ return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3076
+ var _ = this.parseMessage(t + 1, r, i);
3077
+ if (_.err)
3078
+ return _;
3079
+ var d = this.tryParseArgumentClose(y);
3080
+ if (d.err)
3081
+ return d;
3079
3082
  a.push([
3080
3083
  l,
3081
3084
  {
3082
- value: T.val,
3083
- location: M(b, this.clonePosition())
3085
+ value: _.val,
3086
+ location: A(y, this.clonePosition())
3084
3087
  }
3085
3088
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3086
3089
  }
3087
- return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3090
+ return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3088
3091
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3089
3092
  var i = 1, n = this.clonePosition();
3090
3093
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3095,8 +3098,8 @@ var Mn = (
3095
3098
  else
3096
3099
  break;
3097
3100
  }
3098
- var u = M(n, this.clonePosition());
3099
- return o ? (s *= i, Pn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3101
+ var u = A(n, this.clonePosition());
3102
+ return o ? (s *= i, Mn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3100
3103
  }, e.prototype.offset = function() {
3101
3104
  return this.position.offset;
3102
3105
  }, e.prototype.isEOF = function() {
@@ -3111,7 +3114,7 @@ var Mn = (
3111
3114
  var t = this.position.offset;
3112
3115
  if (t >= this.message.length)
3113
3116
  throw Error("out of bound");
3114
- var r = Vr(this.message, t);
3117
+ var r = Fr(this.message, t);
3115
3118
  if (r === void 0)
3116
3119
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3117
3120
  return r;
@@ -3130,7 +3133,7 @@ var Mn = (
3130
3133
  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);
3131
3134
  }
3132
3135
  }, e.prototype.bumpIf = function(t) {
3133
- if (Yt(this.message, t, this.offset())) {
3136
+ if (Zt(this.message, t, this.offset())) {
3134
3137
  for (var r = 0; r < t.length; r++)
3135
3138
  this.bump();
3136
3139
  return !0;
@@ -3152,7 +3155,7 @@ var Mn = (
3152
3155
  break;
3153
3156
  }
3154
3157
  }, e.prototype.bumpSpace = function() {
3155
- for (; !this.isEOF() && Gr(this.char()); )
3158
+ for (; !this.isEOF() && jr(this.char()); )
3156
3159
  this.bump();
3157
3160
  }, e.prototype.peek = function() {
3158
3161
  if (this.isEOF())
@@ -3165,44 +3168,44 @@ var Mn = (
3165
3168
  function Ot(e) {
3166
3169
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3167
3170
  }
3168
- function Cn(e) {
3171
+ function Dn(e) {
3169
3172
  return Ot(e) || e === 47;
3170
3173
  }
3171
- function $n(e) {
3174
+ function Nn(e) {
3172
3175
  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;
3173
3176
  }
3174
- function Gr(e) {
3177
+ function jr(e) {
3175
3178
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3176
3179
  }
3177
- function Ln(e) {
3180
+ function kn(e) {
3178
3181
  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;
3179
3182
  }
3180
3183
  function Pt(e) {
3181
3184
  e.forEach(function(t) {
3182
- if (delete t.location, $r(t) || Lr(t))
3185
+ if (delete t.location, Lr(t) || Ir(t))
3183
3186
  for (var r in t.options)
3184
3187
  delete t.options[r].location, Pt(t.options[r].value);
3185
3188
  else
3186
- Br(t) && Dr(t.style) || (Mr(t) || Cr(t)) && Et(t.style) ? delete t.style.location : Ir(t) && Pt(t.children);
3189
+ Mr(t) && Nr(t.style) || (Cr(t) || $r(t)) && Et(t.style) ? delete t.style.location : Dr(t) && Pt(t.children);
3187
3190
  });
3188
3191
  }
3189
- function In(e, t) {
3190
- t === void 0 && (t = {}), t = tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3191
- var r = new Mn(e, t).parse();
3192
+ function Rn(e, t) {
3193
+ t === void 0 && (t = {}), t = rt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3194
+ var r = new In(e, t).parse();
3192
3195
  if (r.err) {
3193
- var i = SyntaxError(A[r.err.kind]);
3196
+ var i = SyntaxError(P[r.err.kind]);
3194
3197
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3195
3198
  }
3196
3199
  return t?.captureLocation || Pt(r.val), r.val;
3197
3200
  }
3198
- var He;
3201
+ var Pe;
3199
3202
  (function(e) {
3200
3203
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3201
- })(He || (He = {}));
3202
- var st = (
3204
+ })(Pe || (Pe = {}));
3205
+ var at = (
3203
3206
  /** @class */
3204
3207
  function(e) {
3205
- ot(t, e);
3208
+ st(t, e);
3206
3209
  function t(r, i, n) {
3207
3210
  var o = e.call(this, r) || this;
3208
3211
  return o.code = i, o.originalMessage = n, o;
@@ -3211,155 +3214,155 @@ var st = (
3211
3214
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3212
3215
  }, t;
3213
3216
  }(Error)
3214
- ), Qt = (
3217
+ ), Kt = (
3215
3218
  /** @class */
3216
3219
  function(e) {
3217
- ot(t, e);
3220
+ st(t, e);
3218
3221
  function t(r, i, n, o) {
3219
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), He.INVALID_VALUE, o) || this;
3222
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Pe.INVALID_VALUE, o) || this;
3220
3223
  }
3221
3224
  return t;
3222
- }(st)
3223
- ), Dn = (
3225
+ }(at)
3226
+ ), Un = (
3224
3227
  /** @class */
3225
3228
  function(e) {
3226
- ot(t, e);
3229
+ st(t, e);
3227
3230
  function t(r, i, n) {
3228
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), He.INVALID_VALUE, n) || this;
3231
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Pe.INVALID_VALUE, n) || this;
3229
3232
  }
3230
3233
  return t;
3231
- }(st)
3232
- ), Nn = (
3234
+ }(at)
3235
+ ), Vn = (
3233
3236
  /** @class */
3234
3237
  function(e) {
3235
- ot(t, e);
3238
+ st(t, e);
3236
3239
  function t(r, i) {
3237
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), He.MISSING_VALUE, i) || this;
3240
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
3238
3241
  }
3239
3242
  return t;
3240
- }(st)
3241
- ), q;
3243
+ }(at)
3244
+ ), Z;
3242
3245
  (function(e) {
3243
3246
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3244
- })(q || (q = {}));
3245
- function kn(e) {
3247
+ })(Z || (Z = {}));
3248
+ function Fn(e) {
3246
3249
  return e.length < 2 ? e : e.reduce(function(t, r) {
3247
3250
  var i = t[t.length - 1];
3248
- return !i || i.type !== q.literal || r.type !== q.literal ? t.push(r) : i.value += r.value, t;
3251
+ return !i || i.type !== Z.literal || r.type !== Z.literal ? t.push(r) : i.value += r.value, t;
3249
3252
  }, []);
3250
3253
  }
3251
- function Rn(e) {
3254
+ function Gn(e) {
3252
3255
  return typeof e == "function";
3253
3256
  }
3254
3257
  function Je(e, t, r, i, n, o, s) {
3255
- if (e.length === 1 && zt(e[0]))
3258
+ if (e.length === 1 && Wt(e[0]))
3256
3259
  return [
3257
3260
  {
3258
- type: q.literal,
3261
+ type: Z.literal,
3259
3262
  value: e[0].value
3260
3263
  }
3261
3264
  ];
3262
3265
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3263
3266
  var f = l[u];
3264
- if (zt(f)) {
3267
+ if (Wt(f)) {
3265
3268
  a.push({
3266
- type: q.literal,
3269
+ type: Z.literal,
3267
3270
  value: f.value
3268
3271
  });
3269
3272
  continue;
3270
3273
  }
3271
- if (an(f)) {
3274
+ if (fn(f)) {
3272
3275
  typeof o == "number" && a.push({
3273
- type: q.literal,
3276
+ type: Z.literal,
3274
3277
  value: r.getNumberFormat(t).format(o)
3275
3278
  });
3276
3279
  continue;
3277
3280
  }
3278
3281
  var p = f.value;
3279
3282
  if (!(n && p in n))
3280
- throw new Nn(p, s);
3281
- var v = n[p];
3282
- if (sn(f)) {
3283
- (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), a.push({
3284
- type: typeof v == "string" ? q.literal : q.object,
3285
- value: v
3283
+ throw new Vn(p, s);
3284
+ var m = n[p];
3285
+ if (cn(f)) {
3286
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3287
+ type: typeof m == "string" ? Z.literal : Z.object,
3288
+ value: m
3286
3289
  });
3287
3290
  continue;
3288
3291
  }
3289
- if (Mr(f)) {
3290
- var b = typeof f.style == "string" ? i.date[f.style] : Et(f.style) ? f.style.parsedOptions : void 0;
3292
+ if (Cr(f)) {
3293
+ var y = typeof f.style == "string" ? i.date[f.style] : Et(f.style) ? f.style.parsedOptions : void 0;
3291
3294
  a.push({
3292
- type: q.literal,
3293
- value: r.getDateTimeFormat(t, b).format(v)
3295
+ type: Z.literal,
3296
+ value: r.getDateTimeFormat(t, y).format(m)
3294
3297
  });
3295
3298
  continue;
3296
3299
  }
3297
- if (Cr(f)) {
3298
- var b = typeof f.style == "string" ? i.time[f.style] : Et(f.style) ? f.style.parsedOptions : i.time.medium;
3300
+ if ($r(f)) {
3301
+ var y = typeof f.style == "string" ? i.time[f.style] : Et(f.style) ? f.style.parsedOptions : i.time.medium;
3299
3302
  a.push({
3300
- type: q.literal,
3301
- value: r.getDateTimeFormat(t, b).format(v)
3303
+ type: Z.literal,
3304
+ value: r.getDateTimeFormat(t, y).format(m)
3302
3305
  });
3303
3306
  continue;
3304
3307
  }
3305
- if (Br(f)) {
3306
- var b = typeof f.style == "string" ? i.number[f.style] : Dr(f.style) ? f.style.parsedOptions : void 0;
3307
- b && b.scale && (v = v * (b.scale || 1)), a.push({
3308
- type: q.literal,
3309
- value: r.getNumberFormat(t, b).format(v)
3308
+ if (Mr(f)) {
3309
+ var y = typeof f.style == "string" ? i.number[f.style] : Nr(f.style) ? f.style.parsedOptions : void 0;
3310
+ y && y.scale && (m = m * (y.scale || 1)), a.push({
3311
+ type: Z.literal,
3312
+ value: r.getNumberFormat(t, y).format(m)
3310
3313
  });
3311
3314
  continue;
3312
3315
  }
3313
- if (Ir(f)) {
3314
- var T = f.children, h = f.value, I = n[h];
3315
- if (!Rn(I))
3316
- throw new Dn(h, "function", s);
3317
- var R = Je(T, t, r, i, n, o), H = I(R.map(function(L) {
3318
- return L.value;
3316
+ if (Dr(f)) {
3317
+ var _ = f.children, d = f.value, I = n[d];
3318
+ if (!Gn(I))
3319
+ throw new Un(d, "function", s);
3320
+ var G = Je(_, t, r, i, n, o), R = I(G.map(function(O) {
3321
+ return O.value;
3319
3322
  }));
3320
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(L) {
3323
+ Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(O) {
3321
3324
  return {
3322
- type: typeof L == "string" ? q.literal : q.object,
3323
- value: L
3325
+ type: typeof O == "string" ? Z.literal : Z.object,
3326
+ value: O
3324
3327
  };
3325
3328
  }));
3326
3329
  }
3327
- if ($r(f)) {
3328
- var E = f.options[v] || f.options.other;
3329
- if (!E)
3330
- throw new Qt(f.value, v, Object.keys(f.options), s);
3331
- a.push.apply(a, Je(E.value, t, r, i, n));
3330
+ if (Lr(f)) {
3331
+ var $ = f.options[m] || f.options.other;
3332
+ if (!$)
3333
+ throw new Kt(f.value, m, Object.keys(f.options), s);
3334
+ a.push.apply(a, Je($.value, t, r, i, n));
3332
3335
  continue;
3333
3336
  }
3334
- if (Lr(f)) {
3335
- var E = f.options["=".concat(v)];
3336
- if (!E) {
3337
+ if (Ir(f)) {
3338
+ var $ = f.options["=".concat(m)];
3339
+ if (!$) {
3337
3340
  if (!Intl.PluralRules)
3338
- throw new st(`Intl.PluralRules is not available in this environment.
3341
+ throw new at(`Intl.PluralRules is not available in this environment.
3339
3342
  Try polyfilling it using "@formatjs/intl-pluralrules"
3340
- `, He.MISSING_INTL_API, s);
3341
- var O = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
3342
- E = f.options[O] || f.options.other;
3343
+ `, Pe.MISSING_INTL_API, s);
3344
+ var j = r.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3345
+ $ = f.options[j] || f.options.other;
3343
3346
  }
3344
- if (!E)
3345
- throw new Qt(f.value, v, Object.keys(f.options), s);
3346
- a.push.apply(a, Je(E.value, t, r, i, n, v - (f.offset || 0)));
3347
+ if (!$)
3348
+ throw new Kt(f.value, m, Object.keys(f.options), s);
3349
+ a.push.apply(a, Je($.value, t, r, i, n, m - (f.offset || 0)));
3347
3350
  continue;
3348
3351
  }
3349
3352
  }
3350
- return kn(a);
3353
+ return Fn(a);
3351
3354
  }
3352
- function Un(e, t) {
3355
+ function jn(e, t) {
3353
3356
  return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3354
3357
  return r[i] = ie(ie({}, e[i]), t[i] || {}), r;
3355
3358
  }, {})) : e;
3356
3359
  }
3357
- function Vn(e, t) {
3360
+ function zn(e, t) {
3358
3361
  return t ? Object.keys(e).reduce(function(r, i) {
3359
- return r[i] = Un(e[i], t[i]), r;
3362
+ return r[i] = jn(e[i], t[i]), r;
3360
3363
  }, ie({}, e)) : e;
3361
3364
  }
3362
- function mt(e) {
3365
+ function vt(e) {
3363
3366
  return {
3364
3367
  create: function() {
3365
3368
  return {
@@ -3373,39 +3376,39 @@ function mt(e) {
3373
3376
  }
3374
3377
  };
3375
3378
  }
3376
- function Fn(e) {
3379
+ function Wn(e) {
3377
3380
  return e === void 0 && (e = {
3378
3381
  number: {},
3379
3382
  dateTime: {},
3380
3383
  pluralRules: {}
3381
3384
  }), {
3382
- getNumberFormat: ht(function() {
3385
+ getNumberFormat: dt(function() {
3383
3386
  for (var t, r = [], i = 0; i < arguments.length; i++)
3384
3387
  r[i] = arguments[i];
3385
- return new ((t = Intl.NumberFormat).bind.apply(t, ft([void 0], r, !1)))();
3388
+ return new ((t = Intl.NumberFormat).bind.apply(t, ht([void 0], r, !1)))();
3386
3389
  }, {
3387
- cache: mt(e.number),
3388
- strategy: dt.variadic
3390
+ cache: vt(e.number),
3391
+ strategy: pt.variadic
3389
3392
  }),
3390
- getDateTimeFormat: ht(function() {
3393
+ getDateTimeFormat: dt(function() {
3391
3394
  for (var t, r = [], i = 0; i < arguments.length; i++)
3392
3395
  r[i] = arguments[i];
3393
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ft([void 0], r, !1)))();
3396
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ht([void 0], r, !1)))();
3394
3397
  }, {
3395
- cache: mt(e.dateTime),
3396
- strategy: dt.variadic
3398
+ cache: vt(e.dateTime),
3399
+ strategy: pt.variadic
3397
3400
  }),
3398
- getPluralRules: ht(function() {
3401
+ getPluralRules: dt(function() {
3399
3402
  for (var t, r = [], i = 0; i < arguments.length; i++)
3400
3403
  r[i] = arguments[i];
3401
- return new ((t = Intl.PluralRules).bind.apply(t, ft([void 0], r, !1)))();
3404
+ return new ((t = Intl.PluralRules).bind.apply(t, ht([void 0], r, !1)))();
3402
3405
  }, {
3403
- cache: mt(e.pluralRules),
3404
- strategy: dt.variadic
3406
+ cache: vt(e.pluralRules),
3407
+ strategy: pt.variadic
3405
3408
  })
3406
3409
  };
3407
3410
  }
3408
- var jr = (
3411
+ var zr = (
3409
3412
  /** @class */
3410
3413
  function() {
3411
3414
  function e(t, r, i, n) {
@@ -3419,8 +3422,8 @@ var jr = (
3419
3422
  var l = o.formatToParts(u);
3420
3423
  if (l.length === 1)
3421
3424
  return l[0].value;
3422
- var f = l.reduce(function(p, v) {
3423
- return !p.length || v.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(v.value) : p[p.length - 1] += v.value, p;
3425
+ var f = l.reduce(function(p, m) {
3426
+ return !p.length || m.type !== Z.literal || typeof p[p.length - 1] != "string" ? p.push(m.value) : p[p.length - 1] += m.value, p;
3424
3427
  }, []);
3425
3428
  return f.length <= 1 ? f[0] || "" : f;
3426
3429
  }, this.formatToParts = function(u) {
@@ -3437,13 +3440,13 @@ var jr = (
3437
3440
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3438
3441
  var s = n || {};
3439
3442
  s.formatters;
3440
- var a = Ji(s, ["formatters"]);
3443
+ var a = tn(s, ["formatters"]);
3441
3444
  this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3442
3445
  } else
3443
3446
  this.ast = t;
3444
3447
  if (!Array.isArray(this.ast))
3445
3448
  throw new TypeError("A message must be provided as a String or AST.");
3446
- this.formats = Vn(e.formats, i), this.formatters = n && n.formatters || Fn(this.formatterCache);
3449
+ this.formats = zn(e.formats, i), this.formatters = n && n.formatters || Wn(this.formatterCache);
3447
3450
  }
3448
3451
  return Object.defineProperty(e, "defaultLocale", {
3449
3452
  get: function() {
@@ -3456,7 +3459,7 @@ var jr = (
3456
3459
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3457
3460
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3458
3461
  }
3459
- }, e.__parse = In, e.formats = {
3462
+ }, e.__parse = Rn, e.formats = {
3460
3463
  number: {
3461
3464
  integer: {
3462
3465
  maximumFractionDigits: 0
@@ -3517,7 +3520,7 @@ var jr = (
3517
3520
  }, e;
3518
3521
  }()
3519
3522
  );
3520
- function Gn(e, t) {
3523
+ function Xn(e, t) {
3521
3524
  if (t == null)
3522
3525
  return;
3523
3526
  if (t in e)
@@ -3538,101 +3541,101 @@ function Gn(e, t) {
3538
3541
  i = void 0;
3539
3542
  return i;
3540
3543
  }
3541
- const fe = {}, jn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), zr = (e, t) => {
3544
+ const he = {}, qn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), Wr = (e, t) => {
3542
3545
  if (t == null)
3543
3546
  return;
3544
- if (t in fe && e in fe[t])
3545
- return fe[t][e];
3546
- const r = Ve(t);
3547
+ if (t in he && e in he[t])
3548
+ return he[t][e];
3549
+ const r = Ue(t);
3547
3550
  for (let i = 0; i < r.length; i++) {
3548
- const n = r[i], o = Wn(n, e);
3551
+ const n = r[i], o = Zn(n, e);
3549
3552
  if (o)
3550
- return jn(e, t, o);
3553
+ return qn(e, t, o);
3551
3554
  }
3552
3555
  };
3553
3556
  let kt;
3554
- const Ue = Re({});
3555
- function zn(e) {
3557
+ const Re = ke({});
3558
+ function Yn(e) {
3556
3559
  return kt[e] || null;
3557
3560
  }
3558
- function Wr(e) {
3561
+ function Xr(e) {
3559
3562
  return e in kt;
3560
3563
  }
3561
- function Wn(e, t) {
3562
- if (!Wr(e))
3564
+ function Zn(e, t) {
3565
+ if (!Xr(e))
3563
3566
  return null;
3564
- const r = zn(e);
3565
- return Gn(r, t);
3567
+ const r = Yn(e);
3568
+ return Xn(r, t);
3566
3569
  }
3567
- function Xn(e) {
3570
+ function Jn(e) {
3568
3571
  if (e == null)
3569
3572
  return;
3570
- const t = Ve(e);
3573
+ const t = Ue(e);
3571
3574
  for (let r = 0; r < t.length; r++) {
3572
3575
  const i = t[r];
3573
- if (Wr(i))
3576
+ if (Xr(i))
3574
3577
  return i;
3575
3578
  }
3576
3579
  }
3577
- function Xr(e, ...t) {
3578
- delete fe[e], Ue.update((r) => (r[e] = Zi.all([r[e] || {}, ...t]), r));
3580
+ function qr(e, ...t) {
3581
+ delete he[e], Re.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3579
3582
  }
3580
- Me(
3581
- [Ue],
3583
+ Be(
3584
+ [Re],
3582
3585
  ([e]) => Object.keys(e)
3583
3586
  );
3584
- Ue.subscribe((e) => kt = e);
3587
+ Re.subscribe((e) => kt = e);
3585
3588
  const Qe = {};
3586
- function qn(e, t) {
3589
+ function Qn(e, t) {
3587
3590
  Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3588
3591
  }
3589
- function qr(e) {
3592
+ function Yr(e) {
3590
3593
  return Qe[e];
3591
3594
  }
3592
- function Yn(e) {
3593
- return Ve(e).map((t) => {
3594
- const r = qr(t);
3595
+ function Kn(e) {
3596
+ return Ue(e).map((t) => {
3597
+ const r = Yr(t);
3595
3598
  return [t, r ? [...r] : []];
3596
3599
  }).filter(([, t]) => t.length > 0);
3597
3600
  }
3598
- function rt(e) {
3599
- return e == null ? !1 : Ve(e).some(
3601
+ function it(e) {
3602
+ return e == null ? !1 : Ue(e).some(
3600
3603
  (t) => {
3601
3604
  var r;
3602
- return (r = qr(t)) == null ? void 0 : r.size;
3605
+ return (r = Yr(t)) == null ? void 0 : r.size;
3603
3606
  }
3604
3607
  );
3605
3608
  }
3606
- function Zn(e, t) {
3609
+ function eo(e, t) {
3607
3610
  return Promise.all(
3608
- t.map((i) => (qn(e, i), i().then((n) => n.default || n)))
3609
- ).then((i) => Xr(e, ...i));
3610
- }
3611
- const $e = {};
3612
- function Yr(e) {
3613
- if (!rt(e))
3614
- return e in $e ? $e[e] : Promise.resolve();
3615
- const t = Yn(e);
3616
- return $e[e] = Promise.all(
3611
+ t.map((i) => (Qn(e, i), i().then((n) => n.default || n)))
3612
+ ).then((i) => qr(e, ...i));
3613
+ }
3614
+ const Ce = {};
3615
+ function Zr(e) {
3616
+ if (!it(e))
3617
+ return e in Ce ? Ce[e] : Promise.resolve();
3618
+ const t = Kn(e);
3619
+ return Ce[e] = Promise.all(
3617
3620
  t.map(
3618
- ([r, i]) => Zn(r, i)
3621
+ ([r, i]) => eo(r, i)
3619
3622
  )
3620
3623
  ).then(() => {
3621
- if (rt(e))
3622
- return Yr(e);
3623
- delete $e[e];
3624
- }), $e[e];
3624
+ if (it(e))
3625
+ return Zr(e);
3626
+ delete Ce[e];
3627
+ }), Ce[e];
3625
3628
  }
3626
- var Kt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3629
+ var er = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, io = (e, t) => {
3627
3630
  var r = {};
3628
3631
  for (var i in e)
3629
- Jn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3630
- if (e != null && Kt)
3631
- for (var i of Kt(e))
3632
- t.indexOf(i) < 0 && Qn.call(e, i) && (r[i] = e[i]);
3632
+ to.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3633
+ if (e != null && er)
3634
+ for (var i of er(e))
3635
+ t.indexOf(i) < 0 && ro.call(e, i) && (r[i] = e[i]);
3633
3636
  return r;
3634
3637
  };
3635
- const eo = {
3638
+ const no = {
3636
3639
  number: {
3637
3640
  scientific: { notation: "scientific" },
3638
3641
  engineering: { notation: "engineering" },
@@ -3662,174 +3665,174 @@ const eo = {
3662
3665
  }
3663
3666
  }
3664
3667
  };
3665
- function to({ locale: e, id: t }) {
3668
+ function oo({ locale: e, id: t }) {
3666
3669
  console.warn(
3667
- `[svelte-i18n] The message "${t}" was not found in "${Ve(
3670
+ `[svelte-i18n] The message "${t}" was not found in "${Ue(
3668
3671
  e
3669
- ).join('", "')}".${rt(he()) ? `
3672
+ ).join('", "')}".${it(de()) ? `
3670
3673
 
3671
3674
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3672
3675
  );
3673
3676
  }
3674
- const ro = {
3677
+ const so = {
3675
3678
  fallbackLocale: null,
3676
3679
  loadingDelay: 200,
3677
- formats: eo,
3680
+ formats: no,
3678
3681
  warnOnMissingMessages: !0,
3679
3682
  handleMissingMessage: void 0,
3680
3683
  ignoreTag: !0
3681
- }, Le = ro;
3682
- function Ae() {
3683
- return Le;
3684
+ }, $e = so;
3685
+ function He() {
3686
+ return $e;
3684
3687
  }
3685
- function io(e) {
3686
- const t = e, { formats: r } = t, i = Kn(t, ["formats"]);
3688
+ function ao(e) {
3689
+ const t = e, { formats: r } = t, i = io(t, ["formats"]);
3687
3690
  let n = e.fallbackLocale;
3688
3691
  if (e.initialLocale)
3689
3692
  try {
3690
- jr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3693
+ zr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3691
3694
  } catch {
3692
3695
  console.warn(
3693
3696
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3694
3697
  );
3695
3698
  }
3696
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = to : console.warn(
3699
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = oo : console.warn(
3697
3700
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3698
- )), Object.assign(Le, i, { initialLocale: n }), r && ("number" in r && Object.assign(Le.formats.number, r.number), "date" in r && Object.assign(Le.formats.date, r.date), "time" in r && Object.assign(Le.formats.time, r.time)), ge.set(n);
3701
+ )), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), ge.set(n);
3699
3702
  }
3700
- const vt = Re(!1);
3701
- var no = Object.defineProperty, oo = Object.defineProperties, so = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lo = (e, t) => {
3703
+ const gt = ke(!1);
3704
+ var uo = Object.defineProperty, lo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
3702
3705
  for (var r in t || (t = {}))
3703
- ao.call(t, r) && tr(e, r, t[r]);
3704
- if (er)
3705
- for (var r of er(t))
3706
- uo.call(t, r) && tr(e, r, t[r]);
3706
+ fo.call(t, r) && rr(e, r, t[r]);
3707
+ if (tr)
3708
+ for (var r of tr(t))
3709
+ ho.call(t, r) && rr(e, r, t[r]);
3707
3710
  return e;
3708
- }, co = (e, t) => oo(e, so(t));
3711
+ }, mo = (e, t) => lo(e, co(t));
3709
3712
  let Ht;
3710
- const it = Re(null);
3711
- function rr(e) {
3713
+ const nt = ke(null);
3714
+ function ir(e) {
3712
3715
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3713
3716
  }
3714
- function Ve(e, t = Ae().fallbackLocale) {
3715
- const r = rr(e);
3716
- return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
3717
+ function Ue(e, t = He().fallbackLocale) {
3718
+ const r = ir(e);
3719
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
3717
3720
  }
3718
- function he() {
3721
+ function de() {
3719
3722
  return Ht ?? void 0;
3720
3723
  }
3721
- it.subscribe((e) => {
3724
+ nt.subscribe((e) => {
3722
3725
  Ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3723
3726
  });
3724
- const fo = (e) => {
3725
- if (e && Xn(e) && rt(e)) {
3726
- const { loadingDelay: t } = Ae();
3727
+ const vo = (e) => {
3728
+ if (e && Jn(e) && it(e)) {
3729
+ const { loadingDelay: t } = He();
3727
3730
  let r;
3728
- return typeof window < "u" && he() != null && t ? r = window.setTimeout(
3729
- () => vt.set(!0),
3731
+ return typeof window < "u" && de() != null && t ? r = window.setTimeout(
3732
+ () => gt.set(!0),
3730
3733
  t
3731
- ) : vt.set(!0), Yr(e).then(() => {
3732
- it.set(e);
3734
+ ) : gt.set(!0), Zr(e).then(() => {
3735
+ nt.set(e);
3733
3736
  }).finally(() => {
3734
- clearTimeout(r), vt.set(!1);
3737
+ clearTimeout(r), gt.set(!1);
3735
3738
  });
3736
3739
  }
3737
- return it.set(e);
3738
- }, ge = co(lo({}, it), {
3739
- set: fo
3740
- }), at = (e) => {
3740
+ return nt.set(e);
3741
+ }, ge = mo(po({}, nt), {
3742
+ set: vo
3743
+ }), ut = (e) => {
3741
3744
  const t = /* @__PURE__ */ Object.create(null);
3742
3745
  return (i) => {
3743
3746
  const n = JSON.stringify(i);
3744
3747
  return n in t ? t[n] : t[n] = e(i);
3745
3748
  };
3746
3749
  };
3747
- var ho = Object.defineProperty, nt = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
3750
+ var go = Object.defineProperty, ot = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
3748
3751
  for (var r in t || (t = {}))
3749
- Zr.call(t, r) && ir(e, r, t[r]);
3750
- if (nt)
3751
- for (var r of nt(t))
3752
- Jr.call(t, r) && ir(e, r, t[r]);
3752
+ Jr.call(t, r) && nr(e, r, t[r]);
3753
+ if (ot)
3754
+ for (var r of ot(t))
3755
+ Qr.call(t, r) && nr(e, r, t[r]);
3753
3756
  return e;
3754
- }, Ce = (e, t) => {
3757
+ }, Me = (e, t) => {
3755
3758
  var r = {};
3756
3759
  for (var i in e)
3757
- Zr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3758
- if (e != null && nt)
3759
- for (var i of nt(e))
3760
- t.indexOf(i) < 0 && Jr.call(e, i) && (r[i] = e[i]);
3760
+ Jr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3761
+ if (e != null && ot)
3762
+ for (var i of ot(e))
3763
+ t.indexOf(i) < 0 && Qr.call(e, i) && (r[i] = e[i]);
3761
3764
  return r;
3762
3765
  };
3763
- const ke = (e, t) => {
3764
- const { formats: r } = Ae();
3766
+ const Ne = (e, t) => {
3767
+ const { formats: r } = He();
3765
3768
  if (e in r && t in r[e])
3766
3769
  return r[e][t];
3767
3770
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3768
- }, po = at(
3771
+ }, bo = ut(
3769
3772
  (e) => {
3770
- var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
3773
+ var t = e, { locale: r, format: i } = t, n = Me(t, ["locale", "format"]);
3771
3774
  if (r == null)
3772
3775
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3773
- return i && (n = ke("number", i)), new Intl.NumberFormat(r, n);
3776
+ return i && (n = Ne("number", i)), new Intl.NumberFormat(r, n);
3774
3777
  }
3775
- ), mo = at(
3778
+ ), yo = ut(
3776
3779
  (e) => {
3777
- var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
3780
+ var t = e, { locale: r, format: i } = t, n = Me(t, ["locale", "format"]);
3778
3781
  if (r == null)
3779
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3780
- return i ? n = ke("date", i) : Object.keys(n).length === 0 && (n = ke("date", "short")), new Intl.DateTimeFormat(r, n);
3783
+ return i ? n = Ne("date", i) : Object.keys(n).length === 0 && (n = Ne("date", "short")), new Intl.DateTimeFormat(r, n);
3781
3784
  }
3782
- ), vo = at(
3785
+ ), _o = ut(
3783
3786
  (e) => {
3784
- var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
3787
+ var t = e, { locale: r, format: i } = t, n = Me(t, ["locale", "format"]);
3785
3788
  if (r == null)
3786
3789
  throw new Error(
3787
3790
  '[svelte-i18n] A "locale" must be set to format time values'
3788
3791
  );
3789
- return i ? n = ke("time", i) : Object.keys(n).length === 0 && (n = ke("time", "short")), new Intl.DateTimeFormat(r, n);
3792
+ return i ? n = Ne("time", i) : Object.keys(n).length === 0 && (n = Ne("time", "short")), new Intl.DateTimeFormat(r, n);
3790
3793
  }
3791
- ), go = (e = {}) => {
3794
+ ), xo = (e = {}) => {
3792
3795
  var t = e, {
3793
- locale: r = he()
3794
- } = t, i = Ce(t, [
3796
+ locale: r = de()
3797
+ } = t, i = Me(t, [
3795
3798
  "locale"
3796
3799
  ]);
3797
- return po(Rt({ locale: r }, i));
3798
- }, bo = (e = {}) => {
3800
+ return bo(Rt({ locale: r }, i));
3801
+ }, Eo = (e = {}) => {
3799
3802
  var t = e, {
3800
- locale: r = he()
3801
- } = t, i = Ce(t, [
3803
+ locale: r = de()
3804
+ } = t, i = Me(t, [
3802
3805
  "locale"
3803
3806
  ]);
3804
- return mo(Rt({ locale: r }, i));
3805
- }, yo = (e = {}) => {
3807
+ return yo(Rt({ locale: r }, i));
3808
+ }, wo = (e = {}) => {
3806
3809
  var t = e, {
3807
- locale: r = he()
3808
- } = t, i = Ce(t, [
3810
+ locale: r = de()
3811
+ } = t, i = Me(t, [
3809
3812
  "locale"
3810
3813
  ]);
3811
- return vo(Rt({ locale: r }, i));
3812
- }, _o = at(
3814
+ return _o(Rt({ locale: r }, i));
3815
+ }, So = ut(
3813
3816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3814
- (e, t = he()) => new jr(e, t, Ae().formats, {
3815
- ignoreTag: Ae().ignoreTag
3817
+ (e, t = de()) => new zr(e, t, He().formats, {
3818
+ ignoreTag: He().ignoreTag
3816
3819
  })
3817
- ), xo = (e, t = {}) => {
3820
+ ), To = (e, t = {}) => {
3818
3821
  var r, i, n, o;
3819
3822
  let s = t;
3820
3823
  typeof e == "object" && (s = e, e = s.id);
3821
3824
  const {
3822
3825
  values: a,
3823
- locale: u = he(),
3826
+ locale: u = de(),
3824
3827
  default: l
3825
3828
  } = s;
3826
3829
  if (u == null)
3827
3830
  throw new Error(
3828
3831
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3829
3832
  );
3830
- let f = zr(e, u);
3833
+ let f = Wr(e, u);
3831
3834
  if (!f)
3832
- f = (o = (n = (i = (r = Ae()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3835
+ f = (o = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3833
3836
  else if (typeof f != "string")
3834
3837
  return console.warn(
3835
3838
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3838,28 +3841,28 @@ const ke = (e, t) => {
3838
3841
  return f;
3839
3842
  let p = f;
3840
3843
  try {
3841
- p = _o(f, u).format(a);
3842
- } catch (v) {
3843
- v instanceof Error && console.warn(
3844
+ p = So(f, u).format(a);
3845
+ } catch (m) {
3846
+ m instanceof Error && console.warn(
3844
3847
  `[svelte-i18n] Message "${e}" has syntax error:`,
3845
- v.message
3848
+ m.message
3846
3849
  );
3847
3850
  }
3848
3851
  return p;
3849
- }, Eo = (e, t) => yo(t).format(e), wo = (e, t) => bo(t).format(e), So = (e, t) => go(t).format(e), To = (e, t = he()) => zr(e, t), Oo = Me([ge, Ue], () => xo);
3850
- Me([ge], () => Eo);
3851
- Me([ge], () => wo);
3852
- Me([ge], () => So);
3853
- Me([ge, Ue], () => To);
3854
- function nr(e, t) {
3855
- Xr(e, t);
3856
- }
3857
- function Po(e) {
3858
- io({
3852
+ }, Oo = (e, t) => wo(t).format(e), Po = (e, t) => Eo(t).format(e), Ho = (e, t) => xo(t).format(e), Ao = (e, t = de()) => Wr(e, t), Bo = Be([ge, Re], () => To);
3853
+ Be([ge], () => Oo);
3854
+ Be([ge], () => Po);
3855
+ Be([ge], () => Ho);
3856
+ Be([ge, Re], () => Ao);
3857
+ function or(e, t) {
3858
+ qr(e, t);
3859
+ }
3860
+ function Mo(e) {
3861
+ ao({
3859
3862
  fallbackLocale: "en"
3860
3863
  }), ge.set(e);
3861
3864
  }
3862
- const or = {
3865
+ const sr = {
3863
3866
  en: {
3864
3867
  verificationsRequired: "Verifications Required",
3865
3868
  "verification.video.how-to": "How to verify yourself?",
@@ -3918,15 +3921,15 @@ const or = {
3918
3921
  "verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
3919
3922
  }
3920
3923
  };
3921
- let Ho = Re(null);
3922
- const we = "__WIDGET_GLOBAL_STYLE_CACHE__";
3923
- function Ao(e, t) {
3924
+ let Co = ke(null);
3925
+ const Ee = "__WIDGET_GLOBAL_STYLE_CACHE__";
3926
+ function $o(e, t) {
3924
3927
  if (e) {
3925
3928
  const r = document.createElement("style");
3926
3929
  r.innerHTML = t, e.appendChild(r);
3927
3930
  }
3928
3931
  }
3929
- function Bo(e, t) {
3932
+ function Lo(e, t) {
3930
3933
  if (!e || !t)
3931
3934
  return;
3932
3935
  const r = new URL(t);
@@ -3937,32 +3940,32 @@ function Bo(e, t) {
3937
3940
  console.error("There was an error while trying to load client styling from URL", i);
3938
3941
  });
3939
3942
  }
3940
- function Mo(e, t, r, i = !1) {
3943
+ function Io(e, t, r, i = !1) {
3941
3944
  if (!window.emMessageBus)
3942
3945
  return;
3943
3946
  if (!("adoptedStyleSheets" in Document.prototype) || !i)
3944
- return r = Co(e, t), r;
3945
- window[we] || (window[we] = {}), r = $o(e, t);
3947
+ return r = Do(e, t), r;
3948
+ window[Ee] || (window[Ee] = {}), r = No(e, t);
3946
3949
  const o = r.unsubscribe.bind(r), s = () => {
3947
- if (window[we][t]) {
3948
- const a = window[we][t];
3949
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[we][t];
3950
+ if (window[Ee][t]) {
3951
+ const a = window[Ee][t];
3952
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Ee][t];
3950
3953
  }
3951
3954
  o();
3952
3955
  };
3953
3956
  return r.unsubscribe = s, r;
3954
3957
  }
3955
- function Co(e, t) {
3958
+ function Do(e, t) {
3956
3959
  const r = document.createElement("style");
3957
3960
  return window.emMessageBus.subscribe(t, (i) => {
3958
3961
  e && (r.innerHTML = i, e.appendChild(r));
3959
3962
  });
3960
3963
  }
3961
- function $o(e, t) {
3964
+ function No(e, t) {
3962
3965
  return window.emMessageBus.subscribe(t, (r) => {
3963
3966
  if (!e)
3964
3967
  return;
3965
- const i = e.getRootNode(), n = window[we];
3968
+ const i = e.getRootNode(), n = window[Ee];
3966
3969
  let o = n[t] && n[t].sheet;
3967
3970
  o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
3968
3971
  sheet: o,
@@ -3994,7 +3997,7 @@ var At = function(e, t) {
3994
3997
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3995
3998
  }, At(e, t);
3996
3999
  };
3997
- function Fe(e, t) {
4000
+ function Ve(e, t) {
3998
4001
  if (typeof t != "function" && t !== null)
3999
4002
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4000
4003
  At(e, t);
@@ -4044,13 +4047,13 @@ function Ct(e, t, r) {
4044
4047
  function ae(e) {
4045
4048
  return typeof e == "function";
4046
4049
  }
4047
- function Qr(e) {
4050
+ function Kr(e) {
4048
4051
  var t = function(i) {
4049
4052
  Error.call(i), i.stack = new Error().stack;
4050
4053
  }, r = e(t);
4051
4054
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4052
4055
  }
4053
- var gt = Qr(function(e) {
4056
+ var bt = Kr(function(e) {
4054
4057
  return function(r) {
4055
4058
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4056
4059
  ` + r.map(function(i, n) {
@@ -4065,7 +4068,7 @@ function $t(e, t) {
4065
4068
  0 <= r && e.splice(r, 1);
4066
4069
  }
4067
4070
  }
4068
- var ut = function() {
4071
+ var lt = function() {
4069
4072
  function e(t) {
4070
4073
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4071
4074
  }
@@ -4081,8 +4084,8 @@ var ut = function() {
4081
4084
  var l = u.value;
4082
4085
  l.remove(this);
4083
4086
  }
4084
- } catch (h) {
4085
- t = { error: h };
4087
+ } catch (d) {
4088
+ t = { error: d };
4086
4089
  } finally {
4087
4090
  try {
4088
4091
  u && !u.done && (r = a.return) && r.call(a);
@@ -4097,26 +4100,26 @@ var ut = function() {
4097
4100
  if (ae(f))
4098
4101
  try {
4099
4102
  f();
4100
- } catch (h) {
4101
- o = h instanceof gt ? h.errors : [h];
4103
+ } catch (d) {
4104
+ o = d instanceof bt ? d.errors : [d];
4102
4105
  }
4103
4106
  var p = this._finalizers;
4104
4107
  if (p) {
4105
4108
  this._finalizers = null;
4106
4109
  try {
4107
- for (var v = Bt(p), b = v.next(); !b.done; b = v.next()) {
4108
- var T = b.value;
4110
+ for (var m = Bt(p), y = m.next(); !y.done; y = m.next()) {
4111
+ var _ = y.value;
4109
4112
  try {
4110
- sr(T);
4111
- } catch (h) {
4112
- o = o ?? [], h instanceof gt ? o = Ct(Ct([], Mt(o)), Mt(h.errors)) : o.push(h);
4113
+ ar(_);
4114
+ } catch (d) {
4115
+ o = o ?? [], d instanceof bt ? o = Ct(Ct([], Mt(o)), Mt(d.errors)) : o.push(d);
4113
4116
  }
4114
4117
  }
4115
- } catch (h) {
4116
- i = { error: h };
4118
+ } catch (d) {
4119
+ i = { error: d };
4117
4120
  } finally {
4118
4121
  try {
4119
- b && !b.done && (n = v.return) && n.call(v);
4122
+ y && !y.done && (n = m.return) && n.call(m);
4120
4123
  } finally {
4121
4124
  if (i)
4122
4125
  throw i.error;
@@ -4124,13 +4127,13 @@ var ut = function() {
4124
4127
  }
4125
4128
  }
4126
4129
  if (o)
4127
- throw new gt(o);
4130
+ throw new bt(o);
4128
4131
  }
4129
4132
  }, e.prototype.add = function(t) {
4130
4133
  var r;
4131
4134
  if (t && t !== this)
4132
4135
  if (this.closed)
4133
- sr(t);
4136
+ ar(t);
4134
4137
  else {
4135
4138
  if (t instanceof e) {
4136
4139
  if (t.closed || t._hasParent(this))
@@ -4155,16 +4158,16 @@ var ut = function() {
4155
4158
  var t = new e();
4156
4159
  return t.closed = !0, t;
4157
4160
  }(), e;
4158
- }(), Kr = ut.EMPTY;
4159
- function ei(e) {
4160
- return e instanceof ut || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
4161
+ }(), ei = lt.EMPTY;
4162
+ function ti(e) {
4163
+ return e instanceof lt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
4161
4164
  }
4162
- function sr(e) {
4165
+ function ar(e) {
4163
4166
  ae(e) ? e() : e.unsubscribe();
4164
4167
  }
4165
- var Lo = {
4168
+ var ko = {
4166
4169
  Promise: void 0
4167
- }, Io = {
4170
+ }, Ro = {
4168
4171
  setTimeout: function(e, t) {
4169
4172
  for (var r = [], i = 2; i < arguments.length; i++)
4170
4173
  r[i - 2] = arguments[i];
@@ -4175,21 +4178,21 @@ var Lo = {
4175
4178
  },
4176
4179
  delegate: void 0
4177
4180
  };
4178
- function Do(e) {
4179
- Io.setTimeout(function() {
4181
+ function Uo(e) {
4182
+ Ro.setTimeout(function() {
4180
4183
  throw e;
4181
4184
  });
4182
4185
  }
4183
- function ar() {
4186
+ function ur() {
4184
4187
  }
4185
4188
  function Ke(e) {
4186
4189
  e();
4187
4190
  }
4188
- var ti = function(e) {
4189
- Fe(t, e);
4191
+ var ri = function(e) {
4192
+ Ve(t, e);
4190
4193
  function t(r) {
4191
4194
  var i = e.call(this) || this;
4192
- return i.isStopped = !1, r ? (i.destination = r, ei(r) && r.add(i)) : i.destination = Ro, i;
4195
+ return i.isStopped = !1, r ? (i.destination = r, ti(r) && r.add(i)) : i.destination = Go, i;
4193
4196
  }
4194
4197
  return t.create = function(r, i, n) {
4195
4198
  return new Lt(r, i, n);
@@ -4216,7 +4219,7 @@ var ti = function(e) {
4216
4219
  this.unsubscribe();
4217
4220
  }
4218
4221
  }, t;
4219
- }(ut), No = function() {
4222
+ }(lt), Vo = function() {
4220
4223
  function e(t) {
4221
4224
  this.partialObserver = t;
4222
4225
  }
@@ -4248,42 +4251,42 @@ var ti = function(e) {
4248
4251
  }
4249
4252
  }, e;
4250
4253
  }(), Lt = function(e) {
4251
- Fe(t, e);
4254
+ Ve(t, e);
4252
4255
  function t(r, i, n) {
4253
4256
  var o = e.call(this) || this, s;
4254
4257
  return ae(r) || !r ? s = {
4255
4258
  next: r ?? void 0,
4256
4259
  error: i ?? void 0,
4257
4260
  complete: n ?? void 0
4258
- } : s = r, o.destination = new No(s), o;
4261
+ } : s = r, o.destination = new Vo(s), o;
4259
4262
  }
4260
4263
  return t;
4261
- }(ti);
4264
+ }(ri);
4262
4265
  function qe(e) {
4263
- Do(e);
4266
+ Uo(e);
4264
4267
  }
4265
- function ko(e) {
4268
+ function Fo(e) {
4266
4269
  throw e;
4267
4270
  }
4268
- var Ro = {
4271
+ var Go = {
4269
4272
  closed: !0,
4270
- next: ar,
4271
- error: ko,
4272
- complete: ar
4273
- }, Uo = function() {
4273
+ next: ur,
4274
+ error: Fo,
4275
+ complete: ur
4276
+ }, jo = function() {
4274
4277
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4275
4278
  }();
4276
- function Vo(e) {
4279
+ function zo(e) {
4277
4280
  return e;
4278
4281
  }
4279
- function Fo(e) {
4280
- return e.length === 0 ? Vo : e.length === 1 ? e[0] : function(r) {
4282
+ function Wo(e) {
4283
+ return e.length === 0 ? zo : e.length === 1 ? e[0] : function(r) {
4281
4284
  return e.reduce(function(i, n) {
4282
4285
  return n(i);
4283
4286
  }, r);
4284
4287
  };
4285
4288
  }
4286
- var ur = function() {
4289
+ var lr = function() {
4287
4290
  function e(t) {
4288
4291
  t && (this._subscribe = t);
4289
4292
  }
@@ -4291,7 +4294,7 @@ var ur = function() {
4291
4294
  var r = new e();
4292
4295
  return r.source = this, r.operator = t, r;
4293
4296
  }, e.prototype.subscribe = function(t, r, i) {
4294
- var n = this, o = jo(t) ? t : new Lt(t, r, i);
4297
+ var n = this, o = qo(t) ? t : new Lt(t, r, i);
4295
4298
  return Ke(function() {
4296
4299
  var s = n, a = s.operator, u = s.source;
4297
4300
  o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
@@ -4304,7 +4307,7 @@ var ur = function() {
4304
4307
  }
4305
4308
  }, e.prototype.forEach = function(t, r) {
4306
4309
  var i = this;
4307
- return r = lr(r), new r(function(n, o) {
4310
+ return r = cr(r), new r(function(n, o) {
4308
4311
  var s = new Lt({
4309
4312
  next: function(a) {
4310
4313
  try {
@@ -4321,15 +4324,15 @@ var ur = function() {
4321
4324
  }, e.prototype._subscribe = function(t) {
4322
4325
  var r;
4323
4326
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4324
- }, e.prototype[Uo] = function() {
4327
+ }, e.prototype[jo] = function() {
4325
4328
  return this;
4326
4329
  }, e.prototype.pipe = function() {
4327
4330
  for (var t = [], r = 0; r < arguments.length; r++)
4328
4331
  t[r] = arguments[r];
4329
- return Fo(t)(this);
4332
+ return Wo(t)(this);
4330
4333
  }, e.prototype.toPromise = function(t) {
4331
4334
  var r = this;
4332
- return t = lr(t), new t(function(i, n) {
4335
+ return t = cr(t), new t(function(i, n) {
4333
4336
  var o;
4334
4337
  r.subscribe(function(s) {
4335
4338
  return o = s;
@@ -4343,32 +4346,32 @@ var ur = function() {
4343
4346
  return new e(t);
4344
4347
  }, e;
4345
4348
  }();
4346
- function lr(e) {
4349
+ function cr(e) {
4347
4350
  var t;
4348
- return (t = e ?? Lo.Promise) !== null && t !== void 0 ? t : Promise;
4351
+ return (t = e ?? ko.Promise) !== null && t !== void 0 ? t : Promise;
4349
4352
  }
4350
- function Go(e) {
4353
+ function Xo(e) {
4351
4354
  return e && ae(e.next) && ae(e.error) && ae(e.complete);
4352
4355
  }
4353
- function jo(e) {
4354
- return e && e instanceof ti || Go(e) && ei(e);
4356
+ function qo(e) {
4357
+ return e && e instanceof ri || Xo(e) && ti(e);
4355
4358
  }
4356
- var zo = Qr(function(e) {
4359
+ var Yo = Kr(function(e) {
4357
4360
  return function() {
4358
4361
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4359
4362
  };
4360
- }), ri = function(e) {
4361
- Fe(t, e);
4363
+ }), ii = function(e) {
4364
+ Ve(t, e);
4362
4365
  function t() {
4363
4366
  var r = e.call(this) || this;
4364
4367
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4365
4368
  }
4366
4369
  return t.prototype.lift = function(r) {
4367
- var i = new cr(this, this);
4370
+ var i = new fr(this, this);
4368
4371
  return i.operator = r, i;
4369
4372
  }, t.prototype._throwIfClosed = function() {
4370
4373
  if (this.closed)
4371
- throw new zo();
4374
+ throw new Yo();
4372
4375
  }, t.prototype.next = function(r) {
4373
4376
  var i = this;
4374
4377
  Ke(function() {
@@ -4425,20 +4428,20 @@ var zo = Qr(function(e) {
4425
4428
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4426
4429
  }, t.prototype._innerSubscribe = function(r) {
4427
4430
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4428
- return o || s ? Kr : (this.currentObservers = null, a.push(r), new ut(function() {
4431
+ return o || s ? ei : (this.currentObservers = null, a.push(r), new lt(function() {
4429
4432
  i.currentObservers = null, $t(a, r);
4430
4433
  }));
4431
4434
  }, t.prototype._checkFinalizedStatuses = function(r) {
4432
4435
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
4433
4436
  n ? r.error(o) : s && r.complete();
4434
4437
  }, t.prototype.asObservable = function() {
4435
- var r = new ur();
4438
+ var r = new lr();
4436
4439
  return r.source = this, r;
4437
4440
  }, t.create = function(r, i) {
4438
- return new cr(r, i);
4441
+ return new fr(r, i);
4439
4442
  }, t;
4440
- }(ur), cr = function(e) {
4441
- Fe(t, e);
4443
+ }(lr), fr = function(e) {
4444
+ Ve(t, e);
4442
4445
  function t(r, i) {
4443
4446
  var n = e.call(this) || this;
4444
4447
  return n.destination = r, n.source = i, n;
@@ -4454,17 +4457,17 @@ var zo = Qr(function(e) {
4454
4457
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4455
4458
  }, t.prototype._subscribe = function(r) {
4456
4459
  var i, n;
4457
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Kr;
4460
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : ei;
4458
4461
  }, t;
4459
- }(ri), ii = {
4462
+ }(ii), ni = {
4460
4463
  now: function() {
4461
- return (ii.delegate || Date).now();
4464
+ return (ni.delegate || Date).now();
4462
4465
  },
4463
4466
  delegate: void 0
4464
- }, Wo = function(e) {
4465
- Fe(t, e);
4467
+ }, Zo = function(e) {
4468
+ Ve(t, e);
4466
4469
  function t(r, i, n) {
4467
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ii);
4470
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ni);
4468
4471
  var o = e.call(this) || this;
4469
4472
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
4470
4473
  }
@@ -4484,16 +4487,16 @@ var zo = Qr(function(e) {
4484
4487
  l && o.splice(0, l + 1);
4485
4488
  }
4486
4489
  }, t;
4487
- }(ri);
4488
- const fr = [], hr = {}, Xo = (e, t = 0) => {
4489
- if (fr.indexOf(e) == -1) {
4490
- const r = new Wo(t);
4491
- hr[e] = r, fr.push(e);
4490
+ }(ii);
4491
+ const hr = [], dr = {}, Jo = (e, t = 0) => {
4492
+ if (hr.indexOf(e) == -1) {
4493
+ const r = new Zo(t);
4494
+ dr[e] = r, hr.push(e);
4492
4495
  }
4493
- return hr[e];
4496
+ return dr[e];
4494
4497
  };
4495
- window.emWidgets = { topic: Xo };
4496
- const qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4498
+ window.emWidgets = { topic: Jo };
4499
+ const Qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4497
4500
  String(Number.MAX_SAFE_INTEGER).length;
4498
4501
  if (typeof window < "u") {
4499
4502
  let e = function(t) {
@@ -4507,362 +4510,362 @@ if (typeof window < "u") {
4507
4510
  }
4508
4511
  };
4509
4512
  };
4510
- customElements.define = e(customElements.define), import("./CashierModal-Cerc1iVi.js").then(({ default: t }) => {
4513
+ customElements.define = e(customElements.define), import("./CashierModal-B_P5HWPx.js").then(({ default: t }) => {
4511
4514
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
4512
4515
  });
4513
4516
  }
4514
- var ni = { exports: {} };
4517
+ var oi = { exports: {} };
4515
4518
  (function(e, t) {
4516
4519
  (function(r, i) {
4517
4520
  e.exports = i();
4518
- })(Or, function() {
4519
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", p = "month", v = "quarter", b = "year", T = "date", h = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|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, H = { 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(_) {
4520
- var d = ["th", "st", "nd", "rd"], m = _ % 100;
4521
- return "[" + _ + (d[(m - 20) % 10] || d[m] || d[0]) + "]";
4522
- } }, E = function(_, d, m) {
4523
- var y = String(_);
4524
- return !y || y.length >= d ? _ : "" + Array(d + 1 - y.length).join(m) + _;
4525
- }, O = { s: E, z: function(_) {
4526
- var d = -_.utcOffset(), m = Math.abs(d), y = Math.floor(m / 60), g = m % 60;
4527
- return (d <= 0 ? "+" : "-") + E(y, 2, "0") + ":" + E(g, 2, "0");
4528
- }, m: function _(d, m) {
4529
- if (d.date() < m.date())
4530
- return -_(m, d);
4531
- var y = 12 * (m.year() - d.year()) + (m.month() - d.month()), g = d.clone().add(y, p), w = m - g < 0, S = d.clone().add(y + (w ? -1 : 1), p);
4532
- return +(-(y + (m - g) / (w ? g - S : S - g)) || 0);
4533
- }, a: function(_) {
4534
- return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
4535
- }, p: function(_) {
4536
- return { M: p, y: b, w: f, d: l, D: T, h: u, m: a, s, ms: o, Q: v }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
4537
- }, u: function(_) {
4538
- return _ === void 0;
4539
- } }, L = "en", P = {};
4540
- P[L] = H;
4541
- var z = "$isDayjsObject", ne = function(_) {
4542
- return _ instanceof be || !(!_ || !_[z]);
4543
- }, Z = function _(d, m, y) {
4544
- var g;
4545
- if (!d)
4546
- return L;
4547
- if (typeof d == "string") {
4548
- var w = d.toLowerCase();
4549
- P[w] && (g = w), m && (P[w] = m, g = w);
4550
- var S = d.split("-");
4551
- if (!g && S.length > 1)
4552
- return _(S[0]);
4521
+ })(Pr, function() {
4522
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", p = "month", m = "quarter", y = "year", _ = "date", d = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
4523
+ var g = ["th", "st", "nd", "rd"], h = x % 100;
4524
+ return "[" + x + (g[(h - 20) % 10] || g[h] || g[0]) + "]";
4525
+ } }, $ = function(x, g, h) {
4526
+ var b = String(x);
4527
+ return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(h) + x;
4528
+ }, j = { s: $, z: function(x) {
4529
+ var g = -x.utcOffset(), h = Math.abs(g), b = Math.floor(h / 60), v = h % 60;
4530
+ return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(v, 2, "0");
4531
+ }, m: function x(g, h) {
4532
+ if (g.date() < h.date())
4533
+ return -x(h, g);
4534
+ var b = 12 * (h.year() - g.year()) + (h.month() - g.month()), v = g.clone().add(b, p), w = h - v < 0, S = g.clone().add(b + (w ? -1 : 1), p);
4535
+ return +(-(b + (h - v) / (w ? v - S : S - v)) || 0);
4536
+ }, a: function(x) {
4537
+ return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
4538
+ }, p: function(x) {
4539
+ return { M: p, y, w: f, d: l, D: _, h: u, m: a, s, ms: o, Q: m }[x] || String(x || "").toLowerCase().replace(/s$/, "");
4540
+ }, u: function(x) {
4541
+ return x === void 0;
4542
+ } }, O = "en", M = {};
4543
+ M[O] = R;
4544
+ var T = "$isDayjsObject", F = function(x) {
4545
+ return x instanceof ue || !(!x || !x[T]);
4546
+ }, L = function x(g, h, b) {
4547
+ var v;
4548
+ if (!g)
4549
+ return O;
4550
+ if (typeof g == "string") {
4551
+ var w = g.toLowerCase();
4552
+ M[w] && (v = w), h && (M[w] = h, v = w);
4553
+ var S = g.split("-");
4554
+ if (!v && S.length > 1)
4555
+ return x(S[0]);
4553
4556
  } else {
4554
- var D = d.name;
4555
- P[D] = d, g = D;
4557
+ var D = g.name;
4558
+ M[D] = g, v = D;
4556
4559
  }
4557
- return !y && g && (L = g), g || !y && L;
4558
- }, V = function(_, d) {
4559
- if (ne(_))
4560
- return _.clone();
4561
- var m = typeof d == "object" ? d : {};
4562
- return m.date = _, m.args = arguments, new be(m);
4563
- }, C = O;
4564
- C.l = Z, C.i = ne, C.w = function(_, d) {
4565
- return V(_, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
4560
+ return !b && v && (O = v), v || !b && O;
4561
+ }, U = function(x, g) {
4562
+ if (F(x))
4563
+ return x.clone();
4564
+ var h = typeof g == "object" ? g : {};
4565
+ return h.date = x, h.args = arguments, new ue(h);
4566
+ }, C = j;
4567
+ C.l = L, C.i = F, C.w = function(x, g) {
4568
+ return U(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
4566
4569
  };
4567
- var be = function() {
4568
- function _(m) {
4569
- this.$L = Z(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[z] = !0;
4570
+ var ue = function() {
4571
+ function x(h) {
4572
+ this.$L = L(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[T] = !0;
4570
4573
  }
4571
- var d = _.prototype;
4572
- return d.parse = function(m) {
4573
- this.$d = function(y) {
4574
- var g = y.date, w = y.utc;
4575
- if (g === null)
4574
+ var g = x.prototype;
4575
+ return g.parse = function(h) {
4576
+ this.$d = function(b) {
4577
+ var v = b.date, w = b.utc;
4578
+ if (v === null)
4576
4579
  return /* @__PURE__ */ new Date(NaN);
4577
- if (C.u(g))
4580
+ if (C.u(v))
4578
4581
  return /* @__PURE__ */ new Date();
4579
- if (g instanceof Date)
4580
- return new Date(g);
4581
- if (typeof g == "string" && !/Z$/i.test(g)) {
4582
- var S = g.match(I);
4582
+ if (v instanceof Date)
4583
+ return new Date(v);
4584
+ if (typeof v == "string" && !/Z$/i.test(v)) {
4585
+ var S = v.match(I);
4583
4586
  if (S) {
4584
- var D = S[2] - 1 || 0, k = (S[7] || "0").substring(0, 3);
4585
- return w ? new Date(Date.UTC(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, k)) : new Date(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, k);
4587
+ var D = S[2] - 1 || 0, N = (S[7] || "0").substring(0, 3);
4588
+ return w ? new Date(Date.UTC(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, N)) : new Date(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, N);
4586
4589
  }
4587
4590
  }
4588
- return new Date(g);
4589
- }(m), this.init();
4590
- }, d.init = function() {
4591
- var m = this.$d;
4592
- this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
4593
- }, d.$utils = function() {
4591
+ return new Date(v);
4592
+ }(h), this.init();
4593
+ }, g.init = function() {
4594
+ var h = this.$d;
4595
+ this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4596
+ }, g.$utils = function() {
4594
4597
  return C;
4595
- }, d.isValid = function() {
4596
- return this.$d.toString() !== h;
4597
- }, d.isSame = function(m, y) {
4598
- var g = V(m);
4599
- return this.startOf(y) <= g && g <= this.endOf(y);
4600
- }, d.isAfter = function(m, y) {
4601
- return V(m) < this.startOf(y);
4602
- }, d.isBefore = function(m, y) {
4603
- return this.endOf(y) < V(m);
4604
- }, d.$g = function(m, y, g) {
4605
- return C.u(m) ? this[y] : this.set(g, m);
4606
- }, d.unix = function() {
4598
+ }, g.isValid = function() {
4599
+ return this.$d.toString() !== d;
4600
+ }, g.isSame = function(h, b) {
4601
+ var v = U(h);
4602
+ return this.startOf(b) <= v && v <= this.endOf(b);
4603
+ }, g.isAfter = function(h, b) {
4604
+ return U(h) < this.startOf(b);
4605
+ }, g.isBefore = function(h, b) {
4606
+ return this.endOf(b) < U(h);
4607
+ }, g.$g = function(h, b, v) {
4608
+ return C.u(h) ? this[b] : this.set(v, h);
4609
+ }, g.unix = function() {
4607
4610
  return Math.floor(this.valueOf() / 1e3);
4608
- }, d.valueOf = function() {
4611
+ }, g.valueOf = function() {
4609
4612
  return this.$d.getTime();
4610
- }, d.startOf = function(m, y) {
4611
- var g = this, w = !!C.u(y) || y, S = C.p(m), D = function(oe, W) {
4612
- var re = C.w(g.$u ? Date.UTC(g.$y, W, oe) : new Date(g.$y, W, oe), g);
4613
+ }, g.startOf = function(h, b) {
4614
+ var v = this, w = !!C.u(b) || b, S = C.p(h), D = function(oe, Y) {
4615
+ var re = C.w(v.$u ? Date.UTC(v.$y, Y, oe) : new Date(v.$y, Y, oe), v);
4613
4616
  return w ? re : re.endOf(l);
4614
- }, k = function(oe, W) {
4615
- return C.w(g.toDate()[oe].apply(g.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), g);
4616
- }, F = this.$W, j = this.$M, Y = this.$D, le = "set" + (this.$u ? "UTC" : "");
4617
+ }, N = function(oe, Y) {
4618
+ return C.w(v.toDate()[oe].apply(v.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), v);
4619
+ }, z = this.$W, X = this.$M, J = this.$D, le = "set" + (this.$u ? "UTC" : "");
4617
4620
  switch (S) {
4618
- case b:
4621
+ case y:
4619
4622
  return w ? D(1, 0) : D(31, 11);
4620
4623
  case p:
4621
- return w ? D(1, j) : D(0, j + 1);
4624
+ return w ? D(1, X) : D(0, X + 1);
4622
4625
  case f:
4623
- var te = this.$locale().weekStart || 0, de = (F < te ? F + 7 : F) - te;
4624
- return D(w ? Y - de : Y + (6 - de), j);
4626
+ var ne = this.$locale().weekStart || 0, ce = (z < ne ? z + 7 : z) - ne;
4627
+ return D(w ? J - ce : J + (6 - ce), X);
4625
4628
  case l:
4626
- case T:
4627
- return k(le + "Hours", 0);
4629
+ case _:
4630
+ return N(le + "Hours", 0);
4628
4631
  case u:
4629
- return k(le + "Minutes", 1);
4632
+ return N(le + "Minutes", 1);
4630
4633
  case a:
4631
- return k(le + "Seconds", 2);
4634
+ return N(le + "Seconds", 2);
4632
4635
  case s:
4633
- return k(le + "Milliseconds", 3);
4636
+ return N(le + "Milliseconds", 3);
4634
4637
  default:
4635
4638
  return this.clone();
4636
4639
  }
4637
- }, d.endOf = function(m) {
4638
- return this.startOf(m, !1);
4639
- }, d.$set = function(m, y) {
4640
- var g, w = C.p(m), S = "set" + (this.$u ? "UTC" : ""), D = (g = {}, g[l] = S + "Date", g[T] = S + "Date", g[p] = S + "Month", g[b] = S + "FullYear", g[u] = S + "Hours", g[a] = S + "Minutes", g[s] = S + "Seconds", g[o] = S + "Milliseconds", g)[w], k = w === l ? this.$D + (y - this.$W) : y;
4641
- if (w === p || w === b) {
4642
- var F = this.clone().set(T, 1);
4643
- F.$d[D](k), F.init(), this.$d = F.set(T, Math.min(this.$D, F.daysInMonth())).$d;
4640
+ }, g.endOf = function(h) {
4641
+ return this.startOf(h, !1);
4642
+ }, g.$set = function(h, b) {
4643
+ var v, w = C.p(h), S = "set" + (this.$u ? "UTC" : ""), D = (v = {}, v[l] = S + "Date", v[_] = S + "Date", v[p] = S + "Month", v[y] = S + "FullYear", v[u] = S + "Hours", v[a] = S + "Minutes", v[s] = S + "Seconds", v[o] = S + "Milliseconds", v)[w], N = w === l ? this.$D + (b - this.$W) : b;
4644
+ if (w === p || w === y) {
4645
+ var z = this.clone().set(_, 1);
4646
+ z.$d[D](N), z.init(), this.$d = z.set(_, Math.min(this.$D, z.daysInMonth())).$d;
4644
4647
  } else
4645
- D && this.$d[D](k);
4648
+ D && this.$d[D](N);
4646
4649
  return this.init(), this;
4647
- }, d.set = function(m, y) {
4648
- return this.clone().$set(m, y);
4649
- }, d.get = function(m) {
4650
- return this[C.p(m)]();
4651
- }, d.add = function(m, y) {
4652
- var g, w = this;
4653
- m = Number(m);
4654
- var S = C.p(y), D = function(j) {
4655
- var Y = V(w);
4656
- return C.w(Y.date(Y.date() + Math.round(j * m)), w);
4650
+ }, g.set = function(h, b) {
4651
+ return this.clone().$set(h, b);
4652
+ }, g.get = function(h) {
4653
+ return this[C.p(h)]();
4654
+ }, g.add = function(h, b) {
4655
+ var v, w = this;
4656
+ h = Number(h);
4657
+ var S = C.p(b), D = function(X) {
4658
+ var J = U(w);
4659
+ return C.w(J.date(J.date() + Math.round(X * h)), w);
4657
4660
  };
4658
4661
  if (S === p)
4659
- return this.set(p, this.$M + m);
4660
- if (S === b)
4661
- return this.set(b, this.$y + m);
4662
+ return this.set(p, this.$M + h);
4663
+ if (S === y)
4664
+ return this.set(y, this.$y + h);
4662
4665
  if (S === l)
4663
4666
  return D(1);
4664
4667
  if (S === f)
4665
4668
  return D(7);
4666
- var k = (g = {}, g[a] = i, g[u] = n, g[s] = r, g)[S] || 1, F = this.$d.getTime() + m * k;
4667
- return C.w(F, this);
4668
- }, d.subtract = function(m, y) {
4669
- return this.add(-1 * m, y);
4670
- }, d.format = function(m) {
4671
- var y = this, g = this.$locale();
4669
+ var N = (v = {}, v[a] = i, v[u] = n, v[s] = r, v)[S] || 1, z = this.$d.getTime() + h * N;
4670
+ return C.w(z, this);
4671
+ }, g.subtract = function(h, b) {
4672
+ return this.add(-1 * h, b);
4673
+ }, g.format = function(h) {
4674
+ var b = this, v = this.$locale();
4672
4675
  if (!this.isValid())
4673
- return g.invalidDate || h;
4674
- var w = m || "YYYY-MM-DDTHH:mm:ssZ", S = C.z(this), D = this.$H, k = this.$m, F = this.$M, j = g.weekdays, Y = g.months, le = g.meridiem, te = function(W, re, pe, ye) {
4675
- return W && (W[re] || W(y, w)) || pe[re].slice(0, ye);
4676
- }, de = function(W) {
4677
- return C.s(D % 12 || 12, W, "0");
4678
- }, oe = le || function(W, re, pe) {
4679
- var ye = W < 12 ? "AM" : "PM";
4680
- return pe ? ye.toLowerCase() : ye;
4676
+ return v.invalidDate || d;
4677
+ var w = h || "YYYY-MM-DDTHH:mm:ssZ", S = C.z(this), D = this.$H, N = this.$m, z = this.$M, X = v.weekdays, J = v.months, le = v.meridiem, ne = function(Y, re, pe, be) {
4678
+ return Y && (Y[re] || Y(b, w)) || pe[re].slice(0, be);
4679
+ }, ce = function(Y) {
4680
+ return C.s(D % 12 || 12, Y, "0");
4681
+ }, oe = le || function(Y, re, pe) {
4682
+ var be = Y < 12 ? "AM" : "PM";
4683
+ return pe ? be.toLowerCase() : be;
4681
4684
  };
4682
- return w.replace(R, function(W, re) {
4685
+ return w.replace(G, function(Y, re) {
4683
4686
  return re || function(pe) {
4684
4687
  switch (pe) {
4685
4688
  case "YY":
4686
- return String(y.$y).slice(-2);
4689
+ return String(b.$y).slice(-2);
4687
4690
  case "YYYY":
4688
- return C.s(y.$y, 4, "0");
4691
+ return C.s(b.$y, 4, "0");
4689
4692
  case "M":
4690
- return F + 1;
4693
+ return z + 1;
4691
4694
  case "MM":
4692
- return C.s(F + 1, 2, "0");
4695
+ return C.s(z + 1, 2, "0");
4693
4696
  case "MMM":
4694
- return te(g.monthsShort, F, Y, 3);
4697
+ return ne(v.monthsShort, z, J, 3);
4695
4698
  case "MMMM":
4696
- return te(Y, F);
4699
+ return ne(J, z);
4697
4700
  case "D":
4698
- return y.$D;
4701
+ return b.$D;
4699
4702
  case "DD":
4700
- return C.s(y.$D, 2, "0");
4703
+ return C.s(b.$D, 2, "0");
4701
4704
  case "d":
4702
- return String(y.$W);
4705
+ return String(b.$W);
4703
4706
  case "dd":
4704
- return te(g.weekdaysMin, y.$W, j, 2);
4707
+ return ne(v.weekdaysMin, b.$W, X, 2);
4705
4708
  case "ddd":
4706
- return te(g.weekdaysShort, y.$W, j, 3);
4709
+ return ne(v.weekdaysShort, b.$W, X, 3);
4707
4710
  case "dddd":
4708
- return j[y.$W];
4711
+ return X[b.$W];
4709
4712
  case "H":
4710
4713
  return String(D);
4711
4714
  case "HH":
4712
4715
  return C.s(D, 2, "0");
4713
4716
  case "h":
4714
- return de(1);
4717
+ return ce(1);
4715
4718
  case "hh":
4716
- return de(2);
4719
+ return ce(2);
4717
4720
  case "a":
4718
- return oe(D, k, !0);
4721
+ return oe(D, N, !0);
4719
4722
  case "A":
4720
- return oe(D, k, !1);
4723
+ return oe(D, N, !1);
4721
4724
  case "m":
4722
- return String(k);
4725
+ return String(N);
4723
4726
  case "mm":
4724
- return C.s(k, 2, "0");
4727
+ return C.s(N, 2, "0");
4725
4728
  case "s":
4726
- return String(y.$s);
4729
+ return String(b.$s);
4727
4730
  case "ss":
4728
- return C.s(y.$s, 2, "0");
4731
+ return C.s(b.$s, 2, "0");
4729
4732
  case "SSS":
4730
- return C.s(y.$ms, 3, "0");
4733
+ return C.s(b.$ms, 3, "0");
4731
4734
  case "Z":
4732
4735
  return S;
4733
4736
  }
4734
4737
  return null;
4735
- }(W) || S.replace(":", "");
4738
+ }(Y) || S.replace(":", "");
4736
4739
  });
4737
- }, d.utcOffset = function() {
4740
+ }, g.utcOffset = function() {
4738
4741
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4739
- }, d.diff = function(m, y, g) {
4740
- var w, S = this, D = C.p(y), k = V(m), F = (k.utcOffset() - this.utcOffset()) * i, j = this - k, Y = function() {
4741
- return C.m(S, k);
4742
+ }, g.diff = function(h, b, v) {
4743
+ var w, S = this, D = C.p(b), N = U(h), z = (N.utcOffset() - this.utcOffset()) * i, X = this - N, J = function() {
4744
+ return C.m(S, N);
4742
4745
  };
4743
4746
  switch (D) {
4744
- case b:
4745
- w = Y() / 12;
4747
+ case y:
4748
+ w = J() / 12;
4746
4749
  break;
4747
4750
  case p:
4748
- w = Y();
4751
+ w = J();
4749
4752
  break;
4750
- case v:
4751
- w = Y() / 3;
4753
+ case m:
4754
+ w = J() / 3;
4752
4755
  break;
4753
4756
  case f:
4754
- w = (j - F) / 6048e5;
4757
+ w = (X - z) / 6048e5;
4755
4758
  break;
4756
4759
  case l:
4757
- w = (j - F) / 864e5;
4760
+ w = (X - z) / 864e5;
4758
4761
  break;
4759
4762
  case u:
4760
- w = j / n;
4763
+ w = X / n;
4761
4764
  break;
4762
4765
  case a:
4763
- w = j / i;
4766
+ w = X / i;
4764
4767
  break;
4765
4768
  case s:
4766
- w = j / r;
4769
+ w = X / r;
4767
4770
  break;
4768
4771
  default:
4769
- w = j;
4772
+ w = X;
4770
4773
  }
4771
- return g ? w : C.a(w);
4772
- }, d.daysInMonth = function() {
4774
+ return v ? w : C.a(w);
4775
+ }, g.daysInMonth = function() {
4773
4776
  return this.endOf(p).$D;
4774
- }, d.$locale = function() {
4775
- return P[this.$L];
4776
- }, d.locale = function(m, y) {
4777
- if (!m)
4777
+ }, g.$locale = function() {
4778
+ return M[this.$L];
4779
+ }, g.locale = function(h, b) {
4780
+ if (!h)
4778
4781
  return this.$L;
4779
- var g = this.clone(), w = Z(m, y, !0);
4780
- return w && (g.$L = w), g;
4781
- }, d.clone = function() {
4782
+ var v = this.clone(), w = L(h, b, !0);
4783
+ return w && (v.$L = w), v;
4784
+ }, g.clone = function() {
4782
4785
  return C.w(this.$d, this);
4783
- }, d.toDate = function() {
4786
+ }, g.toDate = function() {
4784
4787
  return new Date(this.valueOf());
4785
- }, d.toJSON = function() {
4788
+ }, g.toJSON = function() {
4786
4789
  return this.isValid() ? this.toISOString() : null;
4787
- }, d.toISOString = function() {
4790
+ }, g.toISOString = function() {
4788
4791
  return this.$d.toISOString();
4789
- }, d.toString = function() {
4792
+ }, g.toString = function() {
4790
4793
  return this.$d.toUTCString();
4791
- }, _;
4792
- }(), ue = be.prototype;
4793
- return V.prototype = ue, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", p], ["$y", b], ["$D", T]].forEach(function(_) {
4794
- ue[_[1]] = function(d) {
4795
- return this.$g(d, _[0], _[1]);
4794
+ }, x;
4795
+ }(), Fe = ue.prototype;
4796
+ return U.prototype = Fe, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", p], ["$y", y], ["$D", _]].forEach(function(x) {
4797
+ Fe[x[1]] = function(g) {
4798
+ return this.$g(g, x[0], x[1]);
4796
4799
  };
4797
- }), V.extend = function(_, d) {
4798
- return _.$i || (_(d, be, V), _.$i = !0), V;
4799
- }, V.locale = Z, V.isDayjs = ne, V.unix = function(_) {
4800
- return V(1e3 * _);
4801
- }, V.en = P[L], V.Ls = P, V.p = {}, V;
4800
+ }), U.extend = function(x, g) {
4801
+ return x.$i || (x(g, ue, U), x.$i = !0), U;
4802
+ }, U.locale = L, U.isDayjs = F, U.unix = function(x) {
4803
+ return U(1e3 * x);
4804
+ }, U.en = M[O], U.Ls = M, U.p = {}, U;
4802
4805
  });
4803
- })(ni);
4804
- var Yo = ni.exports;
4805
- const dr = /* @__PURE__ */ Nt(Yo);
4806
- var oi = { exports: {} };
4806
+ })(oi);
4807
+ var Ko = oi.exports;
4808
+ const pr = /* @__PURE__ */ Nt(Ko);
4809
+ var si = { exports: {} };
4807
4810
  (function(e, t) {
4808
4811
  (function(r, i) {
4809
4812
  e.exports = i();
4810
- })(Or, function() {
4813
+ })(Pr, function() {
4811
4814
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4812
4815
  return function(o, s, a) {
4813
4816
  var u = s.prototype;
4814
- a.utc = function(h) {
4815
- var I = { date: h, utc: !0, args: arguments };
4817
+ a.utc = function(d) {
4818
+ var I = { date: d, utc: !0, args: arguments };
4816
4819
  return new s(I);
4817
- }, u.utc = function(h) {
4820
+ }, u.utc = function(d) {
4818
4821
  var I = a(this.toDate(), { locale: this.$L, utc: !0 });
4819
- return h ? I.add(this.utcOffset(), r) : I;
4822
+ return d ? I.add(this.utcOffset(), r) : I;
4820
4823
  }, u.local = function() {
4821
4824
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4822
4825
  };
4823
4826
  var l = u.parse;
4824
- u.parse = function(h) {
4825
- h.utc && (this.$u = !0), this.$utils().u(h.$offset) || (this.$offset = h.$offset), l.call(this, h);
4827
+ u.parse = function(d) {
4828
+ d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4826
4829
  };
4827
4830
  var f = u.init;
4828
4831
  u.init = function() {
4829
4832
  if (this.$u) {
4830
- var h = this.$d;
4831
- this.$y = h.getUTCFullYear(), this.$M = h.getUTCMonth(), this.$D = h.getUTCDate(), this.$W = h.getUTCDay(), this.$H = h.getUTCHours(), this.$m = h.getUTCMinutes(), this.$s = h.getUTCSeconds(), this.$ms = h.getUTCMilliseconds();
4833
+ var d = this.$d;
4834
+ this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4832
4835
  } else
4833
4836
  f.call(this);
4834
4837
  };
4835
4838
  var p = u.utcOffset;
4836
- u.utcOffset = function(h, I) {
4837
- var R = this.$utils().u;
4838
- if (R(h))
4839
- return this.$u ? 0 : R(this.$offset) ? p.call(this) : this.$offset;
4840
- if (typeof h == "string" && (h = function(L) {
4841
- L === void 0 && (L = "");
4842
- var P = L.match(i);
4843
- if (!P)
4839
+ u.utcOffset = function(d, I) {
4840
+ var G = this.$utils().u;
4841
+ if (G(d))
4842
+ return this.$u ? 0 : G(this.$offset) ? p.call(this) : this.$offset;
4843
+ if (typeof d == "string" && (d = function(O) {
4844
+ O === void 0 && (O = "");
4845
+ var M = O.match(i);
4846
+ if (!M)
4844
4847
  return null;
4845
- var z = ("" + P[0]).match(n) || ["-", 0, 0], ne = z[0], Z = 60 * +z[1] + +z[2];
4846
- return Z === 0 ? 0 : ne === "+" ? Z : -Z;
4847
- }(h), h === null))
4848
+ var T = ("" + M[0]).match(n) || ["-", 0, 0], F = T[0], L = 60 * +T[1] + +T[2];
4849
+ return L === 0 ? 0 : F === "+" ? L : -L;
4850
+ }(d), d === null))
4848
4851
  return this;
4849
- var H = Math.abs(h) <= 16 ? 60 * h : h, E = this;
4852
+ var R = Math.abs(d) <= 16 ? 60 * d : d, $ = this;
4850
4853
  if (I)
4851
- return E.$offset = H, E.$u = h === 0, E;
4852
- if (h !== 0) {
4853
- var O = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4854
- (E = this.local().add(H + O, r)).$offset = H, E.$x.$localOffset = O;
4854
+ return $.$offset = R, $.$u = d === 0, $;
4855
+ if (d !== 0) {
4856
+ var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4857
+ ($ = this.local().add(R + j, r)).$offset = R, $.$x.$localOffset = j;
4855
4858
  } else
4856
- E = this.utc();
4857
- return E;
4859
+ $ = this.utc();
4860
+ return $;
4858
4861
  };
4859
- var v = u.format;
4860
- u.format = function(h) {
4861
- var I = h || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4862
- return v.call(this, I);
4862
+ var m = u.format;
4863
+ u.format = function(d) {
4864
+ var I = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4865
+ return m.call(this, I);
4863
4866
  }, u.valueOf = function() {
4864
- var h = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4865
- return this.$d.valueOf() - 6e4 * h;
4867
+ var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4868
+ return this.$d.valueOf() - 6e4 * d;
4866
4869
  }, u.isUTC = function() {
4867
4870
  return !!this.$u;
4868
4871
  }, u.toISOString = function() {
@@ -4870,55 +4873,55 @@ var oi = { exports: {} };
4870
4873
  }, u.toString = function() {
4871
4874
  return this.toDate().toUTCString();
4872
4875
  };
4873
- var b = u.toDate;
4874
- u.toDate = function(h) {
4875
- return h === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : b.call(this);
4876
+ var y = u.toDate;
4877
+ u.toDate = function(d) {
4878
+ return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
4876
4879
  };
4877
- var T = u.diff;
4878
- u.diff = function(h, I, R) {
4879
- if (h && this.$u === h.$u)
4880
- return T.call(this, h, I, R);
4881
- var H = this.local(), E = a(h).local();
4882
- return T.call(H, E, I, R);
4880
+ var _ = u.diff;
4881
+ u.diff = function(d, I, G) {
4882
+ if (d && this.$u === d.$u)
4883
+ return _.call(this, d, I, G);
4884
+ var R = this.local(), $ = a(d).local();
4885
+ return _.call(R, $, I, G);
4883
4886
  };
4884
4887
  };
4885
4888
  });
4886
- })(oi);
4887
- var Zo = oi.exports;
4888
- const Jo = /* @__PURE__ */ Nt(Zo);
4889
- function Qo(e) {
4890
- vi(e, "svelte-xrv2v8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
4889
+ })(si);
4890
+ var es = si.exports;
4891
+ const ts = /* @__PURE__ */ Nt(es);
4892
+ function rs(e) {
4893
+ yi(e, "svelte-1kmyt1l", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:var(--verifications-list-height, 0);transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
4891
4894
  }
4892
- function pr(e, t, r) {
4895
+ function mr(e, t, r) {
4893
4896
  const i = e.slice();
4894
- return i[56] = t[r], i;
4897
+ return i[58] = t[r], i;
4895
4898
  }
4896
- function Ko(e) {
4899
+ function is(e) {
4897
4900
  let t, r = (
4898
4901
  /*displayMessages*/
4899
- e[3].length > 0 && mr(e)
4902
+ e[3].length > 0 && vr(e)
4900
4903
  );
4901
4904
  return {
4902
4905
  c() {
4903
- t = X("div"), r && r.c(), $(t, "class", "CashierVerificationsWrapper");
4906
+ t = q("div"), r && r.c(), B(t, "class", "CashierVerificationsWrapper");
4904
4907
  },
4905
4908
  m(i, n) {
4906
4909
  se(i, t, n), r && r.m(t, null);
4907
4910
  },
4908
4911
  p(i, n) {
4909
4912
  /*displayMessages*/
4910
- i[3].length > 0 ? r ? r.p(i, n) : (r = mr(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4913
+ i[3].length > 0 ? r ? r.p(i, n) : (r = vr(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4911
4914
  },
4912
4915
  d(i) {
4913
- i && ee(t), r && r.d();
4916
+ i && te(t), r && r.d();
4914
4917
  }
4915
4918
  };
4916
4919
  }
4917
- function es(e) {
4920
+ function ns(e) {
4918
4921
  let t;
4919
4922
  return {
4920
4923
  c() {
4921
- t = X("cashier-spinner"), ze(
4924
+ t = q("cashier-spinner"), ze(
4922
4925
  t,
4923
4926
  "clientstylingurl",
4924
4927
  /*clientstylingurl*/
@@ -4949,139 +4952,149 @@ function es(e) {
4949
4952
  );
4950
4953
  },
4951
4954
  d(r) {
4952
- r && ee(t);
4955
+ r && te(t);
4953
4956
  }
4954
4957
  };
4955
4958
  }
4956
- function mr(e) {
4959
+ function vr(e) {
4957
4960
  let t, r, i, n, o, s, a, u = (
4958
4961
  /*$_*/
4959
- e[8]("verificationsRequired") + ""
4960
- ), l, f, p, v, b, T, h, I, R = Gt(
4962
+ e[9]("verificationsRequired") + ""
4963
+ ), l, f, p, m, y, _, d, I, G = `${/*verificationsListHeight*/
4964
+ e[8]}px`, R, $, j = jt(
4961
4965
  /*displayMessages*/
4962
4966
  e[3]
4963
- ), H = [];
4964
- for (let O = 0; O < R.length; O += 1)
4965
- H[O] = vr(pr(e, R, O));
4966
- let E = (
4967
+ ), O = [];
4968
+ for (let T = 0; T < j.length; T += 1)
4969
+ O[T] = gr(mr(e, j, T));
4970
+ let M = (
4967
4971
  /*videoExists*/
4968
- e[6] && gr(e)
4972
+ e[6] && br(e)
4969
4973
  );
4970
4974
  return {
4971
4975
  c() {
4972
- t = X("div"), r = je("svg"), i = je("path"), n = je("path"), o = je("path"), s = Se(), a = X("p"), l = Dt(u), f = Se(), p = X("span"), p.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', v = Se(), b = X("div");
4973
- for (let O = 0; O < H.length; O += 1)
4974
- H[O].c();
4975
- T = Se(), E && E.c(), $(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), $(i, "stroke", "#6E738F"), $(i, "stroke-width", "2"), $(i, "stroke-linecap", "round"), $(i, "stroke-linejoin", "round"), $(n, "d", "M12 8V12"), $(n, "stroke", "#6E738F"), $(n, "stroke-width", "2"), $(n, "stroke-linecap", "round"), $(n, "stroke-linejoin", "round"), $(o, "d", "M12 16H12.01"), $(o, "stroke", "#6E738F"), $(o, "stroke-width", "2"), $(o, "stroke-linecap", "round"), $(o, "stroke-linejoin", "round"), $(r, "width", "24"), $(r, "height", "24"), $(r, "viewBox", "0 0 24 24"), $(r, "fill", "none"), $(r, "xmlns", "http://www.w3.org/2000/svg"), $(p, "class", "CashierVerificationChevron"), ce(
4976
+ t = q("div"), r = je("svg"), i = je("path"), n = je("path"), o = je("path"), s = we(), a = q("p"), l = Dt(u), f = we(), p = q("span"), p.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', m = we(), y = q("div"), _ = q("div");
4977
+ for (let T = 0; T < O.length; T += 1)
4978
+ O[T].c();
4979
+ d = we(), M && M.c(), B(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), B(i, "stroke", "#6E738F"), B(i, "stroke-width", "2"), B(i, "stroke-linecap", "round"), B(i, "stroke-linejoin", "round"), B(n, "d", "M12 8V12"), B(n, "stroke", "#6E738F"), B(n, "stroke-width", "2"), B(n, "stroke-linecap", "round"), B(n, "stroke-linejoin", "round"), B(o, "d", "M12 16H12.01"), B(o, "stroke", "#6E738F"), B(o, "stroke-width", "2"), B(o, "stroke-linecap", "round"), B(o, "stroke-linejoin", "round"), B(r, "width", "24"), B(r, "height", "24"), B(r, "viewBox", "0 0 24 24"), B(r, "fill", "none"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(p, "class", "CashierVerificationChevron"), fe(
4976
4980
  p,
4977
4981
  "ShowVerifications",
4978
4982
  /*allVerificationsVisible*/
4979
4983
  e[4]
4980
- ), $(t, "class", "VerificationsHeader"), $(b, "class", "VerificationsList"), ce(
4981
- b,
4984
+ ), B(t, "class", "VerificationsHeader"), B(_, "class", "VerificationsListInner"), tt(() => (
4985
+ /*div1_elementresize_handler*/
4986
+ e[21].call(_)
4987
+ )), B(y, "class", "VerificationsList"), fe(
4988
+ y,
4982
4989
  "ShowVerifications",
4983
4990
  /*allVerificationsVisible*/
4984
4991
  e[4]
4985
- );
4992
+ ), Ft(y, "--verifications-list-height", G);
4986
4993
  },
4987
- m(O, L) {
4988
- se(O, t, L), G(t, r), G(r, i), G(r, n), G(r, o), G(t, s), G(t, a), G(a, l), G(t, f), G(t, p), se(O, v, L), se(O, b, L);
4989
- for (let P = 0; P < H.length; P += 1)
4990
- H[P] && H[P].m(b, null);
4991
- G(b, T), E && E.m(b, null), h || (I = et(
4994
+ m(T, F) {
4995
+ se(T, t, F), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, l), W(t, f), W(t, p), se(T, m, F), se(T, y, F), W(y, _);
4996
+ for (let L = 0; L < O.length; L += 1)
4997
+ O[L] && O[L].m(_, null);
4998
+ W(_, d), M && M.m(_, null), I = Ti(
4999
+ _,
5000
+ /*div1_elementresize_handler*/
5001
+ e[21].bind(_)
5002
+ ), R || ($ = et(
4992
5003
  t,
4993
5004
  "click",
4994
5005
  /*toggleVerifications*/
4995
- e[9]
4996
- ), h = !0);
5006
+ e[10]
5007
+ ), R = !0);
4997
5008
  },
4998
- p(O, L) {
4999
- if (L[0] & /*$_*/
5000
- 256 && u !== (u = /*$_*/
5001
- O[8]("verificationsRequired") + "") && Er(l, u), L[0] & /*allVerificationsVisible*/
5002
- 16 && ce(
5009
+ p(T, F) {
5010
+ if (F[0] & /*$_*/
5011
+ 512 && u !== (u = /*$_*/
5012
+ T[9]("verificationsRequired") + "") && wr(l, u), F[0] & /*allVerificationsVisible*/
5013
+ 16 && fe(
5003
5014
  p,
5004
5015
  "ShowVerifications",
5005
5016
  /*allVerificationsVisible*/
5006
- O[4]
5007
- ), L[0] & /*displayMessages*/
5017
+ T[4]
5018
+ ), F[0] & /*displayMessages*/
5008
5019
  8) {
5009
- R = Gt(
5020
+ j = jt(
5010
5021
  /*displayMessages*/
5011
- O[3]
5022
+ T[3]
5012
5023
  );
5013
- let P;
5014
- for (P = 0; P < R.length; P += 1) {
5015
- const z = pr(O, R, P);
5016
- H[P] ? H[P].p(z, L) : (H[P] = vr(z), H[P].c(), H[P].m(b, T));
5024
+ let L;
5025
+ for (L = 0; L < j.length; L += 1) {
5026
+ const U = mr(T, j, L);
5027
+ O[L] ? O[L].p(U, F) : (O[L] = gr(U), O[L].c(), O[L].m(_, d));
5017
5028
  }
5018
- for (; P < H.length; P += 1)
5019
- H[P].d(1);
5020
- H.length = R.length;
5029
+ for (; L < O.length; L += 1)
5030
+ O[L].d(1);
5031
+ O.length = j.length;
5021
5032
  }
5022
5033
  /*videoExists*/
5023
- O[6] ? E ? E.p(O, L) : (E = gr(O), E.c(), E.m(b, null)) : E && (E.d(1), E = null), L[0] & /*allVerificationsVisible*/
5024
- 16 && ce(
5025
- b,
5034
+ T[6] ? M ? M.p(T, F) : (M = br(T), M.c(), M.m(_, null)) : M && (M.d(1), M = null), F[0] & /*allVerificationsVisible*/
5035
+ 16 && fe(
5036
+ y,
5026
5037
  "ShowVerifications",
5027
5038
  /*allVerificationsVisible*/
5028
- O[4]
5029
- );
5039
+ T[4]
5040
+ ), F[0] & /*verificationsListHeight*/
5041
+ 256 && G !== (G = `${/*verificationsListHeight*/
5042
+ T[8]}px`) && Ft(y, "--verifications-list-height", G);
5030
5043
  },
5031
- d(O) {
5032
- O && (ee(t), ee(v), ee(b)), yi(H, O), E && E.d(), h = !1, I();
5044
+ d(T) {
5045
+ T && (te(t), te(m), te(y)), Ei(O, T), M && M.d(), I(), R = !1, $();
5033
5046
  }
5034
5047
  };
5035
5048
  }
5036
- function vr(e) {
5049
+ function gr(e) {
5037
5050
  let t, r, i, n, o = (
5038
5051
  /*message*/
5039
- e[56] + ""
5052
+ e[58] + ""
5040
5053
  );
5041
5054
  return {
5042
5055
  c() {
5043
- t = X("div"), r = X("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Se(), n = X("p"), $(r, "class", "IconVerification"), $(n, "class", "text"), $(t, "class", "CashierVerificationMessage Test");
5056
+ t = q("div"), r = q("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = we(), n = q("p"), B(r, "class", "IconVerification"), B(n, "class", "text"), B(t, "class", "CashierVerificationMessage Test");
5044
5057
  },
5045
5058
  m(s, a) {
5046
- se(s, t, a), G(t, r), G(t, i), G(t, n), n.innerHTML = o;
5059
+ se(s, t, a), W(t, r), W(t, i), W(t, n), n.innerHTML = o;
5047
5060
  },
5048
5061
  p(s, a) {
5049
5062
  a[0] & /*displayMessages*/
5050
5063
  8 && o !== (o = /*message*/
5051
- s[56] + "") && (n.innerHTML = o);
5064
+ s[58] + "") && (n.innerHTML = o);
5052
5065
  },
5053
5066
  d(s) {
5054
- s && ee(t);
5067
+ s && te(t);
5055
5068
  }
5056
5069
  };
5057
5070
  }
5058
- function gr(e) {
5071
+ function br(e) {
5059
5072
  let t, r, i, n, o = (
5060
5073
  /*$_*/
5061
- e[8]("verification.video.how-to") + ""
5074
+ e[9]("verification.video.how-to") + ""
5062
5075
  ), s, a, u;
5063
5076
  return {
5064
5077
  c() {
5065
- t = X("div"), r = X("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 = Se(), n = X("div"), s = Dt(o), $(r, "class", "IconVideo"), $(n, "class", "CashierVerificationVideoLink"), ce(
5078
+ t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = we(), n = q("div"), s = Dt(o), B(r, "class", "IconVideo"), B(n, "class", "CashierVerificationVideoLink"), fe(
5066
5079
  n,
5067
5080
  "CashierVerificationVideoLinkDesktop",
5068
5081
  /*desktopView*/
5069
5082
  e[5]
5070
- ), $(t, "class", "CashierVerificationVideo Test");
5083
+ ), B(t, "class", "CashierVerificationVideo Test");
5071
5084
  },
5072
5085
  m(l, f) {
5073
- se(l, t, f), G(t, r), G(t, i), G(t, n), G(n, s), a || (u = et(
5086
+ se(l, t, f), W(t, r), W(t, i), W(t, n), W(n, s), a || (u = et(
5074
5087
  t,
5075
5088
  "click",
5076
5089
  /*showVideo*/
5077
- e[10]
5090
+ e[11]
5078
5091
  ), a = !0);
5079
5092
  },
5080
5093
  p(l, f) {
5081
5094
  f[0] & /*$_*/
5082
- 256 && o !== (o = /*$_*/
5083
- l[8]("verification.video.how-to") + "") && Er(s, o), f[0] & /*desktopView*/
5084
- 32 && ce(
5095
+ 512 && o !== (o = /*$_*/
5096
+ l[9]("verification.video.how-to") + "") && wr(s, o), f[0] & /*desktopView*/
5097
+ 32 && fe(
5085
5098
  n,
5086
5099
  "CashierVerificationVideoLinkDesktop",
5087
5100
  /*desktopView*/
@@ -5089,28 +5102,28 @@ function gr(e) {
5089
5102
  );
5090
5103
  },
5091
5104
  d(l) {
5092
- l && ee(t), a = !1, u();
5105
+ l && te(t), a = !1, u();
5093
5106
  }
5094
5107
  };
5095
5108
  }
5096
- function ts(e) {
5109
+ function os(e) {
5097
5110
  let t;
5098
5111
  function r(o, s) {
5099
5112
  if (
5100
5113
  /*isLoading*/
5101
5114
  o[7]
5102
5115
  )
5103
- return es;
5116
+ return ns;
5104
5117
  if (
5105
5118
  /*displayMessages*/
5106
5119
  o[3]
5107
5120
  )
5108
- return Ko;
5121
+ return is;
5109
5122
  }
5110
5123
  let i = r(e), n = i && i(e);
5111
5124
  return {
5112
5125
  c() {
5113
- t = X("div"), n && n.c(), $(t, "class", "CashierVerifications"), ce(
5126
+ t = q("div"), n && n.c(), B(t, "class", "CashierVerifications"), fe(
5114
5127
  t,
5115
5128
  "CashierVerificationsDesktop",
5116
5129
  /*desktopView*/
@@ -5118,342 +5131,347 @@ function ts(e) {
5118
5131
  );
5119
5132
  },
5120
5133
  m(o, s) {
5121
- se(o, t, s), n && n.m(t, null), e[20](t);
5134
+ se(o, t, s), n && n.m(t, null), e[22](t);
5122
5135
  },
5123
5136
  p(o, s) {
5124
5137
  i === (i = r(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null))), s[0] & /*desktopView*/
5125
- 32 && ce(
5138
+ 32 && fe(
5126
5139
  t,
5127
5140
  "CashierVerificationsDesktop",
5128
5141
  /*desktopView*/
5129
5142
  o[5]
5130
5143
  );
5131
5144
  },
5132
- i: K,
5133
- o: K,
5145
+ i: ee,
5146
+ o: ee,
5134
5147
  d(o) {
5135
- o && ee(t), n && n.d(), e[20](null);
5148
+ o && te(t), n && n.d(), e[22](null);
5136
5149
  }
5137
5150
  };
5138
5151
  }
5139
- const rs = "verification_explanation_video_widgets.MP4";
5140
- function is(e, t, r) {
5152
+ const ss = "verification_explanation_video_widgets.MP4";
5153
+ function as(e, t, r) {
5141
5154
  let i, n;
5142
- Vt(e, Oo, (c) => r(8, i = c)), Vt(e, Ho, (c) => r(29, n = c)), dr.extend(Jo);
5143
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { userroles: b = "" } = t, { mbsource: T = "" } = t, h, I = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set(), H, E, O, L = !1, P = !0, z = !1, ne = "", Z = !1, V, C = [], be = window.navigator.userAgent;
5144
- var ue;
5155
+ Vt(e, Bo, (c) => r(9, i = c)), Vt(e, Co, (c) => r(31, n = c)), pr.extend(ts);
5156
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: m = "" } = t, { userroles: y = "" } = t, { mbsource: _ = "" } = t, d, I = /* @__PURE__ */ new Set(), G = /* @__PURE__ */ new Set(), R, $, j, O = !1, M = !0, T = !1, F = "", L = !1, U, C = [], ue = 0, Fe = window.navigator.userAgent;
5157
+ var x;
5145
5158
  (function(c) {
5146
5159
  c.Manual = "Manual", c.ShuftiPro = "ShuftiPro";
5147
- })(ue || (ue = {}));
5148
- var _;
5160
+ })(x || (x = {}));
5161
+ var g;
5149
5162
  (function(c) {
5150
5163
  c.Requested = "Requested";
5151
- })(_ || (_ = {}));
5152
- var d;
5164
+ })(g || (g = {}));
5165
+ var h;
5153
5166
  (function(c) {
5154
5167
  c.Unknown = "Unknown", c.Unverified = "Unverified", c.InProgress = "InProgress", c.Failed = "Failed", c.Verified = "Verified", c.Referred = "Referred", c.True = "True", c.False = "False", c.AwaitingForResponse = "AwaitingForResponse";
5155
- })(d || (d = {}));
5156
- var m;
5168
+ })(h || (h = {}));
5169
+ var b;
5157
5170
  (function(c) {
5158
5171
  c.Unknown = "Unknown", c.Documents = "Documents", c.Age = "Age", c.Pep = "Pep", c.Sanction = "Sanction", c.Aml = "Aml", c.ProofOfAddress = "ProofOfAddress", c.SourceOfWealth = "SourceOfWealth", c.SocialMedia = "SocialMedia", c.Biometric = "Biometric";
5159
- })(m || (m = {}));
5160
- const y = (c) => {
5172
+ })(b || (b = {}));
5173
+ const v = (c) => {
5161
5174
  c.data && c.data.type;
5162
5175
  };
5163
- Si(() => (window.addEventListener("message", y), li(), () => {
5164
- window.removeEventListener("message", y);
5176
+ Hi(() => (window.addEventListener("message", v), fi(), () => {
5177
+ window.removeEventListener("message", v);
5165
5178
  }));
5166
- const g = [
5167
- d.InProgress,
5168
- d.Referred,
5169
- d.AwaitingForResponse
5170
- ], w = () => {
5179
+ const w = [
5180
+ h.InProgress,
5181
+ h.Referred,
5182
+ h.AwaitingForResponse
5183
+ ], S = () => {
5171
5184
  let c = a;
5172
5185
  if (c)
5173
- return fetch(c).then((x) => x.json()).then((x) => {
5174
- Object.keys(x).forEach((B) => {
5175
- nr(B, x[B]);
5186
+ return fetch(c).then((E) => E.json()).then((E) => {
5187
+ Object.keys(E).forEach((H) => {
5188
+ or(H, E[H]);
5176
5189
  });
5177
- }).catch((x) => {
5178
- console.log(x);
5190
+ }).catch((E) => {
5191
+ console.log(E);
5179
5192
  });
5180
5193
  };
5181
- Object.keys(or).forEach((c) => {
5182
- nr(c, or[c]);
5194
+ Object.keys(sr).forEach((c) => {
5195
+ or(c, sr[c]);
5183
5196
  });
5184
- const S = () => {
5185
- Po(s);
5186
- }, D = () => {
5187
- r(19, E = j());
5188
- const c = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), x = new Headers();
5189
- x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(C) && C.length > 0 && C.indexOf("MM_CHANNEL_BETA") != -1 && x.append("MM_CHANNEL", "BETA");
5190
- const B = {
5197
+ const D = () => {
5198
+ Mo(s);
5199
+ }, N = () => {
5200
+ r(20, $ = J());
5201
+ const c = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), E = new Headers();
5202
+ E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("x-sessionid", `${m}`), E.append("X-Client-Request-Timestamp", pr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(C) && C.length > 0 && C.indexOf("MM_CHANNEL_BETA") != -1 && E.append("MM_CHANNEL", "BETA");
5203
+ const H = {
5191
5204
  method: "POST",
5192
- headers: x,
5205
+ headers: E,
5193
5206
  body: JSON.stringify({})
5194
5207
  };
5195
- r(7, Z = !0), fetch(c, B).then((Q) => Q.json()).then((Q) => {
5196
- const lt = k(Q?.Verifications);
5197
- H = Y(lt), H.VerificationStatuses.forEach((Ge) => {
5208
+ r(7, L = !0), fetch(c, H).then((K) => K.json()).then((K) => {
5209
+ const ct = z(K?.Verifications);
5210
+ R = le(ct), R.VerificationStatuses.forEach((Ge) => {
5198
5211
  Ge.VerificationUrlType !== "Widget" && I.add(Ge.Vendor);
5199
- }), r(3, O = re());
5200
- }).finally(() => r(7, Z = !1));
5201
- }, k = (c) => c ? c.sort((x, B) => new Date(B.Created).getTime() - new Date(x.Created).getTime()) : [], F = () => {
5202
- n && D();
5203
- }, j = () => {
5212
+ }), r(3, j = pe());
5213
+ }).finally(() => r(7, L = !1));
5214
+ }, z = (c) => c ? c.sort((E, H) => new Date(H.Created).getTime() - new Date(E.Created).getTime()) : [], X = () => {
5215
+ n && N();
5216
+ }, J = () => {
5204
5217
  let c = (f || n).split(".")[1];
5205
5218
  if (c) {
5206
- let x = JSON.parse(atob(c));
5207
- return x.cdn + "/cashier/operator-assets/" + x?.mid;
5219
+ let E = JSON.parse(atob(c));
5220
+ return E.cdn + "/cashier/operator-assets/" + E?.mid;
5208
5221
  }
5209
5222
  return "";
5210
- }, Y = (c) => {
5223
+ }, le = (c) => {
5211
5224
  if (!c || !c.length)
5212
5225
  return {
5213
- VerificationSummaryStatus: d.Unverified,
5226
+ VerificationSummaryStatus: h.Unverified,
5214
5227
  VerificationStatuses: []
5215
5228
  };
5216
- const x = de(c);
5217
- if (x && x.length) {
5218
- const B = le(x);
5229
+ const E = oe(c);
5230
+ if (E && E.length) {
5231
+ const H = ne(E);
5219
5232
  return {
5220
- VerificationSummaryStatus: B.Status,
5221
- VerificationUrl: B.Flags?.DeferredUrlKey,
5222
- VerificationStatuses: te(x, B.Status)
5233
+ VerificationSummaryStatus: H.Status,
5234
+ VerificationUrl: H.Flags?.DeferredUrlKey,
5235
+ VerificationStatuses: ce(E, H.Status)
5223
5236
  };
5224
5237
  } else
5225
5238
  return {
5226
- VerificationSummaryStatus: c.some((Q) => Q.Status === d.Failed) ? d.Failed : d.Verified,
5227
- VerificationStatuses: te(c, [d.Failed])
5239
+ VerificationSummaryStatus: c.some((K) => K.Status === h.Failed) ? h.Failed : h.Verified,
5240
+ VerificationStatuses: ce(c, [h.Failed])
5228
5241
  };
5229
- }, le = (c) => c.reduce(
5230
- (x, B) => x ? new Date(x) < new Date(B) ? B : x : B,
5242
+ }, ne = (c) => c.reduce(
5243
+ (E, H) => E ? new Date(E) < new Date(H) ? H : E : H,
5231
5244
  0
5232
- ), te = (c, x) => c.filter((B) => x.includes(B.Status)).map((B) => ({
5233
- Type: B.Type,
5234
- Vendor: B.VendorName,
5235
- VerificationDocuments: B.Documents ? [...B.Documents] : [],
5236
- VerificationUrlType: B.FlowInfo?.Type,
5237
- VerificationUrl: B.FlowInfo?.Url
5238
- })), de = (c) => c.filter((x) => g.includes(x.Status) ? x.FlowInfo && x.FlowInfo.Url || oe(x) || W(x) : !1), oe = (c) => {
5239
- const x = c.Documents && c.VendorName === ue.Manual, B = c.Documents && c.Documents.some((Q) => Q.Status === _.Requested);
5240
- return x && B;
5241
- }, W = (c) => c.VendorName === ue.ShuftiPro && c.Status === d.Referred, re = () => {
5242
- switch (H.VerificationSummaryStatus) {
5243
- case d.InProgress:
5245
+ ), ce = (c, E) => c.filter((H) => E.includes(H.Status)).map((H) => ({
5246
+ Type: H.Type,
5247
+ Vendor: H.VendorName,
5248
+ VerificationDocuments: H.Documents ? [...H.Documents] : [],
5249
+ VerificationUrlType: H.FlowInfo?.Type,
5250
+ VerificationUrl: H.FlowInfo?.Url
5251
+ })), oe = (c) => c.filter((E) => w.includes(E.Status) ? E.FlowInfo && E.FlowInfo.Url || Y(E) || re(E) : !1), Y = (c) => {
5252
+ const E = c.Documents && c.VendorName === x.Manual, H = c.Documents && c.Documents.some((K) => K.Status === g.Requested);
5253
+ return E && H;
5254
+ }, re = (c) => c.VendorName === x.ShuftiPro && c.Status === h.Referred, pe = () => {
5255
+ switch (R.VerificationSummaryStatus) {
5256
+ case h.InProgress:
5244
5257
  const c = [];
5245
- return I.forEach((x) => {
5246
- c.push(pe(x));
5258
+ return I.forEach((E) => {
5259
+ c.push(be(E));
5247
5260
  }), c;
5248
- case d.Referred:
5261
+ case h.Referred:
5249
5262
  return [i("verification.idenfy.referred-awaiting")];
5250
- case d.Failed:
5263
+ case h.Failed:
5251
5264
  return [i("verification.message.failed")];
5252
5265
  }
5253
- }, pe = (c) => {
5254
- const x = H.VerificationStatuses.filter((B) => B.Vendor === c);
5255
- if (c === ue.ShuftiPro)
5256
- return ye(x);
5266
+ }, be = (c) => {
5267
+ const E = R.VerificationStatuses.filter((H) => H.Vendor === c);
5268
+ if (c === x.ShuftiPro)
5269
+ return ai(E);
5257
5270
  {
5258
- const B = i("verification.idenfy.link-name"), Q = {
5259
- link: `<a href="${x[0].VerificationUrl}" target="_blank">${B}</a>`
5271
+ const H = i("verification.idenfy.link-name"), K = {
5272
+ link: `<a href="${E[0].VerificationUrl}" target="_blank">${H}</a>`
5260
5273
  };
5261
- return i("verification.idenfy.in-progress", { values: Q });
5274
+ return i("verification.idenfy.in-progress", { values: K });
5262
5275
  }
5263
- }, ye = (c) => {
5264
- const x = [], B = {}, Q = [
5265
- m.Biometric,
5266
- m.Documents,
5267
- m.ProofOfAddress
5276
+ }, ai = (c) => {
5277
+ const E = [], H = {}, K = [
5278
+ b.Biometric,
5279
+ b.Documents,
5280
+ b.ProofOfAddress
5268
5281
  ];
5269
5282
  c.forEach((me) => {
5270
- Q.includes(me.Type) && (x.push(me.Type), B[me.Type] = si(me, ai(me.Type)));
5283
+ K.includes(me.Type) && (E.push(me.Type), H[me.Type] = ui(me, li(me.Type)));
5271
5284
  });
5272
- let lt = x.every((me) => R.has(me)), Ge = `verification.shuftipro.in-progress.${x.sort().join(".")}`;
5273
- return lt ? i("verification.shuftipro.validations-started") : i(Ge, { values: B });
5274
- }, si = (c, x) => `<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${x}</a>`, ai = (c) => i(`verification.shuftipro.link-name.${c}`), ui = () => {
5275
- r(4, L = !L);
5276
- }, li = () => {
5277
- r(5, P = !qo(be));
5278
- }, ci = () => {
5279
- ne = E + "/" + s + "/" + rs;
5285
+ let ct = E.every((me) => G.has(me)), Ge = `verification.shuftipro.in-progress.${E.sort().join(".")}`;
5286
+ return ct ? i("verification.shuftipro.validations-started") : i(Ge, { values: H });
5287
+ }, ui = (c, E) => `<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${E}</a>`, li = (c) => i(`verification.shuftipro.link-name.${c}`), ci = () => {
5288
+ r(4, O = !O);
5289
+ }, fi = () => {
5290
+ r(5, M = !Qo(Fe));
5291
+ }, hi = () => {
5292
+ F = $ + "/" + s + "/" + ss;
5280
5293
  try {
5281
- fetch(ne, { method: "HEAD" }).then((c) => {
5282
- r(6, z = c.ok);
5294
+ fetch(F, { method: "HEAD" }).then((c) => {
5295
+ r(6, T = c.ok);
5283
5296
  });
5284
5297
  } catch {
5285
- r(6, z = !1);
5298
+ r(6, T = !1);
5286
5299
  }
5287
- }, fi = () => {
5288
- b.length > 0 && (C = b.split(","));
5289
- }, hi = () => {
5300
+ }, di = () => {
5301
+ y.length > 0 && (C = y.split(","));
5302
+ }, pi = () => {
5290
5303
  window.dispatchEvent(new CustomEvent(
5291
5304
  "modal-update",
5292
5305
  {
5293
- detail: { type: "video", data: { videoSrc: ne } }
5306
+ detail: { type: "video", data: { videoSrc: F } }
5294
5307
  }
5295
5308
  ));
5296
5309
  };
5297
- function di(c) {
5298
- bt[c ? "unshift" : "push"](() => {
5299
- h = c, r(2, h);
5310
+ function mi() {
5311
+ ue = this.clientHeight, r(8, ue);
5312
+ }
5313
+ function vi(c) {
5314
+ yt[c ? "unshift" : "push"](() => {
5315
+ d = c, r(2, d);
5300
5316
  });
5301
5317
  }
5302
5318
  return e.$$set = (c) => {
5303
- "endpoint" in c && r(11, o = c.endpoint), "lang" in c && r(12, s = c.lang), "translationurl" in c && r(13, a = c.translationurl), "clientstyling" in c && r(0, u = c.clientstyling), "clientstylingurl" in c && r(1, l = c.clientstylingurl), "session" in c && r(14, f = c.session), "customerid" in c && r(15, p = c.customerid), "playersession" in c && r(16, v = c.playersession), "userroles" in c && r(17, b = c.userroles), "mbsource" in c && r(18, T = c.mbsource);
5319
+ "endpoint" in c && r(12, o = c.endpoint), "lang" in c && r(13, s = c.lang), "translationurl" in c && r(14, a = c.translationurl), "clientstyling" in c && r(0, u = c.clientstyling), "clientstylingurl" in c && r(1, l = c.clientstylingurl), "session" in c && r(15, f = c.session), "customerid" in c && r(16, p = c.customerid), "playersession" in c && r(17, m = c.playersession), "userroles" in c && r(18, y = c.userroles), "mbsource" in c && r(19, _ = c.mbsource);
5304
5320
  }, e.$$.update = () => {
5305
5321
  e.$$.dirty[0] & /*userroles*/
5306
- 131072 && b && fi(), e.$$.dirty[0] & /*lang*/
5307
- 4096 && s && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5308
- 83968 && o && f && v && D(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5309
- 83968 && o && !f && v && F(), e.$$.dirty[0] & /*translationurl*/
5310
- 8192 && a && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5311
- 5 && u && h && Ao(h, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5312
- 6 && l && h && Bo(h, l), e.$$.dirty[0] & /*staticCdnUrl*/
5313
- 524288 && E && ci(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5314
- 262148 && T && h && Mo(h, `${T}.Style`, V);
5322
+ 262144 && y && di(), e.$$.dirty[0] & /*lang*/
5323
+ 8192 && s && D(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5324
+ 167936 && o && f && m && N(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5325
+ 167936 && o && !f && m && X(), e.$$.dirty[0] & /*translationurl*/
5326
+ 16384 && a && S(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5327
+ 5 && u && d && $o(d, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5328
+ 6 && l && d && Lo(d, l), e.$$.dirty[0] & /*staticCdnUrl*/
5329
+ 1048576 && $ && hi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5330
+ 524292 && _ && d && Io(d, `${_}.Style`, U);
5315
5331
  }, [
5316
5332
  u,
5317
5333
  l,
5318
- h,
5334
+ d,
5335
+ j,
5319
5336
  O,
5337
+ M,
5338
+ T,
5320
5339
  L,
5321
- P,
5322
- z,
5323
- Z,
5340
+ ue,
5324
5341
  i,
5325
- ui,
5326
- hi,
5342
+ ci,
5343
+ pi,
5327
5344
  o,
5328
5345
  s,
5329
5346
  a,
5330
5347
  f,
5331
5348
  p,
5332
- v,
5333
- b,
5334
- T,
5335
- E,
5336
- di
5349
+ m,
5350
+ y,
5351
+ _,
5352
+ $,
5353
+ mi,
5354
+ vi
5337
5355
  ];
5338
5356
  }
5339
- class ns extends $i {
5357
+ class us extends Ni {
5340
5358
  constructor(t) {
5341
- super(), Mi(
5359
+ super(), Ii(
5342
5360
  this,
5343
5361
  t,
5344
- is,
5345
- ts,
5346
- yr,
5362
+ as,
5363
+ os,
5364
+ _r,
5347
5365
  {
5348
- endpoint: 11,
5349
- lang: 12,
5350
- translationurl: 13,
5366
+ endpoint: 12,
5367
+ lang: 13,
5368
+ translationurl: 14,
5351
5369
  clientstyling: 0,
5352
5370
  clientstylingurl: 1,
5353
- session: 14,
5354
- customerid: 15,
5355
- playersession: 16,
5356
- userroles: 17,
5357
- mbsource: 18
5371
+ session: 15,
5372
+ customerid: 16,
5373
+ playersession: 17,
5374
+ userroles: 18,
5375
+ mbsource: 19
5358
5376
  },
5359
- Qo,
5377
+ rs,
5360
5378
  [-1, -1]
5361
5379
  );
5362
5380
  }
5363
5381
  get endpoint() {
5364
- return this.$$.ctx[11];
5382
+ return this.$$.ctx[12];
5365
5383
  }
5366
5384
  set endpoint(t) {
5367
- this.$$set({ endpoint: t }), J();
5385
+ this.$$set({ endpoint: t }), Q();
5368
5386
  }
5369
5387
  get lang() {
5370
- return this.$$.ctx[12];
5388
+ return this.$$.ctx[13];
5371
5389
  }
5372
5390
  set lang(t) {
5373
- this.$$set({ lang: t }), J();
5391
+ this.$$set({ lang: t }), Q();
5374
5392
  }
5375
5393
  get translationurl() {
5376
- return this.$$.ctx[13];
5394
+ return this.$$.ctx[14];
5377
5395
  }
5378
5396
  set translationurl(t) {
5379
- this.$$set({ translationurl: t }), J();
5397
+ this.$$set({ translationurl: t }), Q();
5380
5398
  }
5381
5399
  get clientstyling() {
5382
5400
  return this.$$.ctx[0];
5383
5401
  }
5384
5402
  set clientstyling(t) {
5385
- this.$$set({ clientstyling: t }), J();
5403
+ this.$$set({ clientstyling: t }), Q();
5386
5404
  }
5387
5405
  get clientstylingurl() {
5388
5406
  return this.$$.ctx[1];
5389
5407
  }
5390
5408
  set clientstylingurl(t) {
5391
- this.$$set({ clientstylingurl: t }), J();
5409
+ this.$$set({ clientstylingurl: t }), Q();
5392
5410
  }
5393
5411
  get session() {
5394
- return this.$$.ctx[14];
5412
+ return this.$$.ctx[15];
5395
5413
  }
5396
5414
  set session(t) {
5397
- this.$$set({ session: t }), J();
5415
+ this.$$set({ session: t }), Q();
5398
5416
  }
5399
5417
  get customerid() {
5400
- return this.$$.ctx[15];
5418
+ return this.$$.ctx[16];
5401
5419
  }
5402
5420
  set customerid(t) {
5403
- this.$$set({ customerid: t }), J();
5421
+ this.$$set({ customerid: t }), Q();
5404
5422
  }
5405
5423
  get playersession() {
5406
- return this.$$.ctx[16];
5424
+ return this.$$.ctx[17];
5407
5425
  }
5408
5426
  set playersession(t) {
5409
- this.$$set({ playersession: t }), J();
5427
+ this.$$set({ playersession: t }), Q();
5410
5428
  }
5411
5429
  get userroles() {
5412
- return this.$$.ctx[17];
5430
+ return this.$$.ctx[18];
5413
5431
  }
5414
5432
  set userroles(t) {
5415
- this.$$set({ userroles: t }), J();
5433
+ this.$$set({ userroles: t }), Q();
5416
5434
  }
5417
5435
  get mbsource() {
5418
- return this.$$.ctx[18];
5436
+ return this.$$.ctx[19];
5419
5437
  }
5420
5438
  set mbsource(t) {
5421
- this.$$set({ mbsource: t }), J();
5439
+ this.$$set({ mbsource: t }), Q();
5422
5440
  }
5423
5441
  }
5424
- Ci(ns, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
5442
+ Di(us, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
5425
5443
  export {
5426
5444
  je as A,
5427
- fs as B,
5428
- Ao as C,
5429
- Bo as D,
5430
- Mo as E,
5431
- ns as F,
5432
- $i as S,
5433
- vi as a,
5434
- Pi as b,
5435
- Ci as c,
5436
- ee as d,
5437
- hs as e,
5438
- J as f,
5445
+ ps as B,
5446
+ $o as C,
5447
+ Lo as D,
5448
+ Io as E,
5449
+ us as F,
5450
+ Ni as S,
5451
+ yi as a,
5452
+ Mi as b,
5453
+ Di as c,
5454
+ te as d,
5455
+ ms as e,
5456
+ Q as f,
5439
5457
  se as g,
5440
- X as h,
5441
- Mi as i,
5442
- cs as j,
5443
- os as k,
5444
- us as l,
5445
- ss as m,
5446
- ce as n,
5447
- Si as o,
5448
- G as p,
5449
- ls as q,
5450
- Se as r,
5451
- yr as s,
5452
- ds as t,
5453
- as as u,
5454
- $ as v,
5455
- _t as w,
5456
- bt as x,
5457
- K as y,
5458
+ q as h,
5459
+ Ii as i,
5460
+ ds as j,
5461
+ ls as k,
5462
+ hs as l,
5463
+ cs as m,
5464
+ fe as n,
5465
+ Hi as o,
5466
+ W as p,
5467
+ Ti as q,
5468
+ we as r,
5469
+ _r as s,
5470
+ vs as t,
5471
+ fs as u,
5472
+ B as v,
5473
+ tt as w,
5474
+ yt as x,
5475
+ ee as y,
5458
5476
  et as z
5459
5477
  };