@everymatrix/cashier-verifications 1.74.5 → 1.74.7

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,600 +1,142 @@
1
- function ee() {
2
- }
3
- function Zt(e) {
4
- return e();
5
- }
6
- function Tt() {
7
- return /* @__PURE__ */ Object.create(null);
8
- }
9
- function Le(e) {
10
- e.forEach(Zt);
11
- }
12
- function gt(e) {
13
- return typeof e == "function";
14
- }
15
- function Jt(e, t) {
16
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
- }
18
- let Ue;
19
- function as(e, t) {
20
- return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
21
- }
22
- function Cr(e) {
23
- return Object.keys(e).length === 0;
24
- }
25
- function Qt(e, ...t) {
26
- if (e == null) {
27
- for (const i of t)
28
- i(void 0);
29
- return ee;
30
- }
31
- const r = e.subscribe(...t);
32
- return r.unsubscribe ? () => r.unsubscribe() : r;
33
- }
34
- function Ht(e, t, r) {
35
- e.$$.on_destroy.push(Qt(t, r));
36
- }
37
- function ne(e, t) {
38
- e.appendChild(t);
39
- }
40
- function Dr(e, t, r) {
41
- const i = Lr(e);
42
- if (!i.getElementById(t)) {
43
- const n = q("style");
44
- n.id = t, n.textContent = r, Ir(i, n);
45
- }
46
- }
47
- function Lr(e) {
48
- if (!e)
49
- return document;
50
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
51
- return t && /** @type {ShadowRoot} */
52
- t.host ? (
53
- /** @type {ShadowRoot} */
54
- t
55
- ) : e.ownerDocument;
56
- }
57
- function Ir(e, t) {
58
- return ne(
59
- /** @type {Document} */
60
- e.head || e,
61
- t
62
- ), t.sheet;
63
- }
64
- function se(e, t, r) {
65
- e.insertBefore(t, r || null);
66
- }
67
- function K(e) {
68
- e.parentNode && e.parentNode.removeChild(e);
69
- }
70
- function Nr(e, t) {
71
- for (let r = 0; r < e.length; r += 1)
72
- e[r] && e[r].d(t);
73
- }
74
- function q(e) {
75
- return document.createElement(e);
76
- }
77
- function us(e) {
78
- return document.createElementNS("http://www.w3.org/2000/svg", e);
79
- }
80
- function vt(e) {
81
- return document.createTextNode(e);
82
- }
83
- function _e() {
84
- return vt(" ");
85
- }
86
- function ls() {
87
- return vt("");
88
- }
89
- function bt(e, t, r, i) {
90
- return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
- }
92
- function te(e, t, r) {
93
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
- }
95
- function J(e, t, r) {
96
- const i = t.toLowerCase();
97
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : te(e, t, r);
98
- }
99
- function Rr(e) {
100
- return Array.from(e.childNodes);
101
- }
102
- function kr(e, t) {
103
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
- t);
105
- }
106
- function Ee(e, t, r) {
107
- e.classList.toggle(t, !!r);
108
- }
109
- function Ur(e) {
110
- const t = {};
111
- return e.childNodes.forEach(
112
- /** @param {Element} node */
113
- (r) => {
114
- t[r.slot || "default"] = !0;
115
- }
116
- ), t;
117
- }
118
- let Me;
119
- function $e(e) {
120
- Me = e;
121
- }
122
- function Fr() {
123
- if (!Me)
124
- throw new Error("Function called outside component initialization");
125
- return Me;
126
- }
127
- function Vr(e) {
128
- Fr().$$.on_mount.push(e);
129
- }
130
- const ye = [], st = [];
131
- let xe = [];
132
- const Pt = [], Gr = /* @__PURE__ */ Promise.resolve();
133
- let ot = !1;
134
- function jr() {
135
- ot || (ot = !0, Gr.then(Z));
136
- }
137
- function at(e) {
138
- xe.push(e);
139
- }
140
- const Qe = /* @__PURE__ */ new Set();
141
- let ve = 0;
142
- function Z() {
143
- if (ve !== 0)
144
- return;
145
- const e = Me;
146
- do {
147
- try {
148
- for (; ve < ye.length; ) {
149
- const t = ye[ve];
150
- ve++, $e(t), zr(t.$$);
151
- }
152
- } catch (t) {
153
- throw ye.length = 0, ve = 0, t;
154
- }
155
- for ($e(null), ye.length = 0, ve = 0; st.length; )
156
- st.pop()();
157
- for (let t = 0; t < xe.length; t += 1) {
158
- const r = xe[t];
159
- Qe.has(r) || (Qe.add(r), r());
160
- }
161
- xe.length = 0;
162
- } while (ye.length);
163
- for (; Pt.length; )
164
- Pt.pop()();
165
- ot = !1, Qe.clear(), $e(e);
166
- }
167
- function zr(e) {
168
- if (e.fragment !== null) {
169
- e.update(), Le(e.before_update);
170
- const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
172
- }
173
- }
174
- function Xr(e) {
175
- const t = [], r = [];
176
- xe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), xe = t;
177
- }
178
- const Wr = /* @__PURE__ */ new Set();
179
- function qr(e, t) {
180
- e && e.i && (Wr.delete(e), e.i(t));
181
- }
182
- function At(e) {
183
- return e?.length !== void 0 ? e : Array.from(e);
184
- }
185
- function Yr(e, t, r) {
186
- const { fragment: i, after_update: n } = e.$$;
187
- i && i.m(t, r), at(() => {
188
- const s = e.$$.on_mount.map(Zt).filter(gt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
190
- }), n.forEach(at);
191
- }
192
- function Zr(e, t) {
193
- const r = e.$$;
194
- r.fragment !== null && (Xr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
- }
196
- function Jr(e, t) {
197
- e.$$.dirty[0] === -1 && (ye.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
- }
199
- function Qr(e, t, r, i, n, s, o = null, u = [-1]) {
200
- const a = Me;
201
- $e(e);
202
- const l = e.$$ = {
203
- fragment: null,
204
- ctx: [],
205
- // state
206
- props: s,
207
- update: ee,
208
- not_equal: n,
209
- bound: Tt(),
210
- // lifecycle
211
- on_mount: [],
212
- on_destroy: [],
213
- on_disconnect: [],
214
- before_update: [],
215
- after_update: [],
216
- context: new Map(t.context || (a ? a.$$.context : [])),
217
- // everything else
218
- callbacks: Tt(),
219
- dirty: u,
220
- skip_bound: !1,
221
- root: t.target || a.$$.root
222
- };
223
- o && o(l.root);
224
- let h = !1;
225
- if (l.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
- const S = _.length ? _[0] : p;
227
- return l.ctx && n(l.ctx[c], l.ctx[c] = S) && (!l.skip_bound && l.bound[c] && l.bound[c](S), h && Jr(e, c)), p;
228
- }) : [], l.update(), h = !0, Le(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
229
- if (t.hydrate) {
230
- const c = Rr(t.target);
231
- l.fragment && l.fragment.l(c), c.forEach(K);
232
- } else
233
- l.fragment && l.fragment.c();
234
- t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), Z();
235
- }
236
- $e(a);
237
- }
238
- let Kt;
239
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
240
- /** The Svelte component constructor */
241
- $$ctor;
242
- /** Slots */
243
- $$s;
244
- /** The Svelte component instance */
245
- $$c;
246
- /** Whether or not the custom element is connected */
247
- $$cn = !1;
248
- /** Component props data */
249
- $$d = {};
250
- /** `true` if currently in the process of reflecting component props back to attributes */
251
- $$r = !1;
252
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
253
- $$p_d = {};
254
- /** @type {Record<string, Function[]>} Event listeners */
255
- $$l = {};
256
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
257
- $$l_u = /* @__PURE__ */ new Map();
258
- constructor(e, t, r) {
259
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
260
- }
261
- addEventListener(e, t, r) {
262
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
263
- const i = this.$$c.$on(e, t);
264
- this.$$l_u.set(t, i);
265
- }
266
- super.addEventListener(e, t, r);
267
- }
268
- removeEventListener(e, t, r) {
269
- if (super.removeEventListener(e, t, r), this.$$c) {
270
- const i = this.$$l_u.get(t);
271
- i && (i(), this.$$l_u.delete(t));
272
- }
273
- }
274
- async connectedCallback() {
275
- if (this.$$cn = !0, !this.$$c) {
276
- let e = function(n) {
277
- return () => {
278
- let s;
279
- return {
280
- c: function() {
281
- s = q("slot"), n !== "default" && te(s, "name", n);
282
- },
283
- /**
284
- * @param {HTMLElement} target
285
- * @param {HTMLElement} [anchor]
286
- */
287
- m: function(a, l) {
288
- se(a, s, l);
289
- },
290
- d: function(a) {
291
- a && K(s);
292
- }
293
- };
294
- };
295
- };
296
- if (await Promise.resolve(), !this.$$cn || this.$$c)
297
- return;
298
- const t = {}, r = Ur(this);
299
- for (const n of this.$$s)
300
- n in r && (t[n] = [e(n)]);
301
- for (const n of this.attributes) {
302
- const s = this.$$g_p(n.name);
303
- s in this.$$d || (this.$$d[s] = Ve(s, n.value, this.$$p_d, "toProp"));
304
- }
305
- for (const n in this.$$p_d)
306
- !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
307
- this.$$c = new this.$$ctor({
308
- target: this.shadowRoot || this,
309
- props: {
310
- ...this.$$d,
311
- $$slots: t,
312
- $$scope: {
313
- ctx: []
314
- }
315
- }
316
- });
317
- const i = () => {
318
- this.$$r = !0;
319
- for (const n in this.$$p_d)
320
- if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
321
- const s = Ve(
322
- n,
323
- this.$$d[n],
324
- this.$$p_d,
325
- "toAttribute"
326
- );
327
- s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
328
- }
329
- this.$$r = !1;
330
- };
331
- this.$$c.$$.after_update.push(i), i();
332
- for (const n in this.$$l)
333
- for (const s of this.$$l[n]) {
334
- const o = this.$$c.$on(n, s);
335
- this.$$l_u.set(s, o);
336
- }
337
- this.$$l = {};
338
- }
339
- }
340
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
- // and setting attributes through setAttribute etc, this is helpful
342
- attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
- }
345
- disconnectedCallback() {
346
- this.$$cn = !1, Promise.resolve().then(() => {
347
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
348
- });
349
- }
350
- $$g_p(e) {
351
- return Object.keys(this.$$p_d).find(
352
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
353
- ) || e;
354
- }
355
- });
356
- function Ve(e, t, r, i) {
357
- const n = r[e]?.type;
358
- if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
359
- return t;
360
- if (i === "toAttribute")
361
- switch (n) {
362
- case "Object":
363
- case "Array":
364
- return t == null ? null : JSON.stringify(t);
365
- case "Boolean":
366
- return t ? "" : null;
367
- case "Number":
368
- return t ?? null;
369
- default:
370
- return t;
371
- }
372
- else
373
- switch (n) {
374
- case "Object":
375
- case "Array":
376
- return t && JSON.parse(t);
377
- case "Boolean":
378
- return t;
379
- case "Number":
380
- return t != null ? +t : t;
381
- default:
382
- return t;
383
- }
384
- }
385
- function Kr(e, t, r, i, n, s) {
386
- let o = class extends Kt {
387
- constructor() {
388
- super(e, r, n), this.$$p_d = t;
389
- }
390
- static get observedAttributes() {
391
- return Object.keys(t).map(
392
- (u) => (t[u].attribute || u).toLowerCase()
393
- );
394
- }
395
- };
396
- return Object.keys(t).forEach((u) => {
397
- Object.defineProperty(o.prototype, u, {
398
- get() {
399
- return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
400
- },
401
- set(a) {
402
- a = Ve(u, a, t), this.$$d[u] = a, this.$$c?.$set({ [u]: a });
403
- }
404
- });
405
- }), i.forEach((u) => {
406
- Object.defineProperty(o.prototype, u, {
407
- get() {
408
- return this.$$c?.[u];
409
- }
410
- });
411
- }), e.element = /** @type {any} */
412
- o, o;
413
- }
414
- class ei {
415
- /**
416
- * ### PRIVATE API
417
- *
418
- * Do not use, may change at any time
419
- *
420
- * @type {any}
421
- */
422
- $$ = void 0;
423
- /**
424
- * ### PRIVATE API
425
- *
426
- * Do not use, may change at any time
427
- *
428
- * @type {any}
429
- */
430
- $$set = void 0;
431
- /** @returns {void} */
432
- $destroy() {
433
- Zr(this, 1), this.$destroy = ee;
434
- }
435
- /**
436
- * @template {Extract<keyof Events, string>} K
437
- * @param {K} type
438
- * @param {((e: Events[K]) => void) | null | undefined} callback
439
- * @returns {() => void}
440
- */
441
- $on(t, r) {
442
- if (!gt(r))
443
- return ee;
444
- const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
- return i.push(r), () => {
446
- const n = i.indexOf(r);
447
- n !== -1 && i.splice(n, 1);
448
- };
449
- }
450
- /**
451
- * @param {Partial<Props>} props
452
- * @returns {void}
453
- */
454
- $set(t) {
455
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
- }
457
- }
458
- const ti = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
1
+ import { n as me, s as Rr, r as kr, a as Zt, i as Ur, c as Fr, S as Vr, b as Gr, f as re, d as $r, e as Q, g as ne, t as xe, h as he, j as fe, k as xt, o as jr, l as zr, m as Wr, p as Xr, q as Et, u as Ae, v as qr, w as Yr, x as Ne, y as ie, z as pt, A as Zr, B as Jr, C as Qr } from "./CashierModal-CIBHlFEE.js";
460
2
  const be = [];
