@everymatrix/cashier-verifications 1.53.11 → 1.54.0

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