@everymatrix/cashier-iframe-redirect 1.73.0 → 1.73.2

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 ur = Object.defineProperty, hr = Object.defineProperties;
2
- var lr = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var or = Object.defineProperty, ar = Object.defineProperties;
2
+ var ur = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
5
+ var ve = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && Be(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- cr.call(t, r) && Be(e, r, t[r]);
7
+ hr.call(t, r) && ve(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ lr.call(t, r) && ve(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => hr(e, lr(t));
13
- var B = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
12
+ }, Ke = (e, t) => ar(e, ur(t));
13
+ var B = (e, t, r) => (ve(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var et = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
@@ -29,7 +29,7 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function T() {
31
31
  }
32
- function mr(e, t) {
32
+ function fr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function mr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function wt(e) {
40
+ function Tt(e) {
41
41
  return e();
42
42
  }
43
- function rt() {
43
+ function tt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ie(e) {
47
- e.forEach(wt);
46
+ function re(e) {
47
+ e.forEach(Tt);
48
48
  }
49
- function Ze(e) {
49
+ function ze(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function St(e, t) {
52
+ function wt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- let ue;
56
- function Ui(e, t) {
57
- return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
55
+ let oe;
56
+ function Gi(e, t) {
57
+ return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
58
58
  }
59
- function pr(e) {
59
+ function cr(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function At(e, ...t) {
62
+ function St(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function At(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function dr(e, t, r) {
72
- e.$$.on_destroy.push(At(t, r));
71
+ function mr(e, t, r) {
72
+ e.$$.on_destroy.push(St(t, r));
73
73
  }
74
- function Te(e, t, r, n) {
74
+ function He(e, t, r, n) {
75
75
  if (e) {
76
- const i = Ot(e, t, r, n);
76
+ const i = At(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function Ot(e, t, r, n) {
81
- return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function At(e, t, r, n) {
81
+ return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function we(e, t, r, n) {
83
+ function Be(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function we(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function Se(e, t, r, n, i, s) {
98
+ function Te(e, t, r, n, i, s) {
99
99
  if (i) {
100
- const a = Ot(t, r, n, s);
100
+ const a = At(t, r, n, s);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function Ae(e) {
104
+ function we(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,17 +110,17 @@ function Ae(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function de(e, t) {
113
+ function me(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function br(e, t, r) {
117
- const n = gr(e);
116
+ function pr(e, t, r) {
117
+ const n = dr(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = Z("style");
120
- i.id = t, i.textContent = r, _r(n, i);
119
+ const i = z("style");
120
+ i.id = t, i.textContent = r, br(n, i);
121
121
  }
122
122
  }
123
- function gr(e) {
123
+ function dr(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,49 +130,49 @@ function gr(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function _r(e, t) {
134
- return de(
133
+ function br(e, t) {
134
+ return me(
135
135
  /** @type {Document} */
136
136
  e.head || e,
137
137
  t
138
138
  ), t.sheet;
139
139
  }
140
- function $(e, t, r) {
140
+ function M(e, t, r) {
141
141
  e.insertBefore(t, r || null);
142
142
  }
143
143
  function L(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function Z(e) {
146
+ function z(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Qe(e) {
149
+ function We(e) {
150
150
  return document.createTextNode(e);
151
151
  }
152
- function nt() {
153
- return Qe(" ");
152
+ function rt() {
153
+ return We(" ");
154
154
  }
155
- function Ct() {
156
- return Qe("");
155
+ function Ot() {
156
+ return We("");
157
157
  }
158
158
  function Pt(e, t, r, n) {
159
159
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
160
160
  }
161
- function Q(e, t, r) {
161
+ function W(e, t, r) {
162
162
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
163
163
  }
164
- function Di(e, t, r) {
164
+ function Fi(e, t, r) {
165
165
  const n = t.toLowerCase();
166
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Q(e, t, r);
166
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
167
167
  }
168
- function yr(e) {
168
+ function gr(e) {
169
169
  return Array.from(e.childNodes);
170
170
  }
171
- function Er(e, t) {
171
+ function _r(e, t) {
172
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
173
173
  t);
174
174
  }
175
- function xr(e) {
175
+ function yr(e) {
176
176
  const t = {};
177
177
  return e.childNodes.forEach(
178
178
  /** @param {Element} node */
@@ -181,97 +181,97 @@ function xr(e) {
181
181
  }
182
182
  ), t;
183
183
  }
184
- let te;
185
- function ee(e) {
186
- te = e;
184
+ let K;
185
+ function Y(e) {
186
+ K = e;
187
187
  }
188
- function vr() {
189
- if (!te)
188
+ function Er() {
189
+ if (!K)
190
190
  throw new Error("Function called outside component initialization");
191
- return te;
192
- }
193
- function Gi(e) {
194
- vr().$$.on_mount.push(e);
195
- }
196
- const j = [], Re = [];
197
- let k = [];
198
- const it = [], Hr = /* @__PURE__ */ Promise.resolve();
199
- let Ue = !1;
200
- function Br() {
201
- Ue || (Ue = !0, Hr.then(O));
202
- }
203
- function De(e) {
204
- k.push(e);
191
+ return K;
205
192
  }
206
- const Oe = /* @__PURE__ */ new Set();
207
- let G = 0;
208
- function O() {
209
- if (G !== 0)
193
+ function xr(e) {
194
+ Er().$$.on_mount.push(e);
195
+ }
196
+ const G = [], Me = [];
197
+ let F = [];
198
+ const nt = [], vr = /* @__PURE__ */ Promise.resolve();
199
+ let $e = !1;
200
+ function Hr() {
201
+ $e || ($e = !0, vr.then(w));
202
+ }
203
+ function Re(e) {
204
+ F.push(e);
205
+ }
206
+ const Se = /* @__PURE__ */ new Set();
207
+ let U = 0;
208
+ function w() {
209
+ if (U !== 0)
210
210
  return;
211
- const e = te;
211
+ const e = K;
212
212
  do {
213
213
  try {
214
- for (; G < j.length; ) {
215
- const t = j[G];
216
- G++, ee(t), Tr(t.$$);
214
+ for (; U < G.length; ) {
215
+ const t = G[U];
216
+ U++, Y(t), Br(t.$$);
217
217
  }
218
218
  } catch (t) {
219
- throw j.length = 0, G = 0, t;
219
+ throw G.length = 0, U = 0, t;
220
220
  }
221
- for (ee(null), j.length = 0, G = 0; Re.length; )
222
- Re.pop()();
223
- for (let t = 0; t < k.length; t += 1) {
224
- const r = k[t];
225
- Oe.has(r) || (Oe.add(r), r());
221
+ for (Y(null), G.length = 0, U = 0; Me.length; )
222
+ Me.pop()();
223
+ for (let t = 0; t < F.length; t += 1) {
224
+ const r = F[t];
225
+ Se.has(r) || (Se.add(r), r());
226
226
  }
227
- k.length = 0;
228
- } while (j.length);
229
- for (; it.length; )
230
- it.pop()();
231
- Ue = !1, Oe.clear(), ee(e);
227
+ F.length = 0;
228
+ } while (G.length);
229
+ for (; nt.length; )
230
+ nt.pop()();
231
+ $e = !1, Se.clear(), Y(e);
232
232
  }
233
- function Tr(e) {
233
+ function Br(e) {
234
234
  if (e.fragment !== null) {
235
- e.update(), ie(e.before_update);
235
+ e.update(), re(e.before_update);
236
236
  const t = e.dirty;
237
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
237
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
238
238
  }
239
239
  }
240
- function wr(e) {
240
+ function Tr(e) {
241
241
  const t = [], r = [];
242
- k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
242
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
243
243
  }
244
- const le = /* @__PURE__ */ new Set();
245
- let Sr;
246
- function fe(e, t) {
247
- e && e.i && (le.delete(e), e.i(t));
244
+ const ue = /* @__PURE__ */ new Set();
245
+ let wr;
246
+ function he(e, t) {
247
+ e && e.i && (ue.delete(e), e.i(t));
248
248
  }
249
- function Ce(e, t, r, n) {
249
+ function Ae(e, t, r, n) {
250
250
  if (e && e.o) {
251
- if (le.has(e))
251
+ if (ue.has(e))
252
252
  return;
253
- le.add(e), Sr.c.push(() => {
254
- le.delete(e);
253
+ ue.add(e), wr.c.push(() => {
254
+ ue.delete(e);
255
255
  }), e.o(t);
256
256
  }
257
257
  }
258
- function Ar(e, t, r) {
258
+ function Sr(e, t, r) {
259
259
  const { fragment: n, after_update: i } = e.$$;
260
- n && n.m(t, r), De(() => {
261
- const s = e.$$.on_mount.map(wt).filter(Ze);
262
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
263
- }), i.forEach(De);
260
+ n && n.m(t, r), Re(() => {
261
+ const s = e.$$.on_mount.map(Tt).filter(ze);
262
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
263
+ }), i.forEach(Re);
264
264
  }
265
- function Or(e, t) {
265
+ function Ar(e, t) {
266
266
  const r = e.$$;
267
- r.fragment !== null && (wr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
267
+ r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
268
268
  }
269
- function Cr(e, t) {
270
- e.$$.dirty[0] === -1 && (j.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
+ function Or(e, t) {
270
+ e.$$.dirty[0] === -1 && (G.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
271
271
  }
272
272
  function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
273
- const l = te;
274
- ee(e);
273
+ const l = K;
274
+ Y(e);
275
275
  const u = e.$$ = {
276
276
  fragment: null,
277
277
  ctx: [],
@@ -279,7 +279,7 @@ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
279
279
  props: s,
280
280
  update: T,
281
281
  not_equal: i,
282
- bound: rt(),
282
+ bound: tt(),
283
283
  // lifecycle
284
284
  on_mount: [],
285
285
  on_destroy: [],
@@ -288,28 +288,28 @@ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
288
288
  after_update: [],
289
289
  context: new Map(t.context || (l ? l.$$.context : [])),
290
290
  // everything else
291
- callbacks: rt(),
291
+ callbacks: tt(),
292
292
  dirty: o,
293
293
  skip_bound: !1,
294
294
  root: t.target || l.$$.root
295
295
  };
296
296
  a && a(u.root);
297
297
  let h = !1;
298
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
299
- const m = p.length ? p[0] : c;
300
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Cr(e, f)), c;
301
- }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
298
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...p) => {
299
+ const f = p.length ? p[0] : m;
300
+ return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && Or(e, c)), m;
301
+ }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
302
302
  if (t.hydrate) {
303
- const f = yr(t.target);
304
- u.fragment && u.fragment.l(f), f.forEach(L);
303
+ const c = gr(t.target);
304
+ u.fragment && u.fragment.l(c), c.forEach(L);
305
305
  } else
306
306
  u.fragment && u.fragment.c();
307
- t.intro && fe(e.$$.fragment), Ar(e, t.target, t.anchor), O();
307
+ t.intro && he(e.$$.fragment), Sr(e, t.target, t.anchor), w();
308
308
  }
309
- ee(l);
309
+ Y(l);
310
310
  }
311
- let Lt;
312
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
311
+ let Ct;
312
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
313
313
  constructor(t, r, n) {
314
314
  super();
315
315
  /** The Svelte component constructor */
@@ -346,21 +346,21 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
346
346
  }
347
347
  }
348
348
  connectedCallback() {
349
- return tt(this, null, function* () {
349
+ return et(this, null, function* () {
350
350
  if (this.$$cn = !0, !this.$$c) {
351
351
  let t = function(s) {
352
352
  return () => {
353
353
  let a;
354
354
  return {
355
355
  c: function() {
356
- a = Z("slot"), s !== "default" && Q(a, "name", s);
356
+ a = z("slot"), s !== "default" && W(a, "name", s);
357
357
  },
358
358
  /**
359
359
  * @param {HTMLElement} target
360
360
  * @param {HTMLElement} [anchor]
361
361
  */
362
362
  m: function(u, h) {
363
- $(u, a, h);
363
+ M(u, a, h);
364
364
  },
365
365
  d: function(u) {
366
366
  u && L(a);
@@ -370,18 +370,18 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
370
370
  };
371
371
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
372
372
  return;
373
- const r = {}, n = xr(this);
373
+ const r = {}, n = yr(this);
374
374
  for (const s of this.$$s)
375
375
  s in n && (r[s] = [t(s)]);
376
376
  for (const s of this.attributes) {
377
377
  const a = this.$$g_p(s.name);
378
- a in this.$$d || (this.$$d[a] = ce(a, s.value, this.$$p_d, "toProp"));
378
+ a in this.$$d || (this.$$d[a] = le(a, s.value, this.$$p_d, "toProp"));
379
379
  }
380
380
  for (const s in this.$$p_d)
381
381
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
382
382
  this.$$c = new this.$$ctor({
383
383
  target: this.shadowRoot || this,
384
- props: et(Ke({}, this.$$d), {
384
+ props: Ke(Ye({}, this.$$d), {
385
385
  $$slots: r,
386
386
  $$scope: {
387
387
  ctx: []
@@ -392,7 +392,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
392
392
  this.$$r = !0;
393
393
  for (const s in this.$$p_d)
394
394
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
395
- const a = ce(
395
+ const a = le(
396
396
  s,
397
397
  this.$$d[s],
398
398
  this.$$p_d,
@@ -416,7 +416,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
416
416
  // and setting attributes through setAttribute etc, this is helpful
417
417
  attributeChangedCallback(t, r, n) {
418
418
  var i;
419
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
419
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
420
420
  }
421
421
  disconnectedCallback() {
422
422
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -429,7 +429,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
429
429
  ) || t;
430
430
  }
431
431
  });
432
- function ce(e, t, r, n) {
432
+ function le(e, t, r, n) {
433
433
  var s;
434
434
  const i = (s = r[e]) == null ? void 0 : s.type;
435
435
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -459,8 +459,8 @@ function ce(e, t, r, n) {
459
459
  return t;
460
460
  }
461
461
  }
462
- function Lr(e, t, r, n, i, s) {
463
- let a = class extends Lt {
462
+ function Cr(e, t, r, n, i, s) {
463
+ let a = class extends Ct {
464
464
  constructor() {
465
465
  super(e, r, i), this.$$p_d = t;
466
466
  }
@@ -477,7 +477,7 @@ function Lr(e, t, r, n, i, s) {
477
477
  },
478
478
  set(l) {
479
479
  var u;
480
- l = ce(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
480
+ l = le(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
481
481
  }
482
482
  });
483
483
  }), n.forEach((o) => {
@@ -490,7 +490,7 @@ function Lr(e, t, r, n, i, s) {
490
490
  }), e.element = /** @type {any} */
491
491
  a, a;
492
492
  }
493
- class Nr {
493
+ class Lr {
494
494
  constructor() {
495
495
  /**
496
496
  * ### PRIVATE API
@@ -511,7 +511,7 @@ class Nr {
511
511
  }
512
512
  /** @returns {void} */
513
513
  $destroy() {
514
- Or(this, 1), this.$destroy = T;
514
+ Ar(this, 1), this.$destroy = T;
515
515
  }
516
516
  /**
517
517
  * @template {Extract<keyof Events, string>} K
@@ -520,7 +520,7 @@ class Nr {
520
520
  * @returns {() => void}
521
521
  */
522
522
  $on(t, r) {
523
- if (!Ze(r))
523
+ if (!ze(r))
524
524
  return T;
525
525
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
526
526
  return n.push(r), () => {
@@ -533,29 +533,29 @@ class Nr {
533
533
  * @returns {void}
534
534
  */
535
535
  $set(t) {
536
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
536
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
537
537
  }
538
538
  }
539
- const Ir = "4";
540
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
541
- const F = [];
542
- function Mr(e, t) {
539
+ const Nr = "4";
540
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
541
+ const D = [];
542
+ function Ir(e, t) {
543
543
  return {
544
- subscribe: Ee(e, t).subscribe
544
+ subscribe: _e(e, t).subscribe
545
545
  };
546
546
  }
547
- function Ee(e, t = T) {
547
+ function _e(e, t = T) {
548
548
  let r;
549
549
  const n = /* @__PURE__ */ new Set();
550
550
  function i(o) {
551
- if (St(e, o) && (e = o, r)) {
552
- const l = !F.length;
551
+ if (wt(e, o) && (e = o, r)) {
552
+ const l = !D.length;
553
553
  for (const u of n)
554
- u[1](), F.push(u, e);
554
+ u[1](), D.push(u, e);
555
555
  if (l) {
556
- for (let u = 0; u < F.length; u += 2)
557
- F[u][0](F[u + 1]);
558
- F.length = 0;
556
+ for (let u = 0; u < D.length; u += 2)
557
+ D[u][0](D[u + 1]);
558
+ D.length = 0;
559
559
  }
560
560
  }
561
561
  }
@@ -570,139 +570,139 @@ function Ee(e, t = T) {
570
570
  }
571
571
  return { set: i, update: s, subscribe: a };
572
572
  }
573
- function q(e, t, r) {
573
+ function Z(e, t, r) {
574
574
  const n = !Array.isArray(e), i = n ? [e] : e;
575
575
  if (!i.every(Boolean))
576
576
  throw new Error("derived() expects stores as input, got a falsy value");
577
577
  const s = t.length < 2;
578
- return Mr(r, (a, o) => {
578
+ return Ir(r, (a, o) => {
579
579
  let l = !1;
580
580
  const u = [];
581
- let h = 0, f = T;
582
- const c = () => {
581
+ let h = 0, c = T;
582
+ const m = () => {
583
583
  if (h)
584
584
  return;
585
- f();
586
- const m = t(n ? u[0] : u, a, o);
587
- s ? a(m) : f = Ze(m) ? m : T;
585
+ c();
586
+ const f = t(n ? u[0] : u, a, o);
587
+ s ? a(f) : c = ze(f) ? f : T;
588
588
  }, p = i.map(
589
- (m, g) => At(
590
- m,
589
+ (f, _) => St(
590
+ f,
591
591
  (v) => {
592
- u[g] = v, h &= ~(1 << g), l && c();
592
+ u[_] = v, h &= ~(1 << _), l && m();
593
593
  },
594
594
  () => {
595
- h |= 1 << g;
595
+ h |= 1 << _;
596
596
  }
597
597
  )
598
598
  );
599
- return l = !0, c(), function() {
600
- ie(p), f(), l = !1;
599
+ return l = !0, m(), function() {
600
+ re(p), c(), l = !1;
601
601
  };
602
602
  });
603
603
  }
604
- function $r(e) {
604
+ function Mr(e) {
605
605
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
606
606
  }
607
- var Rr = function(t) {
608
- return Ur(t) && !Dr(t);
607
+ var $r = function(t) {
608
+ return Rr(t) && !Ur(t);
609
609
  };
610
- function Ur(e) {
610
+ function Rr(e) {
611
611
  return !!e && typeof e == "object";
612
612
  }
613
- function Dr(e) {
613
+ function Ur(e) {
614
614
  var t = Object.prototype.toString.call(e);
615
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
615
+ return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
616
616
  }
617
- var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
618
- function jr(e) {
619
- return e.$$typeof === Fr;
617
+ var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
618
+ function Fr(e) {
619
+ return e.$$typeof === Gr;
620
620
  }
621
- function kr(e) {
621
+ function jr(e) {
622
622
  return Array.isArray(e) ? [] : {};
623
623
  }
624
- function re(e, t) {
625
- return t.clone !== !1 && t.isMergeableObject(e) ? V(kr(e), e, t) : e;
624
+ function ee(e, t) {
625
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(jr(e), e, t) : e;
626
626
  }
627
- function Vr(e, t, r) {
627
+ function kr(e, t, r) {
628
628
  return e.concat(t).map(function(n) {
629
- return re(n, r);
629
+ return ee(n, r);
630
630
  });
631
631
  }
632
- function Xr(e, t) {
632
+ function Vr(e, t) {
633
633
  if (!t.customMerge)
634
- return V;
634
+ return j;
635
635
  var r = t.customMerge(e);
636
- return typeof r == "function" ? r : V;
636
+ return typeof r == "function" ? r : j;
637
637
  }
638
- function zr(e) {
638
+ function Xr(e) {
639
639
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
640
640
  return Object.propertyIsEnumerable.call(e, t);
641
641
  }) : [];
642
642
  }
643
- function st(e) {
644
- return Object.keys(e).concat(zr(e));
643
+ function it(e) {
644
+ return Object.keys(e).concat(Xr(e));
645
645
  }
646
- function Nt(e, t) {
646
+ function Lt(e, t) {
647
647
  try {
648
648
  return t in e;
649
649
  } catch (r) {
650
650
  return !1;
651
651
  }
652
652
  }
653
- function Wr(e, t) {
654
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
653
+ function zr(e, t) {
654
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
655
655
  }
656
- function Zr(e, t, r) {
656
+ function Wr(e, t, r) {
657
657
  var n = {};
658
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
659
- n[i] = re(e[i], r);
660
- }), st(t).forEach(function(i) {
661
- Wr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
658
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
659
+ n[i] = ee(e[i], r);
660
+ }), it(t).forEach(function(i) {
661
+ zr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
662
662
  }), n;
663
663
  }
664
- function V(e, t, r) {
665
- r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = re;
664
+ function j(e, t, r) {
665
+ r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
666
666
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
667
- return s ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : re(t, r);
667
+ return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
668
668
  }
669
- V.all = function(t, r) {
669
+ j.all = function(t, r) {
670
670
  if (!Array.isArray(t))
671
671
  throw new Error("first argument should be an array");
672
672
  return t.reduce(function(n, i) {
673
- return V(n, i, r);
673
+ return j(n, i, r);
674
674
  }, {});
675
675
  };
676
- var Qr = V, qr = Qr;
677
- const Jr = /* @__PURE__ */ $r(qr);
678
- var Ge = function(e, t) {
679
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
676
+ var Zr = j, Qr = Zr;
677
+ const qr = /* @__PURE__ */ Mr(Qr);
678
+ var Ue = function(e, t) {
679
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
680
680
  r.__proto__ = n;
681
681
  } || function(r, n) {
682
682
  for (var i in n)
683
683
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
684
- }, Ge(e, t);
684
+ }, Ue(e, t);
685
685
  };
686
- function xe(e, t) {
686
+ function ye(e, t) {
687
687
  if (typeof t != "function" && t !== null)
688
688
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
689
- Ge(e, t);
689
+ Ue(e, t);
690
690
  function r() {
691
691
  this.constructor = e;
692
692
  }
693
693
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
694
694
  }
695
- var w = function() {
696
- return w = Object.assign || function(t) {
695
+ var S = function() {
696
+ return S = Object.assign || function(t) {
697
697
  for (var r, n = 1, i = arguments.length; n < i; n++) {
698
698
  r = arguments[n];
699
699
  for (var s in r)
700
700
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
701
701
  }
702
702
  return t;
703
- }, w.apply(this, arguments);
703
+ }, S.apply(this, arguments);
704
704
  };
705
- function Yr(e, t) {
705
+ function Jr(e, t) {
706
706
  var r = {};
707
707
  for (var n in e)
708
708
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -711,43 +711,43 @@ function Yr(e, t) {
711
711
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
712
712
  return r;
713
713
  }
714
- function Pe(e, t, r) {
714
+ function Oe(e, t, r) {
715
715
  if (r || arguments.length === 2)
716
716
  for (var n = 0, i = t.length, s; n < i; n++)
717
717
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
718
718
  return e.concat(s || Array.prototype.slice.call(t));
719
719
  }
720
- function Le(e, t) {
721
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : nn, i = t && t.strategy ? t.strategy : tn;
720
+ function Pe(e, t) {
721
+ var r = t && t.cache ? t.cache : sn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
722
722
  return i(e, {
723
723
  cache: r,
724
724
  serializer: n
725
725
  });
726
726
  }
727
- function Kr(e) {
727
+ function Yr(e) {
728
728
  return e == null || typeof e == "number" || typeof e == "boolean";
729
729
  }
730
- function en(e, t, r, n) {
731
- var i = Kr(n) ? n : r(n), s = t.get(i);
730
+ function Kr(e, t, r, n) {
731
+ var i = Yr(n) ? n : r(n), s = t.get(i);
732
732
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
733
733
  }
734
- function It(e, t, r) {
734
+ function Nt(e, t, r) {
735
735
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
736
736
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
737
737
  }
738
- function Mt(e, t, r, n, i) {
738
+ function It(e, t, r, n, i) {
739
739
  return r.bind(t, e, n, i);
740
740
  }
741
- function tn(e, t) {
742
- var r = e.length === 1 ? en : It;
743
- return Mt(e, this, r, t.cache.create(), t.serializer);
741
+ function en(e, t) {
742
+ var r = e.length === 1 ? Kr : Nt;
743
+ return It(e, this, r, t.cache.create(), t.serializer);
744
744
  }
745
- function rn(e, t) {
746
- return Mt(e, this, It, t.cache.create(), t.serializer);
745
+ function tn(e, t) {
746
+ return It(e, this, Nt, t.cache.create(), t.serializer);
747
747
  }
748
- var nn = function() {
748
+ var rn = function() {
749
749
  return JSON.stringify(arguments);
750
- }, sn = (
750
+ }, nn = (
751
751
  /** @class */
752
752
  function() {
753
753
  function e() {
@@ -759,21 +759,21 @@ var nn = function() {
759
759
  this.cache[t] = r;
760
760
  }, e;
761
761
  }()
762
- ), on = {
762
+ ), sn = {
763
763
  create: function() {
764
- return new sn();
764
+ return new nn();
765
765
  }
766
- }, Ne = {
767
- variadic: rn
768
- }, be = function() {
769
- return be = Object.assign || function(t) {
766
+ }, Ce = {
767
+ variadic: tn
768
+ }, pe = function() {
769
+ return pe = Object.assign || function(t) {
770
770
  for (var r, n = 1, i = arguments.length; n < i; n++) {
771
771
  r = arguments[n];
772
772
  for (var s in r)
773
773
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
774
774
  }
775
775
  return t;
776
- }, be.apply(this, arguments);
776
+ }, pe.apply(this, arguments);
777
777
  };
778
778
  var d;
779
779
  (function(e) {
@@ -783,47 +783,47 @@ var y;
783
783
  (function(e) {
784
784
  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";
785
785
  })(y || (y = {}));
786
- var X;
786
+ var k;
787
787
  (function(e) {
788
788
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
789
- })(X || (X = {}));
790
- function ot(e) {
789
+ })(k || (k = {}));
790
+ function st(e) {
791
791
  return e.type === y.literal;
792
792
  }
793
- function an(e) {
793
+ function on(e) {
794
794
  return e.type === y.argument;
795
795
  }
796
- function $t(e) {
796
+ function Mt(e) {
797
797
  return e.type === y.number;
798
798
  }
799
- function Rt(e) {
799
+ function $t(e) {
800
800
  return e.type === y.date;
801
801
  }
802
- function Ut(e) {
802
+ function Rt(e) {
803
803
  return e.type === y.time;
804
804
  }
805
- function Dt(e) {
805
+ function Ut(e) {
806
806
  return e.type === y.select;
807
807
  }
808
- function Gt(e) {
808
+ function Dt(e) {
809
809
  return e.type === y.plural;
810
810
  }
811
- function un(e) {
811
+ function an(e) {
812
812
  return e.type === y.pound;
813
813
  }
814
- function Ft(e) {
814
+ function Gt(e) {
815
815
  return e.type === y.tag;
816
816
  }
817
- function jt(e) {
818
- return !!(e && typeof e == "object" && e.type === X.number);
817
+ function Ft(e) {
818
+ return !!(e && typeof e == "object" && e.type === k.number);
819
819
  }
820
- function Fe(e) {
821
- return !!(e && typeof e == "object" && e.type === X.dateTime);
820
+ function De(e) {
821
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
822
822
  }
823
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
824
- function ln(e) {
823
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
824
+ function hn(e) {
825
825
  var t = {};
826
- return e.replace(hn, function(r) {
826
+ return e.replace(un, function(r) {
827
827
  var n = r.length;
828
828
  switch (r[0]) {
829
829
  case "G":
@@ -922,36 +922,36 @@ var E = function() {
922
922
  return t;
923
923
  }, E.apply(this, arguments);
924
924
  };
925
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
926
- function cn(e) {
925
+ var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
926
+ function fn(e) {
927
927
  if (e.length === 0)
928
928
  throw new Error("Number skeleton cannot be empty");
929
- for (var t = e.split(fn).filter(function(c) {
930
- return c.length > 0;
929
+ for (var t = e.split(ln).filter(function(m) {
930
+ return m.length > 0;
931
931
  }), r = [], n = 0, i = t; n < i.length; n++) {
932
932
  var s = i[n], a = s.split("/");
933
933
  if (a.length === 0)
934
934
  throw new Error("Invalid number skeleton");
935
935
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
936
- var f = h[u];
937
- if (f.length === 0)
936
+ var c = h[u];
937
+ if (c.length === 0)
938
938
  throw new Error("Invalid number skeleton");
939
939
  }
940
940
  r.push({ stem: o, options: l });
941
941
  }
942
942
  return r;
943
943
  }
944
- function mn(e) {
944
+ function cn(e) {
945
945
  return e.replace(/^(.*?)-/, "");
946
946
  }
947
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
948
- function ut(e) {
947
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
948
+ function at(e) {
949
949
  var t = {};
950
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
950
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
951
951
  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)), "";
952
952
  }), t;
953
953
  }
954
- function zt(e) {
954
+ function Xt(e) {
955
955
  switch (e) {
956
956
  case "sign-auto":
957
957
  return {
@@ -991,7 +991,7 @@ function zt(e) {
991
991
  };
992
992
  }
993
993
  }
994
- function dn(e) {
994
+ function pn(e) {
995
995
  var t;
996
996
  if (e[0] === "E" && e[1] === "E" ? (t = {
997
997
  notation: "engineering"
@@ -999,17 +999,17 @@ function dn(e) {
999
999
  notation: "scientific"
1000
1000
  }, e = e.slice(1)), t) {
1001
1001
  var r = e.slice(0, 2);
1002
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
1002
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1003
1003
  throw new Error("Malformed concise eng/scientific notation");
1004
1004
  t.minimumIntegerDigits = e.length;
1005
1005
  }
1006
1006
  return t;
1007
1007
  }
1008
- function ht(e) {
1009
- var t = {}, r = zt(e);
1008
+ function ut(e) {
1009
+ var t = {}, r = Xt(e);
1010
1010
  return r || t;
1011
1011
  }
1012
- function bn(e) {
1012
+ function dn(e) {
1013
1013
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1014
1014
  var i = n[r];
1015
1015
  switch (i.stem) {
@@ -1033,7 +1033,7 @@ function bn(e) {
1033
1033
  continue;
1034
1034
  case "measure-unit":
1035
1035
  case "unit":
1036
- t.style = "unit", t.unit = mn(i.options[0]);
1036
+ t.style = "unit", t.unit = cn(i.options[0]);
1037
1037
  continue;
1038
1038
  case "compact-short":
1039
1039
  case "K":
@@ -1045,12 +1045,12 @@ function bn(e) {
1045
1045
  continue;
1046
1046
  case "scientific":
1047
1047
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1048
- return E(E({}, l), ht(u));
1048
+ return E(E({}, l), ut(u));
1049
1049
  }, {}));
1050
1050
  continue;
1051
1051
  case "engineering":
1052
1052
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1053
- return E(E({}, l), ht(u));
1053
+ return E(E({}, l), ut(u));
1054
1054
  }, {}));
1055
1055
  continue;
1056
1056
  case "notation-simple":
@@ -1095,11 +1095,11 @@ function bn(e) {
1095
1095
  case "integer-width":
1096
1096
  if (i.options.length > 1)
1097
1097
  throw new RangeError("integer-width stems only accept a single optional option");
1098
- i.options[0].replace(pn, function(l, u, h, f, c, p) {
1098
+ i.options[0].replace(mn, function(l, u, h, c, m, p) {
1099
1099
  if (u)
1100
1100
  t.minimumIntegerDigits = h.length;
1101
1101
  else {
1102
- if (f && c)
1102
+ if (c && m)
1103
1103
  throw new Error("We currently do not support maximum integer digits");
1104
1104
  if (p)
1105
1105
  throw new Error("We currently do not support exact integer digits");
@@ -1108,32 +1108,32 @@ function bn(e) {
1108
1108
  });
1109
1109
  continue;
1110
1110
  }
1111
- if (Xt.test(i.stem)) {
1111
+ if (Vt.test(i.stem)) {
1112
1112
  t.minimumIntegerDigits = i.stem.length;
1113
1113
  continue;
1114
1114
  }
1115
- if (at.test(i.stem)) {
1115
+ if (ot.test(i.stem)) {
1116
1116
  if (i.options.length > 1)
1117
1117
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1118
- i.stem.replace(at, function(l, u, h, f, c, p) {
1119
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1118
+ i.stem.replace(ot, function(l, u, h, c, m, p) {
1119
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1120
1120
  });
1121
1121
  var s = i.options[0];
1122
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ut(s)));
1122
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
1123
1123
  continue;
1124
1124
  }
1125
- if (Vt.test(i.stem)) {
1126
- t = E(E({}, t), ut(i.stem));
1125
+ if (kt.test(i.stem)) {
1126
+ t = E(E({}, t), at(i.stem));
1127
1127
  continue;
1128
1128
  }
1129
- var a = zt(i.stem);
1129
+ var a = Xt(i.stem);
1130
1130
  a && (t = E(E({}, t), a));
1131
- var o = dn(i.stem);
1131
+ var o = pn(i.stem);
1132
1132
  o && (t = E(E({}, t), o));
1133
1133
  }
1134
1134
  return t;
1135
1135
  }
1136
- var he = {
1136
+ var ae = {
1137
1137
  "001": [
1138
1138
  "H",
1139
1139
  "h"
@@ -2548,13 +2548,13 @@ var he = {
2548
2548
  "h"
2549
2549
  ]
2550
2550
  };
2551
- function gn(e, t) {
2551
+ function bn(e, t) {
2552
2552
  for (var r = "", n = 0; n < e.length; n++) {
2553
2553
  var i = e.charAt(n);
2554
2554
  if (i === "j") {
2555
2555
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2556
2556
  s++, n++;
2557
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = _n(t);
2557
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2558
2558
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2559
2559
  r += l;
2560
2560
  for (; a-- > 0; )
@@ -2564,7 +2564,7 @@ function gn(e, t) {
2564
2564
  }
2565
2565
  return r;
2566
2566
  }
2567
- function _n(e) {
2567
+ function gn(e) {
2568
2568
  var t = e.hourCycle;
2569
2569
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2570
2570
  e.hourCycles && // @ts-ignore
@@ -2583,23 +2583,23 @@ function _n(e) {
2583
2583
  }
2584
2584
  var r = e.language, n;
2585
2585
  r !== "root" && (n = e.maximize().region);
2586
- var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2586
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2587
2587
  return i[0];
2588
2588
  }
2589
- var Ie, yn = new RegExp("^".concat(kt.source, "*")), En = new RegExp("".concat(kt.source, "*$"));
2589
+ var Le, _n = new RegExp("^".concat(jt.source, "*")), yn = new RegExp("".concat(jt.source, "*$"));
2590
2590
  function b(e, t) {
2591
2591
  return { start: e, end: t };
2592
2592
  }
2593
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, An = Sn ? Number.isSafeInteger : function(e) {
2593
+ var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, vn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Sn = wn ? Number.isSafeInteger : function(e) {
2594
2594
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2595
- }, je = !0;
2595
+ }, Ge = !0;
2596
2596
  try {
2597
- var On = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2598
- je = ((Ie = On.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2597
+ var An = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2598
+ Ge = ((Le = An.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2599
2599
  } catch (e) {
2600
- je = !1;
2600
+ Ge = !1;
2601
2601
  }
2602
- var lt = xn ? (
2602
+ var ht = En ? (
2603
2603
  // Native
2604
2604
  function(t, r, n) {
2605
2605
  return t.startsWith(r, n);
@@ -2609,7 +2609,7 @@ var lt = xn ? (
2609
2609
  function(t, r, n) {
2610
2610
  return t.slice(n, n + r.length) === r;
2611
2611
  }
2612
- ), ke = vn ? String.fromCodePoint : (
2612
+ ), Fe = xn ? String.fromCodePoint : (
2613
2613
  // IE11
2614
2614
  function() {
2615
2615
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2621,9 +2621,9 @@ var lt = xn ? (
2621
2621
  }
2622
2622
  return n;
2623
2623
  }
2624
- ), ft = (
2624
+ ), lt = (
2625
2625
  // native
2626
- Hn ? Object.fromEntries : (
2626
+ vn ? Object.fromEntries : (
2627
2627
  // Ponyfill
2628
2628
  function(t) {
2629
2629
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2633,7 +2633,7 @@ var lt = xn ? (
2633
2633
  return r;
2634
2634
  }
2635
2635
  )
2636
- ), Wt = Bn ? (
2636
+ ), zt = Hn ? (
2637
2637
  // Native
2638
2638
  function(t, r) {
2639
2639
  return t.codePointAt(r);
@@ -2647,7 +2647,7 @@ var lt = xn ? (
2647
2647
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2648
2648
  }
2649
2649
  }
2650
- ), Cn = Tn ? (
2650
+ ), On = Bn ? (
2651
2651
  // Native
2652
2652
  function(t) {
2653
2653
  return t.trimStart();
@@ -2655,9 +2655,9 @@ var lt = xn ? (
2655
2655
  ) : (
2656
2656
  // Ponyfill
2657
2657
  function(t) {
2658
- return t.replace(yn, "");
2658
+ return t.replace(_n, "");
2659
2659
  }
2660
- ), Pn = wn ? (
2660
+ ), Pn = Tn ? (
2661
2661
  // Native
2662
2662
  function(t) {
2663
2663
  return t.trimEnd();
@@ -2665,32 +2665,32 @@ var lt = xn ? (
2665
2665
  ) : (
2666
2666
  // Ponyfill
2667
2667
  function(t) {
2668
- return t.replace(En, "");
2668
+ return t.replace(yn, "");
2669
2669
  }
2670
2670
  );
2671
- function Zt(e, t) {
2671
+ function Wt(e, t) {
2672
2672
  return new RegExp(e, t);
2673
2673
  }
2674
- var Ve;
2675
- if (je) {
2676
- var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2677
- Ve = function(t, r) {
2674
+ var je;
2675
+ if (Ge) {
2676
+ var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2677
+ je = function(t, r) {
2678
2678
  var n;
2679
- ct.lastIndex = r;
2680
- var i = ct.exec(t);
2679
+ ft.lastIndex = r;
2680
+ var i = ft.exec(t);
2681
2681
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2682
2682
  };
2683
2683
  } else
2684
- Ve = function(t, r) {
2684
+ je = function(t, r) {
2685
2685
  for (var n = []; ; ) {
2686
- var i = Wt(t, r);
2687
- if (i === void 0 || Qt(i) || Mn(i))
2686
+ var i = zt(t, r);
2687
+ if (i === void 0 || Zt(i) || In(i))
2688
2688
  break;
2689
2689
  n.push(i), r += i >= 65536 ? 2 : 1;
2690
2690
  }
2691
- return ke.apply(void 0, n);
2691
+ return Fe.apply(void 0, n);
2692
2692
  };
2693
- var Ln = (
2693
+ var Cn = (
2694
2694
  /** @class */
2695
2695
  function() {
2696
2696
  function e(t, r) {
@@ -2721,7 +2721,7 @@ var Ln = (
2721
2721
  if (n)
2722
2722
  break;
2723
2723
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2724
- } else if (s === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2724
+ } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2725
2725
  var a = this.parseTag(t, r);
2726
2726
  if (a.err)
2727
2727
  return a;
@@ -2754,7 +2754,7 @@ var Ln = (
2754
2754
  return s;
2755
2755
  var a = s.val, o = this.clonePosition();
2756
2756
  if (this.bumpIf("</")) {
2757
- if (this.isEOF() || !Xe(this.char()))
2757
+ if (this.isEOF() || !ke(this.char()))
2758
2758
  return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2759
2759
  var l = this.clonePosition(), u = this.parseTagName();
2760
2760
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2772,7 +2772,7 @@ var Ln = (
2772
2772
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2773
2773
  }, e.prototype.parseTagName = function() {
2774
2774
  var t = this.offset();
2775
- for (this.bump(); !this.isEOF() && In(this.char()); )
2775
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
2776
2776
  this.bump();
2777
2777
  return this.message.slice(t, this.offset());
2778
2778
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2801,7 +2801,7 @@ var Ln = (
2801
2801
  };
2802
2802
  }, e.prototype.tryParseLeftAngleBracket = function() {
2803
2803
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2804
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2804
+ !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2805
2805
  }, e.prototype.tryParseQuote = function(t) {
2806
2806
  if (this.isEOF() || this.char() !== 39)
2807
2807
  return null;
@@ -2835,12 +2835,12 @@ var Ln = (
2835
2835
  r.push(n);
2836
2836
  this.bump();
2837
2837
  }
2838
- return ke.apply(void 0, r);
2838
+ return Fe.apply(void 0, r);
2839
2839
  }, e.prototype.tryParseUnquoted = function(t, r) {
2840
2840
  if (this.isEOF())
2841
2841
  return null;
2842
2842
  var n = this.char();
2843
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
2843
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2844
2844
  }, e.prototype.parseArgument = function(t, r) {
2845
2845
  var n = this.clonePosition();
2846
2846
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2869,7 +2869,7 @@ var Ln = (
2869
2869
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2870
2870
  }
2871
2871
  }, e.prototype.parseIdentifierIfPossible = function() {
2872
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
2872
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2873
2873
  this.bumpTo(i);
2874
2874
  var s = this.clonePosition(), a = b(t, s);
2875
2875
  return { value: n, location: a };
@@ -2885,40 +2885,40 @@ var Ln = (
2885
2885
  var u = null;
2886
2886
  if (this.bumpIf(",")) {
2887
2887
  this.bumpSpace();
2888
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2889
- if (f.err)
2890
- return f;
2891
- var c = Pn(f.val);
2892
- if (c.length === 0)
2888
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2889
+ if (c.err)
2890
+ return c;
2891
+ var m = Pn(c.val);
2892
+ if (m.length === 0)
2893
2893
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2894
2894
  var p = b(h, this.clonePosition());
2895
- u = { style: c, styleLocation: p };
2895
+ u = { style: m, styleLocation: p };
2896
2896
  }
2897
- var m = this.tryParseArgumentClose(i);
2898
- if (m.err)
2899
- return m;
2900
- var g = b(i, this.clonePosition());
2901
- if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2902
- var v = Cn(u.style.slice(2));
2897
+ var f = this.tryParseArgumentClose(i);
2898
+ if (f.err)
2899
+ return f;
2900
+ var _ = b(i, this.clonePosition());
2901
+ if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
2902
+ var v = On(u.style.slice(2));
2903
2903
  if (o === "number") {
2904
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
2905
- return f.err ? f : {
2906
- val: { type: y.number, value: n, location: g, style: f.val },
2904
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2905
+ return c.err ? c : {
2906
+ val: { type: y.number, value: n, location: _, style: c.val },
2907
2907
  err: null
2908
2908
  };
2909
2909
  } else {
2910
2910
  if (v.length === 0)
2911
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2912
- var I = v;
2913
- this.locale && (I = gn(v, this.locale));
2914
- var c = {
2915
- type: X.dateTime,
2916
- pattern: I,
2911
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2912
+ var O = v;
2913
+ this.locale && (O = bn(v, this.locale));
2914
+ var m = {
2915
+ type: k.dateTime,
2916
+ pattern: O,
2917
2917
  location: u.styleLocation,
2918
- parsedOptions: this.shouldParseSkeletons ? ln(I) : {}
2919
- }, C = o === "date" ? y.date : y.time;
2918
+ parsedOptions: this.shouldParseSkeletons ? hn(O) : {}
2919
+ }, P = o === "date" ? y.date : y.time;
2920
2920
  return {
2921
- val: { type: C, value: n, location: g, style: c },
2921
+ val: { type: P, value: n, location: _, style: m },
2922
2922
  err: null
2923
2923
  };
2924
2924
  }
@@ -2927,7 +2927,7 @@ var Ln = (
2927
2927
  val: {
2928
2928
  type: o === "number" ? y.number : o === "date" ? y.date : y.time,
2929
2929
  value: n,
2930
- location: g,
2930
+ location: _,
2931
2931
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2932
2932
  },
2933
2933
  err: null
@@ -2938,41 +2938,41 @@ var Ln = (
2938
2938
  case "select": {
2939
2939
  var H = this.clonePosition();
2940
2940
  if (this.bumpSpace(), !this.bumpIf(","))
2941
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, be({}, H)));
2941
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
2942
2942
  this.bumpSpace();
2943
- var M = this.parseIdentifierIfPossible(), S = 0;
2944
- if (o !== "select" && M.value === "offset") {
2943
+ var I = this.parseIdentifierIfPossible(), A = 0;
2944
+ if (o !== "select" && I.value === "offset") {
2945
2945
  if (!this.bumpIf(":"))
2946
2946
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2947
2947
  this.bumpSpace();
2948
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2949
- if (f.err)
2950
- return f;
2951
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), S = f.val;
2948
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2949
+ if (c.err)
2950
+ return c;
2951
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), A = c.val;
2952
2952
  }
2953
- var U = this.tryParsePluralOrSelectOptions(t, o, r, M);
2954
- if (U.err)
2955
- return U;
2956
- var m = this.tryParseArgumentClose(i);
2957
- if (m.err)
2958
- return m;
2959
- var ae = b(i, this.clonePosition());
2953
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2954
+ if (R.err)
2955
+ return R;
2956
+ var f = this.tryParseArgumentClose(i);
2957
+ if (f.err)
2958
+ return f;
2959
+ var se = b(i, this.clonePosition());
2960
2960
  return o === "select" ? {
2961
2961
  val: {
2962
2962
  type: y.select,
2963
2963
  value: n,
2964
- options: ft(U.val),
2965
- location: ae
2964
+ options: lt(R.val),
2965
+ location: se
2966
2966
  },
2967
2967
  err: null
2968
2968
  } : {
2969
2969
  val: {
2970
2970
  type: y.plural,
2971
2971
  value: n,
2972
- options: ft(U.val),
2973
- offset: S,
2972
+ options: lt(R.val),
2973
+ offset: A,
2974
2974
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2975
- location: ae
2975
+ location: se
2976
2976
  },
2977
2977
  err: null
2978
2978
  };
@@ -3020,28 +3020,28 @@ var Ln = (
3020
3020
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3021
3021
  var n = [];
3022
3022
  try {
3023
- n = cn(t);
3023
+ n = fn(t);
3024
3024
  } catch (i) {
3025
3025
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3026
3026
  }
3027
3027
  return {
3028
3028
  val: {
3029
- type: X.number,
3029
+ type: k.number,
3030
3030
  tokens: n,
3031
3031
  location: r,
3032
- parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
3032
+ parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3033
3033
  },
3034
3034
  err: null
3035
3035
  };
3036
3036
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3037
3037
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3038
3038
  if (u.length === 0) {
3039
- var f = this.clonePosition();
3039
+ var c = this.clonePosition();
3040
3040
  if (r !== "select" && this.bumpIf("=")) {
3041
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3042
- if (c.err)
3043
- return c;
3044
- h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3041
+ var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3042
+ if (m.err)
3043
+ return m;
3044
+ h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3045
3045
  } else
3046
3046
  break;
3047
3047
  }
@@ -3051,16 +3051,16 @@ var Ln = (
3051
3051
  var p = this.clonePosition();
3052
3052
  if (!this.bumpIf("{"))
3053
3053
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3054
- var m = this.parseMessage(t + 1, r, n);
3055
- if (m.err)
3056
- return m;
3057
- var g = this.tryParseArgumentClose(p);
3058
- if (g.err)
3059
- return g;
3054
+ var f = this.parseMessage(t + 1, r, n);
3055
+ if (f.err)
3056
+ return f;
3057
+ var _ = this.tryParseArgumentClose(p);
3058
+ if (_.err)
3059
+ return _;
3060
3060
  o.push([
3061
3061
  u,
3062
3062
  {
3063
- value: m.val,
3063
+ value: f.val,
3064
3064
  location: b(p, this.clonePosition())
3065
3065
  }
3066
3066
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
@@ -3077,7 +3077,7 @@ var Ln = (
3077
3077
  break;
3078
3078
  }
3079
3079
  var l = b(i, this.clonePosition());
3080
- return s ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3080
+ return s ? (a *= n, Sn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3081
3081
  }, e.prototype.offset = function() {
3082
3082
  return this.position.offset;
3083
3083
  }, e.prototype.isEOF = function() {
@@ -3092,7 +3092,7 @@ var Ln = (
3092
3092
  var t = this.position.offset;
3093
3093
  if (t >= this.message.length)
3094
3094
  throw Error("out of bound");
3095
- var r = Wt(this.message, t);
3095
+ var r = zt(this.message, t);
3096
3096
  if (r === void 0)
3097
3097
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3098
3098
  return r;
@@ -3111,7 +3111,7 @@ var Ln = (
3111
3111
  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);
3112
3112
  }
3113
3113
  }, e.prototype.bumpIf = function(t) {
3114
- if (lt(this.message, t, this.offset())) {
3114
+ if (ht(this.message, t, this.offset())) {
3115
3115
  for (var r = 0; r < t.length; r++)
3116
3116
  this.bump();
3117
3117
  return !0;
@@ -3133,7 +3133,7 @@ var Ln = (
3133
3133
  break;
3134
3134
  }
3135
3135
  }, e.prototype.bumpSpace = function() {
3136
- for (; !this.isEOF() && Qt(this.char()); )
3136
+ for (; !this.isEOF() && Zt(this.char()); )
3137
3137
  this.bump();
3138
3138
  }, e.prototype.peek = function() {
3139
3139
  if (this.isEOF())
@@ -3143,47 +3143,47 @@ var Ln = (
3143
3143
  }, e;
3144
3144
  }()
3145
3145
  );
3146
- function Xe(e) {
3146
+ function ke(e) {
3147
3147
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3148
3148
  }
3149
- function Nn(e) {
3150
- return Xe(e) || e === 47;
3149
+ function Ln(e) {
3150
+ return ke(e) || e === 47;
3151
3151
  }
3152
- function In(e) {
3152
+ function Nn(e) {
3153
3153
  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;
3154
3154
  }
3155
- function Qt(e) {
3155
+ function Zt(e) {
3156
3156
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3157
3157
  }
3158
- function Mn(e) {
3158
+ function In(e) {
3159
3159
  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;
3160
3160
  }
3161
- function ze(e) {
3161
+ function Ve(e) {
3162
3162
  e.forEach(function(t) {
3163
- if (delete t.location, Dt(t) || Gt(t))
3163
+ if (delete t.location, Ut(t) || Dt(t))
3164
3164
  for (var r in t.options)
3165
- delete t.options[r].location, ze(t.options[r].value);
3165
+ delete t.options[r].location, Ve(t.options[r].value);
3166
3166
  else
3167
- $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Fe(t.style) ? delete t.style.location : Ft(t) && ze(t.children);
3167
+ Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && De(t.style) ? delete t.style.location : Gt(t) && Ve(t.children);
3168
3168
  });
3169
3169
  }
3170
- function $n(e, t) {
3171
- t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3172
- var r = new Ln(e, t).parse();
3170
+ function Mn(e, t) {
3171
+ t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3172
+ var r = new Cn(e, t).parse();
3173
3173
  if (r.err) {
3174
3174
  var n = SyntaxError(d[r.err.kind]);
3175
3175
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3176
3176
  }
3177
- return t != null && t.captureLocation || ze(r.val), r.val;
3177
+ return t != null && t.captureLocation || Ve(r.val), r.val;
3178
3178
  }
3179
- var z;
3179
+ var V;
3180
3180
  (function(e) {
3181
3181
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3182
- })(z || (z = {}));
3183
- var ve = (
3182
+ })(V || (V = {}));
3183
+ var Ee = (
3184
3184
  /** @class */
3185
3185
  function(e) {
3186
- xe(t, e);
3186
+ ye(t, e);
3187
3187
  function t(r, n, i) {
3188
3188
  var s = e.call(this, r) || this;
3189
3189
  return s.code = n, s.originalMessage = i, s;
@@ -3192,48 +3192,48 @@ var ve = (
3192
3192
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3193
3193
  }, t;
3194
3194
  }(Error)
3195
- ), mt = (
3195
+ ), ct = (
3196
3196
  /** @class */
3197
3197
  function(e) {
3198
- xe(t, e);
3198
+ ye(t, e);
3199
3199
  function t(r, n, i, s) {
3200
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, s) || this;
3200
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3201
3201
  }
3202
3202
  return t;
3203
- }(ve)
3204
- ), Rn = (
3203
+ }(Ee)
3204
+ ), $n = (
3205
3205
  /** @class */
3206
3206
  function(e) {
3207
- xe(t, e);
3207
+ ye(t, e);
3208
3208
  function t(r, n, i) {
3209
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3209
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3210
3210
  }
3211
3211
  return t;
3212
- }(ve)
3213
- ), Un = (
3212
+ }(Ee)
3213
+ ), Rn = (
3214
3214
  /** @class */
3215
3215
  function(e) {
3216
- xe(t, e);
3216
+ ye(t, e);
3217
3217
  function t(r, n) {
3218
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3218
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3219
3219
  }
3220
3220
  return t;
3221
- }(ve)
3221
+ }(Ee)
3222
3222
  ), x;
3223
3223
  (function(e) {
3224
3224
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3225
3225
  })(x || (x = {}));
3226
- function Dn(e) {
3226
+ function Un(e) {
3227
3227
  return e.length < 2 ? e : e.reduce(function(t, r) {
3228
3228
  var n = t[t.length - 1];
3229
3229
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3230
3230
  }, []);
3231
3231
  }
3232
- function Gn(e) {
3232
+ function Dn(e) {
3233
3233
  return typeof e == "function";
3234
3234
  }
3235
- function me(e, t, r, n, i, s, a) {
3236
- if (e.length === 1 && ot(e[0]))
3235
+ function fe(e, t, r, n, i, s, a) {
3236
+ if (e.length === 1 && st(e[0]))
3237
3237
  return [
3238
3238
  {
3239
3239
  type: x.literal,
@@ -3242,105 +3242,105 @@ function me(e, t, r, n, i, s, a) {
3242
3242
  ];
3243
3243
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3244
3244
  var h = u[l];
3245
- if (ot(h)) {
3245
+ if (st(h)) {
3246
3246
  o.push({
3247
3247
  type: x.literal,
3248
3248
  value: h.value
3249
3249
  });
3250
3250
  continue;
3251
3251
  }
3252
- if (un(h)) {
3252
+ if (an(h)) {
3253
3253
  typeof s == "number" && o.push({
3254
3254
  type: x.literal,
3255
3255
  value: r.getNumberFormat(t).format(s)
3256
3256
  });
3257
3257
  continue;
3258
3258
  }
3259
- var f = h.value;
3260
- if (!(i && f in i))
3261
- throw new Un(f, a);
3262
- var c = i[f];
3263
- if (an(h)) {
3264
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3265
- type: typeof c == "string" ? x.literal : x.object,
3266
- value: c
3259
+ var c = h.value;
3260
+ if (!(i && c in i))
3261
+ throw new Rn(c, a);
3262
+ var m = i[c];
3263
+ if (on(h)) {
3264
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3265
+ type: typeof m == "string" ? x.literal : x.object,
3266
+ value: m
3267
3267
  });
3268
3268
  continue;
3269
3269
  }
3270
- if (Rt(h)) {
3271
- var p = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3270
+ if ($t(h)) {
3271
+ var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3272
3272
  o.push({
3273
3273
  type: x.literal,
3274
- value: r.getDateTimeFormat(t, p).format(c)
3274
+ value: r.getDateTimeFormat(t, p).format(m)
3275
3275
  });
3276
3276
  continue;
3277
3277
  }
3278
- if (Ut(h)) {
3279
- var p = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3278
+ if (Rt(h)) {
3279
+ var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3280
3280
  o.push({
3281
3281
  type: x.literal,
3282
- value: r.getDateTimeFormat(t, p).format(c)
3282
+ value: r.getDateTimeFormat(t, p).format(m)
3283
3283
  });
3284
3284
  continue;
3285
3285
  }
3286
- if ($t(h)) {
3287
- var p = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
3288
- p && p.scale && (c = c * (p.scale || 1)), o.push({
3286
+ if (Mt(h)) {
3287
+ var p = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3288
+ p && p.scale && (m = m * (p.scale || 1)), o.push({
3289
3289
  type: x.literal,
3290
- value: r.getNumberFormat(t, p).format(c)
3290
+ value: r.getNumberFormat(t, p).format(m)
3291
3291
  });
3292
3292
  continue;
3293
3293
  }
3294
- if (Ft(h)) {
3295
- var m = h.children, g = h.value, v = i[g];
3296
- if (!Gn(v))
3297
- throw new Rn(g, "function", a);
3298
- var I = me(m, t, r, n, i, s), C = v(I.map(function(S) {
3299
- return S.value;
3294
+ if (Gt(h)) {
3295
+ var f = h.children, _ = h.value, v = i[_];
3296
+ if (!Dn(v))
3297
+ throw new $n(_, "function", a);
3298
+ var O = fe(f, t, r, n, i, s), P = v(O.map(function(A) {
3299
+ return A.value;
3300
3300
  }));
3301
- Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(S) {
3301
+ Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(A) {
3302
3302
  return {
3303
- type: typeof S == "string" ? x.literal : x.object,
3304
- value: S
3303
+ type: typeof A == "string" ? x.literal : x.object,
3304
+ value: A
3305
3305
  };
3306
3306
  }));
3307
3307
  }
3308
- if (Dt(h)) {
3309
- var H = h.options[c] || h.options.other;
3308
+ if (Ut(h)) {
3309
+ var H = h.options[m] || h.options.other;
3310
3310
  if (!H)
3311
- throw new mt(h.value, c, Object.keys(h.options), a);
3312
- o.push.apply(o, me(H.value, t, r, n, i));
3311
+ throw new ct(h.value, m, Object.keys(h.options), a);
3312
+ o.push.apply(o, fe(H.value, t, r, n, i));
3313
3313
  continue;
3314
3314
  }
3315
- if (Gt(h)) {
3316
- var H = h.options["=".concat(c)];
3315
+ if (Dt(h)) {
3316
+ var H = h.options["=".concat(m)];
3317
3317
  if (!H) {
3318
3318
  if (!Intl.PluralRules)
3319
- throw new ve(`Intl.PluralRules is not available in this environment.
3319
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3320
3320
  Try polyfilling it using "@formatjs/intl-pluralrules"
3321
- `, z.MISSING_INTL_API, a);
3322
- var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3323
- H = h.options[M] || h.options.other;
3321
+ `, V.MISSING_INTL_API, a);
3322
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3323
+ H = h.options[I] || h.options.other;
3324
3324
  }
3325
3325
  if (!H)
3326
- throw new mt(h.value, c, Object.keys(h.options), a);
3327
- o.push.apply(o, me(H.value, t, r, n, i, c - (h.offset || 0)));
3326
+ throw new ct(h.value, m, Object.keys(h.options), a);
3327
+ o.push.apply(o, fe(H.value, t, r, n, i, m - (h.offset || 0)));
3328
3328
  continue;
3329
3329
  }
3330
3330
  }
3331
- return Dn(o);
3331
+ return Un(o);
3332
3332
  }
3333
- function Fn(e, t) {
3334
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3335
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3333
+ function Gn(e, t) {
3334
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3335
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3336
3336
  }, {})) : e;
3337
3337
  }
3338
- function jn(e, t) {
3338
+ function Fn(e, t) {
3339
3339
  return t ? Object.keys(e).reduce(function(r, n) {
3340
- return r[n] = Fn(e[n], t[n]), r;
3341
- }, w({}, e)) : e;
3340
+ return r[n] = Gn(e[n], t[n]), r;
3341
+ }, S({}, e)) : e;
3342
3342
  }
3343
- function Me(e) {
3343
+ function Ne(e) {
3344
3344
  return {
3345
3345
  create: function() {
3346
3346
  return {
@@ -3354,39 +3354,39 @@ function Me(e) {
3354
3354
  }
3355
3355
  };
3356
3356
  }
3357
- function kn(e) {
3357
+ function jn(e) {
3358
3358
  return e === void 0 && (e = {
3359
3359
  number: {},
3360
3360
  dateTime: {},
3361
3361
  pluralRules: {}
3362
3362
  }), {
3363
- getNumberFormat: Le(function() {
3363
+ getNumberFormat: Pe(function() {
3364
3364
  for (var t, r = [], n = 0; n < arguments.length; n++)
3365
3365
  r[n] = arguments[n];
3366
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3366
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3367
3367
  }, {
3368
- cache: Me(e.number),
3369
- strategy: Ne.variadic
3368
+ cache: Ne(e.number),
3369
+ strategy: Ce.variadic
3370
3370
  }),
3371
- getDateTimeFormat: Le(function() {
3371
+ getDateTimeFormat: Pe(function() {
3372
3372
  for (var t, r = [], n = 0; n < arguments.length; n++)
3373
3373
  r[n] = arguments[n];
3374
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3374
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3375
3375
  }, {
3376
- cache: Me(e.dateTime),
3377
- strategy: Ne.variadic
3376
+ cache: Ne(e.dateTime),
3377
+ strategy: Ce.variadic
3378
3378
  }),
3379
- getPluralRules: Le(function() {
3379
+ getPluralRules: Pe(function() {
3380
3380
  for (var t, r = [], n = 0; n < arguments.length; n++)
3381
3381
  r[n] = arguments[n];
3382
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3382
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3383
3383
  }, {
3384
- cache: Me(e.pluralRules),
3385
- strategy: Ne.variadic
3384
+ cache: Ne(e.pluralRules),
3385
+ strategy: Ce.variadic
3386
3386
  })
3387
3387
  };
3388
3388
  }
3389
- var qt = (
3389
+ var Qt = (
3390
3390
  /** @class */
3391
3391
  function() {
3392
3392
  function e(t, r, n, i) {
@@ -3400,12 +3400,12 @@ var qt = (
3400
3400
  var u = s.formatToParts(l);
3401
3401
  if (u.length === 1)
3402
3402
  return u[0].value;
3403
- var h = u.reduce(function(f, c) {
3404
- return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3403
+ var h = u.reduce(function(c, m) {
3404
+ return !c.length || m.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3405
3405
  }, []);
3406
3406
  return h.length <= 1 ? h[0] || "" : h;
3407
3407
  }, this.formatToParts = function(l) {
3408
- return me(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3408
+ return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3409
3409
  }, this.resolvedOptions = function() {
3410
3410
  var l;
3411
3411
  return {
@@ -3418,13 +3418,13 @@ var qt = (
3418
3418
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3419
3419
  var a = i || {};
3420
3420
  a.formatters;
3421
- var o = Yr(a, ["formatters"]);
3422
- this.ast = e.__parse(t, w(w({}, o), { locale: this.resolvedLocale }));
3421
+ var o = Jr(a, ["formatters"]);
3422
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3423
3423
  } else
3424
3424
  this.ast = t;
3425
3425
  if (!Array.isArray(this.ast))
3426
3426
  throw new TypeError("A message must be provided as a String or AST.");
3427
- this.formats = jn(e.formats, n), this.formatters = i && i.formatters || kn(this.formatterCache);
3427
+ this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3428
3428
  }
3429
3429
  return Object.defineProperty(e, "defaultLocale", {
3430
3430
  get: function() {
@@ -3437,7 +3437,7 @@ var qt = (
3437
3437
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3438
3438
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3439
3439
  }
3440
- }, e.__parse = $n, e.formats = {
3440
+ }, e.__parse = Mn, e.formats = {
3441
3441
  number: {
3442
3442
  integer: {
3443
3443
  maximumFractionDigits: 0
@@ -3498,7 +3498,7 @@ var qt = (
3498
3498
  }, e;
3499
3499
  }()
3500
3500
  );
3501
- function Vn(e, t) {
3501
+ function kn(e, t) {
3502
3502
  if (t == null)
3503
3503
  return;
3504
3504
  if (t in e)
@@ -3519,101 +3519,101 @@ function Vn(e, t) {
3519
3519
  n = void 0;
3520
3520
  return n;
3521
3521
  }
3522
- const P = {}, Xn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Jt = (e, t) => {
3522
+ const C = {}, Vn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), qt = (e, t) => {
3523
3523
  if (t == null)
3524
3524
  return;
3525
- if (t in P && e in P[t])
3526
- return P[t][e];
3527
- const r = oe(t);
3525
+ if (t in C && e in C[t])
3526
+ return C[t][e];
3527
+ const r = ie(t);
3528
3528
  for (let n = 0; n < r.length; n++) {
3529
- const i = r[n], s = Wn(i, e);
3529
+ const i = r[n], s = zn(i, e);
3530
3530
  if (s)
3531
- return Xn(e, t, s);
3531
+ return Vn(e, t, s);
3532
3532
  }
3533
3533
  };
3534
- let qe;
3535
- const se = Ee({});
3536
- function zn(e) {
3537
- return qe[e] || null;
3534
+ let Ze;
3535
+ const ne = _e({});
3536
+ function Xn(e) {
3537
+ return Ze[e] || null;
3538
3538
  }
3539
- function Yt(e) {
3540
- return e in qe;
3539
+ function Jt(e) {
3540
+ return e in Ze;
3541
3541
  }
3542
- function Wn(e, t) {
3543
- if (!Yt(e))
3542
+ function zn(e, t) {
3543
+ if (!Jt(e))
3544
3544
  return null;
3545
- const r = zn(e);
3546
- return Vn(r, t);
3545
+ const r = Xn(e);
3546
+ return kn(r, t);
3547
3547
  }
3548
- function Zn(e) {
3548
+ function Wn(e) {
3549
3549
  if (e == null)
3550
3550
  return;
3551
- const t = oe(e);
3551
+ const t = ie(e);
3552
3552
  for (let r = 0; r < t.length; r++) {
3553
3553
  const n = t[r];
3554
- if (Yt(n))
3554
+ if (Jt(n))
3555
3555
  return n;
3556
3556
  }
3557
3557
  }
3558
- function Kt(e, ...t) {
3559
- delete P[e], se.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3558
+ function Yt(e, ...t) {
3559
+ delete C[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3560
3560
  }
3561
- q(
3562
- [se],
3561
+ Z(
3562
+ [ne],
3563
3563
  ([e]) => Object.keys(e)
3564
3564
  );
3565
- se.subscribe((e) => qe = e);
3566
- const pe = {};
3567
- function Qn(e, t) {
3568
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3565
+ ne.subscribe((e) => Ze = e);
3566
+ const ce = {};
3567
+ function Zn(e, t) {
3568
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3569
3569
  }
3570
- function er(e) {
3571
- return pe[e];
3570
+ function Kt(e) {
3571
+ return ce[e];
3572
3572
  }
3573
- function qn(e) {
3574
- return oe(e).map((t) => {
3575
- const r = er(t);
3573
+ function Qn(e) {
3574
+ return ie(e).map((t) => {
3575
+ const r = Kt(t);
3576
3576
  return [t, r ? [...r] : []];
3577
3577
  }).filter(([, t]) => t.length > 0);
3578
3578
  }
3579
- function ge(e) {
3580
- return e == null ? !1 : oe(e).some(
3579
+ function de(e) {
3580
+ return e == null ? !1 : ie(e).some(
3581
3581
  (t) => {
3582
3582
  var r;
3583
- return (r = er(t)) == null ? void 0 : r.size;
3583
+ return (r = Kt(t)) == null ? void 0 : r.size;
3584
3584
  }
3585
3585
  );
3586
3586
  }
3587
- function Jn(e, t) {
3587
+ function qn(e, t) {
3588
3588
  return Promise.all(
3589
- t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3590
- ).then((n) => Kt(e, ...n));
3591
- }
3592
- const Y = {};
3593
- function tr(e) {
3594
- if (!ge(e))
3595
- return e in Y ? Y[e] : Promise.resolve();
3596
- const t = qn(e);
3597
- return Y[e] = Promise.all(
3589
+ t.map((n) => (Zn(e, n), n().then((i) => i.default || i)))
3590
+ ).then((n) => Yt(e, ...n));
3591
+ }
3592
+ const q = {};
3593
+ function er(e) {
3594
+ if (!de(e))
3595
+ return e in q ? q[e] : Promise.resolve();
3596
+ const t = Qn(e);
3597
+ return q[e] = Promise.all(
3598
3598
  t.map(
3599
- ([r, n]) => Jn(r, n)
3599
+ ([r, n]) => qn(r, n)
3600
3600
  )
3601
3601
  ).then(() => {
3602
- if (ge(e))
3603
- return tr(e);
3604
- delete Y[e];
3605
- }), Y[e];
3602
+ if (de(e))
3603
+ return er(e);
3604
+ delete q[e];
3605
+ }), q[e];
3606
3606
  }
3607
- var pt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, ei = (e, t) => {
3607
+ var mt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3608
3608
  var r = {};
3609
3609
  for (var n in e)
3610
- Yn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3611
- if (e != null && pt)
3612
- for (var n of pt(e))
3613
- t.indexOf(n) < 0 && Kn.call(e, n) && (r[n] = e[n]);
3610
+ Jn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3611
+ if (e != null && mt)
3612
+ for (var n of mt(e))
3613
+ t.indexOf(n) < 0 && Yn.call(e, n) && (r[n] = e[n]);
3614
3614
  return r;
3615
3615
  };
3616
- const ti = {
3616
+ const ei = {
3617
3617
  number: {
3618
3618
  scientific: { notation: "scientific" },
3619
3619
  engineering: { notation: "engineering" },
@@ -3643,159 +3643,159 @@ const ti = {
3643
3643
  }
3644
3644
  }
3645
3645
  };
3646
- function ri({ locale: e, id: t }) {
3646
+ function ti({ locale: e, id: t }) {
3647
3647
  console.warn(
3648
- `[svelte-i18n] The message "${t}" was not found in "${oe(
3648
+ `[svelte-i18n] The message "${t}" was not found in "${ie(
3649
3649
  e
3650
- ).join('", "')}".${ge(N()) ? `
3650
+ ).join('", "')}".${de(N()) ? `
3651
3651
 
3652
3652
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3653
3653
  );
3654
3654
  }
3655
- const ni = {
3655
+ const ri = {
3656
3656
  fallbackLocale: null,
3657
3657
  loadingDelay: 200,
3658
- formats: ti,
3658
+ formats: ei,
3659
3659
  warnOnMissingMessages: !0,
3660
3660
  handleMissingMessage: void 0,
3661
3661
  ignoreTag: !0
3662
- }, K = ni;
3663
- function W() {
3664
- return K;
3662
+ }, J = ri;
3663
+ function X() {
3664
+ return J;
3665
3665
  }
3666
- function ii(e) {
3667
- const t = e, { formats: r } = t, n = ei(t, ["formats"]);
3666
+ function ni(e) {
3667
+ const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3668
3668
  let i = e.fallbackLocale;
3669
3669
  if (e.initialLocale)
3670
3670
  try {
3671
- qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3671
+ Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3672
3672
  } catch (s) {
3673
3673
  console.warn(
3674
3674
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3675
3675
  );
3676
3676
  }
3677
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ri : console.warn(
3677
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
3678
3678
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3679
- )), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), R.set(i);
3679
+ )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), $.set(i);
3680
3680
  }
3681
- const $e = Ee(!1);
3682
- var si = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
3681
+ const Ie = _e(!1);
3682
+ var ii = Object.defineProperty, si = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3683
3683
  for (var r in t || (t = {}))
3684
- ui.call(t, r) && bt(e, r, t[r]);
3685
- if (dt)
3686
- for (var r of dt(t))
3687
- hi.call(t, r) && bt(e, r, t[r]);
3684
+ ai.call(t, r) && dt(e, r, t[r]);
3685
+ if (pt)
3686
+ for (var r of pt(t))
3687
+ ui.call(t, r) && dt(e, r, t[r]);
3688
3688
  return e;
3689
- }, fi = (e, t) => oi(e, ai(t));
3690
- let We;
3691
- const _e = Ee(null);
3692
- function gt(e) {
3689
+ }, li = (e, t) => si(e, oi(t));
3690
+ let Xe;
3691
+ const be = _e(null);
3692
+ function bt(e) {
3693
3693
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3694
3694
  }
3695
- function oe(e, t = W().fallbackLocale) {
3696
- const r = gt(e);
3697
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3695
+ function ie(e, t = X().fallbackLocale) {
3696
+ const r = bt(e);
3697
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3698
3698
  }
3699
3699
  function N() {
3700
- return We != null ? We : void 0;
3700
+ return Xe != null ? Xe : void 0;
3701
3701
  }
3702
- _e.subscribe((e) => {
3703
- We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3702
+ be.subscribe((e) => {
3703
+ Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3704
3704
  });
3705
- const ci = (e) => {
3706
- if (e && Zn(e) && ge(e)) {
3707
- const { loadingDelay: t } = W();
3705
+ const fi = (e) => {
3706
+ if (e && Wn(e) && de(e)) {
3707
+ const { loadingDelay: t } = X();
3708
3708
  let r;
3709
3709
  return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3710
- () => $e.set(!0),
3710
+ () => Ie.set(!0),
3711
3711
  t
3712
- ) : $e.set(!0), tr(e).then(() => {
3713
- _e.set(e);
3712
+ ) : Ie.set(!0), er(e).then(() => {
3713
+ be.set(e);
3714
3714
  }).finally(() => {
3715
- clearTimeout(r), $e.set(!1);
3715
+ clearTimeout(r), Ie.set(!1);
3716
3716
  });
3717
3717
  }
3718
- return _e.set(e);
3719
- }, R = fi(li({}, _e), {
3720
- set: ci
3721
- }), He = (e) => {
3718
+ return be.set(e);
3719
+ }, $ = li(hi({}, be), {
3720
+ set: fi
3721
+ }), xe = (e) => {
3722
3722
  const t = /* @__PURE__ */ Object.create(null);
3723
3723
  return (n) => {
3724
3724
  const i = JSON.stringify(n);
3725
3725
  return i in t ? t[i] : t[i] = e(n);
3726
3726
  };
3727
3727
  };
3728
- var mi = Object.defineProperty, ye = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3728
+ var ci = Object.defineProperty, ge = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3729
3729
  for (var r in t || (t = {}))
3730
- rr.call(t, r) && _t(e, r, t[r]);
3731
- if (ye)
3732
- for (var r of ye(t))
3733
- nr.call(t, r) && _t(e, r, t[r]);
3730
+ tr.call(t, r) && gt(e, r, t[r]);
3731
+ if (ge)
3732
+ for (var r of ge(t))
3733
+ rr.call(t, r) && gt(e, r, t[r]);
3734
3734
  return e;
3735
- }, J = (e, t) => {
3735
+ }, Q = (e, t) => {
3736
3736
  var r = {};
3737
3737
  for (var n in e)
3738
- rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3739
- if (e != null && ye)
3740
- for (var n of ye(e))
3741
- t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3738
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3739
+ if (e != null && ge)
3740
+ for (var n of ge(e))
3741
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3742
3742
  return r;
3743
3743
  };
3744
- const ne = (e, t) => {
3745
- const { formats: r } = W();
3744
+ const te = (e, t) => {
3745
+ const { formats: r } = X();
3746
3746
  if (e in r && t in r[e])
3747
3747
  return r[e][t];
3748
3748
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3749
- }, pi = He(
3749
+ }, mi = xe(
3750
3750
  (e) => {
3751
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3751
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3752
3752
  if (r == null)
3753
3753
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3754
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
3754
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3755
3755
  }
3756
- ), di = He(
3756
+ ), pi = xe(
3757
3757
  (e) => {
3758
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3758
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3759
3759
  if (r == null)
3760
3760
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3761
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
3761
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3762
3762
  }
3763
- ), bi = He(
3763
+ ), di = xe(
3764
3764
  (e) => {
3765
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3765
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3766
3766
  if (r == null)
3767
3767
  throw new Error(
3768
3768
  '[svelte-i18n] A "locale" must be set to format time values'
3769
3769
  );
3770
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
3770
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3771
3771
  }
3772
- ), gi = (e = {}) => {
3772
+ ), bi = (e = {}) => {
3773
3773
  var t = e, {
3774
3774
  locale: r = N()
3775
- } = t, n = J(t, [
3775
+ } = t, n = Q(t, [
3776
3776
  "locale"
3777
3777
  ]);
3778
- return pi(Je({ locale: r }, n));
3779
- }, _i = (e = {}) => {
3778
+ return mi(Qe({ locale: r }, n));
3779
+ }, gi = (e = {}) => {
3780
3780
  var t = e, {
3781
3781
  locale: r = N()
3782
- } = t, n = J(t, [
3782
+ } = t, n = Q(t, [
3783
3783
  "locale"
3784
3784
  ]);
3785
- return di(Je({ locale: r }, n));
3786
- }, yi = (e = {}) => {
3785
+ return pi(Qe({ locale: r }, n));
3786
+ }, _i = (e = {}) => {
3787
3787
  var t = e, {
3788
3788
  locale: r = N()
3789
- } = t, n = J(t, [
3789
+ } = t, n = Q(t, [
3790
3790
  "locale"
3791
3791
  ]);
3792
- return bi(Je({ locale: r }, n));
3793
- }, Ei = He(
3792
+ return di(Qe({ locale: r }, n));
3793
+ }, yi = xe(
3794
3794
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3795
- (e, t = N()) => new qt(e, t, W().formats, {
3796
- ignoreTag: W().ignoreTag
3795
+ (e, t = N()) => new Qt(e, t, X().formats, {
3796
+ ignoreTag: X().ignoreTag
3797
3797
  })
3798
- ), xi = (e, t = {}) => {
3798
+ ), Ei = (e, t = {}) => {
3799
3799
  var r, n, i, s;
3800
3800
  let a = t;
3801
3801
  typeof e == "object" && (a = e, e = a.id);
@@ -3808,39 +3808,62 @@ const ne = (e, t) => {
3808
3808
  throw new Error(
3809
3809
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3810
3810
  );
3811
- let h = Jt(e, l);
3811
+ let h = qt(e, l);
3812
3812
  if (!h)
3813
- h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3813
+ h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3814
3814
  else if (typeof h != "string")
3815
3815
  return console.warn(
3816
3816
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3817
3817
  ), h;
3818
3818
  if (!o)
3819
3819
  return h;
3820
- let f = h;
3820
+ let c = h;
3821
3821
  try {
3822
- f = Ei(h, l).format(o);
3823
- } catch (c) {
3824
- c instanceof Error && console.warn(
3822
+ c = yi(h, l).format(o);
3823
+ } catch (m) {
3824
+ m instanceof Error && console.warn(
3825
3825
  `[svelte-i18n] Message "${e}" has syntax error:`,
3826
- c.message
3826
+ m.message
3827
3827
  );
3828
3828
  }
3829
- return f;
3830
- }, vi = (e, t) => yi(t).format(e), Hi = (e, t) => _i(t).format(e), Bi = (e, t) => gi(t).format(e), Ti = (e, t = N()) => Jt(e, t), wi = q([R, se], () => xi);
3831
- q([R], () => vi);
3832
- q([R], () => Hi);
3833
- q([R], () => Bi);
3834
- q([R, se], () => Ti);
3835
- function yt(e, t) {
3836
- Kt(e, t);
3837
- }
3838
- function Si(e) {
3839
- ii({
3829
+ return c;
3830
+ }, xi = (e, t) => _i(t).format(e), vi = (e, t) => gi(t).format(e), Hi = (e, t) => bi(t).format(e), Bi = (e, t = N()) => qt(e, t), Ti = Z([$, ne], () => Ei);
3831
+ Z([$], () => xi);
3832
+ Z([$], () => vi);
3833
+ Z([$], () => Hi);
3834
+ Z([$, ne], () => Bi);
3835
+ function wi(e, t) {
3836
+ if (e) {
3837
+ const r = document.createElement("style");
3838
+ r.innerHTML = t, e.appendChild(r);
3839
+ }
3840
+ }
3841
+ function Si(e, t) {
3842
+ const r = new URL(t);
3843
+ fetch(r.href).then((n) => n.text()).then((n) => {
3844
+ const i = document.createElement("style");
3845
+ i.innerHTML = n, e && e.appendChild(i);
3846
+ }).catch((n) => {
3847
+ console.error("There was an error while trying to load client styling from URL", n);
3848
+ });
3849
+ }
3850
+ function Ai(e, t, r) {
3851
+ if (window.emMessageBus) {
3852
+ const n = document.createElement("style");
3853
+ window.emMessageBus.subscribe(t, (i) => {
3854
+ n.innerHTML = i, e && e.appendChild(n);
3855
+ });
3856
+ }
3857
+ }
3858
+ function _t(e, t) {
3859
+ Yt(e, t);
3860
+ }
3861
+ function Oi(e) {
3862
+ ni({
3840
3863
  fallbackLocale: "en"
3841
- }), R.set(e);
3864
+ }), $.set(e);
3842
3865
  }
3843
- const Et = {
3866
+ const yt = {
3844
3867
  en: {
3845
3868
  header: {
3846
3869
  general: "Cashier",
@@ -3863,18 +3886,18 @@ const Et = {
3863
3886
  }
3864
3887
  }
3865
3888
  };
3866
- function Ai(e) {
3867
- br(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3889
+ function Pi(e) {
3890
+ pr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3868
3891
  }
3869
- const Oi = (e) => ({}), xt = (e) => ({}), Ci = (e) => ({}), vt = (e) => ({}), Pi = (e) => ({}), Ht = (e) => ({});
3870
- function Bt(e) {
3892
+ const Ci = (e) => ({}), Et = (e) => ({}), Li = (e) => ({}), xt = (e) => ({}), Ni = (e) => ({}), vt = (e) => ({});
3893
+ function Ht(e) {
3871
3894
  let t, r, n;
3872
3895
  return {
3873
3896
  c() {
3874
- t = Z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Q(t, "class", "CashierHeaderLeftButton");
3897
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderLeftButton");
3875
3898
  },
3876
3899
  m(i, s) {
3877
- $(i, t, s), r || (n = Pt(
3900
+ M(i, t, s), r || (n = Pt(
3878
3901
  t,
3879
3902
  "click",
3880
3903
  /*back*/
@@ -3887,28 +3910,28 @@ function Bt(e) {
3887
3910
  }
3888
3911
  };
3889
3912
  }
3890
- function Li(e) {
3913
+ function Ii(e) {
3891
3914
  let t, r = (
3892
3915
  /*backButton*/
3893
- e[1] && Bt(e)
3916
+ e[1] && Ht(e)
3894
3917
  );
3895
3918
  return {
3896
3919
  c() {
3897
- r && r.c(), t = Ct();
3920
+ r && r.c(), t = Ot();
3898
3921
  },
3899
3922
  m(n, i) {
3900
- r && r.m(n, i), $(n, t, i);
3923
+ r && r.m(n, i), M(n, t, i);
3901
3924
  },
3902
3925
  p(n, i) {
3903
3926
  /*backButton*/
3904
- n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3927
+ n[1] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3905
3928
  },
3906
3929
  d(n) {
3907
3930
  n && L(t), r && r.d(n);
3908
3931
  }
3909
3932
  };
3910
3933
  }
3911
- function Ni(e) {
3934
+ function Mi(e) {
3912
3935
  let t, r = (
3913
3936
  /*$_*/
3914
3937
  e[4](
@@ -3918,10 +3941,10 @@ function Ni(e) {
3918
3941
  ), n;
3919
3942
  return {
3920
3943
  c() {
3921
- t = Z("span"), n = Qe(r), Q(t, "class", "CashierHeaderTitle");
3944
+ t = z("span"), n = We(r), W(t, "class", "CashierHeaderTitle");
3922
3945
  },
3923
3946
  m(i, s) {
3924
- $(i, t, s), de(t, n);
3947
+ M(i, t, s), me(t, n);
3925
3948
  },
3926
3949
  p(i, s) {
3927
3950
  s & /*$_, titleText*/
@@ -3929,21 +3952,21 @@ function Ni(e) {
3929
3952
  i[4](
3930
3953
  /*titleText*/
3931
3954
  i[2]
3932
- ) + "") && Er(n, r);
3955
+ ) + "") && _r(n, r);
3933
3956
  },
3934
3957
  d(i) {
3935
3958
  i && L(t);
3936
3959
  }
3937
3960
  };
3938
3961
  }
3939
- function Tt(e) {
3962
+ function Bt(e) {
3940
3963
  let t, r, n;
3941
3964
  return {
3942
3965
  c() {
3943
- t = Z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', Q(t, "class", "CashierHeaderRightButton");
3966
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderRightButton");
3944
3967
  },
3945
3968
  m(i, s) {
3946
- $(i, t, s), r || (n = Pt(
3969
+ M(i, t, s), r || (n = Pt(
3947
3970
  t,
3948
3971
  "click",
3949
3972
  /*close*/
@@ -3956,222 +3979,212 @@ function Tt(e) {
3956
3979
  }
3957
3980
  };
3958
3981
  }
3959
- function Ii(e) {
3982
+ function $i(e) {
3960
3983
  let t, r = (
3961
3984
  /*closeButton*/
3962
- e[3] && Tt(e)
3985
+ e[3] && Bt(e)
3963
3986
  );
3964
3987
  return {
3965
3988
  c() {
3966
- r && r.c(), t = Ct();
3989
+ r && r.c(), t = Ot();
3967
3990
  },
3968
3991
  m(n, i) {
3969
- r && r.m(n, i), $(n, t, i);
3992
+ r && r.m(n, i), M(n, t, i);
3970
3993
  },
3971
3994
  p(n, i) {
3972
3995
  /*closeButton*/
3973
- n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3996
+ n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3974
3997
  },
3975
3998
  d(n) {
3976
3999
  n && L(t), r && r.d(n);
3977
4000
  }
3978
4001
  };
3979
4002
  }
3980
- function Mi(e) {
4003
+ function Ri(e) {
3981
4004
  let t, r, n, i;
3982
4005
  const s = (
3983
4006
  /*#slots*/
3984
- e[15].leftButton
3985
- ), a = Te(
4007
+ e[16].leftButton
4008
+ ), a = He(
3986
4009
  s,
3987
4010
  e,
3988
4011
  /*$$scope*/
3989
- e[14],
3990
- Ht
3991
- ), o = a || Li(e), l = (
4012
+ e[15],
4013
+ vt
4014
+ ), o = a || Ii(e), l = (
3992
4015
  /*#slots*/
3993
- e[15].title
3994
- ), u = Te(
4016
+ e[16].title
4017
+ ), u = He(
3995
4018
  l,
3996
4019
  e,
3997
4020
  /*$$scope*/
3998
- e[14],
3999
- vt
4000
- ), h = u || Ni(e), f = (
4021
+ e[15],
4022
+ xt
4023
+ ), h = u || Mi(e), c = (
4001
4024
  /*#slots*/
4002
- e[15].rightButton
4003
- ), c = Te(
4004
- f,
4025
+ e[16].rightButton
4026
+ ), m = He(
4027
+ c,
4005
4028
  e,
4006
4029
  /*$$scope*/
4007
- e[14],
4008
- xt
4009
- ), p = c || Ii(e);
4030
+ e[15],
4031
+ Et
4032
+ ), p = m || $i(e);
4010
4033
  return {
4011
4034
  c() {
4012
- t = Z("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Q(t, "class", "CashierHeader");
4035
+ t = z("div"), o && o.c(), r = rt(), h && h.c(), n = rt(), p && p.c(), W(t, "class", "CashierHeader");
4013
4036
  },
4014
- m(m, g) {
4015
- $(m, t, g), o && o.m(t, null), de(t, r), h && h.m(t, null), de(t, n), p && p.m(t, null), e[16](t), i = !0;
4037
+ m(f, _) {
4038
+ M(f, t, _), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[17](t), i = !0;
4016
4039
  },
4017
- p(m, [g]) {
4018
- a ? a.p && (!i || g & /*$$scope*/
4019
- 16384) && Se(
4040
+ p(f, [_]) {
4041
+ a ? a.p && (!i || _ & /*$$scope*/
4042
+ 32768) && Te(
4020
4043
  a,
4021
4044
  s,
4022
- m,
4045
+ f,
4023
4046
  /*$$scope*/
4024
- m[14],
4025
- i ? we(
4047
+ f[15],
4048
+ i ? Be(
4026
4049
  s,
4027
4050
  /*$$scope*/
4028
- m[14],
4029
- g,
4030
- Pi
4031
- ) : Ae(
4051
+ f[15],
4052
+ _,
4053
+ Ni
4054
+ ) : we(
4032
4055
  /*$$scope*/
4033
- m[14]
4056
+ f[15]
4034
4057
  ),
4035
- Ht
4036
- ) : o && o.p && (!i || g & /*backButton*/
4037
- 2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
4038
- 16384) && Se(
4058
+ vt
4059
+ ) : o && o.p && (!i || _ & /*backButton*/
4060
+ 2) && o.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4061
+ 32768) && Te(
4039
4062
  u,
4040
4063
  l,
4041
- m,
4064
+ f,
4042
4065
  /*$$scope*/
4043
- m[14],
4044
- i ? we(
4066
+ f[15],
4067
+ i ? Be(
4045
4068
  l,
4046
4069
  /*$$scope*/
4047
- m[14],
4048
- g,
4049
- Ci
4050
- ) : Ae(
4070
+ f[15],
4071
+ _,
4072
+ Li
4073
+ ) : we(
4051
4074
  /*$$scope*/
4052
- m[14]
4075
+ f[15]
4053
4076
  ),
4054
- vt
4055
- ) : h && h.p && (!i || g & /*$_, titleText*/
4056
- 20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4057
- 16384) && Se(
4077
+ xt
4078
+ ) : h && h.p && (!i || _ & /*$_, titleText*/
4079
+ 20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
4080
+ 32768) && Te(
4081
+ m,
4058
4082
  c,
4059
4083
  f,
4060
- m,
4061
4084
  /*$$scope*/
4062
- m[14],
4063
- i ? we(
4064
- f,
4085
+ f[15],
4086
+ i ? Be(
4087
+ c,
4065
4088
  /*$$scope*/
4066
- m[14],
4067
- g,
4068
- Oi
4069
- ) : Ae(
4089
+ f[15],
4090
+ _,
4091
+ Ci
4092
+ ) : we(
4070
4093
  /*$$scope*/
4071
- m[14]
4094
+ f[15]
4072
4095
  ),
4073
- xt
4074
- ) : p && p.p && (!i || g & /*closeButton*/
4075
- 8) && p.p(m, i ? g : -1);
4096
+ Et
4097
+ ) : p && p.p && (!i || _ & /*closeButton*/
4098
+ 8) && p.p(f, i ? _ : -1);
4076
4099
  },
4077
- i(m) {
4078
- i || (fe(o, m), fe(h, m), fe(p, m), i = !0);
4100
+ i(f) {
4101
+ i || (he(o, f), he(h, f), he(p, f), i = !0);
4079
4102
  },
4080
- o(m) {
4081
- Ce(o, m), Ce(h, m), Ce(p, m), i = !1;
4103
+ o(f) {
4104
+ Ae(o, f), Ae(h, f), Ae(p, f), i = !1;
4082
4105
  },
4083
- d(m) {
4084
- m && L(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4106
+ d(f) {
4107
+ f && L(t), o && o.d(f), h && h.d(f), p && p.d(f), e[17](null);
4085
4108
  }
4086
4109
  };
4087
4110
  }
4088
- function $i(e, t, r) {
4111
+ function Ui(e, t, r) {
4089
4112
  let n;
4090
- dr(e, wi, (_) => r(4, n = _));
4091
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4092
- const I = () => {
4093
- let _ = l;
4094
- _ && fetch(_).then((A) => A.json()).then((A) => {
4095
- Object.keys(A).forEach((D) => {
4096
- yt(D, A[D]);
4113
+ mr(e, Ti, (g) => r(4, n = g));
4114
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, f, _ = !1, v, O = !1;
4115
+ const P = () => {
4116
+ fetch(l).then((g) => g.json()).then((g) => {
4117
+ Object.keys(g).forEach((qe) => {
4118
+ _t(qe, g[qe]);
4097
4119
  });
4098
- }).catch((A) => {
4099
- console.log(A);
4120
+ }).catch((g) => {
4121
+ console.log(g);
4100
4122
  });
4101
4123
  };
4102
- Object.keys(Et).forEach((_) => {
4103
- yt(_, Et[_]);
4124
+ Object.keys(yt).forEach((g) => {
4125
+ _t(g, yt[g]);
4104
4126
  });
4105
- const C = () => {
4106
- let _ = document.createElement("style");
4107
- _.innerHTML = a, p.appendChild(_);
4108
- }, H = () => {
4109
- let _ = new URL(o), A = document.createElement("style");
4110
- fetch(_.href).then((D) => D.text()).then((D) => {
4111
- A.innerHTML = D, setTimeout(
4112
- () => {
4113
- p.appendChild(A);
4114
- },
4115
- 1
4116
- );
4117
- });
4118
- }, M = () => {
4119
- Si(f);
4120
- }, S = () => {
4127
+ const H = () => {
4128
+ Oi(c);
4129
+ }, I = () => {
4121
4130
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4122
- }, U = () => {
4131
+ }, A = () => {
4123
4132
  window.postMessage({ type: "BackCashier" }, window.location.href);
4124
- }, ae = () => {
4125
- r(1, m = !!u && u !== "false");
4126
- }, sr = () => {
4127
- r(3, v = !!c && c !== "false");
4128
- }, or = () => {
4129
- r(2, g = h || "header.general");
4133
+ }, R = () => {
4134
+ r(1, _ = !!u && u !== "false");
4135
+ }, se = () => {
4136
+ r(3, O = !!m && m !== "false");
4137
+ }, ir = () => {
4138
+ r(2, v = h || "header.general");
4130
4139
  };
4131
- function ar(_) {
4132
- Re[_ ? "unshift" : "push"](() => {
4133
- p = _, r(0, p);
4140
+ xr(() => () => {
4141
+ });
4142
+ function sr(g) {
4143
+ Me[g ? "unshift" : "push"](() => {
4144
+ f = g, r(0, f);
4134
4145
  });
4135
4146
  }
4136
- return e.$$set = (_) => {
4137
- "clientstyling" in _ && r(7, a = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, u = _.showbackbutton), "title" in _ && r(11, h = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4147
+ return e.$$set = (g) => {
4148
+ "clientstyling" in g && r(7, a = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4138
4149
  }, e.$$.update = () => {
4139
4150
  e.$$.dirty & /*lang*/
4140
- 4096 && f && M(), e.$$.dirty & /*lang, title*/
4141
- 6144 && f && h && or(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4142
- 129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4143
- 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4144
- 4608 && f && l && I(), e.$$.dirty & /*showbackbutton*/
4145
- 1024 && u && ae(), e.$$.dirty & /*showclosebutton*/
4146
- 8192 && c && sr();
4151
+ 4096 && c && H(), e.$$.dirty & /*lang, title*/
4152
+ 6144 && c && h && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4153
+ 129 && a && f && wi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4154
+ 257 && o && f && Si(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4155
+ 16385 && p && f && Ai(f, `${p}.Style`), e.$$.dirty & /*lang, translationurl*/
4156
+ 4608 && c && l && P(), e.$$.dirty & /*showbackbutton*/
4157
+ 1024 && u && R(), e.$$.dirty & /*showclosebutton*/
4158
+ 8192 && m && se();
4147
4159
  }, [
4148
- p,
4149
- m,
4150
- g,
4160
+ f,
4161
+ _,
4151
4162
  v,
4163
+ O,
4152
4164
  n,
4153
- S,
4154
- U,
4165
+ I,
4166
+ A,
4155
4167
  a,
4156
4168
  o,
4157
4169
  l,
4158
4170
  u,
4159
4171
  h,
4160
- f,
4161
4172
  c,
4173
+ m,
4174
+ p,
4162
4175
  s,
4163
4176
  i,
4164
- ar
4177
+ sr
4165
4178
  ];
4166
4179
  }
4167
- class ir extends Nr {
4180
+ class nr extends Lr {
4168
4181
  constructor(t) {
4169
4182
  super(), Pr(
4170
4183
  this,
4171
4184
  t,
4172
- $i,
4173
- Mi,
4174
- St,
4185
+ Ui,
4186
+ Ri,
4187
+ wt,
4175
4188
  {
4176
4189
  clientstyling: 7,
4177
4190
  clientstylingurl: 8,
@@ -4179,80 +4192,90 @@ class ir extends Nr {
4179
4192
  showbackbutton: 10,
4180
4193
  title: 11,
4181
4194
  lang: 12,
4182
- showclosebutton: 13
4195
+ showclosebutton: 13,
4196
+ mbsource: 14
4183
4197
  },
4184
- Ai
4198
+ Pi
4185
4199
  );
4186
4200
  }
4187
4201
  get clientstyling() {
4188
4202
  return this.$$.ctx[7];
4189
4203
  }
4190
4204
  set clientstyling(t) {
4191
- this.$$set({ clientstyling: t }), O();
4205
+ this.$$set({ clientstyling: t }), w();
4192
4206
  }
4193
4207
  get clientstylingurl() {
4194
4208
  return this.$$.ctx[8];
4195
4209
  }
4196
4210
  set clientstylingurl(t) {
4197
- this.$$set({ clientstylingurl: t }), O();
4211
+ this.$$set({ clientstylingurl: t }), w();
4198
4212
  }
4199
4213
  get translationurl() {
4200
4214
  return this.$$.ctx[9];
4201
4215
  }
4202
4216
  set translationurl(t) {
4203
- this.$$set({ translationurl: t }), O();
4217
+ this.$$set({ translationurl: t }), w();
4204
4218
  }
4205
4219
  get showbackbutton() {
4206
4220
  return this.$$.ctx[10];
4207
4221
  }
4208
4222
  set showbackbutton(t) {
4209
- this.$$set({ showbackbutton: t }), O();
4223
+ this.$$set({ showbackbutton: t }), w();
4210
4224
  }
4211
4225
  get title() {
4212
4226
  return this.$$.ctx[11];
4213
4227
  }
4214
4228
  set title(t) {
4215
- this.$$set({ title: t }), O();
4229
+ this.$$set({ title: t }), w();
4216
4230
  }
4217
4231
  get lang() {
4218
4232
  return this.$$.ctx[12];
4219
4233
  }
4220
4234
  set lang(t) {
4221
- this.$$set({ lang: t }), O();
4235
+ this.$$set({ lang: t }), w();
4222
4236
  }
4223
4237
  get showclosebutton() {
4224
4238
  return this.$$.ctx[13];
4225
4239
  }
4226
4240
  set showclosebutton(t) {
4227
- this.$$set({ showclosebutton: t }), O();
4241
+ this.$$set({ showclosebutton: t }), w();
4242
+ }
4243
+ get mbsource() {
4244
+ return this.$$.ctx[14];
4245
+ }
4246
+ set mbsource(t) {
4247
+ this.$$set({ mbsource: t }), w();
4228
4248
  }
4229
4249
  }
4230
- Lr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4231
- const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4250
+ Cr(nr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4251
+ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4232
4252
  __proto__: null,
4233
- default: ir
4253
+ default: nr
4234
4254
  }, Symbol.toStringTag, { value: "Module" }));
4235
4255
  export {
4236
- R as $,
4237
- Fi as C,
4238
- Nr as S,
4239
- Kt as a,
4256
+ $,
4257
+ ji as C,
4258
+ Lr as S,
4259
+ Yt as a,
4240
4260
  Pr as b,
4241
- Lr as c,
4242
- br as d,
4261
+ Cr as c,
4262
+ pr as d,
4243
4263
  L as e,
4244
- O as f,
4245
- Di as g,
4246
- Ui as h,
4247
- ii as i,
4248
- Q as j,
4249
- $ as k,
4250
- de as l,
4264
+ w as f,
4265
+ Fi as g,
4266
+ Gi as h,
4267
+ ni as i,
4268
+ W as j,
4269
+ M as k,
4270
+ me as l,
4251
4271
  Pt as m,
4252
4272
  T as n,
4253
- Z as o,
4254
- nt as p,
4255
- Gi as q,
4256
- Re as r,
4257
- St as s
4273
+ z as o,
4274
+ rt as p,
4275
+ xr as q,
4276
+ Me as r,
4277
+ wt as s,
4278
+ wi as t,
4279
+ Si as u,
4280
+ Ai as v
4258
4281
  };