@everymatrix/player-account-gaming-limits-page-2-gmcore 1.87.25 → 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/{PlayerAccountGamingLimitsPage2Gmcore-CDbMnJ9r.js → PlayerAccountGamingLimitsPage2Gmcore-D1Yk-WpT.js} +1028 -1000
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-CAB8ISDt.js → PlayerAccountGamingLimitsPage2Gmcore-D7aqxrBo.js} +1044 -1015
- package/components/PlayerAccountGamingLimitsPage2Gmcore-DlKNE9sh.cjs +19 -0
- package/es2015/player-account-gaming-limits-page-2-gmcore.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/esnext/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPage2Gmcore-Cx5OiLHn.cjs +0 -19
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var pr = Object.defineProperty, mr = Object.defineProperties;
|
|
2
|
+
var dr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var At = Object.getOwnPropertySymbols;
|
|
4
|
+
var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ye = (e, t, i) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Bt = (e, t) => {
|
|
6
6
|
for (var i in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
7
|
+
br.call(t, i) && Ye(e, i, t[i]);
|
|
8
|
+
if (At)
|
|
9
|
+
for (var i of At(t))
|
|
10
|
+
gr.call(t, i) && Ye(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var V = (e, t, i) => (
|
|
14
|
-
var
|
|
12
|
+
}, Nt = (e, t) => mr(e, dr(t));
|
|
13
|
+
var V = (e, t, i) => (Ye(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
14
|
+
var Ot = (e, t, i) => new Promise((r, n) => {
|
|
15
15
|
var o = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
a(i.next(c));
|
|
@@ -29,25 +29,25 @@ var Bt = (e, t, i) => new Promise((r, n) => {
|
|
|
29
29
|
});
|
|
30
30
|
function j() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function di(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function It() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function te(e) {
|
|
39
|
+
e.forEach(di);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Et(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function bi(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function yr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function gi(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const r of t)
|
|
53
53
|
r(void 0);
|
|
@@ -56,20 +56,20 @@ function di(e, ...t) {
|
|
|
56
56
|
const i = e.subscribe(...t);
|
|
57
57
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function vr(e, t, i) {
|
|
60
|
+
e.$$.on_destroy.push(gi(t, i));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const r =
|
|
65
|
+
function _r(e, t, i) {
|
|
66
|
+
const r = Er(e);
|
|
67
67
|
if (!r.getElementById(t)) {
|
|
68
68
|
const n = v("style");
|
|
69
|
-
n.id = t, n.textContent = i,
|
|
69
|
+
n.id = t, n.textContent = i, Lr(r, n);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Er(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,37 +79,37 @@ function vr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Lr(e, t) {
|
|
83
83
|
return d(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function A(e, t, i) {
|
|
90
90
|
e.insertBefore(t, i || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function P(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function je(e, t) {
|
|
96
96
|
for (let i = 0; i < e.length; i += 1)
|
|
97
97
|
e[i] && e[i].d(t);
|
|
98
98
|
}
|
|
99
99
|
function v(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ge(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function F(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function $() {
|
|
109
|
+
return F(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function xr() {
|
|
112
|
+
return F("");
|
|
113
113
|
}
|
|
114
114
|
function q(e, t, i, r) {
|
|
115
115
|
return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
|
|
@@ -117,23 +117,23 @@ function q(e, t, i, r) {
|
|
|
117
117
|
function g(e, t, i) {
|
|
118
118
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function yi(e) {
|
|
121
121
|
return e === "" ? null : +e;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Tr(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function W(e, t) {
|
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
128
128
|
t);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function _e(e, t) {
|
|
131
131
|
e.value = t == null ? "" : t;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function qe(e, t, i, r) {
|
|
134
134
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Me(e, t, i) {
|
|
137
137
|
for (let r = 0; r < e.options.length; r += 1) {
|
|
138
138
|
const n = e.options[r];
|
|
139
139
|
if (n.__value === t) {
|
|
@@ -143,11 +143,11 @@ function Ie(e, t, i) {
|
|
|
143
143
|
}
|
|
144
144
|
(!i || t !== void 0) && (e.selectedIndex = -1);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Ht(e) {
|
|
147
147
|
const t = e.querySelector(":checked");
|
|
148
148
|
return t && t.__value;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function wr(e) {
|
|
151
151
|
const t = {};
|
|
152
152
|
return e.childNodes.forEach(
|
|
153
153
|
/** @param {Element} node */
|
|
@@ -156,90 +156,90 @@ function xr(e) {
|
|
|
156
156
|
}
|
|
157
157
|
), t;
|
|
158
158
|
}
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
|
|
159
|
+
let Ee;
|
|
160
|
+
function ve(e) {
|
|
161
|
+
Ee = e;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
if (!
|
|
163
|
+
function Sr() {
|
|
164
|
+
if (!Ee)
|
|
165
165
|
throw new Error("Function called outside component initialization");
|
|
166
|
-
return
|
|
166
|
+
return Ee;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
168
|
+
function Pr(e) {
|
|
169
|
+
Sr().$$.on_mount.push(e);
|
|
170
170
|
}
|
|
171
|
-
const se = [],
|
|
172
|
-
let
|
|
173
|
-
const
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
171
|
+
const se = [], Ce = [];
|
|
172
|
+
let ue = [];
|
|
173
|
+
const Mt = [], Ar = /* @__PURE__ */ Promise.resolve();
|
|
174
|
+
let ot = !1;
|
|
175
|
+
function Br() {
|
|
176
|
+
ot || (ot = !0, Ar.then(X));
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
|
|
178
|
+
function Le(e) {
|
|
179
|
+
ue.push(e);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
181
|
+
const Je = /* @__PURE__ */ new Set();
|
|
182
182
|
let ne = 0;
|
|
183
183
|
function X() {
|
|
184
184
|
if (ne !== 0)
|
|
185
185
|
return;
|
|
186
|
-
const e =
|
|
186
|
+
const e = Ee;
|
|
187
187
|
do {
|
|
188
188
|
try {
|
|
189
189
|
for (; ne < se.length; ) {
|
|
190
190
|
const t = se[ne];
|
|
191
|
-
ne++,
|
|
191
|
+
ne++, ve(t), Nr(t.$$);
|
|
192
192
|
}
|
|
193
193
|
} catch (t) {
|
|
194
194
|
throw se.length = 0, ne = 0, t;
|
|
195
195
|
}
|
|
196
|
-
for (
|
|
197
|
-
|
|
198
|
-
for (let t = 0; t <
|
|
199
|
-
const i =
|
|
200
|
-
|
|
196
|
+
for (ve(null), se.length = 0, ne = 0; Ce.length; )
|
|
197
|
+
Ce.pop()();
|
|
198
|
+
for (let t = 0; t < ue.length; t += 1) {
|
|
199
|
+
const i = ue[t];
|
|
200
|
+
Je.has(i) || (Je.add(i), i());
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
ue.length = 0;
|
|
203
203
|
} while (se.length);
|
|
204
|
-
for (;
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
for (; Mt.length; )
|
|
205
|
+
Mt.pop()();
|
|
206
|
+
ot = !1, Je.clear(), ve(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Nr(e) {
|
|
209
209
|
if (e.fragment !== null) {
|
|
210
|
-
e.update(),
|
|
210
|
+
e.update(), te(e.before_update);
|
|
211
211
|
const t = e.dirty;
|
|
212
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
212
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Or(e) {
|
|
216
216
|
const t = [], i = [];
|
|
217
|
-
|
|
217
|
+
ue.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), ue = t;
|
|
218
218
|
}
|
|
219
|
-
const
|
|
220
|
-
function
|
|
221
|
-
e && e.i && (
|
|
219
|
+
const Ir = /* @__PURE__ */ new Set();
|
|
220
|
+
function Hr(e, t) {
|
|
221
|
+
e && e.i && (Ir.delete(e), e.i(t));
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function ee(e) {
|
|
224
224
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Mr(e, t, i) {
|
|
227
227
|
const { fragment: r, after_update: n } = e.$$;
|
|
228
|
-
r && r.m(t, i),
|
|
229
|
-
const o = e.$$.on_mount.map(
|
|
230
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
231
|
-
}), n.forEach(
|
|
228
|
+
r && r.m(t, i), Le(() => {
|
|
229
|
+
const o = e.$$.on_mount.map(di).filter(Et);
|
|
230
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
231
|
+
}), n.forEach(Le);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Cr(e, t) {
|
|
234
234
|
const i = e.$$;
|
|
235
|
-
i.fragment !== null && (
|
|
235
|
+
i.fragment !== null && (Or(i.after_update), te(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
e.$$.dirty[0] === -1 && (se.push(e),
|
|
237
|
+
function kr(e, t) {
|
|
238
|
+
e.$$.dirty[0] === -1 && (se.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
const c =
|
|
242
|
-
|
|
240
|
+
function Dr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
241
|
+
const c = Ee;
|
|
242
|
+
ve(e);
|
|
243
243
|
const u = e.$$ = {
|
|
244
244
|
fragment: null,
|
|
245
245
|
ctx: [],
|
|
@@ -247,7 +247,7 @@ function kr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
247
247
|
props: o,
|
|
248
248
|
update: j,
|
|
249
249
|
not_equal: n,
|
|
250
|
-
bound:
|
|
250
|
+
bound: It(),
|
|
251
251
|
// lifecycle
|
|
252
252
|
on_mount: [],
|
|
253
253
|
on_destroy: [],
|
|
@@ -256,28 +256,28 @@ function kr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
256
256
|
after_update: [],
|
|
257
257
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
258
258
|
// everything else
|
|
259
|
-
callbacks:
|
|
259
|
+
callbacks: It(),
|
|
260
260
|
dirty: a,
|
|
261
261
|
skip_bound: !1,
|
|
262
262
|
root: t.target || c.$$.root
|
|
263
263
|
};
|
|
264
264
|
s && s(u.root);
|
|
265
265
|
let l = !1;
|
|
266
|
-
if (u.ctx = i ? i(e, t.props || {}, (h,
|
|
267
|
-
const
|
|
268
|
-
return u.ctx && n(u.ctx[h], u.ctx[h] =
|
|
269
|
-
}) : [], u.update(), l = !0,
|
|
266
|
+
if (u.ctx = i ? i(e, t.props || {}, (h, p, ...f) => {
|
|
267
|
+
const m = f.length ? f[0] : p;
|
|
268
|
+
return u.ctx && n(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), l && kr(e, h)), p;
|
|
269
|
+
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
270
270
|
if (t.hydrate) {
|
|
271
|
-
const h =
|
|
272
|
-
u.fragment && u.fragment.l(h), h.forEach(
|
|
271
|
+
const h = Tr(t.target);
|
|
272
|
+
u.fragment && u.fragment.l(h), h.forEach(P);
|
|
273
273
|
} else
|
|
274
274
|
u.fragment && u.fragment.c();
|
|
275
|
-
t.intro &&
|
|
275
|
+
t.intro && Hr(e.$$.fragment), Mr(e, t.target, t.anchor), X();
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
ve(c);
|
|
278
278
|
}
|
|
279
|
-
let
|
|
280
|
-
typeof HTMLElement == "function" && (
|
|
279
|
+
let vi;
|
|
280
|
+
typeof HTMLElement == "function" && (vi = class extends HTMLElement {
|
|
281
281
|
constructor(t, i, r) {
|
|
282
282
|
super();
|
|
283
283
|
/** The Svelte component constructor */
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
connectedCallback() {
|
|
317
|
-
return
|
|
317
|
+
return Ot(this, null, function* () {
|
|
318
318
|
if (this.$$cn = !0, !this.$$c) {
|
|
319
319
|
let t = function(o) {
|
|
320
320
|
return () => {
|
|
@@ -328,28 +328,28 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
328
328
|
* @param {HTMLElement} [anchor]
|
|
329
329
|
*/
|
|
330
330
|
m: function(u, l) {
|
|
331
|
-
|
|
331
|
+
A(u, s, l);
|
|
332
332
|
},
|
|
333
333
|
d: function(u) {
|
|
334
|
-
u &&
|
|
334
|
+
u && P(s);
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
340
340
|
return;
|
|
341
|
-
const i = {}, r =
|
|
341
|
+
const i = {}, r = wr(this);
|
|
342
342
|
for (const o of this.$$s)
|
|
343
343
|
o in r && (i[o] = [t(o)]);
|
|
344
344
|
for (const o of this.attributes) {
|
|
345
345
|
const s = this.$$g_p(o.name);
|
|
346
|
-
s in this.$$d || (this.$$d[s] =
|
|
346
|
+
s in this.$$d || (this.$$d[s] = Ne(s, o.value, this.$$p_d, "toProp"));
|
|
347
347
|
}
|
|
348
348
|
for (const o in this.$$p_d)
|
|
349
349
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
350
350
|
this.$$c = new this.$$ctor({
|
|
351
351
|
target: this.shadowRoot || this,
|
|
352
|
-
props:
|
|
352
|
+
props: Nt(Bt({}, this.$$d), {
|
|
353
353
|
$$slots: i,
|
|
354
354
|
$$scope: {
|
|
355
355
|
ctx: []
|
|
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
360
360
|
this.$$r = !0;
|
|
361
361
|
for (const o in this.$$p_d)
|
|
362
362
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
363
|
-
const s =
|
|
363
|
+
const s = Ne(
|
|
364
364
|
o,
|
|
365
365
|
this.$$d[o],
|
|
366
366
|
this.$$p_d,
|
|
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
384
384
|
// and setting attributes through setAttribute etc, this is helpful
|
|
385
385
|
attributeChangedCallback(t, i, r) {
|
|
386
386
|
var n;
|
|
387
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
387
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ne(t, r, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
|
|
388
388
|
}
|
|
389
389
|
disconnectedCallback() {
|
|
390
390
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
397
397
|
) || t;
|
|
398
398
|
}
|
|
399
399
|
});
|
|
400
|
-
function
|
|
400
|
+
function Ne(e, t, i, r) {
|
|
401
401
|
var o;
|
|
402
402
|
const n = (o = i[e]) == null ? void 0 : o.type;
|
|
403
403
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !i[e])
|
|
@@ -427,8 +427,8 @@ function Ae(e, t, i, r) {
|
|
|
427
427
|
return t;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
let s = class extends
|
|
430
|
+
function Rr(e, t, i, r, n, o) {
|
|
431
|
+
let s = class extends vi {
|
|
432
432
|
constructor() {
|
|
433
433
|
super(e, i, n), this.$$p_d = t;
|
|
434
434
|
}
|
|
@@ -445,7 +445,7 @@ function Cr(e, t, i, r, n, o) {
|
|
|
445
445
|
},
|
|
446
446
|
set(c) {
|
|
447
447
|
var u;
|
|
448
|
-
c =
|
|
448
|
+
c = Ne(a, c, t), this.$$d[a] = c, (u = this.$$c) == null || u.$set({ [a]: c });
|
|
449
449
|
}
|
|
450
450
|
});
|
|
451
451
|
}), r.forEach((a) => {
|
|
@@ -458,7 +458,7 @@ function Cr(e, t, i, r, n, o) {
|
|
|
458
458
|
}), e.element = /** @type {any} */
|
|
459
459
|
s, s;
|
|
460
460
|
}
|
|
461
|
-
class
|
|
461
|
+
class jr {
|
|
462
462
|
constructor() {
|
|
463
463
|
/**
|
|
464
464
|
* ### PRIVATE API
|
|
@@ -479,7 +479,7 @@ class Dr {
|
|
|
479
479
|
}
|
|
480
480
|
/** @returns {void} */
|
|
481
481
|
$destroy() {
|
|
482
|
-
|
|
482
|
+
Cr(this, 1), this.$destroy = j;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -488,7 +488,7 @@ class Dr {
|
|
|
488
488
|
* @returns {() => void}
|
|
489
489
|
*/
|
|
490
490
|
$on(t, i) {
|
|
491
|
-
if (!
|
|
491
|
+
if (!Et(i))
|
|
492
492
|
return j;
|
|
493
493
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
494
494
|
return r.push(i), () => {
|
|
@@ -501,11 +501,11 @@ class Dr {
|
|
|
501
501
|
* @returns {void}
|
|
502
502
|
*/
|
|
503
503
|
$set(t) {
|
|
504
|
-
this.$$set && !
|
|
504
|
+
this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
507
|
+
const Ur = "4";
|
|
508
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
|
|
509
509
|
const Z = {
|
|
510
510
|
deposit: {
|
|
511
511
|
title: "Deposit Limit",
|
|
@@ -532,16 +532,16 @@ const Z = {
|
|
|
532
532
|
periods: ["Monthly"]
|
|
533
533
|
}
|
|
534
534
|
}, oe = [];
|
|
535
|
-
function
|
|
535
|
+
function $r(e, t) {
|
|
536
536
|
return {
|
|
537
|
-
subscribe:
|
|
537
|
+
subscribe: Ue(e, t).subscribe
|
|
538
538
|
};
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Ue(e, t = j) {
|
|
541
541
|
let i;
|
|
542
542
|
const r = /* @__PURE__ */ new Set();
|
|
543
543
|
function n(a) {
|
|
544
|
-
if (
|
|
544
|
+
if (bi(e, a) && (e = a, i)) {
|
|
545
545
|
const c = !oe.length;
|
|
546
546
|
for (const u of r)
|
|
547
547
|
u[1](), oe.push(u, e);
|
|
@@ -563,123 +563,123 @@ function Re(e, t = j) {
|
|
|
563
563
|
}
|
|
564
564
|
return { set: n, update: o, subscribe: s };
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function pe(e, t, i) {
|
|
567
567
|
const r = !Array.isArray(e), n = r ? [e] : e;
|
|
568
568
|
if (!n.every(Boolean))
|
|
569
569
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
570
570
|
const o = t.length < 2;
|
|
571
|
-
return
|
|
571
|
+
return $r(i, (s, a) => {
|
|
572
572
|
let c = !1;
|
|
573
573
|
const u = [];
|
|
574
574
|
let l = 0, h = j;
|
|
575
|
-
const
|
|
575
|
+
const p = () => {
|
|
576
576
|
if (l)
|
|
577
577
|
return;
|
|
578
578
|
h();
|
|
579
|
-
const
|
|
580
|
-
o ? s(
|
|
579
|
+
const m = t(r ? u[0] : u, s, a);
|
|
580
|
+
o ? s(m) : h = Et(m) ? m : j;
|
|
581
581
|
}, f = n.map(
|
|
582
|
-
(
|
|
583
|
-
|
|
582
|
+
(m, _) => gi(
|
|
583
|
+
m,
|
|
584
584
|
(R) => {
|
|
585
|
-
u[_] = R, l &= ~(1 << _), c &&
|
|
585
|
+
u[_] = R, l &= ~(1 << _), c && p();
|
|
586
586
|
},
|
|
587
587
|
() => {
|
|
588
588
|
l |= 1 << _;
|
|
589
589
|
}
|
|
590
590
|
)
|
|
591
591
|
);
|
|
592
|
-
return c = !0,
|
|
593
|
-
|
|
592
|
+
return c = !0, p(), function() {
|
|
593
|
+
te(f), h(), c = !1;
|
|
594
594
|
};
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
function
|
|
597
|
+
function Fr(e) {
|
|
598
598
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
599
599
|
}
|
|
600
|
-
var
|
|
601
|
-
return
|
|
600
|
+
var Gr = function(t) {
|
|
601
|
+
return zr(t) && !Wr(t);
|
|
602
602
|
};
|
|
603
|
-
function
|
|
603
|
+
function zr(e) {
|
|
604
604
|
return !!e && typeof e == "object";
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Wr(e) {
|
|
607
607
|
var t = Object.prototype.toString.call(e);
|
|
608
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
608
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
function
|
|
612
|
-
return e.$$typeof ===
|
|
610
|
+
var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
|
|
611
|
+
function Zr(e) {
|
|
612
|
+
return e.$$typeof === Xr;
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function Yr(e) {
|
|
615
615
|
return Array.isArray(e) ? [] : {};
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
617
|
+
function xe(e, t) {
|
|
618
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(Yr(e), e, t) : e;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function qr(e, t, i) {
|
|
621
621
|
return e.concat(t).map(function(r) {
|
|
622
|
-
return
|
|
622
|
+
return xe(r, i);
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Jr(e, t) {
|
|
626
626
|
if (!t.customMerge)
|
|
627
|
-
return
|
|
627
|
+
return le;
|
|
628
628
|
var i = t.customMerge(e);
|
|
629
|
-
return typeof i == "function" ? i :
|
|
629
|
+
return typeof i == "function" ? i : le;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function Qr(e) {
|
|
632
632
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
633
633
|
return Object.propertyIsEnumerable.call(e, t);
|
|
634
634
|
}) : [];
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return Object.keys(e).concat(
|
|
636
|
+
function Ct(e) {
|
|
637
|
+
return Object.keys(e).concat(Qr(e));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function _i(e, t) {
|
|
640
640
|
try {
|
|
641
641
|
return t in e;
|
|
642
642
|
} catch (i) {
|
|
643
643
|
return !1;
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
|
-
function
|
|
647
|
-
return
|
|
646
|
+
function Kr(e, t) {
|
|
647
|
+
return _i(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function en(e, t, i) {
|
|
650
650
|
var r = {};
|
|
651
|
-
return i.isMergeableObject(e) &&
|
|
652
|
-
r[n] =
|
|
653
|
-
}),
|
|
654
|
-
|
|
651
|
+
return i.isMergeableObject(e) && Ct(e).forEach(function(n) {
|
|
652
|
+
r[n] = xe(e[n], i);
|
|
653
|
+
}), Ct(t).forEach(function(n) {
|
|
654
|
+
Kr(e, n) || (_i(e, n) && i.isMergeableObject(t[n]) ? r[n] = Jr(n, i)(e[n], t[n], i) : r[n] = xe(t[n], i));
|
|
655
655
|
}), r;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
657
|
+
function le(e, t, i) {
|
|
658
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || qr, i.isMergeableObject = i.isMergeableObject || Gr, i.cloneUnlessOtherwiseSpecified = xe;
|
|
659
659
|
var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
|
|
660
|
-
return o ? r ? i.arrayMerge(e, t, i) :
|
|
660
|
+
return o ? r ? i.arrayMerge(e, t, i) : en(e, t, i) : xe(t, i);
|
|
661
661
|
}
|
|
662
|
-
|
|
662
|
+
le.all = function(t, i) {
|
|
663
663
|
if (!Array.isArray(t))
|
|
664
664
|
throw new Error("first argument should be an array");
|
|
665
665
|
return t.reduce(function(r, n) {
|
|
666
|
-
return
|
|
666
|
+
return le(r, n, i);
|
|
667
667
|
}, {});
|
|
668
668
|
};
|
|
669
|
-
var
|
|
670
|
-
const
|
|
671
|
-
var
|
|
672
|
-
return
|
|
669
|
+
var tn = le, rn = tn;
|
|
670
|
+
const nn = /* @__PURE__ */ Fr(rn);
|
|
671
|
+
var st = function(e, t) {
|
|
672
|
+
return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
673
673
|
i.__proto__ = r;
|
|
674
674
|
} || function(i, r) {
|
|
675
675
|
for (var n in r)
|
|
676
676
|
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
677
|
-
},
|
|
677
|
+
}, st(e, t);
|
|
678
678
|
};
|
|
679
|
-
function
|
|
679
|
+
function $e(e, t) {
|
|
680
680
|
if (typeof t != "function" && t !== null)
|
|
681
681
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
682
|
-
|
|
682
|
+
st(e, t);
|
|
683
683
|
function i() {
|
|
684
684
|
this.constructor = e;
|
|
685
685
|
}
|
|
@@ -695,7 +695,7 @@ var Y = function() {
|
|
|
695
695
|
return t;
|
|
696
696
|
}, Y.apply(this, arguments);
|
|
697
697
|
};
|
|
698
|
-
function
|
|
698
|
+
function on(e, t) {
|
|
699
699
|
var i = {};
|
|
700
700
|
for (var r in e)
|
|
701
701
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
@@ -704,43 +704,43 @@ function rn(e, t) {
|
|
|
704
704
|
t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
|
|
705
705
|
return i;
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function Qe(e, t, i) {
|
|
708
708
|
if (i || arguments.length === 2)
|
|
709
709
|
for (var r = 0, n = t.length, o; r < n; r++)
|
|
710
710
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
711
711
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
712
712
|
}
|
|
713
|
-
function
|
|
714
|
-
var i = t && t.cache ? t.cache :
|
|
713
|
+
function Ke(e, t) {
|
|
714
|
+
var i = t && t.cache ? t.cache : fn, r = t && t.serializer ? t.serializer : cn, n = t && t.strategy ? t.strategy : un;
|
|
715
715
|
return n(e, {
|
|
716
716
|
cache: i,
|
|
717
717
|
serializer: r
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function sn(e) {
|
|
721
721
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
var n =
|
|
723
|
+
function an(e, t, i, r) {
|
|
724
|
+
var n = sn(r) ? r : i(r), o = t.get(n);
|
|
725
725
|
return typeof o == "undefined" && (o = e.call(this, r), t.set(n, o)), o;
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Ei(e, t, i) {
|
|
728
728
|
var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
|
|
729
729
|
return typeof o == "undefined" && (o = e.apply(this, r), t.set(n, o)), o;
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function Li(e, t, i, r, n) {
|
|
732
732
|
return i.bind(t, e, r, n);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
735
|
-
var i = e.length === 1 ?
|
|
736
|
-
return
|
|
734
|
+
function un(e, t) {
|
|
735
|
+
var i = e.length === 1 ? an : Ei;
|
|
736
|
+
return Li(e, this, i, t.cache.create(), t.serializer);
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function ln(e, t) {
|
|
739
|
+
return Li(e, this, Ei, t.cache.create(), t.serializer);
|
|
740
740
|
}
|
|
741
|
-
var
|
|
741
|
+
var cn = function() {
|
|
742
742
|
return JSON.stringify(arguments);
|
|
743
|
-
},
|
|
743
|
+
}, hn = (
|
|
744
744
|
/** @class */
|
|
745
745
|
function() {
|
|
746
746
|
function e() {
|
|
@@ -752,71 +752,71 @@ var un = function() {
|
|
|
752
752
|
this.cache[t] = i;
|
|
753
753
|
}, e;
|
|
754
754
|
}()
|
|
755
|
-
),
|
|
755
|
+
), fn = {
|
|
756
756
|
create: function() {
|
|
757
|
-
return new
|
|
757
|
+
return new hn();
|
|
758
758
|
}
|
|
759
|
-
},
|
|
760
|
-
variadic:
|
|
761
|
-
},
|
|
762
|
-
return
|
|
759
|
+
}, et = {
|
|
760
|
+
variadic: ln
|
|
761
|
+
}, ke = function() {
|
|
762
|
+
return ke = Object.assign || function(t) {
|
|
763
763
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
764
764
|
i = arguments[r];
|
|
765
765
|
for (var o in i)
|
|
766
766
|
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
767
767
|
}
|
|
768
768
|
return t;
|
|
769
|
-
},
|
|
769
|
+
}, ke.apply(this, arguments);
|
|
770
770
|
};
|
|
771
|
-
var
|
|
771
|
+
var T;
|
|
772
772
|
(function(e) {
|
|
773
773
|
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";
|
|
774
|
-
})(
|
|
774
|
+
})(T || (T = {}));
|
|
775
775
|
var I;
|
|
776
776
|
(function(e) {
|
|
777
777
|
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";
|
|
778
778
|
})(I || (I = {}));
|
|
779
|
-
var
|
|
779
|
+
var ce;
|
|
780
780
|
(function(e) {
|
|
781
781
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
782
|
-
})(
|
|
783
|
-
function
|
|
782
|
+
})(ce || (ce = {}));
|
|
783
|
+
function kt(e) {
|
|
784
784
|
return e.type === I.literal;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function pn(e) {
|
|
787
787
|
return e.type === I.argument;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function xi(e) {
|
|
790
790
|
return e.type === I.number;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Ti(e) {
|
|
793
793
|
return e.type === I.date;
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function wi(e) {
|
|
796
796
|
return e.type === I.time;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Si(e) {
|
|
799
799
|
return e.type === I.select;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Pi(e) {
|
|
802
802
|
return e.type === I.plural;
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function mn(e) {
|
|
805
805
|
return e.type === I.pound;
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function Ai(e) {
|
|
808
808
|
return e.type === I.tag;
|
|
809
809
|
}
|
|
810
|
-
function
|
|
811
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
810
|
+
function Bi(e) {
|
|
811
|
+
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
812
812
|
}
|
|
813
|
-
function
|
|
814
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
813
|
+
function at(e) {
|
|
814
|
+
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
815
815
|
}
|
|
816
|
-
var
|
|
817
|
-
function
|
|
816
|
+
var Ni = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
|
|
817
|
+
function bn(e) {
|
|
818
818
|
var t = {};
|
|
819
|
-
return e.replace(
|
|
819
|
+
return e.replace(dn, function(i) {
|
|
820
820
|
var r = i.length;
|
|
821
821
|
switch (i[0]) {
|
|
822
822
|
case "G":
|
|
@@ -915,12 +915,12 @@ var C = function() {
|
|
|
915
915
|
return t;
|
|
916
916
|
}, C.apply(this, arguments);
|
|
917
917
|
};
|
|
918
|
-
var
|
|
919
|
-
function
|
|
918
|
+
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
919
|
+
function yn(e) {
|
|
920
920
|
if (e.length === 0)
|
|
921
921
|
throw new Error("Number skeleton cannot be empty");
|
|
922
|
-
for (var t = e.split(
|
|
923
|
-
return
|
|
922
|
+
for (var t = e.split(gn).filter(function(p) {
|
|
923
|
+
return p.length > 0;
|
|
924
924
|
}), i = [], r = 0, n = t; r < n.length; r++) {
|
|
925
925
|
var o = n[r], s = o.split("/");
|
|
926
926
|
if (s.length === 0)
|
|
@@ -934,17 +934,17 @@ function bn(e) {
|
|
|
934
934
|
}
|
|
935
935
|
return i;
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function vn(e) {
|
|
938
938
|
return e.replace(/^(.*?)-/, "");
|
|
939
939
|
}
|
|
940
|
-
var
|
|
941
|
-
function
|
|
940
|
+
var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Oi = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Ii = /^(0+)$/;
|
|
941
|
+
function Rt(e) {
|
|
942
942
|
var t = {};
|
|
943
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
943
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Oi, function(i, r, n) {
|
|
944
944
|
return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
|
|
945
945
|
}), t;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function Hi(e) {
|
|
948
948
|
switch (e) {
|
|
949
949
|
case "sign-auto":
|
|
950
950
|
return {
|
|
@@ -984,7 +984,7 @@ function Oi(e) {
|
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function En(e) {
|
|
988
988
|
var t;
|
|
989
989
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
990
990
|
notation: "engineering"
|
|
@@ -992,17 +992,17 @@ function vn(e) {
|
|
|
992
992
|
notation: "scientific"
|
|
993
993
|
}, e = e.slice(1)), t) {
|
|
994
994
|
var i = e.slice(0, 2);
|
|
995
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
995
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ii.test(e))
|
|
996
996
|
throw new Error("Malformed concise eng/scientific notation");
|
|
997
997
|
t.minimumIntegerDigits = e.length;
|
|
998
998
|
}
|
|
999
999
|
return t;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1002
|
-
var t = {}, i =
|
|
1001
|
+
function jt(e) {
|
|
1002
|
+
var t = {}, i = Hi(e);
|
|
1003
1003
|
return i || t;
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function Ln(e) {
|
|
1006
1006
|
for (var t = {}, i = 0, r = e; i < r.length; i++) {
|
|
1007
1007
|
var n = r[i];
|
|
1008
1008
|
switch (n.stem) {
|
|
@@ -1026,7 +1026,7 @@ function _n(e) {
|
|
|
1026
1026
|
continue;
|
|
1027
1027
|
case "measure-unit":
|
|
1028
1028
|
case "unit":
|
|
1029
|
-
t.style = "unit", t.unit =
|
|
1029
|
+
t.style = "unit", t.unit = vn(n.options[0]);
|
|
1030
1030
|
continue;
|
|
1031
1031
|
case "compact-short":
|
|
1032
1032
|
case "K":
|
|
@@ -1038,12 +1038,12 @@ function _n(e) {
|
|
|
1038
1038
|
continue;
|
|
1039
1039
|
case "scientific":
|
|
1040
1040
|
t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(c, u) {
|
|
1041
|
-
return C(C({}, c),
|
|
1041
|
+
return C(C({}, c), jt(u));
|
|
1042
1042
|
}, {}));
|
|
1043
1043
|
continue;
|
|
1044
1044
|
case "engineering":
|
|
1045
1045
|
t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(c, u) {
|
|
1046
|
-
return C(C({}, c),
|
|
1046
|
+
return C(C({}, c), jt(u));
|
|
1047
1047
|
}, {}));
|
|
1048
1048
|
continue;
|
|
1049
1049
|
case "notation-simple":
|
|
@@ -1088,11 +1088,11 @@ function _n(e) {
|
|
|
1088
1088
|
case "integer-width":
|
|
1089
1089
|
if (n.options.length > 1)
|
|
1090
1090
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1091
|
-
n.options[0].replace(
|
|
1091
|
+
n.options[0].replace(_n, function(c, u, l, h, p, f) {
|
|
1092
1092
|
if (u)
|
|
1093
1093
|
t.minimumIntegerDigits = l.length;
|
|
1094
1094
|
else {
|
|
1095
|
-
if (h &&
|
|
1095
|
+
if (h && p)
|
|
1096
1096
|
throw new Error("We currently do not support maximum integer digits");
|
|
1097
1097
|
if (f)
|
|
1098
1098
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1101,32 +1101,32 @@ function _n(e) {
|
|
|
1101
1101
|
});
|
|
1102
1102
|
continue;
|
|
1103
1103
|
}
|
|
1104
|
-
if (
|
|
1104
|
+
if (Ii.test(n.stem)) {
|
|
1105
1105
|
t.minimumIntegerDigits = n.stem.length;
|
|
1106
1106
|
continue;
|
|
1107
1107
|
}
|
|
1108
|
-
if (
|
|
1108
|
+
if (Dt.test(n.stem)) {
|
|
1109
1109
|
if (n.options.length > 1)
|
|
1110
1110
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1111
|
-
n.stem.replace(
|
|
1112
|
-
return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length :
|
|
1111
|
+
n.stem.replace(Dt, function(c, u, l, h, p, f) {
|
|
1112
|
+
return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : p && f ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + f.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1113
1113
|
});
|
|
1114
1114
|
var o = n.options[0];
|
|
1115
|
-
o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t),
|
|
1115
|
+
o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Rt(o)));
|
|
1116
1116
|
continue;
|
|
1117
1117
|
}
|
|
1118
|
-
if (
|
|
1119
|
-
t = C(C({}, t),
|
|
1118
|
+
if (Oi.test(n.stem)) {
|
|
1119
|
+
t = C(C({}, t), Rt(n.stem));
|
|
1120
1120
|
continue;
|
|
1121
1121
|
}
|
|
1122
|
-
var s =
|
|
1122
|
+
var s = Hi(n.stem);
|
|
1123
1123
|
s && (t = C(C({}, t), s));
|
|
1124
|
-
var a =
|
|
1124
|
+
var a = En(n.stem);
|
|
1125
1125
|
a && (t = C(C({}, t), a));
|
|
1126
1126
|
}
|
|
1127
1127
|
return t;
|
|
1128
1128
|
}
|
|
1129
|
-
var
|
|
1129
|
+
var Ae = {
|
|
1130
1130
|
"001": [
|
|
1131
1131
|
"H",
|
|
1132
1132
|
"h"
|
|
@@ -2541,13 +2541,13 @@ var Se = {
|
|
|
2541
2541
|
"h"
|
|
2542
2542
|
]
|
|
2543
2543
|
};
|
|
2544
|
-
function
|
|
2544
|
+
function xn(e, t) {
|
|
2545
2545
|
for (var i = "", r = 0; r < e.length; r++) {
|
|
2546
2546
|
var n = e.charAt(r);
|
|
2547
2547
|
if (n === "j") {
|
|
2548
2548
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
|
|
2549
2549
|
o++, r++;
|
|
2550
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u =
|
|
2550
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = Tn(t);
|
|
2551
2551
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2552
2552
|
i += c;
|
|
2553
2553
|
for (; s-- > 0; )
|
|
@@ -2557,7 +2557,7 @@ function En(e, t) {
|
|
|
2557
2557
|
}
|
|
2558
2558
|
return i;
|
|
2559
2559
|
}
|
|
2560
|
-
function
|
|
2560
|
+
function Tn(e) {
|
|
2561
2561
|
var t = e.hourCycle;
|
|
2562
2562
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2563
2563
|
e.hourCycles && // @ts-ignore
|
|
@@ -2576,23 +2576,23 @@ function Ln(e) {
|
|
|
2576
2576
|
}
|
|
2577
2577
|
var i = e.language, r;
|
|
2578
2578
|
i !== "root" && (r = e.maximize().region);
|
|
2579
|
-
var n =
|
|
2579
|
+
var n = Ae[r || ""] || Ae[i || ""] || Ae["".concat(i, "-001")] || Ae["001"];
|
|
2580
2580
|
return n[0];
|
|
2581
2581
|
}
|
|
2582
|
-
var
|
|
2583
|
-
function
|
|
2582
|
+
var tt, wn = new RegExp("^".concat(Ni.source, "*")), Sn = new RegExp("".concat(Ni.source, "*$"));
|
|
2583
|
+
function w(e, t) {
|
|
2584
2584
|
return { start: e, end: t };
|
|
2585
2585
|
}
|
|
2586
|
-
var
|
|
2586
|
+
var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Bn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Mn = Hn ? Number.isSafeInteger : function(e) {
|
|
2587
2587
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2588
|
-
},
|
|
2588
|
+
}, ut = !0;
|
|
2589
2589
|
try {
|
|
2590
|
-
var
|
|
2591
|
-
|
|
2590
|
+
var Cn = Ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2591
|
+
ut = ((tt = Cn.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
|
|
2592
2592
|
} catch (e) {
|
|
2593
|
-
|
|
2593
|
+
ut = !1;
|
|
2594
2594
|
}
|
|
2595
|
-
var
|
|
2595
|
+
var Ut = Pn ? (
|
|
2596
2596
|
// Native
|
|
2597
2597
|
function(t, i, r) {
|
|
2598
2598
|
return t.startsWith(i, r);
|
|
@@ -2602,7 +2602,7 @@ var Rt = wn ? (
|
|
|
2602
2602
|
function(t, i, r) {
|
|
2603
2603
|
return t.slice(r, r + i.length) === i;
|
|
2604
2604
|
}
|
|
2605
|
-
),
|
|
2605
|
+
), lt = An ? String.fromCodePoint : (
|
|
2606
2606
|
// IE11
|
|
2607
2607
|
function() {
|
|
2608
2608
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2614,9 +2614,9 @@ var Rt = wn ? (
|
|
|
2614
2614
|
}
|
|
2615
2615
|
return r;
|
|
2616
2616
|
}
|
|
2617
|
-
),
|
|
2617
|
+
), $t = (
|
|
2618
2618
|
// native
|
|
2619
|
-
|
|
2619
|
+
Bn ? Object.fromEntries : (
|
|
2620
2620
|
// Ponyfill
|
|
2621
2621
|
function(t) {
|
|
2622
2622
|
for (var i = {}, r = 0, n = t; r < n.length; r++) {
|
|
@@ -2626,7 +2626,7 @@ var Rt = wn ? (
|
|
|
2626
2626
|
return i;
|
|
2627
2627
|
}
|
|
2628
2628
|
)
|
|
2629
|
-
),
|
|
2629
|
+
), Mi = Nn ? (
|
|
2630
2630
|
// Native
|
|
2631
2631
|
function(t, i) {
|
|
2632
2632
|
return t.codePointAt(i);
|
|
@@ -2640,7 +2640,7 @@ var Rt = wn ? (
|
|
|
2640
2640
|
return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
|
-
),
|
|
2643
|
+
), kn = On ? (
|
|
2644
2644
|
// Native
|
|
2645
2645
|
function(t) {
|
|
2646
2646
|
return t.trimStart();
|
|
@@ -2648,9 +2648,9 @@ var Rt = wn ? (
|
|
|
2648
2648
|
) : (
|
|
2649
2649
|
// Ponyfill
|
|
2650
2650
|
function(t) {
|
|
2651
|
-
return t.replace(
|
|
2651
|
+
return t.replace(wn, "");
|
|
2652
2652
|
}
|
|
2653
|
-
),
|
|
2653
|
+
), Dn = In ? (
|
|
2654
2654
|
// Native
|
|
2655
2655
|
function(t) {
|
|
2656
2656
|
return t.trimEnd();
|
|
@@ -2658,32 +2658,32 @@ var Rt = wn ? (
|
|
|
2658
2658
|
) : (
|
|
2659
2659
|
// Ponyfill
|
|
2660
2660
|
function(t) {
|
|
2661
|
-
return t.replace(
|
|
2661
|
+
return t.replace(Sn, "");
|
|
2662
2662
|
}
|
|
2663
2663
|
);
|
|
2664
|
-
function
|
|
2664
|
+
function Ci(e, t) {
|
|
2665
2665
|
return new RegExp(e, t);
|
|
2666
2666
|
}
|
|
2667
|
-
var
|
|
2668
|
-
if (
|
|
2669
|
-
var
|
|
2670
|
-
|
|
2667
|
+
var ct;
|
|
2668
|
+
if (ut) {
|
|
2669
|
+
var Ft = Ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2670
|
+
ct = function(t, i) {
|
|
2671
2671
|
var r;
|
|
2672
|
-
|
|
2673
|
-
var n =
|
|
2672
|
+
Ft.lastIndex = i;
|
|
2673
|
+
var n = Ft.exec(t);
|
|
2674
2674
|
return (r = n[1]) !== null && r !== void 0 ? r : "";
|
|
2675
2675
|
};
|
|
2676
2676
|
} else
|
|
2677
|
-
|
|
2677
|
+
ct = function(t, i) {
|
|
2678
2678
|
for (var r = []; ; ) {
|
|
2679
|
-
var n =
|
|
2680
|
-
if (n === void 0 ||
|
|
2679
|
+
var n = Mi(t, i);
|
|
2680
|
+
if (n === void 0 || ki(n) || $n(n))
|
|
2681
2681
|
break;
|
|
2682
2682
|
r.push(n), i += n >= 65536 ? 2 : 1;
|
|
2683
2683
|
}
|
|
2684
|
-
return
|
|
2684
|
+
return lt.apply(void 0, r);
|
|
2685
2685
|
};
|
|
2686
|
-
var
|
|
2686
|
+
var Rn = (
|
|
2687
2687
|
/** @class */
|
|
2688
2688
|
function() {
|
|
2689
2689
|
function e(t, i) {
|
|
@@ -2708,13 +2708,13 @@ var Cn = (
|
|
|
2708
2708
|
var a = this.clonePosition();
|
|
2709
2709
|
this.bump(), n.push({
|
|
2710
2710
|
type: I.pound,
|
|
2711
|
-
location:
|
|
2711
|
+
location: w(a, this.clonePosition())
|
|
2712
2712
|
});
|
|
2713
2713
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2714
2714
|
if (r)
|
|
2715
2715
|
break;
|
|
2716
|
-
return this.error(
|
|
2717
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2716
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
2717
|
+
} else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
|
|
2718
2718
|
var s = this.parseTag(t, i);
|
|
2719
2719
|
if (s.err)
|
|
2720
2720
|
return s;
|
|
@@ -2737,7 +2737,7 @@ var Cn = (
|
|
|
2737
2737
|
val: {
|
|
2738
2738
|
type: I.literal,
|
|
2739
2739
|
value: "<".concat(n, "/>"),
|
|
2740
|
-
location:
|
|
2740
|
+
location: w(r, this.clonePosition())
|
|
2741
2741
|
},
|
|
2742
2742
|
err: null
|
|
2743
2743
|
};
|
|
@@ -2747,25 +2747,25 @@ var Cn = (
|
|
|
2747
2747
|
return o;
|
|
2748
2748
|
var s = o.val, a = this.clonePosition();
|
|
2749
2749
|
if (this.bumpIf("</")) {
|
|
2750
|
-
if (this.isEOF() || !
|
|
2751
|
-
return this.error(
|
|
2750
|
+
if (this.isEOF() || !ht(this.char()))
|
|
2751
|
+
return this.error(T.INVALID_TAG, w(a, this.clonePosition()));
|
|
2752
2752
|
var c = this.clonePosition(), u = this.parseTagName();
|
|
2753
|
-
return n !== u ? this.error(
|
|
2753
|
+
return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, w(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2754
2754
|
val: {
|
|
2755
2755
|
type: I.tag,
|
|
2756
2756
|
value: n,
|
|
2757
2757
|
children: s,
|
|
2758
|
-
location:
|
|
2758
|
+
location: w(r, this.clonePosition())
|
|
2759
2759
|
},
|
|
2760
2760
|
err: null
|
|
2761
|
-
} : this.error(
|
|
2761
|
+
} : this.error(T.INVALID_TAG, w(a, this.clonePosition())));
|
|
2762
2762
|
} else
|
|
2763
|
-
return this.error(
|
|
2763
|
+
return this.error(T.UNCLOSED_TAG, w(r, this.clonePosition()));
|
|
2764
2764
|
} else
|
|
2765
|
-
return this.error(
|
|
2765
|
+
return this.error(T.INVALID_TAG, w(r, this.clonePosition()));
|
|
2766
2766
|
}, e.prototype.parseTagName = function() {
|
|
2767
2767
|
var t = this.offset();
|
|
2768
|
-
for (this.bump(); !this.isEOF() &&
|
|
2768
|
+
for (this.bump(); !this.isEOF() && Un(this.char()); )
|
|
2769
2769
|
this.bump();
|
|
2770
2770
|
return this.message.slice(t, this.offset());
|
|
2771
2771
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2787,14 +2787,14 @@ var Cn = (
|
|
|
2787
2787
|
}
|
|
2788
2788
|
break;
|
|
2789
2789
|
}
|
|
2790
|
-
var c =
|
|
2790
|
+
var c = w(r, this.clonePosition());
|
|
2791
2791
|
return {
|
|
2792
2792
|
val: { type: I.literal, value: n, location: c },
|
|
2793
2793
|
err: null
|
|
2794
2794
|
};
|
|
2795
2795
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2796
2796
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2797
|
-
!
|
|
2797
|
+
!jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2798
2798
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2799
2799
|
if (this.isEOF() || this.char() !== 39)
|
|
2800
2800
|
return null;
|
|
@@ -2828,23 +2828,23 @@ var Cn = (
|
|
|
2828
2828
|
i.push(r);
|
|
2829
2829
|
this.bump();
|
|
2830
2830
|
}
|
|
2831
|
-
return
|
|
2831
|
+
return lt.apply(void 0, i);
|
|
2832
2832
|
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2833
2833
|
if (this.isEOF())
|
|
2834
2834
|
return null;
|
|
2835
2835
|
var r = this.char();
|
|
2836
|
-
return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2836
|
+
return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), lt(r));
|
|
2837
2837
|
}, e.prototype.parseArgument = function(t, i) {
|
|
2838
2838
|
var r = this.clonePosition();
|
|
2839
2839
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2840
|
-
return this.error(
|
|
2840
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition()));
|
|
2841
2841
|
if (this.char() === 125)
|
|
2842
|
-
return this.bump(), this.error(
|
|
2842
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, w(r, this.clonePosition()));
|
|
2843
2843
|
var n = this.parseIdentifierIfPossible().value;
|
|
2844
2844
|
if (!n)
|
|
2845
|
-
return this.error(
|
|
2845
|
+
return this.error(T.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
|
|
2846
2846
|
if (this.bumpSpace(), this.isEOF())
|
|
2847
|
-
return this.error(
|
|
2847
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition()));
|
|
2848
2848
|
switch (this.char()) {
|
|
2849
2849
|
case 125:
|
|
2850
2850
|
return this.bump(), {
|
|
@@ -2852,25 +2852,25 @@ var Cn = (
|
|
|
2852
2852
|
type: I.argument,
|
|
2853
2853
|
// value does not include the opening and closing braces.
|
|
2854
2854
|
value: n,
|
|
2855
|
-
location:
|
|
2855
|
+
location: w(r, this.clonePosition())
|
|
2856
2856
|
},
|
|
2857
2857
|
err: null
|
|
2858
2858
|
};
|
|
2859
2859
|
case 44:
|
|
2860
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2860
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition())) : this.parseArgumentOptions(t, i, n, r);
|
|
2861
2861
|
default:
|
|
2862
|
-
return this.error(
|
|
2862
|
+
return this.error(T.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
|
|
2863
2863
|
}
|
|
2864
2864
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2865
|
-
var t = this.clonePosition(), i = this.offset(), r =
|
|
2865
|
+
var t = this.clonePosition(), i = this.offset(), r = ct(this.message, i), n = i + r.length;
|
|
2866
2866
|
this.bumpTo(n);
|
|
2867
|
-
var o = this.clonePosition(), s =
|
|
2867
|
+
var o = this.clonePosition(), s = w(t, o);
|
|
2868
2868
|
return { value: r, location: s };
|
|
2869
2869
|
}, e.prototype.parseArgumentOptions = function(t, i, r, n) {
|
|
2870
2870
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
2871
2871
|
switch (a) {
|
|
2872
2872
|
case "":
|
|
2873
|
-
return this.error(
|
|
2873
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, w(s, c));
|
|
2874
2874
|
case "number":
|
|
2875
2875
|
case "date":
|
|
2876
2876
|
case "time": {
|
|
@@ -2881,18 +2881,18 @@ var Cn = (
|
|
|
2881
2881
|
var l = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2882
2882
|
if (h.err)
|
|
2883
2883
|
return h;
|
|
2884
|
-
var
|
|
2885
|
-
if (
|
|
2886
|
-
return this.error(
|
|
2887
|
-
var f =
|
|
2888
|
-
u = { style:
|
|
2884
|
+
var p = Dn(h.val);
|
|
2885
|
+
if (p.length === 0)
|
|
2886
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
2887
|
+
var f = w(l, this.clonePosition());
|
|
2888
|
+
u = { style: p, styleLocation: f };
|
|
2889
2889
|
}
|
|
2890
|
-
var
|
|
2891
|
-
if (
|
|
2892
|
-
return
|
|
2893
|
-
var _ =
|
|
2894
|
-
if (u &&
|
|
2895
|
-
var R =
|
|
2890
|
+
var m = this.tryParseArgumentClose(n);
|
|
2891
|
+
if (m.err)
|
|
2892
|
+
return m;
|
|
2893
|
+
var _ = w(n, this.clonePosition());
|
|
2894
|
+
if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
|
|
2895
|
+
var R = kn(u.style.slice(2));
|
|
2896
2896
|
if (a === "number") {
|
|
2897
2897
|
var h = this.parseNumberSkeletonFromString(R, u.styleLocation);
|
|
2898
2898
|
return h.err ? h : {
|
|
@@ -2901,17 +2901,17 @@ var Cn = (
|
|
|
2901
2901
|
};
|
|
2902
2902
|
} else {
|
|
2903
2903
|
if (R.length === 0)
|
|
2904
|
-
return this.error(
|
|
2905
|
-
var
|
|
2906
|
-
this.locale && (
|
|
2907
|
-
var
|
|
2908
|
-
type:
|
|
2909
|
-
pattern:
|
|
2904
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, _);
|
|
2905
|
+
var B = R;
|
|
2906
|
+
this.locale && (B = xn(R, this.locale));
|
|
2907
|
+
var p = {
|
|
2908
|
+
type: ce.dateTime,
|
|
2909
|
+
pattern: B,
|
|
2910
2910
|
location: u.styleLocation,
|
|
2911
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2912
|
-
},
|
|
2911
|
+
parsedOptions: this.shouldParseSkeletons ? bn(B) : {}
|
|
2912
|
+
}, S = a === "date" ? I.date : I.time;
|
|
2913
2913
|
return {
|
|
2914
|
-
val: { type:
|
|
2914
|
+
val: { type: S, value: r, location: _, style: p },
|
|
2915
2915
|
err: null
|
|
2916
2916
|
};
|
|
2917
2917
|
}
|
|
@@ -2929,32 +2929,32 @@ var Cn = (
|
|
|
2929
2929
|
case "plural":
|
|
2930
2930
|
case "selectordinal":
|
|
2931
2931
|
case "select": {
|
|
2932
|
-
var
|
|
2932
|
+
var E = this.clonePosition();
|
|
2933
2933
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2934
|
-
return this.error(
|
|
2934
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, w(E, ke({}, E)));
|
|
2935
2935
|
this.bumpSpace();
|
|
2936
|
-
var
|
|
2937
|
-
if (a !== "select" &&
|
|
2936
|
+
var k = this.parseIdentifierIfPossible(), L = 0;
|
|
2937
|
+
if (a !== "select" && k.value === "offset") {
|
|
2938
2938
|
if (!this.bumpIf(":"))
|
|
2939
|
-
return this.error(
|
|
2939
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
2940
2940
|
this.bumpSpace();
|
|
2941
|
-
var h = this.tryParseDecimalInteger(
|
|
2941
|
+
var h = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2942
2942
|
if (h.err)
|
|
2943
2943
|
return h;
|
|
2944
|
-
this.bumpSpace(),
|
|
2944
|
+
this.bumpSpace(), k = this.parseIdentifierIfPossible(), L = h.val;
|
|
2945
2945
|
}
|
|
2946
|
-
var
|
|
2947
|
-
if (
|
|
2948
|
-
return
|
|
2949
|
-
var
|
|
2950
|
-
if (
|
|
2951
|
-
return
|
|
2952
|
-
var D =
|
|
2946
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, i, k);
|
|
2947
|
+
if (O.err)
|
|
2948
|
+
return O;
|
|
2949
|
+
var m = this.tryParseArgumentClose(n);
|
|
2950
|
+
if (m.err)
|
|
2951
|
+
return m;
|
|
2952
|
+
var D = w(n, this.clonePosition());
|
|
2953
2953
|
return a === "select" ? {
|
|
2954
2954
|
val: {
|
|
2955
2955
|
type: I.select,
|
|
2956
2956
|
value: r,
|
|
2957
|
-
options:
|
|
2957
|
+
options: $t(O.val),
|
|
2958
2958
|
location: D
|
|
2959
2959
|
},
|
|
2960
2960
|
err: null
|
|
@@ -2962,8 +2962,8 @@ var Cn = (
|
|
|
2962
2962
|
val: {
|
|
2963
2963
|
type: I.plural,
|
|
2964
2964
|
value: r,
|
|
2965
|
-
options:
|
|
2966
|
-
offset:
|
|
2965
|
+
options: $t(O.val),
|
|
2966
|
+
offset: L,
|
|
2967
2967
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2968
2968
|
location: D
|
|
2969
2969
|
},
|
|
@@ -2971,10 +2971,10 @@ var Cn = (
|
|
|
2971
2971
|
};
|
|
2972
2972
|
}
|
|
2973
2973
|
default:
|
|
2974
|
-
return this.error(
|
|
2974
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, w(s, c));
|
|
2975
2975
|
}
|
|
2976
2976
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2977
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2977
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2978
2978
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2979
2979
|
for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
|
|
2980
2980
|
var r = this.char();
|
|
@@ -2983,7 +2983,7 @@ var Cn = (
|
|
|
2983
2983
|
this.bump();
|
|
2984
2984
|
var n = this.clonePosition();
|
|
2985
2985
|
if (!this.bumpUntil("'"))
|
|
2986
|
-
return this.error(
|
|
2986
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(n, this.clonePosition()));
|
|
2987
2987
|
this.bump();
|
|
2988
2988
|
break;
|
|
2989
2989
|
}
|
|
@@ -3013,16 +3013,16 @@ var Cn = (
|
|
|
3013
3013
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
3014
3014
|
var r = [];
|
|
3015
3015
|
try {
|
|
3016
|
-
r =
|
|
3016
|
+
r = yn(t);
|
|
3017
3017
|
} catch (n) {
|
|
3018
|
-
return this.error(
|
|
3018
|
+
return this.error(T.INVALID_NUMBER_SKELETON, i);
|
|
3019
3019
|
}
|
|
3020
3020
|
return {
|
|
3021
3021
|
val: {
|
|
3022
|
-
type:
|
|
3022
|
+
type: ce.number,
|
|
3023
3023
|
tokens: r,
|
|
3024
3024
|
location: i,
|
|
3025
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3025
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(r) : {}
|
|
3026
3026
|
},
|
|
3027
3027
|
err: null
|
|
3028
3028
|
};
|
|
@@ -3031,34 +3031,34 @@ var Cn = (
|
|
|
3031
3031
|
if (u.length === 0) {
|
|
3032
3032
|
var h = this.clonePosition();
|
|
3033
3033
|
if (i !== "select" && this.bumpIf("=")) {
|
|
3034
|
-
var
|
|
3035
|
-
if (
|
|
3036
|
-
return
|
|
3037
|
-
l =
|
|
3034
|
+
var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3035
|
+
if (p.err)
|
|
3036
|
+
return p;
|
|
3037
|
+
l = w(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
|
|
3038
3038
|
} else
|
|
3039
3039
|
break;
|
|
3040
3040
|
}
|
|
3041
3041
|
if (c.has(u))
|
|
3042
|
-
return this.error(i === "select" ?
|
|
3042
|
+
return this.error(i === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3043
3043
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3044
3044
|
var f = this.clonePosition();
|
|
3045
3045
|
if (!this.bumpIf("{"))
|
|
3046
|
-
return this.error(i === "select" ?
|
|
3047
|
-
var
|
|
3048
|
-
if (
|
|
3049
|
-
return
|
|
3046
|
+
return this.error(i === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3047
|
+
var m = this.parseMessage(t + 1, i, r);
|
|
3048
|
+
if (m.err)
|
|
3049
|
+
return m;
|
|
3050
3050
|
var _ = this.tryParseArgumentClose(f);
|
|
3051
3051
|
if (_.err)
|
|
3052
3052
|
return _;
|
|
3053
3053
|
a.push([
|
|
3054
3054
|
u,
|
|
3055
3055
|
{
|
|
3056
|
-
value:
|
|
3057
|
-
location:
|
|
3056
|
+
value: m.val,
|
|
3057
|
+
location: w(f, this.clonePosition())
|
|
3058
3058
|
}
|
|
3059
3059
|
]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3060
3060
|
}
|
|
3061
|
-
return a.length === 0 ? this.error(i === "select" ?
|
|
3061
|
+
return a.length === 0 ? this.error(i === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(T.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3062
3062
|
}, e.prototype.tryParseDecimalInteger = function(t, i) {
|
|
3063
3063
|
var r = 1, n = this.clonePosition();
|
|
3064
3064
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3069,8 +3069,8 @@ var Cn = (
|
|
|
3069
3069
|
else
|
|
3070
3070
|
break;
|
|
3071
3071
|
}
|
|
3072
|
-
var c =
|
|
3073
|
-
return o ? (s *= r,
|
|
3072
|
+
var c = w(n, this.clonePosition());
|
|
3073
|
+
return o ? (s *= r, Mn(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
|
|
3074
3074
|
}, e.prototype.offset = function() {
|
|
3075
3075
|
return this.position.offset;
|
|
3076
3076
|
}, e.prototype.isEOF = function() {
|
|
@@ -3085,7 +3085,7 @@ var Cn = (
|
|
|
3085
3085
|
var t = this.position.offset;
|
|
3086
3086
|
if (t >= this.message.length)
|
|
3087
3087
|
throw Error("out of bound");
|
|
3088
|
-
var i =
|
|
3088
|
+
var i = Mi(this.message, t);
|
|
3089
3089
|
if (i === void 0)
|
|
3090
3090
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3091
3091
|
return i;
|
|
@@ -3104,7 +3104,7 @@ var Cn = (
|
|
|
3104
3104
|
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);
|
|
3105
3105
|
}
|
|
3106
3106
|
}, e.prototype.bumpIf = function(t) {
|
|
3107
|
-
if (
|
|
3107
|
+
if (Ut(this.message, t, this.offset())) {
|
|
3108
3108
|
for (var i = 0; i < t.length; i++)
|
|
3109
3109
|
this.bump();
|
|
3110
3110
|
return !0;
|
|
@@ -3126,7 +3126,7 @@ var Cn = (
|
|
|
3126
3126
|
break;
|
|
3127
3127
|
}
|
|
3128
3128
|
}, e.prototype.bumpSpace = function() {
|
|
3129
|
-
for (; !this.isEOF() &&
|
|
3129
|
+
for (; !this.isEOF() && ki(this.char()); )
|
|
3130
3130
|
this.bump();
|
|
3131
3131
|
}, e.prototype.peek = function() {
|
|
3132
3132
|
if (this.isEOF())
|
|
@@ -3136,47 +3136,47 @@ var Cn = (
|
|
|
3136
3136
|
}, e;
|
|
3137
3137
|
}()
|
|
3138
3138
|
);
|
|
3139
|
-
function
|
|
3139
|
+
function ht(e) {
|
|
3140
3140
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3143
|
-
return
|
|
3142
|
+
function jn(e) {
|
|
3143
|
+
return ht(e) || e === 47;
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3145
|
+
function Un(e) {
|
|
3146
3146
|
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;
|
|
3147
3147
|
}
|
|
3148
|
-
function
|
|
3148
|
+
function ki(e) {
|
|
3149
3149
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3151
|
+
function $n(e) {
|
|
3152
3152
|
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;
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3154
|
+
function ft(e) {
|
|
3155
3155
|
e.forEach(function(t) {
|
|
3156
|
-
if (delete t.location,
|
|
3156
|
+
if (delete t.location, Si(t) || Pi(t))
|
|
3157
3157
|
for (var i in t.options)
|
|
3158
|
-
delete t.options[i].location,
|
|
3158
|
+
delete t.options[i].location, ft(t.options[i].value);
|
|
3159
3159
|
else
|
|
3160
|
-
|
|
3160
|
+
xi(t) && Bi(t.style) || (Ti(t) || wi(t)) && at(t.style) ? delete t.style.location : Ai(t) && ft(t.children);
|
|
3161
3161
|
});
|
|
3162
3162
|
}
|
|
3163
|
-
function
|
|
3164
|
-
t === void 0 && (t = {}), t =
|
|
3165
|
-
var i = new
|
|
3163
|
+
function Fn(e, t) {
|
|
3164
|
+
t === void 0 && (t = {}), t = ke({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3165
|
+
var i = new Rn(e, t).parse();
|
|
3166
3166
|
if (i.err) {
|
|
3167
|
-
var r = SyntaxError(
|
|
3167
|
+
var r = SyntaxError(T[i.err.kind]);
|
|
3168
3168
|
throw r.location = i.err.location, r.originalMessage = i.err.message, r;
|
|
3169
3169
|
}
|
|
3170
|
-
return t != null && t.captureLocation ||
|
|
3170
|
+
return t != null && t.captureLocation || ft(i.val), i.val;
|
|
3171
3171
|
}
|
|
3172
|
-
var
|
|
3172
|
+
var he;
|
|
3173
3173
|
(function(e) {
|
|
3174
3174
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3175
|
-
})(
|
|
3176
|
-
var
|
|
3175
|
+
})(he || (he = {}));
|
|
3176
|
+
var Fe = (
|
|
3177
3177
|
/** @class */
|
|
3178
3178
|
function(e) {
|
|
3179
|
-
|
|
3179
|
+
$e(t, e);
|
|
3180
3180
|
function t(i, r, n) {
|
|
3181
3181
|
var o = e.call(this, i) || this;
|
|
3182
3182
|
return o.code = r, o.originalMessage = n, o;
|
|
@@ -3185,48 +3185,48 @@ var Ue = (
|
|
|
3185
3185
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3186
3186
|
}, t;
|
|
3187
3187
|
}(Error)
|
|
3188
|
-
),
|
|
3188
|
+
), Gt = (
|
|
3189
3189
|
/** @class */
|
|
3190
3190
|
function(e) {
|
|
3191
|
-
|
|
3191
|
+
$e(t, e);
|
|
3192
3192
|
function t(i, r, n, o) {
|
|
3193
|
-
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3193
|
+
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3194
3194
|
}
|
|
3195
3195
|
return t;
|
|
3196
|
-
}(
|
|
3197
|
-
),
|
|
3196
|
+
}(Fe)
|
|
3197
|
+
), Gn = (
|
|
3198
3198
|
/** @class */
|
|
3199
3199
|
function(e) {
|
|
3200
|
-
|
|
3200
|
+
$e(t, e);
|
|
3201
3201
|
function t(i, r, n) {
|
|
3202
|
-
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r),
|
|
3202
|
+
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), he.INVALID_VALUE, n) || this;
|
|
3203
3203
|
}
|
|
3204
3204
|
return t;
|
|
3205
|
-
}(
|
|
3206
|
-
),
|
|
3205
|
+
}(Fe)
|
|
3206
|
+
), zn = (
|
|
3207
3207
|
/** @class */
|
|
3208
3208
|
function(e) {
|
|
3209
|
-
|
|
3209
|
+
$e(t, e);
|
|
3210
3210
|
function t(i, r) {
|
|
3211
|
-
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'),
|
|
3211
|
+
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), he.MISSING_VALUE, r) || this;
|
|
3212
3212
|
}
|
|
3213
3213
|
return t;
|
|
3214
|
-
}(
|
|
3214
|
+
}(Fe)
|
|
3215
3215
|
), z;
|
|
3216
3216
|
(function(e) {
|
|
3217
3217
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3218
3218
|
})(z || (z = {}));
|
|
3219
|
-
function
|
|
3219
|
+
function Wn(e) {
|
|
3220
3220
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3221
3221
|
var r = t[t.length - 1];
|
|
3222
3222
|
return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
|
|
3223
3223
|
}, []);
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3225
|
+
function Vn(e) {
|
|
3226
3226
|
return typeof e == "function";
|
|
3227
3227
|
}
|
|
3228
|
-
function
|
|
3229
|
-
if (e.length === 1 &&
|
|
3228
|
+
function Oe(e, t, i, r, n, o, s) {
|
|
3229
|
+
if (e.length === 1 && kt(e[0]))
|
|
3230
3230
|
return [
|
|
3231
3231
|
{
|
|
3232
3232
|
type: z.literal,
|
|
@@ -3235,14 +3235,14 @@ function Be(e, t, i, r, n, o, s) {
|
|
|
3235
3235
|
];
|
|
3236
3236
|
for (var a = [], c = 0, u = e; c < u.length; c++) {
|
|
3237
3237
|
var l = u[c];
|
|
3238
|
-
if (
|
|
3238
|
+
if (kt(l)) {
|
|
3239
3239
|
a.push({
|
|
3240
3240
|
type: z.literal,
|
|
3241
3241
|
value: l.value
|
|
3242
3242
|
});
|
|
3243
3243
|
continue;
|
|
3244
3244
|
}
|
|
3245
|
-
if (
|
|
3245
|
+
if (mn(l)) {
|
|
3246
3246
|
typeof o == "number" && a.push({
|
|
3247
3247
|
type: z.literal,
|
|
3248
3248
|
value: i.getNumberFormat(t).format(o)
|
|
@@ -3251,89 +3251,89 @@ function Be(e, t, i, r, n, o, s) {
|
|
|
3251
3251
|
}
|
|
3252
3252
|
var h = l.value;
|
|
3253
3253
|
if (!(n && h in n))
|
|
3254
|
-
throw new
|
|
3255
|
-
var
|
|
3256
|
-
if (
|
|
3257
|
-
(!
|
|
3258
|
-
type: typeof
|
|
3259
|
-
value:
|
|
3254
|
+
throw new zn(h, s);
|
|
3255
|
+
var p = n[h];
|
|
3256
|
+
if (pn(l)) {
|
|
3257
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3258
|
+
type: typeof p == "string" ? z.literal : z.object,
|
|
3259
|
+
value: p
|
|
3260
3260
|
});
|
|
3261
3261
|
continue;
|
|
3262
3262
|
}
|
|
3263
|
-
if (
|
|
3264
|
-
var f = typeof l.style == "string" ? r.date[l.style] :
|
|
3263
|
+
if (Ti(l)) {
|
|
3264
|
+
var f = typeof l.style == "string" ? r.date[l.style] : at(l.style) ? l.style.parsedOptions : void 0;
|
|
3265
3265
|
a.push({
|
|
3266
3266
|
type: z.literal,
|
|
3267
|
-
value: i.getDateTimeFormat(t, f).format(
|
|
3267
|
+
value: i.getDateTimeFormat(t, f).format(p)
|
|
3268
3268
|
});
|
|
3269
3269
|
continue;
|
|
3270
3270
|
}
|
|
3271
|
-
if (
|
|
3272
|
-
var f = typeof l.style == "string" ? r.time[l.style] :
|
|
3271
|
+
if (wi(l)) {
|
|
3272
|
+
var f = typeof l.style == "string" ? r.time[l.style] : at(l.style) ? l.style.parsedOptions : r.time.medium;
|
|
3273
3273
|
a.push({
|
|
3274
3274
|
type: z.literal,
|
|
3275
|
-
value: i.getDateTimeFormat(t, f).format(
|
|
3275
|
+
value: i.getDateTimeFormat(t, f).format(p)
|
|
3276
3276
|
});
|
|
3277
3277
|
continue;
|
|
3278
3278
|
}
|
|
3279
|
-
if (
|
|
3280
|
-
var f = typeof l.style == "string" ? r.number[l.style] :
|
|
3281
|
-
f && f.scale && (
|
|
3279
|
+
if (xi(l)) {
|
|
3280
|
+
var f = typeof l.style == "string" ? r.number[l.style] : Bi(l.style) ? l.style.parsedOptions : void 0;
|
|
3281
|
+
f && f.scale && (p = p * (f.scale || 1)), a.push({
|
|
3282
3282
|
type: z.literal,
|
|
3283
|
-
value: i.getNumberFormat(t, f).format(
|
|
3283
|
+
value: i.getNumberFormat(t, f).format(p)
|
|
3284
3284
|
});
|
|
3285
3285
|
continue;
|
|
3286
3286
|
}
|
|
3287
|
-
if (
|
|
3288
|
-
var
|
|
3289
|
-
if (!
|
|
3290
|
-
throw new
|
|
3291
|
-
var
|
|
3292
|
-
return
|
|
3287
|
+
if (Ai(l)) {
|
|
3288
|
+
var m = l.children, _ = l.value, R = n[_];
|
|
3289
|
+
if (!Vn(R))
|
|
3290
|
+
throw new Gn(_, "function", s);
|
|
3291
|
+
var B = Oe(m, t, i, r, n, o), S = R(B.map(function(L) {
|
|
3292
|
+
return L.value;
|
|
3293
3293
|
}));
|
|
3294
|
-
Array.isArray(
|
|
3294
|
+
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
|
|
3295
3295
|
return {
|
|
3296
|
-
type: typeof
|
|
3297
|
-
value:
|
|
3296
|
+
type: typeof L == "string" ? z.literal : z.object,
|
|
3297
|
+
value: L
|
|
3298
3298
|
};
|
|
3299
3299
|
}));
|
|
3300
3300
|
}
|
|
3301
|
-
if (
|
|
3302
|
-
var
|
|
3303
|
-
if (!
|
|
3304
|
-
throw new
|
|
3305
|
-
a.push.apply(a,
|
|
3301
|
+
if (Si(l)) {
|
|
3302
|
+
var E = l.options[p] || l.options.other;
|
|
3303
|
+
if (!E)
|
|
3304
|
+
throw new Gt(l.value, p, Object.keys(l.options), s);
|
|
3305
|
+
a.push.apply(a, Oe(E.value, t, i, r, n));
|
|
3306
3306
|
continue;
|
|
3307
3307
|
}
|
|
3308
|
-
if (
|
|
3309
|
-
var
|
|
3310
|
-
if (!
|
|
3308
|
+
if (Pi(l)) {
|
|
3309
|
+
var E = l.options["=".concat(p)];
|
|
3310
|
+
if (!E) {
|
|
3311
3311
|
if (!Intl.PluralRules)
|
|
3312
|
-
throw new
|
|
3312
|
+
throw new Fe(`Intl.PluralRules is not available in this environment.
|
|
3313
3313
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3314
|
-
`,
|
|
3315
|
-
var
|
|
3316
|
-
|
|
3314
|
+
`, he.MISSING_INTL_API, s);
|
|
3315
|
+
var k = i.getPluralRules(t, { type: l.pluralType }).select(p - (l.offset || 0));
|
|
3316
|
+
E = l.options[k] || l.options.other;
|
|
3317
3317
|
}
|
|
3318
|
-
if (!
|
|
3319
|
-
throw new
|
|
3320
|
-
a.push.apply(a,
|
|
3318
|
+
if (!E)
|
|
3319
|
+
throw new Gt(l.value, p, Object.keys(l.options), s);
|
|
3320
|
+
a.push.apply(a, Oe(E.value, t, i, r, n, p - (l.offset || 0)));
|
|
3321
3321
|
continue;
|
|
3322
3322
|
}
|
|
3323
3323
|
}
|
|
3324
|
-
return
|
|
3324
|
+
return Wn(a);
|
|
3325
3325
|
}
|
|
3326
|
-
function
|
|
3326
|
+
function Xn(e, t) {
|
|
3327
3327
|
return t ? Y(Y(Y({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
|
|
3328
3328
|
return i[r] = Y(Y({}, e[r]), t[r] || {}), i;
|
|
3329
3329
|
}, {})) : e;
|
|
3330
3330
|
}
|
|
3331
|
-
function
|
|
3331
|
+
function Zn(e, t) {
|
|
3332
3332
|
return t ? Object.keys(e).reduce(function(i, r) {
|
|
3333
|
-
return i[r] =
|
|
3333
|
+
return i[r] = Xn(e[r], t[r]), i;
|
|
3334
3334
|
}, Y({}, e)) : e;
|
|
3335
3335
|
}
|
|
3336
|
-
function
|
|
3336
|
+
function it(e) {
|
|
3337
3337
|
return {
|
|
3338
3338
|
create: function() {
|
|
3339
3339
|
return {
|
|
@@ -3347,39 +3347,39 @@ function et(e) {
|
|
|
3347
3347
|
}
|
|
3348
3348
|
};
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function Yn(e) {
|
|
3351
3351
|
return e === void 0 && (e = {
|
|
3352
3352
|
number: {},
|
|
3353
3353
|
dateTime: {},
|
|
3354
3354
|
pluralRules: {}
|
|
3355
3355
|
}), {
|
|
3356
|
-
getNumberFormat:
|
|
3356
|
+
getNumberFormat: Ke(function() {
|
|
3357
3357
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3358
3358
|
i[r] = arguments[r];
|
|
3359
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3359
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], i, !1)))();
|
|
3360
3360
|
}, {
|
|
3361
|
-
cache:
|
|
3362
|
-
strategy:
|
|
3361
|
+
cache: it(e.number),
|
|
3362
|
+
strategy: et.variadic
|
|
3363
3363
|
}),
|
|
3364
|
-
getDateTimeFormat:
|
|
3364
|
+
getDateTimeFormat: Ke(function() {
|
|
3365
3365
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3366
3366
|
i[r] = arguments[r];
|
|
3367
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3367
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], i, !1)))();
|
|
3368
3368
|
}, {
|
|
3369
|
-
cache:
|
|
3370
|
-
strategy:
|
|
3369
|
+
cache: it(e.dateTime),
|
|
3370
|
+
strategy: et.variadic
|
|
3371
3371
|
}),
|
|
3372
|
-
getPluralRules:
|
|
3372
|
+
getPluralRules: Ke(function() {
|
|
3373
3373
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3374
3374
|
i[r] = arguments[r];
|
|
3375
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3375
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], i, !1)))();
|
|
3376
3376
|
}, {
|
|
3377
|
-
cache:
|
|
3378
|
-
strategy:
|
|
3377
|
+
cache: it(e.pluralRules),
|
|
3378
|
+
strategy: et.variadic
|
|
3379
3379
|
})
|
|
3380
3380
|
};
|
|
3381
3381
|
}
|
|
3382
|
-
var
|
|
3382
|
+
var qn = (
|
|
3383
3383
|
/** @class */
|
|
3384
3384
|
function() {
|
|
3385
3385
|
function e(t, i, r, n) {
|
|
@@ -3393,12 +3393,12 @@ var Zn = (
|
|
|
3393
3393
|
var u = o.formatToParts(c);
|
|
3394
3394
|
if (u.length === 1)
|
|
3395
3395
|
return u[0].value;
|
|
3396
|
-
var l = u.reduce(function(h,
|
|
3397
|
-
return !h.length ||
|
|
3396
|
+
var l = u.reduce(function(h, p) {
|
|
3397
|
+
return !h.length || p.type !== z.literal || typeof h[h.length - 1] != "string" ? h.push(p.value) : h[h.length - 1] += p.value, h;
|
|
3398
3398
|
}, []);
|
|
3399
3399
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3400
3400
|
}, this.formatToParts = function(c) {
|
|
3401
|
-
return
|
|
3401
|
+
return Oe(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3402
3402
|
}, this.resolvedOptions = function() {
|
|
3403
3403
|
var c;
|
|
3404
3404
|
return {
|
|
@@ -3411,13 +3411,13 @@ var Zn = (
|
|
|
3411
3411
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3412
3412
|
var s = n || {};
|
|
3413
3413
|
s.formatters;
|
|
3414
|
-
var a =
|
|
3414
|
+
var a = on(s, ["formatters"]);
|
|
3415
3415
|
this.ast = e.__parse(t, Y(Y({}, a), { locale: this.resolvedLocale }));
|
|
3416
3416
|
} else
|
|
3417
3417
|
this.ast = t;
|
|
3418
3418
|
if (!Array.isArray(this.ast))
|
|
3419
3419
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3420
|
-
this.formats =
|
|
3420
|
+
this.formats = Zn(e.formats, r), this.formatters = n && n.formatters || Yn(this.formatterCache);
|
|
3421
3421
|
}
|
|
3422
3422
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3423
3423
|
get: function() {
|
|
@@ -3430,7 +3430,7 @@ var Zn = (
|
|
|
3430
3430
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3431
3431
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3432
3432
|
}
|
|
3433
|
-
}, e.__parse =
|
|
3433
|
+
}, e.__parse = Fn, e.formats = {
|
|
3434
3434
|
number: {
|
|
3435
3435
|
integer: {
|
|
3436
3436
|
maximumFractionDigits: 0
|
|
@@ -3491,7 +3491,7 @@ var Zn = (
|
|
|
3491
3491
|
}, e;
|
|
3492
3492
|
}()
|
|
3493
3493
|
);
|
|
3494
|
-
function
|
|
3494
|
+
function Jn(e, t) {
|
|
3495
3495
|
if (t == null)
|
|
3496
3496
|
return;
|
|
3497
3497
|
if (t in e)
|
|
@@ -3512,92 +3512,92 @@ function Yn(e, t) {
|
|
|
3512
3512
|
r = void 0;
|
|
3513
3513
|
return r;
|
|
3514
3514
|
}
|
|
3515
|
-
const
|
|
3515
|
+
const K = {}, Qn = (e, t, i) => i && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = i), i), Di = (e, t) => {
|
|
3516
3516
|
if (t == null)
|
|
3517
3517
|
return;
|
|
3518
|
-
if (t in
|
|
3519
|
-
return
|
|
3520
|
-
const i =
|
|
3518
|
+
if (t in K && e in K[t])
|
|
3519
|
+
return K[t][e];
|
|
3520
|
+
const i = Ge(t);
|
|
3521
3521
|
for (let r = 0; r < i.length; r++) {
|
|
3522
|
-
const n = i[r], o =
|
|
3522
|
+
const n = i[r], o = eo(n, e);
|
|
3523
3523
|
if (o)
|
|
3524
|
-
return
|
|
3524
|
+
return Qn(e, t, o);
|
|
3525
3525
|
}
|
|
3526
3526
|
};
|
|
3527
|
-
let
|
|
3528
|
-
const
|
|
3529
|
-
function
|
|
3530
|
-
return
|
|
3527
|
+
let Lt;
|
|
3528
|
+
const we = Ue({});
|
|
3529
|
+
function Kn(e) {
|
|
3530
|
+
return Lt[e] || null;
|
|
3531
3531
|
}
|
|
3532
|
-
function
|
|
3533
|
-
return e in
|
|
3532
|
+
function Ri(e) {
|
|
3533
|
+
return e in Lt;
|
|
3534
3534
|
}
|
|
3535
|
-
function
|
|
3536
|
-
if (!
|
|
3535
|
+
function eo(e, t) {
|
|
3536
|
+
if (!Ri(e))
|
|
3537
3537
|
return null;
|
|
3538
|
-
const i =
|
|
3539
|
-
return
|
|
3538
|
+
const i = Kn(e);
|
|
3539
|
+
return Jn(i, t);
|
|
3540
3540
|
}
|
|
3541
|
-
function
|
|
3541
|
+
function to(e) {
|
|
3542
3542
|
if (e == null)
|
|
3543
3543
|
return;
|
|
3544
|
-
const t =
|
|
3544
|
+
const t = Ge(e);
|
|
3545
3545
|
for (let i = 0; i < t.length; i++) {
|
|
3546
3546
|
const r = t[i];
|
|
3547
|
-
if (
|
|
3547
|
+
if (Ri(r))
|
|
3548
3548
|
return r;
|
|
3549
3549
|
}
|
|
3550
3550
|
}
|
|
3551
|
-
function
|
|
3552
|
-
delete
|
|
3551
|
+
function ji(e, ...t) {
|
|
3552
|
+
delete K[e], we.update((i) => (i[e] = nn.all([i[e] || {}, ...t]), i));
|
|
3553
3553
|
}
|
|
3554
|
-
|
|
3555
|
-
[
|
|
3554
|
+
pe(
|
|
3555
|
+
[we],
|
|
3556
3556
|
([e]) => Object.keys(e)
|
|
3557
3557
|
);
|
|
3558
|
-
|
|
3559
|
-
const
|
|
3560
|
-
function
|
|
3561
|
-
|
|
3558
|
+
we.subscribe((e) => Lt = e);
|
|
3559
|
+
const Ie = {};
|
|
3560
|
+
function io(e, t) {
|
|
3561
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
3562
3562
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return
|
|
3563
|
+
function Ui(e) {
|
|
3564
|
+
return Ie[e];
|
|
3565
3565
|
}
|
|
3566
|
-
function
|
|
3567
|
-
return
|
|
3568
|
-
const i =
|
|
3566
|
+
function ro(e) {
|
|
3567
|
+
return Ge(e).map((t) => {
|
|
3568
|
+
const i = Ui(t);
|
|
3569
3569
|
return [t, i ? [...i] : []];
|
|
3570
3570
|
}).filter(([, t]) => t.length > 0);
|
|
3571
3571
|
}
|
|
3572
|
-
function
|
|
3573
|
-
return e == null ? !1 :
|
|
3572
|
+
function pt(e) {
|
|
3573
|
+
return e == null ? !1 : Ge(e).some(
|
|
3574
3574
|
(t) => {
|
|
3575
3575
|
var i;
|
|
3576
|
-
return (i =
|
|
3576
|
+
return (i = Ui(t)) == null ? void 0 : i.size;
|
|
3577
3577
|
}
|
|
3578
3578
|
);
|
|
3579
3579
|
}
|
|
3580
|
-
function
|
|
3580
|
+
function no(e, t) {
|
|
3581
3581
|
return Promise.all(
|
|
3582
|
-
t.map((r) => (
|
|
3583
|
-
).then((r) =>
|
|
3584
|
-
}
|
|
3585
|
-
const
|
|
3586
|
-
function
|
|
3587
|
-
if (!
|
|
3588
|
-
return e in
|
|
3589
|
-
const t =
|
|
3590
|
-
return
|
|
3582
|
+
t.map((r) => (io(e, r), r().then((n) => n.default || n)))
|
|
3583
|
+
).then((r) => ji(e, ...r));
|
|
3584
|
+
}
|
|
3585
|
+
const ye = {};
|
|
3586
|
+
function $i(e) {
|
|
3587
|
+
if (!pt(e))
|
|
3588
|
+
return e in ye ? ye[e] : Promise.resolve();
|
|
3589
|
+
const t = ro(e);
|
|
3590
|
+
return ye[e] = Promise.all(
|
|
3591
3591
|
t.map(
|
|
3592
|
-
([i, r]) =>
|
|
3592
|
+
([i, r]) => no(i, r)
|
|
3593
3593
|
)
|
|
3594
3594
|
).then(() => {
|
|
3595
|
-
if (
|
|
3596
|
-
return
|
|
3597
|
-
delete
|
|
3598
|
-
}),
|
|
3595
|
+
if (pt(e))
|
|
3596
|
+
return $i(e);
|
|
3597
|
+
delete ye[e];
|
|
3598
|
+
}), ye[e];
|
|
3599
3599
|
}
|
|
3600
|
-
const
|
|
3600
|
+
const oo = {
|
|
3601
3601
|
number: {
|
|
3602
3602
|
scientific: { notation: "scientific" },
|
|
3603
3603
|
engineering: { notation: "engineering" },
|
|
@@ -3626,135 +3626,135 @@ const ro = {
|
|
|
3626
3626
|
timeZoneName: "short"
|
|
3627
3627
|
}
|
|
3628
3628
|
}
|
|
3629
|
-
},
|
|
3629
|
+
}, so = {
|
|
3630
3630
|
fallbackLocale: null,
|
|
3631
3631
|
loadingDelay: 200,
|
|
3632
|
-
formats:
|
|
3632
|
+
formats: oo,
|
|
3633
3633
|
warnOnMissingMessages: !0,
|
|
3634
3634
|
handleMissingMessage: void 0,
|
|
3635
3635
|
ignoreTag: !0
|
|
3636
|
-
},
|
|
3637
|
-
function
|
|
3638
|
-
return
|
|
3636
|
+
}, ao = so;
|
|
3637
|
+
function fe() {
|
|
3638
|
+
return ao;
|
|
3639
3639
|
}
|
|
3640
|
-
const
|
|
3641
|
-
var
|
|
3640
|
+
const rt = Ue(!1);
|
|
3641
|
+
var uo = Object.defineProperty, lo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, Wt = (e, t, i) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, po = (e, t) => {
|
|
3642
3642
|
for (var i in t || (t = {}))
|
|
3643
|
-
|
|
3644
|
-
if (
|
|
3645
|
-
for (var i of
|
|
3646
|
-
|
|
3643
|
+
ho.call(t, i) && Wt(e, i, t[i]);
|
|
3644
|
+
if (zt)
|
|
3645
|
+
for (var i of zt(t))
|
|
3646
|
+
fo.call(t, i) && Wt(e, i, t[i]);
|
|
3647
3647
|
return e;
|
|
3648
|
-
},
|
|
3649
|
-
let
|
|
3650
|
-
const
|
|
3651
|
-
function
|
|
3648
|
+
}, mo = (e, t) => lo(e, co(t));
|
|
3649
|
+
let mt;
|
|
3650
|
+
const De = Ue(null);
|
|
3651
|
+
function Vt(e) {
|
|
3652
3652
|
return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
|
|
3653
3653
|
}
|
|
3654
|
-
function
|
|
3655
|
-
const i =
|
|
3656
|
-
return t ? [.../* @__PURE__ */ new Set([...i, ...
|
|
3654
|
+
function Ge(e, t = fe().fallbackLocale) {
|
|
3655
|
+
const i = Vt(e);
|
|
3656
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...Vt(t)])] : i;
|
|
3657
3657
|
}
|
|
3658
3658
|
function re() {
|
|
3659
|
-
return
|
|
3659
|
+
return mt != null ? mt : void 0;
|
|
3660
3660
|
}
|
|
3661
|
-
|
|
3662
|
-
|
|
3661
|
+
De.subscribe((e) => {
|
|
3662
|
+
mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3663
3663
|
});
|
|
3664
|
-
const
|
|
3665
|
-
if (e &&
|
|
3666
|
-
const { loadingDelay: t } =
|
|
3664
|
+
const bo = (e) => {
|
|
3665
|
+
if (e && to(e) && pt(e)) {
|
|
3666
|
+
const { loadingDelay: t } = fe();
|
|
3667
3667
|
let i;
|
|
3668
3668
|
return typeof window != "undefined" && re() != null && t ? i = window.setTimeout(
|
|
3669
|
-
() =>
|
|
3669
|
+
() => rt.set(!0),
|
|
3670
3670
|
t
|
|
3671
|
-
) :
|
|
3672
|
-
|
|
3671
|
+
) : rt.set(!0), $i(e).then(() => {
|
|
3672
|
+
De.set(e);
|
|
3673
3673
|
}).finally(() => {
|
|
3674
|
-
clearTimeout(i),
|
|
3674
|
+
clearTimeout(i), rt.set(!1);
|
|
3675
3675
|
});
|
|
3676
3676
|
}
|
|
3677
|
-
return
|
|
3678
|
-
}, me =
|
|
3679
|
-
set:
|
|
3680
|
-
}),
|
|
3677
|
+
return De.set(e);
|
|
3678
|
+
}, me = mo(po({}, De), {
|
|
3679
|
+
set: bo
|
|
3680
|
+
}), ze = (e) => {
|
|
3681
3681
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3682
3682
|
return (r) => {
|
|
3683
3683
|
const n = JSON.stringify(r);
|
|
3684
3684
|
return n in t ? t[n] : t[n] = e(r);
|
|
3685
3685
|
};
|
|
3686
3686
|
};
|
|
3687
|
-
var
|
|
3687
|
+
var go = Object.defineProperty, Re = Object.getOwnPropertySymbols, Fi = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Xt = (e, t, i) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
|
|
3688
3688
|
for (var i in t || (t = {}))
|
|
3689
|
-
|
|
3690
|
-
if (
|
|
3691
|
-
for (var i of
|
|
3692
|
-
|
|
3689
|
+
Fi.call(t, i) && Xt(e, i, t[i]);
|
|
3690
|
+
if (Re)
|
|
3691
|
+
for (var i of Re(t))
|
|
3692
|
+
Gi.call(t, i) && Xt(e, i, t[i]);
|
|
3693
3693
|
return e;
|
|
3694
|
-
},
|
|
3694
|
+
}, de = (e, t) => {
|
|
3695
3695
|
var i = {};
|
|
3696
3696
|
for (var r in e)
|
|
3697
|
-
|
|
3698
|
-
if (e != null &&
|
|
3699
|
-
for (var r of
|
|
3700
|
-
t.indexOf(r) < 0 &&
|
|
3697
|
+
Fi.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
3698
|
+
if (e != null && Re)
|
|
3699
|
+
for (var r of Re(e))
|
|
3700
|
+
t.indexOf(r) < 0 && Gi.call(e, r) && (i[r] = e[r]);
|
|
3701
3701
|
return i;
|
|
3702
3702
|
};
|
|
3703
|
-
const
|
|
3704
|
-
const { formats: i } =
|
|
3703
|
+
const Te = (e, t) => {
|
|
3704
|
+
const { formats: i } = fe();
|
|
3705
3705
|
if (e in i && t in i[e])
|
|
3706
3706
|
return i[e][t];
|
|
3707
3707
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3708
|
-
},
|
|
3708
|
+
}, yo = ze(
|
|
3709
3709
|
(e) => {
|
|
3710
|
-
var t = e, { locale: i, format: r } = t, n =
|
|
3710
|
+
var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
|
|
3711
3711
|
if (i == null)
|
|
3712
3712
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3713
|
-
return r && (n =
|
|
3713
|
+
return r && (n = Te("number", r)), new Intl.NumberFormat(i, n);
|
|
3714
3714
|
}
|
|
3715
|
-
),
|
|
3715
|
+
), vo = ze(
|
|
3716
3716
|
(e) => {
|
|
3717
|
-
var t = e, { locale: i, format: r } = t, n =
|
|
3717
|
+
var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
|
|
3718
3718
|
if (i == null)
|
|
3719
3719
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3720
|
-
return r ? n =
|
|
3720
|
+
return r ? n = Te("date", r) : Object.keys(n).length === 0 && (n = Te("date", "short")), new Intl.DateTimeFormat(i, n);
|
|
3721
3721
|
}
|
|
3722
|
-
),
|
|
3722
|
+
), _o = ze(
|
|
3723
3723
|
(e) => {
|
|
3724
|
-
var t = e, { locale: i, format: r } = t, n =
|
|
3724
|
+
var t = e, { locale: i, format: r } = t, n = de(t, ["locale", "format"]);
|
|
3725
3725
|
if (i == null)
|
|
3726
3726
|
throw new Error(
|
|
3727
3727
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3728
3728
|
);
|
|
3729
|
-
return r ? n =
|
|
3729
|
+
return r ? n = Te("time", r) : Object.keys(n).length === 0 && (n = Te("time", "short")), new Intl.DateTimeFormat(i, n);
|
|
3730
3730
|
}
|
|
3731
|
-
),
|
|
3731
|
+
), Eo = (e = {}) => {
|
|
3732
3732
|
var t = e, {
|
|
3733
3733
|
locale: i = re()
|
|
3734
|
-
} = t, r =
|
|
3734
|
+
} = t, r = de(t, [
|
|
3735
3735
|
"locale"
|
|
3736
3736
|
]);
|
|
3737
|
-
return
|
|
3738
|
-
},
|
|
3737
|
+
return yo(xt({ locale: i }, r));
|
|
3738
|
+
}, Lo = (e = {}) => {
|
|
3739
3739
|
var t = e, {
|
|
3740
3740
|
locale: i = re()
|
|
3741
|
-
} = t, r =
|
|
3741
|
+
} = t, r = de(t, [
|
|
3742
3742
|
"locale"
|
|
3743
3743
|
]);
|
|
3744
|
-
return
|
|
3745
|
-
},
|
|
3744
|
+
return vo(xt({ locale: i }, r));
|
|
3745
|
+
}, xo = (e = {}) => {
|
|
3746
3746
|
var t = e, {
|
|
3747
3747
|
locale: i = re()
|
|
3748
|
-
} = t, r =
|
|
3748
|
+
} = t, r = de(t, [
|
|
3749
3749
|
"locale"
|
|
3750
3750
|
]);
|
|
3751
|
-
return
|
|
3752
|
-
},
|
|
3751
|
+
return _o(xt({ locale: i }, r));
|
|
3752
|
+
}, To = ze(
|
|
3753
3753
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3754
|
-
(e, t = re()) => new
|
|
3755
|
-
ignoreTag:
|
|
3754
|
+
(e, t = re()) => new qn(e, t, fe().formats, {
|
|
3755
|
+
ignoreTag: fe().ignoreTag
|
|
3756
3756
|
})
|
|
3757
|
-
),
|
|
3757
|
+
), wo = (e, t = {}) => {
|
|
3758
3758
|
var i, r, n, o;
|
|
3759
3759
|
let s = t;
|
|
3760
3760
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -3767,9 +3767,9 @@ const Le = (e, t) => {
|
|
|
3767
3767
|
throw new Error(
|
|
3768
3768
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3769
3769
|
);
|
|
3770
|
-
let l =
|
|
3770
|
+
let l = Di(e, c);
|
|
3771
3771
|
if (!l)
|
|
3772
|
-
l = (o = (n = (r = (i =
|
|
3772
|
+
l = (o = (n = (r = (i = fe()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: c, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
3773
3773
|
else if (typeof l != "string")
|
|
3774
3774
|
return console.warn(
|
|
3775
3775
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3778,26 +3778,26 @@ const Le = (e, t) => {
|
|
|
3778
3778
|
return l;
|
|
3779
3779
|
let h = l;
|
|
3780
3780
|
try {
|
|
3781
|
-
h =
|
|
3782
|
-
} catch (
|
|
3783
|
-
|
|
3781
|
+
h = To(l, c).format(a);
|
|
3782
|
+
} catch (p) {
|
|
3783
|
+
p instanceof Error && console.warn(
|
|
3784
3784
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3785
|
-
|
|
3785
|
+
p.message
|
|
3786
3786
|
);
|
|
3787
3787
|
}
|
|
3788
3788
|
return h;
|
|
3789
|
-
},
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
function
|
|
3795
|
-
|
|
3796
|
-
}
|
|
3797
|
-
function
|
|
3789
|
+
}, So = (e, t) => xo(t).format(e), Po = (e, t) => Lo(t).format(e), Ao = (e, t) => Eo(t).format(e), Bo = (e, t = re()) => Di(e, t), No = pe([me, we], () => wo);
|
|
3790
|
+
pe([me], () => So);
|
|
3791
|
+
pe([me], () => Po);
|
|
3792
|
+
pe([me], () => Ao);
|
|
3793
|
+
pe([me, we], () => Bo);
|
|
3794
|
+
function Zt(e, t) {
|
|
3795
|
+
ji(e, t);
|
|
3796
|
+
}
|
|
3797
|
+
function Oo(e) {
|
|
3798
3798
|
me.set(e);
|
|
3799
3799
|
}
|
|
3800
|
-
const
|
|
3800
|
+
const Yt = {
|
|
3801
3801
|
en: {
|
|
3802
3802
|
loadingText: "Loading, please wait...",
|
|
3803
3803
|
Monthly: "per month",
|
|
@@ -4264,24 +4264,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
4264
4264
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4265
4265
|
PERFORMANCE OF THIS SOFTWARE.
|
|
4266
4266
|
***************************************************************************** */
|
|
4267
|
-
var
|
|
4268
|
-
return
|
|
4267
|
+
var dt = function(e, t) {
|
|
4268
|
+
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
4269
4269
|
i.__proto__ = r;
|
|
4270
4270
|
} || function(i, r) {
|
|
4271
4271
|
for (var n in r)
|
|
4272
4272
|
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
4273
|
-
},
|
|
4273
|
+
}, dt(e, t);
|
|
4274
4274
|
};
|
|
4275
|
-
function
|
|
4275
|
+
function Se(e, t) {
|
|
4276
4276
|
if (typeof t != "function" && t !== null)
|
|
4277
4277
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
4278
|
-
|
|
4278
|
+
dt(e, t);
|
|
4279
4279
|
function i() {
|
|
4280
4280
|
this.constructor = e;
|
|
4281
4281
|
}
|
|
4282
4282
|
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
4283
4283
|
}
|
|
4284
|
-
function
|
|
4284
|
+
function bt(e) {
|
|
4285
4285
|
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
|
|
4286
4286
|
if (i)
|
|
4287
4287
|
return i.call(e);
|
|
@@ -4293,7 +4293,7 @@ function pt(e) {
|
|
|
4293
4293
|
};
|
|
4294
4294
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4295
4295
|
}
|
|
4296
|
-
function
|
|
4296
|
+
function gt(e, t) {
|
|
4297
4297
|
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4298
4298
|
if (!i)
|
|
4299
4299
|
return e;
|
|
@@ -4313,7 +4313,7 @@ function dt(e, t) {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
return o;
|
|
4315
4315
|
}
|
|
4316
|
-
function
|
|
4316
|
+
function yt(e, t, i) {
|
|
4317
4317
|
if (arguments.length === 2)
|
|
4318
4318
|
for (var r = 0, n = t.length, o; r < n; r++)
|
|
4319
4319
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
@@ -4322,13 +4322,13 @@ function bt(e, t, i) {
|
|
|
4322
4322
|
function Q(e) {
|
|
4323
4323
|
return typeof e == "function";
|
|
4324
4324
|
}
|
|
4325
|
-
function
|
|
4325
|
+
function zi(e) {
|
|
4326
4326
|
var t = function(r) {
|
|
4327
4327
|
Error.call(r), r.stack = new Error().stack;
|
|
4328
4328
|
}, i = e(t);
|
|
4329
4329
|
return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
|
|
4330
4330
|
}
|
|
4331
|
-
var
|
|
4331
|
+
var nt = zi(function(e) {
|
|
4332
4332
|
return function(i) {
|
|
4333
4333
|
e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
|
|
4334
4334
|
` + i.map(function(r, n) {
|
|
@@ -4337,13 +4337,13 @@ var it = Fi(function(e) {
|
|
|
4337
4337
|
`) : "", this.name = "UnsubscriptionError", this.errors = i;
|
|
4338
4338
|
};
|
|
4339
4339
|
});
|
|
4340
|
-
function
|
|
4340
|
+
function vt(e, t) {
|
|
4341
4341
|
if (e) {
|
|
4342
4342
|
var i = e.indexOf(t);
|
|
4343
4343
|
0 <= i && e.splice(i, 1);
|
|
4344
4344
|
}
|
|
4345
4345
|
}
|
|
4346
|
-
var
|
|
4346
|
+
var We = function() {
|
|
4347
4347
|
function e(t) {
|
|
4348
4348
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
4349
4349
|
}
|
|
@@ -4355,7 +4355,7 @@ var Ge = function() {
|
|
|
4355
4355
|
if (s)
|
|
4356
4356
|
if (this._parentage = null, Array.isArray(s))
|
|
4357
4357
|
try {
|
|
4358
|
-
for (var a =
|
|
4358
|
+
for (var a = bt(s), c = a.next(); !c.done; c = a.next()) {
|
|
4359
4359
|
var u = c.value;
|
|
4360
4360
|
u.remove(this);
|
|
4361
4361
|
}
|
|
@@ -4376,25 +4376,25 @@ var Ge = function() {
|
|
|
4376
4376
|
try {
|
|
4377
4377
|
l();
|
|
4378
4378
|
} catch (_) {
|
|
4379
|
-
o = _ instanceof
|
|
4379
|
+
o = _ instanceof nt ? _.errors : [_];
|
|
4380
4380
|
}
|
|
4381
4381
|
var h = this._finalizers;
|
|
4382
4382
|
if (h) {
|
|
4383
4383
|
this._finalizers = null;
|
|
4384
4384
|
try {
|
|
4385
|
-
for (var
|
|
4386
|
-
var
|
|
4385
|
+
for (var p = bt(h), f = p.next(); !f.done; f = p.next()) {
|
|
4386
|
+
var m = f.value;
|
|
4387
4387
|
try {
|
|
4388
|
-
|
|
4388
|
+
qt(m);
|
|
4389
4389
|
} catch (_) {
|
|
4390
|
-
o = o != null ? o : [], _ instanceof
|
|
4390
|
+
o = o != null ? o : [], _ instanceof nt ? o = yt(yt([], gt(o)), gt(_.errors)) : o.push(_);
|
|
4391
4391
|
}
|
|
4392
4392
|
}
|
|
4393
4393
|
} catch (_) {
|
|
4394
4394
|
r = { error: _ };
|
|
4395
4395
|
} finally {
|
|
4396
4396
|
try {
|
|
4397
|
-
f && !f.done && (n =
|
|
4397
|
+
f && !f.done && (n = p.return) && n.call(p);
|
|
4398
4398
|
} finally {
|
|
4399
4399
|
if (r)
|
|
4400
4400
|
throw r.error;
|
|
@@ -4402,13 +4402,13 @@ var Ge = function() {
|
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
4404
|
if (o)
|
|
4405
|
-
throw new
|
|
4405
|
+
throw new nt(o);
|
|
4406
4406
|
}
|
|
4407
4407
|
}, e.prototype.add = function(t) {
|
|
4408
4408
|
var i;
|
|
4409
4409
|
if (t && t !== this)
|
|
4410
4410
|
if (this.closed)
|
|
4411
|
-
|
|
4411
|
+
qt(t);
|
|
4412
4412
|
else {
|
|
4413
4413
|
if (t instanceof e) {
|
|
4414
4414
|
if (t.closed || t._hasParent(this))
|
|
@@ -4425,52 +4425,52 @@ var Ge = function() {
|
|
|
4425
4425
|
this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
|
|
4426
4426
|
}, e.prototype._removeParent = function(t) {
|
|
4427
4427
|
var i = this._parentage;
|
|
4428
|
-
i === t ? this._parentage = null : Array.isArray(i) &&
|
|
4428
|
+
i === t ? this._parentage = null : Array.isArray(i) && vt(i, t);
|
|
4429
4429
|
}, e.prototype.remove = function(t) {
|
|
4430
4430
|
var i = this._finalizers;
|
|
4431
|
-
i &&
|
|
4431
|
+
i && vt(i, t), t instanceof e && t._removeParent(this);
|
|
4432
4432
|
}, e.EMPTY = function() {
|
|
4433
4433
|
var t = new e();
|
|
4434
4434
|
return t.closed = !0, t;
|
|
4435
4435
|
}(), e;
|
|
4436
|
-
}(),
|
|
4437
|
-
function
|
|
4438
|
-
return e instanceof
|
|
4436
|
+
}(), Wi = We.EMPTY;
|
|
4437
|
+
function Vi(e) {
|
|
4438
|
+
return e instanceof We || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
|
|
4439
4439
|
}
|
|
4440
|
-
function
|
|
4440
|
+
function qt(e) {
|
|
4441
4441
|
Q(e) ? e() : e.unsubscribe();
|
|
4442
4442
|
}
|
|
4443
|
-
var
|
|
4443
|
+
var Io = {
|
|
4444
4444
|
Promise: void 0
|
|
4445
|
-
},
|
|
4445
|
+
}, Ho = {
|
|
4446
4446
|
setTimeout: function(e, t) {
|
|
4447
4447
|
for (var i = [], r = 2; r < arguments.length; r++)
|
|
4448
4448
|
i[r - 2] = arguments[r];
|
|
4449
|
-
return setTimeout.apply(void 0,
|
|
4449
|
+
return setTimeout.apply(void 0, yt([e, t], gt(i)));
|
|
4450
4450
|
},
|
|
4451
4451
|
clearTimeout: function(e) {
|
|
4452
4452
|
return clearTimeout(e);
|
|
4453
4453
|
},
|
|
4454
4454
|
delegate: void 0
|
|
4455
4455
|
};
|
|
4456
|
-
function
|
|
4457
|
-
|
|
4456
|
+
function Mo(e) {
|
|
4457
|
+
Ho.setTimeout(function() {
|
|
4458
4458
|
throw e;
|
|
4459
4459
|
});
|
|
4460
4460
|
}
|
|
4461
|
-
function
|
|
4461
|
+
function Jt() {
|
|
4462
4462
|
}
|
|
4463
|
-
function
|
|
4463
|
+
function He(e) {
|
|
4464
4464
|
e();
|
|
4465
4465
|
}
|
|
4466
|
-
var
|
|
4467
|
-
|
|
4466
|
+
var Xi = function(e) {
|
|
4467
|
+
Se(t, e);
|
|
4468
4468
|
function t(i) {
|
|
4469
4469
|
var r = e.call(this) || this;
|
|
4470
|
-
return r.isStopped = !1, i ? (r.destination = i,
|
|
4470
|
+
return r.isStopped = !1, i ? (r.destination = i, Vi(i) && i.add(r)) : r.destination = Do, r;
|
|
4471
4471
|
}
|
|
4472
4472
|
return t.create = function(i, r, n) {
|
|
4473
|
-
return new
|
|
4473
|
+
return new _t(i, r, n);
|
|
4474
4474
|
}, t.prototype.next = function(i) {
|
|
4475
4475
|
this.isStopped || this._next(i);
|
|
4476
4476
|
}, t.prototype.error = function(i) {
|
|
@@ -4494,7 +4494,7 @@ var Wi = function(e) {
|
|
|
4494
4494
|
this.unsubscribe();
|
|
4495
4495
|
}
|
|
4496
4496
|
}, t;
|
|
4497
|
-
}(
|
|
4497
|
+
}(We), Co = function() {
|
|
4498
4498
|
function e(t) {
|
|
4499
4499
|
this.partialObserver = t;
|
|
4500
4500
|
}
|
|
@@ -4504,7 +4504,7 @@ var Wi = function(e) {
|
|
|
4504
4504
|
try {
|
|
4505
4505
|
i.next(t);
|
|
4506
4506
|
} catch (r) {
|
|
4507
|
-
|
|
4507
|
+
Be(r);
|
|
4508
4508
|
}
|
|
4509
4509
|
}, e.prototype.error = function(t) {
|
|
4510
4510
|
var i = this.partialObserver;
|
|
@@ -4512,56 +4512,56 @@ var Wi = function(e) {
|
|
|
4512
4512
|
try {
|
|
4513
4513
|
i.error(t);
|
|
4514
4514
|
} catch (r) {
|
|
4515
|
-
|
|
4515
|
+
Be(r);
|
|
4516
4516
|
}
|
|
4517
4517
|
else
|
|
4518
|
-
|
|
4518
|
+
Be(t);
|
|
4519
4519
|
}, e.prototype.complete = function() {
|
|
4520
4520
|
var t = this.partialObserver;
|
|
4521
4521
|
if (t.complete)
|
|
4522
4522
|
try {
|
|
4523
4523
|
t.complete();
|
|
4524
4524
|
} catch (i) {
|
|
4525
|
-
|
|
4525
|
+
Be(i);
|
|
4526
4526
|
}
|
|
4527
4527
|
}, e;
|
|
4528
|
-
}(),
|
|
4529
|
-
|
|
4528
|
+
}(), _t = function(e) {
|
|
4529
|
+
Se(t, e);
|
|
4530
4530
|
function t(i, r, n) {
|
|
4531
4531
|
var o = e.call(this) || this, s;
|
|
4532
4532
|
return Q(i) || !i ? s = {
|
|
4533
4533
|
next: i != null ? i : void 0,
|
|
4534
4534
|
error: r != null ? r : void 0,
|
|
4535
4535
|
complete: n != null ? n : void 0
|
|
4536
|
-
} : s = i, o.destination = new
|
|
4536
|
+
} : s = i, o.destination = new Co(s), o;
|
|
4537
4537
|
}
|
|
4538
4538
|
return t;
|
|
4539
|
-
}(
|
|
4540
|
-
function
|
|
4541
|
-
|
|
4539
|
+
}(Xi);
|
|
4540
|
+
function Be(e) {
|
|
4541
|
+
Mo(e);
|
|
4542
4542
|
}
|
|
4543
|
-
function
|
|
4543
|
+
function ko(e) {
|
|
4544
4544
|
throw e;
|
|
4545
4545
|
}
|
|
4546
|
-
var
|
|
4546
|
+
var Do = {
|
|
4547
4547
|
closed: !0,
|
|
4548
|
-
next:
|
|
4549
|
-
error:
|
|
4550
|
-
complete:
|
|
4551
|
-
},
|
|
4548
|
+
next: Jt,
|
|
4549
|
+
error: ko,
|
|
4550
|
+
complete: Jt
|
|
4551
|
+
}, Ro = function() {
|
|
4552
4552
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4553
4553
|
}();
|
|
4554
|
-
function
|
|
4554
|
+
function jo(e) {
|
|
4555
4555
|
return e;
|
|
4556
4556
|
}
|
|
4557
|
-
function
|
|
4558
|
-
return e.length === 0 ?
|
|
4557
|
+
function Uo(e) {
|
|
4558
|
+
return e.length === 0 ? jo : e.length === 1 ? e[0] : function(i) {
|
|
4559
4559
|
return e.reduce(function(r, n) {
|
|
4560
4560
|
return n(r);
|
|
4561
4561
|
}, i);
|
|
4562
4562
|
};
|
|
4563
4563
|
}
|
|
4564
|
-
var
|
|
4564
|
+
var Qt = function() {
|
|
4565
4565
|
function e(t) {
|
|
4566
4566
|
t && (this._subscribe = t);
|
|
4567
4567
|
}
|
|
@@ -4569,8 +4569,8 @@ var qt = function() {
|
|
|
4569
4569
|
var i = new e();
|
|
4570
4570
|
return i.source = this, i.operator = t, i;
|
|
4571
4571
|
}, e.prototype.subscribe = function(t, i, r) {
|
|
4572
|
-
var n = this, o =
|
|
4573
|
-
return
|
|
4572
|
+
var n = this, o = Fo(t) ? t : new _t(t, i, r);
|
|
4573
|
+
return He(function() {
|
|
4574
4574
|
var s = n, a = s.operator, c = s.source;
|
|
4575
4575
|
o.add(a ? a.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
|
|
4576
4576
|
}), o;
|
|
@@ -4582,8 +4582,8 @@ var qt = function() {
|
|
|
4582
4582
|
}
|
|
4583
4583
|
}, e.prototype.forEach = function(t, i) {
|
|
4584
4584
|
var r = this;
|
|
4585
|
-
return i =
|
|
4586
|
-
var s = new
|
|
4585
|
+
return i = Kt(i), new i(function(n, o) {
|
|
4586
|
+
var s = new _t({
|
|
4587
4587
|
next: function(a) {
|
|
4588
4588
|
try {
|
|
4589
4589
|
t(a);
|
|
@@ -4599,15 +4599,15 @@ var qt = function() {
|
|
|
4599
4599
|
}, e.prototype._subscribe = function(t) {
|
|
4600
4600
|
var i;
|
|
4601
4601
|
return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
|
|
4602
|
-
}, e.prototype[
|
|
4602
|
+
}, e.prototype[Ro] = function() {
|
|
4603
4603
|
return this;
|
|
4604
4604
|
}, e.prototype.pipe = function() {
|
|
4605
4605
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
4606
4606
|
t[i] = arguments[i];
|
|
4607
|
-
return
|
|
4607
|
+
return Uo(t)(this);
|
|
4608
4608
|
}, e.prototype.toPromise = function(t) {
|
|
4609
4609
|
var i = this;
|
|
4610
|
-
return t =
|
|
4610
|
+
return t = Kt(t), new t(function(r, n) {
|
|
4611
4611
|
var o;
|
|
4612
4612
|
i.subscribe(function(s) {
|
|
4613
4613
|
return o = s;
|
|
@@ -4621,40 +4621,40 @@ var qt = function() {
|
|
|
4621
4621
|
return new e(t);
|
|
4622
4622
|
}, e;
|
|
4623
4623
|
}();
|
|
4624
|
-
function
|
|
4624
|
+
function Kt(e) {
|
|
4625
4625
|
var t;
|
|
4626
|
-
return (t = e != null ? e :
|
|
4626
|
+
return (t = e != null ? e : Io.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4627
4627
|
}
|
|
4628
|
-
function
|
|
4628
|
+
function $o(e) {
|
|
4629
4629
|
return e && Q(e.next) && Q(e.error) && Q(e.complete);
|
|
4630
4630
|
}
|
|
4631
|
-
function
|
|
4632
|
-
return e && e instanceof
|
|
4631
|
+
function Fo(e) {
|
|
4632
|
+
return e && e instanceof Xi || $o(e) && Vi(e);
|
|
4633
4633
|
}
|
|
4634
|
-
var
|
|
4634
|
+
var Go = zi(function(e) {
|
|
4635
4635
|
return function() {
|
|
4636
4636
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4637
4637
|
};
|
|
4638
|
-
}),
|
|
4639
|
-
|
|
4638
|
+
}), Zi = function(e) {
|
|
4639
|
+
Se(t, e);
|
|
4640
4640
|
function t() {
|
|
4641
4641
|
var i = e.call(this) || this;
|
|
4642
4642
|
return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
|
|
4643
4643
|
}
|
|
4644
4644
|
return t.prototype.lift = function(i) {
|
|
4645
|
-
var r = new
|
|
4645
|
+
var r = new ei(this, this);
|
|
4646
4646
|
return r.operator = i, r;
|
|
4647
4647
|
}, t.prototype._throwIfClosed = function() {
|
|
4648
4648
|
if (this.closed)
|
|
4649
|
-
throw new
|
|
4649
|
+
throw new Go();
|
|
4650
4650
|
}, t.prototype.next = function(i) {
|
|
4651
4651
|
var r = this;
|
|
4652
|
-
|
|
4652
|
+
He(function() {
|
|
4653
4653
|
var n, o;
|
|
4654
4654
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4655
4655
|
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
4656
4656
|
try {
|
|
4657
|
-
for (var s =
|
|
4657
|
+
for (var s = bt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4658
4658
|
var c = a.value;
|
|
4659
4659
|
c.next(i);
|
|
4660
4660
|
}
|
|
@@ -4672,7 +4672,7 @@ var $o = Fi(function(e) {
|
|
|
4672
4672
|
});
|
|
4673
4673
|
}, t.prototype.error = function(i) {
|
|
4674
4674
|
var r = this;
|
|
4675
|
-
|
|
4675
|
+
He(function() {
|
|
4676
4676
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4677
4677
|
r.hasError = r.isStopped = !0, r.thrownError = i;
|
|
4678
4678
|
for (var n = r.observers; n.length; )
|
|
@@ -4681,7 +4681,7 @@ var $o = Fi(function(e) {
|
|
|
4681
4681
|
});
|
|
4682
4682
|
}, t.prototype.complete = function() {
|
|
4683
4683
|
var i = this;
|
|
4684
|
-
|
|
4684
|
+
He(function() {
|
|
4685
4685
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4686
4686
|
i.isStopped = !0;
|
|
4687
4687
|
for (var r = i.observers; r.length; )
|
|
@@ -4703,20 +4703,20 @@ var $o = Fi(function(e) {
|
|
|
4703
4703
|
return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
|
|
4704
4704
|
}, t.prototype._innerSubscribe = function(i) {
|
|
4705
4705
|
var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4706
|
-
return o || s ?
|
|
4707
|
-
r.currentObservers = null,
|
|
4706
|
+
return o || s ? Wi : (this.currentObservers = null, a.push(i), new We(function() {
|
|
4707
|
+
r.currentObservers = null, vt(a, i);
|
|
4708
4708
|
}));
|
|
4709
4709
|
}, t.prototype._checkFinalizedStatuses = function(i) {
|
|
4710
4710
|
var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
4711
4711
|
n ? i.error(o) : s && i.complete();
|
|
4712
4712
|
}, t.prototype.asObservable = function() {
|
|
4713
|
-
var i = new
|
|
4713
|
+
var i = new Qt();
|
|
4714
4714
|
return i.source = this, i;
|
|
4715
4715
|
}, t.create = function(i, r) {
|
|
4716
|
-
return new
|
|
4716
|
+
return new ei(i, r);
|
|
4717
4717
|
}, t;
|
|
4718
|
-
}(
|
|
4719
|
-
|
|
4718
|
+
}(Qt), ei = function(e) {
|
|
4719
|
+
Se(t, e);
|
|
4720
4720
|
function t(i, r) {
|
|
4721
4721
|
var n = e.call(this) || this;
|
|
4722
4722
|
return n.destination = i, n.source = r, n;
|
|
@@ -4732,17 +4732,17 @@ var $o = Fi(function(e) {
|
|
|
4732
4732
|
(r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
|
|
4733
4733
|
}, t.prototype._subscribe = function(i) {
|
|
4734
4734
|
var r, n;
|
|
4735
|
-
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n :
|
|
4735
|
+
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Wi;
|
|
4736
4736
|
}, t;
|
|
4737
|
-
}(
|
|
4737
|
+
}(Zi), Yi = {
|
|
4738
4738
|
now: function() {
|
|
4739
|
-
return (
|
|
4739
|
+
return (Yi.delegate || Date).now();
|
|
4740
4740
|
},
|
|
4741
4741
|
delegate: void 0
|
|
4742
|
-
},
|
|
4743
|
-
|
|
4742
|
+
}, zo = function(e) {
|
|
4743
|
+
Se(t, e);
|
|
4744
4744
|
function t(i, r, n) {
|
|
4745
|
-
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n =
|
|
4745
|
+
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Yi);
|
|
4746
4746
|
var o = e.call(this) || this;
|
|
4747
4747
|
return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
|
|
4748
4748
|
}
|
|
@@ -4762,24 +4762,25 @@ var $o = Fi(function(e) {
|
|
|
4762
4762
|
u && o.splice(0, u + 1);
|
|
4763
4763
|
}
|
|
4764
4764
|
}, t;
|
|
4765
|
-
}(
|
|
4766
|
-
const
|
|
4767
|
-
if (
|
|
4768
|
-
const i = new
|
|
4769
|
-
|
|
4765
|
+
}(Zi);
|
|
4766
|
+
const ti = [], ii = {}, Wo = (e, t = 0) => {
|
|
4767
|
+
if (ti.indexOf(e) == -1) {
|
|
4768
|
+
const i = new zo(t);
|
|
4769
|
+
ii[e] = i, ti.push(e);
|
|
4770
4770
|
}
|
|
4771
|
-
return
|
|
4771
|
+
return ii[e];
|
|
4772
4772
|
};
|
|
4773
|
-
window.emWidgets = { topic:
|
|
4774
|
-
const
|
|
4773
|
+
window.emWidgets = { topic: Wo };
|
|
4774
|
+
const Vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4775
4775
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4776
|
-
|
|
4776
|
+
const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4777
|
+
function Xo(e, t) {
|
|
4777
4778
|
if (e) {
|
|
4778
4779
|
const i = document.createElement("style");
|
|
4779
4780
|
i.innerHTML = t, e.appendChild(i);
|
|
4780
4781
|
}
|
|
4781
4782
|
}
|
|
4782
|
-
function
|
|
4783
|
+
function Zo(e, t) {
|
|
4783
4784
|
if (!e || !t)
|
|
4784
4785
|
return;
|
|
4785
4786
|
const i = new URL(t);
|
|
@@ -4790,39 +4791,67 @@ function Vo(e, t) {
|
|
|
4790
4791
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
4791
4792
|
});
|
|
4792
4793
|
}
|
|
4793
|
-
function
|
|
4794
|
-
if (window.emMessageBus)
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4794
|
+
function Yo(e, t, i, r = !1) {
|
|
4795
|
+
if (!window.emMessageBus)
|
|
4796
|
+
return;
|
|
4797
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !r)
|
|
4798
|
+
return i = qo(e, t), i;
|
|
4799
|
+
window[ae] || (window[ae] = {}), i = Jo(e, t);
|
|
4800
|
+
const o = i.unsubscribe.bind(i), s = () => {
|
|
4801
|
+
if (window[ae][t]) {
|
|
4802
|
+
const a = window[ae][t];
|
|
4803
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[ae][t];
|
|
4804
|
+
}
|
|
4805
|
+
o();
|
|
4806
|
+
};
|
|
4807
|
+
return i.unsubscribe = s, i;
|
|
4808
|
+
}
|
|
4809
|
+
function qo(e, t) {
|
|
4810
|
+
const i = document.createElement("style");
|
|
4811
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4812
|
+
e && (i.innerHTML = r, e.appendChild(i));
|
|
4813
|
+
});
|
|
4814
|
+
}
|
|
4815
|
+
function Jo(e, t) {
|
|
4816
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
4817
|
+
var a;
|
|
4818
|
+
if (!e)
|
|
4819
|
+
return;
|
|
4820
|
+
const r = e.getRootNode(), n = window[ae];
|
|
4821
|
+
let o = (a = n[t]) == null ? void 0 : a.sheet;
|
|
4822
|
+
o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(i), n[t] = {
|
|
4823
|
+
sheet: o,
|
|
4824
|
+
refCount: 1
|
|
4798
4825
|
});
|
|
4799
|
-
|
|
4826
|
+
const s = r.adoptedStyleSheets || [];
|
|
4827
|
+
s.includes(o) || (r.adoptedStyleSheets = [...s, o]);
|
|
4828
|
+
});
|
|
4800
4829
|
}
|
|
4801
|
-
function
|
|
4802
|
-
|
|
4830
|
+
function Qo(e) {
|
|
4831
|
+
_r(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}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-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
|
|
4803
4832
|
}
|
|
4804
|
-
function
|
|
4833
|
+
function ri(e, t, i) {
|
|
4805
4834
|
const r = e.slice();
|
|
4806
4835
|
return r[50] = t[i], r;
|
|
4807
4836
|
}
|
|
4808
|
-
function
|
|
4837
|
+
function ni(e, t, i) {
|
|
4809
4838
|
const r = e.slice();
|
|
4810
4839
|
return r[53] = t[i], r;
|
|
4811
4840
|
}
|
|
4812
|
-
function
|
|
4841
|
+
function oi(e, t, i) {
|
|
4813
4842
|
const r = e.slice();
|
|
4814
4843
|
return r[53] = t[i], r;
|
|
4815
4844
|
}
|
|
4816
|
-
function
|
|
4845
|
+
function si(e, t, i) {
|
|
4817
4846
|
const r = e.slice();
|
|
4818
4847
|
return r[58] = t[i], r;
|
|
4819
4848
|
}
|
|
4820
|
-
function
|
|
4849
|
+
function ai(e) {
|
|
4821
4850
|
let t, i;
|
|
4822
4851
|
function r(s, a) {
|
|
4823
4852
|
return (
|
|
4824
4853
|
/*popupReady*/
|
|
4825
|
-
s[11] ?
|
|
4854
|
+
s[11] ? Ko : es
|
|
4826
4855
|
);
|
|
4827
4856
|
}
|
|
4828
4857
|
let n = r(e), o = n(e);
|
|
@@ -4832,31 +4861,31 @@ function oi(e) {
|
|
|
4832
4861
|
(e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
|
|
4833
4862
|
},
|
|
4834
4863
|
m(s, a) {
|
|
4835
|
-
|
|
4864
|
+
A(s, t, a), d(t, i), o.m(i, null);
|
|
4836
4865
|
},
|
|
4837
4866
|
p(s, a) {
|
|
4838
4867
|
n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
|
|
4839
4868
|
},
|
|
4840
4869
|
d(s) {
|
|
4841
|
-
s &&
|
|
4870
|
+
s && P(t), o.d();
|
|
4842
4871
|
}
|
|
4843
4872
|
};
|
|
4844
4873
|
}
|
|
4845
|
-
function
|
|
4874
|
+
function Ko(e) {
|
|
4846
4875
|
let t, i, r = (
|
|
4847
4876
|
/*$_*/
|
|
4848
4877
|
e[13]("popupTitle") + ""
|
|
4849
|
-
), n, o, s, a, c, u, l, h,
|
|
4850
|
-
e[9] &&
|
|
4878
|
+
), n, o, s, a, c, u, l, h, p, f, m, _, R, B = !/*limitError*/
|
|
4879
|
+
e[9] && ui(e);
|
|
4851
4880
|
return {
|
|
4852
4881
|
c() {
|
|
4853
|
-
t = v("div"), i = v("span"), n =
|
|
4882
|
+
t = v("div"), i = v("span"), n = F(r), o = $(), s = v("button"), s.textContent = "X", a = $(), c = v("div"), u = v("div"), B && B.c(), l = $(), h = v("p"), p = F(
|
|
4854
4883
|
/*popupContent*/
|
|
4855
4884
|
e[12]
|
|
4856
|
-
), f =
|
|
4885
|
+
), f = $(), m = v("button"), m.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(m, "class", "ConfirmButton");
|
|
4857
4886
|
},
|
|
4858
|
-
m(
|
|
4859
|
-
|
|
4887
|
+
m(S, E) {
|
|
4888
|
+
A(S, t, E), d(t, i), d(i, n), d(t, o), d(t, s), A(S, a, E), A(S, c, E), d(c, u), B && B.m(u, null), d(c, l), d(c, h), d(h, p), A(S, f, E), A(S, m, E), _ || (R = [
|
|
4860
4889
|
q(
|
|
4861
4890
|
s,
|
|
4862
4891
|
"click",
|
|
@@ -4864,68 +4893,68 @@ function Yo(e) {
|
|
|
4864
4893
|
e[20]
|
|
4865
4894
|
),
|
|
4866
4895
|
q(
|
|
4867
|
-
|
|
4896
|
+
m,
|
|
4868
4897
|
"click",
|
|
4869
4898
|
/*closePopup*/
|
|
4870
4899
|
e[20]
|
|
4871
4900
|
)
|
|
4872
4901
|
], _ = !0);
|
|
4873
4902
|
},
|
|
4874
|
-
p(
|
|
4875
|
-
|
|
4903
|
+
p(S, E) {
|
|
4904
|
+
E[0] & /*$_*/
|
|
4876
4905
|
8192 && r !== (r = /*$_*/
|
|
4877
|
-
|
|
4878
|
-
|
|
4906
|
+
S[13]("popupTitle") + "") && W(n, r), /*limitError*/
|
|
4907
|
+
S[9] ? B && (B.d(1), B = null) : B ? B.p(S, E) : (B = ui(S), B.c(), B.m(u, null)), E[0] & /*popupContent*/
|
|
4879
4908
|
4096 && W(
|
|
4880
|
-
|
|
4909
|
+
p,
|
|
4881
4910
|
/*popupContent*/
|
|
4882
|
-
|
|
4911
|
+
S[12]
|
|
4883
4912
|
);
|
|
4884
4913
|
},
|
|
4885
|
-
d(
|
|
4886
|
-
|
|
4914
|
+
d(S) {
|
|
4915
|
+
S && (P(t), P(a), P(c), P(f), P(m)), B && B.d(), _ = !1, te(R);
|
|
4887
4916
|
}
|
|
4888
4917
|
};
|
|
4889
4918
|
}
|
|
4890
|
-
function
|
|
4919
|
+
function es(e) {
|
|
4891
4920
|
let t;
|
|
4892
4921
|
return {
|
|
4893
4922
|
c() {
|
|
4894
4923
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
4895
4924
|
},
|
|
4896
4925
|
m(i, r) {
|
|
4897
|
-
|
|
4926
|
+
A(i, t, r);
|
|
4898
4927
|
},
|
|
4899
4928
|
p: j,
|
|
4900
4929
|
d(i) {
|
|
4901
|
-
i &&
|
|
4930
|
+
i && P(t);
|
|
4902
4931
|
}
|
|
4903
4932
|
};
|
|
4904
4933
|
}
|
|
4905
|
-
function
|
|
4934
|
+
function ui(e) {
|
|
4906
4935
|
let t, i, r, n, o, s, a, c, u = (
|
|
4907
4936
|
/*$_*/
|
|
4908
4937
|
e[13]("popupSuccess") + ""
|
|
4909
4938
|
), l;
|
|
4910
4939
|
return {
|
|
4911
4940
|
c() {
|
|
4912
|
-
t =
|
|
4913
|
-
`), o =
|
|
4941
|
+
t = ge("svg"), i = ge("defs"), r = ge("style"), n = F(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4942
|
+
`), o = ge("g"), s = ge("polygon"), a = $(), c = v("p"), l = F(u), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), qe(t, "shape-rendering", "geometricPrecision"), qe(t, "text-rendering", "geometricPrecision"), qe(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
|
|
4914
4943
|
},
|
|
4915
|
-
m(h,
|
|
4916
|
-
|
|
4944
|
+
m(h, p) {
|
|
4945
|
+
A(h, t, p), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), A(h, a, p), A(h, c, p), d(c, l);
|
|
4917
4946
|
},
|
|
4918
|
-
p(h,
|
|
4919
|
-
|
|
4947
|
+
p(h, p) {
|
|
4948
|
+
p[0] & /*$_*/
|
|
4920
4949
|
8192 && u !== (u = /*$_*/
|
|
4921
4950
|
h[13]("popupSuccess") + "") && W(l, u);
|
|
4922
4951
|
},
|
|
4923
4952
|
d(h) {
|
|
4924
|
-
h && (
|
|
4953
|
+
h && (P(t), P(a), P(c));
|
|
4925
4954
|
}
|
|
4926
4955
|
};
|
|
4927
4956
|
}
|
|
4928
|
-
function
|
|
4957
|
+
function ts(e) {
|
|
4929
4958
|
let t, i, r, n, o, s, a, c, u, l = (
|
|
4930
4959
|
/*multiplePeriods*/
|
|
4931
4960
|
e[6] ? `${/*$_*/
|
|
@@ -4934,40 +4963,40 @@ function Jo(e) {
|
|
|
4934
4963
|
e[13](`gamingLimits.${/*selectedPeriod*/
|
|
4935
4964
|
e[2]}`)} ${/*$_*/
|
|
4936
4965
|
e[13]("limit")}`
|
|
4937
|
-
), h,
|
|
4966
|
+
), h, p, f, m, _, R = (
|
|
4938
4967
|
/*$_*/
|
|
4939
4968
|
e[13]("setLimit") + ""
|
|
4940
|
-
),
|
|
4969
|
+
), B, S, E, k = ee(
|
|
4941
4970
|
/*availableLimits*/
|
|
4942
4971
|
e[15]
|
|
4943
|
-
),
|
|
4944
|
-
for (let
|
|
4945
|
-
|
|
4946
|
-
let
|
|
4972
|
+
), L = [];
|
|
4973
|
+
for (let x = 0; x < k.length; x += 1)
|
|
4974
|
+
L[x] = ci(oi(e, k, x));
|
|
4975
|
+
let O = (
|
|
4947
4976
|
/*multipleLimits*/
|
|
4948
|
-
e[5] &&
|
|
4977
|
+
e[5] && hi(e)
|
|
4949
4978
|
), D = (
|
|
4950
4979
|
/*multiplePeriods*/
|
|
4951
|
-
e[6] &&
|
|
4980
|
+
e[6] && pi(e)
|
|
4952
4981
|
);
|
|
4953
4982
|
return {
|
|
4954
4983
|
c() {
|
|
4955
4984
|
t = v("div"), i = v("div"), r = v("div");
|
|
4956
|
-
for (let
|
|
4957
|
-
|
|
4958
|
-
n =
|
|
4985
|
+
for (let x = 0; x < L.length; x += 1)
|
|
4986
|
+
L[x].c();
|
|
4987
|
+
n = $(), o = v("form"), O && O.c(), s = $(), D && D.c(), a = $(), c = v("label"), u = v("span"), h = F(l), p = $(), f = v("input"), m = $(), _ = v("button"), B = F(R), g(r, "class", "LimitsList " + /*isDesktop*/
|
|
4959
4988
|
(e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(f, "type", "number"), g(f, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
4960
4989
|
(e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
|
|
4961
4990
|
},
|
|
4962
|
-
m(
|
|
4963
|
-
|
|
4964
|
-
for (let
|
|
4965
|
-
|
|
4966
|
-
d(i, n), d(i, o),
|
|
4991
|
+
m(x, U) {
|
|
4992
|
+
A(x, t, U), d(t, i), d(i, r);
|
|
4993
|
+
for (let H = 0; H < L.length; H += 1)
|
|
4994
|
+
L[H] && L[H].m(r, null);
|
|
4995
|
+
d(i, n), d(i, o), O && O.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, u), d(u, h), d(o, p), d(o, f), _e(
|
|
4967
4996
|
f,
|
|
4968
4997
|
/*inputAmount*/
|
|
4969
4998
|
e[3]
|
|
4970
|
-
), d(o,
|
|
4999
|
+
), d(o, m), d(o, _), d(_, B), e[35](_), S || (E = [
|
|
4971
5000
|
q(
|
|
4972
5001
|
f,
|
|
4973
5002
|
"input",
|
|
@@ -4992,92 +5021,92 @@ function Jo(e) {
|
|
|
4992
5021
|
/*updateLimits*/
|
|
4993
5022
|
e[17]
|
|
4994
5023
|
)
|
|
4995
|
-
],
|
|
5024
|
+
], S = !0);
|
|
4996
5025
|
},
|
|
4997
|
-
p(
|
|
4998
|
-
if (
|
|
5026
|
+
p(x, U) {
|
|
5027
|
+
if (U[0] & /*isDesktop, availableLimits, removeLimit, $_*/
|
|
4999
5028
|
581632) {
|
|
5000
|
-
|
|
5029
|
+
k = ee(
|
|
5001
5030
|
/*availableLimits*/
|
|
5002
|
-
|
|
5031
|
+
x[15]
|
|
5003
5032
|
);
|
|
5004
|
-
let
|
|
5005
|
-
for (
|
|
5006
|
-
const
|
|
5007
|
-
|
|
5033
|
+
let H;
|
|
5034
|
+
for (H = 0; H < k.length; H += 1) {
|
|
5035
|
+
const ie = oi(x, k, H);
|
|
5036
|
+
L[H] ? L[H].p(ie, U) : (L[H] = ci(ie), L[H].c(), L[H].m(r, null));
|
|
5008
5037
|
}
|
|
5009
|
-
for (;
|
|
5010
|
-
|
|
5011
|
-
|
|
5038
|
+
for (; H < L.length; H += 1)
|
|
5039
|
+
L[H].d(1);
|
|
5040
|
+
L.length = k.length;
|
|
5012
5041
|
}
|
|
5013
5042
|
/*multipleLimits*/
|
|
5014
|
-
|
|
5015
|
-
|
|
5043
|
+
x[5] ? O ? O.p(x, U) : (O = hi(x), O.c(), O.m(o, s)) : O && (O.d(1), O = null), /*multiplePeriods*/
|
|
5044
|
+
x[6] ? D ? D.p(x, U) : (D = pi(x), D.c(), D.m(o, a)) : D && (D.d(1), D = null), U[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
5016
5045
|
8260 && l !== (l = /*multiplePeriods*/
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
8 &&
|
|
5024
|
-
|
|
5046
|
+
x[6] ? `${/*$_*/
|
|
5047
|
+
x[13]("amount")}` : `${/*$_*/
|
|
5048
|
+
x[13]("new")} ${/*$_*/
|
|
5049
|
+
x[13](`gamingLimits.${/*selectedPeriod*/
|
|
5050
|
+
x[2]}`)} ${/*$_*/
|
|
5051
|
+
x[13]("limit")}`) && W(h, l), U[0] & /*inputAmount*/
|
|
5052
|
+
8 && yi(f.value) !== /*inputAmount*/
|
|
5053
|
+
x[3] && _e(
|
|
5025
5054
|
f,
|
|
5026
5055
|
/*inputAmount*/
|
|
5027
|
-
|
|
5028
|
-
),
|
|
5056
|
+
x[3]
|
|
5057
|
+
), U[0] & /*$_*/
|
|
5029
5058
|
8192 && R !== (R = /*$_*/
|
|
5030
|
-
|
|
5059
|
+
x[13]("setLimit") + "") && W(B, R);
|
|
5031
5060
|
},
|
|
5032
|
-
d(
|
|
5033
|
-
|
|
5061
|
+
d(x) {
|
|
5062
|
+
x && P(t), je(L, x), O && O.d(), D && D.d(), e[35](null), S = !1, te(E);
|
|
5034
5063
|
}
|
|
5035
5064
|
};
|
|
5036
5065
|
}
|
|
5037
|
-
function
|
|
5066
|
+
function is(e) {
|
|
5038
5067
|
let t;
|
|
5039
5068
|
return {
|
|
5040
5069
|
c() {
|
|
5041
5070
|
t = v("p"), t.textContent = "500 Server error";
|
|
5042
5071
|
},
|
|
5043
5072
|
m(i, r) {
|
|
5044
|
-
|
|
5073
|
+
A(i, t, r);
|
|
5045
5074
|
},
|
|
5046
5075
|
p: j,
|
|
5047
5076
|
d(i) {
|
|
5048
|
-
i &&
|
|
5077
|
+
i && P(t);
|
|
5049
5078
|
}
|
|
5050
5079
|
};
|
|
5051
5080
|
}
|
|
5052
|
-
function
|
|
5081
|
+
function rs(e) {
|
|
5053
5082
|
return { c: j, m: j, p: j, d: j };
|
|
5054
5083
|
}
|
|
5055
|
-
function
|
|
5084
|
+
function ns(e) {
|
|
5056
5085
|
let t;
|
|
5057
5086
|
return {
|
|
5058
5087
|
c() {
|
|
5059
5088
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
5060
5089
|
},
|
|
5061
5090
|
m(i, r) {
|
|
5062
|
-
|
|
5091
|
+
A(i, t, r);
|
|
5063
5092
|
},
|
|
5064
5093
|
p: j,
|
|
5065
5094
|
d(i) {
|
|
5066
|
-
i &&
|
|
5095
|
+
i && P(t);
|
|
5067
5096
|
}
|
|
5068
5097
|
};
|
|
5069
5098
|
}
|
|
5070
|
-
function
|
|
5099
|
+
function os(e) {
|
|
5071
5100
|
let t, i, r, n = (
|
|
5072
5101
|
/*$_*/
|
|
5073
5102
|
e[13]("noLimitText") + ""
|
|
5074
5103
|
), o;
|
|
5075
5104
|
return {
|
|
5076
5105
|
c() {
|
|
5077
|
-
t = v("div"), i = v("div"), r = v("div"), o =
|
|
5106
|
+
t = v("div"), i = v("div"), r = v("div"), o = F(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
|
|
5078
5107
|
},
|
|
5079
5108
|
m(s, a) {
|
|
5080
|
-
|
|
5109
|
+
A(s, t, a), d(t, i), d(i, r), d(r, o);
|
|
5081
5110
|
},
|
|
5082
5111
|
p(s, a) {
|
|
5083
5112
|
a[0] & /*$_*/
|
|
@@ -5085,39 +5114,39 @@ function ts(e) {
|
|
|
5085
5114
|
s[13]("noLimitText") + "") && W(o, n);
|
|
5086
5115
|
},
|
|
5087
5116
|
d(s) {
|
|
5088
|
-
s &&
|
|
5117
|
+
s && P(t);
|
|
5089
5118
|
}
|
|
5090
5119
|
};
|
|
5091
5120
|
}
|
|
5092
|
-
function
|
|
5093
|
-
let t, i =
|
|
5121
|
+
function ss(e) {
|
|
5122
|
+
let t, i = ee(
|
|
5094
5123
|
/*limit*/
|
|
5095
5124
|
e[53].currentLimits
|
|
5096
5125
|
), r = [];
|
|
5097
5126
|
for (let n = 0; n < i.length; n += 1)
|
|
5098
|
-
r[n] =
|
|
5127
|
+
r[n] = li(si(e, i, n));
|
|
5099
5128
|
return {
|
|
5100
5129
|
c() {
|
|
5101
5130
|
for (let n = 0; n < r.length; n += 1)
|
|
5102
5131
|
r[n].c();
|
|
5103
|
-
t =
|
|
5132
|
+
t = xr();
|
|
5104
5133
|
},
|
|
5105
5134
|
m(n, o) {
|
|
5106
5135
|
for (let s = 0; s < r.length; s += 1)
|
|
5107
5136
|
r[s] && r[s].m(n, o);
|
|
5108
|
-
|
|
5137
|
+
A(n, t, o);
|
|
5109
5138
|
},
|
|
5110
5139
|
p(n, o) {
|
|
5111
5140
|
if (o[0] & /*removeLimit, availableLimits, $_*/
|
|
5112
5141
|
565248) {
|
|
5113
|
-
i =
|
|
5142
|
+
i = ee(
|
|
5114
5143
|
/*limit*/
|
|
5115
5144
|
n[53].currentLimits
|
|
5116
5145
|
);
|
|
5117
5146
|
let s;
|
|
5118
5147
|
for (s = 0; s < i.length; s += 1) {
|
|
5119
|
-
const a =
|
|
5120
|
-
r[s] ? r[s].p(a, o) : (r[s] =
|
|
5148
|
+
const a = si(n, i, s);
|
|
5149
|
+
r[s] ? r[s].p(a, o) : (r[s] = li(a), r[s].c(), r[s].m(t.parentNode, t));
|
|
5121
5150
|
}
|
|
5122
5151
|
for (; s < r.length; s += 1)
|
|
5123
5152
|
r[s].d(1);
|
|
@@ -5125,20 +5154,20 @@ function is(e) {
|
|
|
5125
5154
|
}
|
|
5126
5155
|
},
|
|
5127
5156
|
d(n) {
|
|
5128
|
-
n &&
|
|
5157
|
+
n && P(t), je(r, n);
|
|
5129
5158
|
}
|
|
5130
5159
|
};
|
|
5131
5160
|
}
|
|
5132
|
-
function
|
|
5161
|
+
function as(e) {
|
|
5133
5162
|
let t, i = `${/*$_*/
|
|
5134
5163
|
e[13]("removedLimitText")} ${/*currentLimit*/
|
|
5135
5164
|
e[58].expiryDate}`, r;
|
|
5136
5165
|
return {
|
|
5137
5166
|
c() {
|
|
5138
|
-
t = v("div"), r =
|
|
5167
|
+
t = v("div"), r = F(i), g(t, "class", "PendingLimit");
|
|
5139
5168
|
},
|
|
5140
5169
|
m(n, o) {
|
|
5141
|
-
|
|
5170
|
+
A(n, t, o), d(t, r);
|
|
5142
5171
|
},
|
|
5143
5172
|
p(n, o) {
|
|
5144
5173
|
o[0] & /*$_*/
|
|
@@ -5147,11 +5176,11 @@ function rs(e) {
|
|
|
5147
5176
|
n[58].expiryDate}`) && W(r, i);
|
|
5148
5177
|
},
|
|
5149
5178
|
d(n) {
|
|
5150
|
-
n &&
|
|
5179
|
+
n && P(t);
|
|
5151
5180
|
}
|
|
5152
5181
|
};
|
|
5153
5182
|
}
|
|
5154
|
-
function
|
|
5183
|
+
function us(e) {
|
|
5155
5184
|
let t, i = `${/*currentLimit*/
|
|
5156
5185
|
e[58].updateAmount}${/*currentLimit*/
|
|
5157
5186
|
e[58].currency} ${/*$_*/
|
|
@@ -5161,10 +5190,10 @@ function ns(e) {
|
|
|
5161
5190
|
e[58].expiryDate}`, r;
|
|
5162
5191
|
return {
|
|
5163
5192
|
c() {
|
|
5164
|
-
t = v("div"), r =
|
|
5193
|
+
t = v("div"), r = F(i), g(t, "class", "PendingLimit");
|
|
5165
5194
|
},
|
|
5166
5195
|
m(n, o) {
|
|
5167
|
-
|
|
5196
|
+
A(n, t, o), d(t, r);
|
|
5168
5197
|
},
|
|
5169
5198
|
p(n, o) {
|
|
5170
5199
|
o[0] & /*$_*/
|
|
@@ -5177,11 +5206,11 @@ function ns(e) {
|
|
|
5177
5206
|
n[58].expiryDate}`) && W(r, i);
|
|
5178
5207
|
},
|
|
5179
5208
|
d(n) {
|
|
5180
|
-
n &&
|
|
5209
|
+
n && P(t);
|
|
5181
5210
|
}
|
|
5182
5211
|
};
|
|
5183
5212
|
}
|
|
5184
|
-
function
|
|
5213
|
+
function ls(e) {
|
|
5185
5214
|
let t, i = (
|
|
5186
5215
|
/*$_*/
|
|
5187
5216
|
e[13]("gamingLimits.removeLimit") + ""
|
|
@@ -5197,10 +5226,10 @@ function os(e) {
|
|
|
5197
5226
|
}
|
|
5198
5227
|
return {
|
|
5199
5228
|
c() {
|
|
5200
|
-
t = v("button"), r =
|
|
5229
|
+
t = v("button"), r = F(i), g(t, "class", "RemoveLimitButton");
|
|
5201
5230
|
},
|
|
5202
5231
|
m(a, c) {
|
|
5203
|
-
|
|
5232
|
+
A(a, t, c), d(t, r), n || (o = q(t, "click", s), n = !0);
|
|
5204
5233
|
},
|
|
5205
5234
|
p(a, c) {
|
|
5206
5235
|
e = a, c[0] & /*$_*/
|
|
@@ -5208,53 +5237,53 @@ function os(e) {
|
|
|
5208
5237
|
e[13]("gamingLimits.removeLimit") + "") && W(r, i);
|
|
5209
5238
|
},
|
|
5210
5239
|
d(a) {
|
|
5211
|
-
a &&
|
|
5240
|
+
a && P(t), n = !1, o();
|
|
5212
5241
|
}
|
|
5213
5242
|
};
|
|
5214
5243
|
}
|
|
5215
|
-
function
|
|
5244
|
+
function li(e) {
|
|
5216
5245
|
let t, i, r, n = `${/*currentLimit*/
|
|
5217
5246
|
e[58].amount}${/*currentLimit*/
|
|
5218
5247
|
e[58].currency} ${/*$_*/
|
|
5219
5248
|
e[13](`gamingLimits.${/*currentLimit*/
|
|
5220
5249
|
e[58].period}`)}`, o, s, a, c;
|
|
5221
|
-
function u(f,
|
|
5250
|
+
function u(f, m) {
|
|
5222
5251
|
if (
|
|
5223
5252
|
/*currentLimit*/
|
|
5224
5253
|
f[58].isModified && /*currentLimit*/
|
|
5225
5254
|
f[58].updateAmount != "-1"
|
|
5226
5255
|
)
|
|
5227
|
-
return
|
|
5256
|
+
return us;
|
|
5228
5257
|
if (
|
|
5229
5258
|
/*currentLimit*/
|
|
5230
5259
|
f[58].isModified
|
|
5231
5260
|
)
|
|
5232
|
-
return
|
|
5261
|
+
return as;
|
|
5233
5262
|
}
|
|
5234
|
-
let l = u(e), h = l && l(e),
|
|
5235
|
-
e[58].isModified &&
|
|
5263
|
+
let l = u(e), h = l && l(e), p = !/*currentLimit*/
|
|
5264
|
+
e[58].isModified && ls(e);
|
|
5236
5265
|
return {
|
|
5237
5266
|
c() {
|
|
5238
|
-
t = v("div"), i = v("div"), r = v("div"), o =
|
|
5267
|
+
t = v("div"), i = v("div"), r = v("div"), o = F(n), s = $(), h && h.c(), a = $(), p && p.c(), c = $(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
|
|
5239
5268
|
},
|
|
5240
|
-
m(f,
|
|
5241
|
-
|
|
5269
|
+
m(f, m) {
|
|
5270
|
+
A(f, t, m), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), p && p.m(t, null), d(t, c);
|
|
5242
5271
|
},
|
|
5243
|
-
p(f,
|
|
5244
|
-
|
|
5272
|
+
p(f, m) {
|
|
5273
|
+
m[0] & /*$_*/
|
|
5245
5274
|
8192 && n !== (n = `${/*currentLimit*/
|
|
5246
5275
|
f[58].amount}${/*currentLimit*/
|
|
5247
5276
|
f[58].currency} ${/*$_*/
|
|
5248
5277
|
f[13](`gamingLimits.${/*currentLimit*/
|
|
5249
|
-
f[58].period}`)}`) && W(o, n), h && h.p(f,
|
|
5250
|
-
f[58].isModified ||
|
|
5278
|
+
f[58].period}`)}`) && W(o, n), h && h.p(f, m), /*currentLimit*/
|
|
5279
|
+
f[58].isModified || p.p(f, m);
|
|
5251
5280
|
},
|
|
5252
5281
|
d(f) {
|
|
5253
|
-
f &&
|
|
5282
|
+
f && P(t), h && h.d(), p && p.d();
|
|
5254
5283
|
}
|
|
5255
5284
|
};
|
|
5256
5285
|
}
|
|
5257
|
-
function
|
|
5286
|
+
function ci(e) {
|
|
5258
5287
|
let t, i, r = (
|
|
5259
5288
|
/*$_*/
|
|
5260
5289
|
e[13](`gamingLimits.${/*limit*/
|
|
@@ -5263,17 +5292,17 @@ function ui(e) {
|
|
|
5263
5292
|
function a(l, h) {
|
|
5264
5293
|
return (
|
|
5265
5294
|
/*limit*/
|
|
5266
|
-
l[53].currentLimits.length > 0 ?
|
|
5295
|
+
l[53].currentLimits.length > 0 ? ss : os
|
|
5267
5296
|
);
|
|
5268
5297
|
}
|
|
5269
5298
|
let u = a(e)(e);
|
|
5270
5299
|
return {
|
|
5271
5300
|
c() {
|
|
5272
|
-
t = v("div"), i = v("p"), n =
|
|
5301
|
+
t = v("div"), i = v("p"), n = F(r), o = $(), u.c(), s = $(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
|
|
5273
5302
|
(e[14] ? "Desktop" : ""));
|
|
5274
5303
|
},
|
|
5275
5304
|
m(l, h) {
|
|
5276
|
-
|
|
5305
|
+
A(l, t, h), d(t, i), d(i, n), d(t, o), u.m(t, null), d(t, s);
|
|
5277
5306
|
},
|
|
5278
5307
|
p(l, h) {
|
|
5279
5308
|
h[0] & /*$_*/
|
|
@@ -5282,36 +5311,36 @@ function ui(e) {
|
|
|
5282
5311
|
l[53].value}`) + "") && W(n, r), u.p(l, h);
|
|
5283
5312
|
},
|
|
5284
5313
|
d(l) {
|
|
5285
|
-
l &&
|
|
5314
|
+
l && P(t), u.d();
|
|
5286
5315
|
}
|
|
5287
5316
|
};
|
|
5288
5317
|
}
|
|
5289
|
-
function
|
|
5318
|
+
function hi(e) {
|
|
5290
5319
|
let t, i, r = (
|
|
5291
5320
|
/*$_*/
|
|
5292
5321
|
e[13]("limitType") + ""
|
|
5293
|
-
), n, o, s, a, c, u =
|
|
5322
|
+
), n, o, s, a, c, u = ee(
|
|
5294
5323
|
/*availableLimits*/
|
|
5295
5324
|
e[15]
|
|
5296
5325
|
), l = [];
|
|
5297
5326
|
for (let h = 0; h < u.length; h += 1)
|
|
5298
|
-
l[h] =
|
|
5327
|
+
l[h] = fi(ni(e, u, h));
|
|
5299
5328
|
return {
|
|
5300
5329
|
c() {
|
|
5301
|
-
t = v("label"), i = v("span"), n =
|
|
5330
|
+
t = v("label"), i = v("span"), n = F(r), o = $(), s = v("select");
|
|
5302
5331
|
for (let h = 0; h < l.length; h += 1)
|
|
5303
5332
|
l[h].c();
|
|
5304
5333
|
g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
|
|
5305
|
-
e[1] === void 0 &&
|
|
5334
|
+
e[1] === void 0 && Le(() => (
|
|
5306
5335
|
/*select_change_handler*/
|
|
5307
5336
|
e[32].call(s)
|
|
5308
5337
|
)), g(t, "class", "LimitTypeDropdownWrapper");
|
|
5309
5338
|
},
|
|
5310
|
-
m(h,
|
|
5311
|
-
|
|
5339
|
+
m(h, p) {
|
|
5340
|
+
A(h, t, p), d(t, i), d(i, n), d(t, o), d(t, s);
|
|
5312
5341
|
for (let f = 0; f < l.length; f += 1)
|
|
5313
5342
|
l[f] && l[f].m(s, null);
|
|
5314
|
-
|
|
5343
|
+
Me(
|
|
5315
5344
|
s,
|
|
5316
5345
|
/*selectedLimit*/
|
|
5317
5346
|
e[1],
|
|
@@ -5331,81 +5360,81 @@ function li(e) {
|
|
|
5331
5360
|
)
|
|
5332
5361
|
], a = !0);
|
|
5333
5362
|
},
|
|
5334
|
-
p(h,
|
|
5335
|
-
if (
|
|
5363
|
+
p(h, p) {
|
|
5364
|
+
if (p[0] & /*$_*/
|
|
5336
5365
|
8192 && r !== (r = /*$_*/
|
|
5337
|
-
h[13]("limitType") + "") && W(n, r),
|
|
5366
|
+
h[13]("limitType") + "") && W(n, r), p[0] & /*availableLimits*/
|
|
5338
5367
|
32768) {
|
|
5339
|
-
u =
|
|
5368
|
+
u = ee(
|
|
5340
5369
|
/*availableLimits*/
|
|
5341
5370
|
h[15]
|
|
5342
5371
|
);
|
|
5343
5372
|
let f;
|
|
5344
5373
|
for (f = 0; f < u.length; f += 1) {
|
|
5345
|
-
const
|
|
5346
|
-
l[f] ? l[f].p(
|
|
5374
|
+
const m = ni(h, u, f);
|
|
5375
|
+
l[f] ? l[f].p(m, p) : (l[f] = fi(m), l[f].c(), l[f].m(s, null));
|
|
5347
5376
|
}
|
|
5348
5377
|
for (; f < l.length; f += 1)
|
|
5349
5378
|
l[f].d(1);
|
|
5350
5379
|
l.length = u.length;
|
|
5351
5380
|
}
|
|
5352
|
-
|
|
5353
|
-
32770 &&
|
|
5381
|
+
p[0] & /*selectedLimit, availableLimits*/
|
|
5382
|
+
32770 && Me(
|
|
5354
5383
|
s,
|
|
5355
5384
|
/*selectedLimit*/
|
|
5356
5385
|
h[1]
|
|
5357
5386
|
);
|
|
5358
5387
|
},
|
|
5359
5388
|
d(h) {
|
|
5360
|
-
h &&
|
|
5389
|
+
h && P(t), je(l, h), a = !1, te(c);
|
|
5361
5390
|
}
|
|
5362
5391
|
};
|
|
5363
5392
|
}
|
|
5364
|
-
function
|
|
5393
|
+
function fi(e) {
|
|
5365
5394
|
let t, i = (
|
|
5366
5395
|
/*limit*/
|
|
5367
5396
|
e[53].title + ""
|
|
5368
5397
|
), r;
|
|
5369
5398
|
return {
|
|
5370
5399
|
c() {
|
|
5371
|
-
t = v("option"), r =
|
|
5372
|
-
e[53].value,
|
|
5400
|
+
t = v("option"), r = F(i), t.__value = /*limit*/
|
|
5401
|
+
e[53].value, _e(t, t.__value);
|
|
5373
5402
|
},
|
|
5374
5403
|
m(n, o) {
|
|
5375
|
-
|
|
5404
|
+
A(n, t, o), d(t, r);
|
|
5376
5405
|
},
|
|
5377
5406
|
p: j,
|
|
5378
5407
|
d(n) {
|
|
5379
|
-
n &&
|
|
5408
|
+
n && P(t);
|
|
5380
5409
|
}
|
|
5381
5410
|
};
|
|
5382
5411
|
}
|
|
5383
|
-
function
|
|
5412
|
+
function pi(e) {
|
|
5384
5413
|
let t, i, r = (
|
|
5385
5414
|
/*$_*/
|
|
5386
5415
|
e[13]("period") + ""
|
|
5387
|
-
), n, o, s, a, c, u =
|
|
5416
|
+
), n, o, s, a, c, u = ee(Z[
|
|
5388
5417
|
/*selectedLimit*/
|
|
5389
5418
|
e[1]
|
|
5390
5419
|
].periods), l = [];
|
|
5391
5420
|
for (let h = 0; h < u.length; h += 1)
|
|
5392
|
-
l[h] =
|
|
5421
|
+
l[h] = mi(ri(e, u, h));
|
|
5393
5422
|
return {
|
|
5394
5423
|
c() {
|
|
5395
|
-
t = v("label"), i = v("span"), n =
|
|
5424
|
+
t = v("label"), i = v("span"), n = F(r), o = $(), s = v("select");
|
|
5396
5425
|
for (let h = 0; h < l.length; h += 1)
|
|
5397
5426
|
l[h].c();
|
|
5398
5427
|
g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
|
|
5399
|
-
e[2] === void 0 &&
|
|
5428
|
+
e[2] === void 0 && Le(() => (
|
|
5400
5429
|
/*select_change_handler_1*/
|
|
5401
5430
|
e[33].call(s)
|
|
5402
5431
|
));
|
|
5403
5432
|
},
|
|
5404
|
-
m(h,
|
|
5405
|
-
|
|
5433
|
+
m(h, p) {
|
|
5434
|
+
A(h, t, p), d(t, i), d(i, n), A(h, o, p), A(h, s, p);
|
|
5406
5435
|
for (let f = 0; f < l.length; f += 1)
|
|
5407
5436
|
l[f] && l[f].m(s, null);
|
|
5408
|
-
|
|
5437
|
+
Me(
|
|
5409
5438
|
s,
|
|
5410
5439
|
/*selectedPeriod*/
|
|
5411
5440
|
e[2],
|
|
@@ -5417,37 +5446,37 @@ function hi(e) {
|
|
|
5417
5446
|
e[33]
|
|
5418
5447
|
), a = !0);
|
|
5419
5448
|
},
|
|
5420
|
-
p(h,
|
|
5421
|
-
if (
|
|
5449
|
+
p(h, p) {
|
|
5450
|
+
if (p[0] & /*$_*/
|
|
5422
5451
|
8192 && r !== (r = /*$_*/
|
|
5423
|
-
h[13]("period") + "") && W(n, r),
|
|
5452
|
+
h[13]("period") + "") && W(n, r), p[0] & /*selectedLimit, $_*/
|
|
5424
5453
|
8194) {
|
|
5425
|
-
u =
|
|
5454
|
+
u = ee(Z[
|
|
5426
5455
|
/*selectedLimit*/
|
|
5427
5456
|
h[1]
|
|
5428
5457
|
].periods);
|
|
5429
5458
|
let f;
|
|
5430
5459
|
for (f = 0; f < u.length; f += 1) {
|
|
5431
|
-
const
|
|
5432
|
-
l[f] ? l[f].p(
|
|
5460
|
+
const m = ri(h, u, f);
|
|
5461
|
+
l[f] ? l[f].p(m, p) : (l[f] = mi(m), l[f].c(), l[f].m(s, null));
|
|
5433
5462
|
}
|
|
5434
5463
|
for (; f < l.length; f += 1)
|
|
5435
5464
|
l[f].d(1);
|
|
5436
5465
|
l.length = u.length;
|
|
5437
5466
|
}
|
|
5438
|
-
|
|
5439
|
-
6 &&
|
|
5467
|
+
p[0] & /*selectedPeriod, selectedLimit*/
|
|
5468
|
+
6 && Me(
|
|
5440
5469
|
s,
|
|
5441
5470
|
/*selectedPeriod*/
|
|
5442
5471
|
h[2]
|
|
5443
5472
|
);
|
|
5444
5473
|
},
|
|
5445
5474
|
d(h) {
|
|
5446
|
-
h && (
|
|
5475
|
+
h && (P(t), P(o), P(s)), je(l, h), a = !1, c();
|
|
5447
5476
|
}
|
|
5448
5477
|
};
|
|
5449
5478
|
}
|
|
5450
|
-
function
|
|
5479
|
+
function mi(e) {
|
|
5451
5480
|
let t, i = (
|
|
5452
5481
|
/*$_*/
|
|
5453
5482
|
e[13](`gamingLimits.${/*period*/
|
|
@@ -5455,11 +5484,11 @@ function fi(e) {
|
|
|
5455
5484
|
), r, n;
|
|
5456
5485
|
return {
|
|
5457
5486
|
c() {
|
|
5458
|
-
t = v("option"), r =
|
|
5459
|
-
e[50],
|
|
5487
|
+
t = v("option"), r = F(i), t.__value = n = /*period*/
|
|
5488
|
+
e[50], _e(t, t.__value), t.selected = !0;
|
|
5460
5489
|
},
|
|
5461
5490
|
m(o, s) {
|
|
5462
|
-
|
|
5491
|
+
A(o, t, s), d(t, r);
|
|
5463
5492
|
},
|
|
5464
5493
|
p(o, s) {
|
|
5465
5494
|
s[0] & /*$_, selectedLimit*/
|
|
@@ -5467,27 +5496,27 @@ function fi(e) {
|
|
|
5467
5496
|
o[13](`gamingLimits.${/*period*/
|
|
5468
5497
|
o[50]}`) + "") && W(r, i), s[0] & /*selectedLimit, availableLimits*/
|
|
5469
5498
|
32770 && n !== (n = /*period*/
|
|
5470
|
-
o[50]) && (t.__value = n,
|
|
5499
|
+
o[50]) && (t.__value = n, _e(t, t.__value));
|
|
5471
5500
|
},
|
|
5472
5501
|
d(o) {
|
|
5473
|
-
o &&
|
|
5502
|
+
o && P(t);
|
|
5474
5503
|
}
|
|
5475
5504
|
};
|
|
5476
5505
|
}
|
|
5477
|
-
function
|
|
5506
|
+
function cs(e) {
|
|
5478
5507
|
let t, i, r = (
|
|
5479
5508
|
/*popupVisible*/
|
|
5480
|
-
e[10] &&
|
|
5509
|
+
e[10] && ai(e)
|
|
5481
5510
|
);
|
|
5482
5511
|
function n(a, c) {
|
|
5483
5512
|
return (
|
|
5484
5513
|
/*isLoading*/
|
|
5485
5514
|
a[7] && !/*popupVisible*/
|
|
5486
|
-
a[10] ?
|
|
5515
|
+
a[10] ? ns : (
|
|
5487
5516
|
/*isLoading*/
|
|
5488
|
-
a[7] ?
|
|
5517
|
+
a[7] ? rs : (
|
|
5489
5518
|
/*fetchError*/
|
|
5490
|
-
a[8] ?
|
|
5519
|
+
a[8] ? is : ts
|
|
5491
5520
|
)
|
|
5492
5521
|
)
|
|
5493
5522
|
);
|
|
@@ -5495,56 +5524,56 @@ function ss(e) {
|
|
|
5495
5524
|
let o = n(e), s = o(e);
|
|
5496
5525
|
return {
|
|
5497
5526
|
c() {
|
|
5498
|
-
t = v("div"), r && r.c(), i =
|
|
5527
|
+
t = v("div"), r && r.c(), i = $(), s.c();
|
|
5499
5528
|
},
|
|
5500
5529
|
m(a, c) {
|
|
5501
|
-
|
|
5530
|
+
A(a, t, c), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
|
|
5502
5531
|
},
|
|
5503
5532
|
p(a, c) {
|
|
5504
5533
|
/*popupVisible*/
|
|
5505
|
-
a[10] ? r ? r.p(a, c) : (r =
|
|
5534
|
+
a[10] ? r ? r.p(a, c) : (r = ai(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
5506
5535
|
},
|
|
5507
5536
|
i: j,
|
|
5508
5537
|
o: j,
|
|
5509
5538
|
d(a) {
|
|
5510
|
-
a &&
|
|
5539
|
+
a && P(t), r && r.d(), s.d(), e[36](null);
|
|
5511
5540
|
}
|
|
5512
5541
|
};
|
|
5513
5542
|
}
|
|
5514
|
-
function
|
|
5543
|
+
function hs(e, t, i) {
|
|
5515
5544
|
let r;
|
|
5516
|
-
|
|
5517
|
-
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl:
|
|
5518
|
-
const
|
|
5545
|
+
vr(e, No, (b) => i(13, r = b));
|
|
5546
|
+
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: p = "" } = t, { mbsource: f } = t, m, _, R = window.navigator.userAgent, B = !Vo(R), S = [], E = "", k = "", L, O, D = !1, x = !1, U = !0, H = !1, ie = !1, be = !1, Ve = !1, Xe = "", Pe;
|
|
5547
|
+
const Tt = { EUR: "€", RON: " lei" }, qi = {
|
|
5519
5548
|
updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
|
|
5520
|
-
},
|
|
5521
|
-
fetch(
|
|
5549
|
+
}, Ji = () => {
|
|
5550
|
+
fetch(p).then((y) => y.json()).then((y) => {
|
|
5522
5551
|
Object.keys(y).forEach((N) => {
|
|
5523
|
-
|
|
5552
|
+
Zt(N, y[N]);
|
|
5524
5553
|
});
|
|
5525
5554
|
}).catch((y) => {
|
|
5526
5555
|
console.log(y);
|
|
5527
5556
|
});
|
|
5528
5557
|
};
|
|
5529
|
-
Object.keys(
|
|
5530
|
-
|
|
5558
|
+
Object.keys(Yt).forEach((b) => {
|
|
5559
|
+
Zt(b, Yt[b]);
|
|
5531
5560
|
});
|
|
5532
|
-
const
|
|
5561
|
+
const Qi = () => {
|
|
5533
5562
|
s.split(" ").forEach((y) => {
|
|
5534
5563
|
Z[y] ? S.push(Z[y]) : console.error(`Unknown limit: ${y}`);
|
|
5535
|
-
}), i(1,
|
|
5536
|
-
},
|
|
5537
|
-
i(2,
|
|
5538
|
-
},
|
|
5539
|
-
if (!(
|
|
5564
|
+
}), i(1, E = S[0].value), i(2, k = Z[E].periods[0]), i(5, D = S.length > 1), i(6, x = Z[E].periods.length > 1);
|
|
5565
|
+
}, Ki = () => {
|
|
5566
|
+
i(2, k = Z[E].periods[0]), i(6, x = Z[E].periods.length > 1);
|
|
5567
|
+
}, er = () => {
|
|
5568
|
+
if (!(L > 0))
|
|
5540
5569
|
return;
|
|
5541
|
-
i(10,
|
|
5570
|
+
i(10, be = !0), i(7, U = !0);
|
|
5542
5571
|
let b = new URL(`/v2/player/${c}/limits`, u);
|
|
5543
5572
|
const y = {};
|
|
5544
|
-
y[Z[
|
|
5573
|
+
y[Z[E].callValue] = [
|
|
5545
5574
|
{
|
|
5546
|
-
period:
|
|
5547
|
-
amount:
|
|
5575
|
+
period: k,
|
|
5576
|
+
amount: L,
|
|
5548
5577
|
currency: o
|
|
5549
5578
|
}
|
|
5550
5579
|
];
|
|
@@ -5557,20 +5586,20 @@ function as(e, t, i) {
|
|
|
5557
5586
|
},
|
|
5558
5587
|
body: JSON.stringify(y)
|
|
5559
5588
|
};
|
|
5560
|
-
fetch(b.href, N).then((
|
|
5561
|
-
|
|
5562
|
-
}).catch((
|
|
5563
|
-
console.log(
|
|
5589
|
+
fetch(b.href, N).then((M) => (M.status >= 300 && i(9, ie = !0), M.json())).then((M) => {
|
|
5590
|
+
Ze(), ie && tr(M);
|
|
5591
|
+
}).catch((M) => {
|
|
5592
|
+
console.log(M), i(7, U = !1), i(8, H = !0);
|
|
5564
5593
|
});
|
|
5565
|
-
},
|
|
5594
|
+
}, tr = (b) => {
|
|
5566
5595
|
const y = b.error.match(/errorCode:(.*)\)/)[1];
|
|
5567
5596
|
console.error(`API response error: ${y}`);
|
|
5568
5597
|
let N;
|
|
5569
|
-
for (const [
|
|
5570
|
-
|
|
5571
|
-
N = N != null ? N : r("gamingLimits.genericError"),
|
|
5572
|
-
},
|
|
5573
|
-
let b = new URL(`/v2/player/${c}/limits`, u), y = !
|
|
5598
|
+
for (const [M, G] of Object.entries(qi))
|
|
5599
|
+
G.includes(y) && (N = r(`gamingLimits.${M}`));
|
|
5600
|
+
N = N != null ? N : r("gamingLimits.genericError"), wt(y, N);
|
|
5601
|
+
}, Ze = () => {
|
|
5602
|
+
let b = new URL(`/v2/player/${c}/limits`, u), y = !ie, N = {
|
|
5574
5603
|
method: "GET",
|
|
5575
5604
|
headers: {
|
|
5576
5605
|
"X-SessionID": a,
|
|
@@ -5578,49 +5607,49 @@ function as(e, t, i) {
|
|
|
5578
5607
|
Accept: "application/json"
|
|
5579
5608
|
}
|
|
5580
5609
|
};
|
|
5581
|
-
fetch(b.href, N).then((
|
|
5582
|
-
if (
|
|
5583
|
-
throw i(7,
|
|
5584
|
-
return
|
|
5585
|
-
}).then((
|
|
5586
|
-
|
|
5587
|
-
}).catch((
|
|
5588
|
-
console.log(
|
|
5610
|
+
fetch(b.href, N).then((M) => {
|
|
5611
|
+
if (M.status >= 300)
|
|
5612
|
+
throw i(7, U = !1), i(8, H = !0), new Error("There was an error fetching the limits");
|
|
5613
|
+
return M.json();
|
|
5614
|
+
}).then((M) => {
|
|
5615
|
+
Pe = M, be && y && wt(), ir(Pe), i(7, U = !1), i(3, L = null);
|
|
5616
|
+
}).catch((M) => {
|
|
5617
|
+
console.log(M), i(7, U = !1), i(8, H = !0);
|
|
5589
5618
|
});
|
|
5590
|
-
},
|
|
5619
|
+
}, ir = (b) => {
|
|
5591
5620
|
S.forEach((y) => {
|
|
5592
5621
|
var N;
|
|
5593
|
-
y.currentLimits = [], (N = b[Z[y.value].callValue]) == null || N.forEach((
|
|
5594
|
-
var
|
|
5595
|
-
const J = b[Z[y.value].callValue][
|
|
5596
|
-
y.currentLimits.push({}), y.currentLimits[
|
|
5597
|
-
}), y.currentLimits =
|
|
5622
|
+
y.currentLimits = [], (N = b[Z[y.value].callValue]) == null || N.forEach((M, G) => {
|
|
5623
|
+
var Pt;
|
|
5624
|
+
const J = b[Z[y.value].callValue][G];
|
|
5625
|
+
y.currentLimits.push({}), y.currentLimits[G].limitType = y.value, y.currentLimits[G].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.amount), y.currentLimits[G].currency = (Pt = Tt[J.currency]) != null ? Pt : J.currency, y.currentLimits[G].period = J.period, y.currentLimits[G].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.updateAmount), y.currentLimits[G].isModified = J.isModified, y.currentLimits[G].expiryDate = `${new Date(J.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
5626
|
+
}), y.currentLimits = rr(y.currentLimits);
|
|
5598
5627
|
});
|
|
5599
|
-
},
|
|
5628
|
+
}, rr = (b) => {
|
|
5600
5629
|
const y = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
5601
|
-
return b.sort((N,
|
|
5602
|
-
},
|
|
5603
|
-
|
|
5604
|
-
const y =
|
|
5605
|
-
|
|
5606
|
-
},
|
|
5630
|
+
return b.sort((N, M) => y[N.period] - y[M.period]), b;
|
|
5631
|
+
}, nr = () => {
|
|
5632
|
+
L > 999999999999999 && i(3, L = 999999999999999);
|
|
5633
|
+
const y = L - Math.floor(L) === 0;
|
|
5634
|
+
L > 0 && y ? O.removeAttribute("disabled") : O.setAttribute("disabled", "true");
|
|
5635
|
+
}, wt = (b, y) => {
|
|
5607
5636
|
if (b)
|
|
5608
|
-
i(12,
|
|
5609
|
-
else if (
|
|
5610
|
-
const N =
|
|
5611
|
-
let
|
|
5612
|
-
i(12,
|
|
5637
|
+
i(12, Xe = y);
|
|
5638
|
+
else if (Pe) {
|
|
5639
|
+
const N = Pe[Z[E].callValue].filter((J) => J.period === k)[0], M = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(N.amount);
|
|
5640
|
+
let G = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${E}`).toLowerCase()).replace("{updatedAmount}", M).replace("{currency}", Tt[N.currency] || N.currency).replace("{selectedPeriod}", r(`gamingLimits.${k}`).toLowerCase());
|
|
5641
|
+
i(12, Xe = N.isModified ? `${r("popupPendingUpdate")} ${new Date(N.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : G);
|
|
5613
5642
|
} else
|
|
5614
5643
|
console.error("Couldn't populate popupContent");
|
|
5615
|
-
i(11,
|
|
5616
|
-
},
|
|
5644
|
+
i(11, Ve = !0);
|
|
5645
|
+
}, St = (b) => {
|
|
5617
5646
|
const y = {
|
|
5618
5647
|
wager: "wagering",
|
|
5619
5648
|
loss: "loss",
|
|
5620
5649
|
deposit: "deposit"
|
|
5621
5650
|
};
|
|
5622
|
-
i(10,
|
|
5623
|
-
let N = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u),
|
|
5651
|
+
i(10, be = !0), i(7, U = !0);
|
|
5652
|
+
let N = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), M = {
|
|
5624
5653
|
method: "DELETE",
|
|
5625
5654
|
headers: {
|
|
5626
5655
|
"X-SessionID": a,
|
|
@@ -5628,71 +5657,71 @@ function as(e, t, i) {
|
|
|
5628
5657
|
Accept: "application/json"
|
|
5629
5658
|
}
|
|
5630
5659
|
};
|
|
5631
|
-
fetch(N.href,
|
|
5632
|
-
|
|
5633
|
-
}).catch((
|
|
5634
|
-
console.log(
|
|
5660
|
+
fetch(N.href, M).then((G) => G.json()).then((G) => {
|
|
5661
|
+
Ze();
|
|
5662
|
+
}).catch((G) => {
|
|
5663
|
+
console.log(G), i(7, U = !1), i(8, H = !0);
|
|
5635
5664
|
});
|
|
5636
|
-
},
|
|
5637
|
-
i(11,
|
|
5638
|
-
},
|
|
5639
|
-
|
|
5665
|
+
}, or = () => {
|
|
5666
|
+
i(11, Ve = i(10, be = !1));
|
|
5667
|
+
}, sr = () => {
|
|
5668
|
+
Oo(n);
|
|
5640
5669
|
};
|
|
5641
|
-
|
|
5670
|
+
Pr(() => () => {
|
|
5642
5671
|
});
|
|
5643
|
-
const
|
|
5644
|
-
function
|
|
5645
|
-
|
|
5672
|
+
const ar = (b) => St(b);
|
|
5673
|
+
function ur() {
|
|
5674
|
+
E = Ht(this), i(1, E), i(15, S);
|
|
5646
5675
|
}
|
|
5647
|
-
function
|
|
5648
|
-
|
|
5676
|
+
function lr() {
|
|
5677
|
+
k = Ht(this), i(2, k), i(1, E);
|
|
5649
5678
|
}
|
|
5650
|
-
function
|
|
5651
|
-
|
|
5679
|
+
function cr() {
|
|
5680
|
+
L = yi(this.value), i(3, L);
|
|
5652
5681
|
}
|
|
5653
|
-
function
|
|
5654
|
-
|
|
5655
|
-
|
|
5682
|
+
function hr(b) {
|
|
5683
|
+
Ce[b ? "unshift" : "push"](() => {
|
|
5684
|
+
O = b, i(4, O);
|
|
5656
5685
|
});
|
|
5657
5686
|
}
|
|
5658
|
-
function
|
|
5659
|
-
|
|
5660
|
-
|
|
5687
|
+
function fr(b) {
|
|
5688
|
+
Ce[b ? "unshift" : "push"](() => {
|
|
5689
|
+
m = b, i(0, m);
|
|
5661
5690
|
});
|
|
5662
5691
|
}
|
|
5663
5692
|
return e.$$set = (b) => {
|
|
5664
|
-
"lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29,
|
|
5693
|
+
"lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, p = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
|
|
5665
5694
|
}, e.$$.update = () => {
|
|
5666
5695
|
e.$$.dirty[0] & /*limits*/
|
|
5667
|
-
8388608 && s &&
|
|
5668
|
-
2097152 && n &&
|
|
5669
|
-
117440512 && c && a && u &&
|
|
5670
|
-
134217729 && l &&
|
|
5671
|
-
268435457 && h &&
|
|
5672
|
-
1073741825 && f &&
|
|
5673
|
-
536870912 &&
|
|
5696
|
+
8388608 && s && Qi(), e.$$.dirty[0] & /*lang*/
|
|
5697
|
+
2097152 && n && sr(), e.$$.dirty[0] & /*userid, session, endpoint*/
|
|
5698
|
+
117440512 && c && a && u && Ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5699
|
+
134217729 && l && m && Xo(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5700
|
+
268435457 && h && m && Zo(m, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5701
|
+
1073741825 && f && m && Yo(m, `${f}.Style`, _), e.$$.dirty[0] & /*translationurl*/
|
|
5702
|
+
536870912 && p && Ji();
|
|
5674
5703
|
}, [
|
|
5675
|
-
|
|
5704
|
+
m,
|
|
5705
|
+
E,
|
|
5706
|
+
k,
|
|
5676
5707
|
L,
|
|
5677
|
-
w,
|
|
5678
5708
|
O,
|
|
5679
|
-
P,
|
|
5680
|
-
H,
|
|
5681
5709
|
D,
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5710
|
+
x,
|
|
5711
|
+
U,
|
|
5712
|
+
H,
|
|
5713
|
+
ie,
|
|
5714
|
+
be,
|
|
5715
|
+
Ve,
|
|
5716
|
+
Xe,
|
|
5688
5717
|
r,
|
|
5689
|
-
|
|
5718
|
+
B,
|
|
5690
5719
|
S,
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5720
|
+
Ki,
|
|
5721
|
+
er,
|
|
5722
|
+
nr,
|
|
5723
|
+
St,
|
|
5724
|
+
or,
|
|
5696
5725
|
n,
|
|
5697
5726
|
o,
|
|
5698
5727
|
s,
|
|
@@ -5701,24 +5730,24 @@ function as(e, t, i) {
|
|
|
5701
5730
|
u,
|
|
5702
5731
|
l,
|
|
5703
5732
|
h,
|
|
5704
|
-
|
|
5733
|
+
p,
|
|
5705
5734
|
f,
|
|
5706
|
-
or,
|
|
5707
|
-
sr,
|
|
5708
5735
|
ar,
|
|
5709
5736
|
ur,
|
|
5710
5737
|
lr,
|
|
5711
|
-
cr
|
|
5738
|
+
cr,
|
|
5739
|
+
hr,
|
|
5740
|
+
fr
|
|
5712
5741
|
];
|
|
5713
5742
|
}
|
|
5714
|
-
class
|
|
5743
|
+
class fs extends jr {
|
|
5715
5744
|
constructor(t) {
|
|
5716
|
-
super(),
|
|
5745
|
+
super(), Dr(
|
|
5717
5746
|
this,
|
|
5718
5747
|
t,
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5748
|
+
hs,
|
|
5749
|
+
cs,
|
|
5750
|
+
bi,
|
|
5722
5751
|
{
|
|
5723
5752
|
lang: 21,
|
|
5724
5753
|
currency: 22,
|
|
@@ -5731,7 +5760,7 @@ class us extends Dr {
|
|
|
5731
5760
|
translationurl: 29,
|
|
5732
5761
|
mbsource: 30
|
|
5733
5762
|
},
|
|
5734
|
-
|
|
5763
|
+
Qo,
|
|
5735
5764
|
[-1, -1]
|
|
5736
5765
|
);
|
|
5737
5766
|
}
|
|
@@ -5796,7 +5825,7 @@ class us extends Dr {
|
|
|
5796
5825
|
this.$$set({ mbsource: t }), X();
|
|
5797
5826
|
}
|
|
5798
5827
|
}
|
|
5799
|
-
|
|
5828
|
+
Rr(fs, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5800
5829
|
export {
|
|
5801
|
-
|
|
5830
|
+
fs as default
|
|
5802
5831
|
};
|