@everymatrix/cashier-iframe-redirect 1.53.0 → 1.53.10

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,92 +1,63 @@
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 xe = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
- for (var r in t || (t = {}))
7
- fr.call(t, r) && xe(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- cr.call(t, r) && xe(e, r, t[r]);
11
- return e;
12
- }, et = (e, t) => hr(e, lr(t));
13
- var B = (e, t, r) => xe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
16
- try {
17
- o(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, a = (l) => {
22
- try {
23
- o(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
- o((r = r.apply(e, t)).next());
29
- });
30
- function T() {
1
+ function B() {
31
2
  }
32
- function mr(e, t) {
3
+ function tr(e, t) {
33
4
  for (const r in t) e[r] = t[r];
34
5
  return (
35
6
  /** @type {T & S} */
36
7
  e
37
8
  );
38
9
  }
39
- function wt(e) {
10
+ function yt(e) {
40
11
  return e();
41
12
  }
42
- function rt() {
13
+ function Qe() {
43
14
  return /* @__PURE__ */ Object.create(null);
44
15
  }
45
- function re(e) {
46
- e.forEach(wt);
16
+ function te(e) {
17
+ e.forEach(yt);
47
18
  }
48
- function Xe(e) {
19
+ function ke(e) {
49
20
  return typeof e == "function";
50
21
  }
51
- function St(e, t) {
22
+ function Et(e, t) {
52
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
24
  }
54
- let oe;
55
- function $i(e, t) {
56
- return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
25
+ let se;
26
+ function Bi(e, t) {
27
+ return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
57
28
  }
58
- function pr(e) {
29
+ function rr(e) {
59
30
  return Object.keys(e).length === 0;
60
31
  }
61
- function At(e, ...t) {
32
+ function xt(e, ...t) {
62
33
  if (e == null) {
63
34
  for (const n of t)
64
35
  n(void 0);
65
- return T;
36
+ return B;
66
37
  }
67
38
  const r = e.subscribe(...t);
68
39
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
40
  }
70
- function dr(e, t, r) {
71
- e.$$.on_destroy.push(At(t, r));
41
+ function nr(e, t, r) {
42
+ e.$$.on_destroy.push(xt(t, r));
72
43
  }
73
- function ve(e, t, r, n) {
44
+ function Ee(e, t, r, n) {
74
45
  if (e) {
75
- const i = Ct(e, t, r, n);
46
+ const i = vt(e, t, r, n);
76
47
  return e[0](i);
77
48
  }
78
49
  }
79
- function Ct(e, t, r, n) {
80
- return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
+ function vt(e, t, r, n) {
51
+ return e[1] && n ? tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
52
  }
82
- function He(e, t, r, n) {
53
+ function xe(e, t, r, n) {
83
54
  if (e[2] && n) {
84
55
  const i = e[2](n(r));
85
56
  if (t.dirty === void 0)
86
57
  return i;
87
58
  if (typeof i == "object") {
88
- const s = [], a = Math.max(t.dirty.length, i.length);
89
- for (let o = 0; o < a; o += 1)
59
+ const s = [], u = Math.max(t.dirty.length, i.length);
60
+ for (let o = 0; o < u; o += 1)
90
61
  s[o] = t.dirty[o] | i[o];
91
62
  return s;
92
63
  }
@@ -94,13 +65,13 @@ function He(e, t, r, n) {
94
65
  }
95
66
  return t.dirty;
96
67
  }
97
- function Be(e, t, r, n, i, s) {
68
+ function ve(e, t, r, n, i, s) {
98
69
  if (i) {
99
- const a = Ct(t, r, n, s);
100
- e.p(a, i);
70
+ const u = vt(t, r, n, s);
71
+ e.p(u, i);
101
72
  }
102
73
  }
103
- function Te(e) {
74
+ function He(e) {
104
75
  if (e.ctx.length > 32) {
105
76
  const t = [], r = e.ctx.length / 32;
106
77
  for (let n = 0; n < r; n++)
@@ -109,17 +80,17 @@ function Te(e) {
109
80
  }
110
81
  return -1;
111
82
  }
112
- function me(e, t) {
83
+ function ce(e, t) {
113
84
  e.appendChild(t);
114
85
  }
115
- function br(e, t, r) {
116
- const n = gr(e);
86
+ function ir(e, t, r) {
87
+ const n = sr(e);
117
88
  if (!n.getElementById(t)) {
118
- const i = W("style");
119
- i.id = t, i.textContent = r, _r(n, i);
89
+ const i = z("style");
90
+ i.id = t, i.textContent = r, or(n, i);
120
91
  }
121
92
  }
122
- function gr(e) {
93
+ function sr(e) {
123
94
  if (!e) return document;
124
95
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
125
96
  return t && /** @type {ShadowRoot} */
@@ -128,49 +99,49 @@ function gr(e) {
128
99
  t
129
100
  ) : e.ownerDocument;
130
101
  }
131
- function _r(e, t) {
132
- return me(
102
+ function or(e, t) {
103
+ return ce(
133
104
  /** @type {Document} */
134
105
  e.head || e,
135
106
  t
136
107
  ), t.sheet;
137
108
  }
138
- function M(e, t, r) {
109
+ function I(e, t, r) {
139
110
  e.insertBefore(t, r || null);
140
111
  }
141
- function P(e) {
112
+ function O(e) {
142
113
  e.parentNode && e.parentNode.removeChild(e);
143
114
  }
144
- function W(e) {
115
+ function z(e) {
145
116
  return document.createElement(e);
146
117
  }
147
- function ze(e) {
118
+ function Ve(e) {
148
119
  return document.createTextNode(e);
149
120
  }
150
- function nt() {
151
- return ze(" ");
121
+ function qe() {
122
+ return Ve(" ");
152
123
  }
153
- function Ot() {
154
- return ze("");
124
+ function Ht() {
125
+ return Ve("");
155
126
  }
156
- function Pt(e, t, r, n) {
127
+ function Bt(e, t, r, n) {
157
128
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
158
129
  }
159
- function Z(e, t, r) {
130
+ function W(e, t, r) {
160
131
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
161
132
  }
162
- function Ri(e, t, r) {
133
+ function Ti(e, t, r) {
163
134
  const n = t.toLowerCase();
164
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Z(e, t, r);
135
+ 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);
165
136
  }
166
- function yr(e) {
137
+ function ar(e) {
167
138
  return Array.from(e.childNodes);
168
139
  }
169
- function Er(e, t) {
140
+ function ur(e, t) {
170
141
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
142
  t);
172
143
  }
173
- function xr(e) {
144
+ function hr(e) {
174
145
  const t = {};
175
146
  return e.childNodes.forEach(
176
147
  /** @param {Element} node */
@@ -179,95 +150,95 @@ function xr(e) {
179
150
  }
180
151
  ), t;
181
152
  }
182
- let We;
183
- function K(e) {
184
- We = e;
153
+ let Xe;
154
+ function Y(e) {
155
+ Xe = e;
185
156
  }
186
- const F = [], Ie = [];
187
- let j = [];
188
- const it = [], vr = /* @__PURE__ */ Promise.resolve();
189
- let Me = !1;
190
- function Hr() {
191
- Me || (Me = !0, vr.then(A));
157
+ const G = [], Le = [];
158
+ let F = [];
159
+ const Je = [], lr = /* @__PURE__ */ Promise.resolve();
160
+ let Ne = !1;
161
+ function fr() {
162
+ Ne || (Ne = !0, lr.then(S));
192
163
  }
193
- function $e(e) {
194
- j.push(e);
164
+ function Ie(e) {
165
+ F.push(e);
195
166
  }
196
- const we = /* @__PURE__ */ new Set();
197
- let D = 0;
198
- function A() {
199
- if (D !== 0)
167
+ const Be = /* @__PURE__ */ new Set();
168
+ let U = 0;
169
+ function S() {
170
+ if (U !== 0)
200
171
  return;
201
- const e = We;
172
+ const e = Xe;
202
173
  do {
203
174
  try {
204
- for (; D < F.length; ) {
205
- const t = F[D];
206
- D++, K(t), Br(t.$$);
175
+ for (; U < G.length; ) {
176
+ const t = G[U];
177
+ U++, Y(t), cr(t.$$);
207
178
  }
208
179
  } catch (t) {
209
- throw F.length = 0, D = 0, t;
180
+ throw G.length = 0, U = 0, t;
210
181
  }
211
- for (K(null), F.length = 0, D = 0; Ie.length; ) Ie.pop()();
212
- for (let t = 0; t < j.length; t += 1) {
213
- const r = j[t];
214
- we.has(r) || (we.add(r), r());
182
+ for (Y(null), G.length = 0, U = 0; Le.length; ) Le.pop()();
183
+ for (let t = 0; t < F.length; t += 1) {
184
+ const r = F[t];
185
+ Be.has(r) || (Be.add(r), r());
215
186
  }
216
- j.length = 0;
217
- } while (F.length);
218
- for (; it.length; )
219
- it.pop()();
220
- Me = !1, we.clear(), K(e);
187
+ F.length = 0;
188
+ } while (G.length);
189
+ for (; Je.length; )
190
+ Je.pop()();
191
+ Ne = !1, Be.clear(), Y(e);
221
192
  }
222
- function Br(e) {
193
+ function cr(e) {
223
194
  if (e.fragment !== null) {
224
- e.update(), re(e.before_update);
195
+ e.update(), te(e.before_update);
225
196
  const t = e.dirty;
226
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
227
198
  }
228
199
  }
229
- function Tr(e) {
200
+ function mr(e) {
230
201
  const t = [], r = [];
231
- j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
202
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
232
203
  }
233
- const ue = /* @__PURE__ */ new Set();
234
- let wr;
235
- function he(e, t) {
236
- e && e.i && (ue.delete(e), e.i(t));
204
+ const ae = /* @__PURE__ */ new Set();
205
+ let dr;
206
+ function ue(e, t) {
207
+ e && e.i && (ae.delete(e), e.i(t));
237
208
  }
238
- function Se(e, t, r, n) {
209
+ function Te(e, t, r, n) {
239
210
  if (e && e.o) {
240
- if (ue.has(e)) return;
241
- ue.add(e), wr.c.push(() => {
242
- ue.delete(e);
211
+ if (ae.has(e)) return;
212
+ ae.add(e), dr.c.push(() => {
213
+ ae.delete(e);
243
214
  }), e.o(t);
244
215
  }
245
216
  }
246
- function Sr(e, t, r) {
217
+ function pr(e, t, r) {
247
218
  const { fragment: n, after_update: i } = e.$$;
248
- n && n.m(t, r), $e(() => {
249
- const s = e.$$.on_mount.map(wt).filter(Xe);
250
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
251
- }), i.forEach($e);
219
+ n && n.m(t, r), Ie(() => {
220
+ const s = e.$$.on_mount.map(yt).filter(ke);
221
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
222
+ }), i.forEach(Ie);
252
223
  }
253
- function Ar(e, t) {
224
+ function br(e, t) {
254
225
  const r = e.$$;
255
- 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 = []);
226
+ r.fragment !== null && (mr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
227
  }
257
- function Cr(e, t) {
258
- e.$$.dirty[0] === -1 && (F.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
228
+ function gr(e, t) {
229
+ e.$$.dirty[0] === -1 && (G.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
259
230
  }
260
- function Or(e, t, r, n, i, s, a = null, o = [-1]) {
261
- const l = We;
262
- K(e);
263
- const u = e.$$ = {
231
+ function _r(e, t, r, n, i, s, u = null, o = [-1]) {
232
+ const l = Xe;
233
+ Y(e);
234
+ const a = e.$$ = {
264
235
  fragment: null,
265
236
  ctx: [],
266
237
  // state
267
238
  props: s,
268
- update: T,
239
+ update: B,
269
240
  not_equal: i,
270
- bound: rt(),
241
+ bound: Qe(),
271
242
  // lifecycle
272
243
  on_mount: [],
273
244
  on_destroy: [],
@@ -276,150 +247,146 @@ function Or(e, t, r, n, i, s, a = null, o = [-1]) {
276
247
  after_update: [],
277
248
  context: new Map(t.context || (l ? l.$$.context : [])),
278
249
  // everything else
279
- callbacks: rt(),
250
+ callbacks: Qe(),
280
251
  dirty: o,
281
252
  skip_bound: !1,
282
253
  root: t.target || l.$$.root
283
254
  };
284
- a && a(u.root);
255
+ u && u(a.root);
285
256
  let h = !1;
286
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
287
- const m = p.length ? p[0] : c;
288
- 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;
289
- }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
257
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
258
+ const m = d.length ? d[0] : c;
259
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && gr(e, f)), c;
260
+ }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
290
261
  if (t.hydrate) {
291
- const f = yr(t.target);
292
- u.fragment && u.fragment.l(f), f.forEach(P);
262
+ const f = ar(t.target);
263
+ a.fragment && a.fragment.l(f), f.forEach(O);
293
264
  } else
294
- u.fragment && u.fragment.c();
295
- t.intro && he(e.$$.fragment), Sr(e, t.target, t.anchor), A();
265
+ a.fragment && a.fragment.c();
266
+ t.intro && ue(e.$$.fragment), pr(e, t.target, t.anchor), S();
296
267
  }
297
- K(l);
298
- }
299
- let Lt;
300
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
301
- constructor(t, r, n) {
302
- super();
303
- /** The Svelte component constructor */
304
- B(this, "$$ctor");
305
- /** Slots */
306
- B(this, "$$s");
307
- /** The Svelte component instance */
308
- B(this, "$$c");
309
- /** Whether or not the custom element is connected */
310
- B(this, "$$cn", !1);
311
- /** Component props data */
312
- B(this, "$$d", {});
313
- /** `true` if currently in the process of reflecting component props back to attributes */
314
- B(this, "$$r", !1);
315
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
316
- B(this, "$$p_d", {});
317
- /** @type {Record<string, Function[]>} Event listeners */
318
- B(this, "$$l", {});
319
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
320
- B(this, "$$l_u", /* @__PURE__ */ new Map());
321
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
268
+ Y(l);
269
+ }
270
+ let Tt;
271
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
272
+ /** The Svelte component constructor */
273
+ $$ctor;
274
+ /** Slots */
275
+ $$s;
276
+ /** The Svelte component instance */
277
+ $$c;
278
+ /** Whether or not the custom element is connected */
279
+ $$cn = !1;
280
+ /** Component props data */
281
+ $$d = {};
282
+ /** `true` if currently in the process of reflecting component props back to attributes */
283
+ $$r = !1;
284
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
285
+ $$p_d = {};
286
+ /** @type {Record<string, Function[]>} Event listeners */
287
+ $$l = {};
288
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
289
+ $$l_u = /* @__PURE__ */ new Map();
290
+ constructor(e, t, r) {
291
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
322
292
  }
323
- addEventListener(t, r, n) {
324
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
325
- const i = this.$$c.$on(t, r);
326
- this.$$l_u.set(r, i);
293
+ addEventListener(e, t, r) {
294
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
295
+ const n = this.$$c.$on(e, t);
296
+ this.$$l_u.set(t, n);
327
297
  }
328
- super.addEventListener(t, r, n);
298
+ super.addEventListener(e, t, r);
329
299
  }
330
- removeEventListener(t, r, n) {
331
- if (super.removeEventListener(t, r, n), this.$$c) {
332
- const i = this.$$l_u.get(r);
333
- i && (i(), this.$$l_u.delete(r));
300
+ removeEventListener(e, t, r) {
301
+ if (super.removeEventListener(e, t, r), this.$$c) {
302
+ const n = this.$$l_u.get(t);
303
+ n && (n(), this.$$l_u.delete(t));
334
304
  }
335
305
  }
336
- connectedCallback() {
337
- return tt(this, null, function* () {
338
- if (this.$$cn = !0, !this.$$c) {
339
- let t = function(s) {
340
- return () => {
341
- let a;
342
- return {
343
- c: function() {
344
- a = W("slot"), s !== "default" && Z(a, "name", s);
345
- },
346
- /**
347
- * @param {HTMLElement} target
348
- * @param {HTMLElement} [anchor]
349
- */
350
- m: function(u, h) {
351
- M(u, a, h);
352
- },
353
- d: function(u) {
354
- u && P(a);
355
- }
356
- };
306
+ async connectedCallback() {
307
+ if (this.$$cn = !0, !this.$$c) {
308
+ let e = function(i) {
309
+ return () => {
310
+ let s;
311
+ return {
312
+ c: function() {
313
+ s = z("slot"), i !== "default" && W(s, "name", i);
314
+ },
315
+ /**
316
+ * @param {HTMLElement} target
317
+ * @param {HTMLElement} [anchor]
318
+ */
319
+ m: function(l, a) {
320
+ I(l, s, a);
321
+ },
322
+ d: function(l) {
323
+ l && O(s);
324
+ }
357
325
  };
358
326
  };
359
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
360
- return;
361
- const r = {}, n = xr(this);
362
- for (const s of this.$$s)
363
- s in n && (r[s] = [t(s)]);
364
- for (const s of this.attributes) {
365
- const a = this.$$g_p(s.name);
366
- a in this.$$d || (this.$$d[a] = le(a, s.value, this.$$p_d, "toProp"));
327
+ };
328
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
329
+ return;
330
+ const t = {}, r = hr(this);
331
+ for (const i of this.$$s)
332
+ i in r && (t[i] = [e(i)]);
333
+ for (const i of this.attributes) {
334
+ const s = this.$$g_p(i.name);
335
+ s in this.$$d || (this.$$d[s] = he(s, i.value, this.$$p_d, "toProp"));
336
+ }
337
+ for (const i in this.$$p_d)
338
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
339
+ this.$$c = new this.$$ctor({
340
+ target: this.shadowRoot || this,
341
+ props: {
342
+ ...this.$$d,
343
+ $$slots: t,
344
+ $$scope: {
345
+ ctx: []
346
+ }
367
347
  }
368
- for (const s in this.$$p_d)
369
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
370
- this.$$c = new this.$$ctor({
371
- target: this.shadowRoot || this,
372
- props: et(Ke({}, this.$$d), {
373
- $$slots: r,
374
- $$scope: {
375
- ctx: []
376
- }
377
- })
378
- });
379
- const i = () => {
380
- this.$$r = !0;
381
- for (const s in this.$$p_d)
382
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
383
- const a = le(
384
- s,
385
- this.$$d[s],
386
- this.$$p_d,
387
- "toAttribute"
388
- );
389
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
390
- }
391
- this.$$r = !1;
392
- };
393
- this.$$c.$$.after_update.push(i), i();
394
- for (const s in this.$$l)
395
- for (const a of this.$$l[s]) {
396
- const o = this.$$c.$on(s, a);
397
- this.$$l_u.set(a, o);
348
+ });
349
+ const n = () => {
350
+ this.$$r = !0;
351
+ for (const i in this.$$p_d)
352
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
353
+ const s = he(
354
+ i,
355
+ this.$$d[i],
356
+ this.$$p_d,
357
+ "toAttribute"
358
+ );
359
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
398
360
  }
399
- this.$$l = {};
400
- }
401
- });
361
+ this.$$r = !1;
362
+ };
363
+ this.$$c.$$.after_update.push(n), n();
364
+ for (const i in this.$$l)
365
+ for (const s of this.$$l[i]) {
366
+ const u = this.$$c.$on(i, s);
367
+ this.$$l_u.set(s, u);
368
+ }
369
+ this.$$l = {};
370
+ }
402
371
  }
403
372
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
404
373
  // and setting attributes through setAttribute etc, this is helpful
405
- attributeChangedCallback(t, r, n) {
406
- var i;
407
- 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] }));
374
+ attributeChangedCallback(e, t, r) {
375
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = he(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
408
376
  }
409
377
  disconnectedCallback() {
410
378
  this.$$cn = !1, Promise.resolve().then(() => {
411
379
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
412
380
  });
413
381
  }
414
- $$g_p(t) {
382
+ $$g_p(e) {
415
383
  return Object.keys(this.$$p_d).find(
416
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
417
- ) || t;
384
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
385
+ ) || e;
418
386
  }
419
387
  });
420
- function le(e, t, r, n) {
421
- var s;
422
- const i = (s = r[e]) == null ? void 0 : s.type;
388
+ function he(e, t, r, n) {
389
+ const i = r[e]?.type;
423
390
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
424
391
  return t;
425
392
  if (n === "toAttribute")
@@ -430,7 +397,7 @@ function le(e, t, r, n) {
430
397
  case "Boolean":
431
398
  return t ? "" : null;
432
399
  case "Number":
433
- return t == null ? null : t;
400
+ return t ?? null;
434
401
  default:
435
402
  return t;
436
403
  }
@@ -447,8 +414,8 @@ function le(e, t, r, n) {
447
414
  return t;
448
415
  }
449
416
  }
450
- function Pr(e, t, r, n, i, s) {
451
- let a = class extends Lt {
417
+ function yr(e, t, r, n, i, s) {
418
+ let u = class extends Tt {
452
419
  constructor() {
453
420
  super(e, r, i), this.$$p_d = t;
454
421
  }
@@ -459,47 +426,43 @@ function Pr(e, t, r, n, i, s) {
459
426
  }
460
427
  };
461
428
  return Object.keys(t).forEach((o) => {
462
- Object.defineProperty(a.prototype, o, {
429
+ Object.defineProperty(u.prototype, o, {
463
430
  get() {
464
431
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
465
432
  },
466
433
  set(l) {
467
- var u;
468
- l = le(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
434
+ l = he(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
469
435
  }
470
436
  });
471
437
  }), n.forEach((o) => {
472
- Object.defineProperty(a.prototype, o, {
438
+ Object.defineProperty(u.prototype, o, {
473
439
  get() {
474
- var l;
475
- return (l = this.$$c) == null ? void 0 : l[o];
440
+ return this.$$c?.[o];
476
441
  }
477
442
  });
478
443
  }), e.element = /** @type {any} */
479
- a, a;
480
- }
481
- class Lr {
482
- constructor() {
483
- /**
484
- * ### PRIVATE API
485
- *
486
- * Do not use, may change at any time
487
- *
488
- * @type {any}
489
- */
490
- B(this, "$$");
491
- /**
492
- * ### PRIVATE API
493
- *
494
- * Do not use, may change at any time
495
- *
496
- * @type {any}
497
- */
498
- B(this, "$$set");
499
- }
444
+ u, u;
445
+ }
446
+ class Er {
447
+ /**
448
+ * ### PRIVATE API
449
+ *
450
+ * Do not use, may change at any time
451
+ *
452
+ * @type {any}
453
+ */
454
+ $$ = void 0;
455
+ /**
456
+ * ### PRIVATE API
457
+ *
458
+ * Do not use, may change at any time
459
+ *
460
+ * @type {any}
461
+ */
462
+ $$set = void 0;
500
463
  /** @returns {void} */
501
464
  $destroy() {
502
- Ar(this, 1), this.$destroy = T;
465
+ br(this, 1), this.$destroy = B;
503
466
  }
504
467
  /**
505
468
  * @template {Extract<keyof Events, string>} K
@@ -508,8 +471,8 @@ class Lr {
508
471
  * @returns {() => void}
509
472
  */
510
473
  $on(t, r) {
511
- if (!Xe(r))
512
- return T;
474
+ if (!ke(r))
475
+ return B;
513
476
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
514
477
  return n.push(r), () => {
515
478
  const i = n.indexOf(r);
@@ -521,63 +484,63 @@ class Lr {
521
484
  * @returns {void}
522
485
  */
523
486
  $set(t) {
524
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
488
  }
526
489
  }
527
- const Nr = "4";
528
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
529
- const G = [];
530
- function Ir(e, t) {
490
+ const xr = "4";
491
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
492
+ const D = [];
493
+ function vr(e, t) {
531
494
  return {
532
- subscribe: ge(e, t).subscribe
495
+ subscribe: be(e, t).subscribe
533
496
  };
534
497
  }
535
- function ge(e, t = T) {
498
+ function be(e, t = B) {
536
499
  let r;
537
500
  const n = /* @__PURE__ */ new Set();
538
501
  function i(o) {
539
- if (St(e, o) && (e = o, r)) {
540
- const l = !G.length;
541
- for (const u of n)
542
- u[1](), G.push(u, e);
502
+ if (Et(e, o) && (e = o, r)) {
503
+ const l = !D.length;
504
+ for (const a of n)
505
+ a[1](), D.push(a, e);
543
506
  if (l) {
544
- for (let u = 0; u < G.length; u += 2)
545
- G[u][0](G[u + 1]);
546
- G.length = 0;
507
+ for (let a = 0; a < D.length; a += 2)
508
+ D[a][0](D[a + 1]);
509
+ D.length = 0;
547
510
  }
548
511
  }
549
512
  }
550
513
  function s(o) {
551
514
  i(o(e));
552
515
  }
553
- function a(o, l = T) {
554
- const u = [o, l];
555
- return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
556
- n.delete(u), n.size === 0 && r && (r(), r = null);
516
+ function u(o, l = B) {
517
+ const a = [o, l];
518
+ return n.add(a), n.size === 1 && (r = t(i, s) || B), o(e), () => {
519
+ n.delete(a), n.size === 0 && r && (r(), r = null);
557
520
  };
558
521
  }
559
- return { set: i, update: s, subscribe: a };
522
+ return { set: i, update: s, subscribe: u };
560
523
  }
561
- function Q(e, t, r) {
524
+ function Z(e, t, r) {
562
525
  const n = !Array.isArray(e), i = n ? [e] : e;
563
526
  if (!i.every(Boolean))
564
527
  throw new Error("derived() expects stores as input, got a falsy value");
565
528
  const s = t.length < 2;
566
- return Ir(r, (a, o) => {
529
+ return vr(r, (u, o) => {
567
530
  let l = !1;
568
- const u = [];
569
- let h = 0, f = T;
531
+ const a = [];
532
+ let h = 0, f = B;
570
533
  const c = () => {
571
534
  if (h)
572
535
  return;
573
536
  f();
574
- const m = t(n ? u[0] : u, a, o);
575
- s ? a(m) : f = Xe(m) ? m : T;
576
- }, p = i.map(
577
- (m, g) => At(
537
+ const m = t(n ? a[0] : a, u, o);
538
+ s ? u(m) : f = ke(m) ? m : B;
539
+ }, d = i.map(
540
+ (m, g) => xt(
578
541
  m,
579
542
  (v) => {
580
- u[g] = v, h &= ~(1 << g), l && c();
543
+ a[g] = v, h &= ~(1 << g), l && c();
581
544
  },
582
545
  () => {
583
546
  h |= 1 << g;
@@ -585,95 +548,95 @@ function Q(e, t, r) {
585
548
  )
586
549
  );
587
550
  return l = !0, c(), function() {
588
- re(p), f(), l = !1;
551
+ te(d), f(), l = !1;
589
552
  };
590
553
  });
591
554
  }
592
- function Mr(e) {
593
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
555
+ function Hr(e) {
556
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
594
557
  }
595
- var $r = function(t) {
596
- return Rr(t) && !Ur(t);
558
+ var Br = function(t) {
559
+ return Tr(t) && !wr(t);
597
560
  };
598
- function Rr(e) {
561
+ function Tr(e) {
599
562
  return !!e && typeof e == "object";
600
563
  }
601
- function Ur(e) {
564
+ function wr(e) {
602
565
  var t = Object.prototype.toString.call(e);
603
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
604
567
  }
605
- var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
606
- function Fr(e) {
607
- return e.$$typeof === Gr;
568
+ var Sr = typeof Symbol == "function" && Symbol.for, Ar = Sr ? Symbol.for("react.element") : 60103;
569
+ function Cr(e) {
570
+ return e.$$typeof === Ar;
608
571
  }
609
- function jr(e) {
572
+ function Or(e) {
610
573
  return Array.isArray(e) ? [] : {};
611
574
  }
612
- function ee(e, t) {
613
- return t.clone !== !1 && t.isMergeableObject(e) ? k(jr(e), e, t) : e;
575
+ function K(e, t) {
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Or(e), e, t) : e;
614
577
  }
615
- function kr(e, t, r) {
578
+ function Pr(e, t, r) {
616
579
  return e.concat(t).map(function(n) {
617
- return ee(n, r);
580
+ return K(n, r);
618
581
  });
619
582
  }
620
- function Vr(e, t) {
583
+ function Lr(e, t) {
621
584
  if (!t.customMerge)
622
- return k;
585
+ return j;
623
586
  var r = t.customMerge(e);
624
- return typeof r == "function" ? r : k;
587
+ return typeof r == "function" ? r : j;
625
588
  }
626
- function Xr(e) {
589
+ function Nr(e) {
627
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
628
591
  return Object.propertyIsEnumerable.call(e, t);
629
592
  }) : [];
630
593
  }
631
- function st(e) {
632
- return Object.keys(e).concat(Xr(e));
594
+ function Ye(e) {
595
+ return Object.keys(e).concat(Nr(e));
633
596
  }
634
- function Nt(e, t) {
597
+ function wt(e, t) {
635
598
  try {
636
599
  return t in e;
637
- } catch (r) {
600
+ } catch {
638
601
  return !1;
639
602
  }
640
603
  }
641
- function zr(e, t) {
642
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function Ir(e, t) {
605
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
643
606
  }
644
- function Wr(e, t, r) {
607
+ function Mr(e, t, r) {
645
608
  var n = {};
646
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
647
- n[i] = ee(e[i], r);
648
- }), st(t).forEach(function(i) {
649
- zr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
609
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
610
+ n[i] = K(e[i], r);
611
+ }), Ye(t).forEach(function(i) {
612
+ Ir(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Lr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
650
613
  }), n;
651
614
  }
652
- function k(e, t, r) {
653
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
615
+ function j(e, t, r) {
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = K;
654
617
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
655
- return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
618
+ return s ? n ? r.arrayMerge(e, t, r) : Mr(e, t, r) : K(t, r);
656
619
  }
657
- k.all = function(t, r) {
620
+ j.all = function(t, r) {
658
621
  if (!Array.isArray(t))
659
622
  throw new Error("first argument should be an array");
660
623
  return t.reduce(function(n, i) {
661
- return k(n, i, r);
624
+ return j(n, i, r);
662
625
  }, {});
663
626
  };
664
- var Zr = k, Qr = Zr;
665
- const qr = /* @__PURE__ */ Mr(Qr);
666
- var Re = function(e, t) {
667
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
627
+ var $r = j, Rr = $r;
628
+ const Ur = /* @__PURE__ */ Hr(Rr);
629
+ var Me = function(e, t) {
630
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
668
631
  r.__proto__ = n;
669
632
  } || function(r, n) {
670
633
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
671
- }, Re(e, t);
634
+ }, Me(e, t);
672
635
  };
673
- function _e(e, t) {
636
+ function ge(e, t) {
674
637
  if (typeof t != "function" && t !== null)
675
638
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
676
- Re(e, t);
639
+ Me(e, t);
677
640
  function r() {
678
641
  this.constructor = e;
679
642
  }
@@ -688,7 +651,7 @@ var y = function() {
688
651
  return t;
689
652
  }, y.apply(this, arguments);
690
653
  };
691
- function Jr(e, t) {
654
+ function Dr(e, t) {
692
655
  var r = {};
693
656
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
694
657
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -696,110 +659,112 @@ function Jr(e, t) {
696
659
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
697
660
  return r;
698
661
  }
699
- function Ae(e, t, r) {
662
+ function we(e, t, r) {
700
663
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
701
664
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
702
665
  return e.concat(s || Array.prototype.slice.call(t));
703
666
  }
704
- function Ce(e, t) {
705
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
667
+ function Se(e, t) {
668
+ var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy : Fr;
706
669
  return i(e, {
707
670
  cache: r,
708
671
  serializer: n
709
672
  });
710
673
  }
711
- function Yr(e) {
674
+ function Gr(e) {
712
675
  return e == null || typeof e == "number" || typeof e == "boolean";
713
676
  }
714
- function It(e, t, r, n) {
715
- var i = Yr(n) ? n : r(n), s = t.get(i);
716
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
677
+ function St(e, t, r, n) {
678
+ var i = Gr(n) ? n : r(n), s = t.get(i);
679
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
717
680
  }
718
- function Mt(e, t, r) {
681
+ function At(e, t, r) {
719
682
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
720
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
683
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
721
684
  }
722
- function Ze(e, t, r, n, i) {
685
+ function ze(e, t, r, n, i) {
723
686
  return r.bind(t, e, n, i);
724
687
  }
725
- function Kr(e, t) {
726
- var r = e.length === 1 ? It : Mt;
727
- return Ze(e, this, r, t.cache.create(), t.serializer);
688
+ function Fr(e, t) {
689
+ var r = e.length === 1 ? St : At;
690
+ return ze(e, this, r, t.cache.create(), t.serializer);
728
691
  }
729
- function en(e, t) {
730
- return Ze(e, this, Mt, t.cache.create(), t.serializer);
692
+ function jr(e, t) {
693
+ return ze(e, this, At, t.cache.create(), t.serializer);
731
694
  }
732
- function tn(e, t) {
733
- return Ze(e, this, It, t.cache.create(), t.serializer);
695
+ function kr(e, t) {
696
+ return ze(e, this, St, t.cache.create(), t.serializer);
734
697
  }
735
- var rn = function() {
698
+ var Vr = function() {
736
699
  return JSON.stringify(arguments);
737
- };
738
- function Qe() {
739
- this.cache = /* @__PURE__ */ Object.create(null);
740
- }
741
- Qe.prototype.get = function(e) {
742
- return this.cache[e];
743
- };
744
- Qe.prototype.set = function(e, t) {
745
- this.cache[e] = t;
746
- };
747
- var nn = {
700
+ }, Xr = (
701
+ /** @class */
702
+ function() {
703
+ function e() {
704
+ this.cache = /* @__PURE__ */ Object.create(null);
705
+ }
706
+ return e.prototype.get = function(t) {
707
+ return this.cache[t];
708
+ }, e.prototype.set = function(t, r) {
709
+ this.cache[t] = r;
710
+ }, e;
711
+ }()
712
+ ), zr = {
748
713
  create: function() {
749
- return new Qe();
714
+ return new Xr();
750
715
  }
751
- }, Oe = {
752
- variadic: en,
753
- monadic: tn
754
- }, d;
716
+ }, Ae = {
717
+ variadic: jr,
718
+ monadic: kr
719
+ }, p;
755
720
  (function(e) {
756
721
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
757
- })(d || (d = {}));
722
+ })(p || (p = {}));
758
723
  var E;
759
724
  (function(e) {
760
725
  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";
761
726
  })(E || (E = {}));
762
- var V;
727
+ var k;
763
728
  (function(e) {
764
729
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
765
- })(V || (V = {}));
766
- function ot(e) {
730
+ })(k || (k = {}));
731
+ function Ke(e) {
767
732
  return e.type === E.literal;
768
733
  }
769
- function sn(e) {
734
+ function Wr(e) {
770
735
  return e.type === E.argument;
771
736
  }
772
- function $t(e) {
737
+ function Ct(e) {
773
738
  return e.type === E.number;
774
739
  }
775
- function Rt(e) {
740
+ function Ot(e) {
776
741
  return e.type === E.date;
777
742
  }
778
- function Ut(e) {
743
+ function Pt(e) {
779
744
  return e.type === E.time;
780
745
  }
781
- function Dt(e) {
746
+ function Lt(e) {
782
747
  return e.type === E.select;
783
748
  }
784
- function Gt(e) {
749
+ function Nt(e) {
785
750
  return e.type === E.plural;
786
751
  }
787
- function on(e) {
752
+ function Zr(e) {
788
753
  return e.type === E.pound;
789
754
  }
790
- function Ft(e) {
755
+ function It(e) {
791
756
  return e.type === E.tag;
792
757
  }
793
- function jt(e) {
794
- return !!(e && typeof e == "object" && e.type === V.number);
758
+ function Mt(e) {
759
+ return !!(e && typeof e == "object" && e.type === k.number);
795
760
  }
796
- function Ue(e) {
797
- return !!(e && typeof e == "object" && e.type === V.dateTime);
761
+ function $e(e) {
762
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
798
763
  }
799
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
800
- function un(e) {
764
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
765
+ function qr(e) {
801
766
  var t = {};
802
- return e.replace(an, function(r) {
767
+ return e.replace(Qr, function(r) {
803
768
  var n = r.length;
804
769
  switch (r[0]) {
805
770
  case "G":
@@ -888,18 +853,18 @@ function un(e) {
888
853
  return "";
889
854
  }), t;
890
855
  }
891
- var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
892
- function ln(e) {
856
+ var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
857
+ function Yr(e) {
893
858
  if (e.length === 0)
894
859
  throw new Error("Number skeleton cannot be empty");
895
- for (var t = e.split(hn).filter(function(c) {
860
+ for (var t = e.split(Jr).filter(function(c) {
896
861
  return c.length > 0;
897
862
  }), r = [], n = 0, i = t; n < i.length; n++) {
898
- var s = i[n], a = s.split("/");
899
- if (a.length === 0)
863
+ var s = i[n], u = s.split("/");
864
+ if (u.length === 0)
900
865
  throw new Error("Invalid number skeleton");
901
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
902
- var f = h[u];
866
+ for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
867
+ var f = h[a];
903
868
  if (f.length === 0)
904
869
  throw new Error("Invalid number skeleton");
905
870
  }
@@ -907,17 +872,17 @@ function ln(e) {
907
872
  }
908
873
  return r;
909
874
  }
910
- function fn(e) {
875
+ function Kr(e) {
911
876
  return e.replace(/^(.*?)-/, "");
912
877
  }
913
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
914
- function ut(e) {
878
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
879
+ function tt(e) {
915
880
  var t = {};
916
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
881
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
917
882
  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)), "";
918
883
  }), t;
919
884
  }
920
- function zt(e) {
885
+ function Dt(e) {
921
886
  switch (e) {
922
887
  case "sign-auto":
923
888
  return {
@@ -957,7 +922,7 @@ function zt(e) {
957
922
  };
958
923
  }
959
924
  }
960
- function mn(e) {
925
+ function tn(e) {
961
926
  var t;
962
927
  if (e[0] === "E" && e[1] === "E" ? (t = {
963
928
  notation: "engineering"
@@ -965,17 +930,17 @@ function mn(e) {
965
930
  notation: "scientific"
966
931
  }, e = e.slice(1)), t) {
967
932
  var r = e.slice(0, 2);
968
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
933
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
969
934
  throw new Error("Malformed concise eng/scientific notation");
970
935
  t.minimumIntegerDigits = e.length;
971
936
  }
972
937
  return t;
973
938
  }
974
- function ht(e) {
975
- var t = {}, r = zt(e);
939
+ function rt(e) {
940
+ var t = {}, r = Dt(e);
976
941
  return r || t;
977
942
  }
978
- function pn(e) {
943
+ function rn(e) {
979
944
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
980
945
  var i = n[r];
981
946
  switch (i.stem) {
@@ -999,7 +964,7 @@ function pn(e) {
999
964
  continue;
1000
965
  case "measure-unit":
1001
966
  case "unit":
1002
- t.style = "unit", t.unit = fn(i.options[0]);
967
+ t.style = "unit", t.unit = Kr(i.options[0]);
1003
968
  continue;
1004
969
  case "compact-short":
1005
970
  case "K":
@@ -1010,13 +975,13 @@ function pn(e) {
1010
975
  t.notation = "compact", t.compactDisplay = "long";
1011
976
  continue;
1012
977
  case "scientific":
1013
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1014
- return y(y({}, l), ht(u));
978
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
979
+ return y(y({}, l), rt(a));
1015
980
  }, {}));
1016
981
  continue;
1017
982
  case "engineering":
1018
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1019
- return y(y({}, l), ht(u));
983
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
984
+ return y(y({}, l), rt(a));
1020
985
  }, {}));
1021
986
  continue;
1022
987
  case "notation-simple":
@@ -1061,45 +1026,45 @@ function pn(e) {
1061
1026
  case "integer-width":
1062
1027
  if (i.options.length > 1)
1063
1028
  throw new RangeError("integer-width stems only accept a single optional option");
1064
- i.options[0].replace(cn, function(l, u, h, f, c, p) {
1065
- if (u)
1029
+ i.options[0].replace(en, function(l, a, h, f, c, d) {
1030
+ if (a)
1066
1031
  t.minimumIntegerDigits = h.length;
1067
1032
  else {
1068
1033
  if (f && c)
1069
1034
  throw new Error("We currently do not support maximum integer digits");
1070
- if (p)
1035
+ if (d)
1071
1036
  throw new Error("We currently do not support exact integer digits");
1072
1037
  }
1073
1038
  return "";
1074
1039
  });
1075
1040
  continue;
1076
1041
  }
1077
- if (Xt.test(i.stem)) {
1042
+ if (Ut.test(i.stem)) {
1078
1043
  t.minimumIntegerDigits = i.stem.length;
1079
1044
  continue;
1080
1045
  }
1081
- if (at.test(i.stem)) {
1046
+ if (et.test(i.stem)) {
1082
1047
  if (i.options.length > 1)
1083
1048
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1084
- i.stem.replace(at, function(l, u, h, f, c, p) {
1085
- 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), "";
1049
+ i.stem.replace(et, function(l, a, h, f, c, d) {
1050
+ return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1086
1051
  });
1087
1052
  var s = i.options[0];
1088
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ut(s)));
1053
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
1089
1054
  continue;
1090
1055
  }
1091
- if (Vt.test(i.stem)) {
1092
- t = y(y({}, t), ut(i.stem));
1056
+ if (Rt.test(i.stem)) {
1057
+ t = y(y({}, t), tt(i.stem));
1093
1058
  continue;
1094
1059
  }
1095
- var a = zt(i.stem);
1096
- a && (t = y(y({}, t), a));
1097
- var o = mn(i.stem);
1060
+ var u = Dt(i.stem);
1061
+ u && (t = y(y({}, t), u));
1062
+ var o = tn(i.stem);
1098
1063
  o && (t = y(y({}, t), o));
1099
1064
  }
1100
1065
  return t;
1101
1066
  }
1102
- var ae = {
1067
+ var oe = {
1103
1068
  "001": [
1104
1069
  "H",
1105
1070
  "h"
@@ -2514,22 +2479,22 @@ var ae = {
2514
2479
  "h"
2515
2480
  ]
2516
2481
  };
2517
- function dn(e, t) {
2482
+ function nn(e, t) {
2518
2483
  for (var r = "", n = 0; n < e.length; n++) {
2519
2484
  var i = e.charAt(n);
2520
2485
  if (i === "j") {
2521
2486
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2522
2487
  s++, n++;
2523
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
2524
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2488
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = sn(t);
2489
+ for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2525
2490
  r += l;
2526
- for (; a-- > 0; )
2527
- r = u + r;
2491
+ for (; u-- > 0; )
2492
+ r = a + r;
2528
2493
  } else i === "J" ? r += "H" : r += i;
2529
2494
  }
2530
2495
  return r;
2531
2496
  }
2532
- function bn(e) {
2497
+ function sn(e) {
2533
2498
  var t = e.hourCycle;
2534
2499
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2535
2500
  e.hourCycles && // @ts-ignore
@@ -2548,23 +2513,23 @@ function bn(e) {
2548
2513
  }
2549
2514
  var r = e.language, n;
2550
2515
  r !== "root" && (n = e.maximize().region);
2551
- var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2516
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2552
2517
  return i[0];
2553
2518
  }
2554
- var Pe, gn = new RegExp("^".concat(kt.source, "*")), _n = new RegExp("".concat(kt.source, "*$"));
2519
+ var Ce, on = new RegExp("^".concat($t.source, "*")), an = new RegExp("".concat($t.source, "*$"));
2555
2520
  function b(e, t) {
2556
2521
  return { start: e, end: t };
2557
2522
  }
2558
- var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, xn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, wn = Tn ? Number.isSafeInteger : function(e) {
2523
+ var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, ln = !!Object.fromEntries, fn = !!String.prototype.codePointAt, cn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, pn = dn ? Number.isSafeInteger : function(e) {
2559
2524
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2560
- }, De = !0;
2525
+ }, Re = !0;
2561
2526
  try {
2562
- var Sn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2563
- De = ((Pe = Sn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2564
- } catch (e) {
2565
- De = !1;
2527
+ var bn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2528
+ Re = ((Ce = bn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2529
+ } catch {
2530
+ Re = !1;
2566
2531
  }
2567
- var lt = yn ? (
2532
+ var nt = un ? (
2568
2533
  // Native
2569
2534
  function(t, r, n) {
2570
2535
  return t.startsWith(r, n);
@@ -2574,31 +2539,31 @@ var lt = yn ? (
2574
2539
  function(t, r, n) {
2575
2540
  return t.slice(n, n + r.length) === r;
2576
2541
  }
2577
- ), Ge = En ? String.fromCodePoint : (
2542
+ ), Ue = hn ? String.fromCodePoint : (
2578
2543
  // IE11
2579
2544
  function() {
2580
2545
  for (var t = [], r = 0; r < arguments.length; r++)
2581
2546
  t[r] = arguments[r];
2582
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2583
- if (a = t[s++], a > 1114111)
2584
- throw RangeError(a + " is not a valid code point");
2585
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2547
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2548
+ if (u = t[s++], u > 1114111)
2549
+ throw RangeError(u + " is not a valid code point");
2550
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2586
2551
  }
2587
2552
  return n;
2588
2553
  }
2589
- ), ft = (
2554
+ ), it = (
2590
2555
  // native
2591
- xn ? Object.fromEntries : (
2556
+ ln ? Object.fromEntries : (
2592
2557
  // Ponyfill
2593
2558
  function(t) {
2594
2559
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2595
- var s = i[n], a = s[0], o = s[1];
2596
- r[a] = o;
2560
+ var s = i[n], u = s[0], o = s[1];
2561
+ r[u] = o;
2597
2562
  }
2598
2563
  return r;
2599
2564
  }
2600
2565
  )
2601
- ), Wt = vn ? (
2566
+ ), Gt = fn ? (
2602
2567
  // Native
2603
2568
  function(t, r) {
2604
2569
  return t.codePointAt(r);
@@ -2612,7 +2577,7 @@ var lt = yn ? (
2612
2577
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2613
2578
  }
2614
2579
  }
2615
- ), An = Hn ? (
2580
+ ), gn = cn ? (
2616
2581
  // Native
2617
2582
  function(t) {
2618
2583
  return t.trimStart();
@@ -2620,9 +2585,9 @@ var lt = yn ? (
2620
2585
  ) : (
2621
2586
  // Ponyfill
2622
2587
  function(t) {
2623
- return t.replace(gn, "");
2588
+ return t.replace(on, "");
2624
2589
  }
2625
- ), Cn = Bn ? (
2590
+ ), _n = mn ? (
2626
2591
  // Native
2627
2592
  function(t) {
2628
2593
  return t.trimEnd();
@@ -2630,32 +2595,32 @@ var lt = yn ? (
2630
2595
  ) : (
2631
2596
  // Ponyfill
2632
2597
  function(t) {
2633
- return t.replace(_n, "");
2598
+ return t.replace(an, "");
2634
2599
  }
2635
2600
  );
2636
- function Zt(e, t) {
2601
+ function Ft(e, t) {
2637
2602
  return new RegExp(e, t);
2638
2603
  }
2639
- var Fe;
2640
- if (De) {
2641
- var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2642
- Fe = function(t, r) {
2604
+ var De;
2605
+ if (Re) {
2606
+ var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2607
+ De = function(t, r) {
2643
2608
  var n;
2644
- ct.lastIndex = r;
2645
- var i = ct.exec(t);
2609
+ st.lastIndex = r;
2610
+ var i = st.exec(t);
2646
2611
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2647
2612
  };
2648
2613
  } else
2649
- Fe = function(t, r) {
2614
+ De = function(t, r) {
2650
2615
  for (var n = []; ; ) {
2651
- var i = Wt(t, r);
2652
- if (i === void 0 || Qt(i) || Nn(i))
2616
+ var i = Gt(t, r);
2617
+ if (i === void 0 || jt(i) || vn(i))
2653
2618
  break;
2654
2619
  n.push(i), r += i >= 65536 ? 2 : 1;
2655
2620
  }
2656
- return Ge.apply(void 0, n);
2621
+ return Ue.apply(void 0, n);
2657
2622
  };
2658
- var On = (
2623
+ var yn = (
2659
2624
  /** @class */
2660
2625
  function() {
2661
2626
  function e(t, r) {
@@ -2669,10 +2634,10 @@ var On = (
2669
2634
  for (var i = []; !this.isEOF(); ) {
2670
2635
  var s = this.char();
2671
2636
  if (s === 123) {
2672
- var a = this.parseArgument(t, n);
2673
- if (a.err)
2674
- return a;
2675
- i.push(a.val);
2637
+ var u = this.parseArgument(t, n);
2638
+ if (u.err)
2639
+ return u;
2640
+ i.push(u.val);
2676
2641
  } else {
2677
2642
  if (s === 125 && t > 0)
2678
2643
  break;
@@ -2685,17 +2650,17 @@ var On = (
2685
2650
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2686
2651
  if (n)
2687
2652
  break;
2688
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2689
- } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2690
- var a = this.parseTag(t, r);
2691
- if (a.err)
2692
- return a;
2693
- i.push(a.val);
2653
+ return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2654
+ } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2655
+ var u = this.parseTag(t, r);
2656
+ if (u.err)
2657
+ return u;
2658
+ i.push(u.val);
2694
2659
  } else {
2695
- var a = this.parseLiteral(t, r);
2696
- if (a.err)
2697
- return a;
2698
- i.push(a.val);
2660
+ var u = this.parseLiteral(t, r);
2661
+ if (u.err)
2662
+ return u;
2663
+ i.push(u.val);
2699
2664
  }
2700
2665
  }
2701
2666
  }
@@ -2717,27 +2682,27 @@ var On = (
2717
2682
  var s = this.parseMessage(t + 1, r, !0);
2718
2683
  if (s.err)
2719
2684
  return s;
2720
- var a = s.val, o = this.clonePosition();
2685
+ var u = s.val, o = this.clonePosition();
2721
2686
  if (this.bumpIf("</")) {
2722
- if (this.isEOF() || !je(this.char()))
2723
- return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2724
- var l = this.clonePosition(), u = this.parseTagName();
2725
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2687
+ if (this.isEOF() || !Ge(this.char()))
2688
+ return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2689
+ var l = this.clonePosition(), a = this.parseTagName();
2690
+ return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2726
2691
  val: {
2727
2692
  type: E.tag,
2728
2693
  value: i,
2729
- children: a,
2694
+ children: u,
2730
2695
  location: b(n, this.clonePosition())
2731
2696
  },
2732
2697
  err: null
2733
- } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2698
+ } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2734
2699
  } else
2735
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2700
+ return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2736
2701
  } else
2737
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2702
+ return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2738
2703
  }, e.prototype.parseTagName = function() {
2739
2704
  var t = this.offset();
2740
- for (this.bump(); !this.isEOF() && Ln(this.char()); )
2705
+ for (this.bump(); !this.isEOF() && xn(this.char()); )
2741
2706
  this.bump();
2742
2707
  return this.message.slice(t, this.offset());
2743
2708
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2747,9 +2712,9 @@ var On = (
2747
2712
  i += s;
2748
2713
  continue;
2749
2714
  }
2750
- var a = this.tryParseUnquoted(t, r);
2751
- if (a) {
2752
- i += a;
2715
+ var u = this.tryParseUnquoted(t, r);
2716
+ if (u) {
2717
+ i += u;
2753
2718
  continue;
2754
2719
  }
2755
2720
  var o = this.tryParseLeftAngleBracket();
@@ -2766,7 +2731,7 @@ var On = (
2766
2731
  };
2767
2732
  }, e.prototype.tryParseLeftAngleBracket = function() {
2768
2733
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2769
- !Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2734
+ !En(this.peek() || 0)) ? (this.bump(), "<") : null;
2770
2735
  }, e.prototype.tryParseQuote = function(t) {
2771
2736
  if (this.isEOF() || this.char() !== 39)
2772
2737
  return null;
@@ -2800,23 +2765,23 @@ var On = (
2800
2765
  r.push(n);
2801
2766
  this.bump();
2802
2767
  }
2803
- return Ge.apply(void 0, r);
2768
+ return Ue.apply(void 0, r);
2804
2769
  }, e.prototype.tryParseUnquoted = function(t, r) {
2805
2770
  if (this.isEOF())
2806
2771
  return null;
2807
2772
  var n = this.char();
2808
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2773
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2809
2774
  }, e.prototype.parseArgument = function(t, r) {
2810
2775
  var n = this.clonePosition();
2811
2776
  if (this.bump(), this.bumpSpace(), this.isEOF())
2812
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2777
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2813
2778
  if (this.char() === 125)
2814
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2779
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2815
2780
  var i = this.parseIdentifierIfPossible().value;
2816
2781
  if (!i)
2817
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2782
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2818
2783
  if (this.bumpSpace(), this.isEOF())
2819
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2784
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2820
2785
  switch (this.char()) {
2821
2786
  case 125:
2822
2787
  return this.bump(), {
@@ -2829,61 +2794,61 @@ var On = (
2829
2794
  err: null
2830
2795
  };
2831
2796
  case 44:
2832
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2797
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2833
2798
  default:
2834
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2799
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2835
2800
  }
2836
2801
  }, e.prototype.parseIdentifierIfPossible = function() {
2837
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2802
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2838
2803
  this.bumpTo(i);
2839
- var s = this.clonePosition(), a = b(t, s);
2840
- return { value: n, location: a };
2804
+ var s = this.clonePosition(), u = b(t, s);
2805
+ return { value: n, location: u };
2841
2806
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2842
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2807
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2843
2808
  switch (o) {
2844
2809
  case "":
2845
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2810
+ return this.error(p.EXPECT_ARGUMENT_TYPE, b(u, l));
2846
2811
  case "number":
2847
2812
  case "date":
2848
2813
  case "time": {
2849
2814
  this.bumpSpace();
2850
- var u = null;
2815
+ var a = null;
2851
2816
  if (this.bumpIf(",")) {
2852
2817
  this.bumpSpace();
2853
2818
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2854
2819
  if (f.err)
2855
2820
  return f;
2856
- var c = Cn(f.val);
2821
+ var c = _n(f.val);
2857
2822
  if (c.length === 0)
2858
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2859
- var p = b(h, this.clonePosition());
2860
- u = { style: c, styleLocation: p };
2823
+ return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2824
+ var d = b(h, this.clonePosition());
2825
+ a = { style: c, styleLocation: d };
2861
2826
  }
2862
2827
  var m = this.tryParseArgumentClose(i);
2863
2828
  if (m.err)
2864
2829
  return m;
2865
2830
  var g = b(i, this.clonePosition());
2866
- if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2867
- var v = An(u.style.slice(2));
2831
+ if (a && nt(a?.style, "::", 0)) {
2832
+ var v = gn(a.style.slice(2));
2868
2833
  if (o === "number") {
2869
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
2834
+ var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2870
2835
  return f.err ? f : {
2871
2836
  val: { type: E.number, value: n, location: g, style: f.val },
2872
2837
  err: null
2873
2838
  };
2874
2839
  } else {
2875
2840
  if (v.length === 0)
2876
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2877
- var N = v;
2878
- this.locale && (N = dn(v, this.locale));
2841
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2842
+ var L = v;
2843
+ this.locale && (L = nn(v, this.locale));
2879
2844
  var c = {
2880
- type: V.dateTime,
2881
- pattern: N,
2882
- location: u.styleLocation,
2883
- parsedOptions: this.shouldParseSkeletons ? un(N) : {}
2884
- }, C = o === "date" ? E.date : E.time;
2845
+ type: k.dateTime,
2846
+ pattern: L,
2847
+ location: a.styleLocation,
2848
+ parsedOptions: this.shouldParseSkeletons ? qr(L) : {}
2849
+ }, A = o === "date" ? E.date : E.time;
2885
2850
  return {
2886
- val: { type: C, value: n, location: g, style: c },
2851
+ val: { type: A, value: n, location: g, style: c },
2887
2852
  err: null
2888
2853
  };
2889
2854
  }
@@ -2893,7 +2858,7 @@ var On = (
2893
2858
  type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2894
2859
  value: n,
2895
2860
  location: g,
2896
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2861
+ style: (s = a?.style) !== null && s !== void 0 ? s : null
2897
2862
  },
2898
2863
  err: null
2899
2864
  };
@@ -2903,50 +2868,50 @@ var On = (
2903
2868
  case "select": {
2904
2869
  var H = this.clonePosition();
2905
2870
  if (this.bumpSpace(), !this.bumpIf(","))
2906
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2871
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2907
2872
  this.bumpSpace();
2908
- var I = this.parseIdentifierIfPossible(), w = 0;
2909
- if (o !== "select" && I.value === "offset") {
2873
+ var N = this.parseIdentifierIfPossible(), T = 0;
2874
+ if (o !== "select" && N.value === "offset") {
2910
2875
  if (!this.bumpIf(":"))
2911
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2876
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2912
2877
  this.bumpSpace();
2913
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2878
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2914
2879
  if (f.err)
2915
2880
  return f;
2916
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
2881
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
2917
2882
  }
2918
- var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2919
- if (R.err)
2920
- return R;
2883
+ var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2884
+ if ($.err)
2885
+ return $;
2921
2886
  var m = this.tryParseArgumentClose(i);
2922
2887
  if (m.err)
2923
2888
  return m;
2924
- var se = b(i, this.clonePosition());
2889
+ var ie = b(i, this.clonePosition());
2925
2890
  return o === "select" ? {
2926
2891
  val: {
2927
2892
  type: E.select,
2928
2893
  value: n,
2929
- options: ft(R.val),
2930
- location: se
2894
+ options: it($.val),
2895
+ location: ie
2931
2896
  },
2932
2897
  err: null
2933
2898
  } : {
2934
2899
  val: {
2935
2900
  type: E.plural,
2936
2901
  value: n,
2937
- options: ft(R.val),
2938
- offset: w,
2902
+ options: it($.val),
2903
+ offset: T,
2939
2904
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2940
- location: se
2905
+ location: ie
2941
2906
  },
2942
2907
  err: null
2943
2908
  };
2944
2909
  }
2945
2910
  default:
2946
- return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2911
+ return this.error(p.INVALID_ARGUMENT_TYPE, b(u, l));
2947
2912
  }
2948
2913
  }, e.prototype.tryParseArgumentClose = function(t) {
2949
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2914
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2950
2915
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2951
2916
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2952
2917
  var n = this.char();
@@ -2955,7 +2920,7 @@ var On = (
2955
2920
  this.bump();
2956
2921
  var i = this.clonePosition();
2957
2922
  if (!this.bumpUntil("'"))
2958
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2923
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2959
2924
  this.bump();
2960
2925
  break;
2961
2926
  }
@@ -2985,64 +2950,64 @@ var On = (
2985
2950
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2986
2951
  var n = [];
2987
2952
  try {
2988
- n = ln(t);
2989
- } catch (i) {
2990
- return this.error(d.INVALID_NUMBER_SKELETON, r);
2953
+ n = Yr(t);
2954
+ } catch {
2955
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
2991
2956
  }
2992
2957
  return {
2993
2958
  val: {
2994
- type: V.number,
2959
+ type: k.number,
2995
2960
  tokens: n,
2996
2961
  location: r,
2997
- parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
2962
+ parsedOptions: this.shouldParseSkeletons ? rn(n) : {}
2998
2963
  },
2999
2964
  err: null
3000
2965
  };
3001
2966
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3002
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3003
- if (u.length === 0) {
2967
+ for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2968
+ if (a.length === 0) {
3004
2969
  var f = this.clonePosition();
3005
2970
  if (r !== "select" && this.bumpIf("=")) {
3006
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2971
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3007
2972
  if (c.err)
3008
2973
  return c;
3009
- h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2974
+ h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
3010
2975
  } else
3011
2976
  break;
3012
2977
  }
3013
- if (l.has(u))
3014
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3015
- u === "other" && (a = !0), this.bumpSpace();
3016
- var p = this.clonePosition();
2978
+ if (l.has(a))
2979
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2980
+ a === "other" && (u = !0), this.bumpSpace();
2981
+ var d = this.clonePosition();
3017
2982
  if (!this.bumpIf("{"))
3018
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2983
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3019
2984
  var m = this.parseMessage(t + 1, r, n);
3020
2985
  if (m.err)
3021
2986
  return m;
3022
- var g = this.tryParseArgumentClose(p);
2987
+ var g = this.tryParseArgumentClose(d);
3023
2988
  if (g.err)
3024
2989
  return g;
3025
2990
  o.push([
3026
- u,
2991
+ a,
3027
2992
  {
3028
2993
  value: m.val,
3029
- location: b(p, this.clonePosition())
2994
+ location: b(d, this.clonePosition())
3030
2995
  }
3031
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2996
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3032
2997
  }
3033
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2998
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3034
2999
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3035
3000
  var n = 1, i = this.clonePosition();
3036
3001
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3037
- for (var s = !1, a = 0; !this.isEOF(); ) {
3002
+ for (var s = !1, u = 0; !this.isEOF(); ) {
3038
3003
  var o = this.char();
3039
3004
  if (o >= 48 && o <= 57)
3040
- s = !0, a = a * 10 + (o - 48), this.bump();
3005
+ s = !0, u = u * 10 + (o - 48), this.bump();
3041
3006
  else
3042
3007
  break;
3043
3008
  }
3044
3009
  var l = b(i, this.clonePosition());
3045
- return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3010
+ return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3046
3011
  }, e.prototype.offset = function() {
3047
3012
  return this.position.offset;
3048
3013
  }, e.prototype.isEOF = function() {
@@ -3057,7 +3022,7 @@ var On = (
3057
3022
  var t = this.position.offset;
3058
3023
  if (t >= this.message.length)
3059
3024
  throw Error("out of bound");
3060
- var r = Wt(this.message, t);
3025
+ var r = Gt(this.message, t);
3061
3026
  if (r === void 0)
3062
3027
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3063
3028
  return r;
@@ -3076,7 +3041,7 @@ var On = (
3076
3041
  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);
3077
3042
  }
3078
3043
  }, e.prototype.bumpIf = function(t) {
3079
- if (lt(this.message, t, this.offset())) {
3044
+ if (nt(this.message, t, this.offset())) {
3080
3045
  for (var r = 0; r < t.length; r++)
3081
3046
  this.bump();
3082
3047
  return !0;
@@ -3098,56 +3063,56 @@ var On = (
3098
3063
  break;
3099
3064
  }
3100
3065
  }, e.prototype.bumpSpace = function() {
3101
- for (; !this.isEOF() && Qt(this.char()); )
3066
+ for (; !this.isEOF() && jt(this.char()); )
3102
3067
  this.bump();
3103
3068
  }, e.prototype.peek = function() {
3104
3069
  if (this.isEOF())
3105
3070
  return null;
3106
3071
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3107
- return n != null ? n : null;
3072
+ return n ?? null;
3108
3073
  }, e;
3109
3074
  }()
3110
3075
  );
3111
- function je(e) {
3076
+ function Ge(e) {
3112
3077
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3113
3078
  }
3114
- function Pn(e) {
3115
- return je(e) || e === 47;
3079
+ function En(e) {
3080
+ return Ge(e) || e === 47;
3116
3081
  }
3117
- function Ln(e) {
3082
+ function xn(e) {
3118
3083
  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;
3119
3084
  }
3120
- function Qt(e) {
3085
+ function jt(e) {
3121
3086
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3122
3087
  }
3123
- function Nn(e) {
3088
+ function vn(e) {
3124
3089
  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;
3125
3090
  }
3126
- function ke(e) {
3091
+ function Fe(e) {
3127
3092
  e.forEach(function(t) {
3128
- if (delete t.location, Dt(t) || Gt(t))
3093
+ if (delete t.location, Lt(t) || Nt(t))
3129
3094
  for (var r in t.options)
3130
- delete t.options[r].location, ke(t.options[r].value);
3131
- else $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ue(t.style) ? delete t.style.location : Ft(t) && ke(t.children);
3095
+ delete t.options[r].location, Fe(t.options[r].value);
3096
+ else Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3132
3097
  });
3133
3098
  }
3134
- function In(e, t) {
3099
+ function Hn(e, t) {
3135
3100
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
- var r = new On(e, t).parse();
3101
+ var r = new yn(e, t).parse();
3137
3102
  if (r.err) {
3138
- var n = SyntaxError(d[r.err.kind]);
3103
+ var n = SyntaxError(p[r.err.kind]);
3139
3104
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3140
3105
  }
3141
- return t != null && t.captureLocation || ke(r.val), r.val;
3106
+ return t?.captureLocation || Fe(r.val), r.val;
3142
3107
  }
3143
- var X;
3108
+ var V;
3144
3109
  (function(e) {
3145
3110
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3146
- })(X || (X = {}));
3147
- var ye = (
3111
+ })(V || (V = {}));
3112
+ var _e = (
3148
3113
  /** @class */
3149
3114
  function(e) {
3150
- _e(t, e);
3115
+ ge(t, e);
3151
3116
  function t(r, n, i) {
3152
3117
  var s = e.call(this, r) || this;
3153
3118
  return s.code = n, s.originalMessage = i, s;
@@ -3156,64 +3121,64 @@ var ye = (
3156
3121
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3157
3122
  }, t;
3158
3123
  }(Error)
3159
- ), mt = (
3124
+ ), ot = (
3160
3125
  /** @class */
3161
3126
  function(e) {
3162
- _e(t, e);
3127
+ ge(t, e);
3163
3128
  function t(r, n, i, s) {
3164
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3129
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3165
3130
  }
3166
3131
  return t;
3167
- }(ye)
3168
- ), Mn = (
3132
+ }(_e)
3133
+ ), Bn = (
3169
3134
  /** @class */
3170
3135
  function(e) {
3171
- _e(t, e);
3136
+ ge(t, e);
3172
3137
  function t(r, n, i) {
3173
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3138
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3174
3139
  }
3175
3140
  return t;
3176
- }(ye)
3177
- ), $n = (
3141
+ }(_e)
3142
+ ), Tn = (
3178
3143
  /** @class */
3179
3144
  function(e) {
3180
- _e(t, e);
3145
+ ge(t, e);
3181
3146
  function t(r, n) {
3182
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3147
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3183
3148
  }
3184
3149
  return t;
3185
- }(ye)
3150
+ }(_e)
3186
3151
  ), x;
3187
3152
  (function(e) {
3188
3153
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3189
3154
  })(x || (x = {}));
3190
- function Rn(e) {
3155
+ function wn(e) {
3191
3156
  return e.length < 2 ? e : e.reduce(function(t, r) {
3192
3157
  var n = t[t.length - 1];
3193
3158
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3194
3159
  }, []);
3195
3160
  }
3196
- function Un(e) {
3161
+ function Sn(e) {
3197
3162
  return typeof e == "function";
3198
3163
  }
3199
- function fe(e, t, r, n, i, s, a) {
3200
- if (e.length === 1 && ot(e[0]))
3164
+ function le(e, t, r, n, i, s, u) {
3165
+ if (e.length === 1 && Ke(e[0]))
3201
3166
  return [
3202
3167
  {
3203
3168
  type: x.literal,
3204
3169
  value: e[0].value
3205
3170
  }
3206
3171
  ];
3207
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3208
- var h = u[l];
3209
- if (ot(h)) {
3172
+ for (var o = [], l = 0, a = e; l < a.length; l++) {
3173
+ var h = a[l];
3174
+ if (Ke(h)) {
3210
3175
  o.push({
3211
3176
  type: x.literal,
3212
3177
  value: h.value
3213
3178
  });
3214
3179
  continue;
3215
3180
  }
3216
- if (on(h)) {
3181
+ if (Zr(h)) {
3217
3182
  typeof s == "number" && o.push({
3218
3183
  type: x.literal,
3219
3184
  value: r.getNumberFormat(t).format(s)
@@ -3222,89 +3187,89 @@ function fe(e, t, r, n, i, s, a) {
3222
3187
  }
3223
3188
  var f = h.value;
3224
3189
  if (!(i && f in i))
3225
- throw new $n(f, a);
3190
+ throw new Tn(f, u);
3226
3191
  var c = i[f];
3227
- if (sn(h)) {
3192
+ if (Wr(h)) {
3228
3193
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3229
3194
  type: typeof c == "string" ? x.literal : x.object,
3230
3195
  value: c
3231
3196
  });
3232
3197
  continue;
3233
3198
  }
3234
- if (Rt(h)) {
3235
- var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3199
+ if (Ot(h)) {
3200
+ var d = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3236
3201
  o.push({
3237
3202
  type: x.literal,
3238
- value: r.getDateTimeFormat(t, p).format(c)
3203
+ value: r.getDateTimeFormat(t, d).format(c)
3239
3204
  });
3240
3205
  continue;
3241
3206
  }
3242
- if (Ut(h)) {
3243
- var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3207
+ if (Pt(h)) {
3208
+ var d = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3244
3209
  o.push({
3245
3210
  type: x.literal,
3246
- value: r.getDateTimeFormat(t, p).format(c)
3211
+ value: r.getDateTimeFormat(t, d).format(c)
3247
3212
  });
3248
3213
  continue;
3249
3214
  }
3250
- if ($t(h)) {
3251
- var p = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
3252
- p && p.scale && (c = c * (p.scale || 1)), o.push({
3215
+ if (Ct(h)) {
3216
+ var d = typeof h.style == "string" ? n.number[h.style] : Mt(h.style) ? h.style.parsedOptions : void 0;
3217
+ d && d.scale && (c = c * (d.scale || 1)), o.push({
3253
3218
  type: x.literal,
3254
- value: r.getNumberFormat(t, p).format(c)
3219
+ value: r.getNumberFormat(t, d).format(c)
3255
3220
  });
3256
3221
  continue;
3257
3222
  }
3258
- if (Ft(h)) {
3223
+ if (It(h)) {
3259
3224
  var m = h.children, g = h.value, v = i[g];
3260
- if (!Un(v))
3261
- throw new Mn(g, "function", a);
3262
- var N = fe(m, t, r, n, i, s), C = v(N.map(function(w) {
3263
- return w.value;
3225
+ if (!Sn(v))
3226
+ throw new Bn(g, "function", u);
3227
+ var L = le(m, t, r, n, i, s), A = v(L.map(function(T) {
3228
+ return T.value;
3264
3229
  }));
3265
- Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(w) {
3230
+ Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(T) {
3266
3231
  return {
3267
- type: typeof w == "string" ? x.literal : x.object,
3268
- value: w
3232
+ type: typeof T == "string" ? x.literal : x.object,
3233
+ value: T
3269
3234
  };
3270
3235
  }));
3271
3236
  }
3272
- if (Dt(h)) {
3237
+ if (Lt(h)) {
3273
3238
  var H = h.options[c] || h.options.other;
3274
3239
  if (!H)
3275
- throw new mt(h.value, c, Object.keys(h.options), a);
3276
- o.push.apply(o, fe(H.value, t, r, n, i));
3240
+ throw new ot(h.value, c, Object.keys(h.options), u);
3241
+ o.push.apply(o, le(H.value, t, r, n, i));
3277
3242
  continue;
3278
3243
  }
3279
- if (Gt(h)) {
3244
+ if (Nt(h)) {
3280
3245
  var H = h.options["=".concat(c)];
3281
3246
  if (!H) {
3282
3247
  if (!Intl.PluralRules)
3283
- throw new ye(`Intl.PluralRules is not available in this environment.
3248
+ throw new _e(`Intl.PluralRules is not available in this environment.
3284
3249
  Try polyfilling it using "@formatjs/intl-pluralrules"
3285
- `, X.MISSING_INTL_API, a);
3286
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3287
- H = h.options[I] || h.options.other;
3250
+ `, V.MISSING_INTL_API, u);
3251
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3252
+ H = h.options[N] || h.options.other;
3288
3253
  }
3289
3254
  if (!H)
3290
- throw new mt(h.value, c, Object.keys(h.options), a);
3291
- o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
3255
+ throw new ot(h.value, c, Object.keys(h.options), u);
3256
+ o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
3292
3257
  continue;
3293
3258
  }
3294
3259
  }
3295
- return Rn(o);
3260
+ return wn(o);
3296
3261
  }
3297
- function Dn(e, t) {
3262
+ function An(e, t) {
3298
3263
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3299
3264
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3300
3265
  }, {})) : e;
3301
3266
  }
3302
- function Gn(e, t) {
3267
+ function Cn(e, t) {
3303
3268
  return t ? Object.keys(e).reduce(function(r, n) {
3304
- return r[n] = Dn(e[n], t[n]), r;
3269
+ return r[n] = An(e[n], t[n]), r;
3305
3270
  }, y({}, e)) : e;
3306
3271
  }
3307
- function Le(e) {
3272
+ function Oe(e) {
3308
3273
  return {
3309
3274
  create: function() {
3310
3275
  return {
@@ -3318,39 +3283,39 @@ function Le(e) {
3318
3283
  }
3319
3284
  };
3320
3285
  }
3321
- function Fn(e) {
3286
+ function On(e) {
3322
3287
  return e === void 0 && (e = {
3323
3288
  number: {},
3324
3289
  dateTime: {},
3325
3290
  pluralRules: {}
3326
3291
  }), {
3327
- getNumberFormat: Ce(function() {
3292
+ getNumberFormat: Se(function() {
3328
3293
  for (var t, r = [], n = 0; n < arguments.length; n++)
3329
3294
  r[n] = arguments[n];
3330
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3295
+ return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3331
3296
  }, {
3332
- cache: Le(e.number),
3333
- strategy: Oe.variadic
3297
+ cache: Oe(e.number),
3298
+ strategy: Ae.variadic
3334
3299
  }),
3335
- getDateTimeFormat: Ce(function() {
3300
+ getDateTimeFormat: Se(function() {
3336
3301
  for (var t, r = [], n = 0; n < arguments.length; n++)
3337
3302
  r[n] = arguments[n];
3338
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3303
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3339
3304
  }, {
3340
- cache: Le(e.dateTime),
3341
- strategy: Oe.variadic
3305
+ cache: Oe(e.dateTime),
3306
+ strategy: Ae.variadic
3342
3307
  }),
3343
- getPluralRules: Ce(function() {
3308
+ getPluralRules: Se(function() {
3344
3309
  for (var t, r = [], n = 0; n < arguments.length; n++)
3345
3310
  r[n] = arguments[n];
3346
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3311
+ return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3347
3312
  }, {
3348
- cache: Le(e.pluralRules),
3349
- strategy: Oe.variadic
3313
+ cache: Oe(e.pluralRules),
3314
+ strategy: Ae.variadic
3350
3315
  })
3351
3316
  };
3352
3317
  }
3353
- var qt = (
3318
+ var kt = (
3354
3319
  /** @class */
3355
3320
  function() {
3356
3321
  function e(t, r, n, i) {
@@ -3361,15 +3326,15 @@ var qt = (
3361
3326
  dateTime: {},
3362
3327
  pluralRules: {}
3363
3328
  }, this.format = function(l) {
3364
- var u = s.formatToParts(l);
3365
- if (u.length === 1)
3366
- return u[0].value;
3367
- var h = u.reduce(function(f, c) {
3329
+ var a = s.formatToParts(l);
3330
+ if (a.length === 1)
3331
+ return a[0].value;
3332
+ var h = a.reduce(function(f, c) {
3368
3333
  return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3369
3334
  }, []);
3370
3335
  return h.length <= 1 ? h[0] || "" : h;
3371
3336
  }, this.formatToParts = function(l) {
3372
- return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3337
+ return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3373
3338
  }, this.resolvedOptions = function() {
3374
3339
  var l;
3375
3340
  return {
@@ -3380,15 +3345,15 @@ var qt = (
3380
3345
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3381
3346
  if (this.message = t, !e.__parse)
3382
3347
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3383
- var a = i || {};
3384
- a.formatters;
3385
- var o = Jr(a, ["formatters"]);
3348
+ var u = i || {};
3349
+ u.formatters;
3350
+ var o = Dr(u, ["formatters"]);
3386
3351
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3387
3352
  } else
3388
3353
  this.ast = t;
3389
3354
  if (!Array.isArray(this.ast))
3390
3355
  throw new TypeError("A message must be provided as a String or AST.");
3391
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3356
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3392
3357
  }
3393
3358
  return Object.defineProperty(e, "defaultLocale", {
3394
3359
  get: function() {
@@ -3397,11 +3362,11 @@ var qt = (
3397
3362
  enumerable: !1,
3398
3363
  configurable: !0
3399
3364
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3400
- if (typeof Intl.Locale != "undefined") {
3365
+ if (!(typeof Intl.Locale > "u")) {
3401
3366
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3402
3367
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3403
3368
  }
3404
- }, e.__parse = In, e.formats = {
3369
+ }, e.__parse = Hn, e.formats = {
3405
3370
  number: {
3406
3371
  integer: {
3407
3372
  maximumFractionDigits: 0
@@ -3462,7 +3427,7 @@ var qt = (
3462
3427
  }, e;
3463
3428
  }()
3464
3429
  );
3465
- function jn(e, t) {
3430
+ function Pn(e, t) {
3466
3431
  if (t == null)
3467
3432
  return;
3468
3433
  if (t in e)
@@ -3483,101 +3448,101 @@ function jn(e, t) {
3483
3448
  n = void 0;
3484
3449
  return n;
3485
3450
  }
3486
- const O = {}, kn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
3451
+ const C = {}, Ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3487
3452
  if (t == null)
3488
3453
  return;
3489
- if (t in O && e in O[t])
3490
- return O[t][e];
3491
- const r = ie(t);
3454
+ if (t in C && e in C[t])
3455
+ return C[t][e];
3456
+ const r = ne(t);
3492
3457
  for (let n = 0; n < r.length; n++) {
3493
- const i = r[n], s = Xn(i, e);
3458
+ const i = r[n], s = In(i, e);
3494
3459
  if (s)
3495
- return kn(e, t, s);
3460
+ return Ln(e, t, s);
3496
3461
  }
3497
3462
  };
3498
- let qe;
3499
- const ne = ge({});
3500
- function Vn(e) {
3501
- return qe[e] || null;
3463
+ let We;
3464
+ const re = be({});
3465
+ function Nn(e) {
3466
+ return We[e] || null;
3502
3467
  }
3503
- function Yt(e) {
3504
- return e in qe;
3468
+ function Xt(e) {
3469
+ return e in We;
3505
3470
  }
3506
- function Xn(e, t) {
3507
- if (!Yt(e))
3471
+ function In(e, t) {
3472
+ if (!Xt(e))
3508
3473
  return null;
3509
- const r = Vn(e);
3510
- return jn(r, t);
3474
+ const r = Nn(e);
3475
+ return Pn(r, t);
3511
3476
  }
3512
- function zn(e) {
3477
+ function Mn(e) {
3513
3478
  if (e == null)
3514
3479
  return;
3515
- const t = ie(e);
3480
+ const t = ne(e);
3516
3481
  for (let r = 0; r < t.length; r++) {
3517
3482
  const n = t[r];
3518
- if (Yt(n))
3483
+ if (Xt(n))
3519
3484
  return n;
3520
3485
  }
3521
3486
  }
3522
- function Kt(e, ...t) {
3523
- delete O[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3487
+ function zt(e, ...t) {
3488
+ delete C[e], re.update((r) => (r[e] = Ur.all([r[e] || {}, ...t]), r));
3524
3489
  }
3525
- Q(
3526
- [ne],
3490
+ Z(
3491
+ [re],
3527
3492
  ([e]) => Object.keys(e)
3528
3493
  );
3529
- ne.subscribe((e) => qe = e);
3530
- const ce = {};
3531
- function Wn(e, t) {
3532
- ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3494
+ re.subscribe((e) => We = e);
3495
+ const fe = {};
3496
+ function $n(e, t) {
3497
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3533
3498
  }
3534
- function er(e) {
3535
- return ce[e];
3499
+ function Wt(e) {
3500
+ return fe[e];
3536
3501
  }
3537
- function Zn(e) {
3538
- return ie(e).map((t) => {
3539
- const r = er(t);
3502
+ function Rn(e) {
3503
+ return ne(e).map((t) => {
3504
+ const r = Wt(t);
3540
3505
  return [t, r ? [...r] : []];
3541
3506
  }).filter(([, t]) => t.length > 0);
3542
3507
  }
3543
- function pe(e) {
3544
- return e == null ? !1 : ie(e).some(
3508
+ function me(e) {
3509
+ return e == null ? !1 : ne(e).some(
3545
3510
  (t) => {
3546
3511
  var r;
3547
- return (r = er(t)) == null ? void 0 : r.size;
3512
+ return (r = Wt(t)) == null ? void 0 : r.size;
3548
3513
  }
3549
3514
  );
3550
3515
  }
3551
- function Qn(e, t) {
3516
+ function Un(e, t) {
3552
3517
  return Promise.all(
3553
- t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3554
- ).then((n) => Kt(e, ...n));
3555
- }
3556
- const J = {};
3557
- function tr(e) {
3558
- if (!pe(e))
3559
- return e in J ? J[e] : Promise.resolve();
3560
- const t = Zn(e);
3561
- return J[e] = Promise.all(
3518
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3519
+ ).then((n) => zt(e, ...n));
3520
+ }
3521
+ const q = {};
3522
+ function Zt(e) {
3523
+ if (!me(e))
3524
+ return e in q ? q[e] : Promise.resolve();
3525
+ const t = Rn(e);
3526
+ return q[e] = Promise.all(
3562
3527
  t.map(
3563
- ([r, n]) => Qn(r, n)
3528
+ ([r, n]) => Un(r, n)
3564
3529
  )
3565
3530
  ).then(() => {
3566
- if (pe(e))
3567
- return tr(e);
3568
- delete J[e];
3569
- }), J[e];
3531
+ if (me(e))
3532
+ return Zt(e);
3533
+ delete q[e];
3534
+ }), q[e];
3570
3535
  }
3571
- var pt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3536
+ var at = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
3572
3537
  var r = {};
3573
3538
  for (var n in e)
3574
- qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3575
- if (e != null && pt)
3576
- for (var n of pt(e))
3577
- t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3539
+ Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3540
+ if (e != null && at)
3541
+ for (var n of at(e))
3542
+ t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
3578
3543
  return r;
3579
3544
  };
3580
- const Kn = {
3545
+ const jn = {
3581
3546
  number: {
3582
3547
  scientific: { notation: "scientific" },
3583
3548
  engineering: { notation: "engineering" },
@@ -3607,174 +3572,174 @@ const Kn = {
3607
3572
  }
3608
3573
  }
3609
3574
  };
3610
- function ei({ locale: e, id: t }) {
3575
+ function kn({ locale: e, id: t }) {
3611
3576
  console.warn(
3612
- `[svelte-i18n] The message "${t}" was not found in "${ie(
3577
+ `[svelte-i18n] The message "${t}" was not found in "${ne(
3613
3578
  e
3614
- ).join('", "')}".${pe(L()) ? `
3579
+ ).join('", "')}".${me(P()) ? `
3615
3580
 
3616
3581
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3617
3582
  );
3618
3583
  }
3619
- const ti = {
3584
+ const Vn = {
3620
3585
  fallbackLocale: null,
3621
3586
  loadingDelay: 200,
3622
- formats: Kn,
3587
+ formats: jn,
3623
3588
  warnOnMissingMessages: !0,
3624
3589
  handleMissingMessage: void 0,
3625
3590
  ignoreTag: !0
3626
- }, Y = ti;
3627
- function z() {
3628
- return Y;
3591
+ }, J = Vn;
3592
+ function X() {
3593
+ return J;
3629
3594
  }
3630
- function ri(e) {
3631
- const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
3595
+ function Xn(e) {
3596
+ const t = e, { formats: r } = t, n = Fn(t, ["formats"]);
3632
3597
  let i = e.fallbackLocale;
3633
3598
  if (e.initialLocale)
3634
3599
  try {
3635
- qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3636
- } catch (s) {
3600
+ kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3601
+ } catch {
3637
3602
  console.warn(
3638
3603
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3639
3604
  );
3640
3605
  }
3641
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
3606
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = kn : console.warn(
3642
3607
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3643
- )), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), $.set(i);
3644
- }
3645
- const Ne = ge(!1);
3646
- var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3647
- for (var r in t || (t = {}))
3648
- oi.call(t, r) && bt(e, r, t[r]);
3649
- if (dt)
3650
- for (var r of dt(t))
3651
- ai.call(t, r) && bt(e, r, t[r]);
3608
+ )), 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)), M.set(i);
3609
+ }
3610
+ const Pe = be(!1);
3611
+ var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3612
+ for (var r in t)
3613
+ Qn.call(t, r) && ht(e, r, t[r]);
3614
+ if (ut)
3615
+ for (var r of ut(t))
3616
+ qn.call(t, r) && ht(e, r, t[r]);
3652
3617
  return e;
3653
- }, hi = (e, t) => ii(e, si(t));
3654
- let Ve;
3655
- const de = ge(null);
3656
- function gt(e) {
3618
+ }, Yn = (e, t) => Wn(e, Zn(t));
3619
+ let je;
3620
+ const de = be(null);
3621
+ function lt(e) {
3657
3622
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3658
3623
  }
3659
- function ie(e, t = z().fallbackLocale) {
3660
- const r = gt(e);
3661
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3624
+ function ne(e, t = X().fallbackLocale) {
3625
+ const r = lt(e);
3626
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3662
3627
  }
3663
- function L() {
3664
- return Ve != null ? Ve : void 0;
3628
+ function P() {
3629
+ return je ?? void 0;
3665
3630
  }
3666
3631
  de.subscribe((e) => {
3667
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3632
+ je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3668
3633
  });
3669
- const li = (e) => {
3670
- if (e && zn(e) && pe(e)) {
3671
- const { loadingDelay: t } = z();
3634
+ const Kn = (e) => {
3635
+ if (e && Mn(e) && me(e)) {
3636
+ const { loadingDelay: t } = X();
3672
3637
  let r;
3673
- return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3674
- () => Ne.set(!0),
3638
+ return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3639
+ () => Pe.set(!0),
3675
3640
  t
3676
- ) : Ne.set(!0), tr(e).then(() => {
3641
+ ) : Pe.set(!0), Zt(e).then(() => {
3677
3642
  de.set(e);
3678
3643
  }).finally(() => {
3679
- clearTimeout(r), Ne.set(!1);
3644
+ clearTimeout(r), Pe.set(!1);
3680
3645
  });
3681
3646
  }
3682
3647
  return de.set(e);
3683
- }, $ = hi(ui({}, de), {
3684
- set: li
3685
- }), Ee = (e) => {
3648
+ }, M = Yn(Jn({}, de), {
3649
+ set: Kn
3650
+ }), ye = (e) => {
3686
3651
  const t = /* @__PURE__ */ Object.create(null);
3687
3652
  return (n) => {
3688
3653
  const i = JSON.stringify(n);
3689
3654
  return i in t ? t[i] : t[i] = e(n);
3690
3655
  };
3691
3656
  };
3692
- var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3657
+ var ei = Object.defineProperty, pe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3693
3658
  for (var r in t || (t = {}))
3694
- rr.call(t, r) && _t(e, r, t[r]);
3695
- if (be)
3696
- for (var r of be(t))
3697
- nr.call(t, r) && _t(e, r, t[r]);
3659
+ Qt.call(t, r) && ft(e, r, t[r]);
3660
+ if (pe)
3661
+ for (var r of pe(t))
3662
+ qt.call(t, r) && ft(e, r, t[r]);
3698
3663
  return e;
3699
- }, q = (e, t) => {
3664
+ }, Q = (e, t) => {
3700
3665
  var r = {};
3701
3666
  for (var n in e)
3702
- rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3703
- if (e != null && be)
3704
- for (var n of be(e))
3705
- t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3667
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3668
+ if (e != null && pe)
3669
+ for (var n of pe(e))
3670
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3706
3671
  return r;
3707
3672
  };
3708
- const te = (e, t) => {
3709
- const { formats: r } = z();
3673
+ const ee = (e, t) => {
3674
+ const { formats: r } = X();
3710
3675
  if (e in r && t in r[e])
3711
3676
  return r[e][t];
3712
3677
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3713
- }, ci = Ee(
3678
+ }, ti = ye(
3714
3679
  (e) => {
3715
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3680
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3716
3681
  if (r == null)
3717
3682
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3718
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3683
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3719
3684
  }
3720
- ), mi = Ee(
3685
+ ), ri = ye(
3721
3686
  (e) => {
3722
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3687
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3723
3688
  if (r == null)
3724
3689
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3725
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3690
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3726
3691
  }
3727
- ), pi = Ee(
3692
+ ), ni = ye(
3728
3693
  (e) => {
3729
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3694
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3730
3695
  if (r == null)
3731
3696
  throw new Error(
3732
3697
  '[svelte-i18n] A "locale" must be set to format time values'
3733
3698
  );
3734
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3699
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3735
3700
  }
3736
- ), di = (e = {}) => {
3701
+ ), ii = (e = {}) => {
3737
3702
  var t = e, {
3738
- locale: r = L()
3739
- } = t, n = q(t, [
3703
+ locale: r = P()
3704
+ } = t, n = Q(t, [
3740
3705
  "locale"
3741
3706
  ]);
3742
- return ci(Je({ locale: r }, n));
3743
- }, bi = (e = {}) => {
3707
+ return ti(Ze({ locale: r }, n));
3708
+ }, si = (e = {}) => {
3744
3709
  var t = e, {
3745
- locale: r = L()
3746
- } = t, n = q(t, [
3710
+ locale: r = P()
3711
+ } = t, n = Q(t, [
3747
3712
  "locale"
3748
3713
  ]);
3749
- return mi(Je({ locale: r }, n));
3750
- }, gi = (e = {}) => {
3714
+ return ri(Ze({ locale: r }, n));
3715
+ }, oi = (e = {}) => {
3751
3716
  var t = e, {
3752
- locale: r = L()
3753
- } = t, n = q(t, [
3717
+ locale: r = P()
3718
+ } = t, n = Q(t, [
3754
3719
  "locale"
3755
3720
  ]);
3756
- return pi(Je({ locale: r }, n));
3757
- }, _i = Ee(
3721
+ return ni(Ze({ locale: r }, n));
3722
+ }, ai = ye(
3758
3723
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3759
- (e, t = L()) => new qt(e, t, z().formats, {
3760
- ignoreTag: z().ignoreTag
3724
+ (e, t = P()) => new kt(e, t, X().formats, {
3725
+ ignoreTag: X().ignoreTag
3761
3726
  })
3762
- ), yi = (e, t = {}) => {
3727
+ ), ui = (e, t = {}) => {
3763
3728
  var r, n, i, s;
3764
- let a = t;
3765
- typeof e == "object" && (a = e, e = a.id);
3729
+ let u = t;
3730
+ typeof e == "object" && (u = e, e = u.id);
3766
3731
  const {
3767
3732
  values: o,
3768
- locale: l = L(),
3769
- default: u
3770
- } = a;
3733
+ locale: l = P(),
3734
+ default: a
3735
+ } = u;
3771
3736
  if (l == null)
3772
3737
  throw new Error(
3773
3738
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3774
3739
  );
3775
- let h = Jt(e, l);
3740
+ let h = Vt(e, l);
3776
3741
  if (!h)
3777
- h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3742
+ h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3778
3743
  else if (typeof h != "string")
3779
3744
  return console.warn(
3780
3745
  `[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.`
@@ -3783,7 +3748,7 @@ const te = (e, t) => {
3783
3748
  return h;
3784
3749
  let f = h;
3785
3750
  try {
3786
- f = _i(h, l).format(o);
3751
+ f = ai(h, l).format(o);
3787
3752
  } catch (c) {
3788
3753
  c instanceof Error && console.warn(
3789
3754
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3791,20 +3756,20 @@ const te = (e, t) => {
3791
3756
  );
3792
3757
  }
3793
3758
  return f;
3794
- }, Ei = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), vi = (e, t) => di(t).format(e), Hi = (e, t = L()) => Jt(e, t), Bi = Q([$, ne], () => yi);
3795
- Q([$], () => Ei);
3796
- Q([$], () => xi);
3797
- Q([$], () => vi);
3798
- Q([$, ne], () => Hi);
3799
- function yt(e, t) {
3800
- Kt(e, t);
3801
- }
3802
- function Ti(e) {
3803
- ri({
3759
+ }, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) => Vt(e, t), mi = Z([M, re], () => ui);
3760
+ Z([M], () => hi);
3761
+ Z([M], () => li);
3762
+ Z([M], () => fi);
3763
+ Z([M, re], () => ci);
3764
+ function ct(e, t) {
3765
+ zt(e, t);
3766
+ }
3767
+ function di(e) {
3768
+ Xn({
3804
3769
  fallbackLocale: "en"
3805
- }), $.set(e);
3770
+ }), M.set(e);
3806
3771
  }
3807
- const Et = {
3772
+ const mt = {
3808
3773
  en: {
3809
3774
  header: {
3810
3775
  general: "Cashier",
@@ -3827,52 +3792,52 @@ const Et = {
3827
3792
  }
3828
3793
  }
3829
3794
  };
3830
- function wi(e) {
3831
- 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}");
3795
+ function pi(e) {
3796
+ ir(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}");
3832
3797
  }
3833
- const Si = (e) => ({}), xt = (e) => ({}), Ai = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({});
3834
- function Bt(e) {
3798
+ const bi = (e) => ({}), dt = (e) => ({}), gi = (e) => ({}), pt = (e) => ({}), _i = (e) => ({}), bt = (e) => ({});
3799
+ function gt(e) {
3835
3800
  let t, r, n;
3836
3801
  return {
3837
3802
  c() {
3838
- t = W("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>', Z(t, "class", "CashierHeaderLeftButton");
3803
+ 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");
3839
3804
  },
3840
3805
  m(i, s) {
3841
- M(i, t, s), r || (n = Pt(
3806
+ I(i, t, s), r || (n = Bt(
3842
3807
  t,
3843
3808
  "click",
3844
3809
  /*back*/
3845
3810
  e[6]
3846
3811
  ), r = !0);
3847
3812
  },
3848
- p: T,
3813
+ p: B,
3849
3814
  d(i) {
3850
- i && P(t), r = !1, n();
3815
+ i && O(t), r = !1, n();
3851
3816
  }
3852
3817
  };
3853
3818
  }
3854
- function Oi(e) {
3819
+ function yi(e) {
3855
3820
  let t, r = (
3856
3821
  /*backButton*/
3857
- e[1] && Bt(e)
3822
+ e[1] && gt(e)
3858
3823
  );
3859
3824
  return {
3860
3825
  c() {
3861
- r && r.c(), t = Ot();
3826
+ r && r.c(), t = Ht();
3862
3827
  },
3863
3828
  m(n, i) {
3864
- r && r.m(n, i), M(n, t, i);
3829
+ r && r.m(n, i), I(n, t, i);
3865
3830
  },
3866
3831
  p(n, i) {
3867
3832
  /*backButton*/
3868
- n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3833
+ n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3869
3834
  },
3870
3835
  d(n) {
3871
- n && P(t), r && r.d(n);
3836
+ n && O(t), r && r.d(n);
3872
3837
  }
3873
3838
  };
3874
3839
  }
3875
- function Pi(e) {
3840
+ function Ei(e) {
3876
3841
  let t, r = (
3877
3842
  /*$_*/
3878
3843
  e[4](
@@ -3882,10 +3847,10 @@ function Pi(e) {
3882
3847
  ), n;
3883
3848
  return {
3884
3849
  c() {
3885
- t = W("span"), n = ze(r), Z(t, "class", "CashierHeaderTitle");
3850
+ t = z("span"), n = Ve(r), W(t, "class", "CashierHeaderTitle");
3886
3851
  },
3887
3852
  m(i, s) {
3888
- M(i, t, s), me(t, n);
3853
+ I(i, t, s), ce(t, n);
3889
3854
  },
3890
3855
  p(i, s) {
3891
3856
  s & /*$_, titleText*/
@@ -3893,249 +3858,249 @@ function Pi(e) {
3893
3858
  i[4](
3894
3859
  /*titleText*/
3895
3860
  i[2]
3896
- ) + "") && Er(n, r);
3861
+ ) + "") && ur(n, r);
3897
3862
  },
3898
3863
  d(i) {
3899
- i && P(t);
3864
+ i && O(t);
3900
3865
  }
3901
3866
  };
3902
3867
  }
3903
- function Tt(e) {
3868
+ function _t(e) {
3904
3869
  let t, r, n;
3905
3870
  return {
3906
3871
  c() {
3907
- t = W("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>', Z(t, "class", "CashierHeaderRightButton");
3872
+ 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");
3908
3873
  },
3909
3874
  m(i, s) {
3910
- M(i, t, s), r || (n = Pt(
3875
+ I(i, t, s), r || (n = Bt(
3911
3876
  t,
3912
3877
  "click",
3913
3878
  /*close*/
3914
3879
  e[5]
3915
3880
  ), r = !0);
3916
3881
  },
3917
- p: T,
3882
+ p: B,
3918
3883
  d(i) {
3919
- i && P(t), r = !1, n();
3884
+ i && O(t), r = !1, n();
3920
3885
  }
3921
3886
  };
3922
3887
  }
3923
- function Li(e) {
3888
+ function xi(e) {
3924
3889
  let t, r = (
3925
3890
  /*closeButton*/
3926
- e[3] && Tt(e)
3891
+ e[3] && _t(e)
3927
3892
  );
3928
3893
  return {
3929
3894
  c() {
3930
- r && r.c(), t = Ot();
3895
+ r && r.c(), t = Ht();
3931
3896
  },
3932
3897
  m(n, i) {
3933
- r && r.m(n, i), M(n, t, i);
3898
+ r && r.m(n, i), I(n, t, i);
3934
3899
  },
3935
3900
  p(n, i) {
3936
3901
  /*closeButton*/
3937
- n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3902
+ n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3938
3903
  },
3939
3904
  d(n) {
3940
- n && P(t), r && r.d(n);
3905
+ n && O(t), r && r.d(n);
3941
3906
  }
3942
3907
  };
3943
3908
  }
3944
- function Ni(e) {
3909
+ function vi(e) {
3945
3910
  let t, r, n, i;
3946
3911
  const s = (
3947
3912
  /*#slots*/
3948
3913
  e[15].leftButton
3949
- ), a = ve(
3914
+ ), u = Ee(
3950
3915
  s,
3951
3916
  e,
3952
3917
  /*$$scope*/
3953
3918
  e[14],
3954
- Ht
3955
- ), o = a || Oi(e), l = (
3919
+ bt
3920
+ ), o = u || yi(e), l = (
3956
3921
  /*#slots*/
3957
3922
  e[15].title
3958
- ), u = ve(
3923
+ ), a = Ee(
3959
3924
  l,
3960
3925
  e,
3961
3926
  /*$$scope*/
3962
3927
  e[14],
3963
- vt
3964
- ), h = u || Pi(e), f = (
3928
+ pt
3929
+ ), h = a || Ei(e), f = (
3965
3930
  /*#slots*/
3966
3931
  e[15].rightButton
3967
- ), c = ve(
3932
+ ), c = Ee(
3968
3933
  f,
3969
3934
  e,
3970
3935
  /*$$scope*/
3971
3936
  e[14],
3972
- xt
3973
- ), p = c || Li(e);
3937
+ dt
3938
+ ), d = c || xi(e);
3974
3939
  return {
3975
3940
  c() {
3976
- t = W("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Z(t, "class", "CashierHeader");
3941
+ t = z("div"), o.c(), r = qe(), h.c(), n = qe(), d.c(), W(t, "class", "CashierHeader");
3977
3942
  },
3978
3943
  m(m, g) {
3979
- M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[16](t), i = !0;
3944
+ I(m, t, g), o.m(t, null), ce(t, r), h.m(t, null), ce(t, n), d.m(t, null), e[16](t), i = !0;
3980
3945
  },
3981
3946
  p(m, [g]) {
3982
- a ? a.p && (!i || g & /*$$scope*/
3983
- 16384) && Be(
3984
- a,
3947
+ u ? u.p && (!i || g & /*$$scope*/
3948
+ 16384) && ve(
3949
+ u,
3985
3950
  s,
3986
3951
  m,
3987
3952
  /*$$scope*/
3988
3953
  m[14],
3989
- i ? He(
3954
+ i ? xe(
3990
3955
  s,
3991
3956
  /*$$scope*/
3992
3957
  m[14],
3993
3958
  g,
3994
- Ci
3995
- ) : Te(
3959
+ _i
3960
+ ) : He(
3996
3961
  /*$$scope*/
3997
3962
  m[14]
3998
3963
  ),
3999
- Ht
4000
- ) : o && o.p && (!i || g & /*backButton*/
4001
- 2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
4002
- 16384) && Be(
4003
- u,
3964
+ bt
3965
+ ) : o.p && (!i || g & /*backButton*/
3966
+ 2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3967
+ 16384) && ve(
3968
+ a,
4004
3969
  l,
4005
3970
  m,
4006
3971
  /*$$scope*/
4007
3972
  m[14],
4008
- i ? He(
3973
+ i ? xe(
4009
3974
  l,
4010
3975
  /*$$scope*/
4011
3976
  m[14],
4012
3977
  g,
4013
- Ai
4014
- ) : Te(
3978
+ gi
3979
+ ) : He(
4015
3980
  /*$$scope*/
4016
3981
  m[14]
4017
3982
  ),
4018
- vt
4019
- ) : h && h.p && (!i || g & /*$_, titleText*/
3983
+ pt
3984
+ ) : h.p && (!i || g & /*$_, titleText*/
4020
3985
  20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4021
- 16384) && Be(
3986
+ 16384) && ve(
4022
3987
  c,
4023
3988
  f,
4024
3989
  m,
4025
3990
  /*$$scope*/
4026
3991
  m[14],
4027
- i ? He(
3992
+ i ? xe(
4028
3993
  f,
4029
3994
  /*$$scope*/
4030
3995
  m[14],
4031
3996
  g,
4032
- Si
4033
- ) : Te(
3997
+ bi
3998
+ ) : He(
4034
3999
  /*$$scope*/
4035
4000
  m[14]
4036
4001
  ),
4037
- xt
4038
- ) : p && p.p && (!i || g & /*closeButton*/
4039
- 8) && p.p(m, i ? g : -1);
4002
+ dt
4003
+ ) : d.p && (!i || g & /*closeButton*/
4004
+ 8) && d.p(m, i ? g : -1);
4040
4005
  },
4041
4006
  i(m) {
4042
- i || (he(o, m), he(h, m), he(p, m), i = !0);
4007
+ i || (ue(o, m), ue(h, m), ue(d, m), i = !0);
4043
4008
  },
4044
4009
  o(m) {
4045
- Se(o, m), Se(h, m), Se(p, m), i = !1;
4010
+ Te(o, m), Te(h, m), Te(d, m), i = !1;
4046
4011
  },
4047
4012
  d(m) {
4048
- m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4013
+ m && O(t), o.d(m), h.d(m), d.d(m), e[16](null);
4049
4014
  }
4050
4015
  };
4051
4016
  }
4052
- function Ii(e, t, r) {
4017
+ function Hi(e, t, r) {
4053
4018
  let n;
4054
- dr(e, Bi, (_) => r(4, n = _));
4055
- 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;
4056
- const N = () => {
4019
+ nr(e, mi, (_) => r(4, n = _));
4020
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, d, m = !1, g, v = !1;
4021
+ const L = () => {
4057
4022
  let _ = l;
4058
- _ && fetch(_).then((S) => S.json()).then((S) => {
4059
- Object.keys(S).forEach((U) => {
4060
- yt(U, S[U]);
4023
+ _ && fetch(_).then((w) => w.json()).then((w) => {
4024
+ Object.keys(w).forEach((R) => {
4025
+ ct(R, w[R]);
4061
4026
  });
4062
- }).catch((S) => {
4063
- console.log(S);
4027
+ }).catch((w) => {
4028
+ console.log(w);
4064
4029
  });
4065
4030
  };
4066
- Object.keys(Et).forEach((_) => {
4067
- yt(_, Et[_]);
4031
+ Object.keys(mt).forEach((_) => {
4032
+ ct(_, mt[_]);
4068
4033
  });
4069
- const C = () => {
4034
+ const A = () => {
4070
4035
  let _ = document.createElement("style");
4071
- _.innerHTML = a, p.appendChild(_);
4036
+ _.innerHTML = u, d.appendChild(_);
4072
4037
  }, H = () => {
4073
- let _ = new URL(o), S = document.createElement("style");
4074
- fetch(_.href).then((U) => U.text()).then((U) => {
4075
- S.innerHTML = U, setTimeout(
4038
+ let _ = new URL(o), w = document.createElement("style");
4039
+ fetch(_.href).then((R) => R.text()).then((R) => {
4040
+ w.innerHTML = R, setTimeout(
4076
4041
  () => {
4077
- p.appendChild(S);
4042
+ d.appendChild(w);
4078
4043
  },
4079
4044
  1
4080
4045
  );
4081
4046
  });
4082
- }, I = () => {
4083
- Ti(f);
4084
- }, w = () => {
4047
+ }, N = () => {
4048
+ di(f);
4049
+ }, T = () => {
4085
4050
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4086
- }, R = () => {
4051
+ }, $ = () => {
4087
4052
  window.postMessage({ type: "BackCashier" }, window.location.href);
4088
- }, se = () => {
4089
- r(1, m = !!u && u !== "false");
4090
- }, sr = () => {
4053
+ }, ie = () => {
4054
+ r(1, m = !!a && a !== "false");
4055
+ }, Yt = () => {
4091
4056
  r(3, v = !!c && c !== "false");
4092
- }, or = () => {
4057
+ }, Kt = () => {
4093
4058
  r(2, g = h || "header.general");
4094
4059
  };
4095
- function ar(_) {
4096
- Ie[_ ? "unshift" : "push"](() => {
4097
- p = _, r(0, p);
4060
+ function er(_) {
4061
+ Le[_ ? "unshift" : "push"](() => {
4062
+ d = _, r(0, d);
4098
4063
  });
4099
4064
  }
4100
4065
  return e.$$set = (_) => {
4101
- "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);
4066
+ "clientstyling" in _ && r(7, u = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.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);
4102
4067
  }, e.$$.update = () => {
4103
4068
  e.$$.dirty & /*lang*/
4104
- 4096 && f && I(), e.$$.dirty & /*lang, title*/
4105
- 6144 && f && h && or(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4106
- 129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4107
- 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4108
- 4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4109
- 1024 && u && se(), e.$$.dirty & /*showclosebutton*/
4110
- 8192 && c && sr();
4069
+ 4096 && f && N(), e.$$.dirty & /*lang, title*/
4070
+ 6144 && f && h && Kt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4071
+ 129 && u && d && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4072
+ 257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4073
+ 4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4074
+ 1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4075
+ 8192 && c && Yt();
4111
4076
  }, [
4112
- p,
4077
+ d,
4113
4078
  m,
4114
4079
  g,
4115
4080
  v,
4116
4081
  n,
4117
- w,
4118
- R,
4119
- a,
4082
+ T,
4083
+ $,
4084
+ u,
4120
4085
  o,
4121
4086
  l,
4122
- u,
4087
+ a,
4123
4088
  h,
4124
4089
  f,
4125
4090
  c,
4126
4091
  s,
4127
4092
  i,
4128
- ar
4093
+ er
4129
4094
  ];
4130
4095
  }
4131
- class ir extends Lr {
4096
+ class Jt extends Er {
4132
4097
  constructor(t) {
4133
- super(), Or(
4098
+ super(), _r(
4134
4099
  this,
4135
4100
  t,
4136
- Ii,
4137
- Ni,
4138
- St,
4101
+ Hi,
4102
+ vi,
4103
+ Et,
4139
4104
  {
4140
4105
  clientstyling: 7,
4141
4106
  clientstylingurl: 8,
@@ -4145,77 +4110,77 @@ class ir extends Lr {
4145
4110
  lang: 12,
4146
4111
  showclosebutton: 13
4147
4112
  },
4148
- wi
4113
+ pi
4149
4114
  );
4150
4115
  }
4151
4116
  get clientstyling() {
4152
4117
  return this.$$.ctx[7];
4153
4118
  }
4154
4119
  set clientstyling(t) {
4155
- this.$$set({ clientstyling: t }), A();
4120
+ this.$$set({ clientstyling: t }), S();
4156
4121
  }
4157
4122
  get clientstylingurl() {
4158
4123
  return this.$$.ctx[8];
4159
4124
  }
4160
4125
  set clientstylingurl(t) {
4161
- this.$$set({ clientstylingurl: t }), A();
4126
+ this.$$set({ clientstylingurl: t }), S();
4162
4127
  }
4163
4128
  get translationurl() {
4164
4129
  return this.$$.ctx[9];
4165
4130
  }
4166
4131
  set translationurl(t) {
4167
- this.$$set({ translationurl: t }), A();
4132
+ this.$$set({ translationurl: t }), S();
4168
4133
  }
4169
4134
  get showbackbutton() {
4170
4135
  return this.$$.ctx[10];
4171
4136
  }
4172
4137
  set showbackbutton(t) {
4173
- this.$$set({ showbackbutton: t }), A();
4138
+ this.$$set({ showbackbutton: t }), S();
4174
4139
  }
4175
4140
  get title() {
4176
4141
  return this.$$.ctx[11];
4177
4142
  }
4178
4143
  set title(t) {
4179
- this.$$set({ title: t }), A();
4144
+ this.$$set({ title: t }), S();
4180
4145
  }
4181
4146
  get lang() {
4182
4147
  return this.$$.ctx[12];
4183
4148
  }
4184
4149
  set lang(t) {
4185
- this.$$set({ lang: t }), A();
4150
+ this.$$set({ lang: t }), S();
4186
4151
  }
4187
4152
  get showclosebutton() {
4188
4153
  return this.$$.ctx[13];
4189
4154
  }
4190
4155
  set showclosebutton(t) {
4191
- this.$$set({ showclosebutton: t }), A();
4156
+ this.$$set({ showclosebutton: t }), S();
4192
4157
  }
4193
4158
  }
4194
- Pr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4195
- const Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4159
+ yr(Jt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4160
+ const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4196
4161
  __proto__: null,
4197
- default: ir
4162
+ default: Jt
4198
4163
  }, Symbol.toStringTag, { value: "Module" }));
4199
4164
  export {
4200
- $,
4201
- Ui as C,
4202
- Lr as S,
4203
- Kt as a,
4204
- Or as b,
4205
- Pr as c,
4206
- br as d,
4207
- W as e,
4208
- A as f,
4209
- nt as g,
4210
- Ri as h,
4211
- ri as i,
4212
- $i as j,
4213
- Z as k,
4214
- M as l,
4215
- me as m,
4216
- Pt as n,
4217
- T as o,
4218
- P as p,
4219
- Ie as q,
4220
- St as s
4165
+ M as $,
4166
+ wi as C,
4167
+ Er as S,
4168
+ zt as a,
4169
+ _r as b,
4170
+ yr as c,
4171
+ ir as d,
4172
+ z as e,
4173
+ S as f,
4174
+ qe as g,
4175
+ Ti as h,
4176
+ Xn as i,
4177
+ Bi as j,
4178
+ W as k,
4179
+ I as l,
4180
+ ce as m,
4181
+ Bt as n,
4182
+ B as o,
4183
+ O as p,
4184
+ Le as q,
4185
+ Et as s
4221
4186
  };