@everymatrix/player-account-gaming-limits-popup-2 1.87.26 → 1.87.27
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/PlayerAccountGamingLimitsPopup2-52z7cHpJ.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsPopup2-bF0YcIxH.js → PlayerAccountGamingLimitsPopup2-CXKQ-ePG.js} +1208 -1181
- package/components/{PlayerAccountGamingLimitsPopup2-CwinXA-j.js → PlayerAccountGamingLimitsPopup2-Cs8_A-vQ.js} +1243 -1215
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/esnext/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup2-D_kAGu6b.cjs +0 -10
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function ee() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Ft(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function St() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ue(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Ft);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _t(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Vt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function En(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Xt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
|
-
for (const
|
|
24
|
-
|
|
25
|
-
return
|
|
23
|
+
for (const i of t)
|
|
24
|
+
i(void 0);
|
|
25
|
+
return ee;
|
|
26
26
|
}
|
|
27
|
-
const
|
|
28
|
-
return
|
|
27
|
+
const n = e.subscribe(...t);
|
|
28
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function _n(e, t, n) {
|
|
31
|
+
e.$$.on_destroy.push(Xt(t, n));
|
|
32
32
|
}
|
|
33
33
|
function f(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const
|
|
38
|
-
if (!
|
|
39
|
-
const r =
|
|
40
|
-
r.id = t, r.textContent =
|
|
36
|
+
function xn(e, t, n) {
|
|
37
|
+
const i = wn(e);
|
|
38
|
+
if (!i.getElementById(t)) {
|
|
39
|
+
const r = g("style");
|
|
40
|
+
r.id = t, r.textContent = n, Tn(i, r);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function wn(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,154 +50,154 @@ function _i(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Tn(e, t) {
|
|
54
54
|
return f(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
e.insertBefore(t,
|
|
60
|
+
function x(e, t, n) {
|
|
61
|
+
e.insertBefore(t, n || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function E(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function g(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Z(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function S(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function M() {
|
|
76
|
+
return S(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return e.addEventListener(t,
|
|
78
|
+
function W(e, t, n, i) {
|
|
79
|
+
return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
|
|
80
80
|
}
|
|
81
|
-
function h(e, t,
|
|
82
|
-
|
|
81
|
+
function h(e, t, n) {
|
|
82
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function qt(e) {
|
|
85
85
|
return e === "" ? null : +e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Pn(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function C(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
94
|
function Bt(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
|
|
97
|
+
function Ne(e, t, n, i) {
|
|
98
|
+
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
99
99
|
}
|
|
100
|
-
function
|
|
101
|
-
e.classList.toggle(t, !!
|
|
100
|
+
function $e(e, t, n) {
|
|
101
|
+
e.classList.toggle(t, !!n);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Sn(e) {
|
|
104
104
|
const t = {};
|
|
105
105
|
return e.childNodes.forEach(
|
|
106
106
|
/** @param {Element} node */
|
|
107
|
-
(
|
|
108
|
-
t[
|
|
107
|
+
(n) => {
|
|
108
|
+
t[n.slot || "default"] = !0;
|
|
109
109
|
}
|
|
110
110
|
), t;
|
|
111
111
|
}
|
|
112
|
-
let
|
|
113
|
-
function
|
|
114
|
-
|
|
112
|
+
let Me;
|
|
113
|
+
function Oe(e) {
|
|
114
|
+
Me = e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
if (!
|
|
116
|
+
function Bn() {
|
|
117
|
+
if (!Me)
|
|
118
118
|
throw new Error("Function called outside component initialization");
|
|
119
|
-
return
|
|
119
|
+
return Me;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
function Ln(e) {
|
|
122
|
+
Bn().$$.on_mount.push(e);
|
|
123
123
|
}
|
|
124
|
-
const
|
|
125
|
-
let
|
|
126
|
-
const Lt = [],
|
|
127
|
-
let
|
|
128
|
-
function
|
|
129
|
-
|
|
124
|
+
const ye = [], Ee = [];
|
|
125
|
+
let _e = [];
|
|
126
|
+
const Lt = [], An = /* @__PURE__ */ Promise.resolve();
|
|
127
|
+
let ct = !1;
|
|
128
|
+
function In() {
|
|
129
|
+
ct || (ct = !0, An.then(K));
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
|
|
131
|
+
function ht(e) {
|
|
132
|
+
_e.push(e);
|
|
133
133
|
}
|
|
134
134
|
const it = /* @__PURE__ */ new Set();
|
|
135
|
-
let
|
|
136
|
-
function
|
|
137
|
-
if (
|
|
135
|
+
let be = 0;
|
|
136
|
+
function K() {
|
|
137
|
+
if (be !== 0)
|
|
138
138
|
return;
|
|
139
|
-
const e =
|
|
139
|
+
const e = Me;
|
|
140
140
|
do {
|
|
141
141
|
try {
|
|
142
|
-
for (;
|
|
143
|
-
const t = be
|
|
144
|
-
|
|
142
|
+
for (; be < ye.length; ) {
|
|
143
|
+
const t = ye[be];
|
|
144
|
+
be++, Oe(t), kn(t.$$);
|
|
145
145
|
}
|
|
146
146
|
} catch (t) {
|
|
147
|
-
throw
|
|
147
|
+
throw ye.length = 0, be = 0, t;
|
|
148
148
|
}
|
|
149
|
-
for (
|
|
150
|
-
|
|
151
|
-
for (let t = 0; t <
|
|
152
|
-
const
|
|
153
|
-
it.has(
|
|
149
|
+
for (Oe(null), ye.length = 0, be = 0; Ee.length; )
|
|
150
|
+
Ee.pop()();
|
|
151
|
+
for (let t = 0; t < _e.length; t += 1) {
|
|
152
|
+
const n = _e[t];
|
|
153
|
+
it.has(n) || (it.add(n), n());
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
} while (
|
|
155
|
+
_e.length = 0;
|
|
156
|
+
} while (ye.length);
|
|
157
157
|
for (; Lt.length; )
|
|
158
158
|
Lt.pop()();
|
|
159
|
-
|
|
159
|
+
ct = !1, it.clear(), Oe(e);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function kn(e) {
|
|
162
162
|
if (e.fragment !== null) {
|
|
163
163
|
e.update(), ue(e.before_update);
|
|
164
164
|
const t = e.dirty;
|
|
165
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
165
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
const t = [],
|
|
170
|
-
|
|
168
|
+
function Cn(e) {
|
|
169
|
+
const t = [], n = [];
|
|
170
|
+
_e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), _e = t;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
e && e.i && (
|
|
172
|
+
const Hn = /* @__PURE__ */ new Set();
|
|
173
|
+
function Nn(e, t) {
|
|
174
|
+
e && e.i && (Hn.delete(e), e.i(t));
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
const { fragment:
|
|
178
|
-
|
|
179
|
-
const o = e.$$.on_mount.map(
|
|
176
|
+
function On(e, t, n) {
|
|
177
|
+
const { fragment: i, after_update: r } = e.$$;
|
|
178
|
+
i && i.m(t, n), ht(() => {
|
|
179
|
+
const o = e.$$.on_mount.map(Ft).filter(_t);
|
|
180
180
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
181
|
-
}), r.forEach(
|
|
181
|
+
}), r.forEach(ht);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
const
|
|
185
|
-
|
|
183
|
+
function Mn(e, t) {
|
|
184
|
+
const n = e.$$;
|
|
185
|
+
n.fragment !== null && (Cn(n.after_update), ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
e.$$.dirty[0] === -1 && (
|
|
187
|
+
function Dn(e, t) {
|
|
188
|
+
e.$$.dirty[0] === -1 && (ye.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
const u =
|
|
192
|
-
|
|
190
|
+
function Rn(e, t, n, i, r, o, a = null, s = [-1]) {
|
|
191
|
+
const u = Me;
|
|
192
|
+
Oe(e);
|
|
193
193
|
const l = e.$$ = {
|
|
194
194
|
fragment: null,
|
|
195
195
|
ctx: [],
|
|
196
196
|
// state
|
|
197
197
|
props: o,
|
|
198
|
-
update:
|
|
198
|
+
update: ee,
|
|
199
199
|
not_equal: r,
|
|
200
|
-
bound:
|
|
200
|
+
bound: St(),
|
|
201
201
|
// lifecycle
|
|
202
202
|
on_mount: [],
|
|
203
203
|
on_destroy: [],
|
|
@@ -206,28 +206,28 @@ function Mi(e, t, i, n, r, o, a = null, s = [-1]) {
|
|
|
206
206
|
after_update: [],
|
|
207
207
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
208
208
|
// everything else
|
|
209
|
-
callbacks:
|
|
209
|
+
callbacks: St(),
|
|
210
210
|
dirty: s,
|
|
211
211
|
skip_bound: !1,
|
|
212
212
|
root: t.target || u.$$.root
|
|
213
213
|
};
|
|
214
214
|
a && a(l.root);
|
|
215
215
|
let c = !1;
|
|
216
|
-
if (l.ctx =
|
|
217
|
-
const
|
|
218
|
-
return l.ctx && r(l.ctx[p], l.ctx[p] =
|
|
219
|
-
}) : [], l.update(), c = !0, ue(l.before_update), l.fragment =
|
|
216
|
+
if (l.ctx = n ? n(e, t.props || {}, (p, m, ...d) => {
|
|
217
|
+
const w = d.length ? d[0] : m;
|
|
218
|
+
return l.ctx && r(l.ctx[p], l.ctx[p] = w) && (!l.skip_bound && l.bound[p] && l.bound[p](w), c && Dn(e, p)), m;
|
|
219
|
+
}) : [], l.update(), c = !0, ue(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
|
|
220
220
|
if (t.hydrate) {
|
|
221
|
-
const p =
|
|
222
|
-
l.fragment && l.fragment.l(p), p.forEach(
|
|
221
|
+
const p = Pn(t.target);
|
|
222
|
+
l.fragment && l.fragment.l(p), p.forEach(E);
|
|
223
223
|
} else
|
|
224
224
|
l.fragment && l.fragment.c();
|
|
225
|
-
t.intro &&
|
|
225
|
+
t.intro && Nn(e.$$.fragment), On(e, t.target, t.anchor), K();
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
Oe(u);
|
|
228
228
|
}
|
|
229
|
-
let
|
|
230
|
-
typeof HTMLElement == "function" && (
|
|
229
|
+
let Wt;
|
|
230
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
231
231
|
/** The Svelte component constructor */
|
|
232
232
|
$$ctor;
|
|
233
233
|
/** Slots */
|
|
@@ -246,20 +246,20 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
246
246
|
$$l = {};
|
|
247
247
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
248
248
|
$$l_u = /* @__PURE__ */ new Map();
|
|
249
|
-
constructor(e, t,
|
|
250
|
-
super(), this.$$ctor = e, this.$$s = t,
|
|
249
|
+
constructor(e, t, n) {
|
|
250
|
+
super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
|
|
251
251
|
}
|
|
252
|
-
addEventListener(e, t,
|
|
252
|
+
addEventListener(e, t, n) {
|
|
253
253
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
254
|
-
const
|
|
255
|
-
this.$$l_u.set(t,
|
|
254
|
+
const i = this.$$c.$on(e, t);
|
|
255
|
+
this.$$l_u.set(t, i);
|
|
256
256
|
}
|
|
257
|
-
super.addEventListener(e, t,
|
|
257
|
+
super.addEventListener(e, t, n);
|
|
258
258
|
}
|
|
259
|
-
removeEventListener(e, t,
|
|
260
|
-
if (super.removeEventListener(e, t,
|
|
261
|
-
const
|
|
262
|
-
|
|
259
|
+
removeEventListener(e, t, n) {
|
|
260
|
+
if (super.removeEventListener(e, t, n), this.$$c) {
|
|
261
|
+
const i = this.$$l_u.get(t);
|
|
262
|
+
i && (i(), this.$$l_u.delete(t));
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
async connectedCallback() {
|
|
@@ -269,29 +269,29 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
269
269
|
let o;
|
|
270
270
|
return {
|
|
271
271
|
c: function() {
|
|
272
|
-
o =
|
|
272
|
+
o = g("slot"), r !== "default" && h(o, "name", r);
|
|
273
273
|
},
|
|
274
274
|
/**
|
|
275
275
|
* @param {HTMLElement} target
|
|
276
276
|
* @param {HTMLElement} [anchor]
|
|
277
277
|
*/
|
|
278
278
|
m: function(u, l) {
|
|
279
|
-
|
|
279
|
+
x(u, o, l);
|
|
280
280
|
},
|
|
281
281
|
d: function(u) {
|
|
282
|
-
u &&
|
|
282
|
+
u && E(o);
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
287
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
288
288
|
return;
|
|
289
|
-
const t = {},
|
|
289
|
+
const t = {}, n = Sn(this);
|
|
290
290
|
for (const r of this.$$s)
|
|
291
|
-
r in
|
|
291
|
+
r in n && (t[r] = [e(r)]);
|
|
292
292
|
for (const r of this.attributes) {
|
|
293
293
|
const o = this.$$g_p(r.name);
|
|
294
|
-
o in this.$$d || (this.$$d[o] =
|
|
294
|
+
o in this.$$d || (this.$$d[o] = Fe(o, r.value, this.$$p_d, "toProp"));
|
|
295
295
|
}
|
|
296
296
|
for (const r in this.$$p_d)
|
|
297
297
|
!(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
|
|
@@ -305,11 +305,11 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
|
-
const
|
|
308
|
+
const i = () => {
|
|
309
309
|
this.$$r = !0;
|
|
310
310
|
for (const r in this.$$p_d)
|
|
311
311
|
if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
|
|
312
|
-
const o =
|
|
312
|
+
const o = Fe(
|
|
313
313
|
r,
|
|
314
314
|
this.$$d[r],
|
|
315
315
|
this.$$p_d,
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
319
319
|
}
|
|
320
320
|
this.$$r = !1;
|
|
321
321
|
};
|
|
322
|
-
this.$$c.$$.after_update.push(
|
|
322
|
+
this.$$c.$$.after_update.push(i), i();
|
|
323
323
|
for (const r in this.$$l)
|
|
324
324
|
for (const o of this.$$l[r]) {
|
|
325
325
|
const a = this.$$c.$on(r, o);
|
|
@@ -330,8 +330,8 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
330
330
|
}
|
|
331
331
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
332
332
|
// and setting attributes through setAttribute etc, this is helpful
|
|
333
|
-
attributeChangedCallback(e, t,
|
|
334
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
333
|
+
attributeChangedCallback(e, t, n) {
|
|
334
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
335
335
|
}
|
|
336
336
|
disconnectedCallback() {
|
|
337
337
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -344,11 +344,11 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
344
344
|
) || e;
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
|
-
function
|
|
348
|
-
const r =
|
|
349
|
-
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
347
|
+
function Fe(e, t, n, i) {
|
|
348
|
+
const r = n[e]?.type;
|
|
349
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
|
|
350
350
|
return t;
|
|
351
|
-
if (
|
|
351
|
+
if (i === "toAttribute")
|
|
352
352
|
switch (r) {
|
|
353
353
|
case "Object":
|
|
354
354
|
case "Array":
|
|
@@ -373,10 +373,10 @@ function ze(e, t, i, n) {
|
|
|
373
373
|
return t;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
let a = class extends
|
|
376
|
+
function Un(e, t, n, i, r, o) {
|
|
377
|
+
let a = class extends Wt {
|
|
378
378
|
constructor() {
|
|
379
|
-
super(e,
|
|
379
|
+
super(e, n, r), this.$$p_d = t;
|
|
380
380
|
}
|
|
381
381
|
static get observedAttributes() {
|
|
382
382
|
return Object.keys(t).map(
|
|
@@ -390,10 +390,10 @@ function Di(e, t, i, n, r, o) {
|
|
|
390
390
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
391
391
|
},
|
|
392
392
|
set(u) {
|
|
393
|
-
u =
|
|
393
|
+
u = Fe(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
|
-
}),
|
|
396
|
+
}), i.forEach((s) => {
|
|
397
397
|
Object.defineProperty(a.prototype, s, {
|
|
398
398
|
get() {
|
|
399
399
|
return this.$$c?.[s];
|
|
@@ -402,7 +402,7 @@ function Di(e, t, i, n, r, o) {
|
|
|
402
402
|
}), e.element = /** @type {any} */
|
|
403
403
|
a, a;
|
|
404
404
|
}
|
|
405
|
-
class
|
|
405
|
+
class jn {
|
|
406
406
|
/**
|
|
407
407
|
* ### PRIVATE API
|
|
408
408
|
*
|
|
@@ -421,7 +421,7 @@ class Ri {
|
|
|
421
421
|
$$set = void 0;
|
|
422
422
|
/** @returns {void} */
|
|
423
423
|
$destroy() {
|
|
424
|
-
|
|
424
|
+
Mn(this, 1), this.$destroy = ee;
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -429,13 +429,13 @@ class Ri {
|
|
|
429
429
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
430
430
|
* @returns {() => void}
|
|
431
431
|
*/
|
|
432
|
-
$on(t,
|
|
433
|
-
if (!
|
|
434
|
-
return
|
|
435
|
-
const
|
|
436
|
-
return
|
|
437
|
-
const r =
|
|
438
|
-
r !== -1 &&
|
|
432
|
+
$on(t, n) {
|
|
433
|
+
if (!_t(n))
|
|
434
|
+
return ee;
|
|
435
|
+
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
436
|
+
return i.push(n), () => {
|
|
437
|
+
const r = i.indexOf(n);
|
|
438
|
+
r !== -1 && i.splice(r, 1);
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
@@ -443,24 +443,24 @@ class Ri {
|
|
|
443
443
|
* @returns {void}
|
|
444
444
|
*/
|
|
445
445
|
$set(t) {
|
|
446
|
-
this.$$set && !
|
|
446
|
+
this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
const
|
|
450
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
449
|
+
const Gn = "4";
|
|
450
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
|
|
451
451
|
const ge = [];
|
|
452
|
-
function
|
|
452
|
+
function $n(e, t) {
|
|
453
453
|
return {
|
|
454
|
-
subscribe:
|
|
454
|
+
subscribe: Ye(e, t).subscribe
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
let
|
|
459
|
-
const
|
|
457
|
+
function Ye(e, t = ee) {
|
|
458
|
+
let n;
|
|
459
|
+
const i = /* @__PURE__ */ new Set();
|
|
460
460
|
function r(s) {
|
|
461
|
-
if (
|
|
461
|
+
if (Vt(e, s) && (e = s, n)) {
|
|
462
462
|
const u = !ge.length;
|
|
463
|
-
for (const l of
|
|
463
|
+
for (const l of i)
|
|
464
464
|
l[1](), ge.push(l, e);
|
|
465
465
|
if (u) {
|
|
466
466
|
for (let l = 0; l < ge.length; l += 2)
|
|
@@ -472,37 +472,37 @@ function Ze(e, t = te) {
|
|
|
472
472
|
function o(s) {
|
|
473
473
|
r(s(e));
|
|
474
474
|
}
|
|
475
|
-
function a(s, u =
|
|
475
|
+
function a(s, u = ee) {
|
|
476
476
|
const l = [s, u];
|
|
477
|
-
return
|
|
478
|
-
|
|
477
|
+
return i.add(l), i.size === 1 && (n = t(r, o) || ee), s(e), () => {
|
|
478
|
+
i.delete(l), i.size === 0 && n && (n(), n = null);
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
481
|
return { set: r, update: o, subscribe: a };
|
|
482
482
|
}
|
|
483
|
-
function
|
|
484
|
-
const
|
|
483
|
+
function Se(e, t, n) {
|
|
484
|
+
const i = !Array.isArray(e), r = i ? [e] : e;
|
|
485
485
|
if (!r.every(Boolean))
|
|
486
486
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
487
487
|
const o = t.length < 2;
|
|
488
|
-
return
|
|
488
|
+
return $n(n, (a, s) => {
|
|
489
489
|
let u = !1;
|
|
490
490
|
const l = [];
|
|
491
|
-
let c = 0, p =
|
|
491
|
+
let c = 0, p = ee;
|
|
492
492
|
const m = () => {
|
|
493
493
|
if (c)
|
|
494
494
|
return;
|
|
495
495
|
p();
|
|
496
|
-
const
|
|
497
|
-
o ? a(
|
|
496
|
+
const w = t(i ? l[0] : l, a, s);
|
|
497
|
+
o ? a(w) : p = _t(w) ? w : ee;
|
|
498
498
|
}, d = r.map(
|
|
499
|
-
(
|
|
500
|
-
|
|
499
|
+
(w, v) => Xt(
|
|
500
|
+
w,
|
|
501
501
|
(y) => {
|
|
502
|
-
l[
|
|
502
|
+
l[v] = y, c &= ~(1 << v), u && m();
|
|
503
503
|
},
|
|
504
504
|
() => {
|
|
505
|
-
c |= 1 <<
|
|
505
|
+
c |= 1 << v;
|
|
506
506
|
}
|
|
507
507
|
)
|
|
508
508
|
);
|
|
@@ -511,153 +511,153 @@ function Pe(e, t, i) {
|
|
|
511
511
|
};
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function zn(e) {
|
|
515
515
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
516
516
|
}
|
|
517
|
-
var
|
|
518
|
-
return
|
|
517
|
+
var Fn = function(t) {
|
|
518
|
+
return Vn(t) && !Xn(t);
|
|
519
519
|
};
|
|
520
|
-
function
|
|
520
|
+
function Vn(e) {
|
|
521
521
|
return !!e && typeof e == "object";
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Xn(e) {
|
|
524
524
|
var t = Object.prototype.toString.call(e);
|
|
525
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
525
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
|
|
526
526
|
}
|
|
527
|
-
var
|
|
528
|
-
function
|
|
529
|
-
return e.$$typeof ===
|
|
527
|
+
var qn = typeof Symbol == "function" && Symbol.for, Wn = qn ? Symbol.for("react.element") : 60103;
|
|
528
|
+
function Zn(e) {
|
|
529
|
+
return e.$$typeof === Wn;
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Yn(e) {
|
|
532
532
|
return Array.isArray(e) ? [] : {};
|
|
533
533
|
}
|
|
534
|
-
function
|
|
535
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
534
|
+
function De(e, t) {
|
|
535
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? xe(Yn(e), e, t) : e;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
538
|
-
return e.concat(t).map(function(
|
|
539
|
-
return
|
|
537
|
+
function Jn(e, t, n) {
|
|
538
|
+
return e.concat(t).map(function(i) {
|
|
539
|
+
return De(i, n);
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Qn(e, t) {
|
|
543
543
|
if (!t.customMerge)
|
|
544
|
-
return
|
|
545
|
-
var
|
|
546
|
-
return typeof
|
|
544
|
+
return xe;
|
|
545
|
+
var n = t.customMerge(e);
|
|
546
|
+
return typeof n == "function" ? n : xe;
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Kn(e) {
|
|
549
549
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
550
550
|
return Object.propertyIsEnumerable.call(e, t);
|
|
551
551
|
}) : [];
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
return Object.keys(e).concat(
|
|
553
|
+
function At(e) {
|
|
554
|
+
return Object.keys(e).concat(Kn(e));
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Zt(e, t) {
|
|
557
557
|
try {
|
|
558
558
|
return t in e;
|
|
559
559
|
} catch {
|
|
560
560
|
return !1;
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
return
|
|
563
|
+
function ei(e, t) {
|
|
564
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
var
|
|
568
|
-
return
|
|
569
|
-
|
|
570
|
-
}),
|
|
571
|
-
|
|
572
|
-
}),
|
|
573
|
-
}
|
|
574
|
-
function
|
|
575
|
-
|
|
576
|
-
var
|
|
577
|
-
return o ?
|
|
578
|
-
}
|
|
579
|
-
|
|
566
|
+
function ti(e, t, n) {
|
|
567
|
+
var i = {};
|
|
568
|
+
return n.isMergeableObject(e) && At(e).forEach(function(r) {
|
|
569
|
+
i[r] = De(e[r], n);
|
|
570
|
+
}), At(t).forEach(function(r) {
|
|
571
|
+
ei(e, r) || (Zt(e, r) && n.isMergeableObject(t[r]) ? i[r] = Qn(r, n)(e[r], t[r], n) : i[r] = De(t[r], n));
|
|
572
|
+
}), i;
|
|
573
|
+
}
|
|
574
|
+
function xe(e, t, n) {
|
|
575
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Jn, n.isMergeableObject = n.isMergeableObject || Fn, n.cloneUnlessOtherwiseSpecified = De;
|
|
576
|
+
var i = Array.isArray(t), r = Array.isArray(e), o = i === r;
|
|
577
|
+
return o ? i ? n.arrayMerge(e, t, n) : ti(e, t, n) : De(t, n);
|
|
578
|
+
}
|
|
579
|
+
xe.all = function(t, n) {
|
|
580
580
|
if (!Array.isArray(t))
|
|
581
581
|
throw new Error("first argument should be an array");
|
|
582
|
-
return t.reduce(function(
|
|
583
|
-
return
|
|
582
|
+
return t.reduce(function(i, r) {
|
|
583
|
+
return xe(i, r, n);
|
|
584
584
|
}, {});
|
|
585
585
|
};
|
|
586
|
-
var
|
|
587
|
-
const
|
|
588
|
-
var
|
|
589
|
-
return
|
|
590
|
-
|
|
591
|
-
} || function(
|
|
592
|
-
for (var r in
|
|
593
|
-
Object.prototype.hasOwnProperty.call(
|
|
594
|
-
},
|
|
586
|
+
var ni = xe, ii = ni;
|
|
587
|
+
const ri = /* @__PURE__ */ zn(ii);
|
|
588
|
+
var ft = function(e, t) {
|
|
589
|
+
return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
590
|
+
n.__proto__ = i;
|
|
591
|
+
} || function(n, i) {
|
|
592
|
+
for (var r in i)
|
|
593
|
+
Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
|
|
594
|
+
}, ft(e, t);
|
|
595
595
|
};
|
|
596
|
-
function
|
|
596
|
+
function Je(e, t) {
|
|
597
597
|
if (typeof t != "function" && t !== null)
|
|
598
598
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
599
|
-
|
|
600
|
-
function
|
|
599
|
+
ft(e, t);
|
|
600
|
+
function n() {
|
|
601
601
|
this.constructor = e;
|
|
602
602
|
}
|
|
603
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
603
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
604
604
|
}
|
|
605
605
|
var oe = function() {
|
|
606
606
|
return oe = Object.assign || function(t) {
|
|
607
|
-
for (var
|
|
608
|
-
|
|
609
|
-
for (var o in
|
|
610
|
-
Object.prototype.hasOwnProperty.call(
|
|
607
|
+
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
608
|
+
n = arguments[i];
|
|
609
|
+
for (var o in n)
|
|
610
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
611
611
|
}
|
|
612
612
|
return t;
|
|
613
613
|
}, oe.apply(this, arguments);
|
|
614
614
|
};
|
|
615
|
-
function
|
|
616
|
-
var
|
|
617
|
-
for (var
|
|
618
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
615
|
+
function oi(e, t) {
|
|
616
|
+
var n = {};
|
|
617
|
+
for (var i in e)
|
|
618
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
|
|
619
619
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
620
|
-
for (var r = 0,
|
|
621
|
-
t.indexOf(
|
|
622
|
-
return
|
|
620
|
+
for (var r = 0, i = Object.getOwnPropertySymbols(e); r < i.length; r++)
|
|
621
|
+
t.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[r]) && (n[i[r]] = e[i[r]]);
|
|
622
|
+
return n;
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
if (
|
|
626
|
-
for (var
|
|
627
|
-
(o || !(
|
|
624
|
+
function rt(e, t, n) {
|
|
625
|
+
if (n || arguments.length === 2)
|
|
626
|
+
for (var i = 0, r = t.length, o; i < r; i++)
|
|
627
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
628
628
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
var
|
|
630
|
+
function ot(e, t) {
|
|
631
|
+
var n = t && t.cache ? t.cache : fi, i = t && t.serializer ? t.serializer : ci, r = t && t.strategy ? t.strategy : li;
|
|
632
632
|
return r(e, {
|
|
633
|
-
cache:
|
|
634
|
-
serializer:
|
|
633
|
+
cache: n,
|
|
634
|
+
serializer: i
|
|
635
635
|
});
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function si(e) {
|
|
638
638
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
639
639
|
}
|
|
640
|
-
function
|
|
641
|
-
var r =
|
|
642
|
-
return typeof o > "u" && (o = e.call(this,
|
|
640
|
+
function ai(e, t, n, i) {
|
|
641
|
+
var r = si(i) ? i : n(i), o = t.get(r);
|
|
642
|
+
return typeof o > "u" && (o = e.call(this, i), t.set(r, o)), o;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
var
|
|
646
|
-
return typeof o > "u" && (o = e.apply(this,
|
|
644
|
+
function Yt(e, t, n) {
|
|
645
|
+
var i = Array.prototype.slice.call(arguments, 3), r = n(i), o = t.get(r);
|
|
646
|
+
return typeof o > "u" && (o = e.apply(this, i), t.set(r, o)), o;
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
return
|
|
648
|
+
function Jt(e, t, n, i, r) {
|
|
649
|
+
return n.bind(t, e, i, r);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
652
|
-
var
|
|
653
|
-
return
|
|
651
|
+
function li(e, t) {
|
|
652
|
+
var n = e.length === 1 ? ai : Yt;
|
|
653
|
+
return Jt(e, this, n, t.cache.create(), t.serializer);
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
return
|
|
655
|
+
function ui(e, t) {
|
|
656
|
+
return Jt(e, this, Yt, t.cache.create(), t.serializer);
|
|
657
657
|
}
|
|
658
|
-
var
|
|
658
|
+
var ci = function() {
|
|
659
659
|
return JSON.stringify(arguments);
|
|
660
|
-
},
|
|
660
|
+
}, hi = (
|
|
661
661
|
/** @class */
|
|
662
662
|
function() {
|
|
663
663
|
function e() {
|
|
@@ -665,82 +665,82 @@ var un = function() {
|
|
|
665
665
|
}
|
|
666
666
|
return e.prototype.get = function(t) {
|
|
667
667
|
return this.cache[t];
|
|
668
|
-
}, e.prototype.set = function(t,
|
|
669
|
-
this.cache[t] =
|
|
668
|
+
}, e.prototype.set = function(t, n) {
|
|
669
|
+
this.cache[t] = n;
|
|
670
670
|
}, e;
|
|
671
671
|
}()
|
|
672
|
-
),
|
|
672
|
+
), fi = {
|
|
673
673
|
create: function() {
|
|
674
|
-
return new
|
|
674
|
+
return new hi();
|
|
675
675
|
}
|
|
676
|
-
},
|
|
677
|
-
variadic:
|
|
678
|
-
},
|
|
679
|
-
return
|
|
680
|
-
for (var
|
|
681
|
-
|
|
682
|
-
for (var o in
|
|
683
|
-
Object.prototype.hasOwnProperty.call(
|
|
676
|
+
}, st = {
|
|
677
|
+
variadic: ui
|
|
678
|
+
}, qe = function() {
|
|
679
|
+
return qe = Object.assign || function(t) {
|
|
680
|
+
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
681
|
+
n = arguments[i];
|
|
682
|
+
for (var o in n)
|
|
683
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
684
684
|
}
|
|
685
685
|
return t;
|
|
686
|
-
},
|
|
686
|
+
}, qe.apply(this, arguments);
|
|
687
687
|
};
|
|
688
|
-
var
|
|
688
|
+
var P;
|
|
689
689
|
(function(e) {
|
|
690
690
|
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";
|
|
691
|
-
})(
|
|
692
|
-
var
|
|
691
|
+
})(P || (P = {}));
|
|
692
|
+
var z;
|
|
693
693
|
(function(e) {
|
|
694
694
|
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";
|
|
695
|
-
})(
|
|
696
|
-
var
|
|
695
|
+
})(z || (z = {}));
|
|
696
|
+
var we;
|
|
697
697
|
(function(e) {
|
|
698
698
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
699
|
-
})(
|
|
700
|
-
function
|
|
701
|
-
return e.type ===
|
|
702
|
-
}
|
|
703
|
-
function fn(e) {
|
|
704
|
-
return e.type === $.argument;
|
|
699
|
+
})(we || (we = {}));
|
|
700
|
+
function It(e) {
|
|
701
|
+
return e.type === z.literal;
|
|
705
702
|
}
|
|
706
|
-
function
|
|
707
|
-
return e.type ===
|
|
703
|
+
function pi(e) {
|
|
704
|
+
return e.type === z.argument;
|
|
708
705
|
}
|
|
709
706
|
function Qt(e) {
|
|
710
|
-
return e.type ===
|
|
707
|
+
return e.type === z.number;
|
|
711
708
|
}
|
|
712
709
|
function Kt(e) {
|
|
713
|
-
return e.type ===
|
|
710
|
+
return e.type === z.date;
|
|
714
711
|
}
|
|
715
|
-
function
|
|
716
|
-
return e.type ===
|
|
712
|
+
function en(e) {
|
|
713
|
+
return e.type === z.time;
|
|
717
714
|
}
|
|
718
|
-
function
|
|
719
|
-
return e.type ===
|
|
715
|
+
function tn(e) {
|
|
716
|
+
return e.type === z.select;
|
|
720
717
|
}
|
|
721
|
-
function
|
|
722
|
-
return e.type ===
|
|
718
|
+
function nn(e) {
|
|
719
|
+
return e.type === z.plural;
|
|
723
720
|
}
|
|
724
|
-
function
|
|
725
|
-
return e.type ===
|
|
721
|
+
function mi(e) {
|
|
722
|
+
return e.type === z.pound;
|
|
726
723
|
}
|
|
727
|
-
function
|
|
728
|
-
return
|
|
724
|
+
function rn(e) {
|
|
725
|
+
return e.type === z.tag;
|
|
729
726
|
}
|
|
730
|
-
function
|
|
731
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
727
|
+
function on(e) {
|
|
728
|
+
return !!(e && typeof e == "object" && e.type === we.number);
|
|
729
|
+
}
|
|
730
|
+
function pt(e) {
|
|
731
|
+
return !!(e && typeof e == "object" && e.type === we.dateTime);
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
function
|
|
733
|
+
var sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
|
|
734
|
+
function bi(e) {
|
|
735
735
|
var t = {};
|
|
736
|
-
return e.replace(
|
|
737
|
-
var
|
|
738
|
-
switch (
|
|
736
|
+
return e.replace(di, function(n) {
|
|
737
|
+
var i = n.length;
|
|
738
|
+
switch (n[0]) {
|
|
739
739
|
case "G":
|
|
740
|
-
t.era =
|
|
740
|
+
t.era = i === 4 ? "long" : i === 5 ? "narrow" : "short";
|
|
741
741
|
break;
|
|
742
742
|
case "y":
|
|
743
|
-
t.year =
|
|
743
|
+
t.year = i === 2 ? "2-digit" : "numeric";
|
|
744
744
|
break;
|
|
745
745
|
case "Y":
|
|
746
746
|
case "u":
|
|
@@ -752,30 +752,30 @@ function dn(e) {
|
|
|
752
752
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
753
753
|
case "M":
|
|
754
754
|
case "L":
|
|
755
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
755
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][i - 1];
|
|
756
756
|
break;
|
|
757
757
|
case "w":
|
|
758
758
|
case "W":
|
|
759
759
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
760
760
|
case "d":
|
|
761
|
-
t.day = ["numeric", "2-digit"][
|
|
761
|
+
t.day = ["numeric", "2-digit"][i - 1];
|
|
762
762
|
break;
|
|
763
763
|
case "D":
|
|
764
764
|
case "F":
|
|
765
765
|
case "g":
|
|
766
766
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
767
767
|
case "E":
|
|
768
|
-
t.weekday =
|
|
768
|
+
t.weekday = i === 4 ? "long" : i === 5 ? "narrow" : "short";
|
|
769
769
|
break;
|
|
770
770
|
case "e":
|
|
771
|
-
if (
|
|
771
|
+
if (i < 4)
|
|
772
772
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
773
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
773
|
+
t.weekday = ["short", "long", "narrow", "short"][i - 4];
|
|
774
774
|
break;
|
|
775
775
|
case "c":
|
|
776
|
-
if (
|
|
776
|
+
if (i < 4)
|
|
777
777
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
778
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
778
|
+
t.weekday = ["short", "long", "narrow", "short"][i - 4];
|
|
779
779
|
break;
|
|
780
780
|
case "a":
|
|
781
781
|
t.hour12 = !0;
|
|
@@ -784,32 +784,32 @@ function dn(e) {
|
|
|
784
784
|
case "B":
|
|
785
785
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
786
786
|
case "h":
|
|
787
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
787
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][i - 1];
|
|
788
788
|
break;
|
|
789
789
|
case "H":
|
|
790
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
790
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][i - 1];
|
|
791
791
|
break;
|
|
792
792
|
case "K":
|
|
793
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
793
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][i - 1];
|
|
794
794
|
break;
|
|
795
795
|
case "k":
|
|
796
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
796
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][i - 1];
|
|
797
797
|
break;
|
|
798
798
|
case "j":
|
|
799
799
|
case "J":
|
|
800
800
|
case "C":
|
|
801
801
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
802
802
|
case "m":
|
|
803
|
-
t.minute = ["numeric", "2-digit"][
|
|
803
|
+
t.minute = ["numeric", "2-digit"][i - 1];
|
|
804
804
|
break;
|
|
805
805
|
case "s":
|
|
806
|
-
t.second = ["numeric", "2-digit"][
|
|
806
|
+
t.second = ["numeric", "2-digit"][i - 1];
|
|
807
807
|
break;
|
|
808
808
|
case "S":
|
|
809
809
|
case "A":
|
|
810
810
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
811
811
|
case "z":
|
|
812
|
-
t.timeZoneName =
|
|
812
|
+
t.timeZoneName = i < 4 ? "short" : "long";
|
|
813
813
|
break;
|
|
814
814
|
case "Z":
|
|
815
815
|
case "O":
|
|
@@ -824,22 +824,22 @@ function dn(e) {
|
|
|
824
824
|
}
|
|
825
825
|
var V = function() {
|
|
826
826
|
return V = Object.assign || function(t) {
|
|
827
|
-
for (var
|
|
828
|
-
|
|
829
|
-
for (var o in
|
|
830
|
-
Object.prototype.hasOwnProperty.call(
|
|
827
|
+
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
|
828
|
+
n = arguments[i];
|
|
829
|
+
for (var o in n)
|
|
830
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
831
831
|
}
|
|
832
832
|
return t;
|
|
833
833
|
}, V.apply(this, arguments);
|
|
834
834
|
};
|
|
835
|
-
var
|
|
836
|
-
function
|
|
835
|
+
var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
836
|
+
function yi(e) {
|
|
837
837
|
if (e.length === 0)
|
|
838
838
|
throw new Error("Number skeleton cannot be empty");
|
|
839
|
-
for (var t = e.split(
|
|
839
|
+
for (var t = e.split(gi).filter(function(m) {
|
|
840
840
|
return m.length > 0;
|
|
841
|
-
}),
|
|
842
|
-
var o = r[
|
|
841
|
+
}), n = [], i = 0, r = t; i < r.length; i++) {
|
|
842
|
+
var o = r[i], a = o.split("/");
|
|
843
843
|
if (a.length === 0)
|
|
844
844
|
throw new Error("Invalid number skeleton");
|
|
845
845
|
for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
@@ -847,21 +847,21 @@ function bn(e) {
|
|
|
847
847
|
if (p.length === 0)
|
|
848
848
|
throw new Error("Invalid number skeleton");
|
|
849
849
|
}
|
|
850
|
-
|
|
850
|
+
n.push({ stem: s, options: u });
|
|
851
851
|
}
|
|
852
|
-
return
|
|
852
|
+
return n;
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function vi(e) {
|
|
855
855
|
return e.replace(/^(.*?)-/, "");
|
|
856
856
|
}
|
|
857
|
-
var
|
|
858
|
-
function
|
|
857
|
+
var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, ln = /^(0+)$/;
|
|
858
|
+
function Ct(e) {
|
|
859
859
|
var t = {};
|
|
860
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
861
|
-
return typeof r != "string" ? (t.minimumSignificantDigits =
|
|
860
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(n, i, r) {
|
|
861
|
+
return typeof r != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : r === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof r == "string" ? r.length : 0)), "";
|
|
862
862
|
}), t;
|
|
863
863
|
}
|
|
864
|
-
function
|
|
864
|
+
function un(e) {
|
|
865
865
|
switch (e) {
|
|
866
866
|
case "sign-auto":
|
|
867
867
|
return {
|
|
@@ -901,27 +901,27 @@ function ai(e) {
|
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function _i(e) {
|
|
905
905
|
var t;
|
|
906
906
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
907
907
|
notation: "engineering"
|
|
908
908
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
909
909
|
notation: "scientific"
|
|
910
910
|
}, e = e.slice(1)), t) {
|
|
911
|
-
var
|
|
912
|
-
if (
|
|
911
|
+
var n = e.slice(0, 2);
|
|
912
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ln.test(e))
|
|
913
913
|
throw new Error("Malformed concise eng/scientific notation");
|
|
914
914
|
t.minimumIntegerDigits = e.length;
|
|
915
915
|
}
|
|
916
916
|
return t;
|
|
917
917
|
}
|
|
918
918
|
function Ht(e) {
|
|
919
|
-
var t = {},
|
|
920
|
-
return
|
|
919
|
+
var t = {}, n = un(e);
|
|
920
|
+
return n || t;
|
|
921
921
|
}
|
|
922
|
-
function
|
|
923
|
-
for (var t = {},
|
|
924
|
-
var r = n
|
|
922
|
+
function xi(e) {
|
|
923
|
+
for (var t = {}, n = 0, i = e; n < i.length; n++) {
|
|
924
|
+
var r = i[n];
|
|
925
925
|
switch (r.stem) {
|
|
926
926
|
case "percent":
|
|
927
927
|
case "%":
|
|
@@ -943,7 +943,7 @@ function _n(e) {
|
|
|
943
943
|
continue;
|
|
944
944
|
case "measure-unit":
|
|
945
945
|
case "unit":
|
|
946
|
-
t.style = "unit", t.unit =
|
|
946
|
+
t.style = "unit", t.unit = vi(r.options[0]);
|
|
947
947
|
continue;
|
|
948
948
|
case "compact-short":
|
|
949
949
|
case "K":
|
|
@@ -1005,7 +1005,7 @@ function _n(e) {
|
|
|
1005
1005
|
case "integer-width":
|
|
1006
1006
|
if (r.options.length > 1)
|
|
1007
1007
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1008
|
-
r.options[0].replace(
|
|
1008
|
+
r.options[0].replace(Ei, function(u, l, c, p, m, d) {
|
|
1009
1009
|
if (l)
|
|
1010
1010
|
t.minimumIntegerDigits = c.length;
|
|
1011
1011
|
else {
|
|
@@ -1018,32 +1018,32 @@ function _n(e) {
|
|
|
1018
1018
|
});
|
|
1019
1019
|
continue;
|
|
1020
1020
|
}
|
|
1021
|
-
if (
|
|
1021
|
+
if (ln.test(r.stem)) {
|
|
1022
1022
|
t.minimumIntegerDigits = r.stem.length;
|
|
1023
1023
|
continue;
|
|
1024
1024
|
}
|
|
1025
|
-
if (
|
|
1025
|
+
if (kt.test(r.stem)) {
|
|
1026
1026
|
if (r.options.length > 1)
|
|
1027
1027
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1028
|
-
r.stem.replace(
|
|
1028
|
+
r.stem.replace(kt, function(u, l, c, p, m, d) {
|
|
1029
1029
|
return c === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1030
1030
|
});
|
|
1031
1031
|
var o = r.options[0];
|
|
1032
|
-
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t),
|
|
1032
|
+
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Ct(o)));
|
|
1033
1033
|
continue;
|
|
1034
1034
|
}
|
|
1035
|
-
if (
|
|
1036
|
-
t = V(V({}, t),
|
|
1035
|
+
if (an.test(r.stem)) {
|
|
1036
|
+
t = V(V({}, t), Ct(r.stem));
|
|
1037
1037
|
continue;
|
|
1038
1038
|
}
|
|
1039
|
-
var a =
|
|
1039
|
+
var a = un(r.stem);
|
|
1040
1040
|
a && (t = V(V({}, t), a));
|
|
1041
|
-
var s =
|
|
1041
|
+
var s = _i(r.stem);
|
|
1042
1042
|
s && (t = V(V({}, t), s));
|
|
1043
1043
|
}
|
|
1044
1044
|
return t;
|
|
1045
1045
|
}
|
|
1046
|
-
var
|
|
1046
|
+
var ze = {
|
|
1047
1047
|
"001": [
|
|
1048
1048
|
"H",
|
|
1049
1049
|
"h"
|
|
@@ -2458,23 +2458,23 @@ var $e = {
|
|
|
2458
2458
|
"h"
|
|
2459
2459
|
]
|
|
2460
2460
|
};
|
|
2461
|
-
function
|
|
2462
|
-
for (var
|
|
2463
|
-
var r = e.charAt(
|
|
2461
|
+
function wi(e, t) {
|
|
2462
|
+
for (var n = "", i = 0; i < e.length; i++) {
|
|
2463
|
+
var r = e.charAt(i);
|
|
2464
2464
|
if (r === "j") {
|
|
2465
|
-
for (var o = 0;
|
|
2466
|
-
o++,
|
|
2467
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2465
|
+
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === r; )
|
|
2466
|
+
o++, i++;
|
|
2467
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ti(t);
|
|
2468
2468
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2469
|
-
|
|
2469
|
+
n += u;
|
|
2470
2470
|
for (; a-- > 0; )
|
|
2471
|
-
|
|
2471
|
+
n = l + n;
|
|
2472
2472
|
} else
|
|
2473
|
-
r === "J" ?
|
|
2473
|
+
r === "J" ? n += "H" : n += r;
|
|
2474
2474
|
}
|
|
2475
|
-
return
|
|
2475
|
+
return n;
|
|
2476
2476
|
}
|
|
2477
|
-
function
|
|
2477
|
+
function Ti(e) {
|
|
2478
2478
|
var t = e.hourCycle;
|
|
2479
2479
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2480
2480
|
e.hourCycles && // @ts-ignore
|
|
@@ -2491,73 +2491,73 @@ function Tn(e) {
|
|
|
2491
2491
|
default:
|
|
2492
2492
|
throw new Error("Invalid hourCycle");
|
|
2493
2493
|
}
|
|
2494
|
-
var
|
|
2495
|
-
|
|
2496
|
-
var r =
|
|
2494
|
+
var n = e.language, i;
|
|
2495
|
+
n !== "root" && (i = e.maximize().region);
|
|
2496
|
+
var r = ze[i || ""] || ze[n || ""] || ze["".concat(n, "-001")] || ze["001"];
|
|
2497
2497
|
return r[0];
|
|
2498
2498
|
}
|
|
2499
|
-
var
|
|
2499
|
+
var at, Pi = new RegExp("^".concat(sn.source, "*")), Si = new RegExp("".concat(sn.source, "*$"));
|
|
2500
2500
|
function A(e, t) {
|
|
2501
2501
|
return { start: e, end: t };
|
|
2502
2502
|
}
|
|
2503
|
-
var
|
|
2503
|
+
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ni = Hi ? Number.isSafeInteger : function(e) {
|
|
2504
2504
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2505
|
-
},
|
|
2505
|
+
}, mt = !0;
|
|
2506
2506
|
try {
|
|
2507
|
-
var
|
|
2508
|
-
|
|
2507
|
+
var Oi = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2508
|
+
mt = ((at = Oi.exec("a")) === null || at === void 0 ? void 0 : at[0]) === "a";
|
|
2509
2509
|
} catch {
|
|
2510
|
-
|
|
2510
|
+
mt = !1;
|
|
2511
2511
|
}
|
|
2512
|
-
var
|
|
2512
|
+
var Nt = Bi ? (
|
|
2513
2513
|
// Native
|
|
2514
|
-
function(t,
|
|
2515
|
-
return t.startsWith(
|
|
2514
|
+
function(t, n, i) {
|
|
2515
|
+
return t.startsWith(n, i);
|
|
2516
2516
|
}
|
|
2517
2517
|
) : (
|
|
2518
2518
|
// For IE11
|
|
2519
|
-
function(t,
|
|
2520
|
-
return t.slice(
|
|
2519
|
+
function(t, n, i) {
|
|
2520
|
+
return t.slice(i, i + n.length) === n;
|
|
2521
2521
|
}
|
|
2522
|
-
),
|
|
2522
|
+
), dt = Li ? String.fromCodePoint : (
|
|
2523
2523
|
// IE11
|
|
2524
2524
|
function() {
|
|
2525
|
-
for (var t = [],
|
|
2526
|
-
t[
|
|
2527
|
-
for (var
|
|
2525
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2526
|
+
t[n] = arguments[n];
|
|
2527
|
+
for (var i = "", r = t.length, o = 0, a; r > o; ) {
|
|
2528
2528
|
if (a = t[o++], a > 1114111)
|
|
2529
2529
|
throw RangeError(a + " is not a valid code point");
|
|
2530
|
-
|
|
2530
|
+
i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2531
2531
|
}
|
|
2532
|
-
return
|
|
2532
|
+
return i;
|
|
2533
2533
|
}
|
|
2534
|
-
),
|
|
2534
|
+
), Ot = (
|
|
2535
2535
|
// native
|
|
2536
|
-
|
|
2536
|
+
Ai ? Object.fromEntries : (
|
|
2537
2537
|
// Ponyfill
|
|
2538
2538
|
function(t) {
|
|
2539
|
-
for (var
|
|
2540
|
-
var o = r[
|
|
2541
|
-
|
|
2539
|
+
for (var n = {}, i = 0, r = t; i < r.length; i++) {
|
|
2540
|
+
var o = r[i], a = o[0], s = o[1];
|
|
2541
|
+
n[a] = s;
|
|
2542
2542
|
}
|
|
2543
|
-
return
|
|
2543
|
+
return n;
|
|
2544
2544
|
}
|
|
2545
2545
|
)
|
|
2546
|
-
),
|
|
2546
|
+
), cn = Ii ? (
|
|
2547
2547
|
// Native
|
|
2548
|
-
function(t,
|
|
2549
|
-
return t.codePointAt(
|
|
2548
|
+
function(t, n) {
|
|
2549
|
+
return t.codePointAt(n);
|
|
2550
2550
|
}
|
|
2551
2551
|
) : (
|
|
2552
2552
|
// IE 11
|
|
2553
|
-
function(t,
|
|
2554
|
-
var
|
|
2555
|
-
if (!(
|
|
2556
|
-
var r = t.charCodeAt(
|
|
2557
|
-
return r < 55296 || r > 56319 ||
|
|
2553
|
+
function(t, n) {
|
|
2554
|
+
var i = t.length;
|
|
2555
|
+
if (!(n < 0 || n >= i)) {
|
|
2556
|
+
var r = t.charCodeAt(n), o;
|
|
2557
|
+
return r < 55296 || r > 56319 || n + 1 === i || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
2560
|
-
),
|
|
2560
|
+
), Mi = ki ? (
|
|
2561
2561
|
// Native
|
|
2562
2562
|
function(t) {
|
|
2563
2563
|
return t.trimStart();
|
|
@@ -2565,9 +2565,9 @@ var Ct = Bn ? (
|
|
|
2565
2565
|
) : (
|
|
2566
2566
|
// Ponyfill
|
|
2567
2567
|
function(t) {
|
|
2568
|
-
return t.replace(
|
|
2568
|
+
return t.replace(Pi, "");
|
|
2569
2569
|
}
|
|
2570
|
-
),
|
|
2570
|
+
), Di = Ci ? (
|
|
2571
2571
|
// Native
|
|
2572
2572
|
function(t) {
|
|
2573
2573
|
return t.trimEnd();
|
|
@@ -2575,69 +2575,69 @@ var Ct = Bn ? (
|
|
|
2575
2575
|
) : (
|
|
2576
2576
|
// Ponyfill
|
|
2577
2577
|
function(t) {
|
|
2578
|
-
return t.replace(
|
|
2578
|
+
return t.replace(Si, "");
|
|
2579
2579
|
}
|
|
2580
2580
|
);
|
|
2581
|
-
function
|
|
2581
|
+
function hn(e, t) {
|
|
2582
2582
|
return new RegExp(e, t);
|
|
2583
2583
|
}
|
|
2584
|
-
var
|
|
2585
|
-
if (
|
|
2586
|
-
var
|
|
2587
|
-
|
|
2588
|
-
var
|
|
2589
|
-
|
|
2590
|
-
var r =
|
|
2591
|
-
return (
|
|
2584
|
+
var bt;
|
|
2585
|
+
if (mt) {
|
|
2586
|
+
var Mt = hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2587
|
+
bt = function(t, n) {
|
|
2588
|
+
var i;
|
|
2589
|
+
Mt.lastIndex = n;
|
|
2590
|
+
var r = Mt.exec(t);
|
|
2591
|
+
return (i = r[1]) !== null && i !== void 0 ? i : "";
|
|
2592
2592
|
};
|
|
2593
2593
|
} else
|
|
2594
|
-
|
|
2595
|
-
for (var
|
|
2596
|
-
var r =
|
|
2597
|
-
if (r === void 0 ||
|
|
2594
|
+
bt = function(t, n) {
|
|
2595
|
+
for (var i = []; ; ) {
|
|
2596
|
+
var r = cn(t, n);
|
|
2597
|
+
if (r === void 0 || fn(r) || Gi(r))
|
|
2598
2598
|
break;
|
|
2599
|
-
|
|
2599
|
+
i.push(r), n += r >= 65536 ? 2 : 1;
|
|
2600
2600
|
}
|
|
2601
|
-
return
|
|
2601
|
+
return dt.apply(void 0, i);
|
|
2602
2602
|
};
|
|
2603
|
-
var
|
|
2603
|
+
var Ri = (
|
|
2604
2604
|
/** @class */
|
|
2605
2605
|
function() {
|
|
2606
|
-
function e(t,
|
|
2607
|
-
|
|
2606
|
+
function e(t, n) {
|
|
2607
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
2608
2608
|
}
|
|
2609
2609
|
return e.prototype.parse = function() {
|
|
2610
2610
|
if (this.offset() !== 0)
|
|
2611
2611
|
throw Error("parser can only be used once");
|
|
2612
2612
|
return this.parseMessage(0, "", !1);
|
|
2613
|
-
}, e.prototype.parseMessage = function(t,
|
|
2613
|
+
}, e.prototype.parseMessage = function(t, n, i) {
|
|
2614
2614
|
for (var r = []; !this.isEOF(); ) {
|
|
2615
2615
|
var o = this.char();
|
|
2616
2616
|
if (o === 123) {
|
|
2617
|
-
var a = this.parseArgument(t,
|
|
2617
|
+
var a = this.parseArgument(t, i);
|
|
2618
2618
|
if (a.err)
|
|
2619
2619
|
return a;
|
|
2620
2620
|
r.push(a.val);
|
|
2621
2621
|
} else {
|
|
2622
2622
|
if (o === 125 && t > 0)
|
|
2623
2623
|
break;
|
|
2624
|
-
if (o === 35 && (
|
|
2624
|
+
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2625
2625
|
var s = this.clonePosition();
|
|
2626
2626
|
this.bump(), r.push({
|
|
2627
|
-
type:
|
|
2627
|
+
type: z.pound,
|
|
2628
2628
|
location: A(s, this.clonePosition())
|
|
2629
2629
|
});
|
|
2630
2630
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2631
|
-
if (
|
|
2631
|
+
if (i)
|
|
2632
2632
|
break;
|
|
2633
|
-
return this.error(
|
|
2633
|
+
return this.error(P.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2634
2634
|
} else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
|
|
2635
|
-
var a = this.parseTag(t,
|
|
2635
|
+
var a = this.parseTag(t, n);
|
|
2636
2636
|
if (a.err)
|
|
2637
2637
|
return a;
|
|
2638
2638
|
r.push(a.val);
|
|
2639
2639
|
} else {
|
|
2640
|
-
var a = this.parseLiteral(t,
|
|
2640
|
+
var a = this.parseLiteral(t, n);
|
|
2641
2641
|
if (a.err)
|
|
2642
2642
|
return a;
|
|
2643
2643
|
r.push(a.val);
|
|
@@ -2645,54 +2645,54 @@ var Dn = (
|
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
2647
|
return { val: r, err: null };
|
|
2648
|
-
}, e.prototype.parseTag = function(t,
|
|
2649
|
-
var
|
|
2648
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
2649
|
+
var i = this.clonePosition();
|
|
2650
2650
|
this.bump();
|
|
2651
2651
|
var r = this.parseTagName();
|
|
2652
2652
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2653
2653
|
return {
|
|
2654
2654
|
val: {
|
|
2655
|
-
type:
|
|
2655
|
+
type: z.literal,
|
|
2656
2656
|
value: "<".concat(r, "/>"),
|
|
2657
|
-
location: A(
|
|
2657
|
+
location: A(i, this.clonePosition())
|
|
2658
2658
|
},
|
|
2659
2659
|
err: null
|
|
2660
2660
|
};
|
|
2661
2661
|
if (this.bumpIf(">")) {
|
|
2662
|
-
var o = this.parseMessage(t + 1,
|
|
2662
|
+
var o = this.parseMessage(t + 1, n, !0);
|
|
2663
2663
|
if (o.err)
|
|
2664
2664
|
return o;
|
|
2665
2665
|
var a = o.val, s = this.clonePosition();
|
|
2666
2666
|
if (this.bumpIf("</")) {
|
|
2667
2667
|
if (this.isEOF() || !gt(this.char()))
|
|
2668
|
-
return this.error(
|
|
2668
|
+
return this.error(P.INVALID_TAG, A(s, this.clonePosition()));
|
|
2669
2669
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2670
|
-
return r !== l ? this.error(
|
|
2670
|
+
return r !== l ? this.error(P.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2671
2671
|
val: {
|
|
2672
|
-
type:
|
|
2672
|
+
type: z.tag,
|
|
2673
2673
|
value: r,
|
|
2674
2674
|
children: a,
|
|
2675
|
-
location: A(
|
|
2675
|
+
location: A(i, this.clonePosition())
|
|
2676
2676
|
},
|
|
2677
2677
|
err: null
|
|
2678
|
-
} : this.error(
|
|
2678
|
+
} : this.error(P.INVALID_TAG, A(s, this.clonePosition())));
|
|
2679
2679
|
} else
|
|
2680
|
-
return this.error(
|
|
2680
|
+
return this.error(P.UNCLOSED_TAG, A(i, this.clonePosition()));
|
|
2681
2681
|
} else
|
|
2682
|
-
return this.error(
|
|
2682
|
+
return this.error(P.INVALID_TAG, A(i, this.clonePosition()));
|
|
2683
2683
|
}, e.prototype.parseTagName = function() {
|
|
2684
2684
|
var t = this.offset();
|
|
2685
|
-
for (this.bump(); !this.isEOF() &&
|
|
2685
|
+
for (this.bump(); !this.isEOF() && ji(this.char()); )
|
|
2686
2686
|
this.bump();
|
|
2687
2687
|
return this.message.slice(t, this.offset());
|
|
2688
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2689
|
-
for (var
|
|
2690
|
-
var o = this.tryParseQuote(
|
|
2688
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
2689
|
+
for (var i = this.clonePosition(), r = ""; ; ) {
|
|
2690
|
+
var o = this.tryParseQuote(n);
|
|
2691
2691
|
if (o) {
|
|
2692
2692
|
r += o;
|
|
2693
2693
|
continue;
|
|
2694
2694
|
}
|
|
2695
|
-
var a = this.tryParseUnquoted(t,
|
|
2695
|
+
var a = this.tryParseUnquoted(t, n);
|
|
2696
2696
|
if (a) {
|
|
2697
2697
|
r += a;
|
|
2698
2698
|
continue;
|
|
@@ -2704,14 +2704,14 @@ var Dn = (
|
|
|
2704
2704
|
}
|
|
2705
2705
|
break;
|
|
2706
2706
|
}
|
|
2707
|
-
var u = A(
|
|
2707
|
+
var u = A(i, this.clonePosition());
|
|
2708
2708
|
return {
|
|
2709
|
-
val: { type:
|
|
2709
|
+
val: { type: z.literal, value: r, location: u },
|
|
2710
2710
|
err: null
|
|
2711
2711
|
};
|
|
2712
2712
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2713
2713
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2714
|
-
!
|
|
2714
|
+
!Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2715
2715
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2716
2716
|
if (this.isEOF() || this.char() !== 39)
|
|
2717
2717
|
return null;
|
|
@@ -2731,63 +2731,63 @@ var Dn = (
|
|
|
2731
2731
|
return null;
|
|
2732
2732
|
}
|
|
2733
2733
|
this.bump();
|
|
2734
|
-
var
|
|
2734
|
+
var n = [this.char()];
|
|
2735
2735
|
for (this.bump(); !this.isEOF(); ) {
|
|
2736
|
-
var
|
|
2737
|
-
if (
|
|
2736
|
+
var i = this.char();
|
|
2737
|
+
if (i === 39)
|
|
2738
2738
|
if (this.peek() === 39)
|
|
2739
|
-
|
|
2739
|
+
n.push(39), this.bump();
|
|
2740
2740
|
else {
|
|
2741
2741
|
this.bump();
|
|
2742
2742
|
break;
|
|
2743
2743
|
}
|
|
2744
2744
|
else
|
|
2745
|
-
|
|
2745
|
+
n.push(i);
|
|
2746
2746
|
this.bump();
|
|
2747
2747
|
}
|
|
2748
|
-
return
|
|
2749
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2748
|
+
return dt.apply(void 0, n);
|
|
2749
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2750
2750
|
if (this.isEOF())
|
|
2751
2751
|
return null;
|
|
2752
|
-
var
|
|
2753
|
-
return
|
|
2754
|
-
}, e.prototype.parseArgument = function(t,
|
|
2755
|
-
var
|
|
2752
|
+
var i = this.char();
|
|
2753
|
+
return i === 60 || i === 123 || i === 35 && (n === "plural" || n === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
|
|
2754
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
2755
|
+
var i = this.clonePosition();
|
|
2756
2756
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2757
|
-
return this.error(
|
|
2757
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2758
2758
|
if (this.char() === 125)
|
|
2759
|
-
return this.bump(), this.error(
|
|
2759
|
+
return this.bump(), this.error(P.EMPTY_ARGUMENT, A(i, this.clonePosition()));
|
|
2760
2760
|
var r = this.parseIdentifierIfPossible().value;
|
|
2761
2761
|
if (!r)
|
|
2762
|
-
return this.error(
|
|
2762
|
+
return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2763
2763
|
if (this.bumpSpace(), this.isEOF())
|
|
2764
|
-
return this.error(
|
|
2764
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2765
2765
|
switch (this.char()) {
|
|
2766
2766
|
case 125:
|
|
2767
2767
|
return this.bump(), {
|
|
2768
2768
|
val: {
|
|
2769
|
-
type:
|
|
2769
|
+
type: z.argument,
|
|
2770
2770
|
// value does not include the opening and closing braces.
|
|
2771
2771
|
value: r,
|
|
2772
|
-
location: A(
|
|
2772
|
+
location: A(i, this.clonePosition())
|
|
2773
2773
|
},
|
|
2774
2774
|
err: null
|
|
2775
2775
|
};
|
|
2776
2776
|
case 44:
|
|
2777
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2777
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, n, r, i);
|
|
2778
2778
|
default:
|
|
2779
|
-
return this.error(
|
|
2779
|
+
return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2780
2780
|
}
|
|
2781
2781
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2782
|
-
var t = this.clonePosition(),
|
|
2782
|
+
var t = this.clonePosition(), n = this.offset(), i = bt(this.message, n), r = n + i.length;
|
|
2783
2783
|
this.bumpTo(r);
|
|
2784
2784
|
var o = this.clonePosition(), a = A(t, o);
|
|
2785
|
-
return { value:
|
|
2786
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2785
|
+
return { value: i, location: a };
|
|
2786
|
+
}, e.prototype.parseArgumentOptions = function(t, n, i, r) {
|
|
2787
2787
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2788
2788
|
switch (s) {
|
|
2789
2789
|
case "":
|
|
2790
|
-
return this.error(
|
|
2790
|
+
return this.error(P.EXPECT_ARGUMENT_TYPE, A(a, u));
|
|
2791
2791
|
case "number":
|
|
2792
2792
|
case "date":
|
|
2793
2793
|
case "time": {
|
|
@@ -2798,46 +2798,46 @@ var Dn = (
|
|
|
2798
2798
|
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
2799
2799
|
if (p.err)
|
|
2800
2800
|
return p;
|
|
2801
|
-
var m =
|
|
2801
|
+
var m = Di(p.val);
|
|
2802
2802
|
if (m.length === 0)
|
|
2803
|
-
return this.error(
|
|
2803
|
+
return this.error(P.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2804
2804
|
var d = A(c, this.clonePosition());
|
|
2805
2805
|
l = { style: m, styleLocation: d };
|
|
2806
2806
|
}
|
|
2807
|
-
var
|
|
2808
|
-
if (
|
|
2809
|
-
return
|
|
2810
|
-
var
|
|
2811
|
-
if (l &&
|
|
2812
|
-
var y =
|
|
2807
|
+
var w = this.tryParseArgumentClose(r);
|
|
2808
|
+
if (w.err)
|
|
2809
|
+
return w;
|
|
2810
|
+
var v = A(r, this.clonePosition());
|
|
2811
|
+
if (l && Nt(l?.style, "::", 0)) {
|
|
2812
|
+
var y = Mi(l.style.slice(2));
|
|
2813
2813
|
if (s === "number") {
|
|
2814
2814
|
var p = this.parseNumberSkeletonFromString(y, l.styleLocation);
|
|
2815
2815
|
return p.err ? p : {
|
|
2816
|
-
val: { type:
|
|
2816
|
+
val: { type: z.number, value: i, location: v, style: p.val },
|
|
2817
2817
|
err: null
|
|
2818
2818
|
};
|
|
2819
2819
|
} else {
|
|
2820
2820
|
if (y.length === 0)
|
|
2821
|
-
return this.error(
|
|
2822
|
-
var
|
|
2823
|
-
this.locale && (
|
|
2821
|
+
return this.error(P.EXPECT_DATE_TIME_SKELETON, v);
|
|
2822
|
+
var T = y;
|
|
2823
|
+
this.locale && (T = wi(y, this.locale));
|
|
2824
2824
|
var m = {
|
|
2825
|
-
type:
|
|
2826
|
-
pattern:
|
|
2825
|
+
type: we.dateTime,
|
|
2826
|
+
pattern: T,
|
|
2827
2827
|
location: l.styleLocation,
|
|
2828
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2829
|
-
},
|
|
2828
|
+
parsedOptions: this.shouldParseSkeletons ? bi(T) : {}
|
|
2829
|
+
}, B = s === "date" ? z.date : z.time;
|
|
2830
2830
|
return {
|
|
2831
|
-
val: { type:
|
|
2831
|
+
val: { type: B, value: i, location: v, style: m },
|
|
2832
2832
|
err: null
|
|
2833
2833
|
};
|
|
2834
2834
|
}
|
|
2835
2835
|
}
|
|
2836
2836
|
return {
|
|
2837
2837
|
val: {
|
|
2838
|
-
type: s === "number" ?
|
|
2839
|
-
value:
|
|
2840
|
-
location:
|
|
2838
|
+
type: s === "number" ? z.number : s === "date" ? z.date : z.time,
|
|
2839
|
+
value: i,
|
|
2840
|
+
location: v,
|
|
2841
2841
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
2842
2842
|
},
|
|
2843
2843
|
err: null
|
|
@@ -2846,61 +2846,61 @@ var Dn = (
|
|
|
2846
2846
|
case "plural":
|
|
2847
2847
|
case "selectordinal":
|
|
2848
2848
|
case "select": {
|
|
2849
|
-
var
|
|
2849
|
+
var I = this.clonePosition();
|
|
2850
2850
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2851
|
-
return this.error(
|
|
2851
|
+
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A(I, qe({}, I)));
|
|
2852
2852
|
this.bumpSpace();
|
|
2853
|
-
var
|
|
2854
|
-
if (s !== "select" &&
|
|
2853
|
+
var D = this.parseIdentifierIfPossible(), L = 0;
|
|
2854
|
+
if (s !== "select" && D.value === "offset") {
|
|
2855
2855
|
if (!this.bumpIf(":"))
|
|
2856
|
-
return this.error(
|
|
2856
|
+
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
2857
2857
|
this.bumpSpace();
|
|
2858
|
-
var p = this.tryParseDecimalInteger(
|
|
2858
|
+
var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2859
2859
|
if (p.err)
|
|
2860
2860
|
return p;
|
|
2861
|
-
this.bumpSpace(),
|
|
2861
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = p.val;
|
|
2862
2862
|
}
|
|
2863
|
-
var
|
|
2864
|
-
if (
|
|
2865
|
-
return
|
|
2866
|
-
var
|
|
2867
|
-
if (
|
|
2868
|
-
return
|
|
2869
|
-
var
|
|
2863
|
+
var H = this.tryParsePluralOrSelectOptions(t, s, n, D);
|
|
2864
|
+
if (H.err)
|
|
2865
|
+
return H;
|
|
2866
|
+
var w = this.tryParseArgumentClose(r);
|
|
2867
|
+
if (w.err)
|
|
2868
|
+
return w;
|
|
2869
|
+
var G = A(r, this.clonePosition());
|
|
2870
2870
|
return s === "select" ? {
|
|
2871
2871
|
val: {
|
|
2872
|
-
type:
|
|
2873
|
-
value:
|
|
2874
|
-
options:
|
|
2875
|
-
location:
|
|
2872
|
+
type: z.select,
|
|
2873
|
+
value: i,
|
|
2874
|
+
options: Ot(H.val),
|
|
2875
|
+
location: G
|
|
2876
2876
|
},
|
|
2877
2877
|
err: null
|
|
2878
2878
|
} : {
|
|
2879
2879
|
val: {
|
|
2880
|
-
type:
|
|
2881
|
-
value:
|
|
2882
|
-
options:
|
|
2883
|
-
offset:
|
|
2880
|
+
type: z.plural,
|
|
2881
|
+
value: i,
|
|
2882
|
+
options: Ot(H.val),
|
|
2883
|
+
offset: L,
|
|
2884
2884
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2885
|
-
location:
|
|
2885
|
+
location: G
|
|
2886
2886
|
},
|
|
2887
2887
|
err: null
|
|
2888
2888
|
};
|
|
2889
2889
|
}
|
|
2890
2890
|
default:
|
|
2891
|
-
return this.error(
|
|
2891
|
+
return this.error(P.INVALID_ARGUMENT_TYPE, A(a, u));
|
|
2892
2892
|
}
|
|
2893
2893
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2894
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2894
|
+
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2895
2895
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2896
|
-
for (var t = 0,
|
|
2897
|
-
var
|
|
2898
|
-
switch (
|
|
2896
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
2897
|
+
var i = this.char();
|
|
2898
|
+
switch (i) {
|
|
2899
2899
|
case 39: {
|
|
2900
2900
|
this.bump();
|
|
2901
2901
|
var r = this.clonePosition();
|
|
2902
2902
|
if (!this.bumpUntil("'"))
|
|
2903
|
-
return this.error(
|
|
2903
|
+
return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(r, this.clonePosition()));
|
|
2904
2904
|
this.bump();
|
|
2905
2905
|
break;
|
|
2906
2906
|
}
|
|
@@ -2913,7 +2913,7 @@ var Dn = (
|
|
|
2913
2913
|
t -= 1;
|
|
2914
2914
|
else
|
|
2915
2915
|
return {
|
|
2916
|
-
val: this.message.slice(
|
|
2916
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
2917
2917
|
err: null
|
|
2918
2918
|
};
|
|
2919
2919
|
break;
|
|
@@ -2924,31 +2924,31 @@ var Dn = (
|
|
|
2924
2924
|
}
|
|
2925
2925
|
}
|
|
2926
2926
|
return {
|
|
2927
|
-
val: this.message.slice(
|
|
2927
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
2928
2928
|
err: null
|
|
2929
2929
|
};
|
|
2930
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
2931
|
-
var
|
|
2930
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
2931
|
+
var i = [];
|
|
2932
2932
|
try {
|
|
2933
|
-
|
|
2933
|
+
i = yi(t);
|
|
2934
2934
|
} catch {
|
|
2935
|
-
return this.error(
|
|
2935
|
+
return this.error(P.INVALID_NUMBER_SKELETON, n);
|
|
2936
2936
|
}
|
|
2937
2937
|
return {
|
|
2938
2938
|
val: {
|
|
2939
|
-
type:
|
|
2940
|
-
tokens:
|
|
2941
|
-
location:
|
|
2942
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2939
|
+
type: we.number,
|
|
2940
|
+
tokens: i,
|
|
2941
|
+
location: n,
|
|
2942
|
+
parsedOptions: this.shouldParseSkeletons ? xi(i) : {}
|
|
2943
2943
|
},
|
|
2944
2944
|
err: null
|
|
2945
2945
|
};
|
|
2946
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
2946
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, i, r) {
|
|
2947
2947
|
for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
|
|
2948
2948
|
if (l.length === 0) {
|
|
2949
2949
|
var p = this.clonePosition();
|
|
2950
|
-
if (
|
|
2951
|
-
var m = this.tryParseDecimalInteger(
|
|
2950
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
2951
|
+
var m = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2952
2952
|
if (m.err)
|
|
2953
2953
|
return m;
|
|
2954
2954
|
c = A(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
|
|
@@ -2956,29 +2956,29 @@ var Dn = (
|
|
|
2956
2956
|
break;
|
|
2957
2957
|
}
|
|
2958
2958
|
if (u.has(l))
|
|
2959
|
-
return this.error(
|
|
2959
|
+
return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
2960
2960
|
l === "other" && (a = !0), this.bumpSpace();
|
|
2961
2961
|
var d = this.clonePosition();
|
|
2962
2962
|
if (!this.bumpIf("{"))
|
|
2963
|
-
return this.error(
|
|
2964
|
-
var
|
|
2965
|
-
if (
|
|
2966
|
-
return
|
|
2967
|
-
var
|
|
2968
|
-
if (
|
|
2969
|
-
return
|
|
2963
|
+
return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
|
|
2964
|
+
var w = this.parseMessage(t + 1, n, i);
|
|
2965
|
+
if (w.err)
|
|
2966
|
+
return w;
|
|
2967
|
+
var v = this.tryParseArgumentClose(d);
|
|
2968
|
+
if (v.err)
|
|
2969
|
+
return v;
|
|
2970
2970
|
s.push([
|
|
2971
2971
|
l,
|
|
2972
2972
|
{
|
|
2973
|
-
value:
|
|
2973
|
+
value: w.val,
|
|
2974
2974
|
location: A(d, this.clonePosition())
|
|
2975
2975
|
}
|
|
2976
2976
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
2977
2977
|
}
|
|
2978
|
-
return s.length === 0 ? this.error(
|
|
2979
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
2980
|
-
var
|
|
2981
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
2978
|
+
return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2979
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
2980
|
+
var i = 1, r = this.clonePosition();
|
|
2981
|
+
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
2982
2982
|
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
2983
2983
|
var s = this.char();
|
|
2984
2984
|
if (s >= 48 && s <= 57)
|
|
@@ -2987,7 +2987,7 @@ var Dn = (
|
|
|
2987
2987
|
break;
|
|
2988
2988
|
}
|
|
2989
2989
|
var u = A(r, this.clonePosition());
|
|
2990
|
-
return o ? (a *=
|
|
2990
|
+
return o ? (a *= i, Ni(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
|
|
2991
2991
|
}, e.prototype.offset = function() {
|
|
2992
2992
|
return this.position.offset;
|
|
2993
2993
|
}, e.prototype.isEOF = function() {
|
|
@@ -3002,17 +3002,17 @@ var Dn = (
|
|
|
3002
3002
|
var t = this.position.offset;
|
|
3003
3003
|
if (t >= this.message.length)
|
|
3004
3004
|
throw Error("out of bound");
|
|
3005
|
-
var
|
|
3006
|
-
if (
|
|
3005
|
+
var n = cn(this.message, t);
|
|
3006
|
+
if (n === void 0)
|
|
3007
3007
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3008
|
-
return
|
|
3009
|
-
}, e.prototype.error = function(t,
|
|
3008
|
+
return n;
|
|
3009
|
+
}, e.prototype.error = function(t, n) {
|
|
3010
3010
|
return {
|
|
3011
3011
|
val: null,
|
|
3012
3012
|
err: {
|
|
3013
3013
|
kind: t,
|
|
3014
3014
|
message: this.message,
|
|
3015
|
-
location:
|
|
3015
|
+
location: n
|
|
3016
3016
|
}
|
|
3017
3017
|
};
|
|
3018
3018
|
}, e.prototype.bump = function() {
|
|
@@ -3021,286 +3021,286 @@ var Dn = (
|
|
|
3021
3021
|
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);
|
|
3022
3022
|
}
|
|
3023
3023
|
}, e.prototype.bumpIf = function(t) {
|
|
3024
|
-
if (
|
|
3025
|
-
for (var
|
|
3024
|
+
if (Nt(this.message, t, this.offset())) {
|
|
3025
|
+
for (var n = 0; n < t.length; n++)
|
|
3026
3026
|
this.bump();
|
|
3027
3027
|
return !0;
|
|
3028
3028
|
}
|
|
3029
3029
|
return !1;
|
|
3030
3030
|
}, e.prototype.bumpUntil = function(t) {
|
|
3031
|
-
var
|
|
3032
|
-
return
|
|
3031
|
+
var n = this.offset(), i = this.message.indexOf(t, n);
|
|
3032
|
+
return i >= 0 ? (this.bumpTo(i), !0) : (this.bumpTo(this.message.length), !1);
|
|
3033
3033
|
}, e.prototype.bumpTo = function(t) {
|
|
3034
3034
|
if (this.offset() > t)
|
|
3035
3035
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3036
3036
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3037
|
-
var
|
|
3038
|
-
if (
|
|
3037
|
+
var n = this.offset();
|
|
3038
|
+
if (n === t)
|
|
3039
3039
|
break;
|
|
3040
|
-
if (
|
|
3040
|
+
if (n > t)
|
|
3041
3041
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3042
3042
|
if (this.bump(), this.isEOF())
|
|
3043
3043
|
break;
|
|
3044
3044
|
}
|
|
3045
3045
|
}, e.prototype.bumpSpace = function() {
|
|
3046
|
-
for (; !this.isEOF() &&
|
|
3046
|
+
for (; !this.isEOF() && fn(this.char()); )
|
|
3047
3047
|
this.bump();
|
|
3048
3048
|
}, e.prototype.peek = function() {
|
|
3049
3049
|
if (this.isEOF())
|
|
3050
3050
|
return null;
|
|
3051
|
-
var t = this.char(),
|
|
3052
|
-
return
|
|
3051
|
+
var t = this.char(), n = this.offset(), i = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3052
|
+
return i ?? null;
|
|
3053
3053
|
}, e;
|
|
3054
3054
|
}()
|
|
3055
3055
|
);
|
|
3056
3056
|
function gt(e) {
|
|
3057
3057
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function Ui(e) {
|
|
3060
3060
|
return gt(e) || e === 47;
|
|
3061
3061
|
}
|
|
3062
|
-
function
|
|
3062
|
+
function ji(e) {
|
|
3063
3063
|
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;
|
|
3064
3064
|
}
|
|
3065
|
-
function
|
|
3065
|
+
function fn(e) {
|
|
3066
3066
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Gi(e) {
|
|
3069
3069
|
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;
|
|
3070
3070
|
}
|
|
3071
|
-
function
|
|
3071
|
+
function yt(e) {
|
|
3072
3072
|
e.forEach(function(t) {
|
|
3073
|
-
if (delete t.location,
|
|
3074
|
-
for (var
|
|
3075
|
-
delete t.options[
|
|
3073
|
+
if (delete t.location, tn(t) || nn(t))
|
|
3074
|
+
for (var n in t.options)
|
|
3075
|
+
delete t.options[n].location, yt(t.options[n].value);
|
|
3076
3076
|
else
|
|
3077
|
-
|
|
3077
|
+
Qt(t) && on(t.style) || (Kt(t) || en(t)) && pt(t.style) ? delete t.style.location : rn(t) && yt(t.children);
|
|
3078
3078
|
});
|
|
3079
3079
|
}
|
|
3080
|
-
function
|
|
3081
|
-
t === void 0 && (t = {}), t =
|
|
3082
|
-
var
|
|
3083
|
-
if (
|
|
3084
|
-
var
|
|
3085
|
-
throw
|
|
3080
|
+
function $i(e, t) {
|
|
3081
|
+
t === void 0 && (t = {}), t = qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3082
|
+
var n = new Ri(e, t).parse();
|
|
3083
|
+
if (n.err) {
|
|
3084
|
+
var i = SyntaxError(P[n.err.kind]);
|
|
3085
|
+
throw i.location = n.err.location, i.originalMessage = n.err.message, i;
|
|
3086
3086
|
}
|
|
3087
|
-
return t?.captureLocation ||
|
|
3087
|
+
return t?.captureLocation || yt(n.val), n.val;
|
|
3088
3088
|
}
|
|
3089
|
-
var
|
|
3089
|
+
var Te;
|
|
3090
3090
|
(function(e) {
|
|
3091
3091
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3092
|
-
})(
|
|
3093
|
-
var
|
|
3092
|
+
})(Te || (Te = {}));
|
|
3093
|
+
var Qe = (
|
|
3094
3094
|
/** @class */
|
|
3095
3095
|
function(e) {
|
|
3096
|
-
|
|
3097
|
-
function t(
|
|
3098
|
-
var o = e.call(this,
|
|
3099
|
-
return o.code =
|
|
3096
|
+
Je(t, e);
|
|
3097
|
+
function t(n, i, r) {
|
|
3098
|
+
var o = e.call(this, n) || this;
|
|
3099
|
+
return o.code = i, o.originalMessage = r, o;
|
|
3100
3100
|
}
|
|
3101
3101
|
return t.prototype.toString = function() {
|
|
3102
3102
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3103
3103
|
}, t;
|
|
3104
3104
|
}(Error)
|
|
3105
|
-
),
|
|
3105
|
+
), Dt = (
|
|
3106
3106
|
/** @class */
|
|
3107
3107
|
function(e) {
|
|
3108
|
-
|
|
3109
|
-
function t(
|
|
3110
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3108
|
+
Je(t, e);
|
|
3109
|
+
function t(n, i, r, o) {
|
|
3110
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(i, '". Options are "').concat(Object.keys(r).join('", "'), '"'), Te.INVALID_VALUE, o) || this;
|
|
3111
3111
|
}
|
|
3112
3112
|
return t;
|
|
3113
|
-
}(
|
|
3114
|
-
),
|
|
3113
|
+
}(Qe)
|
|
3114
|
+
), zi = (
|
|
3115
3115
|
/** @class */
|
|
3116
3116
|
function(e) {
|
|
3117
|
-
|
|
3118
|
-
function t(
|
|
3119
|
-
return e.call(this, 'Value for "'.concat(
|
|
3117
|
+
Je(t, e);
|
|
3118
|
+
function t(n, i, r) {
|
|
3119
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(i), Te.INVALID_VALUE, r) || this;
|
|
3120
3120
|
}
|
|
3121
3121
|
return t;
|
|
3122
|
-
}(
|
|
3123
|
-
),
|
|
3122
|
+
}(Qe)
|
|
3123
|
+
), Fi = (
|
|
3124
3124
|
/** @class */
|
|
3125
3125
|
function(e) {
|
|
3126
|
-
|
|
3127
|
-
function t(
|
|
3128
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3126
|
+
Je(t, e);
|
|
3127
|
+
function t(n, i) {
|
|
3128
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
|
|
3129
3129
|
}
|
|
3130
3130
|
return t;
|
|
3131
|
-
}(
|
|
3132
|
-
),
|
|
3131
|
+
}(Qe)
|
|
3132
|
+
), q;
|
|
3133
3133
|
(function(e) {
|
|
3134
3134
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3135
|
-
})(
|
|
3136
|
-
function
|
|
3137
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3138
|
-
var
|
|
3139
|
-
return !
|
|
3135
|
+
})(q || (q = {}));
|
|
3136
|
+
function Vi(e) {
|
|
3137
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3138
|
+
var i = t[t.length - 1];
|
|
3139
|
+
return !i || i.type !== q.literal || n.type !== q.literal ? t.push(n) : i.value += n.value, t;
|
|
3140
3140
|
}, []);
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function Xi(e) {
|
|
3143
3143
|
return typeof e == "function";
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3146
|
-
if (e.length === 1 &&
|
|
3145
|
+
function Ve(e, t, n, i, r, o, a) {
|
|
3146
|
+
if (e.length === 1 && It(e[0]))
|
|
3147
3147
|
return [
|
|
3148
3148
|
{
|
|
3149
|
-
type:
|
|
3149
|
+
type: q.literal,
|
|
3150
3150
|
value: e[0].value
|
|
3151
3151
|
}
|
|
3152
3152
|
];
|
|
3153
3153
|
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3154
3154
|
var c = l[u];
|
|
3155
|
-
if (
|
|
3155
|
+
if (It(c)) {
|
|
3156
3156
|
s.push({
|
|
3157
|
-
type:
|
|
3157
|
+
type: q.literal,
|
|
3158
3158
|
value: c.value
|
|
3159
3159
|
});
|
|
3160
3160
|
continue;
|
|
3161
3161
|
}
|
|
3162
|
-
if (
|
|
3162
|
+
if (mi(c)) {
|
|
3163
3163
|
typeof o == "number" && s.push({
|
|
3164
|
-
type:
|
|
3165
|
-
value:
|
|
3164
|
+
type: q.literal,
|
|
3165
|
+
value: n.getNumberFormat(t).format(o)
|
|
3166
3166
|
});
|
|
3167
3167
|
continue;
|
|
3168
3168
|
}
|
|
3169
3169
|
var p = c.value;
|
|
3170
3170
|
if (!(r && p in r))
|
|
3171
|
-
throw new
|
|
3171
|
+
throw new Fi(p, a);
|
|
3172
3172
|
var m = r[p];
|
|
3173
|
-
if (
|
|
3173
|
+
if (pi(c)) {
|
|
3174
3174
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3175
|
-
type: typeof m == "string" ?
|
|
3175
|
+
type: typeof m == "string" ? q.literal : q.object,
|
|
3176
3176
|
value: m
|
|
3177
3177
|
});
|
|
3178
3178
|
continue;
|
|
3179
3179
|
}
|
|
3180
|
-
if (
|
|
3181
|
-
var d = typeof c.style == "string" ?
|
|
3180
|
+
if (Kt(c)) {
|
|
3181
|
+
var d = typeof c.style == "string" ? i.date[c.style] : pt(c.style) ? c.style.parsedOptions : void 0;
|
|
3182
3182
|
s.push({
|
|
3183
|
-
type:
|
|
3184
|
-
value:
|
|
3183
|
+
type: q.literal,
|
|
3184
|
+
value: n.getDateTimeFormat(t, d).format(m)
|
|
3185
3185
|
});
|
|
3186
3186
|
continue;
|
|
3187
3187
|
}
|
|
3188
|
-
if (
|
|
3189
|
-
var d = typeof c.style == "string" ?
|
|
3188
|
+
if (en(c)) {
|
|
3189
|
+
var d = typeof c.style == "string" ? i.time[c.style] : pt(c.style) ? c.style.parsedOptions : i.time.medium;
|
|
3190
3190
|
s.push({
|
|
3191
|
-
type:
|
|
3192
|
-
value:
|
|
3191
|
+
type: q.literal,
|
|
3192
|
+
value: n.getDateTimeFormat(t, d).format(m)
|
|
3193
3193
|
});
|
|
3194
3194
|
continue;
|
|
3195
3195
|
}
|
|
3196
|
-
if (
|
|
3197
|
-
var d = typeof c.style == "string" ?
|
|
3196
|
+
if (Qt(c)) {
|
|
3197
|
+
var d = typeof c.style == "string" ? i.number[c.style] : on(c.style) ? c.style.parsedOptions : void 0;
|
|
3198
3198
|
d && d.scale && (m = m * (d.scale || 1)), s.push({
|
|
3199
|
-
type:
|
|
3200
|
-
value:
|
|
3199
|
+
type: q.literal,
|
|
3200
|
+
value: n.getNumberFormat(t, d).format(m)
|
|
3201
3201
|
});
|
|
3202
3202
|
continue;
|
|
3203
3203
|
}
|
|
3204
|
-
if (
|
|
3205
|
-
var
|
|
3206
|
-
if (!
|
|
3207
|
-
throw new
|
|
3208
|
-
var
|
|
3209
|
-
return
|
|
3204
|
+
if (rn(c)) {
|
|
3205
|
+
var w = c.children, v = c.value, y = r[v];
|
|
3206
|
+
if (!Xi(y))
|
|
3207
|
+
throw new zi(v, "function", a);
|
|
3208
|
+
var T = Ve(w, t, n, i, r, o), B = y(T.map(function(L) {
|
|
3209
|
+
return L.value;
|
|
3210
3210
|
}));
|
|
3211
|
-
Array.isArray(
|
|
3211
|
+
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(L) {
|
|
3212
3212
|
return {
|
|
3213
|
-
type: typeof
|
|
3214
|
-
value:
|
|
3213
|
+
type: typeof L == "string" ? q.literal : q.object,
|
|
3214
|
+
value: L
|
|
3215
3215
|
};
|
|
3216
3216
|
}));
|
|
3217
3217
|
}
|
|
3218
|
-
if (
|
|
3219
|
-
var
|
|
3220
|
-
if (!
|
|
3221
|
-
throw new
|
|
3222
|
-
s.push.apply(s,
|
|
3218
|
+
if (tn(c)) {
|
|
3219
|
+
var I = c.options[m] || c.options.other;
|
|
3220
|
+
if (!I)
|
|
3221
|
+
throw new Dt(c.value, m, Object.keys(c.options), a);
|
|
3222
|
+
s.push.apply(s, Ve(I.value, t, n, i, r));
|
|
3223
3223
|
continue;
|
|
3224
3224
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var
|
|
3227
|
-
if (!
|
|
3225
|
+
if (nn(c)) {
|
|
3226
|
+
var I = c.options["=".concat(m)];
|
|
3227
|
+
if (!I) {
|
|
3228
3228
|
if (!Intl.PluralRules)
|
|
3229
|
-
throw new
|
|
3229
|
+
throw new Qe(`Intl.PluralRules is not available in this environment.
|
|
3230
3230
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3231
|
-
`,
|
|
3232
|
-
var
|
|
3233
|
-
|
|
3231
|
+
`, Te.MISSING_INTL_API, a);
|
|
3232
|
+
var D = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
|
|
3233
|
+
I = c.options[D] || c.options.other;
|
|
3234
3234
|
}
|
|
3235
|
-
if (!
|
|
3236
|
-
throw new
|
|
3237
|
-
s.push.apply(s,
|
|
3235
|
+
if (!I)
|
|
3236
|
+
throw new Dt(c.value, m, Object.keys(c.options), a);
|
|
3237
|
+
s.push.apply(s, Ve(I.value, t, n, i, r, m - (c.offset || 0)));
|
|
3238
3238
|
continue;
|
|
3239
3239
|
}
|
|
3240
3240
|
}
|
|
3241
|
-
return
|
|
3241
|
+
return Vi(s);
|
|
3242
3242
|
}
|
|
3243
|
-
function
|
|
3244
|
-
return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(
|
|
3245
|
-
return i
|
|
3243
|
+
function qi(e, t) {
|
|
3244
|
+
return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, i) {
|
|
3245
|
+
return n[i] = oe(oe({}, e[i]), t[i] || {}), n;
|
|
3246
3246
|
}, {})) : e;
|
|
3247
3247
|
}
|
|
3248
|
-
function
|
|
3249
|
-
return t ? Object.keys(e).reduce(function(
|
|
3250
|
-
return i
|
|
3248
|
+
function Wi(e, t) {
|
|
3249
|
+
return t ? Object.keys(e).reduce(function(n, i) {
|
|
3250
|
+
return n[i] = qi(e[i], t[i]), n;
|
|
3251
3251
|
}, oe({}, e)) : e;
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3253
|
+
function lt(e) {
|
|
3254
3254
|
return {
|
|
3255
3255
|
create: function() {
|
|
3256
3256
|
return {
|
|
3257
3257
|
get: function(t) {
|
|
3258
3258
|
return e[t];
|
|
3259
3259
|
},
|
|
3260
|
-
set: function(t,
|
|
3261
|
-
e[t] =
|
|
3260
|
+
set: function(t, n) {
|
|
3261
|
+
e[t] = n;
|
|
3262
3262
|
}
|
|
3263
3263
|
};
|
|
3264
3264
|
}
|
|
3265
3265
|
};
|
|
3266
3266
|
}
|
|
3267
|
-
function
|
|
3267
|
+
function Zi(e) {
|
|
3268
3268
|
return e === void 0 && (e = {
|
|
3269
3269
|
number: {},
|
|
3270
3270
|
dateTime: {},
|
|
3271
3271
|
pluralRules: {}
|
|
3272
3272
|
}), {
|
|
3273
|
-
getNumberFormat:
|
|
3274
|
-
for (var t,
|
|
3275
|
-
i
|
|
3276
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3273
|
+
getNumberFormat: ot(function() {
|
|
3274
|
+
for (var t, n = [], i = 0; i < arguments.length; i++)
|
|
3275
|
+
n[i] = arguments[i];
|
|
3276
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], n, !1)))();
|
|
3277
3277
|
}, {
|
|
3278
|
-
cache:
|
|
3279
|
-
strategy:
|
|
3278
|
+
cache: lt(e.number),
|
|
3279
|
+
strategy: st.variadic
|
|
3280
3280
|
}),
|
|
3281
|
-
getDateTimeFormat:
|
|
3282
|
-
for (var t,
|
|
3283
|
-
i
|
|
3284
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3281
|
+
getDateTimeFormat: ot(function() {
|
|
3282
|
+
for (var t, n = [], i = 0; i < arguments.length; i++)
|
|
3283
|
+
n[i] = arguments[i];
|
|
3284
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], n, !1)))();
|
|
3285
3285
|
}, {
|
|
3286
|
-
cache:
|
|
3287
|
-
strategy:
|
|
3286
|
+
cache: lt(e.dateTime),
|
|
3287
|
+
strategy: st.variadic
|
|
3288
3288
|
}),
|
|
3289
|
-
getPluralRules:
|
|
3290
|
-
for (var t,
|
|
3291
|
-
i
|
|
3292
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3289
|
+
getPluralRules: ot(function() {
|
|
3290
|
+
for (var t, n = [], i = 0; i < arguments.length; i++)
|
|
3291
|
+
n[i] = arguments[i];
|
|
3292
|
+
return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], n, !1)))();
|
|
3293
3293
|
}, {
|
|
3294
|
-
cache:
|
|
3295
|
-
strategy:
|
|
3294
|
+
cache: lt(e.pluralRules),
|
|
3295
|
+
strategy: st.variadic
|
|
3296
3296
|
})
|
|
3297
3297
|
};
|
|
3298
3298
|
}
|
|
3299
|
-
var
|
|
3299
|
+
var Yi = (
|
|
3300
3300
|
/** @class */
|
|
3301
3301
|
function() {
|
|
3302
|
-
function e(t,
|
|
3303
|
-
|
|
3302
|
+
function e(t, n, i, r) {
|
|
3303
|
+
n === void 0 && (n = e.defaultLocale);
|
|
3304
3304
|
var o = this;
|
|
3305
3305
|
if (this.formatterCache = {
|
|
3306
3306
|
number: {},
|
|
@@ -3311,11 +3311,11 @@ var Zn = (
|
|
|
3311
3311
|
if (l.length === 1)
|
|
3312
3312
|
return l[0].value;
|
|
3313
3313
|
var c = l.reduce(function(p, m) {
|
|
3314
|
-
return !p.length || m.type !==
|
|
3314
|
+
return !p.length || m.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(m.value) : p[p.length - 1] += m.value, p;
|
|
3315
3315
|
}, []);
|
|
3316
3316
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3317
3317
|
}, this.formatToParts = function(u) {
|
|
3318
|
-
return
|
|
3318
|
+
return Ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3319
3319
|
}, this.resolvedOptions = function() {
|
|
3320
3320
|
var u;
|
|
3321
3321
|
return {
|
|
@@ -3323,18 +3323,18 @@ var Zn = (
|
|
|
3323
3323
|
};
|
|
3324
3324
|
}, this.getAst = function() {
|
|
3325
3325
|
return o.ast;
|
|
3326
|
-
}, this.locales =
|
|
3326
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3327
3327
|
if (this.message = t, !e.__parse)
|
|
3328
3328
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3329
3329
|
var a = r || {};
|
|
3330
3330
|
a.formatters;
|
|
3331
|
-
var s =
|
|
3331
|
+
var s = oi(a, ["formatters"]);
|
|
3332
3332
|
this.ast = e.__parse(t, oe(oe({}, s), { locale: this.resolvedLocale }));
|
|
3333
3333
|
} else
|
|
3334
3334
|
this.ast = t;
|
|
3335
3335
|
if (!Array.isArray(this.ast))
|
|
3336
3336
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3337
|
-
this.formats =
|
|
3337
|
+
this.formats = Wi(e.formats, i), this.formatters = r && r.formatters || Zi(this.formatterCache);
|
|
3338
3338
|
}
|
|
3339
3339
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3340
3340
|
get: function() {
|
|
@@ -3344,10 +3344,10 @@ var Zn = (
|
|
|
3344
3344
|
configurable: !0
|
|
3345
3345
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3346
3346
|
if (!(typeof Intl.Locale > "u")) {
|
|
3347
|
-
var
|
|
3348
|
-
return
|
|
3347
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3348
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3349
3349
|
}
|
|
3350
|
-
}, e.__parse =
|
|
3350
|
+
}, e.__parse = $i, e.formats = {
|
|
3351
3351
|
number: {
|
|
3352
3352
|
integer: {
|
|
3353
3353
|
maximumFractionDigits: 0
|
|
@@ -3408,113 +3408,113 @@ var Zn = (
|
|
|
3408
3408
|
}, e;
|
|
3409
3409
|
}()
|
|
3410
3410
|
);
|
|
3411
|
-
function
|
|
3411
|
+
function Ji(e, t) {
|
|
3412
3412
|
if (t == null)
|
|
3413
3413
|
return;
|
|
3414
3414
|
if (t in e)
|
|
3415
3415
|
return e[t];
|
|
3416
|
-
const
|
|
3417
|
-
let
|
|
3418
|
-
for (let r = 0; r <
|
|
3419
|
-
if (typeof
|
|
3416
|
+
const n = t.split(".");
|
|
3417
|
+
let i = e;
|
|
3418
|
+
for (let r = 0; r < n.length; r++)
|
|
3419
|
+
if (typeof i == "object") {
|
|
3420
3420
|
if (r > 0) {
|
|
3421
|
-
const o =
|
|
3422
|
-
if (o in
|
|
3423
|
-
|
|
3421
|
+
const o = n.slice(r, n.length).join(".");
|
|
3422
|
+
if (o in i) {
|
|
3423
|
+
i = i[o];
|
|
3424
3424
|
break;
|
|
3425
3425
|
}
|
|
3426
3426
|
}
|
|
3427
|
-
|
|
3427
|
+
i = i[n[r]];
|
|
3428
3428
|
} else
|
|
3429
|
-
|
|
3430
|
-
return
|
|
3429
|
+
i = void 0;
|
|
3430
|
+
return i;
|
|
3431
3431
|
}
|
|
3432
|
-
const le = {},
|
|
3432
|
+
const le = {}, Qi = (e, t, n) => n && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = n), n), pn = (e, t) => {
|
|
3433
3433
|
if (t == null)
|
|
3434
3434
|
return;
|
|
3435
3435
|
if (t in le && e in le[t])
|
|
3436
3436
|
return le[t][e];
|
|
3437
|
-
const
|
|
3438
|
-
for (let
|
|
3439
|
-
const r = i
|
|
3437
|
+
const n = Ke(t);
|
|
3438
|
+
for (let i = 0; i < n.length; i++) {
|
|
3439
|
+
const r = n[i], o = er(r, e);
|
|
3440
3440
|
if (o)
|
|
3441
|
-
return
|
|
3441
|
+
return Qi(e, t, o);
|
|
3442
3442
|
}
|
|
3443
3443
|
};
|
|
3444
|
-
let
|
|
3445
|
-
const
|
|
3446
|
-
function
|
|
3447
|
-
return
|
|
3444
|
+
let xt;
|
|
3445
|
+
const Ue = Ye({});
|
|
3446
|
+
function Ki(e) {
|
|
3447
|
+
return xt[e] || null;
|
|
3448
3448
|
}
|
|
3449
|
-
function
|
|
3450
|
-
return e in
|
|
3449
|
+
function mn(e) {
|
|
3450
|
+
return e in xt;
|
|
3451
3451
|
}
|
|
3452
|
-
function
|
|
3453
|
-
if (!
|
|
3452
|
+
function er(e, t) {
|
|
3453
|
+
if (!mn(e))
|
|
3454
3454
|
return null;
|
|
3455
|
-
const
|
|
3456
|
-
return
|
|
3455
|
+
const n = Ki(e);
|
|
3456
|
+
return Ji(n, t);
|
|
3457
3457
|
}
|
|
3458
|
-
function
|
|
3458
|
+
function tr(e) {
|
|
3459
3459
|
if (e == null)
|
|
3460
3460
|
return;
|
|
3461
|
-
const t =
|
|
3462
|
-
for (let
|
|
3463
|
-
const
|
|
3464
|
-
if (
|
|
3465
|
-
return
|
|
3461
|
+
const t = Ke(e);
|
|
3462
|
+
for (let n = 0; n < t.length; n++) {
|
|
3463
|
+
const i = t[n];
|
|
3464
|
+
if (mn(i))
|
|
3465
|
+
return i;
|
|
3466
3466
|
}
|
|
3467
3467
|
}
|
|
3468
|
-
function
|
|
3469
|
-
delete le[e],
|
|
3468
|
+
function dn(e, ...t) {
|
|
3469
|
+
delete le[e], Ue.update((n) => (n[e] = ri.all([n[e] || {}, ...t]), n));
|
|
3470
3470
|
}
|
|
3471
|
-
|
|
3472
|
-
[
|
|
3471
|
+
Se(
|
|
3472
|
+
[Ue],
|
|
3473
3473
|
([e]) => Object.keys(e)
|
|
3474
3474
|
);
|
|
3475
|
-
|
|
3476
|
-
const
|
|
3477
|
-
function
|
|
3478
|
-
|
|
3475
|
+
Ue.subscribe((e) => xt = e);
|
|
3476
|
+
const Xe = {};
|
|
3477
|
+
function nr(e, t) {
|
|
3478
|
+
Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3481
|
-
return
|
|
3480
|
+
function bn(e) {
|
|
3481
|
+
return Xe[e];
|
|
3482
3482
|
}
|
|
3483
3483
|
function ir(e) {
|
|
3484
|
-
return
|
|
3485
|
-
const
|
|
3486
|
-
return [t,
|
|
3484
|
+
return Ke(e).map((t) => {
|
|
3485
|
+
const n = bn(t);
|
|
3486
|
+
return [t, n ? [...n] : []];
|
|
3487
3487
|
}).filter(([, t]) => t.length > 0);
|
|
3488
3488
|
}
|
|
3489
|
-
function
|
|
3490
|
-
return e == null ? !1 :
|
|
3489
|
+
function vt(e) {
|
|
3490
|
+
return e == null ? !1 : Ke(e).some(
|
|
3491
3491
|
(t) => {
|
|
3492
|
-
var
|
|
3493
|
-
return (
|
|
3492
|
+
var n;
|
|
3493
|
+
return (n = bn(t)) == null ? void 0 : n.size;
|
|
3494
3494
|
}
|
|
3495
3495
|
);
|
|
3496
3496
|
}
|
|
3497
|
-
function
|
|
3497
|
+
function rr(e, t) {
|
|
3498
3498
|
return Promise.all(
|
|
3499
|
-
t.map((
|
|
3500
|
-
).then((
|
|
3499
|
+
t.map((i) => (nr(e, i), i().then((r) => r.default || r)))
|
|
3500
|
+
).then((i) => dn(e, ...i));
|
|
3501
3501
|
}
|
|
3502
|
-
const
|
|
3503
|
-
function
|
|
3504
|
-
if (!
|
|
3505
|
-
return e in
|
|
3502
|
+
const He = {};
|
|
3503
|
+
function gn(e) {
|
|
3504
|
+
if (!vt(e))
|
|
3505
|
+
return e in He ? He[e] : Promise.resolve();
|
|
3506
3506
|
const t = ir(e);
|
|
3507
|
-
return
|
|
3507
|
+
return He[e] = Promise.all(
|
|
3508
3508
|
t.map(
|
|
3509
|
-
([
|
|
3509
|
+
([n, i]) => rr(n, i)
|
|
3510
3510
|
)
|
|
3511
3511
|
).then(() => {
|
|
3512
|
-
if (
|
|
3513
|
-
return
|
|
3514
|
-
delete
|
|
3515
|
-
}),
|
|
3512
|
+
if (vt(e))
|
|
3513
|
+
return gn(e);
|
|
3514
|
+
delete He[e];
|
|
3515
|
+
}), He[e];
|
|
3516
3516
|
}
|
|
3517
|
-
const
|
|
3517
|
+
const or = {
|
|
3518
3518
|
number: {
|
|
3519
3519
|
scientific: { notation: "scientific" },
|
|
3520
3520
|
engineering: { notation: "engineering" },
|
|
@@ -3543,150 +3543,150 @@ const rr = {
|
|
|
3543
3543
|
timeZoneName: "short"
|
|
3544
3544
|
}
|
|
3545
3545
|
}
|
|
3546
|
-
},
|
|
3546
|
+
}, sr = {
|
|
3547
3547
|
fallbackLocale: null,
|
|
3548
3548
|
loadingDelay: 200,
|
|
3549
|
-
formats:
|
|
3549
|
+
formats: or,
|
|
3550
3550
|
warnOnMissingMessages: !0,
|
|
3551
3551
|
handleMissingMessage: void 0,
|
|
3552
3552
|
ignoreTag: !0
|
|
3553
|
-
},
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3556
|
-
}
|
|
3557
|
-
const
|
|
3558
|
-
var
|
|
3559
|
-
for (var
|
|
3560
|
-
|
|
3561
|
-
if (
|
|
3562
|
-
for (var
|
|
3563
|
-
|
|
3553
|
+
}, ar = sr;
|
|
3554
|
+
function Pe() {
|
|
3555
|
+
return ar;
|
|
3556
|
+
}
|
|
3557
|
+
const ut = Ye(!1);
|
|
3558
|
+
var lr = Object.defineProperty, ur = Object.defineProperties, cr = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ut = (e, t, n) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pr = (e, t) => {
|
|
3559
|
+
for (var n in t || (t = {}))
|
|
3560
|
+
hr.call(t, n) && Ut(e, n, t[n]);
|
|
3561
|
+
if (Rt)
|
|
3562
|
+
for (var n of Rt(t))
|
|
3563
|
+
fr.call(t, n) && Ut(e, n, t[n]);
|
|
3564
3564
|
return e;
|
|
3565
|
-
},
|
|
3566
|
-
let
|
|
3567
|
-
const
|
|
3568
|
-
function
|
|
3569
|
-
return e.split("-").map((t,
|
|
3565
|
+
}, mr = (e, t) => ur(e, cr(t));
|
|
3566
|
+
let Et;
|
|
3567
|
+
const We = Ye(null);
|
|
3568
|
+
function jt(e) {
|
|
3569
|
+
return e.split("-").map((t, n, i) => i.slice(0, n + 1).join("-")).reverse();
|
|
3570
3570
|
}
|
|
3571
|
-
function
|
|
3572
|
-
const
|
|
3573
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3571
|
+
function Ke(e, t = Pe().fallbackLocale) {
|
|
3572
|
+
const n = jt(e);
|
|
3573
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...jt(t)])] : n;
|
|
3574
3574
|
}
|
|
3575
|
-
function
|
|
3576
|
-
return
|
|
3575
|
+
function fe() {
|
|
3576
|
+
return Et ?? void 0;
|
|
3577
3577
|
}
|
|
3578
|
-
|
|
3579
|
-
|
|
3578
|
+
We.subscribe((e) => {
|
|
3579
|
+
Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3580
3580
|
});
|
|
3581
|
-
const
|
|
3582
|
-
if (e &&
|
|
3583
|
-
const { loadingDelay: t } =
|
|
3584
|
-
let
|
|
3585
|
-
return typeof window < "u" &&
|
|
3586
|
-
() =>
|
|
3581
|
+
const dr = (e) => {
|
|
3582
|
+
if (e && tr(e) && vt(e)) {
|
|
3583
|
+
const { loadingDelay: t } = Pe();
|
|
3584
|
+
let n;
|
|
3585
|
+
return typeof window < "u" && fe() != null && t ? n = window.setTimeout(
|
|
3586
|
+
() => ut.set(!0),
|
|
3587
3587
|
t
|
|
3588
|
-
) :
|
|
3589
|
-
|
|
3588
|
+
) : ut.set(!0), gn(e).then(() => {
|
|
3589
|
+
We.set(e);
|
|
3590
3590
|
}).finally(() => {
|
|
3591
|
-
clearTimeout(
|
|
3591
|
+
clearTimeout(n), ut.set(!1);
|
|
3592
3592
|
});
|
|
3593
3593
|
}
|
|
3594
|
-
return
|
|
3595
|
-
},
|
|
3596
|
-
set:
|
|
3597
|
-
}),
|
|
3594
|
+
return We.set(e);
|
|
3595
|
+
}, Be = mr(pr({}, We), {
|
|
3596
|
+
set: dr
|
|
3597
|
+
}), et = (e) => {
|
|
3598
3598
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3599
|
-
return (
|
|
3600
|
-
const r = JSON.stringify(
|
|
3601
|
-
return r in t ? t[r] : t[r] = e(
|
|
3599
|
+
return (i) => {
|
|
3600
|
+
const r = JSON.stringify(i);
|
|
3601
|
+
return r in t ? t[r] : t[r] = e(i);
|
|
3602
3602
|
};
|
|
3603
3603
|
};
|
|
3604
|
-
var
|
|
3605
|
-
for (var
|
|
3606
|
-
|
|
3607
|
-
if (
|
|
3608
|
-
for (var
|
|
3609
|
-
|
|
3604
|
+
var br = Object.defineProperty, Ze = Object.getOwnPropertySymbols, yn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wt = (e, t) => {
|
|
3605
|
+
for (var n in t || (t = {}))
|
|
3606
|
+
yn.call(t, n) && Gt(e, n, t[n]);
|
|
3607
|
+
if (Ze)
|
|
3608
|
+
for (var n of Ze(t))
|
|
3609
|
+
vn.call(t, n) && Gt(e, n, t[n]);
|
|
3610
3610
|
return e;
|
|
3611
|
-
},
|
|
3612
|
-
var
|
|
3613
|
-
for (var
|
|
3614
|
-
|
|
3615
|
-
if (e != null &&
|
|
3616
|
-
for (var
|
|
3617
|
-
t.indexOf(
|
|
3618
|
-
return
|
|
3611
|
+
}, Le = (e, t) => {
|
|
3612
|
+
var n = {};
|
|
3613
|
+
for (var i in e)
|
|
3614
|
+
yn.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
|
|
3615
|
+
if (e != null && Ze)
|
|
3616
|
+
for (var i of Ze(e))
|
|
3617
|
+
t.indexOf(i) < 0 && vn.call(e, i) && (n[i] = e[i]);
|
|
3618
|
+
return n;
|
|
3619
3619
|
};
|
|
3620
|
-
const
|
|
3621
|
-
const { formats:
|
|
3622
|
-
if (e in
|
|
3623
|
-
return
|
|
3620
|
+
const Re = (e, t) => {
|
|
3621
|
+
const { formats: n } = Pe();
|
|
3622
|
+
if (e in n && t in n[e])
|
|
3623
|
+
return n[e][t];
|
|
3624
3624
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3625
|
-
}, gr =
|
|
3625
|
+
}, gr = et(
|
|
3626
3626
|
(e) => {
|
|
3627
|
-
var t = e, { locale:
|
|
3628
|
-
if (
|
|
3627
|
+
var t = e, { locale: n, format: i } = t, r = Le(t, ["locale", "format"]);
|
|
3628
|
+
if (n == null)
|
|
3629
3629
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3630
|
-
return
|
|
3630
|
+
return i && (r = Re("number", i)), new Intl.NumberFormat(n, r);
|
|
3631
3631
|
}
|
|
3632
|
-
),
|
|
3632
|
+
), yr = et(
|
|
3633
3633
|
(e) => {
|
|
3634
|
-
var t = e, { locale:
|
|
3635
|
-
if (
|
|
3634
|
+
var t = e, { locale: n, format: i } = t, r = Le(t, ["locale", "format"]);
|
|
3635
|
+
if (n == null)
|
|
3636
3636
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3637
|
-
return
|
|
3637
|
+
return i ? r = Re("date", i) : Object.keys(r).length === 0 && (r = Re("date", "short")), new Intl.DateTimeFormat(n, r);
|
|
3638
3638
|
}
|
|
3639
|
-
),
|
|
3639
|
+
), vr = et(
|
|
3640
3640
|
(e) => {
|
|
3641
|
-
var t = e, { locale:
|
|
3642
|
-
if (
|
|
3641
|
+
var t = e, { locale: n, format: i } = t, r = Le(t, ["locale", "format"]);
|
|
3642
|
+
if (n == null)
|
|
3643
3643
|
throw new Error(
|
|
3644
3644
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3645
3645
|
);
|
|
3646
|
-
return
|
|
3646
|
+
return i ? r = Re("time", i) : Object.keys(r).length === 0 && (r = Re("time", "short")), new Intl.DateTimeFormat(n, r);
|
|
3647
3647
|
}
|
|
3648
|
-
),
|
|
3648
|
+
), Er = (e = {}) => {
|
|
3649
3649
|
var t = e, {
|
|
3650
|
-
locale:
|
|
3651
|
-
} = t,
|
|
3650
|
+
locale: n = fe()
|
|
3651
|
+
} = t, i = Le(t, [
|
|
3652
3652
|
"locale"
|
|
3653
3653
|
]);
|
|
3654
|
-
return gr(
|
|
3655
|
-
},
|
|
3654
|
+
return gr(wt({ locale: n }, i));
|
|
3655
|
+
}, _r = (e = {}) => {
|
|
3656
3656
|
var t = e, {
|
|
3657
|
-
locale:
|
|
3658
|
-
} = t,
|
|
3657
|
+
locale: n = fe()
|
|
3658
|
+
} = t, i = Le(t, [
|
|
3659
3659
|
"locale"
|
|
3660
3660
|
]);
|
|
3661
|
-
return
|
|
3662
|
-
},
|
|
3661
|
+
return yr(wt({ locale: n }, i));
|
|
3662
|
+
}, xr = (e = {}) => {
|
|
3663
3663
|
var t = e, {
|
|
3664
|
-
locale:
|
|
3665
|
-
} = t,
|
|
3664
|
+
locale: n = fe()
|
|
3665
|
+
} = t, i = Le(t, [
|
|
3666
3666
|
"locale"
|
|
3667
3667
|
]);
|
|
3668
|
-
return
|
|
3669
|
-
},
|
|
3668
|
+
return vr(wt({ locale: n }, i));
|
|
3669
|
+
}, wr = et(
|
|
3670
3670
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3671
|
-
(e, t =
|
|
3672
|
-
ignoreTag:
|
|
3671
|
+
(e, t = fe()) => new Yi(e, t, Pe().formats, {
|
|
3672
|
+
ignoreTag: Pe().ignoreTag
|
|
3673
3673
|
})
|
|
3674
3674
|
), Tr = (e, t = {}) => {
|
|
3675
|
-
var
|
|
3675
|
+
var n, i, r, o;
|
|
3676
3676
|
let a = t;
|
|
3677
3677
|
typeof e == "object" && (a = e, e = a.id);
|
|
3678
3678
|
const {
|
|
3679
3679
|
values: s,
|
|
3680
|
-
locale: u =
|
|
3680
|
+
locale: u = fe(),
|
|
3681
3681
|
default: l
|
|
3682
3682
|
} = a;
|
|
3683
3683
|
if (u == null)
|
|
3684
3684
|
throw new Error(
|
|
3685
3685
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3686
3686
|
);
|
|
3687
|
-
let c =
|
|
3687
|
+
let c = pn(e, u);
|
|
3688
3688
|
if (!c)
|
|
3689
|
-
c = (o = (r = (
|
|
3689
|
+
c = (o = (r = (i = (n = Pe()).handleMissingMessage) == null ? void 0 : i.call(n, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
|
|
3690
3690
|
else if (typeof c != "string")
|
|
3691
3691
|
return console.warn(
|
|
3692
3692
|
`[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.`
|
|
@@ -3695,7 +3695,7 @@ const Me = (e, t) => {
|
|
|
3695
3695
|
return c;
|
|
3696
3696
|
let p = c;
|
|
3697
3697
|
try {
|
|
3698
|
-
p =
|
|
3698
|
+
p = wr(c, u).format(s);
|
|
3699
3699
|
} catch (m) {
|
|
3700
3700
|
m instanceof Error && console.warn(
|
|
3701
3701
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3703,18 +3703,18 @@ const Me = (e, t) => {
|
|
|
3703
3703
|
);
|
|
3704
3704
|
}
|
|
3705
3705
|
return p;
|
|
3706
|
-
}, Pr = (e, t) =>
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
function
|
|
3712
|
-
|
|
3713
|
-
}
|
|
3714
|
-
function
|
|
3715
|
-
|
|
3716
|
-
}
|
|
3717
|
-
const
|
|
3706
|
+
}, Pr = (e, t) => xr(t).format(e), Sr = (e, t) => _r(t).format(e), Br = (e, t) => Er(t).format(e), Lr = (e, t = fe()) => pn(e, t), Ar = Se([Be, Ue], () => Tr);
|
|
3707
|
+
Se([Be], () => Pr);
|
|
3708
|
+
Se([Be], () => Sr);
|
|
3709
|
+
Se([Be], () => Br);
|
|
3710
|
+
Se([Be, Ue], () => Lr);
|
|
3711
|
+
function $t(e, t) {
|
|
3712
|
+
dn(e, t);
|
|
3713
|
+
}
|
|
3714
|
+
function Ir(e) {
|
|
3715
|
+
Be.set(e);
|
|
3716
|
+
}
|
|
3717
|
+
const zt = {
|
|
3718
3718
|
en: {
|
|
3719
3719
|
loading: "Loading, please wait...",
|
|
3720
3720
|
setLimit: "Set a limit",
|
|
@@ -3974,240 +3974,267 @@ const $t = {
|
|
|
3974
3974
|
docsRequired: "Documents required!",
|
|
3975
3975
|
kyc2: "For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."
|
|
3976
3976
|
}
|
|
3977
|
-
};
|
|
3978
|
-
function
|
|
3977
|
+
}, ve = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3978
|
+
function kr(e, t) {
|
|
3979
3979
|
if (e) {
|
|
3980
|
-
const
|
|
3981
|
-
|
|
3980
|
+
const n = document.createElement("style");
|
|
3981
|
+
n.innerHTML = t, e.appendChild(n);
|
|
3982
3982
|
}
|
|
3983
3983
|
}
|
|
3984
|
-
function
|
|
3984
|
+
function Cr(e, t) {
|
|
3985
3985
|
if (!e || !t)
|
|
3986
3986
|
return;
|
|
3987
|
-
const
|
|
3988
|
-
fetch(
|
|
3987
|
+
const n = new URL(t);
|
|
3988
|
+
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
3989
3989
|
const r = document.createElement("style");
|
|
3990
|
-
r.innerHTML =
|
|
3991
|
-
}).catch((
|
|
3992
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3990
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
3991
|
+
}).catch((i) => {
|
|
3992
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
3993
3993
|
});
|
|
3994
3994
|
}
|
|
3995
|
-
function Hr(e, t, i) {
|
|
3996
|
-
if (window.emMessageBus)
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
3995
|
+
function Hr(e, t, n, i = !1) {
|
|
3996
|
+
if (!window.emMessageBus)
|
|
3997
|
+
return;
|
|
3998
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
3999
|
+
return n = Nr(e, t), n;
|
|
4000
|
+
window[ve] || (window[ve] = {}), n = Or(e, t);
|
|
4001
|
+
const o = n.unsubscribe.bind(n), a = () => {
|
|
4002
|
+
if (window[ve][t]) {
|
|
4003
|
+
const s = window[ve][t];
|
|
4004
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[ve][t];
|
|
4005
|
+
}
|
|
4006
|
+
o();
|
|
4007
|
+
};
|
|
4008
|
+
return n.unsubscribe = a, n;
|
|
4009
|
+
}
|
|
4010
|
+
function Nr(e, t) {
|
|
4011
|
+
const n = document.createElement("style");
|
|
4012
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
4013
|
+
e && (n.innerHTML = i, e.appendChild(n));
|
|
4014
|
+
});
|
|
4015
|
+
}
|
|
4016
|
+
function Or(e, t) {
|
|
4017
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4018
|
+
if (!e)
|
|
4019
|
+
return;
|
|
4020
|
+
const i = e.getRootNode(), r = window[ve];
|
|
4021
|
+
let o = r[t]?.sheet;
|
|
4022
|
+
o ? r[t].refCount = r[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(n), r[t] = {
|
|
4023
|
+
sheet: o,
|
|
4024
|
+
refCount: 1
|
|
4000
4025
|
});
|
|
4001
|
-
|
|
4026
|
+
const a = i.adoptedStyleSheets || [];
|
|
4027
|
+
a.includes(o) || (i.adoptedStyleSheets = [...a, o]);
|
|
4028
|
+
});
|
|
4002
4029
|
}
|
|
4003
|
-
function
|
|
4004
|
-
|
|
4030
|
+
function Mr(e) {
|
|
4031
|
+
xn(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
4005
4032
|
}
|
|
4006
|
-
function
|
|
4033
|
+
function Dr(e) {
|
|
4007
4034
|
let t;
|
|
4008
|
-
function
|
|
4035
|
+
function n(o, a) {
|
|
4009
4036
|
if (
|
|
4010
4037
|
/*popupState*/
|
|
4011
4038
|
o[10] === "initial"
|
|
4012
4039
|
)
|
|
4013
|
-
return
|
|
4040
|
+
return zr;
|
|
4014
4041
|
if (
|
|
4015
4042
|
/*popupState*/
|
|
4016
4043
|
o[10] === "successful"
|
|
4017
4044
|
)
|
|
4018
|
-
return
|
|
4045
|
+
return $r;
|
|
4019
4046
|
if (
|
|
4020
4047
|
/*popupState*/
|
|
4021
4048
|
o[10] === "KYC"
|
|
4022
4049
|
)
|
|
4023
|
-
return
|
|
4050
|
+
return Gr;
|
|
4024
4051
|
if (
|
|
4025
4052
|
/*popupState*/
|
|
4026
4053
|
o[10] === "KYC2"
|
|
4027
4054
|
)
|
|
4028
|
-
return
|
|
4055
|
+
return jr;
|
|
4029
4056
|
if (
|
|
4030
4057
|
/*popupState*/
|
|
4031
4058
|
o[10] === "error"
|
|
4032
4059
|
)
|
|
4033
|
-
return
|
|
4060
|
+
return Ur;
|
|
4034
4061
|
}
|
|
4035
|
-
let
|
|
4062
|
+
let i = n(e), r = i && i(e);
|
|
4036
4063
|
return {
|
|
4037
4064
|
c() {
|
|
4038
|
-
t =
|
|
4065
|
+
t = g("div"), r && r.c(), h(t, "class", "InitialWrapper");
|
|
4039
4066
|
},
|
|
4040
4067
|
m(o, a) {
|
|
4041
|
-
|
|
4068
|
+
x(o, t, a), r && r.m(t, null);
|
|
4042
4069
|
},
|
|
4043
4070
|
p(o, a) {
|
|
4044
|
-
|
|
4071
|
+
i === (i = n(o)) && r ? r.p(o, a) : (r && r.d(1), r = i && i(o), r && (r.c(), r.m(t, null)));
|
|
4045
4072
|
},
|
|
4046
4073
|
d(o) {
|
|
4047
|
-
o &&
|
|
4074
|
+
o && E(t), r && r.d();
|
|
4048
4075
|
}
|
|
4049
4076
|
};
|
|
4050
4077
|
}
|
|
4051
|
-
function
|
|
4052
|
-
let t,
|
|
4078
|
+
function Rr(e) {
|
|
4079
|
+
let t, n = (
|
|
4053
4080
|
/*$_*/
|
|
4054
4081
|
e[12]("loading") + ""
|
|
4055
|
-
),
|
|
4082
|
+
), i;
|
|
4056
4083
|
return {
|
|
4057
4084
|
c() {
|
|
4058
|
-
t =
|
|
4085
|
+
t = g("p"), i = S(n);
|
|
4059
4086
|
},
|
|
4060
4087
|
m(r, o) {
|
|
4061
|
-
|
|
4088
|
+
x(r, t, o), f(t, i);
|
|
4062
4089
|
},
|
|
4063
4090
|
p(r, o) {
|
|
4064
4091
|
o[0] & /*$_*/
|
|
4065
|
-
4096 &&
|
|
4066
|
-
r[12]("loading") + "") &&
|
|
4092
|
+
4096 && n !== (n = /*$_*/
|
|
4093
|
+
r[12]("loading") + "") && C(i, n);
|
|
4067
4094
|
},
|
|
4068
4095
|
d(r) {
|
|
4069
|
-
r &&
|
|
4096
|
+
r && E(t);
|
|
4070
4097
|
}
|
|
4071
4098
|
};
|
|
4072
4099
|
}
|
|
4073
|
-
function
|
|
4074
|
-
let t,
|
|
4100
|
+
function Ur(e) {
|
|
4101
|
+
let t, n = (
|
|
4075
4102
|
/*$_*/
|
|
4076
4103
|
e[12]("depositError") + ""
|
|
4077
|
-
),
|
|
4104
|
+
), i, r, o, a, s, u = (
|
|
4078
4105
|
/*$_*/
|
|
4079
4106
|
e[12]("errorDescription") + ""
|
|
4080
4107
|
), l, c, p, m = (
|
|
4081
4108
|
/*$_*/
|
|
4082
4109
|
e[12]("closeButton") + ""
|
|
4083
|
-
), d,
|
|
4110
|
+
), d, w, v;
|
|
4084
4111
|
return {
|
|
4085
4112
|
c() {
|
|
4086
|
-
t =
|
|
4113
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = M(), s = g("p"), l = S(u), c = M(), p = g("button"), d = S(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4087
4114
|
},
|
|
4088
|
-
m(y,
|
|
4089
|
-
|
|
4115
|
+
m(y, T) {
|
|
4116
|
+
x(y, t, T), f(t, i), x(y, r, T), x(y, o, T), x(y, a, T), x(y, s, T), f(s, l), x(y, c, T), x(y, p, T), f(p, d), w || (v = W(
|
|
4090
4117
|
p,
|
|
4091
4118
|
"click",
|
|
4092
4119
|
/*click_handler_10*/
|
|
4093
4120
|
e[37]
|
|
4094
|
-
),
|
|
4121
|
+
), w = !0);
|
|
4095
4122
|
},
|
|
4096
|
-
p(y,
|
|
4097
|
-
|
|
4098
|
-
4096 &&
|
|
4099
|
-
y[12]("depositError") + "") &&
|
|
4123
|
+
p(y, T) {
|
|
4124
|
+
T[0] & /*$_*/
|
|
4125
|
+
4096 && n !== (n = /*$_*/
|
|
4126
|
+
y[12]("depositError") + "") && C(i, n), T[0] & /*$_*/
|
|
4100
4127
|
4096 && u !== (u = /*$_*/
|
|
4101
|
-
y[12]("errorDescription") + "") &&
|
|
4128
|
+
y[12]("errorDescription") + "") && C(l, u), T[0] & /*$_*/
|
|
4102
4129
|
4096 && m !== (m = /*$_*/
|
|
4103
|
-
y[12]("closeButton") + "") &&
|
|
4130
|
+
y[12]("closeButton") + "") && C(d, m);
|
|
4104
4131
|
},
|
|
4105
4132
|
d(y) {
|
|
4106
|
-
y && (
|
|
4133
|
+
y && (E(t), E(r), E(o), E(a), E(s), E(c), E(p)), w = !1, v();
|
|
4107
4134
|
}
|
|
4108
4135
|
};
|
|
4109
4136
|
}
|
|
4110
|
-
function
|
|
4111
|
-
let t,
|
|
4137
|
+
function jr(e) {
|
|
4138
|
+
let t, n = (
|
|
4112
4139
|
/*$_*/
|
|
4113
4140
|
e[12]("docsRequired") + ""
|
|
4114
|
-
),
|
|
4141
|
+
), i, r, o, a, s, u, l, c, p, m = (
|
|
4115
4142
|
/*$_*/
|
|
4116
4143
|
e[12]("docsRequired") + ""
|
|
4117
|
-
), d,
|
|
4144
|
+
), d, w, v, y = (
|
|
4118
4145
|
/*$_*/
|
|
4119
4146
|
e[12]("kyc2") + ""
|
|
4120
|
-
),
|
|
4147
|
+
), T, B, I, D = (
|
|
4121
4148
|
/*$_*/
|
|
4122
4149
|
e[12]("kycButton") + ""
|
|
4123
|
-
),
|
|
4150
|
+
), L, H, G, N = (
|
|
4124
4151
|
/*$_*/
|
|
4125
4152
|
e[12]("closeButton") + ""
|
|
4126
|
-
),
|
|
4153
|
+
), U, $, J;
|
|
4127
4154
|
return {
|
|
4128
4155
|
c() {
|
|
4129
|
-
t =
|
|
4156
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("g"), l = Z("path"), c = M(), p = g("p"), d = S(m), w = M(), v = g("p"), T = S(y), B = M(), I = g("button"), L = S(D), H = M(), G = g("button"), U = S(N), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4130
4157
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4131
4158
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4132
|
-
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"),
|
|
4159
|
+
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Ne(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(v, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(I, "class", "KycButton PrimaryButtonStyle"), h(G, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4133
4160
|
},
|
|
4134
|
-
m(
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4161
|
+
m(_, R) {
|
|
4162
|
+
x(_, t, R), f(t, i), x(_, r, R), x(_, o, R), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, w), f(o, v), f(v, T), x(_, B, R), x(_, I, R), f(I, L), x(_, H, R), x(_, G, R), f(G, U), $ || (J = [
|
|
4163
|
+
W(
|
|
4164
|
+
I,
|
|
4138
4165
|
"click",
|
|
4139
4166
|
/*click_handler_8*/
|
|
4140
4167
|
e[35]
|
|
4141
4168
|
),
|
|
4142
|
-
|
|
4143
|
-
|
|
4169
|
+
W(
|
|
4170
|
+
G,
|
|
4144
4171
|
"click",
|
|
4145
4172
|
/*click_handler_9*/
|
|
4146
4173
|
e[36]
|
|
4147
4174
|
)
|
|
4148
|
-
],
|
|
4175
|
+
], $ = !0);
|
|
4149
4176
|
},
|
|
4150
|
-
p(
|
|
4151
|
-
|
|
4152
|
-
4096 &&
|
|
4153
|
-
|
|
4177
|
+
p(_, R) {
|
|
4178
|
+
R[0] & /*$_*/
|
|
4179
|
+
4096 && n !== (n = /*$_*/
|
|
4180
|
+
_[12]("docsRequired") + "") && C(i, n), R[0] & /*$_*/
|
|
4154
4181
|
4096 && m !== (m = /*$_*/
|
|
4155
|
-
|
|
4182
|
+
_[12]("docsRequired") + "") && C(d, m), R[0] & /*$_*/
|
|
4156
4183
|
4096 && y !== (y = /*$_*/
|
|
4157
|
-
|
|
4158
|
-
4096 &&
|
|
4159
|
-
|
|
4160
|
-
4096 &&
|
|
4161
|
-
|
|
4184
|
+
_[12]("kyc2") + "") && C(T, y), R[0] & /*$_*/
|
|
4185
|
+
4096 && D !== (D = /*$_*/
|
|
4186
|
+
_[12]("kycButton") + "") && C(L, D), R[0] & /*$_*/
|
|
4187
|
+
4096 && N !== (N = /*$_*/
|
|
4188
|
+
_[12]("closeButton") + "") && C(U, N);
|
|
4162
4189
|
},
|
|
4163
|
-
d(
|
|
4164
|
-
|
|
4190
|
+
d(_) {
|
|
4191
|
+
_ && (E(t), E(r), E(o), E(B), E(I), E(H), E(G)), $ = !1, ue(J);
|
|
4165
4192
|
}
|
|
4166
4193
|
};
|
|
4167
4194
|
}
|
|
4168
|
-
function
|
|
4169
|
-
let t,
|
|
4195
|
+
function Gr(e) {
|
|
4196
|
+
let t, n = (
|
|
4170
4197
|
/*$_*/
|
|
4171
4198
|
e[12]("depositLimit") + ""
|
|
4172
|
-
),
|
|
4199
|
+
), i, r, o, a, s, u, l, c, p, m = (
|
|
4173
4200
|
/*$_*/
|
|
4174
4201
|
e[12]("successful") + ""
|
|
4175
|
-
), d,
|
|
4202
|
+
), d, w, v, y = (
|
|
4176
4203
|
/*$_*/
|
|
4177
4204
|
e[12]("kyc1Part1") + ""
|
|
4178
|
-
),
|
|
4205
|
+
), T, B, I, D, L = (
|
|
4179
4206
|
/*$_*/
|
|
4180
4207
|
e[12]("kyc1Part2") + ""
|
|
4181
|
-
),
|
|
4208
|
+
), H, G, N, U = (
|
|
4182
4209
|
/*$_*/
|
|
4183
4210
|
e[12]("kycButton") + ""
|
|
4184
|
-
),
|
|
4211
|
+
), $, J, _, R = (
|
|
4185
4212
|
/*$_*/
|
|
4186
4213
|
e[12]("closeButton") + ""
|
|
4187
|
-
),
|
|
4214
|
+
), te, ne, se;
|
|
4188
4215
|
return {
|
|
4189
4216
|
c() {
|
|
4190
|
-
t =
|
|
4217
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("g"), l = Z("path"), c = M(), p = g("p"), d = S(m), w = M(), v = g("p"), T = S(y), B = S(
|
|
4191
4218
|
/*legislatorLimitValue*/
|
|
4192
4219
|
e[11]
|
|
4193
|
-
),
|
|
4220
|
+
), I = M(), D = S(
|
|
4194
4221
|
/*currency*/
|
|
4195
4222
|
e[0]
|
|
4196
|
-
),
|
|
4223
|
+
), H = S(L), G = M(), N = g("button"), $ = S(U), J = M(), _ = g("button"), te = S(R), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4197
4224
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4198
4225
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4199
|
-
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"),
|
|
4226
|
+
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Ne(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(v, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(N, "class", "KycButton PrimaryButtonStyle"), h(_, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4200
4227
|
},
|
|
4201
4228
|
m(F, j) {
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4229
|
+
x(F, t, j), f(t, i), x(F, r, j), x(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, w), f(o, v), f(v, T), f(v, B), f(v, I), f(v, D), f(v, H), x(F, G, j), x(F, N, j), f(N, $), x(F, J, j), x(F, _, j), f(_, te), ne || (se = [
|
|
4230
|
+
W(
|
|
4231
|
+
N,
|
|
4205
4232
|
"click",
|
|
4206
4233
|
/*click_handler_6*/
|
|
4207
4234
|
e[33]
|
|
4208
4235
|
),
|
|
4209
|
-
|
|
4210
|
-
|
|
4236
|
+
W(
|
|
4237
|
+
_,
|
|
4211
4238
|
"click",
|
|
4212
4239
|
/*click_handler_7*/
|
|
4213
4240
|
e[34]
|
|
@@ -4216,385 +4243,385 @@ function Rr(e) {
|
|
|
4216
4243
|
},
|
|
4217
4244
|
p(F, j) {
|
|
4218
4245
|
j[0] & /*$_*/
|
|
4219
|
-
4096 &&
|
|
4220
|
-
F[12]("depositLimit") + "") &&
|
|
4246
|
+
4096 && n !== (n = /*$_*/
|
|
4247
|
+
F[12]("depositLimit") + "") && C(i, n), j[0] & /*$_*/
|
|
4221
4248
|
4096 && m !== (m = /*$_*/
|
|
4222
|
-
F[12]("successful") + "") &&
|
|
4249
|
+
F[12]("successful") + "") && C(d, m), j[0] & /*$_*/
|
|
4223
4250
|
4096 && y !== (y = /*$_*/
|
|
4224
|
-
F[12]("kyc1Part1") + "") &&
|
|
4225
|
-
2048 &&
|
|
4226
|
-
|
|
4251
|
+
F[12]("kyc1Part1") + "") && C(T, y), j[0] & /*legislatorLimitValue*/
|
|
4252
|
+
2048 && C(
|
|
4253
|
+
B,
|
|
4227
4254
|
/*legislatorLimitValue*/
|
|
4228
4255
|
F[11]
|
|
4229
4256
|
), j[0] & /*currency*/
|
|
4230
|
-
1 &&
|
|
4231
|
-
|
|
4257
|
+
1 && C(
|
|
4258
|
+
D,
|
|
4232
4259
|
/*currency*/
|
|
4233
4260
|
F[0]
|
|
4234
4261
|
), j[0] & /*$_*/
|
|
4235
|
-
4096 &&
|
|
4236
|
-
F[12]("kyc1Part2") + "") &&
|
|
4237
|
-
4096 && R !== (R = /*$_*/
|
|
4238
|
-
F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
|
|
4262
|
+
4096 && L !== (L = /*$_*/
|
|
4263
|
+
F[12]("kyc1Part2") + "") && C(H, L), j[0] & /*$_*/
|
|
4239
4264
|
4096 && U !== (U = /*$_*/
|
|
4240
|
-
F[12]("
|
|
4265
|
+
F[12]("kycButton") + "") && C($, U), j[0] & /*$_*/
|
|
4266
|
+
4096 && R !== (R = /*$_*/
|
|
4267
|
+
F[12]("closeButton") + "") && C(te, R);
|
|
4241
4268
|
},
|
|
4242
4269
|
d(F) {
|
|
4243
|
-
F && (
|
|
4270
|
+
F && (E(t), E(r), E(o), E(G), E(N), E(J), E(_)), ne = !1, ue(se);
|
|
4244
4271
|
}
|
|
4245
4272
|
};
|
|
4246
4273
|
}
|
|
4247
|
-
function
|
|
4248
|
-
let t,
|
|
4274
|
+
function $r(e) {
|
|
4275
|
+
let t, n = (
|
|
4249
4276
|
/*$_*/
|
|
4250
4277
|
e[12]("depositLimit") + ""
|
|
4251
|
-
),
|
|
4278
|
+
), i, r, o, a, s, u, l, c, p, m, d, w, v = (
|
|
4252
4279
|
/*$_*/
|
|
4253
4280
|
e[12]("successful") + ""
|
|
4254
|
-
), y,
|
|
4281
|
+
), y, T, B, I = (
|
|
4255
4282
|
/*$_*/
|
|
4256
4283
|
e[12]("successDescription") + ""
|
|
4257
|
-
),
|
|
4284
|
+
), D, L, H, G, N;
|
|
4258
4285
|
return {
|
|
4259
4286
|
c() {
|
|
4260
|
-
t =
|
|
4261
|
-
`), p =
|
|
4287
|
+
t = g("p"), i = S(n), r = M(), o = g("div"), a = g("div"), s = Z("svg"), u = Z("defs"), l = Z("style"), c = S(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4288
|
+
`), p = Z("g"), m = Z("polygon"), d = M(), w = g("p"), y = S(v), T = M(), B = g("p"), D = S(I), L = M(), H = g("button"), H.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(m, "class", "fil0"), h(m, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), Ne(s, "shape-rendering", "geometricPrecision"), Ne(s, "text-rendering", "geometricPrecision"), Ne(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(B, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(H, "class", "ConfirmButton PrimaryButtonStyle");
|
|
4262
4289
|
},
|
|
4263
|
-
m(
|
|
4264
|
-
|
|
4265
|
-
|
|
4290
|
+
m(U, $) {
|
|
4291
|
+
x(U, t, $), f(t, i), x(U, r, $), x(U, o, $), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, w), f(w, y), f(o, T), f(o, B), f(B, D), x(U, L, $), x(U, H, $), G || (N = W(
|
|
4292
|
+
H,
|
|
4266
4293
|
"click",
|
|
4267
4294
|
/*click_handler_5*/
|
|
4268
4295
|
e[32]
|
|
4269
|
-
),
|
|
4296
|
+
), G = !0);
|
|
4270
4297
|
},
|
|
4271
|
-
p(
|
|
4272
|
-
|
|
4273
|
-
4096 &&
|
|
4274
|
-
|
|
4275
|
-
4096 &&
|
|
4276
|
-
|
|
4277
|
-
4096 &&
|
|
4278
|
-
|
|
4298
|
+
p(U, $) {
|
|
4299
|
+
$[0] & /*$_*/
|
|
4300
|
+
4096 && n !== (n = /*$_*/
|
|
4301
|
+
U[12]("depositLimit") + "") && C(i, n), $[0] & /*$_*/
|
|
4302
|
+
4096 && v !== (v = /*$_*/
|
|
4303
|
+
U[12]("successful") + "") && C(y, v), $[0] & /*$_*/
|
|
4304
|
+
4096 && I !== (I = /*$_*/
|
|
4305
|
+
U[12]("successDescription") + "") && C(D, I);
|
|
4279
4306
|
},
|
|
4280
|
-
d(
|
|
4281
|
-
|
|
4307
|
+
d(U) {
|
|
4308
|
+
U && (E(t), E(r), E(o), E(L), E(H)), G = !1, N();
|
|
4282
4309
|
}
|
|
4283
4310
|
};
|
|
4284
4311
|
}
|
|
4285
|
-
function
|
|
4286
|
-
let t,
|
|
4312
|
+
function zr(e) {
|
|
4313
|
+
let t, n = (
|
|
4287
4314
|
/*$_*/
|
|
4288
4315
|
e[12]("setLimit") + ""
|
|
4289
|
-
),
|
|
4316
|
+
), i, r, o, a = (
|
|
4290
4317
|
/*$_*/
|
|
4291
4318
|
e[12]("setLimitDescription") + ""
|
|
4292
4319
|
), s, u, l, c = (
|
|
4293
4320
|
/*$_*/
|
|
4294
4321
|
e[12]("lugasInfo1") + ""
|
|
4295
|
-
), p, m, d,
|
|
4322
|
+
), p, m, d, w = (
|
|
4296
4323
|
/*$_*/
|
|
4297
4324
|
e[12]("lugasInfo2") + ""
|
|
4298
|
-
),
|
|
4325
|
+
), v, y, T, B = (
|
|
4299
4326
|
/*$_*/
|
|
4300
4327
|
e[12]("keepCurrentLimit") + ""
|
|
4301
|
-
),
|
|
4328
|
+
), I, D, L, H = (
|
|
4302
4329
|
/*$_*/
|
|
4303
4330
|
e[12]("keepCurrentLimitButton") + ""
|
|
4304
|
-
),
|
|
4331
|
+
), G, N, U, $, J, _, R, te, ne = (
|
|
4305
4332
|
/*$_*/
|
|
4306
4333
|
e[12]("depositPeriod") + ""
|
|
4307
|
-
),
|
|
4334
|
+
), se, F, j, Q, je, ie, pe = (
|
|
4308
4335
|
/*$_*/
|
|
4309
4336
|
e[12]("applyButton") + ""
|
|
4310
|
-
),
|
|
4337
|
+
), Ae, Ie, Y, me = (
|
|
4311
4338
|
/*$_*/
|
|
4312
4339
|
e[12]("TCpart1") + ""
|
|
4313
|
-
),
|
|
4340
|
+
), ke, ce, de = (
|
|
4314
4341
|
/*$_*/
|
|
4315
4342
|
e[12]("TClink") + ""
|
|
4316
|
-
),
|
|
4343
|
+
), Ce, Ge, b = (
|
|
4317
4344
|
/*$_*/
|
|
4318
4345
|
e[12]("TCpart2") + ""
|
|
4319
|
-
),
|
|
4346
|
+
), X, ae, he, re = (
|
|
4320
4347
|
/*$_*/
|
|
4321
4348
|
e[12]("PPlink") + ""
|
|
4322
|
-
),
|
|
4349
|
+
), tt, Tt, nt, Pt;
|
|
4323
4350
|
return {
|
|
4324
4351
|
c() {
|
|
4325
|
-
t =
|
|
4326
|
-
|
|
4352
|
+
t = g("p"), i = S(n), r = M(), o = g("p"), s = S(a), u = M(), l = g("p"), p = S(c), m = M(), d = g("button"), v = S(w), y = M(), T = g("button"), I = S(B), D = M(), L = g("button"), G = S(H), N = Z("svg"), U = Z("path"), $ = Z("path"), J = M(), _ = g("div"), R = g("div"), te = g("span"), se = S(ne), F = M(), j = g("div"), Q = g("input"), je = M(), ie = g("button"), Ae = S(pe), Ie = M(), Y = g("p"), ke = S(me), ce = g("button"), Ce = S(de), Ge = M(), X = S(b), ae = M(), he = g("button"), tt = S(re), Tt = S("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(T, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(N, "class", "ExpandArrow"), h(N, "xmlns", "http://www.w3.org/2000/svg"), h(N, "width", "36"), h(N, "height", "36"), h(N, "viewBox", "0 0 36 36"), h(N, "fill", "#999"), $e(
|
|
4353
|
+
N,
|
|
4327
4354
|
"Extended",
|
|
4328
4355
|
/*extended*/
|
|
4329
4356
|
e[5]
|
|
4330
|
-
), h(
|
|
4331
|
-
|
|
4357
|
+
), h(L, "class", "ExpandButton"), h(te, "class", "DepositPeriodText"), h(R, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(ie, "type", "submit"), h(ie, "class", "SubmitDepositButton PrimaryButtonStyle"), ie.disabled = !0, h(j, "class", "DepositInputSection"), h(_, "class", "SetLimitSection"), $e(
|
|
4358
|
+
_,
|
|
4332
4359
|
"Hidden",
|
|
4333
4360
|
/*hidden*/
|
|
4334
4361
|
e[4]
|
|
4335
|
-
), h(ce, "class", "LinkButton"), h(
|
|
4362
|
+
), h(ce, "class", "LinkButton"), h(he, "class", "LinkButton"), h(Y, "class", "TermsConditions");
|
|
4336
4363
|
},
|
|
4337
|
-
m(
|
|
4338
|
-
|
|
4364
|
+
m(k, O) {
|
|
4365
|
+
x(k, t, O), f(t, i), x(k, r, O), x(k, o, O), f(o, s), x(k, u, O), x(k, l, O), f(l, p), f(l, m), f(l, d), f(d, v), x(k, y, O), x(k, T, O), f(T, I), x(k, D, O), x(k, L, O), f(L, G), f(L, N), f(N, U), f(N, $), e[26](N), x(k, J, O), x(k, _, O), f(_, R), f(R, te), f(te, se), f(_, F), f(_, j), f(j, Q), Bt(
|
|
4339
4366
|
Q,
|
|
4340
4367
|
/*inputAmount*/
|
|
4341
4368
|
e[6]
|
|
4342
|
-
), f(j,
|
|
4343
|
-
|
|
4369
|
+
), f(j, je), f(j, ie), f(ie, Ae), e[28](ie), x(k, Ie, O), x(k, Y, O), f(Y, ke), f(Y, ce), f(ce, Ce), f(Y, Ge), f(Y, X), f(Y, ae), f(Y, he), f(he, tt), f(Y, Tt), nt || (Pt = [
|
|
4370
|
+
W(
|
|
4344
4371
|
d,
|
|
4345
4372
|
"click",
|
|
4346
4373
|
/*click_handler*/
|
|
4347
4374
|
e[24]
|
|
4348
4375
|
),
|
|
4349
|
-
|
|
4350
|
-
|
|
4376
|
+
W(
|
|
4377
|
+
T,
|
|
4351
4378
|
"click",
|
|
4352
4379
|
/*click_handler_1*/
|
|
4353
4380
|
e[25]
|
|
4354
4381
|
),
|
|
4355
|
-
|
|
4356
|
-
|
|
4382
|
+
W(
|
|
4383
|
+
L,
|
|
4357
4384
|
"click",
|
|
4358
4385
|
/*toggleNewLimitArea*/
|
|
4359
4386
|
e[13]
|
|
4360
4387
|
),
|
|
4361
|
-
|
|
4388
|
+
W(
|
|
4362
4389
|
Q,
|
|
4363
4390
|
"input",
|
|
4364
4391
|
/*input_input_handler*/
|
|
4365
4392
|
e[27]
|
|
4366
4393
|
),
|
|
4367
|
-
|
|
4394
|
+
W(
|
|
4368
4395
|
Q,
|
|
4369
4396
|
"keyup",
|
|
4370
4397
|
/*updateInputValue*/
|
|
4371
4398
|
e[14]
|
|
4372
4399
|
),
|
|
4373
|
-
|
|
4374
|
-
|
|
4400
|
+
W(
|
|
4401
|
+
ie,
|
|
4375
4402
|
"click",
|
|
4376
4403
|
/*click_handler_2*/
|
|
4377
4404
|
e[29]
|
|
4378
4405
|
),
|
|
4379
|
-
|
|
4406
|
+
W(
|
|
4380
4407
|
ce,
|
|
4381
4408
|
"click",
|
|
4382
4409
|
/*click_handler_3*/
|
|
4383
4410
|
e[30]
|
|
4384
4411
|
),
|
|
4385
|
-
|
|
4386
|
-
|
|
4412
|
+
W(
|
|
4413
|
+
he,
|
|
4387
4414
|
"click",
|
|
4388
4415
|
/*click_handler_4*/
|
|
4389
4416
|
e[31]
|
|
4390
4417
|
)
|
|
4391
|
-
],
|
|
4418
|
+
], nt = !0);
|
|
4392
4419
|
},
|
|
4393
|
-
p(
|
|
4394
|
-
|
|
4395
|
-
4096 &&
|
|
4396
|
-
|
|
4420
|
+
p(k, O) {
|
|
4421
|
+
O[0] & /*$_*/
|
|
4422
|
+
4096 && n !== (n = /*$_*/
|
|
4423
|
+
k[12]("setLimit") + "") && C(i, n), O[0] & /*$_*/
|
|
4397
4424
|
4096 && a !== (a = /*$_*/
|
|
4398
|
-
|
|
4425
|
+
k[12]("setLimitDescription") + "") && C(s, a), O[0] & /*$_*/
|
|
4399
4426
|
4096 && c !== (c = /*$_*/
|
|
4400
|
-
|
|
4401
|
-
4096 &&
|
|
4402
|
-
|
|
4403
|
-
4096 &&
|
|
4404
|
-
|
|
4405
|
-
4096 &&
|
|
4406
|
-
|
|
4407
|
-
32 &&
|
|
4408
|
-
|
|
4427
|
+
k[12]("lugasInfo1") + "") && C(p, c), O[0] & /*$_*/
|
|
4428
|
+
4096 && w !== (w = /*$_*/
|
|
4429
|
+
k[12]("lugasInfo2") + "") && C(v, w), O[0] & /*$_*/
|
|
4430
|
+
4096 && B !== (B = /*$_*/
|
|
4431
|
+
k[12]("keepCurrentLimit") + "") && C(I, B), O[0] & /*$_*/
|
|
4432
|
+
4096 && H !== (H = /*$_*/
|
|
4433
|
+
k[12]("keepCurrentLimitButton") + "") && C(G, H), O[0] & /*extended*/
|
|
4434
|
+
32 && $e(
|
|
4435
|
+
N,
|
|
4409
4436
|
"Extended",
|
|
4410
4437
|
/*extended*/
|
|
4411
|
-
|
|
4412
|
-
),
|
|
4438
|
+
k[5]
|
|
4439
|
+
), O[0] & /*$_*/
|
|
4413
4440
|
4096 && ne !== (ne = /*$_*/
|
|
4414
|
-
|
|
4415
|
-
64 &&
|
|
4416
|
-
|
|
4441
|
+
k[12]("depositPeriod") + "") && C(se, ne), O[0] & /*inputAmount*/
|
|
4442
|
+
64 && qt(Q.value) !== /*inputAmount*/
|
|
4443
|
+
k[6] && Bt(
|
|
4417
4444
|
Q,
|
|
4418
4445
|
/*inputAmount*/
|
|
4419
|
-
|
|
4420
|
-
),
|
|
4421
|
-
4096 &&
|
|
4422
|
-
|
|
4423
|
-
16 &&
|
|
4424
|
-
|
|
4446
|
+
k[6]
|
|
4447
|
+
), O[0] & /*$_*/
|
|
4448
|
+
4096 && pe !== (pe = /*$_*/
|
|
4449
|
+
k[12]("applyButton") + "") && C(Ae, pe), O[0] & /*hidden*/
|
|
4450
|
+
16 && $e(
|
|
4451
|
+
_,
|
|
4425
4452
|
"Hidden",
|
|
4426
4453
|
/*hidden*/
|
|
4427
|
-
|
|
4428
|
-
),
|
|
4429
|
-
4096 && pe !== (pe = /*$_*/
|
|
4430
|
-
I[12]("TCpart1") + "") && k(Ae, pe), C[0] & /*$_*/
|
|
4454
|
+
k[4]
|
|
4455
|
+
), O[0] & /*$_*/
|
|
4431
4456
|
4096 && me !== (me = /*$_*/
|
|
4432
|
-
|
|
4433
|
-
4096 &&
|
|
4434
|
-
|
|
4435
|
-
4096 &&
|
|
4436
|
-
|
|
4457
|
+
k[12]("TCpart1") + "") && C(ke, me), O[0] & /*$_*/
|
|
4458
|
+
4096 && de !== (de = /*$_*/
|
|
4459
|
+
k[12]("TClink") + "") && C(Ce, de), O[0] & /*$_*/
|
|
4460
|
+
4096 && b !== (b = /*$_*/
|
|
4461
|
+
k[12]("TCpart2") + "") && C(X, b), O[0] & /*$_*/
|
|
4462
|
+
4096 && re !== (re = /*$_*/
|
|
4463
|
+
k[12]("PPlink") + "") && C(tt, re);
|
|
4437
4464
|
},
|
|
4438
|
-
d(
|
|
4439
|
-
|
|
4465
|
+
d(k) {
|
|
4466
|
+
k && (E(t), E(r), E(o), E(u), E(l), E(y), E(T), E(D), E(L), E(J), E(_), E(Ie), E(Y)), e[26](null), e[28](null), nt = !1, ue(Pt);
|
|
4440
4467
|
}
|
|
4441
4468
|
};
|
|
4442
4469
|
}
|
|
4443
|
-
function
|
|
4444
|
-
let t,
|
|
4470
|
+
function Fr(e) {
|
|
4471
|
+
let t, n, i, r;
|
|
4445
4472
|
function o(u, l) {
|
|
4446
4473
|
if (
|
|
4447
4474
|
/*isLoading*/
|
|
4448
4475
|
u[7]
|
|
4449
4476
|
)
|
|
4450
|
-
return
|
|
4477
|
+
return Rr;
|
|
4451
4478
|
if (
|
|
4452
4479
|
/*lang*/
|
|
4453
4480
|
u[1]
|
|
4454
4481
|
)
|
|
4455
|
-
return
|
|
4482
|
+
return Dr;
|
|
4456
4483
|
}
|
|
4457
4484
|
let a = o(e), s = a && a(e);
|
|
4458
4485
|
return {
|
|
4459
4486
|
c() {
|
|
4460
|
-
t =
|
|
4487
|
+
t = g("div"), n = g("div"), i = g("div"), r = g("div"), s && s.c(), h(r, "class", "ModalContainer"), h(i, "class", "Overlay"), h(n, "class", "player-account-gaming-limits-popup-2");
|
|
4461
4488
|
},
|
|
4462
4489
|
m(u, l) {
|
|
4463
|
-
|
|
4490
|
+
x(u, t, l), f(t, n), f(n, i), f(i, r), s && s.m(r, null), e[38](n), e[39](t);
|
|
4464
4491
|
},
|
|
4465
4492
|
p(u, l) {
|
|
4466
4493
|
a === (a = o(u)) && s ? s.p(u, l) : (s && s.d(1), s = a && a(u), s && (s.c(), s.m(r, null)));
|
|
4467
4494
|
},
|
|
4468
|
-
i:
|
|
4469
|
-
o:
|
|
4495
|
+
i: ee,
|
|
4496
|
+
o: ee,
|
|
4470
4497
|
d(u) {
|
|
4471
|
-
u &&
|
|
4498
|
+
u && E(t), s && s.d(), e[38](null), e[39](null);
|
|
4472
4499
|
}
|
|
4473
4500
|
};
|
|
4474
4501
|
}
|
|
4475
|
-
function
|
|
4476
|
-
let
|
|
4477
|
-
|
|
4478
|
-
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d,
|
|
4479
|
-
const
|
|
4480
|
-
fetch(l).then((
|
|
4481
|
-
Object.keys(
|
|
4482
|
-
|
|
4502
|
+
function Vr(e, t, n) {
|
|
4503
|
+
let i;
|
|
4504
|
+
_n(e, Ar, (b) => n(12, i = b));
|
|
4505
|
+
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d, w, v, y = !0, T = !1, B, I = !1, D, L, H = "initial", G;
|
|
4506
|
+
const N = () => {
|
|
4507
|
+
fetch(l).then((X) => X.json()).then((X) => {
|
|
4508
|
+
Object.keys(X).forEach((ae) => {
|
|
4509
|
+
$t(ae, X[ae]);
|
|
4483
4510
|
});
|
|
4484
|
-
}).catch((
|
|
4485
|
-
console.log(
|
|
4511
|
+
}).catch((X) => {
|
|
4512
|
+
console.log(X);
|
|
4486
4513
|
});
|
|
4487
4514
|
};
|
|
4488
|
-
Object.keys(
|
|
4489
|
-
|
|
4515
|
+
Object.keys(zt).forEach((b) => {
|
|
4516
|
+
$t(b, zt[b]);
|
|
4490
4517
|
});
|
|
4491
|
-
const
|
|
4492
|
-
|
|
4493
|
-
},
|
|
4494
|
-
|
|
4495
|
-
},
|
|
4496
|
-
|
|
4497
|
-
const
|
|
4498
|
-
|
|
4499
|
-
},
|
|
4500
|
-
switch (window.postMessage({ type:
|
|
4518
|
+
const U = () => {
|
|
4519
|
+
n(5, T = !T), n(4, y = !y);
|
|
4520
|
+
}, $ = () => {
|
|
4521
|
+
L.parentNode.removeChild(L);
|
|
4522
|
+
}, J = () => {
|
|
4523
|
+
B > 999999999999999 && n(6, B = 999999999999999);
|
|
4524
|
+
const X = B - Math.floor(B) === 0;
|
|
4525
|
+
B > 0 && X ? D.removeAttribute("disabled") : D.setAttribute("disabled", "true");
|
|
4526
|
+
}, _ = (b) => {
|
|
4527
|
+
switch (window.postMessage({ type: b }, window.location.href), b) {
|
|
4501
4528
|
case "closePopup":
|
|
4502
4529
|
case "uploadDocuments":
|
|
4503
|
-
|
|
4530
|
+
$();
|
|
4504
4531
|
break;
|
|
4505
4532
|
}
|
|
4506
|
-
},
|
|
4507
|
-
const
|
|
4508
|
-
let
|
|
4509
|
-
|
|
4510
|
-
let
|
|
4533
|
+
}, R = (b) => {
|
|
4534
|
+
const X = new URL(`/v1/player/${r}/limit/lugas`, a);
|
|
4535
|
+
let ae = {};
|
|
4536
|
+
n(7, I = !0), ae = b === "custom" ? { amount: B } : {};
|
|
4537
|
+
let he = {
|
|
4511
4538
|
method: "POST",
|
|
4512
4539
|
headers: {
|
|
4513
4540
|
"X-SessionID": o,
|
|
4514
4541
|
"Content-Type": "application/json",
|
|
4515
4542
|
Accept: "application/json"
|
|
4516
4543
|
},
|
|
4517
|
-
body: JSON.stringify(
|
|
4544
|
+
body: JSON.stringify(ae)
|
|
4518
4545
|
};
|
|
4519
|
-
fetch(
|
|
4520
|
-
|
|
4521
|
-
}).catch((
|
|
4522
|
-
console.log(
|
|
4546
|
+
fetch(X.href, he).then((re) => re.json()).then((re) => {
|
|
4547
|
+
te(re);
|
|
4548
|
+
}).catch((re) => {
|
|
4549
|
+
console.log(re);
|
|
4523
4550
|
}).finally(() => {
|
|
4524
|
-
|
|
4551
|
+
n(7, I = !1);
|
|
4525
4552
|
});
|
|
4526
|
-
},
|
|
4527
|
-
if (
|
|
4528
|
-
switch (
|
|
4553
|
+
}, te = (b) => {
|
|
4554
|
+
if (b.hasOwnProperty("kycNeeded"))
|
|
4555
|
+
switch (b.popup) {
|
|
4529
4556
|
case 1:
|
|
4530
|
-
|
|
4557
|
+
n(10, H = "KYC"), n(11, G = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(b.operatorDepositLimitAmount));
|
|
4531
4558
|
break;
|
|
4532
4559
|
case 2:
|
|
4533
|
-
|
|
4560
|
+
n(10, H = "successful");
|
|
4534
4561
|
break;
|
|
4535
4562
|
case 3:
|
|
4536
|
-
|
|
4563
|
+
n(10, H = "KYC2");
|
|
4537
4564
|
break;
|
|
4538
4565
|
}
|
|
4539
4566
|
else
|
|
4540
|
-
|
|
4541
|
-
},
|
|
4542
|
-
|
|
4567
|
+
n(10, H = "error");
|
|
4568
|
+
}, ne = () => {
|
|
4569
|
+
Ir(u);
|
|
4543
4570
|
};
|
|
4544
|
-
|
|
4571
|
+
Ln(() => () => {
|
|
4545
4572
|
});
|
|
4546
|
-
const
|
|
4547
|
-
function
|
|
4548
|
-
|
|
4549
|
-
|
|
4573
|
+
const se = () => _("lugasInformation"), F = () => R("default");
|
|
4574
|
+
function j(b) {
|
|
4575
|
+
Ee[b ? "unshift" : "push"](() => {
|
|
4576
|
+
v = b, n(3, v);
|
|
4550
4577
|
});
|
|
4551
4578
|
}
|
|
4552
|
-
function
|
|
4553
|
-
|
|
4579
|
+
function Q() {
|
|
4580
|
+
B = qt(this.value), n(6, B);
|
|
4554
4581
|
}
|
|
4555
|
-
function
|
|
4556
|
-
|
|
4557
|
-
|
|
4582
|
+
function je(b) {
|
|
4583
|
+
Ee[b ? "unshift" : "push"](() => {
|
|
4584
|
+
D = b, n(8, D);
|
|
4558
4585
|
});
|
|
4559
4586
|
}
|
|
4560
|
-
const
|
|
4561
|
-
function
|
|
4562
|
-
|
|
4563
|
-
|
|
4587
|
+
const ie = () => R("custom"), pe = () => _("termsConditions"), Ae = () => _("privacyPolicy"), Ie = () => _("closePopup"), Y = () => _("uploadDocuments"), me = () => _("closePopup"), ke = () => _("uploadDocuments"), ce = () => _("closePopup"), de = () => _("closePopup");
|
|
4588
|
+
function Ce(b) {
|
|
4589
|
+
Ee[b ? "unshift" : "push"](() => {
|
|
4590
|
+
L = b, n(9, L);
|
|
4564
4591
|
});
|
|
4565
4592
|
}
|
|
4566
|
-
function
|
|
4567
|
-
|
|
4568
|
-
d =
|
|
4593
|
+
function Ge(b) {
|
|
4594
|
+
Ee[b ? "unshift" : "push"](() => {
|
|
4595
|
+
d = b, n(2, d);
|
|
4569
4596
|
});
|
|
4570
4597
|
}
|
|
4571
|
-
return e.$$set = (
|
|
4572
|
-
"userid" in
|
|
4598
|
+
return e.$$set = (b) => {
|
|
4599
|
+
"userid" in b && n(17, r = b.userid), "session" in b && n(18, o = b.session), "endpoint" in b && n(19, a = b.endpoint), "currency" in b && n(0, s = b.currency), "lang" in b && n(1, u = b.lang), "translationurl" in b && n(20, l = b.translationurl), "clientstyling" in b && n(21, c = b.clientstyling), "clientstylingurl" in b && n(22, p = b.clientstylingurl), "mbsource" in b && n(23, m = b.mbsource);
|
|
4573
4600
|
}, e.$$.update = () => {
|
|
4574
4601
|
e.$$.dirty[0] & /*lang*/
|
|
4575
|
-
2 && u &&
|
|
4576
|
-
2097156 && c && d &&
|
|
4577
|
-
4194308 && p && d &&
|
|
4578
|
-
8388612 && m && d && Hr(d, `${m}.Style
|
|
4579
|
-
1048576 && l &&
|
|
4602
|
+
2 && u && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4603
|
+
2097156 && c && d && kr(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4604
|
+
4194308 && p && d && Cr(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4605
|
+
8388612 && m && d && Hr(d, `${m}.Style`, w), e.$$.dirty[0] & /*translationurl*/
|
|
4606
|
+
1048576 && l && N();
|
|
4580
4607
|
}, [
|
|
4581
4608
|
s,
|
|
4582
4609
|
u,
|
|
4583
4610
|
d,
|
|
4584
|
-
E,
|
|
4585
|
-
_,
|
|
4586
|
-
y,
|
|
4587
4611
|
v,
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4612
|
+
y,
|
|
4613
|
+
T,
|
|
4614
|
+
B,
|
|
4615
|
+
I,
|
|
4592
4616
|
D,
|
|
4593
|
-
|
|
4617
|
+
L,
|
|
4594
4618
|
H,
|
|
4595
4619
|
G,
|
|
4596
|
-
|
|
4597
|
-
|
|
4620
|
+
i,
|
|
4621
|
+
U,
|
|
4622
|
+
J,
|
|
4623
|
+
_,
|
|
4624
|
+
R,
|
|
4598
4625
|
r,
|
|
4599
4626
|
o,
|
|
4600
4627
|
a,
|
|
@@ -4602,32 +4629,32 @@ function $r(e, t, i) {
|
|
|
4602
4629
|
c,
|
|
4603
4630
|
p,
|
|
4604
4631
|
m,
|
|
4605
|
-
|
|
4606
|
-
ae,
|
|
4632
|
+
se,
|
|
4607
4633
|
F,
|
|
4608
4634
|
j,
|
|
4609
4635
|
Q,
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
fe,
|
|
4613
|
-
Le,
|
|
4614
|
-
Se,
|
|
4615
|
-
J,
|
|
4636
|
+
je,
|
|
4637
|
+
ie,
|
|
4616
4638
|
pe,
|
|
4617
4639
|
Ae,
|
|
4618
|
-
|
|
4640
|
+
Ie,
|
|
4641
|
+
Y,
|
|
4619
4642
|
me,
|
|
4620
|
-
|
|
4643
|
+
ke,
|
|
4644
|
+
ce,
|
|
4645
|
+
de,
|
|
4646
|
+
Ce,
|
|
4647
|
+
Ge
|
|
4621
4648
|
];
|
|
4622
4649
|
}
|
|
4623
|
-
class
|
|
4650
|
+
class Xr extends jn {
|
|
4624
4651
|
constructor(t) {
|
|
4625
|
-
super(),
|
|
4652
|
+
super(), Rn(
|
|
4626
4653
|
this,
|
|
4627
4654
|
t,
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4655
|
+
Vr,
|
|
4656
|
+
Fr,
|
|
4657
|
+
Vt,
|
|
4631
4658
|
{
|
|
4632
4659
|
userid: 17,
|
|
4633
4660
|
session: 18,
|
|
@@ -4639,7 +4666,7 @@ class zr extends Ri {
|
|
|
4639
4666
|
clientstylingurl: 22,
|
|
4640
4667
|
mbsource: 23
|
|
4641
4668
|
},
|
|
4642
|
-
|
|
4669
|
+
Mr,
|
|
4643
4670
|
[-1, -1]
|
|
4644
4671
|
);
|
|
4645
4672
|
}
|
|
@@ -4647,58 +4674,58 @@ class zr extends Ri {
|
|
|
4647
4674
|
return this.$$.ctx[17];
|
|
4648
4675
|
}
|
|
4649
4676
|
set userid(t) {
|
|
4650
|
-
this.$$set({ userid: t }),
|
|
4677
|
+
this.$$set({ userid: t }), K();
|
|
4651
4678
|
}
|
|
4652
4679
|
get session() {
|
|
4653
4680
|
return this.$$.ctx[18];
|
|
4654
4681
|
}
|
|
4655
4682
|
set session(t) {
|
|
4656
|
-
this.$$set({ session: t }),
|
|
4683
|
+
this.$$set({ session: t }), K();
|
|
4657
4684
|
}
|
|
4658
4685
|
get endpoint() {
|
|
4659
4686
|
return this.$$.ctx[19];
|
|
4660
4687
|
}
|
|
4661
4688
|
set endpoint(t) {
|
|
4662
|
-
this.$$set({ endpoint: t }),
|
|
4689
|
+
this.$$set({ endpoint: t }), K();
|
|
4663
4690
|
}
|
|
4664
4691
|
get currency() {
|
|
4665
4692
|
return this.$$.ctx[0];
|
|
4666
4693
|
}
|
|
4667
4694
|
set currency(t) {
|
|
4668
|
-
this.$$set({ currency: t }),
|
|
4695
|
+
this.$$set({ currency: t }), K();
|
|
4669
4696
|
}
|
|
4670
4697
|
get lang() {
|
|
4671
4698
|
return this.$$.ctx[1];
|
|
4672
4699
|
}
|
|
4673
4700
|
set lang(t) {
|
|
4674
|
-
this.$$set({ lang: t }),
|
|
4701
|
+
this.$$set({ lang: t }), K();
|
|
4675
4702
|
}
|
|
4676
4703
|
get translationurl() {
|
|
4677
4704
|
return this.$$.ctx[20];
|
|
4678
4705
|
}
|
|
4679
4706
|
set translationurl(t) {
|
|
4680
|
-
this.$$set({ translationurl: t }),
|
|
4707
|
+
this.$$set({ translationurl: t }), K();
|
|
4681
4708
|
}
|
|
4682
4709
|
get clientstyling() {
|
|
4683
4710
|
return this.$$.ctx[21];
|
|
4684
4711
|
}
|
|
4685
4712
|
set clientstyling(t) {
|
|
4686
|
-
this.$$set({ clientstyling: t }),
|
|
4713
|
+
this.$$set({ clientstyling: t }), K();
|
|
4687
4714
|
}
|
|
4688
4715
|
get clientstylingurl() {
|
|
4689
4716
|
return this.$$.ctx[22];
|
|
4690
4717
|
}
|
|
4691
4718
|
set clientstylingurl(t) {
|
|
4692
|
-
this.$$set({ clientstylingurl: t }),
|
|
4719
|
+
this.$$set({ clientstylingurl: t }), K();
|
|
4693
4720
|
}
|
|
4694
4721
|
get mbsource() {
|
|
4695
4722
|
return this.$$.ctx[23];
|
|
4696
4723
|
}
|
|
4697
4724
|
set mbsource(t) {
|
|
4698
|
-
this.$$set({ mbsource: t }),
|
|
4725
|
+
this.$$set({ mbsource: t }), K();
|
|
4699
4726
|
}
|
|
4700
4727
|
}
|
|
4701
|
-
|
|
4728
|
+
Un(Xr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4702
4729
|
export {
|
|
4703
|
-
|
|
4730
|
+
Xr as P
|
|
4704
4731
|
};
|