@everymatrix/cashier-error 1.92.2 → 1.92.4
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/{CashierError-DcaLEArf.js → CashierError-2Z1_ph1-.js} +727 -707
- package/components/{CashierError-C0hL9h3N.js → CashierError-Dbubo4Rq.js} +807 -787
- package/components/CashierError-DpXUW93C.cjs +5 -0
- package/es2015/cashier-error.cjs +1 -1
- package/es2015/cashier-error.js +1 -1
- package/esnext/cashier-error.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-CYR_xAUh.cjs +0 -5
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ur = Object.defineProperty, lr = Object.defineProperties;
|
|
2
|
+
var hr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var tt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ce = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
cr.call(t, r) && Ce(e, r, t[r]);
|
|
8
8
|
if (tt)
|
|
9
9
|
for (var r of tt(t))
|
|
10
|
-
|
|
10
|
+
fr.call(t, r) && Ce(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, nt = (e, t) =>
|
|
13
|
-
var B = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, nt = (e, t) => lr(e, hr(t));
|
|
13
|
+
var B = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Oe = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var a = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
o(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
i(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
o(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(a, s);
|
|
28
|
+
o((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
31
|
-
function
|
|
31
|
+
function M() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function mr(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,48 +38,48 @@ function fr(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Lt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function it() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
e.forEach(
|
|
47
|
+
function oe(e) {
|
|
48
|
+
e.forEach(Lt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ye(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
53
|
function Ct(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
56
|
let ce;
|
|
57
|
-
function
|
|
57
|
+
function at(e, t) {
|
|
58
58
|
return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function dr(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Ot(e, ...t) {
|
|
64
64
|
if (e == null) {
|
|
65
65
|
for (const n of t)
|
|
66
66
|
n(void 0);
|
|
67
|
-
return
|
|
67
|
+
return M;
|
|
68
68
|
}
|
|
69
69
|
const r = e.subscribe(...t);
|
|
70
70
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function pr(e, t, r) {
|
|
73
|
+
e.$$.on_destroy.push(Ot(t, r));
|
|
74
74
|
}
|
|
75
75
|
function fe(e, t, r, n) {
|
|
76
76
|
if (e) {
|
|
77
|
-
const i =
|
|
77
|
+
const i = It(e, t, r, n);
|
|
78
78
|
return e[0](i);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return e[1] && n ?
|
|
81
|
+
function It(e, t, r, n) {
|
|
82
|
+
return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
83
83
|
}
|
|
84
84
|
function me(e, t, r, n) {
|
|
85
85
|
if (e[2] && n) {
|
|
@@ -87,9 +87,9 @@ function me(e, t, r, n) {
|
|
|
87
87
|
if (t.dirty === void 0)
|
|
88
88
|
return i;
|
|
89
89
|
if (typeof i == "object") {
|
|
90
|
-
const a = [],
|
|
91
|
-
for (let
|
|
92
|
-
a[
|
|
90
|
+
const a = [], s = Math.max(t.dirty.length, i.length);
|
|
91
|
+
for (let o = 0; o < s; o += 1)
|
|
92
|
+
a[o] = t.dirty[o] | i[o];
|
|
93
93
|
return a;
|
|
94
94
|
}
|
|
95
95
|
return t.dirty | i;
|
|
@@ -98,8 +98,8 @@ function me(e, t, r, n) {
|
|
|
98
98
|
}
|
|
99
99
|
function de(e, t, r, n, i, a) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const
|
|
102
|
-
e.p(
|
|
101
|
+
const s = It(t, r, n, a);
|
|
102
|
+
e.p(s, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
function pe(e) {
|
|
@@ -111,17 +111,17 @@ function pe(e) {
|
|
|
111
111
|
}
|
|
112
112
|
return -1;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function P(e, t) {
|
|
115
115
|
e.appendChild(t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
const n =
|
|
117
|
+
function gr(e, t, r) {
|
|
118
|
+
const n = br(e);
|
|
119
119
|
if (!n.getElementById(t)) {
|
|
120
|
-
const i =
|
|
121
|
-
i.id = t, i.textContent = r,
|
|
120
|
+
const i = L("style");
|
|
121
|
+
i.id = t, i.textContent = r, yr(n, i);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function br(e) {
|
|
125
125
|
if (!e)
|
|
126
126
|
return document;
|
|
127
127
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -131,8 +131,8 @@ function gr(e) {
|
|
|
131
131
|
t
|
|
132
132
|
) : e.ownerDocument;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
134
|
+
function yr(e, t) {
|
|
135
|
+
return P(
|
|
136
136
|
/** @type {Document} */
|
|
137
137
|
e.head || e,
|
|
138
138
|
t
|
|
@@ -144,36 +144,36 @@ function S(e, t, r) {
|
|
|
144
144
|
function A(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function L(e) {
|
|
148
148
|
return document.createElement(e);
|
|
149
149
|
}
|
|
150
150
|
function k(e) {
|
|
151
151
|
return document.createTextNode(e);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function V() {
|
|
154
154
|
return k(" ");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Qe() {
|
|
157
157
|
return k("");
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function vr(e, t, r, n) {
|
|
160
160
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function N(e, t, r) {
|
|
163
163
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
164
164
|
}
|
|
165
165
|
function ge(e, t, r) {
|
|
166
166
|
const n = t.toLowerCase();
|
|
167
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
167
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : N(e, t, r);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function _r(e) {
|
|
170
170
|
return Array.from(e.childNodes);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function X(e, t) {
|
|
173
173
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
174
174
|
t);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Er(e) {
|
|
177
177
|
const t = {};
|
|
178
178
|
return e.childNodes.forEach(
|
|
179
179
|
/** @param {Element} node */
|
|
@@ -182,105 +182,105 @@ function _r(e) {
|
|
|
182
182
|
}
|
|
183
183
|
), t;
|
|
184
184
|
}
|
|
185
|
-
let
|
|
186
|
-
function
|
|
187
|
-
|
|
185
|
+
let ie;
|
|
186
|
+
function ne(e) {
|
|
187
|
+
ie = e;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
if (!
|
|
189
|
+
function xr() {
|
|
190
|
+
if (!ie)
|
|
191
191
|
throw new Error("Function called outside component initialization");
|
|
192
|
-
return
|
|
192
|
+
return ie;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
|
|
194
|
+
function Tr(e) {
|
|
195
|
+
xr().$$.on_mount.push(e);
|
|
196
196
|
}
|
|
197
|
-
const
|
|
198
|
-
let
|
|
199
|
-
const st = [],
|
|
200
|
-
let
|
|
201
|
-
function
|
|
202
|
-
|
|
197
|
+
const z = [], Ue = [];
|
|
198
|
+
let W = [];
|
|
199
|
+
const st = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
200
|
+
let Ge = !1;
|
|
201
|
+
function Hr() {
|
|
202
|
+
Ge || (Ge = !0, wr.then(I));
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
|
|
204
|
+
function Fe(e) {
|
|
205
|
+
W.push(e);
|
|
206
206
|
}
|
|
207
|
-
const
|
|
208
|
-
let
|
|
209
|
-
function
|
|
210
|
-
if (
|
|
207
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
208
|
+
let G = 0;
|
|
209
|
+
function I() {
|
|
210
|
+
if (G !== 0)
|
|
211
211
|
return;
|
|
212
|
-
const e =
|
|
212
|
+
const e = ie;
|
|
213
213
|
do {
|
|
214
214
|
try {
|
|
215
|
-
for (;
|
|
216
|
-
const t =
|
|
217
|
-
|
|
215
|
+
for (; G < z.length; ) {
|
|
216
|
+
const t = z[G];
|
|
217
|
+
G++, ne(t), Ar(t.$$);
|
|
218
218
|
}
|
|
219
219
|
} catch (t) {
|
|
220
|
-
throw
|
|
220
|
+
throw z.length = 0, G = 0, t;
|
|
221
221
|
}
|
|
222
|
-
for (
|
|
223
|
-
|
|
224
|
-
for (let t = 0; t <
|
|
225
|
-
const r =
|
|
226
|
-
|
|
222
|
+
for (ne(null), z.length = 0, G = 0; Ue.length; )
|
|
223
|
+
Ue.pop()();
|
|
224
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
225
|
+
const r = W[t];
|
|
226
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
227
227
|
}
|
|
228
|
-
|
|
229
|
-
} while (
|
|
228
|
+
W.length = 0;
|
|
229
|
+
} while (z.length);
|
|
230
230
|
for (; st.length; )
|
|
231
231
|
st.pop()();
|
|
232
|
-
|
|
232
|
+
Ge = !1, Ie.clear(), ne(e);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ar(e) {
|
|
235
235
|
if (e.fragment !== null) {
|
|
236
|
-
e.update(),
|
|
236
|
+
e.update(), oe(e.before_update);
|
|
237
237
|
const t = e.dirty;
|
|
238
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
238
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Sr(e) {
|
|
242
242
|
const t = [], r = [];
|
|
243
|
-
|
|
243
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
244
244
|
}
|
|
245
245
|
const ve = /* @__PURE__ */ new Set();
|
|
246
|
-
let
|
|
247
|
-
function
|
|
246
|
+
let Br;
|
|
247
|
+
function te(e, t) {
|
|
248
248
|
e && e.i && (ve.delete(e), e.i(t));
|
|
249
249
|
}
|
|
250
250
|
function be(e, t, r, n) {
|
|
251
251
|
if (e && e.o) {
|
|
252
252
|
if (ve.has(e))
|
|
253
253
|
return;
|
|
254
|
-
ve.add(e),
|
|
254
|
+
ve.add(e), Br.c.push(() => {
|
|
255
255
|
ve.delete(e);
|
|
256
256
|
}), e.o(t);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Pr(e, t, r) {
|
|
260
260
|
const { fragment: n, after_update: i } = e.$$;
|
|
261
|
-
n && n.m(t, r),
|
|
262
|
-
const a = e.$$.on_mount.map(
|
|
263
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...a) :
|
|
264
|
-
}), i.forEach(
|
|
261
|
+
n && n.m(t, r), Fe(() => {
|
|
262
|
+
const a = e.$$.on_mount.map(Lt).filter(Ye);
|
|
263
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : oe(a), e.$$.on_mount = [];
|
|
264
|
+
}), i.forEach(Fe);
|
|
265
265
|
}
|
|
266
266
|
function Lr(e, t) {
|
|
267
267
|
const r = e.$$;
|
|
268
|
-
r.fragment !== null && (
|
|
268
|
+
r.fragment !== null && (Sr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
e.$$.dirty[0] === -1 && (
|
|
270
|
+
function Cr(e, t) {
|
|
271
|
+
e.$$.dirty[0] === -1 && (z.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
272
272
|
}
|
|
273
|
-
function Or(e, t, r, n, i, a,
|
|
274
|
-
const l =
|
|
275
|
-
|
|
273
|
+
function Or(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
274
|
+
const l = ie;
|
|
275
|
+
ne(e);
|
|
276
276
|
const u = e.$$ = {
|
|
277
277
|
fragment: null,
|
|
278
278
|
ctx: [],
|
|
279
279
|
// state
|
|
280
280
|
props: a,
|
|
281
|
-
update:
|
|
281
|
+
update: M,
|
|
282
282
|
not_equal: i,
|
|
283
|
-
bound:
|
|
283
|
+
bound: it(),
|
|
284
284
|
// lifecycle
|
|
285
285
|
on_mount: [],
|
|
286
286
|
on_destroy: [],
|
|
@@ -289,28 +289,28 @@ function Or(e, t, r, n, i, a, o = null, s = [-1]) {
|
|
|
289
289
|
after_update: [],
|
|
290
290
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
291
291
|
// everything else
|
|
292
|
-
callbacks:
|
|
293
|
-
dirty:
|
|
292
|
+
callbacks: it(),
|
|
293
|
+
dirty: o,
|
|
294
294
|
skip_bound: !1,
|
|
295
295
|
root: t.target || l.$$.root
|
|
296
296
|
};
|
|
297
|
-
|
|
297
|
+
s && s(u.root);
|
|
298
298
|
let h = !1;
|
|
299
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
300
|
-
const g =
|
|
301
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h &&
|
|
302
|
-
}) : [], u.update(), h = !0,
|
|
299
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
300
|
+
const g = p.length ? p[0] : f;
|
|
301
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Cr(e, c)), f;
|
|
302
|
+
}) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
303
303
|
if (t.hydrate) {
|
|
304
|
-
const c =
|
|
304
|
+
const c = _r(t.target);
|
|
305
305
|
u.fragment && u.fragment.l(c), c.forEach(A);
|
|
306
306
|
} else
|
|
307
307
|
u.fragment && u.fragment.c();
|
|
308
|
-
t.intro &&
|
|
308
|
+
t.intro && te(e.$$.fragment), Pr(e, t.target, t.anchor), I();
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
ne(l);
|
|
311
311
|
}
|
|
312
|
-
let
|
|
313
|
-
typeof HTMLElement == "function" && (
|
|
312
|
+
let Mt;
|
|
313
|
+
typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
314
314
|
constructor(t, r, n) {
|
|
315
315
|
super();
|
|
316
316
|
/** The Svelte component constructor */
|
|
@@ -347,36 +347,36 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
connectedCallback() {
|
|
350
|
-
return
|
|
350
|
+
return Oe(this, null, function* () {
|
|
351
351
|
if (this.$$cn = !0, !this.$$c) {
|
|
352
352
|
let t = function(a) {
|
|
353
353
|
return () => {
|
|
354
|
-
let
|
|
354
|
+
let s;
|
|
355
355
|
return {
|
|
356
356
|
c: function() {
|
|
357
|
-
|
|
357
|
+
s = L("slot"), a !== "default" && N(s, "name", a);
|
|
358
358
|
},
|
|
359
359
|
/**
|
|
360
360
|
* @param {HTMLElement} target
|
|
361
361
|
* @param {HTMLElement} [anchor]
|
|
362
362
|
*/
|
|
363
363
|
m: function(u, h) {
|
|
364
|
-
S(u,
|
|
364
|
+
S(u, s, h);
|
|
365
365
|
},
|
|
366
366
|
d: function(u) {
|
|
367
|
-
u && A(
|
|
367
|
+
u && A(s);
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
};
|
|
371
371
|
};
|
|
372
372
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
373
373
|
return;
|
|
374
|
-
const r = {}, n =
|
|
374
|
+
const r = {}, n = Er(this);
|
|
375
375
|
for (const a of this.$$s)
|
|
376
376
|
a in n && (r[a] = [t(a)]);
|
|
377
377
|
for (const a of this.attributes) {
|
|
378
|
-
const
|
|
379
|
-
|
|
378
|
+
const s = this.$$g_p(a.name);
|
|
379
|
+
s in this.$$d || (this.$$d[s] = _e(s, a.value, this.$$p_d, "toProp"));
|
|
380
380
|
}
|
|
381
381
|
for (const a in this.$$p_d)
|
|
382
382
|
!(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
|
|
@@ -393,21 +393,21 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
393
393
|
this.$$r = !0;
|
|
394
394
|
for (const a in this.$$p_d)
|
|
395
395
|
if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
|
|
396
|
-
const
|
|
396
|
+
const s = _e(
|
|
397
397
|
a,
|
|
398
398
|
this.$$d[a],
|
|
399
399
|
this.$$p_d,
|
|
400
400
|
"toAttribute"
|
|
401
401
|
);
|
|
402
|
-
|
|
402
|
+
s == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, s);
|
|
403
403
|
}
|
|
404
404
|
this.$$r = !1;
|
|
405
405
|
};
|
|
406
406
|
this.$$c.$$.after_update.push(i), i();
|
|
407
407
|
for (const a in this.$$l)
|
|
408
|
-
for (const
|
|
409
|
-
const
|
|
410
|
-
this.$$l_u.set(
|
|
408
|
+
for (const s of this.$$l[a]) {
|
|
409
|
+
const o = this.$$c.$on(a, s);
|
|
410
|
+
this.$$l_u.set(s, o);
|
|
411
411
|
}
|
|
412
412
|
this.$$l = {};
|
|
413
413
|
}
|
|
@@ -460,38 +460,38 @@ function _e(e, t, r, n) {
|
|
|
460
460
|
return t;
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
let
|
|
463
|
+
function Ir(e, t, r, n, i, a) {
|
|
464
|
+
let s = class extends Mt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(e, r, i), this.$$p_d = t;
|
|
467
467
|
}
|
|
468
468
|
static get observedAttributes() {
|
|
469
469
|
return Object.keys(t).map(
|
|
470
|
-
(
|
|
470
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
471
471
|
);
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
|
-
return Object.keys(t).forEach((
|
|
475
|
-
Object.defineProperty(
|
|
474
|
+
return Object.keys(t).forEach((o) => {
|
|
475
|
+
Object.defineProperty(s.prototype, o, {
|
|
476
476
|
get() {
|
|
477
|
-
return this.$$c &&
|
|
477
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
478
478
|
},
|
|
479
479
|
set(l) {
|
|
480
480
|
var u;
|
|
481
|
-
l = _e(
|
|
481
|
+
l = _e(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
|
-
}), n.forEach((
|
|
485
|
-
Object.defineProperty(
|
|
484
|
+
}), n.forEach((o) => {
|
|
485
|
+
Object.defineProperty(s.prototype, o, {
|
|
486
486
|
get() {
|
|
487
487
|
var l;
|
|
488
|
-
return (l = this.$$c) == null ? void 0 : l[
|
|
488
|
+
return (l = this.$$c) == null ? void 0 : l[o];
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
}), e.element = /** @type {any} */
|
|
492
|
-
|
|
492
|
+
s, s;
|
|
493
493
|
}
|
|
494
|
-
class
|
|
494
|
+
class Mr {
|
|
495
495
|
constructor() {
|
|
496
496
|
/**
|
|
497
497
|
* ### PRIVATE API
|
|
@@ -512,7 +512,7 @@ class Ir {
|
|
|
512
512
|
}
|
|
513
513
|
/** @returns {void} */
|
|
514
514
|
$destroy() {
|
|
515
|
-
Lr(this, 1), this.$destroy =
|
|
515
|
+
Lr(this, 1), this.$destroy = M;
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
518
518
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -521,8 +521,8 @@ class Ir {
|
|
|
521
521
|
* @returns {() => void}
|
|
522
522
|
*/
|
|
523
523
|
$on(t, r) {
|
|
524
|
-
if (!
|
|
525
|
-
return
|
|
524
|
+
if (!Ye(r))
|
|
525
|
+
return M;
|
|
526
526
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
527
527
|
return n.push(r), () => {
|
|
528
528
|
const i = n.indexOf(r);
|
|
@@ -534,19 +534,19 @@ class Ir {
|
|
|
534
534
|
* @returns {void}
|
|
535
535
|
*/
|
|
536
536
|
$set(t) {
|
|
537
|
-
this.$$set && !
|
|
537
|
+
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
const
|
|
541
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
542
|
-
const
|
|
543
|
-
function
|
|
540
|
+
const Nr = "4";
|
|
541
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
|
|
542
|
+
const j = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
543
|
+
function Rr(e, t) {
|
|
544
544
|
if (e) {
|
|
545
545
|
const r = document.createElement("style");
|
|
546
546
|
r.innerHTML = t, e.appendChild(r);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Dr(e, t) {
|
|
550
550
|
if (!e || !t)
|
|
551
551
|
return;
|
|
552
552
|
const r = new URL(t);
|
|
@@ -557,20 +557,20 @@ function Rr(e, t) {
|
|
|
557
557
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function kr(e, t, r, n = !1) {
|
|
561
561
|
if (!window.emMessageBus)
|
|
562
562
|
return;
|
|
563
563
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
564
564
|
return r = $r(e, t), r;
|
|
565
|
-
window[
|
|
566
|
-
const a = r.unsubscribe.bind(r),
|
|
567
|
-
if (window[
|
|
568
|
-
const
|
|
569
|
-
|
|
565
|
+
window[j] || (window[j] = {}), r = Ur(e, t);
|
|
566
|
+
const a = r.unsubscribe.bind(r), s = () => {
|
|
567
|
+
if (window[j][t]) {
|
|
568
|
+
const o = window[j][t];
|
|
569
|
+
o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[j][t];
|
|
570
570
|
}
|
|
571
571
|
a();
|
|
572
572
|
};
|
|
573
|
-
return r.unsubscribe =
|
|
573
|
+
return r.unsubscribe = s, r;
|
|
574
574
|
}
|
|
575
575
|
function $r(e, t) {
|
|
576
576
|
const r = document.createElement("style");
|
|
@@ -578,69 +578,69 @@ function $r(e, t) {
|
|
|
578
578
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Ur(e, t) {
|
|
582
582
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
583
583
|
if (!e)
|
|
584
584
|
return;
|
|
585
|
-
const n = e.getRootNode(), i = window[
|
|
585
|
+
const n = e.getRootNode(), i = window[j];
|
|
586
586
|
let a = i[t] && i[t].sheet;
|
|
587
587
|
a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
|
|
588
588
|
sheet: a,
|
|
589
589
|
refCount: 1
|
|
590
590
|
});
|
|
591
|
-
const
|
|
592
|
-
|
|
591
|
+
const s = n.adoptedStyleSheets || [];
|
|
592
|
+
s.includes(a) || (n.adoptedStyleSheets = [...s, a]);
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
|
-
const
|
|
596
|
-
function
|
|
595
|
+
const F = [];
|
|
596
|
+
function Gr(e, t) {
|
|
597
597
|
return {
|
|
598
598
|
subscribe: Se(e, t).subscribe
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
|
-
function Se(e, t =
|
|
601
|
+
function Se(e, t = M) {
|
|
602
602
|
let r;
|
|
603
603
|
const n = /* @__PURE__ */ new Set();
|
|
604
|
-
function i(
|
|
605
|
-
if (Ct(e,
|
|
606
|
-
const l = !
|
|
604
|
+
function i(o) {
|
|
605
|
+
if (Ct(e, o) && (e = o, r)) {
|
|
606
|
+
const l = !F.length;
|
|
607
607
|
for (const u of n)
|
|
608
|
-
u[1](),
|
|
608
|
+
u[1](), F.push(u, e);
|
|
609
609
|
if (l) {
|
|
610
|
-
for (let u = 0; u <
|
|
611
|
-
|
|
612
|
-
|
|
610
|
+
for (let u = 0; u < F.length; u += 2)
|
|
611
|
+
F[u][0](F[u + 1]);
|
|
612
|
+
F.length = 0;
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function a(
|
|
617
|
-
i(
|
|
616
|
+
function a(o) {
|
|
617
|
+
i(o(e));
|
|
618
618
|
}
|
|
619
|
-
function o
|
|
620
|
-
const u = [
|
|
621
|
-
return n.add(u), n.size === 1 && (r = t(i, a) ||
|
|
619
|
+
function s(o, l = M) {
|
|
620
|
+
const u = [o, l];
|
|
621
|
+
return n.add(u), n.size === 1 && (r = t(i, a) || M), o(e), () => {
|
|
622
622
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
|
-
return { set: i, update: a, subscribe:
|
|
625
|
+
return { set: i, update: a, subscribe: s };
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Q(e, t, r) {
|
|
628
628
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
629
629
|
if (!i.every(Boolean))
|
|
630
630
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
631
631
|
const a = t.length < 2;
|
|
632
|
-
return
|
|
632
|
+
return Gr(r, (s, o) => {
|
|
633
633
|
let l = !1;
|
|
634
634
|
const u = [];
|
|
635
|
-
let h = 0, c =
|
|
635
|
+
let h = 0, c = M;
|
|
636
636
|
const f = () => {
|
|
637
637
|
if (h)
|
|
638
638
|
return;
|
|
639
639
|
c();
|
|
640
|
-
const g = t(n ? u[0] : u,
|
|
641
|
-
a ?
|
|
642
|
-
},
|
|
643
|
-
(g, x) =>
|
|
640
|
+
const g = t(n ? u[0] : u, s, o);
|
|
641
|
+
a ? s(g) : c = Ye(g) ? g : M;
|
|
642
|
+
}, p = i.map(
|
|
643
|
+
(g, x) => Ot(
|
|
644
644
|
g,
|
|
645
645
|
(w) => {
|
|
646
646
|
u[x] = w, h &= ~(1 << x), l && f();
|
|
@@ -651,112 +651,112 @@ function K(e, t, r) {
|
|
|
651
651
|
)
|
|
652
652
|
);
|
|
653
653
|
return l = !0, f(), function() {
|
|
654
|
-
|
|
654
|
+
oe(p), c(), l = !1;
|
|
655
655
|
};
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Fr(e) {
|
|
659
659
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
660
660
|
}
|
|
661
|
-
var
|
|
662
|
-
return
|
|
661
|
+
var zr = function(t) {
|
|
662
|
+
return jr(t) && !Vr(t);
|
|
663
663
|
};
|
|
664
|
-
function
|
|
664
|
+
function jr(e) {
|
|
665
665
|
return !!e && typeof e == "object";
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function Vr(e) {
|
|
668
668
|
var t = Object.prototype.toString.call(e);
|
|
669
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
670
|
-
}
|
|
671
|
-
var Vr = typeof Symbol == "function" && Symbol.for, Wr = Vr ? Symbol.for("react.element") : 60103;
|
|
672
|
-
function Xr(e) {
|
|
673
|
-
return e.$$typeof === Wr;
|
|
669
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
674
670
|
}
|
|
671
|
+
var Wr = typeof Symbol == "function" && Symbol.for, Xr = Wr ? Symbol.for("react.element") : 60103;
|
|
675
672
|
function qr(e) {
|
|
673
|
+
return e.$$typeof === Xr;
|
|
674
|
+
}
|
|
675
|
+
function Jr(e) {
|
|
676
676
|
return Array.isArray(e) ? [] : {};
|
|
677
677
|
}
|
|
678
|
-
function
|
|
679
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
678
|
+
function ae(e, t) {
|
|
679
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Jr(e), e, t) : e;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function Zr(e, t, r) {
|
|
682
682
|
return e.concat(t).map(function(n) {
|
|
683
|
-
return
|
|
683
|
+
return ae(n, r);
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function Yr(e, t) {
|
|
687
687
|
if (!t.customMerge)
|
|
688
|
-
return
|
|
688
|
+
return q;
|
|
689
689
|
var r = t.customMerge(e);
|
|
690
|
-
return typeof r == "function" ? r :
|
|
690
|
+
return typeof r == "function" ? r : q;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function Qr(e) {
|
|
693
693
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
694
694
|
return Object.propertyIsEnumerable.call(e, t);
|
|
695
695
|
}) : [];
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
return Object.keys(e).concat(
|
|
697
|
+
function ot(e) {
|
|
698
|
+
return Object.keys(e).concat(Qr(e));
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Nt(e, t) {
|
|
701
701
|
try {
|
|
702
702
|
return t in e;
|
|
703
703
|
} catch (r) {
|
|
704
704
|
return !1;
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
return
|
|
707
|
+
function Kr(e, t) {
|
|
708
|
+
return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function en(e, t, r) {
|
|
711
711
|
var n = {};
|
|
712
|
-
return r.isMergeableObject(e) &&
|
|
713
|
-
n[i] =
|
|
714
|
-
}),
|
|
715
|
-
|
|
712
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
713
|
+
n[i] = ae(e[i], r);
|
|
714
|
+
}), ot(t).forEach(function(i) {
|
|
715
|
+
Kr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
716
716
|
}), n;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
718
|
+
function q(e, t, r) {
|
|
719
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = ae;
|
|
720
720
|
var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
|
|
721
|
-
return a ? n ? r.arrayMerge(e, t, r) :
|
|
721
|
+
return a ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ae(t, r);
|
|
722
722
|
}
|
|
723
|
-
|
|
723
|
+
q.all = function(t, r) {
|
|
724
724
|
if (!Array.isArray(t))
|
|
725
725
|
throw new Error("first argument should be an array");
|
|
726
726
|
return t.reduce(function(n, i) {
|
|
727
|
-
return
|
|
727
|
+
return q(n, i, r);
|
|
728
728
|
}, {});
|
|
729
729
|
};
|
|
730
|
-
var
|
|
731
|
-
const
|
|
732
|
-
var
|
|
733
|
-
return
|
|
730
|
+
var tn = q, rn = tn;
|
|
731
|
+
const nn = /* @__PURE__ */ Fr(rn);
|
|
732
|
+
var ze = function(e, t) {
|
|
733
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
734
734
|
r.__proto__ = n;
|
|
735
735
|
} || function(r, n) {
|
|
736
736
|
for (var i in n)
|
|
737
737
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
738
|
-
},
|
|
738
|
+
}, ze(e, t);
|
|
739
739
|
};
|
|
740
740
|
function Be(e, t) {
|
|
741
741
|
if (typeof t != "function" && t !== null)
|
|
742
742
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
743
|
-
|
|
743
|
+
ze(e, t);
|
|
744
744
|
function r() {
|
|
745
745
|
this.constructor = e;
|
|
746
746
|
}
|
|
747
747
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
748
748
|
}
|
|
749
|
-
var
|
|
750
|
-
return
|
|
749
|
+
var C = function() {
|
|
750
|
+
return C = Object.assign || function(t) {
|
|
751
751
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
752
752
|
r = arguments[n];
|
|
753
753
|
for (var a in r)
|
|
754
754
|
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
755
755
|
}
|
|
756
756
|
return t;
|
|
757
|
-
},
|
|
757
|
+
}, C.apply(this, arguments);
|
|
758
758
|
};
|
|
759
|
-
function
|
|
759
|
+
function an(e, t) {
|
|
760
760
|
var r = {};
|
|
761
761
|
for (var n in e)
|
|
762
762
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -765,43 +765,43 @@ function nn(e, t) {
|
|
|
765
765
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
766
766
|
return r;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Me(e, t, r) {
|
|
769
769
|
if (r || arguments.length === 2)
|
|
770
770
|
for (var n = 0, i = t.length, a; n < i; n++)
|
|
771
771
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
772
772
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
var r = t && t.cache ? t.cache :
|
|
774
|
+
function Ne(e, t) {
|
|
775
|
+
var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : un;
|
|
776
776
|
return i(e, {
|
|
777
777
|
cache: r,
|
|
778
778
|
serializer: n
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function sn(e) {
|
|
782
782
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
783
783
|
}
|
|
784
784
|
function on(e, t, r, n) {
|
|
785
|
-
var i =
|
|
785
|
+
var i = sn(n) ? n : r(n), a = t.get(i);
|
|
786
786
|
return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Rt(e, t, r) {
|
|
789
789
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
|
|
790
790
|
return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Dt(e, t, r, n, i) {
|
|
793
793
|
return r.bind(t, e, n, i);
|
|
794
794
|
}
|
|
795
|
-
function sn(e, t) {
|
|
796
|
-
var r = e.length === 1 ? on : Dt;
|
|
797
|
-
return $t(e, this, r, t.cache.create(), t.serializer);
|
|
798
|
-
}
|
|
799
795
|
function un(e, t) {
|
|
800
|
-
|
|
796
|
+
var r = e.length === 1 ? on : Rt;
|
|
797
|
+
return Dt(e, this, r, t.cache.create(), t.serializer);
|
|
798
|
+
}
|
|
799
|
+
function ln(e, t) {
|
|
800
|
+
return Dt(e, this, Rt, t.cache.create(), t.serializer);
|
|
801
801
|
}
|
|
802
|
-
var
|
|
802
|
+
var hn = function() {
|
|
803
803
|
return JSON.stringify(arguments);
|
|
804
|
-
},
|
|
804
|
+
}, cn = (
|
|
805
805
|
/** @class */
|
|
806
806
|
function() {
|
|
807
807
|
function e() {
|
|
@@ -813,12 +813,12 @@ var ln = function() {
|
|
|
813
813
|
this.cache[t] = r;
|
|
814
814
|
}, e;
|
|
815
815
|
}()
|
|
816
|
-
),
|
|
816
|
+
), fn = {
|
|
817
817
|
create: function() {
|
|
818
|
-
return new
|
|
818
|
+
return new cn();
|
|
819
819
|
}
|
|
820
|
-
},
|
|
821
|
-
variadic:
|
|
820
|
+
}, Re = {
|
|
821
|
+
variadic: ln
|
|
822
822
|
}, Te = function() {
|
|
823
823
|
return Te = Object.assign || function(t) {
|
|
824
824
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -837,47 +837,47 @@ var _;
|
|
|
837
837
|
(function(e) {
|
|
838
838
|
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";
|
|
839
839
|
})(_ || (_ = {}));
|
|
840
|
-
var
|
|
840
|
+
var J;
|
|
841
841
|
(function(e) {
|
|
842
842
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
843
|
-
})(
|
|
844
|
-
function
|
|
843
|
+
})(J || (J = {}));
|
|
844
|
+
function ut(e) {
|
|
845
845
|
return e.type === _.literal;
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function mn(e) {
|
|
848
848
|
return e.type === _.argument;
|
|
849
849
|
}
|
|
850
850
|
function kt(e) {
|
|
851
851
|
return e.type === _.number;
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function $t(e) {
|
|
854
854
|
return e.type === _.date;
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function Ut(e) {
|
|
857
857
|
return e.type === _.time;
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function Gt(e) {
|
|
860
860
|
return e.type === _.select;
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function Ft(e) {
|
|
863
863
|
return e.type === _.plural;
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function dn(e) {
|
|
866
866
|
return e.type === _.pound;
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function zt(e) {
|
|
869
869
|
return e.type === _.tag;
|
|
870
870
|
}
|
|
871
|
-
function
|
|
872
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
871
|
+
function jt(e) {
|
|
872
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
873
873
|
}
|
|
874
|
-
function
|
|
875
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
874
|
+
function je(e) {
|
|
875
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
878
|
-
function
|
|
877
|
+
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
878
|
+
function gn(e) {
|
|
879
879
|
var t = {};
|
|
880
|
-
return e.replace(
|
|
880
|
+
return e.replace(pn, function(r) {
|
|
881
881
|
var n = r.length;
|
|
882
882
|
switch (r[0]) {
|
|
883
883
|
case "G":
|
|
@@ -976,36 +976,36 @@ var E = function() {
|
|
|
976
976
|
return t;
|
|
977
977
|
}, E.apply(this, arguments);
|
|
978
978
|
};
|
|
979
|
-
var
|
|
980
|
-
function
|
|
979
|
+
var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
980
|
+
function yn(e) {
|
|
981
981
|
if (e.length === 0)
|
|
982
982
|
throw new Error("Number skeleton cannot be empty");
|
|
983
|
-
for (var t = e.split(
|
|
983
|
+
for (var t = e.split(bn).filter(function(f) {
|
|
984
984
|
return f.length > 0;
|
|
985
985
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
986
|
-
var a = i[n],
|
|
987
|
-
if (
|
|
986
|
+
var a = i[n], s = a.split("/");
|
|
987
|
+
if (s.length === 0)
|
|
988
988
|
throw new Error("Invalid number skeleton");
|
|
989
|
-
for (var
|
|
989
|
+
for (var o = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
990
990
|
var c = h[u];
|
|
991
991
|
if (c.length === 0)
|
|
992
992
|
throw new Error("Invalid number skeleton");
|
|
993
993
|
}
|
|
994
|
-
r.push({ stem:
|
|
994
|
+
r.push({ stem: o, options: l });
|
|
995
995
|
}
|
|
996
996
|
return r;
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function vn(e) {
|
|
999
999
|
return e.replace(/^(.*?)-/, "");
|
|
1000
1000
|
}
|
|
1001
|
-
var
|
|
1002
|
-
function
|
|
1001
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
1002
|
+
function ht(e) {
|
|
1003
1003
|
var t = {};
|
|
1004
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1004
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
1005
1005
|
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)), "";
|
|
1006
1006
|
}), t;
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function qt(e) {
|
|
1009
1009
|
switch (e) {
|
|
1010
1010
|
case "sign-auto":
|
|
1011
1011
|
return {
|
|
@@ -1045,7 +1045,7 @@ function Jt(e) {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function En(e) {
|
|
1049
1049
|
var t;
|
|
1050
1050
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1051
1051
|
notation: "engineering"
|
|
@@ -1053,17 +1053,17 @@ function _n(e) {
|
|
|
1053
1053
|
notation: "scientific"
|
|
1054
1054
|
}, e = e.slice(1)), t) {
|
|
1055
1055
|
var r = e.slice(0, 2);
|
|
1056
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1056
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
|
|
1057
1057
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1058
1058
|
t.minimumIntegerDigits = e.length;
|
|
1059
1059
|
}
|
|
1060
1060
|
return t;
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1063
|
-
var t = {}, r =
|
|
1062
|
+
function ct(e) {
|
|
1063
|
+
var t = {}, r = qt(e);
|
|
1064
1064
|
return r || t;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function xn(e) {
|
|
1067
1067
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1068
1068
|
var i = n[r];
|
|
1069
1069
|
switch (i.stem) {
|
|
@@ -1087,7 +1087,7 @@ function En(e) {
|
|
|
1087
1087
|
continue;
|
|
1088
1088
|
case "measure-unit":
|
|
1089
1089
|
case "unit":
|
|
1090
|
-
t.style = "unit", t.unit =
|
|
1090
|
+
t.style = "unit", t.unit = vn(i.options[0]);
|
|
1091
1091
|
continue;
|
|
1092
1092
|
case "compact-short":
|
|
1093
1093
|
case "K":
|
|
@@ -1099,12 +1099,12 @@ function En(e) {
|
|
|
1099
1099
|
continue;
|
|
1100
1100
|
case "scientific":
|
|
1101
1101
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1102
|
-
return E(E({}, l),
|
|
1102
|
+
return E(E({}, l), ct(u));
|
|
1103
1103
|
}, {}));
|
|
1104
1104
|
continue;
|
|
1105
1105
|
case "engineering":
|
|
1106
1106
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1107
|
-
return E(E({}, l),
|
|
1107
|
+
return E(E({}, l), ct(u));
|
|
1108
1108
|
}, {}));
|
|
1109
1109
|
continue;
|
|
1110
1110
|
case "notation-simple":
|
|
@@ -1149,41 +1149,41 @@ function En(e) {
|
|
|
1149
1149
|
case "integer-width":
|
|
1150
1150
|
if (i.options.length > 1)
|
|
1151
1151
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1152
|
-
i.options[0].replace(
|
|
1152
|
+
i.options[0].replace(_n, function(l, u, h, c, f, p) {
|
|
1153
1153
|
if (u)
|
|
1154
1154
|
t.minimumIntegerDigits = h.length;
|
|
1155
1155
|
else {
|
|
1156
1156
|
if (c && f)
|
|
1157
1157
|
throw new Error("We currently do not support maximum integer digits");
|
|
1158
|
-
if (
|
|
1158
|
+
if (p)
|
|
1159
1159
|
throw new Error("We currently do not support exact integer digits");
|
|
1160
1160
|
}
|
|
1161
1161
|
return "";
|
|
1162
1162
|
});
|
|
1163
1163
|
continue;
|
|
1164
1164
|
}
|
|
1165
|
-
if (
|
|
1165
|
+
if (Xt.test(i.stem)) {
|
|
1166
1166
|
t.minimumIntegerDigits = i.stem.length;
|
|
1167
1167
|
continue;
|
|
1168
1168
|
}
|
|
1169
|
-
if (
|
|
1169
|
+
if (lt.test(i.stem)) {
|
|
1170
1170
|
if (i.options.length > 1)
|
|
1171
1171
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1172
|
-
i.stem.replace(
|
|
1173
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1172
|
+
i.stem.replace(lt, function(l, u, h, c, f, p) {
|
|
1173
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1174
1174
|
});
|
|
1175
1175
|
var a = i.options[0];
|
|
1176
|
-
a === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = E(E({}, t),
|
|
1176
|
+
a === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = E(E({}, t), ht(a)));
|
|
1177
1177
|
continue;
|
|
1178
1178
|
}
|
|
1179
|
-
if (
|
|
1180
|
-
t = E(E({}, t),
|
|
1179
|
+
if (Wt.test(i.stem)) {
|
|
1180
|
+
t = E(E({}, t), ht(i.stem));
|
|
1181
1181
|
continue;
|
|
1182
1182
|
}
|
|
1183
|
-
var
|
|
1184
|
-
o && (t = E(E({}, t), o));
|
|
1185
|
-
var s = _n(i.stem);
|
|
1183
|
+
var s = qt(i.stem);
|
|
1186
1184
|
s && (t = E(E({}, t), s));
|
|
1185
|
+
var o = En(i.stem);
|
|
1186
|
+
o && (t = E(E({}, t), o));
|
|
1187
1187
|
}
|
|
1188
1188
|
return t;
|
|
1189
1189
|
}
|
|
@@ -2602,23 +2602,23 @@ var ye = {
|
|
|
2602
2602
|
"h"
|
|
2603
2603
|
]
|
|
2604
2604
|
};
|
|
2605
|
-
function
|
|
2605
|
+
function Tn(e, t) {
|
|
2606
2606
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2607
2607
|
var i = e.charAt(n);
|
|
2608
2608
|
if (i === "j") {
|
|
2609
2609
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2610
2610
|
a++, n++;
|
|
2611
|
-
var
|
|
2612
|
-
for ((u == "H" || u == "k") && (
|
|
2611
|
+
var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = wn(t);
|
|
2612
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2613
2613
|
r += l;
|
|
2614
|
-
for (;
|
|
2614
|
+
for (; s-- > 0; )
|
|
2615
2615
|
r = u + r;
|
|
2616
2616
|
} else
|
|
2617
2617
|
i === "J" ? r += "H" : r += i;
|
|
2618
2618
|
}
|
|
2619
2619
|
return r;
|
|
2620
2620
|
}
|
|
2621
|
-
function
|
|
2621
|
+
function wn(e) {
|
|
2622
2622
|
var t = e.hourCycle;
|
|
2623
2623
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2624
2624
|
e.hourCycles && // @ts-ignore
|
|
@@ -2640,20 +2640,20 @@ function Tn(e) {
|
|
|
2640
2640
|
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
|
2641
2641
|
return i[0];
|
|
2642
2642
|
}
|
|
2643
|
-
var
|
|
2643
|
+
var De, Hn = new RegExp("^".concat(Vt.source, "*")), An = new RegExp("".concat(Vt.source, "*$"));
|
|
2644
2644
|
function y(e, t) {
|
|
2645
2645
|
return { start: e, end: t };
|
|
2646
2646
|
}
|
|
2647
|
-
var
|
|
2647
|
+
var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Pn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Mn = In ? Number.isSafeInteger : function(e) {
|
|
2648
2648
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2649
|
-
},
|
|
2649
|
+
}, Ve = !0;
|
|
2650
2650
|
try {
|
|
2651
|
-
var
|
|
2652
|
-
|
|
2651
|
+
var Nn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2652
|
+
Ve = ((De = Nn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
2653
2653
|
} catch (e) {
|
|
2654
|
-
|
|
2654
|
+
Ve = !1;
|
|
2655
2655
|
}
|
|
2656
|
-
var
|
|
2656
|
+
var ft = Sn ? (
|
|
2657
2657
|
// Native
|
|
2658
2658
|
function(t, r, n) {
|
|
2659
2659
|
return t.startsWith(r, n);
|
|
@@ -2663,31 +2663,31 @@ var mt = An ? (
|
|
|
2663
2663
|
function(t, r, n) {
|
|
2664
2664
|
return t.slice(n, n + r.length) === r;
|
|
2665
2665
|
}
|
|
2666
|
-
),
|
|
2666
|
+
), We = Bn ? String.fromCodePoint : (
|
|
2667
2667
|
// IE11
|
|
2668
2668
|
function() {
|
|
2669
2669
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2670
2670
|
t[r] = arguments[r];
|
|
2671
|
-
for (var n = "", i = t.length, a = 0,
|
|
2672
|
-
if (
|
|
2673
|
-
throw RangeError(
|
|
2674
|
-
n +=
|
|
2671
|
+
for (var n = "", i = t.length, a = 0, s; i > a; ) {
|
|
2672
|
+
if (s = t[a++], s > 1114111)
|
|
2673
|
+
throw RangeError(s + " is not a valid code point");
|
|
2674
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2675
2675
|
}
|
|
2676
2676
|
return n;
|
|
2677
2677
|
}
|
|
2678
|
-
),
|
|
2678
|
+
), mt = (
|
|
2679
2679
|
// native
|
|
2680
|
-
|
|
2680
|
+
Pn ? Object.fromEntries : (
|
|
2681
2681
|
// Ponyfill
|
|
2682
2682
|
function(t) {
|
|
2683
2683
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2684
|
-
var a = i[n],
|
|
2685
|
-
r[
|
|
2684
|
+
var a = i[n], s = a[0], o = a[1];
|
|
2685
|
+
r[s] = o;
|
|
2686
2686
|
}
|
|
2687
2687
|
return r;
|
|
2688
2688
|
}
|
|
2689
2689
|
)
|
|
2690
|
-
),
|
|
2690
|
+
), Jt = Ln ? (
|
|
2691
2691
|
// Native
|
|
2692
2692
|
function(t, r) {
|
|
2693
2693
|
return t.codePointAt(r);
|
|
@@ -2701,7 +2701,7 @@ var mt = An ? (
|
|
|
2701
2701
|
return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
|
-
),
|
|
2704
|
+
), Rn = Cn ? (
|
|
2705
2705
|
// Native
|
|
2706
2706
|
function(t) {
|
|
2707
2707
|
return t.trimStart();
|
|
@@ -2709,9 +2709,9 @@ var mt = An ? (
|
|
|
2709
2709
|
) : (
|
|
2710
2710
|
// Ponyfill
|
|
2711
2711
|
function(t) {
|
|
2712
|
-
return t.replace(
|
|
2712
|
+
return t.replace(Hn, "");
|
|
2713
2713
|
}
|
|
2714
|
-
),
|
|
2714
|
+
), Dn = On ? (
|
|
2715
2715
|
// Native
|
|
2716
2716
|
function(t) {
|
|
2717
2717
|
return t.trimEnd();
|
|
@@ -2719,32 +2719,32 @@ var mt = An ? (
|
|
|
2719
2719
|
) : (
|
|
2720
2720
|
// Ponyfill
|
|
2721
2721
|
function(t) {
|
|
2722
|
-
return t.replace(
|
|
2722
|
+
return t.replace(An, "");
|
|
2723
2723
|
}
|
|
2724
2724
|
);
|
|
2725
|
-
function
|
|
2725
|
+
function Zt(e, t) {
|
|
2726
2726
|
return new RegExp(e, t);
|
|
2727
2727
|
}
|
|
2728
|
-
var
|
|
2729
|
-
if (
|
|
2730
|
-
var
|
|
2731
|
-
|
|
2728
|
+
var Xe;
|
|
2729
|
+
if (Ve) {
|
|
2730
|
+
var dt = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2731
|
+
Xe = function(t, r) {
|
|
2732
2732
|
var n;
|
|
2733
|
-
|
|
2734
|
-
var i =
|
|
2733
|
+
dt.lastIndex = r;
|
|
2734
|
+
var i = dt.exec(t);
|
|
2735
2735
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2736
2736
|
};
|
|
2737
2737
|
} else
|
|
2738
|
-
|
|
2738
|
+
Xe = function(t, r) {
|
|
2739
2739
|
for (var n = []; ; ) {
|
|
2740
|
-
var i =
|
|
2741
|
-
if (i === void 0 ||
|
|
2740
|
+
var i = Jt(t, r);
|
|
2741
|
+
if (i === void 0 || Yt(i) || Gn(i))
|
|
2742
2742
|
break;
|
|
2743
2743
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2744
2744
|
}
|
|
2745
|
-
return
|
|
2745
|
+
return We.apply(void 0, n);
|
|
2746
2746
|
};
|
|
2747
|
-
var
|
|
2747
|
+
var kn = (
|
|
2748
2748
|
/** @class */
|
|
2749
2749
|
function() {
|
|
2750
2750
|
function e(t, r) {
|
|
@@ -2758,33 +2758,33 @@ var Dn = (
|
|
|
2758
2758
|
for (var i = []; !this.isEOF(); ) {
|
|
2759
2759
|
var a = this.char();
|
|
2760
2760
|
if (a === 123) {
|
|
2761
|
-
var
|
|
2762
|
-
if (
|
|
2763
|
-
return
|
|
2764
|
-
i.push(
|
|
2761
|
+
var s = this.parseArgument(t, n);
|
|
2762
|
+
if (s.err)
|
|
2763
|
+
return s;
|
|
2764
|
+
i.push(s.val);
|
|
2765
2765
|
} else {
|
|
2766
2766
|
if (a === 125 && t > 0)
|
|
2767
2767
|
break;
|
|
2768
2768
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2769
|
-
var
|
|
2769
|
+
var o = this.clonePosition();
|
|
2770
2770
|
this.bump(), i.push({
|
|
2771
2771
|
type: _.pound,
|
|
2772
|
-
location: y(
|
|
2772
|
+
location: y(o, this.clonePosition())
|
|
2773
2773
|
});
|
|
2774
2774
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2775
2775
|
if (n)
|
|
2776
2776
|
break;
|
|
2777
2777
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2778
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
2779
|
-
var
|
|
2780
|
-
if (
|
|
2781
|
-
return
|
|
2782
|
-
i.push(
|
|
2778
|
+
} else if (a === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
2779
|
+
var s = this.parseTag(t, r);
|
|
2780
|
+
if (s.err)
|
|
2781
|
+
return s;
|
|
2782
|
+
i.push(s.val);
|
|
2783
2783
|
} else {
|
|
2784
|
-
var
|
|
2785
|
-
if (
|
|
2786
|
-
return
|
|
2787
|
-
i.push(
|
|
2784
|
+
var s = this.parseLiteral(t, r);
|
|
2785
|
+
if (s.err)
|
|
2786
|
+
return s;
|
|
2787
|
+
i.push(s.val);
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
@@ -2806,27 +2806,27 @@ var Dn = (
|
|
|
2806
2806
|
var a = this.parseMessage(t + 1, r, !0);
|
|
2807
2807
|
if (a.err)
|
|
2808
2808
|
return a;
|
|
2809
|
-
var
|
|
2809
|
+
var s = a.val, o = this.clonePosition();
|
|
2810
2810
|
if (this.bumpIf("</")) {
|
|
2811
|
-
if (this.isEOF() || !
|
|
2812
|
-
return this.error(b.INVALID_TAG, y(
|
|
2811
|
+
if (this.isEOF() || !qe(this.char()))
|
|
2812
|
+
return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
|
|
2813
2813
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2814
2814
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2815
2815
|
val: {
|
|
2816
2816
|
type: _.tag,
|
|
2817
2817
|
value: i,
|
|
2818
|
-
children:
|
|
2818
|
+
children: s,
|
|
2819
2819
|
location: y(n, this.clonePosition())
|
|
2820
2820
|
},
|
|
2821
2821
|
err: null
|
|
2822
|
-
} : this.error(b.INVALID_TAG, y(
|
|
2822
|
+
} : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
|
|
2823
2823
|
} else
|
|
2824
2824
|
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
2825
2825
|
} else
|
|
2826
2826
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
2827
2827
|
}, e.prototype.parseTagName = function() {
|
|
2828
2828
|
var t = this.offset();
|
|
2829
|
-
for (this.bump(); !this.isEOF() &&
|
|
2829
|
+
for (this.bump(); !this.isEOF() && Un(this.char()); )
|
|
2830
2830
|
this.bump();
|
|
2831
2831
|
return this.message.slice(t, this.offset());
|
|
2832
2832
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2836,16 +2836,16 @@ var Dn = (
|
|
|
2836
2836
|
i += a;
|
|
2837
2837
|
continue;
|
|
2838
2838
|
}
|
|
2839
|
-
var
|
|
2840
|
-
if (o) {
|
|
2841
|
-
i += o;
|
|
2842
|
-
continue;
|
|
2843
|
-
}
|
|
2844
|
-
var s = this.tryParseLeftAngleBracket();
|
|
2839
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2845
2840
|
if (s) {
|
|
2846
2841
|
i += s;
|
|
2847
2842
|
continue;
|
|
2848
2843
|
}
|
|
2844
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2845
|
+
if (o) {
|
|
2846
|
+
i += o;
|
|
2847
|
+
continue;
|
|
2848
|
+
}
|
|
2849
2849
|
break;
|
|
2850
2850
|
}
|
|
2851
2851
|
var l = y(n, this.clonePosition());
|
|
@@ -2889,12 +2889,12 @@ var Dn = (
|
|
|
2889
2889
|
r.push(n);
|
|
2890
2890
|
this.bump();
|
|
2891
2891
|
}
|
|
2892
|
-
return
|
|
2892
|
+
return We.apply(void 0, r);
|
|
2893
2893
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2894
2894
|
if (this.isEOF())
|
|
2895
2895
|
return null;
|
|
2896
2896
|
var n = this.char();
|
|
2897
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2897
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
|
2898
2898
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2899
2899
|
var n = this.clonePosition();
|
|
2900
2900
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2923,15 +2923,15 @@ var Dn = (
|
|
|
2923
2923
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
2924
2924
|
}
|
|
2925
2925
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2926
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2926
|
+
var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
|
|
2927
2927
|
this.bumpTo(i);
|
|
2928
|
-
var a = this.clonePosition(),
|
|
2929
|
-
return { value: n, location:
|
|
2928
|
+
var a = this.clonePosition(), s = y(t, a);
|
|
2929
|
+
return { value: n, location: s };
|
|
2930
2930
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2931
|
-
var a,
|
|
2932
|
-
switch (
|
|
2931
|
+
var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2932
|
+
switch (o) {
|
|
2933
2933
|
case "":
|
|
2934
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(
|
|
2934
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, l));
|
|
2935
2935
|
case "number":
|
|
2936
2936
|
case "date":
|
|
2937
2937
|
case "time": {
|
|
@@ -2942,19 +2942,19 @@ var Dn = (
|
|
|
2942
2942
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2943
2943
|
if (c.err)
|
|
2944
2944
|
return c;
|
|
2945
|
-
var f =
|
|
2945
|
+
var f = Dn(c.val);
|
|
2946
2946
|
if (f.length === 0)
|
|
2947
2947
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
2948
|
-
var
|
|
2949
|
-
u = { style: f, styleLocation:
|
|
2948
|
+
var p = y(h, this.clonePosition());
|
|
2949
|
+
u = { style: f, styleLocation: p };
|
|
2950
2950
|
}
|
|
2951
2951
|
var g = this.tryParseArgumentClose(i);
|
|
2952
2952
|
if (g.err)
|
|
2953
2953
|
return g;
|
|
2954
2954
|
var x = y(i, this.clonePosition());
|
|
2955
|
-
if (u &&
|
|
2956
|
-
var w =
|
|
2957
|
-
if (
|
|
2955
|
+
if (u && ft(u == null ? void 0 : u.style, "::", 0)) {
|
|
2956
|
+
var w = Rn(u.style.slice(2));
|
|
2957
|
+
if (o === "number") {
|
|
2958
2958
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2959
2959
|
return c.err ? c : {
|
|
2960
2960
|
val: { type: _.number, value: n, location: x, style: c.val },
|
|
@@ -2964,13 +2964,13 @@ var Dn = (
|
|
|
2964
2964
|
if (w.length === 0)
|
|
2965
2965
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
|
|
2966
2966
|
var T = w;
|
|
2967
|
-
this.locale && (T =
|
|
2967
|
+
this.locale && (T = Tn(w, this.locale));
|
|
2968
2968
|
var f = {
|
|
2969
|
-
type:
|
|
2969
|
+
type: J.dateTime,
|
|
2970
2970
|
pattern: T,
|
|
2971
2971
|
location: u.styleLocation,
|
|
2972
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2973
|
-
}, m =
|
|
2972
|
+
parsedOptions: this.shouldParseSkeletons ? gn(T) : {}
|
|
2973
|
+
}, m = o === "date" ? _.date : _.time;
|
|
2974
2974
|
return {
|
|
2975
2975
|
val: { type: m, value: n, location: x, style: f },
|
|
2976
2976
|
err: null
|
|
@@ -2979,7 +2979,7 @@ var Dn = (
|
|
|
2979
2979
|
}
|
|
2980
2980
|
return {
|
|
2981
2981
|
val: {
|
|
2982
|
-
type:
|
|
2982
|
+
type: o === "number" ? _.number : o === "date" ? _.date : _.time,
|
|
2983
2983
|
value: n,
|
|
2984
2984
|
location: x,
|
|
2985
2985
|
style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
|
|
@@ -2994,45 +2994,45 @@ var Dn = (
|
|
|
2994
2994
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2995
2995
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(v, Te({}, v)));
|
|
2996
2996
|
this.bumpSpace();
|
|
2997
|
-
var
|
|
2998
|
-
if (
|
|
2997
|
+
var R = this.parseIdentifierIfPossible(), O = 0;
|
|
2998
|
+
if (o !== "select" && R.value === "offset") {
|
|
2999
2999
|
if (!this.bumpIf(":"))
|
|
3000
3000
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3001
3001
|
this.bumpSpace();
|
|
3002
3002
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3003
3003
|
if (c.err)
|
|
3004
3004
|
return c;
|
|
3005
|
-
this.bumpSpace(),
|
|
3005
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = c.val;
|
|
3006
3006
|
}
|
|
3007
|
-
var
|
|
3008
|
-
if (
|
|
3009
|
-
return
|
|
3007
|
+
var d = this.tryParsePluralOrSelectOptions(t, o, r, R);
|
|
3008
|
+
if (d.err)
|
|
3009
|
+
return d;
|
|
3010
3010
|
var g = this.tryParseArgumentClose(i);
|
|
3011
3011
|
if (g.err)
|
|
3012
3012
|
return g;
|
|
3013
|
-
var
|
|
3014
|
-
return
|
|
3013
|
+
var he = y(i, this.clonePosition());
|
|
3014
|
+
return o === "select" ? {
|
|
3015
3015
|
val: {
|
|
3016
3016
|
type: _.select,
|
|
3017
3017
|
value: n,
|
|
3018
|
-
options:
|
|
3019
|
-
location:
|
|
3018
|
+
options: mt(d.val),
|
|
3019
|
+
location: he
|
|
3020
3020
|
},
|
|
3021
3021
|
err: null
|
|
3022
3022
|
} : {
|
|
3023
3023
|
val: {
|
|
3024
3024
|
type: _.plural,
|
|
3025
3025
|
value: n,
|
|
3026
|
-
options:
|
|
3027
|
-
offset:
|
|
3028
|
-
pluralType:
|
|
3029
|
-
location:
|
|
3026
|
+
options: mt(d.val),
|
|
3027
|
+
offset: O,
|
|
3028
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3029
|
+
location: he
|
|
3030
3030
|
},
|
|
3031
3031
|
err: null
|
|
3032
3032
|
};
|
|
3033
3033
|
}
|
|
3034
3034
|
default:
|
|
3035
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(
|
|
3035
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(s, l));
|
|
3036
3036
|
}
|
|
3037
3037
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3038
3038
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3074,21 +3074,21 @@ var Dn = (
|
|
|
3074
3074
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3075
3075
|
var n = [];
|
|
3076
3076
|
try {
|
|
3077
|
-
n =
|
|
3077
|
+
n = yn(t);
|
|
3078
3078
|
} catch (i) {
|
|
3079
3079
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3080
3080
|
}
|
|
3081
3081
|
return {
|
|
3082
3082
|
val: {
|
|
3083
|
-
type:
|
|
3083
|
+
type: J.number,
|
|
3084
3084
|
tokens: n,
|
|
3085
3085
|
location: r,
|
|
3086
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3086
|
+
parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
|
|
3087
3087
|
},
|
|
3088
3088
|
err: null
|
|
3089
3089
|
};
|
|
3090
3090
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3091
|
-
for (var a,
|
|
3091
|
+
for (var a, s = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3092
3092
|
if (u.length === 0) {
|
|
3093
3093
|
var c = this.clonePosition();
|
|
3094
3094
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3101,37 +3101,37 @@ var Dn = (
|
|
|
3101
3101
|
}
|
|
3102
3102
|
if (l.has(u))
|
|
3103
3103
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3104
|
-
u === "other" && (
|
|
3105
|
-
var
|
|
3104
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3105
|
+
var p = this.clonePosition();
|
|
3106
3106
|
if (!this.bumpIf("{"))
|
|
3107
3107
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3108
3108
|
var g = this.parseMessage(t + 1, r, n);
|
|
3109
3109
|
if (g.err)
|
|
3110
3110
|
return g;
|
|
3111
|
-
var x = this.tryParseArgumentClose(
|
|
3111
|
+
var x = this.tryParseArgumentClose(p);
|
|
3112
3112
|
if (x.err)
|
|
3113
3113
|
return x;
|
|
3114
|
-
|
|
3114
|
+
o.push([
|
|
3115
3115
|
u,
|
|
3116
3116
|
{
|
|
3117
3117
|
value: g.val,
|
|
3118
|
-
location: y(
|
|
3118
|
+
location: y(p, this.clonePosition())
|
|
3119
3119
|
}
|
|
3120
3120
|
]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, h = a.location;
|
|
3121
3121
|
}
|
|
3122
|
-
return
|
|
3122
|
+
return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3123
3123
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3124
3124
|
var n = 1, i = this.clonePosition();
|
|
3125
3125
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3126
|
-
for (var a = !1,
|
|
3127
|
-
var
|
|
3128
|
-
if (
|
|
3129
|
-
a = !0,
|
|
3126
|
+
for (var a = !1, s = 0; !this.isEOF(); ) {
|
|
3127
|
+
var o = this.char();
|
|
3128
|
+
if (o >= 48 && o <= 57)
|
|
3129
|
+
a = !0, s = s * 10 + (o - 48), this.bump();
|
|
3130
3130
|
else
|
|
3131
3131
|
break;
|
|
3132
3132
|
}
|
|
3133
3133
|
var l = y(i, this.clonePosition());
|
|
3134
|
-
return a ? (
|
|
3134
|
+
return a ? (s *= n, Mn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3135
3135
|
}, e.prototype.offset = function() {
|
|
3136
3136
|
return this.position.offset;
|
|
3137
3137
|
}, e.prototype.isEOF = function() {
|
|
@@ -3146,7 +3146,7 @@ var Dn = (
|
|
|
3146
3146
|
var t = this.position.offset;
|
|
3147
3147
|
if (t >= this.message.length)
|
|
3148
3148
|
throw Error("out of bound");
|
|
3149
|
-
var r =
|
|
3149
|
+
var r = Jt(this.message, t);
|
|
3150
3150
|
if (r === void 0)
|
|
3151
3151
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3152
3152
|
return r;
|
|
@@ -3165,7 +3165,7 @@ var Dn = (
|
|
|
3165
3165
|
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);
|
|
3166
3166
|
}
|
|
3167
3167
|
}, e.prototype.bumpIf = function(t) {
|
|
3168
|
-
if (
|
|
3168
|
+
if (ft(this.message, t, this.offset())) {
|
|
3169
3169
|
for (var r = 0; r < t.length; r++)
|
|
3170
3170
|
this.bump();
|
|
3171
3171
|
return !0;
|
|
@@ -3187,7 +3187,7 @@ var Dn = (
|
|
|
3187
3187
|
break;
|
|
3188
3188
|
}
|
|
3189
3189
|
}, e.prototype.bumpSpace = function() {
|
|
3190
|
-
for (; !this.isEOF() &&
|
|
3190
|
+
for (; !this.isEOF() && Yt(this.char()); )
|
|
3191
3191
|
this.bump();
|
|
3192
3192
|
}, e.prototype.peek = function() {
|
|
3193
3193
|
if (this.isEOF())
|
|
@@ -3197,44 +3197,44 @@ var Dn = (
|
|
|
3197
3197
|
}, e;
|
|
3198
3198
|
}()
|
|
3199
3199
|
);
|
|
3200
|
-
function
|
|
3200
|
+
function qe(e) {
|
|
3201
3201
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3202
3202
|
}
|
|
3203
3203
|
function $n(e) {
|
|
3204
|
-
return
|
|
3204
|
+
return qe(e) || e === 47;
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3206
|
+
function Un(e) {
|
|
3207
3207
|
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;
|
|
3208
3208
|
}
|
|
3209
|
-
function
|
|
3209
|
+
function Yt(e) {
|
|
3210
3210
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3211
3211
|
}
|
|
3212
|
-
function
|
|
3212
|
+
function Gn(e) {
|
|
3213
3213
|
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;
|
|
3214
3214
|
}
|
|
3215
|
-
function
|
|
3215
|
+
function Je(e) {
|
|
3216
3216
|
e.forEach(function(t) {
|
|
3217
|
-
if (delete t.location,
|
|
3217
|
+
if (delete t.location, Gt(t) || Ft(t))
|
|
3218
3218
|
for (var r in t.options)
|
|
3219
|
-
delete t.options[r].location,
|
|
3219
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3220
3220
|
else
|
|
3221
|
-
kt(t) &&
|
|
3221
|
+
kt(t) && jt(t.style) || ($t(t) || Ut(t)) && je(t.style) ? delete t.style.location : zt(t) && Je(t.children);
|
|
3222
3222
|
});
|
|
3223
3223
|
}
|
|
3224
|
-
function
|
|
3224
|
+
function Fn(e, t) {
|
|
3225
3225
|
t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3226
|
-
var r = new
|
|
3226
|
+
var r = new kn(e, t).parse();
|
|
3227
3227
|
if (r.err) {
|
|
3228
3228
|
var n = SyntaxError(b[r.err.kind]);
|
|
3229
3229
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3230
3230
|
}
|
|
3231
|
-
return t != null && t.captureLocation ||
|
|
3231
|
+
return t != null && t.captureLocation || Je(r.val), r.val;
|
|
3232
3232
|
}
|
|
3233
|
-
var
|
|
3233
|
+
var Z;
|
|
3234
3234
|
(function(e) {
|
|
3235
3235
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3236
|
-
})(
|
|
3237
|
-
var
|
|
3236
|
+
})(Z || (Z = {}));
|
|
3237
|
+
var Pe = (
|
|
3238
3238
|
/** @class */
|
|
3239
3239
|
function(e) {
|
|
3240
3240
|
Be(t, e);
|
|
@@ -3246,65 +3246,65 @@ var Le = (
|
|
|
3246
3246
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3247
3247
|
}, t;
|
|
3248
3248
|
}(Error)
|
|
3249
|
-
),
|
|
3249
|
+
), pt = (
|
|
3250
3250
|
/** @class */
|
|
3251
3251
|
function(e) {
|
|
3252
3252
|
Be(t, e);
|
|
3253
3253
|
function t(r, n, i, a) {
|
|
3254
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3254
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, a) || this;
|
|
3255
3255
|
}
|
|
3256
3256
|
return t;
|
|
3257
|
-
}(
|
|
3258
|
-
),
|
|
3257
|
+
}(Pe)
|
|
3258
|
+
), zn = (
|
|
3259
3259
|
/** @class */
|
|
3260
3260
|
function(e) {
|
|
3261
3261
|
Be(t, e);
|
|
3262
3262
|
function t(r, n, i) {
|
|
3263
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3263
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
|
|
3264
3264
|
}
|
|
3265
3265
|
return t;
|
|
3266
|
-
}(
|
|
3267
|
-
),
|
|
3266
|
+
}(Pe)
|
|
3267
|
+
), jn = (
|
|
3268
3268
|
/** @class */
|
|
3269
3269
|
function(e) {
|
|
3270
3270
|
Be(t, e);
|
|
3271
3271
|
function t(r, n) {
|
|
3272
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3272
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
|
|
3273
3273
|
}
|
|
3274
3274
|
return t;
|
|
3275
|
-
}(
|
|
3275
|
+
}(Pe)
|
|
3276
3276
|
), H;
|
|
3277
3277
|
(function(e) {
|
|
3278
3278
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3279
3279
|
})(H || (H = {}));
|
|
3280
|
-
function
|
|
3280
|
+
function Vn(e) {
|
|
3281
3281
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3282
3282
|
var n = t[t.length - 1];
|
|
3283
3283
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3284
3284
|
}, []);
|
|
3285
3285
|
}
|
|
3286
|
-
function
|
|
3286
|
+
function Wn(e) {
|
|
3287
3287
|
return typeof e == "function";
|
|
3288
3288
|
}
|
|
3289
|
-
function Ee(e, t, r, n, i, a,
|
|
3290
|
-
if (e.length === 1 &&
|
|
3289
|
+
function Ee(e, t, r, n, i, a, s) {
|
|
3290
|
+
if (e.length === 1 && ut(e[0]))
|
|
3291
3291
|
return [
|
|
3292
3292
|
{
|
|
3293
3293
|
type: H.literal,
|
|
3294
3294
|
value: e[0].value
|
|
3295
3295
|
}
|
|
3296
3296
|
];
|
|
3297
|
-
for (var
|
|
3297
|
+
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3298
3298
|
var h = u[l];
|
|
3299
|
-
if (
|
|
3300
|
-
|
|
3299
|
+
if (ut(h)) {
|
|
3300
|
+
o.push({
|
|
3301
3301
|
type: H.literal,
|
|
3302
3302
|
value: h.value
|
|
3303
3303
|
});
|
|
3304
3304
|
continue;
|
|
3305
3305
|
}
|
|
3306
|
-
if (
|
|
3307
|
-
typeof a == "number" &&
|
|
3306
|
+
if (dn(h)) {
|
|
3307
|
+
typeof a == "number" && o.push({
|
|
3308
3308
|
type: H.literal,
|
|
3309
3309
|
value: r.getNumberFormat(t).format(a)
|
|
3310
3310
|
});
|
|
@@ -3312,89 +3312,89 @@ function Ee(e, t, r, n, i, a, o) {
|
|
|
3312
3312
|
}
|
|
3313
3313
|
var c = h.value;
|
|
3314
3314
|
if (!(i && c in i))
|
|
3315
|
-
throw new
|
|
3315
|
+
throw new jn(c, s);
|
|
3316
3316
|
var f = i[c];
|
|
3317
|
-
if (
|
|
3318
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3317
|
+
if (mn(h)) {
|
|
3318
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3319
3319
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3320
3320
|
value: f
|
|
3321
3321
|
});
|
|
3322
3322
|
continue;
|
|
3323
3323
|
}
|
|
3324
|
-
if (
|
|
3325
|
-
var
|
|
3326
|
-
|
|
3324
|
+
if ($t(h)) {
|
|
3325
|
+
var p = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
|
|
3326
|
+
o.push({
|
|
3327
3327
|
type: H.literal,
|
|
3328
|
-
value: r.getDateTimeFormat(t,
|
|
3328
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3329
3329
|
});
|
|
3330
3330
|
continue;
|
|
3331
3331
|
}
|
|
3332
|
-
if (
|
|
3333
|
-
var
|
|
3334
|
-
|
|
3332
|
+
if (Ut(h)) {
|
|
3333
|
+
var p = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3334
|
+
o.push({
|
|
3335
3335
|
type: H.literal,
|
|
3336
|
-
value: r.getDateTimeFormat(t,
|
|
3336
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3337
3337
|
});
|
|
3338
3338
|
continue;
|
|
3339
3339
|
}
|
|
3340
3340
|
if (kt(h)) {
|
|
3341
|
-
var
|
|
3342
|
-
|
|
3341
|
+
var p = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
|
|
3342
|
+
p && p.scale && (f = f * (p.scale || 1)), o.push({
|
|
3343
3343
|
type: H.literal,
|
|
3344
|
-
value: r.getNumberFormat(t,
|
|
3344
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3345
3345
|
});
|
|
3346
3346
|
continue;
|
|
3347
3347
|
}
|
|
3348
|
-
if (
|
|
3348
|
+
if (zt(h)) {
|
|
3349
3349
|
var g = h.children, x = h.value, w = i[x];
|
|
3350
|
-
if (!
|
|
3351
|
-
throw new
|
|
3352
|
-
var T = Ee(g, t, r, n, i, a), m = w(T.map(function(
|
|
3353
|
-
return
|
|
3350
|
+
if (!Wn(w))
|
|
3351
|
+
throw new zn(x, "function", s);
|
|
3352
|
+
var T = Ee(g, t, r, n, i, a), m = w(T.map(function(O) {
|
|
3353
|
+
return O.value;
|
|
3354
3354
|
}));
|
|
3355
|
-
Array.isArray(m) || (m = [m]),
|
|
3355
|
+
Array.isArray(m) || (m = [m]), o.push.apply(o, m.map(function(O) {
|
|
3356
3356
|
return {
|
|
3357
|
-
type: typeof
|
|
3358
|
-
value:
|
|
3357
|
+
type: typeof O == "string" ? H.literal : H.object,
|
|
3358
|
+
value: O
|
|
3359
3359
|
};
|
|
3360
3360
|
}));
|
|
3361
3361
|
}
|
|
3362
|
-
if (
|
|
3362
|
+
if (Gt(h)) {
|
|
3363
3363
|
var v = h.options[f] || h.options.other;
|
|
3364
3364
|
if (!v)
|
|
3365
|
-
throw new
|
|
3366
|
-
|
|
3365
|
+
throw new pt(h.value, f, Object.keys(h.options), s);
|
|
3366
|
+
o.push.apply(o, Ee(v.value, t, r, n, i));
|
|
3367
3367
|
continue;
|
|
3368
3368
|
}
|
|
3369
|
-
if (
|
|
3369
|
+
if (Ft(h)) {
|
|
3370
3370
|
var v = h.options["=".concat(f)];
|
|
3371
3371
|
if (!v) {
|
|
3372
3372
|
if (!Intl.PluralRules)
|
|
3373
|
-
throw new
|
|
3373
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3374
3374
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3375
|
-
`,
|
|
3376
|
-
var
|
|
3377
|
-
v = h.options[
|
|
3375
|
+
`, Z.MISSING_INTL_API, s);
|
|
3376
|
+
var R = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3377
|
+
v = h.options[R] || h.options.other;
|
|
3378
3378
|
}
|
|
3379
3379
|
if (!v)
|
|
3380
|
-
throw new
|
|
3381
|
-
|
|
3380
|
+
throw new pt(h.value, f, Object.keys(h.options), s);
|
|
3381
|
+
o.push.apply(o, Ee(v.value, t, r, n, i, f - (h.offset || 0)));
|
|
3382
3382
|
continue;
|
|
3383
3383
|
}
|
|
3384
3384
|
}
|
|
3385
|
-
return
|
|
3385
|
+
return Vn(o);
|
|
3386
3386
|
}
|
|
3387
|
-
function
|
|
3388
|
-
return t ?
|
|
3389
|
-
return r[n] =
|
|
3387
|
+
function Xn(e, t) {
|
|
3388
|
+
return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3389
|
+
return r[n] = C(C({}, e[n]), t[n] || {}), r;
|
|
3390
3390
|
}, {})) : e;
|
|
3391
3391
|
}
|
|
3392
|
-
function
|
|
3392
|
+
function qn(e, t) {
|
|
3393
3393
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3394
|
-
return r[n] =
|
|
3395
|
-
},
|
|
3394
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
3395
|
+
}, C({}, e)) : e;
|
|
3396
3396
|
}
|
|
3397
|
-
function
|
|
3397
|
+
function ke(e) {
|
|
3398
3398
|
return {
|
|
3399
3399
|
create: function() {
|
|
3400
3400
|
return {
|
|
@@ -3408,39 +3408,39 @@ function De(e) {
|
|
|
3408
3408
|
}
|
|
3409
3409
|
};
|
|
3410
3410
|
}
|
|
3411
|
-
function
|
|
3411
|
+
function Jn(e) {
|
|
3412
3412
|
return e === void 0 && (e = {
|
|
3413
3413
|
number: {},
|
|
3414
3414
|
dateTime: {},
|
|
3415
3415
|
pluralRules: {}
|
|
3416
3416
|
}), {
|
|
3417
|
-
getNumberFormat:
|
|
3417
|
+
getNumberFormat: Ne(function() {
|
|
3418
3418
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3419
3419
|
r[n] = arguments[n];
|
|
3420
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3420
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
|
|
3421
3421
|
}, {
|
|
3422
|
-
cache:
|
|
3423
|
-
strategy:
|
|
3422
|
+
cache: ke(e.number),
|
|
3423
|
+
strategy: Re.variadic
|
|
3424
3424
|
}),
|
|
3425
|
-
getDateTimeFormat:
|
|
3425
|
+
getDateTimeFormat: Ne(function() {
|
|
3426
3426
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3427
3427
|
r[n] = arguments[n];
|
|
3428
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3428
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
|
|
3429
3429
|
}, {
|
|
3430
|
-
cache:
|
|
3431
|
-
strategy:
|
|
3430
|
+
cache: ke(e.dateTime),
|
|
3431
|
+
strategy: Re.variadic
|
|
3432
3432
|
}),
|
|
3433
|
-
getPluralRules:
|
|
3433
|
+
getPluralRules: Ne(function() {
|
|
3434
3434
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3435
3435
|
r[n] = arguments[n];
|
|
3436
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3436
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
|
|
3437
3437
|
}, {
|
|
3438
|
-
cache:
|
|
3439
|
-
strategy:
|
|
3438
|
+
cache: ke(e.pluralRules),
|
|
3439
|
+
strategy: Re.variadic
|
|
3440
3440
|
})
|
|
3441
3441
|
};
|
|
3442
3442
|
}
|
|
3443
|
-
var
|
|
3443
|
+
var Qt = (
|
|
3444
3444
|
/** @class */
|
|
3445
3445
|
function() {
|
|
3446
3446
|
function e(t, r, n, i) {
|
|
@@ -3470,15 +3470,15 @@ var Kt = (
|
|
|
3470
3470
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3471
3471
|
if (this.message = t, !e.__parse)
|
|
3472
3472
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3473
|
-
var
|
|
3474
|
-
|
|
3475
|
-
var
|
|
3476
|
-
this.ast = e.__parse(t,
|
|
3473
|
+
var s = i || {};
|
|
3474
|
+
s.formatters;
|
|
3475
|
+
var o = an(s, ["formatters"]);
|
|
3476
|
+
this.ast = e.__parse(t, C(C({}, o), { locale: this.resolvedLocale }));
|
|
3477
3477
|
} else
|
|
3478
3478
|
this.ast = t;
|
|
3479
3479
|
if (!Array.isArray(this.ast))
|
|
3480
3480
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3481
|
-
this.formats =
|
|
3481
|
+
this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
|
|
3482
3482
|
}
|
|
3483
3483
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3484
3484
|
get: function() {
|
|
@@ -3491,7 +3491,7 @@ var Kt = (
|
|
|
3491
3491
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3492
3492
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3493
3493
|
}
|
|
3494
|
-
}, e.__parse =
|
|
3494
|
+
}, e.__parse = Fn, e.formats = {
|
|
3495
3495
|
number: {
|
|
3496
3496
|
integer: {
|
|
3497
3497
|
maximumFractionDigits: 0
|
|
@@ -3552,7 +3552,7 @@ var Kt = (
|
|
|
3552
3552
|
}, e;
|
|
3553
3553
|
}()
|
|
3554
3554
|
);
|
|
3555
|
-
function
|
|
3555
|
+
function Zn(e, t) {
|
|
3556
3556
|
if (t == null)
|
|
3557
3557
|
return;
|
|
3558
3558
|
if (t in e)
|
|
@@ -3573,98 +3573,98 @@ function Jn(e, t) {
|
|
|
3573
3573
|
n = void 0;
|
|
3574
3574
|
return n;
|
|
3575
3575
|
}
|
|
3576
|
-
const
|
|
3576
|
+
const D = {}, Yn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Kt = (e, t) => {
|
|
3577
3577
|
if (t == null)
|
|
3578
3578
|
return;
|
|
3579
|
-
if (t in
|
|
3580
|
-
return
|
|
3581
|
-
const r =
|
|
3579
|
+
if (t in D && e in D[t])
|
|
3580
|
+
return D[t][e];
|
|
3581
|
+
const r = le(t);
|
|
3582
3582
|
for (let n = 0; n < r.length; n++) {
|
|
3583
|
-
const i = r[n], a =
|
|
3583
|
+
const i = r[n], a = Kn(i, e);
|
|
3584
3584
|
if (a)
|
|
3585
|
-
return
|
|
3585
|
+
return Yn(e, t, a);
|
|
3586
3586
|
}
|
|
3587
3587
|
};
|
|
3588
|
-
let
|
|
3589
|
-
const
|
|
3590
|
-
function
|
|
3591
|
-
return
|
|
3588
|
+
let Ke;
|
|
3589
|
+
const ue = Se({});
|
|
3590
|
+
function Qn(e) {
|
|
3591
|
+
return Ke[e] || null;
|
|
3592
3592
|
}
|
|
3593
|
-
function
|
|
3594
|
-
return e in
|
|
3593
|
+
function er(e) {
|
|
3594
|
+
return e in Ke;
|
|
3595
3595
|
}
|
|
3596
|
-
function
|
|
3597
|
-
if (!
|
|
3596
|
+
function Kn(e, t) {
|
|
3597
|
+
if (!er(e))
|
|
3598
3598
|
return null;
|
|
3599
|
-
const r =
|
|
3600
|
-
return
|
|
3599
|
+
const r = Qn(e);
|
|
3600
|
+
return Zn(r, t);
|
|
3601
3601
|
}
|
|
3602
|
-
function
|
|
3602
|
+
function ei(e) {
|
|
3603
3603
|
if (e == null)
|
|
3604
3604
|
return;
|
|
3605
|
-
const t =
|
|
3605
|
+
const t = le(e);
|
|
3606
3606
|
for (let r = 0; r < t.length; r++) {
|
|
3607
3607
|
const n = t[r];
|
|
3608
|
-
if (
|
|
3608
|
+
if (er(n))
|
|
3609
3609
|
return n;
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3613
|
-
delete
|
|
3612
|
+
function tr(e, ...t) {
|
|
3613
|
+
delete D[e], ue.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
3614
3614
|
}
|
|
3615
|
-
|
|
3616
|
-
[
|
|
3615
|
+
Q(
|
|
3616
|
+
[ue],
|
|
3617
3617
|
([e]) => Object.keys(e)
|
|
3618
3618
|
);
|
|
3619
|
-
|
|
3619
|
+
ue.subscribe((e) => Ke = e);
|
|
3620
3620
|
const xe = {};
|
|
3621
|
-
function
|
|
3621
|
+
function ti(e, t) {
|
|
3622
3622
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
3623
3623
|
}
|
|
3624
|
-
function
|
|
3624
|
+
function rr(e) {
|
|
3625
3625
|
return xe[e];
|
|
3626
3626
|
}
|
|
3627
|
-
function
|
|
3628
|
-
return
|
|
3629
|
-
const r =
|
|
3627
|
+
function ri(e) {
|
|
3628
|
+
return le(e).map((t) => {
|
|
3629
|
+
const r = rr(t);
|
|
3630
3630
|
return [t, r ? [...r] : []];
|
|
3631
3631
|
}).filter(([, t]) => t.length > 0);
|
|
3632
3632
|
}
|
|
3633
3633
|
function we(e) {
|
|
3634
|
-
return e == null ? !1 :
|
|
3634
|
+
return e == null ? !1 : le(e).some(
|
|
3635
3635
|
(t) => {
|
|
3636
3636
|
var r;
|
|
3637
|
-
return (r =
|
|
3637
|
+
return (r = rr(t)) == null ? void 0 : r.size;
|
|
3638
3638
|
}
|
|
3639
3639
|
);
|
|
3640
3640
|
}
|
|
3641
|
-
function
|
|
3641
|
+
function ni(e, t) {
|
|
3642
3642
|
return Promise.all(
|
|
3643
|
-
t.map((n) => (
|
|
3644
|
-
).then((n) =>
|
|
3643
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
3644
|
+
).then((n) => tr(e, ...n));
|
|
3645
3645
|
}
|
|
3646
|
-
const
|
|
3647
|
-
function
|
|
3646
|
+
const ee = {};
|
|
3647
|
+
function nr(e) {
|
|
3648
3648
|
if (!we(e))
|
|
3649
|
-
return e in
|
|
3650
|
-
const t =
|
|
3651
|
-
return
|
|
3649
|
+
return e in ee ? ee[e] : Promise.resolve();
|
|
3650
|
+
const t = ri(e);
|
|
3651
|
+
return ee[e] = Promise.all(
|
|
3652
3652
|
t.map(
|
|
3653
|
-
([r, n]) =>
|
|
3653
|
+
([r, n]) => ni(r, n)
|
|
3654
3654
|
)
|
|
3655
3655
|
).then(() => {
|
|
3656
3656
|
if (we(e))
|
|
3657
|
-
return
|
|
3658
|
-
delete
|
|
3659
|
-
}),
|
|
3657
|
+
return nr(e);
|
|
3658
|
+
delete ee[e];
|
|
3659
|
+
}), ee[e];
|
|
3660
3660
|
}
|
|
3661
|
-
var
|
|
3661
|
+
var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, si = (e, t) => {
|
|
3662
3662
|
var r = {};
|
|
3663
3663
|
for (var n in e)
|
|
3664
|
-
|
|
3665
|
-
if (e != null &&
|
|
3666
|
-
for (var n of
|
|
3667
|
-
t.indexOf(n) < 0 &&
|
|
3664
|
+
ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3665
|
+
if (e != null && gt)
|
|
3666
|
+
for (var n of gt(e))
|
|
3667
|
+
t.indexOf(n) < 0 && ai.call(e, n) && (r[n] = e[n]);
|
|
3668
3668
|
return r;
|
|
3669
3669
|
};
|
|
3670
3670
|
const oi = {
|
|
@@ -3697,183 +3697,183 @@ const oi = {
|
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
3699
3699
|
};
|
|
3700
|
-
function
|
|
3700
|
+
function ui({ locale: e, id: t }) {
|
|
3701
3701
|
console.warn(
|
|
3702
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3702
|
+
`[svelte-i18n] The message "${t}" was not found in "${le(
|
|
3703
3703
|
e
|
|
3704
|
-
).join('", "')}".${we(
|
|
3704
|
+
).join('", "')}".${we($()) ? `
|
|
3705
3705
|
|
|
3706
3706
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3707
3707
|
);
|
|
3708
3708
|
}
|
|
3709
|
-
const
|
|
3709
|
+
const li = {
|
|
3710
3710
|
fallbackLocale: null,
|
|
3711
3711
|
loadingDelay: 200,
|
|
3712
3712
|
formats: oi,
|
|
3713
3713
|
warnOnMissingMessages: !0,
|
|
3714
3714
|
handleMissingMessage: void 0,
|
|
3715
3715
|
ignoreTag: !0
|
|
3716
|
-
},
|
|
3717
|
-
function
|
|
3718
|
-
return
|
|
3716
|
+
}, re = li;
|
|
3717
|
+
function Y() {
|
|
3718
|
+
return re;
|
|
3719
3719
|
}
|
|
3720
|
-
function
|
|
3721
|
-
const t = e, { formats: r } = t, n =
|
|
3720
|
+
function hi(e) {
|
|
3721
|
+
const t = e, { formats: r } = t, n = si(t, ["formats"]);
|
|
3722
3722
|
let i = e.fallbackLocale;
|
|
3723
3723
|
if (e.initialLocale)
|
|
3724
3724
|
try {
|
|
3725
|
-
|
|
3725
|
+
Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3726
3726
|
} catch (a) {
|
|
3727
3727
|
console.warn(
|
|
3728
3728
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3729
3729
|
);
|
|
3730
3730
|
}
|
|
3731
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3731
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ui : console.warn(
|
|
3732
3732
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3733
|
-
)), Object.assign(
|
|
3733
|
+
)), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), U.set(i);
|
|
3734
3734
|
}
|
|
3735
3735
|
const $e = Se(!1);
|
|
3736
|
-
var
|
|
3736
|
+
var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
|
|
3737
3737
|
for (var r in t || (t = {}))
|
|
3738
|
-
|
|
3739
|
-
if (
|
|
3740
|
-
for (var r of
|
|
3741
|
-
|
|
3738
|
+
di.call(t, r) && yt(e, r, t[r]);
|
|
3739
|
+
if (bt)
|
|
3740
|
+
for (var r of bt(t))
|
|
3741
|
+
pi.call(t, r) && yt(e, r, t[r]);
|
|
3742
3742
|
return e;
|
|
3743
|
-
},
|
|
3744
|
-
let
|
|
3743
|
+
}, bi = (e, t) => fi(e, mi(t));
|
|
3744
|
+
let Ze;
|
|
3745
3745
|
const He = Se(null);
|
|
3746
|
-
function
|
|
3746
|
+
function vt(e) {
|
|
3747
3747
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3748
3748
|
}
|
|
3749
|
-
function
|
|
3750
|
-
const r =
|
|
3751
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3749
|
+
function le(e, t = Y().fallbackLocale) {
|
|
3750
|
+
const r = vt(e);
|
|
3751
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
|
|
3752
3752
|
}
|
|
3753
|
-
function
|
|
3754
|
-
return
|
|
3753
|
+
function $() {
|
|
3754
|
+
return Ze != null ? Ze : void 0;
|
|
3755
3755
|
}
|
|
3756
3756
|
He.subscribe((e) => {
|
|
3757
|
-
|
|
3757
|
+
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3758
3758
|
});
|
|
3759
|
-
const
|
|
3760
|
-
if (e &&
|
|
3761
|
-
const { loadingDelay: t } =
|
|
3759
|
+
const yi = (e) => {
|
|
3760
|
+
if (e && ei(e) && we(e)) {
|
|
3761
|
+
const { loadingDelay: t } = Y();
|
|
3762
3762
|
let r;
|
|
3763
|
-
return typeof window != "undefined" &&
|
|
3763
|
+
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
|
3764
3764
|
() => $e.set(!0),
|
|
3765
3765
|
t
|
|
3766
|
-
) : $e.set(!0),
|
|
3766
|
+
) : $e.set(!0), nr(e).then(() => {
|
|
3767
3767
|
He.set(e);
|
|
3768
3768
|
}).finally(() => {
|
|
3769
3769
|
clearTimeout(r), $e.set(!1);
|
|
3770
3770
|
});
|
|
3771
3771
|
}
|
|
3772
3772
|
return He.set(e);
|
|
3773
|
-
},
|
|
3774
|
-
set:
|
|
3775
|
-
}),
|
|
3773
|
+
}, U = bi(gi({}, He), {
|
|
3774
|
+
set: yi
|
|
3775
|
+
}), Le = (e) => {
|
|
3776
3776
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3777
3777
|
return (n) => {
|
|
3778
3778
|
const i = JSON.stringify(n);
|
|
3779
3779
|
return i in t ? t[i] : t[i] = e(n);
|
|
3780
3780
|
};
|
|
3781
3781
|
};
|
|
3782
|
-
var
|
|
3782
|
+
var vi = Object.defineProperty, Ae = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
3783
3783
|
for (var r in t || (t = {}))
|
|
3784
|
-
|
|
3784
|
+
ir.call(t, r) && _t(e, r, t[r]);
|
|
3785
3785
|
if (Ae)
|
|
3786
3786
|
for (var r of Ae(t))
|
|
3787
|
-
|
|
3787
|
+
ar.call(t, r) && _t(e, r, t[r]);
|
|
3788
3788
|
return e;
|
|
3789
|
-
},
|
|
3789
|
+
}, K = (e, t) => {
|
|
3790
3790
|
var r = {};
|
|
3791
3791
|
for (var n in e)
|
|
3792
|
-
|
|
3792
|
+
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3793
3793
|
if (e != null && Ae)
|
|
3794
3794
|
for (var n of Ae(e))
|
|
3795
|
-
t.indexOf(n) < 0 &&
|
|
3795
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
3796
3796
|
return r;
|
|
3797
3797
|
};
|
|
3798
3798
|
const se = (e, t) => {
|
|
3799
|
-
const { formats: r } =
|
|
3799
|
+
const { formats: r } = Y();
|
|
3800
3800
|
if (e in r && t in r[e])
|
|
3801
3801
|
return r[e][t];
|
|
3802
3802
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3803
|
-
},
|
|
3803
|
+
}, _i = Le(
|
|
3804
3804
|
(e) => {
|
|
3805
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3805
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
3806
3806
|
if (r == null)
|
|
3807
3807
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3808
3808
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3809
3809
|
}
|
|
3810
|
-
),
|
|
3810
|
+
), Ei = Le(
|
|
3811
3811
|
(e) => {
|
|
3812
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3812
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
3813
3813
|
if (r == null)
|
|
3814
3814
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3815
3815
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3816
3816
|
}
|
|
3817
|
-
),
|
|
3817
|
+
), xi = Le(
|
|
3818
3818
|
(e) => {
|
|
3819
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3819
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
3820
3820
|
if (r == null)
|
|
3821
3821
|
throw new Error(
|
|
3822
3822
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3823
3823
|
);
|
|
3824
3824
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3825
3825
|
}
|
|
3826
|
-
),
|
|
3826
|
+
), Ti = (e = {}) => {
|
|
3827
3827
|
var t = e, {
|
|
3828
|
-
locale: r =
|
|
3829
|
-
} = t, n =
|
|
3828
|
+
locale: r = $()
|
|
3829
|
+
} = t, n = K(t, [
|
|
3830
3830
|
"locale"
|
|
3831
3831
|
]);
|
|
3832
|
-
return
|
|
3833
|
-
},
|
|
3832
|
+
return _i(et({ locale: r }, n));
|
|
3833
|
+
}, wi = (e = {}) => {
|
|
3834
3834
|
var t = e, {
|
|
3835
|
-
locale: r =
|
|
3836
|
-
} = t, n =
|
|
3835
|
+
locale: r = $()
|
|
3836
|
+
} = t, n = K(t, [
|
|
3837
3837
|
"locale"
|
|
3838
3838
|
]);
|
|
3839
|
-
return
|
|
3840
|
-
},
|
|
3839
|
+
return Ei(et({ locale: r }, n));
|
|
3840
|
+
}, Hi = (e = {}) => {
|
|
3841
3841
|
var t = e, {
|
|
3842
|
-
locale: r =
|
|
3843
|
-
} = t, n =
|
|
3842
|
+
locale: r = $()
|
|
3843
|
+
} = t, n = K(t, [
|
|
3844
3844
|
"locale"
|
|
3845
3845
|
]);
|
|
3846
|
-
return
|
|
3847
|
-
},
|
|
3846
|
+
return xi(et({ locale: r }, n));
|
|
3847
|
+
}, Ai = Le(
|
|
3848
3848
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3849
|
-
(e, t =
|
|
3850
|
-
ignoreTag:
|
|
3849
|
+
(e, t = $()) => new Qt(e, t, Y().formats, {
|
|
3850
|
+
ignoreTag: Y().ignoreTag
|
|
3851
3851
|
})
|
|
3852
|
-
),
|
|
3852
|
+
), Si = (e, t = {}) => {
|
|
3853
3853
|
var r, n, i, a;
|
|
3854
|
-
let
|
|
3855
|
-
typeof e == "object" && (
|
|
3854
|
+
let s = t;
|
|
3855
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3856
3856
|
const {
|
|
3857
|
-
values:
|
|
3858
|
-
locale: l =
|
|
3857
|
+
values: o,
|
|
3858
|
+
locale: l = $(),
|
|
3859
3859
|
default: u
|
|
3860
|
-
} =
|
|
3860
|
+
} = s;
|
|
3861
3861
|
if (l == null)
|
|
3862
3862
|
throw new Error(
|
|
3863
3863
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3864
3864
|
);
|
|
3865
|
-
let h =
|
|
3865
|
+
let h = Kt(e, l);
|
|
3866
3866
|
if (!h)
|
|
3867
|
-
h = (a = (i = (n = (r =
|
|
3867
|
+
h = (a = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
|
|
3868
3868
|
else if (typeof h != "string")
|
|
3869
3869
|
return console.warn(
|
|
3870
3870
|
`[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.`
|
|
3871
3871
|
), h;
|
|
3872
|
-
if (!
|
|
3872
|
+
if (!o)
|
|
3873
3873
|
return h;
|
|
3874
3874
|
let c = h;
|
|
3875
3875
|
try {
|
|
3876
|
-
c =
|
|
3876
|
+
c = Ai(h, l).format(o);
|
|
3877
3877
|
} catch (f) {
|
|
3878
3878
|
f instanceof Error && console.warn(
|
|
3879
3879
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3881,26 +3881,30 @@ const se = (e, t) => {
|
|
|
3881
3881
|
);
|
|
3882
3882
|
}
|
|
3883
3883
|
return c;
|
|
3884
|
-
},
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
function
|
|
3890
|
-
|
|
3891
|
-
}
|
|
3892
|
-
function
|
|
3893
|
-
|
|
3884
|
+
}, Bi = (e, t) => Hi(t).format(e), Pi = (e, t) => wi(t).format(e), Li = (e, t) => Ti(t).format(e), Ci = (e, t = $()) => Kt(e, t), Oi = Q([U, ue], () => Si);
|
|
3885
|
+
Q([U], () => Bi);
|
|
3886
|
+
Q([U], () => Pi);
|
|
3887
|
+
Q([U], () => Li);
|
|
3888
|
+
Q([U, ue], () => Ci);
|
|
3889
|
+
function Et(e, t) {
|
|
3890
|
+
tr(e, t);
|
|
3891
|
+
}
|
|
3892
|
+
function Ii(e) {
|
|
3893
|
+
hi({
|
|
3894
3894
|
fallbackLocale: "en"
|
|
3895
|
-
}),
|
|
3895
|
+
}), U.set(e);
|
|
3896
3896
|
}
|
|
3897
|
-
const
|
|
3897
|
+
const xt = {
|
|
3898
3898
|
en: {
|
|
3899
|
+
VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
|
|
3900
|
+
CustomerDocumentIdMissing: "The document ID is missing",
|
|
3901
|
+
InvalidTransactionStatus: "The transaction status is invalid",
|
|
3902
|
+
UndefinedTechnicalError: "Something went wrong",
|
|
3899
3903
|
errorGeneralTitle: "Error Occurred",
|
|
3900
3904
|
errorGeneralText: "Something went wrong",
|
|
3901
3905
|
errorGeneralButton: "CLOSE",
|
|
3902
3906
|
PlayerSessionIsNotValid: "Player session is not valid",
|
|
3903
|
-
VendorCommunicationError: "We apologise, but your payment provider has declined to process due to technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",
|
|
3907
|
+
VendorCommunicationError: "We apologise, but your payment provider has declined to process due to a technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",
|
|
3904
3908
|
PaymentMethodNotAllowed: "We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",
|
|
3905
3909
|
InvalidPaymentDetails: "We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",
|
|
3906
3910
|
MerchantUserHasWithdrawBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",
|
|
@@ -3936,9 +3940,15 @@ const Tt = {
|
|
|
3936
3940
|
AuthenticationFailed: "Authentication failed",
|
|
3937
3941
|
CommunicationTimeoutError: "Communication timeout",
|
|
3938
3942
|
MissingPaymentDetails: "Missing payment details",
|
|
3939
|
-
InvalidAccount: "Invalid account"
|
|
3943
|
+
InvalidAccount: "Invalid account",
|
|
3944
|
+
DuplicatePaymentAccount: "The account you used to request a withdrawal has been deemed suspicious, and your transaction has been canceled for security reasons. Please contact our live support for more details."
|
|
3940
3945
|
},
|
|
3941
3946
|
tr: {
|
|
3947
|
+
VendorMicroserviceCommunicationError: "Özür dileriz, ancak ödeme sağlayıcınız bir mikroservis iletişim hatası nedeniyle işlemi gerçekleştiremedi. Lütfen daha sonra tekrar deneyin.",
|
|
3948
|
+
CustomerDocumentIdMissing: "Belge kimliği eksik",
|
|
3949
|
+
InvalidTransactionStatus: "İşlem durumu geçersiz",
|
|
3950
|
+
UndefinedTechnicalError: "Bir şeyler ters gitti",
|
|
3951
|
+
VendorTimeoutError: "Görünüşe göre ödeme sağlayıcısında bazı sorunlar var. Sunucu yanıt vermek için çok uzun süre alıyor. Lütfen biraz bekleyip daha sonra tekrar deneyin. Hata Kodu 21292",
|
|
3942
3952
|
errorGeneralTitle: "Hata oluştu",
|
|
3943
3953
|
errorGeneralText: "Bir şeyler ters gitti",
|
|
3944
3954
|
errorGeneralButton: "KAPALI",
|
|
@@ -3979,9 +3989,14 @@ const Tt = {
|
|
|
3979
3989
|
AuthenticationFailed: "Kimlik doğrulama başarısız",
|
|
3980
3990
|
CommunicationTimeoutError: "İletişim zaman aşımı",
|
|
3981
3991
|
MissingPaymentDetails: "Eksik ödeme bilgileri",
|
|
3982
|
-
InvalidAccount: "Geçersiz hesap"
|
|
3992
|
+
InvalidAccount: "Geçersiz hesap",
|
|
3993
|
+
DuplicatePaymentAccount: "Çekim talebinde bulunduğunuz hesap şüpheli olarak değerlendirilmiş ve işleminiz güvenlik nedeniyle iptal edilmiştir. Detaylı bilgi almak için lütfen canlı destek hattımızla iletişime geçiniz."
|
|
3983
3994
|
},
|
|
3984
3995
|
fr: {
|
|
3996
|
+
VendorMicroserviceCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter en raison d’une erreur de communication de microservice. Veuillez réessayer plus tard.",
|
|
3997
|
+
CustomerDocumentIdMissing: "L’identifiant du document est manquant",
|
|
3998
|
+
InvalidTransactionStatus: "Le statut de la transaction est invalide",
|
|
3999
|
+
UndefinedTechnicalError: "Une erreur s’est produite",
|
|
3985
4000
|
errorGeneralTitle: "Une erreur s’est produite",
|
|
3986
4001
|
errorGeneralText: "Une erreur est survenue",
|
|
3987
4002
|
errorGeneralButton: "FERMER",
|
|
@@ -4022,18 +4037,19 @@ const Tt = {
|
|
|
4022
4037
|
AuthenticationFailed: "Échec de l'authentification",
|
|
4023
4038
|
CommunicationTimeoutError: "Délai de communication dépassé",
|
|
4024
4039
|
MissingPaymentDetails: "Détails de paiement manquants",
|
|
4025
|
-
InvalidAccount: "Compte invalide"
|
|
4040
|
+
InvalidAccount: "Compte invalide",
|
|
4041
|
+
DuplicatePaymentAccount: "Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."
|
|
4026
4042
|
}
|
|
4027
4043
|
};
|
|
4028
|
-
function
|
|
4029
|
-
|
|
4044
|
+
function Mi(e) {
|
|
4045
|
+
gr(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
|
|
4030
4046
|
}
|
|
4031
|
-
const
|
|
4032
|
-
function
|
|
4047
|
+
const Ni = (e) => ({}), Tt = (e) => ({}), Ri = (e) => ({}), wt = (e) => ({}), Di = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), At = (e) => ({ class: "CashierErrorIcon" });
|
|
4048
|
+
function St(e) {
|
|
4033
4049
|
let t, r;
|
|
4034
4050
|
return {
|
|
4035
4051
|
c() {
|
|
4036
|
-
t =
|
|
4052
|
+
t = L("ui-image"), at(t.src, r = `${/*assetsurl*/
|
|
4037
4053
|
e[0]}/error-general-icon.png`) || ge(t, "src", r), ge(t, "width", "300px"), ge(t, "alt", "error");
|
|
4038
4054
|
},
|
|
4039
4055
|
m(n, i) {
|
|
@@ -4041,7 +4057,7 @@ function Bt(e) {
|
|
|
4041
4057
|
},
|
|
4042
4058
|
p(n, i) {
|
|
4043
4059
|
i & /*assetsurl*/
|
|
4044
|
-
1 && !
|
|
4060
|
+
1 && !at(t.src, r = `${/*assetsurl*/
|
|
4045
4061
|
n[0]}/error-general-icon.png`) && ge(t, "src", r);
|
|
4046
4062
|
},
|
|
4047
4063
|
d(n) {
|
|
@@ -4052,49 +4068,49 @@ function Bt(e) {
|
|
|
4052
4068
|
function $i(e) {
|
|
4053
4069
|
let t, r = (
|
|
4054
4070
|
/*assetsurl*/
|
|
4055
|
-
e[0] &&
|
|
4071
|
+
e[0] && St(e)
|
|
4056
4072
|
);
|
|
4057
4073
|
return {
|
|
4058
4074
|
c() {
|
|
4059
|
-
r && r.c(), t =
|
|
4075
|
+
r && r.c(), t = Qe();
|
|
4060
4076
|
},
|
|
4061
4077
|
m(n, i) {
|
|
4062
4078
|
r && r.m(n, i), S(n, t, i);
|
|
4063
4079
|
},
|
|
4064
4080
|
p(n, i) {
|
|
4065
4081
|
/*assetsurl*/
|
|
4066
|
-
n[0] ? r ? r.p(n, i) : (r =
|
|
4082
|
+
n[0] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4067
4083
|
},
|
|
4068
4084
|
d(n) {
|
|
4069
4085
|
n && A(t), r && r.d(n);
|
|
4070
4086
|
}
|
|
4071
4087
|
};
|
|
4072
4088
|
}
|
|
4073
|
-
function
|
|
4089
|
+
function Bt(e) {
|
|
4074
4090
|
let t;
|
|
4075
|
-
function r(a,
|
|
4091
|
+
function r(a, s) {
|
|
4076
4092
|
return (
|
|
4077
4093
|
/*depositWageringAmount*/
|
|
4078
|
-
a[3] < 0 ?
|
|
4094
|
+
a[3] < 0 ? Gi : Ui
|
|
4079
4095
|
);
|
|
4080
4096
|
}
|
|
4081
4097
|
let n = r(e), i = n(e);
|
|
4082
4098
|
return {
|
|
4083
4099
|
c() {
|
|
4084
|
-
i.c(), t =
|
|
4100
|
+
i.c(), t = Qe();
|
|
4085
4101
|
},
|
|
4086
|
-
m(a,
|
|
4087
|
-
i.m(a,
|
|
4102
|
+
m(a, s) {
|
|
4103
|
+
i.m(a, s), S(a, t, s);
|
|
4088
4104
|
},
|
|
4089
|
-
p(a,
|
|
4090
|
-
n === (n = r(a)) && i ? i.p(a,
|
|
4105
|
+
p(a, s) {
|
|
4106
|
+
n === (n = r(a)) && i ? i.p(a, s) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
|
|
4091
4107
|
},
|
|
4092
4108
|
d(a) {
|
|
4093
4109
|
a && A(t), i.d(a);
|
|
4094
4110
|
}
|
|
4095
4111
|
};
|
|
4096
4112
|
}
|
|
4097
|
-
function
|
|
4113
|
+
function Ui(e) {
|
|
4098
4114
|
let t, r = (
|
|
4099
4115
|
/*$_*/
|
|
4100
4116
|
e[5]("DepositWageringLimitText") + ""
|
|
@@ -4104,38 +4120,38 @@ function ki(e) {
|
|
|
4104
4120
|
);
|
|
4105
4121
|
return {
|
|
4106
4122
|
c() {
|
|
4107
|
-
t =
|
|
4123
|
+
t = L("span"), n = k(r), i = V(), a && a.c(), N(t, "class", "CashierErrorText");
|
|
4108
4124
|
},
|
|
4109
|
-
m(
|
|
4110
|
-
S(
|
|
4125
|
+
m(s, o) {
|
|
4126
|
+
S(s, t, o), P(t, n), P(t, i), a && a.m(t, null);
|
|
4111
4127
|
},
|
|
4112
|
-
p(
|
|
4113
|
-
|
|
4128
|
+
p(s, o) {
|
|
4129
|
+
o & /*$_*/
|
|
4114
4130
|
32 && r !== (r = /*$_*/
|
|
4115
|
-
|
|
4116
|
-
|
|
4131
|
+
s[5]("DepositWageringLimitText") + "") && X(n, r), /*depositWageringAmount*/
|
|
4132
|
+
s[3] > 0 ? a ? a.p(s, o) : (a = Pt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4117
4133
|
},
|
|
4118
|
-
d(
|
|
4119
|
-
|
|
4134
|
+
d(s) {
|
|
4135
|
+
s && A(t), a && a.d();
|
|
4120
4136
|
}
|
|
4121
4137
|
};
|
|
4122
4138
|
}
|
|
4123
|
-
function
|
|
4139
|
+
function Gi(e) {
|
|
4124
4140
|
let t, r, n = (
|
|
4125
4141
|
/*$_*/
|
|
4126
4142
|
e[5]("DepositWageringFetching") + ""
|
|
4127
4143
|
), i;
|
|
4128
4144
|
return {
|
|
4129
4145
|
c() {
|
|
4130
|
-
t =
|
|
4146
|
+
t = L("div"), r = L("span"), i = k(n), N(r, "class", "CashierErrorText LoadingText"), N(t, "class", "WageringFetch");
|
|
4131
4147
|
},
|
|
4132
|
-
m(a,
|
|
4133
|
-
S(a, t,
|
|
4148
|
+
m(a, s) {
|
|
4149
|
+
S(a, t, s), P(t, r), P(r, i);
|
|
4134
4150
|
},
|
|
4135
|
-
p(a,
|
|
4136
|
-
|
|
4151
|
+
p(a, s) {
|
|
4152
|
+
s & /*$_*/
|
|
4137
4153
|
32 && n !== (n = /*$_*/
|
|
4138
|
-
a[5]("DepositWageringFetching") + "") &&
|
|
4154
|
+
a[5]("DepositWageringFetching") + "") && X(i, n);
|
|
4139
4155
|
},
|
|
4140
4156
|
d(a) {
|
|
4141
4157
|
a && A(t);
|
|
@@ -4149,7 +4165,7 @@ function Pt(e) {
|
|
|
4149
4165
|
t = k(
|
|
4150
4166
|
/*depositWageringAmount*/
|
|
4151
4167
|
e[3]
|
|
4152
|
-
), r =
|
|
4168
|
+
), r = V(), n = k(
|
|
4153
4169
|
/*depositWageringCurrency*/
|
|
4154
4170
|
e[4]
|
|
4155
4171
|
);
|
|
@@ -4159,12 +4175,12 @@ function Pt(e) {
|
|
|
4159
4175
|
},
|
|
4160
4176
|
p(i, a) {
|
|
4161
4177
|
a & /*depositWageringAmount*/
|
|
4162
|
-
8 &&
|
|
4178
|
+
8 && X(
|
|
4163
4179
|
t,
|
|
4164
4180
|
/*depositWageringAmount*/
|
|
4165
4181
|
i[3]
|
|
4166
4182
|
), a & /*depositWageringCurrency*/
|
|
4167
|
-
16 &&
|
|
4183
|
+
16 && X(
|
|
4168
4184
|
n,
|
|
4169
4185
|
/*depositWageringCurrency*/
|
|
4170
4186
|
i[4]
|
|
@@ -4175,72 +4191,72 @@ function Pt(e) {
|
|
|
4175
4191
|
}
|
|
4176
4192
|
};
|
|
4177
4193
|
}
|
|
4178
|
-
function
|
|
4194
|
+
function Fi(e) {
|
|
4179
4195
|
let t, r = (
|
|
4180
4196
|
/*$_*/
|
|
4181
4197
|
e[5](`${/*errorcode*/
|
|
4182
4198
|
e[1] || "errorGeneralText"}`) + ""
|
|
4183
|
-
), n, i, a,
|
|
4199
|
+
), n, i, a, s = (
|
|
4184
4200
|
/*errorcode*/
|
|
4185
|
-
e[1] == "DepositWageringLimit" &&
|
|
4201
|
+
e[1] == "DepositWageringLimit" && Bt(e)
|
|
4186
4202
|
);
|
|
4187
4203
|
return {
|
|
4188
4204
|
c() {
|
|
4189
|
-
t =
|
|
4205
|
+
t = L("span"), n = k(r), i = V(), s && s.c(), a = Qe(), N(t, "class", "CashierErrorText");
|
|
4190
4206
|
},
|
|
4191
|
-
m(
|
|
4192
|
-
S(
|
|
4207
|
+
m(o, l) {
|
|
4208
|
+
S(o, t, l), P(t, n), S(o, i, l), s && s.m(o, l), S(o, a, l);
|
|
4193
4209
|
},
|
|
4194
|
-
p(
|
|
4210
|
+
p(o, l) {
|
|
4195
4211
|
l & /*$_, errorcode*/
|
|
4196
4212
|
34 && r !== (r = /*$_*/
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4213
|
+
o[5](`${/*errorcode*/
|
|
4214
|
+
o[1] || "errorGeneralText"}`) + "") && X(n, r), /*errorcode*/
|
|
4215
|
+
o[1] == "DepositWageringLimit" ? s ? s.p(o, l) : (s = Bt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
|
|
4200
4216
|
},
|
|
4201
|
-
d(
|
|
4202
|
-
|
|
4217
|
+
d(o) {
|
|
4218
|
+
o && (A(t), A(i), A(a)), s && s.d(o);
|
|
4203
4219
|
}
|
|
4204
4220
|
};
|
|
4205
4221
|
}
|
|
4206
|
-
function
|
|
4222
|
+
function zi(e) {
|
|
4207
4223
|
let t, r, n = (
|
|
4208
4224
|
/*$_*/
|
|
4209
4225
|
e[5]("errorGeneralButton") + ""
|
|
4210
|
-
), i, a,
|
|
4226
|
+
), i, a, s;
|
|
4211
4227
|
return {
|
|
4212
4228
|
c() {
|
|
4213
|
-
t =
|
|
4229
|
+
t = L("button"), r = L("span"), i = k(n), N(t, "class", "CashierErrorButton");
|
|
4214
4230
|
},
|
|
4215
|
-
m(
|
|
4216
|
-
S(
|
|
4231
|
+
m(o, l) {
|
|
4232
|
+
S(o, t, l), P(t, r), P(r, i), a || (s = vr(
|
|
4217
4233
|
t,
|
|
4218
4234
|
"click",
|
|
4219
4235
|
/*close*/
|
|
4220
4236
|
e[6]
|
|
4221
4237
|
), a = !0);
|
|
4222
4238
|
},
|
|
4223
|
-
p(
|
|
4239
|
+
p(o, l) {
|
|
4224
4240
|
l & /*$_*/
|
|
4225
4241
|
32 && n !== (n = /*$_*/
|
|
4226
|
-
|
|
4242
|
+
o[5]("errorGeneralButton") + "") && X(i, n);
|
|
4227
4243
|
},
|
|
4228
|
-
d(
|
|
4229
|
-
|
|
4244
|
+
d(o) {
|
|
4245
|
+
o && A(t), a = !1, s();
|
|
4230
4246
|
}
|
|
4231
4247
|
};
|
|
4232
4248
|
}
|
|
4233
|
-
function
|
|
4234
|
-
let t, r, n, i, a,
|
|
4235
|
-
const
|
|
4249
|
+
function ji(e) {
|
|
4250
|
+
let t, r, n, i, a, s;
|
|
4251
|
+
const o = (
|
|
4236
4252
|
/*#slots*/
|
|
4237
4253
|
e[13].icon
|
|
4238
4254
|
), l = fe(
|
|
4239
|
-
|
|
4255
|
+
o,
|
|
4240
4256
|
e,
|
|
4241
4257
|
/*$$scope*/
|
|
4242
4258
|
e[12],
|
|
4243
|
-
|
|
4259
|
+
At
|
|
4244
4260
|
), u = l || $i(e), h = (
|
|
4245
4261
|
/*#slots*/
|
|
4246
4262
|
e[13].title
|
|
@@ -4249,17 +4265,17 @@ function zi(e) {
|
|
|
4249
4265
|
e,
|
|
4250
4266
|
/*$$scope*/
|
|
4251
4267
|
e[12],
|
|
4252
|
-
|
|
4268
|
+
Ht
|
|
4253
4269
|
), f = (
|
|
4254
4270
|
/*#slots*/
|
|
4255
4271
|
e[13].text
|
|
4256
|
-
),
|
|
4272
|
+
), p = fe(
|
|
4257
4273
|
f,
|
|
4258
4274
|
e,
|
|
4259
4275
|
/*$$scope*/
|
|
4260
4276
|
e[12],
|
|
4261
|
-
|
|
4262
|
-
), g =
|
|
4277
|
+
wt
|
|
4278
|
+
), g = p || Fi(e), x = (
|
|
4263
4279
|
/*#slots*/
|
|
4264
4280
|
e[13].button
|
|
4265
4281
|
), w = fe(
|
|
@@ -4267,175 +4283,179 @@ function zi(e) {
|
|
|
4267
4283
|
e,
|
|
4268
4284
|
/*$$scope*/
|
|
4269
4285
|
e[12],
|
|
4270
|
-
|
|
4271
|
-
), T = w ||
|
|
4286
|
+
Tt
|
|
4287
|
+
), T = w || zi(e);
|
|
4272
4288
|
return {
|
|
4273
4289
|
c() {
|
|
4274
|
-
t =
|
|
4290
|
+
t = L("div"), r = L("div"), u && u.c(), n = V(), c && c.c(), i = V(), g && g.c(), a = V(), T && T.c(), N(r, "class", "CashierErrorContent"), N(t, "class", "CashierError");
|
|
4275
4291
|
},
|
|
4276
4292
|
m(m, v) {
|
|
4277
|
-
S(m, t, v),
|
|
4293
|
+
S(m, t, v), P(t, r), u && u.m(r, null), P(r, n), c && c.m(r, null), P(r, i), g && g.m(r, null), P(r, a), T && T.m(r, null), e[14](t), s = !0;
|
|
4278
4294
|
},
|
|
4279
4295
|
p(m, [v]) {
|
|
4280
|
-
l ? l.p && (!
|
|
4296
|
+
l ? l.p && (!s || v & /*$$scope*/
|
|
4281
4297
|
4096) && de(
|
|
4282
4298
|
l,
|
|
4283
|
-
|
|
4299
|
+
o,
|
|
4284
4300
|
m,
|
|
4285
4301
|
/*$$scope*/
|
|
4286
4302
|
m[12],
|
|
4287
|
-
|
|
4288
|
-
|
|
4303
|
+
s ? me(
|
|
4304
|
+
o,
|
|
4289
4305
|
/*$$scope*/
|
|
4290
4306
|
m[12],
|
|
4291
4307
|
v,
|
|
4292
|
-
|
|
4308
|
+
ki
|
|
4293
4309
|
) : pe(
|
|
4294
4310
|
/*$$scope*/
|
|
4295
4311
|
m[12]
|
|
4296
4312
|
),
|
|
4297
|
-
|
|
4298
|
-
) : u && u.p && (!
|
|
4299
|
-
1) && u.p(m,
|
|
4313
|
+
At
|
|
4314
|
+
) : u && u.p && (!s || v & /*assetsurl*/
|
|
4315
|
+
1) && u.p(m, s ? v : -1), c && c.p && (!s || v & /*$$scope*/
|
|
4300
4316
|
4096) && de(
|
|
4301
4317
|
c,
|
|
4302
4318
|
h,
|
|
4303
4319
|
m,
|
|
4304
4320
|
/*$$scope*/
|
|
4305
4321
|
m[12],
|
|
4306
|
-
|
|
4322
|
+
s ? me(
|
|
4307
4323
|
h,
|
|
4308
4324
|
/*$$scope*/
|
|
4309
4325
|
m[12],
|
|
4310
4326
|
v,
|
|
4311
|
-
|
|
4327
|
+
Di
|
|
4312
4328
|
) : pe(
|
|
4313
4329
|
/*$$scope*/
|
|
4314
4330
|
m[12]
|
|
4315
4331
|
),
|
|
4316
|
-
|
|
4317
|
-
),
|
|
4332
|
+
Ht
|
|
4333
|
+
), p ? p.p && (!s || v & /*$$scope*/
|
|
4318
4334
|
4096) && de(
|
|
4319
|
-
|
|
4335
|
+
p,
|
|
4320
4336
|
f,
|
|
4321
4337
|
m,
|
|
4322
4338
|
/*$$scope*/
|
|
4323
4339
|
m[12],
|
|
4324
|
-
|
|
4340
|
+
s ? me(
|
|
4325
4341
|
f,
|
|
4326
4342
|
/*$$scope*/
|
|
4327
4343
|
m[12],
|
|
4328
4344
|
v,
|
|
4329
|
-
|
|
4345
|
+
Ri
|
|
4330
4346
|
) : pe(
|
|
4331
4347
|
/*$$scope*/
|
|
4332
4348
|
m[12]
|
|
4333
4349
|
),
|
|
4334
|
-
|
|
4335
|
-
) : g && g.p && (!
|
|
4336
|
-
58) && g.p(m,
|
|
4350
|
+
wt
|
|
4351
|
+
) : g && g.p && (!s || v & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
|
|
4352
|
+
58) && g.p(m, s ? v : -1), w ? w.p && (!s || v & /*$$scope*/
|
|
4337
4353
|
4096) && de(
|
|
4338
4354
|
w,
|
|
4339
4355
|
x,
|
|
4340
4356
|
m,
|
|
4341
4357
|
/*$$scope*/
|
|
4342
4358
|
m[12],
|
|
4343
|
-
|
|
4359
|
+
s ? me(
|
|
4344
4360
|
x,
|
|
4345
4361
|
/*$$scope*/
|
|
4346
4362
|
m[12],
|
|
4347
4363
|
v,
|
|
4348
|
-
|
|
4364
|
+
Ni
|
|
4349
4365
|
) : pe(
|
|
4350
4366
|
/*$$scope*/
|
|
4351
4367
|
m[12]
|
|
4352
4368
|
),
|
|
4353
|
-
|
|
4354
|
-
) : T && T.p && (!
|
|
4355
|
-
32) && T.p(m,
|
|
4369
|
+
Tt
|
|
4370
|
+
) : T && T.p && (!s || v & /*$_*/
|
|
4371
|
+
32) && T.p(m, s ? v : -1);
|
|
4356
4372
|
},
|
|
4357
4373
|
i(m) {
|
|
4358
|
-
|
|
4374
|
+
s || (te(u, m), te(c, m), te(g, m), te(T, m), s = !0);
|
|
4359
4375
|
},
|
|
4360
4376
|
o(m) {
|
|
4361
|
-
be(u, m), be(c, m), be(g, m), be(T, m),
|
|
4377
|
+
be(u, m), be(c, m), be(g, m), be(T, m), s = !1;
|
|
4362
4378
|
},
|
|
4363
4379
|
d(m) {
|
|
4364
4380
|
m && A(t), u && u.d(m), c && c.d(m), g && g.d(m), T && T.d(m), e[14](null);
|
|
4365
4381
|
}
|
|
4366
4382
|
};
|
|
4367
4383
|
}
|
|
4368
|
-
function
|
|
4384
|
+
function Vi(e, t, r) {
|
|
4369
4385
|
let n;
|
|
4370
|
-
|
|
4371
|
-
let { $$slots: i = {}, $$scope: a } = t, { assetsurl:
|
|
4386
|
+
pr(e, Oi, (d) => r(5, n = d));
|
|
4387
|
+
let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f = "" } = t, p, g, x = -1, w;
|
|
4372
4388
|
const T = () => {
|
|
4373
|
-
|
|
4374
|
-
}, m = () => {
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4389
|
+
Ii(o);
|
|
4390
|
+
}, m = () => Oe(this, null, function* () {
|
|
4391
|
+
if (c)
|
|
4392
|
+
try {
|
|
4393
|
+
const d = yield fetch(c);
|
|
4394
|
+
if (!d.ok)
|
|
4395
|
+
throw new Error(`HTTP error! status: ${d.status}`);
|
|
4396
|
+
const he = yield d.json();
|
|
4397
|
+
Object.entries(he).forEach(([sr, or]) => {
|
|
4398
|
+
Et(sr, or);
|
|
4399
|
+
});
|
|
4400
|
+
} catch (d) {
|
|
4401
|
+
console.error(d);
|
|
4402
|
+
}
|
|
4403
|
+
});
|
|
4404
|
+
Object.keys(xt).forEach((d) => {
|
|
4405
|
+
Et(d, xt[d]);
|
|
4386
4406
|
});
|
|
4387
4407
|
const v = () => {
|
|
4388
4408
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4389
|
-
},
|
|
4390
|
-
if (
|
|
4391
|
-
switch (
|
|
4409
|
+
}, R = (d) => {
|
|
4410
|
+
if (d.data)
|
|
4411
|
+
switch (d.data.type) {
|
|
4392
4412
|
case "DepositWageringAmount":
|
|
4393
|
-
r(3, x =
|
|
4413
|
+
r(3, x = d.data.amount), r(4, w = d.data.currency);
|
|
4394
4414
|
break;
|
|
4395
4415
|
}
|
|
4396
4416
|
};
|
|
4397
|
-
|
|
4398
|
-
window.removeEventListener("message",
|
|
4417
|
+
Tr(() => (window.addEventListener("message", R, !1), () => {
|
|
4418
|
+
window.removeEventListener("message", R);
|
|
4399
4419
|
}));
|
|
4400
|
-
function
|
|
4401
|
-
|
|
4402
|
-
|
|
4420
|
+
function O(d) {
|
|
4421
|
+
Ue[d ? "unshift" : "push"](() => {
|
|
4422
|
+
p = d, r(2, p);
|
|
4403
4423
|
});
|
|
4404
4424
|
}
|
|
4405
|
-
return e.$$set = (
|
|
4406
|
-
"assetsurl" in
|
|
4425
|
+
return e.$$set = (d) => {
|
|
4426
|
+
"assetsurl" in d && r(0, s = d.assetsurl), "lang" in d && r(7, o = d.lang), "errorcode" in d && r(1, l = d.errorcode), "clientstyling" in d && r(8, u = d.clientstyling), "clientstylingurl" in d && r(9, h = d.clientstylingurl), "translationurl" in d && r(10, c = d.translationurl), "mbsource" in d && r(11, f = d.mbsource), "$$scope" in d && r(12, a = d.$$scope);
|
|
4407
4427
|
}, e.$$.update = () => {
|
|
4408
4428
|
e.$$.dirty & /*lang*/
|
|
4409
|
-
128 &&
|
|
4410
|
-
260 && u &&
|
|
4411
|
-
516 && h &&
|
|
4412
|
-
2052 && f &&
|
|
4429
|
+
128 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4430
|
+
260 && u && p && Rr(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4431
|
+
516 && h && p && Dr(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4432
|
+
2052 && f && p && kr(p, `${f}.Style`, g), e.$$.dirty & /*translationurl*/
|
|
4413
4433
|
1024 && c && m();
|
|
4414
4434
|
}, [
|
|
4415
|
-
|
|
4435
|
+
s,
|
|
4416
4436
|
l,
|
|
4417
|
-
|
|
4437
|
+
p,
|
|
4418
4438
|
x,
|
|
4419
4439
|
w,
|
|
4420
4440
|
n,
|
|
4421
4441
|
v,
|
|
4422
|
-
|
|
4442
|
+
o,
|
|
4423
4443
|
u,
|
|
4424
4444
|
h,
|
|
4425
4445
|
c,
|
|
4426
4446
|
f,
|
|
4427
4447
|
a,
|
|
4428
4448
|
i,
|
|
4429
|
-
|
|
4449
|
+
O
|
|
4430
4450
|
];
|
|
4431
4451
|
}
|
|
4432
|
-
class
|
|
4452
|
+
class Wi extends Mr {
|
|
4433
4453
|
constructor(t) {
|
|
4434
4454
|
super(), Or(
|
|
4435
4455
|
this,
|
|
4436
4456
|
t,
|
|
4457
|
+
Vi,
|
|
4437
4458
|
ji,
|
|
4438
|
-
zi,
|
|
4439
4459
|
Ct,
|
|
4440
4460
|
{
|
|
4441
4461
|
assetsurl: 0,
|
|
@@ -4446,53 +4466,53 @@ class Vi extends Ir {
|
|
|
4446
4466
|
translationurl: 10,
|
|
4447
4467
|
mbsource: 11
|
|
4448
4468
|
},
|
|
4449
|
-
|
|
4469
|
+
Mi
|
|
4450
4470
|
);
|
|
4451
4471
|
}
|
|
4452
4472
|
get assetsurl() {
|
|
4453
4473
|
return this.$$.ctx[0];
|
|
4454
4474
|
}
|
|
4455
4475
|
set assetsurl(t) {
|
|
4456
|
-
this.$$set({ assetsurl: t }),
|
|
4476
|
+
this.$$set({ assetsurl: t }), I();
|
|
4457
4477
|
}
|
|
4458
4478
|
get lang() {
|
|
4459
4479
|
return this.$$.ctx[7];
|
|
4460
4480
|
}
|
|
4461
4481
|
set lang(t) {
|
|
4462
|
-
this.$$set({ lang: t }),
|
|
4482
|
+
this.$$set({ lang: t }), I();
|
|
4463
4483
|
}
|
|
4464
4484
|
get errorcode() {
|
|
4465
4485
|
return this.$$.ctx[1];
|
|
4466
4486
|
}
|
|
4467
4487
|
set errorcode(t) {
|
|
4468
|
-
this.$$set({ errorcode: t }),
|
|
4488
|
+
this.$$set({ errorcode: t }), I();
|
|
4469
4489
|
}
|
|
4470
4490
|
get clientstyling() {
|
|
4471
4491
|
return this.$$.ctx[8];
|
|
4472
4492
|
}
|
|
4473
4493
|
set clientstyling(t) {
|
|
4474
|
-
this.$$set({ clientstyling: t }),
|
|
4494
|
+
this.$$set({ clientstyling: t }), I();
|
|
4475
4495
|
}
|
|
4476
4496
|
get clientstylingurl() {
|
|
4477
4497
|
return this.$$.ctx[9];
|
|
4478
4498
|
}
|
|
4479
4499
|
set clientstylingurl(t) {
|
|
4480
|
-
this.$$set({ clientstylingurl: t }),
|
|
4500
|
+
this.$$set({ clientstylingurl: t }), I();
|
|
4481
4501
|
}
|
|
4482
4502
|
get translationurl() {
|
|
4483
4503
|
return this.$$.ctx[10];
|
|
4484
4504
|
}
|
|
4485
4505
|
set translationurl(t) {
|
|
4486
|
-
this.$$set({ translationurl: t }),
|
|
4506
|
+
this.$$set({ translationurl: t }), I();
|
|
4487
4507
|
}
|
|
4488
4508
|
get mbsource() {
|
|
4489
4509
|
return this.$$.ctx[11];
|
|
4490
4510
|
}
|
|
4491
4511
|
set mbsource(t) {
|
|
4492
|
-
this.$$set({ mbsource: t }),
|
|
4512
|
+
this.$$set({ mbsource: t }), I();
|
|
4493
4513
|
}
|
|
4494
4514
|
}
|
|
4495
|
-
|
|
4515
|
+
Ir(Wi, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4496
4516
|
export {
|
|
4497
|
-
|
|
4517
|
+
Wi as default
|
|
4498
4518
|
};
|