@everymatrix/cashier-error 1.94.36 → 1.94.37
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-CWyXDmZK.js → CashierError-B6xZMaYy.js} +1058 -902
- package/components/CashierError-BRRP4Gfd.cjs +5 -0
- package/components/{CashierError-ueWr7DsF.js → CashierError-C3Z7n-hx.js} +1077 -921
- 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-D0ilxxw-.cjs +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
|
-
function
|
|
2
|
+
function P() {
|
|
3
3
|
}
|
|
4
4
|
function rr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
@@ -9,68 +9,68 @@ function rr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function kt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ye() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
e.forEach(
|
|
18
|
+
function se(e) {
|
|
19
|
+
e.forEach(kt);
|
|
20
20
|
}
|
|
21
21
|
function qe(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function wt(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
let
|
|
28
|
-
function
|
|
29
|
-
return e === t ? !0 : (
|
|
27
|
+
let ce;
|
|
28
|
+
function Qe(e, t) {
|
|
29
|
+
return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
|
|
30
30
|
}
|
|
31
31
|
function nr(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function St(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
38
|
-
return
|
|
38
|
+
return P;
|
|
39
39
|
}
|
|
40
40
|
const r = e.subscribe(...t);
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
43
|
function ir(e, t, r) {
|
|
44
|
-
e.$$.on_destroy.push(
|
|
44
|
+
e.$$.on_destroy.push(St(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function he(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = At(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function At(e, t, r, n) {
|
|
53
53
|
return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function de(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
57
57
|
const i = e[2](n(r));
|
|
58
58
|
if (t.dirty === void 0)
|
|
59
59
|
return i;
|
|
60
60
|
if (typeof i == "object") {
|
|
61
|
-
const a = [],
|
|
62
|
-
for (let
|
|
63
|
-
a[
|
|
61
|
+
const a = [], s = Math.max(t.dirty.length, i.length);
|
|
62
|
+
for (let o = 0; o < s; o += 1)
|
|
63
|
+
a[o] = t.dirty[o] | i[o];
|
|
64
64
|
return a;
|
|
65
65
|
}
|
|
66
66
|
return t.dirty | i;
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function fe(e, t, r, n, i, a) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const
|
|
73
|
-
e.p(
|
|
72
|
+
const s = At(t, r, n, a);
|
|
73
|
+
e.p(s, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function me(e) {
|
|
@@ -82,17 +82,17 @@ function me(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function I(e, t) {
|
|
86
86
|
e.appendChild(t);
|
|
87
87
|
}
|
|
88
88
|
function ar(e, t, r) {
|
|
89
|
-
const n =
|
|
89
|
+
const n = sr(e);
|
|
90
90
|
if (!n.getElementById(t)) {
|
|
91
|
-
const i =
|
|
92
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
const i = B("style");
|
|
92
|
+
i.id = t, i.textContent = r, or(n, i);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function sr(e) {
|
|
96
96
|
if (!e)
|
|
97
97
|
return document;
|
|
98
98
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -102,49 +102,49 @@ function or(e) {
|
|
|
102
102
|
t
|
|
103
103
|
) : e.ownerDocument;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
105
|
+
function or(e, t) {
|
|
106
|
+
return I(
|
|
107
107
|
/** @type {Document} */
|
|
108
108
|
e.head || e,
|
|
109
109
|
t
|
|
110
110
|
), t.sheet;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function A(e, t, r) {
|
|
113
113
|
e.insertBefore(t, r || null);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function S(e) {
|
|
116
116
|
e.parentNode && e.parentNode.removeChild(e);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function B(e) {
|
|
119
119
|
return document.createElement(e);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function N(e) {
|
|
122
122
|
return document.createTextNode(e);
|
|
123
123
|
}
|
|
124
124
|
function j() {
|
|
125
|
-
return
|
|
125
|
+
return N(" ");
|
|
126
126
|
}
|
|
127
127
|
function Je() {
|
|
128
|
-
return
|
|
128
|
+
return N("");
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function lr(e, t, r, n) {
|
|
131
131
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function O(e, t, r) {
|
|
134
134
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function ge(e, t, r) {
|
|
137
137
|
const n = t.toLowerCase();
|
|
138
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
138
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : O(e, t, r);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function ur(e) {
|
|
141
141
|
return Array.from(e.childNodes);
|
|
142
142
|
}
|
|
143
143
|
function W(e, t) {
|
|
144
144
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
145
145
|
t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function cr(e) {
|
|
148
148
|
const t = {};
|
|
149
149
|
return e.childNodes.forEach(
|
|
150
150
|
/** @param {Element} node */
|
|
@@ -157,131 +157,131 @@ let ne;
|
|
|
157
157
|
function re(e) {
|
|
158
158
|
ne = e;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function hr() {
|
|
161
161
|
if (!ne)
|
|
162
162
|
throw new Error("Function called outside component initialization");
|
|
163
163
|
return ne;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
|
|
165
|
+
function dr(e) {
|
|
166
|
+
hr().$$.on_mount.push(e);
|
|
167
167
|
}
|
|
168
|
-
const z = [],
|
|
168
|
+
const z = [], Ne = [];
|
|
169
169
|
let V = [];
|
|
170
|
-
const et = [],
|
|
171
|
-
let
|
|
170
|
+
const et = [], fr = /* @__PURE__ */ Promise.resolve();
|
|
171
|
+
let Re = !1;
|
|
172
172
|
function mr() {
|
|
173
|
-
|
|
173
|
+
Re || (Re = !0, fr.then(L));
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Ue(e) {
|
|
176
176
|
V.push(e);
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
let
|
|
180
|
-
function
|
|
181
|
-
if (
|
|
178
|
+
const He = /* @__PURE__ */ new Set();
|
|
179
|
+
let F = 0;
|
|
180
|
+
function L() {
|
|
181
|
+
if (F !== 0)
|
|
182
182
|
return;
|
|
183
183
|
const e = ne;
|
|
184
184
|
do {
|
|
185
185
|
try {
|
|
186
|
-
for (;
|
|
187
|
-
const t = z[
|
|
188
|
-
|
|
186
|
+
for (; F < z.length; ) {
|
|
187
|
+
const t = z[F];
|
|
188
|
+
F++, re(t), gr(t.$$);
|
|
189
189
|
}
|
|
190
190
|
} catch (t) {
|
|
191
|
-
throw z.length = 0,
|
|
191
|
+
throw z.length = 0, F = 0, t;
|
|
192
192
|
}
|
|
193
|
-
for (re(null), z.length = 0,
|
|
194
|
-
|
|
193
|
+
for (re(null), z.length = 0, F = 0; Ne.length; )
|
|
194
|
+
Ne.pop()();
|
|
195
195
|
for (let t = 0; t < V.length; t += 1) {
|
|
196
196
|
const r = V[t];
|
|
197
|
-
|
|
197
|
+
He.has(r) || (He.add(r), r());
|
|
198
198
|
}
|
|
199
199
|
V.length = 0;
|
|
200
200
|
} while (z.length);
|
|
201
201
|
for (; et.length; )
|
|
202
202
|
et.pop()();
|
|
203
|
-
|
|
203
|
+
Re = !1, He.clear(), re(e);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function gr(e) {
|
|
206
206
|
if (e.fragment !== null) {
|
|
207
|
-
e.update(),
|
|
207
|
+
e.update(), se(e.before_update);
|
|
208
208
|
const t = e.dirty;
|
|
209
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
209
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function pr(e) {
|
|
213
213
|
const t = [], r = [];
|
|
214
214
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
215
215
|
}
|
|
216
|
-
const
|
|
216
|
+
const ve = /* @__PURE__ */ new Set();
|
|
217
217
|
let br;
|
|
218
218
|
function ee(e, t) {
|
|
219
|
-
e && e.i && (
|
|
219
|
+
e && e.i && (ve.delete(e), e.i(t));
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function pe(e, t, r, n) {
|
|
222
222
|
if (e && e.o) {
|
|
223
|
-
if (
|
|
223
|
+
if (ve.has(e))
|
|
224
224
|
return;
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
ve.add(e), br.c.push(() => {
|
|
226
|
+
ve.delete(e);
|
|
227
227
|
}), e.o(t);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function vr(e, t, r) {
|
|
231
231
|
const { fragment: n, after_update: i } = e.$$;
|
|
232
|
-
n && n.m(t, r),
|
|
233
|
-
const a = e.$$.on_mount.map(
|
|
234
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...a) :
|
|
235
|
-
}), i.forEach(
|
|
232
|
+
n && n.m(t, r), Ue(() => {
|
|
233
|
+
const a = e.$$.on_mount.map(kt).filter(qe);
|
|
234
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : se(a), e.$$.on_mount = [];
|
|
235
|
+
}), i.forEach(Ue);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function yr(e, t) {
|
|
238
238
|
const r = e.$$;
|
|
239
|
-
r.fragment !== null && (
|
|
239
|
+
r.fragment !== null && (pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Er(e, t) {
|
|
242
242
|
e.$$.dirty[0] === -1 && (z.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
const
|
|
244
|
+
function _r(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
245
|
+
const u = ne;
|
|
246
246
|
re(e);
|
|
247
|
-
const
|
|
247
|
+
const l = e.$$ = {
|
|
248
248
|
fragment: null,
|
|
249
249
|
ctx: [],
|
|
250
250
|
// state
|
|
251
251
|
props: a,
|
|
252
|
-
update:
|
|
252
|
+
update: P,
|
|
253
253
|
not_equal: i,
|
|
254
|
-
bound:
|
|
254
|
+
bound: Ye(),
|
|
255
255
|
// lifecycle
|
|
256
256
|
on_mount: [],
|
|
257
257
|
on_destroy: [],
|
|
258
258
|
on_disconnect: [],
|
|
259
259
|
before_update: [],
|
|
260
260
|
after_update: [],
|
|
261
|
-
context: new Map(t.context || (
|
|
261
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
262
262
|
// everything else
|
|
263
|
-
callbacks:
|
|
264
|
-
dirty:
|
|
263
|
+
callbacks: Ye(),
|
|
264
|
+
dirty: o,
|
|
265
265
|
skip_bound: !1,
|
|
266
|
-
root: t.target ||
|
|
266
|
+
root: t.target || u.$$.root
|
|
267
267
|
};
|
|
268
|
-
|
|
269
|
-
let
|
|
270
|
-
if (
|
|
271
|
-
const
|
|
272
|
-
return
|
|
273
|
-
}) : [],
|
|
268
|
+
s && s(l.root);
|
|
269
|
+
let c = !1;
|
|
270
|
+
if (l.ctx = r ? r(e, t.props || {}, (h, d, ...g) => {
|
|
271
|
+
const p = g.length ? g[0] : d;
|
|
272
|
+
return l.ctx && i(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), c && Er(e, h)), d;
|
|
273
|
+
}) : [], l.update(), c = !0, se(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
274
274
|
if (t.hydrate) {
|
|
275
|
-
const
|
|
276
|
-
|
|
275
|
+
const h = ur(t.target);
|
|
276
|
+
l.fragment && l.fragment.l(h), h.forEach(S);
|
|
277
277
|
} else
|
|
278
|
-
|
|
279
|
-
t.intro && ee(e.$$.fragment),
|
|
278
|
+
l.fragment && l.fragment.c();
|
|
279
|
+
t.intro && ee(e.$$.fragment), vr(e, t.target, t.anchor), L();
|
|
280
280
|
}
|
|
281
|
-
re(
|
|
281
|
+
re(u);
|
|
282
282
|
}
|
|
283
|
-
let
|
|
284
|
-
typeof HTMLElement == "function" && (
|
|
283
|
+
let It;
|
|
284
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
285
285
|
/** The Svelte component constructor */
|
|
286
286
|
$$ctor;
|
|
287
287
|
/** Slots */
|
|
@@ -323,29 +323,29 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
323
323
|
let a;
|
|
324
324
|
return {
|
|
325
325
|
c: function() {
|
|
326
|
-
a =
|
|
326
|
+
a = B("slot"), i !== "default" && O(a, "name", i);
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
329
|
* @param {HTMLElement} target
|
|
330
330
|
* @param {HTMLElement} [anchor]
|
|
331
331
|
*/
|
|
332
|
-
m: function(
|
|
333
|
-
|
|
332
|
+
m: function(u, l) {
|
|
333
|
+
A(u, a, l);
|
|
334
334
|
},
|
|
335
|
-
d: function(
|
|
336
|
-
|
|
335
|
+
d: function(u) {
|
|
336
|
+
u && S(a);
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
342
342
|
return;
|
|
343
|
-
const t = {}, r =
|
|
343
|
+
const t = {}, r = cr(this);
|
|
344
344
|
for (const i of this.$$s)
|
|
345
345
|
i in r && (t[i] = [e(i)]);
|
|
346
346
|
for (const i of this.attributes) {
|
|
347
347
|
const a = this.$$g_p(i.name);
|
|
348
|
-
a in this.$$d || (this.$$d[a] =
|
|
348
|
+
a in this.$$d || (this.$$d[a] = ye(a, i.value, this.$$p_d, "toProp"));
|
|
349
349
|
}
|
|
350
350
|
for (const i in this.$$p_d)
|
|
351
351
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
363
363
|
this.$$r = !0;
|
|
364
364
|
for (const i in this.$$p_d)
|
|
365
365
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
366
|
-
const a =
|
|
366
|
+
const a = ye(
|
|
367
367
|
i,
|
|
368
368
|
this.$$d[i],
|
|
369
369
|
this.$$p_d,
|
|
@@ -376,8 +376,8 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
376
376
|
this.$$c.$$.after_update.push(n), n();
|
|
377
377
|
for (const i in this.$$l)
|
|
378
378
|
for (const a of this.$$l[i]) {
|
|
379
|
-
const
|
|
380
|
-
this.$$l_u.set(a,
|
|
379
|
+
const s = this.$$c.$on(i, a);
|
|
380
|
+
this.$$l_u.set(a, s);
|
|
381
381
|
}
|
|
382
382
|
this.$$l = {};
|
|
383
383
|
}
|
|
@@ -385,7 +385,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
385
385
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
386
386
|
// and setting attributes through setAttribute etc, this is helpful
|
|
387
387
|
attributeChangedCallback(e, t, r) {
|
|
388
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
388
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
389
389
|
}
|
|
390
390
|
disconnectedCallback() {
|
|
391
391
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -398,7 +398,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
398
398
|
) || e;
|
|
399
399
|
}
|
|
400
400
|
});
|
|
401
|
-
function
|
|
401
|
+
function ye(e, t, r, n) {
|
|
402
402
|
const i = r[e]?.type;
|
|
403
403
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
404
404
|
return t;
|
|
@@ -428,33 +428,33 @@ function ve(e, t, r, n) {
|
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
function xr(e, t, r, n, i, a) {
|
|
431
|
-
let
|
|
431
|
+
let s = class extends It {
|
|
432
432
|
constructor() {
|
|
433
433
|
super(e, r, i), this.$$p_d = t;
|
|
434
434
|
}
|
|
435
435
|
static get observedAttributes() {
|
|
436
436
|
return Object.keys(t).map(
|
|
437
|
-
(
|
|
437
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
438
438
|
);
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
|
-
return Object.keys(t).forEach((
|
|
442
|
-
Object.defineProperty(
|
|
441
|
+
return Object.keys(t).forEach((o) => {
|
|
442
|
+
Object.defineProperty(s.prototype, o, {
|
|
443
443
|
get() {
|
|
444
|
-
return this.$$c &&
|
|
444
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
445
445
|
},
|
|
446
|
-
set(
|
|
447
|
-
|
|
446
|
+
set(u) {
|
|
447
|
+
u = ye(o, u, t), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
}), n.forEach((
|
|
451
|
-
Object.defineProperty(
|
|
450
|
+
}), n.forEach((o) => {
|
|
451
|
+
Object.defineProperty(s.prototype, o, {
|
|
452
452
|
get() {
|
|
453
|
-
return this.$$c?.[
|
|
453
|
+
return this.$$c?.[o];
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
}), e.element = /** @type {any} */
|
|
457
|
-
|
|
457
|
+
s, s;
|
|
458
458
|
}
|
|
459
459
|
class Tr {
|
|
460
460
|
/**
|
|
@@ -475,7 +475,7 @@ class Tr {
|
|
|
475
475
|
$$set = void 0;
|
|
476
476
|
/** @returns {void} */
|
|
477
477
|
$destroy() {
|
|
478
|
-
|
|
478
|
+
yr(this, 1), this.$destroy = P;
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
481
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -485,7 +485,7 @@ class Tr {
|
|
|
485
485
|
*/
|
|
486
486
|
$on(t, r) {
|
|
487
487
|
if (!qe(r))
|
|
488
|
-
return
|
|
488
|
+
return P;
|
|
489
489
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
490
490
|
return n.push(r), () => {
|
|
491
491
|
const i = n.indexOf(r);
|
|
@@ -500,16 +500,16 @@ class Tr {
|
|
|
500
500
|
this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
const
|
|
504
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
505
|
-
const
|
|
506
|
-
function
|
|
503
|
+
const kr = "4";
|
|
504
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
|
|
505
|
+
const G = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
506
|
+
function wr(e, t) {
|
|
507
507
|
if (e) {
|
|
508
508
|
const r = document.createElement("style");
|
|
509
509
|
r.innerHTML = t, e.appendChild(r);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function Sr(e, t) {
|
|
513
513
|
if (!e || !t)
|
|
514
514
|
return;
|
|
515
515
|
const r = new URL(t);
|
|
@@ -520,147 +520,147 @@ function Ar(e, t) {
|
|
|
520
520
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Ar(e, t, r, n = !1) {
|
|
524
524
|
if (!window.emMessageBus)
|
|
525
525
|
return;
|
|
526
526
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
527
|
-
return r =
|
|
528
|
-
window[
|
|
529
|
-
const a = r.unsubscribe.bind(r),
|
|
530
|
-
if (window[
|
|
531
|
-
const
|
|
532
|
-
|
|
527
|
+
return r = Ir(e, t), r;
|
|
528
|
+
window[G] || (window[G] = {}), r = Br(e, t);
|
|
529
|
+
const a = r.unsubscribe.bind(r), s = () => {
|
|
530
|
+
if (window[G][t]) {
|
|
531
|
+
const o = window[G][t];
|
|
532
|
+
o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[G][t];
|
|
533
533
|
}
|
|
534
534
|
a();
|
|
535
535
|
};
|
|
536
|
-
return r.unsubscribe =
|
|
536
|
+
return r.unsubscribe = s, r;
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Ir(e, t) {
|
|
539
539
|
const r = document.createElement("style");
|
|
540
540
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
541
541
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Br(e, t) {
|
|
545
545
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
546
546
|
if (!e)
|
|
547
547
|
return;
|
|
548
|
-
const n = e.getRootNode(), i = window[
|
|
548
|
+
const n = e.getRootNode(), i = window[G];
|
|
549
549
|
let a = i[t] && i[t].sheet;
|
|
550
550
|
a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
|
|
551
551
|
sheet: a,
|
|
552
552
|
refCount: 1
|
|
553
553
|
});
|
|
554
|
-
const
|
|
555
|
-
|
|
554
|
+
const s = n.adoptedStyleSheets || [];
|
|
555
|
+
s.includes(a) || (n.adoptedStyleSheets = [...s, a]);
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
|
-
const
|
|
559
|
-
function
|
|
558
|
+
const $ = [];
|
|
559
|
+
function Hr(e, t) {
|
|
560
560
|
return {
|
|
561
|
-
subscribe:
|
|
561
|
+
subscribe: Se(e, t).subscribe
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Se(e, t = P) {
|
|
565
565
|
let r;
|
|
566
566
|
const n = /* @__PURE__ */ new Set();
|
|
567
|
-
function i(
|
|
568
|
-
if (
|
|
569
|
-
const
|
|
570
|
-
for (const
|
|
571
|
-
|
|
572
|
-
if (
|
|
573
|
-
for (let
|
|
574
|
-
|
|
575
|
-
|
|
567
|
+
function i(o) {
|
|
568
|
+
if (wt(e, o) && (e = o, r)) {
|
|
569
|
+
const u = !$.length;
|
|
570
|
+
for (const l of n)
|
|
571
|
+
l[1](), $.push(l, e);
|
|
572
|
+
if (u) {
|
|
573
|
+
for (let l = 0; l < $.length; l += 2)
|
|
574
|
+
$[l][0]($[l + 1]);
|
|
575
|
+
$.length = 0;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
function a(
|
|
580
|
-
i(
|
|
579
|
+
function a(o) {
|
|
580
|
+
i(o(e));
|
|
581
581
|
}
|
|
582
|
-
function o
|
|
583
|
-
const
|
|
584
|
-
return n.add(
|
|
585
|
-
n.delete(
|
|
582
|
+
function s(o, u = P) {
|
|
583
|
+
const l = [o, u];
|
|
584
|
+
return n.add(l), n.size === 1 && (r = t(i, a) || P), o(e), () => {
|
|
585
|
+
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
|
-
return { set: i, update: a, subscribe:
|
|
588
|
+
return { set: i, update: a, subscribe: s };
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Z(e, t, r) {
|
|
591
591
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
592
592
|
if (!i.every(Boolean))
|
|
593
593
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
594
594
|
const a = t.length < 2;
|
|
595
|
-
return
|
|
596
|
-
let
|
|
597
|
-
const
|
|
598
|
-
let
|
|
599
|
-
const
|
|
600
|
-
if (
|
|
595
|
+
return Hr(r, (s, o) => {
|
|
596
|
+
let u = !1;
|
|
597
|
+
const l = [];
|
|
598
|
+
let c = 0, h = P;
|
|
599
|
+
const d = () => {
|
|
600
|
+
if (c)
|
|
601
601
|
return;
|
|
602
|
-
|
|
603
|
-
const
|
|
604
|
-
a ?
|
|
605
|
-
},
|
|
606
|
-
(
|
|
607
|
-
|
|
608
|
-
(
|
|
609
|
-
|
|
602
|
+
h();
|
|
603
|
+
const p = t(n ? l[0] : l, s, o);
|
|
604
|
+
a ? s(p) : h = qe(p) ? p : P;
|
|
605
|
+
}, g = i.map(
|
|
606
|
+
(p, x) => St(
|
|
607
|
+
p,
|
|
608
|
+
(k) => {
|
|
609
|
+
l[x] = k, c &= ~(1 << x), u && d();
|
|
610
610
|
},
|
|
611
611
|
() => {
|
|
612
|
-
|
|
612
|
+
c |= 1 << x;
|
|
613
613
|
}
|
|
614
614
|
)
|
|
615
615
|
);
|
|
616
|
-
return
|
|
617
|
-
|
|
616
|
+
return u = !0, d(), function() {
|
|
617
|
+
se(g), h(), u = !1;
|
|
618
618
|
};
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Cr(e) {
|
|
622
622
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
return
|
|
624
|
+
var Lr = function(t) {
|
|
625
|
+
return Pr(t) && !Or(t);
|
|
626
626
|
};
|
|
627
|
-
function
|
|
627
|
+
function Pr(e) {
|
|
628
628
|
return !!e && typeof e == "object";
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function Or(e) {
|
|
631
631
|
var t = Object.prototype.toString.call(e);
|
|
632
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
632
|
+
return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
|
|
633
633
|
}
|
|
634
|
-
var
|
|
635
|
-
function
|
|
636
|
-
return e.$$typeof ===
|
|
634
|
+
var Mr = typeof Symbol == "function" && Symbol.for, Dr = Mr ? Symbol.for("react.element") : 60103;
|
|
635
|
+
function Nr(e) {
|
|
636
|
+
return e.$$typeof === Dr;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Rr(e) {
|
|
639
639
|
return Array.isArray(e) ? [] : {};
|
|
640
640
|
}
|
|
641
641
|
function ie(e, t) {
|
|
642
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? X(
|
|
642
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(Rr(e), e, t) : e;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Ur(e, t, r) {
|
|
645
645
|
return e.concat(t).map(function(n) {
|
|
646
646
|
return ie(n, r);
|
|
647
647
|
});
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Fr(e, t) {
|
|
650
650
|
if (!t.customMerge)
|
|
651
651
|
return X;
|
|
652
652
|
var r = t.customMerge(e);
|
|
653
653
|
return typeof r == "function" ? r : X;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function $r(e) {
|
|
656
656
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
657
657
|
return Object.propertyIsEnumerable.call(e, t);
|
|
658
658
|
}) : [];
|
|
659
659
|
}
|
|
660
660
|
function tt(e) {
|
|
661
|
-
return Object.keys(e).concat(
|
|
661
|
+
return Object.keys(e).concat($r(e));
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Bt(e, t) {
|
|
664
664
|
try {
|
|
665
665
|
return t in e;
|
|
666
666
|
} catch {
|
|
@@ -668,20 +668,20 @@ function Ct(e, t) {
|
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
function zr(e, t) {
|
|
671
|
-
return
|
|
671
|
+
return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function Gr(e, t, r) {
|
|
674
674
|
var n = {};
|
|
675
675
|
return r.isMergeableObject(e) && tt(e).forEach(function(i) {
|
|
676
676
|
n[i] = ie(e[i], r);
|
|
677
677
|
}), tt(t).forEach(function(i) {
|
|
678
|
-
zr(e, i) || (
|
|
678
|
+
zr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
679
679
|
}), n;
|
|
680
680
|
}
|
|
681
681
|
function X(e, t, r) {
|
|
682
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
682
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
683
683
|
var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
|
|
684
|
-
return a ? n ? r.arrayMerge(e, t, r) :
|
|
684
|
+
return a ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : ie(t, r);
|
|
685
685
|
}
|
|
686
686
|
X.all = function(t, r) {
|
|
687
687
|
if (!Array.isArray(t))
|
|
@@ -691,33 +691,33 @@ X.all = function(t, r) {
|
|
|
691
691
|
}, {});
|
|
692
692
|
};
|
|
693
693
|
var jr = X, Vr = jr;
|
|
694
|
-
const Wr = /* @__PURE__ */
|
|
695
|
-
var
|
|
696
|
-
return
|
|
694
|
+
const Wr = /* @__PURE__ */ Cr(Vr);
|
|
695
|
+
var Fe = function(e, t) {
|
|
696
|
+
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
697
697
|
r.__proto__ = n;
|
|
698
698
|
} || function(r, n) {
|
|
699
699
|
for (var i in n)
|
|
700
700
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
701
|
-
},
|
|
701
|
+
}, Fe(e, t);
|
|
702
702
|
};
|
|
703
|
-
function
|
|
703
|
+
function Ae(e, t) {
|
|
704
704
|
if (typeof t != "function" && t !== null)
|
|
705
705
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
706
|
-
|
|
706
|
+
Fe(e, t);
|
|
707
707
|
function r() {
|
|
708
708
|
this.constructor = e;
|
|
709
709
|
}
|
|
710
710
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
711
711
|
}
|
|
712
|
-
var
|
|
713
|
-
return
|
|
712
|
+
var H = function() {
|
|
713
|
+
return H = Object.assign || function(t) {
|
|
714
714
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
715
715
|
r = arguments[n];
|
|
716
716
|
for (var a in r)
|
|
717
717
|
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
718
718
|
}
|
|
719
719
|
return t;
|
|
720
|
-
},
|
|
720
|
+
}, H.apply(this, arguments);
|
|
721
721
|
};
|
|
722
722
|
function Xr(e, t) {
|
|
723
723
|
var r = {};
|
|
@@ -728,14 +728,14 @@ function Xr(e, t) {
|
|
|
728
728
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
729
729
|
return r;
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function Ce(e, t, r) {
|
|
732
732
|
if (r || arguments.length === 2)
|
|
733
733
|
for (var n = 0, i = t.length, a; n < i; n++)
|
|
734
734
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
735
735
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
736
736
|
}
|
|
737
|
-
function
|
|
738
|
-
var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer :
|
|
737
|
+
function Le(e, t) {
|
|
738
|
+
var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Kr;
|
|
739
739
|
return i(e, {
|
|
740
740
|
cache: r,
|
|
741
741
|
serializer: n
|
|
@@ -748,23 +748,23 @@ function Jr(e, t, r, n) {
|
|
|
748
748
|
var i = qr(n) ? n : r(n), a = t.get(i);
|
|
749
749
|
return typeof a > "u" && (a = e.call(this, n), t.set(i, a)), a;
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Ht(e, t, r) {
|
|
752
752
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
|
|
753
753
|
return typeof a > "u" && (a = e.apply(this, n), t.set(i, a)), a;
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function Ct(e, t, r, n, i) {
|
|
756
756
|
return r.bind(t, e, n, i);
|
|
757
757
|
}
|
|
758
|
-
function
|
|
759
|
-
var r = e.length === 1 ? Jr :
|
|
760
|
-
return
|
|
758
|
+
function Kr(e, t) {
|
|
759
|
+
var r = e.length === 1 ? Jr : Ht;
|
|
760
|
+
return Ct(e, this, r, t.cache.create(), t.serializer);
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return
|
|
762
|
+
function Zr(e, t) {
|
|
763
|
+
return Ct(e, this, Ht, t.cache.create(), t.serializer);
|
|
764
764
|
}
|
|
765
|
-
var
|
|
765
|
+
var Yr = function() {
|
|
766
766
|
return JSON.stringify(arguments);
|
|
767
|
-
},
|
|
767
|
+
}, Qr = (
|
|
768
768
|
/** @class */
|
|
769
769
|
function() {
|
|
770
770
|
function e() {
|
|
@@ -778,10 +778,10 @@ var Qr = function() {
|
|
|
778
778
|
}()
|
|
779
779
|
), en = {
|
|
780
780
|
create: function() {
|
|
781
|
-
return new
|
|
781
|
+
return new Qr();
|
|
782
782
|
}
|
|
783
|
-
},
|
|
784
|
-
variadic:
|
|
783
|
+
}, Pe = {
|
|
784
|
+
variadic: Zr
|
|
785
785
|
}, xe = function() {
|
|
786
786
|
return xe = Object.assign || function(t) {
|
|
787
787
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -796,48 +796,48 @@ var b;
|
|
|
796
796
|
(function(e) {
|
|
797
797
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
798
798
|
})(b || (b = {}));
|
|
799
|
-
var
|
|
799
|
+
var E;
|
|
800
800
|
(function(e) {
|
|
801
801
|
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";
|
|
802
|
-
})(
|
|
802
|
+
})(E || (E = {}));
|
|
803
803
|
var q;
|
|
804
804
|
(function(e) {
|
|
805
805
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
806
806
|
})(q || (q = {}));
|
|
807
807
|
function rt(e) {
|
|
808
|
-
return e.type ===
|
|
808
|
+
return e.type === E.literal;
|
|
809
809
|
}
|
|
810
810
|
function tn(e) {
|
|
811
|
-
return e.type ===
|
|
811
|
+
return e.type === E.argument;
|
|
812
|
+
}
|
|
813
|
+
function Lt(e) {
|
|
814
|
+
return e.type === E.number;
|
|
812
815
|
}
|
|
813
|
-
function
|
|
814
|
-
return e.type ===
|
|
816
|
+
function Pt(e) {
|
|
817
|
+
return e.type === E.date;
|
|
815
818
|
}
|
|
816
819
|
function Ot(e) {
|
|
817
|
-
return e.type ===
|
|
820
|
+
return e.type === E.time;
|
|
818
821
|
}
|
|
819
822
|
function Mt(e) {
|
|
820
|
-
return e.type ===
|
|
823
|
+
return e.type === E.select;
|
|
821
824
|
}
|
|
822
|
-
function
|
|
823
|
-
return e.type ===
|
|
824
|
-
}
|
|
825
|
-
function Rt(e) {
|
|
826
|
-
return e.type === _.plural;
|
|
825
|
+
function Dt(e) {
|
|
826
|
+
return e.type === E.plural;
|
|
827
827
|
}
|
|
828
828
|
function rn(e) {
|
|
829
|
-
return e.type ===
|
|
829
|
+
return e.type === E.pound;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
832
|
-
return e.type ===
|
|
831
|
+
function Nt(e) {
|
|
832
|
+
return e.type === E.tag;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function Rt(e) {
|
|
835
835
|
return !!(e && typeof e == "object" && e.type === q.number);
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function $e(e) {
|
|
838
838
|
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
839
839
|
}
|
|
840
|
-
var
|
|
840
|
+
var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
|
|
841
841
|
function an(e) {
|
|
842
842
|
var t = {};
|
|
843
843
|
return e.replace(nn, function(r) {
|
|
@@ -929,42 +929,42 @@ function an(e) {
|
|
|
929
929
|
return "";
|
|
930
930
|
}), t;
|
|
931
931
|
}
|
|
932
|
-
var
|
|
933
|
-
return
|
|
932
|
+
var _ = function() {
|
|
933
|
+
return _ = Object.assign || function(t) {
|
|
934
934
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
935
935
|
r = arguments[n];
|
|
936
936
|
for (var a in r)
|
|
937
937
|
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
938
938
|
}
|
|
939
939
|
return t;
|
|
940
|
-
},
|
|
940
|
+
}, _.apply(this, arguments);
|
|
941
941
|
};
|
|
942
|
-
var
|
|
943
|
-
function
|
|
942
|
+
var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
943
|
+
function on(e) {
|
|
944
944
|
if (e.length === 0)
|
|
945
945
|
throw new Error("Number skeleton cannot be empty");
|
|
946
|
-
for (var t = e.split(
|
|
947
|
-
return
|
|
946
|
+
for (var t = e.split(sn).filter(function(d) {
|
|
947
|
+
return d.length > 0;
|
|
948
948
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
949
|
-
var a = i[n],
|
|
950
|
-
if (
|
|
949
|
+
var a = i[n], s = a.split("/");
|
|
950
|
+
if (s.length === 0)
|
|
951
951
|
throw new Error("Invalid number skeleton");
|
|
952
|
-
for (var
|
|
953
|
-
var
|
|
954
|
-
if (
|
|
952
|
+
for (var o = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
953
|
+
var h = c[l];
|
|
954
|
+
if (h.length === 0)
|
|
955
955
|
throw new Error("Invalid number skeleton");
|
|
956
956
|
}
|
|
957
|
-
r.push({ stem:
|
|
957
|
+
r.push({ stem: o, options: u });
|
|
958
958
|
}
|
|
959
959
|
return r;
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function ln(e) {
|
|
962
962
|
return e.replace(/^(.*?)-/, "");
|
|
963
963
|
}
|
|
964
|
-
var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
964
|
+
var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
|
|
965
965
|
function it(e) {
|
|
966
966
|
var t = {};
|
|
967
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
967
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
968
968
|
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)), "";
|
|
969
969
|
}), t;
|
|
970
970
|
}
|
|
@@ -1008,7 +1008,7 @@ function zt(e) {
|
|
|
1008
1008
|
};
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function cn(e) {
|
|
1012
1012
|
var t;
|
|
1013
1013
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1014
1014
|
notation: "engineering"
|
|
@@ -1016,7 +1016,7 @@ function hn(e) {
|
|
|
1016
1016
|
notation: "scientific"
|
|
1017
1017
|
}, e = e.slice(1)), t) {
|
|
1018
1018
|
var r = e.slice(0, 2);
|
|
1019
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)),
|
|
1019
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
|
|
1020
1020
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1021
1021
|
t.minimumIntegerDigits = e.length;
|
|
1022
1022
|
}
|
|
@@ -1026,7 +1026,7 @@ function at(e) {
|
|
|
1026
1026
|
var t = {}, r = zt(e);
|
|
1027
1027
|
return r || t;
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function hn(e) {
|
|
1030
1030
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1031
1031
|
var i = n[r];
|
|
1032
1032
|
switch (i.stem) {
|
|
@@ -1050,7 +1050,7 @@ function cn(e) {
|
|
|
1050
1050
|
continue;
|
|
1051
1051
|
case "measure-unit":
|
|
1052
1052
|
case "unit":
|
|
1053
|
-
t.style = "unit", t.unit =
|
|
1053
|
+
t.style = "unit", t.unit = ln(i.options[0]);
|
|
1054
1054
|
continue;
|
|
1055
1055
|
case "compact-short":
|
|
1056
1056
|
case "K":
|
|
@@ -1061,13 +1061,13 @@ function cn(e) {
|
|
|
1061
1061
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1062
1062
|
continue;
|
|
1063
1063
|
case "scientific":
|
|
1064
|
-
t =
|
|
1065
|
-
return
|
|
1064
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1065
|
+
return _(_({}, u), at(l));
|
|
1066
1066
|
}, {}));
|
|
1067
1067
|
continue;
|
|
1068
1068
|
case "engineering":
|
|
1069
|
-
t =
|
|
1070
|
-
return
|
|
1069
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1070
|
+
return _(_({}, u), at(l));
|
|
1071
1071
|
}, {}));
|
|
1072
1072
|
continue;
|
|
1073
1073
|
case "notation-simple":
|
|
@@ -1112,41 +1112,41 @@ function cn(e) {
|
|
|
1112
1112
|
case "integer-width":
|
|
1113
1113
|
if (i.options.length > 1)
|
|
1114
1114
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1115
|
-
i.options[0].replace(
|
|
1116
|
-
if (
|
|
1117
|
-
t.minimumIntegerDigits =
|
|
1115
|
+
i.options[0].replace(un, function(u, l, c, h, d, g) {
|
|
1116
|
+
if (l)
|
|
1117
|
+
t.minimumIntegerDigits = c.length;
|
|
1118
1118
|
else {
|
|
1119
|
-
if (
|
|
1119
|
+
if (h && d)
|
|
1120
1120
|
throw new Error("We currently do not support maximum integer digits");
|
|
1121
|
-
if (
|
|
1121
|
+
if (g)
|
|
1122
1122
|
throw new Error("We currently do not support exact integer digits");
|
|
1123
1123
|
}
|
|
1124
1124
|
return "";
|
|
1125
1125
|
});
|
|
1126
1126
|
continue;
|
|
1127
1127
|
}
|
|
1128
|
-
if (
|
|
1128
|
+
if ($t.test(i.stem)) {
|
|
1129
1129
|
t.minimumIntegerDigits = i.stem.length;
|
|
1130
1130
|
continue;
|
|
1131
1131
|
}
|
|
1132
1132
|
if (nt.test(i.stem)) {
|
|
1133
1133
|
if (i.options.length > 1)
|
|
1134
1134
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1135
|
-
i.stem.replace(nt, function(l,
|
|
1136
|
-
return
|
|
1135
|
+
i.stem.replace(nt, function(u, l, c, h, d, g) {
|
|
1136
|
+
return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1137
1137
|
});
|
|
1138
1138
|
var a = i.options[0];
|
|
1139
|
-
a === "w" ? t =
|
|
1139
|
+
a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), it(a)));
|
|
1140
1140
|
continue;
|
|
1141
1141
|
}
|
|
1142
|
-
if (
|
|
1143
|
-
t =
|
|
1142
|
+
if (Ft.test(i.stem)) {
|
|
1143
|
+
t = _(_({}, t), it(i.stem));
|
|
1144
1144
|
continue;
|
|
1145
1145
|
}
|
|
1146
|
-
var
|
|
1147
|
-
|
|
1148
|
-
var
|
|
1149
|
-
|
|
1146
|
+
var s = zt(i.stem);
|
|
1147
|
+
s && (t = _(_({}, t), s));
|
|
1148
|
+
var o = cn(i.stem);
|
|
1149
|
+
o && (t = _(_({}, t), o));
|
|
1150
1150
|
}
|
|
1151
1151
|
return t;
|
|
1152
1152
|
}
|
|
@@ -2565,23 +2565,23 @@ var be = {
|
|
|
2565
2565
|
"h"
|
|
2566
2566
|
]
|
|
2567
2567
|
};
|
|
2568
|
-
function
|
|
2568
|
+
function dn(e, t) {
|
|
2569
2569
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2570
2570
|
var i = e.charAt(n);
|
|
2571
2571
|
if (i === "j") {
|
|
2572
2572
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2573
2573
|
a++, n++;
|
|
2574
|
-
var
|
|
2575
|
-
for ((
|
|
2576
|
-
r +=
|
|
2577
|
-
for (;
|
|
2578
|
-
r =
|
|
2574
|
+
var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = fn(t);
|
|
2575
|
+
for ((l == "H" || l == "k") && (o = 0); o-- > 0; )
|
|
2576
|
+
r += u;
|
|
2577
|
+
for (; s-- > 0; )
|
|
2578
|
+
r = l + r;
|
|
2579
2579
|
} else
|
|
2580
2580
|
i === "J" ? r += "H" : r += i;
|
|
2581
2581
|
}
|
|
2582
2582
|
return r;
|
|
2583
2583
|
}
|
|
2584
|
-
function
|
|
2584
|
+
function fn(e) {
|
|
2585
2585
|
var t = e.hourCycle;
|
|
2586
2586
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2587
2587
|
e.hourCycles && // @ts-ignore
|
|
@@ -2603,20 +2603,20 @@ function dn(e) {
|
|
|
2603
2603
|
var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
2604
2604
|
return i[0];
|
|
2605
2605
|
}
|
|
2606
|
-
var
|
|
2607
|
-
function
|
|
2606
|
+
var Oe, mn = new RegExp("^".concat(Ut.source, "*")), gn = new RegExp("".concat(Ut.source, "*$"));
|
|
2607
|
+
function v(e, t) {
|
|
2608
2608
|
return { start: e, end: t };
|
|
2609
2609
|
}
|
|
2610
|
-
var
|
|
2610
|
+
var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, vn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, Tn = xn ? Number.isSafeInteger : function(e) {
|
|
2611
2611
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2612
2612
|
}, ze = !0;
|
|
2613
2613
|
try {
|
|
2614
|
-
var
|
|
2615
|
-
ze = ((
|
|
2614
|
+
var kn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2615
|
+
ze = ((Oe = kn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2616
2616
|
} catch {
|
|
2617
2617
|
ze = !1;
|
|
2618
2618
|
}
|
|
2619
|
-
var
|
|
2619
|
+
var st = pn ? (
|
|
2620
2620
|
// Native
|
|
2621
2621
|
function(t, r, n) {
|
|
2622
2622
|
return t.startsWith(r, n);
|
|
@@ -2626,31 +2626,31 @@ var ot = gn ? (
|
|
|
2626
2626
|
function(t, r, n) {
|
|
2627
2627
|
return t.slice(n, n + r.length) === r;
|
|
2628
2628
|
}
|
|
2629
|
-
),
|
|
2629
|
+
), Ge = bn ? String.fromCodePoint : (
|
|
2630
2630
|
// IE11
|
|
2631
2631
|
function() {
|
|
2632
2632
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2633
2633
|
t[r] = arguments[r];
|
|
2634
|
-
for (var n = "", i = t.length, a = 0,
|
|
2635
|
-
if (
|
|
2636
|
-
throw RangeError(
|
|
2637
|
-
n +=
|
|
2634
|
+
for (var n = "", i = t.length, a = 0, s; i > a; ) {
|
|
2635
|
+
if (s = t[a++], s > 1114111)
|
|
2636
|
+
throw RangeError(s + " is not a valid code point");
|
|
2637
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2638
2638
|
}
|
|
2639
2639
|
return n;
|
|
2640
2640
|
}
|
|
2641
|
-
),
|
|
2641
|
+
), ot = (
|
|
2642
2642
|
// native
|
|
2643
|
-
|
|
2643
|
+
vn ? Object.fromEntries : (
|
|
2644
2644
|
// Ponyfill
|
|
2645
2645
|
function(t) {
|
|
2646
2646
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2647
|
-
var a = i[n],
|
|
2648
|
-
r[
|
|
2647
|
+
var a = i[n], s = a[0], o = a[1];
|
|
2648
|
+
r[s] = o;
|
|
2649
2649
|
}
|
|
2650
2650
|
return r;
|
|
2651
2651
|
}
|
|
2652
2652
|
)
|
|
2653
|
-
),
|
|
2653
|
+
), Gt = yn ? (
|
|
2654
2654
|
// Native
|
|
2655
2655
|
function(t, r) {
|
|
2656
2656
|
return t.codePointAt(r);
|
|
@@ -2664,7 +2664,7 @@ var ot = gn ? (
|
|
|
2664
2664
|
return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2665
2665
|
}
|
|
2666
2666
|
}
|
|
2667
|
-
),
|
|
2667
|
+
), wn = En ? (
|
|
2668
2668
|
// Native
|
|
2669
2669
|
function(t) {
|
|
2670
2670
|
return t.trimStart();
|
|
@@ -2674,7 +2674,7 @@ var ot = gn ? (
|
|
|
2674
2674
|
function(t) {
|
|
2675
2675
|
return t.replace(mn, "");
|
|
2676
2676
|
}
|
|
2677
|
-
),
|
|
2677
|
+
), Sn = _n ? (
|
|
2678
2678
|
// Native
|
|
2679
2679
|
function(t) {
|
|
2680
2680
|
return t.trimEnd();
|
|
@@ -2682,7 +2682,7 @@ var ot = gn ? (
|
|
|
2682
2682
|
) : (
|
|
2683
2683
|
// Ponyfill
|
|
2684
2684
|
function(t) {
|
|
2685
|
-
return t.replace(
|
|
2685
|
+
return t.replace(gn, "");
|
|
2686
2686
|
}
|
|
2687
2687
|
);
|
|
2688
2688
|
function jt(e, t) {
|
|
@@ -2690,24 +2690,24 @@ function jt(e, t) {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
var je;
|
|
2692
2692
|
if (ze) {
|
|
2693
|
-
var
|
|
2693
|
+
var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2694
2694
|
je = function(t, r) {
|
|
2695
2695
|
var n;
|
|
2696
|
-
|
|
2697
|
-
var i =
|
|
2696
|
+
lt.lastIndex = r;
|
|
2697
|
+
var i = lt.exec(t);
|
|
2698
2698
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2699
2699
|
};
|
|
2700
2700
|
} else
|
|
2701
2701
|
je = function(t, r) {
|
|
2702
2702
|
for (var n = []; ; ) {
|
|
2703
|
-
var i =
|
|
2704
|
-
if (i === void 0 || Vt(i) ||
|
|
2703
|
+
var i = Gt(t, r);
|
|
2704
|
+
if (i === void 0 || Vt(i) || Hn(i))
|
|
2705
2705
|
break;
|
|
2706
2706
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2707
2707
|
}
|
|
2708
|
-
return
|
|
2708
|
+
return Ge.apply(void 0, n);
|
|
2709
2709
|
};
|
|
2710
|
-
var
|
|
2710
|
+
var An = (
|
|
2711
2711
|
/** @class */
|
|
2712
2712
|
function() {
|
|
2713
2713
|
function e(t, r) {
|
|
@@ -2721,33 +2721,33 @@ var Sn = (
|
|
|
2721
2721
|
for (var i = []; !this.isEOF(); ) {
|
|
2722
2722
|
var a = this.char();
|
|
2723
2723
|
if (a === 123) {
|
|
2724
|
-
var
|
|
2725
|
-
if (
|
|
2726
|
-
return
|
|
2727
|
-
i.push(
|
|
2724
|
+
var s = this.parseArgument(t, n);
|
|
2725
|
+
if (s.err)
|
|
2726
|
+
return s;
|
|
2727
|
+
i.push(s.val);
|
|
2728
2728
|
} else {
|
|
2729
2729
|
if (a === 125 && t > 0)
|
|
2730
2730
|
break;
|
|
2731
2731
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2732
|
-
var
|
|
2732
|
+
var o = this.clonePosition();
|
|
2733
2733
|
this.bump(), i.push({
|
|
2734
|
-
type:
|
|
2735
|
-
location:
|
|
2734
|
+
type: E.pound,
|
|
2735
|
+
location: v(o, this.clonePosition())
|
|
2736
2736
|
});
|
|
2737
2737
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2738
2738
|
if (n)
|
|
2739
2739
|
break;
|
|
2740
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
2740
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2741
2741
|
} else if (a === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
2742
|
-
var
|
|
2743
|
-
if (
|
|
2744
|
-
return
|
|
2745
|
-
i.push(
|
|
2742
|
+
var s = this.parseTag(t, r);
|
|
2743
|
+
if (s.err)
|
|
2744
|
+
return s;
|
|
2745
|
+
i.push(s.val);
|
|
2746
2746
|
} else {
|
|
2747
|
-
var
|
|
2748
|
-
if (
|
|
2749
|
-
return
|
|
2750
|
-
i.push(
|
|
2747
|
+
var s = this.parseLiteral(t, r);
|
|
2748
|
+
if (s.err)
|
|
2749
|
+
return s;
|
|
2750
|
+
i.push(s.val);
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
@@ -2759,9 +2759,9 @@ var Sn = (
|
|
|
2759
2759
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2760
2760
|
return {
|
|
2761
2761
|
val: {
|
|
2762
|
-
type:
|
|
2762
|
+
type: E.literal,
|
|
2763
2763
|
value: "<".concat(i, "/>"),
|
|
2764
|
-
location:
|
|
2764
|
+
location: v(n, this.clonePosition())
|
|
2765
2765
|
},
|
|
2766
2766
|
err: null
|
|
2767
2767
|
};
|
|
@@ -2769,27 +2769,27 @@ var Sn = (
|
|
|
2769
2769
|
var a = this.parseMessage(t + 1, r, !0);
|
|
2770
2770
|
if (a.err)
|
|
2771
2771
|
return a;
|
|
2772
|
-
var
|
|
2772
|
+
var s = a.val, o = this.clonePosition();
|
|
2773
2773
|
if (this.bumpIf("</")) {
|
|
2774
2774
|
if (this.isEOF() || !Ve(this.char()))
|
|
2775
|
-
return this.error(b.INVALID_TAG,
|
|
2776
|
-
var
|
|
2777
|
-
return i !==
|
|
2775
|
+
return this.error(b.INVALID_TAG, v(o, this.clonePosition()));
|
|
2776
|
+
var u = this.clonePosition(), l = this.parseTagName();
|
|
2777
|
+
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2778
2778
|
val: {
|
|
2779
|
-
type:
|
|
2779
|
+
type: E.tag,
|
|
2780
2780
|
value: i,
|
|
2781
|
-
children:
|
|
2782
|
-
location:
|
|
2781
|
+
children: s,
|
|
2782
|
+
location: v(n, this.clonePosition())
|
|
2783
2783
|
},
|
|
2784
2784
|
err: null
|
|
2785
|
-
} : this.error(b.INVALID_TAG,
|
|
2785
|
+
} : this.error(b.INVALID_TAG, v(o, this.clonePosition())));
|
|
2786
2786
|
} else
|
|
2787
|
-
return this.error(b.UNCLOSED_TAG,
|
|
2787
|
+
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
2788
2788
|
} else
|
|
2789
|
-
return this.error(b.INVALID_TAG,
|
|
2789
|
+
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2790
2790
|
}, e.prototype.parseTagName = function() {
|
|
2791
2791
|
var t = this.offset();
|
|
2792
|
-
for (this.bump(); !this.isEOF() &&
|
|
2792
|
+
for (this.bump(); !this.isEOF() && Bn(this.char()); )
|
|
2793
2793
|
this.bump();
|
|
2794
2794
|
return this.message.slice(t, this.offset());
|
|
2795
2795
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2799,26 +2799,26 @@ var Sn = (
|
|
|
2799
2799
|
i += a;
|
|
2800
2800
|
continue;
|
|
2801
2801
|
}
|
|
2802
|
-
var
|
|
2803
|
-
if (o) {
|
|
2804
|
-
i += o;
|
|
2805
|
-
continue;
|
|
2806
|
-
}
|
|
2807
|
-
var s = this.tryParseLeftAngleBracket();
|
|
2802
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2808
2803
|
if (s) {
|
|
2809
2804
|
i += s;
|
|
2810
2805
|
continue;
|
|
2811
2806
|
}
|
|
2807
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2808
|
+
if (o) {
|
|
2809
|
+
i += o;
|
|
2810
|
+
continue;
|
|
2811
|
+
}
|
|
2812
2812
|
break;
|
|
2813
2813
|
}
|
|
2814
|
-
var
|
|
2814
|
+
var u = v(n, this.clonePosition());
|
|
2815
2815
|
return {
|
|
2816
|
-
val: { type:
|
|
2816
|
+
val: { type: E.literal, value: i, location: u },
|
|
2817
2817
|
err: null
|
|
2818
2818
|
};
|
|
2819
2819
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2820
2820
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2821
|
-
!
|
|
2821
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2822
2822
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2823
2823
|
if (this.isEOF() || this.char() !== 39)
|
|
2824
2824
|
return null;
|
|
@@ -2852,100 +2852,100 @@ var Sn = (
|
|
|
2852
2852
|
r.push(n);
|
|
2853
2853
|
this.bump();
|
|
2854
2854
|
}
|
|
2855
|
-
return
|
|
2855
|
+
return Ge.apply(void 0, r);
|
|
2856
2856
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2857
2857
|
if (this.isEOF())
|
|
2858
2858
|
return null;
|
|
2859
2859
|
var n = this.char();
|
|
2860
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2860
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
2861
2861
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2862
2862
|
var n = this.clonePosition();
|
|
2863
2863
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2864
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2864
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
2865
2865
|
if (this.char() === 125)
|
|
2866
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
2866
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
2867
2867
|
var i = this.parseIdentifierIfPossible().value;
|
|
2868
2868
|
if (!i)
|
|
2869
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2869
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2870
2870
|
if (this.bumpSpace(), this.isEOF())
|
|
2871
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2871
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
2872
2872
|
switch (this.char()) {
|
|
2873
2873
|
case 125:
|
|
2874
2874
|
return this.bump(), {
|
|
2875
2875
|
val: {
|
|
2876
|
-
type:
|
|
2876
|
+
type: E.argument,
|
|
2877
2877
|
// value does not include the opening and closing braces.
|
|
2878
2878
|
value: i,
|
|
2879
|
-
location:
|
|
2879
|
+
location: v(n, this.clonePosition())
|
|
2880
2880
|
},
|
|
2881
2881
|
err: null
|
|
2882
2882
|
};
|
|
2883
2883
|
case 44:
|
|
2884
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2884
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2885
2885
|
default:
|
|
2886
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2886
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2887
2887
|
}
|
|
2888
2888
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2889
2889
|
var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
|
|
2890
2890
|
this.bumpTo(i);
|
|
2891
|
-
var a = this.clonePosition(),
|
|
2892
|
-
return { value: n, location:
|
|
2891
|
+
var a = this.clonePosition(), s = v(t, a);
|
|
2892
|
+
return { value: n, location: s };
|
|
2893
2893
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2894
|
-
var a,
|
|
2895
|
-
switch (
|
|
2894
|
+
var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2895
|
+
switch (o) {
|
|
2896
2896
|
case "":
|
|
2897
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
2897
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, u));
|
|
2898
2898
|
case "number":
|
|
2899
2899
|
case "date":
|
|
2900
2900
|
case "time": {
|
|
2901
2901
|
this.bumpSpace();
|
|
2902
|
-
var
|
|
2902
|
+
var l = null;
|
|
2903
2903
|
if (this.bumpIf(",")) {
|
|
2904
2904
|
this.bumpSpace();
|
|
2905
|
-
var
|
|
2906
|
-
if (
|
|
2907
|
-
return
|
|
2908
|
-
var
|
|
2909
|
-
if (
|
|
2910
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
2911
|
-
var
|
|
2912
|
-
|
|
2905
|
+
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2906
|
+
if (h.err)
|
|
2907
|
+
return h;
|
|
2908
|
+
var d = Sn(h.val);
|
|
2909
|
+
if (d.length === 0)
|
|
2910
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2911
|
+
var g = v(c, this.clonePosition());
|
|
2912
|
+
l = { style: d, styleLocation: g };
|
|
2913
2913
|
}
|
|
2914
|
-
var
|
|
2915
|
-
if (
|
|
2916
|
-
return
|
|
2917
|
-
var x =
|
|
2918
|
-
if (
|
|
2919
|
-
var
|
|
2920
|
-
if (
|
|
2921
|
-
var
|
|
2922
|
-
return
|
|
2923
|
-
val: { type:
|
|
2914
|
+
var p = this.tryParseArgumentClose(i);
|
|
2915
|
+
if (p.err)
|
|
2916
|
+
return p;
|
|
2917
|
+
var x = v(i, this.clonePosition());
|
|
2918
|
+
if (l && st(l?.style, "::", 0)) {
|
|
2919
|
+
var k = wn(l.style.slice(2));
|
|
2920
|
+
if (o === "number") {
|
|
2921
|
+
var h = this.parseNumberSkeletonFromString(k, l.styleLocation);
|
|
2922
|
+
return h.err ? h : {
|
|
2923
|
+
val: { type: E.number, value: n, location: x, style: h.val },
|
|
2924
2924
|
err: null
|
|
2925
2925
|
};
|
|
2926
2926
|
} else {
|
|
2927
|
-
if (
|
|
2927
|
+
if (k.length === 0)
|
|
2928
2928
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
|
|
2929
|
-
var T =
|
|
2930
|
-
this.locale && (T =
|
|
2931
|
-
var
|
|
2929
|
+
var T = k;
|
|
2930
|
+
this.locale && (T = dn(k, this.locale));
|
|
2931
|
+
var d = {
|
|
2932
2932
|
type: q.dateTime,
|
|
2933
2933
|
pattern: T,
|
|
2934
|
-
location:
|
|
2934
|
+
location: l.styleLocation,
|
|
2935
2935
|
parsedOptions: this.shouldParseSkeletons ? an(T) : {}
|
|
2936
|
-
},
|
|
2936
|
+
}, f = o === "date" ? E.date : E.time;
|
|
2937
2937
|
return {
|
|
2938
|
-
val: { type:
|
|
2938
|
+
val: { type: f, value: n, location: x, style: d },
|
|
2939
2939
|
err: null
|
|
2940
2940
|
};
|
|
2941
2941
|
}
|
|
2942
2942
|
}
|
|
2943
2943
|
return {
|
|
2944
2944
|
val: {
|
|
2945
|
-
type:
|
|
2945
|
+
type: o === "number" ? E.number : o === "date" ? E.date : E.time,
|
|
2946
2946
|
value: n,
|
|
2947
2947
|
location: x,
|
|
2948
|
-
style: (a =
|
|
2948
|
+
style: (a = l?.style) !== null && a !== void 0 ? a : null
|
|
2949
2949
|
},
|
|
2950
2950
|
err: null
|
|
2951
2951
|
};
|
|
@@ -2953,52 +2953,52 @@ var Sn = (
|
|
|
2953
2953
|
case "plural":
|
|
2954
2954
|
case "selectordinal":
|
|
2955
2955
|
case "select": {
|
|
2956
|
-
var
|
|
2956
|
+
var y = this.clonePosition();
|
|
2957
2957
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2958
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y
|
|
2958
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, xe({}, y)));
|
|
2959
2959
|
this.bumpSpace();
|
|
2960
|
-
var
|
|
2961
|
-
if (
|
|
2960
|
+
var M = this.parseIdentifierIfPossible(), C = 0;
|
|
2961
|
+
if (o !== "select" && M.value === "offset") {
|
|
2962
2962
|
if (!this.bumpIf(":"))
|
|
2963
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2963
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
2964
2964
|
this.bumpSpace();
|
|
2965
|
-
var
|
|
2966
|
-
if (
|
|
2967
|
-
return
|
|
2968
|
-
this.bumpSpace(),
|
|
2965
|
+
var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2966
|
+
if (h.err)
|
|
2967
|
+
return h;
|
|
2968
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), C = h.val;
|
|
2969
2969
|
}
|
|
2970
|
-
var m = this.tryParsePluralOrSelectOptions(t,
|
|
2970
|
+
var m = this.tryParsePluralOrSelectOptions(t, o, r, M);
|
|
2971
2971
|
if (m.err)
|
|
2972
2972
|
return m;
|
|
2973
|
-
var
|
|
2974
|
-
if (
|
|
2975
|
-
return
|
|
2976
|
-
var
|
|
2977
|
-
return
|
|
2973
|
+
var p = this.tryParseArgumentClose(i);
|
|
2974
|
+
if (p.err)
|
|
2975
|
+
return p;
|
|
2976
|
+
var ue = v(i, this.clonePosition());
|
|
2977
|
+
return o === "select" ? {
|
|
2978
2978
|
val: {
|
|
2979
|
-
type:
|
|
2979
|
+
type: E.select,
|
|
2980
2980
|
value: n,
|
|
2981
|
-
options:
|
|
2982
|
-
location:
|
|
2981
|
+
options: ot(m.val),
|
|
2982
|
+
location: ue
|
|
2983
2983
|
},
|
|
2984
2984
|
err: null
|
|
2985
2985
|
} : {
|
|
2986
2986
|
val: {
|
|
2987
|
-
type:
|
|
2987
|
+
type: E.plural,
|
|
2988
2988
|
value: n,
|
|
2989
|
-
options:
|
|
2990
|
-
offset:
|
|
2991
|
-
pluralType:
|
|
2992
|
-
location:
|
|
2989
|
+
options: ot(m.val),
|
|
2990
|
+
offset: C,
|
|
2991
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2992
|
+
location: ue
|
|
2993
2993
|
},
|
|
2994
2994
|
err: null
|
|
2995
2995
|
};
|
|
2996
2996
|
}
|
|
2997
2997
|
default:
|
|
2998
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
2998
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, v(s, u));
|
|
2999
2999
|
}
|
|
3000
3000
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3001
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3001
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3002
3002
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3003
3003
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3004
3004
|
var n = this.char();
|
|
@@ -3007,7 +3007,7 @@ var Sn = (
|
|
|
3007
3007
|
this.bump();
|
|
3008
3008
|
var i = this.clonePosition();
|
|
3009
3009
|
if (!this.bumpUntil("'"))
|
|
3010
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3010
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3011
3011
|
this.bump();
|
|
3012
3012
|
break;
|
|
3013
3013
|
}
|
|
@@ -3037,7 +3037,7 @@ var Sn = (
|
|
|
3037
3037
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3038
3038
|
var n = [];
|
|
3039
3039
|
try {
|
|
3040
|
-
n =
|
|
3040
|
+
n = on(t);
|
|
3041
3041
|
} catch {
|
|
3042
3042
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3043
3043
|
}
|
|
@@ -3046,55 +3046,55 @@ var Sn = (
|
|
|
3046
3046
|
type: q.number,
|
|
3047
3047
|
tokens: n,
|
|
3048
3048
|
location: r,
|
|
3049
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3049
|
+
parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
|
|
3050
3050
|
},
|
|
3051
3051
|
err: null
|
|
3052
3052
|
};
|
|
3053
3053
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3054
|
-
for (var a,
|
|
3055
|
-
if (
|
|
3056
|
-
var
|
|
3054
|
+
for (var a, s = !1, o = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
|
3055
|
+
if (l.length === 0) {
|
|
3056
|
+
var h = this.clonePosition();
|
|
3057
3057
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3058
|
-
var
|
|
3059
|
-
if (
|
|
3060
|
-
return
|
|
3061
|
-
|
|
3058
|
+
var d = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3059
|
+
if (d.err)
|
|
3060
|
+
return d;
|
|
3061
|
+
c = v(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
|
|
3062
3062
|
} else
|
|
3063
3063
|
break;
|
|
3064
3064
|
}
|
|
3065
|
-
if (
|
|
3066
|
-
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3067
|
-
|
|
3068
|
-
var
|
|
3065
|
+
if (u.has(l))
|
|
3066
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3067
|
+
l === "other" && (s = !0), this.bumpSpace();
|
|
3068
|
+
var g = this.clonePosition();
|
|
3069
3069
|
if (!this.bumpIf("{"))
|
|
3070
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3071
|
-
var
|
|
3072
|
-
if (
|
|
3073
|
-
return
|
|
3074
|
-
var x = this.tryParseArgumentClose(
|
|
3070
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3071
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3072
|
+
if (p.err)
|
|
3073
|
+
return p;
|
|
3074
|
+
var x = this.tryParseArgumentClose(g);
|
|
3075
3075
|
if (x.err)
|
|
3076
3076
|
return x;
|
|
3077
|
-
|
|
3078
|
-
|
|
3077
|
+
o.push([
|
|
3078
|
+
l,
|
|
3079
3079
|
{
|
|
3080
|
-
value:
|
|
3081
|
-
location:
|
|
3080
|
+
value: p.val,
|
|
3081
|
+
location: v(g, this.clonePosition())
|
|
3082
3082
|
}
|
|
3083
|
-
]),
|
|
3083
|
+
]), u.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, c = a.location;
|
|
3084
3084
|
}
|
|
3085
|
-
return
|
|
3085
|
+
return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3086
3086
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3087
3087
|
var n = 1, i = this.clonePosition();
|
|
3088
3088
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3089
|
-
for (var a = !1,
|
|
3090
|
-
var
|
|
3091
|
-
if (
|
|
3092
|
-
a = !0,
|
|
3089
|
+
for (var a = !1, s = 0; !this.isEOF(); ) {
|
|
3090
|
+
var o = this.char();
|
|
3091
|
+
if (o >= 48 && o <= 57)
|
|
3092
|
+
a = !0, s = s * 10 + (o - 48), this.bump();
|
|
3093
3093
|
else
|
|
3094
3094
|
break;
|
|
3095
3095
|
}
|
|
3096
|
-
var
|
|
3097
|
-
return a ? (
|
|
3096
|
+
var u = v(i, this.clonePosition());
|
|
3097
|
+
return a ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3098
3098
|
}, e.prototype.offset = function() {
|
|
3099
3099
|
return this.position.offset;
|
|
3100
3100
|
}, e.prototype.isEOF = function() {
|
|
@@ -3109,7 +3109,7 @@ var Sn = (
|
|
|
3109
3109
|
var t = this.position.offset;
|
|
3110
3110
|
if (t >= this.message.length)
|
|
3111
3111
|
throw Error("out of bound");
|
|
3112
|
-
var r =
|
|
3112
|
+
var r = Gt(this.message, t);
|
|
3113
3113
|
if (r === void 0)
|
|
3114
3114
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3115
3115
|
return r;
|
|
@@ -3128,7 +3128,7 @@ var Sn = (
|
|
|
3128
3128
|
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);
|
|
3129
3129
|
}
|
|
3130
3130
|
}, e.prototype.bumpIf = function(t) {
|
|
3131
|
-
if (
|
|
3131
|
+
if (st(this.message, t, this.offset())) {
|
|
3132
3132
|
for (var r = 0; r < t.length; r++)
|
|
3133
3133
|
this.bump();
|
|
3134
3134
|
return !0;
|
|
@@ -3163,30 +3163,30 @@ var Sn = (
|
|
|
3163
3163
|
function Ve(e) {
|
|
3164
3164
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3165
3165
|
}
|
|
3166
|
-
function
|
|
3166
|
+
function In(e) {
|
|
3167
3167
|
return Ve(e) || e === 47;
|
|
3168
3168
|
}
|
|
3169
|
-
function
|
|
3169
|
+
function Bn(e) {
|
|
3170
3170
|
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;
|
|
3171
3171
|
}
|
|
3172
3172
|
function Vt(e) {
|
|
3173
3173
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3174
3174
|
}
|
|
3175
|
-
function
|
|
3175
|
+
function Hn(e) {
|
|
3176
3176
|
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;
|
|
3177
3177
|
}
|
|
3178
3178
|
function We(e) {
|
|
3179
3179
|
e.forEach(function(t) {
|
|
3180
|
-
if (delete t.location,
|
|
3180
|
+
if (delete t.location, Mt(t) || Dt(t))
|
|
3181
3181
|
for (var r in t.options)
|
|
3182
3182
|
delete t.options[r].location, We(t.options[r].value);
|
|
3183
3183
|
else
|
|
3184
|
-
|
|
3184
|
+
Lt(t) && Rt(t.style) || (Pt(t) || Ot(t)) && $e(t.style) ? delete t.style.location : Nt(t) && We(t.children);
|
|
3185
3185
|
});
|
|
3186
3186
|
}
|
|
3187
|
-
function
|
|
3187
|
+
function Cn(e, t) {
|
|
3188
3188
|
t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3189
|
-
var r = new
|
|
3189
|
+
var r = new An(e, t).parse();
|
|
3190
3190
|
if (r.err) {
|
|
3191
3191
|
var n = SyntaxError(b[r.err.kind]);
|
|
3192
3192
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3197,10 +3197,10 @@ var J;
|
|
|
3197
3197
|
(function(e) {
|
|
3198
3198
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3199
3199
|
})(J || (J = {}));
|
|
3200
|
-
var
|
|
3200
|
+
var Ie = (
|
|
3201
3201
|
/** @class */
|
|
3202
3202
|
function(e) {
|
|
3203
|
-
|
|
3203
|
+
Ae(t, e);
|
|
3204
3204
|
function t(r, n, i) {
|
|
3205
3205
|
var a = e.call(this, r) || this;
|
|
3206
3206
|
return a.code = n, a.originalMessage = i, a;
|
|
@@ -3209,155 +3209,155 @@ var Be = (
|
|
|
3209
3209
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3210
3210
|
}, t;
|
|
3211
3211
|
}(Error)
|
|
3212
|
-
),
|
|
3212
|
+
), ut = (
|
|
3213
3213
|
/** @class */
|
|
3214
3214
|
function(e) {
|
|
3215
|
-
|
|
3215
|
+
Ae(t, e);
|
|
3216
3216
|
function t(r, n, i, a) {
|
|
3217
3217
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, a) || this;
|
|
3218
3218
|
}
|
|
3219
3219
|
return t;
|
|
3220
|
-
}(
|
|
3221
|
-
),
|
|
3220
|
+
}(Ie)
|
|
3221
|
+
), Ln = (
|
|
3222
3222
|
/** @class */
|
|
3223
3223
|
function(e) {
|
|
3224
|
-
|
|
3224
|
+
Ae(t, e);
|
|
3225
3225
|
function t(r, n, i) {
|
|
3226
3226
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3227
3227
|
}
|
|
3228
3228
|
return t;
|
|
3229
|
-
}(
|
|
3230
|
-
),
|
|
3229
|
+
}(Ie)
|
|
3230
|
+
), Pn = (
|
|
3231
3231
|
/** @class */
|
|
3232
3232
|
function(e) {
|
|
3233
|
-
|
|
3233
|
+
Ae(t, e);
|
|
3234
3234
|
function t(r, n) {
|
|
3235
3235
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3236
3236
|
}
|
|
3237
3237
|
return t;
|
|
3238
|
-
}(
|
|
3239
|
-
),
|
|
3238
|
+
}(Ie)
|
|
3239
|
+
), w;
|
|
3240
3240
|
(function(e) {
|
|
3241
3241
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3242
|
-
})(
|
|
3243
|
-
function
|
|
3242
|
+
})(w || (w = {}));
|
|
3243
|
+
function On(e) {
|
|
3244
3244
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3245
3245
|
var n = t[t.length - 1];
|
|
3246
|
-
return !n || n.type !==
|
|
3246
|
+
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3247
3247
|
}, []);
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3249
|
+
function Mn(e) {
|
|
3250
3250
|
return typeof e == "function";
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3252
|
+
function Ee(e, t, r, n, i, a, s) {
|
|
3253
3253
|
if (e.length === 1 && rt(e[0]))
|
|
3254
3254
|
return [
|
|
3255
3255
|
{
|
|
3256
|
-
type:
|
|
3256
|
+
type: w.literal,
|
|
3257
3257
|
value: e[0].value
|
|
3258
3258
|
}
|
|
3259
3259
|
];
|
|
3260
|
-
for (var
|
|
3261
|
-
var
|
|
3262
|
-
if (rt(
|
|
3263
|
-
|
|
3264
|
-
type:
|
|
3265
|
-
value:
|
|
3260
|
+
for (var o = [], u = 0, l = e; u < l.length; u++) {
|
|
3261
|
+
var c = l[u];
|
|
3262
|
+
if (rt(c)) {
|
|
3263
|
+
o.push({
|
|
3264
|
+
type: w.literal,
|
|
3265
|
+
value: c.value
|
|
3266
3266
|
});
|
|
3267
3267
|
continue;
|
|
3268
3268
|
}
|
|
3269
|
-
if (rn(
|
|
3270
|
-
typeof a == "number" &&
|
|
3271
|
-
type:
|
|
3269
|
+
if (rn(c)) {
|
|
3270
|
+
typeof a == "number" && o.push({
|
|
3271
|
+
type: w.literal,
|
|
3272
3272
|
value: r.getNumberFormat(t).format(a)
|
|
3273
3273
|
});
|
|
3274
3274
|
continue;
|
|
3275
3275
|
}
|
|
3276
|
-
var
|
|
3277
|
-
if (!(i &&
|
|
3278
|
-
throw new
|
|
3279
|
-
var
|
|
3280
|
-
if (tn(
|
|
3281
|
-
(!
|
|
3282
|
-
type: typeof
|
|
3283
|
-
value:
|
|
3276
|
+
var h = c.value;
|
|
3277
|
+
if (!(i && h in i))
|
|
3278
|
+
throw new Pn(h, s);
|
|
3279
|
+
var d = i[h];
|
|
3280
|
+
if (tn(c)) {
|
|
3281
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), o.push({
|
|
3282
|
+
type: typeof d == "string" ? w.literal : w.object,
|
|
3283
|
+
value: d
|
|
3284
3284
|
});
|
|
3285
3285
|
continue;
|
|
3286
3286
|
}
|
|
3287
|
-
if (
|
|
3288
|
-
var
|
|
3289
|
-
|
|
3290
|
-
type:
|
|
3291
|
-
value: r.getDateTimeFormat(t,
|
|
3287
|
+
if (Pt(c)) {
|
|
3288
|
+
var g = typeof c.style == "string" ? n.date[c.style] : $e(c.style) ? c.style.parsedOptions : void 0;
|
|
3289
|
+
o.push({
|
|
3290
|
+
type: w.literal,
|
|
3291
|
+
value: r.getDateTimeFormat(t, g).format(d)
|
|
3292
3292
|
});
|
|
3293
3293
|
continue;
|
|
3294
3294
|
}
|
|
3295
|
-
if (
|
|
3296
|
-
var
|
|
3297
|
-
|
|
3298
|
-
type:
|
|
3299
|
-
value: r.getDateTimeFormat(t,
|
|
3295
|
+
if (Ot(c)) {
|
|
3296
|
+
var g = typeof c.style == "string" ? n.time[c.style] : $e(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3297
|
+
o.push({
|
|
3298
|
+
type: w.literal,
|
|
3299
|
+
value: r.getDateTimeFormat(t, g).format(d)
|
|
3300
3300
|
});
|
|
3301
3301
|
continue;
|
|
3302
3302
|
}
|
|
3303
|
-
if (
|
|
3304
|
-
var
|
|
3305
|
-
|
|
3306
|
-
type:
|
|
3307
|
-
value: r.getNumberFormat(t,
|
|
3303
|
+
if (Lt(c)) {
|
|
3304
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Rt(c.style) ? c.style.parsedOptions : void 0;
|
|
3305
|
+
g && g.scale && (d = d * (g.scale || 1)), o.push({
|
|
3306
|
+
type: w.literal,
|
|
3307
|
+
value: r.getNumberFormat(t, g).format(d)
|
|
3308
3308
|
});
|
|
3309
3309
|
continue;
|
|
3310
3310
|
}
|
|
3311
|
-
if (
|
|
3312
|
-
var
|
|
3313
|
-
if (!
|
|
3314
|
-
throw new
|
|
3315
|
-
var T =
|
|
3316
|
-
return
|
|
3311
|
+
if (Nt(c)) {
|
|
3312
|
+
var p = c.children, x = c.value, k = i[x];
|
|
3313
|
+
if (!Mn(k))
|
|
3314
|
+
throw new Ln(x, "function", s);
|
|
3315
|
+
var T = Ee(p, t, r, n, i, a), f = k(T.map(function(C) {
|
|
3316
|
+
return C.value;
|
|
3317
3317
|
}));
|
|
3318
|
-
Array.isArray(
|
|
3318
|
+
Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(C) {
|
|
3319
3319
|
return {
|
|
3320
|
-
type: typeof
|
|
3321
|
-
value:
|
|
3320
|
+
type: typeof C == "string" ? w.literal : w.object,
|
|
3321
|
+
value: C
|
|
3322
3322
|
};
|
|
3323
3323
|
}));
|
|
3324
3324
|
}
|
|
3325
|
-
if (
|
|
3326
|
-
var
|
|
3327
|
-
if (!
|
|
3328
|
-
throw new
|
|
3329
|
-
|
|
3325
|
+
if (Mt(c)) {
|
|
3326
|
+
var y = c.options[d] || c.options.other;
|
|
3327
|
+
if (!y)
|
|
3328
|
+
throw new ut(c.value, d, Object.keys(c.options), s);
|
|
3329
|
+
o.push.apply(o, Ee(y.value, t, r, n, i));
|
|
3330
3330
|
continue;
|
|
3331
3331
|
}
|
|
3332
|
-
if (
|
|
3333
|
-
var
|
|
3334
|
-
if (!
|
|
3332
|
+
if (Dt(c)) {
|
|
3333
|
+
var y = c.options["=".concat(d)];
|
|
3334
|
+
if (!y) {
|
|
3335
3335
|
if (!Intl.PluralRules)
|
|
3336
|
-
throw new
|
|
3336
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3337
3337
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3338
|
-
`, J.MISSING_INTL_API,
|
|
3339
|
-
var
|
|
3340
|
-
|
|
3338
|
+
`, J.MISSING_INTL_API, s);
|
|
3339
|
+
var M = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3340
|
+
y = c.options[M] || c.options.other;
|
|
3341
3341
|
}
|
|
3342
|
-
if (!
|
|
3343
|
-
throw new
|
|
3344
|
-
|
|
3342
|
+
if (!y)
|
|
3343
|
+
throw new ut(c.value, d, Object.keys(c.options), s);
|
|
3344
|
+
o.push.apply(o, Ee(y.value, t, r, n, i, d - (c.offset || 0)));
|
|
3345
3345
|
continue;
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
|
-
return
|
|
3348
|
+
return On(o);
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3351
|
-
return t ?
|
|
3352
|
-
return r[n] =
|
|
3350
|
+
function Dn(e, t) {
|
|
3351
|
+
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3352
|
+
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
3353
3353
|
}, {})) : e;
|
|
3354
3354
|
}
|
|
3355
|
-
function
|
|
3355
|
+
function Nn(e, t) {
|
|
3356
3356
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3357
|
-
return r[n] =
|
|
3358
|
-
},
|
|
3357
|
+
return r[n] = Dn(e[n], t[n]), r;
|
|
3358
|
+
}, H({}, e)) : e;
|
|
3359
3359
|
}
|
|
3360
|
-
function
|
|
3360
|
+
function Me(e) {
|
|
3361
3361
|
return {
|
|
3362
3362
|
create: function() {
|
|
3363
3363
|
return {
|
|
@@ -3371,35 +3371,35 @@ function Ne(e) {
|
|
|
3371
3371
|
}
|
|
3372
3372
|
};
|
|
3373
3373
|
}
|
|
3374
|
-
function
|
|
3374
|
+
function Rn(e) {
|
|
3375
3375
|
return e === void 0 && (e = {
|
|
3376
3376
|
number: {},
|
|
3377
3377
|
dateTime: {},
|
|
3378
3378
|
pluralRules: {}
|
|
3379
3379
|
}), {
|
|
3380
|
-
getNumberFormat:
|
|
3380
|
+
getNumberFormat: Le(function() {
|
|
3381
3381
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3382
3382
|
r[n] = arguments[n];
|
|
3383
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3383
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3384
3384
|
}, {
|
|
3385
|
-
cache:
|
|
3386
|
-
strategy:
|
|
3385
|
+
cache: Me(e.number),
|
|
3386
|
+
strategy: Pe.variadic
|
|
3387
3387
|
}),
|
|
3388
|
-
getDateTimeFormat:
|
|
3388
|
+
getDateTimeFormat: Le(function() {
|
|
3389
3389
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3390
3390
|
r[n] = arguments[n];
|
|
3391
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3391
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3392
3392
|
}, {
|
|
3393
|
-
cache:
|
|
3394
|
-
strategy:
|
|
3393
|
+
cache: Me(e.dateTime),
|
|
3394
|
+
strategy: Pe.variadic
|
|
3395
3395
|
}),
|
|
3396
|
-
getPluralRules:
|
|
3396
|
+
getPluralRules: Le(function() {
|
|
3397
3397
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3398
3398
|
r[n] = arguments[n];
|
|
3399
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3399
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3400
3400
|
}, {
|
|
3401
|
-
cache:
|
|
3402
|
-
strategy:
|
|
3401
|
+
cache: Me(e.pluralRules),
|
|
3402
|
+
strategy: Pe.variadic
|
|
3403
3403
|
})
|
|
3404
3404
|
};
|
|
3405
3405
|
}
|
|
@@ -3413,35 +3413,35 @@ var Wt = (
|
|
|
3413
3413
|
number: {},
|
|
3414
3414
|
dateTime: {},
|
|
3415
3415
|
pluralRules: {}
|
|
3416
|
-
}, this.format = function(
|
|
3417
|
-
var
|
|
3418
|
-
if (
|
|
3419
|
-
return
|
|
3420
|
-
var
|
|
3421
|
-
return !
|
|
3416
|
+
}, this.format = function(u) {
|
|
3417
|
+
var l = a.formatToParts(u);
|
|
3418
|
+
if (l.length === 1)
|
|
3419
|
+
return l[0].value;
|
|
3420
|
+
var c = l.reduce(function(h, d) {
|
|
3421
|
+
return !h.length || d.type !== w.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
|
|
3422
3422
|
}, []);
|
|
3423
|
-
return
|
|
3424
|
-
}, this.formatToParts = function(
|
|
3425
|
-
return
|
|
3423
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3424
|
+
}, this.formatToParts = function(u) {
|
|
3425
|
+
return Ee(a.ast, a.locales, a.formatters, a.formats, u, void 0, a.message);
|
|
3426
3426
|
}, this.resolvedOptions = function() {
|
|
3427
|
-
var
|
|
3427
|
+
var u;
|
|
3428
3428
|
return {
|
|
3429
|
-
locale: ((
|
|
3429
|
+
locale: ((u = a.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
|
3430
3430
|
};
|
|
3431
3431
|
}, this.getAst = function() {
|
|
3432
3432
|
return a.ast;
|
|
3433
3433
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3434
3434
|
if (this.message = t, !e.__parse)
|
|
3435
3435
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3436
|
-
var
|
|
3437
|
-
|
|
3438
|
-
var
|
|
3439
|
-
this.ast = e.__parse(t,
|
|
3436
|
+
var s = i || {};
|
|
3437
|
+
s.formatters;
|
|
3438
|
+
var o = Xr(s, ["formatters"]);
|
|
3439
|
+
this.ast = e.__parse(t, H(H({}, o), { locale: this.resolvedLocale }));
|
|
3440
3440
|
} else
|
|
3441
3441
|
this.ast = t;
|
|
3442
3442
|
if (!Array.isArray(this.ast))
|
|
3443
3443
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3444
|
-
this.formats =
|
|
3444
|
+
this.formats = Nn(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
|
|
3445
3445
|
}
|
|
3446
3446
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3447
3447
|
get: function() {
|
|
@@ -3454,7 +3454,7 @@ var Wt = (
|
|
|
3454
3454
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3455
3455
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3456
3456
|
}
|
|
3457
|
-
}, e.__parse =
|
|
3457
|
+
}, e.__parse = Cn, e.formats = {
|
|
3458
3458
|
number: {
|
|
3459
3459
|
integer: {
|
|
3460
3460
|
maximumFractionDigits: 0
|
|
@@ -3515,7 +3515,7 @@ var Wt = (
|
|
|
3515
3515
|
}, e;
|
|
3516
3516
|
}()
|
|
3517
3517
|
);
|
|
3518
|
-
function
|
|
3518
|
+
function Un(e, t) {
|
|
3519
3519
|
if (t == null)
|
|
3520
3520
|
return;
|
|
3521
3521
|
if (t in e)
|
|
@@ -3536,36 +3536,36 @@ function $n(e, t) {
|
|
|
3536
3536
|
n = void 0;
|
|
3537
3537
|
return n;
|
|
3538
3538
|
}
|
|
3539
|
-
const
|
|
3539
|
+
const D = {}, Fn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
|
|
3540
3540
|
if (t == null)
|
|
3541
3541
|
return;
|
|
3542
|
-
if (t in
|
|
3543
|
-
return
|
|
3544
|
-
const r =
|
|
3542
|
+
if (t in D && e in D[t])
|
|
3543
|
+
return D[t][e];
|
|
3544
|
+
const r = le(t);
|
|
3545
3545
|
for (let n = 0; n < r.length; n++) {
|
|
3546
3546
|
const i = r[n], a = zn(i, e);
|
|
3547
3547
|
if (a)
|
|
3548
|
-
return
|
|
3548
|
+
return Fn(e, t, a);
|
|
3549
3549
|
}
|
|
3550
3550
|
};
|
|
3551
|
-
let
|
|
3552
|
-
const
|
|
3553
|
-
function
|
|
3554
|
-
return
|
|
3551
|
+
let Ke;
|
|
3552
|
+
const oe = Se({});
|
|
3553
|
+
function $n(e) {
|
|
3554
|
+
return Ke[e] || null;
|
|
3555
3555
|
}
|
|
3556
3556
|
function qt(e) {
|
|
3557
|
-
return e in
|
|
3557
|
+
return e in Ke;
|
|
3558
3558
|
}
|
|
3559
3559
|
function zn(e, t) {
|
|
3560
3560
|
if (!qt(e))
|
|
3561
3561
|
return null;
|
|
3562
|
-
const r =
|
|
3563
|
-
return
|
|
3562
|
+
const r = $n(e);
|
|
3563
|
+
return Un(r, t);
|
|
3564
3564
|
}
|
|
3565
|
-
function
|
|
3565
|
+
function Gn(e) {
|
|
3566
3566
|
if (e == null)
|
|
3567
3567
|
return;
|
|
3568
|
-
const t =
|
|
3568
|
+
const t = le(e);
|
|
3569
3569
|
for (let r = 0; r < t.length; r++) {
|
|
3570
3570
|
const n = t[r];
|
|
3571
3571
|
if (qt(n))
|
|
@@ -3573,31 +3573,31 @@ function Fn(e) {
|
|
|
3573
3573
|
}
|
|
3574
3574
|
}
|
|
3575
3575
|
function Jt(e, ...t) {
|
|
3576
|
-
delete
|
|
3576
|
+
delete D[e], oe.update((r) => (r[e] = Wr.all([r[e] || {}, ...t]), r));
|
|
3577
3577
|
}
|
|
3578
|
-
|
|
3579
|
-
[
|
|
3578
|
+
Z(
|
|
3579
|
+
[oe],
|
|
3580
3580
|
([e]) => Object.keys(e)
|
|
3581
3581
|
);
|
|
3582
|
-
|
|
3583
|
-
const
|
|
3582
|
+
oe.subscribe((e) => Ke = e);
|
|
3583
|
+
const _e = {};
|
|
3584
3584
|
function jn(e, t) {
|
|
3585
|
-
|
|
3585
|
+
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
3586
3586
|
}
|
|
3587
|
-
function
|
|
3588
|
-
return
|
|
3587
|
+
function Kt(e) {
|
|
3588
|
+
return _e[e];
|
|
3589
3589
|
}
|
|
3590
3590
|
function Vn(e) {
|
|
3591
|
-
return
|
|
3592
|
-
const r =
|
|
3591
|
+
return le(e).map((t) => {
|
|
3592
|
+
const r = Kt(t);
|
|
3593
3593
|
return [t, r ? [...r] : []];
|
|
3594
3594
|
}).filter(([, t]) => t.length > 0);
|
|
3595
3595
|
}
|
|
3596
3596
|
function Te(e) {
|
|
3597
|
-
return e == null ? !1 :
|
|
3597
|
+
return e == null ? !1 : le(e).some(
|
|
3598
3598
|
(t) => {
|
|
3599
3599
|
var r;
|
|
3600
|
-
return (r =
|
|
3600
|
+
return (r = Kt(t)) == null ? void 0 : r.size;
|
|
3601
3601
|
}
|
|
3602
3602
|
);
|
|
3603
3603
|
}
|
|
@@ -3606,31 +3606,31 @@ function Wn(e, t) {
|
|
|
3606
3606
|
t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
|
|
3607
3607
|
).then((n) => Jt(e, ...n));
|
|
3608
3608
|
}
|
|
3609
|
-
const
|
|
3610
|
-
function
|
|
3609
|
+
const Q = {};
|
|
3610
|
+
function Zt(e) {
|
|
3611
3611
|
if (!Te(e))
|
|
3612
|
-
return e in
|
|
3612
|
+
return e in Q ? Q[e] : Promise.resolve();
|
|
3613
3613
|
const t = Vn(e);
|
|
3614
|
-
return
|
|
3614
|
+
return Q[e] = Promise.all(
|
|
3615
3615
|
t.map(
|
|
3616
3616
|
([r, n]) => Wn(r, n)
|
|
3617
3617
|
)
|
|
3618
3618
|
).then(() => {
|
|
3619
3619
|
if (Te(e))
|
|
3620
|
-
return
|
|
3621
|
-
delete
|
|
3622
|
-
}),
|
|
3620
|
+
return Zt(e);
|
|
3621
|
+
delete Q[e];
|
|
3622
|
+
}), Q[e];
|
|
3623
3623
|
}
|
|
3624
|
-
var
|
|
3624
|
+
var ct = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
|
|
3625
3625
|
var r = {};
|
|
3626
3626
|
for (var n in e)
|
|
3627
3627
|
Xn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3628
|
-
if (e != null &&
|
|
3629
|
-
for (var n of
|
|
3628
|
+
if (e != null && ct)
|
|
3629
|
+
for (var n of ct(e))
|
|
3630
3630
|
t.indexOf(n) < 0 && qn.call(e, n) && (r[n] = e[n]);
|
|
3631
3631
|
return r;
|
|
3632
3632
|
};
|
|
3633
|
-
const
|
|
3633
|
+
const Kn = {
|
|
3634
3634
|
number: {
|
|
3635
3635
|
scientific: { notation: "scientific" },
|
|
3636
3636
|
engineering: { notation: "engineering" },
|
|
@@ -3660,27 +3660,27 @@ const Zn = {
|
|
|
3660
3660
|
}
|
|
3661
3661
|
}
|
|
3662
3662
|
};
|
|
3663
|
-
function
|
|
3663
|
+
function Zn({ locale: e, id: t }) {
|
|
3664
3664
|
console.warn(
|
|
3665
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3665
|
+
`[svelte-i18n] The message "${t}" was not found in "${le(
|
|
3666
3666
|
e
|
|
3667
|
-
).join('", "')}".${Te(
|
|
3667
|
+
).join('", "')}".${Te(R()) ? `
|
|
3668
3668
|
|
|
3669
3669
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3670
3670
|
);
|
|
3671
3671
|
}
|
|
3672
|
-
const
|
|
3672
|
+
const Yn = {
|
|
3673
3673
|
fallbackLocale: null,
|
|
3674
3674
|
loadingDelay: 200,
|
|
3675
|
-
formats:
|
|
3675
|
+
formats: Kn,
|
|
3676
3676
|
warnOnMissingMessages: !0,
|
|
3677
3677
|
handleMissingMessage: void 0,
|
|
3678
3678
|
ignoreTag: !0
|
|
3679
|
-
}, te =
|
|
3680
|
-
function
|
|
3679
|
+
}, te = Yn;
|
|
3680
|
+
function K() {
|
|
3681
3681
|
return te;
|
|
3682
3682
|
}
|
|
3683
|
-
function
|
|
3683
|
+
function Qn(e) {
|
|
3684
3684
|
const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
|
|
3685
3685
|
let i = e.fallbackLocale;
|
|
3686
3686
|
if (e.initialLocale)
|
|
@@ -3691,173 +3691,173 @@ function Kn(e) {
|
|
|
3691
3691
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3692
3692
|
);
|
|
3693
3693
|
}
|
|
3694
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3694
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Zn : console.warn(
|
|
3695
3695
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3696
|
-
)), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)),
|
|
3696
|
+
)), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), U.set(i);
|
|
3697
3697
|
}
|
|
3698
|
-
const
|
|
3699
|
-
var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors,
|
|
3698
|
+
const De = Se(!1);
|
|
3699
|
+
var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
|
|
3700
3700
|
for (var r in t || (t = {}))
|
|
3701
|
-
ni.call(t, r) &&
|
|
3702
|
-
if (
|
|
3703
|
-
for (var r of
|
|
3704
|
-
ii.call(t, r) &&
|
|
3701
|
+
ni.call(t, r) && dt(e, r, t[r]);
|
|
3702
|
+
if (ht)
|
|
3703
|
+
for (var r of ht(t))
|
|
3704
|
+
ii.call(t, r) && dt(e, r, t[r]);
|
|
3705
3705
|
return e;
|
|
3706
|
-
},
|
|
3706
|
+
}, si = (e, t) => ti(e, ri(t));
|
|
3707
3707
|
let Xe;
|
|
3708
|
-
const
|
|
3709
|
-
function
|
|
3708
|
+
const ke = Se(null);
|
|
3709
|
+
function ft(e) {
|
|
3710
3710
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3711
3711
|
}
|
|
3712
|
-
function
|
|
3713
|
-
const r =
|
|
3714
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3712
|
+
function le(e, t = K().fallbackLocale) {
|
|
3713
|
+
const r = ft(e);
|
|
3714
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
|
|
3715
3715
|
}
|
|
3716
|
-
function
|
|
3716
|
+
function R() {
|
|
3717
3717
|
return Xe ?? void 0;
|
|
3718
3718
|
}
|
|
3719
|
-
|
|
3719
|
+
ke.subscribe((e) => {
|
|
3720
3720
|
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3721
3721
|
});
|
|
3722
|
-
const
|
|
3723
|
-
if (e &&
|
|
3724
|
-
const { loadingDelay: t } =
|
|
3722
|
+
const oi = (e) => {
|
|
3723
|
+
if (e && Gn(e) && Te(e)) {
|
|
3724
|
+
const { loadingDelay: t } = K();
|
|
3725
3725
|
let r;
|
|
3726
|
-
return typeof window < "u" &&
|
|
3727
|
-
() =>
|
|
3726
|
+
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3727
|
+
() => De.set(!0),
|
|
3728
3728
|
t
|
|
3729
|
-
) :
|
|
3730
|
-
|
|
3729
|
+
) : De.set(!0), Zt(e).then(() => {
|
|
3730
|
+
ke.set(e);
|
|
3731
3731
|
}).finally(() => {
|
|
3732
|
-
clearTimeout(r),
|
|
3732
|
+
clearTimeout(r), De.set(!1);
|
|
3733
3733
|
});
|
|
3734
3734
|
}
|
|
3735
|
-
return
|
|
3736
|
-
},
|
|
3737
|
-
set:
|
|
3738
|
-
}),
|
|
3735
|
+
return ke.set(e);
|
|
3736
|
+
}, U = si(ai({}, ke), {
|
|
3737
|
+
set: oi
|
|
3738
|
+
}), Be = (e) => {
|
|
3739
3739
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3740
3740
|
return (n) => {
|
|
3741
3741
|
const i = JSON.stringify(n);
|
|
3742
3742
|
return i in t ? t[i] : t[i] = e(n);
|
|
3743
3743
|
};
|
|
3744
3744
|
};
|
|
3745
|
-
var
|
|
3745
|
+
var li = Object.defineProperty, we = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
3746
3746
|
for (var r in t || (t = {}))
|
|
3747
|
-
|
|
3748
|
-
if (
|
|
3749
|
-
for (var r of
|
|
3750
|
-
|
|
3747
|
+
Yt.call(t, r) && mt(e, r, t[r]);
|
|
3748
|
+
if (we)
|
|
3749
|
+
for (var r of we(t))
|
|
3750
|
+
Qt.call(t, r) && mt(e, r, t[r]);
|
|
3751
3751
|
return e;
|
|
3752
|
-
},
|
|
3752
|
+
}, Y = (e, t) => {
|
|
3753
3753
|
var r = {};
|
|
3754
3754
|
for (var n in e)
|
|
3755
|
-
|
|
3756
|
-
if (e != null &&
|
|
3757
|
-
for (var n of
|
|
3758
|
-
t.indexOf(n) < 0 &&
|
|
3755
|
+
Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3756
|
+
if (e != null && we)
|
|
3757
|
+
for (var n of we(e))
|
|
3758
|
+
t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
|
|
3759
3759
|
return r;
|
|
3760
3760
|
};
|
|
3761
3761
|
const ae = (e, t) => {
|
|
3762
|
-
const { formats: r } =
|
|
3762
|
+
const { formats: r } = K();
|
|
3763
3763
|
if (e in r && t in r[e])
|
|
3764
3764
|
return r[e][t];
|
|
3765
3765
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3766
|
-
},
|
|
3766
|
+
}, ui = Be(
|
|
3767
3767
|
(e) => {
|
|
3768
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3768
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
3769
3769
|
if (r == null)
|
|
3770
3770
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3771
3771
|
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3772
3772
|
}
|
|
3773
|
-
),
|
|
3773
|
+
), ci = Be(
|
|
3774
3774
|
(e) => {
|
|
3775
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3775
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
3776
3776
|
if (r == null)
|
|
3777
3777
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3778
3778
|
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3779
3779
|
}
|
|
3780
|
-
),
|
|
3780
|
+
), hi = Be(
|
|
3781
3781
|
(e) => {
|
|
3782
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3782
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
3783
3783
|
if (r == null)
|
|
3784
3784
|
throw new Error(
|
|
3785
3785
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3786
3786
|
);
|
|
3787
3787
|
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3788
3788
|
}
|
|
3789
|
-
),
|
|
3789
|
+
), di = (e = {}) => {
|
|
3790
3790
|
var t = e, {
|
|
3791
|
-
locale: r =
|
|
3792
|
-
} = t, n =
|
|
3791
|
+
locale: r = R()
|
|
3792
|
+
} = t, n = Y(t, [
|
|
3793
3793
|
"locale"
|
|
3794
3794
|
]);
|
|
3795
|
-
return
|
|
3796
|
-
},
|
|
3795
|
+
return ui(Ze({ locale: r }, n));
|
|
3796
|
+
}, fi = (e = {}) => {
|
|
3797
3797
|
var t = e, {
|
|
3798
|
-
locale: r =
|
|
3799
|
-
} = t, n =
|
|
3798
|
+
locale: r = R()
|
|
3799
|
+
} = t, n = Y(t, [
|
|
3800
3800
|
"locale"
|
|
3801
3801
|
]);
|
|
3802
|
-
return
|
|
3802
|
+
return ci(Ze({ locale: r }, n));
|
|
3803
3803
|
}, mi = (e = {}) => {
|
|
3804
3804
|
var t = e, {
|
|
3805
|
-
locale: r =
|
|
3806
|
-
} = t, n =
|
|
3805
|
+
locale: r = R()
|
|
3806
|
+
} = t, n = Y(t, [
|
|
3807
3807
|
"locale"
|
|
3808
3808
|
]);
|
|
3809
|
-
return
|
|
3810
|
-
},
|
|
3809
|
+
return hi(Ze({ locale: r }, n));
|
|
3810
|
+
}, gi = Be(
|
|
3811
3811
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3812
|
-
(e, t =
|
|
3813
|
-
ignoreTag:
|
|
3812
|
+
(e, t = R()) => new Wt(e, t, K().formats, {
|
|
3813
|
+
ignoreTag: K().ignoreTag
|
|
3814
3814
|
})
|
|
3815
|
-
),
|
|
3815
|
+
), pi = (e, t = {}) => {
|
|
3816
3816
|
var r, n, i, a;
|
|
3817
|
-
let
|
|
3818
|
-
typeof e == "object" && (
|
|
3817
|
+
let s = t;
|
|
3818
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3819
3819
|
const {
|
|
3820
|
-
values:
|
|
3821
|
-
locale:
|
|
3822
|
-
default:
|
|
3823
|
-
} =
|
|
3824
|
-
if (
|
|
3820
|
+
values: o,
|
|
3821
|
+
locale: u = R(),
|
|
3822
|
+
default: l
|
|
3823
|
+
} = s;
|
|
3824
|
+
if (u == null)
|
|
3825
3825
|
throw new Error(
|
|
3826
3826
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3827
3827
|
);
|
|
3828
|
-
let
|
|
3829
|
-
if (!
|
|
3830
|
-
|
|
3831
|
-
else if (typeof
|
|
3828
|
+
let c = Xt(e, u);
|
|
3829
|
+
if (!c)
|
|
3830
|
+
c = (a = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
|
|
3831
|
+
else if (typeof c != "string")
|
|
3832
3832
|
return console.warn(
|
|
3833
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3834
|
-
),
|
|
3835
|
-
if (!
|
|
3836
|
-
return
|
|
3837
|
-
let
|
|
3833
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3834
|
+
), c;
|
|
3835
|
+
if (!o)
|
|
3836
|
+
return c;
|
|
3837
|
+
let h = c;
|
|
3838
3838
|
try {
|
|
3839
|
-
|
|
3840
|
-
} catch (
|
|
3841
|
-
|
|
3839
|
+
h = gi(c, u).format(o);
|
|
3840
|
+
} catch (d) {
|
|
3841
|
+
d instanceof Error && console.warn(
|
|
3842
3842
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3843
|
-
|
|
3843
|
+
d.message
|
|
3844
3844
|
);
|
|
3845
3845
|
}
|
|
3846
|
-
return
|
|
3847
|
-
}, bi = (e, t) => mi(t).format(e),
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
function
|
|
3846
|
+
return h;
|
|
3847
|
+
}, bi = (e, t) => mi(t).format(e), vi = (e, t) => fi(t).format(e), yi = (e, t) => di(t).format(e), Ei = (e, t = R()) => Xt(e, t), _i = Z([U, oe], () => pi);
|
|
3848
|
+
Z([U], () => bi);
|
|
3849
|
+
Z([U], () => vi);
|
|
3850
|
+
Z([U], () => yi);
|
|
3851
|
+
Z([U, oe], () => Ei);
|
|
3852
|
+
function gt(e, t) {
|
|
3853
3853
|
Jt(e, t);
|
|
3854
3854
|
}
|
|
3855
3855
|
function xi(e) {
|
|
3856
|
-
|
|
3856
|
+
Qn({
|
|
3857
3857
|
fallbackLocale: "en"
|
|
3858
|
-
}),
|
|
3858
|
+
}), U.set(e);
|
|
3859
3859
|
}
|
|
3860
|
-
const
|
|
3860
|
+
const pt = {
|
|
3861
3861
|
en: {
|
|
3862
3862
|
VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
|
|
3863
3863
|
CustomerDocumentIdMissing: "The document ID is missing",
|
|
@@ -4011,59 +4011,215 @@ const gt = {
|
|
|
4011
4011
|
MissingPaymentDetails: "Détails de paiement manquants",
|
|
4012
4012
|
InvalidAccount: "Compte invalide",
|
|
4013
4013
|
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."
|
|
4014
|
+
},
|
|
4015
|
+
da: {
|
|
4016
|
+
VendorMicroserviceCommunicationError: "Vi beklager, men din betalingsudbyder har afvist at behandle på grund af en mikroservice-kommunikationsfejl. Prøv venligst igen senere.",
|
|
4017
|
+
CustomerDocumentIdMissing: "Dokument-ID mangler",
|
|
4018
|
+
InvalidTransactionStatus: "Transaktionsstatus er ugyldig",
|
|
4019
|
+
UndefinedTechnicalError: "Noget gik galt",
|
|
4020
|
+
errorGeneralTitle: "Der opstod en fejl",
|
|
4021
|
+
errorGeneralText: "Noget gik galt",
|
|
4022
|
+
errorGeneralButton: "LUK",
|
|
4023
|
+
PlayerSessionIsNotValid: "Spillersession er ikke gyldig",
|
|
4024
|
+
VendorCommunicationError: "Vi beklager, men din betalingsudbyder har afvist at behandle på grund af en teknisk fejl. Prøv venligst senere eller kontakt din betalingsløsningsudbyder for yderligere hjælp. Fejlkode 21297",
|
|
4025
|
+
PaymentMethodNotAllowed: "Vi beklager, men denne betalingsmetode er ikke tilgængelig i øjeblikket. Kontakt venligst kundesupport for yderligere hjælp. Fejlkode 11402",
|
|
4026
|
+
InvalidPaymentDetails: "Vi beklager, men dine betalingsoplysninger er ikke gyldige. Sørg venligst for, at du har indtastet alle betalingsoplysninger korrekt, og prøv igen eller kontakt kundesupport for yderligere hjælp. Fejlkode 13555",
|
|
4027
|
+
MerchantUserHasWithdrawBlockRole: "Kære spiller! Vi informerer dig om, at du i øjeblikket ikke har tilladelse til at starte udbetalingstransaktioner fra din spillerkonto. Fejlkode: 21122",
|
|
4028
|
+
MerchantUserHasDepositBlockRole: "Kære spiller! Vi informerer dig om, at du i øjeblikket ikke har tilladelse til at starte indbetalingstransaktioner fra din spillerkonto. Fejlkode: 21123",
|
|
4029
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
|
|
4030
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Vi beklager, men vi kan ikke behandle transaktionen, fordi du ikke har gennemført KYC. Bekræft venligst din identitet eller kontakt kundesupport for yderligere hjælp. Fejlkode 23601",
|
|
4031
|
+
InsufficientCasinoFunds: "Din udbetaling overstiger din tilgængelige saldo. Tjek venligst din tilgængelige saldo for at justere dit udbetalingsbeløb",
|
|
4032
|
+
DepositWageringLimit: "Opmærksomhed! Din gevinstbalance er mindre end det beløb, du ønsker at hæve.",
|
|
4033
|
+
DepositWageringFetching: "Henter data",
|
|
4034
|
+
DepositWageringLimitText: "Indbetalingsvæddemål: ",
|
|
4035
|
+
AmountMinLimitExceeded: "Beløb er mindre end betalingsmetodens minimumsgrænse",
|
|
4036
|
+
AmountMaxLimitExceeded: "Beløb er større end betalingsmetodens maksimumsgrænse",
|
|
4037
|
+
AmountIsMissing: "Beløb mangler",
|
|
4038
|
+
MaxCustomerTransactionsCountReached: "Det ser ud til, at du har nået frekvensgrænsen for transaktionsforsøg pr. minut. Serveren tager for lang tid om at svare. Vent venligst lidt og prøv igen om et øjeblik",
|
|
4039
|
+
VendorTimeoutError: "Det ser ud til, at betalingsudbyderen har nogle problemer. Serveren tager for lang tid om at svare. Vent venligst lidt og prøv igen om et øjeblik. Fejlkode 21292",
|
|
4040
|
+
MerchantUserAccountIsInactive: "Afvist af handlende, brugerkonto er inaktiv",
|
|
4041
|
+
MerchantUserHasDepositDenyRole: "Afvist af handlende, bruger har indbetalingsnægtelsesrolle",
|
|
4042
|
+
TransactionCodeIsInvalid: "Transaktionskode er ugyldig",
|
|
4043
|
+
InvalidSession: "Din session er udløbet. Prøv venligst igen",
|
|
4044
|
+
TwoFactorAuthRequired: "To-faktor-godkendelse er påkrævet",
|
|
4045
|
+
DeclinedByMerchant: "Vi beklager, men transaktionen er blevet lukket af handlenden. Kontakt venligst kundesupport for yderligere hjælp.",
|
|
4046
|
+
FraudSuspectedError: "Vi beklager, men vi er ikke i stand til at behandle din transaktion i øjeblikket. Prøv venligst senere eller kontakt kundesupport for yderligere hjælp. Fejlkode 22020",
|
|
4047
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Kun én afventende transaktion pr. bruger er tilladt",
|
|
4048
|
+
TransactionFrequencyLimitReached: "Transaktionsfrekvensgrænse nået",
|
|
4049
|
+
DailyTransactionFrequencyLimitReached: "Transaktionen kan ikke udføres i øjeblikket, prøv venligst igen senere.",
|
|
4050
|
+
NotMappedVendorError: "Din saldo er utilstrækkelig, eller du har muligvis nået din transaktionsgrænse. Kontakt venligst din telekommunikationstjenesteudbyder",
|
|
4051
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Din saldo er utilstrækkelig, eller du har muligvis nået din transaktionsgrænse. Kontakt venligst din telekommunikationstjenesteudbyder",
|
|
4052
|
+
CumulativeLimitExceeded: "Pengemæssig grænse overskredet",
|
|
4053
|
+
CumulativeLimitExceededException: "Pengemæssig grænse overskredet",
|
|
4054
|
+
InsufficientFunds: "Utilstrækkelige midler",
|
|
4055
|
+
DeclinedByBank: "Transaktion afvist af banken",
|
|
4056
|
+
MaxNumberOfTransactionsReached: "Maksimalt antal transaktioner nået",
|
|
4057
|
+
OnlyOnePendingTransactionPerUserIsAllowed: "Kun én afventende transaktion er tilladt pr. bruger",
|
|
4058
|
+
AuthenticationFailed: "Godkendelse mislykkedes",
|
|
4059
|
+
CommunicationTimeoutError: "Kommunikationstimeout",
|
|
4060
|
+
MissingPaymentDetails: "Betalingsoplysninger mangler",
|
|
4061
|
+
InvalidAccount: "Ugyldig konto",
|
|
4062
|
+
DuplicatePaymentAccount: "Den konto, du brugte til at anmode om en udbetaling, er blevet anset for mistænkelig, og din transaktion er blevet annulleret af sikkerhedsmæssige årsager. Kontakt venligst vores live support for flere detaljer.",
|
|
4063
|
+
InvalidCardHolder: "Ugyldig kortholder",
|
|
4064
|
+
VendorInvalidCard: "Ugyldig leverandørkort",
|
|
4065
|
+
CardTokenIsBlocked: "Korttoken er blokeret"
|
|
4066
|
+
},
|
|
4067
|
+
de: {
|
|
4068
|
+
VendorMicroserviceCommunicationError: "Wir entschuldigen uns, aber Ihr Zahlungsanbieter hat die Verarbeitung aufgrund eines Microservice-Kommunikationsfehlers abgelehnt. Bitte versuchen Sie es später erneut.",
|
|
4069
|
+
CustomerDocumentIdMissing: "Die Dokument-ID fehlt",
|
|
4070
|
+
InvalidTransactionStatus: "Der Transaktionsstatus ist ungültig",
|
|
4071
|
+
UndefinedTechnicalError: "Etwas ist schiefgelaufen",
|
|
4072
|
+
errorGeneralTitle: "Fehler aufgetreten",
|
|
4073
|
+
errorGeneralText: "Etwas ist schiefgelaufen",
|
|
4074
|
+
errorGeneralButton: "SCHLIESSEN",
|
|
4075
|
+
PlayerSessionIsNotValid: "Spielersitzung ist nicht gültig",
|
|
4076
|
+
VendorCommunicationError: "Wir entschuldigen uns, aber Ihr Zahlungsanbieter hat die Verarbeitung aufgrund eines technischen Fehlers abgelehnt. Bitte versuchen Sie es später oder kontaktieren Sie Ihren Zahlungsanbieter für weitere Hilfe. Fehlercode 21297",
|
|
4077
|
+
PaymentMethodNotAllowed: "Wir entschuldigen uns, aber diese Zahlungsmethode ist derzeit nicht verfügbar. Bitte kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 11402",
|
|
4078
|
+
InvalidPaymentDetails: "Wir entschuldigen uns, aber Ihre Zahlungsdaten sind nicht gültig. Bitte stellen Sie sicher, dass Sie alle Zahlungsdaten korrekt eingegeben haben, und versuchen Sie es erneut oder kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 13555",
|
|
4079
|
+
MerchantUserHasWithdrawBlockRole: "Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Auszahlungstransaktionen von Ihrem Spielerkonto initiieren dürfen. Fehlercode: 21122",
|
|
4080
|
+
MerchantUserHasDepositBlockRole: "Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlungstransaktionen von Ihrem Spielerkonto initiieren dürfen. Fehlercode: 21123",
|
|
4081
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
|
|
4082
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Wir entschuldigen uns, aber wir können die Transaktion nicht verarbeiten, da Sie die KYC-Prüfung nicht abgeschlossen haben. Bitte verifizieren Sie Ihre Identität oder kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 23601",
|
|
4083
|
+
InsufficientCasinoFunds: "Ihre Auszahlung übersteigt Ihr verfügbares Guthaben. Bitte überprüfen Sie Ihr verfügbares Guthaben, um Ihren Auszahlungsbetrag anzupassen",
|
|
4084
|
+
DepositWageringLimit: "Achtung! Ihr Gewinnguthaben ist geringer als der Betrag, den Sie abheben möchten.",
|
|
4085
|
+
DepositWageringFetching: "Daten werden geladen",
|
|
4086
|
+
DepositWageringLimitText: "Einzahlungswetten: ",
|
|
4087
|
+
AmountMinLimitExceeded: "Betrag ist kleiner als das Mindestlimit der Zahlungsmethode",
|
|
4088
|
+
AmountMaxLimitExceeded: "Betrag ist größer als das Höchstlimit der Zahlungsmethode",
|
|
4089
|
+
AmountIsMissing: "Betrag fehlt",
|
|
4090
|
+
MaxCustomerTransactionsCountReached: "Es scheint, dass Sie das Frequenzlimit der Transaktionsversuche pro Minute erreicht haben. Der Server braucht zu lange zum Antworten. Bitte warten Sie kurz und versuchen Sie es nach einer Weile erneut",
|
|
4091
|
+
VendorTimeoutError: "Es scheint, dass der Zahlungsanbieter einige Probleme hat. Der Server braucht zu lange zum Antworten. Bitte warten Sie kurz und versuchen Sie es nach einer Weile erneut. Fehlercode 21292",
|
|
4092
|
+
MerchantUserAccountIsInactive: "Vom Händler abgelehnt, Benutzerkonto ist inaktiv",
|
|
4093
|
+
MerchantUserHasDepositDenyRole: "Vom Händler abgelehnt, Benutzer hat Einzahlungs-Deny-Rolle",
|
|
4094
|
+
TransactionCodeIsInvalid: "Transaktionscode ist ungültig",
|
|
4095
|
+
InvalidSession: "Ihre Sitzung ist abgelaufen. Bitte versuchen Sie es erneut",
|
|
4096
|
+
TwoFactorAuthRequired: "Zwei-Faktor-Authentifizierung ist erforderlich",
|
|
4097
|
+
DeclinedByMerchant: "Wir entschuldigen uns, aber die Transaktion wurde vom Händler geschlossen. Bitte kontaktieren Sie den Kundendienst für weitere Hilfe.",
|
|
4098
|
+
FraudSuspectedError: "Wir entschuldigen uns, aber wir sind derzeit nicht in der Lage, Ihre Transaktion zu verarbeiten. Bitte versuchen Sie es später oder kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 22020",
|
|
4099
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Es ist nur eine ausstehende Transaktion pro Benutzer erlaubt",
|
|
4100
|
+
TransactionFrequencyLimitReached: "Transaktionsfrequenzlimit erreicht",
|
|
4101
|
+
DailyTransactionFrequencyLimitReached: "Die Transaktion kann im Moment nicht durchgeführt werden. Bitte versuchen Sie es später erneut.",
|
|
4102
|
+
NotMappedVendorError: "Ihr Guthaben ist unzureichend oder Sie haben möglicherweise Ihr Transaktionslimit erreicht. Bitte kontaktieren Sie Ihren Telekommunikationsdienstanbieter",
|
|
4103
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Ihr Guthaben ist unzureichend oder Sie haben möglicherweise Ihr Transaktionslimit erreicht. Bitte kontaktieren Sie Ihren Telekommunikationsdienstanbieter",
|
|
4104
|
+
CumulativeLimitExceeded: "Geldlimit überschritten",
|
|
4105
|
+
CumulativeLimitExceededException: "Geldlimit überschritten",
|
|
4106
|
+
InsufficientFunds: "Unzureichende Mittel",
|
|
4107
|
+
DeclinedByBank: "Transaktion von der Bank abgelehnt",
|
|
4108
|
+
MaxNumberOfTransactionsReached: "Maximale Anzahl von Transaktionen erreicht",
|
|
4109
|
+
OnlyOnePendingTransactionPerUserIsAllowed: "Es ist nur eine ausstehende Transaktion pro Benutzer erlaubt",
|
|
4110
|
+
AuthenticationFailed: "Authentifizierung fehlgeschlagen",
|
|
4111
|
+
CommunicationTimeoutError: "Kommunikations-Timeout",
|
|
4112
|
+
MissingPaymentDetails: "Fehlende Zahlungsdetails",
|
|
4113
|
+
InvalidAccount: "Ungültiges Konto",
|
|
4114
|
+
DuplicatePaymentAccount: "Das Konto, das Sie für die Auszahlungsanfrage verwendet haben, wurde als verdächtig eingestuft, und Ihre Transaktion wurde aus Sicherheitsgründen storniert. Bitte kontaktieren Sie unseren Live-Support für weitere Details.",
|
|
4115
|
+
InvalidCardHolder: "Ungültiger Karteninhaber",
|
|
4116
|
+
VendorInvalidCard: "Ungültige Anbieterkarte",
|
|
4117
|
+
CardTokenIsBlocked: "Karten-Token ist gesperrt"
|
|
4118
|
+
},
|
|
4119
|
+
nl: {
|
|
4120
|
+
VendorMicroserviceCommunicationError: "Onze excuses, maar uw betalingsprovider heeft de verwerking geweigerd vanwege een microservice-communicatiefout. Probeer het later opnieuw.",
|
|
4121
|
+
CustomerDocumentIdMissing: "Document-ID ontbreekt",
|
|
4122
|
+
InvalidTransactionStatus: "De transactiestatus is ongeldig",
|
|
4123
|
+
UndefinedTechnicalError: "Er is iets misgegaan",
|
|
4124
|
+
errorGeneralTitle: "Er is een fout opgetreden",
|
|
4125
|
+
errorGeneralText: "Er is iets misgegaan",
|
|
4126
|
+
errorGeneralButton: "SLUITEN",
|
|
4127
|
+
PlayerSessionIsNotValid: "Spelersessie is niet geldig",
|
|
4128
|
+
VendorCommunicationError: "Onze excuses, maar uw betalingsprovider heeft de verwerking geweigerd vanwege een technische fout. Probeer het later of neem contact op met uw betalingsoplossingsprovider voor verdere hulp. Foutcode 21297",
|
|
4129
|
+
PaymentMethodNotAllowed: "Onze excuses, maar deze betaalmethode is momenteel niet beschikbaar. Neem contact op met de klantenservice voor verdere hulp. Foutcode 11402",
|
|
4130
|
+
InvalidPaymentDetails: "Onze excuses, maar uw betalingsgegevens zijn niet geldig. Controleer of u alle betalingsgegevens correct heeft ingevoerd en probeer het opnieuw of neem contact op met de klantenservice voor verdere hulp. Foutcode 13555",
|
|
4131
|
+
MerchantUserHasWithdrawBlockRole: "Beste speler! Wij informeren u dat u momenteel geen opnametransacties mag starten vanaf uw spelersaccount. Foutcode: 21122",
|
|
4132
|
+
MerchantUserHasDepositBlockRole: "Beste speler! Wij informeren u dat u momenteel geen stortingstransacties mag starten vanaf uw spelersaccount. Foutcode: 21123",
|
|
4133
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
|
|
4134
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Onze excuses, maar we kunnen de transactie niet verwerken omdat u de KYC niet heeft voltooid. Verifieer uw identiteit of neem contact op met de klantenservice voor verdere hulp. Foutcode 23601",
|
|
4135
|
+
InsufficientCasinoFunds: "Uw opname overschrijdt uw beschikbare saldo. Controleer uw beschikbare saldo om uw opnamebedrag aan te passen",
|
|
4136
|
+
DepositWageringLimit: "Let op! Uw winstsaldo is minder dan het bedrag dat u wilt opnemen.",
|
|
4137
|
+
DepositWageringFetching: "Gegevens ophalen",
|
|
4138
|
+
DepositWageringLimitText: "Stortingsinzet: ",
|
|
4139
|
+
AmountMinLimitExceeded: "Bedrag is kleiner dan het minimumslimiet van de betaalmethode",
|
|
4140
|
+
AmountMaxLimitExceeded: "Bedrag is groter dan het maximumlimiet van de betaalmethode",
|
|
4141
|
+
AmountIsMissing: "Bedrag ontbreekt",
|
|
4142
|
+
MaxCustomerTransactionsCountReached: "Het lijkt erop dat u de frequentielimiet van transactiepogingen per minuut heeft bereikt. De server reageert te traag. Wacht even en probeer het over een tijdje opnieuw",
|
|
4143
|
+
VendorTimeoutError: "Het lijkt erop dat de betalingsprovider problemen heeft. De server reageert te traag. Wacht even en probeer het over een tijdje opnieuw. Foutcode 21292",
|
|
4144
|
+
MerchantUserAccountIsInactive: "Geweigerd door handelaar, gebruikersaccount is inactief",
|
|
4145
|
+
MerchantUserHasDepositDenyRole: "Geweigerd door handelaar, gebruiker heeft stortings-weigeringsrol",
|
|
4146
|
+
TransactionCodeIsInvalid: "Transactiecode is ongeldig",
|
|
4147
|
+
InvalidSession: "Uw sessie is verlopen. Probeer het opnieuw",
|
|
4148
|
+
TwoFactorAuthRequired: "Tweefactorauthenticatie is vereist",
|
|
4149
|
+
DeclinedByMerchant: "Onze excuses, maar de transactie is gesloten door de handelaar. Neem contact op met de klantenservice voor verdere hulp.",
|
|
4150
|
+
FraudSuspectedError: "Onze excuses, maar we kunnen uw transactie momenteel niet verwerken. Probeer het later of neem contact op met de klantenservice voor verdere hulp. Foutcode 22020",
|
|
4151
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Slechts één openstaande transactie per gebruiker is toegestaan",
|
|
4152
|
+
TransactionFrequencyLimitReached: "Transactiefrequentielimiet bereikt",
|
|
4153
|
+
DailyTransactionFrequencyLimitReached: "De transactie kan momenteel niet worden uitgevoerd. Probeer het later opnieuw.",
|
|
4154
|
+
NotMappedVendorError: "Uw saldo is onvoldoende of u heeft mogelijk uw transactielimiet bereikt. Neem contact op met uw telecommunicatiedienstverlener",
|
|
4155
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Uw saldo is onvoldoende of u heeft mogelijk uw transactielimiet bereikt. Neem contact op met uw telecommunicatiedienstverlener",
|
|
4156
|
+
CumulativeLimitExceeded: "Geldlimiet overschreden",
|
|
4157
|
+
CumulativeLimitExceededException: "Geldlimiet overschreden",
|
|
4158
|
+
InsufficientFunds: "Onvoldoende saldo",
|
|
4159
|
+
DeclinedByBank: "Transactie geweigerd door de bank",
|
|
4160
|
+
MaxNumberOfTransactionsReached: "Maximaal aantal transacties bereikt",
|
|
4161
|
+
OnlyOnePendingTransactionPerUserIsAllowed: "Slechts één openstaande transactie is toegestaan per gebruiker",
|
|
4162
|
+
AuthenticationFailed: "Authenticatie mislukt",
|
|
4163
|
+
CommunicationTimeoutError: "Communicatietimeout",
|
|
4164
|
+
MissingPaymentDetails: "Betalingsgegevens ontbreken",
|
|
4165
|
+
InvalidAccount: "Ongeldig account",
|
|
4166
|
+
DuplicatePaymentAccount: "Het account dat u heeft gebruikt voor een opnameverzoek is als verdacht aangemerkt en uw transactie is geannuleerd om veiligheidsredenen. Neem contact op met onze live support voor meer details.",
|
|
4167
|
+
InvalidCardHolder: "Ongeldige kaarthouder",
|
|
4168
|
+
VendorInvalidCard: "Ongeldige leverancierskaart",
|
|
4169
|
+
CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
|
|
4014
4170
|
}
|
|
4015
4171
|
};
|
|
4016
4172
|
function Ti(e) {
|
|
4017
4173
|
ar(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}');
|
|
4018
4174
|
}
|
|
4019
|
-
const
|
|
4020
|
-
function
|
|
4175
|
+
const ki = (e) => ({}), bt = (e) => ({}), wi = (e) => ({}), vt = (e) => ({}), Si = (e) => ({}), yt = (e) => ({}), Ai = (e) => ({}), Et = (e) => ({ class: "CashierErrorIcon" });
|
|
4176
|
+
function _t(e) {
|
|
4021
4177
|
let t, r;
|
|
4022
4178
|
return {
|
|
4023
4179
|
c() {
|
|
4024
|
-
t =
|
|
4025
|
-
e[0]}/error-general-icon.png`) ||
|
|
4180
|
+
t = B("ui-image"), Qe(t.src, r = `${/*assetsurl*/
|
|
4181
|
+
e[0]}/error-general-icon.png`) || ge(t, "src", r), ge(t, "width", "300px"), ge(t, "alt", "error");
|
|
4026
4182
|
},
|
|
4027
4183
|
m(n, i) {
|
|
4028
|
-
|
|
4184
|
+
A(n, t, i);
|
|
4029
4185
|
},
|
|
4030
4186
|
p(n, i) {
|
|
4031
4187
|
i & /*assetsurl*/
|
|
4032
|
-
1 && !
|
|
4033
|
-
n[0]}/error-general-icon.png`) &&
|
|
4188
|
+
1 && !Qe(t.src, r = `${/*assetsurl*/
|
|
4189
|
+
n[0]}/error-general-icon.png`) && ge(t, "src", r);
|
|
4034
4190
|
},
|
|
4035
4191
|
d(n) {
|
|
4036
|
-
n &&
|
|
4192
|
+
n && S(t);
|
|
4037
4193
|
}
|
|
4038
4194
|
};
|
|
4039
4195
|
}
|
|
4040
|
-
function
|
|
4196
|
+
function Ii(e) {
|
|
4041
4197
|
let t, r = (
|
|
4042
4198
|
/*assetsurl*/
|
|
4043
|
-
e[0] &&
|
|
4199
|
+
e[0] && _t(e)
|
|
4044
4200
|
);
|
|
4045
4201
|
return {
|
|
4046
4202
|
c() {
|
|
4047
4203
|
r && r.c(), t = Je();
|
|
4048
4204
|
},
|
|
4049
4205
|
m(n, i) {
|
|
4050
|
-
r && r.m(n, i),
|
|
4206
|
+
r && r.m(n, i), A(n, t, i);
|
|
4051
4207
|
},
|
|
4052
4208
|
p(n, i) {
|
|
4053
4209
|
/*assetsurl*/
|
|
4054
|
-
n[0] ? r ? r.p(n, i) : (r =
|
|
4210
|
+
n[0] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4055
4211
|
},
|
|
4056
4212
|
d(n) {
|
|
4057
|
-
n &&
|
|
4213
|
+
n && S(t), r && r.d(n);
|
|
4058
4214
|
}
|
|
4059
4215
|
};
|
|
4060
4216
|
}
|
|
4061
4217
|
function xt(e) {
|
|
4062
4218
|
let t;
|
|
4063
|
-
function r(a,
|
|
4219
|
+
function r(a, s) {
|
|
4064
4220
|
return (
|
|
4065
4221
|
/*depositWageringAmount*/
|
|
4066
|
-
a[3] < 0 ?
|
|
4222
|
+
a[3] < 0 ? Hi : Bi
|
|
4067
4223
|
);
|
|
4068
4224
|
}
|
|
4069
4225
|
let n = r(e), i = n(e);
|
|
@@ -4071,18 +4227,18 @@ function xt(e) {
|
|
|
4071
4227
|
c() {
|
|
4072
4228
|
i.c(), t = Je();
|
|
4073
4229
|
},
|
|
4074
|
-
m(a,
|
|
4075
|
-
i.m(a,
|
|
4230
|
+
m(a, s) {
|
|
4231
|
+
i.m(a, s), A(a, t, s);
|
|
4076
4232
|
},
|
|
4077
|
-
p(a,
|
|
4078
|
-
n === (n = r(a)) && i ? i.p(a,
|
|
4233
|
+
p(a, s) {
|
|
4234
|
+
n === (n = r(a)) && i ? i.p(a, s) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
|
|
4079
4235
|
},
|
|
4080
4236
|
d(a) {
|
|
4081
|
-
a &&
|
|
4237
|
+
a && S(t), i.d(a);
|
|
4082
4238
|
}
|
|
4083
4239
|
};
|
|
4084
4240
|
}
|
|
4085
|
-
function
|
|
4241
|
+
function Bi(e) {
|
|
4086
4242
|
let t, r = (
|
|
4087
4243
|
/*$_*/
|
|
4088
4244
|
e[5]("DepositWageringLimitText") + ""
|
|
@@ -4092,41 +4248,41 @@ function Ci(e) {
|
|
|
4092
4248
|
);
|
|
4093
4249
|
return {
|
|
4094
4250
|
c() {
|
|
4095
|
-
t =
|
|
4251
|
+
t = B("span"), n = N(r), i = j(), a && a.c(), O(t, "class", "CashierErrorText");
|
|
4096
4252
|
},
|
|
4097
|
-
m(
|
|
4098
|
-
|
|
4253
|
+
m(s, o) {
|
|
4254
|
+
A(s, t, o), I(t, n), I(t, i), a && a.m(t, null);
|
|
4099
4255
|
},
|
|
4100
|
-
p(
|
|
4101
|
-
|
|
4256
|
+
p(s, o) {
|
|
4257
|
+
o & /*$_*/
|
|
4102
4258
|
32 && r !== (r = /*$_*/
|
|
4103
|
-
|
|
4104
|
-
|
|
4259
|
+
s[5]("DepositWageringLimitText") + "") && W(n, r), /*depositWageringAmount*/
|
|
4260
|
+
s[3] > 0 ? a ? a.p(s, o) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4105
4261
|
},
|
|
4106
|
-
d(
|
|
4107
|
-
|
|
4262
|
+
d(s) {
|
|
4263
|
+
s && S(t), a && a.d();
|
|
4108
4264
|
}
|
|
4109
4265
|
};
|
|
4110
4266
|
}
|
|
4111
|
-
function
|
|
4267
|
+
function Hi(e) {
|
|
4112
4268
|
let t, r, n = (
|
|
4113
4269
|
/*$_*/
|
|
4114
4270
|
e[5]("DepositWageringFetching") + ""
|
|
4115
4271
|
), i;
|
|
4116
4272
|
return {
|
|
4117
4273
|
c() {
|
|
4118
|
-
t =
|
|
4274
|
+
t = B("div"), r = B("span"), i = N(n), O(r, "class", "CashierErrorText LoadingText"), O(t, "class", "WageringFetch");
|
|
4119
4275
|
},
|
|
4120
|
-
m(a,
|
|
4121
|
-
|
|
4276
|
+
m(a, s) {
|
|
4277
|
+
A(a, t, s), I(t, r), I(r, i);
|
|
4122
4278
|
},
|
|
4123
|
-
p(a,
|
|
4124
|
-
|
|
4279
|
+
p(a, s) {
|
|
4280
|
+
s & /*$_*/
|
|
4125
4281
|
32 && n !== (n = /*$_*/
|
|
4126
4282
|
a[5]("DepositWageringFetching") + "") && W(i, n);
|
|
4127
4283
|
},
|
|
4128
4284
|
d(a) {
|
|
4129
|
-
a &&
|
|
4285
|
+
a && S(t);
|
|
4130
4286
|
}
|
|
4131
4287
|
};
|
|
4132
4288
|
}
|
|
@@ -4134,16 +4290,16 @@ function Tt(e) {
|
|
|
4134
4290
|
let t, r, n;
|
|
4135
4291
|
return {
|
|
4136
4292
|
c() {
|
|
4137
|
-
t =
|
|
4293
|
+
t = N(
|
|
4138
4294
|
/*depositWageringAmount*/
|
|
4139
4295
|
e[3]
|
|
4140
|
-
), r = j(), n =
|
|
4296
|
+
), r = j(), n = N(
|
|
4141
4297
|
/*depositWageringCurrency*/
|
|
4142
4298
|
e[4]
|
|
4143
4299
|
);
|
|
4144
4300
|
},
|
|
4145
4301
|
m(i, a) {
|
|
4146
|
-
|
|
4302
|
+
A(i, t, a), A(i, r, a), A(i, n, a);
|
|
4147
4303
|
},
|
|
4148
4304
|
p(i, a) {
|
|
4149
4305
|
a & /*depositWageringAmount*/
|
|
@@ -4159,276 +4315,276 @@ function Tt(e) {
|
|
|
4159
4315
|
);
|
|
4160
4316
|
},
|
|
4161
4317
|
d(i) {
|
|
4162
|
-
i && (
|
|
4318
|
+
i && (S(t), S(r), S(n));
|
|
4163
4319
|
}
|
|
4164
4320
|
};
|
|
4165
4321
|
}
|
|
4166
|
-
function
|
|
4322
|
+
function Ci(e) {
|
|
4167
4323
|
let t, r = (
|
|
4168
4324
|
/*$_*/
|
|
4169
4325
|
e[5](`${/*errorcode*/
|
|
4170
4326
|
e[1] || "errorGeneralText"}`) + ""
|
|
4171
|
-
), n, i, a,
|
|
4327
|
+
), n, i, a, s = (
|
|
4172
4328
|
/*errorcode*/
|
|
4173
4329
|
e[1] == "DepositWageringLimit" && xt(e)
|
|
4174
4330
|
);
|
|
4175
4331
|
return {
|
|
4176
4332
|
c() {
|
|
4177
|
-
t =
|
|
4333
|
+
t = B("span"), n = N(r), i = j(), s && s.c(), a = Je(), O(t, "class", "CashierErrorText");
|
|
4178
4334
|
},
|
|
4179
|
-
m(
|
|
4180
|
-
|
|
4335
|
+
m(o, u) {
|
|
4336
|
+
A(o, t, u), I(t, n), A(o, i, u), s && s.m(o, u), A(o, a, u);
|
|
4181
4337
|
},
|
|
4182
|
-
p(
|
|
4183
|
-
|
|
4338
|
+
p(o, u) {
|
|
4339
|
+
u & /*$_, errorcode*/
|
|
4184
4340
|
34 && r !== (r = /*$_*/
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4341
|
+
o[5](`${/*errorcode*/
|
|
4342
|
+
o[1] || "errorGeneralText"}`) + "") && W(n, r), /*errorcode*/
|
|
4343
|
+
o[1] == "DepositWageringLimit" ? s ? s.p(o, u) : (s = xt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
|
|
4188
4344
|
},
|
|
4189
|
-
d(
|
|
4190
|
-
|
|
4345
|
+
d(o) {
|
|
4346
|
+
o && (S(t), S(i), S(a)), s && s.d(o);
|
|
4191
4347
|
}
|
|
4192
4348
|
};
|
|
4193
4349
|
}
|
|
4194
|
-
function
|
|
4350
|
+
function Li(e) {
|
|
4195
4351
|
let t, r, n = (
|
|
4196
4352
|
/*$_*/
|
|
4197
4353
|
e[5]("errorGeneralButton") + ""
|
|
4198
|
-
), i, a,
|
|
4354
|
+
), i, a, s;
|
|
4199
4355
|
return {
|
|
4200
4356
|
c() {
|
|
4201
|
-
t =
|
|
4357
|
+
t = B("button"), r = B("span"), i = N(n), O(t, "class", "CashierErrorButton");
|
|
4202
4358
|
},
|
|
4203
|
-
m(
|
|
4204
|
-
|
|
4359
|
+
m(o, u) {
|
|
4360
|
+
A(o, t, u), I(t, r), I(r, i), a || (s = lr(
|
|
4205
4361
|
t,
|
|
4206
4362
|
"click",
|
|
4207
4363
|
/*close*/
|
|
4208
4364
|
e[6]
|
|
4209
4365
|
), a = !0);
|
|
4210
4366
|
},
|
|
4211
|
-
p(
|
|
4212
|
-
|
|
4367
|
+
p(o, u) {
|
|
4368
|
+
u & /*$_*/
|
|
4213
4369
|
32 && n !== (n = /*$_*/
|
|
4214
|
-
|
|
4370
|
+
o[5]("errorGeneralButton") + "") && W(i, n);
|
|
4215
4371
|
},
|
|
4216
|
-
d(
|
|
4217
|
-
|
|
4372
|
+
d(o) {
|
|
4373
|
+
o && S(t), a = !1, s();
|
|
4218
4374
|
}
|
|
4219
4375
|
};
|
|
4220
4376
|
}
|
|
4221
|
-
function
|
|
4222
|
-
let t, r, n, i, a,
|
|
4223
|
-
const
|
|
4377
|
+
function Pi(e) {
|
|
4378
|
+
let t, r, n, i, a, s;
|
|
4379
|
+
const o = (
|
|
4224
4380
|
/*#slots*/
|
|
4225
4381
|
e[13].icon
|
|
4226
|
-
),
|
|
4227
|
-
|
|
4382
|
+
), u = he(
|
|
4383
|
+
o,
|
|
4228
4384
|
e,
|
|
4229
4385
|
/*$$scope*/
|
|
4230
4386
|
e[12],
|
|
4231
|
-
|
|
4232
|
-
),
|
|
4387
|
+
Et
|
|
4388
|
+
), l = u || Ii(e), c = (
|
|
4233
4389
|
/*#slots*/
|
|
4234
4390
|
e[13].title
|
|
4235
|
-
),
|
|
4236
|
-
|
|
4391
|
+
), h = he(
|
|
4392
|
+
c,
|
|
4237
4393
|
e,
|
|
4238
4394
|
/*$$scope*/
|
|
4239
4395
|
e[12],
|
|
4240
|
-
|
|
4241
|
-
),
|
|
4396
|
+
yt
|
|
4397
|
+
), d = (
|
|
4242
4398
|
/*#slots*/
|
|
4243
4399
|
e[13].text
|
|
4244
|
-
),
|
|
4245
|
-
|
|
4400
|
+
), g = he(
|
|
4401
|
+
d,
|
|
4246
4402
|
e,
|
|
4247
4403
|
/*$$scope*/
|
|
4248
4404
|
e[12],
|
|
4249
|
-
|
|
4250
|
-
),
|
|
4405
|
+
vt
|
|
4406
|
+
), p = g || Ci(e), x = (
|
|
4251
4407
|
/*#slots*/
|
|
4252
4408
|
e[13].button
|
|
4253
|
-
),
|
|
4409
|
+
), k = he(
|
|
4254
4410
|
x,
|
|
4255
4411
|
e,
|
|
4256
4412
|
/*$$scope*/
|
|
4257
4413
|
e[12],
|
|
4258
4414
|
bt
|
|
4259
|
-
), T =
|
|
4415
|
+
), T = k || Li(e);
|
|
4260
4416
|
return {
|
|
4261
4417
|
c() {
|
|
4262
|
-
t =
|
|
4418
|
+
t = B("div"), r = B("div"), l && l.c(), n = j(), h && h.c(), i = j(), p && p.c(), a = j(), T && T.c(), O(r, "class", "CashierErrorContent"), O(t, "class", "CashierError");
|
|
4263
4419
|
},
|
|
4264
|
-
m(
|
|
4265
|
-
|
|
4420
|
+
m(f, y) {
|
|
4421
|
+
A(f, t, y), I(t, r), l && l.m(r, null), I(r, n), h && h.m(r, null), I(r, i), p && p.m(r, null), I(r, a), T && T.m(r, null), e[14](t), s = !0;
|
|
4266
4422
|
},
|
|
4267
|
-
p(
|
|
4268
|
-
|
|
4269
|
-
4096) &&
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4423
|
+
p(f, [y]) {
|
|
4424
|
+
u ? u.p && (!s || y & /*$$scope*/
|
|
4425
|
+
4096) && fe(
|
|
4426
|
+
u,
|
|
4427
|
+
o,
|
|
4428
|
+
f,
|
|
4273
4429
|
/*$$scope*/
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4430
|
+
f[12],
|
|
4431
|
+
s ? de(
|
|
4432
|
+
o,
|
|
4277
4433
|
/*$$scope*/
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4434
|
+
f[12],
|
|
4435
|
+
y,
|
|
4436
|
+
Ai
|
|
4281
4437
|
) : me(
|
|
4282
4438
|
/*$$scope*/
|
|
4283
|
-
|
|
4439
|
+
f[12]
|
|
4284
4440
|
),
|
|
4285
|
-
|
|
4286
|
-
) :
|
|
4287
|
-
1) &&
|
|
4288
|
-
4096) &&
|
|
4289
|
-
c,
|
|
4441
|
+
Et
|
|
4442
|
+
) : l && l.p && (!s || y & /*assetsurl*/
|
|
4443
|
+
1) && l.p(f, s ? y : -1), h && h.p && (!s || y & /*$$scope*/
|
|
4444
|
+
4096) && fe(
|
|
4290
4445
|
h,
|
|
4291
|
-
|
|
4446
|
+
c,
|
|
4447
|
+
f,
|
|
4292
4448
|
/*$$scope*/
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4449
|
+
f[12],
|
|
4450
|
+
s ? de(
|
|
4451
|
+
c,
|
|
4296
4452
|
/*$$scope*/
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4453
|
+
f[12],
|
|
4454
|
+
y,
|
|
4455
|
+
Si
|
|
4300
4456
|
) : me(
|
|
4301
4457
|
/*$$scope*/
|
|
4302
|
-
|
|
4458
|
+
f[12]
|
|
4303
4459
|
),
|
|
4304
|
-
|
|
4305
|
-
),
|
|
4306
|
-
4096) &&
|
|
4307
|
-
|
|
4308
|
-
f,
|
|
4460
|
+
yt
|
|
4461
|
+
), g ? g.p && (!s || y & /*$$scope*/
|
|
4462
|
+
4096) && fe(
|
|
4463
|
+
g,
|
|
4309
4464
|
d,
|
|
4465
|
+
f,
|
|
4310
4466
|
/*$$scope*/
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4467
|
+
f[12],
|
|
4468
|
+
s ? de(
|
|
4469
|
+
d,
|
|
4314
4470
|
/*$$scope*/
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4471
|
+
f[12],
|
|
4472
|
+
y,
|
|
4473
|
+
wi
|
|
4318
4474
|
) : me(
|
|
4319
4475
|
/*$$scope*/
|
|
4320
|
-
|
|
4476
|
+
f[12]
|
|
4321
4477
|
),
|
|
4322
|
-
|
|
4323
|
-
) :
|
|
4324
|
-
58) &&
|
|
4325
|
-
4096) &&
|
|
4326
|
-
|
|
4478
|
+
vt
|
|
4479
|
+
) : p && p.p && (!s || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
|
|
4480
|
+
58) && p.p(f, s ? y : -1), k ? k.p && (!s || y & /*$$scope*/
|
|
4481
|
+
4096) && fe(
|
|
4482
|
+
k,
|
|
4327
4483
|
x,
|
|
4328
|
-
|
|
4484
|
+
f,
|
|
4329
4485
|
/*$$scope*/
|
|
4330
|
-
|
|
4331
|
-
|
|
4486
|
+
f[12],
|
|
4487
|
+
s ? de(
|
|
4332
4488
|
x,
|
|
4333
4489
|
/*$$scope*/
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4490
|
+
f[12],
|
|
4491
|
+
y,
|
|
4492
|
+
ki
|
|
4337
4493
|
) : me(
|
|
4338
4494
|
/*$$scope*/
|
|
4339
|
-
|
|
4495
|
+
f[12]
|
|
4340
4496
|
),
|
|
4341
4497
|
bt
|
|
4342
|
-
) : T && T.p && (!
|
|
4343
|
-
32) && T.p(
|
|
4498
|
+
) : T && T.p && (!s || y & /*$_*/
|
|
4499
|
+
32) && T.p(f, s ? y : -1);
|
|
4344
4500
|
},
|
|
4345
|
-
i(
|
|
4346
|
-
|
|
4501
|
+
i(f) {
|
|
4502
|
+
s || (ee(l, f), ee(h, f), ee(p, f), ee(T, f), s = !0);
|
|
4347
4503
|
},
|
|
4348
|
-
o(
|
|
4349
|
-
|
|
4504
|
+
o(f) {
|
|
4505
|
+
pe(l, f), pe(h, f), pe(p, f), pe(T, f), s = !1;
|
|
4350
4506
|
},
|
|
4351
|
-
d(
|
|
4352
|
-
|
|
4507
|
+
d(f) {
|
|
4508
|
+
f && S(t), l && l.d(f), h && h.d(f), p && p.d(f), T && T.d(f), e[14](null);
|
|
4353
4509
|
}
|
|
4354
4510
|
};
|
|
4355
4511
|
}
|
|
4356
|
-
function
|
|
4512
|
+
function Oi(e, t, r) {
|
|
4357
4513
|
let n;
|
|
4358
|
-
ir(e,
|
|
4359
|
-
let { $$slots: i = {}, $$scope: a } = t, { assetsurl:
|
|
4514
|
+
ir(e, _i, (m) => r(5, n = m));
|
|
4515
|
+
let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: h = "" } = t, { mbsource: d = "" } = t, g, p, x = -1, k;
|
|
4360
4516
|
const T = () => {
|
|
4361
|
-
xi(
|
|
4362
|
-
},
|
|
4363
|
-
if (
|
|
4517
|
+
xi(o);
|
|
4518
|
+
}, f = async () => {
|
|
4519
|
+
if (h)
|
|
4364
4520
|
try {
|
|
4365
|
-
const m = await fetch(
|
|
4521
|
+
const m = await fetch(h);
|
|
4366
4522
|
if (!m.ok)
|
|
4367
4523
|
throw new Error(`HTTP error! status: ${m.status}`);
|
|
4368
|
-
const
|
|
4369
|
-
Object.entries(
|
|
4370
|
-
|
|
4524
|
+
const ue = await m.json();
|
|
4525
|
+
Object.entries(ue).forEach(([er, tr]) => {
|
|
4526
|
+
gt(er, tr);
|
|
4371
4527
|
});
|
|
4372
4528
|
} catch (m) {
|
|
4373
4529
|
console.error(m);
|
|
4374
4530
|
}
|
|
4375
4531
|
};
|
|
4376
|
-
Object.keys(
|
|
4377
|
-
|
|
4532
|
+
Object.keys(pt).forEach((m) => {
|
|
4533
|
+
gt(m, pt[m]);
|
|
4378
4534
|
});
|
|
4379
|
-
const
|
|
4535
|
+
const y = () => {
|
|
4380
4536
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4381
|
-
},
|
|
4537
|
+
}, M = (m) => {
|
|
4382
4538
|
if (m.data)
|
|
4383
4539
|
switch (m.data.type) {
|
|
4384
4540
|
case "DepositWageringAmount":
|
|
4385
|
-
r(3, x = m.data.amount), r(4,
|
|
4541
|
+
r(3, x = m.data.amount), r(4, k = m.data.currency);
|
|
4386
4542
|
break;
|
|
4387
4543
|
}
|
|
4388
4544
|
};
|
|
4389
|
-
|
|
4390
|
-
window.removeEventListener("message",
|
|
4545
|
+
dr(() => (window.addEventListener("message", M, !1), () => {
|
|
4546
|
+
window.removeEventListener("message", M);
|
|
4391
4547
|
}));
|
|
4392
|
-
function
|
|
4393
|
-
|
|
4394
|
-
|
|
4548
|
+
function C(m) {
|
|
4549
|
+
Ne[m ? "unshift" : "push"](() => {
|
|
4550
|
+
g = m, r(2, g);
|
|
4395
4551
|
});
|
|
4396
4552
|
}
|
|
4397
4553
|
return e.$$set = (m) => {
|
|
4398
|
-
"assetsurl" in m && r(0,
|
|
4554
|
+
"assetsurl" in m && r(0, s = m.assetsurl), "lang" in m && r(7, o = m.lang), "errorcode" in m && r(1, u = m.errorcode), "clientstyling" in m && r(8, l = m.clientstyling), "clientstylingurl" in m && r(9, c = m.clientstylingurl), "translationurl" in m && r(10, h = m.translationurl), "mbsource" in m && r(11, d = m.mbsource), "$$scope" in m && r(12, a = m.$$scope);
|
|
4399
4555
|
}, e.$$.update = () => {
|
|
4400
4556
|
e.$$.dirty & /*lang*/
|
|
4401
|
-
128 &&
|
|
4402
|
-
260 &&
|
|
4403
|
-
516 &&
|
|
4404
|
-
2052 &&
|
|
4405
|
-
1024 &&
|
|
4557
|
+
128 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4558
|
+
260 && l && g && wr(g, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4559
|
+
516 && c && g && Sr(g, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4560
|
+
2052 && d && g && Ar(g, `${d}.Style`, p), e.$$.dirty & /*translationurl*/
|
|
4561
|
+
1024 && h && f();
|
|
4406
4562
|
}, [
|
|
4407
|
-
o,
|
|
4408
|
-
l,
|
|
4409
|
-
p,
|
|
4410
|
-
x,
|
|
4411
|
-
w,
|
|
4412
|
-
n,
|
|
4413
|
-
v,
|
|
4414
4563
|
s,
|
|
4415
4564
|
u,
|
|
4416
|
-
|
|
4565
|
+
g,
|
|
4566
|
+
x,
|
|
4567
|
+
k,
|
|
4568
|
+
n,
|
|
4569
|
+
y,
|
|
4570
|
+
o,
|
|
4571
|
+
l,
|
|
4417
4572
|
c,
|
|
4418
|
-
|
|
4573
|
+
h,
|
|
4574
|
+
d,
|
|
4419
4575
|
a,
|
|
4420
4576
|
i,
|
|
4421
|
-
|
|
4577
|
+
C
|
|
4422
4578
|
];
|
|
4423
4579
|
}
|
|
4424
|
-
class
|
|
4580
|
+
class Mi extends Tr {
|
|
4425
4581
|
constructor(t) {
|
|
4426
|
-
super(),
|
|
4582
|
+
super(), _r(
|
|
4427
4583
|
this,
|
|
4428
4584
|
t,
|
|
4429
|
-
Mi,
|
|
4430
4585
|
Oi,
|
|
4431
|
-
|
|
4586
|
+
Pi,
|
|
4587
|
+
wt,
|
|
4432
4588
|
{
|
|
4433
4589
|
assetsurl: 0,
|
|
4434
4590
|
lang: 7,
|
|
@@ -4445,46 +4601,46 @@ class Ni extends Tr {
|
|
|
4445
4601
|
return this.$$.ctx[0];
|
|
4446
4602
|
}
|
|
4447
4603
|
set assetsurl(t) {
|
|
4448
|
-
this.$$set({ assetsurl: t }),
|
|
4604
|
+
this.$$set({ assetsurl: t }), L();
|
|
4449
4605
|
}
|
|
4450
4606
|
get lang() {
|
|
4451
4607
|
return this.$$.ctx[7];
|
|
4452
4608
|
}
|
|
4453
4609
|
set lang(t) {
|
|
4454
|
-
this.$$set({ lang: t }),
|
|
4610
|
+
this.$$set({ lang: t }), L();
|
|
4455
4611
|
}
|
|
4456
4612
|
get errorcode() {
|
|
4457
4613
|
return this.$$.ctx[1];
|
|
4458
4614
|
}
|
|
4459
4615
|
set errorcode(t) {
|
|
4460
|
-
this.$$set({ errorcode: t }),
|
|
4616
|
+
this.$$set({ errorcode: t }), L();
|
|
4461
4617
|
}
|
|
4462
4618
|
get clientstyling() {
|
|
4463
4619
|
return this.$$.ctx[8];
|
|
4464
4620
|
}
|
|
4465
4621
|
set clientstyling(t) {
|
|
4466
|
-
this.$$set({ clientstyling: t }),
|
|
4622
|
+
this.$$set({ clientstyling: t }), L();
|
|
4467
4623
|
}
|
|
4468
4624
|
get clientstylingurl() {
|
|
4469
4625
|
return this.$$.ctx[9];
|
|
4470
4626
|
}
|
|
4471
4627
|
set clientstylingurl(t) {
|
|
4472
|
-
this.$$set({ clientstylingurl: t }),
|
|
4628
|
+
this.$$set({ clientstylingurl: t }), L();
|
|
4473
4629
|
}
|
|
4474
4630
|
get translationurl() {
|
|
4475
4631
|
return this.$$.ctx[10];
|
|
4476
4632
|
}
|
|
4477
4633
|
set translationurl(t) {
|
|
4478
|
-
this.$$set({ translationurl: t }),
|
|
4634
|
+
this.$$set({ translationurl: t }), L();
|
|
4479
4635
|
}
|
|
4480
4636
|
get mbsource() {
|
|
4481
4637
|
return this.$$.ctx[11];
|
|
4482
4638
|
}
|
|
4483
4639
|
set mbsource(t) {
|
|
4484
|
-
this.$$set({ mbsource: t }),
|
|
4640
|
+
this.$$set({ mbsource: t }), L();
|
|
4485
4641
|
}
|
|
4486
4642
|
}
|
|
4487
|
-
xr(
|
|
4643
|
+
xr(Mi, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4488
4644
|
export {
|
|
4489
|
-
|
|
4645
|
+
Mi as C
|
|
4490
4646
|
};
|