@everymatrix/cashier-verifications 1.65.3 → 1.66.1

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,17 +1,17 @@
1
- var Rr = Object.defineProperty, kr = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var Tt = Object.getOwnPropertySymbols;
4
- var Fr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var Ke = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
1
+ var Ur = Object.defineProperty, Fr = Object.defineProperties;
2
+ var Vr = Object.getOwnPropertyDescriptors;
3
+ var Ht = Object.getOwnPropertySymbols;
4
+ var Gr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
+ var et = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Fr.call(t, r) && Ke(e, r, t[r]);
8
- if (Tt)
9
- for (var r of Tt(t))
10
- Vr.call(t, r) && Ke(e, r, t[r]);
7
+ Gr.call(t, r) && et(e, r, t[r]);
8
+ if (Ht)
9
+ for (var r of Ht(t))
10
+ jr.call(t, r) && et(e, r, t[r]);
11
11
  return e;
12
- }, Pt = (e, t) => kr(e, Ur(t));
13
- var Y = (e, t, r) => (Ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ot = (e, t, r) => new Promise((i, n) => {
12
+ }, Pt = (e, t) => Fr(e, Vr(t));
13
+ var Z = (e, t, r) => (et(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var At = (e, t, r) => new Promise((i, n) => {
15
15
  var s = (o) => {
16
16
  try {
17
17
  l(r.next(o));
@@ -27,53 +27,53 @@ var Ot = (e, t, r) => new Promise((i, n) => {
27
27
  }, l = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(s, a);
28
28
  l((r = r.apply(e, t)).next());
29
29
  });
30
- function J() {
30
+ function ee() {
31
31
  }
32
- function tr(e) {
32
+ function rr(e) {
33
33
  return e();
34
34
  }
35
- function At() {
35
+ function $t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function Ne(e) {
39
- e.forEach(tr);
39
+ e.forEach(rr);
40
40
  }
41
- function vt(e) {
41
+ function yt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function rr(e, t) {
44
+ function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Ve;
48
- function cs(e, t) {
48
+ function ms(e, t) {
49
49
  return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
50
50
  }
51
- function Gr(e) {
51
+ function zr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function ir(e, ...t) {
54
+ function nr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const i of t)
57
57
  i(void 0);
58
- return J;
58
+ return ee;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function $t(e, t, r) {
64
- e.$$.on_destroy.push(ir(t, r));
63
+ function Bt(e, t, r) {
64
+ e.$$.on_destroy.push(nr(t, r));
65
65
  }
66
66
  function re(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function jr(e, t, r) {
70
- const i = zr(e);
69
+ function Xr(e, t, r) {
70
+ const i = Wr(e);
71
71
  if (!i.getElementById(t)) {
72
- const n = Z("style");
73
- n.id = t, n.textContent = r, Xr(i, n);
72
+ const n = J("style");
73
+ n.id = t, n.textContent = r, qr(i, n);
74
74
  }
75
75
  }
76
- function zr(e) {
76
+ function Wr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,59 +83,59 @@ function zr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Xr(e, t) {
86
+ function qr(e, t) {
87
87
  return re(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ae(e, t, r) {
93
+ function le(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function ie(e) {
96
+ function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Wr(e, t) {
99
+ function Yr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function Z(e) {
103
+ function J(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function ds(e) {
106
+ function ps(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function yt(e) {
109
+ function xt(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
112
  function Ee() {
113
- return yt(" ");
113
+ return xt(" ");
114
114
  }
115
- function ms() {
116
- return yt("");
115
+ function gs() {
116
+ return xt("");
117
117
  }
118
- function xt(e, t, r, i) {
118
+ function _t(e, t, r, i) {
119
119
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
120
120
  }
121
- function Q(e, t, r) {
121
+ function te(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
124
  function he(e, t, r) {
125
125
  const i = t.toLowerCase();
126
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Q(e, t, r);
126
+ 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);
127
127
  }
128
- function qr(e) {
128
+ function Zr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function Yr(e, t) {
131
+ function Jr(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
135
  function Se(e, t, r) {
136
136
  e.classList.toggle(t, !!r);
137
137
  }
138
- function Zr(e) {
138
+ function Qr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,27 +148,27 @@ let De;
148
148
  function Ce(e) {
149
149
  De = e;
150
150
  }
151
- function Jr() {
151
+ function Kr() {
152
152
  if (!De)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return De;
155
155
  }
156
- function ps(e) {
157
- Jr().$$.on_mount.push(e);
156
+ function vs(e) {
157
+ Kr().$$.on_mount.push(e);
158
158
  }
159
- const _e = [], at = [];
159
+ const _e = [], ut = [];
160
160
  let we = [];
161
- const Bt = [], Qr = /* @__PURE__ */ Promise.resolve();
162
- let ut = !1;
163
- function Kr() {
164
- ut || (ut = !0, Qr.then(te));
161
+ const Mt = [], ei = /* @__PURE__ */ Promise.resolve();
162
+ let lt = !1;
163
+ function ti() {
164
+ lt || (lt = !0, ei.then(K));
165
165
  }
166
- function lt(e) {
166
+ function ht(e) {
167
167
  we.push(e);
168
168
  }
169
- const et = /* @__PURE__ */ new Set();
169
+ const tt = /* @__PURE__ */ new Set();
170
170
  let ye = 0;
171
- function te() {
171
+ function K() {
172
172
  if (ye !== 0)
173
173
  return;
174
174
  const e = De;
@@ -176,56 +176,56 @@ function te() {
176
176
  try {
177
177
  for (; ye < _e.length; ) {
178
178
  const t = _e[ye];
179
- ye++, Ce(t), ei(t.$$);
179
+ ye++, Ce(t), ri(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw _e.length = 0, ye = 0, t;
183
183
  }
184
- for (Ce(null), _e.length = 0, ye = 0; at.length; )
185
- at.pop()();
184
+ for (Ce(null), _e.length = 0, ye = 0; ut.length; )
185
+ ut.pop()();
186
186
  for (let t = 0; t < we.length; t += 1) {
187
187
  const r = we[t];
188
- et.has(r) || (et.add(r), r());
188
+ tt.has(r) || (tt.add(r), r());
189
189
  }
190
190
  we.length = 0;
191
191
  } while (_e.length);
192
- for (; Bt.length; )
193
- Bt.pop()();
194
- ut = !1, et.clear(), Ce(e);
192
+ for (; Mt.length; )
193
+ Mt.pop()();
194
+ lt = !1, tt.clear(), Ce(e);
195
195
  }
196
- function ei(e) {
196
+ function ri(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), Ne(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
201
201
  }
202
202
  }
203
- function ti(e) {
203
+ function ii(e) {
204
204
  const t = [], r = [];
205
205
  we.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), we = t;
206
206
  }
207
- const ri = /* @__PURE__ */ new Set();
208
- function ii(e, t) {
209
- e && e.i && (ri.delete(e), e.i(t));
207
+ const ni = /* @__PURE__ */ new Set();
208
+ function si(e, t) {
209
+ e && e.i && (ni.delete(e), e.i(t));
210
210
  }
211
- function Mt(e) {
211
+ function Ct(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function ni(e, t, r) {
214
+ function oi(e, t, r) {
215
215
  const { fragment: i, after_update: n } = e.$$;
216
- i && i.m(t, r), lt(() => {
217
- const s = e.$$.on_mount.map(tr).filter(vt);
216
+ i && i.m(t, r), ht(() => {
217
+ const s = e.$$.on_mount.map(rr).filter(yt);
218
218
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
219
- }), n.forEach(lt);
219
+ }), n.forEach(ht);
220
220
  }
221
- function si(e, t) {
221
+ function ai(e, t) {
222
222
  const r = e.$$;
223
- r.fragment !== null && (ti(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
223
+ r.fragment !== null && (ii(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
224
  }
225
- function oi(e, t) {
226
- e.$$.dirty[0] === -1 && (_e.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function ui(e, t) {
226
+ e.$$.dirty[0] === -1 && (_e.push(e), ti(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function ai(e, t, r, i, n, s, a = null, l = [-1]) {
228
+ function li(e, t, r, i, n, s, a = null, l = [-1]) {
229
229
  const o = De;
230
230
  Ce(e);
231
231
  const u = e.$$ = {
@@ -233,9 +233,9 @@ function ai(e, t, r, i, n, s, a = null, l = [-1]) {
233
233
  ctx: [],
234
234
  // state
235
235
  props: s,
236
- update: J,
236
+ update: ee,
237
237
  not_equal: n,
238
- bound: At(),
238
+ bound: $t(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,48 +244,48 @@ function ai(e, t, r, i, n, s, a = null, l = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (o ? o.$$.context : [])),
246
246
  // everything else
247
- callbacks: At(),
247
+ callbacks: $t(),
248
248
  dirty: l,
249
249
  skip_bound: !1,
250
250
  root: t.target || o.$$.root
251
251
  };
252
252
  a && a(u.root);
253
253
  let h = !1;
254
- if (u.ctx = r ? r(e, t.props || {}, (d, p, ...x) => {
255
- const H = x.length ? x[0] : p;
256
- return u.ctx && n(u.ctx[d], u.ctx[d] = H) && (!u.skip_bound && u.bound[d] && u.bound[d](H), h && oi(e, d)), p;
254
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ...x) => {
255
+ const S = x.length ? x[0] : p;
256
+ return u.ctx && n(u.ctx[c], u.ctx[c] = S) && (!u.skip_bound && u.bound[c] && u.bound[c](S), h && ui(e, c)), p;
257
257
  }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const d = qr(t.target);
260
- u.fragment && u.fragment.l(d), d.forEach(ie);
259
+ const c = Zr(t.target);
260
+ u.fragment && u.fragment.l(c), c.forEach(ne);
261
261
  } else
262
262
  u.fragment && u.fragment.c();
263
- t.intro && ii(e.$$.fragment), ni(e, t.target, t.anchor), te();
263
+ t.intro && si(e.$$.fragment), oi(e, t.target, t.anchor), K();
264
264
  }
265
265
  Ce(o);
266
266
  }
267
- let nr;
268
- typeof HTMLElement == "function" && (nr = class extends HTMLElement {
267
+ let sr;
268
+ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
269
269
  constructor(t, r, i) {
270
270
  super();
271
271
  /** The Svelte component constructor */
272
- Y(this, "$$ctor");
272
+ Z(this, "$$ctor");
273
273
  /** Slots */
274
- Y(this, "$$s");
274
+ Z(this, "$$s");
275
275
  /** The Svelte component instance */
276
- Y(this, "$$c");
276
+ Z(this, "$$c");
277
277
  /** Whether or not the custom element is connected */
278
- Y(this, "$$cn", !1);
278
+ Z(this, "$$cn", !1);
279
279
  /** Component props data */
280
- Y(this, "$$d", {});
280
+ Z(this, "$$d", {});
281
281
  /** `true` if currently in the process of reflecting component props back to attributes */
282
- Y(this, "$$r", !1);
282
+ Z(this, "$$r", !1);
283
283
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
284
- Y(this, "$$p_d", {});
284
+ Z(this, "$$p_d", {});
285
285
  /** @type {Record<string, Function[]>} Event listeners */
286
- Y(this, "$$l", {});
286
+ Z(this, "$$l", {});
287
287
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
288
- Y(this, "$$l_u", /* @__PURE__ */ new Map());
288
+ Z(this, "$$l_u", /* @__PURE__ */ new Map());
289
289
  this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
290
290
  }
291
291
  addEventListener(t, r, i) {
@@ -302,31 +302,31 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return Ot(this, null, function* () {
305
+ return At(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(s) {
308
308
  return () => {
309
309
  let a;
310
310
  return {
311
311
  c: function() {
312
- a = Z("slot"), s !== "default" && Q(a, "name", s);
312
+ a = J("slot"), s !== "default" && te(a, "name", s);
313
313
  },
314
314
  /**
315
315
  * @param {HTMLElement} target
316
316
  * @param {HTMLElement} [anchor]
317
317
  */
318
318
  m: function(u, h) {
319
- ae(u, a, h);
319
+ le(u, a, h);
320
320
  },
321
321
  d: function(u) {
322
- u && ie(a);
322
+ u && ne(a);
323
323
  }
324
324
  };
325
325
  };
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const r = {}, i = Zr(this);
329
+ const r = {}, i = Qr(this);
330
330
  for (const s of this.$$s)
331
331
  s in i && (r[s] = [t(s)]);
332
332
  for (const s of this.attributes) {
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
337
337
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: Pt(Ht({}, this.$$d), {
340
+ props: Pt(Ot({}, this.$$d), {
341
341
  $$slots: r,
342
342
  $$scope: {
343
343
  ctx: []
@@ -415,8 +415,8 @@ function je(e, t, r, i) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function ui(e, t, r, i, n, s) {
419
- let a = class extends nr {
418
+ function hi(e, t, r, i, n, s) {
419
+ let a = class extends sr {
420
420
  constructor() {
421
421
  super(e, r, n), this.$$p_d = t;
422
422
  }
@@ -446,7 +446,7 @@ function ui(e, t, r, i, n, s) {
446
446
  }), e.element = /** @type {any} */
447
447
  a, a;
448
448
  }
449
- class li {
449
+ class fi {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -455,7 +455,7 @@ class li {
455
455
  *
456
456
  * @type {any}
457
457
  */
458
- Y(this, "$$");
458
+ Z(this, "$$");
459
459
  /**
460
460
  * ### PRIVATE API
461
461
  *
@@ -463,11 +463,11 @@ class li {
463
463
  *
464
464
  * @type {any}
465
465
  */
466
- Y(this, "$$set");
466
+ Z(this, "$$set");
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- si(this, 1), this.$destroy = J;
470
+ ai(this, 1), this.$destroy = ee;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -476,8 +476,8 @@ class li {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, r) {
479
- if (!vt(r))
480
- return J;
479
+ if (!yt(r))
480
+ return ee;
481
481
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return i.push(r), () => {
483
483
  const n = i.indexOf(r);
@@ -489,22 +489,22 @@ class li {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const hi = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hi);
495
+ const ci = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
497
497
  const xe = [];
498
- function fi(e, t) {
498
+ function di(e, t) {
499
499
  return {
500
500
  subscribe: Re(e, t).subscribe
501
501
  };
502
502
  }
503
- function Re(e, t = J) {
503
+ function Re(e, t = ee) {
504
504
  let r;
505
505
  const i = /* @__PURE__ */ new Set();
506
506
  function n(l) {
507
- if (rr(e, l) && (e = l, r)) {
507
+ if (ir(e, l) && (e = l, r)) {
508
508
  const o = !xe.length;
509
509
  for (const u of i)
510
510
  u[1](), xe.push(u, e);
@@ -518,9 +518,9 @@ function Re(e, t = J) {
518
518
  function s(l) {
519
519
  n(l(e));
520
520
  }
521
- function a(l, o = J) {
521
+ function a(l, o = ee) {
522
522
  const u = [l, o];
523
- return i.add(u), i.size === 1 && (r = t(n, s) || J), l(e), () => {
523
+ return i.add(u), i.size === 1 && (r = t(n, s) || ee), l(e), () => {
524
524
  i.delete(u), i.size === 0 && r && (r(), r = null);
525
525
  };
526
526
  }
@@ -531,97 +531,97 @@ function Ae(e, t, r) {
531
531
  if (!n.every(Boolean))
532
532
  throw new Error("derived() expects stores as input, got a falsy value");
533
533
  const s = t.length < 2;
534
- return fi(r, (a, l) => {
534
+ return di(r, (a, l) => {
535
535
  let o = !1;
536
536
  const u = [];
537
- let h = 0, d = J;
537
+ let h = 0, c = ee;
538
538
  const p = () => {
539
539
  if (h)
540
540
  return;
541
- d();
542
- const H = t(i ? u[0] : u, a, l);
543
- s ? a(H) : d = vt(H) ? H : J;
541
+ c();
542
+ const S = t(i ? u[0] : u, a, l);
543
+ s ? a(S) : c = yt(S) ? S : ee;
544
544
  }, x = n.map(
545
- (H, b) => ir(
546
- H,
547
- (B) => {
548
- u[b] = B, h &= ~(1 << b), o && p();
545
+ (S, v) => nr(
546
+ S,
547
+ (M) => {
548
+ u[v] = M, h &= ~(1 << v), o && p();
549
549
  },
550
550
  () => {
551
- h |= 1 << b;
551
+ h |= 1 << v;
552
552
  }
553
553
  )
554
554
  );
555
555
  return o = !0, p(), function() {
556
- Ne(x), d(), o = !1;
556
+ Ne(x), c(), o = !1;
557
557
  };
558
558
  });
559
559
  }
560
- var sr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
561
- function _t(e) {
560
+ var or = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
561
+ function Et(e) {
562
562
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
563
563
  }
564
- var ci = function(t) {
565
- return di(t) && !mi(t);
564
+ var mi = function(t) {
565
+ return pi(t) && !gi(t);
566
566
  };
567
- function di(e) {
567
+ function pi(e) {
568
568
  return !!e && typeof e == "object";
569
569
  }
570
- function mi(e) {
570
+ function gi(e) {
571
571
  var t = Object.prototype.toString.call(e);
572
- return t === "[object RegExp]" || t === "[object Date]" || bi(e);
572
+ return t === "[object RegExp]" || t === "[object Date]" || yi(e);
573
573
  }
574
- var pi = typeof Symbol == "function" && Symbol.for, gi = pi ? Symbol.for("react.element") : 60103;
575
- function bi(e) {
576
- return e.$$typeof === gi;
574
+ var vi = typeof Symbol == "function" && Symbol.for, bi = vi ? Symbol.for("react.element") : 60103;
575
+ function yi(e) {
576
+ return e.$$typeof === bi;
577
577
  }
578
- function vi(e) {
578
+ function xi(e) {
579
579
  return Array.isArray(e) ? [] : {};
580
580
  }
581
581
  function Le(e, t) {
582
- return t.clone !== !1 && t.isMergeableObject(e) ? Te(vi(e), e, t) : e;
582
+ return t.clone !== !1 && t.isMergeableObject(e) ? Te(xi(e), e, t) : e;
583
583
  }
584
- function yi(e, t, r) {
584
+ function _i(e, t, r) {
585
585
  return e.concat(t).map(function(i) {
586
586
  return Le(i, r);
587
587
  });
588
588
  }
589
- function xi(e, t) {
589
+ function Ei(e, t) {
590
590
  if (!t.customMerge)
591
591
  return Te;
592
592
  var r = t.customMerge(e);
593
593
  return typeof r == "function" ? r : Te;
594
594
  }
595
- function _i(e) {
595
+ function wi(e) {
596
596
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
597
597
  return Object.propertyIsEnumerable.call(e, t);
598
598
  }) : [];
599
599
  }
600
- function Ct(e) {
601
- return Object.keys(e).concat(_i(e));
600
+ function Dt(e) {
601
+ return Object.keys(e).concat(wi(e));
602
602
  }
603
- function or(e, t) {
603
+ function ar(e, t) {
604
604
  try {
605
605
  return t in e;
606
606
  } catch (r) {
607
607
  return !1;
608
608
  }
609
609
  }
610
- function Ei(e, t) {
611
- return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
610
+ function Si(e, t) {
611
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
612
  }
613
- function wi(e, t, r) {
613
+ function Ti(e, t, r) {
614
614
  var i = {};
615
- return r.isMergeableObject(e) && Ct(e).forEach(function(n) {
615
+ return r.isMergeableObject(e) && Dt(e).forEach(function(n) {
616
616
  i[n] = Le(e[n], r);
617
- }), Ct(t).forEach(function(n) {
618
- Ei(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = xi(n, r)(e[n], t[n], r) : i[n] = Le(t[n], r));
617
+ }), Dt(t).forEach(function(n) {
618
+ Si(e, n) || (ar(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ei(n, r)(e[n], t[n], r) : i[n] = Le(t[n], r));
619
619
  }), i;
620
620
  }
621
621
  function Te(e, t, r) {
622
- r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = Le;
622
+ r = r || {}, r.arrayMerge = r.arrayMerge || _i, r.isMergeableObject = r.isMergeableObject || mi, r.cloneUnlessOtherwiseSpecified = Le;
623
623
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
624
- return s ? i ? r.arrayMerge(e, t, r) : wi(e, t, r) : Le(t, r);
624
+ return s ? i ? r.arrayMerge(e, t, r) : Ti(e, t, r) : Le(t, r);
625
625
  }
626
626
  Te.all = function(t, r) {
627
627
  if (!Array.isArray(t))
@@ -630,50 +630,36 @@ Te.all = function(t, r) {
630
630
  return Te(i, n, r);
631
631
  }, {});
632
632
  };
633
- var Si = Te, Ti = Si;
634
- const Hi = /* @__PURE__ */ _t(Ti);
635
- /*! *****************************************************************************
636
- Copyright (c) Microsoft Corporation.
637
-
638
- Permission to use, copy, modify, and/or distribute this software for any
639
- purpose with or without fee is hereby granted.
640
-
641
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
642
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
643
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
644
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
645
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
646
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
647
- PERFORMANCE OF THIS SOFTWARE.
648
- ***************************************************************************** */
649
- var ht = function(e, t) {
650
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
633
+ var Hi = Te, Oi = Hi;
634
+ const Pi = /* @__PURE__ */ Et(Oi);
635
+ var ft = function(e, t) {
636
+ return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
651
637
  r.__proto__ = i;
652
638
  } || function(r, i) {
653
639
  for (var n in i)
654
640
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
655
- }, ht(e, t);
641
+ }, ft(e, t);
656
642
  };
657
- function Ze(e, t) {
643
+ function Je(e, t) {
658
644
  if (typeof t != "function" && t !== null)
659
645
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
660
- ht(e, t);
646
+ ft(e, t);
661
647
  function r() {
662
648
  this.constructor = e;
663
649
  }
664
650
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
665
651
  }
666
- var O = function() {
667
- return O = Object.assign || function(t) {
652
+ var ie = function() {
653
+ return ie = Object.assign || function(t) {
668
654
  for (var r, i = 1, n = arguments.length; i < n; i++) {
669
655
  r = arguments[i];
670
656
  for (var s in r)
671
657
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
672
658
  }
673
659
  return t;
674
- }, O.apply(this, arguments);
660
+ }, ie.apply(this, arguments);
675
661
  };
676
- function Pi(e, t) {
662
+ function Ai(e, t) {
677
663
  var r = {};
678
664
  for (var i in e)
679
665
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -682,46 +668,43 @@ function Pi(e, t) {
682
668
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
683
669
  return r;
684
670
  }
685
- function tt(e, t, r) {
686
- if (arguments.length === 2)
671
+ function rt(e, t, r) {
672
+ if (r || arguments.length === 2)
687
673
  for (var i = 0, n = t.length, s; i < n; i++)
688
674
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
689
- return e.concat(s || t);
675
+ return e.concat(s || Array.prototype.slice.call(t));
690
676
  }
691
- function rt(e, t) {
692
- var r = t && t.cache ? t.cache : Di, i = t && t.serializer ? t.serializer : Mi, n = t && t.strategy ? t.strategy : Ai;
677
+ function it(e, t) {
678
+ var r = t && t.cache ? t.cache : Ii, i = t && t.serializer ? t.serializer : Di, n = t && t.strategy ? t.strategy : Mi;
693
679
  return n(e, {
694
680
  cache: r,
695
681
  serializer: i
696
682
  });
697
683
  }
698
- function Oi(e) {
684
+ function $i(e) {
699
685
  return e == null || typeof e == "number" || typeof e == "boolean";
700
686
  }
701
- function ar(e, t, r, i) {
702
- var n = Oi(i) ? i : r(i), s = t.get(n);
687
+ function Bi(e, t, r, i) {
688
+ var n = $i(i) ? i : r(i), s = t.get(n);
703
689
  return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
704
690
  }
705
691
  function ur(e, t, r) {
706
692
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
707
693
  return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
708
694
  }
709
- function Et(e, t, r, i, n) {
695
+ function lr(e, t, r, i, n) {
710
696
  return r.bind(t, e, i, n);
711
697
  }
712
- function Ai(e, t) {
713
- var r = e.length === 1 ? ar : ur;
714
- return Et(e, this, r, t.cache.create(), t.serializer);
715
- }
716
- function $i(e, t) {
717
- return Et(e, this, ur, t.cache.create(), t.serializer);
698
+ function Mi(e, t) {
699
+ var r = e.length === 1 ? Bi : ur;
700
+ return lr(e, this, r, t.cache.create(), t.serializer);
718
701
  }
719
- function Bi(e, t) {
720
- return Et(e, this, ar, t.cache.create(), t.serializer);
702
+ function Ci(e, t) {
703
+ return lr(e, this, ur, t.cache.create(), t.serializer);
721
704
  }
722
- var Mi = function() {
705
+ var Di = function() {
723
706
  return JSON.stringify(arguments);
724
- }, Ci = (
707
+ }, Li = (
725
708
  /** @class */
726
709
  function() {
727
710
  function e() {
@@ -733,17 +716,26 @@ var Mi = function() {
733
716
  this.cache[t] = r;
734
717
  }, e;
735
718
  }()
736
- ), Di = {
719
+ ), Ii = {
737
720
  create: function() {
738
- return new Ci();
721
+ return new Li();
739
722
  }
740
- }, it = {
741
- variadic: $i,
742
- monadic: Bi
743
- }, T;
723
+ }, nt = {
724
+ variadic: Ci
725
+ }, We = function() {
726
+ return We = Object.assign || function(t) {
727
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
728
+ r = arguments[i];
729
+ for (var s in r)
730
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
731
+ }
732
+ return t;
733
+ }, We.apply(this, arguments);
734
+ };
735
+ var H;
744
736
  (function(e) {
745
737
  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";
746
- })(T || (T = {}));
738
+ })(H || (H = {}));
747
739
  var D;
748
740
  (function(e) {
749
741
  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";
@@ -752,43 +744,43 @@ var He;
752
744
  (function(e) {
753
745
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
754
746
  })(He || (He = {}));
755
- function Dt(e) {
747
+ function Lt(e) {
756
748
  return e.type === D.literal;
757
749
  }
758
- function Li(e) {
750
+ function Ni(e) {
759
751
  return e.type === D.argument;
760
752
  }
761
- function lr(e) {
753
+ function hr(e) {
762
754
  return e.type === D.number;
763
755
  }
764
- function hr(e) {
756
+ function fr(e) {
765
757
  return e.type === D.date;
766
758
  }
767
- function fr(e) {
759
+ function cr(e) {
768
760
  return e.type === D.time;
769
761
  }
770
- function cr(e) {
762
+ function dr(e) {
771
763
  return e.type === D.select;
772
764
  }
773
- function dr(e) {
765
+ function mr(e) {
774
766
  return e.type === D.plural;
775
767
  }
776
- function Ii(e) {
768
+ function Ri(e) {
777
769
  return e.type === D.pound;
778
770
  }
779
- function mr(e) {
771
+ function pr(e) {
780
772
  return e.type === D.tag;
781
773
  }
782
- function pr(e) {
774
+ function gr(e) {
783
775
  return !!(e && typeof e == "object" && e.type === He.number);
784
776
  }
785
- function ft(e) {
777
+ function ct(e) {
786
778
  return !!(e && typeof e == "object" && e.type === He.dateTime);
787
779
  }
788
- var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[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;
789
- function Ri(e) {
780
+ var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
781
+ function Ui(e) {
790
782
  var t = {};
791
- return e.replace(Ni, function(r) {
783
+ return e.replace(ki, function(r) {
792
784
  var i = r.length;
793
785
  switch (r[0]) {
794
786
  case "G":
@@ -877,36 +869,46 @@ function Ri(e) {
877
869
  return "";
878
870
  }), t;
879
871
  }
880
- var ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
- function Ui(e) {
872
+ var L = function() {
873
+ return L = Object.assign || function(t) {
874
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
875
+ r = arguments[i];
876
+ for (var s in r)
877
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
878
+ }
879
+ return t;
880
+ }, L.apply(this, arguments);
881
+ };
882
+ var Fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
883
+ function Vi(e) {
882
884
  if (e.length === 0)
883
885
  throw new Error("Number skeleton cannot be empty");
884
- for (var t = e.split(ki).filter(function(p) {
886
+ for (var t = e.split(Fi).filter(function(p) {
885
887
  return p.length > 0;
886
888
  }), r = [], i = 0, n = t; i < n.length; i++) {
887
889
  var s = n[i], a = s.split("/");
888
890
  if (a.length === 0)
889
891
  throw new Error("Invalid number skeleton");
890
892
  for (var l = a[0], o = a.slice(1), u = 0, h = o; u < h.length; u++) {
891
- var d = h[u];
892
- if (d.length === 0)
893
+ var c = h[u];
894
+ if (c.length === 0)
893
895
  throw new Error("Invalid number skeleton");
894
896
  }
895
897
  r.push({ stem: l, options: o });
896
898
  }
897
899
  return r;
898
900
  }
899
- function Fi(e) {
901
+ function Gi(e) {
900
902
  return e.replace(/^(.*?)-/, "");
901
903
  }
902
- var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, Vi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
903
- function It(e) {
904
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ji = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
905
+ function Nt(e) {
904
906
  var t = {};
905
907
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, i, n) {
906
908
  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)), "";
907
909
  }), t;
908
910
  }
909
- function yr(e) {
911
+ function xr(e) {
910
912
  switch (e) {
911
913
  case "sign-auto":
912
914
  return {
@@ -946,7 +948,7 @@ function yr(e) {
946
948
  };
947
949
  }
948
950
  }
949
- function Gi(e) {
951
+ function zi(e) {
950
952
  var t;
951
953
  if (e[0] === "E" && e[1] === "E" ? (t = {
952
954
  notation: "engineering"
@@ -954,17 +956,17 @@ function Gi(e) {
954
956
  notation: "scientific"
955
957
  }, e = e.slice(1)), t) {
956
958
  var r = e.slice(0, 2);
957
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
959
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
958
960
  throw new Error("Malformed concise eng/scientific notation");
959
961
  t.minimumIntegerDigits = e.length;
960
962
  }
961
963
  return t;
962
964
  }
963
- function Nt(e) {
964
- var t = {}, r = yr(e);
965
+ function Rt(e) {
966
+ var t = {}, r = xr(e);
965
967
  return r || t;
966
968
  }
967
- function ji(e) {
969
+ function Xi(e) {
968
970
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
969
971
  var n = i[r];
970
972
  switch (n.stem) {
@@ -988,7 +990,7 @@ function ji(e) {
988
990
  continue;
989
991
  case "measure-unit":
990
992
  case "unit":
991
- t.style = "unit", t.unit = Fi(n.options[0]);
993
+ t.style = "unit", t.unit = Gi(n.options[0]);
992
994
  continue;
993
995
  case "compact-short":
994
996
  case "K":
@@ -999,13 +1001,13 @@ function ji(e) {
999
1001
  t.notation = "compact", t.compactDisplay = "long";
1000
1002
  continue;
1001
1003
  case "scientific":
1002
- t = O(O(O({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
1003
- return O(O({}, o), Nt(u));
1004
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
1005
+ return L(L({}, o), Rt(u));
1004
1006
  }, {}));
1005
1007
  continue;
1006
1008
  case "engineering":
1007
- t = O(O(O({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
1008
- return O(O({}, o), Nt(u));
1009
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
1010
+ return L(L({}, o), Rt(u));
1009
1011
  }, {}));
1010
1012
  continue;
1011
1013
  case "notation-simple":
@@ -1050,11 +1052,11 @@ function ji(e) {
1050
1052
  case "integer-width":
1051
1053
  if (n.options.length > 1)
1052
1054
  throw new RangeError("integer-width stems only accept a single optional option");
1053
- n.options[0].replace(Vi, function(o, u, h, d, p, x) {
1055
+ n.options[0].replace(ji, function(o, u, h, c, p, x) {
1054
1056
  if (u)
1055
1057
  t.minimumIntegerDigits = h.length;
1056
1058
  else {
1057
- if (d && p)
1059
+ if (c && p)
1058
1060
  throw new Error("We currently do not support maximum integer digits");
1059
1061
  if (x)
1060
1062
  throw new Error("We currently do not support exact integer digits");
@@ -1063,28 +1065,28 @@ function ji(e) {
1063
1065
  });
1064
1066
  continue;
1065
1067
  }
1066
- if (vr.test(n.stem)) {
1068
+ if (yr.test(n.stem)) {
1067
1069
  t.minimumIntegerDigits = n.stem.length;
1068
1070
  continue;
1069
1071
  }
1070
- if (Lt.test(n.stem)) {
1072
+ if (It.test(n.stem)) {
1071
1073
  if (n.options.length > 1)
1072
1074
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1073
- n.stem.replace(Lt, function(o, u, h, d, p, x) {
1074
- return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1075
+ n.stem.replace(It, function(o, u, h, c, p, x) {
1076
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1075
1077
  });
1076
1078
  var s = n.options[0];
1077
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), It(s)));
1079
+ s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Nt(s)));
1078
1080
  continue;
1079
1081
  }
1080
1082
  if (br.test(n.stem)) {
1081
- t = O(O({}, t), It(n.stem));
1083
+ t = L(L({}, t), Nt(n.stem));
1082
1084
  continue;
1083
1085
  }
1084
- var a = yr(n.stem);
1085
- a && (t = O(O({}, t), a));
1086
- var l = Gi(n.stem);
1087
- l && (t = O(O({}, t), l));
1086
+ var a = xr(n.stem);
1087
+ a && (t = L(L({}, t), a));
1088
+ var l = zi(n.stem);
1089
+ l && (t = L(L({}, t), l));
1088
1090
  }
1089
1091
  return t;
1090
1092
  }
@@ -2503,13 +2505,13 @@ var Ge = {
2503
2505
  "h"
2504
2506
  ]
2505
2507
  };
2506
- function zi(e, t) {
2508
+ function Wi(e, t) {
2507
2509
  for (var r = "", i = 0; i < e.length; i++) {
2508
2510
  var n = e.charAt(i);
2509
2511
  if (n === "j") {
2510
2512
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2511
2513
  s++, i++;
2512
- var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Xi(t);
2514
+ var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = qi(t);
2513
2515
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2514
2516
  r += o;
2515
2517
  for (; a-- > 0; )
@@ -2519,7 +2521,7 @@ function zi(e, t) {
2519
2521
  }
2520
2522
  return r;
2521
2523
  }
2522
- function Xi(e) {
2524
+ function qi(e) {
2523
2525
  var t = e.hourCycle;
2524
2526
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2525
2527
  e.hourCycles && // @ts-ignore
@@ -2541,20 +2543,20 @@ function Xi(e) {
2541
2543
  var n = Ge[i || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
2542
2544
  return n[0];
2543
2545
  }
2544
- var nt, Wi = new RegExp("^".concat(gr.source, "*")), qi = new RegExp("".concat(gr.source, "*$"));
2546
+ var st, Yi = new RegExp("^".concat(vr.source, "*")), Zi = new RegExp("".concat(vr.source, "*$"));
2545
2547
  function P(e, t) {
2546
2548
  return { start: e, end: t };
2547
2549
  }
2548
- var Yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zi = !!String.fromCodePoint, Ji = !!Object.fromEntries, Qi = !!String.prototype.codePointAt, Ki = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
2550
+ var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qi = !!String.fromCodePoint, Ki = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2549
2551
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
- }, ct = !0;
2552
+ }, dt = !0;
2551
2553
  try {
2552
- var nn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
- ct = ((nt = nn.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2554
+ var on = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2555
+ dt = ((st = on.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2554
2556
  } catch (e) {
2555
- ct = !1;
2557
+ dt = !1;
2556
2558
  }
2557
- var Rt = Yi ? (
2559
+ var kt = Ji ? (
2558
2560
  // Native
2559
2561
  function(t, r, i) {
2560
2562
  return t.startsWith(r, i);
@@ -2564,7 +2566,7 @@ var Rt = Yi ? (
2564
2566
  function(t, r, i) {
2565
2567
  return t.slice(i, i + r.length) === r;
2566
2568
  }
2567
- ), dt = Zi ? String.fromCodePoint : (
2569
+ ), mt = Qi ? String.fromCodePoint : (
2568
2570
  // IE11
2569
2571
  function() {
2570
2572
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2576,9 +2578,9 @@ var Rt = Yi ? (
2576
2578
  }
2577
2579
  return i;
2578
2580
  }
2579
- ), kt = (
2581
+ ), Ut = (
2580
2582
  // native
2581
- Ji ? Object.fromEntries : (
2583
+ Ki ? Object.fromEntries : (
2582
2584
  // Ponyfill
2583
2585
  function(t) {
2584
2586
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2588,7 +2590,7 @@ var Rt = Yi ? (
2588
2590
  return r;
2589
2591
  }
2590
2592
  )
2591
- ), xr = Qi ? (
2593
+ ), _r = en ? (
2592
2594
  // Native
2593
2595
  function(t, r) {
2594
2596
  return t.codePointAt(r);
@@ -2602,7 +2604,7 @@ var Rt = Yi ? (
2602
2604
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2603
2605
  }
2604
2606
  }
2605
- ), sn = Ki ? (
2607
+ ), an = tn ? (
2606
2608
  // Native
2607
2609
  function(t) {
2608
2610
  return t.trimStart();
@@ -2610,9 +2612,9 @@ var Rt = Yi ? (
2610
2612
  ) : (
2611
2613
  // Ponyfill
2612
2614
  function(t) {
2613
- return t.replace(Wi, "");
2615
+ return t.replace(Yi, "");
2614
2616
  }
2615
- ), on = en ? (
2617
+ ), un = rn ? (
2616
2618
  // Native
2617
2619
  function(t) {
2618
2620
  return t.trimEnd();
@@ -2620,32 +2622,32 @@ var Rt = Yi ? (
2620
2622
  ) : (
2621
2623
  // Ponyfill
2622
2624
  function(t) {
2623
- return t.replace(qi, "");
2625
+ return t.replace(Zi, "");
2624
2626
  }
2625
2627
  );
2626
- function _r(e, t) {
2628
+ function Er(e, t) {
2627
2629
  return new RegExp(e, t);
2628
2630
  }
2629
- var mt;
2630
- if (ct) {
2631
- var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
- mt = function(t, r) {
2631
+ var pt;
2632
+ if (dt) {
2633
+ var Ft = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2634
+ pt = function(t, r) {
2633
2635
  var i;
2634
- Ut.lastIndex = r;
2635
- var n = Ut.exec(t);
2636
+ Ft.lastIndex = r;
2637
+ var n = Ft.exec(t);
2636
2638
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2637
2639
  };
2638
2640
  } else
2639
- mt = function(t, r) {
2641
+ pt = function(t, r) {
2640
2642
  for (var i = []; ; ) {
2641
- var n = xr(t, r);
2642
- if (n === void 0 || Er(n) || hn(n))
2643
+ var n = _r(t, r);
2644
+ if (n === void 0 || wr(n) || cn(n))
2643
2645
  break;
2644
2646
  i.push(n), r += n >= 65536 ? 2 : 1;
2645
2647
  }
2646
- return dt.apply(void 0, i);
2648
+ return mt.apply(void 0, i);
2647
2649
  };
2648
- var an = (
2650
+ var ln = (
2649
2651
  /** @class */
2650
2652
  function() {
2651
2653
  function e(t, r) {
@@ -2675,8 +2677,8 @@ var an = (
2675
2677
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2676
2678
  if (i)
2677
2679
  break;
2678
- return this.error(T.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2679
- } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2680
+ return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2681
+ } else if (s === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
2680
2682
  var a = this.parseTag(t, r);
2681
2683
  if (a.err)
2682
2684
  return a;
@@ -2709,10 +2711,10 @@ var an = (
2709
2711
  return s;
2710
2712
  var a = s.val, l = this.clonePosition();
2711
2713
  if (this.bumpIf("</")) {
2712
- if (this.isEOF() || !pt(this.char()))
2713
- return this.error(T.INVALID_TAG, P(l, this.clonePosition()));
2714
+ if (this.isEOF() || !gt(this.char()))
2715
+ return this.error(H.INVALID_TAG, P(l, this.clonePosition()));
2714
2716
  var o = this.clonePosition(), u = this.parseTagName();
2715
- return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2717
+ return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2716
2718
  val: {
2717
2719
  type: D.tag,
2718
2720
  value: n,
@@ -2720,14 +2722,14 @@ var an = (
2720
2722
  location: P(i, this.clonePosition())
2721
2723
  },
2722
2724
  err: null
2723
- } : this.error(T.INVALID_TAG, P(l, this.clonePosition())));
2725
+ } : this.error(H.INVALID_TAG, P(l, this.clonePosition())));
2724
2726
  } else
2725
- return this.error(T.UNCLOSED_TAG, P(i, this.clonePosition()));
2727
+ return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2726
2728
  } else
2727
- return this.error(T.INVALID_TAG, P(i, this.clonePosition()));
2729
+ return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2728
2730
  }, e.prototype.parseTagName = function() {
2729
2731
  var t = this.offset();
2730
- for (this.bump(); !this.isEOF() && ln(this.char()); )
2732
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2731
2733
  this.bump();
2732
2734
  return this.message.slice(t, this.offset());
2733
2735
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2756,7 +2758,7 @@ var an = (
2756
2758
  };
2757
2759
  }, e.prototype.tryParseLeftAngleBracket = function() {
2758
2760
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2759
- !un(this.peek() || 0)) ? (this.bump(), "<") : null;
2761
+ !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
2762
  }, e.prototype.tryParseQuote = function(t) {
2761
2763
  if (this.isEOF() || this.char() !== 39)
2762
2764
  return null;
@@ -2790,23 +2792,23 @@ var an = (
2790
2792
  r.push(i);
2791
2793
  this.bump();
2792
2794
  }
2793
- return dt.apply(void 0, r);
2795
+ return mt.apply(void 0, r);
2794
2796
  }, e.prototype.tryParseUnquoted = function(t, r) {
2795
2797
  if (this.isEOF())
2796
2798
  return null;
2797
2799
  var i = this.char();
2798
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2800
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), mt(i));
2799
2801
  }, e.prototype.parseArgument = function(t, r) {
2800
2802
  var i = this.clonePosition();
2801
2803
  if (this.bump(), this.bumpSpace(), this.isEOF())
2802
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2804
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2803
2805
  if (this.char() === 125)
2804
- return this.bump(), this.error(T.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2806
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2805
2807
  var n = this.parseIdentifierIfPossible().value;
2806
2808
  if (!n)
2807
- return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2809
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2808
2810
  if (this.bumpSpace(), this.isEOF())
2809
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2811
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2810
2812
  switch (this.char()) {
2811
2813
  case 125:
2812
2814
  return this.bump(), {
@@ -2819,12 +2821,12 @@ var an = (
2819
2821
  err: null
2820
2822
  };
2821
2823
  case 44:
2822
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2824
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2823
2825
  default:
2824
- return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2826
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2825
2827
  }
2826
2828
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
- var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2829
+ var t = this.clonePosition(), r = this.offset(), i = pt(this.message, r), n = r + i.length;
2828
2830
  this.bumpTo(n);
2829
2831
  var s = this.clonePosition(), a = P(t, s);
2830
2832
  return { value: i, location: a };
@@ -2832,7 +2834,7 @@ var an = (
2832
2834
  var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2833
2835
  switch (l) {
2834
2836
  case "":
2835
- return this.error(T.EXPECT_ARGUMENT_TYPE, P(a, o));
2837
+ return this.error(H.EXPECT_ARGUMENT_TYPE, P(a, o));
2836
2838
  case "number":
2837
2839
  case "date":
2838
2840
  case "time": {
@@ -2840,40 +2842,40 @@ var an = (
2840
2842
  var u = null;
2841
2843
  if (this.bumpIf(",")) {
2842
2844
  this.bumpSpace();
2843
- var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2844
- if (d.err)
2845
- return d;
2846
- var p = on(d.val);
2845
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2846
+ if (c.err)
2847
+ return c;
2848
+ var p = un(c.val);
2847
2849
  if (p.length === 0)
2848
- return this.error(T.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2850
+ return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2849
2851
  var x = P(h, this.clonePosition());
2850
2852
  u = { style: p, styleLocation: x };
2851
2853
  }
2852
- var H = this.tryParseArgumentClose(n);
2853
- if (H.err)
2854
- return H;
2855
- var b = P(n, this.clonePosition());
2856
- if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2857
- var B = sn(u.style.slice(2));
2854
+ var S = this.tryParseArgumentClose(n);
2855
+ if (S.err)
2856
+ return S;
2857
+ var v = P(n, this.clonePosition());
2858
+ if (u && kt(u == null ? void 0 : u.style, "::", 0)) {
2859
+ var M = an(u.style.slice(2));
2858
2860
  if (l === "number") {
2859
- var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
2860
- return d.err ? d : {
2861
- val: { type: D.number, value: i, location: b, style: d.val },
2861
+ var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2862
+ return c.err ? c : {
2863
+ val: { type: D.number, value: i, location: v, style: c.val },
2862
2864
  err: null
2863
2865
  };
2864
2866
  } else {
2865
- if (B.length === 0)
2866
- return this.error(T.EXPECT_DATE_TIME_SKELETON, b);
2867
- var U = B;
2868
- this.locale && (U = zi(B, this.locale));
2867
+ if (M.length === 0)
2868
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2869
+ var U = M;
2870
+ this.locale && (U = Wi(M, this.locale));
2869
2871
  var p = {
2870
2872
  type: He.dateTime,
2871
2873
  pattern: U,
2872
2874
  location: u.styleLocation,
2873
- parsedOptions: this.shouldParseSkeletons ? Ri(U) : {}
2874
- }, F = l === "date" ? D.date : D.time;
2875
+ parsedOptions: this.shouldParseSkeletons ? Ui(U) : {}
2876
+ }, R = l === "date" ? D.date : D.time;
2875
2877
  return {
2876
- val: { type: F, value: i, location: b, style: p },
2878
+ val: { type: R, value: i, location: v, style: p },
2877
2879
  err: null
2878
2880
  };
2879
2881
  }
@@ -2882,7 +2884,7 @@ var an = (
2882
2884
  val: {
2883
2885
  type: l === "number" ? D.number : l === "date" ? D.date : D.time,
2884
2886
  value: i,
2885
- location: b,
2887
+ location: v,
2886
2888
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2887
2889
  },
2888
2890
  err: null
@@ -2891,52 +2893,52 @@ var an = (
2891
2893
  case "plural":
2892
2894
  case "selectordinal":
2893
2895
  case "select": {
2894
- var M = this.clonePosition();
2896
+ var $ = this.clonePosition();
2895
2897
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, P(M, O({}, M)));
2898
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P($, We({}, $)));
2897
2899
  this.bumpSpace();
2898
- var q = this.parseIdentifierIfPossible(), N = 0;
2899
- if (l !== "select" && q.value === "offset") {
2900
+ var z = this.parseIdentifierIfPossible(), I = 0;
2901
+ if (l !== "select" && z.value === "offset") {
2900
2902
  if (!this.bumpIf(":"))
2901
- return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2903
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2902
2904
  this.bumpSpace();
2903
- var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2904
- if (d.err)
2905
- return d;
2906
- this.bumpSpace(), q = this.parseIdentifierIfPossible(), N = d.val;
2905
+ var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2906
+ if (c.err)
2907
+ return c;
2908
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
2907
2909
  }
2908
- var k = this.tryParsePluralOrSelectOptions(t, l, r, q);
2910
+ var k = this.tryParsePluralOrSelectOptions(t, l, r, z);
2909
2911
  if (k.err)
2910
2912
  return k;
2911
- var H = this.tryParseArgumentClose(n);
2912
- if (H.err)
2913
- return H;
2914
- var z = P(n, this.clonePosition());
2913
+ var S = this.tryParseArgumentClose(n);
2914
+ if (S.err)
2915
+ return S;
2916
+ var W = P(n, this.clonePosition());
2915
2917
  return l === "select" ? {
2916
2918
  val: {
2917
2919
  type: D.select,
2918
2920
  value: i,
2919
- options: kt(k.val),
2920
- location: z
2921
+ options: Ut(k.val),
2922
+ location: W
2921
2923
  },
2922
2924
  err: null
2923
2925
  } : {
2924
2926
  val: {
2925
2927
  type: D.plural,
2926
2928
  value: i,
2927
- options: kt(k.val),
2928
- offset: N,
2929
+ options: Ut(k.val),
2930
+ offset: I,
2929
2931
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2930
- location: z
2932
+ location: W
2931
2933
  },
2932
2934
  err: null
2933
2935
  };
2934
2936
  }
2935
2937
  default:
2936
- return this.error(T.INVALID_ARGUMENT_TYPE, P(a, o));
2938
+ return this.error(H.INVALID_ARGUMENT_TYPE, P(a, o));
2937
2939
  }
2938
2940
  }, e.prototype.tryParseArgumentClose = function(t) {
2939
- return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2941
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2940
2942
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2941
2943
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2942
2944
  var i = this.char();
@@ -2945,7 +2947,7 @@ var an = (
2945
2947
  this.bump();
2946
2948
  var n = this.clonePosition();
2947
2949
  if (!this.bumpUntil("'"))
2948
- return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2950
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2949
2951
  this.bump();
2950
2952
  break;
2951
2953
  }
@@ -2975,52 +2977,52 @@ var an = (
2975
2977
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2976
2978
  var i = [];
2977
2979
  try {
2978
- i = Ui(t);
2980
+ i = Vi(t);
2979
2981
  } catch (n) {
2980
- return this.error(T.INVALID_NUMBER_SKELETON, r);
2982
+ return this.error(H.INVALID_NUMBER_SKELETON, r);
2981
2983
  }
2982
2984
  return {
2983
2985
  val: {
2984
2986
  type: He.number,
2985
2987
  tokens: i,
2986
2988
  location: r,
2987
- parsedOptions: this.shouldParseSkeletons ? ji(i) : {}
2989
+ parsedOptions: this.shouldParseSkeletons ? Xi(i) : {}
2988
2990
  },
2989
2991
  err: null
2990
2992
  };
2991
2993
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2992
2994
  for (var s, a = !1, l = [], o = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
2993
2995
  if (u.length === 0) {
2994
- var d = this.clonePosition();
2996
+ var c = this.clonePosition();
2995
2997
  if (r !== "select" && this.bumpIf("=")) {
2996
- var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
2998
+ var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2997
2999
  if (p.err)
2998
3000
  return p;
2999
- h = P(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3001
+ h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3000
3002
  } else
3001
3003
  break;
3002
3004
  }
3003
3005
  if (o.has(u))
3004
- return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3006
+ return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3005
3007
  u === "other" && (a = !0), this.bumpSpace();
3006
3008
  var x = this.clonePosition();
3007
3009
  if (!this.bumpIf("{"))
3008
- return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
3009
- var H = this.parseMessage(t + 1, r, i);
3010
- if (H.err)
3011
- return H;
3012
- var b = this.tryParseArgumentClose(x);
3013
- if (b.err)
3014
- return b;
3010
+ return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
3011
+ var S = this.parseMessage(t + 1, r, i);
3012
+ if (S.err)
3013
+ return S;
3014
+ var v = this.tryParseArgumentClose(x);
3015
+ if (v.err)
3016
+ return v;
3015
3017
  l.push([
3016
3018
  u,
3017
3019
  {
3018
- value: H.val,
3020
+ value: S.val,
3019
3021
  location: P(x, this.clonePosition())
3020
3022
  }
3021
3023
  ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3022
3024
  }
3023
- return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3025
+ return l.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3024
3026
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3025
3027
  var i = 1, n = this.clonePosition();
3026
3028
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3032,7 +3034,7 @@ var an = (
3032
3034
  break;
3033
3035
  }
3034
3036
  var o = P(n, this.clonePosition());
3035
- return s ? (a *= i, rn(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3037
+ return s ? (a *= i, sn(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3036
3038
  }, e.prototype.offset = function() {
3037
3039
  return this.position.offset;
3038
3040
  }, e.prototype.isEOF = function() {
@@ -3047,7 +3049,7 @@ var an = (
3047
3049
  var t = this.position.offset;
3048
3050
  if (t >= this.message.length)
3049
3051
  throw Error("out of bound");
3050
- var r = xr(this.message, t);
3052
+ var r = _r(this.message, t);
3051
3053
  if (r === void 0)
3052
3054
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3053
3055
  return r;
@@ -3066,7 +3068,7 @@ var an = (
3066
3068
  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);
3067
3069
  }
3068
3070
  }, e.prototype.bumpIf = function(t) {
3069
- if (Rt(this.message, t, this.offset())) {
3071
+ if (kt(this.message, t, this.offset())) {
3070
3072
  for (var r = 0; r < t.length; r++)
3071
3073
  this.bump();
3072
3074
  return !0;
@@ -3088,7 +3090,7 @@ var an = (
3088
3090
  break;
3089
3091
  }
3090
3092
  }, e.prototype.bumpSpace = function() {
3091
- for (; !this.isEOF() && Er(this.char()); )
3093
+ for (; !this.isEOF() && wr(this.char()); )
3092
3094
  this.bump();
3093
3095
  }, e.prototype.peek = function() {
3094
3096
  if (this.isEOF())
@@ -3098,47 +3100,47 @@ var an = (
3098
3100
  }, e;
3099
3101
  }()
3100
3102
  );
3101
- function pt(e) {
3103
+ function gt(e) {
3102
3104
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3103
3105
  }
3104
- function un(e) {
3105
- return pt(e) || e === 47;
3106
+ function hn(e) {
3107
+ return gt(e) || e === 47;
3106
3108
  }
3107
- function ln(e) {
3109
+ function fn(e) {
3108
3110
  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;
3109
3111
  }
3110
- function Er(e) {
3112
+ function wr(e) {
3111
3113
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3114
  }
3113
- function hn(e) {
3115
+ function cn(e) {
3114
3116
  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;
3115
3117
  }
3116
- function gt(e) {
3118
+ function vt(e) {
3117
3119
  e.forEach(function(t) {
3118
- if (delete t.location, cr(t) || dr(t))
3120
+ if (delete t.location, dr(t) || mr(t))
3119
3121
  for (var r in t.options)
3120
- delete t.options[r].location, gt(t.options[r].value);
3122
+ delete t.options[r].location, vt(t.options[r].value);
3121
3123
  else
3122
- lr(t) && pr(t.style) || (hr(t) || fr(t)) && ft(t.style) ? delete t.style.location : mr(t) && gt(t.children);
3124
+ hr(t) && gr(t.style) || (fr(t) || cr(t)) && ct(t.style) ? delete t.style.location : pr(t) && vt(t.children);
3123
3125
  });
3124
3126
  }
3125
- function fn(e, t) {
3126
- t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
- var r = new an(e, t).parse();
3127
+ function dn(e, t) {
3128
+ t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3129
+ var r = new ln(e, t).parse();
3128
3130
  if (r.err) {
3129
- var i = SyntaxError(T[r.err.kind]);
3131
+ var i = SyntaxError(H[r.err.kind]);
3130
3132
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3131
3133
  }
3132
- return t != null && t.captureLocation || gt(r.val), r.val;
3134
+ return t != null && t.captureLocation || vt(r.val), r.val;
3133
3135
  }
3134
- var Pe;
3136
+ var Oe;
3135
3137
  (function(e) {
3136
3138
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3137
- })(Pe || (Pe = {}));
3138
- var Je = (
3139
+ })(Oe || (Oe = {}));
3140
+ var Qe = (
3139
3141
  /** @class */
3140
3142
  function(e) {
3141
- Ze(t, e);
3143
+ Je(t, e);
3142
3144
  function t(r, i, n) {
3143
3145
  var s = e.call(this, r) || this;
3144
3146
  return s.code = i, s.originalMessage = n, s;
@@ -3147,155 +3149,155 @@ var Je = (
3147
3149
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3148
3150
  }, t;
3149
3151
  }(Error)
3150
- ), Ft = (
3152
+ ), Vt = (
3151
3153
  /** @class */
3152
3154
  function(e) {
3153
- Ze(t, e);
3155
+ Je(t, e);
3154
3156
  function t(r, i, n, s) {
3155
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Pe.INVALID_VALUE, s) || this;
3157
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Oe.INVALID_VALUE, s) || this;
3156
3158
  }
3157
3159
  return t;
3158
- }(Je)
3159
- ), cn = (
3160
+ }(Qe)
3161
+ ), mn = (
3160
3162
  /** @class */
3161
3163
  function(e) {
3162
- Ze(t, e);
3164
+ Je(t, e);
3163
3165
  function t(r, i, n) {
3164
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Pe.INVALID_VALUE, n) || this;
3166
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Oe.INVALID_VALUE, n) || this;
3165
3167
  }
3166
3168
  return t;
3167
- }(Je)
3168
- ), dn = (
3169
+ }(Qe)
3170
+ ), pn = (
3169
3171
  /** @class */
3170
3172
  function(e) {
3171
- Ze(t, e);
3173
+ Je(t, e);
3172
3174
  function t(r, i) {
3173
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
3175
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Oe.MISSING_VALUE, i) || this;
3174
3176
  }
3175
3177
  return t;
3176
- }(Je)
3177
- ), W;
3178
+ }(Qe)
3179
+ ), j;
3178
3180
  (function(e) {
3179
3181
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3180
- })(W || (W = {}));
3181
- function mn(e) {
3182
+ })(j || (j = {}));
3183
+ function gn(e) {
3182
3184
  return e.length < 2 ? e : e.reduce(function(t, r) {
3183
3185
  var i = t[t.length - 1];
3184
- return !i || i.type !== W.literal || r.type !== W.literal ? t.push(r) : i.value += r.value, t;
3186
+ return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3185
3187
  }, []);
3186
3188
  }
3187
- function pn(e) {
3189
+ function vn(e) {
3188
3190
  return typeof e == "function";
3189
3191
  }
3190
3192
  function ze(e, t, r, i, n, s, a) {
3191
- if (e.length === 1 && Dt(e[0]))
3193
+ if (e.length === 1 && Lt(e[0]))
3192
3194
  return [
3193
3195
  {
3194
- type: W.literal,
3196
+ type: j.literal,
3195
3197
  value: e[0].value
3196
3198
  }
3197
3199
  ];
3198
3200
  for (var l = [], o = 0, u = e; o < u.length; o++) {
3199
3201
  var h = u[o];
3200
- if (Dt(h)) {
3202
+ if (Lt(h)) {
3201
3203
  l.push({
3202
- type: W.literal,
3204
+ type: j.literal,
3203
3205
  value: h.value
3204
3206
  });
3205
3207
  continue;
3206
3208
  }
3207
- if (Ii(h)) {
3209
+ if (Ri(h)) {
3208
3210
  typeof s == "number" && l.push({
3209
- type: W.literal,
3211
+ type: j.literal,
3210
3212
  value: r.getNumberFormat(t).format(s)
3211
3213
  });
3212
3214
  continue;
3213
3215
  }
3214
- var d = h.value;
3215
- if (!(n && d in n))
3216
- throw new dn(d, a);
3217
- var p = n[d];
3218
- if (Li(h)) {
3216
+ var c = h.value;
3217
+ if (!(n && c in n))
3218
+ throw new pn(c, a);
3219
+ var p = n[c];
3220
+ if (Ni(h)) {
3219
3221
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
3220
- type: typeof p == "string" ? W.literal : W.object,
3222
+ type: typeof p == "string" ? j.literal : j.object,
3221
3223
  value: p
3222
3224
  });
3223
3225
  continue;
3224
3226
  }
3225
- if (hr(h)) {
3226
- var x = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3227
+ if (fr(h)) {
3228
+ var x = typeof h.style == "string" ? i.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3227
3229
  l.push({
3228
- type: W.literal,
3230
+ type: j.literal,
3229
3231
  value: r.getDateTimeFormat(t, x).format(p)
3230
3232
  });
3231
3233
  continue;
3232
3234
  }
3233
- if (fr(h)) {
3234
- var x = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3235
+ if (cr(h)) {
3236
+ var x = typeof h.style == "string" ? i.time[h.style] : ct(h.style) ? h.style.parsedOptions : i.time.medium;
3235
3237
  l.push({
3236
- type: W.literal,
3238
+ type: j.literal,
3237
3239
  value: r.getDateTimeFormat(t, x).format(p)
3238
3240
  });
3239
3241
  continue;
3240
3242
  }
3241
- if (lr(h)) {
3242
- var x = typeof h.style == "string" ? i.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3243
+ if (hr(h)) {
3244
+ var x = typeof h.style == "string" ? i.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3243
3245
  x && x.scale && (p = p * (x.scale || 1)), l.push({
3244
- type: W.literal,
3246
+ type: j.literal,
3245
3247
  value: r.getNumberFormat(t, x).format(p)
3246
3248
  });
3247
3249
  continue;
3248
3250
  }
3249
- if (mr(h)) {
3250
- var H = h.children, b = h.value, B = n[b];
3251
- if (!pn(B))
3252
- throw new cn(b, "function", a);
3253
- var U = ze(H, t, r, i, n, s), F = B(U.map(function(N) {
3254
- return N.value;
3251
+ if (pr(h)) {
3252
+ var S = h.children, v = h.value, M = n[v];
3253
+ if (!vn(M))
3254
+ throw new mn(v, "function", a);
3255
+ var U = ze(S, t, r, i, n, s), R = M(U.map(function(I) {
3256
+ return I.value;
3255
3257
  }));
3256
- Array.isArray(F) || (F = [F]), l.push.apply(l, F.map(function(N) {
3258
+ Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(I) {
3257
3259
  return {
3258
- type: typeof N == "string" ? W.literal : W.object,
3259
- value: N
3260
+ type: typeof I == "string" ? j.literal : j.object,
3261
+ value: I
3260
3262
  };
3261
3263
  }));
3262
3264
  }
3263
- if (cr(h)) {
3264
- var M = h.options[p] || h.options.other;
3265
- if (!M)
3266
- throw new Ft(h.value, p, Object.keys(h.options), a);
3267
- l.push.apply(l, ze(M.value, t, r, i, n));
3265
+ if (dr(h)) {
3266
+ var $ = h.options[p] || h.options.other;
3267
+ if (!$)
3268
+ throw new Vt(h.value, p, Object.keys(h.options), a);
3269
+ l.push.apply(l, ze($.value, t, r, i, n));
3268
3270
  continue;
3269
3271
  }
3270
- if (dr(h)) {
3271
- var M = h.options["=".concat(p)];
3272
- if (!M) {
3272
+ if (mr(h)) {
3273
+ var $ = h.options["=".concat(p)];
3274
+ if (!$) {
3273
3275
  if (!Intl.PluralRules)
3274
- throw new Je(`Intl.PluralRules is not available in this environment.
3276
+ throw new Qe(`Intl.PluralRules is not available in this environment.
3275
3277
  Try polyfilling it using "@formatjs/intl-pluralrules"
3276
- `, Pe.MISSING_INTL_API, a);
3277
- var q = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3278
- M = h.options[q] || h.options.other;
3278
+ `, Oe.MISSING_INTL_API, a);
3279
+ var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3280
+ $ = h.options[z] || h.options.other;
3279
3281
  }
3280
- if (!M)
3281
- throw new Ft(h.value, p, Object.keys(h.options), a);
3282
- l.push.apply(l, ze(M.value, t, r, i, n, p - (h.offset || 0)));
3282
+ if (!$)
3283
+ throw new Vt(h.value, p, Object.keys(h.options), a);
3284
+ l.push.apply(l, ze($.value, t, r, i, n, p - (h.offset || 0)));
3283
3285
  continue;
3284
3286
  }
3285
3287
  }
3286
- return mn(l);
3288
+ return gn(l);
3287
3289
  }
3288
- function gn(e, t) {
3289
- return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3290
- return r[i] = O(O({}, e[i]), t[i] || {}), r;
3290
+ function bn(e, t) {
3291
+ return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3292
+ return r[i] = ie(ie({}, e[i]), t[i] || {}), r;
3291
3293
  }, {})) : e;
3292
3294
  }
3293
- function bn(e, t) {
3295
+ function yn(e, t) {
3294
3296
  return t ? Object.keys(e).reduce(function(r, i) {
3295
- return r[i] = gn(e[i], t[i]), r;
3296
- }, O({}, e)) : e;
3297
+ return r[i] = bn(e[i], t[i]), r;
3298
+ }, ie({}, e)) : e;
3297
3299
  }
3298
- function st(e) {
3300
+ function ot(e) {
3299
3301
  return {
3300
3302
  create: function() {
3301
3303
  return {
@@ -3309,39 +3311,39 @@ function st(e) {
3309
3311
  }
3310
3312
  };
3311
3313
  }
3312
- function vn(e) {
3314
+ function xn(e) {
3313
3315
  return e === void 0 && (e = {
3314
3316
  number: {},
3315
3317
  dateTime: {},
3316
3318
  pluralRules: {}
3317
3319
  }), {
3318
- getNumberFormat: rt(function() {
3320
+ getNumberFormat: it(function() {
3319
3321
  for (var t, r = [], i = 0; i < arguments.length; i++)
3320
3322
  r[i] = arguments[i];
3321
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3323
+ return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
3322
3324
  }, {
3323
- cache: st(e.number),
3324
- strategy: it.variadic
3325
+ cache: ot(e.number),
3326
+ strategy: nt.variadic
3325
3327
  }),
3326
- getDateTimeFormat: rt(function() {
3328
+ getDateTimeFormat: it(function() {
3327
3329
  for (var t, r = [], i = 0; i < arguments.length; i++)
3328
3330
  r[i] = arguments[i];
3329
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3331
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
3330
3332
  }, {
3331
- cache: st(e.dateTime),
3332
- strategy: it.variadic
3333
+ cache: ot(e.dateTime),
3334
+ strategy: nt.variadic
3333
3335
  }),
3334
- getPluralRules: rt(function() {
3336
+ getPluralRules: it(function() {
3335
3337
  for (var t, r = [], i = 0; i < arguments.length; i++)
3336
3338
  r[i] = arguments[i];
3337
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3339
+ return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
3338
3340
  }, {
3339
- cache: st(e.pluralRules),
3340
- strategy: it.variadic
3341
+ cache: ot(e.pluralRules),
3342
+ strategy: nt.variadic
3341
3343
  })
3342
3344
  };
3343
3345
  }
3344
- var wr = (
3346
+ var Sr = (
3345
3347
  /** @class */
3346
3348
  function() {
3347
3349
  function e(t, r, i, n) {
@@ -3355,8 +3357,8 @@ var wr = (
3355
3357
  var u = s.formatToParts(o);
3356
3358
  if (u.length === 1)
3357
3359
  return u[0].value;
3358
- var h = u.reduce(function(d, p) {
3359
- return !d.length || p.type !== W.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3360
+ var h = u.reduce(function(c, p) {
3361
+ return !c.length || p.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3360
3362
  }, []);
3361
3363
  return h.length <= 1 ? h[0] || "" : h;
3362
3364
  }, this.formatToParts = function(o) {
@@ -3373,13 +3375,13 @@ var wr = (
3373
3375
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3374
3376
  var a = n || {};
3375
3377
  a.formatters;
3376
- var l = Pi(a, ["formatters"]);
3377
- this.ast = e.__parse(t, O(O({}, l), { locale: this.resolvedLocale }));
3378
+ var l = Ai(a, ["formatters"]);
3379
+ this.ast = e.__parse(t, ie(ie({}, l), { locale: this.resolvedLocale }));
3378
3380
  } else
3379
3381
  this.ast = t;
3380
3382
  if (!Array.isArray(this.ast))
3381
3383
  throw new TypeError("A message must be provided as a String or AST.");
3382
- this.formats = bn(e.formats, i), this.formatters = n && n.formatters || vn(this.formatterCache);
3384
+ this.formats = yn(e.formats, i), this.formatters = n && n.formatters || xn(this.formatterCache);
3383
3385
  }
3384
3386
  return Object.defineProperty(e, "defaultLocale", {
3385
3387
  get: function() {
@@ -3392,7 +3394,7 @@ var wr = (
3392
3394
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3393
3395
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3394
3396
  }
3395
- }, e.__parse = fn, e.formats = {
3397
+ }, e.__parse = dn, e.formats = {
3396
3398
  number: {
3397
3399
  integer: {
3398
3400
  maximumFractionDigits: 0
@@ -3453,7 +3455,7 @@ var wr = (
3453
3455
  }, e;
3454
3456
  }()
3455
3457
  );
3456
- function yn(e, t) {
3458
+ function _n(e, t) {
3457
3459
  if (t == null)
3458
3460
  return;
3459
3461
  if (t in e)
@@ -3474,44 +3476,44 @@ function yn(e, t) {
3474
3476
  i = void 0;
3475
3477
  return i;
3476
3478
  }
3477
- const fe = {}, xn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), Sr = (e, t) => {
3479
+ const fe = {}, En = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), Tr = (e, t) => {
3478
3480
  if (t == null)
3479
3481
  return;
3480
3482
  if (t in fe && e in fe[t])
3481
3483
  return fe[t][e];
3482
3484
  const r = Ue(t);
3483
3485
  for (let i = 0; i < r.length; i++) {
3484
- const n = r[i], s = En(n, e);
3486
+ const n = r[i], s = Sn(n, e);
3485
3487
  if (s)
3486
- return xn(e, t, s);
3488
+ return En(e, t, s);
3487
3489
  }
3488
3490
  };
3489
3491
  let wt;
3490
3492
  const ke = Re({});
3491
- function _n(e) {
3493
+ function wn(e) {
3492
3494
  return wt[e] || null;
3493
3495
  }
3494
- function Tr(e) {
3496
+ function Hr(e) {
3495
3497
  return e in wt;
3496
3498
  }
3497
- function En(e, t) {
3498
- if (!Tr(e))
3499
+ function Sn(e, t) {
3500
+ if (!Hr(e))
3499
3501
  return null;
3500
- const r = _n(e);
3501
- return yn(r, t);
3502
+ const r = wn(e);
3503
+ return _n(r, t);
3502
3504
  }
3503
- function wn(e) {
3505
+ function Tn(e) {
3504
3506
  if (e == null)
3505
3507
  return;
3506
3508
  const t = Ue(e);
3507
3509
  for (let r = 0; r < t.length; r++) {
3508
3510
  const i = t[r];
3509
- if (Tr(i))
3511
+ if (Hr(i))
3510
3512
  return i;
3511
3513
  }
3512
3514
  }
3513
- function Hr(e, ...t) {
3514
- delete fe[e], ke.update((r) => (r[e] = Hi.all([r[e] || {}, ...t]), r));
3515
+ function Or(e, ...t) {
3516
+ delete fe[e], ke.update((r) => (r[e] = Pi.all([r[e] || {}, ...t]), r));
3515
3517
  }
3516
3518
  Ae(
3517
3519
  [ke],
@@ -3519,19 +3521,19 @@ Ae(
3519
3521
  );
3520
3522
  ke.subscribe((e) => wt = e);
3521
3523
  const Xe = {};
3522
- function Sn(e, t) {
3524
+ function Hn(e, t) {
3523
3525
  Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3524
3526
  }
3525
3527
  function Pr(e) {
3526
3528
  return Xe[e];
3527
3529
  }
3528
- function Tn(e) {
3530
+ function On(e) {
3529
3531
  return Ue(e).map((t) => {
3530
3532
  const r = Pr(t);
3531
3533
  return [t, r ? [...r] : []];
3532
3534
  }).filter(([, t]) => t.length > 0);
3533
3535
  }
3534
- function We(e) {
3536
+ function qe(e) {
3535
3537
  return e == null ? !1 : Ue(e).some(
3536
3538
  (t) => {
3537
3539
  var r;
@@ -3539,36 +3541,36 @@ function We(e) {
3539
3541
  }
3540
3542
  );
3541
3543
  }
3542
- function Hn(e, t) {
3544
+ function Pn(e, t) {
3543
3545
  return Promise.all(
3544
- t.map((i) => (Sn(e, i), i().then((n) => n.default || n)))
3545
- ).then((i) => Hr(e, ...i));
3546
+ t.map((i) => (Hn(e, i), i().then((n) => n.default || n)))
3547
+ ).then((i) => Or(e, ...i));
3546
3548
  }
3547
3549
  const Be = {};
3548
- function Or(e) {
3549
- if (!We(e))
3550
+ function Ar(e) {
3551
+ if (!qe(e))
3550
3552
  return e in Be ? Be[e] : Promise.resolve();
3551
- const t = Tn(e);
3553
+ const t = On(e);
3552
3554
  return Be[e] = Promise.all(
3553
3555
  t.map(
3554
- ([r, i]) => Hn(r, i)
3556
+ ([r, i]) => Pn(r, i)
3555
3557
  )
3556
3558
  ).then(() => {
3557
- if (We(e))
3558
- return Or(e);
3559
+ if (qe(e))
3560
+ return Ar(e);
3559
3561
  delete Be[e];
3560
3562
  }), Be[e];
3561
3563
  }
3562
- var Vt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, An = (e, t) => {
3564
+ var Gt = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, Bn = (e, t) => {
3563
3565
  var r = {};
3564
3566
  for (var i in e)
3565
- Pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3566
- if (e != null && Vt)
3567
- for (var i of Vt(e))
3568
- t.indexOf(i) < 0 && On.call(e, i) && (r[i] = e[i]);
3567
+ An.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3568
+ if (e != null && Gt)
3569
+ for (var i of Gt(e))
3570
+ t.indexOf(i) < 0 && $n.call(e, i) && (r[i] = e[i]);
3569
3571
  return r;
3570
3572
  };
3571
- const $n = {
3573
+ const Mn = {
3572
3574
  number: {
3573
3575
  scientific: { notation: "scientific" },
3574
3576
  engineering: { notation: "engineering" },
@@ -3598,124 +3600,124 @@ const $n = {
3598
3600
  }
3599
3601
  }
3600
3602
  };
3601
- function Bn({ locale: e, id: t }) {
3603
+ function Cn({ locale: e, id: t }) {
3602
3604
  console.warn(
3603
3605
  `[svelte-i18n] The message "${t}" was not found in "${Ue(
3604
3606
  e
3605
- ).join('", "')}".${We(ce()) ? `
3607
+ ).join('", "')}".${qe(ce()) ? `
3606
3608
 
3607
3609
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3608
3610
  );
3609
3611
  }
3610
- const Mn = {
3612
+ const Dn = {
3611
3613
  fallbackLocale: null,
3612
3614
  loadingDelay: 200,
3613
- formats: $n,
3615
+ formats: Mn,
3614
3616
  warnOnMissingMessages: !0,
3615
3617
  handleMissingMessage: void 0,
3616
3618
  ignoreTag: !0
3617
- }, Me = Mn;
3618
- function Oe() {
3619
+ }, Me = Dn;
3620
+ function Pe() {
3619
3621
  return Me;
3620
3622
  }
3621
- function Cn(e) {
3622
- const t = e, { formats: r } = t, i = An(t, ["formats"]);
3623
+ function Ln(e) {
3624
+ const t = e, { formats: r } = t, i = Bn(t, ["formats"]);
3623
3625
  let n = e.fallbackLocale;
3624
3626
  if (e.initialLocale)
3625
3627
  try {
3626
- wr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3628
+ Sr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3627
3629
  } catch (s) {
3628
3630
  console.warn(
3629
3631
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3630
3632
  );
3631
3633
  }
3632
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Bn : console.warn(
3634
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Cn : console.warn(
3633
3635
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3634
3636
  )), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), ge.set(n);
3635
3637
  }
3636
- const ot = Re(!1);
3637
- var Dn = Object.defineProperty, Ln = Object.defineProperties, In = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
3638
- for (var r in t)
3639
- Nn.call(t, r) && jt(e, r, t[r]);
3640
- if (Gt)
3641
- for (var r of Gt(t))
3642
- Rn.call(t, r) && jt(e, r, t[r]);
3638
+ const at = Re(!1);
3639
+ var In = Object.defineProperty, Nn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3640
+ for (var r in t || (t = {}))
3641
+ kn.call(t, r) && zt(e, r, t[r]);
3642
+ if (jt)
3643
+ for (var r of jt(t))
3644
+ Un.call(t, r) && zt(e, r, t[r]);
3643
3645
  return e;
3644
- }, Un = (e, t) => Ln(e, In(t));
3646
+ }, Vn = (e, t) => Nn(e, Rn(t));
3645
3647
  let bt;
3646
- const qe = Re(null);
3647
- function zt(e) {
3648
+ const Ye = Re(null);
3649
+ function Xt(e) {
3648
3650
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3649
3651
  }
3650
- function Ue(e, t = Oe().fallbackLocale) {
3651
- const r = zt(e);
3652
- return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
3652
+ function Ue(e, t = Pe().fallbackLocale) {
3653
+ const r = Xt(e);
3654
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
3653
3655
  }
3654
3656
  function ce() {
3655
3657
  return bt != null ? bt : void 0;
3656
3658
  }
3657
- qe.subscribe((e) => {
3659
+ Ye.subscribe((e) => {
3658
3660
  bt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3659
3661
  });
3660
- const Fn = (e) => {
3661
- if (e && wn(e) && We(e)) {
3662
- const { loadingDelay: t } = Oe();
3662
+ const Gn = (e) => {
3663
+ if (e && Tn(e) && qe(e)) {
3664
+ const { loadingDelay: t } = Pe();
3663
3665
  let r;
3664
3666
  return typeof window != "undefined" && ce() != null && t ? r = window.setTimeout(
3665
- () => ot.set(!0),
3667
+ () => at.set(!0),
3666
3668
  t
3667
- ) : ot.set(!0), Or(e).then(() => {
3668
- qe.set(e);
3669
+ ) : at.set(!0), Ar(e).then(() => {
3670
+ Ye.set(e);
3669
3671
  }).finally(() => {
3670
- clearTimeout(r), ot.set(!1);
3672
+ clearTimeout(r), at.set(!1);
3671
3673
  });
3672
3674
  }
3673
- return qe.set(e);
3674
- }, ge = Un(kn({}, qe), {
3675
- set: Fn
3676
- }), Qe = (e) => {
3675
+ return Ye.set(e);
3676
+ }, ge = Vn(Fn({}, Ye), {
3677
+ set: Gn
3678
+ }), Ke = (e) => {
3677
3679
  const t = /* @__PURE__ */ Object.create(null);
3678
3680
  return (i) => {
3679
3681
  const n = JSON.stringify(i);
3680
3682
  return n in t ? t[n] : t[n] = e(i);
3681
3683
  };
3682
3684
  };
3683
- var Vn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3685
+ var jn = Object.defineProperty, Ze = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3684
3686
  for (var r in t || (t = {}))
3685
- Ar.call(t, r) && Xt(e, r, t[r]);
3686
- if (Ye)
3687
- for (var r of Ye(t))
3688
- $r.call(t, r) && Xt(e, r, t[r]);
3687
+ $r.call(t, r) && Wt(e, r, t[r]);
3688
+ if (Ze)
3689
+ for (var r of Ze(t))
3690
+ Br.call(t, r) && Wt(e, r, t[r]);
3689
3691
  return e;
3690
3692
  }, $e = (e, t) => {
3691
3693
  var r = {};
3692
3694
  for (var i in e)
3693
- Ar.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3694
- if (e != null && Ye)
3695
- for (var i of Ye(e))
3696
- t.indexOf(i) < 0 && $r.call(e, i) && (r[i] = e[i]);
3695
+ $r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3696
+ if (e != null && Ze)
3697
+ for (var i of Ze(e))
3698
+ t.indexOf(i) < 0 && Br.call(e, i) && (r[i] = e[i]);
3697
3699
  return r;
3698
3700
  };
3699
3701
  const Ie = (e, t) => {
3700
- const { formats: r } = Oe();
3702
+ const { formats: r } = Pe();
3701
3703
  if (e in r && t in r[e])
3702
3704
  return r[e][t];
3703
3705
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3704
- }, Gn = Qe(
3706
+ }, zn = Ke(
3705
3707
  (e) => {
3706
3708
  var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3707
3709
  if (r == null)
3708
3710
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3709
3711
  return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3710
3712
  }
3711
- ), jn = Qe(
3713
+ ), Xn = Ke(
3712
3714
  (e) => {
3713
3715
  var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3714
3716
  if (r == null)
3715
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3716
3718
  return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3717
3719
  }
3718
- ), zn = Qe(
3720
+ ), Wn = Ke(
3719
3721
  (e) => {
3720
3722
  var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3721
3723
  if (r == null)
@@ -3724,33 +3726,33 @@ const Ie = (e, t) => {
3724
3726
  );
3725
3727
  return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3726
3728
  }
3727
- ), Xn = (e = {}) => {
3729
+ ), qn = (e = {}) => {
3728
3730
  var t = e, {
3729
3731
  locale: r = ce()
3730
3732
  } = t, i = $e(t, [
3731
3733
  "locale"
3732
3734
  ]);
3733
- return Gn(St({ locale: r }, i));
3734
- }, Wn = (e = {}) => {
3735
+ return zn(St({ locale: r }, i));
3736
+ }, Yn = (e = {}) => {
3735
3737
  var t = e, {
3736
3738
  locale: r = ce()
3737
3739
  } = t, i = $e(t, [
3738
3740
  "locale"
3739
3741
  ]);
3740
- return jn(St({ locale: r }, i));
3741
- }, qn = (e = {}) => {
3742
+ return Xn(St({ locale: r }, i));
3743
+ }, Zn = (e = {}) => {
3742
3744
  var t = e, {
3743
3745
  locale: r = ce()
3744
3746
  } = t, i = $e(t, [
3745
3747
  "locale"
3746
3748
  ]);
3747
- return zn(St({ locale: r }, i));
3748
- }, Yn = Qe(
3749
+ return Wn(St({ locale: r }, i));
3750
+ }, Jn = Ke(
3749
3751
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3750
- (e, t = ce()) => new wr(e, t, Oe().formats, {
3751
- ignoreTag: Oe().ignoreTag
3752
+ (e, t = ce()) => new Sr(e, t, Pe().formats, {
3753
+ ignoreTag: Pe().ignoreTag
3752
3754
  })
3753
- ), Zn = (e, t = {}) => {
3755
+ ), Qn = (e, t = {}) => {
3754
3756
  var r, i, n, s;
3755
3757
  let a = t;
3756
3758
  typeof e == "object" && (a = e, e = a.id);
@@ -3763,39 +3765,39 @@ const Ie = (e, t) => {
3763
3765
  throw new Error(
3764
3766
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3765
3767
  );
3766
- let h = Sr(e, o);
3768
+ let h = Tr(e, o);
3767
3769
  if (!h)
3768
- h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3770
+ h = (s = (n = (i = (r = Pe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3769
3771
  else if (typeof h != "string")
3770
3772
  return console.warn(
3771
3773
  `[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.`
3772
3774
  ), h;
3773
3775
  if (!l)
3774
3776
  return h;
3775
- let d = h;
3777
+ let c = h;
3776
3778
  try {
3777
- d = Yn(h, o).format(l);
3779
+ c = Jn(h, o).format(l);
3778
3780
  } catch (p) {
3779
3781
  p instanceof Error && console.warn(
3780
3782
  `[svelte-i18n] Message "${e}" has syntax error:`,
3781
3783
  p.message
3782
3784
  );
3783
3785
  }
3784
- return d;
3785
- }, Jn = (e, t) => qn(t).format(e), Qn = (e, t) => Wn(t).format(e), Kn = (e, t) => Xn(t).format(e), es = (e, t = ce()) => Sr(e, t), ts = Ae([ge, ke], () => Zn);
3786
- Ae([ge], () => Jn);
3787
- Ae([ge], () => Qn);
3786
+ return c;
3787
+ }, Kn = (e, t) => Zn(t).format(e), es = (e, t) => Yn(t).format(e), ts = (e, t) => qn(t).format(e), rs = (e, t = ce()) => Tr(e, t), is = Ae([ge, ke], () => Qn);
3788
3788
  Ae([ge], () => Kn);
3789
- Ae([ge, ke], () => es);
3790
- function Wt(e, t) {
3791
- Hr(e, t);
3792
- }
3793
- function rs(e) {
3794
- Cn({
3789
+ Ae([ge], () => es);
3790
+ Ae([ge], () => ts);
3791
+ Ae([ge, ke], () => rs);
3792
+ function qt(e, t) {
3793
+ Or(e, t);
3794
+ }
3795
+ function ns(e) {
3796
+ Ln({
3795
3797
  fallbackLocale: "en"
3796
3798
  }), ge.set(e);
3797
3799
  }
3798
- const qt = {
3800
+ const Yt = {
3799
3801
  en: {
3800
3802
  "verification.video.how-to": "How to verify yourself",
3801
3803
  "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",
@@ -3863,228 +3865,228 @@ if (typeof window != "undefined") {
3863
3865
  }
3864
3866
  };
3865
3867
  };
3866
- customElements.define = e(customElements.define), import("./CashierVideoModal-BnuvM17-.js").then(({ default: t }) => {
3868
+ customElements.define = e(customElements.define), import("./CashierVideoModal-AN6f2AIj.js").then(({ default: t }) => {
3867
3869
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3868
3870
  });
3869
3871
  }
3870
- let is = Re(null);
3871
- var Br = { exports: {} };
3872
+ let ss = Re(null);
3873
+ var Mr = { exports: {} };
3872
3874
  (function(e, t) {
3873
3875
  (function(r, i) {
3874
3876
  e.exports = i();
3875
- })(sr, function() {
3876
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", d = "month", p = "quarter", x = "year", H = "date", b = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3877
- var g = ["th", "st", "nd", "rd"], c = _ % 100;
3878
- return "[" + _ + (g[(c - 20) % 10] || g[c] || g[0]) + "]";
3879
- } }, M = function(_, g, c) {
3880
- var v = String(_);
3881
- return !v || v.length >= g ? _ : "" + Array(g + 1 - v.length).join(c) + _;
3882
- }, q = { s: M, z: function(_) {
3883
- var g = -_.utcOffset(), c = Math.abs(g), v = Math.floor(c / 60), m = c % 60;
3884
- return (g <= 0 ? "+" : "-") + M(v, 2, "0") + ":" + M(m, 2, "0");
3885
- }, m: function _(g, c) {
3886
- if (g.date() < c.date())
3887
- return -_(c, g);
3888
- var v = 12 * (c.year() - g.year()) + (c.month() - g.month()), m = g.clone().add(v, d), E = c - m < 0, w = g.clone().add(v + (E ? -1 : 1), d);
3889
- return +(-(v + (c - m) / (E ? m - w : w - m)) || 0);
3877
+ })(or, function() {
3878
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", p = "quarter", x = "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+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3879
+ var g = ["th", "st", "nd", "rd"], d = _ % 100;
3880
+ return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3881
+ } }, $ = function(_, g, d) {
3882
+ var b = String(_);
3883
+ return !b || b.length >= g ? _ : "" + Array(g + 1 - b.length).join(d) + _;
3884
+ }, z = { s: $, z: function(_) {
3885
+ var g = -_.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3886
+ return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(m, 2, "0");
3887
+ }, m: function _(g, d) {
3888
+ if (g.date() < d.date())
3889
+ return -_(d, g);
3890
+ 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);
3891
+ return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3890
3892
  }, a: function(_) {
3891
3893
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3892
3894
  }, p: function(_) {
3893
- return { M: d, y: x, w: h, d: u, D: H, h: o, m: l, s: a, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3895
+ return { M: c, y: x, w: h, d: u, D: S, h: o, m: l, s: a, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3894
3896
  }, u: function(_) {
3895
3897
  return _ === void 0;
3896
- } }, N = "en", k = {};
3897
- k[N] = F;
3898
- var z = "$isDayjsObject", ne = function(_) {
3899
- return _ instanceof be || !(!_ || !_[z]);
3900
- }, L = function _(g, c, v) {
3898
+ } }, I = "en", k = {};
3899
+ k[I] = R;
3900
+ var W = "$isDayjsObject", Q = function(_) {
3901
+ return _ instanceof ve || !(!_ || !_[W]);
3902
+ }, q = function _(g, d, b) {
3901
3903
  var m;
3902
3904
  if (!g)
3903
- return N;
3905
+ return I;
3904
3906
  if (typeof g == "string") {
3905
3907
  var E = g.toLowerCase();
3906
- k[E] && (m = E), c && (k[E] = c, m = E);
3908
+ k[E] && (m = E), d && (k[E] = d, m = E);
3907
3909
  var w = g.split("-");
3908
3910
  if (!m && w.length > 1)
3909
3911
  return _(w[0]);
3910
3912
  } else {
3911
- var $ = g.name;
3912
- k[$] = g, m = $;
3913
+ var B = g.name;
3914
+ k[B] = g, m = B;
3913
3915
  }
3914
- return !v && m && (N = m), m || !v && N;
3915
- }, C = function(_, g) {
3916
- if (ne(_))
3916
+ return !b && m && (I = m), m || !b && I;
3917
+ }, A = function(_, g) {
3918
+ if (Q(_))
3917
3919
  return _.clone();
3918
- var c = typeof g == "object" ? g : {};
3919
- return c.date = _, c.args = arguments, new be(c);
3920
- }, A = q;
3921
- A.l = L, A.i = ne, A.w = function(_, g) {
3922
- return C(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3920
+ var d = typeof g == "object" ? g : {};
3921
+ return d.date = _, d.args = arguments, new ve(d);
3922
+ }, O = z;
3923
+ O.l = q, O.i = Q, O.w = function(_, g) {
3924
+ return A(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3923
3925
  };
3924
- var be = function() {
3925
- function _(c) {
3926
- this.$L = L(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[z] = !0;
3926
+ var ve = function() {
3927
+ function _(d) {
3928
+ this.$L = q(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[W] = !0;
3927
3929
  }
3928
3930
  var g = _.prototype;
3929
- return g.parse = function(c) {
3930
- this.$d = function(v) {
3931
- var m = v.date, E = v.utc;
3931
+ return g.parse = function(d) {
3932
+ this.$d = function(b) {
3933
+ var m = b.date, E = b.utc;
3932
3934
  if (m === null)
3933
3935
  return /* @__PURE__ */ new Date(NaN);
3934
- if (A.u(m))
3936
+ if (O.u(m))
3935
3937
  return /* @__PURE__ */ new Date();
3936
3938
  if (m instanceof Date)
3937
3939
  return new Date(m);
3938
3940
  if (typeof m == "string" && !/Z$/i.test(m)) {
3939
- var w = m.match(B);
3941
+ var w = m.match(M);
3940
3942
  if (w) {
3941
- var $ = w[2] - 1 || 0, I = (w[7] || "0").substring(0, 3);
3942
- return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, I)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, I);
3943
+ var B = w[2] - 1 || 0, C = (w[7] || "0").substring(0, 3);
3944
+ return E ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C);
3943
3945
  }
3944
3946
  }
3945
3947
  return new Date(m);
3946
- }(c), this.init();
3948
+ }(d), this.init();
3947
3949
  }, g.init = function() {
3948
- var c = this.$d;
3949
- 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();
3950
+ var d = this.$d;
3951
+ 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();
3950
3952
  }, g.$utils = function() {
3951
- return A;
3953
+ return O;
3952
3954
  }, g.isValid = function() {
3953
- return this.$d.toString() !== b;
3954
- }, g.isSame = function(c, v) {
3955
- var m = C(c);
3956
- return this.startOf(v) <= m && m <= this.endOf(v);
3957
- }, g.isAfter = function(c, v) {
3958
- return C(c) < this.startOf(v);
3959
- }, g.isBefore = function(c, v) {
3960
- return this.endOf(v) < C(c);
3961
- }, g.$g = function(c, v, m) {
3962
- return A.u(c) ? this[v] : this.set(m, c);
3955
+ return this.$d.toString() !== v;
3956
+ }, g.isSame = function(d, b) {
3957
+ var m = A(d);
3958
+ return this.startOf(b) <= m && m <= this.endOf(b);
3959
+ }, g.isAfter = function(d, b) {
3960
+ return A(d) < this.startOf(b);
3961
+ }, g.isBefore = function(d, b) {
3962
+ return this.endOf(b) < A(d);
3963
+ }, g.$g = function(d, b, m) {
3964
+ return O.u(d) ? this[b] : this.set(m, d);
3963
3965
  }, g.unix = function() {
3964
3966
  return Math.floor(this.valueOf() / 1e3);
3965
3967
  }, g.valueOf = function() {
3966
3968
  return this.$d.getTime();
3967
- }, g.startOf = function(c, v) {
3968
- var m = this, E = !!A.u(v) || v, w = A.p(c), $ = function(oe, G) {
3969
- var K = A.w(m.$u ? Date.UTC(m.$y, G, oe) : new Date(m.$y, G, oe), m);
3970
- return E ? K : K.endOf(u);
3971
- }, I = function(oe, G) {
3972
- return A.w(m.toDate()[oe].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3973
- }, R = this.$W, V = this.$M, X = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3969
+ }, g.startOf = function(d, b) {
3970
+ var m = this, E = !!O.u(b) || b, w = O.p(d), B = function(ae, G) {
3971
+ var Y = O.w(m.$u ? Date.UTC(m.$y, G, ae) : new Date(m.$y, G, ae), m);
3972
+ return E ? Y : Y.endOf(u);
3973
+ }, C = function(ae, G) {
3974
+ return O.w(m.toDate()[ae].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3975
+ }, N = this.$W, F = this.$M, X = this.$D, se = "set" + (this.$u ? "UTC" : "");
3974
3976
  switch (w) {
3975
3977
  case x:
3976
- return E ? $(1, 0) : $(31, 11);
3977
- case d:
3978
- return E ? $(1, V) : $(0, V + 1);
3978
+ return E ? B(1, 0) : B(31, 11);
3979
+ case c:
3980
+ return E ? B(1, F) : B(0, F + 1);
3979
3981
  case h:
3980
- var se = this.$locale().weekStart || 0, de = (R < se ? R + 7 : R) - se;
3981
- return $(E ? X - de : X + (6 - de), V);
3982
+ var oe = this.$locale().weekStart || 0, de = (N < oe ? N + 7 : N) - oe;
3983
+ return B(E ? X - de : X + (6 - de), F);
3982
3984
  case u:
3983
- case H:
3984
- return I(ue + "Hours", 0);
3985
+ case S:
3986
+ return C(se + "Hours", 0);
3985
3987
  case o:
3986
- return I(ue + "Minutes", 1);
3988
+ return C(se + "Minutes", 1);
3987
3989
  case l:
3988
- return I(ue + "Seconds", 2);
3990
+ return C(se + "Seconds", 2);
3989
3991
  case a:
3990
- return I(ue + "Milliseconds", 3);
3992
+ return C(se + "Milliseconds", 3);
3991
3993
  default:
3992
3994
  return this.clone();
3993
3995
  }
3994
- }, g.endOf = function(c) {
3995
- return this.startOf(c, !1);
3996
- }, g.$set = function(c, v) {
3997
- var m, E = A.p(c), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[u] = w + "Date", m[H] = w + "Date", m[d] = w + "Month", m[x] = w + "FullYear", m[o] = w + "Hours", m[l] = w + "Minutes", m[a] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], I = E === u ? this.$D + (v - this.$W) : v;
3998
- if (E === d || E === x) {
3999
- var R = this.clone().set(H, 1);
4000
- R.$d[$](I), R.init(), this.$d = R.set(H, Math.min(this.$D, R.daysInMonth())).$d;
3996
+ }, g.endOf = function(d) {
3997
+ return this.startOf(d, !1);
3998
+ }, g.$set = function(d, b) {
3999
+ var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[u] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[x] = w + "FullYear", m[o] = w + "Hours", m[l] = w + "Minutes", m[a] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], C = E === u ? this.$D + (b - this.$W) : b;
4000
+ if (E === c || E === x) {
4001
+ var N = this.clone().set(S, 1);
4002
+ N.$d[B](C), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4001
4003
  } else
4002
- $ && this.$d[$](I);
4004
+ B && this.$d[B](C);
4003
4005
  return this.init(), this;
4004
- }, g.set = function(c, v) {
4005
- return this.clone().$set(c, v);
4006
- }, g.get = function(c) {
4007
- return this[A.p(c)]();
4008
- }, g.add = function(c, v) {
4006
+ }, g.set = function(d, b) {
4007
+ return this.clone().$set(d, b);
4008
+ }, g.get = function(d) {
4009
+ return this[O.p(d)]();
4010
+ }, g.add = function(d, b) {
4009
4011
  var m, E = this;
4010
- c = Number(c);
4011
- var w = A.p(v), $ = function(V) {
4012
- var X = C(E);
4013
- return A.w(X.date(X.date() + Math.round(V * c)), E);
4012
+ d = Number(d);
4013
+ var w = O.p(b), B = function(F) {
4014
+ var X = A(E);
4015
+ return O.w(X.date(X.date() + Math.round(F * d)), E);
4014
4016
  };
4015
- if (w === d)
4016
- return this.set(d, this.$M + c);
4017
+ if (w === c)
4018
+ return this.set(c, this.$M + d);
4017
4019
  if (w === x)
4018
- return this.set(x, this.$y + c);
4020
+ return this.set(x, this.$y + d);
4019
4021
  if (w === u)
4020
- return $(1);
4022
+ return B(1);
4021
4023
  if (w === h)
4022
- return $(7);
4023
- var I = (m = {}, m[l] = i, m[o] = n, m[a] = r, m)[w] || 1, R = this.$d.getTime() + c * I;
4024
- return A.w(R, this);
4025
- }, g.subtract = function(c, v) {
4026
- return this.add(-1 * c, v);
4027
- }, g.format = function(c) {
4028
- var v = this, m = this.$locale();
4024
+ return B(7);
4025
+ var C = (m = {}, m[l] = i, m[o] = n, m[a] = r, m)[w] || 1, N = this.$d.getTime() + d * C;
4026
+ return O.w(N, this);
4027
+ }, g.subtract = function(d, b) {
4028
+ return this.add(-1 * d, b);
4029
+ }, g.format = function(d) {
4030
+ var b = this, m = this.$locale();
4029
4031
  if (!this.isValid())
4030
- return m.invalidDate || b;
4031
- var E = c || "YYYY-MM-DDTHH:mm:ssZ", w = A.z(this), $ = this.$H, I = this.$m, R = this.$M, V = m.weekdays, X = m.months, ue = m.meridiem, se = function(G, K, me, pe) {
4032
- return G && (G[K] || G(v, E)) || me[K].slice(0, pe);
4032
+ return m.invalidDate || v;
4033
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), B = this.$H, C = this.$m, N = this.$M, F = m.weekdays, X = m.months, se = m.meridiem, oe = function(G, Y, me, be) {
4034
+ return G && (G[Y] || G(b, E)) || me[Y].slice(0, be);
4033
4035
  }, de = function(G) {
4034
- return A.s($ % 12 || 12, G, "0");
4035
- }, oe = ue || function(G, K, me) {
4036
- var pe = G < 12 ? "AM" : "PM";
4037
- return me ? pe.toLowerCase() : pe;
4036
+ return O.s(B % 12 || 12, G, "0");
4037
+ }, ae = se || function(G, Y, me) {
4038
+ var be = G < 12 ? "AM" : "PM";
4039
+ return me ? be.toLowerCase() : be;
4038
4040
  };
4039
- return E.replace(U, function(G, K) {
4040
- return K || function(me) {
4041
+ return E.replace(U, function(G, Y) {
4042
+ return Y || function(me) {
4041
4043
  switch (me) {
4042
4044
  case "YY":
4043
- return String(v.$y).slice(-2);
4045
+ return String(b.$y).slice(-2);
4044
4046
  case "YYYY":
4045
- return A.s(v.$y, 4, "0");
4047
+ return O.s(b.$y, 4, "0");
4046
4048
  case "M":
4047
- return R + 1;
4049
+ return N + 1;
4048
4050
  case "MM":
4049
- return A.s(R + 1, 2, "0");
4051
+ return O.s(N + 1, 2, "0");
4050
4052
  case "MMM":
4051
- return se(m.monthsShort, R, X, 3);
4053
+ return oe(m.monthsShort, N, X, 3);
4052
4054
  case "MMMM":
4053
- return se(X, R);
4055
+ return oe(X, N);
4054
4056
  case "D":
4055
- return v.$D;
4057
+ return b.$D;
4056
4058
  case "DD":
4057
- return A.s(v.$D, 2, "0");
4059
+ return O.s(b.$D, 2, "0");
4058
4060
  case "d":
4059
- return String(v.$W);
4061
+ return String(b.$W);
4060
4062
  case "dd":
4061
- return se(m.weekdaysMin, v.$W, V, 2);
4063
+ return oe(m.weekdaysMin, b.$W, F, 2);
4062
4064
  case "ddd":
4063
- return se(m.weekdaysShort, v.$W, V, 3);
4065
+ return oe(m.weekdaysShort, b.$W, F, 3);
4064
4066
  case "dddd":
4065
- return V[v.$W];
4067
+ return F[b.$W];
4066
4068
  case "H":
4067
- return String($);
4069
+ return String(B);
4068
4070
  case "HH":
4069
- return A.s($, 2, "0");
4071
+ return O.s(B, 2, "0");
4070
4072
  case "h":
4071
4073
  return de(1);
4072
4074
  case "hh":
4073
4075
  return de(2);
4074
4076
  case "a":
4075
- return oe($, I, !0);
4077
+ return ae(B, C, !0);
4076
4078
  case "A":
4077
- return oe($, I, !1);
4079
+ return ae(B, C, !1);
4078
4080
  case "m":
4079
- return String(I);
4081
+ return String(C);
4080
4082
  case "mm":
4081
- return A.s(I, 2, "0");
4083
+ return O.s(C, 2, "0");
4082
4084
  case "s":
4083
- return String(v.$s);
4085
+ return String(b.$s);
4084
4086
  case "ss":
4085
- return A.s(v.$s, 2, "0");
4087
+ return O.s(b.$s, 2, "0");
4086
4088
  case "SSS":
4087
- return A.s(v.$ms, 3, "0");
4089
+ return O.s(b.$ms, 3, "0");
4088
4090
  case "Z":
4089
4091
  return w;
4090
4092
  }
@@ -4093,50 +4095,50 @@ var Br = { exports: {} };
4093
4095
  });
4094
4096
  }, g.utcOffset = function() {
4095
4097
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4096
- }, g.diff = function(c, v, m) {
4097
- var E, w = this, $ = A.p(v), I = C(c), R = (I.utcOffset() - this.utcOffset()) * i, V = this - I, X = function() {
4098
- return A.m(w, I);
4098
+ }, g.diff = function(d, b, m) {
4099
+ var E, w = this, B = O.p(b), C = A(d), N = (C.utcOffset() - this.utcOffset()) * i, F = this - C, X = function() {
4100
+ return O.m(w, C);
4099
4101
  };
4100
- switch ($) {
4102
+ switch (B) {
4101
4103
  case x:
4102
4104
  E = X() / 12;
4103
4105
  break;
4104
- case d:
4106
+ case c:
4105
4107
  E = X();
4106
4108
  break;
4107
4109
  case p:
4108
4110
  E = X() / 3;
4109
4111
  break;
4110
4112
  case h:
4111
- E = (V - R) / 6048e5;
4113
+ E = (F - N) / 6048e5;
4112
4114
  break;
4113
4115
  case u:
4114
- E = (V - R) / 864e5;
4116
+ E = (F - N) / 864e5;
4115
4117
  break;
4116
4118
  case o:
4117
- E = V / n;
4119
+ E = F / n;
4118
4120
  break;
4119
4121
  case l:
4120
- E = V / i;
4122
+ E = F / i;
4121
4123
  break;
4122
4124
  case a:
4123
- E = V / r;
4125
+ E = F / r;
4124
4126
  break;
4125
4127
  default:
4126
- E = V;
4128
+ E = F;
4127
4129
  }
4128
- return m ? E : A.a(E);
4130
+ return m ? E : O.a(E);
4129
4131
  }, g.daysInMonth = function() {
4130
- return this.endOf(d).$D;
4132
+ return this.endOf(c).$D;
4131
4133
  }, g.$locale = function() {
4132
4134
  return k[this.$L];
4133
- }, g.locale = function(c, v) {
4134
- if (!c)
4135
+ }, g.locale = function(d, b) {
4136
+ if (!d)
4135
4137
  return this.$L;
4136
- var m = this.clone(), E = L(c, v, !0);
4138
+ var m = this.clone(), E = q(d, b, !0);
4137
4139
  return E && (m.$L = E), m;
4138
4140
  }, g.clone = function() {
4139
- return A.w(this.$d, this);
4141
+ return O.w(this.$d, this);
4140
4142
  }, g.toDate = function() {
4141
4143
  return new Date(this.valueOf());
4142
4144
  }, g.toJSON = function() {
@@ -4146,80 +4148,80 @@ var Br = { exports: {} };
4146
4148
  }, g.toString = function() {
4147
4149
  return this.$d.toUTCString();
4148
4150
  }, _;
4149
- }(), Fe = be.prototype;
4150
- return C.prototype = Fe, [["$ms", s], ["$s", a], ["$m", l], ["$H", o], ["$W", u], ["$M", d], ["$y", x], ["$D", H]].forEach(function(_) {
4151
+ }(), Fe = ve.prototype;
4152
+ return A.prototype = Fe, [["$ms", s], ["$s", a], ["$m", l], ["$H", o], ["$W", u], ["$M", c], ["$y", x], ["$D", S]].forEach(function(_) {
4151
4153
  Fe[_[1]] = function(g) {
4152
4154
  return this.$g(g, _[0], _[1]);
4153
4155
  };
4154
- }), C.extend = function(_, g) {
4155
- return _.$i || (_(g, be, C), _.$i = !0), C;
4156
- }, C.locale = L, C.isDayjs = ne, C.unix = function(_) {
4157
- return C(1e3 * _);
4158
- }, C.en = k[N], C.Ls = k, C.p = {}, C;
4156
+ }), A.extend = function(_, g) {
4157
+ return _.$i || (_(g, ve, A), _.$i = !0), A;
4158
+ }, A.locale = q, A.isDayjs = Q, A.unix = function(_) {
4159
+ return A(1e3 * _);
4160
+ }, A.en = k[I], A.Ls = k, A.p = {}, A;
4159
4161
  });
4160
- })(Br);
4161
- var ns = Br.exports;
4162
- const Yt = /* @__PURE__ */ _t(ns);
4163
- var Mr = { exports: {} };
4162
+ })(Mr);
4163
+ var os = Mr.exports;
4164
+ const Zt = /* @__PURE__ */ Et(os);
4165
+ var Cr = { exports: {} };
4164
4166
  (function(e, t) {
4165
4167
  (function(r, i) {
4166
4168
  e.exports = i();
4167
- })(sr, function() {
4169
+ })(or, function() {
4168
4170
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4169
4171
  return function(s, a, l) {
4170
4172
  var o = a.prototype;
4171
- l.utc = function(b) {
4172
- var B = { date: b, utc: !0, args: arguments };
4173
- return new a(B);
4174
- }, o.utc = function(b) {
4175
- var B = l(this.toDate(), { locale: this.$L, utc: !0 });
4176
- return b ? B.add(this.utcOffset(), r) : B;
4173
+ l.utc = function(v) {
4174
+ var M = { date: v, utc: !0, args: arguments };
4175
+ return new a(M);
4176
+ }, o.utc = function(v) {
4177
+ var M = l(this.toDate(), { locale: this.$L, utc: !0 });
4178
+ return v ? M.add(this.utcOffset(), r) : M;
4177
4179
  }, o.local = function() {
4178
4180
  return l(this.toDate(), { locale: this.$L, utc: !1 });
4179
4181
  };
4180
4182
  var u = o.parse;
4181
- o.parse = function(b) {
4182
- b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), u.call(this, b);
4183
+ o.parse = function(v) {
4184
+ v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4183
4185
  };
4184
4186
  var h = o.init;
4185
4187
  o.init = function() {
4186
4188
  if (this.$u) {
4187
- var b = this.$d;
4188
- this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4189
+ var v = this.$d;
4190
+ 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();
4189
4191
  } else
4190
4192
  h.call(this);
4191
4193
  };
4192
- var d = o.utcOffset;
4193
- o.utcOffset = function(b, B) {
4194
+ var c = o.utcOffset;
4195
+ o.utcOffset = function(v, M) {
4194
4196
  var U = this.$utils().u;
4195
- if (U(b))
4196
- return this.$u ? 0 : U(this.$offset) ? d.call(this) : this.$offset;
4197
- if (typeof b == "string" && (b = function(N) {
4198
- N === void 0 && (N = "");
4199
- var k = N.match(i);
4197
+ if (U(v))
4198
+ return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
4199
+ if (typeof v == "string" && (v = function(I) {
4200
+ I === void 0 && (I = "");
4201
+ var k = I.match(i);
4200
4202
  if (!k)
4201
4203
  return null;
4202
- var z = ("" + k[0]).match(n) || ["-", 0, 0], ne = z[0], L = 60 * +z[1] + +z[2];
4203
- return L === 0 ? 0 : ne === "+" ? L : -L;
4204
- }(b), b === null))
4204
+ var W = ("" + k[0]).match(n) || ["-", 0, 0], Q = W[0], q = 60 * +W[1] + +W[2];
4205
+ return q === 0 ? 0 : Q === "+" ? q : -q;
4206
+ }(v), v === null))
4205
4207
  return this;
4206
- var F = Math.abs(b) <= 16 ? 60 * b : b, M = this;
4207
- if (B)
4208
- return M.$offset = F, M.$u = b === 0, M;
4209
- if (b !== 0) {
4210
- var q = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4211
- (M = this.local().add(F + q, r)).$offset = F, M.$x.$localOffset = q;
4208
+ var R = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4209
+ if (M)
4210
+ return $.$offset = R, $.$u = v === 0, $;
4211
+ if (v !== 0) {
4212
+ var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4213
+ ($ = this.local().add(R + z, r)).$offset = R, $.$x.$localOffset = z;
4212
4214
  } else
4213
- M = this.utc();
4214
- return M;
4215
+ $ = this.utc();
4216
+ return $;
4215
4217
  };
4216
4218
  var p = o.format;
4217
- o.format = function(b) {
4218
- var B = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4219
- return p.call(this, B);
4219
+ o.format = function(v) {
4220
+ var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4221
+ return p.call(this, M);
4220
4222
  }, o.valueOf = function() {
4221
- var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4222
- return this.$d.valueOf() - 6e4 * b;
4223
+ var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4224
+ return this.$d.valueOf() - 6e4 * v;
4223
4225
  }, o.isUTC = function() {
4224
4226
  return !!this.$u;
4225
4227
  }, o.toISOString = function() {
@@ -4228,45 +4230,45 @@ var Mr = { exports: {} };
4228
4230
  return this.toDate().toUTCString();
4229
4231
  };
4230
4232
  var x = o.toDate;
4231
- o.toDate = function(b) {
4232
- return b === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4233
+ o.toDate = function(v) {
4234
+ return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4233
4235
  };
4234
- var H = o.diff;
4235
- o.diff = function(b, B, U) {
4236
- if (b && this.$u === b.$u)
4237
- return H.call(this, b, B, U);
4238
- var F = this.local(), M = l(b).local();
4239
- return H.call(F, M, B, U);
4236
+ var S = o.diff;
4237
+ o.diff = function(v, M, U) {
4238
+ if (v && this.$u === v.$u)
4239
+ return S.call(this, v, M, U);
4240
+ var R = this.local(), $ = l(v).local();
4241
+ return S.call(R, $, M, U);
4240
4242
  };
4241
4243
  };
4242
4244
  });
4243
- })(Mr);
4244
- var ss = Mr.exports;
4245
- const os = /* @__PURE__ */ _t(ss);
4246
- function as(e) {
4247
- jr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4245
+ })(Cr);
4246
+ var as = Cr.exports;
4247
+ const us = /* @__PURE__ */ Et(as);
4248
+ function ls(e) {
4249
+ Xr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4248
4250
  }
4249
- function Zt(e, t, r) {
4251
+ function Jt(e, t, r) {
4250
4252
  const i = e.slice();
4251
- return i[51] = t[r], i[53] = r, i;
4253
+ return i[52] = t[r], i[54] = r, i;
4252
4254
  }
4253
- function Jt(e) {
4254
- let t, r, i, n, s = Mt(
4255
+ function Qt(e) {
4256
+ let t, r, i, n, s = Ct(
4255
4257
  /*displayMessages*/
4256
4258
  e[4]
4257
4259
  ), a = [];
4258
4260
  for (let o = 0; o < s.length; o += 1)
4259
- a[o] = Kt(Zt(e, s, o));
4261
+ a[o] = er(Jt(e, s, o));
4260
4262
  let l = (
4261
4263
  /*videoExists*/
4262
- e[7] && er(e)
4264
+ e[7] && tr(e)
4263
4265
  );
4264
4266
  return {
4265
4267
  c() {
4266
- t = Z("div");
4268
+ t = J("div");
4267
4269
  for (let o = 0; o < a.length; o += 1)
4268
4270
  a[o].c();
4269
- r = Ee(), l && l.c(), i = Ee(), n = Z("cashier-video-modal"), Q(t, "class", "CashierVerificationsWrapper"), he(
4271
+ r = Ee(), l && l.c(), i = Ee(), n = J("cashier-video-modal"), te(t, "class", "CashierVerificationsWrapper"), he(
4270
4272
  n,
4271
4273
  "clientstylingurl",
4272
4274
  /*clientstylingurl*/
@@ -4289,29 +4291,29 @@ function Jt(e) {
4289
4291
  );
4290
4292
  },
4291
4293
  m(o, u) {
4292
- ae(o, t, u);
4294
+ le(o, t, u);
4293
4295
  for (let h = 0; h < a.length; h += 1)
4294
4296
  a[h] && a[h].m(t, null);
4295
- ae(o, r, u), l && l.m(o, u), ae(o, i, u), ae(o, n, u);
4297
+ le(o, r, u), l && l.m(o, u), le(o, i, u), le(o, n, u);
4296
4298
  },
4297
4299
  p(o, u) {
4298
4300
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4299
4301
  1072) {
4300
- s = Mt(
4302
+ s = Ct(
4301
4303
  /*displayMessages*/
4302
4304
  o[4]
4303
4305
  );
4304
4306
  let h;
4305
4307
  for (h = 0; h < s.length; h += 1) {
4306
- const d = Zt(o, s, h);
4307
- a[h] ? a[h].p(d, u) : (a[h] = Kt(d), a[h].c(), a[h].m(t, null));
4308
+ const c = Jt(o, s, h);
4309
+ a[h] ? a[h].p(c, u) : (a[h] = er(c), a[h].c(), a[h].m(t, null));
4308
4310
  }
4309
4311
  for (; h < a.length; h += 1)
4310
4312
  a[h].d(1);
4311
4313
  a.length = s.length;
4312
4314
  }
4313
4315
  /*videoExists*/
4314
- o[7] ? l ? l.p(o, u) : (l = er(o), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
4316
+ o[7] ? l ? l.p(o, u) : (l = tr(o), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
4315
4317
  2 && he(
4316
4318
  n,
4317
4319
  "clientstylingurl",
@@ -4338,59 +4340,59 @@ function Jt(e) {
4338
4340
  );
4339
4341
  },
4340
4342
  d(o) {
4341
- o && (ie(t), ie(r), ie(i), ie(n)), Wr(a, o), l && l.d(o);
4343
+ o && (ne(t), ne(r), ne(i), ne(n)), Yr(a, o), l && l.d(o);
4342
4344
  }
4343
4345
  };
4344
4346
  }
4345
- function Qt(e) {
4347
+ function Kt(e) {
4346
4348
  let t, r, i;
4347
4349
  function n(...s) {
4348
4350
  return (
4349
4351
  /*click_handler*/
4350
- e[18](
4352
+ e[19](
4351
4353
  /*index*/
4352
- e[53],
4354
+ e[54],
4353
4355
  ...s
4354
4356
  )
4355
4357
  );
4356
4358
  }
4357
4359
  return {
4358
4360
  c() {
4359
- t = Z("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', Q(t, "class", "CashierVerificationChevron");
4361
+ t = J("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");
4360
4362
  },
4361
4363
  m(s, a) {
4362
- ae(s, t, a), r || (i = xt(t, "click", n), r = !0);
4364
+ le(s, t, a), r || (i = _t(t, "click", n), r = !0);
4363
4365
  },
4364
4366
  p(s, a) {
4365
4367
  e = s;
4366
4368
  },
4367
4369
  d(s) {
4368
- s && ie(t), r = !1, i();
4370
+ s && ne(t), r = !1, i();
4369
4371
  }
4370
4372
  };
4371
4373
  }
4372
- function Kt(e) {
4374
+ function er(e) {
4373
4375
  let t, r, i, n, s = (
4374
4376
  /*message*/
4375
- e[51] + ""
4377
+ e[52] + ""
4376
4378
  ), a, l, o, u, h = (
4377
4379
  /*displayMessages*/
4378
4380
  e[4].length > 1 && /*index*/
4379
- e[53] === 0 && Qt(e)
4381
+ e[54] === 0 && Kt(e)
4380
4382
  );
4381
- function d(...p) {
4383
+ function c(...p) {
4382
4384
  return (
4383
4385
  /*click_handler_1*/
4384
- e[19](
4386
+ e[20](
4385
4387
  /*index*/
4386
- e[53],
4388
+ e[54],
4387
4389
  ...p
4388
4390
  )
4389
4391
  );
4390
4392
  }
4391
4393
  return {
4392
4394
  c() {
4393
- t = Z("div"), r = Z("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ee(), n = Z("p"), a = Ee(), h && h.c(), l = Ee(), Q(r, "class", "IconVerification"), Q(n, "class", "text"), Q(t, "class", "CashierVerificationMessage"), Se(
4395
+ t = J("div"), r = J("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 = Ee(), n = J("p"), a = Ee(), h && h.c(), l = Ee(), te(r, "class", "IconVerification"), te(n, "class", "text"), te(t, "class", "CashierVerificationMessage"), Se(
4394
4396
  t,
4395
4397
  "ShowAll",
4396
4398
  /*allVerificationsVisible*/
@@ -4398,14 +4400,14 @@ function Kt(e) {
4398
4400
  );
4399
4401
  },
4400
4402
  m(p, x) {
4401
- ae(p, t, x), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, a), h && h.m(t, null), re(t, l), o || (u = xt(t, "click", d), o = !0);
4403
+ le(p, t, x), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, a), h && h.m(t, null), re(t, l), o || (u = _t(t, "click", c), o = !0);
4402
4404
  },
4403
4405
  p(p, x) {
4404
4406
  e = p, x[0] & /*displayMessages*/
4405
4407
  16 && s !== (s = /*message*/
4406
- e[51] + "") && (n.innerHTML = s), /*displayMessages*/
4408
+ e[52] + "") && (n.innerHTML = s), /*displayMessages*/
4407
4409
  e[4].length > 1 && /*index*/
4408
- e[53] === 0 ? h ? h.p(e, x) : (h = Qt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4410
+ e[54] === 0 ? h ? h.p(e, x) : (h = Kt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4409
4411
  32 && Se(
4410
4412
  t,
4411
4413
  "ShowAll",
@@ -4414,36 +4416,36 @@ function Kt(e) {
4414
4416
  );
4415
4417
  },
4416
4418
  d(p) {
4417
- p && ie(t), h && h.d(), o = !1, u();
4419
+ p && ne(t), h && h.d(), o = !1, u();
4418
4420
  }
4419
4421
  };
4420
4422
  }
4421
- function er(e) {
4423
+ function tr(e) {
4422
4424
  let t, r, i, n, s = (
4423
4425
  /*$_*/
4424
4426
  e[9]("verification.video.how-to") + ""
4425
4427
  ), a, l, o;
4426
4428
  return {
4427
4429
  c() {
4428
- t = Z("div"), r = Z("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ee(), n = Z("div"), a = yt(s), Q(r, "class", "IconVideo"), Q(n, "class", "CashierVerificationVideoLink"), Se(
4430
+ t = J("div"), r = J("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 = Ee(), n = J("div"), a = xt(s), te(r, "class", "IconVideo"), te(n, "class", "CashierVerificationVideoLink"), Se(
4429
4431
  n,
4430
4432
  "CashierVerificationVideoLinkDesktop",
4431
4433
  /*desktopView*/
4432
4434
  e[6]
4433
- ), Q(t, "class", "CashierVerificationVideo");
4435
+ ), te(t, "class", "CashierVerificationVideo");
4434
4436
  },
4435
4437
  m(u, h) {
4436
- ae(u, t, h), re(t, r), re(t, i), re(t, n), re(n, a), l || (o = xt(
4438
+ le(u, t, h), re(t, r), re(t, i), re(t, n), re(n, a), l || (o = _t(
4437
4439
  n,
4438
4440
  "click",
4439
4441
  /*click_handler_2*/
4440
- e[20]
4442
+ e[21]
4441
4443
  ), l = !0);
4442
4444
  },
4443
4445
  p(u, h) {
4444
4446
  h[0] & /*$_*/
4445
4447
  512 && s !== (s = /*$_*/
4446
- u[9]("verification.video.how-to") + "") && Yr(a, s), h[0] & /*desktopView*/
4448
+ u[9]("verification.video.how-to") + "") && Jr(a, s), h[0] & /*desktopView*/
4447
4449
  64 && Se(
4448
4450
  n,
4449
4451
  "CashierVerificationVideoLinkDesktop",
@@ -4452,18 +4454,18 @@ function er(e) {
4452
4454
  );
4453
4455
  },
4454
4456
  d(u) {
4455
- u && ie(t), l = !1, o();
4457
+ u && ne(t), l = !1, o();
4456
4458
  }
4457
4459
  };
4458
4460
  }
4459
- function us(e) {
4461
+ function hs(e) {
4460
4462
  let t, r = (
4461
4463
  /*displayMessages*/
4462
- e[4] && Jt(e)
4464
+ e[4] && Qt(e)
4463
4465
  );
4464
4466
  return {
4465
4467
  c() {
4466
- t = Z("div"), r && r.c(), Q(t, "class", "CashierVerifications"), Se(
4468
+ t = J("div"), r && r.c(), te(t, "class", "CashierVerifications"), Se(
4467
4469
  t,
4468
4470
  "CashierVerificationsDesktop",
4469
4471
  /*desktopView*/
@@ -4471,11 +4473,11 @@ function us(e) {
4471
4473
  );
4472
4474
  },
4473
4475
  m(i, n) {
4474
- ae(i, t, n), r && r.m(t, null), e[21](t);
4476
+ le(i, t, n), r && r.m(t, null), e[22](t);
4475
4477
  },
4476
4478
  p(i, n) {
4477
4479
  /*displayMessages*/
4478
- i[4] ? r ? r.p(i, n) : (r = Jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4480
+ i[4] ? r ? r.p(i, n) : (r = Qt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4479
4481
  64 && Se(
4480
4482
  t,
4481
4483
  "CashierVerificationsDesktop",
@@ -4483,241 +4485,232 @@ function us(e) {
4483
4485
  i[6]
4484
4486
  );
4485
4487
  },
4486
- i: J,
4487
- o: J,
4488
+ i: ee,
4489
+ o: ee,
4488
4490
  d(i) {
4489
- i && ie(t), r && r.d(), e[21](null);
4491
+ i && ne(t), r && r.d(), e[22](null);
4490
4492
  }
4491
4493
  };
4492
4494
  }
4493
- const ls = "verification_explanation_video_widgets.MP4";
4494
- function hs(e, t, r) {
4495
+ const fs = "verification_explanation_video_widgets.MP4";
4496
+ function cs(e, t, r) {
4495
4497
  let i, n;
4496
- $t(e, ts, (f) => r(9, i = f)), $t(e, is, (f) => r(27, n = f)), Yt.extend(os);
4497
- let { endpoint: s } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: d = "" } = t, { ismobileview: p = "" } = t, x, H = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), B, U, F, M = !0, q = !0, N = !1, k = "";
4498
- var z;
4498
+ Bt(e, is, (f) => r(9, i = f)), Bt(e, ss, (f) => r(28, n = f)), Zt.extend(us);
4499
+ let { endpoint: s } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: x = "" } = t, S, v = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), U, R, $, z = !0, I = !0, k = !1, W = "";
4500
+ var Q;
4499
4501
  (function(f) {
4500
4502
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4501
- })(z || (z = {}));
4502
- var ne;
4503
+ })(Q || (Q = {}));
4504
+ var q;
4503
4505
  (function(f) {
4504
4506
  f.Requested = "Requested";
4505
- })(ne || (ne = {}));
4506
- var L;
4507
+ })(q || (q = {}));
4508
+ var A;
4507
4509
  (function(f) {
4508
4510
  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";
4509
- })(L || (L = {}));
4510
- var C;
4511
+ })(A || (A = {}));
4512
+ var O;
4511
4513
  (function(f) {
4512
4514
  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";
4513
- })(C || (C = {}));
4514
- const A = [
4515
- L.InProgress,
4516
- L.Referred,
4517
- L.AwaitingForResponse
4518
- ], be = () => {
4515
+ })(O || (O = {}));
4516
+ const ve = [
4517
+ A.InProgress,
4518
+ A.Referred,
4519
+ A.AwaitingForResponse
4520
+ ], Fe = () => {
4519
4521
  let f = l;
4520
4522
  if (f)
4521
4523
  return fetch(f).then((y) => y.json()).then((y) => {
4522
- Object.keys(y).forEach((S) => {
4523
- Wt(S, y[S]);
4524
+ Object.keys(y).forEach((T) => {
4525
+ qt(T, y[T]);
4524
4526
  });
4525
4527
  }).catch((y) => {
4526
4528
  console.log(y);
4527
4529
  });
4528
4530
  };
4529
- Object.keys(qt).forEach((f) => {
4530
- Wt(f, qt[f]);
4531
+ Object.keys(Yt).forEach((f) => {
4532
+ qt(f, Yt[f]);
4531
4533
  });
4532
- const Fe = () => {
4533
- rs(a);
4534
- }, _ = () => {
4535
- let f = document.createElement("style");
4536
- f.innerHTML = o, x.appendChild(f);
4534
+ const _ = () => {
4535
+ ns(a);
4537
4536
  }, g = () => {
4537
+ let f = document.createElement("style");
4538
+ f.innerHTML = o, S.appendChild(f);
4539
+ }, d = () => {
4538
4540
  let f = new URL(u), y = document.createElement("style");
4539
- fetch(f.href).then((S) => S.text()).then((S) => {
4540
- y.innerHTML = S, setTimeout(
4541
+ fetch(f.href).then((T) => T.text()).then((T) => {
4542
+ y.innerHTML = T, setTimeout(
4541
4543
  () => {
4542
- x.appendChild(y);
4544
+ S.appendChild(y);
4543
4545
  },
4544
4546
  1
4545
4547
  );
4546
4548
  });
4547
- }, c = () => {
4548
- const { merchantId: f, customerId: y } = m();
4549
- if (!f)
4550
- return;
4551
- const S = new URL(`${s}/v1/player/verification/GetKYCStatus`), j = new Headers();
4552
- j.append("accept", "application/json"), j.append("Content-Type", "application/json"), j.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4553
- const le = {
4549
+ }, b = () => {
4550
+ r(18, R = E());
4551
+ const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${a}`), y = new Headers();
4552
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${x}`), y.append("X-Client-Request-Timestamp", Zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4553
+ const T = {
4554
4554
  method: "POST",
4555
- headers: j,
4556
- body: JSON.stringify({
4557
- MerchantId: f,
4558
- CustomerId: y,
4559
- All: !1,
4560
- AllParameters: !1
4561
- })
4555
+ headers: y,
4556
+ body: JSON.stringify({})
4562
4557
  };
4563
- fetch(S, le).then((ve) => ve.json()).then((ve) => {
4564
- r(17, U = ve.StaticCdnUrl + "/cashier/operator-assets/" + f), B = E(ve.Verifications), B.VerificationStatuses.forEach((ee) => {
4565
- ee.VerificationUrlType !== "Widget" && H.add(ee.Vendor);
4566
- }), r(4, F = X());
4558
+ fetch(f, T).then((V) => V.json()).then((V) => {
4559
+ U = w(V.Verifications), U.VerificationStatuses.forEach((ue) => {
4560
+ ue.VerificationUrlType !== "Widget" && v.add(ue.Vendor);
4561
+ }), r(4, $ = se());
4567
4562
  });
4568
- }, v = () => {
4569
- n && c();
4570
4563
  }, m = () => {
4564
+ n && b();
4565
+ }, E = () => {
4571
4566
  let f = (h || n).split(".")[1];
4572
4567
  if (f) {
4573
4568
  let y = JSON.parse(atob(f));
4574
- return {
4575
- merchantId: y == null ? void 0 : y.mid,
4576
- customerId: `${y == null ? void 0 : y.mid}~${d}`
4577
- };
4569
+ return y.cdn + "/cashier/operator-assets/" + (y == null ? void 0 : y.mid);
4578
4570
  }
4579
- return { merchantId: null, customerId: null };
4580
- }, E = (f) => {
4581
- var S;
4571
+ return "";
4572
+ }, w = (f) => {
4573
+ var T;
4582
4574
  if (!f || !f.length)
4583
4575
  return {
4584
- VerificationSummaryStatus: L.Unverified,
4576
+ VerificationSummaryStatus: A.Unverified,
4585
4577
  VerificationStatuses: []
4586
4578
  };
4587
- const y = I(f);
4579
+ const y = N(f);
4588
4580
  if (y && y.length) {
4589
- const j = w(y);
4581
+ const V = B(y);
4590
4582
  return {
4591
- VerificationSummaryStatus: j.Status,
4592
- VerificationUrl: (S = j.Flags) == null ? void 0 : S.DeferredUrlKey,
4593
- VerificationStatuses: $(y, j.Status)
4583
+ VerificationSummaryStatus: V.Status,
4584
+ VerificationUrl: (T = V.Flags) == null ? void 0 : T.DeferredUrlKey,
4585
+ VerificationStatuses: C(y, V.Status)
4594
4586
  };
4595
4587
  } else
4596
4588
  return {
4597
- VerificationSummaryStatus: f.some((le) => le.Status === L.Failed) ? L.Failed : L.Verified,
4598
- VerificationStatuses: $(f, [L.Failed])
4589
+ VerificationSummaryStatus: f.some((ue) => ue.Status === A.Failed) ? A.Failed : A.Verified,
4590
+ VerificationStatuses: C(f, [A.Failed])
4599
4591
  };
4600
- }, w = (f) => f.reduce(
4601
- (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4592
+ }, B = (f) => f.reduce(
4593
+ (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4602
4594
  0
4603
- ), $ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => {
4604
- var j, le;
4595
+ ), C = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => {
4596
+ var V, ue;
4605
4597
  return {
4606
- Type: S.Type,
4607
- Vendor: S.VendorName,
4608
- VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
4609
- VerificationUrlType: (j = S.Flags) == null ? void 0 : j.DeferredUrlTypeKey,
4610
- VerificationUrl: (le = S.Flags) == null ? void 0 : le.DeferredUrlKey
4598
+ Type: T.Type,
4599
+ Vendor: T.VendorName,
4600
+ VerificationDocuments: T.Documents ? [...T.Documents] : [],
4601
+ VerificationUrlType: (V = T.FlowInfo) == null ? void 0 : V.Type,
4602
+ VerificationUrl: (ue = T.FlowInfo) == null ? void 0 : ue.Url
4611
4603
  };
4612
- }), I = (f) => f.filter((y) => A.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || R(y) || V(y) : !1), R = (f) => {
4613
- const y = f.Documents && f.VendorName === z.Manual, S = Object.values(f.Documents).some((j) => j.Status === ne.Requested);
4614
- return y && S;
4615
- }, V = (f) => f.VendorName === z.ShuftiPro && f.Status === L.Referred, X = () => {
4616
- switch (B.VerificationSummaryStatus) {
4617
- case L.InProgress:
4604
+ }), N = (f) => f.filter((y) => ve.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || F(y) || X(y) : !1), F = (f) => {
4605
+ const y = f.Documents && f.VendorName === Q.Manual, T = f.Documents && f.Documents.some((V) => V.Status === q.Requested);
4606
+ return y && T;
4607
+ }, X = (f) => f.VendorName === Q.ShuftiPro && f.Status === A.Referred, se = () => {
4608
+ switch (U.VerificationSummaryStatus) {
4609
+ case A.InProgress:
4618
4610
  const f = [];
4619
- return H.forEach((y) => {
4620
- f.push(ue(y));
4611
+ return v.forEach((y) => {
4612
+ f.push(oe(y));
4621
4613
  }), f;
4622
- case L.Referred:
4614
+ case A.Referred:
4623
4615
  return [i("verification.idenfy.referred-awaiting")];
4624
- case L.Failed:
4616
+ case A.Failed:
4625
4617
  return [i("verification.message.failed")];
4626
4618
  }
4627
- }, ue = (f) => {
4628
- const y = B.VerificationStatuses.filter((S) => S.Vendor === f);
4629
- if (f === z.ShuftiPro)
4630
- return se(y);
4619
+ }, oe = (f) => {
4620
+ const y = U.VerificationStatuses.filter((T) => T.Vendor === f);
4621
+ if (f === Q.ShuftiPro)
4622
+ return de(y);
4631
4623
  {
4632
- const S = i("verification.idenfy.link-name"), j = {
4633
- link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
4624
+ const T = i("verification.idenfy.link-name"), V = {
4625
+ link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4634
4626
  };
4635
- return i("verification.idenfy.in-progress", { values: j });
4627
+ return i("verification.idenfy.in-progress", { values: V });
4636
4628
  }
4637
- }, se = (f) => {
4638
- const y = [], S = {}, j = [
4639
- C.Biometric,
4640
- C.Documents,
4641
- C.ProofOfAddress
4629
+ }, de = (f) => {
4630
+ const y = [], T = {}, V = [
4631
+ O.Biometric,
4632
+ O.Documents,
4633
+ O.ProofOfAddress
4642
4634
  ];
4643
- f.forEach((ee) => {
4644
- j.includes(ee.Type) && (y.push(ee.Type), S[ee.Type] = de(ee, oe(ee.Type)));
4635
+ f.forEach((pe) => {
4636
+ V.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = ae(pe, G(pe.Type)));
4645
4637
  });
4646
- let le = y.every((ee) => b.has(ee)), ve = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4647
- return le ? i("verification.shuftipro.validations-started") : i(ve, { values: S });
4648
- }, de = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, oe = (f) => i(`verification.shuftipro.link-name.${f}`), G = (f, y) => {
4638
+ let ue = y.every((pe) => M.has(pe)), kr = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4639
+ return ue ? i("verification.shuftipro.validations-started") : i(kr, { values: T });
4640
+ }, ae = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, G = (f) => i(`verification.shuftipro.link-name.${f}`), Y = (f, y) => {
4649
4641
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4650
4642
  if (f.target.closest(".verificationLink")) {
4651
- const S = f.target.className.split(" ")[1];
4652
- b.add(S), r(4, F = X());
4643
+ const T = f.target.className.split(" ")[1];
4644
+ M.add(T), r(4, $ = se());
4653
4645
  }
4654
4646
  return;
4655
4647
  }
4656
- y === 0 && r(5, M = !M);
4657
- }, K = () => {
4658
- r(6, q = p === "false");
4648
+ y === 0 && r(5, z = !z);
4659
4649
  }, me = () => {
4660
- r(8, k = U + "/" + a + "/" + ls);
4650
+ r(6, I = p === "false");
4651
+ }, be = () => {
4652
+ r(8, W = R + "/" + a + "/" + fs);
4661
4653
  try {
4662
- fetch(k, { method: "HEAD" }).then((f) => {
4663
- r(7, N = f.ok);
4654
+ fetch(W, { method: "HEAD" }).then((f) => {
4655
+ r(7, k = f.ok);
4664
4656
  });
4665
4657
  } catch (f) {
4666
- r(7, N = !1);
4658
+ r(7, k = !1);
4667
4659
  }
4668
- }, pe = () => {
4660
+ }, Tt = () => {
4669
4661
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4670
- }, Dr = (f, y) => G(y, f), Lr = (f, y) => G(y, f), Ir = () => pe();
4671
- function Nr(f) {
4672
- at[f ? "unshift" : "push"](() => {
4673
- x = f, r(3, x);
4662
+ }, Lr = (f, y) => Y(y, f), Ir = (f, y) => Y(y, f), Nr = () => Tt();
4663
+ function Rr(f) {
4664
+ ut[f ? "unshift" : "push"](() => {
4665
+ S = f, r(3, S);
4674
4666
  });
4675
4667
  }
4676
4668
  return e.$$set = (f) => {
4677
- "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, a = f.lang), "translationurl" in f && r(14, l = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, d = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview);
4669
+ "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, a = f.lang), "translationurl" in f && r(14, l = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(17, x = f.playersession);
4678
4670
  }, e.$$.update = () => {
4679
4671
  e.$$.dirty[0] & /*lang*/
4680
- 8192 && a && Fe(), e.$$.dirty[0] & /*endpoint, session*/
4681
- 36864 && s && h && c(), e.$$.dirty[0] & /*endpoint, session*/
4682
- 36864 && s && !h && v(), e.$$.dirty[0] & /*translationurl*/
4683
- 16384 && l && be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4684
- 9 && o && x && _(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4685
- 10 && u && x && g(), e.$$.dirty[0] & /*ismobileview*/
4686
- 4 && p && K(), e.$$.dirty[0] & /*staticCdnUrl*/
4687
- 131072 && U && me();
4672
+ 8192 && a && _(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4673
+ 167936 && s && h && x && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4674
+ 167936 && s && !h && x && m(), e.$$.dirty[0] & /*translationurl*/
4675
+ 16384 && l && Fe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4676
+ 9 && o && S && g(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4677
+ 10 && u && S && d(), e.$$.dirty[0] & /*ismobileview*/
4678
+ 4 && p && me(), e.$$.dirty[0] & /*staticCdnUrl*/
4679
+ 262144 && R && be();
4688
4680
  }, [
4689
4681
  o,
4690
4682
  u,
4691
4683
  p,
4692
- x,
4693
- F,
4694
- M,
4695
- q,
4696
- N,
4684
+ S,
4685
+ $,
4686
+ z,
4687
+ I,
4697
4688
  k,
4689
+ W,
4698
4690
  i,
4699
- G,
4700
- pe,
4691
+ Y,
4692
+ Tt,
4701
4693
  s,
4702
4694
  a,
4703
4695
  l,
4704
4696
  h,
4705
- d,
4706
- U,
4707
- Dr,
4697
+ c,
4698
+ x,
4699
+ R,
4708
4700
  Lr,
4709
4701
  Ir,
4710
- Nr
4702
+ Nr,
4703
+ Rr
4711
4704
  ];
4712
4705
  }
4713
- class Cr extends li {
4706
+ class Dr extends fi {
4714
4707
  constructor(t) {
4715
- super(), ai(
4708
+ super(), li(
4716
4709
  this,
4717
4710
  t,
4711
+ cs,
4718
4712
  hs,
4719
- us,
4720
- rr,
4713
+ ir,
4721
4714
  {
4722
4715
  endpoint: 12,
4723
4716
  lang: 13,
@@ -4726,9 +4719,10 @@ class Cr extends li {
4726
4719
  clientstylingurl: 1,
4727
4720
  session: 15,
4728
4721
  customerid: 16,
4729
- ismobileview: 2
4722
+ ismobileview: 2,
4723
+ playersession: 17
4730
4724
  },
4731
- as,
4725
+ ls,
4732
4726
  [-1, -1]
4733
4727
  );
4734
4728
  }
@@ -4736,76 +4730,82 @@ class Cr extends li {
4736
4730
  return this.$$.ctx[12];
4737
4731
  }
4738
4732
  set endpoint(t) {
4739
- this.$$set({ endpoint: t }), te();
4733
+ this.$$set({ endpoint: t }), K();
4740
4734
  }
4741
4735
  get lang() {
4742
4736
  return this.$$.ctx[13];
4743
4737
  }
4744
4738
  set lang(t) {
4745
- this.$$set({ lang: t }), te();
4739
+ this.$$set({ lang: t }), K();
4746
4740
  }
4747
4741
  get translationurl() {
4748
4742
  return this.$$.ctx[14];
4749
4743
  }
4750
4744
  set translationurl(t) {
4751
- this.$$set({ translationurl: t }), te();
4745
+ this.$$set({ translationurl: t }), K();
4752
4746
  }
4753
4747
  get clientstyling() {
4754
4748
  return this.$$.ctx[0];
4755
4749
  }
4756
4750
  set clientstyling(t) {
4757
- this.$$set({ clientstyling: t }), te();
4751
+ this.$$set({ clientstyling: t }), K();
4758
4752
  }
4759
4753
  get clientstylingurl() {
4760
4754
  return this.$$.ctx[1];
4761
4755
  }
4762
4756
  set clientstylingurl(t) {
4763
- this.$$set({ clientstylingurl: t }), te();
4757
+ this.$$set({ clientstylingurl: t }), K();
4764
4758
  }
4765
4759
  get session() {
4766
4760
  return this.$$.ctx[15];
4767
4761
  }
4768
4762
  set session(t) {
4769
- this.$$set({ session: t }), te();
4763
+ this.$$set({ session: t }), K();
4770
4764
  }
4771
4765
  get customerid() {
4772
4766
  return this.$$.ctx[16];
4773
4767
  }
4774
4768
  set customerid(t) {
4775
- this.$$set({ customerid: t }), te();
4769
+ this.$$set({ customerid: t }), K();
4776
4770
  }
4777
4771
  get ismobileview() {
4778
4772
  return this.$$.ctx[2];
4779
4773
  }
4780
4774
  set ismobileview(t) {
4781
- this.$$set({ ismobileview: t }), te();
4775
+ this.$$set({ ismobileview: t }), K();
4776
+ }
4777
+ get playersession() {
4778
+ return this.$$.ctx[17];
4779
+ }
4780
+ set playersession(t) {
4781
+ this.$$set({ playersession: t }), K();
4782
4782
  }
4783
4783
  }
4784
- ui(Cr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4785
- const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4784
+ hi(Dr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4785
+ const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4786
4786
  __proto__: null,
4787
- default: Cr
4787
+ default: Dr
4788
4788
  }, Symbol.toStringTag, { value: "Module" }));
4789
4789
  export {
4790
- gs as C,
4791
- li as S,
4792
- jr as a,
4793
- ae as b,
4794
- ui as c,
4795
- ie as d,
4796
- ms as e,
4797
- te as f,
4798
- Z as g,
4799
- Ee as h,
4800
- ai as i,
4801
- cs as j,
4802
- Q as k,
4803
- re as l,
4804
- ds as m,
4805
- J as n,
4806
- ps as o,
4807
- xt as p,
4808
- at as q,
4809
- rr as s,
4790
+ bs as C,
4791
+ fi as S,
4792
+ Xr as a,
4793
+ le as b,
4794
+ ms as c,
4795
+ ne as d,
4796
+ gs as e,
4797
+ K as f,
4798
+ te as g,
4799
+ re as h,
4800
+ li as i,
4801
+ J as j,
4802
+ Ee as k,
4803
+ ut as l,
4804
+ _t as m,
4805
+ ee as n,
4806
+ vs as o,
4807
+ ps as p,
4808
+ hi as q,
4809
+ ir as s,
4810
4810
  Se as t
4811
4811
  };