@everymatrix/cashier-verifications 1.48.2 → 1.49.1

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