461
- function ri(e, t) {
3
+ function Kr(e, t) {
462
4
  return {
463
- subscribe: Ie(e, t).subscribe
5
+ subscribe: Ce(e, t).subscribe
464
6
  };
465
7
  }
466
- function Ie(e, t = ee) {
8
+ function Ce(e, t = me) {
467
9
  let r;
468
10
  const i = /* @__PURE__ */ new Set();
469
- function n(u) {
470
- if (Jt(e, u) && (e = u, r)) {
471
- const a = !be.length;
11
+ function n(a) {
12
+ if (Zt(e, a) && (e = a, r)) {
13
+ const u = !be.length;
472
14
  for (const l of i)
473
15
  l[1](), be.push(l, e);
474
- if (a) {
16
+ if (u) {
475
17
  for (let l = 0; l < be.length; l += 2)
476
18
  be[l][0](be[l + 1]);
477
19
  be.length = 0;
478
20
  }
479
21
  }
480
22
  }
481
- function s(u) {
482
- n(u(e));
23
+ function o(a) {
24
+ n(a(e));
483
25
  }
484
- function o(u, a = ee) {
485
- const l = [u, a];
486
- return i.add(l), i.size === 1 && (r = t(n, s) || ee), u(e), () => {
26
+ function s(a, u = me) {
27
+ const l = [a, u];
28
+ return i.add(l), i.size === 1 && (r = t(n, o) || me), a(e), () => {
487
29
  i.delete(l), i.size === 0 && r && (r(), r = null);
488
30
  };
489
31
  }
490
- return { set: n, update: s, subscribe: o };
32
+ return { set: n, update: o, subscribe: s };
491
33
  }
492
- function Pe(e, t, r) {
34
+ function Te(e, t, r) {
493
35
  const i = !Array.isArray(e), n = i ? [e] : e;
494
36
  if (!n.every(Boolean))
495
37
  throw new Error("derived() expects stores as input, got a falsy value");
496
- const s = t.length < 2;
497
- return ri(r, (o, u) => {
498
- let a = !1;
38
+ const o = t.length < 2;
39
+ return Kr(r, (s, a) => {
40
+ let u = !1;
499
41
  const l = [];
500
- let h = 0, c = ee;
42
+ let f = 0, g = me;
501
43
  const p = () => {
502
- if (h)
44
+ if (f)
503
45
  return;
504
- c();
505
- const S = t(i ? l[0] : l, o, u);
506
- s ? o(S) : c = gt(S) ? S : ee;
507
- }, _ = n.map(
508
- (S, v) => Qt(
46
+ g();
47
+ const S = t(i ? l[0] : l, s, a);
48
+ o ? s(S) : g = Ur(S) ? S : me;
49
+ }, x = n.map(
50
+ (S, d) => Rr(
509
51
  S,
510
- (M) => {
511
- l[v] = M, h &= ~(1 << v), a && p();
52
+ (C) => {
53
+ l[d] = C, f &= ~(1 << d), u && p();
512
54
  },
513
55
  () => {
514
- h |= 1 << v;
56
+ f |= 1 << d;
515
57
  }
516
58
  )
517
59
  );
518
- return a = !0, p(), function() {
519
- Le(_), c(), a = !1;
60
+ return u = !0, p(), function() {
61
+ kr(x), g(), u = !1;
520
62
  };
521
63
  });
522
64
  }
523
- var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
- function yt(e) {
65
+ var Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
66
+ function mt(e) {
525
67
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
68
  }
527
- var ii = function(t) {
528
- return ni(t) && !si(t);
69
+ var ei = function(t) {
70
+ return ti(t) && !ri(t);
529
71
  };
530
- function ni(e) {
72
+ function ti(e) {
531
73
  return !!e && typeof e == "object";
532
74
  }
533
- function si(e) {
75
+ function ri(e) {
534
76
  var t = Object.prototype.toString.call(e);
535
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || oi(e);
536
78
  }
537
- var oi = typeof Symbol == "function" && Symbol.for, ai = oi ? Symbol.for("react.element") : 60103;
538
- function ui(e) {
539
- return e.$$typeof === ai;
79
+ var ii = typeof Symbol == "function" && Symbol.for, ni = ii ? Symbol.for("react.element") : 60103;
80
+ function oi(e) {
81
+ return e.$$typeof === ni;
540
82
  }
541
- function li(e) {
83
+ function si(e) {
542
84
  return Array.isArray(e) ? [] : {};
543
85
  }
544
- function Ce(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? we(li(e), e, t) : e;
86
+ function Be(e, t) {
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(si(e), e, t) : e;
546
88
  }
547
- function hi(e, t, r) {
89
+ function ai(e, t, r) {
548
90
  return e.concat(t).map(function(i) {
549
- return Ce(i, r);
91
+ return Be(i, r);
550
92
  });
551
93
  }
552
- function fi(e, t) {
94
+ function ui(e, t) {
553
95
  if (!t.customMerge)
554
- return we;
96
+ return Ee;
555
97
  var r = t.customMerge(e);
556
- return typeof r == "function" ? r : we;
98
+ return typeof r == "function" ? r : Ee;
557
99
  }
558
- function ci(e) {
100
+ function li(e) {
559
101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
560
102
  return Object.propertyIsEnumerable.call(e, t);
561
103
  }) : [];
562
104
  }
563
- function Ot(e) {
564
- return Object.keys(e).concat(ci(e));
105
+ function _t(e) {
106
+ return Object.keys(e).concat(li(e));
565
107
  }
566
- function tr(e, t) {
108
+ function Qt(e, t) {
567
109
  try {
568
110
  return t in e;
569
111
  } catch {
570
112
  return !1;
571
113
  }
572
114
  }
573
- function di(e, t) {
574
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function hi(e, t) {
116
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
575
117
  }
576
- function mi(e, t, r) {
118
+ function fi(e, t, r) {
577
119
  var i = {};
578
- return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
579
- i[n] = Ce(e[n], r);
580
- }), Ot(t).forEach(function(n) {
581
- di(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
120
+ return r.isMergeableObject(e) && _t(e).forEach(function(n) {
121
+ i[n] = Be(e[n], r);
122
+ }), _t(t).forEach(function(n) {
123
+ hi(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
582
124
  }), i;
583
125
  }
584
- function we(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ce;
586
- var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : mi(e, t, r) : Ce(t, r);
126
+ function Ee(e, t, r) {
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = Be;
128
+ var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
129
+ return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Be(t, r);
588
130
  }
589
- we.all = function(t, r) {
131
+ Ee.all = function(t, r) {
590
132
  if (!Array.isArray(t))
591
133
  throw new Error("first argument should be an array");
592
134
  return t.reduce(function(i, n) {
593
- return we(i, n, r);
135
+ return Ee(i, n, r);
594
136
  }, {});
595
137
  };
596
- var pi = we, gi = pi;
597
- const vi = /* @__PURE__ */ yt(gi);
138
+ var ci = Ee, di = ci;
139
+ const pi = /* @__PURE__ */ mt(di);
598
140
  /*! *****************************************************************************
599
141
  Copyright (c) Microsoft Corporation.
600
142
 
@@ -609,34 +151,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
609
151
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
610
152
  PERFORMANCE OF THIS SOFTWARE.
611
153
  ***************************************************************************** */
612
- var ut = function(e, t) {
613
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
154
+ var rt = function(e, t) {
155
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
614
156
  r.__proto__ = i;
615
157
  } || function(r, i) {
616
158
  for (var n in i)
617
159
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
618
- }, ut(e, t);
160
+ }, rt(e, t);
619
161
  };
620
- function qe(e, t) {
162
+ function se(e, t) {
621
163
  if (typeof t != "function" && t !== null)
622
164
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
623
- ut(e, t);
165
+ rt(e, t);
624
166
  function r() {
625
167
  this.constructor = e;
626
168
  }
627
169
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
628
170
  }
629
- var O = function() {
630
- return O = Object.assign || function(t) {
171
+ var A = function() {
172
+ return A = Object.assign || function(t) {
631
173
  for (var r, i = 1, n = arguments.length; i < n; i++) {
632
174
  r = arguments[i];
633
- for (var s in r)
634
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
175
+ for (var o in r)
176
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
635
177
  }
636
178
  return t;
637
- }, O.apply(this, arguments);
179
+ }, A.apply(this, arguments);
638
180
  };
639
- function bi(e, t) {
181
+ function mi(e, t) {
640
182
  var r = {};
641
183
  for (var i in e)
642
184
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -645,7 +187,7 @@ function bi(e, t) {
645
187
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
646
188
  return r;
647
189
  }
648
- function hs(e) {
190
+ function it(e) {
649
191
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
650
192
  if (r)
651
193
  return r.call(e);
@@ -657,131 +199,131 @@ function hs(e) {
657
199
  };
658
200
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
659
201
  }
660
- function fs(e, t) {
202
+ function nt(e, t) {
661
203
  var r = typeof Symbol == "function" && e[Symbol.iterator];
662
204
  if (!r)
663
205
  return e;
664
- var i = r.call(e), n, s = [], o;
206
+ var i = r.call(e), n, o = [], s;
665
207
  try {
666
208
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
667
- s.push(n.value);
668
- } catch (u) {
669
- o = { error: u };
209
+ o.push(n.value);
210
+ } catch (a) {
211
+ s = { error: a };
670
212
  } finally {
671
213
  try {
672
214
  n && !n.done && (r = i.return) && r.call(i);
673
215
  } finally {
674
- if (o)
675
- throw o.error;
216
+ if (s)
217
+ throw s.error;
676
218
  }
677
219
  }
678
- return s;
220
+ return o;
679
221
  }
680
- function Ke(e, t, r) {
222
+ function ye(e, t, r) {
681
223
  if (r || arguments.length === 2)
682
- for (var i = 0, n = t.length, s; i < n; i++)
683
- (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
684
- return e.concat(s || t);
224
+ for (var i = 0, n = t.length, o; i < n; i++)
225
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
226
+ return e.concat(o || t);
685
227
  }
686
- function et(e, t) {
687
- var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : _i;
228
+ function Ye(e, t) {
229
+ var r = t && t.cache ? t.cache : Ei, i = t && t.serializer ? t.serializer : xi, n = t && t.strategy ? t.strategy : gi;
688
230
  return n(e, {
689
231
  cache: r,
690
232
  serializer: i
691
233
  });
692
234
  }
693
- function yi(e) {
235
+ function vi(e) {
694
236
  return e == null || typeof e == "number" || typeof e == "boolean";
695
237
  }
696
- function rr(e, t, r, i) {
697
- var n = yi(i) ? i : r(i), s = t.get(n);
698
- return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
238
+ function Kt(e, t, r, i) {
239
+ var n = vi(i) ? i : r(i), o = t.get(n);
240
+ return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
699
241
  }
700
- function ir(e, t, r) {
701
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
702
- return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
242
+ function er(e, t, r) {
243
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
244
+ return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
703
245
  }
704
- function _t(e, t, r, i, n) {
246
+ function vt(e, t, r, i, n) {
705
247
  return r.bind(t, e, i, n);
706
248
  }
707
- function _i(e, t) {
708
- var r = e.length === 1 ? rr : ir;
709
- return _t(e, this, r, t.cache.create(), t.serializer);
249
+ function gi(e, t) {
250
+ var r = e.length === 1 ? Kt : er;
251
+ return vt(e, this, r, t.cache.create(), t.serializer);
710
252
  }
711
- function xi(e, t) {
712
- return _t(e, this, ir, t.cache.create(), t.serializer);
253
+ function bi(e, t) {
254
+ return vt(e, this, er, t.cache.create(), t.serializer);
713
255
  }
714
- function Ei(e, t) {
715
- return _t(e, this, rr, t.cache.create(), t.serializer);
256
+ function yi(e, t) {
257
+ return vt(e, this, Kt, t.cache.create(), t.serializer);
716
258
  }
717
- var wi = function() {
259
+ var xi = function() {
718
260
  return JSON.stringify(arguments);
719
261
  };
720
- function xt() {
262
+ function gt() {
721
263
  this.cache = /* @__PURE__ */ Object.create(null);
722
264
  }
723
- xt.prototype.get = function(e) {
265
+ gt.prototype.get = function(e) {
724
266
  return this.cache[e];
725
267
  };
726
- xt.prototype.set = function(e, t) {
268
+ gt.prototype.set = function(e, t) {
727
269
  this.cache[e] = t;
728
270
  };
729
- var Si = {
271
+ var Ei = {
730
272
  create: function() {
731
- return new xt();
273
+ return new gt();
732
274
  }
733
- }, tt = {
734
- variadic: xi,
735
- monadic: Ei
736
- }, H;
275
+ }, Ze = {
276
+ variadic: bi,
277
+ monadic: yi
278
+ }, P;
737
279
  (function(e) {
738
280
  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";
739
- })(H || (H = {}));
740
- var D;
281
+ })(P || (P = {}));
282
+ var I;
741
283
  (function(e) {
742
284
  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";
743
- })(D || (D = {}));
744
- var Se;
285
+ })(I || (I = {}));
286
+ var _e;
745
287
  (function(e) {
746
288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
747
- })(Se || (Se = {}));
748
- function Bt(e) {
749
- return e.type === D.literal;
289
+ })(_e || (_e = {}));
290
+ function wt(e) {
291
+ return e.type === I.literal;
750
292
  }
751
- function Ti(e) {
752
- return e.type === D.argument;
293
+ function _i(e) {
294
+ return e.type === I.argument;
753
295
  }
754
- function nr(e) {
755
- return e.type === D.number;
296
+ function tr(e) {
297
+ return e.type === I.number;
756
298
  }
757
- function sr(e) {
758
- return e.type === D.date;
299
+ function rr(e) {
300
+ return e.type === I.date;
759
301
  }
760
- function or(e) {
761
- return e.type === D.time;
302
+ function ir(e) {
303
+ return e.type === I.time;
762
304
  }
763
- function ar(e) {
764
- return e.type === D.select;
305
+ function nr(e) {
306
+ return e.type === I.select;
765
307
  }
766
- function ur(e) {
767
- return e.type === D.plural;
308
+ function or(e) {
309
+ return e.type === I.plural;
768
310
  }
769
- function Hi(e) {
770
- return e.type === D.pound;
311
+ function wi(e) {
312
+ return e.type === I.pound;
771
313
  }
772
- function lr(e) {
773
- return e.type === D.tag;
314
+ function sr(e) {
315
+ return e.type === I.tag;
774
316
  }
775
- function hr(e) {
776
- return !!(e && typeof e == "object" && e.type === Se.number);
317
+ function ar(e) {
318
+ return !!(e && typeof e == "object" && e.type === _e.number);
777
319
  }
778
- function lt(e) {
779
- return !!(e && typeof e == "object" && e.type === Se.dateTime);
320
+ function ot(e) {
321
+ return !!(e && typeof e == "object" && e.type === _e.dateTime);
780
322
  }
781
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
782
- function Ai(e) {
323
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
324
+ function Ti(e) {
783
325
  var t = {};
784
- return e.replace(Pi, function(r) {
326
+ return e.replace(Si, function(r) {
785
327
  var i = r.length;
786
328
  switch (r[0]) {
787
329
  case "G":
@@ -870,36 +412,36 @@ function Ai(e) {
870
412
  return "";
871
413
  }), t;
872
414
  }
873
- var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
- function Bi(e) {
415
+ var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
416
+ function Hi(e) {
875
417
  if (e.length === 0)
876
418
  throw new Error("Number skeleton cannot be empty");
877
- for (var t = e.split(Oi).filter(function(p) {
419
+ for (var t = e.split(Pi).filter(function(p) {
878
420
  return p.length > 0;
879
421
  }), r = [], i = 0, n = t; i < n.length; i++) {
880
- var s = n[i], o = s.split("/");
881
- if (o.length === 0)
422
+ var o = n[i], s = o.split("/");
423
+ if (s.length === 0)
882
424
  throw new Error("Invalid number skeleton");
883
- for (var u = o[0], a = o.slice(1), l = 0, h = a; l < h.length; l++) {
884
- var c = h[l];
885
- if (c.length === 0)
425
+ for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
426
+ var g = f[l];
427
+ if (g.length === 0)
886
428
  throw new Error("Invalid number skeleton");
887
429
  }
888
- r.push({ stem: u, options: a });
430
+ r.push({ stem: a, options: u });
889
431
  }
890
432
  return r;
891
433
  }
892
- function $i(e) {
434
+ function Oi(e) {
893
435
  return e.replace(/^(.*?)-/, "");
894
436
  }
895
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
896
- function Mt(e) {
437
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
438
+ function Tt(e) {
897
439
  var t = {};
898
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
440
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
899
441
  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)), "";
900
442
  }), t;
901
443
  }
902
- function mr(e) {
444
+ function fr(e) {
903
445
  switch (e) {
904
446
  case "sign-auto":
905
447
  return {
@@ -939,7 +481,7 @@ function mr(e) {
939
481
  };
940
482
  }
941
483
  }
942
- function Ci(e) {
484
+ function Bi(e) {
943
485
  var t;
944
486
  if (e[0] === "E" && e[1] === "E" ? (t = {
945
487
  notation: "engineering"
@@ -947,17 +489,17 @@ function Ci(e) {
947
489
  notation: "scientific"
948
490
  }, e = e.slice(1)), t) {
949
491
  var r = e.slice(0, 2);
950
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
492
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
951
493
  throw new Error("Malformed concise eng/scientific notation");
952
494
  t.minimumIntegerDigits = e.length;
953
495
  }
954
496
  return t;
955
497
  }
956
- function Ct(e) {
957
- var t = {}, r = mr(e);
498
+ function Pt(e) {
499
+ var t = {}, r = fr(e);
958
500
  return r || t;
959
501
  }
960
- function Di(e) {
502
+ function Mi(e) {
961
503
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
962
504
  var n = i[r];
963
505
  switch (n.stem) {
@@ -981,7 +523,7 @@ function Di(e) {
981
523
  continue;
982
524
  case "measure-unit":
983
525
  case "unit":
984
- t.style = "unit", t.unit = $i(n.options[0]);
526
+ t.style = "unit", t.unit = Oi(n.options[0]);
985
527
  continue;
986
528
  case "compact-short":
987
529
  case "K":
@@ -992,13 +534,13 @@ function Di(e) {
992
534
  t.notation = "compact", t.compactDisplay = "long";
993
535
  continue;
994
536
  case "scientific":
995
- t = O(O(O({}, t), { notation: "scientific" }), n.options.reduce(function(a, l) {
996
- return O(O({}, a), Ct(l));
537
+ t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
538
+ return A(A({}, u), Pt(l));
997
539
  }, {}));
998
540
  continue;
999
541
  case "engineering":
1000
- t = O(O(O({}, t), { notation: "engineering" }), n.options.reduce(function(a, l) {
1001
- return O(O({}, a), Ct(l));
542
+ t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
543
+ return A(A({}, u), Pt(l));
1002
544
  }, {}));
1003
545
  continue;
1004
546
  case "notation-simple":
@@ -1043,45 +585,45 @@ function Di(e) {
1043
585
  case "integer-width":
1044
586
  if (n.options.length > 1)
1045
587
  throw new RangeError("integer-width stems only accept a single optional option");
1046
- n.options[0].replace(Mi, function(a, l, h, c, p, _) {
588
+ n.options[0].replace(Ai, function(u, l, f, g, p, x) {
1047
589
  if (l)
1048
- t.minimumIntegerDigits = h.length;
590
+ t.minimumIntegerDigits = f.length;
1049
591
  else {
1050
- if (c && p)
592
+ if (g && p)
1051
593
  throw new Error("We currently do not support maximum integer digits");
1052
- if (_)
594
+ if (x)
1053
595
  throw new Error("We currently do not support exact integer digits");
1054
596
  }
1055
597
  return "";
1056
598
  });
1057
599
  continue;
1058
600
  }
1059
- if (dr.test(n.stem)) {
601
+ if (hr.test(n.stem)) {
1060
602
  t.minimumIntegerDigits = n.stem.length;
1061
603
  continue;
1062
604
  }
1063
- if ($t.test(n.stem)) {
605
+ if (St.test(n.stem)) {
1064
606
  if (n.options.length > 1)
1065
607
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1066
- n.stem.replace($t, function(a, l, h, c, p, _) {
1067
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
608
+ n.stem.replace(St, function(u, l, f, g, p, x) {
609
+ return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1068
610
  });
1069
- var s = n.options[0];
1070
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Mt(s)));
611
+ var o = n.options[0];
612
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Tt(o)));
1071
613
  continue;
1072
614
  }
1073
- if (cr.test(n.stem)) {
1074
- t = O(O({}, t), Mt(n.stem));
615
+ if (lr.test(n.stem)) {
616
+ t = A(A({}, t), Tt(n.stem));
1075
617
  continue;
1076
618
  }
1077
- var o = mr(n.stem);
1078
- o && (t = O(O({}, t), o));
1079
- var u = Ci(n.stem);
1080
- u && (t = O(O({}, t), u));
619
+ var s = fr(n.stem);
620
+ s && (t = A(A({}, t), s));
621
+ var a = Bi(n.stem);
622
+ a && (t = A(A({}, t), a));
1081
623
  }
1082
624
  return t;
1083
625
  }
1084
- var Fe = {
626
+ var Re = {
1085
627
  "001": [
1086
628
  "H",
1087
629
  "h"
@@ -2496,23 +2038,23 @@ var Fe = {
2496
2038
  "h"
2497
2039
  ]
2498
2040
  };
2499
- function Li(e, t) {
2041
+ function Ci(e, t) {
2500
2042
  for (var r = "", i = 0; i < e.length; i++) {
2501
2043
  var n = e.charAt(i);
2502
2044
  if (n === "j") {
2503
- for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2504
- s++, i++;
2505
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), a = "a", l = Ii(t);
2506
- for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2507
- r += a;
2508
- for (; o-- > 0; )
2045
+ for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2046
+ o++, i++;
2047
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Di(t);
2048
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2049
+ r += u;
2050
+ for (; s-- > 0; )
2509
2051
  r = l + r;
2510
2052
  } else
2511
2053
  n === "J" ? r += "H" : r += n;
2512
2054
  }
2513
2055
  return r;
2514
2056
  }
2515
- function Ii(e) {
2057
+ function Di(e) {
2516
2058
  var t = e.hourCycle;
2517
2059
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2518
2060
  e.hourCycles && // @ts-ignore
@@ -2531,23 +2073,23 @@ function Ii(e) {
2531
2073
  }
2532
2074
  var r = e.language, i;
2533
2075
  r !== "root" && (i = e.maximize().region);
2534
- var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2076
+ var n = Re[i || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2535
2077
  return n[0];
2536
2078
  }
2537
- var rt, Ni = new RegExp("^".concat(fr.source, "*")), Ri = new RegExp("".concat(fr.source, "*$"));
2538
- function P(e, t) {
2079
+ var Je, Ii = new RegExp("^".concat(ur.source, "*")), Li = new RegExp("".concat(ur.source, "*$"));
2080
+ function H(e, t) {
2539
2081
  return { start: e, end: t };
2540
2082
  }
2541
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Xi = zi ? Number.isSafeInteger : function(e) {
2083
+ var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, ki = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, $i = Gi ? Number.isSafeInteger : function(e) {
2542
2084
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2543
- }, ht = !0;
2085
+ }, st = !0;
2544
2086
  try {
2545
- var Wi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2546
- ht = ((rt = Wi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2087
+ var ji = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2088
+ st = ((Je = ji.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2547
2089
  } catch {
2548
- ht = !1;
2090
+ st = !1;
2549
2091
  }
2550
- var Dt = ki ? (
2092
+ var Ht = Ni ? (
2551
2093
  // Native
2552
2094
  function(t, r, i) {
2553
2095
  return t.startsWith(r, i);
@@ -2557,31 +2099,31 @@ var Dt = ki ? (
2557
2099
  function(t, r, i) {
2558
2100
  return t.slice(i, i + r.length) === r;
2559
2101
  }
2560
- ), ft = Ui ? String.fromCodePoint : (
2102
+ ), at = Ri ? String.fromCodePoint : (
2561
2103
  // IE11
2562
2104
  function() {
2563
2105
  for (var t = [], r = 0; r < arguments.length; r++)
2564
2106
  t[r] = arguments[r];
2565
- for (var i = "", n = t.length, s = 0, o; n > s; ) {
2566
- if (o = t[s++], o > 1114111)
2567
- throw RangeError(o + " is not a valid code point");
2568
- i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2107
+ for (var i = "", n = t.length, o = 0, s; n > o; ) {
2108
+ if (s = t[o++], s > 1114111)
2109
+ throw RangeError(s + " is not a valid code point");
2110
+ i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2569
2111
  }
2570
2112
  return i;
2571
2113
  }
2572
- ), Lt = (
2114
+ ), Ot = (
2573
2115
  // native
2574
- Fi ? Object.fromEntries : (
2116
+ ki ? Object.fromEntries : (
2575
2117
  // Ponyfill
2576
2118
  function(t) {
2577
2119
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2578
- var s = n[i], o = s[0], u = s[1];
2579
- r[o] = u;
2120
+ var o = n[i], s = o[0], a = o[1];
2121
+ r[s] = a;
2580
2122
  }
2581
2123
  return r;
2582
2124
  }
2583
2125
  )
2584
- ), pr = Vi ? (
2126
+ ), cr = Ui ? (
2585
2127
  // Native
2586
2128
  function(t, r) {
2587
2129
  return t.codePointAt(r);
@@ -2591,11 +2133,11 @@ var Dt = ki ? (
2591
2133
  function(t, r) {
2592
2134
  var i = t.length;
2593
2135
  if (!(r < 0 || r >= i)) {
2594
- var n = t.charCodeAt(r), s;
2595
- return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2136
+ var n = t.charCodeAt(r), o;
2137
+ return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2596
2138
  }
2597
2139
  }
2598
- ), qi = Gi ? (
2140
+ ), zi = Fi ? (
2599
2141
  // Native
2600
2142
  function(t) {
2601
2143
  return t.trimStart();
@@ -2603,9 +2145,9 @@ var Dt = ki ? (
2603
2145
  ) : (
2604
2146
  // Ponyfill
2605
2147
  function(t) {
2606
- return t.replace(Ni, "");
2148
+ return t.replace(Ii, "");
2607
2149
  }
2608
- ), Yi = ji ? (
2150
+ ), Wi = Vi ? (
2609
2151
  // Native
2610
2152
  function(t) {
2611
2153
  return t.trimEnd();
@@ -2613,32 +2155,32 @@ var Dt = ki ? (
2613
2155
  ) : (
2614
2156
  // Ponyfill
2615
2157
  function(t) {
2616
- return t.replace(Ri, "");
2158
+ return t.replace(Li, "");
2617
2159
  }
2618
2160
  );
2619
- function gr(e, t) {
2161
+ function dr(e, t) {
2620
2162
  return new RegExp(e, t);
2621
2163
  }
2622
- var ct;
2623
- if (ht) {
2624
- var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2625
- ct = function(t, r) {
2164
+ var ut;
2165
+ if (st) {
2166
+ var At = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2167
+ ut = function(t, r) {
2626
2168
  var i;
2627
- It.lastIndex = r;
2628
- var n = It.exec(t);
2169
+ At.lastIndex = r;
2170
+ var n = At.exec(t);
2629
2171
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2630
2172
  };
2631
2173
  } else
2632
- ct = function(t, r) {
2174
+ ut = function(t, r) {
2633
2175
  for (var i = []; ; ) {
2634
- var n = pr(t, r);
2635
- if (n === void 0 || vr(n) || Ki(n))
2176
+ var n = cr(t, r);
2177
+ if (n === void 0 || pr(n) || Zi(n))
2636
2178
  break;
2637
2179
  i.push(n), r += n >= 65536 ? 2 : 1;
2638
2180
  }
2639
- return ft.apply(void 0, i);
2181
+ return at.apply(void 0, i);
2640
2182
  };
2641
- var Zi = (
2183
+ var Xi = (
2642
2184
  /** @class */
2643
2185
  function() {
2644
2186
  function e(t, r) {
@@ -2650,35 +2192,35 @@ var Zi = (
2650
2192
  return this.parseMessage(0, "", !1);
2651
2193
  }, e.prototype.parseMessage = function(t, r, i) {
2652
2194
  for (var n = []; !this.isEOF(); ) {
2653
- var s = this.char();
2654
- if (s === 123) {
2655
- var o = this.parseArgument(t, i);
2656
- if (o.err)
2657
- return o;
2658
- n.push(o.val);
2195
+ var o = this.char();
2196
+ if (o === 123) {
2197
+ var s = this.parseArgument(t, i);
2198
+ if (s.err)
2199
+ return s;
2200
+ n.push(s.val);
2659
2201
  } else {
2660
- if (s === 125 && t > 0)
2202
+ if (o === 125 && t > 0)
2661
2203
  break;
2662
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2663
- var u = this.clonePosition();
2204
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2205
+ var a = this.clonePosition();
2664
2206
  this.bump(), n.push({
2665
- type: D.pound,
2666
- location: P(u, this.clonePosition())
2207
+ type: I.pound,
2208
+ location: H(a, this.clonePosition())
2667
2209
  });
2668
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2210
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2669
2211
  if (i)
2670
2212
  break;
2671
- return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2672
- } else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2673
- var o = this.parseTag(t, r);
2674
- if (o.err)
2675
- return o;
2676
- n.push(o.val);
2213
+ return this.error(P.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2214
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2215
+ var s = this.parseTag(t, r);
2216
+ if (s.err)
2217
+ return s;
2218
+ n.push(s.val);
2677
2219
  } else {
2678
- var o = this.parseLiteral(t, r);
2679
- if (o.err)
2680
- return o;
2681
- n.push(o.val);
2220
+ var s = this.parseLiteral(t, r);
2221
+ if (s.err)
2222
+ return s;
2223
+ n.push(s.val);
2682
2224
  }
2683
2225
  }
2684
2226
  }
@@ -2690,66 +2232,66 @@ var Zi = (
2690
2232
  if (this.bumpSpace(), this.bumpIf("/>"))
2691
2233
  return {
2692
2234
  val: {
2693
- type: D.literal,
2235
+ type: I.literal,
2694
2236
  value: "<".concat(n, "/>"),
2695
- location: P(i, this.clonePosition())
2237
+ location: H(i, this.clonePosition())
2696
2238
  },
2697
2239
  err: null
2698
2240
  };
2699
2241
  if (this.bumpIf(">")) {
2700
- var s = this.parseMessage(t + 1, r, !0);
2701
- if (s.err)
2702
- return s;
2703
- var o = s.val, u = this.clonePosition();
2242
+ var o = this.parseMessage(t + 1, r, !0);
2243
+ if (o.err)
2244
+ return o;
2245
+ var s = o.val, a = this.clonePosition();
2704
2246
  if (this.bumpIf("</")) {
2705
- if (this.isEOF() || !dt(this.char()))
2706
- return this.error(H.INVALID_TAG, P(u, this.clonePosition()));
2707
- var a = this.clonePosition(), l = this.parseTagName();
2708
- return n !== l ? this.error(H.UNMATCHED_CLOSING_TAG, P(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2247
+ if (this.isEOF() || !lt(this.char()))
2248
+ return this.error(P.INVALID_TAG, H(a, this.clonePosition()));
2249
+ var u = this.clonePosition(), l = this.parseTagName();
2250
+ return n !== l ? this.error(P.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2709
2251
  val: {
2710
- type: D.tag,
2252
+ type: I.tag,
2711
2253
  value: n,
2712
- children: o,
2713
- location: P(i, this.clonePosition())
2254
+ children: s,
2255
+ location: H(i, this.clonePosition())
2714
2256
  },
2715
2257
  err: null
2716
- } : this.error(H.INVALID_TAG, P(u, this.clonePosition())));
2258
+ } : this.error(P.INVALID_TAG, H(a, this.clonePosition())));
2717
2259
  } else
2718
- return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2260
+ return this.error(P.UNCLOSED_TAG, H(i, this.clonePosition()));
2719
2261
  } else
2720
- return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2262
+ return this.error(P.INVALID_TAG, H(i, this.clonePosition()));
2721
2263
  }, e.prototype.parseTagName = function() {
2722
2264
  var t = this.offset();
2723
- for (this.bump(); !this.isEOF() && Qi(this.char()); )
2265
+ for (this.bump(); !this.isEOF() && Yi(this.char()); )
2724
2266
  this.bump();
2725
2267
  return this.message.slice(t, this.offset());
2726
2268
  }, e.prototype.parseLiteral = function(t, r) {
2727
2269
  for (var i = this.clonePosition(), n = ""; ; ) {
2728
- var s = this.tryParseQuote(r);
2729
- if (s) {
2730
- n += s;
2731
- continue;
2732
- }
2733
- var o = this.tryParseUnquoted(t, r);
2270
+ var o = this.tryParseQuote(r);
2734
2271
  if (o) {
2735
2272
  n += o;
2736
2273
  continue;
2737
2274
  }
2738
- var u = this.tryParseLeftAngleBracket();
2739
- if (u) {
2740
- n += u;
2275
+ var s = this.tryParseUnquoted(t, r);
2276
+ if (s) {
2277
+ n += s;
2278
+ continue;
2279
+ }
2280
+ var a = this.tryParseLeftAngleBracket();
2281
+ if (a) {
2282
+ n += a;
2741
2283
  continue;
2742
2284
  }
2743
2285
  break;
2744
2286
  }
2745
- var a = P(i, this.clonePosition());
2287
+ var u = H(i, this.clonePosition());
2746
2288
  return {
2747
- val: { type: D.literal, value: n, location: a },
2289
+ val: { type: I.literal, value: n, location: u },
2748
2290
  err: null
2749
2291
  };
2750
2292
  }, e.prototype.tryParseLeftAngleBracket = function() {
2751
2293
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2752
- !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2294
+ !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2753
2295
  }, e.prototype.tryParseQuote = function(t) {
2754
2296
  if (this.isEOF() || this.char() !== 39)
2755
2297
  return null;
@@ -2783,49 +2325,49 @@ var Zi = (
2783
2325
  r.push(i);
2784
2326
  this.bump();
2785
2327
  }
2786
- return ft.apply(void 0, r);
2328
+ return at.apply(void 0, r);
2787
2329
  }, e.prototype.tryParseUnquoted = function(t, r) {
2788
2330
  if (this.isEOF())
2789
2331
  return null;
2790
2332
  var i = this.char();
2791
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
2333
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
2792
2334
  }, e.prototype.parseArgument = function(t, r) {
2793
2335
  var i = this.clonePosition();
2794
2336
  if (this.bump(), this.bumpSpace(), this.isEOF())
2795
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2337
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition()));
2796
2338
  if (this.char() === 125)
2797
- return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2339
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, H(i, this.clonePosition()));
2798
2340
  var n = this.parseIdentifierIfPossible().value;
2799
2341
  if (!n)
2800
- return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2342
+ return this.error(P.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2801
2343
  if (this.bumpSpace(), this.isEOF())
2802
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2344
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition()));
2803
2345
  switch (this.char()) {
2804
2346
  case 125:
2805
2347
  return this.bump(), {
2806
2348
  val: {
2807
- type: D.argument,
2349
+ type: I.argument,
2808
2350
  // value does not include the opening and closing braces.
2809
2351
  value: n,
2810
- location: P(i, this.clonePosition())
2352
+ location: H(i, this.clonePosition())
2811
2353
  },
2812
2354
  err: null
2813
2355
  };
2814
2356
  case 44:
2815
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2357
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2816
2358
  default:
2817
- return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2359
+ return this.error(P.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2818
2360
  }
2819
2361
  }, e.prototype.parseIdentifierIfPossible = function() {
2820
- var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
2362
+ var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2821
2363
  this.bumpTo(n);
2822
- var s = this.clonePosition(), o = P(t, s);
2823
- return { value: i, location: o };
2364
+ var o = this.clonePosition(), s = H(t, o);
2365
+ return { value: i, location: s };
2824
2366
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2825
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, a = this.clonePosition();
2826
- switch (u) {
2367
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2368
+ switch (a) {
2827
2369
  case "":
2828
- return this.error(H.EXPECT_ARGUMENT_TYPE, P(o, a));
2370
+ return this.error(P.EXPECT_ARGUMENT_TYPE, H(s, u));
2829
2371
  case "number":
2830
2372
  case "date":
2831
2373
  case "time": {
@@ -2833,50 +2375,50 @@ var Zi = (
2833
2375
  var l = null;
2834
2376
  if (this.bumpIf(",")) {
2835
2377
  this.bumpSpace();
2836
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2837
- if (c.err)
2838
- return c;
2839
- var p = Yi(c.val);
2378
+ var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2379
+ if (g.err)
2380
+ return g;
2381
+ var p = Wi(g.val);
2840
2382
  if (p.length === 0)
2841
- return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2842
- var _ = P(h, this.clonePosition());
2843
- l = { style: p, styleLocation: _ };
2383
+ return this.error(P.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2384
+ var x = H(f, this.clonePosition());
2385
+ l = { style: p, styleLocation: x };
2844
2386
  }
2845
2387
  var S = this.tryParseArgumentClose(n);
2846
2388
  if (S.err)
2847
2389
  return S;
2848
- var v = P(n, this.clonePosition());
2849
- if (l && Dt(l?.style, "::", 0)) {
2850
- var M = qi(l.style.slice(2));
2851
- if (u === "number") {
2852
- var c = this.parseNumberSkeletonFromString(M, l.styleLocation);
2853
- return c.err ? c : {
2854
- val: { type: D.number, value: i, location: v, style: c.val },
2390
+ var d = H(n, this.clonePosition());
2391
+ if (l && Ht(l?.style, "::", 0)) {
2392
+ var C = zi(l.style.slice(2));
2393
+ if (a === "number") {
2394
+ var g = this.parseNumberSkeletonFromString(C, l.styleLocation);
2395
+ return g.err ? g : {
2396
+ val: { type: I.number, value: i, location: d, style: g.val },
2855
2397
  err: null
2856
2398
  };
2857
2399
  } else {
2858
- if (M.length === 0)
2859
- return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2860
- var V = M;
2861
- this.locale && (V = Li(M, this.locale));
2400
+ if (C.length === 0)
2401
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2402
+ var V = C;
2403
+ this.locale && (V = Ci(C, this.locale));
2862
2404
  var p = {
2863
- type: Se.dateTime,
2405
+ type: _e.dateTime,
2864
2406
  pattern: V,
2865
2407
  location: l.styleLocation,
2866
- parsedOptions: this.shouldParseSkeletons ? Ai(V) : {}
2867
- }, R = u === "date" ? D.date : D.time;
2408
+ parsedOptions: this.shouldParseSkeletons ? Ti(V) : {}
2409
+ }, k = a === "date" ? I.date : I.time;
2868
2410
  return {
2869
- val: { type: R, value: i, location: v, style: p },
2411
+ val: { type: k, value: i, location: d, style: p },
2870
2412
  err: null
2871
2413
  };
2872
2414
  }
2873
2415
  }
2874
2416
  return {
2875
2417
  val: {
2876
- type: u === "number" ? D.number : u === "date" ? D.date : D.time,
2418
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2877
2419
  value: i,
2878
- location: v,
2879
- style: (s = l?.style) !== null && s !== void 0 ? s : null
2420
+ location: d,
2421
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
2880
2422
  },
2881
2423
  err: null
2882
2424
  };
@@ -2886,50 +2428,50 @@ var Zi = (
2886
2428
  case "select": {
2887
2429
  var B = this.clonePosition();
2888
2430
  if (this.bumpSpace(), !this.bumpIf(","))
2889
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P(B, O({}, B)));
2431
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, A({}, B)));
2890
2432
  this.bumpSpace();
2891
- var z = this.parseIdentifierIfPossible(), I = 0;
2892
- if (u !== "select" && z.value === "offset") {
2433
+ var z = this.parseIdentifierIfPossible(), R = 0;
2434
+ if (a !== "select" && z.value === "offset") {
2893
2435
  if (!this.bumpIf(":"))
2894
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2436
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2895
2437
  this.bumpSpace();
2896
- var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2897
- if (c.err)
2898
- return c;
2899
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
2438
+ var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2439
+ if (g.err)
2440
+ return g;
2441
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), R = g.val;
2900
2442
  }
2901
- var U = this.tryParsePluralOrSelectOptions(t, u, r, z);
2443
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, z);
2902
2444
  if (U.err)
2903
2445
  return U;
2904
2446
  var S = this.tryParseArgumentClose(n);
2905
2447
  if (S.err)
2906
2448
  return S;
2907
- var W = P(n, this.clonePosition());
2908
- return u === "select" ? {
2449
+ var X = H(n, this.clonePosition());
2450
+ return a === "select" ? {
2909
2451
  val: {
2910
- type: D.select,
2452
+ type: I.select,
2911
2453
  value: i,
2912
- options: Lt(U.val),
2913
- location: W
2454
+ options: Ot(U.val),
2455
+ location: X
2914
2456
  },
2915
2457
  err: null
2916
2458
  } : {
2917
2459
  val: {
2918
- type: D.plural,
2460
+ type: I.plural,
2919
2461
  value: i,
2920
- options: Lt(U.val),
2921
- offset: I,
2922
- pluralType: u === "plural" ? "cardinal" : "ordinal",
2923
- location: W
2462
+ options: Ot(U.val),
2463
+ offset: R,
2464
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2465
+ location: X
2924
2466
  },
2925
2467
  err: null
2926
2468
  };
2927
2469
  }
2928
2470
  default:
2929
- return this.error(H.INVALID_ARGUMENT_TYPE, P(o, a));
2471
+ return this.error(P.INVALID_ARGUMENT_TYPE, H(s, u));
2930
2472
  }
2931
2473
  }, e.prototype.tryParseArgumentClose = function(t) {
2932
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2474
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2933
2475
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2934
2476
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2935
2477
  var i = this.char();
@@ -2938,7 +2480,7 @@ var Zi = (
2938
2480
  this.bump();
2939
2481
  var n = this.clonePosition();
2940
2482
  if (!this.bumpUntil("'"))
2941
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2483
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(n, this.clonePosition()));
2942
2484
  this.bump();
2943
2485
  break;
2944
2486
  }
@@ -2968,64 +2510,64 @@ var Zi = (
2968
2510
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2969
2511
  var i = [];
2970
2512
  try {
2971
- i = Bi(t);
2513
+ i = Hi(t);
2972
2514
  } catch {
2973
- return this.error(H.INVALID_NUMBER_SKELETON, r);
2515
+ return this.error(P.INVALID_NUMBER_SKELETON, r);
2974
2516
  }
2975
2517
  return {
2976
2518
  val: {
2977
- type: Se.number,
2519
+ type: _e.number,
2978
2520
  tokens: i,
2979
2521
  location: r,
2980
- parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2522
+ parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2981
2523
  },
2982
2524
  err: null
2983
2525
  };
2984
2526
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2985
- for (var s, o = !1, u = [], a = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
2527
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
2986
2528
  if (l.length === 0) {
2987
- var c = this.clonePosition();
2529
+ var g = this.clonePosition();
2988
2530
  if (r !== "select" && this.bumpIf("=")) {
2989
- var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2531
+ var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
2990
2532
  if (p.err)
2991
2533
  return p;
2992
- h = P(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2534
+ f = H(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
2993
2535
  } else
2994
2536
  break;
2995
2537
  }
2996
- if (a.has(l))
2997
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2998
- l === "other" && (o = !0), this.bumpSpace();
2999
- var _ = this.clonePosition();
2538
+ if (u.has(l))
2539
+ return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2540
+ l === "other" && (s = !0), this.bumpSpace();
2541
+ var x = this.clonePosition();
3000
2542
  if (!this.bumpIf("{"))
3001
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2543
+ return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3002
2544
  var S = this.parseMessage(t + 1, r, i);
3003
2545
  if (S.err)
3004
2546
  return S;
3005
- var v = this.tryParseArgumentClose(_);
3006
- if (v.err)
3007
- return v;
3008
- u.push([
2547
+ var d = this.tryParseArgumentClose(x);
2548
+ if (d.err)
2549
+ return d;
2550
+ a.push([
3009
2551
  l,
3010
2552
  {
3011
2553
  value: S.val,
3012
- location: P(_, this.clonePosition())
2554
+ location: H(x, this.clonePosition())
3013
2555
  }
3014
- ]), a.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, h = s.location;
2556
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3015
2557
  }
3016
- return u.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2558
+ return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3017
2559
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3018
2560
  var i = 1, n = this.clonePosition();
3019
2561
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3020
- for (var s = !1, o = 0; !this.isEOF(); ) {
3021
- var u = this.char();
3022
- if (u >= 48 && u <= 57)
3023
- s = !0, o = o * 10 + (u - 48), this.bump();
2562
+ for (var o = !1, s = 0; !this.isEOF(); ) {
2563
+ var a = this.char();
2564
+ if (a >= 48 && a <= 57)
2565
+ o = !0, s = s * 10 + (a - 48), this.bump();
3024
2566
  else
3025
2567
  break;
3026
2568
  }
3027
- var a = P(n, this.clonePosition());
3028
- return s ? (o *= i, Xi(o) ? { val: o, err: null } : this.error(r, a)) : this.error(t, a);
2569
+ var u = H(n, this.clonePosition());
2570
+ return o ? (s *= i, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3029
2571
  }, e.prototype.offset = function() {
3030
2572
  return this.position.offset;
3031
2573
  }, e.prototype.isEOF = function() {
@@ -3040,7 +2582,7 @@ var Zi = (
3040
2582
  var t = this.position.offset;
3041
2583
  if (t >= this.message.length)
3042
2584
  throw Error("out of bound");
3043
- var r = pr(this.message, t);
2585
+ var r = cr(this.message, t);
3044
2586
  if (r === void 0)
3045
2587
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3046
2588
  return r;
@@ -3059,7 +2601,7 @@ var Zi = (
3059
2601
  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);
3060
2602
  }
3061
2603
  }, e.prototype.bumpIf = function(t) {
3062
- if (Dt(this.message, t, this.offset())) {
2604
+ if (Ht(this.message, t, this.offset())) {
3063
2605
  for (var r = 0; r < t.length; r++)
3064
2606
  this.bump();
3065
2607
  return !0;
@@ -3081,7 +2623,7 @@ var Zi = (
3081
2623
  break;
3082
2624
  }
3083
2625
  }, e.prototype.bumpSpace = function() {
3084
- for (; !this.isEOF() && vr(this.char()); )
2626
+ for (; !this.isEOF() && pr(this.char()); )
3085
2627
  this.bump();
3086
2628
  }, e.prototype.peek = function() {
3087
2629
  if (this.isEOF())
@@ -3091,204 +2633,204 @@ var Zi = (
3091
2633
  }, e;
3092
2634
  }()
3093
2635
  );
3094
- function dt(e) {
2636
+ function lt(e) {
3095
2637
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3096
2638
  }
3097
- function Ji(e) {
3098
- return dt(e) || e === 47;
2639
+ function qi(e) {
2640
+ return lt(e) || e === 47;
3099
2641
  }
3100
- function Qi(e) {
2642
+ function Yi(e) {
3101
2643
  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;
3102
2644
  }
3103
- function vr(e) {
2645
+ function pr(e) {
3104
2646
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3105
2647
  }
3106
- function Ki(e) {
2648
+ function Zi(e) {
3107
2649
  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;
3108
2650
  }
3109
- function mt(e) {
2651
+ function ht(e) {
3110
2652
  e.forEach(function(t) {
3111
- if (delete t.location, ar(t) || ur(t))
2653
+ if (delete t.location, nr(t) || or(t))
3112
2654
  for (var r in t.options)
3113
- delete t.options[r].location, mt(t.options[r].value);
2655
+ delete t.options[r].location, ht(t.options[r].value);
3114
2656
  else
3115
- nr(t) && hr(t.style) || (sr(t) || or(t)) && lt(t.style) ? delete t.style.location : lr(t) && mt(t.children);
2657
+ tr(t) && ar(t.style) || (rr(t) || ir(t)) && ot(t.style) ? delete t.style.location : sr(t) && ht(t.children);
3116
2658
  });
3117
2659
  }
3118
- function en(e, t) {
3119
- t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3120
- var r = new Zi(e, t).parse();
2660
+ function Ji(e, t) {
2661
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2662
+ var r = new Xi(e, t).parse();
3121
2663
  if (r.err) {
3122
- var i = SyntaxError(H[r.err.kind]);
2664
+ var i = SyntaxError(P[r.err.kind]);
3123
2665
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3124
2666
  }
3125
- return t?.captureLocation || mt(r.val), r.val;
2667
+ return t?.captureLocation || ht(r.val), r.val;
3126
2668
  }
3127
- var Te;
2669
+ var we;
3128
2670
  (function(e) {
3129
2671
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3130
- })(Te || (Te = {}));
3131
- var Ye = (
2672
+ })(we || (we = {}));
2673
+ var ze = (
3132
2674
  /** @class */
3133
2675
  function(e) {
3134
- qe(t, e);
2676
+ se(t, e);
3135
2677
  function t(r, i, n) {
3136
- var s = e.call(this, r) || this;
3137
- return s.code = i, s.originalMessage = n, s;
2678
+ var o = e.call(this, r) || this;
2679
+ return o.code = i, o.originalMessage = n, o;
3138
2680
  }
3139
2681
  return t.prototype.toString = function() {
3140
2682
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3141
2683
  }, t;
3142
2684
  }(Error)
3143
- ), Nt = (
2685
+ ), Bt = (
3144
2686
  /** @class */
3145
2687
  function(e) {
3146
- qe(t, e);
3147
- function t(r, i, n, s) {
3148
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
2688
+ se(t, e);
2689
+ function t(r, i, n, o) {
2690
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), we.INVALID_VALUE, o) || this;
3149
2691
  }
3150
2692
  return t;
3151
- }(Ye)
3152
- ), tn = (
2693
+ }(ze)
2694
+ ), Qi = (
3153
2695
  /** @class */
3154
2696
  function(e) {
3155
- qe(t, e);
2697
+ se(t, e);
3156
2698
  function t(r, i, n) {
3157
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
2699
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), we.INVALID_VALUE, n) || this;
3158
2700
  }
3159
2701
  return t;
3160
- }(Ye)
3161
- ), rn = (
2702
+ }(ze)
2703
+ ), Ki = (
3162
2704
  /** @class */
3163
2705
  function(e) {
3164
- qe(t, e);
2706
+ se(t, e);
3165
2707
  function t(r, i) {
3166
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
2708
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), we.MISSING_VALUE, i) || this;
3167
2709
  }
3168
2710
  return t;
3169
- }(Ye)
2711
+ }(ze)
3170
2712
  ), j;
3171
2713
  (function(e) {
3172
2714
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3173
2715
  })(j || (j = {}));
3174
- function nn(e) {
2716
+ function en(e) {
3175
2717
  return e.length < 2 ? e : e.reduce(function(t, r) {
3176
2718
  var i = t[t.length - 1];
3177
2719
  return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3178
2720
  }, []);
3179
2721
  }
3180
- function sn(e) {
2722
+ function tn(e) {
3181
2723
  return typeof e == "function";
3182
2724
  }
3183
- function Ge(e, t, r, i, n, s, o) {
3184
- if (e.length === 1 && Bt(e[0]))
2725
+ function Ue(e, t, r, i, n, o, s) {
2726
+ if (e.length === 1 && wt(e[0]))
3185
2727
  return [
3186
2728
  {
3187
2729
  type: j.literal,
3188
2730
  value: e[0].value
3189
2731
  }
3190
2732
  ];
3191
- for (var u = [], a = 0, l = e; a < l.length; a++) {
3192
- var h = l[a];
3193
- if (Bt(h)) {
3194
- u.push({
2733
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
2734
+ var f = l[u];
2735
+ if (wt(f)) {
2736
+ a.push({
3195
2737
  type: j.literal,
3196
- value: h.value
2738
+ value: f.value
3197
2739
  });
3198
2740
  continue;
3199
2741
  }
3200
- if (Hi(h)) {
3201
- typeof s == "number" && u.push({
2742
+ if (wi(f)) {
2743
+ typeof o == "number" && a.push({
3202
2744
  type: j.literal,
3203
- value: r.getNumberFormat(t).format(s)
2745
+ value: r.getNumberFormat(t).format(o)
3204
2746
  });
3205
2747
  continue;
3206
2748
  }
3207
- var c = h.value;
3208
- if (!(n && c in n))
3209
- throw new rn(c, o);
3210
- var p = n[c];
3211
- if (Ti(h)) {
3212
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), u.push({
2749
+ var g = f.value;
2750
+ if (!(n && g in n))
2751
+ throw new Ki(g, s);
2752
+ var p = n[g];
2753
+ if (_i(f)) {
2754
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3213
2755
  type: typeof p == "string" ? j.literal : j.object,
3214
2756
  value: p
3215
2757
  });
3216
2758
  continue;
3217
2759
  }
3218
- if (sr(h)) {
3219
- var _ = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3220
- u.push({
2760
+ if (rr(f)) {
2761
+ var x = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2762
+ a.push({
3221
2763
  type: j.literal,
3222
- value: r.getDateTimeFormat(t, _).format(p)
2764
+ value: r.getDateTimeFormat(t, x).format(p)
3223
2765
  });
3224
2766
  continue;
3225
2767
  }
3226
- if (or(h)) {
3227
- var _ = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
3228
- u.push({
2768
+ if (ir(f)) {
2769
+ var x = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2770
+ a.push({
3229
2771
  type: j.literal,
3230
- value: r.getDateTimeFormat(t, _).format(p)
2772
+ value: r.getDateTimeFormat(t, x).format(p)
3231
2773
  });
3232
2774
  continue;
3233
2775
  }
3234
- if (nr(h)) {
3235
- var _ = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3236
- _ && _.scale && (p = p * (_.scale || 1)), u.push({
2776
+ if (tr(f)) {
2777
+ var x = typeof f.style == "string" ? i.number[f.style] : ar(f.style) ? f.style.parsedOptions : void 0;
2778
+ x && x.scale && (p = p * (x.scale || 1)), a.push({
3237
2779
  type: j.literal,
3238
- value: r.getNumberFormat(t, _).format(p)
2780
+ value: r.getNumberFormat(t, x).format(p)
3239
2781
  });
3240
2782
  continue;
3241
2783
  }
3242
- if (lr(h)) {
3243
- var S = h.children, v = h.value, M = n[v];
3244
- if (!sn(M))
3245
- throw new tn(v, "function", o);
3246
- var V = Ge(S, t, r, i, n, s), R = M(V.map(function(I) {
3247
- return I.value;
2784
+ if (sr(f)) {
2785
+ var S = f.children, d = f.value, C = n[d];
2786
+ if (!tn(C))
2787
+ throw new Qi(d, "function", s);
2788
+ var V = Ue(S, t, r, i, n, o), k = C(V.map(function(R) {
2789
+ return R.value;
3248
2790
  }));
3249
- Array.isArray(R) || (R = [R]), u.push.apply(u, R.map(function(I) {
2791
+ Array.isArray(k) || (k = [k]), a.push.apply(a, k.map(function(R) {
3250
2792
  return {
3251
- type: typeof I == "string" ? j.literal : j.object,
3252
- value: I
2793
+ type: typeof R == "string" ? j.literal : j.object,
2794
+ value: R
3253
2795
  };
3254
2796
  }));
3255
2797
  }
3256
- if (ar(h)) {
3257
- var B = h.options[p] || h.options.other;
2798
+ if (nr(f)) {
2799
+ var B = f.options[p] || f.options.other;
3258
2800
  if (!B)
3259
- throw new Nt(h.value, p, Object.keys(h.options), o);
3260
- u.push.apply(u, Ge(B.value, t, r, i, n));
2801
+ throw new Bt(f.value, p, Object.keys(f.options), s);
2802
+ a.push.apply(a, Ue(B.value, t, r, i, n));
3261
2803
  continue;
3262
2804
  }
3263
- if (ur(h)) {
3264
- var B = h.options["=".concat(p)];
2805
+ if (or(f)) {
2806
+ var B = f.options["=".concat(p)];
3265
2807
  if (!B) {
3266
2808
  if (!Intl.PluralRules)
3267
- throw new Ye(`Intl.PluralRules is not available in this environment.
2809
+ throw new ze(`Intl.PluralRules is not available in this environment.
3268
2810
  Try polyfilling it using "@formatjs/intl-pluralrules"
3269
- `, Te.MISSING_INTL_API, o);
3270
- var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3271
- B = h.options[z] || h.options.other;
2811
+ `, we.MISSING_INTL_API, s);
2812
+ var z = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
2813
+ B = f.options[z] || f.options.other;
3272
2814
  }
3273
2815
  if (!B)
3274
- throw new Nt(h.value, p, Object.keys(h.options), o);
3275
- u.push.apply(u, Ge(B.value, t, r, i, n, p - (h.offset || 0)));
2816
+ throw new Bt(f.value, p, Object.keys(f.options), s);
2817
+ a.push.apply(a, Ue(B.value, t, r, i, n, p - (f.offset || 0)));
3276
2818
  continue;
3277
2819
  }
3278
2820
  }
3279
- return nn(u);
2821
+ return en(a);
3280
2822
  }
3281
- function on(e, t) {
3282
- return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3283
- return r[i] = O(O({}, e[i]), t[i] || {}), r;
2823
+ function rn(e, t) {
2824
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2825
+ return r[i] = A(A({}, e[i]), t[i] || {}), r;
3284
2826
  }, {})) : e;
3285
2827
  }
3286
- function an(e, t) {
2828
+ function nn(e, t) {
3287
2829
  return t ? Object.keys(e).reduce(function(r, i) {
3288
- return r[i] = on(e[i], t[i]), r;
3289
- }, O({}, e)) : e;
2830
+ return r[i] = rn(e[i], t[i]), r;
2831
+ }, A({}, e)) : e;
3290
2832
  }
3291
- function it(e) {
2833
+ function Qe(e) {
3292
2834
  return {
3293
2835
  create: function() {
3294
2836
  return {
@@ -3302,77 +2844,77 @@ function it(e) {
3302
2844
  }
3303
2845
  };
3304
2846
  }
3305
- function un(e) {
2847
+ function on(e) {
3306
2848
  return e === void 0 && (e = {
3307
2849
  number: {},
3308
2850
  dateTime: {},
3309
2851
  pluralRules: {}
3310
2852
  }), {
3311
- getNumberFormat: et(function() {
2853
+ getNumberFormat: Ye(function() {
3312
2854
  for (var t, r = [], i = 0; i < arguments.length; i++)
3313
2855
  r[i] = arguments[i];
3314
- return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
2856
+ return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
3315
2857
  }, {
3316
- cache: it(e.number),
3317
- strategy: tt.variadic
2858
+ cache: Qe(e.number),
2859
+ strategy: Ze.variadic
3318
2860
  }),
3319
- getDateTimeFormat: et(function() {
2861
+ getDateTimeFormat: Ye(function() {
3320
2862
  for (var t, r = [], i = 0; i < arguments.length; i++)
3321
2863
  r[i] = arguments[i];
3322
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
2864
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
3323
2865
  }, {
3324
- cache: it(e.dateTime),
3325
- strategy: tt.variadic
2866
+ cache: Qe(e.dateTime),
2867
+ strategy: Ze.variadic
3326
2868
  }),
3327
- getPluralRules: et(function() {
2869
+ getPluralRules: Ye(function() {
3328
2870
  for (var t, r = [], i = 0; i < arguments.length; i++)
3329
2871
  r[i] = arguments[i];
3330
- return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
2872
+ return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
3331
2873
  }, {
3332
- cache: it(e.pluralRules),
3333
- strategy: tt.variadic
2874
+ cache: Qe(e.pluralRules),
2875
+ strategy: Ze.variadic
3334
2876
  })
3335
2877
  };
3336
2878
  }
3337
- var br = (
2879
+ var mr = (
3338
2880
  /** @class */
3339
2881
  function() {
3340
2882
  function e(t, r, i, n) {
3341
2883
  r === void 0 && (r = e.defaultLocale);
3342
- var s = this;
2884
+ var o = this;
3343
2885
  if (this.formatterCache = {
3344
2886
  number: {},
3345
2887
  dateTime: {},
3346
2888
  pluralRules: {}
3347
- }, this.format = function(a) {
3348
- var l = s.formatToParts(a);
2889
+ }, this.format = function(u) {
2890
+ var l = o.formatToParts(u);
3349
2891
  if (l.length === 1)
3350
2892
  return l[0].value;
3351
- var h = l.reduce(function(c, p) {
3352
- return !c.length || p.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
2893
+ var f = l.reduce(function(g, p) {
2894
+ return !g.length || p.type !== j.literal || typeof g[g.length - 1] != "string" ? g.push(p.value) : g[g.length - 1] += p.value, g;
3353
2895
  }, []);
3354
- return h.length <= 1 ? h[0] || "" : h;
3355
- }, this.formatToParts = function(a) {
3356
- return Ge(s.ast, s.locales, s.formatters, s.formats, a, void 0, s.message);
2896
+ return f.length <= 1 ? f[0] || "" : f;
2897
+ }, this.formatToParts = function(u) {
2898
+ return Ue(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3357
2899
  }, this.resolvedOptions = function() {
3358
- var a;
2900
+ var u;
3359
2901
  return {
3360
- locale: ((a = s.resolvedLocale) === null || a === void 0 ? void 0 : a.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
2902
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3361
2903
  };
3362
2904
  }, this.getAst = function() {
3363
- return s.ast;
2905
+ return o.ast;
3364
2906
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3365
2907
  if (this.message = t, !e.__parse)
3366
2908
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3367
- var o = n || {};
3368
- o.formatters;
3369
- var u = bi(o, ["formatters"]);
3370
- this.ast = e.__parse(t, O(O({}, u), { locale: this.resolvedLocale }));
2909
+ var s = n || {};
2910
+ s.formatters;
2911
+ var a = mi(s, ["formatters"]);
2912
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3371
2913
  } else
3372
2914
  this.ast = t;
3373
2915
  if (!Array.isArray(this.ast))
3374
2916
  throw new TypeError("A message must be provided as a String or AST.");
3375
- this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
2917
+ this.formats = nn(e.formats, i), this.formatters = n && n.formatters || on(this.formatterCache);
3376
2918
  }
3377
2919
  return Object.defineProperty(e, "defaultLocale", {
3378
2920
  get: function() {
@@ -3385,7 +2927,7 @@ var br = (
3385
2927
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3386
2928
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3387
2929
  }
3388
- }, e.__parse = en, e.formats = {
2930
+ }, e.__parse = Ji, e.formats = {
3389
2931
  number: {
3390
2932
  integer: {
3391
2933
  maximumFractionDigits: 0
@@ -3446,7 +2988,7 @@ var br = (
3446
2988
  }, e;
3447
2989
  }()
3448
2990
  );
3449
- function ln(e, t) {
2991
+ function sn(e, t) {
3450
2992
  if (t == null)
3451
2993
  return;
3452
2994
  if (t in e)
@@ -3456,9 +2998,9 @@ function ln(e, t) {
3456
2998
  for (let n = 0; n < r.length; n++)
3457
2999
  if (typeof i == "object") {
3458
3000
  if (n > 0) {
3459
- const s = r.slice(n, r.length).join(".");
3460
- if (s in i) {
3461
- i = i[s];
3001
+ const o = r.slice(n, r.length).join(".");
3002
+ if (o in i) {
3003
+ i = i[o];
3462
3004
  break;
3463
3005
  }
3464
3006
  }
@@ -3467,101 +3009,101 @@ function ln(e, t) {
3467
3009
  i = void 0;
3468
3010
  return i;
3469
3011
  }
3470
- const fe = {}, hn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), yr = (e, t) => {
3012
+ const le = {}, an = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), vr = (e, t) => {
3471
3013
  if (t == null)
3472
3014
  return;
3473
- if (t in fe && e in fe[t])
3474
- return fe[t][e];
3475
- const r = Re(t);
3015
+ if (t in le && e in le[t])
3016
+ return le[t][e];
3017
+ const r = Ie(t);
3476
3018
  for (let i = 0; i < r.length; i++) {
3477
- const n = r[i], s = cn(n, e);
3478
- if (s)
3479
- return hn(e, t, s);
3019
+ const n = r[i], o = ln(n, e);
3020
+ if (o)
3021
+ return an(e, t, o);
3480
3022
  }
3481
3023
  };
3482
- let Et;
3483
- const Ne = Ie({});
3484
- function fn(e) {
3485
- return Et[e] || null;
3024
+ let bt;
3025
+ const De = Ce({});
3026
+ function un(e) {
3027
+ return bt[e] || null;
3486
3028
  }
3487
- function _r(e) {
3488
- return e in Et;
3029
+ function gr(e) {
3030
+ return e in bt;
3489
3031
  }
3490
- function cn(e, t) {
3491
- if (!_r(e))
3032
+ function ln(e, t) {
3033
+ if (!gr(e))
3492
3034
  return null;
3493
- const r = fn(e);
3494
- return ln(r, t);
3035
+ const r = un(e);
3036
+ return sn(r, t);
3495
3037
  }
3496
- function dn(e) {
3038
+ function hn(e) {
3497
3039
  if (e == null)
3498
3040
  return;
3499
- const t = Re(e);
3041
+ const t = Ie(e);
3500
3042
  for (let r = 0; r < t.length; r++) {
3501
3043
  const i = t[r];
3502
- if (_r(i))
3044
+ if (gr(i))
3503
3045
  return i;
3504
3046
  }
3505
3047
  }
3506
- function xr(e, ...t) {
3507
- delete fe[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3048
+ function br(e, ...t) {
3049
+ delete le[e], De.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3508
3050
  }
3509
- Pe(
3510
- [Ne],
3051
+ Te(
3052
+ [De],
3511
3053
  ([e]) => Object.keys(e)
3512
3054
  );
3513
- Ne.subscribe((e) => Et = e);
3514
- const je = {};
3515
- function mn(e, t) {
3516
- je[e].delete(t), je[e].size === 0 && delete je[e];
3055
+ De.subscribe((e) => bt = e);
3056
+ const Fe = {};
3057
+ function fn(e, t) {
3058
+ Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
3517
3059
  }
3518
- function Er(e) {
3519
- return je[e];
3060
+ function yr(e) {
3061
+ return Fe[e];
3520
3062
  }
3521
- function pn(e) {
3522
- return Re(e).map((t) => {
3523
- const r = Er(t);
3063
+ function cn(e) {
3064
+ return Ie(e).map((t) => {
3065
+ const r = yr(t);
3524
3066
  return [t, r ? [...r] : []];
3525
3067
  }).filter(([, t]) => t.length > 0);
3526
3068
  }
3527
- function ze(e) {
3528
- return e == null ? !1 : Re(e).some(
3069
+ function Ge(e) {
3070
+ return e == null ? !1 : Ie(e).some(
3529
3071
  (t) => {
3530
3072
  var r;
3531
- return (r = Er(t)) == null ? void 0 : r.size;
3073
+ return (r = yr(t)) == null ? void 0 : r.size;
3532
3074
  }
3533
3075
  );
3534
3076
  }
3535
- function gn(e, t) {
3077
+ function dn(e, t) {
3536
3078
  return Promise.all(
3537
- t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
3538
- ).then((i) => xr(e, ...i));
3539
- }
3540
- const Oe = {};
3541
- function wr(e) {
3542
- if (!ze(e))
3543
- return e in Oe ? Oe[e] : Promise.resolve();
3544
- const t = pn(e);
3545
- return Oe[e] = Promise.all(
3079
+ t.map((i) => (fn(e, i), i().then((n) => n.default || n)))
3080
+ ).then((i) => br(e, ...i));
3081
+ }
3082
+ const He = {};
3083
+ function xr(e) {
3084
+ if (!Ge(e))
3085
+ return e in He ? He[e] : Promise.resolve();
3086
+ const t = cn(e);
3087
+ return He[e] = Promise.all(
3546
3088
  t.map(
3547
- ([r, i]) => gn(r, i)
3089
+ ([r, i]) => dn(r, i)
3548
3090
  )
3549
3091
  ).then(() => {
3550
- if (ze(e))
3551
- return wr(e);
3552
- delete Oe[e];
3553
- }), Oe[e];
3092
+ if (Ge(e))
3093
+ return xr(e);
3094
+ delete He[e];
3095
+ }), He[e];
3554
3096
  }
3555
- var Rt = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3097
+ var Mt = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, vn = (e, t) => {
3556
3098
  var r = {};
3557
3099
  for (var i in e)
3558
- vn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3559
- if (e != null && Rt)
3560
- for (var i of Rt(e))
3561
- t.indexOf(i) < 0 && bn.call(e, i) && (r[i] = e[i]);
3100
+ pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3101
+ if (e != null && Mt)
3102
+ for (var i of Mt(e))
3103
+ t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3562
3104
  return r;
3563
3105
  };
3564
- const _n = {
3106
+ const gn = {
3565
3107
  number: {
3566
3108
  scientific: { notation: "scientific" },
3567
3109
  engineering: { notation: "engineering" },
@@ -3591,204 +3133,204 @@ const _n = {
3591
3133
  }
3592
3134
  }
3593
3135
  };
3594
- function xn({ locale: e, id: t }) {
3136
+ function bn({ locale: e, id: t }) {
3595
3137
  console.warn(
3596
- `[svelte-i18n] The message "${t}" was not found in "${Re(
3138
+ `[svelte-i18n] The message "${t}" was not found in "${Ie(
3597
3139
  e
3598
- ).join('", "')}".${ze(ce()) ? `
3140
+ ).join('", "')}".${Ge(ce()) ? `
3599
3141
 
3600
3142
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3601
3143
  );
3602
3144
  }
3603
- const En = {
3145
+ const yn = {
3604
3146
  fallbackLocale: null,
3605
3147
  loadingDelay: 200,
3606
- formats: _n,
3148
+ formats: gn,
3607
3149
  warnOnMissingMessages: !0,
3608
3150
  handleMissingMessage: void 0,
3609
3151
  ignoreTag: !0
3610
- }, Be = En;
3611
- function He() {
3612
- return Be;
3152
+ }, Oe = yn;
3153
+ function Se() {
3154
+ return Oe;
3613
3155
  }
3614
- function wn(e) {
3615
- const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3156
+ function xn(e) {
3157
+ const t = e, { formats: r } = t, i = vn(t, ["formats"]);
3616
3158
  let n = e.fallbackLocale;
3617
3159
  if (e.initialLocale)
3618
3160
  try {
3619
- br.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3161
+ mr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3620
3162
  } catch {
3621
3163
  console.warn(
3622
3164
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3623
3165
  );
3624
3166
  }
3625
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
3167
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3626
3168
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3627
- )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), pe.set(n);
3169
+ )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), ve.set(n);
3628
3170
  }
3629
- const nt = Ie(!1);
3630
- var Sn = Object.defineProperty, Tn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3171
+ const Ke = Ce(!1);
3172
+ var En = Object.defineProperty, _n = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3631
3173
  for (var r in t || (t = {}))
3632
- Pn.call(t, r) && Ut(e, r, t[r]);
3633
- if (kt)
3634
- for (var r of kt(t))
3635
- An.call(t, r) && Ut(e, r, t[r]);
3174
+ Sn.call(t, r) && Dt(e, r, t[r]);
3175
+ if (Ct)
3176
+ for (var r of Ct(t))
3177
+ Tn.call(t, r) && Dt(e, r, t[r]);
3636
3178
  return e;
3637
- }, Bn = (e, t) => Tn(e, Hn(t));
3638
- let pt;
3639
- const Xe = Ie(null);
3640
- function Ft(e) {
3179
+ }, Hn = (e, t) => _n(e, wn(t));
3180
+ let ft;
3181
+ const $e = Ce(null);
3182
+ function It(e) {
3641
3183
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3642
3184
  }
3643
- function Re(e, t = He().fallbackLocale) {
3644
- const r = Ft(e);
3645
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
3185
+ function Ie(e, t = Se().fallbackLocale) {
3186
+ const r = It(e);
3187
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3646
3188
  }
3647
3189
  function ce() {
3648
- return pt ?? void 0;
3190
+ return ft ?? void 0;
3649
3191
  }
3650
- Xe.subscribe((e) => {
3651
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3192
+ $e.subscribe((e) => {
3193
+ ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3652
3194
  });
3653
- const $n = (e) => {
3654
- if (e && dn(e) && ze(e)) {
3655
- const { loadingDelay: t } = He();
3195
+ const On = (e) => {
3196
+ if (e && hn(e) && Ge(e)) {
3197
+ const { loadingDelay: t } = Se();
3656
3198
  let r;
3657
3199
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3658
- () => nt.set(!0),
3200
+ () => Ke.set(!0),
3659
3201
  t
3660
- ) : nt.set(!0), wr(e).then(() => {
3661
- Xe.set(e);
3202
+ ) : Ke.set(!0), xr(e).then(() => {
3203
+ $e.set(e);
3662
3204
  }).finally(() => {
3663
- clearTimeout(r), nt.set(!1);
3205
+ clearTimeout(r), Ke.set(!1);
3664
3206
  });
3665
3207
  }
3666
- return Xe.set(e);
3667
- }, pe = Bn(On({}, Xe), {
3668
- set: $n
3669
- }), Ze = (e) => {
3208
+ return $e.set(e);
3209
+ }, ve = Hn(Pn({}, $e), {
3210
+ set: On
3211
+ }), We = (e) => {
3670
3212
  const t = /* @__PURE__ */ Object.create(null);
3671
3213
  return (i) => {
3672
3214
  const n = JSON.stringify(i);
3673
3215
  return n in t ? t[n] : t[n] = e(i);
3674
3216
  };
3675
3217
  };
3676
- var Mn = Object.defineProperty, We = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3218
+ var An = Object.defineProperty, je = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
3677
3219
  for (var r in t || (t = {}))
3678
- Sr.call(t, r) && Vt(e, r, t[r]);
3679
- if (We)
3680
- for (var r of We(t))
3681
- Tr.call(t, r) && Vt(e, r, t[r]);
3220
+ Er.call(t, r) && Lt(e, r, t[r]);
3221
+ if (je)
3222
+ for (var r of je(t))
3223
+ _r.call(t, r) && Lt(e, r, t[r]);
3682
3224
  return e;
3683
- }, Ae = (e, t) => {
3225
+ }, Pe = (e, t) => {
3684
3226
  var r = {};
3685
3227
  for (var i in e)
3686
- Sr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3687
- if (e != null && We)
3688
- for (var i of We(e))
3689
- t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
3228
+ Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3229
+ if (e != null && je)
3230
+ for (var i of je(e))
3231
+ t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
3690
3232
  return r;
3691
3233
  };
3692
- const De = (e, t) => {
3693
- const { formats: r } = He();
3234
+ const Me = (e, t) => {
3235
+ const { formats: r } = Se();
3694
3236
  if (e in r && t in r[e])
3695
3237
  return r[e][t];
3696
3238
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3697
- }, Cn = Ze(
3239
+ }, Bn = We(
3698
3240
  (e) => {
3699
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3241
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3700
3242
  if (r == null)
3701
3243
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3702
- return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3244
+ return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
3703
3245
  }
3704
- ), Dn = Ze(
3246
+ ), Mn = We(
3705
3247
  (e) => {
3706
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3248
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3707
3249
  if (r == null)
3708
3250
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3709
- return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3251
+ return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3710
3252
  }
3711
- ), Ln = Ze(
3253
+ ), Cn = We(
3712
3254
  (e) => {
3713
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3255
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3714
3256
  if (r == null)
3715
3257
  throw new Error(
3716
3258
  '[svelte-i18n] A "locale" must be set to format time values'
3717
3259
  );
3718
- return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3260
+ return i ? n = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
3719
3261
  }
3720
- ), In = (e = {}) => {
3262
+ ), Dn = (e = {}) => {
3721
3263
  var t = e, {
3722
3264
  locale: r = ce()
3723
- } = t, i = Ae(t, [
3265
+ } = t, i = Pe(t, [
3724
3266
  "locale"
3725
3267
  ]);
3726
- return Cn(wt({ locale: r }, i));
3727
- }, Nn = (e = {}) => {
3268
+ return Bn(yt({ locale: r }, i));
3269
+ }, In = (e = {}) => {
3728
3270
  var t = e, {
3729
3271
  locale: r = ce()
3730
- } = t, i = Ae(t, [
3272
+ } = t, i = Pe(t, [
3731
3273
  "locale"
3732
3274
  ]);
3733
- return Dn(wt({ locale: r }, i));
3734
- }, Rn = (e = {}) => {
3275
+ return Mn(yt({ locale: r }, i));
3276
+ }, Ln = (e = {}) => {
3735
3277
  var t = e, {
3736
3278
  locale: r = ce()
3737
- } = t, i = Ae(t, [
3279
+ } = t, i = Pe(t, [
3738
3280
  "locale"
3739
3281
  ]);
3740
- return Ln(wt({ locale: r }, i));
3741
- }, kn = Ze(
3282
+ return Cn(yt({ locale: r }, i));
3283
+ }, Nn = We(
3742
3284
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3743
- (e, t = ce()) => new br(e, t, He().formats, {
3744
- ignoreTag: He().ignoreTag
3285
+ (e, t = ce()) => new mr(e, t, Se().formats, {
3286
+ ignoreTag: Se().ignoreTag
3745
3287
  })
3746
- ), Un = (e, t = {}) => {
3747
- var r, i, n, s;
3748
- let o = t;
3749
- typeof e == "object" && (o = e, e = o.id);
3288
+ ), Rn = (e, t = {}) => {
3289
+ var r, i, n, o;
3290
+ let s = t;
3291
+ typeof e == "object" && (s = e, e = s.id);
3750
3292
  const {
3751
- values: u,
3752
- locale: a = ce(),
3293
+ values: a,
3294
+ locale: u = ce(),
3753
3295
  default: l
3754
- } = o;
3755
- if (a == null)
3296
+ } = s;
3297
+ if (u == null)
3756
3298
  throw new Error(
3757
3299
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3758
3300
  );
3759
- let h = yr(e, a);
3760
- if (!h)
3761
- h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: a, id: e, defaultValue: l })) != null ? n : l) != null ? s : e;
3762
- else if (typeof h != "string")
3301
+ let f = vr(e, u);
3302
+ if (!f)
3303
+ f = (o = (n = (i = (r = Se()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3304
+ else if (typeof f != "string")
3763
3305
  return console.warn(
3764
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3765
- ), h;
3766
- if (!u)
3767
- return h;
3768
- let c = h;
3306
+ `[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.`
3307
+ ), f;
3308
+ if (!a)
3309
+ return f;
3310
+ let g = f;
3769
3311
  try {
3770
- c = kn(h, a).format(u);
3312
+ g = Nn(f, u).format(a);
3771
3313
  } catch (p) {
3772
3314
  p instanceof Error && console.warn(
3773
3315
  `[svelte-i18n] Message "${e}" has syntax error:`,
3774
3316
  p.message
3775
3317
  );
3776
3318
  }
3777
- return c;
3778
- }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => In(t).format(e), jn = (e, t = ce()) => yr(e, t), zn = Pe([pe, Ne], () => Un);
3779
- Pe([pe], () => Fn);
3780
- Pe([pe], () => Vn);
3781
- Pe([pe], () => Gn);
3782
- Pe([pe, Ne], () => jn);
3783
- function Gt(e, t) {
3784
- xr(e, t);
3785
- }
3786
- function Xn(e) {
3787
- wn({
3319
+ return g;
3320
+ }, kn = (e, t) => Ln(t).format(e), Un = (e, t) => In(t).format(e), Fn = (e, t) => Dn(t).format(e), Vn = (e, t = ce()) => vr(e, t), Gn = Te([ve, De], () => Rn);
3321
+ Te([ve], () => kn);
3322
+ Te([ve], () => Un);
3323
+ Te([ve], () => Fn);
3324
+ Te([ve, De], () => Vn);
3325
+ function Nt(e, t) {
3326
+ br(e, t);
3327
+ }
3328
+ function $n(e) {
3329
+ xn({
3788
3330
  fallbackLocale: "en"
3789
- }), pe.set(e);
3331
+ }), ve.set(e);
3790
3332
  }
3791
- const jt = {
3333
+ const Rt = {
3792
3334
  en: {
3793
3335
  "verification.video.how-to": "How to verify yourself",
3794
3336
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3844,6 +3386,480 @@ const jt = {
3844
3386
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3845
3387
  }
3846
3388
  };
3389
+ let jn = Ce(null);
3390
+ function oe(e) {
3391
+ return typeof e == "function";
3392
+ }
3393
+ function wr(e) {
3394
+ var t = function(i) {
3395
+ Error.call(i), i.stack = new Error().stack;
3396
+ }, r = e(t);
3397
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3398
+ }
3399
+ var et = wr(function(e) {
3400
+ return function(r) {
3401
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3402
+ ` + r.map(function(i, n) {
3403
+ return n + 1 + ") " + i.toString();
3404
+ }).join(`
3405
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
3406
+ };
3407
+ });
3408
+ function ct(e, t) {
3409
+ if (e) {
3410
+ var r = e.indexOf(t);
3411
+ 0 <= r && e.splice(r, 1);
3412
+ }
3413
+ }
3414
+ var Xe = function() {
3415
+ function e(t) {
3416
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3417
+ }
3418
+ return e.prototype.unsubscribe = function() {
3419
+ var t, r, i, n, o;
3420
+ if (!this.closed) {
3421
+ this.closed = !0;
3422
+ var s = this._parentage;
3423
+ if (s)
3424
+ if (this._parentage = null, Array.isArray(s))
3425
+ try {
3426
+ for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
3427
+ var l = u.value;
3428
+ l.remove(this);
3429
+ }
3430
+ } catch (d) {
3431
+ t = { error: d };
3432
+ } finally {
3433
+ try {
3434
+ u && !u.done && (r = a.return) && r.call(a);
3435
+ } finally {
3436
+ if (t)
3437
+ throw t.error;
3438
+ }
3439
+ }
3440
+ else
3441
+ s.remove(this);
3442
+ var f = this.initialTeardown;
3443
+ if (oe(f))
3444
+ try {
3445
+ f();
3446
+ } catch (d) {
3447
+ o = d instanceof et ? d.errors : [d];
3448
+ }
3449
+ var g = this._finalizers;
3450
+ if (g) {
3451
+ this._finalizers = null;
3452
+ try {
3453
+ for (var p = it(g), x = p.next(); !x.done; x = p.next()) {
3454
+ var S = x.value;
3455
+ try {
3456
+ kt(S);
3457
+ } catch (d) {
3458
+ o = o ?? [], d instanceof et ? o = ye(ye([], nt(o)), nt(d.errors)) : o.push(d);
3459
+ }
3460
+ }
3461
+ } catch (d) {
3462
+ i = { error: d };
3463
+ } finally {
3464
+ try {
3465
+ x && !x.done && (n = p.return) && n.call(p);
3466
+ } finally {
3467
+ if (i)
3468
+ throw i.error;
3469
+ }
3470
+ }
3471
+ }
3472
+ if (o)
3473
+ throw new et(o);
3474
+ }
3475
+ }, e.prototype.add = function(t) {
3476
+ var r;
3477
+ if (t && t !== this)
3478
+ if (this.closed)
3479
+ kt(t);
3480
+ else {
3481
+ if (t instanceof e) {
3482
+ if (t.closed || t._hasParent(this))
3483
+ return;
3484
+ t._addParent(this);
3485
+ }
3486
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
3487
+ }
3488
+ }, e.prototype._hasParent = function(t) {
3489
+ var r = this._parentage;
3490
+ return r === t || Array.isArray(r) && r.includes(t);
3491
+ }, e.prototype._addParent = function(t) {
3492
+ var r = this._parentage;
3493
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3494
+ }, e.prototype._removeParent = function(t) {
3495
+ var r = this._parentage;
3496
+ r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3497
+ }, e.prototype.remove = function(t) {
3498
+ var r = this._finalizers;
3499
+ r && ct(r, t), t instanceof e && t._removeParent(this);
3500
+ }, e.EMPTY = function() {
3501
+ var t = new e();
3502
+ return t.closed = !0, t;
3503
+ }(), e;
3504
+ }(), Sr = Xe.EMPTY;
3505
+ function Tr(e) {
3506
+ return e instanceof Xe || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3507
+ }
3508
+ function kt(e) {
3509
+ oe(e) ? e() : e.unsubscribe();
3510
+ }
3511
+ var Pr = {
3512
+ onUnhandledError: null,
3513
+ onStoppedNotification: null,
3514
+ Promise: void 0,
3515
+ useDeprecatedSynchronousErrorHandling: !1,
3516
+ useDeprecatedNextContext: !1
3517
+ }, zn = {
3518
+ setTimeout: function(e, t) {
3519
+ for (var r = [], i = 2; i < arguments.length; i++)
3520
+ r[i - 2] = arguments[i];
3521
+ return setTimeout.apply(void 0, ye([e, t], nt(r)));
3522
+ },
3523
+ clearTimeout: function(e) {
3524
+ return clearTimeout(e);
3525
+ },
3526
+ delegate: void 0
3527
+ };
3528
+ function Wn(e) {
3529
+ zn.setTimeout(function() {
3530
+ throw e;
3531
+ });
3532
+ }
3533
+ function Ut() {
3534
+ }
3535
+ function Ve(e) {
3536
+ e();
3537
+ }
3538
+ var Hr = function(e) {
3539
+ se(t, e);
3540
+ function t(r) {
3541
+ var i = e.call(this) || this;
3542
+ return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = Zn, i;
3543
+ }
3544
+ return t.create = function(r, i, n) {
3545
+ return new dt(r, i, n);
3546
+ }, t.prototype.next = function(r) {
3547
+ this.isStopped || this._next(r);
3548
+ }, t.prototype.error = function(r) {
3549
+ this.isStopped || (this.isStopped = !0, this._error(r));
3550
+ }, t.prototype.complete = function() {
3551
+ this.isStopped || (this.isStopped = !0, this._complete());
3552
+ }, t.prototype.unsubscribe = function() {
3553
+ this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
3554
+ }, t.prototype._next = function(r) {
3555
+ this.destination.next(r);
3556
+ }, t.prototype._error = function(r) {
3557
+ try {
3558
+ this.destination.error(r);
3559
+ } finally {
3560
+ this.unsubscribe();
3561
+ }
3562
+ }, t.prototype._complete = function() {
3563
+ try {
3564
+ this.destination.complete();
3565
+ } finally {
3566
+ this.unsubscribe();
3567
+ }
3568
+ }, t;
3569
+ }(Xe), Xn = Function.prototype.bind;
3570
+ function tt(e, t) {
3571
+ return Xn.call(e, t);
3572
+ }
3573
+ var qn = function() {
3574
+ function e(t) {
3575
+ this.partialObserver = t;
3576
+ }
3577
+ return e.prototype.next = function(t) {
3578
+ var r = this.partialObserver;
3579
+ if (r.next)
3580
+ try {
3581
+ r.next(t);
3582
+ } catch (i) {
3583
+ ke(i);
3584
+ }
3585
+ }, e.prototype.error = function(t) {
3586
+ var r = this.partialObserver;
3587
+ if (r.error)
3588
+ try {
3589
+ r.error(t);
3590
+ } catch (i) {
3591
+ ke(i);
3592
+ }
3593
+ else
3594
+ ke(t);
3595
+ }, e.prototype.complete = function() {
3596
+ var t = this.partialObserver;
3597
+ if (t.complete)
3598
+ try {
3599
+ t.complete();
3600
+ } catch (r) {
3601
+ ke(r);
3602
+ }
3603
+ }, e;
3604
+ }(), dt = function(e) {
3605
+ se(t, e);
3606
+ function t(r, i, n) {
3607
+ var o = e.call(this) || this, s;
3608
+ if (oe(r) || !r)
3609
+ s = {
3610
+ next: r ?? void 0,
3611
+ error: i ?? void 0,
3612
+ complete: n ?? void 0
3613
+ };
3614
+ else {
3615
+ var a;
3616
+ o && Pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
3617
+ return o.unsubscribe();
3618
+ }, s = {
3619
+ next: r.next && tt(r.next, a),
3620
+ error: r.error && tt(r.error, a),
3621
+ complete: r.complete && tt(r.complete, a)
3622
+ }) : s = r;
3623
+ }
3624
+ return o.destination = new qn(s), o;
3625
+ }
3626
+ return t;
3627
+ }(Hr);
3628
+ function ke(e) {
3629
+ Wn(e);
3630
+ }
3631
+ function Yn(e) {
3632
+ throw e;
3633
+ }
3634
+ var Zn = {
3635
+ closed: !0,
3636
+ next: Ut,
3637
+ error: Yn,
3638
+ complete: Ut
3639
+ }, Jn = function() {
3640
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
3641
+ }();
3642
+ function Qn(e) {
3643
+ return e;
3644
+ }
3645
+ function Kn(e) {
3646
+ return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
3647
+ return e.reduce(function(i, n) {
3648
+ return n(i);
3649
+ }, r);
3650
+ };
3651
+ }
3652
+ var Ft = function() {
3653
+ function e(t) {
3654
+ t && (this._subscribe = t);
3655
+ }
3656
+ return e.prototype.lift = function(t) {
3657
+ var r = new e();
3658
+ return r.source = this, r.operator = t, r;
3659
+ }, e.prototype.subscribe = function(t, r, i) {
3660
+ var n = this, o = to(t) ? t : new dt(t, r, i);
3661
+ return Ve(function() {
3662
+ var s = n, a = s.operator, u = s.source;
3663
+ o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
3664
+ }), o;
3665
+ }, e.prototype._trySubscribe = function(t) {
3666
+ try {
3667
+ return this._subscribe(t);
3668
+ } catch (r) {
3669
+ t.error(r);
3670
+ }
3671
+ }, e.prototype.forEach = function(t, r) {
3672
+ var i = this;
3673
+ return r = Vt(r), new r(function(n, o) {
3674
+ var s = new dt({
3675
+ next: function(a) {
3676
+ try {
3677
+ t(a);
3678
+ } catch (u) {
3679
+ o(u), s.unsubscribe();
3680
+ }
3681
+ },
3682
+ error: o,
3683
+ complete: n
3684
+ });
3685
+ i.subscribe(s);
3686
+ });
3687
+ }, e.prototype._subscribe = function(t) {
3688
+ var r;
3689
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3690
+ }, e.prototype[Jn] = function() {
3691
+ return this;
3692
+ }, e.prototype.pipe = function() {
3693
+ for (var t = [], r = 0; r < arguments.length; r++)
3694
+ t[r] = arguments[r];
3695
+ return Kn(t)(this);
3696
+ }, e.prototype.toPromise = function(t) {
3697
+ var r = this;
3698
+ return t = Vt(t), new t(function(i, n) {
3699
+ var o;
3700
+ r.subscribe(function(s) {
3701
+ return o = s;
3702
+ }, function(s) {
3703
+ return n(s);
3704
+ }, function() {
3705
+ return i(o);
3706
+ });
3707
+ });
3708
+ }, e.create = function(t) {
3709
+ return new e(t);
3710
+ }, e;
3711
+ }();
3712
+ function Vt(e) {
3713
+ var t;
3714
+ return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
3715
+ }
3716
+ function eo(e) {
3717
+ return e && oe(e.next) && oe(e.error) && oe(e.complete);
3718
+ }
3719
+ function to(e) {
3720
+ return e && e instanceof Hr || eo(e) && Tr(e);
3721
+ }
3722
+ var ro = wr(function(e) {
3723
+ return function() {
3724
+ e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3725
+ };
3726
+ }), Or = function(e) {
3727
+ se(t, e);
3728
+ function t() {
3729
+ var r = e.call(this) || this;
3730
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3731
+ }
3732
+ return t.prototype.lift = function(r) {
3733
+ var i = new Gt(this, this);
3734
+ return i.operator = r, i;
3735
+ }, t.prototype._throwIfClosed = function() {
3736
+ if (this.closed)
3737
+ throw new ro();
3738
+ }, t.prototype.next = function(r) {
3739
+ var i = this;
3740
+ Ve(function() {
3741
+ var n, o;
3742
+ if (i._throwIfClosed(), !i.isStopped) {
3743
+ i.currentObservers || (i.currentObservers = Array.from(i.observers));
3744
+ try {
3745
+ for (var s = it(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3746
+ var u = a.value;
3747
+ u.next(r);
3748
+ }
3749
+ } catch (l) {
3750
+ n = { error: l };
3751
+ } finally {
3752
+ try {
3753
+ a && !a.done && (o = s.return) && o.call(s);
3754
+ } finally {
3755
+ if (n)
3756
+ throw n.error;
3757
+ }
3758
+ }
3759
+ }
3760
+ });
3761
+ }, t.prototype.error = function(r) {
3762
+ var i = this;
3763
+ Ve(function() {
3764
+ if (i._throwIfClosed(), !i.isStopped) {
3765
+ i.hasError = i.isStopped = !0, i.thrownError = r;
3766
+ for (var n = i.observers; n.length; )
3767
+ n.shift().error(r);
3768
+ }
3769
+ });
3770
+ }, t.prototype.complete = function() {
3771
+ var r = this;
3772
+ Ve(function() {
3773
+ if (r._throwIfClosed(), !r.isStopped) {
3774
+ r.isStopped = !0;
3775
+ for (var i = r.observers; i.length; )
3776
+ i.shift().complete();
3777
+ }
3778
+ });
3779
+ }, t.prototype.unsubscribe = function() {
3780
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
3781
+ }, Object.defineProperty(t.prototype, "observed", {
3782
+ get: function() {
3783
+ var r;
3784
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
3785
+ },
3786
+ enumerable: !1,
3787
+ configurable: !0
3788
+ }), t.prototype._trySubscribe = function(r) {
3789
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
3790
+ }, t.prototype._subscribe = function(r) {
3791
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3792
+ }, t.prototype._innerSubscribe = function(r) {
3793
+ var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3794
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new Xe(function() {
3795
+ i.currentObservers = null, ct(a, r);
3796
+ }));
3797
+ }, t.prototype._checkFinalizedStatuses = function(r) {
3798
+ var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3799
+ n ? r.error(o) : s && r.complete();
3800
+ }, t.prototype.asObservable = function() {
3801
+ var r = new Ft();
3802
+ return r.source = this, r;
3803
+ }, t.create = function(r, i) {
3804
+ return new Gt(r, i);
3805
+ }, t;
3806
+ }(Ft), Gt = function(e) {
3807
+ se(t, e);
3808
+ function t(r, i) {
3809
+ var n = e.call(this) || this;
3810
+ return n.destination = r, n.source = i, n;
3811
+ }
3812
+ return t.prototype.next = function(r) {
3813
+ var i, n;
3814
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, r);
3815
+ }, t.prototype.error = function(r) {
3816
+ var i, n;
3817
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, r);
3818
+ }, t.prototype.complete = function() {
3819
+ var r, i;
3820
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3821
+ }, t.prototype._subscribe = function(r) {
3822
+ var i, n;
3823
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
3824
+ }, t;
3825
+ }(Or), Ar = {
3826
+ now: function() {
3827
+ return (Ar.delegate || Date).now();
3828
+ },
3829
+ delegate: void 0
3830
+ }, io = function(e) {
3831
+ se(t, e);
3832
+ function t(r, i, n) {
3833
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Ar);
3834
+ var o = e.call(this) || this;
3835
+ 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;
3836
+ }
3837
+ return t.prototype.next = function(r) {
3838
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, u = i._windowTime;
3839
+ n || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
3840
+ }, t.prototype._subscribe = function(r) {
3841
+ this._throwIfClosed(), this._trimBuffer();
3842
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
3843
+ r.next(a[u]);
3844
+ return this._checkFinalizedStatuses(r), i;
3845
+ }, t.prototype._trimBuffer = function() {
3846
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
3847
+ if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
3848
+ for (var u = n.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
3849
+ l = f;
3850
+ l && o.splice(0, l + 1);
3851
+ }
3852
+ }, t;
3853
+ }(Or);
3854
+ const $t = [], jt = {}, no = (e, t = 0) => {
3855
+ if ($t.indexOf(e) == -1) {
3856
+ const r = new io(t);
3857
+ jt[e] = r, $t.push(e);
3858
+ }
3859
+ return jt[e];
3860
+ };
3861
+ window.emWidgets = { topic: no };
3862
+ const oo = (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));
3847
3863
  if (typeof window < "u") {
3848
3864
  let e = function(t) {
3849
3865
  return function(...r) {
@@ -3856,518 +3872,450 @@ if (typeof window < "u") {
3856
3872
  }
3857
3873
  };
3858
3874
  };
3859
- customElements.define = e(customElements.define), import("./CashierVideoModal-CVLG3P4a.js").then(({ default: t }) => {
3860
- !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3875
+ customElements.define = e(customElements.define), import("./CashierModal-CIBHlFEE.js").then((t) => t.D).then(({ default: t }) => {
3876
+ !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3861
3877
  });
3862
3878
  }
3863
- let Wn = Ie(null);
3864
- function qn(e, t) {
3865
- if (e) {
3866
- const r = document.createElement("style");
3867
- r.innerHTML = t, e.appendChild(r);
3868
- }
3869
- }
3870
- function Yn(e, t) {
3871
- const r = new URL(t);
3872
- fetch(r.href).then((i) => i.text()).then((i) => {
3873
- const n = document.createElement("style");
3874
- n.innerHTML = i, e && e.appendChild(n);
3875
- }).catch((i) => {
3876
- console.error("There was an error while trying to load client styling from URL", i);
3877
- });
3878
- }
3879
- function Zn(e, t, r) {
3880
- if (window.emMessageBus) {
3881
- const i = document.createElement("style");
3882
- window.emMessageBus.subscribe(t, (n) => {
3883
- i.innerHTML = n, e && e.appendChild(i);
3884
- });
3885
- }
3886
- }
3887
- var Hr = { exports: {} };
3879
+ var Br = { exports: {} };
3888
3880
  (function(e, t) {
3889
3881
  (function(r, i) {
3890
3882
  e.exports = i();
3891
- })(er, function() {
3892
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", u = "minute", a = "hour", l = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", v = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, 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) {
3893
- var g = ["th", "st", "nd", "rd"], d = x % 100;
3894
- return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3895
- } }, B = function(x, g, d) {
3896
- var b = String(x);
3897
- return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3898
- }, z = { s: B, z: function(x) {
3899
- var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3900
- return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3901
- }, m: function x(g, d) {
3902
- if (g.date() < d.date())
3903
- return -x(d, g);
3904
- var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(b, c), E = d - m < 0, w = g.clone().add(b + (E ? -1 : 1), c);
3905
- return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3906
- }, a: function(x) {
3907
- return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3908
- }, p: function(x) {
3909
- return { M: c, y: _, w: h, d: l, D: S, h: a, m: u, s: o, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3910
- }, u: function(x) {
3911
- return x === void 0;
3912
- } }, I = "en", U = {};
3913
- U[I] = R;
3914
- var W = "$isDayjsObject", oe = function(x) {
3915
- return x instanceof k || !(!x || !x[W]);
3916
- }, Y = function x(g, d, b) {
3883
+ })(Jt, function() {
3884
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", g = "month", p = "quarter", x = "year", S = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { 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(E) {
3885
+ var v = ["th", "st", "nd", "rd"], c = E % 100;
3886
+ return "[" + E + (v[(c - 20) % 10] || v[c] || v[0]) + "]";
3887
+ } }, B = function(E, v, c) {
3888
+ var b = String(E);
3889
+ return !b || b.length >= v ? E : "" + Array(v + 1 - b.length).join(c) + E;
3890
+ }, z = { s: B, z: function(E) {
3891
+ var v = -E.utcOffset(), c = Math.abs(v), b = Math.floor(c / 60), m = c % 60;
3892
+ return (v <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3893
+ }, m: function E(v, c) {
3894
+ if (v.date() < c.date())
3895
+ return -E(c, v);
3896
+ var b = 12 * (c.year() - v.year()) + (c.month() - v.month()), m = v.clone().add(b, g), _ = c - m < 0, w = v.clone().add(b + (_ ? -1 : 1), g);
3897
+ return +(-(b + (c - m) / (_ ? m - w : w - m)) || 0);
3898
+ }, a: function(E) {
3899
+ return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
3900
+ }, p: function(E) {
3901
+ return { M: g, y: x, w: f, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3902
+ }, u: function(E) {
3903
+ return E === void 0;
3904
+ } }, R = "en", U = {};
3905
+ U[R] = k;
3906
+ var X = "$isDayjsObject", K = function(E) {
3907
+ return E instanceof F || !(!E || !E[X]);
3908
+ }, Y = function E(v, c, b) {
3917
3909
  var m;
3918
- if (!g)
3919
- return I;
3920
- if (typeof g == "string") {
3921
- var E = g.toLowerCase();
3922
- U[E] && (m = E), d && (U[E] = d, m = E);
3923
- var w = g.split("-");
3910
+ if (!v)
3911
+ return R;
3912
+ if (typeof v == "string") {
3913
+ var _ = v.toLowerCase();
3914
+ U[_] && (m = _), c && (U[_] = c, m = _);
3915
+ var w = v.split("-");
3924
3916
  if (!m && w.length > 1)
3925
- return x(w[0]);
3917
+ return E(w[0]);
3926
3918
  } else {
3927
- var $ = g.name;
3928
- U[$] = g, m = $;
3919
+ var M = v.name;
3920
+ U[M] = v, m = M;
3929
3921
  }
3930
- return !b && m && (I = m), m || !b && I;
3931
- }, C = function(x, g) {
3932
- if (oe(x))
3933
- return x.clone();
3934
- var d = typeof g == "object" ? g : {};
3935
- return d.date = x, d.args = arguments, new k(d);
3936
- }, A = z;
3937
- A.l = Y, A.i = oe, A.w = function(x, g) {
3938
- return C(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3922
+ return !b && m && (R = m), m || !b && R;
3923
+ }, D = function(E, v) {
3924
+ if (K(E))
3925
+ return E.clone();
3926
+ var c = typeof v == "object" ? v : {};
3927
+ return c.date = E, c.args = arguments, new F(c);
3928
+ }, O = z;
3929
+ O.l = Y, O.i = K, O.w = function(E, v) {
3930
+ return D(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3939
3931
  };
3940
- var k = function() {
3941
- function x(d) {
3942
- this.$L = Y(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[W] = !0;
3932
+ var F = function() {
3933
+ function E(c) {
3934
+ this.$L = Y(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[X] = !0;
3943
3935
  }
3944
- var g = x.prototype;
3945
- return g.parse = function(d) {
3936
+ var v = E.prototype;
3937
+ return v.parse = function(c) {
3946
3938
  this.$d = function(b) {
3947
- var m = b.date, E = b.utc;
3939
+ var m = b.date, _ = b.utc;
3948
3940
  if (m === null)
3949
3941
  return /* @__PURE__ */ new Date(NaN);
3950
- if (A.u(m))
3942
+ if (O.u(m))
3951
3943
  return /* @__PURE__ */ new Date();
3952
3944
  if (m instanceof Date)
3953
3945
  return new Date(m);
3954
3946
  if (typeof m == "string" && !/Z$/i.test(m)) {
3955
- var w = m.match(M);
3947
+ var w = m.match(C);
3956
3948
  if (w) {
3957
- var $ = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3958
- return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3949
+ var M = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3950
+ return _ ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3959
3951
  }
3960
3952
  }
3961
3953
  return new Date(m);
3962
- }(d), this.init();
3963
- }, g.init = function() {
3964
- var d = this.$d;
3965
- this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
3966
- }, g.$utils = function() {
3967
- return A;
3968
- }, g.isValid = function() {
3969
- return this.$d.toString() !== v;
3970
- }, g.isSame = function(d, b) {
3971
- var m = C(d);
3954
+ }(c), this.init();
3955
+ }, v.init = function() {
3956
+ var c = this.$d;
3957
+ this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3958
+ }, v.$utils = function() {
3959
+ return O;
3960
+ }, v.isValid = function() {
3961
+ return this.$d.toString() !== d;
3962
+ }, v.isSame = function(c, b) {
3963
+ var m = D(c);
3972
3964
  return this.startOf(b) <= m && m <= this.endOf(b);
3973
- }, g.isAfter = function(d, b) {
3974
- return C(d) < this.startOf(b);
3975
- }, g.isBefore = function(d, b) {
3976
- return this.endOf(b) < C(d);
3977
- }, g.$g = function(d, b, m) {
3978
- return A.u(d) ? this[b] : this.set(m, d);
3979
- }, g.unix = function() {
3965
+ }, v.isAfter = function(c, b) {
3966
+ return D(c) < this.startOf(b);
3967
+ }, v.isBefore = function(c, b) {
3968
+ return this.endOf(b) < D(c);
3969
+ }, v.$g = function(c, b, m) {
3970
+ return O.u(c) ? this[b] : this.set(m, c);
3971
+ }, v.unix = function() {
3980
3972
  return Math.floor(this.valueOf() / 1e3);
3981
- }, g.valueOf = function() {
3973
+ }, v.valueOf = function() {
3982
3974
  return this.$d.getTime();
3983
- }, g.startOf = function(d, b) {
3984
- var m = this, E = !!A.u(b) || b, w = A.p(d), $ = function(ae, G) {
3985
- var ie = A.w(m.$u ? Date.UTC(m.$y, G, ae) : new Date(m.$y, G, ae), m);
3986
- return E ? ie : ie.endOf(l);
3987
- }, L = function(ae, G) {
3988
- return A.w(m.toDate()[ae].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3989
- }, N = this.$W, F = this.$M, X = this.$D, he = "set" + (this.$u ? "UTC" : "");
3975
+ }, v.startOf = function(c, b) {
3976
+ var m = this, _ = !!O.u(b) || b, w = O.p(c), M = function(ee, $) {
3977
+ var J = O.w(m.$u ? Date.UTC(m.$y, $, ee) : new Date(m.$y, $, ee), m);
3978
+ return _ ? J : J.endOf(l);
3979
+ }, L = function(ee, $) {
3980
+ return O.w(m.toDate()[ee].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), m);
3981
+ }, N = this.$W, G = this.$M, W = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3990
3982
  switch (w) {
3991
- case _:
3992
- return E ? $(1, 0) : $(31, 11);
3993
- case c:
3994
- return E ? $(1, F) : $(0, F + 1);
3995
- case h:
3996
- var re = this.$locale().weekStart || 0, de = (N < re ? N + 7 : N) - re;
3997
- return $(E ? X - de : X + (6 - de), F);
3983
+ case x:
3984
+ return _ ? M(1, 0) : M(31, 11);
3985
+ case g:
3986
+ return _ ? M(1, G) : M(0, G + 1);
3987
+ case f:
3988
+ var Z = this.$locale().weekStart || 0, de = (N < Z ? N + 7 : N) - Z;
3989
+ return M(_ ? W - de : W + (6 - de), G);
3998
3990
  case l:
3999
3991
  case S:
4000
- return L(he + "Hours", 0);
4001
- case a:
4002
- return L(he + "Minutes", 1);
3992
+ return L(ue + "Hours", 0);
4003
3993
  case u:
4004
- return L(he + "Seconds", 2);
4005
- case o:
4006
- return L(he + "Milliseconds", 3);
3994
+ return L(ue + "Minutes", 1);
3995
+ case a:
3996
+ return L(ue + "Seconds", 2);
3997
+ case s:
3998
+ return L(ue + "Milliseconds", 3);
4007
3999
  default:
4008
4000
  return this.clone();
4009
4001
  }
4010
- }, g.endOf = function(d) {
4011
- return this.startOf(d, !1);
4012
- }, g.$set = function(d, b) {
4013
- var m, E = A.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[a] = w + "Hours", m[u] = w + "Minutes", m[o] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === l ? this.$D + (b - this.$W) : b;
4014
- if (E === c || E === _) {
4002
+ }, v.endOf = function(c) {
4003
+ return this.startOf(c, !1);
4004
+ }, v.$set = function(c, b) {
4005
+ var m, _ = O.p(c), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[g] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], L = _ === l ? this.$D + (b - this.$W) : b;
4006
+ if (_ === g || _ === x) {
4015
4007
  var N = this.clone().set(S, 1);
4016
- N.$d[$](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4008
+ N.$d[M](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4017
4009
  } else
4018
- $ && this.$d[$](L);
4010
+ M && this.$d[M](L);
4019
4011
  return this.init(), this;
4020
- }, g.set = function(d, b) {
4021
- return this.clone().$set(d, b);
4022
- }, g.get = function(d) {
4023
- return this[A.p(d)]();
4024
- }, g.add = function(d, b) {
4025
- var m, E = this;
4026
- d = Number(d);
4027
- var w = A.p(b), $ = function(F) {
4028
- var X = C(E);
4029
- return A.w(X.date(X.date() + Math.round(F * d)), E);
4012
+ }, v.set = function(c, b) {
4013
+ return this.clone().$set(c, b);
4014
+ }, v.get = function(c) {
4015
+ return this[O.p(c)]();
4016
+ }, v.add = function(c, b) {
4017
+ var m, _ = this;
4018
+ c = Number(c);
4019
+ var w = O.p(b), M = function(G) {
4020
+ var W = D(_);
4021
+ return O.w(W.date(W.date() + Math.round(G * c)), _);
4030
4022
  };
4031
- if (w === c)
4032
- return this.set(c, this.$M + d);
4033
- if (w === _)
4034
- return this.set(_, this.$y + d);
4023
+ if (w === g)
4024
+ return this.set(g, this.$M + c);
4025
+ if (w === x)
4026
+ return this.set(x, this.$y + c);
4035
4027
  if (w === l)
4036
- return $(1);
4037
- if (w === h)
4038
- return $(7);
4039
- var L = (m = {}, m[u] = i, m[a] = n, m[o] = r, m)[w] || 1, N = this.$d.getTime() + d * L;
4040
- return A.w(N, this);
4041
- }, g.subtract = function(d, b) {
4042
- return this.add(-1 * d, b);
4043
- }, g.format = function(d) {
4028
+ return M(1);
4029
+ if (w === f)
4030
+ return M(7);
4031
+ var L = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, N = this.$d.getTime() + c * L;
4032
+ return O.w(N, this);
4033
+ }, v.subtract = function(c, b) {
4034
+ return this.add(-1 * c, b);
4035
+ }, v.format = function(c) {
4044
4036
  var b = this, m = this.$locale();
4045
4037
  if (!this.isValid())
4046
- return m.invalidDate || v;
4047
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = A.z(this), $ = this.$H, L = this.$m, N = this.$M, F = m.weekdays, X = m.months, he = m.meridiem, re = function(G, ie, ue, ge) {
4048
- return G && (G[ie] || G(b, E)) || ue[ie].slice(0, ge);
4049
- }, de = function(G) {
4050
- return A.s($ % 12 || 12, G, "0");
4051
- }, ae = he || function(G, ie, ue) {
4052
- var ge = G < 12 ? "AM" : "PM";
4053
- return ue ? ge.toLowerCase() : ge;
4038
+ return m.invalidDate || d;
4039
+ var _ = c || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), M = this.$H, L = this.$m, N = this.$M, G = m.weekdays, W = m.months, ue = m.meridiem, Z = function($, J, te, ge) {
4040
+ return $ && ($[J] || $(b, _)) || te[J].slice(0, ge);
4041
+ }, de = function($) {
4042
+ return O.s(M % 12 || 12, $, "0");
4043
+ }, ee = ue || function($, J, te) {
4044
+ var ge = $ < 12 ? "AM" : "PM";
4045
+ return te ? ge.toLowerCase() : ge;
4054
4046
  };
4055
- return E.replace(V, function(G, ie) {
4056
- return ie || function(ue) {
4057
- switch (ue) {
4047
+ return _.replace(V, function($, J) {
4048
+ return J || function(te) {
4049
+ switch (te) {
4058
4050
  case "YY":
4059
4051
  return String(b.$y).slice(-2);
4060
4052
  case "YYYY":
4061
- return A.s(b.$y, 4, "0");
4053
+ return O.s(b.$y, 4, "0");
4062
4054
  case "M":
4063
4055
  return N + 1;
4064
4056
  case "MM":
4065
- return A.s(N + 1, 2, "0");
4057
+ return O.s(N + 1, 2, "0");
4066
4058
  case "MMM":
4067
- return re(m.monthsShort, N, X, 3);
4059
+ return Z(m.monthsShort, N, W, 3);
4068
4060
  case "MMMM":
4069
- return re(X, N);
4061
+ return Z(W, N);
4070
4062
  case "D":
4071
4063
  return b.$D;
4072
4064
  case "DD":
4073
- return A.s(b.$D, 2, "0");
4065
+ return O.s(b.$D, 2, "0");
4074
4066
  case "d":
4075
4067
  return String(b.$W);
4076
4068
  case "dd":
4077
- return re(m.weekdaysMin, b.$W, F, 2);
4069
+ return Z(m.weekdaysMin, b.$W, G, 2);
4078
4070
  case "ddd":
4079
- return re(m.weekdaysShort, b.$W, F, 3);
4071
+ return Z(m.weekdaysShort, b.$W, G, 3);
4080
4072
  case "dddd":
4081
- return F[b.$W];
4073
+ return G[b.$W];
4082
4074
  case "H":
4083
- return String($);
4075
+ return String(M);
4084
4076
  case "HH":
4085
- return A.s($, 2, "0");
4077
+ return O.s(M, 2, "0");
4086
4078
  case "h":
4087
4079
  return de(1);
4088
4080
  case "hh":
4089
4081
  return de(2);
4090
4082
  case "a":
4091
- return ae($, L, !0);
4083
+ return ee(M, L, !0);
4092
4084
  case "A":
4093
- return ae($, L, !1);
4085
+ return ee(M, L, !1);
4094
4086
  case "m":
4095
4087
  return String(L);
4096
4088
  case "mm":
4097
- return A.s(L, 2, "0");
4089
+ return O.s(L, 2, "0");
4098
4090
  case "s":
4099
4091
  return String(b.$s);
4100
4092
  case "ss":
4101
- return A.s(b.$s, 2, "0");
4093
+ return O.s(b.$s, 2, "0");
4102
4094
  case "SSS":
4103
- return A.s(b.$ms, 3, "0");
4095
+ return O.s(b.$ms, 3, "0");
4104
4096
  case "Z":
4105
4097
  return w;
4106
4098
  }
4107
4099
  return null;
4108
- }(G) || w.replace(":", "");
4100
+ }($) || w.replace(":", "");
4109
4101
  });
4110
- }, g.utcOffset = function() {
4102
+ }, v.utcOffset = function() {
4111
4103
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4112
- }, g.diff = function(d, b, m) {
4113
- var E, w = this, $ = A.p(b), L = C(d), N = (L.utcOffset() - this.utcOffset()) * i, F = this - L, X = function() {
4114
- return A.m(w, L);
4104
+ }, v.diff = function(c, b, m) {
4105
+ var _, w = this, M = O.p(b), L = D(c), N = (L.utcOffset() - this.utcOffset()) * i, G = this - L, W = function() {
4106
+ return O.m(w, L);
4115
4107
  };
4116
- switch ($) {
4117
- case _:
4118
- E = X() / 12;
4108
+ switch (M) {
4109
+ case x:
4110
+ _ = W() / 12;
4119
4111
  break;
4120
- case c:
4121
- E = X();
4112
+ case g:
4113
+ _ = W();
4122
4114
  break;
4123
4115
  case p:
4124
- E = X() / 3;
4116
+ _ = W() / 3;
4125
4117
  break;
4126
- case h:
4127
- E = (F - N) / 6048e5;
4118
+ case f:
4119
+ _ = (G - N) / 6048e5;
4128
4120
  break;
4129
4121
  case l:
4130
- E = (F - N) / 864e5;
4131
- break;
4132
- case a:
4133
- E = F / n;
4122
+ _ = (G - N) / 864e5;
4134
4123
  break;
4135
4124
  case u:
4136
- E = F / i;
4125
+ _ = G / n;
4137
4126
  break;
4138
- case o:
4139
- E = F / r;
4127
+ case a:
4128
+ _ = G / i;
4129
+ break;
4130
+ case s:
4131
+ _ = G / r;
4140
4132
  break;
4141
4133
  default:
4142
- E = F;
4134
+ _ = G;
4143
4135
  }
4144
- return m ? E : A.a(E);
4145
- }, g.daysInMonth = function() {
4146
- return this.endOf(c).$D;
4147
- }, g.$locale = function() {
4136
+ return m ? _ : O.a(_);
4137
+ }, v.daysInMonth = function() {
4138
+ return this.endOf(g).$D;
4139
+ }, v.$locale = function() {
4148
4140
  return U[this.$L];
4149
- }, g.locale = function(d, b) {
4150
- if (!d)
4141
+ }, v.locale = function(c, b) {
4142
+ if (!c)
4151
4143
  return this.$L;
4152
- var m = this.clone(), E = Y(d, b, !0);
4153
- return E && (m.$L = E), m;
4154
- }, g.clone = function() {
4155
- return A.w(this.$d, this);
4156
- }, g.toDate = function() {
4144
+ var m = this.clone(), _ = Y(c, b, !0);
4145
+ return _ && (m.$L = _), m;
4146
+ }, v.clone = function() {
4147
+ return O.w(this.$d, this);
4148
+ }, v.toDate = function() {
4157
4149
  return new Date(this.valueOf());
4158
- }, g.toJSON = function() {
4150
+ }, v.toJSON = function() {
4159
4151
  return this.isValid() ? this.toISOString() : null;
4160
- }, g.toISOString = function() {
4152
+ }, v.toISOString = function() {
4161
4153
  return this.$d.toISOString();
4162
- }, g.toString = function() {
4154
+ }, v.toString = function() {
4163
4155
  return this.$d.toUTCString();
4164
- }, x;
4165
- }(), le = k.prototype;
4166
- return C.prototype = le, [["$ms", s], ["$s", o], ["$m", u], ["$H", a], ["$W", l], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4167
- le[x[1]] = function(g) {
4168
- return this.$g(g, x[0], x[1]);
4156
+ }, E;
4157
+ }(), ae = F.prototype;
4158
+ return D.prototype = ae, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", g], ["$y", x], ["$D", S]].forEach(function(E) {
4159
+ ae[E[1]] = function(v) {
4160
+ return this.$g(v, E[0], E[1]);
4169
4161
  };
4170
- }), C.extend = function(x, g) {
4171
- return x.$i || (x(g, k, C), x.$i = !0), C;
4172
- }, C.locale = Y, C.isDayjs = oe, C.unix = function(x) {
4173
- return C(1e3 * x);
4174
- }, C.en = U[I], C.Ls = U, C.p = {}, C;
4162
+ }), D.extend = function(E, v) {
4163
+ return E.$i || (E(v, F, D), E.$i = !0), D;
4164
+ }, D.locale = Y, D.isDayjs = K, D.unix = function(E) {
4165
+ return D(1e3 * E);
4166
+ }, D.en = U[R], D.Ls = U, D.p = {}, D;
4175
4167
  });
4176
- })(Hr);
4177
- var Jn = Hr.exports;
4178
- const zt = /* @__PURE__ */ yt(Jn);
4179
- var Pr = { exports: {} };
4168
+ })(Br);
4169
+ var so = Br.exports;
4170
+ const zt = /* @__PURE__ */ mt(so);
4171
+ var Mr = { exports: {} };
4180
4172
  (function(e, t) {
4181
4173
  (function(r, i) {
4182
4174
  e.exports = i();
4183
- })(er, function() {
4175
+ })(Jt, function() {
4184
4176
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4185
- return function(s, o, u) {
4186
- var a = o.prototype;
4187
- u.utc = function(v) {
4188
- var M = { date: v, utc: !0, args: arguments };
4189
- return new o(M);
4190
- }, a.utc = function(v) {
4191
- var M = u(this.toDate(), { locale: this.$L, utc: !0 });
4192
- return v ? M.add(this.utcOffset(), r) : M;
4193
- }, a.local = function() {
4194
- return u(this.toDate(), { locale: this.$L, utc: !1 });
4177
+ return function(o, s, a) {
4178
+ var u = s.prototype;
4179
+ a.utc = function(d) {
4180
+ var C = { date: d, utc: !0, args: arguments };
4181
+ return new s(C);
4182
+ }, u.utc = function(d) {
4183
+ var C = a(this.toDate(), { locale: this.$L, utc: !0 });
4184
+ return d ? C.add(this.utcOffset(), r) : C;
4185
+ }, u.local = function() {
4186
+ return a(this.toDate(), { locale: this.$L, utc: !1 });
4195
4187
  };
4196
- var l = a.parse;
4197
- a.parse = function(v) {
4198
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), l.call(this, v);
4188
+ var l = u.parse;
4189
+ u.parse = function(d) {
4190
+ d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4199
4191
  };
4200
- var h = a.init;
4201
- a.init = function() {
4192
+ var f = u.init;
4193
+ u.init = function() {
4202
4194
  if (this.$u) {
4203
- var v = this.$d;
4204
- this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
4195
+ var d = this.$d;
4196
+ 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();
4205
4197
  } else
4206
- h.call(this);
4198
+ f.call(this);
4207
4199
  };
4208
- var c = a.utcOffset;
4209
- a.utcOffset = function(v, M) {
4200
+ var g = u.utcOffset;
4201
+ u.utcOffset = function(d, C) {
4210
4202
  var V = this.$utils().u;
4211
- if (V(v))
4212
- return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
4213
- if (typeof v == "string" && (v = function(I) {
4214
- I === void 0 && (I = "");
4215
- var U = I.match(i);
4203
+ if (V(d))
4204
+ return this.$u ? 0 : V(this.$offset) ? g.call(this) : this.$offset;
4205
+ if (typeof d == "string" && (d = function(R) {
4206
+ R === void 0 && (R = "");
4207
+ var U = R.match(i);
4216
4208
  if (!U)
4217
4209
  return null;
4218
- var W = ("" + U[0]).match(n) || ["-", 0, 0], oe = W[0], Y = 60 * +W[1] + +W[2];
4219
- return Y === 0 ? 0 : oe === "+" ? Y : -Y;
4220
- }(v), v === null))
4210
+ var X = ("" + U[0]).match(n) || ["-", 0, 0], K = X[0], Y = 60 * +X[1] + +X[2];
4211
+ return Y === 0 ? 0 : K === "+" ? Y : -Y;
4212
+ }(d), d === null))
4221
4213
  return this;
4222
- var R = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4223
- if (M)
4224
- return B.$offset = R, B.$u = v === 0, B;
4225
- if (v !== 0) {
4214
+ var k = Math.abs(d) <= 16 ? 60 * d : d, B = this;
4215
+ if (C)
4216
+ return B.$offset = k, B.$u = d === 0, B;
4217
+ if (d !== 0) {
4226
4218
  var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4227
- (B = this.local().add(R + z, r)).$offset = R, B.$x.$localOffset = z;
4219
+ (B = this.local().add(k + z, r)).$offset = k, B.$x.$localOffset = z;
4228
4220
  } else
4229
4221
  B = this.utc();
4230
4222
  return B;
4231
4223
  };
4232
- var p = a.format;
4233
- a.format = function(v) {
4234
- var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4235
- return p.call(this, M);
4236
- }, a.valueOf = function() {
4237
- var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4238
- return this.$d.valueOf() - 6e4 * v;
4239
- }, a.isUTC = function() {
4224
+ var p = u.format;
4225
+ u.format = function(d) {
4226
+ var C = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4227
+ return p.call(this, C);
4228
+ }, u.valueOf = function() {
4229
+ var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4230
+ return this.$d.valueOf() - 6e4 * d;
4231
+ }, u.isUTC = function() {
4240
4232
  return !!this.$u;
4241
- }, a.toISOString = function() {
4233
+ }, u.toISOString = function() {
4242
4234
  return this.toDate().toISOString();
4243
- }, a.toString = function() {
4235
+ }, u.toString = function() {
4244
4236
  return this.toDate().toUTCString();
4245
4237
  };
4246
- var _ = a.toDate;
4247
- a.toDate = function(v) {
4248
- return v === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4238
+ var x = u.toDate;
4239
+ u.toDate = function(d) {
4240
+ return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4249
4241
  };
4250
- var S = a.diff;
4251
- a.diff = function(v, M, V) {
4252
- if (v && this.$u === v.$u)
4253
- return S.call(this, v, M, V);
4254
- var R = this.local(), B = u(v).local();
4255
- return S.call(R, B, M, V);
4242
+ var S = u.diff;
4243
+ u.diff = function(d, C, V) {
4244
+ if (d && this.$u === d.$u)
4245
+ return S.call(this, d, C, V);
4246
+ var k = this.local(), B = a(d).local();
4247
+ return S.call(k, B, C, V);
4256
4248
  };
4257
4249
  };
4258
4250
  });
4259
- })(Pr);
4260
- var Qn = Pr.exports;
4261
- const Kn = /* @__PURE__ */ yt(Qn);
4262
- function es(e) {
4263
- Dr(e, "svelte-3ui5us", "*,*::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;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4251
+ })(Mr);
4252
+ var ao = Mr.exports;
4253
+ const uo = /* @__PURE__ */ mt(ao);
4254
+ function lo(e) {
4255
+ $r(e, "svelte-3ui5us", "*,*::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;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4264
4256
  }
4265
- function Xt(e, t, r) {
4257
+ function Wt(e, t, r) {
4266
4258
  const i = e.slice();
4267
- return i[54] = t[r], i[56] = r, i;
4259
+ return i[53] = t[r], i[55] = r, i;
4268
4260
  }
4269
- function ts(e) {
4270
- let t, r, i, n, s = At(
4261
+ function ho(e) {
4262
+ let t, r, i, n = Et(
4271
4263
  /*displayMessages*/
4272
- e[4]
4264
+ e[3]
4273
4265
  ), o = [];
4274
- for (let a = 0; a < s.length; a += 1)
4275
- o[a] = qt(Xt(e, s, a));
4276
- let u = (
4266
+ for (let a = 0; a < n.length; a += 1)
4267
+ o[a] = qt(Wt(e, n, a));
4268
+ let s = (
4277
4269
  /*videoExists*/
4278
- e[7] && Yt(e)
4270
+ e[6] && Yt(e)
4279
4271
  );
4280
4272
  return {
4281
4273
  c() {
4282
- t = q("div");
4274
+ t = Q("div");
4283
4275
  for (let a = 0; a < o.length; a += 1)
4284
4276
  o[a].c();
4285
- r = _e(), u && u.c(), i = _e(), n = q("cashier-video-modal"), te(t, "class", "CashierVerificationsWrapper"), J(
4286
- n,
4287
- "clientstylingurl",
4288
- /*clientstylingurl*/
4289
- e[1]
4290
- ), J(
4291
- n,
4292
- "clientstyling",
4293
- /*clientstyling*/
4294
- e[0]
4295
- ), J(
4296
- n,
4297
- "ismobileview",
4298
- /*ismobileview*/
4299
- e[2]
4300
- ), J(
4301
- n,
4302
- "videosrc",
4303
- /*videoSrc*/
4304
- e[8]
4305
- );
4277
+ r = Ae(), s && s.c(), i = qr(), ne(t, "class", "CashierVerificationsWrapper");
4306
4278
  },
4307
- m(a, l) {
4308
- se(a, t, l);
4309
- for (let h = 0; h < o.length; h += 1)
4310
- o[h] && o[h].m(t, null);
4311
- se(a, r, l), u && u.m(a, l), se(a, i, l), se(a, n, l);
4279
+ m(a, u) {
4280
+ he(a, t, u);
4281
+ for (let l = 0; l < o.length; l += 1)
4282
+ o[l] && o[l].m(t, null);
4283
+ he(a, r, u), s && s.m(a, u), he(a, i, u);
4312
4284
  },
4313
- p(a, l) {
4314
- if (l[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4315
- 2096) {
4316
- s = At(
4285
+ p(a, u) {
4286
+ if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4287
+ 536) {
4288
+ n = Et(
4317
4289
  /*displayMessages*/
4318
- a[4]
4290
+ a[3]
4319
4291
  );
4320
- let h;
4321
- for (h = 0; h < s.length; h += 1) {
4322
- const c = Xt(a, s, h);
4323
- o[h] ? o[h].p(c, l) : (o[h] = qt(c), o[h].c(), o[h].m(t, null));
4292
+ let l;
4293
+ for (l = 0; l < n.length; l += 1) {
4294
+ const f = Wt(a, n, l);
4295
+ o[l] ? o[l].p(f, u) : (o[l] = qt(f), o[l].c(), o[l].m(t, null));
4324
4296
  }
4325
- for (; h < o.length; h += 1)
4326
- o[h].d(1);
4327
- o.length = s.length;
4297
+ for (; l < o.length; l += 1)
4298
+ o[l].d(1);
4299
+ o.length = n.length;
4328
4300
  }
4329
4301
  /*videoExists*/
4330
- a[7] ? u ? u.p(a, l) : (u = Yt(a), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null), l[0] & /*clientstylingurl*/
4331
- 2 && J(
4332
- n,
4333
- "clientstylingurl",
4334
- /*clientstylingurl*/
4335
- a[1]
4336
- ), l[0] & /*clientstyling*/
4337
- 1 && J(
4338
- n,
4339
- "clientstyling",
4340
- /*clientstyling*/
4341
- a[0]
4342
- ), l[0] & /*ismobileview*/
4343
- 4 && J(
4344
- n,
4345
- "ismobileview",
4346
- /*ismobileview*/
4347
- a[2]
4348
- ), l[0] & /*videoSrc*/
4349
- 256 && J(
4350
- n,
4351
- "videosrc",
4352
- /*videoSrc*/
4353
- a[8]
4354
- );
4302
+ a[6] ? s ? s.p(a, u) : (s = Yt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4355
4303
  },
4356
4304
  d(a) {
4357
- a && (K(t), K(r), K(i), K(n)), Nr(o, a), u && u.d(a);
4305
+ a && (fe(t), fe(r), fe(i)), Yr(o, a), s && s.d(a);
4358
4306
  }
4359
4307
  };
4360
4308
  }
4361
- function rs(e) {
4309
+ function fo(e) {
4362
4310
  let t;
4363
4311
  return {
4364
4312
  c() {
4365
- t = q("cashier-spinner"), J(
4313
+ t = Q("cashier-spinner"), Ne(
4366
4314
  t,
4367
4315
  "clientstylingurl",
4368
4316
  /*clientstylingurl*/
4369
4317
  e[1]
4370
- ), J(
4318
+ ), Ne(
4371
4319
  t,
4372
4320
  "clientstyling",
4373
4321
  /*clientstyling*/
@@ -4375,17 +4323,17 @@ function rs(e) {
4375
4323
  );
4376
4324
  },
4377
4325
  m(r, i) {
4378
- se(r, t, i);
4326
+ he(r, t, i);
4379
4327
  },
4380
4328
  p(r, i) {
4381
4329
  i[0] & /*clientstylingurl*/
4382
- 2 && J(
4330
+ 2 && Ne(
4383
4331
  t,
4384
4332
  "clientstylingurl",
4385
4333
  /*clientstylingurl*/
4386
4334
  r[1]
4387
4335
  ), i[0] & /*clientstyling*/
4388
- 1 && J(
4336
+ 1 && Ne(
4389
4337
  t,
4390
4338
  "clientstyling",
4391
4339
  /*clientstyling*/
@@ -4393,240 +4341,240 @@ function rs(e) {
4393
4341
  );
4394
4342
  },
4395
4343
  d(r) {
4396
- r && K(t);
4344
+ r && fe(t);
4397
4345
  }
4398
4346
  };
4399
4347
  }
4400
- function Wt(e) {
4348
+ function Xt(e) {
4401
4349
  let t, r, i;
4402
- function n(...s) {
4350
+ function n(...o) {
4403
4351
  return (
4404
4352
  /*click_handler*/
4405
- e[21](
4353
+ e[19](
4406
4354
  /*index*/
4407
- e[56],
4408
- ...s
4355
+ e[55],
4356
+ ...o
4409
4357
  )
4410
4358
  );
4411
4359
  }
4412
4360
  return {
4413
4361
  c() {
4414
- t = q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', te(t, "class", "CashierVerificationChevron");
4362
+ t = Q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ne(t, "class", "CashierVerificationChevron");
4415
4363
  },
4416
- m(s, o) {
4417
- se(s, t, o), r || (i = bt(t, "click", n), r = !0);
4364
+ m(o, s) {
4365
+ he(o, t, s), r || (i = pt(t, "click", n), r = !0);
4418
4366
  },
4419
- p(s, o) {
4420
- e = s;
4367
+ p(o, s) {
4368
+ e = o;
4421
4369
  },
4422
- d(s) {
4423
- s && K(t), r = !1, i();
4370
+ d(o) {
4371
+ o && fe(t), r = !1, i();
4424
4372
  }
4425
4373
  };
4426
4374
  }
4427
4375
  function qt(e) {
4428
- let t, r, i, n, s = (
4376
+ let t, r, i, n, o = (
4429
4377
  /*message*/
4430
- e[54] + ""
4431
- ), o, u, a, l, h = (
4378
+ e[53] + ""
4379
+ ), s, a, u, l, f = (
4432
4380
  /*displayMessages*/
4433
- e[4].length > 1 && /*index*/
4434
- e[56] === 0 && Wt(e)
4381
+ e[3].length > 1 && /*index*/
4382
+ e[55] === 0 && Xt(e)
4435
4383
  );
4436
- function c(...p) {
4384
+ function g(...p) {
4437
4385
  return (
4438
4386
  /*click_handler_1*/
4439
- e[22](
4387
+ e[20](
4440
4388
  /*index*/
4441
- e[56],
4389
+ e[55],
4442
4390
  ...p
4443
4391
  )
4444
4392
  );
4445
4393
  }
4446
4394
  return {
4447
4395
  c() {
4448
- t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = q("p"), o = _e(), h && h.c(), u = _e(), te(r, "class", "IconVerification"), te(n, "class", "text"), te(t, "class", "CashierVerificationMessage"), Ee(
4396
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ae(), n = Q("p"), s = Ae(), f && f.c(), a = Ae(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), xe(
4449
4397
  t,
4450
4398
  "ShowAll",
4451
4399
  /*allVerificationsVisible*/
4452
- e[5]
4400
+ e[4]
4453
4401
  );
4454
4402
  },
4455
- m(p, _) {
4456
- se(p, t, _), ne(t, r), ne(t, i), ne(t, n), n.innerHTML = s, ne(t, o), h && h.m(t, null), ne(t, u), a || (l = bt(t, "click", c), a = !0);
4403
+ m(p, x) {
4404
+ he(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), f && f.m(t, null), ie(t, a), u || (l = pt(t, "click", g), u = !0);
4457
4405
  },
4458
- p(p, _) {
4459
- e = p, _[0] & /*displayMessages*/
4460
- 16 && s !== (s = /*message*/
4461
- e[54] + "") && (n.innerHTML = s), /*displayMessages*/
4462
- e[4].length > 1 && /*index*/
4463
- e[56] === 0 ? h ? h.p(e, _) : (h = Wt(e), h.c(), h.m(t, u)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4464
- 32 && Ee(
4406
+ p(p, x) {
4407
+ e = p, x[0] & /*displayMessages*/
4408
+ 8 && o !== (o = /*message*/
4409
+ e[53] + "") && (n.innerHTML = o), /*displayMessages*/
4410
+ e[3].length > 1 && /*index*/
4411
+ e[55] === 0 ? f ? f.p(e, x) : (f = Xt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), x[0] & /*allVerificationsVisible*/
4412
+ 16 && xe(
4465
4413
  t,
4466
4414
  "ShowAll",
4467
4415
  /*allVerificationsVisible*/
4468
- e[5]
4416
+ e[4]
4469
4417
  );
4470
4418
  },
4471
4419
  d(p) {
4472
- p && K(t), h && h.d(), a = !1, l();
4420
+ p && fe(t), f && f.d(), u = !1, l();
4473
4421
  }
4474
4422
  };
4475
4423
  }
4476
4424
  function Yt(e) {
4477
- let t, r, i, n, s = (
4425
+ let t, r, i, n, o = (
4478
4426
  /*$_*/
4479
- e[10]("verification.video.how-to") + ""
4480
- ), o, u, a;
4427
+ e[8]("verification.video.how-to") + ""
4428
+ ), s, a, u;
4481
4429
  return {
4482
4430
  c() {
4483
- t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = q("div"), o = vt(s), te(r, "class", "IconVideo"), te(n, "class", "CashierVerificationVideoLink"), Ee(
4431
+ 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 = Ae(), n = Q("div"), s = Zr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), xe(
4484
4432
  n,
4485
4433
  "CashierVerificationVideoLinkDesktop",
4486
4434
  /*desktopView*/
4487
- e[6]
4488
- ), te(t, "class", "CashierVerificationVideo");
4435
+ e[5]
4436
+ ), ne(t, "class", "CashierVerificationVideo");
4489
4437
  },
4490
- m(l, h) {
4491
- se(l, t, h), ne(t, r), ne(t, i), ne(t, n), ne(n, o), u || (a = bt(
4438
+ m(l, f) {
4439
+ he(l, t, f), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = pt(
4492
4440
  n,
4493
4441
  "click",
4494
- /*click_handler_2*/
4495
- e[23]
4496
- ), u = !0);
4442
+ /*showVideo*/
4443
+ e[10]
4444
+ ), a = !0);
4497
4445
  },
4498
- p(l, h) {
4499
- h[0] & /*$_*/
4500
- 1024 && s !== (s = /*$_*/
4501
- l[10]("verification.video.how-to") + "") && kr(o, s), h[0] & /*desktopView*/
4502
- 64 && Ee(
4446
+ p(l, f) {
4447
+ f[0] & /*$_*/
4448
+ 256 && o !== (o = /*$_*/
4449
+ l[8]("verification.video.how-to") + "") && Jr(s, o), f[0] & /*desktopView*/
4450
+ 32 && xe(
4503
4451
  n,
4504
4452
  "CashierVerificationVideoLinkDesktop",
4505
4453
  /*desktopView*/
4506
- l[6]
4454
+ l[5]
4507
4455
  );
4508
4456
  },
4509
4457
  d(l) {
4510
- l && K(t), u = !1, a();
4458
+ l && fe(t), a = !1, u();
4511
4459
  }
4512
4460
  };
4513
4461
  }
4514
- function is(e) {
4462
+ function co(e) {
4515
4463
  let t;
4516
- function r(s, o) {
4464
+ function r(o, s) {
4517
4465
  if (
4518
4466
  /*isLoading*/
4519
- s[9]
4467
+ o[7]
4520
4468
  )
4521
- return rs;
4469
+ return fo;
4522
4470
  if (
4523
4471
  /*displayMessages*/
4524
- s[4]
4472
+ o[3]
4525
4473
  )
4526
- return ts;
4474
+ return ho;
4527
4475
  }
4528
4476
  let i = r(e), n = i && i(e);
4529
4477
  return {
4530
4478
  c() {
4531
- t = q("div"), n && n.c(), te(t, "class", "CashierVerifications"), Ee(
4479
+ t = Q("div"), n && n.c(), ne(t, "class", "CashierVerifications"), xe(
4532
4480
  t,
4533
4481
  "CashierVerificationsDesktop",
4534
4482
  /*desktopView*/
4535
- e[6]
4483
+ e[5]
4536
4484
  );
4537
4485
  },
4538
- m(s, o) {
4539
- se(s, t, o), n && n.m(t, null), e[24](t);
4486
+ m(o, s) {
4487
+ he(o, t, s), n && n.m(t, null), e[21](t);
4540
4488
  },
4541
- p(s, o) {
4542
- i === (i = r(s)) && n ? n.p(s, o) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), o[0] & /*desktopView*/
4543
- 64 && Ee(
4489
+ p(o, s) {
4490
+ 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*/
4491
+ 32 && xe(
4544
4492
  t,
4545
4493
  "CashierVerificationsDesktop",
4546
4494
  /*desktopView*/
4547
- s[6]
4495
+ o[5]
4548
4496
  );
4549
4497
  },
4550
- i: ee,
4551
- o: ee,
4552
- d(s) {
4553
- s && K(t), n && n.d(), e[24](null);
4498
+ i: me,
4499
+ o: me,
4500
+ d(o) {
4501
+ o && fe(t), n && n.d(), e[21](null);
4554
4502
  }
4555
4503
  };
4556
4504
  }
4557
- const ns = "verification_explanation_video_widgets.MP4";
4558
- function ss(e, t, r) {
4505
+ const po = "verification_explanation_video_widgets.MP4";
4506
+ function mo(e, t, r) {
4559
4507
  let i, n;
4560
- Ht(e, zn, (f) => r(10, i = f)), Ht(e, Wn, (f) => r(30, n = f)), zt.extend(Kn);
4561
- let { endpoint: s } = t, { lang: o = "en" } = t, { translationurl: u = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, { mbsource: S = "" } = t, v, M = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Set(), R, B, z, I = !0, U = !0, W = !1, oe = "", Y = !1;
4562
- var C;
4563
- (function(f) {
4564
- f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4565
- })(C || (C = {}));
4566
- var A;
4567
- (function(f) {
4568
- f.Requested = "Requested";
4569
- })(A || (A = {}));
4570
- var k;
4571
- (function(f) {
4572
- f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4573
- })(k || (k = {}));
4574
- var le;
4575
- (function(f) {
4576
- f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4577
- })(le || (le = {})), Vr(() => () => {
4578
- });
4579
- const x = [
4580
- k.InProgress,
4581
- k.Referred,
4582
- k.AwaitingForResponse
4583
- ], g = () => {
4584
- let f = u;
4585
- if (f)
4586
- return fetch(f).then((y) => y.json()).then((y) => {
4508
+ xt(e, Gn, (h) => r(8, i = h)), xt(e, jn, (h) => r(28, n = h)), zt.extend(uo);
4509
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: g = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), V, k, B, z = !0, R = !0, U = !1, X = "", K = !1, Y = window.navigator.userAgent;
4510
+ var D;
4511
+ (function(h) {
4512
+ h.Manual = "Manual", h.ShuftiPro = "ShuftiPro";
4513
+ })(D || (D = {}));
4514
+ var O;
4515
+ (function(h) {
4516
+ h.Requested = "Requested";
4517
+ })(O || (O = {}));
4518
+ var F;
4519
+ (function(h) {
4520
+ h.Unknown = "Unknown", h.Unverified = "Unverified", h.InProgress = "InProgress", h.Failed = "Failed", h.Verified = "Verified", h.Referred = "Referred", h.True = "True", h.False = "False", h.AwaitingForResponse = "AwaitingForResponse";
4521
+ })(F || (F = {}));
4522
+ var ae;
4523
+ (function(h) {
4524
+ h.Unknown = "Unknown", h.Documents = "Documents", h.Age = "Age", h.Pep = "Pep", h.Sanction = "Sanction", h.Aml = "Aml", h.ProofOfAddress = "ProofOfAddress", h.SourceOfWealth = "SourceOfWealth", h.SocialMedia = "SocialMedia", h.Biometric = "Biometric";
4525
+ })(ae || (ae = {})), jr(() => (ge(), () => {
4526
+ }));
4527
+ const E = [
4528
+ F.InProgress,
4529
+ F.Referred,
4530
+ F.AwaitingForResponse
4531
+ ], v = () => {
4532
+ let h = a;
4533
+ if (h)
4534
+ return fetch(h).then((y) => y.json()).then((y) => {
4587
4535
  Object.keys(y).forEach((T) => {
4588
- Gt(T, y[T]);
4536
+ Nt(T, y[T]);
4589
4537
  });
4590
4538
  }).catch((y) => {
4591
4539
  console.log(y);
4592
4540
  });
4593
4541
  };
4594
- Object.keys(jt).forEach((f) => {
4595
- Gt(f, jt[f]);
4542
+ Object.keys(Rt).forEach((h) => {
4543
+ Nt(h, Rt[h]);
4596
4544
  });
4597
- const d = () => {
4598
- Xn(o);
4545
+ const c = () => {
4546
+ $n(s);
4599
4547
  }, b = () => {
4600
- r(20, B = w());
4601
- const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${o}`), y = new Headers();
4602
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4548
+ r(18, k = w());
4549
+ const h = new URL(`${o}/v1/player/${g}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4550
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4603
4551
  const T = {
4604
4552
  method: "POST",
4605
4553
  headers: y,
4606
4554
  body: JSON.stringify({})
4607
4555
  };
4608
- r(9, Y = !0), fetch(f, T).then((Q) => Q.json()).then((Q) => {
4609
- const Je = m(Q?.Verifications);
4610
- R = $(Je), R.VerificationStatuses.forEach((ke) => {
4611
- ke.VerificationUrlType !== "Widget" && M.add(ke.Vendor);
4612
- }), r(4, z = re());
4613
- }).finally(() => r(9, Y = !1));
4614
- }, m = (f) => f ? f.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4556
+ r(7, K = !0), fetch(h, T).then((q) => q.json()).then((q) => {
4557
+ const qe = m(q?.Verifications);
4558
+ V = M(qe), V.VerificationStatuses.forEach((Le) => {
4559
+ Le.VerificationUrlType !== "Widget" && d.add(Le.Vendor);
4560
+ }), r(3, B = Z());
4561
+ }).finally(() => r(7, K = !1));
4562
+ }, m = (h) => h ? h.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], _ = () => {
4615
4563
  n && b();
4616
4564
  }, w = () => {
4617
- let f = (h || n).split(".")[1];
4618
- if (f) {
4619
- let y = JSON.parse(atob(f));
4565
+ let h = (f || n).split(".")[1];
4566
+ if (h) {
4567
+ let y = JSON.parse(atob(h));
4620
4568
  return y.cdn + "/cashier/operator-assets/" + y?.mid;
4621
4569
  }
4622
4570
  return "";
4623
- }, $ = (f) => {
4624
- if (!f || !f.length)
4571
+ }, M = (h) => {
4572
+ if (!h || !h.length)
4625
4573
  return {
4626
- VerificationSummaryStatus: k.Unverified,
4574
+ VerificationSummaryStatus: F.Unverified,
4627
4575
  VerificationStatuses: []
4628
4576
  };
4629
- const y = F(f);
4577
+ const y = G(h);
4630
4578
  if (y && y.length) {
4631
4579
  const T = L(y);
4632
4580
  return {
@@ -4636,236 +4584,198 @@ function ss(e, t, r) {
4636
4584
  };
4637
4585
  } else
4638
4586
  return {
4639
- VerificationSummaryStatus: f.some((Q) => Q.Status === k.Failed) ? k.Failed : k.Verified,
4640
- VerificationStatuses: N(f, [k.Failed])
4587
+ VerificationSummaryStatus: h.some((q) => q.Status === F.Failed) ? F.Failed : F.Verified,
4588
+ VerificationStatuses: N(h, [F.Failed])
4641
4589
  };
4642
- }, L = (f) => f.reduce(
4590
+ }, L = (h) => h.reduce(
4643
4591
  (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4644
4592
  0
4645
- ), N = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4593
+ ), N = (h, y) => h.filter((T) => y.includes(T.Status)).map((T) => ({
4646
4594
  Type: T.Type,
4647
4595
  Vendor: T.VendorName,
4648
4596
  VerificationDocuments: T.Documents ? [...T.Documents] : [],
4649
4597
  VerificationUrlType: T.FlowInfo?.Type,
4650
4598
  VerificationUrl: T.FlowInfo?.Url
4651
- })), F = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) || he(y) : !1), X = (f) => {
4652
- const y = f.Documents && f.VendorName === C.Manual, T = f.Documents && f.Documents.some((Q) => Q.Status === A.Requested);
4599
+ })), G = (h) => h.filter((y) => E.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || ue(y) : !1), W = (h) => {
4600
+ const y = h.Documents && h.VendorName === D.Manual, T = h.Documents && h.Documents.some((q) => q.Status === O.Requested);
4653
4601
  return y && T;
4654
- }, he = (f) => f.VendorName === C.ShuftiPro && f.Status === k.Referred, re = () => {
4655
- switch (R.VerificationSummaryStatus) {
4656
- case k.InProgress:
4657
- const f = [];
4658
- return M.forEach((y) => {
4659
- f.push(de(y));
4660
- }), f;
4661
- case k.Referred:
4602
+ }, ue = (h) => h.VendorName === D.ShuftiPro && h.Status === F.Referred, Z = () => {
4603
+ switch (V.VerificationSummaryStatus) {
4604
+ case F.InProgress:
4605
+ const h = [];
4606
+ return d.forEach((y) => {
4607
+ h.push(de(y));
4608
+ }), h;
4609
+ case F.Referred:
4662
4610
  return [i("verification.idenfy.referred-awaiting")];
4663
- case k.Failed:
4611
+ case F.Failed:
4664
4612
  return [i("verification.message.failed")];
4665
4613
  }
4666
- }, de = (f) => {
4667
- const y = R.VerificationStatuses.filter((T) => T.Vendor === f);
4668
- if (f === C.ShuftiPro)
4669
- return ae(y);
4614
+ }, de = (h) => {
4615
+ const y = V.VerificationStatuses.filter((T) => T.Vendor === h);
4616
+ if (h === D.ShuftiPro)
4617
+ return ee(y);
4670
4618
  {
4671
- const T = i("verification.idenfy.link-name"), Q = {
4619
+ const T = i("verification.idenfy.link-name"), q = {
4672
4620
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4673
4621
  };
4674
- return i("verification.idenfy.in-progress", { values: Q });
4622
+ return i("verification.idenfy.in-progress", { values: q });
4675
4623
  }
4676
- }, ae = (f) => {
4677
- const y = [], T = {}, Q = [
4678
- le.Biometric,
4679
- le.Documents,
4680
- le.ProofOfAddress
4624
+ }, ee = (h) => {
4625
+ const y = [], T = {}, q = [
4626
+ ae.Biometric,
4627
+ ae.Documents,
4628
+ ae.ProofOfAddress
4681
4629
  ];
4682
- f.forEach((me) => {
4683
- Q.includes(me.Type) && (y.push(me.Type), T[me.Type] = G(me, ie(me.Type)));
4630
+ h.forEach((pe) => {
4631
+ q.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = $(pe, J(pe.Type)));
4684
4632
  });
4685
- let Je = y.every((me) => V.has(me)), ke = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4686
- return Je ? i("verification.shuftipro.validations-started") : i(ke, { values: T });
4687
- }, G = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ie = (f) => i(`verification.shuftipro.link-name.${f}`), ue = (f, y) => {
4688
- if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4689
- if (f.target.closest(".verificationLink")) {
4690
- const T = f.target.className.split(" ")[1];
4691
- V.add(T), r(4, z = re());
4633
+ let qe = y.every((pe) => C.has(pe)), Le = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4634
+ return qe ? i("verification.shuftipro.validations-started") : i(Le, { values: T });
4635
+ }, $ = (h, y) => `<a class="verificationLink ${h.Type}" href=" ${h.VerificationUrl} " target="_blank">${y}</a>`, J = (h) => i(`verification.shuftipro.link-name.${h}`), te = (h, y) => {
4636
+ if (h.stopPropagation(), h.target && (h.target.href || h.target.closest("a"))) {
4637
+ if (h.target.closest(".verificationLink")) {
4638
+ const T = h.target.className.split(" ")[1];
4639
+ C.add(T), r(3, B = Z());
4692
4640
  }
4693
4641
  return;
4694
4642
  }
4695
- y === 0 && r(5, I = !I);
4643
+ y === 0 && r(4, z = !z);
4696
4644
  }, ge = () => {
4697
- r(6, U = p === "false");
4698
- }, Ar = () => {
4699
- r(8, oe = B + "/" + o + "/" + ns);
4645
+ r(5, R = !oo(Y));
4646
+ }, Cr = () => {
4647
+ X = k + "/" + s + "/" + po;
4700
4648
  try {
4701
- fetch(oe, { method: "HEAD" }).then((f) => {
4702
- r(7, W = f.ok);
4649
+ fetch(X, { method: "HEAD" }).then((h) => {
4650
+ r(6, U = h.ok);
4703
4651
  });
4704
4652
  } catch {
4705
- r(7, W = !1);
4653
+ r(6, U = !1);
4706
4654
  }
4707
- }, St = () => {
4708
- window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4709
- }, Or = (f, y) => ue(y, f), Br = (f, y) => ue(y, f), $r = () => St();
4710
- function Mr(f) {
4711
- st[f ? "unshift" : "push"](() => {
4712
- v = f, r(3, v);
4655
+ }, Dr = () => {
4656
+ window.postMessage({ type: "ShowVideoModal", videoSrc: X }, window.location.href);
4657
+ }, Ir = (h, y) => te(y, h), Lr = (h, y) => te(y, h);
4658
+ function Nr(h) {
4659
+ Xr[h ? "unshift" : "push"](() => {
4660
+ S = h, r(2, S);
4713
4661
  });
4714
4662
  }
4715
- return e.$$set = (f) => {
4716
- "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, o = f.lang), "translationurl" in f && r(15, u = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, _ = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4663
+ return e.$$set = (h) => {
4664
+ "endpoint" in h && r(11, o = h.endpoint), "lang" in h && r(12, s = h.lang), "translationurl" in h && r(13, a = h.translationurl), "clientstyling" in h && r(0, u = h.clientstyling), "clientstylingurl" in h && r(1, l = h.clientstylingurl), "session" in h && r(14, f = h.session), "customerid" in h && r(15, g = h.customerid), "playersession" in h && r(16, p = h.playersession), "mbsource" in h && r(17, x = h.mbsource);
4717
4665
  }, e.$$.update = () => {
4718
4666
  e.$$.dirty[0] & /*lang*/
4719
- 16384 && o && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4720
- 335872 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4721
- 335872 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
4722
- 32768 && u && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4723
- 9 && a && v && qn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4724
- 10 && l && v && Yn(), e.$$.dirty[0] & /*ismobileview*/
4725
- 4 && p && ge(), e.$$.dirty[0] & /*staticCdnUrl*/
4726
- 1048576 && B && Ar(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4727
- 524296 && S && v && Zn(v, `${S}.Style`);
4667
+ 4096 && s && c(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4668
+ 83968 && o && f && p && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4669
+ 83968 && o && !f && p && _(), e.$$.dirty[0] & /*translationurl*/
4670
+ 8192 && a && v(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4671
+ 5 && u && S && Qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4672
+ 6 && l && S && zr(), e.$$.dirty[0] & /*staticCdnUrl*/
4673
+ 262144 && k && Cr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4674
+ 131076 && x && S && Wr(S, `${x}.Style`);
4728
4675
  }, [
4729
- a,
4676
+ u,
4730
4677
  l,
4731
- p,
4732
- v,
4678
+ S,
4679
+ B,
4733
4680
  z,
4734
- I,
4681
+ R,
4735
4682
  U,
4736
- W,
4737
- oe,
4738
- Y,
4683
+ K,
4739
4684
  i,
4740
- ue,
4741
- St,
4742
- s,
4685
+ te,
4686
+ Dr,
4743
4687
  o,
4744
- u,
4745
- h,
4746
- c,
4747
- _,
4748
- S,
4749
- B,
4750
- Or,
4751
- Br,
4752
- $r,
4753
- Mr
4688
+ s,
4689
+ a,
4690
+ f,
4691
+ g,
4692
+ p,
4693
+ x,
4694
+ k,
4695
+ Ir,
4696
+ Lr,
4697
+ Nr
4754
4698
  ];
4755
4699
  }
4756
- class os extends ei {
4700
+ class vo extends Vr {
4757
4701
  constructor(t) {
4758
- super(), Qr(
4702
+ super(), Gr(
4759
4703
  this,
4760
4704
  t,
4761
- ss,
4762
- is,
4763
- Jt,
4705
+ mo,
4706
+ co,
4707
+ Zt,
4764
4708
  {
4765
- endpoint: 13,
4766
- lang: 14,
4767
- translationurl: 15,
4709
+ endpoint: 11,
4710
+ lang: 12,
4711
+ translationurl: 13,
4768
4712
  clientstyling: 0,
4769
4713
  clientstylingurl: 1,
4770
- session: 16,
4771
- customerid: 17,
4772
- ismobileview: 2,
4773
- playersession: 18,
4774
- mbsource: 19
4714
+ session: 14,
4715
+ customerid: 15,
4716
+ playersession: 16,
4717
+ mbsource: 17
4775
4718
  },
4776
- es,
4719
+ lo,
4777
4720
  [-1, -1]
4778
4721
  );
4779
4722
  }
4780
4723
  get endpoint() {
4781
- return this.$$.ctx[13];
4724
+ return this.$$.ctx[11];
4782
4725
  }
4783
4726
  set endpoint(t) {
4784
- this.$$set({ endpoint: t }), Z();
4727
+ this.$$set({ endpoint: t }), re();
4785
4728
  }
4786
4729
  get lang() {
4787
- return this.$$.ctx[14];
4730
+ return this.$$.ctx[12];
4788
4731
  }
4789
4732
  set lang(t) {
4790
- this.$$set({ lang: t }), Z();
4733
+ this.$$set({ lang: t }), re();
4791
4734
  }
4792
4735
  get translationurl() {
4793
- return this.$$.ctx[15];
4736
+ return this.$$.ctx[13];
4794
4737
  }
4795
4738
  set translationurl(t) {
4796
- this.$$set({ translationurl: t }), Z();
4739
+ this.$$set({ translationurl: t }), re();
4797
4740
  }
4798
4741
  get clientstyling() {
4799
4742
  return this.$$.ctx[0];
4800
4743
  }
4801
4744
  set clientstyling(t) {
4802
- this.$$set({ clientstyling: t }), Z();
4745
+ this.$$set({ clientstyling: t }), re();
4803
4746
  }
4804
4747
  get clientstylingurl() {
4805
4748
  return this.$$.ctx[1];
4806
4749
  }
4807
4750
  set clientstylingurl(t) {
4808
- this.$$set({ clientstylingurl: t }), Z();
4751
+ this.$$set({ clientstylingurl: t }), re();
4809
4752
  }
4810
4753
  get session() {
4811
- return this.$$.ctx[16];
4754
+ return this.$$.ctx[14];
4812
4755
  }
4813
4756
  set session(t) {
4814
- this.$$set({ session: t }), Z();
4757
+ this.$$set({ session: t }), re();
4815
4758
  }
4816
4759
  get customerid() {
4817
- return this.$$.ctx[17];
4760
+ return this.$$.ctx[15];
4818
4761
  }
4819
4762
  set customerid(t) {
4820
- this.$$set({ customerid: t }), Z();
4821
- }
4822
- get ismobileview() {
4823
- return this.$$.ctx[2];
4824
- }
4825
- set ismobileview(t) {
4826
- this.$$set({ ismobileview: t }), Z();
4763
+ this.$$set({ customerid: t }), re();
4827
4764
  }
4828
4765
  get playersession() {
4829
- return this.$$.ctx[18];
4766
+ return this.$$.ctx[16];
4830
4767
  }
4831
4768
  set playersession(t) {
4832
- this.$$set({ playersession: t }), Z();
4769
+ this.$$set({ playersession: t }), re();
4833
4770
  }
4834
4771
  get mbsource() {
4835
- return this.$$.ctx[19];
4772
+ return this.$$.ctx[17];
4836
4773
  }
4837
4774
  set mbsource(t) {
4838
- this.$$set({ mbsource: t }), Z();
4775
+ this.$$set({ mbsource: t }), re();
4839
4776
  }
4840
4777
  }
4841
- Kr(os, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
4778
+ Fr(vo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4842
4779
  export {
4843
- os as C,
4844
- ei as S,
4845
- hs as _,
4846
- Ke as a,
4847
- fs as b,
4848
- qe as c,
4849
- Kr as d,
4850
- Dr as e,
4851
- Z as f,
4852
- ls as g,
4853
- se as h,
4854
- Qr as i,
4855
- K as j,
4856
- Yn as k,
4857
- Zn as l,
4858
- q as m,
4859
- ee as n,
4860
- Vr as o,
4861
- _e as p,
4862
- as as q,
4863
- te as r,
4864
- Jt as s,
4865
- Ee as t,
4866
- ne as u,
4867
- us as v,
4868
- bt as w,
4869
- st as x,
4870
- qn as y
4780
+ vo as C
4871
4781
  };