@everymatrix/cashier-header 1.46.1 → 1.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var or = Object.defineProperty, ar = Object.defineProperties;
|
|
2
|
+
var ur = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var qe = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ee = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
hr.call(t, r) && Ee(e, r, t[r]);
|
|
8
8
|
if (qe)
|
|
9
9
|
for (var r of qe(t))
|
|
10
|
-
|
|
10
|
+
lr.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, Ke = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, Ke = (e, t) => ar(e, ur(t));
|
|
13
|
+
var B = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function T() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function fr(e, t) {
|
|
33
33
|
for (const r in t) e[r] = t[r];
|
|
34
34
|
return (
|
|
35
35
|
/** @type {T & S} */
|
|
36
36
|
e
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function Tt(e) {
|
|
40
40
|
return e();
|
|
41
41
|
}
|
|
42
42
|
function tt() {
|
|
43
43
|
return /* @__PURE__ */ Object.create(null);
|
|
44
44
|
}
|
|
45
45
|
function te(e) {
|
|
46
|
-
e.forEach(
|
|
46
|
+
e.forEach(Tt);
|
|
47
47
|
}
|
|
48
48
|
function Ve(e) {
|
|
49
49
|
return typeof e == "function";
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function wt(e, t) {
|
|
52
52
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function cr(e) {
|
|
55
55
|
return Object.keys(e).length === 0;
|
|
56
56
|
}
|
|
57
57
|
function St(e, ...t) {
|
|
@@ -63,17 +63,17 @@ function St(e, ...t) {
|
|
|
63
63
|
const r = e.subscribe(...t);
|
|
64
64
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function mr(e, t, r) {
|
|
67
67
|
e.$$.on_destroy.push(St(t, r));
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function xe(e, t, r, n) {
|
|
70
70
|
if (e) {
|
|
71
|
-
const i =
|
|
71
|
+
const i = At(e, t, r, n);
|
|
72
72
|
return e[0](i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return e[1] && n ?
|
|
75
|
+
function At(e, t, r, n) {
|
|
76
|
+
return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
77
77
|
}
|
|
78
78
|
function ve(e, t, r, n) {
|
|
79
79
|
if (e[2] && n) {
|
|
@@ -92,7 +92,7 @@ function ve(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
function He(e, t, r, n, i, s) {
|
|
94
94
|
if (i) {
|
|
95
|
-
const a =
|
|
95
|
+
const a = At(t, r, n, s);
|
|
96
96
|
e.p(a, i);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -108,14 +108,14 @@ function Be(e) {
|
|
|
108
108
|
function ce(e, t) {
|
|
109
109
|
e.appendChild(t);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const n =
|
|
111
|
+
function pr(e, t, r) {
|
|
112
|
+
const n = dr(e);
|
|
113
113
|
if (!n.getElementById(t)) {
|
|
114
114
|
const i = W("style");
|
|
115
|
-
i.id = t, i.textContent = r,
|
|
115
|
+
i.id = t, i.textContent = r, br(n, i);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function dr(e) {
|
|
119
119
|
if (!e) return document;
|
|
120
120
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
121
121
|
return t && /** @type {ShadowRoot} */
|
|
@@ -124,17 +124,17 @@ function lr(e) {
|
|
|
124
124
|
t
|
|
125
125
|
) : e.ownerDocument;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function br(e, t) {
|
|
128
128
|
return ce(
|
|
129
129
|
/** @type {Document} */
|
|
130
130
|
e.head || e,
|
|
131
131
|
t
|
|
132
132
|
), t.sheet;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function M(e, t, r) {
|
|
135
135
|
e.insertBefore(t, r || null);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function P(e) {
|
|
138
138
|
e.parentNode && e.parentNode.removeChild(e);
|
|
139
139
|
}
|
|
140
140
|
function W(e) {
|
|
@@ -146,23 +146,23 @@ function Xe(e) {
|
|
|
146
146
|
function rt() {
|
|
147
147
|
return Xe(" ");
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Ot() {
|
|
150
150
|
return Xe("");
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Ct(e, t, r, n) {
|
|
153
153
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
154
154
|
}
|
|
155
155
|
function re(e, t, r) {
|
|
156
156
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function gr(e) {
|
|
159
159
|
return Array.from(e.childNodes);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function _r(e, t) {
|
|
162
162
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
163
163
|
t);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function yr(e) {
|
|
166
166
|
const t = {};
|
|
167
167
|
return e.childNodes.forEach(
|
|
168
168
|
/** @param {Element} node */
|
|
@@ -175,81 +175,81 @@ let ze;
|
|
|
175
175
|
function Y(e) {
|
|
176
176
|
ze = e;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
let
|
|
180
|
-
const nt = [],
|
|
178
|
+
const F = [], Ne = [];
|
|
179
|
+
let j = [];
|
|
180
|
+
const nt = [], Er = /* @__PURE__ */ Promise.resolve();
|
|
181
181
|
let Ie = !1;
|
|
182
|
-
function
|
|
183
|
-
Ie || (Ie = !0,
|
|
182
|
+
function xr() {
|
|
183
|
+
Ie || (Ie = !0, Er.then(A));
|
|
184
184
|
}
|
|
185
185
|
function Me(e) {
|
|
186
|
-
|
|
186
|
+
j.push(e);
|
|
187
187
|
}
|
|
188
188
|
const Te = /* @__PURE__ */ new Set();
|
|
189
|
-
let
|
|
190
|
-
function
|
|
191
|
-
if (
|
|
189
|
+
let D = 0;
|
|
190
|
+
function A() {
|
|
191
|
+
if (D !== 0)
|
|
192
192
|
return;
|
|
193
193
|
const e = ze;
|
|
194
194
|
do {
|
|
195
195
|
try {
|
|
196
|
-
for (;
|
|
197
|
-
const t =
|
|
198
|
-
|
|
196
|
+
for (; D < F.length; ) {
|
|
197
|
+
const t = F[D];
|
|
198
|
+
D++, Y(t), vr(t.$$);
|
|
199
199
|
}
|
|
200
200
|
} catch (t) {
|
|
201
|
-
throw
|
|
201
|
+
throw F.length = 0, D = 0, t;
|
|
202
202
|
}
|
|
203
|
-
for (Y(null),
|
|
204
|
-
for (let t = 0; t <
|
|
205
|
-
const r =
|
|
203
|
+
for (Y(null), F.length = 0, D = 0; Ne.length; ) Ne.pop()();
|
|
204
|
+
for (let t = 0; t < j.length; t += 1) {
|
|
205
|
+
const r = j[t];
|
|
206
206
|
Te.has(r) || (Te.add(r), r());
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
} while (
|
|
208
|
+
j.length = 0;
|
|
209
|
+
} while (F.length);
|
|
210
210
|
for (; nt.length; )
|
|
211
211
|
nt.pop()();
|
|
212
212
|
Ie = !1, Te.clear(), Y(e);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function vr(e) {
|
|
215
215
|
if (e.fragment !== null) {
|
|
216
216
|
e.update(), te(e.before_update);
|
|
217
217
|
const t = e.dirty;
|
|
218
218
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Hr(e) {
|
|
222
222
|
const t = [], r = [];
|
|
223
|
-
|
|
223
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
224
224
|
}
|
|
225
225
|
const ae = /* @__PURE__ */ new Set();
|
|
226
|
-
let
|
|
226
|
+
let Br;
|
|
227
227
|
function ue(e, t) {
|
|
228
228
|
e && e.i && (ae.delete(e), e.i(t));
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function we(e, t, r, n) {
|
|
231
231
|
if (e && e.o) {
|
|
232
232
|
if (ae.has(e)) return;
|
|
233
|
-
ae.add(e),
|
|
233
|
+
ae.add(e), Br.c.push(() => {
|
|
234
234
|
ae.delete(e);
|
|
235
235
|
}), e.o(t);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function Tr(e, t, r) {
|
|
239
239
|
const { fragment: n, after_update: i } = e.$$;
|
|
240
240
|
n && n.m(t, r), Me(() => {
|
|
241
|
-
const s = e.$$.on_mount.map(
|
|
241
|
+
const s = e.$$.on_mount.map(Tt).filter(Ve);
|
|
242
242
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
|
243
243
|
}), i.forEach(Me);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function wr(e, t) {
|
|
246
246
|
const r = e.$$;
|
|
247
|
-
r.fragment !== null && (
|
|
247
|
+
r.fragment !== null && (Hr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
e.$$.dirty[0] === -1 && (
|
|
249
|
+
function Sr(e, t) {
|
|
250
|
+
e.$$.dirty[0] === -1 && (F.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
253
253
|
const l = ze;
|
|
254
254
|
Y(e);
|
|
255
255
|
const u = e.$$ = {
|
|
@@ -275,41 +275,41 @@ function Br(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
275
275
|
};
|
|
276
276
|
a && a(u.root);
|
|
277
277
|
let h = !1;
|
|
278
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
279
|
-
const m = p.length ? p[0] :
|
|
280
|
-
return u.ctx && i(u.ctx[
|
|
278
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
279
|
+
const m = p.length ? p[0] : c;
|
|
280
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Sr(e, f)), c;
|
|
281
281
|
}) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
282
282
|
if (t.hydrate) {
|
|
283
|
-
const
|
|
284
|
-
u.fragment && u.fragment.l(
|
|
283
|
+
const f = gr(t.target);
|
|
284
|
+
u.fragment && u.fragment.l(f), f.forEach(P);
|
|
285
285
|
} else
|
|
286
286
|
u.fragment && u.fragment.c();
|
|
287
|
-
t.intro && ue(e.$$.fragment),
|
|
287
|
+
t.intro && ue(e.$$.fragment), Tr(e, t.target, t.anchor), A();
|
|
288
288
|
}
|
|
289
289
|
Y(l);
|
|
290
290
|
}
|
|
291
|
-
let
|
|
292
|
-
typeof HTMLElement == "function" && (
|
|
291
|
+
let Pt;
|
|
292
|
+
typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
|
|
293
293
|
constructor(t, r, n) {
|
|
294
294
|
super();
|
|
295
295
|
/** The Svelte component constructor */
|
|
296
|
-
|
|
296
|
+
B(this, "$$ctor");
|
|
297
297
|
/** Slots */
|
|
298
|
-
|
|
298
|
+
B(this, "$$s");
|
|
299
299
|
/** The Svelte component instance */
|
|
300
|
-
|
|
300
|
+
B(this, "$$c");
|
|
301
301
|
/** Whether or not the custom element is connected */
|
|
302
|
-
|
|
302
|
+
B(this, "$$cn", !1);
|
|
303
303
|
/** Component props data */
|
|
304
|
-
|
|
304
|
+
B(this, "$$d", {});
|
|
305
305
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
306
|
-
|
|
306
|
+
B(this, "$$r", !1);
|
|
307
307
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
308
|
-
|
|
308
|
+
B(this, "$$p_d", {});
|
|
309
309
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
310
|
-
|
|
310
|
+
B(this, "$$l", {});
|
|
311
311
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
312
|
-
|
|
312
|
+
B(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
313
313
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
314
314
|
}
|
|
315
315
|
addEventListener(t, r, n) {
|
|
@@ -340,17 +340,17 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
340
340
|
* @param {HTMLElement} [anchor]
|
|
341
341
|
*/
|
|
342
342
|
m: function(u, h) {
|
|
343
|
-
|
|
343
|
+
M(u, a, h);
|
|
344
344
|
},
|
|
345
345
|
d: function(u) {
|
|
346
|
-
u &&
|
|
346
|
+
u && P(a);
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
351
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
352
352
|
return;
|
|
353
|
-
const r = {}, n =
|
|
353
|
+
const r = {}, n = yr(this);
|
|
354
354
|
for (const s of this.$$s)
|
|
355
355
|
s in n && (r[s] = [t(s)]);
|
|
356
356
|
for (const s of this.attributes) {
|
|
@@ -439,8 +439,8 @@ function he(e, t, r, n) {
|
|
|
439
439
|
return t;
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
function
|
|
443
|
-
let a = class extends
|
|
442
|
+
function Or(e, t, r, n, i, s) {
|
|
443
|
+
let a = class extends Pt {
|
|
444
444
|
constructor() {
|
|
445
445
|
super(e, r, i), this.$$p_d = t;
|
|
446
446
|
}
|
|
@@ -470,7 +470,7 @@ function Tr(e, t, r, n, i, s) {
|
|
|
470
470
|
}), e.element = /** @type {any} */
|
|
471
471
|
a, a;
|
|
472
472
|
}
|
|
473
|
-
class
|
|
473
|
+
class Cr {
|
|
474
474
|
constructor() {
|
|
475
475
|
/**
|
|
476
476
|
* ### PRIVATE API
|
|
@@ -479,7 +479,7 @@ class Sr {
|
|
|
479
479
|
*
|
|
480
480
|
* @type {any}
|
|
481
481
|
*/
|
|
482
|
-
|
|
482
|
+
B(this, "$$");
|
|
483
483
|
/**
|
|
484
484
|
* ### PRIVATE API
|
|
485
485
|
*
|
|
@@ -487,11 +487,11 @@ class Sr {
|
|
|
487
487
|
*
|
|
488
488
|
* @type {any}
|
|
489
489
|
*/
|
|
490
|
-
|
|
490
|
+
B(this, "$$set");
|
|
491
491
|
}
|
|
492
492
|
/** @returns {void} */
|
|
493
493
|
$destroy() {
|
|
494
|
-
|
|
494
|
+
wr(this, 1), this.$destroy = T;
|
|
495
495
|
}
|
|
496
496
|
/**
|
|
497
497
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -513,13 +513,13 @@ class Sr {
|
|
|
513
513
|
* @returns {void}
|
|
514
514
|
*/
|
|
515
515
|
$set(t) {
|
|
516
|
-
this.$$set && !
|
|
516
|
+
this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
const
|
|
520
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
521
|
-
const
|
|
522
|
-
function
|
|
519
|
+
const Pr = "4";
|
|
520
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
|
|
521
|
+
const G = [];
|
|
522
|
+
function Lr(e, t) {
|
|
523
523
|
return {
|
|
524
524
|
subscribe: be(e, t).subscribe
|
|
525
525
|
};
|
|
@@ -528,14 +528,14 @@ function be(e, t = T) {
|
|
|
528
528
|
let r;
|
|
529
529
|
const n = /* @__PURE__ */ new Set();
|
|
530
530
|
function i(o) {
|
|
531
|
-
if (
|
|
532
|
-
const l = !
|
|
531
|
+
if (wt(e, o) && (e = o, r)) {
|
|
532
|
+
const l = !G.length;
|
|
533
533
|
for (const u of n)
|
|
534
|
-
u[1](),
|
|
534
|
+
u[1](), G.push(u, e);
|
|
535
535
|
if (l) {
|
|
536
|
-
for (let u = 0; u <
|
|
537
|
-
|
|
538
|
-
|
|
536
|
+
for (let u = 0; u < G.length; u += 2)
|
|
537
|
+
G[u][0](G[u + 1]);
|
|
538
|
+
G.length = 0;
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
@@ -555,106 +555,106 @@ function Z(e, t, r) {
|
|
|
555
555
|
if (!i.every(Boolean))
|
|
556
556
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
557
557
|
const s = t.length < 2;
|
|
558
|
-
return
|
|
558
|
+
return Lr(r, (a, o) => {
|
|
559
559
|
let l = !1;
|
|
560
560
|
const u = [];
|
|
561
|
-
let h = 0,
|
|
562
|
-
const
|
|
561
|
+
let h = 0, f = T;
|
|
562
|
+
const c = () => {
|
|
563
563
|
if (h)
|
|
564
564
|
return;
|
|
565
|
-
|
|
565
|
+
f();
|
|
566
566
|
const m = t(n ? u[0] : u, a, o);
|
|
567
|
-
s ? a(m) :
|
|
567
|
+
s ? a(m) : f = Ve(m) ? m : T;
|
|
568
568
|
}, p = i.map(
|
|
569
|
-
(m,
|
|
569
|
+
(m, g) => St(
|
|
570
570
|
m,
|
|
571
|
-
(
|
|
572
|
-
u[
|
|
571
|
+
(v) => {
|
|
572
|
+
u[g] = v, h &= ~(1 << g), l && c();
|
|
573
573
|
},
|
|
574
574
|
() => {
|
|
575
|
-
h |= 1 <<
|
|
575
|
+
h |= 1 << g;
|
|
576
576
|
}
|
|
577
577
|
)
|
|
578
578
|
);
|
|
579
|
-
return l = !0,
|
|
580
|
-
te(p),
|
|
579
|
+
return l = !0, c(), function() {
|
|
580
|
+
te(p), f(), l = !1;
|
|
581
581
|
};
|
|
582
582
|
});
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function Nr(e) {
|
|
585
585
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
586
586
|
}
|
|
587
|
-
var
|
|
588
|
-
return
|
|
587
|
+
var Ir = function(t) {
|
|
588
|
+
return Mr(t) && !$r(t);
|
|
589
589
|
};
|
|
590
|
-
function
|
|
590
|
+
function Mr(e) {
|
|
591
591
|
return !!e && typeof e == "object";
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function $r(e) {
|
|
594
594
|
var t = Object.prototype.toString.call(e);
|
|
595
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
595
|
+
return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
|
|
596
596
|
}
|
|
597
|
-
var
|
|
598
|
-
function
|
|
599
|
-
return e.$$typeof ===
|
|
597
|
+
var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
|
|
598
|
+
function Dr(e) {
|
|
599
|
+
return e.$$typeof === Ur;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Gr(e) {
|
|
602
602
|
return Array.isArray(e) ? [] : {};
|
|
603
603
|
}
|
|
604
604
|
function K(e, t) {
|
|
605
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
605
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(Gr(e), e, t) : e;
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Fr(e, t, r) {
|
|
608
608
|
return e.concat(t).map(function(n) {
|
|
609
609
|
return K(n, r);
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function jr(e, t) {
|
|
613
613
|
if (!t.customMerge)
|
|
614
|
-
return
|
|
614
|
+
return k;
|
|
615
615
|
var r = t.customMerge(e);
|
|
616
|
-
return typeof r == "function" ? r :
|
|
616
|
+
return typeof r == "function" ? r : k;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function kr(e) {
|
|
619
619
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
620
620
|
return Object.propertyIsEnumerable.call(e, t);
|
|
621
621
|
}) : [];
|
|
622
622
|
}
|
|
623
623
|
function it(e) {
|
|
624
|
-
return Object.keys(e).concat(
|
|
624
|
+
return Object.keys(e).concat(kr(e));
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Lt(e, t) {
|
|
627
627
|
try {
|
|
628
628
|
return t in e;
|
|
629
629
|
} catch (r) {
|
|
630
630
|
return !1;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
function
|
|
634
|
-
return
|
|
633
|
+
function Vr(e, t) {
|
|
634
|
+
return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function Xr(e, t, r) {
|
|
637
637
|
var n = {};
|
|
638
638
|
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
639
639
|
n[i] = K(e[i], r);
|
|
640
640
|
}), it(t).forEach(function(i) {
|
|
641
|
-
|
|
641
|
+
Vr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
642
642
|
}), n;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
644
|
+
function k(e, t, r) {
|
|
645
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = K;
|
|
646
646
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
647
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
647
|
+
return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : K(t, r);
|
|
648
648
|
}
|
|
649
|
-
|
|
649
|
+
k.all = function(t, r) {
|
|
650
650
|
if (!Array.isArray(t))
|
|
651
651
|
throw new Error("first argument should be an array");
|
|
652
652
|
return t.reduce(function(n, i) {
|
|
653
|
-
return
|
|
653
|
+
return k(n, i, r);
|
|
654
654
|
}, {});
|
|
655
655
|
};
|
|
656
|
-
var
|
|
657
|
-
const
|
|
656
|
+
var zr = k, Wr = zr;
|
|
657
|
+
const Zr = /* @__PURE__ */ Nr(Wr);
|
|
658
658
|
var $e = function(e, t) {
|
|
659
659
|
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
660
660
|
r.__proto__ = n;
|
|
@@ -671,16 +671,16 @@ function ge(e, t) {
|
|
|
671
671
|
}
|
|
672
672
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
673
673
|
}
|
|
674
|
-
var
|
|
675
|
-
return
|
|
674
|
+
var y = function() {
|
|
675
|
+
return y = Object.assign || function(t) {
|
|
676
676
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
677
677
|
r = arguments[n];
|
|
678
678
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
679
679
|
}
|
|
680
680
|
return t;
|
|
681
|
-
},
|
|
681
|
+
}, y.apply(this, arguments);
|
|
682
682
|
};
|
|
683
|
-
function
|
|
683
|
+
function Qr(e, t) {
|
|
684
684
|
var r = {};
|
|
685
685
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
686
686
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -688,7 +688,7 @@ function Xr(e, t) {
|
|
|
688
688
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
689
689
|
return r;
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function Se(e, t, r) {
|
|
692
692
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
|
693
693
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
694
694
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
@@ -697,51 +697,51 @@ var d;
|
|
|
697
697
|
(function(e) {
|
|
698
698
|
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";
|
|
699
699
|
})(d || (d = {}));
|
|
700
|
-
var
|
|
700
|
+
var E;
|
|
701
701
|
(function(e) {
|
|
702
702
|
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";
|
|
703
|
-
})(
|
|
704
|
-
var
|
|
703
|
+
})(E || (E = {}));
|
|
704
|
+
var V;
|
|
705
705
|
(function(e) {
|
|
706
706
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
707
|
-
})(
|
|
707
|
+
})(V || (V = {}));
|
|
708
708
|
function st(e) {
|
|
709
|
-
return e.type ===
|
|
710
|
-
}
|
|
711
|
-
function zr(e) {
|
|
712
|
-
return e.type === x.argument;
|
|
709
|
+
return e.type === E.literal;
|
|
713
710
|
}
|
|
714
|
-
function
|
|
715
|
-
return e.type ===
|
|
716
|
-
}
|
|
717
|
-
function Lt(e) {
|
|
718
|
-
return e.type === x.date;
|
|
711
|
+
function Jr(e) {
|
|
712
|
+
return e.type === E.argument;
|
|
719
713
|
}
|
|
720
714
|
function Nt(e) {
|
|
721
|
-
return e.type ===
|
|
715
|
+
return e.type === E.number;
|
|
722
716
|
}
|
|
723
717
|
function It(e) {
|
|
724
|
-
return e.type ===
|
|
718
|
+
return e.type === E.date;
|
|
725
719
|
}
|
|
726
720
|
function Mt(e) {
|
|
727
|
-
return e.type ===
|
|
728
|
-
}
|
|
729
|
-
function Wr(e) {
|
|
730
|
-
return e.type === x.pound;
|
|
721
|
+
return e.type === E.time;
|
|
731
722
|
}
|
|
732
723
|
function $t(e) {
|
|
733
|
-
return e.type ===
|
|
724
|
+
return e.type === E.select;
|
|
734
725
|
}
|
|
735
726
|
function Rt(e) {
|
|
736
|
-
return
|
|
727
|
+
return e.type === E.plural;
|
|
728
|
+
}
|
|
729
|
+
function qr(e) {
|
|
730
|
+
return e.type === E.pound;
|
|
731
|
+
}
|
|
732
|
+
function Ut(e) {
|
|
733
|
+
return e.type === E.tag;
|
|
734
|
+
}
|
|
735
|
+
function Dt(e) {
|
|
736
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
737
737
|
}
|
|
738
738
|
function Re(e) {
|
|
739
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
739
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
740
740
|
}
|
|
741
|
-
var
|
|
742
|
-
function
|
|
741
|
+
var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
|
|
742
|
+
function Kr(e) {
|
|
743
743
|
var t = {};
|
|
744
|
-
return e.replace(
|
|
744
|
+
return e.replace(Yr, function(r) {
|
|
745
745
|
var n = r.length;
|
|
746
746
|
switch (r[0]) {
|
|
747
747
|
case "G":
|
|
@@ -830,36 +830,36 @@ function Qr(e) {
|
|
|
830
830
|
return "";
|
|
831
831
|
}), t;
|
|
832
832
|
}
|
|
833
|
-
var
|
|
834
|
-
function
|
|
833
|
+
var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
834
|
+
function tn(e) {
|
|
835
835
|
if (e.length === 0)
|
|
836
836
|
throw new Error("Number skeleton cannot be empty");
|
|
837
|
-
for (var t = e.split(
|
|
838
|
-
return
|
|
837
|
+
for (var t = e.split(en).filter(function(c) {
|
|
838
|
+
return c.length > 0;
|
|
839
839
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
840
840
|
var s = i[n], a = s.split("/");
|
|
841
841
|
if (a.length === 0)
|
|
842
842
|
throw new Error("Invalid number skeleton");
|
|
843
843
|
for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
844
|
-
var
|
|
845
|
-
if (
|
|
844
|
+
var f = h[u];
|
|
845
|
+
if (f.length === 0)
|
|
846
846
|
throw new Error("Invalid number skeleton");
|
|
847
847
|
}
|
|
848
848
|
r.push({ stem: o, options: l });
|
|
849
849
|
}
|
|
850
850
|
return r;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function rn(e) {
|
|
853
853
|
return e.replace(/^(.*?)-/, "");
|
|
854
854
|
}
|
|
855
|
-
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
855
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
856
856
|
function at(e) {
|
|
857
857
|
var t = {};
|
|
858
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
858
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
859
859
|
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)), "";
|
|
860
860
|
}), t;
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function kt(e) {
|
|
863
863
|
switch (e) {
|
|
864
864
|
case "sign-auto":
|
|
865
865
|
return {
|
|
@@ -899,7 +899,7 @@ function Ft(e) {
|
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function sn(e) {
|
|
903
903
|
var t;
|
|
904
904
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
905
905
|
notation: "engineering"
|
|
@@ -907,17 +907,17 @@ function en(e) {
|
|
|
907
907
|
notation: "scientific"
|
|
908
908
|
}, e = e.slice(1)), t) {
|
|
909
909
|
var r = e.slice(0, 2);
|
|
910
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
910
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
911
911
|
throw new Error("Malformed concise eng/scientific notation");
|
|
912
912
|
t.minimumIntegerDigits = e.length;
|
|
913
913
|
}
|
|
914
914
|
return t;
|
|
915
915
|
}
|
|
916
916
|
function ut(e) {
|
|
917
|
-
var t = {}, r =
|
|
917
|
+
var t = {}, r = kt(e);
|
|
918
918
|
return r || t;
|
|
919
919
|
}
|
|
920
|
-
function
|
|
920
|
+
function on(e) {
|
|
921
921
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
922
922
|
var i = n[r];
|
|
923
923
|
switch (i.stem) {
|
|
@@ -941,7 +941,7 @@ function tn(e) {
|
|
|
941
941
|
continue;
|
|
942
942
|
case "measure-unit":
|
|
943
943
|
case "unit":
|
|
944
|
-
t.style = "unit", t.unit =
|
|
944
|
+
t.style = "unit", t.unit = rn(i.options[0]);
|
|
945
945
|
continue;
|
|
946
946
|
case "compact-short":
|
|
947
947
|
case "K":
|
|
@@ -952,13 +952,13 @@ function tn(e) {
|
|
|
952
952
|
t.notation = "compact", t.compactDisplay = "long";
|
|
953
953
|
continue;
|
|
954
954
|
case "scientific":
|
|
955
|
-
t =
|
|
956
|
-
return
|
|
955
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
956
|
+
return y(y({}, l), ut(u));
|
|
957
957
|
}, {}));
|
|
958
958
|
continue;
|
|
959
959
|
case "engineering":
|
|
960
|
-
t =
|
|
961
|
-
return
|
|
960
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
961
|
+
return y(y({}, l), ut(u));
|
|
962
962
|
}, {}));
|
|
963
963
|
continue;
|
|
964
964
|
case "notation-simple":
|
|
@@ -1003,11 +1003,11 @@ function tn(e) {
|
|
|
1003
1003
|
case "integer-width":
|
|
1004
1004
|
if (i.options.length > 1)
|
|
1005
1005
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1006
|
-
i.options[0].replace(
|
|
1006
|
+
i.options[0].replace(nn, function(l, u, h, f, c, p) {
|
|
1007
1007
|
if (u)
|
|
1008
1008
|
t.minimumIntegerDigits = h.length;
|
|
1009
1009
|
else {
|
|
1010
|
-
if (
|
|
1010
|
+
if (f && c)
|
|
1011
1011
|
throw new Error("We currently do not support maximum integer digits");
|
|
1012
1012
|
if (p)
|
|
1013
1013
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1016,28 +1016,28 @@ function tn(e) {
|
|
|
1016
1016
|
});
|
|
1017
1017
|
continue;
|
|
1018
1018
|
}
|
|
1019
|
-
if (
|
|
1019
|
+
if (jt.test(i.stem)) {
|
|
1020
1020
|
t.minimumIntegerDigits = i.stem.length;
|
|
1021
1021
|
continue;
|
|
1022
1022
|
}
|
|
1023
1023
|
if (ot.test(i.stem)) {
|
|
1024
1024
|
if (i.options.length > 1)
|
|
1025
1025
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1026
|
-
i.stem.replace(ot, function(l, u, h,
|
|
1027
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1026
|
+
i.stem.replace(ot, function(l, u, h, f, c, p) {
|
|
1027
|
+
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), "";
|
|
1028
1028
|
});
|
|
1029
1029
|
var s = i.options[0];
|
|
1030
|
-
s === "w" ? t =
|
|
1030
|
+
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), at(s)));
|
|
1031
1031
|
continue;
|
|
1032
1032
|
}
|
|
1033
|
-
if (
|
|
1034
|
-
t =
|
|
1033
|
+
if (Ft.test(i.stem)) {
|
|
1034
|
+
t = y(y({}, t), at(i.stem));
|
|
1035
1035
|
continue;
|
|
1036
1036
|
}
|
|
1037
|
-
var a =
|
|
1038
|
-
a && (t =
|
|
1039
|
-
var o =
|
|
1040
|
-
o && (t =
|
|
1037
|
+
var a = kt(i.stem);
|
|
1038
|
+
a && (t = y(y({}, t), a));
|
|
1039
|
+
var o = sn(i.stem);
|
|
1040
|
+
o && (t = y(y({}, t), o));
|
|
1041
1041
|
}
|
|
1042
1042
|
return t;
|
|
1043
1043
|
}
|
|
@@ -2450,13 +2450,13 @@ var oe = {
|
|
|
2450
2450
|
"h"
|
|
2451
2451
|
]
|
|
2452
2452
|
};
|
|
2453
|
-
function
|
|
2453
|
+
function an(e, t) {
|
|
2454
2454
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2455
2455
|
var i = e.charAt(n);
|
|
2456
2456
|
if (i === "j") {
|
|
2457
2457
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2458
2458
|
s++, n++;
|
|
2459
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2459
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = un(t);
|
|
2460
2460
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2461
2461
|
r += l;
|
|
2462
2462
|
for (; a-- > 0; )
|
|
@@ -2465,7 +2465,7 @@ function rn(e, t) {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
return r;
|
|
2467
2467
|
}
|
|
2468
|
-
function
|
|
2468
|
+
function un(e) {
|
|
2469
2469
|
var t = e.hourCycle;
|
|
2470
2470
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2471
2471
|
e.hourCycles && // @ts-ignore
|
|
@@ -2487,20 +2487,20 @@ function nn(e) {
|
|
|
2487
2487
|
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
2488
2488
|
return i[0];
|
|
2489
2489
|
}
|
|
2490
|
-
var Ae,
|
|
2490
|
+
var Ae, hn = new RegExp("^".concat(Gt.source, "*")), ln = new RegExp("".concat(Gt.source, "*$"));
|
|
2491
2491
|
function b(e, t) {
|
|
2492
2492
|
return { start: e, end: t };
|
|
2493
2493
|
}
|
|
2494
|
-
var
|
|
2494
|
+
var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, _n = gn ? Number.isSafeInteger : function(e) {
|
|
2495
2495
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2496
2496
|
}, Ue = !0;
|
|
2497
2497
|
try {
|
|
2498
|
-
var
|
|
2499
|
-
Ue = ((Ae =
|
|
2498
|
+
var yn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2499
|
+
Ue = ((Ae = yn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2500
2500
|
} catch (e) {
|
|
2501
2501
|
Ue = !1;
|
|
2502
2502
|
}
|
|
2503
|
-
var ht =
|
|
2503
|
+
var ht = fn ? (
|
|
2504
2504
|
// Native
|
|
2505
2505
|
function(t, r, n) {
|
|
2506
2506
|
return t.startsWith(r, n);
|
|
@@ -2510,7 +2510,7 @@ var ht = an ? (
|
|
|
2510
2510
|
function(t, r, n) {
|
|
2511
2511
|
return t.slice(n, n + r.length) === r;
|
|
2512
2512
|
}
|
|
2513
|
-
), De =
|
|
2513
|
+
), De = cn ? String.fromCodePoint : (
|
|
2514
2514
|
// IE11
|
|
2515
2515
|
function() {
|
|
2516
2516
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2524,7 +2524,7 @@ var ht = an ? (
|
|
|
2524
2524
|
}
|
|
2525
2525
|
), lt = (
|
|
2526
2526
|
// native
|
|
2527
|
-
|
|
2527
|
+
mn ? Object.fromEntries : (
|
|
2528
2528
|
// Ponyfill
|
|
2529
2529
|
function(t) {
|
|
2530
2530
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2534,7 +2534,7 @@ var ht = an ? (
|
|
|
2534
2534
|
return r;
|
|
2535
2535
|
}
|
|
2536
2536
|
)
|
|
2537
|
-
),
|
|
2537
|
+
), Vt = pn ? (
|
|
2538
2538
|
// Native
|
|
2539
2539
|
function(t, r) {
|
|
2540
2540
|
return t.codePointAt(r);
|
|
@@ -2548,7 +2548,7 @@ var ht = an ? (
|
|
|
2548
2548
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
),
|
|
2551
|
+
), En = dn ? (
|
|
2552
2552
|
// Native
|
|
2553
2553
|
function(t) {
|
|
2554
2554
|
return t.trimStart();
|
|
@@ -2556,9 +2556,9 @@ var ht = an ? (
|
|
|
2556
2556
|
) : (
|
|
2557
2557
|
// Ponyfill
|
|
2558
2558
|
function(t) {
|
|
2559
|
-
return t.replace(
|
|
2559
|
+
return t.replace(hn, "");
|
|
2560
2560
|
}
|
|
2561
|
-
),
|
|
2561
|
+
), xn = bn ? (
|
|
2562
2562
|
// Native
|
|
2563
2563
|
function(t) {
|
|
2564
2564
|
return t.trimEnd();
|
|
@@ -2566,15 +2566,15 @@ var ht = an ? (
|
|
|
2566
2566
|
) : (
|
|
2567
2567
|
// Ponyfill
|
|
2568
2568
|
function(t) {
|
|
2569
|
-
return t.replace(
|
|
2569
|
+
return t.replace(ln, "");
|
|
2570
2570
|
}
|
|
2571
2571
|
);
|
|
2572
|
-
function
|
|
2572
|
+
function Xt(e, t) {
|
|
2573
2573
|
return new RegExp(e, t);
|
|
2574
2574
|
}
|
|
2575
2575
|
var Ge;
|
|
2576
2576
|
if (Ue) {
|
|
2577
|
-
var ft =
|
|
2577
|
+
var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2578
2578
|
Ge = function(t, r) {
|
|
2579
2579
|
var n;
|
|
2580
2580
|
ft.lastIndex = r;
|
|
@@ -2584,14 +2584,14 @@ if (Ue) {
|
|
|
2584
2584
|
} else
|
|
2585
2585
|
Ge = function(t, r) {
|
|
2586
2586
|
for (var n = []; ; ) {
|
|
2587
|
-
var i =
|
|
2588
|
-
if (i === void 0 ||
|
|
2587
|
+
var i = Vt(t, r);
|
|
2588
|
+
if (i === void 0 || zt(i) || Tn(i))
|
|
2589
2589
|
break;
|
|
2590
2590
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2591
2591
|
}
|
|
2592
2592
|
return De.apply(void 0, n);
|
|
2593
2593
|
};
|
|
2594
|
-
var
|
|
2594
|
+
var vn = (
|
|
2595
2595
|
/** @class */
|
|
2596
2596
|
function() {
|
|
2597
2597
|
function e(t, r) {
|
|
@@ -2615,7 +2615,7 @@ var _n = (
|
|
|
2615
2615
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2616
2616
|
var o = this.clonePosition();
|
|
2617
2617
|
this.bump(), i.push({
|
|
2618
|
-
type:
|
|
2618
|
+
type: E.pound,
|
|
2619
2619
|
location: b(o, this.clonePosition())
|
|
2620
2620
|
});
|
|
2621
2621
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2643,7 +2643,7 @@ var _n = (
|
|
|
2643
2643
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2644
2644
|
return {
|
|
2645
2645
|
val: {
|
|
2646
|
-
type:
|
|
2646
|
+
type: E.literal,
|
|
2647
2647
|
value: "<".concat(i, "/>"),
|
|
2648
2648
|
location: b(n, this.clonePosition())
|
|
2649
2649
|
},
|
|
@@ -2660,7 +2660,7 @@ var _n = (
|
|
|
2660
2660
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2661
2661
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2662
2662
|
val: {
|
|
2663
|
-
type:
|
|
2663
|
+
type: E.tag,
|
|
2664
2664
|
value: i,
|
|
2665
2665
|
children: a,
|
|
2666
2666
|
location: b(n, this.clonePosition())
|
|
@@ -2673,7 +2673,7 @@ var _n = (
|
|
|
2673
2673
|
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
2674
2674
|
}, e.prototype.parseTagName = function() {
|
|
2675
2675
|
var t = this.offset();
|
|
2676
|
-
for (this.bump(); !this.isEOF() &&
|
|
2676
|
+
for (this.bump(); !this.isEOF() && Bn(this.char()); )
|
|
2677
2677
|
this.bump();
|
|
2678
2678
|
return this.message.slice(t, this.offset());
|
|
2679
2679
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2697,12 +2697,12 @@ var _n = (
|
|
|
2697
2697
|
}
|
|
2698
2698
|
var l = b(n, this.clonePosition());
|
|
2699
2699
|
return {
|
|
2700
|
-
val: { type:
|
|
2700
|
+
val: { type: E.literal, value: i, location: l },
|
|
2701
2701
|
err: null
|
|
2702
2702
|
};
|
|
2703
2703
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2704
2704
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2705
|
-
!
|
|
2705
|
+
!Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2706
2706
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2707
2707
|
if (this.isEOF() || this.char() !== 39)
|
|
2708
2708
|
return null;
|
|
@@ -2757,7 +2757,7 @@ var _n = (
|
|
|
2757
2757
|
case 125:
|
|
2758
2758
|
return this.bump(), {
|
|
2759
2759
|
val: {
|
|
2760
|
-
type:
|
|
2760
|
+
type: E.argument,
|
|
2761
2761
|
// value does not include the opening and closing braces.
|
|
2762
2762
|
value: i,
|
|
2763
2763
|
location: b(n, this.clonePosition())
|
|
@@ -2786,49 +2786,49 @@ var _n = (
|
|
|
2786
2786
|
var u = null;
|
|
2787
2787
|
if (this.bumpIf(",")) {
|
|
2788
2788
|
this.bumpSpace();
|
|
2789
|
-
var h = this.clonePosition(),
|
|
2790
|
-
if (
|
|
2791
|
-
return
|
|
2792
|
-
var
|
|
2793
|
-
if (
|
|
2789
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2790
|
+
if (f.err)
|
|
2791
|
+
return f;
|
|
2792
|
+
var c = xn(f.val);
|
|
2793
|
+
if (c.length === 0)
|
|
2794
2794
|
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2795
2795
|
var p = b(h, this.clonePosition());
|
|
2796
|
-
u = { style:
|
|
2796
|
+
u = { style: c, styleLocation: p };
|
|
2797
2797
|
}
|
|
2798
2798
|
var m = this.tryParseArgumentClose(i);
|
|
2799
2799
|
if (m.err)
|
|
2800
2800
|
return m;
|
|
2801
|
-
var
|
|
2801
|
+
var g = b(i, this.clonePosition());
|
|
2802
2802
|
if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
|
|
2803
|
-
var
|
|
2803
|
+
var v = En(u.style.slice(2));
|
|
2804
2804
|
if (o === "number") {
|
|
2805
|
-
var
|
|
2806
|
-
return
|
|
2807
|
-
val: { type:
|
|
2805
|
+
var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2806
|
+
return f.err ? f : {
|
|
2807
|
+
val: { type: E.number, value: n, location: g, style: f.val },
|
|
2808
2808
|
err: null
|
|
2809
2809
|
};
|
|
2810
2810
|
} else {
|
|
2811
|
-
if (
|
|
2812
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
2813
|
-
var
|
|
2814
|
-
this.locale && (
|
|
2815
|
-
var
|
|
2816
|
-
type:
|
|
2817
|
-
pattern:
|
|
2811
|
+
if (v.length === 0)
|
|
2812
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
|
|
2813
|
+
var N = v;
|
|
2814
|
+
this.locale && (N = an(v, this.locale));
|
|
2815
|
+
var c = {
|
|
2816
|
+
type: V.dateTime,
|
|
2817
|
+
pattern: N,
|
|
2818
2818
|
location: u.styleLocation,
|
|
2819
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2820
|
-
},
|
|
2819
|
+
parsedOptions: this.shouldParseSkeletons ? Kr(N) : {}
|
|
2820
|
+
}, O = o === "date" ? E.date : E.time;
|
|
2821
2821
|
return {
|
|
2822
|
-
val: { type:
|
|
2822
|
+
val: { type: O, value: n, location: g, style: c },
|
|
2823
2823
|
err: null
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
2826
2826
|
}
|
|
2827
2827
|
return {
|
|
2828
2828
|
val: {
|
|
2829
|
-
type: o === "number" ?
|
|
2829
|
+
type: o === "number" ? E.number : o === "date" ? E.date : E.time,
|
|
2830
2830
|
value: n,
|
|
2831
|
-
location:
|
|
2831
|
+
location: g,
|
|
2832
2832
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
2833
2833
|
},
|
|
2834
2834
|
err: null
|
|
@@ -2837,41 +2837,41 @@ var _n = (
|
|
|
2837
2837
|
case "plural":
|
|
2838
2838
|
case "selectordinal":
|
|
2839
2839
|
case "select": {
|
|
2840
|
-
var
|
|
2840
|
+
var H = this.clonePosition();
|
|
2841
2841
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2842
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(
|
|
2842
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
|
|
2843
2843
|
this.bumpSpace();
|
|
2844
|
-
var
|
|
2845
|
-
if (o !== "select" &&
|
|
2844
|
+
var I = this.parseIdentifierIfPossible(), w = 0;
|
|
2845
|
+
if (o !== "select" && I.value === "offset") {
|
|
2846
2846
|
if (!this.bumpIf(":"))
|
|
2847
2847
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2848
2848
|
this.bumpSpace();
|
|
2849
|
-
var
|
|
2850
|
-
if (
|
|
2851
|
-
return
|
|
2852
|
-
this.bumpSpace(),
|
|
2849
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2850
|
+
if (f.err)
|
|
2851
|
+
return f;
|
|
2852
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
|
|
2853
2853
|
}
|
|
2854
|
-
var
|
|
2855
|
-
if (
|
|
2856
|
-
return
|
|
2854
|
+
var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
|
|
2855
|
+
if (R.err)
|
|
2856
|
+
return R;
|
|
2857
2857
|
var m = this.tryParseArgumentClose(i);
|
|
2858
2858
|
if (m.err)
|
|
2859
2859
|
return m;
|
|
2860
2860
|
var se = b(i, this.clonePosition());
|
|
2861
2861
|
return o === "select" ? {
|
|
2862
2862
|
val: {
|
|
2863
|
-
type:
|
|
2863
|
+
type: E.select,
|
|
2864
2864
|
value: n,
|
|
2865
|
-
options: lt(
|
|
2865
|
+
options: lt(R.val),
|
|
2866
2866
|
location: se
|
|
2867
2867
|
},
|
|
2868
2868
|
err: null
|
|
2869
2869
|
} : {
|
|
2870
2870
|
val: {
|
|
2871
|
-
type:
|
|
2871
|
+
type: E.plural,
|
|
2872
2872
|
value: n,
|
|
2873
|
-
options: lt(
|
|
2874
|
-
offset:
|
|
2873
|
+
options: lt(R.val),
|
|
2874
|
+
offset: w,
|
|
2875
2875
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2876
2876
|
location: se
|
|
2877
2877
|
},
|
|
@@ -2921,28 +2921,28 @@ var _n = (
|
|
|
2921
2921
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2922
2922
|
var n = [];
|
|
2923
2923
|
try {
|
|
2924
|
-
n =
|
|
2924
|
+
n = tn(t);
|
|
2925
2925
|
} catch (i) {
|
|
2926
2926
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
2927
2927
|
}
|
|
2928
2928
|
return {
|
|
2929
2929
|
val: {
|
|
2930
|
-
type:
|
|
2930
|
+
type: V.number,
|
|
2931
2931
|
tokens: n,
|
|
2932
2932
|
location: r,
|
|
2933
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2933
|
+
parsedOptions: this.shouldParseSkeletons ? on(n) : {}
|
|
2934
2934
|
},
|
|
2935
2935
|
err: null
|
|
2936
2936
|
};
|
|
2937
2937
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2938
2938
|
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
2939
2939
|
if (u.length === 0) {
|
|
2940
|
-
var
|
|
2940
|
+
var f = this.clonePosition();
|
|
2941
2941
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2942
|
-
var
|
|
2943
|
-
if (
|
|
2944
|
-
return
|
|
2945
|
-
h = b(
|
|
2942
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2943
|
+
if (c.err)
|
|
2944
|
+
return c;
|
|
2945
|
+
h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
2946
2946
|
} else
|
|
2947
2947
|
break;
|
|
2948
2948
|
}
|
|
@@ -2955,9 +2955,9 @@ var _n = (
|
|
|
2955
2955
|
var m = this.parseMessage(t + 1, r, n);
|
|
2956
2956
|
if (m.err)
|
|
2957
2957
|
return m;
|
|
2958
|
-
var
|
|
2959
|
-
if (
|
|
2960
|
-
return
|
|
2958
|
+
var g = this.tryParseArgumentClose(p);
|
|
2959
|
+
if (g.err)
|
|
2960
|
+
return g;
|
|
2961
2961
|
o.push([
|
|
2962
2962
|
u,
|
|
2963
2963
|
{
|
|
@@ -2978,7 +2978,7 @@ var _n = (
|
|
|
2978
2978
|
break;
|
|
2979
2979
|
}
|
|
2980
2980
|
var l = b(i, this.clonePosition());
|
|
2981
|
-
return s ? (a *= n,
|
|
2981
|
+
return s ? (a *= n, _n(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
2982
2982
|
}, e.prototype.offset = function() {
|
|
2983
2983
|
return this.position.offset;
|
|
2984
2984
|
}, e.prototype.isEOF = function() {
|
|
@@ -2993,7 +2993,7 @@ var _n = (
|
|
|
2993
2993
|
var t = this.position.offset;
|
|
2994
2994
|
if (t >= this.message.length)
|
|
2995
2995
|
throw Error("out of bound");
|
|
2996
|
-
var r =
|
|
2996
|
+
var r = Vt(this.message, t);
|
|
2997
2997
|
if (r === void 0)
|
|
2998
2998
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2999
2999
|
return r;
|
|
@@ -3034,7 +3034,7 @@ var _n = (
|
|
|
3034
3034
|
break;
|
|
3035
3035
|
}
|
|
3036
3036
|
}, e.prototype.bumpSpace = function() {
|
|
3037
|
-
for (; !this.isEOF() &&
|
|
3037
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3038
3038
|
this.bump();
|
|
3039
3039
|
}, e.prototype.peek = function() {
|
|
3040
3040
|
if (this.isEOF())
|
|
@@ -3047,29 +3047,29 @@ var _n = (
|
|
|
3047
3047
|
function Fe(e) {
|
|
3048
3048
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3049
3049
|
}
|
|
3050
|
-
function
|
|
3050
|
+
function Hn(e) {
|
|
3051
3051
|
return Fe(e) || e === 47;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function Bn(e) {
|
|
3054
3054
|
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;
|
|
3055
3055
|
}
|
|
3056
|
-
function
|
|
3056
|
+
function zt(e) {
|
|
3057
3057
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function Tn(e) {
|
|
3060
3060
|
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;
|
|
3061
3061
|
}
|
|
3062
3062
|
function je(e) {
|
|
3063
3063
|
e.forEach(function(t) {
|
|
3064
|
-
if (delete t.location,
|
|
3064
|
+
if (delete t.location, $t(t) || Rt(t))
|
|
3065
3065
|
for (var r in t.options)
|
|
3066
3066
|
delete t.options[r].location, je(t.options[r].value);
|
|
3067
|
-
else
|
|
3067
|
+
else Nt(t) && Dt(t.style) || (It(t) || Mt(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
|
|
3068
3068
|
});
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3071
|
-
t === void 0 && (t = {}), t =
|
|
3072
|
-
var r = new
|
|
3070
|
+
function wn(e, t) {
|
|
3071
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3072
|
+
var r = new vn(e, t).parse();
|
|
3073
3073
|
if (r.err) {
|
|
3074
3074
|
var n = SyntaxError(d[r.err.kind]);
|
|
3075
3075
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3077,37 +3077,37 @@ function vn(e, t) {
|
|
|
3077
3077
|
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3078
3078
|
}
|
|
3079
3079
|
function Oe(e, t) {
|
|
3080
|
-
var r = t && t.cache ? t.cache :
|
|
3080
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : An;
|
|
3081
3081
|
return i(e, {
|
|
3082
3082
|
cache: r,
|
|
3083
3083
|
serializer: n
|
|
3084
3084
|
});
|
|
3085
3085
|
}
|
|
3086
|
-
function
|
|
3086
|
+
function Sn(e) {
|
|
3087
3087
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3088
3088
|
}
|
|
3089
|
-
function
|
|
3090
|
-
var i =
|
|
3089
|
+
function Wt(e, t, r, n) {
|
|
3090
|
+
var i = Sn(n) ? n : r(n), s = t.get(i);
|
|
3091
3091
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
3092
3092
|
}
|
|
3093
|
-
function
|
|
3093
|
+
function Zt(e, t, r) {
|
|
3094
3094
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
3095
3095
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
3096
3096
|
}
|
|
3097
3097
|
function We(e, t, r, n, i) {
|
|
3098
3098
|
return r.bind(t, e, n, i);
|
|
3099
3099
|
}
|
|
3100
|
-
function
|
|
3101
|
-
var r = e.length === 1 ?
|
|
3100
|
+
function An(e, t) {
|
|
3101
|
+
var r = e.length === 1 ? Wt : Zt;
|
|
3102
3102
|
return We(e, this, r, t.cache.create(), t.serializer);
|
|
3103
3103
|
}
|
|
3104
|
-
function
|
|
3105
|
-
return We(e, this,
|
|
3104
|
+
function On(e, t) {
|
|
3105
|
+
return We(e, this, Zt, t.cache.create(), t.serializer);
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3108
|
-
return We(e, this,
|
|
3107
|
+
function Cn(e, t) {
|
|
3108
|
+
return We(e, this, Wt, t.cache.create(), t.serializer);
|
|
3109
3109
|
}
|
|
3110
|
-
var
|
|
3110
|
+
var Pn = function() {
|
|
3111
3111
|
return JSON.stringify(arguments);
|
|
3112
3112
|
};
|
|
3113
3113
|
function Ze() {
|
|
@@ -3119,17 +3119,17 @@ Ze.prototype.get = function(e) {
|
|
|
3119
3119
|
Ze.prototype.set = function(e, t) {
|
|
3120
3120
|
this.cache[e] = t;
|
|
3121
3121
|
};
|
|
3122
|
-
var
|
|
3122
|
+
var Ln = {
|
|
3123
3123
|
create: function() {
|
|
3124
3124
|
return new Ze();
|
|
3125
3125
|
}
|
|
3126
|
-
},
|
|
3127
|
-
variadic:
|
|
3128
|
-
monadic:
|
|
3129
|
-
},
|
|
3126
|
+
}, Ce = {
|
|
3127
|
+
variadic: On,
|
|
3128
|
+
monadic: Cn
|
|
3129
|
+
}, X;
|
|
3130
3130
|
(function(e) {
|
|
3131
3131
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3132
|
-
})(
|
|
3132
|
+
})(X || (X = {}));
|
|
3133
3133
|
var _e = (
|
|
3134
3134
|
/** @class */
|
|
3135
3135
|
function(e) {
|
|
@@ -3147,46 +3147,46 @@ var _e = (
|
|
|
3147
3147
|
function(e) {
|
|
3148
3148
|
ge(t, e);
|
|
3149
3149
|
function t(r, n, i, s) {
|
|
3150
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3150
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
|
|
3151
3151
|
}
|
|
3152
3152
|
return t;
|
|
3153
3153
|
}(_e)
|
|
3154
|
-
),
|
|
3154
|
+
), Nn = (
|
|
3155
3155
|
/** @class */
|
|
3156
3156
|
function(e) {
|
|
3157
3157
|
ge(t, e);
|
|
3158
3158
|
function t(r, n, i) {
|
|
3159
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3159
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3160
3160
|
}
|
|
3161
3161
|
return t;
|
|
3162
3162
|
}(_e)
|
|
3163
|
-
),
|
|
3163
|
+
), In = (
|
|
3164
3164
|
/** @class */
|
|
3165
3165
|
function(e) {
|
|
3166
3166
|
ge(t, e);
|
|
3167
3167
|
function t(r, n) {
|
|
3168
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3168
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3169
3169
|
}
|
|
3170
3170
|
return t;
|
|
3171
3171
|
}(_e)
|
|
3172
|
-
),
|
|
3172
|
+
), x;
|
|
3173
3173
|
(function(e) {
|
|
3174
3174
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3175
|
-
})(
|
|
3176
|
-
function
|
|
3175
|
+
})(x || (x = {}));
|
|
3176
|
+
function Mn(e) {
|
|
3177
3177
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3178
3178
|
var n = t[t.length - 1];
|
|
3179
|
-
return !n || n.type !==
|
|
3179
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3180
3180
|
}, []);
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3182
|
+
function $n(e) {
|
|
3183
3183
|
return typeof e == "function";
|
|
3184
3184
|
}
|
|
3185
3185
|
function le(e, t, r, n, i, s, a) {
|
|
3186
3186
|
if (e.length === 1 && st(e[0]))
|
|
3187
3187
|
return [
|
|
3188
3188
|
{
|
|
3189
|
-
type:
|
|
3189
|
+
type: x.literal,
|
|
3190
3190
|
value: e[0].value
|
|
3191
3191
|
}
|
|
3192
3192
|
];
|
|
@@ -3194,103 +3194,103 @@ function le(e, t, r, n, i, s, a) {
|
|
|
3194
3194
|
var h = u[l];
|
|
3195
3195
|
if (st(h)) {
|
|
3196
3196
|
o.push({
|
|
3197
|
-
type:
|
|
3197
|
+
type: x.literal,
|
|
3198
3198
|
value: h.value
|
|
3199
3199
|
});
|
|
3200
3200
|
continue;
|
|
3201
3201
|
}
|
|
3202
|
-
if (
|
|
3202
|
+
if (qr(h)) {
|
|
3203
3203
|
typeof s == "number" && o.push({
|
|
3204
|
-
type:
|
|
3204
|
+
type: x.literal,
|
|
3205
3205
|
value: r.getNumberFormat(t).format(s)
|
|
3206
3206
|
});
|
|
3207
3207
|
continue;
|
|
3208
3208
|
}
|
|
3209
|
-
var
|
|
3210
|
-
if (!(i &&
|
|
3211
|
-
throw new
|
|
3212
|
-
var
|
|
3213
|
-
if (
|
|
3214
|
-
(!
|
|
3215
|
-
type: typeof
|
|
3216
|
-
value:
|
|
3209
|
+
var f = h.value;
|
|
3210
|
+
if (!(i && f in i))
|
|
3211
|
+
throw new In(f, a);
|
|
3212
|
+
var c = i[f];
|
|
3213
|
+
if (Jr(h)) {
|
|
3214
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3215
|
+
type: typeof c == "string" ? x.literal : x.object,
|
|
3216
|
+
value: c
|
|
3217
3217
|
});
|
|
3218
3218
|
continue;
|
|
3219
3219
|
}
|
|
3220
|
-
if (
|
|
3220
|
+
if (It(h)) {
|
|
3221
3221
|
var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
|
|
3222
3222
|
o.push({
|
|
3223
|
-
type:
|
|
3224
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3223
|
+
type: x.literal,
|
|
3224
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3225
3225
|
});
|
|
3226
3226
|
continue;
|
|
3227
3227
|
}
|
|
3228
|
-
if (
|
|
3228
|
+
if (Mt(h)) {
|
|
3229
3229
|
var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3230
3230
|
o.push({
|
|
3231
|
-
type:
|
|
3232
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3231
|
+
type: x.literal,
|
|
3232
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3233
3233
|
});
|
|
3234
3234
|
continue;
|
|
3235
3235
|
}
|
|
3236
|
-
if (
|
|
3237
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3238
|
-
p && p.scale && (
|
|
3239
|
-
type:
|
|
3240
|
-
value: r.getNumberFormat(t, p).format(
|
|
3236
|
+
if (Nt(h)) {
|
|
3237
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Dt(h.style) ? h.style.parsedOptions : void 0;
|
|
3238
|
+
p && p.scale && (c = c * (p.scale || 1)), o.push({
|
|
3239
|
+
type: x.literal,
|
|
3240
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3241
3241
|
});
|
|
3242
3242
|
continue;
|
|
3243
3243
|
}
|
|
3244
|
-
if (
|
|
3245
|
-
var m = h.children,
|
|
3246
|
-
if (
|
|
3247
|
-
throw new
|
|
3248
|
-
var
|
|
3249
|
-
return
|
|
3244
|
+
if (Ut(h)) {
|
|
3245
|
+
var m = h.children, g = h.value, v = i[g];
|
|
3246
|
+
if (!$n(v))
|
|
3247
|
+
throw new Nn(g, "function", a);
|
|
3248
|
+
var N = le(m, t, r, n, i, s), O = v(N.map(function(w) {
|
|
3249
|
+
return w.value;
|
|
3250
3250
|
}));
|
|
3251
|
-
Array.isArray(
|
|
3251
|
+
Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(w) {
|
|
3252
3252
|
return {
|
|
3253
|
-
type: typeof
|
|
3254
|
-
value:
|
|
3253
|
+
type: typeof w == "string" ? x.literal : x.object,
|
|
3254
|
+
value: w
|
|
3255
3255
|
};
|
|
3256
3256
|
}));
|
|
3257
3257
|
}
|
|
3258
|
-
if (
|
|
3259
|
-
var
|
|
3260
|
-
if (!
|
|
3261
|
-
throw new ct(h.value,
|
|
3262
|
-
o.push.apply(o, le(
|
|
3258
|
+
if ($t(h)) {
|
|
3259
|
+
var H = h.options[c] || h.options.other;
|
|
3260
|
+
if (!H)
|
|
3261
|
+
throw new ct(h.value, c, Object.keys(h.options), a);
|
|
3262
|
+
o.push.apply(o, le(H.value, t, r, n, i));
|
|
3263
3263
|
continue;
|
|
3264
3264
|
}
|
|
3265
|
-
if (
|
|
3266
|
-
var
|
|
3267
|
-
if (!
|
|
3265
|
+
if (Rt(h)) {
|
|
3266
|
+
var H = h.options["=".concat(c)];
|
|
3267
|
+
if (!H) {
|
|
3268
3268
|
if (!Intl.PluralRules)
|
|
3269
3269
|
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3270
3270
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3271
|
-
`,
|
|
3272
|
-
var
|
|
3273
|
-
|
|
3271
|
+
`, X.MISSING_INTL_API, a);
|
|
3272
|
+
var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3273
|
+
H = h.options[I] || h.options.other;
|
|
3274
3274
|
}
|
|
3275
|
-
if (!
|
|
3276
|
-
throw new ct(h.value,
|
|
3277
|
-
o.push.apply(o, le(
|
|
3275
|
+
if (!H)
|
|
3276
|
+
throw new ct(h.value, c, Object.keys(h.options), a);
|
|
3277
|
+
o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
|
|
3278
3278
|
continue;
|
|
3279
3279
|
}
|
|
3280
3280
|
}
|
|
3281
|
-
return
|
|
3281
|
+
return Mn(o);
|
|
3282
3282
|
}
|
|
3283
|
-
function
|
|
3284
|
-
return t ?
|
|
3285
|
-
return r[n] =
|
|
3283
|
+
function Rn(e, t) {
|
|
3284
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3285
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3286
3286
|
}, {})) : e;
|
|
3287
3287
|
}
|
|
3288
|
-
function
|
|
3288
|
+
function Un(e, t) {
|
|
3289
3289
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3290
|
-
return r[n] =
|
|
3291
|
-
},
|
|
3290
|
+
return r[n] = Rn(e[n], t[n]), r;
|
|
3291
|
+
}, y({}, e)) : e;
|
|
3292
3292
|
}
|
|
3293
|
-
function
|
|
3293
|
+
function Pe(e) {
|
|
3294
3294
|
return {
|
|
3295
3295
|
create: function() {
|
|
3296
3296
|
return {
|
|
@@ -3304,7 +3304,7 @@ function Ce(e) {
|
|
|
3304
3304
|
}
|
|
3305
3305
|
};
|
|
3306
3306
|
}
|
|
3307
|
-
function
|
|
3307
|
+
function Dn(e) {
|
|
3308
3308
|
return e === void 0 && (e = {
|
|
3309
3309
|
number: {},
|
|
3310
3310
|
dateTime: {},
|
|
@@ -3313,30 +3313,30 @@ function Mn(e) {
|
|
|
3313
3313
|
getNumberFormat: Oe(function() {
|
|
3314
3314
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3315
3315
|
r[n] = arguments[n];
|
|
3316
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3316
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
|
|
3317
3317
|
}, {
|
|
3318
|
-
cache:
|
|
3319
|
-
strategy:
|
|
3318
|
+
cache: Pe(e.number),
|
|
3319
|
+
strategy: Ce.variadic
|
|
3320
3320
|
}),
|
|
3321
3321
|
getDateTimeFormat: Oe(function() {
|
|
3322
3322
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3323
3323
|
r[n] = arguments[n];
|
|
3324
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3324
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
|
|
3325
3325
|
}, {
|
|
3326
|
-
cache:
|
|
3327
|
-
strategy:
|
|
3326
|
+
cache: Pe(e.dateTime),
|
|
3327
|
+
strategy: Ce.variadic
|
|
3328
3328
|
}),
|
|
3329
3329
|
getPluralRules: Oe(function() {
|
|
3330
3330
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3331
3331
|
r[n] = arguments[n];
|
|
3332
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3332
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
|
|
3333
3333
|
}, {
|
|
3334
|
-
cache:
|
|
3335
|
-
strategy:
|
|
3334
|
+
cache: Pe(e.pluralRules),
|
|
3335
|
+
strategy: Ce.variadic
|
|
3336
3336
|
})
|
|
3337
3337
|
};
|
|
3338
3338
|
}
|
|
3339
|
-
var
|
|
3339
|
+
var Qt = (
|
|
3340
3340
|
/** @class */
|
|
3341
3341
|
function() {
|
|
3342
3342
|
function e(t, r, n, i) {
|
|
@@ -3349,8 +3349,8 @@ var Wt = (
|
|
|
3349
3349
|
var u = s.formatToParts(l);
|
|
3350
3350
|
if (u.length === 1)
|
|
3351
3351
|
return u[0].value;
|
|
3352
|
-
var h = u.reduce(function(
|
|
3353
|
-
return !
|
|
3352
|
+
var h = u.reduce(function(f, c) {
|
|
3353
|
+
return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3354
3354
|
}, []);
|
|
3355
3355
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3356
3356
|
}, this.formatToParts = function(l) {
|
|
@@ -3367,13 +3367,13 @@ var Wt = (
|
|
|
3367
3367
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3368
3368
|
var a = i || {};
|
|
3369
3369
|
a.formatters;
|
|
3370
|
-
var o =
|
|
3371
|
-
this.ast = e.__parse(t,
|
|
3370
|
+
var o = Qr(a, ["formatters"]);
|
|
3371
|
+
this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
|
|
3372
3372
|
} else
|
|
3373
3373
|
this.ast = t;
|
|
3374
3374
|
if (!Array.isArray(this.ast))
|
|
3375
3375
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3376
|
-
this.formats =
|
|
3376
|
+
this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
|
|
3377
3377
|
}
|
|
3378
3378
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3379
3379
|
get: function() {
|
|
@@ -3386,7 +3386,7 @@ var Wt = (
|
|
|
3386
3386
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3387
3387
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3388
3388
|
}
|
|
3389
|
-
}, e.__parse =
|
|
3389
|
+
}, e.__parse = wn, e.formats = {
|
|
3390
3390
|
number: {
|
|
3391
3391
|
integer: {
|
|
3392
3392
|
maximumFractionDigits: 0
|
|
@@ -3447,7 +3447,7 @@ var Wt = (
|
|
|
3447
3447
|
}, e;
|
|
3448
3448
|
}()
|
|
3449
3449
|
);
|
|
3450
|
-
function
|
|
3450
|
+
function Gn(e, t) {
|
|
3451
3451
|
if (t == null)
|
|
3452
3452
|
return;
|
|
3453
3453
|
if (t in e)
|
|
@@ -3468,44 +3468,44 @@ function $n(e, t) {
|
|
|
3468
3468
|
n = void 0;
|
|
3469
3469
|
return n;
|
|
3470
3470
|
}
|
|
3471
|
-
const
|
|
3471
|
+
const C = {}, Fn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Jt = (e, t) => {
|
|
3472
3472
|
if (t == null)
|
|
3473
3473
|
return;
|
|
3474
|
-
if (t in
|
|
3475
|
-
return
|
|
3474
|
+
if (t in C && e in C[t])
|
|
3475
|
+
return C[t][e];
|
|
3476
3476
|
const r = ie(t);
|
|
3477
3477
|
for (let n = 0; n < r.length; n++) {
|
|
3478
|
-
const i = r[n], s =
|
|
3478
|
+
const i = r[n], s = kn(i, e);
|
|
3479
3479
|
if (s)
|
|
3480
|
-
return
|
|
3480
|
+
return Fn(e, t, s);
|
|
3481
3481
|
}
|
|
3482
3482
|
};
|
|
3483
3483
|
let Qe;
|
|
3484
3484
|
const ne = be({});
|
|
3485
|
-
function
|
|
3485
|
+
function jn(e) {
|
|
3486
3486
|
return Qe[e] || null;
|
|
3487
3487
|
}
|
|
3488
|
-
function
|
|
3488
|
+
function qt(e) {
|
|
3489
3489
|
return e in Qe;
|
|
3490
3490
|
}
|
|
3491
|
-
function
|
|
3492
|
-
if (!
|
|
3491
|
+
function kn(e, t) {
|
|
3492
|
+
if (!qt(e))
|
|
3493
3493
|
return null;
|
|
3494
|
-
const r =
|
|
3495
|
-
return
|
|
3494
|
+
const r = jn(e);
|
|
3495
|
+
return Gn(r, t);
|
|
3496
3496
|
}
|
|
3497
|
-
function
|
|
3497
|
+
function Vn(e) {
|
|
3498
3498
|
if (e == null)
|
|
3499
3499
|
return;
|
|
3500
3500
|
const t = ie(e);
|
|
3501
3501
|
for (let r = 0; r < t.length; r++) {
|
|
3502
3502
|
const n = t[r];
|
|
3503
|
-
if (
|
|
3503
|
+
if (qt(n))
|
|
3504
3504
|
return n;
|
|
3505
3505
|
}
|
|
3506
3506
|
}
|
|
3507
|
-
function
|
|
3508
|
-
delete
|
|
3507
|
+
function Yt(e, ...t) {
|
|
3508
|
+
delete C[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
|
|
3509
3509
|
}
|
|
3510
3510
|
Z(
|
|
3511
3511
|
[ne],
|
|
@@ -3513,15 +3513,15 @@ Z(
|
|
|
3513
3513
|
);
|
|
3514
3514
|
ne.subscribe((e) => Qe = e);
|
|
3515
3515
|
const fe = {};
|
|
3516
|
-
function
|
|
3516
|
+
function Xn(e, t) {
|
|
3517
3517
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
3518
3518
|
}
|
|
3519
|
-
function
|
|
3519
|
+
function Kt(e) {
|
|
3520
3520
|
return fe[e];
|
|
3521
3521
|
}
|
|
3522
|
-
function
|
|
3522
|
+
function zn(e) {
|
|
3523
3523
|
return ie(e).map((t) => {
|
|
3524
|
-
const r =
|
|
3524
|
+
const r = Kt(t);
|
|
3525
3525
|
return [t, r ? [...r] : []];
|
|
3526
3526
|
}).filter(([, t]) => t.length > 0);
|
|
3527
3527
|
}
|
|
@@ -3529,40 +3529,40 @@ function me(e) {
|
|
|
3529
3529
|
return e == null ? !1 : ie(e).some(
|
|
3530
3530
|
(t) => {
|
|
3531
3531
|
var r;
|
|
3532
|
-
return (r =
|
|
3532
|
+
return (r = Kt(t)) == null ? void 0 : r.size;
|
|
3533
3533
|
}
|
|
3534
3534
|
);
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function Wn(e, t) {
|
|
3537
3537
|
return Promise.all(
|
|
3538
|
-
t.map((n) => (
|
|
3539
|
-
).then((n) =>
|
|
3538
|
+
t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
|
|
3539
|
+
).then((n) => Yt(e, ...n));
|
|
3540
3540
|
}
|
|
3541
3541
|
const J = {};
|
|
3542
|
-
function
|
|
3542
|
+
function er(e) {
|
|
3543
3543
|
if (!me(e))
|
|
3544
3544
|
return e in J ? J[e] : Promise.resolve();
|
|
3545
|
-
const t =
|
|
3545
|
+
const t = zn(e);
|
|
3546
3546
|
return J[e] = Promise.all(
|
|
3547
3547
|
t.map(
|
|
3548
|
-
([r, n]) =>
|
|
3548
|
+
([r, n]) => Wn(r, n)
|
|
3549
3549
|
)
|
|
3550
3550
|
).then(() => {
|
|
3551
3551
|
if (me(e))
|
|
3552
|
-
return
|
|
3552
|
+
return er(e);
|
|
3553
3553
|
delete J[e];
|
|
3554
3554
|
}), J[e];
|
|
3555
3555
|
}
|
|
3556
|
-
var mt = Object.getOwnPropertySymbols,
|
|
3556
|
+
var mt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
|
|
3557
3557
|
var r = {};
|
|
3558
3558
|
for (var n in e)
|
|
3559
|
-
|
|
3559
|
+
Zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3560
3560
|
if (e != null && mt)
|
|
3561
3561
|
for (var n of mt(e))
|
|
3562
|
-
t.indexOf(n) < 0 &&
|
|
3562
|
+
t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
|
|
3563
3563
|
return r;
|
|
3564
3564
|
};
|
|
3565
|
-
const
|
|
3565
|
+
const qn = {
|
|
3566
3566
|
number: {
|
|
3567
3567
|
scientific: { notation: "scientific" },
|
|
3568
3568
|
engineering: { notation: "engineering" },
|
|
@@ -3592,81 +3592,81 @@ const Wn = {
|
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
3594
3594
|
};
|
|
3595
|
-
function
|
|
3595
|
+
function Yn({ locale: e, id: t }) {
|
|
3596
3596
|
console.warn(
|
|
3597
3597
|
`[svelte-i18n] The message "${t}" was not found in "${ie(
|
|
3598
3598
|
e
|
|
3599
|
-
).join('", "')}".${me(
|
|
3599
|
+
).join('", "')}".${me(L()) ? `
|
|
3600
3600
|
|
|
3601
3601
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3602
3602
|
);
|
|
3603
3603
|
}
|
|
3604
|
-
const
|
|
3604
|
+
const Kn = {
|
|
3605
3605
|
fallbackLocale: null,
|
|
3606
3606
|
loadingDelay: 200,
|
|
3607
|
-
formats:
|
|
3607
|
+
formats: qn,
|
|
3608
3608
|
warnOnMissingMessages: !0,
|
|
3609
3609
|
handleMissingMessage: void 0,
|
|
3610
3610
|
ignoreTag: !0
|
|
3611
|
-
}, q =
|
|
3612
|
-
function
|
|
3611
|
+
}, q = Kn;
|
|
3612
|
+
function z() {
|
|
3613
3613
|
return q;
|
|
3614
3614
|
}
|
|
3615
|
-
function
|
|
3616
|
-
const t = e, { formats: r } = t, n =
|
|
3615
|
+
function ei(e) {
|
|
3616
|
+
const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
|
|
3617
3617
|
let i = e.fallbackLocale;
|
|
3618
3618
|
if (e.initialLocale)
|
|
3619
3619
|
try {
|
|
3620
|
-
|
|
3620
|
+
Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3621
3621
|
} catch (s) {
|
|
3622
3622
|
console.warn(
|
|
3623
3623
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3624
3624
|
);
|
|
3625
3625
|
}
|
|
3626
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3626
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
|
|
3627
3627
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3628
|
-
)), Object.assign(q, n, { initialLocale: i }), r && ("number" in r && Object.assign(q.formats.number, r.number), "date" in r && Object.assign(q.formats.date, r.date), "time" in r && Object.assign(q.formats.time, r.time)),
|
|
3628
|
+
)), Object.assign(q, n, { initialLocale: i }), r && ("number" in r && Object.assign(q.formats.number, r.number), "date" in r && Object.assign(q.formats.date, r.date), "time" in r && Object.assign(q.formats.time, r.time)), $.set(i);
|
|
3629
3629
|
}
|
|
3630
3630
|
const Le = be(!1);
|
|
3631
|
-
var
|
|
3631
|
+
var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
|
|
3632
3632
|
for (var r in t || (t = {}))
|
|
3633
|
-
|
|
3633
|
+
ii.call(t, r) && dt(e, r, t[r]);
|
|
3634
3634
|
if (pt)
|
|
3635
3635
|
for (var r of pt(t))
|
|
3636
|
-
|
|
3636
|
+
si.call(t, r) && dt(e, r, t[r]);
|
|
3637
3637
|
return e;
|
|
3638
|
-
},
|
|
3638
|
+
}, ai = (e, t) => ri(e, ni(t));
|
|
3639
3639
|
let ke;
|
|
3640
3640
|
const pe = be(null);
|
|
3641
3641
|
function bt(e) {
|
|
3642
3642
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3643
3643
|
}
|
|
3644
|
-
function ie(e, t =
|
|
3644
|
+
function ie(e, t = z().fallbackLocale) {
|
|
3645
3645
|
const r = bt(e);
|
|
3646
3646
|
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
3647
3647
|
}
|
|
3648
|
-
function
|
|
3648
|
+
function L() {
|
|
3649
3649
|
return ke != null ? ke : void 0;
|
|
3650
3650
|
}
|
|
3651
3651
|
pe.subscribe((e) => {
|
|
3652
3652
|
ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3653
3653
|
});
|
|
3654
|
-
const
|
|
3655
|
-
if (e &&
|
|
3656
|
-
const { loadingDelay: t } =
|
|
3654
|
+
const ui = (e) => {
|
|
3655
|
+
if (e && Vn(e) && me(e)) {
|
|
3656
|
+
const { loadingDelay: t } = z();
|
|
3657
3657
|
let r;
|
|
3658
|
-
return typeof window != "undefined" &&
|
|
3658
|
+
return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
|
|
3659
3659
|
() => Le.set(!0),
|
|
3660
3660
|
t
|
|
3661
|
-
) : Le.set(!0),
|
|
3661
|
+
) : Le.set(!0), er(e).then(() => {
|
|
3662
3662
|
pe.set(e);
|
|
3663
3663
|
}).finally(() => {
|
|
3664
3664
|
clearTimeout(r), Le.set(!1);
|
|
3665
3665
|
});
|
|
3666
3666
|
}
|
|
3667
3667
|
return pe.set(e);
|
|
3668
|
-
},
|
|
3669
|
-
set:
|
|
3668
|
+
}, $ = ai(oi({}, pe), {
|
|
3669
|
+
set: ui
|
|
3670
3670
|
}), ye = (e) => {
|
|
3671
3671
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3672
3672
|
return (n) => {
|
|
@@ -3674,42 +3674,42 @@ const ii = (e) => {
|
|
|
3674
3674
|
return i in t ? t[i] : t[i] = e(n);
|
|
3675
3675
|
};
|
|
3676
3676
|
};
|
|
3677
|
-
var
|
|
3677
|
+
var hi = Object.defineProperty, de = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
3678
3678
|
for (var r in t || (t = {}))
|
|
3679
|
-
|
|
3679
|
+
tr.call(t, r) && gt(e, r, t[r]);
|
|
3680
3680
|
if (de)
|
|
3681
3681
|
for (var r of de(t))
|
|
3682
|
-
|
|
3682
|
+
rr.call(t, r) && gt(e, r, t[r]);
|
|
3683
3683
|
return e;
|
|
3684
3684
|
}, Q = (e, t) => {
|
|
3685
3685
|
var r = {};
|
|
3686
3686
|
for (var n in e)
|
|
3687
|
-
|
|
3687
|
+
tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3688
3688
|
if (e != null && de)
|
|
3689
3689
|
for (var n of de(e))
|
|
3690
|
-
t.indexOf(n) < 0 &&
|
|
3690
|
+
t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
|
|
3691
3691
|
return r;
|
|
3692
3692
|
};
|
|
3693
3693
|
const ee = (e, t) => {
|
|
3694
|
-
const { formats: r } =
|
|
3694
|
+
const { formats: r } = z();
|
|
3695
3695
|
if (e in r && t in r[e])
|
|
3696
3696
|
return r[e][t];
|
|
3697
3697
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3698
|
-
},
|
|
3698
|
+
}, li = ye(
|
|
3699
3699
|
(e) => {
|
|
3700
3700
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3701
3701
|
if (r == null)
|
|
3702
3702
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3703
3703
|
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
|
3704
3704
|
}
|
|
3705
|
-
),
|
|
3705
|
+
), fi = ye(
|
|
3706
3706
|
(e) => {
|
|
3707
3707
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3708
3708
|
if (r == null)
|
|
3709
3709
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3710
3710
|
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3711
3711
|
}
|
|
3712
|
-
),
|
|
3712
|
+
), ci = ye(
|
|
3713
3713
|
(e) => {
|
|
3714
3714
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3715
3715
|
if (r == null)
|
|
@@ -3718,76 +3718,76 @@ const ee = (e, t) => {
|
|
|
3718
3718
|
);
|
|
3719
3719
|
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3720
3720
|
}
|
|
3721
|
-
),
|
|
3721
|
+
), mi = (e = {}) => {
|
|
3722
3722
|
var t = e, {
|
|
3723
|
-
locale: r =
|
|
3723
|
+
locale: r = L()
|
|
3724
3724
|
} = t, n = Q(t, [
|
|
3725
3725
|
"locale"
|
|
3726
3726
|
]);
|
|
3727
|
-
return
|
|
3728
|
-
},
|
|
3727
|
+
return li(Je({ locale: r }, n));
|
|
3728
|
+
}, pi = (e = {}) => {
|
|
3729
3729
|
var t = e, {
|
|
3730
|
-
locale: r =
|
|
3730
|
+
locale: r = L()
|
|
3731
3731
|
} = t, n = Q(t, [
|
|
3732
3732
|
"locale"
|
|
3733
3733
|
]);
|
|
3734
|
-
return
|
|
3735
|
-
},
|
|
3734
|
+
return fi(Je({ locale: r }, n));
|
|
3735
|
+
}, di = (e = {}) => {
|
|
3736
3736
|
var t = e, {
|
|
3737
|
-
locale: r =
|
|
3737
|
+
locale: r = L()
|
|
3738
3738
|
} = t, n = Q(t, [
|
|
3739
3739
|
"locale"
|
|
3740
3740
|
]);
|
|
3741
|
-
return
|
|
3742
|
-
},
|
|
3741
|
+
return ci(Je({ locale: r }, n));
|
|
3742
|
+
}, bi = ye(
|
|
3743
3743
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3744
|
-
(e, t =
|
|
3745
|
-
ignoreTag:
|
|
3744
|
+
(e, t = L()) => new Qt(e, t, z().formats, {
|
|
3745
|
+
ignoreTag: z().ignoreTag
|
|
3746
3746
|
})
|
|
3747
|
-
),
|
|
3747
|
+
), gi = (e, t = {}) => {
|
|
3748
3748
|
var r, n, i, s;
|
|
3749
3749
|
let a = t;
|
|
3750
3750
|
typeof e == "object" && (a = e, e = a.id);
|
|
3751
3751
|
const {
|
|
3752
3752
|
values: o,
|
|
3753
|
-
locale: l =
|
|
3753
|
+
locale: l = L(),
|
|
3754
3754
|
default: u
|
|
3755
3755
|
} = a;
|
|
3756
3756
|
if (l == null)
|
|
3757
3757
|
throw new Error(
|
|
3758
3758
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3759
3759
|
);
|
|
3760
|
-
let h =
|
|
3760
|
+
let h = Jt(e, l);
|
|
3761
3761
|
if (!h)
|
|
3762
|
-
h = (s = (i = (n = (r =
|
|
3762
|
+
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;
|
|
3763
3763
|
else if (typeof h != "string")
|
|
3764
3764
|
return console.warn(
|
|
3765
3765
|
`[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.`
|
|
3766
3766
|
), h;
|
|
3767
3767
|
if (!o)
|
|
3768
3768
|
return h;
|
|
3769
|
-
let
|
|
3769
|
+
let f = h;
|
|
3770
3770
|
try {
|
|
3771
|
-
|
|
3772
|
-
} catch (
|
|
3773
|
-
|
|
3771
|
+
f = bi(h, l).format(o);
|
|
3772
|
+
} catch (c) {
|
|
3773
|
+
c instanceof Error && console.warn(
|
|
3774
3774
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3775
|
-
|
|
3775
|
+
c.message
|
|
3776
3776
|
);
|
|
3777
3777
|
}
|
|
3778
|
-
return
|
|
3779
|
-
},
|
|
3780
|
-
Z([
|
|
3781
|
-
Z([
|
|
3782
|
-
Z([
|
|
3783
|
-
Z([
|
|
3778
|
+
return f;
|
|
3779
|
+
}, _i = (e, t) => di(t).format(e), yi = (e, t) => pi(t).format(e), Ei = (e, t) => mi(t).format(e), xi = (e, t = L()) => Jt(e, t), vi = Z([$, ne], () => gi);
|
|
3780
|
+
Z([$], () => _i);
|
|
3781
|
+
Z([$], () => yi);
|
|
3782
|
+
Z([$], () => Ei);
|
|
3783
|
+
Z([$, ne], () => xi);
|
|
3784
3784
|
function _t(e, t) {
|
|
3785
|
-
|
|
3785
|
+
Yt(e, t);
|
|
3786
3786
|
}
|
|
3787
|
-
function
|
|
3788
|
-
|
|
3787
|
+
function Hi(e) {
|
|
3788
|
+
ei({
|
|
3789
3789
|
fallbackLocale: "en"
|
|
3790
|
-
}),
|
|
3790
|
+
}), $.set(e);
|
|
3791
3791
|
}
|
|
3792
3792
|
const yt = {
|
|
3793
3793
|
en: {
|
|
@@ -3805,10 +3805,10 @@ const yt = {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
3807
|
};
|
|
3808
|
-
function
|
|
3809
|
-
|
|
3808
|
+
function Bi(e) {
|
|
3809
|
+
pr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
3810
3810
|
}
|
|
3811
|
-
const
|
|
3811
|
+
const Ti = (e) => ({}), Et = (e) => ({}), wi = (e) => ({}), xt = (e) => ({}), Si = (e) => ({}), vt = (e) => ({});
|
|
3812
3812
|
function Ht(e) {
|
|
3813
3813
|
let t, r, n;
|
|
3814
3814
|
return {
|
|
@@ -3816,44 +3816,44 @@ function Ht(e) {
|
|
|
3816
3816
|
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>', re(t, "class", "CashierHeaderLeftButton");
|
|
3817
3817
|
},
|
|
3818
3818
|
m(i, s) {
|
|
3819
|
-
|
|
3819
|
+
M(i, t, s), r || (n = Ct(
|
|
3820
3820
|
t,
|
|
3821
3821
|
"click",
|
|
3822
3822
|
/*back*/
|
|
3823
|
-
e[
|
|
3823
|
+
e[6]
|
|
3824
3824
|
), r = !0);
|
|
3825
3825
|
},
|
|
3826
3826
|
p: T,
|
|
3827
3827
|
d(i) {
|
|
3828
|
-
i &&
|
|
3828
|
+
i && P(t), r = !1, n();
|
|
3829
3829
|
}
|
|
3830
3830
|
};
|
|
3831
3831
|
}
|
|
3832
|
-
function
|
|
3832
|
+
function Ai(e) {
|
|
3833
3833
|
let t, r = (
|
|
3834
3834
|
/*backButton*/
|
|
3835
3835
|
e[1] && Ht(e)
|
|
3836
3836
|
);
|
|
3837
3837
|
return {
|
|
3838
3838
|
c() {
|
|
3839
|
-
r && r.c(), t =
|
|
3839
|
+
r && r.c(), t = Ot();
|
|
3840
3840
|
},
|
|
3841
3841
|
m(n, i) {
|
|
3842
|
-
r && r.m(n, i),
|
|
3842
|
+
r && r.m(n, i), M(n, t, i);
|
|
3843
3843
|
},
|
|
3844
3844
|
p(n, i) {
|
|
3845
3845
|
/*backButton*/
|
|
3846
3846
|
n[1] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3847
3847
|
},
|
|
3848
3848
|
d(n) {
|
|
3849
|
-
n &&
|
|
3849
|
+
n && P(t), r && r.d(n);
|
|
3850
3850
|
}
|
|
3851
3851
|
};
|
|
3852
3852
|
}
|
|
3853
|
-
function
|
|
3853
|
+
function Oi(e) {
|
|
3854
3854
|
let t, r = (
|
|
3855
3855
|
/*$_*/
|
|
3856
|
-
e[
|
|
3856
|
+
e[4](
|
|
3857
3857
|
/*titleText*/
|
|
3858
3858
|
e[2]
|
|
3859
3859
|
) + ""
|
|
@@ -3863,279 +3863,313 @@ function Ti(e) {
|
|
|
3863
3863
|
t = W("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
|
|
3864
3864
|
},
|
|
3865
3865
|
m(i, s) {
|
|
3866
|
-
|
|
3866
|
+
M(i, t, s), ce(t, n);
|
|
3867
3867
|
},
|
|
3868
3868
|
p(i, s) {
|
|
3869
3869
|
s & /*$_, titleText*/
|
|
3870
|
-
|
|
3871
|
-
i[
|
|
3870
|
+
20 && r !== (r = /*$_*/
|
|
3871
|
+
i[4](
|
|
3872
3872
|
/*titleText*/
|
|
3873
3873
|
i[2]
|
|
3874
|
-
) + "") &&
|
|
3874
|
+
) + "") && _r(n, r);
|
|
3875
3875
|
},
|
|
3876
3876
|
d(i) {
|
|
3877
|
-
i &&
|
|
3877
|
+
i && P(t);
|
|
3878
3878
|
}
|
|
3879
3879
|
};
|
|
3880
3880
|
}
|
|
3881
|
-
function
|
|
3881
|
+
function Bt(e) {
|
|
3882
3882
|
let t, r, n;
|
|
3883
3883
|
return {
|
|
3884
3884
|
c() {
|
|
3885
3885
|
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>', re(t, "class", "CashierHeaderRightButton");
|
|
3886
3886
|
},
|
|
3887
3887
|
m(i, s) {
|
|
3888
|
-
|
|
3888
|
+
M(i, t, s), r || (n = Ct(
|
|
3889
3889
|
t,
|
|
3890
3890
|
"click",
|
|
3891
3891
|
/*close*/
|
|
3892
|
-
e[
|
|
3892
|
+
e[5]
|
|
3893
3893
|
), r = !0);
|
|
3894
3894
|
},
|
|
3895
3895
|
p: T,
|
|
3896
3896
|
d(i) {
|
|
3897
|
-
i &&
|
|
3897
|
+
i && P(t), r = !1, n();
|
|
3898
|
+
}
|
|
3899
|
+
};
|
|
3900
|
+
}
|
|
3901
|
+
function Ci(e) {
|
|
3902
|
+
let t, r = (
|
|
3903
|
+
/*closeButton*/
|
|
3904
|
+
e[3] && Bt(e)
|
|
3905
|
+
);
|
|
3906
|
+
return {
|
|
3907
|
+
c() {
|
|
3908
|
+
r && r.c(), t = Ot();
|
|
3909
|
+
},
|
|
3910
|
+
m(n, i) {
|
|
3911
|
+
r && r.m(n, i), M(n, t, i);
|
|
3912
|
+
},
|
|
3913
|
+
p(n, i) {
|
|
3914
|
+
/*closeButton*/
|
|
3915
|
+
n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3916
|
+
},
|
|
3917
|
+
d(n) {
|
|
3918
|
+
n && P(t), r && r.d(n);
|
|
3898
3919
|
}
|
|
3899
3920
|
};
|
|
3900
3921
|
}
|
|
3901
|
-
function
|
|
3922
|
+
function Pi(e) {
|
|
3902
3923
|
let t, r, n, i;
|
|
3903
3924
|
const s = (
|
|
3904
3925
|
/*#slots*/
|
|
3905
|
-
e[
|
|
3906
|
-
), a =
|
|
3926
|
+
e[15].leftButton
|
|
3927
|
+
), a = xe(
|
|
3907
3928
|
s,
|
|
3908
3929
|
e,
|
|
3909
3930
|
/*$$scope*/
|
|
3910
|
-
e[
|
|
3931
|
+
e[14],
|
|
3911
3932
|
vt
|
|
3912
|
-
), o = a ||
|
|
3933
|
+
), o = a || Ai(e), l = (
|
|
3913
3934
|
/*#slots*/
|
|
3914
|
-
e[
|
|
3915
|
-
), u =
|
|
3935
|
+
e[15].title
|
|
3936
|
+
), u = xe(
|
|
3916
3937
|
l,
|
|
3917
3938
|
e,
|
|
3918
3939
|
/*$$scope*/
|
|
3919
|
-
e[
|
|
3920
|
-
|
|
3921
|
-
), h = u ||
|
|
3940
|
+
e[14],
|
|
3941
|
+
xt
|
|
3942
|
+
), h = u || Oi(e), f = (
|
|
3922
3943
|
/*#slots*/
|
|
3923
|
-
e[
|
|
3924
|
-
),
|
|
3925
|
-
|
|
3944
|
+
e[15].rightButton
|
|
3945
|
+
), c = xe(
|
|
3946
|
+
f,
|
|
3926
3947
|
e,
|
|
3927
3948
|
/*$$scope*/
|
|
3928
|
-
e[
|
|
3929
|
-
|
|
3930
|
-
), p =
|
|
3949
|
+
e[14],
|
|
3950
|
+
Et
|
|
3951
|
+
), p = c || Ci(e);
|
|
3931
3952
|
return {
|
|
3932
3953
|
c() {
|
|
3933
3954
|
t = W("div"), o && o.c(), r = rt(), h && h.c(), n = rt(), p && p.c(), re(t, "class", "CashierHeader");
|
|
3934
3955
|
},
|
|
3935
|
-
m(m,
|
|
3936
|
-
|
|
3956
|
+
m(m, g) {
|
|
3957
|
+
M(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[16](t), i = !0;
|
|
3937
3958
|
},
|
|
3938
|
-
p(m, [
|
|
3939
|
-
a ? a.p && (!i ||
|
|
3940
|
-
|
|
3959
|
+
p(m, [g]) {
|
|
3960
|
+
a ? a.p && (!i || g & /*$$scope*/
|
|
3961
|
+
16384) && He(
|
|
3941
3962
|
a,
|
|
3942
3963
|
s,
|
|
3943
3964
|
m,
|
|
3944
3965
|
/*$$scope*/
|
|
3945
|
-
m[
|
|
3966
|
+
m[14],
|
|
3946
3967
|
i ? ve(
|
|
3947
3968
|
s,
|
|
3948
3969
|
/*$$scope*/
|
|
3949
|
-
m[
|
|
3950
|
-
|
|
3951
|
-
|
|
3970
|
+
m[14],
|
|
3971
|
+
g,
|
|
3972
|
+
Si
|
|
3952
3973
|
) : Be(
|
|
3953
3974
|
/*$$scope*/
|
|
3954
|
-
m[
|
|
3975
|
+
m[14]
|
|
3955
3976
|
),
|
|
3956
3977
|
vt
|
|
3957
|
-
) : o && o.p && (!i ||
|
|
3958
|
-
2) && o.p(m, i ?
|
|
3959
|
-
|
|
3978
|
+
) : o && o.p && (!i || g & /*backButton*/
|
|
3979
|
+
2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
|
|
3980
|
+
16384) && He(
|
|
3960
3981
|
u,
|
|
3961
3982
|
l,
|
|
3962
3983
|
m,
|
|
3963
3984
|
/*$$scope*/
|
|
3964
|
-
m[
|
|
3985
|
+
m[14],
|
|
3965
3986
|
i ? ve(
|
|
3966
3987
|
l,
|
|
3967
3988
|
/*$$scope*/
|
|
3968
|
-
m[
|
|
3969
|
-
|
|
3970
|
-
|
|
3989
|
+
m[14],
|
|
3990
|
+
g,
|
|
3991
|
+
wi
|
|
3971
3992
|
) : Be(
|
|
3972
3993
|
/*$$scope*/
|
|
3973
|
-
m[
|
|
3994
|
+
m[14]
|
|
3974
3995
|
),
|
|
3975
|
-
|
|
3976
|
-
) : h && h.p && (!i ||
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
f,
|
|
3996
|
+
xt
|
|
3997
|
+
) : h && h.p && (!i || g & /*$_, titleText*/
|
|
3998
|
+
20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
|
|
3999
|
+
16384) && He(
|
|
3980
4000
|
c,
|
|
4001
|
+
f,
|
|
3981
4002
|
m,
|
|
3982
4003
|
/*$$scope*/
|
|
3983
|
-
m[
|
|
4004
|
+
m[14],
|
|
3984
4005
|
i ? ve(
|
|
3985
|
-
|
|
4006
|
+
f,
|
|
3986
4007
|
/*$$scope*/
|
|
3987
|
-
m[
|
|
3988
|
-
|
|
3989
|
-
|
|
4008
|
+
m[14],
|
|
4009
|
+
g,
|
|
4010
|
+
Ti
|
|
3990
4011
|
) : Be(
|
|
3991
4012
|
/*$$scope*/
|
|
3992
|
-
m[
|
|
4013
|
+
m[14]
|
|
3993
4014
|
),
|
|
3994
|
-
|
|
3995
|
-
)
|
|
4015
|
+
Et
|
|
4016
|
+
) : p && p.p && (!i || g & /*closeButton*/
|
|
4017
|
+
8) && p.p(m, i ? g : -1);
|
|
3996
4018
|
},
|
|
3997
4019
|
i(m) {
|
|
3998
4020
|
i || (ue(o, m), ue(h, m), ue(p, m), i = !0);
|
|
3999
4021
|
},
|
|
4000
4022
|
o(m) {
|
|
4001
|
-
|
|
4023
|
+
we(o, m), we(h, m), we(p, m), i = !1;
|
|
4002
4024
|
},
|
|
4003
4025
|
d(m) {
|
|
4004
|
-
m &&
|
|
4026
|
+
m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
|
|
4005
4027
|
}
|
|
4006
4028
|
};
|
|
4007
4029
|
}
|
|
4008
|
-
function
|
|
4030
|
+
function Li(e, t, r) {
|
|
4009
4031
|
let n;
|
|
4010
|
-
|
|
4011
|
-
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang:
|
|
4012
|
-
const
|
|
4032
|
+
mr(e, vi, (_) => r(4, n = _));
|
|
4033
|
+
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;
|
|
4034
|
+
const N = () => {
|
|
4013
4035
|
let _ = l;
|
|
4014
|
-
_ && fetch(_).then((
|
|
4015
|
-
Object.keys(
|
|
4016
|
-
_t(
|
|
4036
|
+
_ && fetch(_).then((S) => S.json()).then((S) => {
|
|
4037
|
+
Object.keys(S).forEach((U) => {
|
|
4038
|
+
_t(U, S[U]);
|
|
4017
4039
|
});
|
|
4018
|
-
}).catch((
|
|
4019
|
-
console.log(
|
|
4040
|
+
}).catch((S) => {
|
|
4041
|
+
console.log(S);
|
|
4020
4042
|
});
|
|
4021
4043
|
};
|
|
4022
4044
|
Object.keys(yt).forEach((_) => {
|
|
4023
4045
|
_t(_, yt[_]);
|
|
4024
4046
|
});
|
|
4025
|
-
const
|
|
4047
|
+
const O = () => {
|
|
4026
4048
|
let _ = document.createElement("style");
|
|
4027
|
-
_.innerHTML = a,
|
|
4028
|
-
},
|
|
4029
|
-
let _ = new URL(o),
|
|
4030
|
-
fetch(_.href).then((
|
|
4031
|
-
|
|
4049
|
+
_.innerHTML = a, p.appendChild(_);
|
|
4050
|
+
}, H = () => {
|
|
4051
|
+
let _ = new URL(o), S = document.createElement("style");
|
|
4052
|
+
fetch(_.href).then((U) => U.text()).then((U) => {
|
|
4053
|
+
S.innerHTML = U, setTimeout(
|
|
4032
4054
|
() => {
|
|
4033
|
-
|
|
4055
|
+
p.appendChild(S);
|
|
4034
4056
|
},
|
|
4035
4057
|
1
|
|
4036
4058
|
);
|
|
4037
4059
|
});
|
|
4038
|
-
},
|
|
4039
|
-
|
|
4040
|
-
},
|
|
4060
|
+
}, I = () => {
|
|
4061
|
+
Hi(f);
|
|
4062
|
+
}, w = () => {
|
|
4041
4063
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
4042
|
-
},
|
|
4064
|
+
}, R = () => {
|
|
4043
4065
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
4044
|
-
},
|
|
4045
|
-
r(1,
|
|
4046
|
-
},
|
|
4047
|
-
r(
|
|
4066
|
+
}, se = () => {
|
|
4067
|
+
r(1, m = !!u && u !== "false");
|
|
4068
|
+
}, nr = () => {
|
|
4069
|
+
r(3, v = !!c && c !== "false");
|
|
4070
|
+
}, ir = () => {
|
|
4071
|
+
r(2, g = h || "header.general");
|
|
4048
4072
|
};
|
|
4049
|
-
function
|
|
4073
|
+
function sr(_) {
|
|
4050
4074
|
Ne[_ ? "unshift" : "push"](() => {
|
|
4051
|
-
|
|
4075
|
+
p = _, r(0, p);
|
|
4052
4076
|
});
|
|
4053
4077
|
}
|
|
4054
4078
|
return e.$$set = (_) => {
|
|
4055
|
-
"clientstyling" in _ && r(
|
|
4079
|
+
"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);
|
|
4056
4080
|
}, e.$$.update = () => {
|
|
4057
4081
|
e.$$.dirty & /*lang*/
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4082
|
+
4096 && f && I(), e.$$.dirty & /*lang, title*/
|
|
4083
|
+
6144 && f && h && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4084
|
+
129 && a && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4085
|
+
257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
|
|
4086
|
+
4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
|
|
4087
|
+
1024 && u && se(), e.$$.dirty & /*showclosebutton*/
|
|
4088
|
+
8192 && c && nr();
|
|
4064
4089
|
}, [
|
|
4065
|
-
f,
|
|
4066
4090
|
p,
|
|
4067
4091
|
m,
|
|
4068
|
-
|
|
4092
|
+
g,
|
|
4069
4093
|
v,
|
|
4070
|
-
|
|
4094
|
+
n,
|
|
4095
|
+
w,
|
|
4096
|
+
R,
|
|
4071
4097
|
a,
|
|
4072
4098
|
o,
|
|
4073
4099
|
l,
|
|
4074
4100
|
u,
|
|
4075
4101
|
h,
|
|
4102
|
+
f,
|
|
4076
4103
|
c,
|
|
4077
4104
|
s,
|
|
4078
4105
|
i,
|
|
4079
|
-
|
|
4106
|
+
sr
|
|
4080
4107
|
];
|
|
4081
4108
|
}
|
|
4082
|
-
class
|
|
4109
|
+
class Ni extends Cr {
|
|
4083
4110
|
constructor(t) {
|
|
4084
|
-
super(),
|
|
4111
|
+
super(), Ar(
|
|
4085
4112
|
this,
|
|
4086
4113
|
t,
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4114
|
+
Li,
|
|
4115
|
+
Pi,
|
|
4116
|
+
wt,
|
|
4090
4117
|
{
|
|
4091
|
-
clientstyling:
|
|
4092
|
-
clientstylingurl:
|
|
4093
|
-
translationurl:
|
|
4094
|
-
showbackbutton:
|
|
4095
|
-
title:
|
|
4096
|
-
lang:
|
|
4118
|
+
clientstyling: 7,
|
|
4119
|
+
clientstylingurl: 8,
|
|
4120
|
+
translationurl: 9,
|
|
4121
|
+
showbackbutton: 10,
|
|
4122
|
+
title: 11,
|
|
4123
|
+
lang: 12,
|
|
4124
|
+
showclosebutton: 13
|
|
4097
4125
|
},
|
|
4098
|
-
|
|
4126
|
+
Bi
|
|
4099
4127
|
);
|
|
4100
4128
|
}
|
|
4101
4129
|
get clientstyling() {
|
|
4102
|
-
return this.$$.ctx[
|
|
4130
|
+
return this.$$.ctx[7];
|
|
4103
4131
|
}
|
|
4104
4132
|
set clientstyling(t) {
|
|
4105
|
-
this.$$set({ clientstyling: t }),
|
|
4133
|
+
this.$$set({ clientstyling: t }), A();
|
|
4106
4134
|
}
|
|
4107
4135
|
get clientstylingurl() {
|
|
4108
|
-
return this.$$.ctx[
|
|
4136
|
+
return this.$$.ctx[8];
|
|
4109
4137
|
}
|
|
4110
4138
|
set clientstylingurl(t) {
|
|
4111
|
-
this.$$set({ clientstylingurl: t }),
|
|
4139
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
4112
4140
|
}
|
|
4113
4141
|
get translationurl() {
|
|
4114
|
-
return this.$$.ctx[
|
|
4142
|
+
return this.$$.ctx[9];
|
|
4115
4143
|
}
|
|
4116
4144
|
set translationurl(t) {
|
|
4117
|
-
this.$$set({ translationurl: t }),
|
|
4145
|
+
this.$$set({ translationurl: t }), A();
|
|
4118
4146
|
}
|
|
4119
4147
|
get showbackbutton() {
|
|
4120
|
-
return this.$$.ctx[
|
|
4148
|
+
return this.$$.ctx[10];
|
|
4121
4149
|
}
|
|
4122
4150
|
set showbackbutton(t) {
|
|
4123
|
-
this.$$set({ showbackbutton: t }),
|
|
4151
|
+
this.$$set({ showbackbutton: t }), A();
|
|
4124
4152
|
}
|
|
4125
4153
|
get title() {
|
|
4126
|
-
return this.$$.ctx[
|
|
4154
|
+
return this.$$.ctx[11];
|
|
4127
4155
|
}
|
|
4128
4156
|
set title(t) {
|
|
4129
|
-
this.$$set({ title: t }),
|
|
4157
|
+
this.$$set({ title: t }), A();
|
|
4130
4158
|
}
|
|
4131
4159
|
get lang() {
|
|
4132
|
-
return this.$$.ctx[
|
|
4160
|
+
return this.$$.ctx[12];
|
|
4133
4161
|
}
|
|
4134
4162
|
set lang(t) {
|
|
4135
|
-
this.$$set({ lang: t }),
|
|
4163
|
+
this.$$set({ lang: t }), A();
|
|
4164
|
+
}
|
|
4165
|
+
get showclosebutton() {
|
|
4166
|
+
return this.$$.ctx[13];
|
|
4167
|
+
}
|
|
4168
|
+
set showclosebutton(t) {
|
|
4169
|
+
this.$$set({ showclosebutton: t }), A();
|
|
4136
4170
|
}
|
|
4137
4171
|
}
|
|
4138
|
-
|
|
4172
|
+
Or(Ni, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
4139
4173
|
export {
|
|
4140
|
-
|
|
4174
|
+
Ni as default
|
|
4141
4175
|
};
|