@everymatrix/cashier-iframe-redirect 1.61.1 → 1.62.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.
- package/components/{CashierHeader-BVTI8DE4.js → CashierHeader-BU2XhOB-.js} +822 -816
- package/components/CashierHeader-CIf8LriI.cjs +5 -0
- package/components/{CashierHeader-Cvab2tdW.js → CashierHeader-wVdCRyGA.js} +829 -823
- package/components/{CashierIframeRedirect-B5NM6lSr.js → CashierIframeRedirect-CblFjtQp.js} +3 -3
- package/components/{CashierIframeRedirect-B_i-smF4.cjs → CashierIframeRedirect-DpXCNuw0.cjs} +1 -1
- package/components/{CashierIframeRedirect-B9riTcTa.js → CashierIframeRedirect-R5EJQQx7.js} +3 -3
- package/components/{CashierSpinner-BFEcImS4.cjs → CashierSpinner-B04y6Buh.cjs} +1 -1
- package/components/{CashierSpinner-BTqY0zZG.js → CashierSpinner-CNQtcaOm.js} +1 -1
- package/components/{CashierSpinner-Dcc78ngS.js → CashierSpinner-Cx8mG885.js} +1 -1
- package/es2015/cashier-iframe-redirect.cjs +1 -1
- package/es2015/cashier-iframe-redirect.js +1 -1
- package/esnext/cashier-iframe-redirect.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-B569Pf5f.cjs +0 -18
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var ur = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ye = Object.getOwnPropertySymbols;
|
|
4
|
+
var fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
fr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Ye)
|
|
9
|
+
for (var r of Ye(t))
|
|
10
|
+
cr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var B = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, et = (e, t) => hr(e, lr(t));
|
|
13
|
+
var B = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
o(r.next(l));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
21
|
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
o(r.throw(l));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
27
|
}, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
|
|
28
28
|
o((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function T() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function mr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,29 +37,29 @@ function fr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function wt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function rt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function ne(e) {
|
|
47
|
+
e.forEach(wt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ze(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function St(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
let
|
|
56
|
-
function
|
|
57
|
-
return e === t ? !0 : (
|
|
55
|
+
let ae;
|
|
56
|
+
function Ri(e, t) {
|
|
57
|
+
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function pr(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function At(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
@@ -68,19 +68,19 @@ function wt(e, ...t) {
|
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function dr(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(At(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Be(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = Ot(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function Ot(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Te(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function He(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function we(e, t, r, n, i, s) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = Ot(t, r, n, s);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Se(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -110,17 +110,17 @@ function Te(e) {
|
|
|
110
110
|
}
|
|
111
111
|
return -1;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function pe(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function br(e, t, r) {
|
|
117
|
+
const n = gr(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
|
-
const i =
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
119
|
+
const i = Z("style");
|
|
120
|
+
i.id = t, i.textContent = r, _r(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function gr(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,49 +130,49 @@ function dr(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function _r(e, t) {
|
|
134
|
+
return pe(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
137
137
|
t
|
|
138
138
|
), t.sheet;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function $(e, t, r) {
|
|
141
141
|
e.insertBefore(t, r || null);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function L(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Z(e) {
|
|
147
147
|
return document.createElement(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Ze(e) {
|
|
150
150
|
return document.createTextNode(e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
return
|
|
152
|
+
function nt() {
|
|
153
|
+
return Ze(" ");
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function Ct() {
|
|
156
|
+
return Ze("");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Pt(e, t, r, n) {
|
|
159
159
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Q(e, t, r) {
|
|
162
162
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Ui(e, t, r) {
|
|
165
165
|
const n = t.toLowerCase();
|
|
166
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
166
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Q(e, t, r);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function yr(e) {
|
|
169
169
|
return Array.from(e.childNodes);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Er(e, t) {
|
|
172
172
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
173
173
|
t);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function xr(e) {
|
|
176
176
|
const t = {};
|
|
177
177
|
return e.childNodes.forEach(
|
|
178
178
|
/** @param {Element} node */
|
|
@@ -181,97 +181,97 @@ function yr(e) {
|
|
|
181
181
|
}
|
|
182
182
|
), t;
|
|
183
183
|
}
|
|
184
|
-
let
|
|
185
|
-
function
|
|
186
|
-
|
|
184
|
+
let Qe;
|
|
185
|
+
function ee(e) {
|
|
186
|
+
Qe = e;
|
|
187
187
|
}
|
|
188
|
-
const
|
|
189
|
-
let
|
|
190
|
-
const
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
188
|
+
const j = [], $e = [];
|
|
189
|
+
let k = [];
|
|
190
|
+
const it = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
191
|
+
let Re = !1;
|
|
192
|
+
function Hr() {
|
|
193
|
+
Re || (Re = !0, vr.then(O));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
|
|
195
|
+
function Ue(e) {
|
|
196
|
+
k.push(e);
|
|
197
197
|
}
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
if (
|
|
198
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
199
|
+
let G = 0;
|
|
200
|
+
function O() {
|
|
201
|
+
if (G !== 0)
|
|
202
202
|
return;
|
|
203
|
-
const e =
|
|
203
|
+
const e = Qe;
|
|
204
204
|
do {
|
|
205
205
|
try {
|
|
206
|
-
for (;
|
|
207
|
-
const t =
|
|
208
|
-
|
|
206
|
+
for (; G < j.length; ) {
|
|
207
|
+
const t = j[G];
|
|
208
|
+
G++, ee(t), Br(t.$$);
|
|
209
209
|
}
|
|
210
210
|
} catch (t) {
|
|
211
|
-
throw
|
|
211
|
+
throw j.length = 0, G = 0, t;
|
|
212
212
|
}
|
|
213
|
-
for (
|
|
214
|
-
|
|
215
|
-
for (let t = 0; t <
|
|
216
|
-
const r =
|
|
217
|
-
|
|
213
|
+
for (ee(null), j.length = 0, G = 0; $e.length; )
|
|
214
|
+
$e.pop()();
|
|
215
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
216
|
+
const r = k[t];
|
|
217
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
} while (
|
|
221
|
-
for (;
|
|
222
|
-
|
|
223
|
-
|
|
219
|
+
k.length = 0;
|
|
220
|
+
} while (j.length);
|
|
221
|
+
for (; it.length; )
|
|
222
|
+
it.pop()();
|
|
223
|
+
Re = !1, Ae.clear(), ee(e);
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Br(e) {
|
|
226
226
|
if (e.fragment !== null) {
|
|
227
|
-
e.update(),
|
|
227
|
+
e.update(), ne(e.before_update);
|
|
228
228
|
const t = e.dirty;
|
|
229
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
229
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Tr(e) {
|
|
233
233
|
const t = [], r = [];
|
|
234
|
-
|
|
234
|
+
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
235
235
|
}
|
|
236
236
|
const he = /* @__PURE__ */ new Set();
|
|
237
|
-
let
|
|
238
|
-
function
|
|
237
|
+
let wr;
|
|
238
|
+
function le(e, t) {
|
|
239
239
|
e && e.i && (he.delete(e), e.i(t));
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Oe(e, t, r, n) {
|
|
242
242
|
if (e && e.o) {
|
|
243
243
|
if (he.has(e))
|
|
244
244
|
return;
|
|
245
|
-
he.add(e),
|
|
245
|
+
he.add(e), wr.c.push(() => {
|
|
246
246
|
he.delete(e);
|
|
247
247
|
}), e.o(t);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Sr(e, t, r) {
|
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
-
n && n.m(t, r),
|
|
253
|
-
const s = e.$$.on_mount.map(
|
|
254
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
255
|
-
}), i.forEach(
|
|
252
|
+
n && n.m(t, r), Ue(() => {
|
|
253
|
+
const s = e.$$.on_mount.map(wt).filter(ze);
|
|
254
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
|
255
|
+
}), i.forEach(Ue);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Ar(e, t) {
|
|
258
258
|
const r = e.$$;
|
|
259
|
-
r.fragment !== null && (
|
|
259
|
+
r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
e.$$.dirty[0] === -1 && (
|
|
261
|
+
function Or(e, t) {
|
|
262
|
+
e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const l =
|
|
266
|
-
|
|
267
|
-
const
|
|
264
|
+
function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
265
|
+
const l = Qe;
|
|
266
|
+
ee(e);
|
|
267
|
+
const u = e.$$ = {
|
|
268
268
|
fragment: null,
|
|
269
269
|
ctx: [],
|
|
270
270
|
// state
|
|
271
271
|
props: s,
|
|
272
272
|
update: T,
|
|
273
273
|
not_equal: i,
|
|
274
|
-
bound:
|
|
274
|
+
bound: rt(),
|
|
275
275
|
// lifecycle
|
|
276
276
|
on_mount: [],
|
|
277
277
|
on_destroy: [],
|
|
@@ -280,28 +280,28 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
280
280
|
after_update: [],
|
|
281
281
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
282
282
|
// everything else
|
|
283
|
-
callbacks:
|
|
283
|
+
callbacks: rt(),
|
|
284
284
|
dirty: o,
|
|
285
285
|
skip_bound: !1,
|
|
286
286
|
root: t.target || l.$$.root
|
|
287
287
|
};
|
|
288
|
-
a && a(
|
|
289
|
-
let
|
|
290
|
-
if (
|
|
288
|
+
a && a(u.root);
|
|
289
|
+
let h = !1;
|
|
290
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
291
291
|
const m = p.length ? p[0] : c;
|
|
292
|
-
return
|
|
293
|
-
}) : [],
|
|
292
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Or(e, f)), c;
|
|
293
|
+
}) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
294
294
|
if (t.hydrate) {
|
|
295
|
-
const f =
|
|
296
|
-
|
|
295
|
+
const f = yr(t.target);
|
|
296
|
+
u.fragment && u.fragment.l(f), f.forEach(L);
|
|
297
297
|
} else
|
|
298
|
-
|
|
299
|
-
t.intro &&
|
|
298
|
+
u.fragment && u.fragment.c();
|
|
299
|
+
t.intro && le(e.$$.fragment), Sr(e, t.target, t.anchor), O();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
ee(l);
|
|
302
302
|
}
|
|
303
|
-
let
|
|
304
|
-
typeof HTMLElement == "function" && (
|
|
303
|
+
let Lt;
|
|
304
|
+
typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
305
305
|
constructor(t, r, n) {
|
|
306
306
|
super();
|
|
307
307
|
/** The Svelte component constructor */
|
|
@@ -338,42 +338,42 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
connectedCallback() {
|
|
341
|
-
return
|
|
341
|
+
return tt(this, null, function* () {
|
|
342
342
|
if (this.$$cn = !0, !this.$$c) {
|
|
343
343
|
let t = function(s) {
|
|
344
344
|
return () => {
|
|
345
345
|
let a;
|
|
346
346
|
return {
|
|
347
347
|
c: function() {
|
|
348
|
-
a =
|
|
348
|
+
a = Z("slot"), s !== "default" && Q(a, "name", s);
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
351
|
* @param {HTMLElement} target
|
|
352
352
|
* @param {HTMLElement} [anchor]
|
|
353
353
|
*/
|
|
354
|
-
m: function(
|
|
355
|
-
|
|
354
|
+
m: function(u, h) {
|
|
355
|
+
$(u, a, h);
|
|
356
356
|
},
|
|
357
|
-
d: function(
|
|
358
|
-
|
|
357
|
+
d: function(u) {
|
|
358
|
+
u && L(a);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
};
|
|
363
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const r = {}, n =
|
|
365
|
+
const r = {}, n = xr(this);
|
|
366
366
|
for (const s of this.$$s)
|
|
367
367
|
s in n && (r[s] = [t(s)]);
|
|
368
368
|
for (const s of this.attributes) {
|
|
369
369
|
const a = this.$$g_p(s.name);
|
|
370
|
-
a in this.$$d || (this.$$d[a] =
|
|
370
|
+
a in this.$$d || (this.$$d[a] = fe(a, s.value, this.$$p_d, "toProp"));
|
|
371
371
|
}
|
|
372
372
|
for (const s in this.$$p_d)
|
|
373
373
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
374
374
|
this.$$c = new this.$$ctor({
|
|
375
375
|
target: this.shadowRoot || this,
|
|
376
|
-
props:
|
|
376
|
+
props: et(Ke({}, this.$$d), {
|
|
377
377
|
$$slots: r,
|
|
378
378
|
$$scope: {
|
|
379
379
|
ctx: []
|
|
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
384
384
|
this.$$r = !0;
|
|
385
385
|
for (const s in this.$$p_d)
|
|
386
386
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
387
|
-
const a =
|
|
387
|
+
const a = fe(
|
|
388
388
|
s,
|
|
389
389
|
this.$$d[s],
|
|
390
390
|
this.$$p_d,
|
|
@@ -408,7 +408,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
408
408
|
// and setting attributes through setAttribute etc, this is helpful
|
|
409
409
|
attributeChangedCallback(t, r, n) {
|
|
410
410
|
var i;
|
|
411
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
411
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
412
412
|
}
|
|
413
413
|
disconnectedCallback() {
|
|
414
414
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
421
421
|
) || t;
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
function
|
|
424
|
+
function fe(e, t, r, n) {
|
|
425
425
|
var s;
|
|
426
426
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
427
427
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -451,8 +451,8 @@ function le(e, t, r, n) {
|
|
|
451
451
|
return t;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
let a = class extends
|
|
454
|
+
function Pr(e, t, r, n, i, s) {
|
|
455
|
+
let a = class extends Lt {
|
|
456
456
|
constructor() {
|
|
457
457
|
super(e, r, i), this.$$p_d = t;
|
|
458
458
|
}
|
|
@@ -468,8 +468,8 @@ function Cr(e, t, r, n, i, s) {
|
|
|
468
468
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
469
469
|
},
|
|
470
470
|
set(l) {
|
|
471
|
-
var
|
|
472
|
-
l =
|
|
471
|
+
var u;
|
|
472
|
+
l = fe(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
}), n.forEach((o) => {
|
|
@@ -482,7 +482,7 @@ function Cr(e, t, r, n, i, s) {
|
|
|
482
482
|
}), e.element = /** @type {any} */
|
|
483
483
|
a, a;
|
|
484
484
|
}
|
|
485
|
-
class
|
|
485
|
+
class Lr {
|
|
486
486
|
constructor() {
|
|
487
487
|
/**
|
|
488
488
|
* ### PRIVATE API
|
|
@@ -503,7 +503,7 @@ class Or {
|
|
|
503
503
|
}
|
|
504
504
|
/** @returns {void} */
|
|
505
505
|
$destroy() {
|
|
506
|
-
|
|
506
|
+
Ar(this, 1), this.$destroy = T;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -512,7 +512,7 @@ class Or {
|
|
|
512
512
|
* @returns {() => void}
|
|
513
513
|
*/
|
|
514
514
|
$on(t, r) {
|
|
515
|
-
if (!
|
|
515
|
+
if (!ze(r))
|
|
516
516
|
return T;
|
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
518
|
return n.push(r), () => {
|
|
@@ -525,29 +525,29 @@ class Or {
|
|
|
525
525
|
* @returns {void}
|
|
526
526
|
*/
|
|
527
527
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
const
|
|
532
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
533
|
-
const
|
|
534
|
-
function
|
|
531
|
+
const Nr = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
|
|
533
|
+
const F = [];
|
|
534
|
+
function Ir(e, t) {
|
|
535
535
|
return {
|
|
536
|
-
subscribe:
|
|
536
|
+
subscribe: ye(e, t).subscribe
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function ye(e, t = T) {
|
|
540
540
|
let r;
|
|
541
541
|
const n = /* @__PURE__ */ new Set();
|
|
542
542
|
function i(o) {
|
|
543
|
-
if (
|
|
544
|
-
const l = !
|
|
545
|
-
for (const
|
|
546
|
-
|
|
543
|
+
if (St(e, o) && (e = o, r)) {
|
|
544
|
+
const l = !F.length;
|
|
545
|
+
for (const u of n)
|
|
546
|
+
u[1](), F.push(u, e);
|
|
547
547
|
if (l) {
|
|
548
|
-
for (let
|
|
549
|
-
|
|
550
|
-
|
|
548
|
+
for (let u = 0; u < F.length; u += 2)
|
|
549
|
+
F[u][0](F[u + 1]);
|
|
550
|
+
F.length = 0;
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -555,160 +555,146 @@ function ge(e, t = T) {
|
|
|
555
555
|
i(o(e));
|
|
556
556
|
}
|
|
557
557
|
function a(o, l = T) {
|
|
558
|
-
const
|
|
559
|
-
return n.add(
|
|
560
|
-
n.delete(
|
|
558
|
+
const u = [o, l];
|
|
559
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
|
|
560
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
563
|
return { set: i, update: s, subscribe: a };
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function q(e, t, r) {
|
|
566
566
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
567
567
|
if (!i.every(Boolean))
|
|
568
568
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
569
569
|
const s = t.length < 2;
|
|
570
|
-
return
|
|
570
|
+
return Ir(r, (a, o) => {
|
|
571
571
|
let l = !1;
|
|
572
|
-
const
|
|
573
|
-
let
|
|
572
|
+
const u = [];
|
|
573
|
+
let h = 0, f = T;
|
|
574
574
|
const c = () => {
|
|
575
|
-
if (
|
|
575
|
+
if (h)
|
|
576
576
|
return;
|
|
577
577
|
f();
|
|
578
|
-
const m = t(n ?
|
|
579
|
-
s ? a(m) : f =
|
|
578
|
+
const m = t(n ? u[0] : u, a, o);
|
|
579
|
+
s ? a(m) : f = ze(m) ? m : T;
|
|
580
580
|
}, p = i.map(
|
|
581
|
-
(m, g) =>
|
|
581
|
+
(m, g) => At(
|
|
582
582
|
m,
|
|
583
583
|
(v) => {
|
|
584
|
-
|
|
584
|
+
u[g] = v, h &= ~(1 << g), l && c();
|
|
585
585
|
},
|
|
586
586
|
() => {
|
|
587
|
-
|
|
587
|
+
h |= 1 << g;
|
|
588
588
|
}
|
|
589
589
|
)
|
|
590
590
|
);
|
|
591
591
|
return l = !0, c(), function() {
|
|
592
|
-
|
|
592
|
+
ne(p), f(), l = !1;
|
|
593
593
|
};
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function Mr(e) {
|
|
597
597
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
return
|
|
599
|
+
var $r = function(t) {
|
|
600
|
+
return Rr(t) && !Ur(t);
|
|
601
601
|
};
|
|
602
|
-
function
|
|
602
|
+
function Rr(e) {
|
|
603
603
|
return !!e && typeof e == "object";
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function Ur(e) {
|
|
606
606
|
var t = Object.prototype.toString.call(e);
|
|
607
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
607
|
+
return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return e.$$typeof ===
|
|
609
|
+
var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
|
|
610
|
+
function Fr(e) {
|
|
611
|
+
return e.$$typeof === Gr;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function jr(e) {
|
|
614
614
|
return Array.isArray(e) ? [] : {};
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
616
|
+
function te(e, t) {
|
|
617
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(jr(e), e, t) : e;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function kr(e, t, r) {
|
|
620
620
|
return e.concat(t).map(function(n) {
|
|
621
|
-
return
|
|
621
|
+
return te(n, r);
|
|
622
622
|
});
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Vr(e, t) {
|
|
625
625
|
if (!t.customMerge)
|
|
626
|
-
return
|
|
626
|
+
return V;
|
|
627
627
|
var r = t.customMerge(e);
|
|
628
|
-
return typeof r == "function" ? r :
|
|
628
|
+
return typeof r == "function" ? r : V;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function Xr(e) {
|
|
631
631
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
632
632
|
return Object.propertyIsEnumerable.call(e, t);
|
|
633
633
|
}) : [];
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return Object.keys(e).concat(
|
|
635
|
+
function st(e) {
|
|
636
|
+
return Object.keys(e).concat(Xr(e));
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Nt(e, t) {
|
|
639
639
|
try {
|
|
640
640
|
return t in e;
|
|
641
641
|
} catch (r) {
|
|
642
642
|
return !1;
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
return
|
|
645
|
+
function Wr(e, t) {
|
|
646
|
+
return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function zr(e, t, r) {
|
|
649
649
|
var n = {};
|
|
650
|
-
return r.isMergeableObject(e) &&
|
|
651
|
-
n[i] =
|
|
652
|
-
}),
|
|
653
|
-
|
|
650
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
651
|
+
n[i] = te(e[i], r);
|
|
652
|
+
}), st(t).forEach(function(i) {
|
|
653
|
+
Wr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
654
654
|
}), n;
|
|
655
655
|
}
|
|
656
|
-
function
|
|
657
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
656
|
+
function V(e, t, r) {
|
|
657
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = te;
|
|
658
658
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
659
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
659
|
+
return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : te(t, r);
|
|
660
660
|
}
|
|
661
|
-
|
|
661
|
+
V.all = function(t, r) {
|
|
662
662
|
if (!Array.isArray(t))
|
|
663
663
|
throw new Error("first argument should be an array");
|
|
664
664
|
return t.reduce(function(n, i) {
|
|
665
|
-
return
|
|
665
|
+
return V(n, i, r);
|
|
666
666
|
}, {});
|
|
667
667
|
};
|
|
668
|
-
var
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
674
|
-
purpose with or without fee is hereby granted.
|
|
675
|
-
|
|
676
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
677
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
678
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
679
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
680
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
681
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
682
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
683
|
-
***************************************************************************** */
|
|
684
|
-
var Re = function(e, t) {
|
|
685
|
-
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
668
|
+
var Zr = V, Qr = Zr;
|
|
669
|
+
const qr = /* @__PURE__ */ Mr(Qr);
|
|
670
|
+
var De = function(e, t) {
|
|
671
|
+
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
686
672
|
r.__proto__ = n;
|
|
687
673
|
} || function(r, n) {
|
|
688
674
|
for (var i in n)
|
|
689
675
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
690
|
-
},
|
|
676
|
+
}, De(e, t);
|
|
691
677
|
};
|
|
692
|
-
function
|
|
678
|
+
function Ee(e, t) {
|
|
693
679
|
if (typeof t != "function" && t !== null)
|
|
694
680
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
695
|
-
|
|
681
|
+
De(e, t);
|
|
696
682
|
function r() {
|
|
697
683
|
this.constructor = e;
|
|
698
684
|
}
|
|
699
685
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
700
686
|
}
|
|
701
|
-
var
|
|
702
|
-
return
|
|
687
|
+
var w = function() {
|
|
688
|
+
return w = Object.assign || function(t) {
|
|
703
689
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
704
690
|
r = arguments[n];
|
|
705
691
|
for (var s in r)
|
|
706
692
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
707
693
|
}
|
|
708
694
|
return t;
|
|
709
|
-
},
|
|
695
|
+
}, w.apply(this, arguments);
|
|
710
696
|
};
|
|
711
|
-
function
|
|
697
|
+
function Jr(e, t) {
|
|
712
698
|
var r = {};
|
|
713
699
|
for (var n in e)
|
|
714
700
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -717,43 +703,43 @@ function Qr(e, t) {
|
|
|
717
703
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
718
704
|
return r;
|
|
719
705
|
}
|
|
720
|
-
function
|
|
721
|
-
if (arguments.length === 2)
|
|
706
|
+
function Ce(e, t, r) {
|
|
707
|
+
if (r || arguments.length === 2)
|
|
722
708
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
723
709
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
724
|
-
return e.concat(s || t);
|
|
710
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
725
711
|
}
|
|
726
|
-
function
|
|
727
|
-
var r = t && t.cache ? t.cache :
|
|
712
|
+
function Pe(e, t) {
|
|
713
|
+
var r = t && t.cache ? t.cache : sn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
|
|
728
714
|
return i(e, {
|
|
729
715
|
cache: r,
|
|
730
716
|
serializer: n
|
|
731
717
|
});
|
|
732
718
|
}
|
|
733
|
-
function
|
|
719
|
+
function Yr(e) {
|
|
734
720
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
735
721
|
}
|
|
736
|
-
function
|
|
737
|
-
var i =
|
|
722
|
+
function Kr(e, t, r, n) {
|
|
723
|
+
var i = Yr(n) ? n : r(n), s = t.get(i);
|
|
738
724
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
739
725
|
}
|
|
740
|
-
function
|
|
726
|
+
function It(e, t, r) {
|
|
741
727
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
742
728
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
743
729
|
}
|
|
744
|
-
function
|
|
730
|
+
function Mt(e, t, r, n, i) {
|
|
745
731
|
return r.bind(t, e, n, i);
|
|
746
732
|
}
|
|
747
|
-
function
|
|
748
|
-
var r = e.length === 1 ?
|
|
749
|
-
return
|
|
733
|
+
function en(e, t) {
|
|
734
|
+
var r = e.length === 1 ? Kr : It;
|
|
735
|
+
return Mt(e, this, r, t.cache.create(), t.serializer);
|
|
750
736
|
}
|
|
751
|
-
function
|
|
752
|
-
return
|
|
737
|
+
function tn(e, t) {
|
|
738
|
+
return Mt(e, this, It, t.cache.create(), t.serializer);
|
|
753
739
|
}
|
|
754
|
-
var
|
|
740
|
+
var rn = function() {
|
|
755
741
|
return JSON.stringify(arguments);
|
|
756
|
-
},
|
|
742
|
+
}, nn = (
|
|
757
743
|
/** @class */
|
|
758
744
|
function() {
|
|
759
745
|
function e() {
|
|
@@ -765,61 +751,71 @@ var en = function() {
|
|
|
765
751
|
this.cache[t] = r;
|
|
766
752
|
}, e;
|
|
767
753
|
}()
|
|
768
|
-
),
|
|
754
|
+
), sn = {
|
|
769
755
|
create: function() {
|
|
770
|
-
return new
|
|
756
|
+
return new nn();
|
|
771
757
|
}
|
|
772
|
-
},
|
|
773
|
-
variadic:
|
|
774
|
-
},
|
|
758
|
+
}, Le = {
|
|
759
|
+
variadic: tn
|
|
760
|
+
}, de = function() {
|
|
761
|
+
return de = Object.assign || function(t) {
|
|
762
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
763
|
+
r = arguments[n];
|
|
764
|
+
for (var s in r)
|
|
765
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
766
|
+
}
|
|
767
|
+
return t;
|
|
768
|
+
}, de.apply(this, arguments);
|
|
769
|
+
};
|
|
770
|
+
var d;
|
|
775
771
|
(function(e) {
|
|
776
772
|
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";
|
|
777
773
|
})(d || (d = {}));
|
|
778
|
-
var
|
|
774
|
+
var y;
|
|
779
775
|
(function(e) {
|
|
780
776
|
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";
|
|
781
|
-
})(
|
|
782
|
-
var
|
|
777
|
+
})(y || (y = {}));
|
|
778
|
+
var X;
|
|
783
779
|
(function(e) {
|
|
784
780
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
785
|
-
})(
|
|
786
|
-
function
|
|
787
|
-
return e.type ===
|
|
788
|
-
}
|
|
789
|
-
function nn(e) {
|
|
790
|
-
return e.type === x.argument;
|
|
791
|
-
}
|
|
792
|
-
function It(e) {
|
|
793
|
-
return e.type === x.number;
|
|
781
|
+
})(X || (X = {}));
|
|
782
|
+
function ot(e) {
|
|
783
|
+
return e.type === y.literal;
|
|
794
784
|
}
|
|
795
|
-
function
|
|
796
|
-
return e.type ===
|
|
785
|
+
function on(e) {
|
|
786
|
+
return e.type === y.argument;
|
|
797
787
|
}
|
|
798
788
|
function $t(e) {
|
|
799
|
-
return e.type ===
|
|
789
|
+
return e.type === y.number;
|
|
800
790
|
}
|
|
801
791
|
function Rt(e) {
|
|
802
|
-
return e.type ===
|
|
792
|
+
return e.type === y.date;
|
|
803
793
|
}
|
|
804
794
|
function Ut(e) {
|
|
805
|
-
return e.type ===
|
|
806
|
-
}
|
|
807
|
-
function sn(e) {
|
|
808
|
-
return e.type === x.pound;
|
|
795
|
+
return e.type === y.time;
|
|
809
796
|
}
|
|
810
797
|
function Dt(e) {
|
|
811
|
-
return e.type ===
|
|
798
|
+
return e.type === y.select;
|
|
812
799
|
}
|
|
813
800
|
function Gt(e) {
|
|
814
|
-
return
|
|
801
|
+
return e.type === y.plural;
|
|
815
802
|
}
|
|
816
|
-
function Ue(e) {
|
|
817
|
-
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
818
|
-
}
|
|
819
|
-
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
|
|
820
803
|
function an(e) {
|
|
804
|
+
return e.type === y.pound;
|
|
805
|
+
}
|
|
806
|
+
function Ft(e) {
|
|
807
|
+
return e.type === y.tag;
|
|
808
|
+
}
|
|
809
|
+
function jt(e) {
|
|
810
|
+
return !!(e && typeof e == "object" && e.type === X.number);
|
|
811
|
+
}
|
|
812
|
+
function Ge(e) {
|
|
813
|
+
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
814
|
+
}
|
|
815
|
+
var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
816
|
+
function hn(e) {
|
|
821
817
|
var t = {};
|
|
822
|
-
return e.replace(
|
|
818
|
+
return e.replace(un, function(r) {
|
|
823
819
|
var n = r.length;
|
|
824
820
|
switch (r[0]) {
|
|
825
821
|
case "G":
|
|
@@ -908,18 +904,28 @@ function an(e) {
|
|
|
908
904
|
return "";
|
|
909
905
|
}), t;
|
|
910
906
|
}
|
|
911
|
-
var
|
|
912
|
-
function
|
|
907
|
+
var E = function() {
|
|
908
|
+
return E = Object.assign || function(t) {
|
|
909
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
910
|
+
r = arguments[n];
|
|
911
|
+
for (var s in r)
|
|
912
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
913
|
+
}
|
|
914
|
+
return t;
|
|
915
|
+
}, E.apply(this, arguments);
|
|
916
|
+
};
|
|
917
|
+
var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
918
|
+
function fn(e) {
|
|
913
919
|
if (e.length === 0)
|
|
914
920
|
throw new Error("Number skeleton cannot be empty");
|
|
915
|
-
for (var t = e.split(
|
|
921
|
+
for (var t = e.split(ln).filter(function(c) {
|
|
916
922
|
return c.length > 0;
|
|
917
923
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
918
924
|
var s = i[n], a = s.split("/");
|
|
919
925
|
if (a.length === 0)
|
|
920
926
|
throw new Error("Invalid number skeleton");
|
|
921
|
-
for (var o = a[0], l = a.slice(1),
|
|
922
|
-
var f = u
|
|
927
|
+
for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
928
|
+
var f = h[u];
|
|
923
929
|
if (f.length === 0)
|
|
924
930
|
throw new Error("Invalid number skeleton");
|
|
925
931
|
}
|
|
@@ -927,17 +933,17 @@ function un(e) {
|
|
|
927
933
|
}
|
|
928
934
|
return r;
|
|
929
935
|
}
|
|
930
|
-
function
|
|
936
|
+
function cn(e) {
|
|
931
937
|
return e.replace(/^(.*?)-/, "");
|
|
932
938
|
}
|
|
933
|
-
var
|
|
934
|
-
function
|
|
939
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
940
|
+
function ut(e) {
|
|
935
941
|
var t = {};
|
|
936
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
942
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
|
|
937
943
|
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)), "";
|
|
938
944
|
}), t;
|
|
939
945
|
}
|
|
940
|
-
function
|
|
946
|
+
function Wt(e) {
|
|
941
947
|
switch (e) {
|
|
942
948
|
case "sign-auto":
|
|
943
949
|
return {
|
|
@@ -977,7 +983,7 @@ function Vt(e) {
|
|
|
977
983
|
};
|
|
978
984
|
}
|
|
979
985
|
}
|
|
980
|
-
function
|
|
986
|
+
function pn(e) {
|
|
981
987
|
var t;
|
|
982
988
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
983
989
|
notation: "engineering"
|
|
@@ -985,17 +991,17 @@ function cn(e) {
|
|
|
985
991
|
notation: "scientific"
|
|
986
992
|
}, e = e.slice(1)), t) {
|
|
987
993
|
var r = e.slice(0, 2);
|
|
988
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
994
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
|
|
989
995
|
throw new Error("Malformed concise eng/scientific notation");
|
|
990
996
|
t.minimumIntegerDigits = e.length;
|
|
991
997
|
}
|
|
992
998
|
return t;
|
|
993
999
|
}
|
|
994
|
-
function
|
|
995
|
-
var t = {}, r =
|
|
1000
|
+
function ht(e) {
|
|
1001
|
+
var t = {}, r = Wt(e);
|
|
996
1002
|
return r || t;
|
|
997
1003
|
}
|
|
998
|
-
function
|
|
1004
|
+
function dn(e) {
|
|
999
1005
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1000
1006
|
var i = n[r];
|
|
1001
1007
|
switch (i.stem) {
|
|
@@ -1019,7 +1025,7 @@ function mn(e) {
|
|
|
1019
1025
|
continue;
|
|
1020
1026
|
case "measure-unit":
|
|
1021
1027
|
case "unit":
|
|
1022
|
-
t.style = "unit", t.unit =
|
|
1028
|
+
t.style = "unit", t.unit = cn(i.options[0]);
|
|
1023
1029
|
continue;
|
|
1024
1030
|
case "compact-short":
|
|
1025
1031
|
case "K":
|
|
@@ -1030,13 +1036,13 @@ function mn(e) {
|
|
|
1030
1036
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1031
1037
|
continue;
|
|
1032
1038
|
case "scientific":
|
|
1033
|
-
t =
|
|
1034
|
-
return
|
|
1039
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1040
|
+
return E(E({}, l), ht(u));
|
|
1035
1041
|
}, {}));
|
|
1036
1042
|
continue;
|
|
1037
1043
|
case "engineering":
|
|
1038
|
-
t =
|
|
1039
|
-
return
|
|
1044
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1045
|
+
return E(E({}, l), ht(u));
|
|
1040
1046
|
}, {}));
|
|
1041
1047
|
continue;
|
|
1042
1048
|
case "notation-simple":
|
|
@@ -1081,9 +1087,9 @@ function mn(e) {
|
|
|
1081
1087
|
case "integer-width":
|
|
1082
1088
|
if (i.options.length > 1)
|
|
1083
1089
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1084
|
-
i.options[0].replace(
|
|
1085
|
-
if (
|
|
1086
|
-
t.minimumIntegerDigits =
|
|
1090
|
+
i.options[0].replace(mn, function(l, u, h, f, c, p) {
|
|
1091
|
+
if (u)
|
|
1092
|
+
t.minimumIntegerDigits = h.length;
|
|
1087
1093
|
else {
|
|
1088
1094
|
if (f && c)
|
|
1089
1095
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1094,32 +1100,32 @@ function mn(e) {
|
|
|
1094
1100
|
});
|
|
1095
1101
|
continue;
|
|
1096
1102
|
}
|
|
1097
|
-
if (
|
|
1103
|
+
if (Xt.test(i.stem)) {
|
|
1098
1104
|
t.minimumIntegerDigits = i.stem.length;
|
|
1099
1105
|
continue;
|
|
1100
1106
|
}
|
|
1101
|
-
if (
|
|
1107
|
+
if (at.test(i.stem)) {
|
|
1102
1108
|
if (i.options.length > 1)
|
|
1103
1109
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1104
|
-
i.stem.replace(
|
|
1105
|
-
return
|
|
1110
|
+
i.stem.replace(at, function(l, u, h, f, c, p) {
|
|
1111
|
+
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), "";
|
|
1106
1112
|
});
|
|
1107
1113
|
var s = i.options[0];
|
|
1108
|
-
s === "w" ? t =
|
|
1114
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ut(s)));
|
|
1109
1115
|
continue;
|
|
1110
1116
|
}
|
|
1111
|
-
if (
|
|
1112
|
-
t =
|
|
1117
|
+
if (Vt.test(i.stem)) {
|
|
1118
|
+
t = E(E({}, t), ut(i.stem));
|
|
1113
1119
|
continue;
|
|
1114
1120
|
}
|
|
1115
|
-
var a =
|
|
1116
|
-
a && (t =
|
|
1117
|
-
var o =
|
|
1118
|
-
o && (t =
|
|
1121
|
+
var a = Wt(i.stem);
|
|
1122
|
+
a && (t = E(E({}, t), a));
|
|
1123
|
+
var o = pn(i.stem);
|
|
1124
|
+
o && (t = E(E({}, t), o));
|
|
1119
1125
|
}
|
|
1120
1126
|
return t;
|
|
1121
1127
|
}
|
|
1122
|
-
var
|
|
1128
|
+
var ue = {
|
|
1123
1129
|
"001": [
|
|
1124
1130
|
"H",
|
|
1125
1131
|
"h"
|
|
@@ -2534,23 +2540,23 @@ var ae = {
|
|
|
2534
2540
|
"h"
|
|
2535
2541
|
]
|
|
2536
2542
|
};
|
|
2537
|
-
function
|
|
2543
|
+
function bn(e, t) {
|
|
2538
2544
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2539
2545
|
var i = e.charAt(n);
|
|
2540
2546
|
if (i === "j") {
|
|
2541
2547
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2542
2548
|
s++, n++;
|
|
2543
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a",
|
|
2544
|
-
for ((
|
|
2549
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
|
|
2550
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2545
2551
|
r += l;
|
|
2546
2552
|
for (; a-- > 0; )
|
|
2547
|
-
r =
|
|
2553
|
+
r = u + r;
|
|
2548
2554
|
} else
|
|
2549
2555
|
i === "J" ? r += "H" : r += i;
|
|
2550
2556
|
}
|
|
2551
2557
|
return r;
|
|
2552
2558
|
}
|
|
2553
|
-
function
|
|
2559
|
+
function gn(e) {
|
|
2554
2560
|
var t = e.hourCycle;
|
|
2555
2561
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2556
2562
|
e.hourCycles && // @ts-ignore
|
|
@@ -2569,23 +2575,23 @@ function dn(e) {
|
|
|
2569
2575
|
}
|
|
2570
2576
|
var r = e.language, n;
|
|
2571
2577
|
r !== "root" && (n = e.maximize().region);
|
|
2572
|
-
var i =
|
|
2578
|
+
var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
|
|
2573
2579
|
return i[0];
|
|
2574
2580
|
}
|
|
2575
|
-
var
|
|
2581
|
+
var Ne, _n = new RegExp("^".concat(kt.source, "*")), yn = new RegExp("".concat(kt.source, "*$"));
|
|
2576
2582
|
function b(e, t) {
|
|
2577
2583
|
return { start: e, end: t };
|
|
2578
2584
|
}
|
|
2579
|
-
var
|
|
2585
|
+
var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, vn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Sn = wn ? Number.isSafeInteger : function(e) {
|
|
2580
2586
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2581
|
-
},
|
|
2587
|
+
}, Fe = !0;
|
|
2582
2588
|
try {
|
|
2583
|
-
var
|
|
2584
|
-
|
|
2589
|
+
var An = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2590
|
+
Fe = ((Ne = An.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
|
|
2585
2591
|
} catch (e) {
|
|
2586
|
-
|
|
2592
|
+
Fe = !1;
|
|
2587
2593
|
}
|
|
2588
|
-
var
|
|
2594
|
+
var lt = En ? (
|
|
2589
2595
|
// Native
|
|
2590
2596
|
function(t, r, n) {
|
|
2591
2597
|
return t.startsWith(r, n);
|
|
@@ -2595,7 +2601,7 @@ var ht = _n ? (
|
|
|
2595
2601
|
function(t, r, n) {
|
|
2596
2602
|
return t.slice(n, n + r.length) === r;
|
|
2597
2603
|
}
|
|
2598
|
-
),
|
|
2604
|
+
), je = xn ? String.fromCodePoint : (
|
|
2599
2605
|
// IE11
|
|
2600
2606
|
function() {
|
|
2601
2607
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2607,9 +2613,9 @@ var ht = _n ? (
|
|
|
2607
2613
|
}
|
|
2608
2614
|
return n;
|
|
2609
2615
|
}
|
|
2610
|
-
),
|
|
2616
|
+
), ft = (
|
|
2611
2617
|
// native
|
|
2612
|
-
|
|
2618
|
+
vn ? Object.fromEntries : (
|
|
2613
2619
|
// Ponyfill
|
|
2614
2620
|
function(t) {
|
|
2615
2621
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2619,7 +2625,7 @@ var ht = _n ? (
|
|
|
2619
2625
|
return r;
|
|
2620
2626
|
}
|
|
2621
2627
|
)
|
|
2622
|
-
),
|
|
2628
|
+
), zt = Hn ? (
|
|
2623
2629
|
// Native
|
|
2624
2630
|
function(t, r) {
|
|
2625
2631
|
return t.codePointAt(r);
|
|
@@ -2633,7 +2639,7 @@ var ht = _n ? (
|
|
|
2633
2639
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2634
2640
|
}
|
|
2635
2641
|
}
|
|
2636
|
-
),
|
|
2642
|
+
), On = Bn ? (
|
|
2637
2643
|
// Native
|
|
2638
2644
|
function(t) {
|
|
2639
2645
|
return t.trimStart();
|
|
@@ -2641,9 +2647,9 @@ var ht = _n ? (
|
|
|
2641
2647
|
) : (
|
|
2642
2648
|
// Ponyfill
|
|
2643
2649
|
function(t) {
|
|
2644
|
-
return t.replace(
|
|
2650
|
+
return t.replace(_n, "");
|
|
2645
2651
|
}
|
|
2646
|
-
),
|
|
2652
|
+
), Cn = Tn ? (
|
|
2647
2653
|
// Native
|
|
2648
2654
|
function(t) {
|
|
2649
2655
|
return t.trimEnd();
|
|
@@ -2651,32 +2657,32 @@ var ht = _n ? (
|
|
|
2651
2657
|
) : (
|
|
2652
2658
|
// Ponyfill
|
|
2653
2659
|
function(t) {
|
|
2654
|
-
return t.replace(
|
|
2660
|
+
return t.replace(yn, "");
|
|
2655
2661
|
}
|
|
2656
2662
|
);
|
|
2657
|
-
function
|
|
2663
|
+
function Zt(e, t) {
|
|
2658
2664
|
return new RegExp(e, t);
|
|
2659
2665
|
}
|
|
2660
|
-
var
|
|
2661
|
-
if (
|
|
2662
|
-
var
|
|
2663
|
-
|
|
2666
|
+
var ke;
|
|
2667
|
+
if (Fe) {
|
|
2668
|
+
var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2669
|
+
ke = function(t, r) {
|
|
2664
2670
|
var n;
|
|
2665
|
-
|
|
2666
|
-
var i =
|
|
2671
|
+
ct.lastIndex = r;
|
|
2672
|
+
var i = ct.exec(t);
|
|
2667
2673
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2668
2674
|
};
|
|
2669
2675
|
} else
|
|
2670
|
-
|
|
2676
|
+
ke = function(t, r) {
|
|
2671
2677
|
for (var n = []; ; ) {
|
|
2672
|
-
var i =
|
|
2673
|
-
if (i === void 0 ||
|
|
2678
|
+
var i = zt(t, r);
|
|
2679
|
+
if (i === void 0 || Qt(i) || In(i))
|
|
2674
2680
|
break;
|
|
2675
2681
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2676
2682
|
}
|
|
2677
|
-
return
|
|
2683
|
+
return je.apply(void 0, n);
|
|
2678
2684
|
};
|
|
2679
|
-
var
|
|
2685
|
+
var Pn = (
|
|
2680
2686
|
/** @class */
|
|
2681
2687
|
function() {
|
|
2682
2688
|
function e(t, r) {
|
|
@@ -2700,14 +2706,14 @@ var Cn = (
|
|
|
2700
2706
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2701
2707
|
var o = this.clonePosition();
|
|
2702
2708
|
this.bump(), i.push({
|
|
2703
|
-
type:
|
|
2709
|
+
type: y.pound,
|
|
2704
2710
|
location: b(o, this.clonePosition())
|
|
2705
2711
|
});
|
|
2706
2712
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2707
2713
|
if (n)
|
|
2708
2714
|
break;
|
|
2709
2715
|
return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
2710
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2716
|
+
} else if (s === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
2711
2717
|
var a = this.parseTag(t, r);
|
|
2712
2718
|
if (a.err)
|
|
2713
2719
|
return a;
|
|
@@ -2728,7 +2734,7 @@ var Cn = (
|
|
|
2728
2734
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2729
2735
|
return {
|
|
2730
2736
|
val: {
|
|
2731
|
-
type:
|
|
2737
|
+
type: y.literal,
|
|
2732
2738
|
value: "<".concat(i, "/>"),
|
|
2733
2739
|
location: b(n, this.clonePosition())
|
|
2734
2740
|
},
|
|
@@ -2740,12 +2746,12 @@ var Cn = (
|
|
|
2740
2746
|
return s;
|
|
2741
2747
|
var a = s.val, o = this.clonePosition();
|
|
2742
2748
|
if (this.bumpIf("</")) {
|
|
2743
|
-
if (this.isEOF() || !
|
|
2749
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
2744
2750
|
return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
|
|
2745
|
-
var l = this.clonePosition(),
|
|
2746
|
-
return i !==
|
|
2751
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
2752
|
+
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2747
2753
|
val: {
|
|
2748
|
-
type:
|
|
2754
|
+
type: y.tag,
|
|
2749
2755
|
value: i,
|
|
2750
2756
|
children: a,
|
|
2751
2757
|
location: b(n, this.clonePosition())
|
|
@@ -2758,7 +2764,7 @@ var Cn = (
|
|
|
2758
2764
|
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
2759
2765
|
}, e.prototype.parseTagName = function() {
|
|
2760
2766
|
var t = this.offset();
|
|
2761
|
-
for (this.bump(); !this.isEOF() &&
|
|
2767
|
+
for (this.bump(); !this.isEOF() && Nn(this.char()); )
|
|
2762
2768
|
this.bump();
|
|
2763
2769
|
return this.message.slice(t, this.offset());
|
|
2764
2770
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2782,12 +2788,12 @@ var Cn = (
|
|
|
2782
2788
|
}
|
|
2783
2789
|
var l = b(n, this.clonePosition());
|
|
2784
2790
|
return {
|
|
2785
|
-
val: { type:
|
|
2791
|
+
val: { type: y.literal, value: i, location: l },
|
|
2786
2792
|
err: null
|
|
2787
2793
|
};
|
|
2788
2794
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2789
2795
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2790
|
-
!
|
|
2796
|
+
!Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2791
2797
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2792
2798
|
if (this.isEOF() || this.char() !== 39)
|
|
2793
2799
|
return null;
|
|
@@ -2821,12 +2827,12 @@ var Cn = (
|
|
|
2821
2827
|
r.push(n);
|
|
2822
2828
|
this.bump();
|
|
2823
2829
|
}
|
|
2824
|
-
return
|
|
2830
|
+
return je.apply(void 0, r);
|
|
2825
2831
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2826
2832
|
if (this.isEOF())
|
|
2827
2833
|
return null;
|
|
2828
2834
|
var n = this.char();
|
|
2829
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2835
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
|
|
2830
2836
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2831
2837
|
var n = this.clonePosition();
|
|
2832
2838
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2842,7 +2848,7 @@ var Cn = (
|
|
|
2842
2848
|
case 125:
|
|
2843
2849
|
return this.bump(), {
|
|
2844
2850
|
val: {
|
|
2845
|
-
type:
|
|
2851
|
+
type: y.argument,
|
|
2846
2852
|
// value does not include the opening and closing braces.
|
|
2847
2853
|
value: i,
|
|
2848
2854
|
location: b(n, this.clonePosition())
|
|
@@ -2855,7 +2861,7 @@ var Cn = (
|
|
|
2855
2861
|
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2856
2862
|
}
|
|
2857
2863
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2858
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2864
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
2859
2865
|
this.bumpTo(i);
|
|
2860
2866
|
var s = this.clonePosition(), a = b(t, s);
|
|
2861
2867
|
return { value: n, location: a };
|
|
@@ -2868,41 +2874,41 @@ var Cn = (
|
|
|
2868
2874
|
case "date":
|
|
2869
2875
|
case "time": {
|
|
2870
2876
|
this.bumpSpace();
|
|
2871
|
-
var
|
|
2877
|
+
var u = null;
|
|
2872
2878
|
if (this.bumpIf(",")) {
|
|
2873
2879
|
this.bumpSpace();
|
|
2874
|
-
var
|
|
2880
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2875
2881
|
if (f.err)
|
|
2876
2882
|
return f;
|
|
2877
|
-
var c =
|
|
2883
|
+
var c = Cn(f.val);
|
|
2878
2884
|
if (c.length === 0)
|
|
2879
2885
|
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2880
|
-
var p = b(
|
|
2881
|
-
|
|
2886
|
+
var p = b(h, this.clonePosition());
|
|
2887
|
+
u = { style: c, styleLocation: p };
|
|
2882
2888
|
}
|
|
2883
2889
|
var m = this.tryParseArgumentClose(i);
|
|
2884
2890
|
if (m.err)
|
|
2885
2891
|
return m;
|
|
2886
2892
|
var g = b(i, this.clonePosition());
|
|
2887
|
-
if (
|
|
2888
|
-
var v =
|
|
2893
|
+
if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2894
|
+
var v = On(u.style.slice(2));
|
|
2889
2895
|
if (o === "number") {
|
|
2890
|
-
var f = this.parseNumberSkeletonFromString(v,
|
|
2896
|
+
var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2891
2897
|
return f.err ? f : {
|
|
2892
|
-
val: { type:
|
|
2898
|
+
val: { type: y.number, value: n, location: g, style: f.val },
|
|
2893
2899
|
err: null
|
|
2894
2900
|
};
|
|
2895
2901
|
} else {
|
|
2896
2902
|
if (v.length === 0)
|
|
2897
2903
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
|
|
2898
|
-
var
|
|
2899
|
-
this.locale && (
|
|
2904
|
+
var I = v;
|
|
2905
|
+
this.locale && (I = bn(v, this.locale));
|
|
2900
2906
|
var c = {
|
|
2901
|
-
type:
|
|
2902
|
-
pattern:
|
|
2903
|
-
location:
|
|
2904
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2905
|
-
}, C = o === "date" ?
|
|
2907
|
+
type: X.dateTime,
|
|
2908
|
+
pattern: I,
|
|
2909
|
+
location: u.styleLocation,
|
|
2910
|
+
parsedOptions: this.shouldParseSkeletons ? hn(I) : {}
|
|
2911
|
+
}, C = o === "date" ? y.date : y.time;
|
|
2906
2912
|
return {
|
|
2907
2913
|
val: { type: C, value: n, location: g, style: c },
|
|
2908
2914
|
err: null
|
|
@@ -2911,10 +2917,10 @@ var Cn = (
|
|
|
2911
2917
|
}
|
|
2912
2918
|
return {
|
|
2913
2919
|
val: {
|
|
2914
|
-
type: o === "number" ?
|
|
2920
|
+
type: o === "number" ? y.number : o === "date" ? y.date : y.time,
|
|
2915
2921
|
value: n,
|
|
2916
2922
|
location: g,
|
|
2917
|
-
style: (s =
|
|
2923
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
2918
2924
|
},
|
|
2919
2925
|
err: null
|
|
2920
2926
|
};
|
|
@@ -2924,41 +2930,41 @@ var Cn = (
|
|
|
2924
2930
|
case "select": {
|
|
2925
2931
|
var H = this.clonePosition();
|
|
2926
2932
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2927
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H,
|
|
2933
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, de({}, H)));
|
|
2928
2934
|
this.bumpSpace();
|
|
2929
|
-
var
|
|
2930
|
-
if (o !== "select" &&
|
|
2935
|
+
var M = this.parseIdentifierIfPossible(), S = 0;
|
|
2936
|
+
if (o !== "select" && M.value === "offset") {
|
|
2931
2937
|
if (!this.bumpIf(":"))
|
|
2932
2938
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2933
2939
|
this.bumpSpace();
|
|
2934
2940
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2935
2941
|
if (f.err)
|
|
2936
2942
|
return f;
|
|
2937
|
-
this.bumpSpace(),
|
|
2943
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), S = f.val;
|
|
2938
2944
|
}
|
|
2939
|
-
var
|
|
2940
|
-
if (
|
|
2941
|
-
return
|
|
2945
|
+
var U = this.tryParsePluralOrSelectOptions(t, o, r, M);
|
|
2946
|
+
if (U.err)
|
|
2947
|
+
return U;
|
|
2942
2948
|
var m = this.tryParseArgumentClose(i);
|
|
2943
2949
|
if (m.err)
|
|
2944
2950
|
return m;
|
|
2945
|
-
var
|
|
2951
|
+
var oe = b(i, this.clonePosition());
|
|
2946
2952
|
return o === "select" ? {
|
|
2947
2953
|
val: {
|
|
2948
|
-
type:
|
|
2954
|
+
type: y.select,
|
|
2949
2955
|
value: n,
|
|
2950
|
-
options:
|
|
2951
|
-
location:
|
|
2956
|
+
options: ft(U.val),
|
|
2957
|
+
location: oe
|
|
2952
2958
|
},
|
|
2953
2959
|
err: null
|
|
2954
2960
|
} : {
|
|
2955
2961
|
val: {
|
|
2956
|
-
type:
|
|
2962
|
+
type: y.plural,
|
|
2957
2963
|
value: n,
|
|
2958
|
-
options:
|
|
2959
|
-
offset:
|
|
2964
|
+
options: ft(U.val),
|
|
2965
|
+
offset: S,
|
|
2960
2966
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2961
|
-
location:
|
|
2967
|
+
location: oe
|
|
2962
2968
|
},
|
|
2963
2969
|
err: null
|
|
2964
2970
|
};
|
|
@@ -3006,34 +3012,34 @@ var Cn = (
|
|
|
3006
3012
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3007
3013
|
var n = [];
|
|
3008
3014
|
try {
|
|
3009
|
-
n =
|
|
3015
|
+
n = fn(t);
|
|
3010
3016
|
} catch (i) {
|
|
3011
3017
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3012
3018
|
}
|
|
3013
3019
|
return {
|
|
3014
3020
|
val: {
|
|
3015
|
-
type:
|
|
3021
|
+
type: X.number,
|
|
3016
3022
|
tokens: n,
|
|
3017
3023
|
location: r,
|
|
3018
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3024
|
+
parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
|
|
3019
3025
|
},
|
|
3020
3026
|
err: null
|
|
3021
3027
|
};
|
|
3022
3028
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3023
|
-
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(),
|
|
3024
|
-
if (
|
|
3029
|
+
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3030
|
+
if (u.length === 0) {
|
|
3025
3031
|
var f = this.clonePosition();
|
|
3026
3032
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3027
3033
|
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3028
3034
|
if (c.err)
|
|
3029
3035
|
return c;
|
|
3030
|
-
|
|
3036
|
+
h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3031
3037
|
} else
|
|
3032
3038
|
break;
|
|
3033
3039
|
}
|
|
3034
|
-
if (l.has(
|
|
3035
|
-
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3036
|
-
|
|
3040
|
+
if (l.has(u))
|
|
3041
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3042
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3037
3043
|
var p = this.clonePosition();
|
|
3038
3044
|
if (!this.bumpIf("{"))
|
|
3039
3045
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
@@ -3044,12 +3050,12 @@ var Cn = (
|
|
|
3044
3050
|
if (g.err)
|
|
3045
3051
|
return g;
|
|
3046
3052
|
o.push([
|
|
3047
|
-
|
|
3053
|
+
u,
|
|
3048
3054
|
{
|
|
3049
3055
|
value: m.val,
|
|
3050
3056
|
location: b(p, this.clonePosition())
|
|
3051
3057
|
}
|
|
3052
|
-
]), l.add(
|
|
3058
|
+
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3053
3059
|
}
|
|
3054
3060
|
return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3055
3061
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3063,7 +3069,7 @@ var Cn = (
|
|
|
3063
3069
|
break;
|
|
3064
3070
|
}
|
|
3065
3071
|
var l = b(i, this.clonePosition());
|
|
3066
|
-
return s ? (a *= n,
|
|
3072
|
+
return s ? (a *= n, Sn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3067
3073
|
}, e.prototype.offset = function() {
|
|
3068
3074
|
return this.position.offset;
|
|
3069
3075
|
}, e.prototype.isEOF = function() {
|
|
@@ -3078,7 +3084,7 @@ var Cn = (
|
|
|
3078
3084
|
var t = this.position.offset;
|
|
3079
3085
|
if (t >= this.message.length)
|
|
3080
3086
|
throw Error("out of bound");
|
|
3081
|
-
var r =
|
|
3087
|
+
var r = zt(this.message, t);
|
|
3082
3088
|
if (r === void 0)
|
|
3083
3089
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3084
3090
|
return r;
|
|
@@ -3097,7 +3103,7 @@ var Cn = (
|
|
|
3097
3103
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3098
3104
|
}
|
|
3099
3105
|
}, e.prototype.bumpIf = function(t) {
|
|
3100
|
-
if (
|
|
3106
|
+
if (lt(this.message, t, this.offset())) {
|
|
3101
3107
|
for (var r = 0; r < t.length; r++)
|
|
3102
3108
|
this.bump();
|
|
3103
3109
|
return !0;
|
|
@@ -3119,7 +3125,7 @@ var Cn = (
|
|
|
3119
3125
|
break;
|
|
3120
3126
|
}
|
|
3121
3127
|
}, e.prototype.bumpSpace = function() {
|
|
3122
|
-
for (; !this.isEOF() &&
|
|
3128
|
+
for (; !this.isEOF() && Qt(this.char()); )
|
|
3123
3129
|
this.bump();
|
|
3124
3130
|
}, e.prototype.peek = function() {
|
|
3125
3131
|
if (this.isEOF())
|
|
@@ -3129,47 +3135,47 @@ var Cn = (
|
|
|
3129
3135
|
}, e;
|
|
3130
3136
|
}()
|
|
3131
3137
|
);
|
|
3132
|
-
function
|
|
3138
|
+
function Ve(e) {
|
|
3133
3139
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3134
3140
|
}
|
|
3135
|
-
function
|
|
3136
|
-
return
|
|
3141
|
+
function Ln(e) {
|
|
3142
|
+
return Ve(e) || e === 47;
|
|
3137
3143
|
}
|
|
3138
|
-
function
|
|
3144
|
+
function Nn(e) {
|
|
3139
3145
|
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;
|
|
3140
3146
|
}
|
|
3141
|
-
function
|
|
3147
|
+
function Qt(e) {
|
|
3142
3148
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3143
3149
|
}
|
|
3144
|
-
function
|
|
3150
|
+
function In(e) {
|
|
3145
3151
|
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;
|
|
3146
3152
|
}
|
|
3147
|
-
function
|
|
3153
|
+
function Xe(e) {
|
|
3148
3154
|
e.forEach(function(t) {
|
|
3149
|
-
if (delete t.location,
|
|
3155
|
+
if (delete t.location, Dt(t) || Gt(t))
|
|
3150
3156
|
for (var r in t.options)
|
|
3151
|
-
delete t.options[r].location,
|
|
3157
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3152
3158
|
else
|
|
3153
|
-
|
|
3159
|
+
$t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ge(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
|
|
3154
3160
|
});
|
|
3155
3161
|
}
|
|
3156
|
-
function
|
|
3157
|
-
t === void 0 && (t = {}), t =
|
|
3158
|
-
var r = new
|
|
3162
|
+
function Mn(e, t) {
|
|
3163
|
+
t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3164
|
+
var r = new Pn(e, t).parse();
|
|
3159
3165
|
if (r.err) {
|
|
3160
3166
|
var n = SyntaxError(d[r.err.kind]);
|
|
3161
3167
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3162
3168
|
}
|
|
3163
|
-
return t != null && t.captureLocation ||
|
|
3169
|
+
return t != null && t.captureLocation || Xe(r.val), r.val;
|
|
3164
3170
|
}
|
|
3165
|
-
var
|
|
3171
|
+
var W;
|
|
3166
3172
|
(function(e) {
|
|
3167
3173
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3168
|
-
})(
|
|
3169
|
-
var
|
|
3174
|
+
})(W || (W = {}));
|
|
3175
|
+
var xe = (
|
|
3170
3176
|
/** @class */
|
|
3171
3177
|
function(e) {
|
|
3172
|
-
|
|
3178
|
+
Ee(t, e);
|
|
3173
3179
|
function t(r, n, i) {
|
|
3174
3180
|
var s = e.call(this, r) || this;
|
|
3175
3181
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3178,155 +3184,155 @@ var ye = (
|
|
|
3178
3184
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3179
3185
|
}, t;
|
|
3180
3186
|
}(Error)
|
|
3181
|
-
),
|
|
3187
|
+
), mt = (
|
|
3182
3188
|
/** @class */
|
|
3183
3189
|
function(e) {
|
|
3184
|
-
|
|
3190
|
+
Ee(t, e);
|
|
3185
3191
|
function t(r, n, i, s) {
|
|
3186
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3192
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
|
|
3187
3193
|
}
|
|
3188
3194
|
return t;
|
|
3189
|
-
}(
|
|
3190
|
-
),
|
|
3195
|
+
}(xe)
|
|
3196
|
+
), $n = (
|
|
3191
3197
|
/** @class */
|
|
3192
3198
|
function(e) {
|
|
3193
|
-
|
|
3199
|
+
Ee(t, e);
|
|
3194
3200
|
function t(r, n, i) {
|
|
3195
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3201
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3196
3202
|
}
|
|
3197
3203
|
return t;
|
|
3198
|
-
}(
|
|
3199
|
-
),
|
|
3204
|
+
}(xe)
|
|
3205
|
+
), Rn = (
|
|
3200
3206
|
/** @class */
|
|
3201
3207
|
function(e) {
|
|
3202
|
-
|
|
3208
|
+
Ee(t, e);
|
|
3203
3209
|
function t(r, n) {
|
|
3204
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3210
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3205
3211
|
}
|
|
3206
3212
|
return t;
|
|
3207
|
-
}(
|
|
3208
|
-
),
|
|
3213
|
+
}(xe)
|
|
3214
|
+
), x;
|
|
3209
3215
|
(function(e) {
|
|
3210
3216
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3211
|
-
})(
|
|
3212
|
-
function
|
|
3217
|
+
})(x || (x = {}));
|
|
3218
|
+
function Un(e) {
|
|
3213
3219
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3214
3220
|
var n = t[t.length - 1];
|
|
3215
|
-
return !n || n.type !==
|
|
3221
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3216
3222
|
}, []);
|
|
3217
3223
|
}
|
|
3218
|
-
function
|
|
3224
|
+
function Dn(e) {
|
|
3219
3225
|
return typeof e == "function";
|
|
3220
3226
|
}
|
|
3221
|
-
function
|
|
3222
|
-
if (e.length === 1 &&
|
|
3227
|
+
function ce(e, t, r, n, i, s, a) {
|
|
3228
|
+
if (e.length === 1 && ot(e[0]))
|
|
3223
3229
|
return [
|
|
3224
3230
|
{
|
|
3225
|
-
type:
|
|
3231
|
+
type: x.literal,
|
|
3226
3232
|
value: e[0].value
|
|
3227
3233
|
}
|
|
3228
3234
|
];
|
|
3229
|
-
for (var o = [], l = 0,
|
|
3230
|
-
var
|
|
3231
|
-
if (
|
|
3235
|
+
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3236
|
+
var h = u[l];
|
|
3237
|
+
if (ot(h)) {
|
|
3232
3238
|
o.push({
|
|
3233
|
-
type:
|
|
3234
|
-
value:
|
|
3239
|
+
type: x.literal,
|
|
3240
|
+
value: h.value
|
|
3235
3241
|
});
|
|
3236
3242
|
continue;
|
|
3237
3243
|
}
|
|
3238
|
-
if (
|
|
3244
|
+
if (an(h)) {
|
|
3239
3245
|
typeof s == "number" && o.push({
|
|
3240
|
-
type:
|
|
3246
|
+
type: x.literal,
|
|
3241
3247
|
value: r.getNumberFormat(t).format(s)
|
|
3242
3248
|
});
|
|
3243
3249
|
continue;
|
|
3244
3250
|
}
|
|
3245
|
-
var f =
|
|
3251
|
+
var f = h.value;
|
|
3246
3252
|
if (!(i && f in i))
|
|
3247
|
-
throw new
|
|
3253
|
+
throw new Rn(f, a);
|
|
3248
3254
|
var c = i[f];
|
|
3249
|
-
if (
|
|
3255
|
+
if (on(h)) {
|
|
3250
3256
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3251
|
-
type: typeof c == "string" ?
|
|
3257
|
+
type: typeof c == "string" ? x.literal : x.object,
|
|
3252
3258
|
value: c
|
|
3253
3259
|
});
|
|
3254
3260
|
continue;
|
|
3255
3261
|
}
|
|
3256
|
-
if (
|
|
3257
|
-
var p = typeof
|
|
3262
|
+
if (Rt(h)) {
|
|
3263
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
|
|
3258
3264
|
o.push({
|
|
3259
|
-
type:
|
|
3265
|
+
type: x.literal,
|
|
3260
3266
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3261
3267
|
});
|
|
3262
3268
|
continue;
|
|
3263
3269
|
}
|
|
3264
|
-
if (
|
|
3265
|
-
var p = typeof
|
|
3270
|
+
if (Ut(h)) {
|
|
3271
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3266
3272
|
o.push({
|
|
3267
|
-
type:
|
|
3273
|
+
type: x.literal,
|
|
3268
3274
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3269
3275
|
});
|
|
3270
3276
|
continue;
|
|
3271
3277
|
}
|
|
3272
|
-
if (
|
|
3273
|
-
var p = typeof
|
|
3278
|
+
if ($t(h)) {
|
|
3279
|
+
var p = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
|
|
3274
3280
|
p && p.scale && (c = c * (p.scale || 1)), o.push({
|
|
3275
|
-
type:
|
|
3281
|
+
type: x.literal,
|
|
3276
3282
|
value: r.getNumberFormat(t, p).format(c)
|
|
3277
3283
|
});
|
|
3278
3284
|
continue;
|
|
3279
3285
|
}
|
|
3280
|
-
if (
|
|
3281
|
-
var m =
|
|
3282
|
-
if (!
|
|
3283
|
-
throw new
|
|
3284
|
-
var
|
|
3285
|
-
return
|
|
3286
|
+
if (Ft(h)) {
|
|
3287
|
+
var m = h.children, g = h.value, v = i[g];
|
|
3288
|
+
if (!Dn(v))
|
|
3289
|
+
throw new $n(g, "function", a);
|
|
3290
|
+
var I = ce(m, t, r, n, i, s), C = v(I.map(function(S) {
|
|
3291
|
+
return S.value;
|
|
3286
3292
|
}));
|
|
3287
|
-
Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(
|
|
3293
|
+
Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(S) {
|
|
3288
3294
|
return {
|
|
3289
|
-
type: typeof
|
|
3290
|
-
value:
|
|
3295
|
+
type: typeof S == "string" ? x.literal : x.object,
|
|
3296
|
+
value: S
|
|
3291
3297
|
};
|
|
3292
3298
|
}));
|
|
3293
3299
|
}
|
|
3294
|
-
if (
|
|
3295
|
-
var H =
|
|
3300
|
+
if (Dt(h)) {
|
|
3301
|
+
var H = h.options[c] || h.options.other;
|
|
3296
3302
|
if (!H)
|
|
3297
|
-
throw new
|
|
3298
|
-
o.push.apply(o,
|
|
3303
|
+
throw new mt(h.value, c, Object.keys(h.options), a);
|
|
3304
|
+
o.push.apply(o, ce(H.value, t, r, n, i));
|
|
3299
3305
|
continue;
|
|
3300
3306
|
}
|
|
3301
|
-
if (
|
|
3302
|
-
var H =
|
|
3307
|
+
if (Gt(h)) {
|
|
3308
|
+
var H = h.options["=".concat(c)];
|
|
3303
3309
|
if (!H) {
|
|
3304
3310
|
if (!Intl.PluralRules)
|
|
3305
|
-
throw new
|
|
3311
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3306
3312
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3307
|
-
`,
|
|
3308
|
-
var
|
|
3309
|
-
H =
|
|
3313
|
+
`, W.MISSING_INTL_API, a);
|
|
3314
|
+
var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3315
|
+
H = h.options[M] || h.options.other;
|
|
3310
3316
|
}
|
|
3311
3317
|
if (!H)
|
|
3312
|
-
throw new
|
|
3313
|
-
o.push.apply(o,
|
|
3318
|
+
throw new mt(h.value, c, Object.keys(h.options), a);
|
|
3319
|
+
o.push.apply(o, ce(H.value, t, r, n, i, c - (h.offset || 0)));
|
|
3314
3320
|
continue;
|
|
3315
3321
|
}
|
|
3316
3322
|
}
|
|
3317
|
-
return
|
|
3323
|
+
return Un(o);
|
|
3318
3324
|
}
|
|
3319
|
-
function
|
|
3320
|
-
return t ?
|
|
3321
|
-
return r[n] =
|
|
3325
|
+
function Gn(e, t) {
|
|
3326
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3327
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3322
3328
|
}, {})) : e;
|
|
3323
3329
|
}
|
|
3324
|
-
function
|
|
3330
|
+
function Fn(e, t) {
|
|
3325
3331
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3326
|
-
return r[n] =
|
|
3327
|
-
},
|
|
3332
|
+
return r[n] = Gn(e[n], t[n]), r;
|
|
3333
|
+
}, w({}, e)) : e;
|
|
3328
3334
|
}
|
|
3329
|
-
function
|
|
3335
|
+
function Ie(e) {
|
|
3330
3336
|
return {
|
|
3331
3337
|
create: function() {
|
|
3332
3338
|
return {
|
|
@@ -3340,39 +3346,39 @@ function Le(e) {
|
|
|
3340
3346
|
}
|
|
3341
3347
|
};
|
|
3342
3348
|
}
|
|
3343
|
-
function
|
|
3349
|
+
function jn(e) {
|
|
3344
3350
|
return e === void 0 && (e = {
|
|
3345
3351
|
number: {},
|
|
3346
3352
|
dateTime: {},
|
|
3347
3353
|
pluralRules: {}
|
|
3348
3354
|
}), {
|
|
3349
|
-
getNumberFormat:
|
|
3355
|
+
getNumberFormat: Pe(function() {
|
|
3350
3356
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3351
3357
|
r[n] = arguments[n];
|
|
3352
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3358
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3353
3359
|
}, {
|
|
3354
|
-
cache:
|
|
3355
|
-
strategy:
|
|
3360
|
+
cache: Ie(e.number),
|
|
3361
|
+
strategy: Le.variadic
|
|
3356
3362
|
}),
|
|
3357
|
-
getDateTimeFormat:
|
|
3363
|
+
getDateTimeFormat: Pe(function() {
|
|
3358
3364
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3359
3365
|
r[n] = arguments[n];
|
|
3360
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3366
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3361
3367
|
}, {
|
|
3362
|
-
cache:
|
|
3363
|
-
strategy:
|
|
3368
|
+
cache: Ie(e.dateTime),
|
|
3369
|
+
strategy: Le.variadic
|
|
3364
3370
|
}),
|
|
3365
|
-
getPluralRules:
|
|
3371
|
+
getPluralRules: Pe(function() {
|
|
3366
3372
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3367
3373
|
r[n] = arguments[n];
|
|
3368
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3374
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3369
3375
|
}, {
|
|
3370
|
-
cache:
|
|
3371
|
-
strategy:
|
|
3376
|
+
cache: Ie(e.pluralRules),
|
|
3377
|
+
strategy: Le.variadic
|
|
3372
3378
|
})
|
|
3373
3379
|
};
|
|
3374
3380
|
}
|
|
3375
|
-
var
|
|
3381
|
+
var qt = (
|
|
3376
3382
|
/** @class */
|
|
3377
3383
|
function() {
|
|
3378
3384
|
function e(t, r, n, i) {
|
|
@@ -3383,15 +3389,15 @@ var Zt = (
|
|
|
3383
3389
|
dateTime: {},
|
|
3384
3390
|
pluralRules: {}
|
|
3385
3391
|
}, this.format = function(l) {
|
|
3386
|
-
var
|
|
3387
|
-
if (
|
|
3388
|
-
return
|
|
3389
|
-
var
|
|
3390
|
-
return !f.length || c.type !==
|
|
3392
|
+
var u = s.formatToParts(l);
|
|
3393
|
+
if (u.length === 1)
|
|
3394
|
+
return u[0].value;
|
|
3395
|
+
var h = u.reduce(function(f, c) {
|
|
3396
|
+
return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3391
3397
|
}, []);
|
|
3392
|
-
return
|
|
3398
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3393
3399
|
}, this.formatToParts = function(l) {
|
|
3394
|
-
return
|
|
3400
|
+
return ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3395
3401
|
}, this.resolvedOptions = function() {
|
|
3396
3402
|
var l;
|
|
3397
3403
|
return {
|
|
@@ -3404,13 +3410,13 @@ var Zt = (
|
|
|
3404
3410
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3405
3411
|
var a = i || {};
|
|
3406
3412
|
a.formatters;
|
|
3407
|
-
var o =
|
|
3408
|
-
this.ast = e.__parse(t,
|
|
3413
|
+
var o = Jr(a, ["formatters"]);
|
|
3414
|
+
this.ast = e.__parse(t, w(w({}, o), { locale: this.resolvedLocale }));
|
|
3409
3415
|
} else
|
|
3410
3416
|
this.ast = t;
|
|
3411
3417
|
if (!Array.isArray(this.ast))
|
|
3412
3418
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3413
|
-
this.formats =
|
|
3419
|
+
this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
|
|
3414
3420
|
}
|
|
3415
3421
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3416
3422
|
get: function() {
|
|
@@ -3423,7 +3429,7 @@ var Zt = (
|
|
|
3423
3429
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3424
3430
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3425
3431
|
}
|
|
3426
|
-
}, e.__parse =
|
|
3432
|
+
}, e.__parse = Mn, e.formats = {
|
|
3427
3433
|
number: {
|
|
3428
3434
|
integer: {
|
|
3429
3435
|
maximumFractionDigits: 0
|
|
@@ -3484,7 +3490,7 @@ var Zt = (
|
|
|
3484
3490
|
}, e;
|
|
3485
3491
|
}()
|
|
3486
3492
|
);
|
|
3487
|
-
function
|
|
3493
|
+
function kn(e, t) {
|
|
3488
3494
|
if (t == null)
|
|
3489
3495
|
return;
|
|
3490
3496
|
if (t in e)
|
|
@@ -3505,101 +3511,101 @@ function Fn(e, t) {
|
|
|
3505
3511
|
n = void 0;
|
|
3506
3512
|
return n;
|
|
3507
3513
|
}
|
|
3508
|
-
const
|
|
3514
|
+
const P = {}, Vn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Jt = (e, t) => {
|
|
3509
3515
|
if (t == null)
|
|
3510
3516
|
return;
|
|
3511
|
-
if (t in
|
|
3512
|
-
return
|
|
3513
|
-
const r =
|
|
3517
|
+
if (t in P && e in P[t])
|
|
3518
|
+
return P[t][e];
|
|
3519
|
+
const r = se(t);
|
|
3514
3520
|
for (let n = 0; n < r.length; n++) {
|
|
3515
|
-
const i = r[n], s =
|
|
3521
|
+
const i = r[n], s = Wn(i, e);
|
|
3516
3522
|
if (s)
|
|
3517
|
-
return
|
|
3523
|
+
return Vn(e, t, s);
|
|
3518
3524
|
}
|
|
3519
3525
|
};
|
|
3520
|
-
let
|
|
3521
|
-
const
|
|
3522
|
-
function
|
|
3523
|
-
return
|
|
3526
|
+
let qe;
|
|
3527
|
+
const ie = ye({});
|
|
3528
|
+
function Xn(e) {
|
|
3529
|
+
return qe[e] || null;
|
|
3524
3530
|
}
|
|
3525
|
-
function
|
|
3526
|
-
return e in
|
|
3531
|
+
function Yt(e) {
|
|
3532
|
+
return e in qe;
|
|
3527
3533
|
}
|
|
3528
|
-
function
|
|
3529
|
-
if (!
|
|
3534
|
+
function Wn(e, t) {
|
|
3535
|
+
if (!Yt(e))
|
|
3530
3536
|
return null;
|
|
3531
|
-
const r =
|
|
3532
|
-
return
|
|
3537
|
+
const r = Xn(e);
|
|
3538
|
+
return kn(r, t);
|
|
3533
3539
|
}
|
|
3534
|
-
function
|
|
3540
|
+
function zn(e) {
|
|
3535
3541
|
if (e == null)
|
|
3536
3542
|
return;
|
|
3537
|
-
const t =
|
|
3543
|
+
const t = se(e);
|
|
3538
3544
|
for (let r = 0; r < t.length; r++) {
|
|
3539
3545
|
const n = t[r];
|
|
3540
|
-
if (
|
|
3546
|
+
if (Yt(n))
|
|
3541
3547
|
return n;
|
|
3542
3548
|
}
|
|
3543
3549
|
}
|
|
3544
|
-
function
|
|
3545
|
-
delete
|
|
3550
|
+
function Kt(e, ...t) {
|
|
3551
|
+
delete P[e], ie.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
|
|
3546
3552
|
}
|
|
3547
|
-
|
|
3548
|
-
[
|
|
3553
|
+
q(
|
|
3554
|
+
[ie],
|
|
3549
3555
|
([e]) => Object.keys(e)
|
|
3550
3556
|
);
|
|
3551
|
-
|
|
3552
|
-
const
|
|
3553
|
-
function
|
|
3554
|
-
|
|
3557
|
+
ie.subscribe((e) => qe = e);
|
|
3558
|
+
const me = {};
|
|
3559
|
+
function Zn(e, t) {
|
|
3560
|
+
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3555
3561
|
}
|
|
3556
|
-
function
|
|
3557
|
-
return
|
|
3562
|
+
function er(e) {
|
|
3563
|
+
return me[e];
|
|
3558
3564
|
}
|
|
3559
|
-
function
|
|
3560
|
-
return
|
|
3561
|
-
const r =
|
|
3565
|
+
function Qn(e) {
|
|
3566
|
+
return se(e).map((t) => {
|
|
3567
|
+
const r = er(t);
|
|
3562
3568
|
return [t, r ? [...r] : []];
|
|
3563
3569
|
}).filter(([, t]) => t.length > 0);
|
|
3564
3570
|
}
|
|
3565
|
-
function
|
|
3566
|
-
return e == null ? !1 :
|
|
3571
|
+
function be(e) {
|
|
3572
|
+
return e == null ? !1 : se(e).some(
|
|
3567
3573
|
(t) => {
|
|
3568
3574
|
var r;
|
|
3569
|
-
return (r =
|
|
3575
|
+
return (r = er(t)) == null ? void 0 : r.size;
|
|
3570
3576
|
}
|
|
3571
3577
|
);
|
|
3572
3578
|
}
|
|
3573
|
-
function
|
|
3579
|
+
function qn(e, t) {
|
|
3574
3580
|
return Promise.all(
|
|
3575
|
-
t.map((n) => (
|
|
3576
|
-
).then((n) =>
|
|
3577
|
-
}
|
|
3578
|
-
const
|
|
3579
|
-
function
|
|
3580
|
-
if (!
|
|
3581
|
-
return e in
|
|
3582
|
-
const t =
|
|
3583
|
-
return
|
|
3581
|
+
t.map((n) => (Zn(e, n), n().then((i) => i.default || i)))
|
|
3582
|
+
).then((n) => Kt(e, ...n));
|
|
3583
|
+
}
|
|
3584
|
+
const Y = {};
|
|
3585
|
+
function tr(e) {
|
|
3586
|
+
if (!be(e))
|
|
3587
|
+
return e in Y ? Y[e] : Promise.resolve();
|
|
3588
|
+
const t = Qn(e);
|
|
3589
|
+
return Y[e] = Promise.all(
|
|
3584
3590
|
t.map(
|
|
3585
|
-
([r, n]) =>
|
|
3591
|
+
([r, n]) => qn(r, n)
|
|
3586
3592
|
)
|
|
3587
3593
|
).then(() => {
|
|
3588
|
-
if (
|
|
3589
|
-
return
|
|
3590
|
-
delete
|
|
3591
|
-
}),
|
|
3594
|
+
if (be(e))
|
|
3595
|
+
return tr(e);
|
|
3596
|
+
delete Y[e];
|
|
3597
|
+
}), Y[e];
|
|
3592
3598
|
}
|
|
3593
|
-
var
|
|
3599
|
+
var pt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
|
|
3594
3600
|
var r = {};
|
|
3595
3601
|
for (var n in e)
|
|
3596
|
-
|
|
3597
|
-
if (e != null &&
|
|
3598
|
-
for (var n of
|
|
3599
|
-
t.indexOf(n) < 0 &&
|
|
3602
|
+
Jn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3603
|
+
if (e != null && pt)
|
|
3604
|
+
for (var n of pt(e))
|
|
3605
|
+
t.indexOf(n) < 0 && Yn.call(e, n) && (r[n] = e[n]);
|
|
3600
3606
|
return r;
|
|
3601
3607
|
};
|
|
3602
|
-
const
|
|
3608
|
+
const ei = {
|
|
3603
3609
|
number: {
|
|
3604
3610
|
scientific: { notation: "scientific" },
|
|
3605
3611
|
engineering: { notation: "engineering" },
|
|
@@ -3629,183 +3635,183 @@ const Yn = {
|
|
|
3629
3635
|
}
|
|
3630
3636
|
}
|
|
3631
3637
|
};
|
|
3632
|
-
function
|
|
3638
|
+
function ti({ locale: e, id: t }) {
|
|
3633
3639
|
console.warn(
|
|
3634
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3640
|
+
`[svelte-i18n] The message "${t}" was not found in "${se(
|
|
3635
3641
|
e
|
|
3636
|
-
).join('", "')}".${
|
|
3642
|
+
).join('", "')}".${be(N()) ? `
|
|
3637
3643
|
|
|
3638
3644
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3639
3645
|
);
|
|
3640
3646
|
}
|
|
3641
|
-
const
|
|
3647
|
+
const ri = {
|
|
3642
3648
|
fallbackLocale: null,
|
|
3643
3649
|
loadingDelay: 200,
|
|
3644
|
-
formats:
|
|
3650
|
+
formats: ei,
|
|
3645
3651
|
warnOnMissingMessages: !0,
|
|
3646
3652
|
handleMissingMessage: void 0,
|
|
3647
3653
|
ignoreTag: !0
|
|
3648
|
-
},
|
|
3649
|
-
function
|
|
3650
|
-
return
|
|
3654
|
+
}, K = ri;
|
|
3655
|
+
function z() {
|
|
3656
|
+
return K;
|
|
3651
3657
|
}
|
|
3652
|
-
function
|
|
3653
|
-
const t = e, { formats: r } = t, n =
|
|
3658
|
+
function ni(e) {
|
|
3659
|
+
const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
|
|
3654
3660
|
let i = e.fallbackLocale;
|
|
3655
3661
|
if (e.initialLocale)
|
|
3656
3662
|
try {
|
|
3657
|
-
|
|
3663
|
+
qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3658
3664
|
} catch (s) {
|
|
3659
3665
|
console.warn(
|
|
3660
3666
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3661
3667
|
);
|
|
3662
3668
|
}
|
|
3663
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3669
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
|
|
3664
3670
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3665
|
-
)), Object.assign(
|
|
3671
|
+
)), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), R.set(i);
|
|
3666
3672
|
}
|
|
3667
|
-
const
|
|
3668
|
-
var
|
|
3673
|
+
const Me = ye(!1);
|
|
3674
|
+
var ii = Object.defineProperty, si = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
|
|
3669
3675
|
for (var r in t || (t = {}))
|
|
3670
|
-
|
|
3671
|
-
if (
|
|
3672
|
-
for (var r of
|
|
3673
|
-
|
|
3676
|
+
ai.call(t, r) && bt(e, r, t[r]);
|
|
3677
|
+
if (dt)
|
|
3678
|
+
for (var r of dt(t))
|
|
3679
|
+
ui.call(t, r) && bt(e, r, t[r]);
|
|
3674
3680
|
return e;
|
|
3675
|
-
},
|
|
3676
|
-
let
|
|
3677
|
-
const
|
|
3678
|
-
function
|
|
3681
|
+
}, li = (e, t) => si(e, oi(t));
|
|
3682
|
+
let We;
|
|
3683
|
+
const ge = ye(null);
|
|
3684
|
+
function gt(e) {
|
|
3679
3685
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3680
3686
|
}
|
|
3681
|
-
function
|
|
3682
|
-
const r =
|
|
3683
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3687
|
+
function se(e, t = z().fallbackLocale) {
|
|
3688
|
+
const r = gt(e);
|
|
3689
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
3684
3690
|
}
|
|
3685
|
-
function
|
|
3686
|
-
return
|
|
3691
|
+
function N() {
|
|
3692
|
+
return We != null ? We : void 0;
|
|
3687
3693
|
}
|
|
3688
|
-
|
|
3689
|
-
|
|
3694
|
+
ge.subscribe((e) => {
|
|
3695
|
+
We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3690
3696
|
});
|
|
3691
|
-
const
|
|
3692
|
-
if (e &&
|
|
3693
|
-
const { loadingDelay: t } =
|
|
3697
|
+
const fi = (e) => {
|
|
3698
|
+
if (e && zn(e) && be(e)) {
|
|
3699
|
+
const { loadingDelay: t } = z();
|
|
3694
3700
|
let r;
|
|
3695
|
-
return typeof window != "undefined" &&
|
|
3696
|
-
() =>
|
|
3701
|
+
return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
|
|
3702
|
+
() => Me.set(!0),
|
|
3697
3703
|
t
|
|
3698
|
-
) :
|
|
3699
|
-
|
|
3704
|
+
) : Me.set(!0), tr(e).then(() => {
|
|
3705
|
+
ge.set(e);
|
|
3700
3706
|
}).finally(() => {
|
|
3701
|
-
clearTimeout(r),
|
|
3707
|
+
clearTimeout(r), Me.set(!1);
|
|
3702
3708
|
});
|
|
3703
3709
|
}
|
|
3704
|
-
return
|
|
3705
|
-
},
|
|
3706
|
-
set:
|
|
3707
|
-
}),
|
|
3710
|
+
return ge.set(e);
|
|
3711
|
+
}, R = li(hi({}, ge), {
|
|
3712
|
+
set: fi
|
|
3713
|
+
}), ve = (e) => {
|
|
3708
3714
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3709
3715
|
return (n) => {
|
|
3710
3716
|
const i = JSON.stringify(n);
|
|
3711
3717
|
return i in t ? t[i] : t[i] = e(n);
|
|
3712
3718
|
};
|
|
3713
3719
|
};
|
|
3714
|
-
var
|
|
3720
|
+
var ci = Object.defineProperty, _e = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
3715
3721
|
for (var r in t || (t = {}))
|
|
3716
|
-
|
|
3717
|
-
if (
|
|
3718
|
-
for (var r of
|
|
3719
|
-
|
|
3722
|
+
rr.call(t, r) && _t(e, r, t[r]);
|
|
3723
|
+
if (_e)
|
|
3724
|
+
for (var r of _e(t))
|
|
3725
|
+
nr.call(t, r) && _t(e, r, t[r]);
|
|
3720
3726
|
return e;
|
|
3721
|
-
},
|
|
3727
|
+
}, J = (e, t) => {
|
|
3722
3728
|
var r = {};
|
|
3723
3729
|
for (var n in e)
|
|
3724
|
-
|
|
3725
|
-
if (e != null &&
|
|
3726
|
-
for (var n of
|
|
3727
|
-
t.indexOf(n) < 0 &&
|
|
3730
|
+
rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3731
|
+
if (e != null && _e)
|
|
3732
|
+
for (var n of _e(e))
|
|
3733
|
+
t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
|
|
3728
3734
|
return r;
|
|
3729
3735
|
};
|
|
3730
|
-
const
|
|
3731
|
-
const { formats: r } =
|
|
3736
|
+
const re = (e, t) => {
|
|
3737
|
+
const { formats: r } = z();
|
|
3732
3738
|
if (e in r && t in r[e])
|
|
3733
3739
|
return r[e][t];
|
|
3734
3740
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3735
|
-
},
|
|
3741
|
+
}, mi = ve(
|
|
3736
3742
|
(e) => {
|
|
3737
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3743
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
3738
3744
|
if (r == null)
|
|
3739
3745
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3740
|
-
return n && (i =
|
|
3746
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
3741
3747
|
}
|
|
3742
|
-
),
|
|
3748
|
+
), pi = ve(
|
|
3743
3749
|
(e) => {
|
|
3744
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3750
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
3745
3751
|
if (r == null)
|
|
3746
3752
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3747
|
-
return n ? i =
|
|
3753
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3748
3754
|
}
|
|
3749
|
-
),
|
|
3755
|
+
), di = ve(
|
|
3750
3756
|
(e) => {
|
|
3751
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3757
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
3752
3758
|
if (r == null)
|
|
3753
3759
|
throw new Error(
|
|
3754
3760
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3755
3761
|
);
|
|
3756
|
-
return n ? i =
|
|
3762
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3757
3763
|
}
|
|
3758
|
-
),
|
|
3764
|
+
), bi = (e = {}) => {
|
|
3759
3765
|
var t = e, {
|
|
3760
|
-
locale: r =
|
|
3761
|
-
} = t, n =
|
|
3766
|
+
locale: r = N()
|
|
3767
|
+
} = t, n = J(t, [
|
|
3762
3768
|
"locale"
|
|
3763
3769
|
]);
|
|
3764
|
-
return
|
|
3765
|
-
},
|
|
3770
|
+
return mi(Je({ locale: r }, n));
|
|
3771
|
+
}, gi = (e = {}) => {
|
|
3766
3772
|
var t = e, {
|
|
3767
|
-
locale: r =
|
|
3768
|
-
} = t, n =
|
|
3773
|
+
locale: r = N()
|
|
3774
|
+
} = t, n = J(t, [
|
|
3769
3775
|
"locale"
|
|
3770
3776
|
]);
|
|
3771
|
-
return
|
|
3772
|
-
},
|
|
3777
|
+
return pi(Je({ locale: r }, n));
|
|
3778
|
+
}, _i = (e = {}) => {
|
|
3773
3779
|
var t = e, {
|
|
3774
|
-
locale: r =
|
|
3775
|
-
} = t, n =
|
|
3780
|
+
locale: r = N()
|
|
3781
|
+
} = t, n = J(t, [
|
|
3776
3782
|
"locale"
|
|
3777
3783
|
]);
|
|
3778
|
-
return
|
|
3779
|
-
},
|
|
3784
|
+
return di(Je({ locale: r }, n));
|
|
3785
|
+
}, yi = ve(
|
|
3780
3786
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3781
|
-
(e, t =
|
|
3782
|
-
ignoreTag:
|
|
3787
|
+
(e, t = N()) => new qt(e, t, z().formats, {
|
|
3788
|
+
ignoreTag: z().ignoreTag
|
|
3783
3789
|
})
|
|
3784
|
-
),
|
|
3790
|
+
), Ei = (e, t = {}) => {
|
|
3785
3791
|
var r, n, i, s;
|
|
3786
3792
|
let a = t;
|
|
3787
3793
|
typeof e == "object" && (a = e, e = a.id);
|
|
3788
3794
|
const {
|
|
3789
3795
|
values: o,
|
|
3790
|
-
locale: l =
|
|
3791
|
-
default:
|
|
3796
|
+
locale: l = N(),
|
|
3797
|
+
default: u
|
|
3792
3798
|
} = a;
|
|
3793
3799
|
if (l == null)
|
|
3794
3800
|
throw new Error(
|
|
3795
3801
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3796
3802
|
);
|
|
3797
|
-
let
|
|
3798
|
-
if (!
|
|
3799
|
-
|
|
3800
|
-
else if (typeof
|
|
3803
|
+
let h = Jt(e, l);
|
|
3804
|
+
if (!h)
|
|
3805
|
+
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;
|
|
3806
|
+
else if (typeof h != "string")
|
|
3801
3807
|
return console.warn(
|
|
3802
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3803
|
-
),
|
|
3808
|
+
`[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.`
|
|
3809
|
+
), h;
|
|
3804
3810
|
if (!o)
|
|
3805
|
-
return
|
|
3806
|
-
let f =
|
|
3811
|
+
return h;
|
|
3812
|
+
let f = h;
|
|
3807
3813
|
try {
|
|
3808
|
-
f =
|
|
3814
|
+
f = yi(h, l).format(o);
|
|
3809
3815
|
} catch (c) {
|
|
3810
3816
|
c instanceof Error && console.warn(
|
|
3811
3817
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3813,20 +3819,20 @@ const te = (e, t) => {
|
|
|
3813
3819
|
);
|
|
3814
3820
|
}
|
|
3815
3821
|
return f;
|
|
3816
|
-
},
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
function
|
|
3822
|
-
|
|
3823
|
-
}
|
|
3824
|
-
function
|
|
3825
|
-
|
|
3822
|
+
}, xi = (e, t) => _i(t).format(e), vi = (e, t) => gi(t).format(e), Hi = (e, t) => bi(t).format(e), Bi = (e, t = N()) => Jt(e, t), Ti = q([R, ie], () => Ei);
|
|
3823
|
+
q([R], () => xi);
|
|
3824
|
+
q([R], () => vi);
|
|
3825
|
+
q([R], () => Hi);
|
|
3826
|
+
q([R, ie], () => Bi);
|
|
3827
|
+
function yt(e, t) {
|
|
3828
|
+
Kt(e, t);
|
|
3829
|
+
}
|
|
3830
|
+
function wi(e) {
|
|
3831
|
+
ni({
|
|
3826
3832
|
fallbackLocale: "en"
|
|
3827
|
-
}),
|
|
3833
|
+
}), R.set(e);
|
|
3828
3834
|
}
|
|
3829
|
-
const
|
|
3835
|
+
const Et = {
|
|
3830
3836
|
en: {
|
|
3831
3837
|
header: {
|
|
3832
3838
|
general: "Cashier",
|
|
@@ -3849,18 +3855,18 @@ const _t = {
|
|
|
3849
3855
|
}
|
|
3850
3856
|
}
|
|
3851
3857
|
};
|
|
3852
|
-
function
|
|
3853
|
-
|
|
3858
|
+
function Si(e) {
|
|
3859
|
+
br(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
3854
3860
|
}
|
|
3855
|
-
const
|
|
3856
|
-
function
|
|
3861
|
+
const Ai = (e) => ({}), xt = (e) => ({}), Oi = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({});
|
|
3862
|
+
function Bt(e) {
|
|
3857
3863
|
let t, r, n;
|
|
3858
3864
|
return {
|
|
3859
3865
|
c() {
|
|
3860
|
-
t =
|
|
3866
|
+
t = Z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Q(t, "class", "CashierHeaderLeftButton");
|
|
3861
3867
|
},
|
|
3862
3868
|
m(i, s) {
|
|
3863
|
-
|
|
3869
|
+
$(i, t, s), r || (n = Pt(
|
|
3864
3870
|
t,
|
|
3865
3871
|
"click",
|
|
3866
3872
|
/*back*/
|
|
@@ -3869,32 +3875,32 @@ function vt(e) {
|
|
|
3869
3875
|
},
|
|
3870
3876
|
p: T,
|
|
3871
3877
|
d(i) {
|
|
3872
|
-
i &&
|
|
3878
|
+
i && L(t), r = !1, n();
|
|
3873
3879
|
}
|
|
3874
3880
|
};
|
|
3875
3881
|
}
|
|
3876
|
-
function
|
|
3882
|
+
function Pi(e) {
|
|
3877
3883
|
let t, r = (
|
|
3878
3884
|
/*backButton*/
|
|
3879
|
-
e[1] &&
|
|
3885
|
+
e[1] && Bt(e)
|
|
3880
3886
|
);
|
|
3881
3887
|
return {
|
|
3882
3888
|
c() {
|
|
3883
|
-
r && r.c(), t =
|
|
3889
|
+
r && r.c(), t = Ct();
|
|
3884
3890
|
},
|
|
3885
3891
|
m(n, i) {
|
|
3886
|
-
r && r.m(n, i),
|
|
3892
|
+
r && r.m(n, i), $(n, t, i);
|
|
3887
3893
|
},
|
|
3888
3894
|
p(n, i) {
|
|
3889
3895
|
/*backButton*/
|
|
3890
|
-
n[1] ? r ? r.p(n, i) : (r =
|
|
3896
|
+
n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3891
3897
|
},
|
|
3892
3898
|
d(n) {
|
|
3893
|
-
n &&
|
|
3899
|
+
n && L(t), r && r.d(n);
|
|
3894
3900
|
}
|
|
3895
3901
|
};
|
|
3896
3902
|
}
|
|
3897
|
-
function
|
|
3903
|
+
function Li(e) {
|
|
3898
3904
|
let t, r = (
|
|
3899
3905
|
/*$_*/
|
|
3900
3906
|
e[4](
|
|
@@ -3904,10 +3910,10 @@ function Oi(e) {
|
|
|
3904
3910
|
), n;
|
|
3905
3911
|
return {
|
|
3906
3912
|
c() {
|
|
3907
|
-
t =
|
|
3913
|
+
t = Z("span"), n = Ze(r), Q(t, "class", "CashierHeaderTitle");
|
|
3908
3914
|
},
|
|
3909
3915
|
m(i, s) {
|
|
3910
|
-
|
|
3916
|
+
$(i, t, s), pe(t, n);
|
|
3911
3917
|
},
|
|
3912
3918
|
p(i, s) {
|
|
3913
3919
|
s & /*$_, titleText*/
|
|
@@ -3915,21 +3921,21 @@ function Oi(e) {
|
|
|
3915
3921
|
i[4](
|
|
3916
3922
|
/*titleText*/
|
|
3917
3923
|
i[2]
|
|
3918
|
-
) + "") &&
|
|
3924
|
+
) + "") && Er(n, r);
|
|
3919
3925
|
},
|
|
3920
3926
|
d(i) {
|
|
3921
|
-
i &&
|
|
3927
|
+
i && L(t);
|
|
3922
3928
|
}
|
|
3923
3929
|
};
|
|
3924
3930
|
}
|
|
3925
|
-
function
|
|
3931
|
+
function Tt(e) {
|
|
3926
3932
|
let t, r, n;
|
|
3927
3933
|
return {
|
|
3928
3934
|
c() {
|
|
3929
|
-
t =
|
|
3935
|
+
t = Z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Q(t, "class", "CashierHeaderRightButton");
|
|
3930
3936
|
},
|
|
3931
3937
|
m(i, s) {
|
|
3932
|
-
|
|
3938
|
+
$(i, t, s), r || (n = Pt(
|
|
3933
3939
|
t,
|
|
3934
3940
|
"click",
|
|
3935
3941
|
/*close*/
|
|
@@ -3938,226 +3944,226 @@ function Ht(e) {
|
|
|
3938
3944
|
},
|
|
3939
3945
|
p: T,
|
|
3940
3946
|
d(i) {
|
|
3941
|
-
i &&
|
|
3947
|
+
i && L(t), r = !1, n();
|
|
3942
3948
|
}
|
|
3943
3949
|
};
|
|
3944
3950
|
}
|
|
3945
|
-
function
|
|
3951
|
+
function Ni(e) {
|
|
3946
3952
|
let t, r = (
|
|
3947
3953
|
/*closeButton*/
|
|
3948
|
-
e[3] &&
|
|
3954
|
+
e[3] && Tt(e)
|
|
3949
3955
|
);
|
|
3950
3956
|
return {
|
|
3951
3957
|
c() {
|
|
3952
|
-
r && r.c(), t =
|
|
3958
|
+
r && r.c(), t = Ct();
|
|
3953
3959
|
},
|
|
3954
3960
|
m(n, i) {
|
|
3955
|
-
r && r.m(n, i),
|
|
3961
|
+
r && r.m(n, i), $(n, t, i);
|
|
3956
3962
|
},
|
|
3957
3963
|
p(n, i) {
|
|
3958
3964
|
/*closeButton*/
|
|
3959
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
3965
|
+
n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3960
3966
|
},
|
|
3961
3967
|
d(n) {
|
|
3962
|
-
n &&
|
|
3968
|
+
n && L(t), r && r.d(n);
|
|
3963
3969
|
}
|
|
3964
3970
|
};
|
|
3965
3971
|
}
|
|
3966
|
-
function
|
|
3972
|
+
function Ii(e) {
|
|
3967
3973
|
let t, r, n, i;
|
|
3968
3974
|
const s = (
|
|
3969
3975
|
/*#slots*/
|
|
3970
3976
|
e[15].leftButton
|
|
3971
|
-
), a =
|
|
3977
|
+
), a = Be(
|
|
3972
3978
|
s,
|
|
3973
3979
|
e,
|
|
3974
3980
|
/*$$scope*/
|
|
3975
3981
|
e[14],
|
|
3976
|
-
|
|
3977
|
-
), o = a ||
|
|
3982
|
+
Ht
|
|
3983
|
+
), o = a || Pi(e), l = (
|
|
3978
3984
|
/*#slots*/
|
|
3979
3985
|
e[15].title
|
|
3980
|
-
),
|
|
3986
|
+
), u = Be(
|
|
3981
3987
|
l,
|
|
3982
3988
|
e,
|
|
3983
3989
|
/*$$scope*/
|
|
3984
3990
|
e[14],
|
|
3985
|
-
|
|
3986
|
-
),
|
|
3991
|
+
vt
|
|
3992
|
+
), h = u || Li(e), f = (
|
|
3987
3993
|
/*#slots*/
|
|
3988
3994
|
e[15].rightButton
|
|
3989
|
-
), c =
|
|
3995
|
+
), c = Be(
|
|
3990
3996
|
f,
|
|
3991
3997
|
e,
|
|
3992
3998
|
/*$$scope*/
|
|
3993
3999
|
e[14],
|
|
3994
|
-
|
|
3995
|
-
), p = c ||
|
|
4000
|
+
xt
|
|
4001
|
+
), p = c || Ni(e);
|
|
3996
4002
|
return {
|
|
3997
4003
|
c() {
|
|
3998
|
-
t =
|
|
4004
|
+
t = Z("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Q(t, "class", "CashierHeader");
|
|
3999
4005
|
},
|
|
4000
4006
|
m(m, g) {
|
|
4001
|
-
|
|
4007
|
+
$(m, t, g), o && o.m(t, null), pe(t, r), h && h.m(t, null), pe(t, n), p && p.m(t, null), e[16](t), i = !0;
|
|
4002
4008
|
},
|
|
4003
4009
|
p(m, [g]) {
|
|
4004
4010
|
a ? a.p && (!i || g & /*$$scope*/
|
|
4005
|
-
16384) &&
|
|
4011
|
+
16384) && we(
|
|
4006
4012
|
a,
|
|
4007
4013
|
s,
|
|
4008
4014
|
m,
|
|
4009
4015
|
/*$$scope*/
|
|
4010
4016
|
m[14],
|
|
4011
|
-
i ?
|
|
4017
|
+
i ? Te(
|
|
4012
4018
|
s,
|
|
4013
4019
|
/*$$scope*/
|
|
4014
4020
|
m[14],
|
|
4015
4021
|
g,
|
|
4016
|
-
|
|
4017
|
-
) :
|
|
4022
|
+
Ci
|
|
4023
|
+
) : Se(
|
|
4018
4024
|
/*$$scope*/
|
|
4019
4025
|
m[14]
|
|
4020
4026
|
),
|
|
4021
|
-
|
|
4027
|
+
Ht
|
|
4022
4028
|
) : o && o.p && (!i || g & /*backButton*/
|
|
4023
|
-
2) && o.p(m, i ? g : -1),
|
|
4024
|
-
16384) &&
|
|
4025
|
-
|
|
4029
|
+
2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
|
|
4030
|
+
16384) && we(
|
|
4031
|
+
u,
|
|
4026
4032
|
l,
|
|
4027
4033
|
m,
|
|
4028
4034
|
/*$$scope*/
|
|
4029
4035
|
m[14],
|
|
4030
|
-
i ?
|
|
4036
|
+
i ? Te(
|
|
4031
4037
|
l,
|
|
4032
4038
|
/*$$scope*/
|
|
4033
4039
|
m[14],
|
|
4034
4040
|
g,
|
|
4035
|
-
|
|
4036
|
-
) :
|
|
4041
|
+
Oi
|
|
4042
|
+
) : Se(
|
|
4037
4043
|
/*$$scope*/
|
|
4038
4044
|
m[14]
|
|
4039
4045
|
),
|
|
4040
|
-
|
|
4041
|
-
) :
|
|
4042
|
-
20) &&
|
|
4043
|
-
16384) &&
|
|
4046
|
+
vt
|
|
4047
|
+
) : h && h.p && (!i || g & /*$_, titleText*/
|
|
4048
|
+
20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
|
|
4049
|
+
16384) && we(
|
|
4044
4050
|
c,
|
|
4045
4051
|
f,
|
|
4046
4052
|
m,
|
|
4047
4053
|
/*$$scope*/
|
|
4048
4054
|
m[14],
|
|
4049
|
-
i ?
|
|
4055
|
+
i ? Te(
|
|
4050
4056
|
f,
|
|
4051
4057
|
/*$$scope*/
|
|
4052
4058
|
m[14],
|
|
4053
4059
|
g,
|
|
4054
|
-
|
|
4055
|
-
) :
|
|
4060
|
+
Ai
|
|
4061
|
+
) : Se(
|
|
4056
4062
|
/*$$scope*/
|
|
4057
4063
|
m[14]
|
|
4058
4064
|
),
|
|
4059
|
-
|
|
4065
|
+
xt
|
|
4060
4066
|
) : p && p.p && (!i || g & /*closeButton*/
|
|
4061
4067
|
8) && p.p(m, i ? g : -1);
|
|
4062
4068
|
},
|
|
4063
4069
|
i(m) {
|
|
4064
|
-
i || (
|
|
4070
|
+
i || (le(o, m), le(h, m), le(p, m), i = !0);
|
|
4065
4071
|
},
|
|
4066
4072
|
o(m) {
|
|
4067
|
-
|
|
4073
|
+
Oe(o, m), Oe(h, m), Oe(p, m), i = !1;
|
|
4068
4074
|
},
|
|
4069
4075
|
d(m) {
|
|
4070
|
-
m &&
|
|
4076
|
+
m && L(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
|
|
4071
4077
|
}
|
|
4072
4078
|
};
|
|
4073
4079
|
}
|
|
4074
|
-
function
|
|
4080
|
+
function Mi(e, t, r) {
|
|
4075
4081
|
let n;
|
|
4076
|
-
|
|
4077
|
-
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton:
|
|
4078
|
-
const
|
|
4082
|
+
dr(e, Ti, (_) => r(4, n = _));
|
|
4083
|
+
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;
|
|
4084
|
+
const I = () => {
|
|
4079
4085
|
let _ = l;
|
|
4080
|
-
_ && fetch(_).then((
|
|
4081
|
-
Object.keys(
|
|
4082
|
-
|
|
4086
|
+
_ && fetch(_).then((A) => A.json()).then((A) => {
|
|
4087
|
+
Object.keys(A).forEach((D) => {
|
|
4088
|
+
yt(D, A[D]);
|
|
4083
4089
|
});
|
|
4084
|
-
}).catch((
|
|
4085
|
-
console.log(
|
|
4090
|
+
}).catch((A) => {
|
|
4091
|
+
console.log(A);
|
|
4086
4092
|
});
|
|
4087
4093
|
};
|
|
4088
|
-
Object.keys(
|
|
4089
|
-
|
|
4094
|
+
Object.keys(Et).forEach((_) => {
|
|
4095
|
+
yt(_, Et[_]);
|
|
4090
4096
|
});
|
|
4091
4097
|
const C = () => {
|
|
4092
4098
|
let _ = document.createElement("style");
|
|
4093
4099
|
_.innerHTML = a, p.appendChild(_);
|
|
4094
4100
|
}, H = () => {
|
|
4095
|
-
let _ = new URL(o),
|
|
4096
|
-
fetch(_.href).then((
|
|
4097
|
-
|
|
4101
|
+
let _ = new URL(o), A = document.createElement("style");
|
|
4102
|
+
fetch(_.href).then((D) => D.text()).then((D) => {
|
|
4103
|
+
A.innerHTML = D, setTimeout(
|
|
4098
4104
|
() => {
|
|
4099
|
-
p.appendChild(
|
|
4105
|
+
p.appendChild(A);
|
|
4100
4106
|
},
|
|
4101
4107
|
1
|
|
4102
4108
|
);
|
|
4103
4109
|
});
|
|
4104
|
-
},
|
|
4105
|
-
|
|
4106
|
-
},
|
|
4110
|
+
}, M = () => {
|
|
4111
|
+
wi(f);
|
|
4112
|
+
}, S = () => {
|
|
4107
4113
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
4108
|
-
},
|
|
4114
|
+
}, U = () => {
|
|
4109
4115
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
4110
|
-
},
|
|
4111
|
-
r(1, m = !!
|
|
4112
|
-
},
|
|
4116
|
+
}, oe = () => {
|
|
4117
|
+
r(1, m = !!u && u !== "false");
|
|
4118
|
+
}, sr = () => {
|
|
4113
4119
|
r(3, v = !!c && c !== "false");
|
|
4114
|
-
},
|
|
4115
|
-
r(2, g =
|
|
4120
|
+
}, or = () => {
|
|
4121
|
+
r(2, g = h || "header.general");
|
|
4116
4122
|
};
|
|
4117
|
-
function
|
|
4118
|
-
|
|
4123
|
+
function ar(_) {
|
|
4124
|
+
$e[_ ? "unshift" : "push"](() => {
|
|
4119
4125
|
p = _, r(0, p);
|
|
4120
4126
|
});
|
|
4121
4127
|
}
|
|
4122
4128
|
return e.$$set = (_) => {
|
|
4123
|
-
"clientstyling" in _ && r(7, a = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10,
|
|
4129
|
+
"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);
|
|
4124
4130
|
}, e.$$.update = () => {
|
|
4125
4131
|
e.$$.dirty & /*lang*/
|
|
4126
|
-
4096 && f &&
|
|
4127
|
-
6144 && f &&
|
|
4132
|
+
4096 && f && M(), e.$$.dirty & /*lang, title*/
|
|
4133
|
+
6144 && f && h && or(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4128
4134
|
129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4129
4135
|
257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
|
|
4130
|
-
4608 && f && l &&
|
|
4131
|
-
1024 &&
|
|
4132
|
-
8192 && c &&
|
|
4136
|
+
4608 && f && l && I(), e.$$.dirty & /*showbackbutton*/
|
|
4137
|
+
1024 && u && oe(), e.$$.dirty & /*showclosebutton*/
|
|
4138
|
+
8192 && c && sr();
|
|
4133
4139
|
}, [
|
|
4134
4140
|
p,
|
|
4135
4141
|
m,
|
|
4136
4142
|
g,
|
|
4137
4143
|
v,
|
|
4138
4144
|
n,
|
|
4139
|
-
|
|
4140
|
-
|
|
4145
|
+
S,
|
|
4146
|
+
U,
|
|
4141
4147
|
a,
|
|
4142
4148
|
o,
|
|
4143
4149
|
l,
|
|
4144
|
-
h,
|
|
4145
4150
|
u,
|
|
4151
|
+
h,
|
|
4146
4152
|
f,
|
|
4147
4153
|
c,
|
|
4148
4154
|
s,
|
|
4149
4155
|
i,
|
|
4150
|
-
|
|
4156
|
+
ar
|
|
4151
4157
|
];
|
|
4152
4158
|
}
|
|
4153
|
-
class
|
|
4159
|
+
class ir extends Lr {
|
|
4154
4160
|
constructor(t) {
|
|
4155
|
-
super(),
|
|
4161
|
+
super(), Cr(
|
|
4156
4162
|
this,
|
|
4157
4163
|
t,
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4164
|
+
Mi,
|
|
4165
|
+
Ii,
|
|
4166
|
+
St,
|
|
4161
4167
|
{
|
|
4162
4168
|
clientstyling: 7,
|
|
4163
4169
|
clientstylingurl: 8,
|
|
@@ -4167,77 +4173,77 @@ class rr extends Or {
|
|
|
4167
4173
|
lang: 12,
|
|
4168
4174
|
showclosebutton: 13
|
|
4169
4175
|
},
|
|
4170
|
-
|
|
4176
|
+
Si
|
|
4171
4177
|
);
|
|
4172
4178
|
}
|
|
4173
4179
|
get clientstyling() {
|
|
4174
4180
|
return this.$$.ctx[7];
|
|
4175
4181
|
}
|
|
4176
4182
|
set clientstyling(t) {
|
|
4177
|
-
this.$$set({ clientstyling: t }),
|
|
4183
|
+
this.$$set({ clientstyling: t }), O();
|
|
4178
4184
|
}
|
|
4179
4185
|
get clientstylingurl() {
|
|
4180
4186
|
return this.$$.ctx[8];
|
|
4181
4187
|
}
|
|
4182
4188
|
set clientstylingurl(t) {
|
|
4183
|
-
this.$$set({ clientstylingurl: t }),
|
|
4189
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4184
4190
|
}
|
|
4185
4191
|
get translationurl() {
|
|
4186
4192
|
return this.$$.ctx[9];
|
|
4187
4193
|
}
|
|
4188
4194
|
set translationurl(t) {
|
|
4189
|
-
this.$$set({ translationurl: t }),
|
|
4195
|
+
this.$$set({ translationurl: t }), O();
|
|
4190
4196
|
}
|
|
4191
4197
|
get showbackbutton() {
|
|
4192
4198
|
return this.$$.ctx[10];
|
|
4193
4199
|
}
|
|
4194
4200
|
set showbackbutton(t) {
|
|
4195
|
-
this.$$set({ showbackbutton: t }),
|
|
4201
|
+
this.$$set({ showbackbutton: t }), O();
|
|
4196
4202
|
}
|
|
4197
4203
|
get title() {
|
|
4198
4204
|
return this.$$.ctx[11];
|
|
4199
4205
|
}
|
|
4200
4206
|
set title(t) {
|
|
4201
|
-
this.$$set({ title: t }),
|
|
4207
|
+
this.$$set({ title: t }), O();
|
|
4202
4208
|
}
|
|
4203
4209
|
get lang() {
|
|
4204
4210
|
return this.$$.ctx[12];
|
|
4205
4211
|
}
|
|
4206
4212
|
set lang(t) {
|
|
4207
|
-
this.$$set({ lang: t }),
|
|
4213
|
+
this.$$set({ lang: t }), O();
|
|
4208
4214
|
}
|
|
4209
4215
|
get showclosebutton() {
|
|
4210
4216
|
return this.$$.ctx[13];
|
|
4211
4217
|
}
|
|
4212
4218
|
set showclosebutton(t) {
|
|
4213
|
-
this.$$set({ showclosebutton: t }),
|
|
4219
|
+
this.$$set({ showclosebutton: t }), O();
|
|
4214
4220
|
}
|
|
4215
4221
|
}
|
|
4216
|
-
|
|
4217
|
-
const
|
|
4222
|
+
Pr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
4223
|
+
const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4218
4224
|
__proto__: null,
|
|
4219
|
-
default:
|
|
4225
|
+
default: ir
|
|
4220
4226
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4221
4227
|
export {
|
|
4222
|
-
$,
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4228
|
+
R as $,
|
|
4229
|
+
Di as C,
|
|
4230
|
+
Lr as S,
|
|
4231
|
+
Kt as a,
|
|
4232
|
+
Cr as b,
|
|
4233
|
+
Pr as c,
|
|
4234
|
+
br as d,
|
|
4235
|
+
L as e,
|
|
4236
|
+
O as f,
|
|
4237
|
+
Ui as g,
|
|
4238
|
+
Ri as h,
|
|
4239
|
+
ni as i,
|
|
4240
|
+
Q as j,
|
|
4241
|
+
$ as k,
|
|
4242
|
+
pe as l,
|
|
4243
|
+
Pt as m,
|
|
4238
4244
|
T as n,
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4245
|
+
Z as o,
|
|
4246
|
+
nt as p,
|
|
4247
|
+
$e as q,
|
|
4248
|
+
St as s
|
|
4243
4249
|
};
|