@everymatrix/cashier-video-modal 1.86.4 → 1.86.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var fr = Object.defineProperty, cr = Object.defineProperties;
2
- var pr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
5
- var _e = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var cr = Object.defineProperty, pr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- dr.call(t, r) && _e(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- mr.call(t, r) && _e(e, r, t[r]);
7
+ mr.call(t, r) && xe(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ br.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => cr(e, pr(t));
13
- var H = (e, t, r) => (_e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
12
+ }, tt = (e, t) => pr(e, dr(t));
13
+ var w = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function S() {
31
31
  }
32
- function Ct(e) {
32
+ function Lt(e) {
33
33
  return e();
34
34
  }
35
- function tt() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ee(e) {
39
- e.forEach(Ct);
38
+ function K(e) {
39
+ e.forEach(Lt);
40
40
  }
41
- function Xe(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ot(e, t) {
44
+ function It(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let oe;
48
- function rt(e, t) {
48
+ function it(e, t) {
49
49
  return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
50
50
  }
51
- function br(e) {
51
+ function vr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function vr(e, ...t) {
54
+ function gr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,17 +60,17 @@ function vr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function B(e, t) {
63
+ function A(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function gr(e, t, r) {
67
- const n = yr(e);
66
+ function yr(e, t, r) {
67
+ const n = _r(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = L("style");
70
- i.id = t, i.textContent = r, _r(n, i);
70
+ i.id = t, i.textContent = r, Er(n, i);
71
71
  }
72
72
  }
73
- function yr(e) {
73
+ function _r(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,17 +80,17 @@ function yr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function _r(e, t) {
84
- return B(
83
+ function Er(e, t) {
84
+ return A(
85
85
  /** @type {Document} */
86
86
  e.head || e,
87
87
  t
88
88
  ), t.sheet;
89
89
  }
90
- function te(e, t, r) {
90
+ function ee(e, t, r) {
91
91
  e.insertBefore(t, r || null);
92
92
  }
93
- function X(e) {
93
+ function k(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
96
  function L(e) {
@@ -99,28 +99,28 @@ function L(e) {
99
99
  function ce(e) {
100
100
  return document.createElementNS("http://www.w3.org/2000/svg", e);
101
101
  }
102
- function Lt(e) {
102
+ function Nt(e) {
103
103
  return document.createTextNode(e);
104
104
  }
105
- function nt() {
106
- return Lt(" ");
105
+ function ot() {
106
+ return Nt(" ");
107
107
  }
108
- function Er() {
109
- return Lt("");
108
+ function xr() {
109
+ return Nt("");
110
110
  }
111
- function It(e, t, r, n) {
111
+ function Mt(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function _(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function xr(e) {
117
+ function Sr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function it(e, t, r) {
120
+ function st(e, t, r) {
121
121
  e.classList.toggle(t, !!r);
122
122
  }
123
- function Sr(e) {
123
+ function wr(e) {
124
124
  const t = {};
125
125
  return e.childNodes.forEach(
126
126
  /** @param {Element} node */
@@ -129,87 +129,87 @@ function Sr(e) {
129
129
  }
130
130
  ), t;
131
131
  }
132
- let q;
133
- function J(e) {
134
- q = e;
132
+ let J;
133
+ function Q(e) {
134
+ J = e;
135
135
  }
136
136
  function Hr() {
137
- if (!q)
137
+ if (!J)
138
138
  throw new Error("Function called outside component initialization");
139
- return q;
139
+ return J;
140
140
  }
141
- function wr(e) {
141
+ function Tr(e) {
142
142
  Hr().$$.on_mount.push(e);
143
143
  }
144
- const R = [], Pe = [];
144
+ const R = [], Ce = [];
145
145
  let D = [];
146
- const ot = [], Tr = /* @__PURE__ */ Promise.resolve();
147
- let Ce = !1;
148
- function Br() {
149
- Ce || (Ce = !0, Tr.then(U));
146
+ const at = [], Br = /* @__PURE__ */ Promise.resolve();
147
+ let Le = !1;
148
+ function Ar() {
149
+ Le || (Le = !0, Br.then(U));
150
150
  }
151
- function Oe(e) {
151
+ function Ie(e) {
152
152
  D.push(e);
153
153
  }
154
- const Ee = /* @__PURE__ */ new Set();
154
+ const Se = /* @__PURE__ */ new Set();
155
155
  let M = 0;
156
156
  function U() {
157
157
  if (M !== 0)
158
158
  return;
159
- const e = q;
159
+ const e = J;
160
160
  do {
161
161
  try {
162
162
  for (; M < R.length; ) {
163
163
  const t = R[M];
164
- M++, J(t), Ar(t.$$);
164
+ M++, Q(t), Pr(t.$$);
165
165
  }
166
166
  } catch (t) {
167
167
  throw R.length = 0, M = 0, t;
168
168
  }
169
- for (J(null), R.length = 0, M = 0; Pe.length; )
170
- Pe.pop()();
169
+ for (Q(null), R.length = 0, M = 0; Ce.length; )
170
+ Ce.pop()();
171
171
  for (let t = 0; t < D.length; t += 1) {
172
172
  const r = D[t];
173
- Ee.has(r) || (Ee.add(r), r());
173
+ Se.has(r) || (Se.add(r), r());
174
174
  }
175
175
  D.length = 0;
176
176
  } while (R.length);
177
- for (; ot.length; )
178
- ot.pop()();
179
- Ce = !1, Ee.clear(), J(e);
177
+ for (; at.length; )
178
+ at.pop()();
179
+ Le = !1, Se.clear(), Q(e);
180
180
  }
181
- function Ar(e) {
181
+ function Pr(e) {
182
182
  if (e.fragment !== null) {
183
- e.update(), ee(e.before_update);
183
+ e.update(), K(e.before_update);
184
184
  const t = e.dirty;
185
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
185
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
186
186
  }
187
187
  }
188
- function Pr(e) {
188
+ function Or(e) {
189
189
  const t = [], r = [];
190
190
  D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
191
191
  }
192
192
  const Cr = /* @__PURE__ */ new Set();
193
- function Or(e, t) {
193
+ function Lr(e, t) {
194
194
  e && e.i && (Cr.delete(e), e.i(t));
195
195
  }
196
- function Lr(e, t, r) {
196
+ function Ir(e, t, r) {
197
197
  const { fragment: n, after_update: i } = e.$$;
198
- n && n.m(t, r), Oe(() => {
199
- const o = e.$$.on_mount.map(Ct).filter(Xe);
200
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
201
- }), i.forEach(Oe);
198
+ n && n.m(t, r), Ie(() => {
199
+ const o = e.$$.on_mount.map(Lt).filter(Qe);
200
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
201
+ }), i.forEach(Ie);
202
202
  }
203
- function Ir(e, t) {
203
+ function Nr(e, t) {
204
204
  const r = e.$$;
205
- r.fragment !== null && (Pr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
+ r.fragment !== null && (Or(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
206
  }
207
- function Nr(e, t) {
208
- e.$$.dirty[0] === -1 && (R.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ function Mr(e, t) {
208
+ e.$$.dirty[0] === -1 && (R.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
209
  }
210
- function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
211
- const h = q;
212
- J(e);
210
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
211
+ const h = J;
212
+ Q(e);
213
213
  const u = e.$$ = {
214
214
  fragment: null,
215
215
  ctx: [],
@@ -217,7 +217,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  props: o,
218
218
  update: S,
219
219
  not_equal: i,
220
- bound: tt(),
220
+ bound: nt(),
221
221
  // lifecycle
222
222
  on_mount: [],
223
223
  on_destroy: [],
@@ -226,48 +226,48 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
226
226
  after_update: [],
227
227
  context: new Map(t.context || (h ? h.$$.context : [])),
228
228
  // everything else
229
- callbacks: tt(),
229
+ callbacks: nt(),
230
230
  dirty: a,
231
231
  skip_bound: !1,
232
232
  root: t.target || h.$$.root
233
233
  };
234
234
  s && s(u.root);
235
235
  let l = !1;
236
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
237
- const g = b.length ? b[0] : c;
238
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Nr(e, f)), c;
239
- }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
237
+ const v = m.length ? m[0] : c;
238
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Mr(e, f)), c;
239
+ }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
240
  if (t.hydrate) {
241
- const f = xr(t.target);
242
- u.fragment && u.fragment.l(f), f.forEach(X);
241
+ const f = Sr(t.target);
242
+ u.fragment && u.fragment.l(f), f.forEach(k);
243
243
  } else
244
244
  u.fragment && u.fragment.c();
245
- t.intro && Or(e.$$.fragment), Lr(e, t.target, t.anchor), U();
245
+ t.intro && Lr(e.$$.fragment), Ir(e, t.target, t.anchor), U();
246
246
  }
247
- J(h);
247
+ Q(h);
248
248
  }
249
- let Nt;
250
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
249
+ let $t;
250
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
251
251
  constructor(t, r, n) {
252
252
  super();
253
253
  /** The Svelte component constructor */
254
- H(this, "$$ctor");
254
+ w(this, "$$ctor");
255
255
  /** Slots */
256
- H(this, "$$s");
256
+ w(this, "$$s");
257
257
  /** The Svelte component instance */
258
- H(this, "$$c");
258
+ w(this, "$$c");
259
259
  /** Whether or not the custom element is connected */
260
- H(this, "$$cn", !1);
260
+ w(this, "$$cn", !1);
261
261
  /** Component props data */
262
- H(this, "$$d", {});
262
+ w(this, "$$d", {});
263
263
  /** `true` if currently in the process of reflecting component props back to attributes */
264
- H(this, "$$r", !1);
264
+ w(this, "$$r", !1);
265
265
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
266
- H(this, "$$p_d", {});
266
+ w(this, "$$p_d", {});
267
267
  /** @type {Record<string, Function[]>} Event listeners */
268
- H(this, "$$l", {});
268
+ w(this, "$$l", {});
269
269
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
270
- H(this, "$$l_u", /* @__PURE__ */ new Map());
270
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
271
271
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
272
272
  }
273
273
  addEventListener(t, r, n) {
@@ -284,7 +284,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
284
284
  }
285
285
  }
286
286
  connectedCallback() {
287
- return et(this, null, function* () {
287
+ return rt(this, null, function* () {
288
288
  if (this.$$cn = !0, !this.$$c) {
289
289
  let t = function(o) {
290
290
  return () => {
@@ -298,17 +298,17 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
298
298
  * @param {HTMLElement} [anchor]
299
299
  */
300
300
  m: function(u, l) {
301
- te(u, s, l);
301
+ ee(u, s, l);
302
302
  },
303
303
  d: function(u) {
304
- u && X(s);
304
+ u && k(s);
305
305
  }
306
306
  };
307
307
  };
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const r = {}, n = Sr(this);
311
+ const r = {}, n = wr(this);
312
312
  for (const o of this.$$s)
313
313
  o in n && (r[o] = [t(o)]);
314
314
  for (const o of this.attributes) {
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
319
319
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
320
320
  this.$$c = new this.$$ctor({
321
321
  target: this.shadowRoot || this,
322
- props: Ke(Ye({}, this.$$d), {
322
+ props: tt(et({}, this.$$d), {
323
323
  $$slots: r,
324
324
  $$scope: {
325
325
  ctx: []
@@ -397,8 +397,8 @@ function ue(e, t, r, n) {
397
397
  return t;
398
398
  }
399
399
  }
400
- function $r(e, t, r, n, i, o) {
401
- let s = class extends Nt {
400
+ function Rr(e, t, r, n, i, o) {
401
+ let s = class extends $t {
402
402
  constructor() {
403
403
  super(e, r, i), this.$$p_d = t;
404
404
  }
@@ -428,7 +428,7 @@ function $r(e, t, r, n, i, o) {
428
428
  }), e.element = /** @type {any} */
429
429
  s, s;
430
430
  }
431
- class Rr {
431
+ class Ur {
432
432
  constructor() {
433
433
  /**
434
434
  * ### PRIVATE API
@@ -437,7 +437,7 @@ class Rr {
437
437
  *
438
438
  * @type {any}
439
439
  */
440
- H(this, "$$");
440
+ w(this, "$$");
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -445,11 +445,11 @@ class Rr {
445
445
  *
446
446
  * @type {any}
447
447
  */
448
- H(this, "$$set");
448
+ w(this, "$$set");
449
449
  }
450
450
  /** @returns {void} */
451
451
  $destroy() {
452
- Ir(this, 1), this.$destroy = S;
452
+ Nr(this, 1), this.$destroy = S;
453
453
  }
454
454
  /**
455
455
  * @template {Extract<keyof Events, string>} K
@@ -458,7 +458,7 @@ class Rr {
458
458
  * @returns {() => void}
459
459
  */
460
460
  $on(t, r) {
461
- if (!Xe(r))
461
+ if (!Qe(r))
462
462
  return S;
463
463
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
464
  return n.push(r), () => {
@@ -471,18 +471,18 @@ class Rr {
471
471
  * @returns {void}
472
472
  */
473
473
  $set(t) {
474
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
474
+ this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
475
  }
476
476
  }
477
- const Ur = "4";
478
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
479
- function Dr(e, t) {
477
+ const Dr = "4";
478
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
479
+ function Gr(e, t) {
480
480
  if (e) {
481
481
  const r = document.createElement("style");
482
482
  r.innerHTML = t, e.appendChild(r);
483
483
  }
484
484
  }
485
- function Gr(e, t) {
485
+ function Fr(e, t) {
486
486
  if (!e || !t)
487
487
  return;
488
488
  const r = new URL(t);
@@ -493,7 +493,7 @@ function Gr(e, t) {
493
493
  console.error("There was an error while trying to load client styling from URL", n);
494
494
  });
495
495
  }
496
- function Fr(e, t, r) {
496
+ function jr(e, t, r) {
497
497
  if (window.emMessageBus) {
498
498
  const n = document.createElement("style");
499
499
  window.emMessageBus.subscribe(t, (i) => {
@@ -515,43 +515,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
515
515
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
516
516
  PERFORMANCE OF THIS SOFTWARE.
517
517
  ***************************************************************************** */
518
- var Le = function(e, t) {
519
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
+ var Ne = function(e, t) {
519
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
520
520
  r.__proto__ = n;
521
521
  } || function(r, n) {
522
522
  for (var i in n)
523
523
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
524
- }, Le(e, t);
524
+ }, Ne(e, t);
525
525
  };
526
- function P(e, t) {
526
+ function te(e, t) {
527
527
  if (typeof t != "function" && t !== null)
528
528
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
529
- Le(e, t);
529
+ Ne(e, t);
530
530
  function r() {
531
531
  this.constructor = e;
532
532
  }
533
533
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
534
534
  }
535
- var m = function() {
536
- return m = Object.assign || function(t) {
537
- for (var r, n = 1, i = arguments.length; n < i; n++) {
538
- r = arguments[n];
539
- for (var o in r)
540
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
541
- }
542
- return t;
543
- }, m.apply(this, arguments);
544
- };
545
- function jr(e, t) {
546
- var r = {};
547
- for (var n in e)
548
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
549
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
550
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
551
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
552
- return r;
553
- }
554
- function Ie(e) {
535
+ function Me(e) {
555
536
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
556
537
  if (r)
557
538
  return r.call(e);
@@ -563,7 +544,7 @@ function Ie(e) {
563
544
  };
564
545
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
565
546
  }
566
- function Ne(e, t) {
547
+ function $e(e, t) {
567
548
  var r = typeof Symbol == "function" && e[Symbol.iterator];
568
549
  if (!r)
569
550
  return e;
@@ -583,22 +564,22 @@ function Ne(e, t) {
583
564
  }
584
565
  return o;
585
566
  }
586
- function G(e, t, r) {
587
- if (r || arguments.length === 2)
567
+ function Re(e, t, r) {
568
+ if (arguments.length === 2)
588
569
  for (var n = 0, i = t.length, o; n < i; n++)
589
570
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
590
571
  return e.concat(o || t);
591
572
  }
592
- function A(e) {
573
+ function P(e) {
593
574
  return typeof e == "function";
594
575
  }
595
- function Mt(e) {
576
+ function Rt(e) {
596
577
  var t = function(n) {
597
578
  Error.call(n), n.stack = new Error().stack;
598
579
  }, r = e(t);
599
580
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
600
581
  }
601
- var xe = Mt(function(e) {
582
+ var we = Rt(function(e) {
602
583
  return function(r) {
603
584
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
604
585
  ` + r.map(function(n, i) {
@@ -607,13 +588,13 @@ var xe = Mt(function(e) {
607
588
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
608
589
  };
609
590
  });
610
- function Me(e, t) {
591
+ function Ue(e, t) {
611
592
  if (e) {
612
593
  var r = e.indexOf(t);
613
594
  0 <= r && e.splice(r, 1);
614
595
  }
615
596
  }
616
- var me = function() {
597
+ var be = function() {
617
598
  function e(t) {
618
599
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
619
600
  }
@@ -625,12 +606,12 @@ var me = function() {
625
606
  if (s)
626
607
  if (this._parentage = null, Array.isArray(s))
627
608
  try {
628
- for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
609
+ for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
629
610
  var u = h.value;
630
611
  u.remove(this);
631
612
  }
632
- } catch (v) {
633
- t = { error: v };
613
+ } catch (b) {
614
+ t = { error: b };
634
615
  } finally {
635
616
  try {
636
617
  h && !h.done && (r = a.return) && r.call(a);
@@ -642,29 +623,29 @@ var me = function() {
642
623
  else
643
624
  s.remove(this);
644
625
  var l = this.initialTeardown;
645
- if (A(l))
626
+ if (P(l))
646
627
  try {
647
628
  l();
648
- } catch (v) {
649
- o = v instanceof xe ? v.errors : [v];
629
+ } catch (b) {
630
+ o = b instanceof we ? b.errors : [b];
650
631
  }
651
632
  var f = this._finalizers;
652
633
  if (f) {
653
634
  this._finalizers = null;
654
635
  try {
655
- for (var c = Ie(f), b = c.next(); !b.done; b = c.next()) {
656
- var g = b.value;
636
+ for (var c = Me(f), m = c.next(); !m.done; m = c.next()) {
637
+ var v = m.value;
657
638
  try {
658
- st(g);
659
- } catch (v) {
660
- o = o != null ? o : [], v instanceof xe ? o = G(G([], Ne(o)), Ne(v.errors)) : o.push(v);
639
+ ut(v);
640
+ } catch (b) {
641
+ o = o != null ? o : [], b instanceof we ? o = Re(Re([], $e(o)), $e(b.errors)) : o.push(b);
661
642
  }
662
643
  }
663
- } catch (v) {
664
- n = { error: v };
644
+ } catch (b) {
645
+ n = { error: b };
665
646
  } finally {
666
647
  try {
667
- b && !b.done && (i = c.return) && i.call(c);
648
+ m && !m.done && (i = c.return) && i.call(c);
668
649
  } finally {
669
650
  if (n)
670
651
  throw n.error;
@@ -672,13 +653,13 @@ var me = function() {
672
653
  }
673
654
  }
674
655
  if (o)
675
- throw new xe(o);
656
+ throw new we(o);
676
657
  }
677
658
  }, e.prototype.add = function(t) {
678
659
  var r;
679
660
  if (t && t !== this)
680
661
  if (this.closed)
681
- st(t);
662
+ ut(t);
682
663
  else {
683
664
  if (t instanceof e) {
684
665
  if (t.closed || t._hasParent(this))
@@ -695,56 +676,52 @@ var me = function() {
695
676
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
696
677
  }, e.prototype._removeParent = function(t) {
697
678
  var r = this._parentage;
698
- r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
679
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
699
680
  }, e.prototype.remove = function(t) {
700
681
  var r = this._finalizers;
701
- r && Me(r, t), t instanceof e && t._removeParent(this);
682
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
702
683
  }, e.EMPTY = function() {
703
684
  var t = new e();
704
685
  return t.closed = !0, t;
705
686
  }(), e;
706
- }(), $t = me.EMPTY;
707
- function Rt(e) {
708
- return e instanceof me || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
709
- }
710
- function st(e) {
711
- A(e) ? e() : e.unsubscribe();
712
- }
713
- var Ut = {
714
- onUnhandledError: null,
715
- onStoppedNotification: null,
716
- Promise: void 0,
717
- useDeprecatedSynchronousErrorHandling: !1,
718
- useDeprecatedNextContext: !1
719
- }, Vr = {
687
+ }(), Ut = be.EMPTY;
688
+ function Dt(e) {
689
+ return e instanceof be || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
690
+ }
691
+ function ut(e) {
692
+ P(e) ? e() : e.unsubscribe();
693
+ }
694
+ var Vr = {
695
+ Promise: void 0
696
+ }, kr = {
720
697
  setTimeout: function(e, t) {
721
698
  for (var r = [], n = 2; n < arguments.length; n++)
722
699
  r[n - 2] = arguments[n];
723
- return setTimeout.apply(void 0, G([e, t], Ne(r)));
700
+ return setTimeout.apply(void 0, Re([e, t], $e(r)));
724
701
  },
725
702
  clearTimeout: function(e) {
726
703
  return clearTimeout(e);
727
704
  },
728
705
  delegate: void 0
729
706
  };
730
- function kr(e) {
731
- Vr.setTimeout(function() {
707
+ function Xr(e) {
708
+ kr.setTimeout(function() {
732
709
  throw e;
733
710
  });
734
711
  }
735
- function at() {
712
+ function ht() {
736
713
  }
737
714
  function he(e) {
738
715
  e();
739
716
  }
740
- var Dt = function(e) {
741
- P(t, e);
717
+ var Gt = function(e) {
718
+ te(t, e);
742
719
  function t(r) {
743
720
  var n = e.call(this) || this;
744
- return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Zr, n;
721
+ return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Zr, n;
745
722
  }
746
723
  return t.create = function(r, n, i) {
747
- return new $e(r, n, i);
724
+ return new De(r, n, i);
748
725
  }, t.prototype.next = function(r) {
749
726
  this.isStopped || this._next(r);
750
727
  }, t.prototype.error = function(r) {
@@ -768,11 +745,7 @@ var Dt = function(e) {
768
745
  this.unsubscribe();
769
746
  }
770
747
  }, t;
771
- }(me), Xr = Function.prototype.bind;
772
- function Se(e, t) {
773
- return Xr.call(e, t);
774
- }
775
- var Wr = function() {
748
+ }(be), Wr = function() {
776
749
  function e(t) {
777
750
  this.partialObserver = t;
778
751
  }
@@ -803,41 +776,29 @@ var Wr = function() {
803
776
  se(r);
804
777
  }
805
778
  }, e;
806
- }(), $e = function(e) {
807
- P(t, e);
779
+ }(), De = function(e) {
780
+ te(t, e);
808
781
  function t(r, n, i) {
809
782
  var o = e.call(this) || this, s;
810
- if (A(r) || !r)
811
- s = {
812
- next: r != null ? r : void 0,
813
- error: n != null ? n : void 0,
814
- complete: i != null ? i : void 0
815
- };
816
- else {
817
- var a;
818
- o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
819
- return o.unsubscribe();
820
- }, s = {
821
- next: r.next && Se(r.next, a),
822
- error: r.error && Se(r.error, a),
823
- complete: r.complete && Se(r.complete, a)
824
- }) : s = r;
825
- }
826
- return o.destination = new Wr(s), o;
783
+ return P(r) || !r ? s = {
784
+ next: r != null ? r : void 0,
785
+ error: n != null ? n : void 0,
786
+ complete: i != null ? i : void 0
787
+ } : s = r, o.destination = new Wr(s), o;
827
788
  }
828
789
  return t;
829
- }(Dt);
790
+ }(Gt);
830
791
  function se(e) {
831
- kr(e);
792
+ Xr(e);
832
793
  }
833
794
  function zr(e) {
834
795
  throw e;
835
796
  }
836
797
  var Zr = {
837
798
  closed: !0,
838
- next: at,
799
+ next: ht,
839
800
  error: zr,
840
- complete: at
801
+ complete: ht
841
802
  }, Qr = function() {
842
803
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
843
804
  }();
@@ -851,7 +812,7 @@ function qr(e) {
851
812
  }, r);
852
813
  };
853
814
  }
854
- var ut = function() {
815
+ var lt = function() {
855
816
  function e(t) {
856
817
  t && (this._subscribe = t);
857
818
  }
@@ -859,7 +820,7 @@ var ut = function() {
859
820
  var r = new e();
860
821
  return r.source = this, r.operator = t, r;
861
822
  }, e.prototype.subscribe = function(t, r, n) {
862
- var i = this, o = Kr(t) ? t : new $e(t, r, n);
823
+ var i = this, o = Kr(t) ? t : new De(t, r, n);
863
824
  return he(function() {
864
825
  var s = i, a = s.operator, h = s.source;
865
826
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -872,8 +833,8 @@ var ut = function() {
872
833
  }
873
834
  }, e.prototype.forEach = function(t, r) {
874
835
  var n = this;
875
- return r = ht(r), new r(function(i, o) {
876
- var s = new $e({
836
+ return r = ft(r), new r(function(i, o) {
837
+ var s = new De({
877
838
  next: function(a) {
878
839
  try {
879
840
  t(a);
@@ -897,7 +858,7 @@ var ut = function() {
897
858
  return qr(t)(this);
898
859
  }, e.prototype.toPromise = function(t) {
899
860
  var r = this;
900
- return t = ht(t), new t(function(n, i) {
861
+ return t = ft(t), new t(function(n, i) {
901
862
  var o;
902
863
  r.subscribe(function(s) {
903
864
  return o = s;
@@ -911,28 +872,28 @@ var ut = function() {
911
872
  return new e(t);
912
873
  }, e;
913
874
  }();
914
- function ht(e) {
875
+ function ft(e) {
915
876
  var t;
916
- return (t = e != null ? e : Ut.Promise) !== null && t !== void 0 ? t : Promise;
877
+ return (t = e != null ? e : Vr.Promise) !== null && t !== void 0 ? t : Promise;
917
878
  }
918
879
  function Yr(e) {
919
- return e && A(e.next) && A(e.error) && A(e.complete);
880
+ return e && P(e.next) && P(e.error) && P(e.complete);
920
881
  }
921
882
  function Kr(e) {
922
- return e && e instanceof Dt || Yr(e) && Rt(e);
883
+ return e && e instanceof Gt || Yr(e) && Dt(e);
923
884
  }
924
- var en = Mt(function(e) {
885
+ var en = Rt(function(e) {
925
886
  return function() {
926
887
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
927
888
  };
928
- }), Gt = function(e) {
929
- P(t, e);
889
+ }), Ft = function(e) {
890
+ te(t, e);
930
891
  function t() {
931
892
  var r = e.call(this) || this;
932
893
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
933
894
  }
934
895
  return t.prototype.lift = function(r) {
935
- var n = new lt(this, this);
896
+ var n = new ct(this, this);
936
897
  return n.operator = r, n;
937
898
  }, t.prototype._throwIfClosed = function() {
938
899
  if (this.closed)
@@ -944,7 +905,7 @@ var en = Mt(function(e) {
944
905
  if (n._throwIfClosed(), !n.isStopped) {
945
906
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
946
907
  try {
947
- for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
908
+ for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
948
909
  var h = a.value;
949
910
  h.next(r);
950
911
  }
@@ -993,20 +954,20 @@ var en = Mt(function(e) {
993
954
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
994
955
  }, t.prototype._innerSubscribe = function(r) {
995
956
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
996
- return o || s ? $t : (this.currentObservers = null, a.push(r), new me(function() {
997
- n.currentObservers = null, Me(a, r);
957
+ return o || s ? Ut : (this.currentObservers = null, a.push(r), new be(function() {
958
+ n.currentObservers = null, Ue(a, r);
998
959
  }));
999
960
  }, t.prototype._checkFinalizedStatuses = function(r) {
1000
961
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1001
962
  i ? r.error(o) : s && r.complete();
1002
963
  }, t.prototype.asObservable = function() {
1003
- var r = new ut();
964
+ var r = new lt();
1004
965
  return r.source = this, r;
1005
966
  }, t.create = function(r, n) {
1006
- return new lt(r, n);
967
+ return new ct(r, n);
1007
968
  }, t;
1008
- }(ut), lt = function(e) {
1009
- P(t, e);
969
+ }(lt), ct = function(e) {
970
+ te(t, e);
1010
971
  function t(r, n) {
1011
972
  var i = e.call(this) || this;
1012
973
  return i.destination = r, i.source = n, i;
@@ -1022,17 +983,17 @@ var en = Mt(function(e) {
1022
983
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1023
984
  }, t.prototype._subscribe = function(r) {
1024
985
  var n, i;
1025
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
986
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
1026
987
  }, t;
1027
- }(Gt), Ft = {
988
+ }(Ft), jt = {
1028
989
  now: function() {
1029
- return (Ft.delegate || Date).now();
990
+ return (jt.delegate || Date).now();
1030
991
  },
1031
992
  delegate: void 0
1032
993
  }, tn = function(e) {
1033
- P(t, e);
994
+ te(t, e);
1034
995
  function t(r, n, i) {
1035
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1036
997
  var o = e.call(this) || this;
1037
998
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1038
999
  }
@@ -1052,24 +1013,24 @@ var en = Mt(function(e) {
1052
1013
  u && o.splice(0, u + 1);
1053
1014
  }
1054
1015
  }, t;
1055
- }(Gt);
1056
- const ft = [], ct = {}, rn = (e, t = 0) => {
1057
- if (ft.indexOf(e) == -1) {
1016
+ }(Ft);
1017
+ const pt = [], dt = {}, rn = (e, t = 0) => {
1018
+ if (pt.indexOf(e) == -1) {
1058
1019
  const r = new tn(t);
1059
- ct[e] = r, ft.push(e);
1020
+ dt[e] = r, pt.push(e);
1060
1021
  }
1061
- return ct[e];
1022
+ return dt[e];
1062
1023
  }, $ = [];
1063
1024
  function nn(e, t) {
1064
1025
  return {
1065
- subscribe: be(e, t).subscribe
1026
+ subscribe: ve(e, t).subscribe
1066
1027
  };
1067
1028
  }
1068
- function be(e, t = S) {
1029
+ function ve(e, t = S) {
1069
1030
  let r;
1070
1031
  const n = /* @__PURE__ */ new Set();
1071
1032
  function i(a) {
1072
- if (Ot(e, a) && (e = a, r)) {
1033
+ if (It(e, a) && (e = a, r)) {
1073
1034
  const h = !$.length;
1074
1035
  for (const u of n)
1075
1036
  u[1](), $.push(u, e);
@@ -1091,7 +1052,7 @@ function be(e, t = S) {
1091
1052
  }
1092
1053
  return { set: i, update: o, subscribe: s };
1093
1054
  }
1094
- function W(e, t, r) {
1055
+ function X(e, t, r) {
1095
1056
  const n = !Array.isArray(e), i = n ? [e] : e;
1096
1057
  if (!i.every(Boolean))
1097
1058
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1104,21 +1065,21 @@ function W(e, t, r) {
1104
1065
  if (l)
1105
1066
  return;
1106
1067
  f();
1107
- const g = t(n ? u[0] : u, s, a);
1108
- o ? s(g) : f = Xe(g) ? g : S;
1109
- }, b = i.map(
1110
- (g, v) => vr(
1111
- g,
1112
- (w) => {
1113
- u[v] = w, l &= ~(1 << v), h && c();
1068
+ const v = t(n ? u[0] : u, s, a);
1069
+ o ? s(v) : f = Qe(v) ? v : S;
1070
+ }, m = i.map(
1071
+ (v, b) => gr(
1072
+ v,
1073
+ (H) => {
1074
+ u[b] = H, l &= ~(1 << b), h && c();
1114
1075
  },
1115
1076
  () => {
1116
- l |= 1 << v;
1077
+ l |= 1 << b;
1117
1078
  }
1118
1079
  )
1119
1080
  );
1120
1081
  return h = !0, c(), function() {
1121
- ee(b), f(), h = !1;
1082
+ K(m), f(), h = !1;
1122
1083
  };
1123
1084
  });
1124
1085
  }
@@ -1142,29 +1103,29 @@ function fn(e) {
1142
1103
  function cn(e) {
1143
1104
  return Array.isArray(e) ? [] : {};
1144
1105
  }
1145
- function Y(e, t) {
1146
- return t.clone !== !1 && t.isMergeableObject(e) ? F(cn(e), e, t) : e;
1106
+ function q(e, t) {
1107
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(cn(e), e, t) : e;
1147
1108
  }
1148
1109
  function pn(e, t, r) {
1149
1110
  return e.concat(t).map(function(n) {
1150
- return Y(n, r);
1111
+ return q(n, r);
1151
1112
  });
1152
1113
  }
1153
1114
  function dn(e, t) {
1154
1115
  if (!t.customMerge)
1155
- return F;
1116
+ return G;
1156
1117
  var r = t.customMerge(e);
1157
- return typeof r == "function" ? r : F;
1118
+ return typeof r == "function" ? r : G;
1158
1119
  }
1159
1120
  function mn(e) {
1160
1121
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1161
1122
  return Object.propertyIsEnumerable.call(e, t);
1162
1123
  }) : [];
1163
1124
  }
1164
- function pt(e) {
1125
+ function mt(e) {
1165
1126
  return Object.keys(e).concat(mn(e));
1166
1127
  }
1167
- function jt(e, t) {
1128
+ function Vt(e, t) {
1168
1129
  try {
1169
1130
  return t in e;
1170
1131
  } catch (r) {
@@ -1172,129 +1133,179 @@ function jt(e, t) {
1172
1133
  }
1173
1134
  }
1174
1135
  function bn(e, t) {
1175
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1136
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1176
1137
  }
1177
1138
  function vn(e, t, r) {
1178
1139
  var n = {};
1179
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1180
- n[i] = Y(e[i], r);
1181
- }), pt(t).forEach(function(i) {
1182
- bn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1140
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1141
+ n[i] = q(e[i], r);
1142
+ }), mt(t).forEach(function(i) {
1143
+ bn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1183
1144
  }), n;
1184
1145
  }
1185
- function F(e, t, r) {
1186
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = Y;
1146
+ function G(e, t, r) {
1147
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = q;
1187
1148
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1188
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : Y(t, r);
1149
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : q(t, r);
1189
1150
  }
1190
- F.all = function(t, r) {
1151
+ G.all = function(t, r) {
1191
1152
  if (!Array.isArray(t))
1192
1153
  throw new Error("first argument should be an array");
1193
1154
  return t.reduce(function(n, i) {
1194
- return F(n, i, r);
1155
+ return G(n, i, r);
1195
1156
  }, {});
1196
1157
  };
1197
- var gn = F, yn = gn;
1158
+ var gn = G, yn = gn;
1198
1159
  const _n = /* @__PURE__ */ on(yn);
1199
- function He(e, t) {
1200
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : xn;
1160
+ var Ge = function(e, t) {
1161
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1162
+ r.__proto__ = n;
1163
+ } || function(r, n) {
1164
+ for (var i in n)
1165
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1166
+ }, Ge(e, t);
1167
+ };
1168
+ function ge(e, t) {
1169
+ if (typeof t != "function" && t !== null)
1170
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1171
+ Ge(e, t);
1172
+ function r() {
1173
+ this.constructor = e;
1174
+ }
1175
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1176
+ }
1177
+ var B = function() {
1178
+ return B = Object.assign || function(t) {
1179
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1180
+ r = arguments[n];
1181
+ for (var o in r)
1182
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1183
+ }
1184
+ return t;
1185
+ }, B.apply(this, arguments);
1186
+ };
1187
+ function En(e, t) {
1188
+ var r = {};
1189
+ for (var n in e)
1190
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1191
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1192
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1193
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1194
+ return r;
1195
+ }
1196
+ function He(e, t, r) {
1197
+ if (r || arguments.length === 2)
1198
+ for (var n = 0, i = t.length, o; n < i; n++)
1199
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1200
+ return e.concat(o || Array.prototype.slice.call(t));
1201
+ }
1202
+ function Te(e, t) {
1203
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : wn;
1201
1204
  return i(e, {
1202
1205
  cache: r,
1203
1206
  serializer: n
1204
1207
  });
1205
1208
  }
1206
- function En(e) {
1209
+ function xn(e) {
1207
1210
  return e == null || typeof e == "number" || typeof e == "boolean";
1208
1211
  }
1209
- function Vt(e, t, r, n) {
1210
- var i = En(n) ? n : r(n), o = t.get(i);
1212
+ function Sn(e, t, r, n) {
1213
+ var i = xn(n) ? n : r(n), o = t.get(i);
1211
1214
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1212
1215
  }
1213
1216
  function kt(e, t, r) {
1214
1217
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1215
1218
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1216
1219
  }
1217
- function We(e, t, r, n, i) {
1220
+ function Xt(e, t, r, n, i) {
1218
1221
  return r.bind(t, e, n, i);
1219
1222
  }
1220
- function xn(e, t) {
1221
- var r = e.length === 1 ? Vt : kt;
1222
- return We(e, this, r, t.cache.create(), t.serializer);
1223
- }
1224
- function Sn(e, t) {
1225
- return We(e, this, kt, t.cache.create(), t.serializer);
1223
+ function wn(e, t) {
1224
+ var r = e.length === 1 ? Sn : kt;
1225
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1226
1226
  }
1227
1227
  function Hn(e, t) {
1228
- return We(e, this, Vt, t.cache.create(), t.serializer);
1228
+ return Xt(e, this, kt, t.cache.create(), t.serializer);
1229
1229
  }
1230
- var wn = function() {
1230
+ var Tn = function() {
1231
1231
  return JSON.stringify(arguments);
1232
- };
1233
- function ze() {
1234
- this.cache = /* @__PURE__ */ Object.create(null);
1235
- }
1236
- ze.prototype.get = function(e) {
1237
- return this.cache[e];
1238
- };
1239
- ze.prototype.set = function(e, t) {
1240
- this.cache[e] = t;
1241
- };
1242
- var Tn = {
1232
+ }, Bn = (
1233
+ /** @class */
1234
+ function() {
1235
+ function e() {
1236
+ this.cache = /* @__PURE__ */ Object.create(null);
1237
+ }
1238
+ return e.prototype.get = function(t) {
1239
+ return this.cache[t];
1240
+ }, e.prototype.set = function(t, r) {
1241
+ this.cache[t] = r;
1242
+ }, e;
1243
+ }()
1244
+ ), An = {
1243
1245
  create: function() {
1244
- return new ze();
1246
+ return new Bn();
1245
1247
  }
1246
- }, we = {
1247
- variadic: Sn,
1248
- monadic: Hn
1249
- }, p;
1248
+ }, Be = {
1249
+ variadic: Hn
1250
+ }, pe = function() {
1251
+ return pe = Object.assign || function(t) {
1252
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1253
+ r = arguments[n];
1254
+ for (var o in r)
1255
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1256
+ }
1257
+ return t;
1258
+ }, pe.apply(this, arguments);
1259
+ };
1260
+ var p;
1250
1261
  (function(e) {
1251
1262
  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";
1252
1263
  })(p || (p = {}));
1253
- var y;
1264
+ var g;
1254
1265
  (function(e) {
1255
1266
  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";
1256
- })(y || (y = {}));
1257
- var j;
1267
+ })(g || (g = {}));
1268
+ var F;
1258
1269
  (function(e) {
1259
1270
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1260
- })(j || (j = {}));
1261
- function dt(e) {
1262
- return e.type === y.literal;
1263
- }
1264
- function Bn(e) {
1265
- return e.type === y.argument;
1271
+ })(F || (F = {}));
1272
+ function bt(e) {
1273
+ return e.type === g.literal;
1266
1274
  }
1267
- function Xt(e) {
1268
- return e.type === y.number;
1275
+ function Pn(e) {
1276
+ return e.type === g.argument;
1269
1277
  }
1270
1278
  function Wt(e) {
1271
- return e.type === y.date;
1279
+ return e.type === g.number;
1272
1280
  }
1273
1281
  function zt(e) {
1274
- return e.type === y.time;
1282
+ return e.type === g.date;
1275
1283
  }
1276
1284
  function Zt(e) {
1277
- return e.type === y.select;
1285
+ return e.type === g.time;
1278
1286
  }
1279
1287
  function Qt(e) {
1280
- return e.type === y.plural;
1281
- }
1282
- function An(e) {
1283
- return e.type === y.pound;
1288
+ return e.type === g.select;
1284
1289
  }
1285
1290
  function Jt(e) {
1286
- return e.type === y.tag;
1291
+ return e.type === g.plural;
1292
+ }
1293
+ function On(e) {
1294
+ return e.type === g.pound;
1287
1295
  }
1288
1296
  function qt(e) {
1289
- return !!(e && typeof e == "object" && e.type === j.number);
1297
+ return e.type === g.tag;
1290
1298
  }
1291
- function Re(e) {
1292
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1299
+ function Yt(e) {
1300
+ return !!(e && typeof e == "object" && e.type === F.number);
1293
1301
  }
1294
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1295
- function Cn(e) {
1302
+ function Fe(e) {
1303
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
1304
+ }
1305
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1306
+ function Ln(e) {
1296
1307
  var t = {};
1297
- return e.replace(Pn, function(r) {
1308
+ return e.replace(Cn, function(r) {
1298
1309
  var n = r.length;
1299
1310
  switch (r[0]) {
1300
1311
  case "G":
@@ -1383,11 +1394,21 @@ function Cn(e) {
1383
1394
  return "";
1384
1395
  }), t;
1385
1396
  }
1386
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1387
- function Ln(e) {
1397
+ var y = function() {
1398
+ return y = Object.assign || function(t) {
1399
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1400
+ r = arguments[n];
1401
+ for (var o in r)
1402
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1403
+ }
1404
+ return t;
1405
+ }, y.apply(this, arguments);
1406
+ };
1407
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1408
+ function Nn(e) {
1388
1409
  if (e.length === 0)
1389
1410
  throw new Error("Number skeleton cannot be empty");
1390
- for (var t = e.split(On).filter(function(c) {
1411
+ for (var t = e.split(In).filter(function(c) {
1391
1412
  return c.length > 0;
1392
1413
  }), r = [], n = 0, i = t; n < i.length; n++) {
1393
1414
  var o = i[n], s = o.split("/");
@@ -1402,17 +1423,17 @@ function Ln(e) {
1402
1423
  }
1403
1424
  return r;
1404
1425
  }
1405
- function In(e) {
1426
+ function Mn(e) {
1406
1427
  return e.replace(/^(.*?)-/, "");
1407
1428
  }
1408
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1409
- function bt(e) {
1429
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1430
+ function gt(e) {
1410
1431
  var t = {};
1411
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1432
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1412
1433
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1413
1434
  }), t;
1414
1435
  }
1415
- function tr(e) {
1436
+ function rr(e) {
1416
1437
  switch (e) {
1417
1438
  case "sign-auto":
1418
1439
  return {
@@ -1452,7 +1473,7 @@ function tr(e) {
1452
1473
  };
1453
1474
  }
1454
1475
  }
1455
- function Mn(e) {
1476
+ function Rn(e) {
1456
1477
  var t;
1457
1478
  if (e[0] === "E" && e[1] === "E" ? (t = {
1458
1479
  notation: "engineering"
@@ -1460,17 +1481,17 @@ function Mn(e) {
1460
1481
  notation: "scientific"
1461
1482
  }, e = e.slice(1)), t) {
1462
1483
  var r = e.slice(0, 2);
1463
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1484
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1464
1485
  throw new Error("Malformed concise eng/scientific notation");
1465
1486
  t.minimumIntegerDigits = e.length;
1466
1487
  }
1467
1488
  return t;
1468
1489
  }
1469
- function vt(e) {
1470
- var t = {}, r = tr(e);
1490
+ function yt(e) {
1491
+ var t = {}, r = rr(e);
1471
1492
  return r || t;
1472
1493
  }
1473
- function $n(e) {
1494
+ function Un(e) {
1474
1495
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1475
1496
  var i = n[r];
1476
1497
  switch (i.stem) {
@@ -1494,7 +1515,7 @@ function $n(e) {
1494
1515
  continue;
1495
1516
  case "measure-unit":
1496
1517
  case "unit":
1497
- t.style = "unit", t.unit = In(i.options[0]);
1518
+ t.style = "unit", t.unit = Mn(i.options[0]);
1498
1519
  continue;
1499
1520
  case "compact-short":
1500
1521
  case "K":
@@ -1505,13 +1526,13 @@ function $n(e) {
1505
1526
  t.notation = "compact", t.compactDisplay = "long";
1506
1527
  continue;
1507
1528
  case "scientific":
1508
- t = m(m(m({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1509
- return m(m({}, h), vt(u));
1529
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1530
+ return y(y({}, h), yt(u));
1510
1531
  }, {}));
1511
1532
  continue;
1512
1533
  case "engineering":
1513
- t = m(m(m({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1514
- return m(m({}, h), vt(u));
1534
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1535
+ return y(y({}, h), yt(u));
1515
1536
  }, {}));
1516
1537
  continue;
1517
1538
  case "notation-simple":
@@ -1556,41 +1577,41 @@ function $n(e) {
1556
1577
  case "integer-width":
1557
1578
  if (i.options.length > 1)
1558
1579
  throw new RangeError("integer-width stems only accept a single optional option");
1559
- i.options[0].replace(Nn, function(h, u, l, f, c, b) {
1580
+ i.options[0].replace($n, function(h, u, l, f, c, m) {
1560
1581
  if (u)
1561
1582
  t.minimumIntegerDigits = l.length;
1562
1583
  else {
1563
1584
  if (f && c)
1564
1585
  throw new Error("We currently do not support maximum integer digits");
1565
- if (b)
1586
+ if (m)
1566
1587
  throw new Error("We currently do not support exact integer digits");
1567
1588
  }
1568
1589
  return "";
1569
1590
  });
1570
1591
  continue;
1571
1592
  }
1572
- if (er.test(i.stem)) {
1593
+ if (tr.test(i.stem)) {
1573
1594
  t.minimumIntegerDigits = i.stem.length;
1574
1595
  continue;
1575
1596
  }
1576
- if (mt.test(i.stem)) {
1597
+ if (vt.test(i.stem)) {
1577
1598
  if (i.options.length > 1)
1578
1599
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1579
- i.stem.replace(mt, function(h, u, l, f, c, b) {
1580
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1600
+ i.stem.replace(vt, function(h, u, l, f, c, m) {
1601
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1581
1602
  });
1582
1603
  var o = i.options[0];
1583
- o === "w" ? t = m(m({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = m(m({}, t), bt(o)));
1604
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1584
1605
  continue;
1585
1606
  }
1586
- if (Kt.test(i.stem)) {
1587
- t = m(m({}, t), bt(i.stem));
1607
+ if (er.test(i.stem)) {
1608
+ t = y(y({}, t), gt(i.stem));
1588
1609
  continue;
1589
1610
  }
1590
- var s = tr(i.stem);
1591
- s && (t = m(m({}, t), s));
1592
- var a = Mn(i.stem);
1593
- a && (t = m(m({}, t), a));
1611
+ var s = rr(i.stem);
1612
+ s && (t = y(y({}, t), s));
1613
+ var a = Rn(i.stem);
1614
+ a && (t = y(y({}, t), a));
1594
1615
  }
1595
1616
  return t;
1596
1617
  }
@@ -3009,13 +3030,13 @@ var ae = {
3009
3030
  "h"
3010
3031
  ]
3011
3032
  };
3012
- function Rn(e, t) {
3033
+ function Dn(e, t) {
3013
3034
  for (var r = "", n = 0; n < e.length; n++) {
3014
3035
  var i = e.charAt(n);
3015
3036
  if (i === "j") {
3016
3037
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3017
3038
  o++, n++;
3018
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
3039
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
3019
3040
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3020
3041
  r += h;
3021
3042
  for (; s-- > 0; )
@@ -3025,7 +3046,7 @@ function Rn(e, t) {
3025
3046
  }
3026
3047
  return r;
3027
3048
  }
3028
- function Un(e) {
3049
+ function Gn(e) {
3029
3050
  var t = e.hourCycle;
3030
3051
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3031
3052
  e.hourCycles && // @ts-ignore
@@ -3047,20 +3068,20 @@ function Un(e) {
3047
3068
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
3048
3069
  return i[0];
3049
3070
  }
3050
- var Te, Dn = new RegExp("^".concat(Yt.source, "*")), Gn = new RegExp("".concat(Yt.source, "*$"));
3071
+ var Ae, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3051
3072
  function d(e, t) {
3052
3073
  return { start: e, end: t };
3053
3074
  }
3054
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, Vn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
3075
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3055
3076
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3056
- }, Ue = !0;
3077
+ }, je = !0;
3057
3078
  try {
3058
- var Qn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3059
- Ue = ((Te = Qn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
3079
+ var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
+ je = ((Ae = qn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3060
3081
  } catch (e) {
3061
- Ue = !1;
3082
+ je = !1;
3062
3083
  }
3063
- var gt = Fn ? (
3084
+ var _t = Vn ? (
3064
3085
  // Native
3065
3086
  function(t, r, n) {
3066
3087
  return t.startsWith(r, n);
@@ -3070,7 +3091,7 @@ var gt = Fn ? (
3070
3091
  function(t, r, n) {
3071
3092
  return t.slice(n, n + r.length) === r;
3072
3093
  }
3073
- ), De = jn ? String.fromCodePoint : (
3094
+ ), Ve = kn ? String.fromCodePoint : (
3074
3095
  // IE11
3075
3096
  function() {
3076
3097
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3082,9 +3103,9 @@ var gt = Fn ? (
3082
3103
  }
3083
3104
  return n;
3084
3105
  }
3085
- ), yt = (
3106
+ ), Et = (
3086
3107
  // native
3087
- Vn ? Object.fromEntries : (
3108
+ Xn ? Object.fromEntries : (
3088
3109
  // Ponyfill
3089
3110
  function(t) {
3090
3111
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3094,7 +3115,7 @@ var gt = Fn ? (
3094
3115
  return r;
3095
3116
  }
3096
3117
  )
3097
- ), rr = kn ? (
3118
+ ), nr = Wn ? (
3098
3119
  // Native
3099
3120
  function(t, r) {
3100
3121
  return t.codePointAt(r);
@@ -3108,7 +3129,7 @@ var gt = Fn ? (
3108
3129
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3109
3130
  }
3110
3131
  }
3111
- ), Jn = Xn ? (
3132
+ ), Yn = zn ? (
3112
3133
  // Native
3113
3134
  function(t) {
3114
3135
  return t.trimStart();
@@ -3116,9 +3137,9 @@ var gt = Fn ? (
3116
3137
  ) : (
3117
3138
  // Ponyfill
3118
3139
  function(t) {
3119
- return t.replace(Dn, "");
3140
+ return t.replace(Fn, "");
3120
3141
  }
3121
- ), qn = Wn ? (
3142
+ ), Kn = Zn ? (
3122
3143
  // Native
3123
3144
  function(t) {
3124
3145
  return t.trimEnd();
@@ -3126,32 +3147,32 @@ var gt = Fn ? (
3126
3147
  ) : (
3127
3148
  // Ponyfill
3128
3149
  function(t) {
3129
- return t.replace(Gn, "");
3150
+ return t.replace(jn, "");
3130
3151
  }
3131
3152
  );
3132
- function nr(e, t) {
3153
+ function ir(e, t) {
3133
3154
  return new RegExp(e, t);
3134
3155
  }
3135
- var Ge;
3136
- if (Ue) {
3137
- var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3138
- Ge = function(t, r) {
3156
+ var ke;
3157
+ if (je) {
3158
+ var xt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3159
+ ke = function(t, r) {
3139
3160
  var n;
3140
- _t.lastIndex = r;
3141
- var i = _t.exec(t);
3161
+ xt.lastIndex = r;
3162
+ var i = xt.exec(t);
3142
3163
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3143
3164
  };
3144
3165
  } else
3145
- Ge = function(t, r) {
3166
+ ke = function(t, r) {
3146
3167
  for (var n = []; ; ) {
3147
- var i = rr(t, r);
3148
- if (i === void 0 || ir(i) || ti(i))
3168
+ var i = nr(t, r);
3169
+ if (i === void 0 || or(i) || ni(i))
3149
3170
  break;
3150
3171
  n.push(i), r += i >= 65536 ? 2 : 1;
3151
3172
  }
3152
- return De.apply(void 0, n);
3173
+ return Ve.apply(void 0, n);
3153
3174
  };
3154
- var Yn = (
3175
+ var ei = (
3155
3176
  /** @class */
3156
3177
  function() {
3157
3178
  function e(t, r) {
@@ -3175,14 +3196,14 @@ var Yn = (
3175
3196
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3176
3197
  var a = this.clonePosition();
3177
3198
  this.bump(), i.push({
3178
- type: y.pound,
3199
+ type: g.pound,
3179
3200
  location: d(a, this.clonePosition())
3180
3201
  });
3181
3202
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3182
3203
  if (n)
3183
3204
  break;
3184
3205
  return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3185
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3206
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3186
3207
  var s = this.parseTag(t, r);
3187
3208
  if (s.err)
3188
3209
  return s;
@@ -3203,7 +3224,7 @@ var Yn = (
3203
3224
  if (this.bumpSpace(), this.bumpIf("/>"))
3204
3225
  return {
3205
3226
  val: {
3206
- type: y.literal,
3227
+ type: g.literal,
3207
3228
  value: "<".concat(i, "/>"),
3208
3229
  location: d(n, this.clonePosition())
3209
3230
  },
@@ -3215,12 +3236,12 @@ var Yn = (
3215
3236
  return o;
3216
3237
  var s = o.val, a = this.clonePosition();
3217
3238
  if (this.bumpIf("</")) {
3218
- if (this.isEOF() || !Fe(this.char()))
3239
+ if (this.isEOF() || !Xe(this.char()))
3219
3240
  return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3220
3241
  var h = this.clonePosition(), u = this.parseTagName();
3221
3242
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3222
3243
  val: {
3223
- type: y.tag,
3244
+ type: g.tag,
3224
3245
  value: i,
3225
3246
  children: s,
3226
3247
  location: d(n, this.clonePosition())
@@ -3233,7 +3254,7 @@ var Yn = (
3233
3254
  return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3234
3255
  }, e.prototype.parseTagName = function() {
3235
3256
  var t = this.offset();
3236
- for (this.bump(); !this.isEOF() && ei(this.char()); )
3257
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3237
3258
  this.bump();
3238
3259
  return this.message.slice(t, this.offset());
3239
3260
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3257,12 +3278,12 @@ var Yn = (
3257
3278
  }
3258
3279
  var h = d(n, this.clonePosition());
3259
3280
  return {
3260
- val: { type: y.literal, value: i, location: h },
3281
+ val: { type: g.literal, value: i, location: h },
3261
3282
  err: null
3262
3283
  };
3263
3284
  }, e.prototype.tryParseLeftAngleBracket = function() {
3264
3285
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3265
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3286
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3266
3287
  }, e.prototype.tryParseQuote = function(t) {
3267
3288
  if (this.isEOF() || this.char() !== 39)
3268
3289
  return null;
@@ -3296,12 +3317,12 @@ var Yn = (
3296
3317
  r.push(n);
3297
3318
  this.bump();
3298
3319
  }
3299
- return De.apply(void 0, r);
3320
+ return Ve.apply(void 0, r);
3300
3321
  }, e.prototype.tryParseUnquoted = function(t, r) {
3301
3322
  if (this.isEOF())
3302
3323
  return null;
3303
3324
  var n = this.char();
3304
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3325
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3305
3326
  }, e.prototype.parseArgument = function(t, r) {
3306
3327
  var n = this.clonePosition();
3307
3328
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3317,7 +3338,7 @@ var Yn = (
3317
3338
  case 125:
3318
3339
  return this.bump(), {
3319
3340
  val: {
3320
- type: y.argument,
3341
+ type: g.argument,
3321
3342
  // value does not include the opening and closing braces.
3322
3343
  value: i,
3323
3344
  location: d(n, this.clonePosition())
@@ -3330,7 +3351,7 @@ var Yn = (
3330
3351
  return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3331
3352
  }
3332
3353
  }, e.prototype.parseIdentifierIfPossible = function() {
3333
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3354
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3334
3355
  this.bumpTo(i);
3335
3356
  var o = this.clonePosition(), s = d(t, o);
3336
3357
  return { value: n, location: s };
@@ -3349,46 +3370,46 @@ var Yn = (
3349
3370
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3350
3371
  if (f.err)
3351
3372
  return f;
3352
- var c = qn(f.val);
3373
+ var c = Kn(f.val);
3353
3374
  if (c.length === 0)
3354
3375
  return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3355
- var b = d(l, this.clonePosition());
3356
- u = { style: c, styleLocation: b };
3376
+ var m = d(l, this.clonePosition());
3377
+ u = { style: c, styleLocation: m };
3357
3378
  }
3358
- var g = this.tryParseArgumentClose(i);
3359
- if (g.err)
3360
- return g;
3361
- var v = d(i, this.clonePosition());
3362
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3363
- var w = Jn(u.style.slice(2));
3379
+ var v = this.tryParseArgumentClose(i);
3380
+ if (v.err)
3381
+ return v;
3382
+ var b = d(i, this.clonePosition());
3383
+ if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3384
+ var H = Yn(u.style.slice(2));
3364
3385
  if (a === "number") {
3365
- var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3386
+ var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3366
3387
  return f.err ? f : {
3367
- val: { type: y.number, value: n, location: v, style: f.val },
3388
+ val: { type: g.number, value: n, location: b, style: f.val },
3368
3389
  err: null
3369
3390
  };
3370
3391
  } else {
3371
- if (w.length === 0)
3372
- return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3373
- var E = w;
3374
- this.locale && (E = Rn(w, this.locale));
3392
+ if (H.length === 0)
3393
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
3394
+ var E = H;
3395
+ this.locale && (E = Dn(H, this.locale));
3375
3396
  var c = {
3376
- type: j.dateTime,
3397
+ type: F.dateTime,
3377
3398
  pattern: E,
3378
3399
  location: u.styleLocation,
3379
- parsedOptions: this.shouldParseSkeletons ? Cn(E) : {}
3380
- }, N = a === "date" ? y.date : y.time;
3400
+ parsedOptions: this.shouldParseSkeletons ? Ln(E) : {}
3401
+ }, N = a === "date" ? g.date : g.time;
3381
3402
  return {
3382
- val: { type: N, value: n, location: v, style: c },
3403
+ val: { type: N, value: n, location: b, style: c },
3383
3404
  err: null
3384
3405
  };
3385
3406
  }
3386
3407
  }
3387
3408
  return {
3388
3409
  val: {
3389
- type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3410
+ type: a === "number" ? g.number : a === "date" ? g.date : g.time,
3390
3411
  value: n,
3391
- location: v,
3412
+ location: b,
3392
3413
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3393
3414
  },
3394
3415
  err: null
@@ -3399,41 +3420,41 @@ var Yn = (
3399
3420
  case "select": {
3400
3421
  var T = this.clonePosition();
3401
3422
  if (this.bumpSpace(), !this.bumpIf(","))
3402
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, m({}, T)));
3423
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, pe({}, T)));
3403
3424
  this.bumpSpace();
3404
- var Z = this.parseIdentifierIfPossible(), O = 0;
3405
- if (a !== "select" && Z.value === "offset") {
3425
+ var z = this.parseIdentifierIfPossible(), C = 0;
3426
+ if (a !== "select" && z.value === "offset") {
3406
3427
  if (!this.bumpIf(":"))
3407
3428
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3408
3429
  this.bumpSpace();
3409
3430
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3410
3431
  if (f.err)
3411
3432
  return f;
3412
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), O = f.val;
3433
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), C = f.val;
3413
3434
  }
3414
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3435
+ var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
3415
3436
  if (ie.err)
3416
3437
  return ie;
3417
- var g = this.tryParseArgumentClose(i);
3418
- if (g.err)
3419
- return g;
3420
- var Je = d(i, this.clonePosition());
3438
+ var v = this.tryParseArgumentClose(i);
3439
+ if (v.err)
3440
+ return v;
3441
+ var Ye = d(i, this.clonePosition());
3421
3442
  return a === "select" ? {
3422
3443
  val: {
3423
- type: y.select,
3444
+ type: g.select,
3424
3445
  value: n,
3425
- options: yt(ie.val),
3426
- location: Je
3446
+ options: Et(ie.val),
3447
+ location: Ye
3427
3448
  },
3428
3449
  err: null
3429
3450
  } : {
3430
3451
  val: {
3431
- type: y.plural,
3452
+ type: g.plural,
3432
3453
  value: n,
3433
- options: yt(ie.val),
3434
- offset: O,
3454
+ options: Et(ie.val),
3455
+ offset: C,
3435
3456
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3436
- location: Je
3457
+ location: Ye
3437
3458
  },
3438
3459
  err: null
3439
3460
  };
@@ -3481,16 +3502,16 @@ var Yn = (
3481
3502
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3482
3503
  var n = [];
3483
3504
  try {
3484
- n = Ln(t);
3505
+ n = Nn(t);
3485
3506
  } catch (i) {
3486
3507
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3487
3508
  }
3488
3509
  return {
3489
3510
  val: {
3490
- type: j.number,
3511
+ type: F.number,
3491
3512
  tokens: n,
3492
3513
  location: r,
3493
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3514
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3494
3515
  },
3495
3516
  err: null
3496
3517
  };
@@ -3509,20 +3530,20 @@ var Yn = (
3509
3530
  if (h.has(u))
3510
3531
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3511
3532
  u === "other" && (s = !0), this.bumpSpace();
3512
- var b = this.clonePosition();
3533
+ var m = this.clonePosition();
3513
3534
  if (!this.bumpIf("{"))
3514
3535
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3515
- var g = this.parseMessage(t + 1, r, n);
3516
- if (g.err)
3517
- return g;
3518
- var v = this.tryParseArgumentClose(b);
3536
+ var v = this.parseMessage(t + 1, r, n);
3519
3537
  if (v.err)
3520
3538
  return v;
3539
+ var b = this.tryParseArgumentClose(m);
3540
+ if (b.err)
3541
+ return b;
3521
3542
  a.push([
3522
3543
  u,
3523
3544
  {
3524
- value: g.val,
3525
- location: d(b, this.clonePosition())
3545
+ value: v.val,
3546
+ location: d(m, this.clonePosition())
3526
3547
  }
3527
3548
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3528
3549
  }
@@ -3538,7 +3559,7 @@ var Yn = (
3538
3559
  break;
3539
3560
  }
3540
3561
  var h = d(i, this.clonePosition());
3541
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3562
+ return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3542
3563
  }, e.prototype.offset = function() {
3543
3564
  return this.position.offset;
3544
3565
  }, e.prototype.isEOF = function() {
@@ -3553,7 +3574,7 @@ var Yn = (
3553
3574
  var t = this.position.offset;
3554
3575
  if (t >= this.message.length)
3555
3576
  throw Error("out of bound");
3556
- var r = rr(this.message, t);
3577
+ var r = nr(this.message, t);
3557
3578
  if (r === void 0)
3558
3579
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3559
3580
  return r;
@@ -3572,7 +3593,7 @@ var Yn = (
3572
3593
  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);
3573
3594
  }
3574
3595
  }, e.prototype.bumpIf = function(t) {
3575
- if (gt(this.message, t, this.offset())) {
3596
+ if (_t(this.message, t, this.offset())) {
3576
3597
  for (var r = 0; r < t.length; r++)
3577
3598
  this.bump();
3578
3599
  return !0;
@@ -3594,7 +3615,7 @@ var Yn = (
3594
3615
  break;
3595
3616
  }
3596
3617
  }, e.prototype.bumpSpace = function() {
3597
- for (; !this.isEOF() && ir(this.char()); )
3618
+ for (; !this.isEOF() && or(this.char()); )
3598
3619
  this.bump();
3599
3620
  }, e.prototype.peek = function() {
3600
3621
  if (this.isEOF())
@@ -3604,47 +3625,47 @@ var Yn = (
3604
3625
  }, e;
3605
3626
  }()
3606
3627
  );
3607
- function Fe(e) {
3628
+ function Xe(e) {
3608
3629
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3609
3630
  }
3610
- function Kn(e) {
3611
- return Fe(e) || e === 47;
3631
+ function ti(e) {
3632
+ return Xe(e) || e === 47;
3612
3633
  }
3613
- function ei(e) {
3634
+ function ri(e) {
3614
3635
  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;
3615
3636
  }
3616
- function ir(e) {
3637
+ function or(e) {
3617
3638
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3618
3639
  }
3619
- function ti(e) {
3640
+ function ni(e) {
3620
3641
  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;
3621
3642
  }
3622
- function je(e) {
3643
+ function We(e) {
3623
3644
  e.forEach(function(t) {
3624
- if (delete t.location, Zt(t) || Qt(t))
3645
+ if (delete t.location, Qt(t) || Jt(t))
3625
3646
  for (var r in t.options)
3626
- delete t.options[r].location, je(t.options[r].value);
3647
+ delete t.options[r].location, We(t.options[r].value);
3627
3648
  else
3628
- Xt(t) && qt(t.style) || (Wt(t) || zt(t)) && Re(t.style) ? delete t.style.location : Jt(t) && je(t.children);
3649
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && Fe(t.style) ? delete t.style.location : qt(t) && We(t.children);
3629
3650
  });
3630
3651
  }
3631
- function ri(e, t) {
3632
- t === void 0 && (t = {}), t = m({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3633
- var r = new Yn(e, t).parse();
3652
+ function ii(e, t) {
3653
+ t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3654
+ var r = new ei(e, t).parse();
3634
3655
  if (r.err) {
3635
3656
  var n = SyntaxError(p[r.err.kind]);
3636
3657
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3637
3658
  }
3638
- return t != null && t.captureLocation || je(r.val), r.val;
3659
+ return t != null && t.captureLocation || We(r.val), r.val;
3639
3660
  }
3640
- var V;
3661
+ var j;
3641
3662
  (function(e) {
3642
3663
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3643
- })(V || (V = {}));
3644
- var ve = (
3664
+ })(j || (j = {}));
3665
+ var ye = (
3645
3666
  /** @class */
3646
3667
  function(e) {
3647
- P(t, e);
3668
+ ge(t, e);
3648
3669
  function t(r, n, i) {
3649
3670
  var o = e.call(this, r) || this;
3650
3671
  return o.code = n, o.originalMessage = i, o;
@@ -3653,48 +3674,48 @@ var ve = (
3653
3674
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3654
3675
  }, t;
3655
3676
  }(Error)
3656
- ), Et = (
3677
+ ), St = (
3657
3678
  /** @class */
3658
3679
  function(e) {
3659
- P(t, e);
3680
+ ge(t, e);
3660
3681
  function t(r, n, i, o) {
3661
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3682
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3662
3683
  }
3663
3684
  return t;
3664
- }(ve)
3665
- ), ni = (
3685
+ }(ye)
3686
+ ), oi = (
3666
3687
  /** @class */
3667
3688
  function(e) {
3668
- P(t, e);
3689
+ ge(t, e);
3669
3690
  function t(r, n, i) {
3670
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3691
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3671
3692
  }
3672
3693
  return t;
3673
- }(ve)
3674
- ), ii = (
3694
+ }(ye)
3695
+ ), si = (
3675
3696
  /** @class */
3676
3697
  function(e) {
3677
- P(t, e);
3698
+ ge(t, e);
3678
3699
  function t(r, n) {
3679
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3700
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3680
3701
  }
3681
3702
  return t;
3682
- }(ve)
3703
+ }(ye)
3683
3704
  ), x;
3684
3705
  (function(e) {
3685
3706
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3686
3707
  })(x || (x = {}));
3687
- function oi(e) {
3708
+ function ai(e) {
3688
3709
  return e.length < 2 ? e : e.reduce(function(t, r) {
3689
3710
  var n = t[t.length - 1];
3690
3711
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3691
3712
  }, []);
3692
3713
  }
3693
- function si(e) {
3714
+ function ui(e) {
3694
3715
  return typeof e == "function";
3695
3716
  }
3696
3717
  function le(e, t, r, n, i, o, s) {
3697
- if (e.length === 1 && dt(e[0]))
3718
+ if (e.length === 1 && bt(e[0]))
3698
3719
  return [
3699
3720
  {
3700
3721
  type: x.literal,
@@ -3703,14 +3724,14 @@ function le(e, t, r, n, i, o, s) {
3703
3724
  ];
3704
3725
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3705
3726
  var l = u[h];
3706
- if (dt(l)) {
3727
+ if (bt(l)) {
3707
3728
  a.push({
3708
3729
  type: x.literal,
3709
3730
  value: l.value
3710
3731
  });
3711
3732
  continue;
3712
3733
  }
3713
- if (An(l)) {
3734
+ if (On(l)) {
3714
3735
  typeof o == "number" && a.push({
3715
3736
  type: x.literal,
3716
3737
  value: r.getNumberFormat(t).format(o)
@@ -3719,89 +3740,89 @@ function le(e, t, r, n, i, o, s) {
3719
3740
  }
3720
3741
  var f = l.value;
3721
3742
  if (!(i && f in i))
3722
- throw new ii(f, s);
3743
+ throw new si(f, s);
3723
3744
  var c = i[f];
3724
- if (Bn(l)) {
3745
+ if (Pn(l)) {
3725
3746
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3726
3747
  type: typeof c == "string" ? x.literal : x.object,
3727
3748
  value: c
3728
3749
  });
3729
3750
  continue;
3730
3751
  }
3731
- if (Wt(l)) {
3732
- var b = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3752
+ if (zt(l)) {
3753
+ var m = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3733
3754
  a.push({
3734
3755
  type: x.literal,
3735
- value: r.getDateTimeFormat(t, b).format(c)
3756
+ value: r.getDateTimeFormat(t, m).format(c)
3736
3757
  });
3737
3758
  continue;
3738
3759
  }
3739
- if (zt(l)) {
3740
- var b = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3760
+ if (Zt(l)) {
3761
+ var m = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3741
3762
  a.push({
3742
3763
  type: x.literal,
3743
- value: r.getDateTimeFormat(t, b).format(c)
3764
+ value: r.getDateTimeFormat(t, m).format(c)
3744
3765
  });
3745
3766
  continue;
3746
3767
  }
3747
- if (Xt(l)) {
3748
- var b = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3749
- b && b.scale && (c = c * (b.scale || 1)), a.push({
3768
+ if (Wt(l)) {
3769
+ var m = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3770
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3750
3771
  type: x.literal,
3751
- value: r.getNumberFormat(t, b).format(c)
3772
+ value: r.getNumberFormat(t, m).format(c)
3752
3773
  });
3753
3774
  continue;
3754
3775
  }
3755
- if (Jt(l)) {
3756
- var g = l.children, v = l.value, w = i[v];
3757
- if (!si(w))
3758
- throw new ni(v, "function", s);
3759
- var E = le(g, t, r, n, i, o), N = w(E.map(function(O) {
3760
- return O.value;
3776
+ if (qt(l)) {
3777
+ var v = l.children, b = l.value, H = i[b];
3778
+ if (!ui(H))
3779
+ throw new oi(b, "function", s);
3780
+ var E = le(v, t, r, n, i, o), N = H(E.map(function(C) {
3781
+ return C.value;
3761
3782
  }));
3762
- Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(O) {
3783
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(C) {
3763
3784
  return {
3764
- type: typeof O == "string" ? x.literal : x.object,
3765
- value: O
3785
+ type: typeof C == "string" ? x.literal : x.object,
3786
+ value: C
3766
3787
  };
3767
3788
  }));
3768
3789
  }
3769
- if (Zt(l)) {
3790
+ if (Qt(l)) {
3770
3791
  var T = l.options[c] || l.options.other;
3771
3792
  if (!T)
3772
- throw new Et(l.value, c, Object.keys(l.options), s);
3793
+ throw new St(l.value, c, Object.keys(l.options), s);
3773
3794
  a.push.apply(a, le(T.value, t, r, n, i));
3774
3795
  continue;
3775
3796
  }
3776
- if (Qt(l)) {
3797
+ if (Jt(l)) {
3777
3798
  var T = l.options["=".concat(c)];
3778
3799
  if (!T) {
3779
3800
  if (!Intl.PluralRules)
3780
- throw new ve(`Intl.PluralRules is not available in this environment.
3801
+ throw new ye(`Intl.PluralRules is not available in this environment.
3781
3802
  Try polyfilling it using "@formatjs/intl-pluralrules"
3782
- `, V.MISSING_INTL_API, s);
3783
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3784
- T = l.options[Z] || l.options.other;
3803
+ `, j.MISSING_INTL_API, s);
3804
+ var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3805
+ T = l.options[z] || l.options.other;
3785
3806
  }
3786
3807
  if (!T)
3787
- throw new Et(l.value, c, Object.keys(l.options), s);
3808
+ throw new St(l.value, c, Object.keys(l.options), s);
3788
3809
  a.push.apply(a, le(T.value, t, r, n, i, c - (l.offset || 0)));
3789
3810
  continue;
3790
3811
  }
3791
3812
  }
3792
- return oi(a);
3813
+ return ai(a);
3793
3814
  }
3794
- function ai(e, t) {
3795
- return t ? m(m(m({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3796
- return r[n] = m(m({}, e[n]), t[n] || {}), r;
3815
+ function hi(e, t) {
3816
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3817
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3797
3818
  }, {})) : e;
3798
3819
  }
3799
- function ui(e, t) {
3820
+ function li(e, t) {
3800
3821
  return t ? Object.keys(e).reduce(function(r, n) {
3801
- return r[n] = ai(e[n], t[n]), r;
3802
- }, m({}, e)) : e;
3822
+ return r[n] = hi(e[n], t[n]), r;
3823
+ }, B({}, e)) : e;
3803
3824
  }
3804
- function Be(e) {
3825
+ function Pe(e) {
3805
3826
  return {
3806
3827
  create: function() {
3807
3828
  return {
@@ -3815,39 +3836,39 @@ function Be(e) {
3815
3836
  }
3816
3837
  };
3817
3838
  }
3818
- function hi(e) {
3839
+ function fi(e) {
3819
3840
  return e === void 0 && (e = {
3820
3841
  number: {},
3821
3842
  dateTime: {},
3822
3843
  pluralRules: {}
3823
3844
  }), {
3824
- getNumberFormat: He(function() {
3845
+ getNumberFormat: Te(function() {
3825
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3847
  r[n] = arguments[n];
3827
- return new ((t = Intl.NumberFormat).bind.apply(t, G([void 0], r, !1)))();
3848
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3828
3849
  }, {
3829
- cache: Be(e.number),
3830
- strategy: we.variadic
3850
+ cache: Pe(e.number),
3851
+ strategy: Be.variadic
3831
3852
  }),
3832
- getDateTimeFormat: He(function() {
3853
+ getDateTimeFormat: Te(function() {
3833
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3855
  r[n] = arguments[n];
3835
- return new ((t = Intl.DateTimeFormat).bind.apply(t, G([void 0], r, !1)))();
3856
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3836
3857
  }, {
3837
- cache: Be(e.dateTime),
3838
- strategy: we.variadic
3858
+ cache: Pe(e.dateTime),
3859
+ strategy: Be.variadic
3839
3860
  }),
3840
- getPluralRules: He(function() {
3861
+ getPluralRules: Te(function() {
3841
3862
  for (var t, r = [], n = 0; n < arguments.length; n++)
3842
3863
  r[n] = arguments[n];
3843
- return new ((t = Intl.PluralRules).bind.apply(t, G([void 0], r, !1)))();
3864
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3844
3865
  }, {
3845
- cache: Be(e.pluralRules),
3846
- strategy: we.variadic
3866
+ cache: Pe(e.pluralRules),
3867
+ strategy: Be.variadic
3847
3868
  })
3848
3869
  };
3849
3870
  }
3850
- var li = (
3871
+ var ci = (
3851
3872
  /** @class */
3852
3873
  function() {
3853
3874
  function e(t, r, n, i) {
@@ -3879,13 +3900,13 @@ var li = (
3879
3900
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3880
3901
  var s = i || {};
3881
3902
  s.formatters;
3882
- var a = jr(s, ["formatters"]);
3883
- this.ast = e.__parse(t, m(m({}, a), { locale: this.resolvedLocale }));
3903
+ var a = En(s, ["formatters"]);
3904
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3884
3905
  } else
3885
3906
  this.ast = t;
3886
3907
  if (!Array.isArray(this.ast))
3887
3908
  throw new TypeError("A message must be provided as a String or AST.");
3888
- this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3909
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
3889
3910
  }
3890
3911
  return Object.defineProperty(e, "defaultLocale", {
3891
3912
  get: function() {
@@ -3898,7 +3919,7 @@ var li = (
3898
3919
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3899
3920
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3900
3921
  }
3901
- }, e.__parse = ri, e.formats = {
3922
+ }, e.__parse = ii, e.formats = {
3902
3923
  number: {
3903
3924
  integer: {
3904
3925
  maximumFractionDigits: 0
@@ -3959,7 +3980,7 @@ var li = (
3959
3980
  }, e;
3960
3981
  }()
3961
3982
  );
3962
- function fi(e, t) {
3983
+ function pi(e, t) {
3963
3984
  if (t == null)
3964
3985
  return;
3965
3986
  if (t in e)
@@ -3980,92 +4001,92 @@ function fi(e, t) {
3980
4001
  n = void 0;
3981
4002
  return n;
3982
4003
  }
3983
- const C = {}, ci = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), or = (e, t) => {
4004
+ const O = {}, di = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), sr = (e, t) => {
3984
4005
  if (t == null)
3985
4006
  return;
3986
- if (t in C && e in C[t])
3987
- return C[t][e];
3988
- const r = ge(t);
4007
+ if (t in O && e in O[t])
4008
+ return O[t][e];
4009
+ const r = _e(t);
3989
4010
  for (let n = 0; n < r.length; n++) {
3990
- const i = r[n], o = di(i, e);
4011
+ const i = r[n], o = bi(i, e);
3991
4012
  if (o)
3992
- return ci(e, t, o);
4013
+ return di(e, t, o);
3993
4014
  }
3994
4015
  };
3995
- let Ze;
3996
- const re = be({});
3997
- function pi(e) {
3998
- return Ze[e] || null;
4016
+ let Je;
4017
+ const re = ve({});
4018
+ function mi(e) {
4019
+ return Je[e] || null;
3999
4020
  }
4000
- function sr(e) {
4001
- return e in Ze;
4021
+ function ar(e) {
4022
+ return e in Je;
4002
4023
  }
4003
- function di(e, t) {
4004
- if (!sr(e))
4024
+ function bi(e, t) {
4025
+ if (!ar(e))
4005
4026
  return null;
4006
- const r = pi(e);
4007
- return fi(r, t);
4027
+ const r = mi(e);
4028
+ return pi(r, t);
4008
4029
  }
4009
- function mi(e) {
4030
+ function vi(e) {
4010
4031
  if (e == null)
4011
4032
  return;
4012
- const t = ge(e);
4033
+ const t = _e(e);
4013
4034
  for (let r = 0; r < t.length; r++) {
4014
4035
  const n = t[r];
4015
- if (sr(n))
4036
+ if (ar(n))
4016
4037
  return n;
4017
4038
  }
4018
4039
  }
4019
- function bi(e, ...t) {
4020
- delete C[e], re.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4040
+ function gi(e, ...t) {
4041
+ delete O[e], re.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4021
4042
  }
4022
- W(
4043
+ X(
4023
4044
  [re],
4024
4045
  ([e]) => Object.keys(e)
4025
4046
  );
4026
- re.subscribe((e) => Ze = e);
4047
+ re.subscribe((e) => Je = e);
4027
4048
  const fe = {};
4028
- function vi(e, t) {
4049
+ function yi(e, t) {
4029
4050
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4030
4051
  }
4031
- function ar(e) {
4052
+ function ur(e) {
4032
4053
  return fe[e];
4033
4054
  }
4034
- function gi(e) {
4035
- return ge(e).map((t) => {
4036
- const r = ar(t);
4055
+ function _i(e) {
4056
+ return _e(e).map((t) => {
4057
+ const r = ur(t);
4037
4058
  return [t, r ? [...r] : []];
4038
4059
  }).filter(([, t]) => t.length > 0);
4039
4060
  }
4040
- function Ve(e) {
4041
- return e == null ? !1 : ge(e).some(
4061
+ function ze(e) {
4062
+ return e == null ? !1 : _e(e).some(
4042
4063
  (t) => {
4043
4064
  var r;
4044
- return (r = ar(t)) == null ? void 0 : r.size;
4065
+ return (r = ur(t)) == null ? void 0 : r.size;
4045
4066
  }
4046
4067
  );
4047
4068
  }
4048
- function yi(e, t) {
4069
+ function Ei(e, t) {
4049
4070
  return Promise.all(
4050
- t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
4051
- ).then((n) => bi(e, ...n));
4052
- }
4053
- const Q = {};
4054
- function ur(e) {
4055
- if (!Ve(e))
4056
- return e in Q ? Q[e] : Promise.resolve();
4057
- const t = gi(e);
4058
- return Q[e] = Promise.all(
4071
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4072
+ ).then((n) => gi(e, ...n));
4073
+ }
4074
+ const Z = {};
4075
+ function hr(e) {
4076
+ if (!ze(e))
4077
+ return e in Z ? Z[e] : Promise.resolve();
4078
+ const t = _i(e);
4079
+ return Z[e] = Promise.all(
4059
4080
  t.map(
4060
- ([r, n]) => yi(r, n)
4081
+ ([r, n]) => Ei(r, n)
4061
4082
  )
4062
4083
  ).then(() => {
4063
- if (Ve(e))
4064
- return ur(e);
4065
- delete Q[e];
4066
- }), Q[e];
4084
+ if (ze(e))
4085
+ return hr(e);
4086
+ delete Z[e];
4087
+ }), Z[e];
4067
4088
  }
4068
- const _i = {
4089
+ const xi = {
4069
4090
  number: {
4070
4091
  scientific: { notation: "scientific" },
4071
4092
  engineering: { notation: "engineering" },
@@ -4094,135 +4115,135 @@ const _i = {
4094
4115
  timeZoneName: "short"
4095
4116
  }
4096
4117
  }
4097
- }, Ei = {
4118
+ }, Si = {
4098
4119
  fallbackLocale: null,
4099
4120
  loadingDelay: 200,
4100
- formats: _i,
4121
+ formats: xi,
4101
4122
  warnOnMissingMessages: !0,
4102
4123
  handleMissingMessage: void 0,
4103
4124
  ignoreTag: !0
4104
- }, xi = Ei;
4105
- function k() {
4106
- return xi;
4125
+ }, wi = Si;
4126
+ function V() {
4127
+ return wi;
4107
4128
  }
4108
- const Ae = be(!1);
4109
- var Si = Object.defineProperty, Hi = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4129
+ const Oe = ve(!1);
4130
+ var Hi = Object.defineProperty, Ti = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4110
4131
  for (var r in t || (t = {}))
4111
- Ti.call(t, r) && St(e, r, t[r]);
4112
- if (xt)
4113
- for (var r of xt(t))
4114
- Bi.call(t, r) && St(e, r, t[r]);
4132
+ Ai.call(t, r) && Ht(e, r, t[r]);
4133
+ if (wt)
4134
+ for (var r of wt(t))
4135
+ Pi.call(t, r) && Ht(e, r, t[r]);
4115
4136
  return e;
4116
- }, Pi = (e, t) => Hi(e, wi(t));
4117
- let ke;
4118
- const pe = be(null);
4119
- function Ht(e) {
4137
+ }, Ci = (e, t) => Ti(e, Bi(t));
4138
+ let Ze;
4139
+ const de = ve(null);
4140
+ function Tt(e) {
4120
4141
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4121
4142
  }
4122
- function ge(e, t = k().fallbackLocale) {
4123
- const r = Ht(e);
4124
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4143
+ function _e(e, t = V().fallbackLocale) {
4144
+ const r = Tt(e);
4145
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4125
4146
  }
4126
4147
  function I() {
4127
- return ke != null ? ke : void 0;
4148
+ return Ze != null ? Ze : void 0;
4128
4149
  }
4129
- pe.subscribe((e) => {
4130
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4150
+ de.subscribe((e) => {
4151
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4131
4152
  });
4132
- const Ci = (e) => {
4133
- if (e && mi(e) && Ve(e)) {
4134
- const { loadingDelay: t } = k();
4153
+ const Li = (e) => {
4154
+ if (e && vi(e) && ze(e)) {
4155
+ const { loadingDelay: t } = V();
4135
4156
  let r;
4136
4157
  return typeof window != "undefined" && I() != null && t ? r = window.setTimeout(
4137
- () => Ae.set(!0),
4158
+ () => Oe.set(!0),
4138
4159
  t
4139
- ) : Ae.set(!0), ur(e).then(() => {
4140
- pe.set(e);
4160
+ ) : Oe.set(!0), hr(e).then(() => {
4161
+ de.set(e);
4141
4162
  }).finally(() => {
4142
- clearTimeout(r), Ae.set(!1);
4163
+ clearTimeout(r), Oe.set(!1);
4143
4164
  });
4144
4165
  }
4145
- return pe.set(e);
4146
- }, ne = Pi(Ai({}, pe), {
4147
- set: Ci
4148
- }), ye = (e) => {
4166
+ return de.set(e);
4167
+ }, ne = Ci(Oi({}, de), {
4168
+ set: Li
4169
+ }), Ee = (e) => {
4149
4170
  const t = /* @__PURE__ */ Object.create(null);
4150
4171
  return (n) => {
4151
4172
  const i = JSON.stringify(n);
4152
4173
  return i in t ? t[i] : t[i] = e(n);
4153
4174
  };
4154
4175
  };
4155
- var Oi = Object.defineProperty, de = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4176
+ var Ii = Object.defineProperty, me = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4156
4177
  for (var r in t || (t = {}))
4157
- hr.call(t, r) && wt(e, r, t[r]);
4158
- if (de)
4159
- for (var r of de(t))
4160
- lr.call(t, r) && wt(e, r, t[r]);
4178
+ lr.call(t, r) && Bt(e, r, t[r]);
4179
+ if (me)
4180
+ for (var r of me(t))
4181
+ fr.call(t, r) && Bt(e, r, t[r]);
4161
4182
  return e;
4162
- }, z = (e, t) => {
4183
+ }, W = (e, t) => {
4163
4184
  var r = {};
4164
4185
  for (var n in e)
4165
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4166
- if (e != null && de)
4167
- for (var n of de(e))
4168
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4186
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4187
+ if (e != null && me)
4188
+ for (var n of me(e))
4189
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4169
4190
  return r;
4170
4191
  };
4171
- const K = (e, t) => {
4172
- const { formats: r } = k();
4192
+ const Y = (e, t) => {
4193
+ const { formats: r } = V();
4173
4194
  if (e in r && t in r[e])
4174
4195
  return r[e][t];
4175
4196
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4176
- }, Li = ye(
4197
+ }, Ni = Ee(
4177
4198
  (e) => {
4178
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4199
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4179
4200
  if (r == null)
4180
4201
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4181
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4202
+ return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
4182
4203
  }
4183
- ), Ii = ye(
4204
+ ), Mi = Ee(
4184
4205
  (e) => {
4185
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4206
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4186
4207
  if (r == null)
4187
4208
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4188
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4209
+ return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
4189
4210
  }
4190
- ), Ni = ye(
4211
+ ), $i = Ee(
4191
4212
  (e) => {
4192
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4213
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4193
4214
  if (r == null)
4194
4215
  throw new Error(
4195
4216
  '[svelte-i18n] A "locale" must be set to format time values'
4196
4217
  );
4197
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4218
+ return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
4198
4219
  }
4199
- ), Mi = (e = {}) => {
4220
+ ), Ri = (e = {}) => {
4200
4221
  var t = e, {
4201
4222
  locale: r = I()
4202
- } = t, n = z(t, [
4223
+ } = t, n = W(t, [
4203
4224
  "locale"
4204
4225
  ]);
4205
- return Li(Qe({ locale: r }, n));
4206
- }, $i = (e = {}) => {
4226
+ return Ni(qe({ locale: r }, n));
4227
+ }, Ui = (e = {}) => {
4207
4228
  var t = e, {
4208
4229
  locale: r = I()
4209
- } = t, n = z(t, [
4230
+ } = t, n = W(t, [
4210
4231
  "locale"
4211
4232
  ]);
4212
- return Ii(Qe({ locale: r }, n));
4213
- }, Ri = (e = {}) => {
4233
+ return Mi(qe({ locale: r }, n));
4234
+ }, Di = (e = {}) => {
4214
4235
  var t = e, {
4215
4236
  locale: r = I()
4216
- } = t, n = z(t, [
4237
+ } = t, n = W(t, [
4217
4238
  "locale"
4218
4239
  ]);
4219
- return Ni(Qe({ locale: r }, n));
4220
- }, Ui = ye(
4240
+ return $i(qe({ locale: r }, n));
4241
+ }, Gi = Ee(
4221
4242
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4222
- (e, t = I()) => new li(e, t, k().formats, {
4223
- ignoreTag: k().ignoreTag
4243
+ (e, t = I()) => new ci(e, t, V().formats, {
4244
+ ignoreTag: V().ignoreTag
4224
4245
  })
4225
- ), Di = (e, t = {}) => {
4246
+ ), Fi = (e, t = {}) => {
4226
4247
  var r, n, i, o;
4227
4248
  let s = t;
4228
4249
  typeof e == "object" && (s = e, e = s.id);
@@ -4235,9 +4256,9 @@ const K = (e, t) => {
4235
4256
  throw new Error(
4236
4257
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4237
4258
  );
4238
- let l = or(e, h);
4259
+ let l = sr(e, h);
4239
4260
  if (!l)
4240
- l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4261
+ l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4241
4262
  else if (typeof l != "string")
4242
4263
  return console.warn(
4243
4264
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4246,7 +4267,7 @@ const K = (e, t) => {
4246
4267
  return l;
4247
4268
  let f = l;
4248
4269
  try {
4249
- f = Ui(l, h).format(a);
4270
+ f = Gi(l, h).format(a);
4250
4271
  } catch (c) {
4251
4272
  c instanceof Error && console.warn(
4252
4273
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4254,28 +4275,28 @@ const K = (e, t) => {
4254
4275
  );
4255
4276
  }
4256
4277
  return f;
4257
- }, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Mi(t).format(e), Vi = (e, t = I()) => or(e, t);
4258
- W([ne, re], () => Di);
4259
- W([ne], () => Gi);
4260
- W([ne], () => Fi);
4261
- W([ne], () => ji);
4262
- W([ne, re], () => Vi);
4278
+ }, ji = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), ki = (e, t) => Ri(t).format(e), Xi = (e, t = I()) => sr(e, t);
4279
+ X([ne, re], () => Fi);
4280
+ X([ne], () => ji);
4281
+ X([ne], () => Vi);
4282
+ X([ne], () => ki);
4283
+ X([ne, re], () => Xi);
4263
4284
  window.emWidgets = { topic: rn };
4264
- const Tt = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4285
+ const At = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4265
4286
  String(Number.MAX_SAFE_INTEGER).length;
4266
- function ki(e) {
4267
- gr(e, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4287
+ function Wi(e) {
4288
+ yr(e, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4268
4289
  }
4269
- function Bt(e) {
4290
+ function Pt(e) {
4270
4291
  let t, r, n, i, o, s, a, h = !/*desktopView*/
4271
- e[2] && At(e), u = (
4292
+ e[2] && Ot(e), u = (
4272
4293
  /*desktopView*/
4273
- e[2] && Pt(e)
4294
+ e[2] && Ct(e)
4274
4295
  );
4275
4296
  return {
4276
4297
  c() {
4277
- t = L("div"), h && h.c(), r = nt(), n = L("div"), u && u.c(), i = nt(), o = L("video"), s = L("source"), rt(s.src, a = /*videosrc*/
4278
- e[0]) || _(s, "src", a), o.autoplay = !0, o.controls = !0, _(o, "controlslist", "nodownload"), _(o, "disablepictureinpicture", ""), _(n, "class", "CashierVideo"), _(t, "class", "CashierVideoWrapper"), it(
4298
+ t = L("div"), h && h.c(), r = ot(), n = L("div"), u && u.c(), i = ot(), o = L("video"), s = L("source"), it(s.src, a = /*videosrc*/
4299
+ e[0]) || _(s, "src", a), o.autoplay = !0, o.controls = !0, _(o, "controlslist", "nodownload"), _(o, "disablepictureinpicture", ""), _(n, "class", "CashierVideo"), _(t, "class", "CashierVideoWrapper"), st(
4279
4300
  t,
4280
4301
  "CashierVideoWrapperDesktop",
4281
4302
  /*desktopView*/
@@ -4283,15 +4304,15 @@ function Bt(e) {
4283
4304
  );
4284
4305
  },
4285
4306
  m(l, f) {
4286
- te(l, t, f), h && h.m(t, null), B(t, r), B(t, n), u && u.m(n, null), B(n, i), B(n, o), B(o, s), e[10](t);
4307
+ ee(l, t, f), h && h.m(t, null), A(t, r), A(t, n), u && u.m(n, null), A(n, i), A(n, o), A(o, s), e[10](t);
4287
4308
  },
4288
4309
  p(l, f) {
4289
4310
  /*desktopView*/
4290
- l[2] ? h && (h.d(1), h = null) : h ? h.p(l, f) : (h = At(l), h.c(), h.m(t, r)), /*desktopView*/
4291
- l[2] ? u ? u.p(l, f) : (u = Pt(l), u.c(), u.m(n, i)) : u && (u.d(1), u = null), f & /*videosrc*/
4292
- 1 && !rt(s.src, a = /*videosrc*/
4311
+ l[2] ? h && (h.d(1), h = null) : h ? h.p(l, f) : (h = Ot(l), h.c(), h.m(t, r)), /*desktopView*/
4312
+ l[2] ? u ? u.p(l, f) : (u = Ct(l), u.c(), u.m(n, i)) : u && (u.d(1), u = null), f & /*videosrc*/
4313
+ 1 && !it(s.src, a = /*videosrc*/
4293
4314
  l[0]) && _(s, "src", a), f & /*desktopView*/
4294
- 4 && it(
4315
+ 4 && st(
4295
4316
  t,
4296
4317
  "CashierVideoWrapperDesktop",
4297
4318
  /*desktopView*/
@@ -4299,18 +4320,18 @@ function Bt(e) {
4299
4320
  );
4300
4321
  },
4301
4322
  d(l) {
4302
- l && X(t), h && h.d(), u && u.d(), e[10](null);
4323
+ l && k(t), h && h.d(), u && u.d(), e[10](null);
4303
4324
  }
4304
4325
  };
4305
4326
  }
4306
- function At(e) {
4327
+ function Ot(e) {
4307
4328
  let t, r, n, i, o;
4308
4329
  return {
4309
4330
  c() {
4310
4331
  t = L("div"), r = ce("svg"), n = ce("path"), _(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), _(n, "fill", "#111111"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "13"), _(r, "height", "13"), _(r, "viewBox", "0 0 13 13"), _(r, "fill", "none"), _(t, "class", "CashierVideoHeader");
4311
4332
  },
4312
4333
  m(s, a) {
4313
- te(s, t, a), B(t, r), B(r, n), i || (o = It(
4334
+ ee(s, t, a), A(t, r), A(r, n), i || (o = Mt(
4314
4335
  r,
4315
4336
  "click",
4316
4337
  /*click_handler*/
@@ -4319,18 +4340,18 @@ function At(e) {
4319
4340
  },
4320
4341
  p: S,
4321
4342
  d(s) {
4322
- s && X(t), i = !1, o();
4343
+ s && k(t), i = !1, o();
4323
4344
  }
4324
4345
  };
4325
4346
  }
4326
- function Pt(e) {
4347
+ function Ct(e) {
4327
4348
  let t, r, n, i;
4328
4349
  return {
4329
4350
  c() {
4330
4351
  t = ce("svg"), r = ce("path"), _(r, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), _(r, "fill", "#111111"), _(t, "xmlns", "http://www.w3.org/2000/svg"), _(t, "width", "13"), _(t, "height", "13"), _(t, "viewBox", "0 0 13 13"), _(t, "fill", "none");
4331
4352
  },
4332
4353
  m(o, s) {
4333
- te(o, t, s), B(t, r), n || (i = It(
4354
+ ee(o, t, s), A(t, r), n || (i = Mt(
4334
4355
  t,
4335
4356
  "click",
4336
4357
  /*click_handler_1*/
@@ -4339,48 +4360,48 @@ function Pt(e) {
4339
4360
  },
4340
4361
  p: S,
4341
4362
  d(o) {
4342
- o && X(t), n = !1, i();
4363
+ o && k(t), n = !1, i();
4343
4364
  }
4344
4365
  };
4345
4366
  }
4346
- function Xi(e) {
4367
+ function zi(e) {
4347
4368
  let t, r = (
4348
4369
  /*show*/
4349
- e[3] && Bt(e)
4370
+ e[3] && Pt(e)
4350
4371
  );
4351
4372
  return {
4352
4373
  c() {
4353
- r && r.c(), t = Er();
4374
+ r && r.c(), t = xr();
4354
4375
  },
4355
4376
  m(n, i) {
4356
- r && r.m(n, i), te(n, t, i);
4377
+ r && r.m(n, i), ee(n, t, i);
4357
4378
  },
4358
4379
  p(n, [i]) {
4359
4380
  /*show*/
4360
- n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4381
+ n[3] ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4361
4382
  },
4362
4383
  i: S,
4363
4384
  o: S,
4364
4385
  d(n) {
4365
- n && X(t), r && r.d(n);
4386
+ n && k(t), r && r.d(n);
4366
4387
  }
4367
4388
  };
4368
4389
  }
4369
- function Wi(e, t, r) {
4390
+ function Zi(e, t, r) {
4370
4391
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { videosrc: o } = t, { mbsource: s = "" } = t, a = window.navigator.userAgent, h = !0, u = !1, l;
4371
4392
  const f = () => {
4372
4393
  r(3, u = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
4373
4394
  }, c = (E) => {
4374
4395
  E.data.type == "ShowCashierVideoModal" && (r(3, u = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), E.data.type == "HideCashierVideoModal" && f();
4375
- }, b = () => {
4376
- r(2, h = !Tt(a));
4396
+ }, m = () => {
4397
+ r(2, h = !At(a));
4377
4398
  };
4378
- wr(() => (window.addEventListener("message", c, !1), () => {
4399
+ Tr(() => (window.addEventListener("message", c, !1), () => {
4379
4400
  window.removeEventListener("message", c);
4380
4401
  }));
4381
- const g = () => f(), v = () => f();
4382
- function w(E) {
4383
- Pe[E ? "unshift" : "push"](() => {
4402
+ const v = () => f(), b = () => f();
4403
+ function H(E) {
4404
+ Ce[E ? "unshift" : "push"](() => {
4384
4405
  l = E, r(1, l);
4385
4406
  });
4386
4407
  }
@@ -4388,10 +4409,10 @@ function Wi(e, t, r) {
4388
4409
  "clientstyling" in E && r(5, n = E.clientstyling), "clientstylingurl" in E && r(6, i = E.clientstylingurl), "videosrc" in E && r(0, o = E.videosrc), "mbsource" in E && r(7, s = E.mbsource);
4389
4410
  }, e.$$.update = () => {
4390
4411
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4391
- 34 && n && l && Dr(l, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4392
- 66 && i && l && Gr(l, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4393
- 130 && s && l && Fr(l, `${s}.Style`);
4394
- }, Tt(a) && b(), [
4412
+ 34 && n && l && Gr(l, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4413
+ 66 && i && l && Fr(l, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4414
+ 130 && s && l && jr(l, `${s}.Style`);
4415
+ }, At(a) && m(), [
4395
4416
  o,
4396
4417
  l,
4397
4418
  h,
@@ -4400,26 +4421,26 @@ function Wi(e, t, r) {
4400
4421
  n,
4401
4422
  i,
4402
4423
  s,
4403
- g,
4404
4424
  v,
4405
- w
4425
+ b,
4426
+ H
4406
4427
  ];
4407
4428
  }
4408
- class zi extends Rr {
4429
+ class Qi extends Ur {
4409
4430
  constructor(t) {
4410
- super(), Mr(
4431
+ super(), $r(
4411
4432
  this,
4412
4433
  t,
4413
- Wi,
4414
- Xi,
4415
- Ot,
4434
+ Zi,
4435
+ zi,
4436
+ It,
4416
4437
  {
4417
4438
  clientstyling: 5,
4418
4439
  clientstylingurl: 6,
4419
4440
  videosrc: 0,
4420
4441
  mbsource: 7
4421
4442
  },
4422
- ki
4443
+ Wi
4423
4444
  );
4424
4445
  }
4425
4446
  get clientstyling() {
@@ -4447,7 +4468,7 @@ class zi extends Rr {
4447
4468
  this.$$set({ mbsource: t }), U();
4448
4469
  }
4449
4470
  }
4450
- $r(zi, { clientstyling: {}, clientstylingurl: {}, videosrc: {}, mbsource: {} }, [], [], !0);
4471
+ Rr(Qi, { clientstyling: {}, clientstylingurl: {}, videosrc: {}, mbsource: {} }, [], [], !0);
4451
4472
  export {
4452
- zi as default
4473
+ Qi as default
4453
4474
  };