@everymatrix/player-account-gaming-limits-popup-2 1.85.17 → 1.85.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-wa-rZOzO.js → PlayerAccountGamingLimitsPopup2-CwinXA-j.js} +672 -670
- package/components/{PlayerAccountGamingLimitsPopup2-zGa71HEv.cjs → PlayerAccountGamingLimitsPopup2-D_kAGu6b.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup2-ZbcAgLuA.js → PlayerAccountGamingLimitsPopup2-bF0YcIxH.js} +655 -653
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/esnext/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Pi = Object.defineProperty, wi = Object.defineProperties;
|
|
2
|
+
var Bi = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Lt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
4
|
+
var Li = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var nt = (e, t, i) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, St = (e, t) => {
|
|
6
|
+
for (var i in t || (t = {}))
|
|
7
|
+
Li.call(t, i) && nt(e, i, t[i]);
|
|
8
8
|
if (Lt)
|
|
9
|
-
for (var
|
|
10
|
-
|
|
9
|
+
for (var i of Lt(t))
|
|
10
|
+
Si.call(t, i) && nt(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
|
-
}, At = (e, t) =>
|
|
13
|
-
var Q = (e, t,
|
|
14
|
-
var It = (e, t,
|
|
12
|
+
}, At = (e, t) => wi(e, Bi(t));
|
|
13
|
+
var Q = (e, t, i) => (nt(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
14
|
+
var It = (e, t, i) => new Promise((n, r) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
s(
|
|
17
|
+
s(i.next(u));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
r(l);
|
|
20
20
|
}
|
|
21
21
|
}, a = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
s(
|
|
23
|
+
s(i.throw(u));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
r(l);
|
|
26
26
|
}
|
|
27
|
-
}, s = (u) => u.done ?
|
|
28
|
-
s((
|
|
27
|
+
}, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
|
|
28
|
+
s((i = i.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function ie() {
|
|
31
31
|
}
|
|
32
32
|
function Zt(e) {
|
|
33
33
|
return e();
|
|
@@ -44,32 +44,32 @@ function xt(e) {
|
|
|
44
44
|
function Yt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Ai(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
50
|
function Jt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
|
-
for (const
|
|
53
|
-
|
|
54
|
-
return
|
|
52
|
+
for (const n of t)
|
|
53
|
+
n(void 0);
|
|
54
|
+
return ie;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
57
|
-
return
|
|
56
|
+
const i = e.subscribe(...t);
|
|
57
|
+
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(Jt(t,
|
|
59
|
+
function Ii(e, t, i) {
|
|
60
|
+
e.$$.on_destroy.push(Jt(t, i));
|
|
61
61
|
}
|
|
62
62
|
function f(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const
|
|
67
|
-
if (!
|
|
65
|
+
function ki(e, t, i) {
|
|
66
|
+
const n = Hi(e);
|
|
67
|
+
if (!n.getElementById(t)) {
|
|
68
68
|
const r = b("style");
|
|
69
|
-
r.id = t, r.textContent =
|
|
69
|
+
r.id = t, r.textContent = i, Ci(n, r);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Hi(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,15 +79,15 @@ function Cn(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Ci(e, t) {
|
|
83
83
|
return f(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function T(e, t,
|
|
90
|
-
e.insertBefore(t,
|
|
89
|
+
function T(e, t, i) {
|
|
90
|
+
e.insertBefore(t, i || null);
|
|
91
91
|
}
|
|
92
92
|
function x(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
@@ -104,16 +104,16 @@ function L(e) {
|
|
|
104
104
|
function N() {
|
|
105
105
|
return L(" ");
|
|
106
106
|
}
|
|
107
|
-
function Z(e, t,
|
|
108
|
-
return e.addEventListener(t,
|
|
107
|
+
function Z(e, t, i, n) {
|
|
108
|
+
return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
|
|
109
109
|
}
|
|
110
|
-
function h(e, t,
|
|
111
|
-
|
|
110
|
+
function h(e, t, i) {
|
|
111
|
+
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
112
112
|
}
|
|
113
113
|
function Qt(e) {
|
|
114
114
|
return e === "" ? null : +e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Ni(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
119
|
function k(e, t) {
|
|
@@ -123,18 +123,18 @@ function k(e, t) {
|
|
|
123
123
|
function Ht(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
|
-
function Ce(e, t,
|
|
127
|
-
|
|
126
|
+
function Ce(e, t, i, n) {
|
|
127
|
+
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
128
128
|
}
|
|
129
|
-
function $e(e, t,
|
|
130
|
-
e.classList.toggle(t, !!
|
|
129
|
+
function $e(e, t, i) {
|
|
130
|
+
e.classList.toggle(t, !!i);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Oi(e) {
|
|
133
133
|
const t = {};
|
|
134
134
|
return e.childNodes.forEach(
|
|
135
135
|
/** @param {Element} node */
|
|
136
|
-
(
|
|
137
|
-
t[
|
|
136
|
+
(i) => {
|
|
137
|
+
t[i.slot || "default"] = !0;
|
|
138
138
|
}
|
|
139
139
|
), t;
|
|
140
140
|
}
|
|
@@ -142,20 +142,20 @@ let Oe;
|
|
|
142
142
|
function Ne(e) {
|
|
143
143
|
Oe = e;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Mi() {
|
|
146
146
|
if (!Oe)
|
|
147
147
|
throw new Error("Function called outside component initialization");
|
|
148
148
|
return Oe;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
150
|
+
function Di(e) {
|
|
151
|
+
Mi().$$.on_mount.push(e);
|
|
152
152
|
}
|
|
153
153
|
const ye = [], ve = [];
|
|
154
154
|
let Ee = [];
|
|
155
|
-
const Ct = [],
|
|
155
|
+
const Ct = [], Ri = /* @__PURE__ */ Promise.resolve();
|
|
156
156
|
let ht = !1;
|
|
157
|
-
function
|
|
158
|
-
ht || (ht = !0,
|
|
157
|
+
function Ui() {
|
|
158
|
+
ht || (ht = !0, Ri.then(te));
|
|
159
159
|
}
|
|
160
160
|
function ft(e) {
|
|
161
161
|
Ee.push(e);
|
|
@@ -170,7 +170,7 @@ function te() {
|
|
|
170
170
|
try {
|
|
171
171
|
for (; ge < ye.length; ) {
|
|
172
172
|
const t = ye[ge];
|
|
173
|
-
ge++, Ne(t),
|
|
173
|
+
ge++, Ne(t), ji(t.$$);
|
|
174
174
|
}
|
|
175
175
|
} catch (t) {
|
|
176
176
|
throw ye.length = 0, ge = 0, t;
|
|
@@ -178,8 +178,8 @@ function te() {
|
|
|
178
178
|
for (Ne(null), ye.length = 0, ge = 0; ve.length; )
|
|
179
179
|
ve.pop()();
|
|
180
180
|
for (let t = 0; t < Ee.length; t += 1) {
|
|
181
|
-
const
|
|
182
|
-
rt.has(
|
|
181
|
+
const i = Ee[t];
|
|
182
|
+
rt.has(i) || (rt.add(i), i());
|
|
183
183
|
}
|
|
184
184
|
Ee.length = 0;
|
|
185
185
|
} while (ye.length);
|
|
@@ -187,36 +187,36 @@ function te() {
|
|
|
187
187
|
Ct.pop()();
|
|
188
188
|
ht = !1, rt.clear(), Ne(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function ji(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
192
|
e.update(), ce(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
194
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const t = [],
|
|
199
|
-
Ee.forEach((
|
|
197
|
+
function Gi(e) {
|
|
198
|
+
const t = [], i = [];
|
|
199
|
+
Ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), Ee = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const $i = /* @__PURE__ */ new Set();
|
|
202
|
+
function zi(e, t) {
|
|
203
|
+
e && e.i && ($i.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
const { fragment:
|
|
207
|
-
|
|
205
|
+
function Fi(e, t, i) {
|
|
206
|
+
const { fragment: n, after_update: r } = e.$$;
|
|
207
|
+
n && n.m(t, i), ft(() => {
|
|
208
208
|
const o = e.$$.on_mount.map(Zt).filter(xt);
|
|
209
209
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
|
|
210
210
|
}), r.forEach(ft);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const
|
|
214
|
-
|
|
212
|
+
function Vi(e, t) {
|
|
213
|
+
const i = e.$$;
|
|
214
|
+
i.fragment !== null && (Gi(i.after_update), ce(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
e.$$.dirty[0] === -1 && (ye.push(e),
|
|
216
|
+
function Xi(e, t) {
|
|
217
|
+
e.$$.dirty[0] === -1 && (ye.push(e), Ui(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function qi(e, t, i, n, r, o, a = null, s = [-1]) {
|
|
220
220
|
const u = Oe;
|
|
221
221
|
Ne(e);
|
|
222
222
|
const l = e.$$ = {
|
|
@@ -224,7 +224,7 @@ function Wn(e, t, n, i, r, o, a = null, s = [-1]) {
|
|
|
224
224
|
ctx: [],
|
|
225
225
|
// state
|
|
226
226
|
props: o,
|
|
227
|
-
update:
|
|
227
|
+
update: ie,
|
|
228
228
|
not_equal: r,
|
|
229
229
|
bound: kt(),
|
|
230
230
|
// lifecycle
|
|
@@ -242,22 +242,22 @@ function Wn(e, t, n, i, r, o, a = null, s = [-1]) {
|
|
|
242
242
|
};
|
|
243
243
|
a && a(l.root);
|
|
244
244
|
let c = !1;
|
|
245
|
-
if (l.ctx =
|
|
245
|
+
if (l.ctx = i ? i(e, t.props || {}, (p, m, ...d) => {
|
|
246
246
|
const E = d.length ? d[0] : m;
|
|
247
|
-
return l.ctx && r(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), c &&
|
|
248
|
-
}) : [], l.update(), c = !0, ce(l.before_update), l.fragment =
|
|
247
|
+
return l.ctx && r(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), c && Xi(e, p)), m;
|
|
248
|
+
}) : [], l.update(), c = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
249
249
|
if (t.hydrate) {
|
|
250
|
-
const p =
|
|
250
|
+
const p = Ni(t.target);
|
|
251
251
|
l.fragment && l.fragment.l(p), p.forEach(x);
|
|
252
252
|
} else
|
|
253
253
|
l.fragment && l.fragment.c();
|
|
254
|
-
t.intro &&
|
|
254
|
+
t.intro && zi(e.$$.fragment), Fi(e, t.target, t.anchor), te();
|
|
255
255
|
}
|
|
256
256
|
Ne(u);
|
|
257
257
|
}
|
|
258
258
|
let Kt;
|
|
259
259
|
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
260
|
-
constructor(t,
|
|
260
|
+
constructor(t, i, n) {
|
|
261
261
|
super();
|
|
262
262
|
/** The Svelte component constructor */
|
|
263
263
|
Q(this, "$$ctor");
|
|
@@ -277,19 +277,19 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
277
277
|
Q(this, "$$l", {});
|
|
278
278
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
279
279
|
Q(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
280
|
-
this.$$ctor = t, this.$$s =
|
|
280
|
+
this.$$ctor = t, this.$$s = i, n && this.attachShadow({ mode: "open" });
|
|
281
281
|
}
|
|
282
|
-
addEventListener(t,
|
|
283
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
284
|
-
const r = this.$$c.$on(t,
|
|
285
|
-
this.$$l_u.set(
|
|
282
|
+
addEventListener(t, i, n) {
|
|
283
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(i), this.$$c) {
|
|
284
|
+
const r = this.$$c.$on(t, i);
|
|
285
|
+
this.$$l_u.set(i, r);
|
|
286
286
|
}
|
|
287
|
-
super.addEventListener(t,
|
|
287
|
+
super.addEventListener(t, i, n);
|
|
288
288
|
}
|
|
289
|
-
removeEventListener(t,
|
|
290
|
-
if (super.removeEventListener(t,
|
|
291
|
-
const r = this.$$l_u.get(
|
|
292
|
-
r && (r(), this.$$l_u.delete(
|
|
289
|
+
removeEventListener(t, i, n) {
|
|
290
|
+
if (super.removeEventListener(t, i, n), this.$$c) {
|
|
291
|
+
const r = this.$$l_u.get(i);
|
|
292
|
+
r && (r(), this.$$l_u.delete(i));
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
connectedCallback() {
|
|
@@ -317,9 +317,9 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
317
317
|
};
|
|
318
318
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
319
319
|
return;
|
|
320
|
-
const
|
|
320
|
+
const i = {}, n = Oi(this);
|
|
321
321
|
for (const o of this.$$s)
|
|
322
|
-
o in
|
|
322
|
+
o in n && (i[o] = [t(o)]);
|
|
323
323
|
for (const o of this.attributes) {
|
|
324
324
|
const a = this.$$g_p(o.name);
|
|
325
325
|
a in this.$$d || (this.$$d[a] = Fe(a, o.value, this.$$p_d, "toProp"));
|
|
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
329
329
|
this.$$c = new this.$$ctor({
|
|
330
330
|
target: this.shadowRoot || this,
|
|
331
331
|
props: At(St({}, this.$$d), {
|
|
332
|
-
$$slots:
|
|
332
|
+
$$slots: i,
|
|
333
333
|
$$scope: {
|
|
334
334
|
ctx: []
|
|
335
335
|
}
|
|
@@ -361,9 +361,9 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
361
361
|
}
|
|
362
362
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
363
363
|
// and setting attributes through setAttribute etc, this is helpful
|
|
364
|
-
attributeChangedCallback(t,
|
|
364
|
+
attributeChangedCallback(t, i, n) {
|
|
365
365
|
var r;
|
|
366
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Fe(t,
|
|
366
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Fe(t, n, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
|
|
367
367
|
}
|
|
368
368
|
disconnectedCallback() {
|
|
369
369
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -372,16 +372,16 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
372
372
|
}
|
|
373
373
|
$$g_p(t) {
|
|
374
374
|
return Object.keys(this.$$p_d).find(
|
|
375
|
-
(
|
|
375
|
+
(i) => this.$$p_d[i].attribute === t || !this.$$p_d[i].attribute && i.toLowerCase() === t
|
|
376
376
|
) || t;
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
function Fe(e, t,
|
|
379
|
+
function Fe(e, t, i, n) {
|
|
380
380
|
var o;
|
|
381
|
-
const r = (o =
|
|
382
|
-
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
381
|
+
const r = (o = i[e]) == null ? void 0 : o.type;
|
|
382
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
|
|
383
383
|
return t;
|
|
384
|
-
if (
|
|
384
|
+
if (n === "toAttribute")
|
|
385
385
|
switch (r) {
|
|
386
386
|
case "Object":
|
|
387
387
|
case "Array":
|
|
@@ -406,10 +406,10 @@ function Fe(e, t, n, i) {
|
|
|
406
406
|
return t;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Wi(e, t, i, n, r, o) {
|
|
410
410
|
let a = class extends Kt {
|
|
411
411
|
constructor() {
|
|
412
|
-
super(e,
|
|
412
|
+
super(e, i, r), this.$$p_d = t;
|
|
413
413
|
}
|
|
414
414
|
static get observedAttributes() {
|
|
415
415
|
return Object.keys(t).map(
|
|
@@ -427,7 +427,7 @@ function Zn(e, t, n, i, r, o) {
|
|
|
427
427
|
u = Fe(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
|
|
428
428
|
}
|
|
429
429
|
});
|
|
430
|
-
}),
|
|
430
|
+
}), n.forEach((s) => {
|
|
431
431
|
Object.defineProperty(a.prototype, s, {
|
|
432
432
|
get() {
|
|
433
433
|
var u;
|
|
@@ -437,7 +437,7 @@ function Zn(e, t, n, i, r, o) {
|
|
|
437
437
|
}), e.element = /** @type {any} */
|
|
438
438
|
a, a;
|
|
439
439
|
}
|
|
440
|
-
class
|
|
440
|
+
class Zi {
|
|
441
441
|
constructor() {
|
|
442
442
|
/**
|
|
443
443
|
* ### PRIVATE API
|
|
@@ -458,7 +458,7 @@ class Yn {
|
|
|
458
458
|
}
|
|
459
459
|
/** @returns {void} */
|
|
460
460
|
$destroy() {
|
|
461
|
-
|
|
461
|
+
Vi(this, 1), this.$destroy = ie;
|
|
462
462
|
}
|
|
463
463
|
/**
|
|
464
464
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -466,13 +466,13 @@ class Yn {
|
|
|
466
466
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
467
467
|
* @returns {() => void}
|
|
468
468
|
*/
|
|
469
|
-
$on(t,
|
|
470
|
-
if (!xt(
|
|
471
|
-
return
|
|
472
|
-
const
|
|
473
|
-
return
|
|
474
|
-
const r =
|
|
475
|
-
r !== -1 &&
|
|
469
|
+
$on(t, i) {
|
|
470
|
+
if (!xt(i))
|
|
471
|
+
return ie;
|
|
472
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
473
|
+
return n.push(i), () => {
|
|
474
|
+
const r = n.indexOf(i);
|
|
475
|
+
r !== -1 && n.splice(r, 1);
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
@@ -480,24 +480,24 @@ class Yn {
|
|
|
480
480
|
* @returns {void}
|
|
481
481
|
*/
|
|
482
482
|
$set(t) {
|
|
483
|
-
this.$$set && !
|
|
483
|
+
this.$$set && !Ai(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
const
|
|
487
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
486
|
+
const Yi = "4";
|
|
487
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yi);
|
|
488
488
|
const be = [];
|
|
489
|
-
function
|
|
489
|
+
function Ji(e, t) {
|
|
490
490
|
return {
|
|
491
491
|
subscribe: Ye(e, t).subscribe
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
|
-
function Ye(e, t =
|
|
495
|
-
let
|
|
496
|
-
const
|
|
494
|
+
function Ye(e, t = ie) {
|
|
495
|
+
let i;
|
|
496
|
+
const n = /* @__PURE__ */ new Set();
|
|
497
497
|
function r(s) {
|
|
498
|
-
if (Yt(e, s) && (e = s,
|
|
498
|
+
if (Yt(e, s) && (e = s, i)) {
|
|
499
499
|
const u = !be.length;
|
|
500
|
-
for (const l of
|
|
500
|
+
for (const l of n)
|
|
501
501
|
l[1](), be.push(l, e);
|
|
502
502
|
if (u) {
|
|
503
503
|
for (let l = 0; l < be.length; l += 2)
|
|
@@ -509,29 +509,29 @@ function Ye(e, t = ne) {
|
|
|
509
509
|
function o(s) {
|
|
510
510
|
r(s(e));
|
|
511
511
|
}
|
|
512
|
-
function a(s, u =
|
|
512
|
+
function a(s, u = ie) {
|
|
513
513
|
const l = [s, u];
|
|
514
|
-
return
|
|
515
|
-
|
|
514
|
+
return n.add(l), n.size === 1 && (i = t(r, o) || ie), s(e), () => {
|
|
515
|
+
n.delete(l), n.size === 0 && i && (i(), i = null);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
518
|
return { set: r, update: o, subscribe: a };
|
|
519
519
|
}
|
|
520
|
-
function we(e, t,
|
|
521
|
-
const
|
|
520
|
+
function we(e, t, i) {
|
|
521
|
+
const n = !Array.isArray(e), r = n ? [e] : e;
|
|
522
522
|
if (!r.every(Boolean))
|
|
523
523
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
524
524
|
const o = t.length < 2;
|
|
525
|
-
return
|
|
525
|
+
return Ji(i, (a, s) => {
|
|
526
526
|
let u = !1;
|
|
527
527
|
const l = [];
|
|
528
|
-
let c = 0, p =
|
|
528
|
+
let c = 0, p = ie;
|
|
529
529
|
const m = () => {
|
|
530
530
|
if (c)
|
|
531
531
|
return;
|
|
532
532
|
p();
|
|
533
|
-
const E = t(
|
|
534
|
-
o ? a(E) : p = xt(E) ? E :
|
|
533
|
+
const E = t(n ? l[0] : l, a, s);
|
|
534
|
+
o ? a(E) : p = xt(E) ? E : ie;
|
|
535
535
|
}, d = r.map(
|
|
536
536
|
(E, _) => Jt(
|
|
537
537
|
E,
|
|
@@ -548,153 +548,153 @@ function we(e, t, n) {
|
|
|
548
548
|
};
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Qi(e) {
|
|
552
552
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
553
553
|
}
|
|
554
|
-
var
|
|
555
|
-
return
|
|
554
|
+
var Ki = function(t) {
|
|
555
|
+
return en(t) && !tn(t);
|
|
556
556
|
};
|
|
557
|
-
function
|
|
557
|
+
function en(e) {
|
|
558
558
|
return !!e && typeof e == "object";
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function tn(e) {
|
|
561
561
|
var t = Object.prototype.toString.call(e);
|
|
562
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
562
|
+
return t === "[object RegExp]" || t === "[object Date]" || on(e);
|
|
563
563
|
}
|
|
564
|
-
var
|
|
565
|
-
function
|
|
566
|
-
return e.$$typeof ===
|
|
564
|
+
var nn = typeof Symbol == "function" && Symbol.for, rn = nn ? Symbol.for("react.element") : 60103;
|
|
565
|
+
function on(e) {
|
|
566
|
+
return e.$$typeof === rn;
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function sn(e) {
|
|
569
569
|
return Array.isArray(e) ? [] : {};
|
|
570
570
|
}
|
|
571
571
|
function Me(e, t) {
|
|
572
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? _e(
|
|
572
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? _e(sn(e), e, t) : e;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
575
|
-
return e.concat(t).map(function(
|
|
576
|
-
return Me(
|
|
574
|
+
function an(e, t, i) {
|
|
575
|
+
return e.concat(t).map(function(n) {
|
|
576
|
+
return Me(n, i);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function ln(e, t) {
|
|
580
580
|
if (!t.customMerge)
|
|
581
581
|
return _e;
|
|
582
|
-
var
|
|
583
|
-
return typeof
|
|
582
|
+
var i = t.customMerge(e);
|
|
583
|
+
return typeof i == "function" ? i : _e;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function un(e) {
|
|
586
586
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
587
587
|
return Object.propertyIsEnumerable.call(e, t);
|
|
588
588
|
}) : [];
|
|
589
589
|
}
|
|
590
590
|
function Nt(e) {
|
|
591
|
-
return Object.keys(e).concat(
|
|
591
|
+
return Object.keys(e).concat(un(e));
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function ei(e, t) {
|
|
594
594
|
try {
|
|
595
595
|
return t in e;
|
|
596
|
-
} catch (
|
|
596
|
+
} catch (i) {
|
|
597
597
|
return !1;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
601
|
-
return
|
|
600
|
+
function cn(e, t) {
|
|
601
|
+
return ei(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
var
|
|
605
|
-
return
|
|
606
|
-
|
|
603
|
+
function hn(e, t, i) {
|
|
604
|
+
var n = {};
|
|
605
|
+
return i.isMergeableObject(e) && Nt(e).forEach(function(r) {
|
|
606
|
+
n[r] = Me(e[r], i);
|
|
607
607
|
}), Nt(t).forEach(function(r) {
|
|
608
|
-
|
|
609
|
-
}),
|
|
608
|
+
cn(e, r) || (ei(e, r) && i.isMergeableObject(t[r]) ? n[r] = ln(r, i)(e[r], t[r], i) : n[r] = Me(t[r], i));
|
|
609
|
+
}), n;
|
|
610
610
|
}
|
|
611
|
-
function _e(e, t,
|
|
612
|
-
|
|
613
|
-
var
|
|
614
|
-
return o ?
|
|
611
|
+
function _e(e, t, i) {
|
|
612
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || an, i.isMergeableObject = i.isMergeableObject || Ki, i.cloneUnlessOtherwiseSpecified = Me;
|
|
613
|
+
var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
|
|
614
|
+
return o ? n ? i.arrayMerge(e, t, i) : hn(e, t, i) : Me(t, i);
|
|
615
615
|
}
|
|
616
|
-
_e.all = function(t,
|
|
616
|
+
_e.all = function(t, i) {
|
|
617
617
|
if (!Array.isArray(t))
|
|
618
618
|
throw new Error("first argument should be an array");
|
|
619
|
-
return t.reduce(function(
|
|
620
|
-
return _e(
|
|
619
|
+
return t.reduce(function(n, r) {
|
|
620
|
+
return _e(n, r, i);
|
|
621
621
|
}, {});
|
|
622
622
|
};
|
|
623
|
-
var
|
|
624
|
-
const
|
|
623
|
+
var fn = _e, pn = fn;
|
|
624
|
+
const mn = /* @__PURE__ */ Qi(pn);
|
|
625
625
|
var pt = function(e, t) {
|
|
626
|
-
return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
627
|
-
|
|
628
|
-
} || function(
|
|
629
|
-
for (var r in
|
|
630
|
-
Object.prototype.hasOwnProperty.call(
|
|
626
|
+
return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
|
|
627
|
+
i.__proto__ = n;
|
|
628
|
+
} || function(i, n) {
|
|
629
|
+
for (var r in n)
|
|
630
|
+
Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
|
|
631
631
|
}, pt(e, t);
|
|
632
632
|
};
|
|
633
633
|
function Je(e, t) {
|
|
634
634
|
if (typeof t != "function" && t !== null)
|
|
635
635
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
636
636
|
pt(e, t);
|
|
637
|
-
function
|
|
637
|
+
function i() {
|
|
638
638
|
this.constructor = e;
|
|
639
639
|
}
|
|
640
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
640
|
+
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
641
641
|
}
|
|
642
642
|
var se = function() {
|
|
643
643
|
return se = Object.assign || function(t) {
|
|
644
|
-
for (var
|
|
645
|
-
|
|
646
|
-
for (var o in
|
|
647
|
-
Object.prototype.hasOwnProperty.call(
|
|
644
|
+
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
645
|
+
i = arguments[n];
|
|
646
|
+
for (var o in i)
|
|
647
|
+
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
648
648
|
}
|
|
649
649
|
return t;
|
|
650
650
|
}, se.apply(this, arguments);
|
|
651
651
|
};
|
|
652
|
-
function
|
|
653
|
-
var
|
|
654
|
-
for (var
|
|
655
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
652
|
+
function dn(e, t) {
|
|
653
|
+
var i = {};
|
|
654
|
+
for (var n in e)
|
|
655
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
656
656
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
657
|
-
for (var r = 0,
|
|
658
|
-
t.indexOf(
|
|
659
|
-
return
|
|
657
|
+
for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
658
|
+
t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
|
|
659
|
+
return i;
|
|
660
660
|
}
|
|
661
|
-
function ot(e, t,
|
|
662
|
-
if (
|
|
663
|
-
for (var
|
|
664
|
-
(o || !(
|
|
661
|
+
function ot(e, t, i) {
|
|
662
|
+
if (i || arguments.length === 2)
|
|
663
|
+
for (var n = 0, r = t.length, o; n < r; n++)
|
|
664
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
665
665
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
666
666
|
}
|
|
667
667
|
function st(e, t) {
|
|
668
|
-
var
|
|
668
|
+
var i = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, r = t && t.strategy ? t.strategy : yn;
|
|
669
669
|
return r(e, {
|
|
670
|
-
cache:
|
|
671
|
-
serializer:
|
|
670
|
+
cache: i,
|
|
671
|
+
serializer: n
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function gn(e) {
|
|
675
675
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
676
676
|
}
|
|
677
|
-
function
|
|
678
|
-
var r =
|
|
679
|
-
return typeof o == "undefined" && (o = e.call(this,
|
|
677
|
+
function bn(e, t, i, n) {
|
|
678
|
+
var r = gn(n) ? n : i(n), o = t.get(r);
|
|
679
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(r, o)), o;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
var
|
|
683
|
-
return typeof o == "undefined" && (o = e.apply(this,
|
|
681
|
+
function ti(e, t, i) {
|
|
682
|
+
var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
|
|
683
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(r, o)), o;
|
|
684
684
|
}
|
|
685
|
-
function
|
|
686
|
-
return
|
|
685
|
+
function ii(e, t, i, n, r) {
|
|
686
|
+
return i.bind(t, e, n, r);
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
var
|
|
690
|
-
return
|
|
688
|
+
function yn(e, t) {
|
|
689
|
+
var i = e.length === 1 ? bn : ti;
|
|
690
|
+
return ii(e, this, i, t.cache.create(), t.serializer);
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
return
|
|
692
|
+
function vn(e, t) {
|
|
693
|
+
return ii(e, this, ti, t.cache.create(), t.serializer);
|
|
694
694
|
}
|
|
695
|
-
var
|
|
695
|
+
var En = function() {
|
|
696
696
|
return JSON.stringify(arguments);
|
|
697
|
-
},
|
|
697
|
+
}, _n = (
|
|
698
698
|
/** @class */
|
|
699
699
|
function() {
|
|
700
700
|
function e() {
|
|
@@ -702,22 +702,22 @@ var Ei = function() {
|
|
|
702
702
|
}
|
|
703
703
|
return e.prototype.get = function(t) {
|
|
704
704
|
return this.cache[t];
|
|
705
|
-
}, e.prototype.set = function(t,
|
|
706
|
-
this.cache[t] =
|
|
705
|
+
}, e.prototype.set = function(t, i) {
|
|
706
|
+
this.cache[t] = i;
|
|
707
707
|
}, e;
|
|
708
708
|
}()
|
|
709
|
-
),
|
|
709
|
+
), xn = {
|
|
710
710
|
create: function() {
|
|
711
|
-
return new
|
|
711
|
+
return new _n();
|
|
712
712
|
}
|
|
713
713
|
}, at = {
|
|
714
|
-
variadic:
|
|
714
|
+
variadic: vn
|
|
715
715
|
}, qe = function() {
|
|
716
716
|
return qe = Object.assign || function(t) {
|
|
717
|
-
for (var
|
|
718
|
-
|
|
719
|
-
for (var o in
|
|
720
|
-
Object.prototype.hasOwnProperty.call(
|
|
717
|
+
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
718
|
+
i = arguments[n];
|
|
719
|
+
for (var o in i)
|
|
720
|
+
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
721
721
|
}
|
|
722
722
|
return t;
|
|
723
723
|
}, qe.apply(this, arguments);
|
|
@@ -737,47 +737,47 @@ var xe;
|
|
|
737
737
|
function Ot(e) {
|
|
738
738
|
return e.type === $.literal;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function Tn(e) {
|
|
741
741
|
return e.type === $.argument;
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function ni(e) {
|
|
744
744
|
return e.type === $.number;
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function ri(e) {
|
|
747
747
|
return e.type === $.date;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function oi(e) {
|
|
750
750
|
return e.type === $.time;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
function si(e) {
|
|
753
753
|
return e.type === $.select;
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function ai(e) {
|
|
756
756
|
return e.type === $.plural;
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function Pn(e) {
|
|
759
759
|
return e.type === $.pound;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function li(e) {
|
|
762
762
|
return e.type === $.tag;
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function ui(e) {
|
|
765
765
|
return !!(e && typeof e == "object" && e.type === xe.number);
|
|
766
766
|
}
|
|
767
767
|
function mt(e) {
|
|
768
768
|
return !!(e && typeof e == "object" && e.type === xe.dateTime);
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
function
|
|
770
|
+
var ci = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
771
|
+
function Bn(e) {
|
|
772
772
|
var t = {};
|
|
773
|
-
return e.replace(
|
|
774
|
-
var
|
|
775
|
-
switch (
|
|
773
|
+
return e.replace(wn, function(i) {
|
|
774
|
+
var n = i.length;
|
|
775
|
+
switch (i[0]) {
|
|
776
776
|
case "G":
|
|
777
|
-
t.era =
|
|
777
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
778
778
|
break;
|
|
779
779
|
case "y":
|
|
780
|
-
t.year =
|
|
780
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
781
781
|
break;
|
|
782
782
|
case "Y":
|
|
783
783
|
case "u":
|
|
@@ -789,30 +789,30 @@ function Bi(e) {
|
|
|
789
789
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
790
790
|
case "M":
|
|
791
791
|
case "L":
|
|
792
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
792
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
793
793
|
break;
|
|
794
794
|
case "w":
|
|
795
795
|
case "W":
|
|
796
796
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
797
797
|
case "d":
|
|
798
|
-
t.day = ["numeric", "2-digit"][
|
|
798
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
799
799
|
break;
|
|
800
800
|
case "D":
|
|
801
801
|
case "F":
|
|
802
802
|
case "g":
|
|
803
803
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
804
804
|
case "E":
|
|
805
|
-
t.weekday =
|
|
805
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
806
806
|
break;
|
|
807
807
|
case "e":
|
|
808
|
-
if (
|
|
808
|
+
if (n < 4)
|
|
809
809
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
810
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
810
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
811
811
|
break;
|
|
812
812
|
case "c":
|
|
813
|
-
if (
|
|
813
|
+
if (n < 4)
|
|
814
814
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
815
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
815
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
816
816
|
break;
|
|
817
817
|
case "a":
|
|
818
818
|
t.hour12 = !0;
|
|
@@ -821,32 +821,32 @@ function Bi(e) {
|
|
|
821
821
|
case "B":
|
|
822
822
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
823
823
|
case "h":
|
|
824
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
824
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
825
825
|
break;
|
|
826
826
|
case "H":
|
|
827
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
827
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
828
828
|
break;
|
|
829
829
|
case "K":
|
|
830
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
830
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
831
831
|
break;
|
|
832
832
|
case "k":
|
|
833
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
833
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
834
834
|
break;
|
|
835
835
|
case "j":
|
|
836
836
|
case "J":
|
|
837
837
|
case "C":
|
|
838
838
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
839
839
|
case "m":
|
|
840
|
-
t.minute = ["numeric", "2-digit"][
|
|
840
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
841
841
|
break;
|
|
842
842
|
case "s":
|
|
843
|
-
t.second = ["numeric", "2-digit"][
|
|
843
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
844
844
|
break;
|
|
845
845
|
case "S":
|
|
846
846
|
case "A":
|
|
847
847
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
848
848
|
case "z":
|
|
849
|
-
t.timeZoneName =
|
|
849
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
850
850
|
break;
|
|
851
851
|
case "Z":
|
|
852
852
|
case "O":
|
|
@@ -861,22 +861,22 @@ function Bi(e) {
|
|
|
861
861
|
}
|
|
862
862
|
var V = function() {
|
|
863
863
|
return V = Object.assign || function(t) {
|
|
864
|
-
for (var
|
|
865
|
-
|
|
866
|
-
for (var o in
|
|
867
|
-
Object.prototype.hasOwnProperty.call(
|
|
864
|
+
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
865
|
+
i = arguments[n];
|
|
866
|
+
for (var o in i)
|
|
867
|
+
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
868
868
|
}
|
|
869
869
|
return t;
|
|
870
870
|
}, V.apply(this, arguments);
|
|
871
871
|
};
|
|
872
|
-
var
|
|
873
|
-
function
|
|
872
|
+
var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
873
|
+
function Sn(e) {
|
|
874
874
|
if (e.length === 0)
|
|
875
875
|
throw new Error("Number skeleton cannot be empty");
|
|
876
|
-
for (var t = e.split(
|
|
876
|
+
for (var t = e.split(Ln).filter(function(m) {
|
|
877
877
|
return m.length > 0;
|
|
878
|
-
}),
|
|
879
|
-
var o = r[
|
|
878
|
+
}), i = [], n = 0, r = t; n < r.length; n++) {
|
|
879
|
+
var o = r[n], a = o.split("/");
|
|
880
880
|
if (a.length === 0)
|
|
881
881
|
throw new Error("Invalid number skeleton");
|
|
882
882
|
for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
@@ -884,21 +884,21 @@ function Si(e) {
|
|
|
884
884
|
if (p.length === 0)
|
|
885
885
|
throw new Error("Invalid number skeleton");
|
|
886
886
|
}
|
|
887
|
-
|
|
887
|
+
i.push({ stem: s, options: u });
|
|
888
888
|
}
|
|
889
|
-
return
|
|
889
|
+
return i;
|
|
890
890
|
}
|
|
891
|
-
function
|
|
891
|
+
function An(e) {
|
|
892
892
|
return e.replace(/^(.*?)-/, "");
|
|
893
893
|
}
|
|
894
|
-
var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
894
|
+
var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hi = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, fi = /^(0+)$/;
|
|
895
895
|
function Dt(e) {
|
|
896
896
|
var t = {};
|
|
897
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
898
|
-
return typeof r != "string" ? (t.minimumSignificantDigits =
|
|
897
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hi, function(i, n, r) {
|
|
898
|
+
return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
|
|
899
899
|
}), t;
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function pi(e) {
|
|
902
902
|
switch (e) {
|
|
903
903
|
case "sign-auto":
|
|
904
904
|
return {
|
|
@@ -938,27 +938,27 @@ function mn(e) {
|
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function kn(e) {
|
|
942
942
|
var t;
|
|
943
943
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
944
944
|
notation: "engineering"
|
|
945
945
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
946
946
|
notation: "scientific"
|
|
947
947
|
}, e = e.slice(1)), t) {
|
|
948
|
-
var
|
|
949
|
-
if (
|
|
948
|
+
var i = e.slice(0, 2);
|
|
949
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fi.test(e))
|
|
950
950
|
throw new Error("Malformed concise eng/scientific notation");
|
|
951
951
|
t.minimumIntegerDigits = e.length;
|
|
952
952
|
}
|
|
953
953
|
return t;
|
|
954
954
|
}
|
|
955
955
|
function Rt(e) {
|
|
956
|
-
var t = {},
|
|
957
|
-
return
|
|
956
|
+
var t = {}, i = pi(e);
|
|
957
|
+
return i || t;
|
|
958
958
|
}
|
|
959
|
-
function
|
|
960
|
-
for (var t = {},
|
|
961
|
-
var r = i
|
|
959
|
+
function Hn(e) {
|
|
960
|
+
for (var t = {}, i = 0, n = e; i < n.length; i++) {
|
|
961
|
+
var r = n[i];
|
|
962
962
|
switch (r.stem) {
|
|
963
963
|
case "percent":
|
|
964
964
|
case "%":
|
|
@@ -980,7 +980,7 @@ function Hi(e) {
|
|
|
980
980
|
continue;
|
|
981
981
|
case "measure-unit":
|
|
982
982
|
case "unit":
|
|
983
|
-
t.style = "unit", t.unit =
|
|
983
|
+
t.style = "unit", t.unit = An(r.options[0]);
|
|
984
984
|
continue;
|
|
985
985
|
case "compact-short":
|
|
986
986
|
case "K":
|
|
@@ -1042,7 +1042,7 @@ function Hi(e) {
|
|
|
1042
1042
|
case "integer-width":
|
|
1043
1043
|
if (r.options.length > 1)
|
|
1044
1044
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1045
|
-
r.options[0].replace(
|
|
1045
|
+
r.options[0].replace(In, function(u, l, c, p, m, d) {
|
|
1046
1046
|
if (l)
|
|
1047
1047
|
t.minimumIntegerDigits = c.length;
|
|
1048
1048
|
else {
|
|
@@ -1055,7 +1055,7 @@ function Hi(e) {
|
|
|
1055
1055
|
});
|
|
1056
1056
|
continue;
|
|
1057
1057
|
}
|
|
1058
|
-
if (
|
|
1058
|
+
if (fi.test(r.stem)) {
|
|
1059
1059
|
t.minimumIntegerDigits = r.stem.length;
|
|
1060
1060
|
continue;
|
|
1061
1061
|
}
|
|
@@ -1069,13 +1069,13 @@ function Hi(e) {
|
|
|
1069
1069
|
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Dt(o)));
|
|
1070
1070
|
continue;
|
|
1071
1071
|
}
|
|
1072
|
-
if (
|
|
1072
|
+
if (hi.test(r.stem)) {
|
|
1073
1073
|
t = V(V({}, t), Dt(r.stem));
|
|
1074
1074
|
continue;
|
|
1075
1075
|
}
|
|
1076
|
-
var a =
|
|
1076
|
+
var a = pi(r.stem);
|
|
1077
1077
|
a && (t = V(V({}, t), a));
|
|
1078
|
-
var s =
|
|
1078
|
+
var s = kn(r.stem);
|
|
1079
1079
|
s && (t = V(V({}, t), s));
|
|
1080
1080
|
}
|
|
1081
1081
|
return t;
|
|
@@ -2495,23 +2495,23 @@ var ze = {
|
|
|
2495
2495
|
"h"
|
|
2496
2496
|
]
|
|
2497
2497
|
};
|
|
2498
|
-
function
|
|
2499
|
-
for (var
|
|
2500
|
-
var r = e.charAt(
|
|
2498
|
+
function Cn(e, t) {
|
|
2499
|
+
for (var i = "", n = 0; n < e.length; n++) {
|
|
2500
|
+
var r = e.charAt(n);
|
|
2501
2501
|
if (r === "j") {
|
|
2502
|
-
for (var o = 0;
|
|
2503
|
-
o++,
|
|
2504
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2502
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
|
|
2503
|
+
o++, n++;
|
|
2504
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Nn(t);
|
|
2505
2505
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2506
|
-
|
|
2506
|
+
i += u;
|
|
2507
2507
|
for (; a-- > 0; )
|
|
2508
|
-
|
|
2508
|
+
i = l + i;
|
|
2509
2509
|
} else
|
|
2510
|
-
r === "J" ?
|
|
2510
|
+
r === "J" ? i += "H" : i += r;
|
|
2511
2511
|
}
|
|
2512
|
-
return
|
|
2512
|
+
return i;
|
|
2513
2513
|
}
|
|
2514
|
-
function
|
|
2514
|
+
function Nn(e) {
|
|
2515
2515
|
var t = e.hourCycle;
|
|
2516
2516
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2517
2517
|
e.hourCycles && // @ts-ignore
|
|
@@ -2528,73 +2528,73 @@ function Ni(e) {
|
|
|
2528
2528
|
default:
|
|
2529
2529
|
throw new Error("Invalid hourCycle");
|
|
2530
2530
|
}
|
|
2531
|
-
var
|
|
2532
|
-
|
|
2533
|
-
var r = ze[
|
|
2531
|
+
var i = e.language, n;
|
|
2532
|
+
i !== "root" && (n = e.maximize().region);
|
|
2533
|
+
var r = ze[n || ""] || ze[i || ""] || ze["".concat(i, "-001")] || ze["001"];
|
|
2534
2534
|
return r[0];
|
|
2535
2535
|
}
|
|
2536
|
-
var lt,
|
|
2536
|
+
var lt, On = new RegExp("^".concat(ci.source, "*")), Mn = new RegExp("".concat(ci.source, "*$"));
|
|
2537
2537
|
function A(e, t) {
|
|
2538
2538
|
return { start: e, end: t };
|
|
2539
2539
|
}
|
|
2540
|
-
var
|
|
2540
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Fn = zn ? Number.isSafeInteger : function(e) {
|
|
2541
2541
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2542
2542
|
}, dt = !0;
|
|
2543
2543
|
try {
|
|
2544
|
-
var
|
|
2545
|
-
dt = ((lt =
|
|
2544
|
+
var Vn = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2545
|
+
dt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
|
|
2546
2546
|
} catch (e) {
|
|
2547
2547
|
dt = !1;
|
|
2548
2548
|
}
|
|
2549
|
-
var Ut =
|
|
2549
|
+
var Ut = Dn ? (
|
|
2550
2550
|
// Native
|
|
2551
|
-
function(t,
|
|
2552
|
-
return t.startsWith(
|
|
2551
|
+
function(t, i, n) {
|
|
2552
|
+
return t.startsWith(i, n);
|
|
2553
2553
|
}
|
|
2554
2554
|
) : (
|
|
2555
2555
|
// For IE11
|
|
2556
|
-
function(t,
|
|
2557
|
-
return t.slice(
|
|
2556
|
+
function(t, i, n) {
|
|
2557
|
+
return t.slice(n, n + i.length) === i;
|
|
2558
2558
|
}
|
|
2559
|
-
), gt =
|
|
2559
|
+
), gt = Rn ? String.fromCodePoint : (
|
|
2560
2560
|
// IE11
|
|
2561
2561
|
function() {
|
|
2562
|
-
for (var t = [],
|
|
2563
|
-
t[
|
|
2564
|
-
for (var
|
|
2562
|
+
for (var t = [], i = 0; i < arguments.length; i++)
|
|
2563
|
+
t[i] = arguments[i];
|
|
2564
|
+
for (var n = "", r = t.length, o = 0, a; r > o; ) {
|
|
2565
2565
|
if (a = t[o++], a > 1114111)
|
|
2566
2566
|
throw RangeError(a + " is not a valid code point");
|
|
2567
|
-
|
|
2567
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2568
2568
|
}
|
|
2569
|
-
return
|
|
2569
|
+
return n;
|
|
2570
2570
|
}
|
|
2571
2571
|
), jt = (
|
|
2572
2572
|
// native
|
|
2573
|
-
|
|
2573
|
+
Un ? Object.fromEntries : (
|
|
2574
2574
|
// Ponyfill
|
|
2575
2575
|
function(t) {
|
|
2576
|
-
for (var
|
|
2577
|
-
var o = r[
|
|
2578
|
-
|
|
2576
|
+
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
2577
|
+
var o = r[n], a = o[0], s = o[1];
|
|
2578
|
+
i[a] = s;
|
|
2579
2579
|
}
|
|
2580
|
-
return
|
|
2580
|
+
return i;
|
|
2581
2581
|
}
|
|
2582
2582
|
)
|
|
2583
|
-
),
|
|
2583
|
+
), mi = jn ? (
|
|
2584
2584
|
// Native
|
|
2585
|
-
function(t,
|
|
2586
|
-
return t.codePointAt(
|
|
2585
|
+
function(t, i) {
|
|
2586
|
+
return t.codePointAt(i);
|
|
2587
2587
|
}
|
|
2588
2588
|
) : (
|
|
2589
2589
|
// IE 11
|
|
2590
|
-
function(t,
|
|
2591
|
-
var
|
|
2592
|
-
if (!(
|
|
2593
|
-
var r = t.charCodeAt(
|
|
2594
|
-
return r < 55296 || r > 56319 ||
|
|
2590
|
+
function(t, i) {
|
|
2591
|
+
var n = t.length;
|
|
2592
|
+
if (!(i < 0 || i >= n)) {
|
|
2593
|
+
var r = t.charCodeAt(i), o;
|
|
2594
|
+
return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
|
-
),
|
|
2597
|
+
), Xn = Gn ? (
|
|
2598
2598
|
// Native
|
|
2599
2599
|
function(t) {
|
|
2600
2600
|
return t.trimStart();
|
|
@@ -2602,9 +2602,9 @@ var Ut = Di ? (
|
|
|
2602
2602
|
) : (
|
|
2603
2603
|
// Ponyfill
|
|
2604
2604
|
function(t) {
|
|
2605
|
-
return t.replace(
|
|
2605
|
+
return t.replace(On, "");
|
|
2606
2606
|
}
|
|
2607
|
-
),
|
|
2607
|
+
), qn = $n ? (
|
|
2608
2608
|
// Native
|
|
2609
2609
|
function(t) {
|
|
2610
2610
|
return t.trimEnd();
|
|
@@ -2612,69 +2612,69 @@ var Ut = Di ? (
|
|
|
2612
2612
|
) : (
|
|
2613
2613
|
// Ponyfill
|
|
2614
2614
|
function(t) {
|
|
2615
|
-
return t.replace(
|
|
2615
|
+
return t.replace(Mn, "");
|
|
2616
2616
|
}
|
|
2617
2617
|
);
|
|
2618
|
-
function
|
|
2618
|
+
function di(e, t) {
|
|
2619
2619
|
return new RegExp(e, t);
|
|
2620
2620
|
}
|
|
2621
2621
|
var bt;
|
|
2622
2622
|
if (dt) {
|
|
2623
|
-
var Gt =
|
|
2624
|
-
bt = function(t,
|
|
2625
|
-
var
|
|
2626
|
-
Gt.lastIndex =
|
|
2623
|
+
var Gt = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2624
|
+
bt = function(t, i) {
|
|
2625
|
+
var n;
|
|
2626
|
+
Gt.lastIndex = i;
|
|
2627
2627
|
var r = Gt.exec(t);
|
|
2628
|
-
return (
|
|
2628
|
+
return (n = r[1]) !== null && n !== void 0 ? n : "";
|
|
2629
2629
|
};
|
|
2630
2630
|
} else
|
|
2631
|
-
bt = function(t,
|
|
2632
|
-
for (var
|
|
2633
|
-
var r =
|
|
2634
|
-
if (r === void 0 ||
|
|
2631
|
+
bt = function(t, i) {
|
|
2632
|
+
for (var n = []; ; ) {
|
|
2633
|
+
var r = mi(t, i);
|
|
2634
|
+
if (r === void 0 || gi(r) || Jn(r))
|
|
2635
2635
|
break;
|
|
2636
|
-
|
|
2636
|
+
n.push(r), i += r >= 65536 ? 2 : 1;
|
|
2637
2637
|
}
|
|
2638
|
-
return gt.apply(void 0,
|
|
2638
|
+
return gt.apply(void 0, n);
|
|
2639
2639
|
};
|
|
2640
|
-
var
|
|
2640
|
+
var Wn = (
|
|
2641
2641
|
/** @class */
|
|
2642
2642
|
function() {
|
|
2643
|
-
function e(t,
|
|
2644
|
-
|
|
2643
|
+
function e(t, i) {
|
|
2644
|
+
i === void 0 && (i = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!i.ignoreTag, this.locale = i.locale, this.requiresOtherClause = !!i.requiresOtherClause, this.shouldParseSkeletons = !!i.shouldParseSkeletons;
|
|
2645
2645
|
}
|
|
2646
2646
|
return e.prototype.parse = function() {
|
|
2647
2647
|
if (this.offset() !== 0)
|
|
2648
2648
|
throw Error("parser can only be used once");
|
|
2649
2649
|
return this.parseMessage(0, "", !1);
|
|
2650
|
-
}, e.prototype.parseMessage = function(t,
|
|
2650
|
+
}, e.prototype.parseMessage = function(t, i, n) {
|
|
2651
2651
|
for (var r = []; !this.isEOF(); ) {
|
|
2652
2652
|
var o = this.char();
|
|
2653
2653
|
if (o === 123) {
|
|
2654
|
-
var a = this.parseArgument(t,
|
|
2654
|
+
var a = this.parseArgument(t, n);
|
|
2655
2655
|
if (a.err)
|
|
2656
2656
|
return a;
|
|
2657
2657
|
r.push(a.val);
|
|
2658
2658
|
} else {
|
|
2659
2659
|
if (o === 125 && t > 0)
|
|
2660
2660
|
break;
|
|
2661
|
-
if (o === 35 && (
|
|
2661
|
+
if (o === 35 && (i === "plural" || i === "selectordinal")) {
|
|
2662
2662
|
var s = this.clonePosition();
|
|
2663
2663
|
this.bump(), r.push({
|
|
2664
2664
|
type: $.pound,
|
|
2665
2665
|
location: A(s, this.clonePosition())
|
|
2666
2666
|
});
|
|
2667
2667
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2668
|
-
if (
|
|
2668
|
+
if (n)
|
|
2669
2669
|
break;
|
|
2670
2670
|
return this.error(B.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2671
2671
|
} else if (o === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
|
|
2672
|
-
var a = this.parseTag(t,
|
|
2672
|
+
var a = this.parseTag(t, i);
|
|
2673
2673
|
if (a.err)
|
|
2674
2674
|
return a;
|
|
2675
2675
|
r.push(a.val);
|
|
2676
2676
|
} else {
|
|
2677
|
-
var a = this.parseLiteral(t,
|
|
2677
|
+
var a = this.parseLiteral(t, i);
|
|
2678
2678
|
if (a.err)
|
|
2679
2679
|
return a;
|
|
2680
2680
|
r.push(a.val);
|
|
@@ -2682,8 +2682,8 @@ var Wi = (
|
|
|
2682
2682
|
}
|
|
2683
2683
|
}
|
|
2684
2684
|
return { val: r, err: null };
|
|
2685
|
-
}, e.prototype.parseTag = function(t,
|
|
2686
|
-
var
|
|
2685
|
+
}, e.prototype.parseTag = function(t, i) {
|
|
2686
|
+
var n = this.clonePosition();
|
|
2687
2687
|
this.bump();
|
|
2688
2688
|
var r = this.parseTagName();
|
|
2689
2689
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
@@ -2691,12 +2691,12 @@ var Wi = (
|
|
|
2691
2691
|
val: {
|
|
2692
2692
|
type: $.literal,
|
|
2693
2693
|
value: "<".concat(r, "/>"),
|
|
2694
|
-
location: A(
|
|
2694
|
+
location: A(n, this.clonePosition())
|
|
2695
2695
|
},
|
|
2696
2696
|
err: null
|
|
2697
2697
|
};
|
|
2698
2698
|
if (this.bumpIf(">")) {
|
|
2699
|
-
var o = this.parseMessage(t + 1,
|
|
2699
|
+
var o = this.parseMessage(t + 1, i, !0);
|
|
2700
2700
|
if (o.err)
|
|
2701
2701
|
return o;
|
|
2702
2702
|
var a = o.val, s = this.clonePosition();
|
|
@@ -2709,27 +2709,27 @@ var Wi = (
|
|
|
2709
2709
|
type: $.tag,
|
|
2710
2710
|
value: r,
|
|
2711
2711
|
children: a,
|
|
2712
|
-
location: A(
|
|
2712
|
+
location: A(n, this.clonePosition())
|
|
2713
2713
|
},
|
|
2714
2714
|
err: null
|
|
2715
2715
|
} : this.error(B.INVALID_TAG, A(s, this.clonePosition())));
|
|
2716
2716
|
} else
|
|
2717
|
-
return this.error(B.UNCLOSED_TAG, A(
|
|
2717
|
+
return this.error(B.UNCLOSED_TAG, A(n, this.clonePosition()));
|
|
2718
2718
|
} else
|
|
2719
|
-
return this.error(B.INVALID_TAG, A(
|
|
2719
|
+
return this.error(B.INVALID_TAG, A(n, this.clonePosition()));
|
|
2720
2720
|
}, e.prototype.parseTagName = function() {
|
|
2721
2721
|
var t = this.offset();
|
|
2722
|
-
for (this.bump(); !this.isEOF() &&
|
|
2722
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
2723
2723
|
this.bump();
|
|
2724
2724
|
return this.message.slice(t, this.offset());
|
|
2725
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2726
|
-
for (var
|
|
2727
|
-
var o = this.tryParseQuote(
|
|
2725
|
+
}, e.prototype.parseLiteral = function(t, i) {
|
|
2726
|
+
for (var n = this.clonePosition(), r = ""; ; ) {
|
|
2727
|
+
var o = this.tryParseQuote(i);
|
|
2728
2728
|
if (o) {
|
|
2729
2729
|
r += o;
|
|
2730
2730
|
continue;
|
|
2731
2731
|
}
|
|
2732
|
-
var a = this.tryParseUnquoted(t,
|
|
2732
|
+
var a = this.tryParseUnquoted(t, i);
|
|
2733
2733
|
if (a) {
|
|
2734
2734
|
r += a;
|
|
2735
2735
|
continue;
|
|
@@ -2741,14 +2741,14 @@ var Wi = (
|
|
|
2741
2741
|
}
|
|
2742
2742
|
break;
|
|
2743
2743
|
}
|
|
2744
|
-
var u = A(
|
|
2744
|
+
var u = A(n, this.clonePosition());
|
|
2745
2745
|
return {
|
|
2746
2746
|
val: { type: $.literal, value: r, location: u },
|
|
2747
2747
|
err: null
|
|
2748
2748
|
};
|
|
2749
2749
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2750
2750
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2751
|
-
!
|
|
2751
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2752
2752
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2753
2753
|
if (this.isEOF() || this.char() !== 39)
|
|
2754
2754
|
return null;
|
|
@@ -2768,37 +2768,37 @@ var Wi = (
|
|
|
2768
2768
|
return null;
|
|
2769
2769
|
}
|
|
2770
2770
|
this.bump();
|
|
2771
|
-
var
|
|
2771
|
+
var i = [this.char()];
|
|
2772
2772
|
for (this.bump(); !this.isEOF(); ) {
|
|
2773
|
-
var
|
|
2774
|
-
if (
|
|
2773
|
+
var n = this.char();
|
|
2774
|
+
if (n === 39)
|
|
2775
2775
|
if (this.peek() === 39)
|
|
2776
|
-
|
|
2776
|
+
i.push(39), this.bump();
|
|
2777
2777
|
else {
|
|
2778
2778
|
this.bump();
|
|
2779
2779
|
break;
|
|
2780
2780
|
}
|
|
2781
2781
|
else
|
|
2782
|
-
|
|
2782
|
+
i.push(n);
|
|
2783
2783
|
this.bump();
|
|
2784
2784
|
}
|
|
2785
|
-
return gt.apply(void 0,
|
|
2786
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2785
|
+
return gt.apply(void 0, i);
|
|
2786
|
+
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2787
2787
|
if (this.isEOF())
|
|
2788
2788
|
return null;
|
|
2789
|
-
var
|
|
2790
|
-
return
|
|
2791
|
-
}, e.prototype.parseArgument = function(t,
|
|
2792
|
-
var
|
|
2789
|
+
var n = this.char();
|
|
2790
|
+
return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), gt(n));
|
|
2791
|
+
}, e.prototype.parseArgument = function(t, i) {
|
|
2792
|
+
var n = this.clonePosition();
|
|
2793
2793
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2794
|
-
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(
|
|
2794
|
+
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
|
|
2795
2795
|
if (this.char() === 125)
|
|
2796
|
-
return this.bump(), this.error(B.EMPTY_ARGUMENT, A(
|
|
2796
|
+
return this.bump(), this.error(B.EMPTY_ARGUMENT, A(n, this.clonePosition()));
|
|
2797
2797
|
var r = this.parseIdentifierIfPossible().value;
|
|
2798
2798
|
if (!r)
|
|
2799
|
-
return this.error(B.MALFORMED_ARGUMENT, A(
|
|
2799
|
+
return this.error(B.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
2800
2800
|
if (this.bumpSpace(), this.isEOF())
|
|
2801
|
-
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(
|
|
2801
|
+
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
|
|
2802
2802
|
switch (this.char()) {
|
|
2803
2803
|
case 125:
|
|
2804
2804
|
return this.bump(), {
|
|
@@ -2806,21 +2806,21 @@ var Wi = (
|
|
|
2806
2806
|
type: $.argument,
|
|
2807
2807
|
// value does not include the opening and closing braces.
|
|
2808
2808
|
value: r,
|
|
2809
|
-
location: A(
|
|
2809
|
+
location: A(n, this.clonePosition())
|
|
2810
2810
|
},
|
|
2811
2811
|
err: null
|
|
2812
2812
|
};
|
|
2813
2813
|
case 44:
|
|
2814
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(
|
|
2814
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
|
|
2815
2815
|
default:
|
|
2816
|
-
return this.error(B.MALFORMED_ARGUMENT, A(
|
|
2816
|
+
return this.error(B.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
2817
2817
|
}
|
|
2818
2818
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2819
|
-
var t = this.clonePosition(),
|
|
2819
|
+
var t = this.clonePosition(), i = this.offset(), n = bt(this.message, i), r = i + n.length;
|
|
2820
2820
|
this.bumpTo(r);
|
|
2821
2821
|
var o = this.clonePosition(), a = A(t, o);
|
|
2822
|
-
return { value:
|
|
2823
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2822
|
+
return { value: n, location: a };
|
|
2823
|
+
}, e.prototype.parseArgumentOptions = function(t, i, n, r) {
|
|
2824
2824
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2825
2825
|
switch (s) {
|
|
2826
2826
|
case "":
|
|
@@ -2835,7 +2835,7 @@ var Wi = (
|
|
|
2835
2835
|
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
2836
2836
|
if (p.err)
|
|
2837
2837
|
return p;
|
|
2838
|
-
var m =
|
|
2838
|
+
var m = qn(p.val);
|
|
2839
2839
|
if (m.length === 0)
|
|
2840
2840
|
return this.error(B.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2841
2841
|
var d = A(c, this.clonePosition());
|
|
@@ -2846,26 +2846,26 @@ var Wi = (
|
|
|
2846
2846
|
return E;
|
|
2847
2847
|
var _ = A(r, this.clonePosition());
|
|
2848
2848
|
if (l && Ut(l == null ? void 0 : l.style, "::", 0)) {
|
|
2849
|
-
var y =
|
|
2849
|
+
var y = Xn(l.style.slice(2));
|
|
2850
2850
|
if (s === "number") {
|
|
2851
2851
|
var p = this.parseNumberSkeletonFromString(y, l.styleLocation);
|
|
2852
2852
|
return p.err ? p : {
|
|
2853
|
-
val: { type: $.number, value:
|
|
2853
|
+
val: { type: $.number, value: n, location: _, style: p.val },
|
|
2854
2854
|
err: null
|
|
2855
2855
|
};
|
|
2856
2856
|
} else {
|
|
2857
2857
|
if (y.length === 0)
|
|
2858
2858
|
return this.error(B.EXPECT_DATE_TIME_SKELETON, _);
|
|
2859
2859
|
var v = y;
|
|
2860
|
-
this.locale && (v =
|
|
2860
|
+
this.locale && (v = Cn(y, this.locale));
|
|
2861
2861
|
var m = {
|
|
2862
2862
|
type: xe.dateTime,
|
|
2863
2863
|
pattern: v,
|
|
2864
2864
|
location: l.styleLocation,
|
|
2865
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2865
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(v) : {}
|
|
2866
2866
|
}, O = s === "date" ? $.date : $.time;
|
|
2867
2867
|
return {
|
|
2868
|
-
val: { type: O, value:
|
|
2868
|
+
val: { type: O, value: n, location: _, style: m },
|
|
2869
2869
|
err: null
|
|
2870
2870
|
};
|
|
2871
2871
|
}
|
|
@@ -2873,7 +2873,7 @@ var Wi = (
|
|
|
2873
2873
|
return {
|
|
2874
2874
|
val: {
|
|
2875
2875
|
type: s === "number" ? $.number : s === "date" ? $.date : $.time,
|
|
2876
|
-
value:
|
|
2876
|
+
value: n,
|
|
2877
2877
|
location: _,
|
|
2878
2878
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
2879
2879
|
},
|
|
@@ -2897,7 +2897,7 @@ var Wi = (
|
|
|
2897
2897
|
return p;
|
|
2898
2898
|
this.bumpSpace(), M = this.parseIdentifierIfPossible(), S = p.val;
|
|
2899
2899
|
}
|
|
2900
|
-
var D = this.tryParsePluralOrSelectOptions(t, s,
|
|
2900
|
+
var D = this.tryParsePluralOrSelectOptions(t, s, i, M);
|
|
2901
2901
|
if (D.err)
|
|
2902
2902
|
return D;
|
|
2903
2903
|
var E = this.tryParseArgumentClose(r);
|
|
@@ -2907,7 +2907,7 @@ var Wi = (
|
|
|
2907
2907
|
return s === "select" ? {
|
|
2908
2908
|
val: {
|
|
2909
2909
|
type: $.select,
|
|
2910
|
-
value:
|
|
2910
|
+
value: n,
|
|
2911
2911
|
options: jt(D.val),
|
|
2912
2912
|
location: z
|
|
2913
2913
|
},
|
|
@@ -2915,7 +2915,7 @@ var Wi = (
|
|
|
2915
2915
|
} : {
|
|
2916
2916
|
val: {
|
|
2917
2917
|
type: $.plural,
|
|
2918
|
-
value:
|
|
2918
|
+
value: n,
|
|
2919
2919
|
options: jt(D.val),
|
|
2920
2920
|
offset: S,
|
|
2921
2921
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
@@ -2930,9 +2930,9 @@ var Wi = (
|
|
|
2930
2930
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2931
2931
|
return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2932
2932
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2933
|
-
for (var t = 0,
|
|
2934
|
-
var
|
|
2935
|
-
switch (
|
|
2933
|
+
for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
|
|
2934
|
+
var n = this.char();
|
|
2935
|
+
switch (n) {
|
|
2936
2936
|
case 39: {
|
|
2937
2937
|
this.bump();
|
|
2938
2938
|
var r = this.clonePosition();
|
|
@@ -2950,7 +2950,7 @@ var Wi = (
|
|
|
2950
2950
|
t -= 1;
|
|
2951
2951
|
else
|
|
2952
2952
|
return {
|
|
2953
|
-
val: this.message.slice(
|
|
2953
|
+
val: this.message.slice(i.offset, this.offset()),
|
|
2954
2954
|
err: null
|
|
2955
2955
|
};
|
|
2956
2956
|
break;
|
|
@@ -2961,30 +2961,30 @@ var Wi = (
|
|
|
2961
2961
|
}
|
|
2962
2962
|
}
|
|
2963
2963
|
return {
|
|
2964
|
-
val: this.message.slice(
|
|
2964
|
+
val: this.message.slice(i.offset, this.offset()),
|
|
2965
2965
|
err: null
|
|
2966
2966
|
};
|
|
2967
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
2968
|
-
var
|
|
2967
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
2968
|
+
var n = [];
|
|
2969
2969
|
try {
|
|
2970
|
-
|
|
2970
|
+
n = Sn(t);
|
|
2971
2971
|
} catch (r) {
|
|
2972
|
-
return this.error(B.INVALID_NUMBER_SKELETON,
|
|
2972
|
+
return this.error(B.INVALID_NUMBER_SKELETON, i);
|
|
2973
2973
|
}
|
|
2974
2974
|
return {
|
|
2975
2975
|
val: {
|
|
2976
2976
|
type: xe.number,
|
|
2977
|
-
tokens:
|
|
2978
|
-
location:
|
|
2979
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2977
|
+
tokens: n,
|
|
2978
|
+
location: i,
|
|
2979
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
|
|
2980
2980
|
},
|
|
2981
2981
|
err: null
|
|
2982
2982
|
};
|
|
2983
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
2983
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
|
|
2984
2984
|
for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
|
|
2985
2985
|
if (l.length === 0) {
|
|
2986
2986
|
var p = this.clonePosition();
|
|
2987
|
-
if (
|
|
2987
|
+
if (i !== "select" && this.bumpIf("=")) {
|
|
2988
2988
|
var m = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2989
2989
|
if (m.err)
|
|
2990
2990
|
return m;
|
|
@@ -2993,12 +2993,12 @@ var Wi = (
|
|
|
2993
2993
|
break;
|
|
2994
2994
|
}
|
|
2995
2995
|
if (u.has(l))
|
|
2996
|
-
return this.error(
|
|
2996
|
+
return this.error(i === "select" ? B.DUPLICATE_SELECT_ARGUMENT_SELECTOR : B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
2997
2997
|
l === "other" && (a = !0), this.bumpSpace();
|
|
2998
2998
|
var d = this.clonePosition();
|
|
2999
2999
|
if (!this.bumpIf("{"))
|
|
3000
|
-
return this.error(
|
|
3001
|
-
var E = this.parseMessage(t + 1,
|
|
3000
|
+
return this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
|
|
3001
|
+
var E = this.parseMessage(t + 1, i, n);
|
|
3002
3002
|
if (E.err)
|
|
3003
3003
|
return E;
|
|
3004
3004
|
var _ = this.tryParseArgumentClose(d);
|
|
@@ -3012,10 +3012,10 @@ var Wi = (
|
|
|
3012
3012
|
}
|
|
3013
3013
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
3014
3014
|
}
|
|
3015
|
-
return s.length === 0 ? this.error(
|
|
3016
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3017
|
-
var
|
|
3018
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3015
|
+
return s.length === 0 ? this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(B.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3016
|
+
}, e.prototype.tryParseDecimalInteger = function(t, i) {
|
|
3017
|
+
var n = 1, r = this.clonePosition();
|
|
3018
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3019
3019
|
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3020
3020
|
var s = this.char();
|
|
3021
3021
|
if (s >= 48 && s <= 57)
|
|
@@ -3024,7 +3024,7 @@ var Wi = (
|
|
|
3024
3024
|
break;
|
|
3025
3025
|
}
|
|
3026
3026
|
var u = A(r, this.clonePosition());
|
|
3027
|
-
return o ? (a *=
|
|
3027
|
+
return o ? (a *= n, Fn(a) ? { val: a, err: null } : this.error(i, u)) : this.error(t, u);
|
|
3028
3028
|
}, e.prototype.offset = function() {
|
|
3029
3029
|
return this.position.offset;
|
|
3030
3030
|
}, e.prototype.isEOF = function() {
|
|
@@ -3039,17 +3039,17 @@ var Wi = (
|
|
|
3039
3039
|
var t = this.position.offset;
|
|
3040
3040
|
if (t >= this.message.length)
|
|
3041
3041
|
throw Error("out of bound");
|
|
3042
|
-
var
|
|
3043
|
-
if (
|
|
3042
|
+
var i = mi(this.message, t);
|
|
3043
|
+
if (i === void 0)
|
|
3044
3044
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3045
|
-
return
|
|
3046
|
-
}, e.prototype.error = function(t,
|
|
3045
|
+
return i;
|
|
3046
|
+
}, e.prototype.error = function(t, i) {
|
|
3047
3047
|
return {
|
|
3048
3048
|
val: null,
|
|
3049
3049
|
err: {
|
|
3050
3050
|
kind: t,
|
|
3051
3051
|
message: this.message,
|
|
3052
|
-
location:
|
|
3052
|
+
location: i
|
|
3053
3053
|
}
|
|
3054
3054
|
};
|
|
3055
3055
|
}, e.prototype.bump = function() {
|
|
@@ -3059,69 +3059,69 @@ var Wi = (
|
|
|
3059
3059
|
}
|
|
3060
3060
|
}, e.prototype.bumpIf = function(t) {
|
|
3061
3061
|
if (Ut(this.message, t, this.offset())) {
|
|
3062
|
-
for (var
|
|
3062
|
+
for (var i = 0; i < t.length; i++)
|
|
3063
3063
|
this.bump();
|
|
3064
3064
|
return !0;
|
|
3065
3065
|
}
|
|
3066
3066
|
return !1;
|
|
3067
3067
|
}, e.prototype.bumpUntil = function(t) {
|
|
3068
|
-
var
|
|
3069
|
-
return
|
|
3068
|
+
var i = this.offset(), n = this.message.indexOf(t, i);
|
|
3069
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3070
3070
|
}, e.prototype.bumpTo = function(t) {
|
|
3071
3071
|
if (this.offset() > t)
|
|
3072
3072
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3073
3073
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3074
|
-
var
|
|
3075
|
-
if (
|
|
3074
|
+
var i = this.offset();
|
|
3075
|
+
if (i === t)
|
|
3076
3076
|
break;
|
|
3077
|
-
if (
|
|
3077
|
+
if (i > t)
|
|
3078
3078
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3079
3079
|
if (this.bump(), this.isEOF())
|
|
3080
3080
|
break;
|
|
3081
3081
|
}
|
|
3082
3082
|
}, e.prototype.bumpSpace = function() {
|
|
3083
|
-
for (; !this.isEOF() &&
|
|
3083
|
+
for (; !this.isEOF() && gi(this.char()); )
|
|
3084
3084
|
this.bump();
|
|
3085
3085
|
}, e.prototype.peek = function() {
|
|
3086
3086
|
if (this.isEOF())
|
|
3087
3087
|
return null;
|
|
3088
|
-
var t = this.char(),
|
|
3089
|
-
return
|
|
3088
|
+
var t = this.char(), i = this.offset(), n = this.message.charCodeAt(i + (t >= 65536 ? 2 : 1));
|
|
3089
|
+
return n != null ? n : null;
|
|
3090
3090
|
}, e;
|
|
3091
3091
|
}()
|
|
3092
3092
|
);
|
|
3093
3093
|
function yt(e) {
|
|
3094
3094
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3095
3095
|
}
|
|
3096
|
-
function
|
|
3096
|
+
function Zn(e) {
|
|
3097
3097
|
return yt(e) || e === 47;
|
|
3098
3098
|
}
|
|
3099
|
-
function
|
|
3099
|
+
function Yn(e) {
|
|
3100
3100
|
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;
|
|
3101
3101
|
}
|
|
3102
|
-
function
|
|
3102
|
+
function gi(e) {
|
|
3103
3103
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3104
3104
|
}
|
|
3105
|
-
function
|
|
3105
|
+
function Jn(e) {
|
|
3106
3106
|
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;
|
|
3107
3107
|
}
|
|
3108
3108
|
function vt(e) {
|
|
3109
3109
|
e.forEach(function(t) {
|
|
3110
|
-
if (delete t.location,
|
|
3111
|
-
for (var
|
|
3112
|
-
delete t.options[
|
|
3110
|
+
if (delete t.location, si(t) || ai(t))
|
|
3111
|
+
for (var i in t.options)
|
|
3112
|
+
delete t.options[i].location, vt(t.options[i].value);
|
|
3113
3113
|
else
|
|
3114
|
-
|
|
3114
|
+
ni(t) && ui(t.style) || (ri(t) || oi(t)) && mt(t.style) ? delete t.style.location : li(t) && vt(t.children);
|
|
3115
3115
|
});
|
|
3116
3116
|
}
|
|
3117
|
-
function
|
|
3117
|
+
function Qn(e, t) {
|
|
3118
3118
|
t === void 0 && (t = {}), t = qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3119
|
-
var
|
|
3120
|
-
if (
|
|
3121
|
-
var
|
|
3122
|
-
throw
|
|
3119
|
+
var i = new Wn(e, t).parse();
|
|
3120
|
+
if (i.err) {
|
|
3121
|
+
var n = SyntaxError(B[i.err.kind]);
|
|
3122
|
+
throw n.location = i.err.location, n.originalMessage = i.err.message, n;
|
|
3123
3123
|
}
|
|
3124
|
-
return t != null && t.captureLocation || vt(
|
|
3124
|
+
return t != null && t.captureLocation || vt(i.val), i.val;
|
|
3125
3125
|
}
|
|
3126
3126
|
var Te;
|
|
3127
3127
|
(function(e) {
|
|
@@ -3131,9 +3131,9 @@ var Qe = (
|
|
|
3131
3131
|
/** @class */
|
|
3132
3132
|
function(e) {
|
|
3133
3133
|
Je(t, e);
|
|
3134
|
-
function t(
|
|
3135
|
-
var o = e.call(this,
|
|
3136
|
-
return o.code =
|
|
3134
|
+
function t(i, n, r) {
|
|
3135
|
+
var o = e.call(this, i) || this;
|
|
3136
|
+
return o.code = n, o.originalMessage = r, o;
|
|
3137
3137
|
}
|
|
3138
3138
|
return t.prototype.toString = function() {
|
|
3139
3139
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3143,17 +3143,17 @@ var Qe = (
|
|
|
3143
3143
|
/** @class */
|
|
3144
3144
|
function(e) {
|
|
3145
3145
|
Je(t, e);
|
|
3146
|
-
function t(
|
|
3147
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3146
|
+
function t(i, n, r, o) {
|
|
3147
|
+
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), Te.INVALID_VALUE, o) || this;
|
|
3148
3148
|
}
|
|
3149
3149
|
return t;
|
|
3150
3150
|
}(Qe)
|
|
3151
|
-
),
|
|
3151
|
+
), Kn = (
|
|
3152
3152
|
/** @class */
|
|
3153
3153
|
function(e) {
|
|
3154
3154
|
Je(t, e);
|
|
3155
|
-
function t(
|
|
3156
|
-
return e.call(this, 'Value for "'.concat(
|
|
3155
|
+
function t(i, n, r) {
|
|
3156
|
+
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), Te.INVALID_VALUE, r) || this;
|
|
3157
3157
|
}
|
|
3158
3158
|
return t;
|
|
3159
3159
|
}(Qe)
|
|
@@ -3161,8 +3161,8 @@ var Qe = (
|
|
|
3161
3161
|
/** @class */
|
|
3162
3162
|
function(e) {
|
|
3163
3163
|
Je(t, e);
|
|
3164
|
-
function t(
|
|
3165
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3164
|
+
function t(i, n) {
|
|
3165
|
+
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), Te.MISSING_VALUE, n) || this;
|
|
3166
3166
|
}
|
|
3167
3167
|
return t;
|
|
3168
3168
|
}(Qe)
|
|
@@ -3171,15 +3171,15 @@ var Qe = (
|
|
|
3171
3171
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3172
3172
|
})(W || (W = {}));
|
|
3173
3173
|
function tr(e) {
|
|
3174
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3175
|
-
var
|
|
3176
|
-
return !
|
|
3174
|
+
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3175
|
+
var n = t[t.length - 1];
|
|
3176
|
+
return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
|
|
3177
3177
|
}, []);
|
|
3178
3178
|
}
|
|
3179
|
-
function
|
|
3179
|
+
function ir(e) {
|
|
3180
3180
|
return typeof e == "function";
|
|
3181
3181
|
}
|
|
3182
|
-
function Ve(e, t,
|
|
3182
|
+
function Ve(e, t, i, n, r, o, a) {
|
|
3183
3183
|
if (e.length === 1 && Ot(e[0]))
|
|
3184
3184
|
return [
|
|
3185
3185
|
{
|
|
@@ -3196,10 +3196,10 @@ function Ve(e, t, n, i, r, o, a) {
|
|
|
3196
3196
|
});
|
|
3197
3197
|
continue;
|
|
3198
3198
|
}
|
|
3199
|
-
if (
|
|
3199
|
+
if (Pn(c)) {
|
|
3200
3200
|
typeof o == "number" && s.push({
|
|
3201
3201
|
type: W.literal,
|
|
3202
|
-
value:
|
|
3202
|
+
value: i.getNumberFormat(t).format(o)
|
|
3203
3203
|
});
|
|
3204
3204
|
continue;
|
|
3205
3205
|
}
|
|
@@ -3207,42 +3207,42 @@ function Ve(e, t, n, i, r, o, a) {
|
|
|
3207
3207
|
if (!(r && p in r))
|
|
3208
3208
|
throw new er(p, a);
|
|
3209
3209
|
var m = r[p];
|
|
3210
|
-
if (
|
|
3210
|
+
if (Tn(c)) {
|
|
3211
3211
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3212
3212
|
type: typeof m == "string" ? W.literal : W.object,
|
|
3213
3213
|
value: m
|
|
3214
3214
|
});
|
|
3215
3215
|
continue;
|
|
3216
3216
|
}
|
|
3217
|
-
if (
|
|
3218
|
-
var d = typeof c.style == "string" ?
|
|
3217
|
+
if (ri(c)) {
|
|
3218
|
+
var d = typeof c.style == "string" ? n.date[c.style] : mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3219
3219
|
s.push({
|
|
3220
3220
|
type: W.literal,
|
|
3221
|
-
value:
|
|
3221
|
+
value: i.getDateTimeFormat(t, d).format(m)
|
|
3222
3222
|
});
|
|
3223
3223
|
continue;
|
|
3224
3224
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var d = typeof c.style == "string" ?
|
|
3225
|
+
if (oi(c)) {
|
|
3226
|
+
var d = typeof c.style == "string" ? n.time[c.style] : mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3227
3227
|
s.push({
|
|
3228
3228
|
type: W.literal,
|
|
3229
|
-
value:
|
|
3229
|
+
value: i.getDateTimeFormat(t, d).format(m)
|
|
3230
3230
|
});
|
|
3231
3231
|
continue;
|
|
3232
3232
|
}
|
|
3233
|
-
if (
|
|
3234
|
-
var d = typeof c.style == "string" ?
|
|
3233
|
+
if (ni(c)) {
|
|
3234
|
+
var d = typeof c.style == "string" ? n.number[c.style] : ui(c.style) ? c.style.parsedOptions : void 0;
|
|
3235
3235
|
d && d.scale && (m = m * (d.scale || 1)), s.push({
|
|
3236
3236
|
type: W.literal,
|
|
3237
|
-
value:
|
|
3237
|
+
value: i.getNumberFormat(t, d).format(m)
|
|
3238
3238
|
});
|
|
3239
3239
|
continue;
|
|
3240
3240
|
}
|
|
3241
|
-
if (
|
|
3241
|
+
if (li(c)) {
|
|
3242
3242
|
var E = c.children, _ = c.value, y = r[_];
|
|
3243
|
-
if (!
|
|
3244
|
-
throw new
|
|
3245
|
-
var v = Ve(E, t,
|
|
3243
|
+
if (!ir(y))
|
|
3244
|
+
throw new Kn(_, "function", a);
|
|
3245
|
+
var v = Ve(E, t, i, n, r, o), O = y(v.map(function(S) {
|
|
3246
3246
|
return S.value;
|
|
3247
3247
|
}));
|
|
3248
3248
|
Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(S) {
|
|
@@ -3252,39 +3252,39 @@ function Ve(e, t, n, i, r, o, a) {
|
|
|
3252
3252
|
};
|
|
3253
3253
|
}));
|
|
3254
3254
|
}
|
|
3255
|
-
if (
|
|
3255
|
+
if (si(c)) {
|
|
3256
3256
|
var w = c.options[m] || c.options.other;
|
|
3257
3257
|
if (!w)
|
|
3258
3258
|
throw new $t(c.value, m, Object.keys(c.options), a);
|
|
3259
|
-
s.push.apply(s, Ve(w.value, t,
|
|
3259
|
+
s.push.apply(s, Ve(w.value, t, i, n, r));
|
|
3260
3260
|
continue;
|
|
3261
3261
|
}
|
|
3262
|
-
if (
|
|
3262
|
+
if (ai(c)) {
|
|
3263
3263
|
var w = c.options["=".concat(m)];
|
|
3264
3264
|
if (!w) {
|
|
3265
3265
|
if (!Intl.PluralRules)
|
|
3266
3266
|
throw new Qe(`Intl.PluralRules is not available in this environment.
|
|
3267
3267
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3268
3268
|
`, Te.MISSING_INTL_API, a);
|
|
3269
|
-
var M =
|
|
3269
|
+
var M = i.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
|
|
3270
3270
|
w = c.options[M] || c.options.other;
|
|
3271
3271
|
}
|
|
3272
3272
|
if (!w)
|
|
3273
3273
|
throw new $t(c.value, m, Object.keys(c.options), a);
|
|
3274
|
-
s.push.apply(s, Ve(w.value, t,
|
|
3274
|
+
s.push.apply(s, Ve(w.value, t, i, n, r, m - (c.offset || 0)));
|
|
3275
3275
|
continue;
|
|
3276
3276
|
}
|
|
3277
3277
|
}
|
|
3278
3278
|
return tr(s);
|
|
3279
3279
|
}
|
|
3280
|
-
function
|
|
3281
|
-
return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(
|
|
3282
|
-
return n
|
|
3280
|
+
function nr(e, t) {
|
|
3281
|
+
return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3282
|
+
return i[n] = se(se({}, e[n]), t[n] || {}), i;
|
|
3283
3283
|
}, {})) : e;
|
|
3284
3284
|
}
|
|
3285
3285
|
function rr(e, t) {
|
|
3286
|
-
return t ? Object.keys(e).reduce(function(
|
|
3287
|
-
return n
|
|
3286
|
+
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3287
|
+
return i[n] = nr(e[n], t[n]), i;
|
|
3288
3288
|
}, se({}, e)) : e;
|
|
3289
3289
|
}
|
|
3290
3290
|
function ut(e) {
|
|
@@ -3294,8 +3294,8 @@ function ut(e) {
|
|
|
3294
3294
|
get: function(t) {
|
|
3295
3295
|
return e[t];
|
|
3296
3296
|
},
|
|
3297
|
-
set: function(t,
|
|
3298
|
-
e[t] =
|
|
3297
|
+
set: function(t, i) {
|
|
3298
|
+
e[t] = i;
|
|
3299
3299
|
}
|
|
3300
3300
|
};
|
|
3301
3301
|
}
|
|
@@ -3308,25 +3308,25 @@ function or(e) {
|
|
|
3308
3308
|
pluralRules: {}
|
|
3309
3309
|
}), {
|
|
3310
3310
|
getNumberFormat: st(function() {
|
|
3311
|
-
for (var t,
|
|
3312
|
-
n
|
|
3313
|
-
return new ((t = Intl.NumberFormat).bind.apply(t, ot([void 0],
|
|
3311
|
+
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3312
|
+
i[n] = arguments[n];
|
|
3313
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ot([void 0], i, !1)))();
|
|
3314
3314
|
}, {
|
|
3315
3315
|
cache: ut(e.number),
|
|
3316
3316
|
strategy: at.variadic
|
|
3317
3317
|
}),
|
|
3318
3318
|
getDateTimeFormat: st(function() {
|
|
3319
|
-
for (var t,
|
|
3320
|
-
n
|
|
3321
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t, ot([void 0],
|
|
3319
|
+
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3320
|
+
i[n] = arguments[n];
|
|
3321
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ot([void 0], i, !1)))();
|
|
3322
3322
|
}, {
|
|
3323
3323
|
cache: ut(e.dateTime),
|
|
3324
3324
|
strategy: at.variadic
|
|
3325
3325
|
}),
|
|
3326
3326
|
getPluralRules: st(function() {
|
|
3327
|
-
for (var t,
|
|
3328
|
-
n
|
|
3329
|
-
return new ((t = Intl.PluralRules).bind.apply(t, ot([void 0],
|
|
3327
|
+
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3328
|
+
i[n] = arguments[n];
|
|
3329
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ot([void 0], i, !1)))();
|
|
3330
3330
|
}, {
|
|
3331
3331
|
cache: ut(e.pluralRules),
|
|
3332
3332
|
strategy: at.variadic
|
|
@@ -3336,8 +3336,8 @@ function or(e) {
|
|
|
3336
3336
|
var sr = (
|
|
3337
3337
|
/** @class */
|
|
3338
3338
|
function() {
|
|
3339
|
-
function e(t,
|
|
3340
|
-
|
|
3339
|
+
function e(t, i, n, r) {
|
|
3340
|
+
i === void 0 && (i = e.defaultLocale);
|
|
3341
3341
|
var o = this;
|
|
3342
3342
|
if (this.formatterCache = {
|
|
3343
3343
|
number: {},
|
|
@@ -3360,18 +3360,18 @@ var sr = (
|
|
|
3360
3360
|
};
|
|
3361
3361
|
}, this.getAst = function() {
|
|
3362
3362
|
return o.ast;
|
|
3363
|
-
}, this.locales =
|
|
3363
|
+
}, this.locales = i, this.resolvedLocale = e.resolveLocale(i), typeof t == "string") {
|
|
3364
3364
|
if (this.message = t, !e.__parse)
|
|
3365
3365
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3366
3366
|
var a = r || {};
|
|
3367
3367
|
a.formatters;
|
|
3368
|
-
var s =
|
|
3368
|
+
var s = dn(a, ["formatters"]);
|
|
3369
3369
|
this.ast = e.__parse(t, se(se({}, s), { locale: this.resolvedLocale }));
|
|
3370
3370
|
} else
|
|
3371
3371
|
this.ast = t;
|
|
3372
3372
|
if (!Array.isArray(this.ast))
|
|
3373
3373
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3374
|
-
this.formats = rr(e.formats,
|
|
3374
|
+
this.formats = rr(e.formats, n), this.formatters = r && r.formatters || or(this.formatterCache);
|
|
3375
3375
|
}
|
|
3376
3376
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3377
3377
|
get: function() {
|
|
@@ -3381,10 +3381,10 @@ var sr = (
|
|
|
3381
3381
|
configurable: !0
|
|
3382
3382
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3383
3383
|
if (typeof Intl.Locale != "undefined") {
|
|
3384
|
-
var
|
|
3385
|
-
return
|
|
3384
|
+
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3385
|
+
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3386
3386
|
}
|
|
3387
|
-
}, e.__parse =
|
|
3387
|
+
}, e.__parse = Qn, e.formats = {
|
|
3388
3388
|
number: {
|
|
3389
3389
|
integer: {
|
|
3390
3390
|
maximumFractionDigits: 0
|
|
@@ -3450,30 +3450,30 @@ function ar(e, t) {
|
|
|
3450
3450
|
return;
|
|
3451
3451
|
if (t in e)
|
|
3452
3452
|
return e[t];
|
|
3453
|
-
const
|
|
3454
|
-
let
|
|
3455
|
-
for (let r = 0; r <
|
|
3456
|
-
if (typeof
|
|
3453
|
+
const i = t.split(".");
|
|
3454
|
+
let n = e;
|
|
3455
|
+
for (let r = 0; r < i.length; r++)
|
|
3456
|
+
if (typeof n == "object") {
|
|
3457
3457
|
if (r > 0) {
|
|
3458
|
-
const o =
|
|
3459
|
-
if (o in
|
|
3460
|
-
|
|
3458
|
+
const o = i.slice(r, i.length).join(".");
|
|
3459
|
+
if (o in n) {
|
|
3460
|
+
n = n[o];
|
|
3461
3461
|
break;
|
|
3462
3462
|
}
|
|
3463
3463
|
}
|
|
3464
|
-
|
|
3464
|
+
n = n[i[r]];
|
|
3465
3465
|
} else
|
|
3466
|
-
|
|
3467
|
-
return
|
|
3466
|
+
n = void 0;
|
|
3467
|
+
return n;
|
|
3468
3468
|
}
|
|
3469
|
-
const ue = {}, lr = (e, t,
|
|
3469
|
+
const ue = {}, lr = (e, t, i) => i && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = i), i), bi = (e, t) => {
|
|
3470
3470
|
if (t == null)
|
|
3471
3471
|
return;
|
|
3472
3472
|
if (t in ue && e in ue[t])
|
|
3473
3473
|
return ue[t][e];
|
|
3474
|
-
const
|
|
3475
|
-
for (let
|
|
3476
|
-
const r = n
|
|
3474
|
+
const i = Ke(t);
|
|
3475
|
+
for (let n = 0; n < i.length; n++) {
|
|
3476
|
+
const r = i[n], o = cr(r, e);
|
|
3477
3477
|
if (o)
|
|
3478
3478
|
return lr(e, t, o);
|
|
3479
3479
|
}
|
|
@@ -3483,27 +3483,27 @@ const Re = Ye({});
|
|
|
3483
3483
|
function ur(e) {
|
|
3484
3484
|
return Tt[e] || null;
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function yi(e) {
|
|
3487
3487
|
return e in Tt;
|
|
3488
3488
|
}
|
|
3489
3489
|
function cr(e, t) {
|
|
3490
|
-
if (!
|
|
3490
|
+
if (!yi(e))
|
|
3491
3491
|
return null;
|
|
3492
|
-
const
|
|
3493
|
-
return ar(
|
|
3492
|
+
const i = ur(e);
|
|
3493
|
+
return ar(i, t);
|
|
3494
3494
|
}
|
|
3495
3495
|
function hr(e) {
|
|
3496
3496
|
if (e == null)
|
|
3497
3497
|
return;
|
|
3498
3498
|
const t = Ke(e);
|
|
3499
|
-
for (let
|
|
3500
|
-
const
|
|
3501
|
-
if (
|
|
3502
|
-
return
|
|
3499
|
+
for (let i = 0; i < t.length; i++) {
|
|
3500
|
+
const n = t[i];
|
|
3501
|
+
if (yi(n))
|
|
3502
|
+
return n;
|
|
3503
3503
|
}
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3506
|
-
delete ue[e], Re.update((
|
|
3505
|
+
function vi(e, ...t) {
|
|
3506
|
+
delete ue[e], Re.update((i) => (i[e] = mn.all([i[e] || {}, ...t]), i));
|
|
3507
3507
|
}
|
|
3508
3508
|
we(
|
|
3509
3509
|
[Re],
|
|
@@ -3514,40 +3514,40 @@ const Xe = {};
|
|
|
3514
3514
|
function fr(e, t) {
|
|
3515
3515
|
Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3517
|
+
function Ei(e) {
|
|
3518
3518
|
return Xe[e];
|
|
3519
3519
|
}
|
|
3520
3520
|
function pr(e) {
|
|
3521
3521
|
return Ke(e).map((t) => {
|
|
3522
|
-
const
|
|
3523
|
-
return [t,
|
|
3522
|
+
const i = Ei(t);
|
|
3523
|
+
return [t, i ? [...i] : []];
|
|
3524
3524
|
}).filter(([, t]) => t.length > 0);
|
|
3525
3525
|
}
|
|
3526
3526
|
function Et(e) {
|
|
3527
3527
|
return e == null ? !1 : Ke(e).some(
|
|
3528
3528
|
(t) => {
|
|
3529
|
-
var
|
|
3530
|
-
return (
|
|
3529
|
+
var i;
|
|
3530
|
+
return (i = Ei(t)) == null ? void 0 : i.size;
|
|
3531
3531
|
}
|
|
3532
3532
|
);
|
|
3533
3533
|
}
|
|
3534
3534
|
function mr(e, t) {
|
|
3535
3535
|
return Promise.all(
|
|
3536
|
-
t.map((
|
|
3537
|
-
).then((
|
|
3536
|
+
t.map((n) => (fr(e, n), n().then((r) => r.default || r)))
|
|
3537
|
+
).then((n) => vi(e, ...n));
|
|
3538
3538
|
}
|
|
3539
3539
|
const He = {};
|
|
3540
|
-
function
|
|
3540
|
+
function _i(e) {
|
|
3541
3541
|
if (!Et(e))
|
|
3542
3542
|
return e in He ? He[e] : Promise.resolve();
|
|
3543
3543
|
const t = pr(e);
|
|
3544
3544
|
return He[e] = Promise.all(
|
|
3545
3545
|
t.map(
|
|
3546
|
-
([
|
|
3546
|
+
([i, n]) => mr(i, n)
|
|
3547
3547
|
)
|
|
3548
3548
|
).then(() => {
|
|
3549
3549
|
if (Et(e))
|
|
3550
|
-
return
|
|
3550
|
+
return _i(e);
|
|
3551
3551
|
delete He[e];
|
|
3552
3552
|
}), He[e];
|
|
3553
3553
|
}
|
|
@@ -3592,22 +3592,22 @@ function Pe() {
|
|
|
3592
3592
|
return br;
|
|
3593
3593
|
}
|
|
3594
3594
|
const ct = Ye(!1);
|
|
3595
|
-
var yr = Object.defineProperty, vr = Object.defineProperties, Er = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ft = (e, t,
|
|
3596
|
-
for (var
|
|
3597
|
-
_r.call(t,
|
|
3595
|
+
var yr = Object.defineProperty, vr = Object.defineProperties, Er = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ft = (e, t, i) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Tr = (e, t) => {
|
|
3596
|
+
for (var i in t || (t = {}))
|
|
3597
|
+
_r.call(t, i) && Ft(e, i, t[i]);
|
|
3598
3598
|
if (zt)
|
|
3599
|
-
for (var
|
|
3600
|
-
xr.call(t,
|
|
3599
|
+
for (var i of zt(t))
|
|
3600
|
+
xr.call(t, i) && Ft(e, i, t[i]);
|
|
3601
3601
|
return e;
|
|
3602
3602
|
}, Pr = (e, t) => vr(e, Er(t));
|
|
3603
3603
|
let _t;
|
|
3604
3604
|
const We = Ye(null);
|
|
3605
3605
|
function Vt(e) {
|
|
3606
|
-
return e.split("-").map((t,
|
|
3606
|
+
return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
|
|
3607
3607
|
}
|
|
3608
3608
|
function Ke(e, t = Pe().fallbackLocale) {
|
|
3609
|
-
const
|
|
3610
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3609
|
+
const i = Vt(e);
|
|
3610
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...Vt(t)])] : i;
|
|
3611
3611
|
}
|
|
3612
3612
|
function fe() {
|
|
3613
3613
|
return _t != null ? _t : void 0;
|
|
@@ -3618,14 +3618,14 @@ We.subscribe((e) => {
|
|
|
3618
3618
|
const wr = (e) => {
|
|
3619
3619
|
if (e && hr(e) && Et(e)) {
|
|
3620
3620
|
const { loadingDelay: t } = Pe();
|
|
3621
|
-
let
|
|
3622
|
-
return typeof window != "undefined" && fe() != null && t ?
|
|
3621
|
+
let i;
|
|
3622
|
+
return typeof window != "undefined" && fe() != null && t ? i = window.setTimeout(
|
|
3623
3623
|
() => ct.set(!0),
|
|
3624
3624
|
t
|
|
3625
|
-
) : ct.set(!0),
|
|
3625
|
+
) : ct.set(!0), _i(e).then(() => {
|
|
3626
3626
|
We.set(e);
|
|
3627
3627
|
}).finally(() => {
|
|
3628
|
-
clearTimeout(
|
|
3628
|
+
clearTimeout(i), ct.set(!1);
|
|
3629
3629
|
});
|
|
3630
3630
|
}
|
|
3631
3631
|
return We.set(e);
|
|
@@ -3633,83 +3633,83 @@ const wr = (e) => {
|
|
|
3633
3633
|
set: wr
|
|
3634
3634
|
}), et = (e) => {
|
|
3635
3635
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3636
|
-
return (
|
|
3637
|
-
const r = JSON.stringify(
|
|
3638
|
-
return r in t ? t[r] : t[r] = e(
|
|
3636
|
+
return (n) => {
|
|
3637
|
+
const r = JSON.stringify(n);
|
|
3638
|
+
return r in t ? t[r] : t[r] = e(n);
|
|
3639
3639
|
};
|
|
3640
3640
|
};
|
|
3641
|
-
var Br = Object.defineProperty, Ze = Object.getOwnPropertySymbols,
|
|
3642
|
-
for (var
|
|
3643
|
-
|
|
3641
|
+
var Br = Object.defineProperty, Ze = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Xt = (e, t, i) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Pt = (e, t) => {
|
|
3642
|
+
for (var i in t || (t = {}))
|
|
3643
|
+
xi.call(t, i) && Xt(e, i, t[i]);
|
|
3644
3644
|
if (Ze)
|
|
3645
|
-
for (var
|
|
3646
|
-
|
|
3645
|
+
for (var i of Ze(t))
|
|
3646
|
+
Ti.call(t, i) && Xt(e, i, t[i]);
|
|
3647
3647
|
return e;
|
|
3648
3648
|
}, Le = (e, t) => {
|
|
3649
|
-
var
|
|
3650
|
-
for (var
|
|
3651
|
-
|
|
3649
|
+
var i = {};
|
|
3650
|
+
for (var n in e)
|
|
3651
|
+
xi.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
3652
3652
|
if (e != null && Ze)
|
|
3653
|
-
for (var
|
|
3654
|
-
t.indexOf(
|
|
3655
|
-
return
|
|
3653
|
+
for (var n of Ze(e))
|
|
3654
|
+
t.indexOf(n) < 0 && Ti.call(e, n) && (i[n] = e[n]);
|
|
3655
|
+
return i;
|
|
3656
3656
|
};
|
|
3657
3657
|
const De = (e, t) => {
|
|
3658
|
-
const { formats:
|
|
3659
|
-
if (e in
|
|
3660
|
-
return
|
|
3658
|
+
const { formats: i } = Pe();
|
|
3659
|
+
if (e in i && t in i[e])
|
|
3660
|
+
return i[e][t];
|
|
3661
3661
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3662
3662
|
}, Lr = et(
|
|
3663
3663
|
(e) => {
|
|
3664
|
-
var t = e, { locale:
|
|
3665
|
-
if (
|
|
3664
|
+
var t = e, { locale: i, format: n } = t, r = Le(t, ["locale", "format"]);
|
|
3665
|
+
if (i == null)
|
|
3666
3666
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3667
|
-
return
|
|
3667
|
+
return n && (r = De("number", n)), new Intl.NumberFormat(i, r);
|
|
3668
3668
|
}
|
|
3669
3669
|
), Sr = et(
|
|
3670
3670
|
(e) => {
|
|
3671
|
-
var t = e, { locale:
|
|
3672
|
-
if (
|
|
3671
|
+
var t = e, { locale: i, format: n } = t, r = Le(t, ["locale", "format"]);
|
|
3672
|
+
if (i == null)
|
|
3673
3673
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3674
|
-
return
|
|
3674
|
+
return n ? r = De("date", n) : Object.keys(r).length === 0 && (r = De("date", "short")), new Intl.DateTimeFormat(i, r);
|
|
3675
3675
|
}
|
|
3676
3676
|
), Ar = et(
|
|
3677
3677
|
(e) => {
|
|
3678
|
-
var t = e, { locale:
|
|
3679
|
-
if (
|
|
3678
|
+
var t = e, { locale: i, format: n } = t, r = Le(t, ["locale", "format"]);
|
|
3679
|
+
if (i == null)
|
|
3680
3680
|
throw new Error(
|
|
3681
3681
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3682
3682
|
);
|
|
3683
|
-
return
|
|
3683
|
+
return n ? r = De("time", n) : Object.keys(r).length === 0 && (r = De("time", "short")), new Intl.DateTimeFormat(i, r);
|
|
3684
3684
|
}
|
|
3685
3685
|
), Ir = (e = {}) => {
|
|
3686
3686
|
var t = e, {
|
|
3687
|
-
locale:
|
|
3688
|
-
} = t,
|
|
3687
|
+
locale: i = fe()
|
|
3688
|
+
} = t, n = Le(t, [
|
|
3689
3689
|
"locale"
|
|
3690
3690
|
]);
|
|
3691
|
-
return Lr(Pt({ locale:
|
|
3691
|
+
return Lr(Pt({ locale: i }, n));
|
|
3692
3692
|
}, kr = (e = {}) => {
|
|
3693
3693
|
var t = e, {
|
|
3694
|
-
locale:
|
|
3695
|
-
} = t,
|
|
3694
|
+
locale: i = fe()
|
|
3695
|
+
} = t, n = Le(t, [
|
|
3696
3696
|
"locale"
|
|
3697
3697
|
]);
|
|
3698
|
-
return Sr(Pt({ locale:
|
|
3698
|
+
return Sr(Pt({ locale: i }, n));
|
|
3699
3699
|
}, Hr = (e = {}) => {
|
|
3700
3700
|
var t = e, {
|
|
3701
|
-
locale:
|
|
3702
|
-
} = t,
|
|
3701
|
+
locale: i = fe()
|
|
3702
|
+
} = t, n = Le(t, [
|
|
3703
3703
|
"locale"
|
|
3704
3704
|
]);
|
|
3705
|
-
return Ar(Pt({ locale:
|
|
3705
|
+
return Ar(Pt({ locale: i }, n));
|
|
3706
3706
|
}, Cr = et(
|
|
3707
3707
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3708
3708
|
(e, t = fe()) => new sr(e, t, Pe().formats, {
|
|
3709
3709
|
ignoreTag: Pe().ignoreTag
|
|
3710
3710
|
})
|
|
3711
3711
|
), Nr = (e, t = {}) => {
|
|
3712
|
-
var
|
|
3712
|
+
var i, n, r, o;
|
|
3713
3713
|
let a = t;
|
|
3714
3714
|
typeof e == "object" && (a = e, e = a.id);
|
|
3715
3715
|
const {
|
|
@@ -3721,9 +3721,9 @@ const De = (e, t) => {
|
|
|
3721
3721
|
throw new Error(
|
|
3722
3722
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3723
3723
|
);
|
|
3724
|
-
let c =
|
|
3724
|
+
let c = bi(e, u);
|
|
3725
3725
|
if (!c)
|
|
3726
|
-
c = (o = (r = (
|
|
3726
|
+
c = (o = (r = (n = (i = Pe()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
|
|
3727
3727
|
else if (typeof c != "string")
|
|
3728
3728
|
return console.warn(
|
|
3729
3729
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3740,13 +3740,13 @@ const De = (e, t) => {
|
|
|
3740
3740
|
);
|
|
3741
3741
|
}
|
|
3742
3742
|
return p;
|
|
3743
|
-
}, Or = (e, t) => Hr(t).format(e), Mr = (e, t) => kr(t).format(e), Dr = (e, t) => Ir(t).format(e), Rr = (e, t = fe()) =>
|
|
3743
|
+
}, Or = (e, t) => Hr(t).format(e), Mr = (e, t) => kr(t).format(e), Dr = (e, t) => Ir(t).format(e), Rr = (e, t = fe()) => bi(e, t), Ur = we([Be, Re], () => Nr);
|
|
3744
3744
|
we([Be], () => Or);
|
|
3745
3745
|
we([Be], () => Mr);
|
|
3746
3746
|
we([Be], () => Dr);
|
|
3747
3747
|
we([Be, Re], () => Rr);
|
|
3748
3748
|
function qt(e, t) {
|
|
3749
|
-
|
|
3749
|
+
vi(e, t);
|
|
3750
3750
|
}
|
|
3751
3751
|
function jr(e) {
|
|
3752
3752
|
Be.set(e);
|
|
@@ -4014,33 +4014,35 @@ const Wt = {
|
|
|
4014
4014
|
};
|
|
4015
4015
|
function Gr(e, t) {
|
|
4016
4016
|
if (e) {
|
|
4017
|
-
const
|
|
4018
|
-
|
|
4017
|
+
const i = document.createElement("style");
|
|
4018
|
+
i.innerHTML = t, e.appendChild(i);
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
4021
4021
|
function $r(e, t) {
|
|
4022
|
-
|
|
4023
|
-
|
|
4022
|
+
if (!e || !t)
|
|
4023
|
+
return;
|
|
4024
|
+
const i = new URL(t);
|
|
4025
|
+
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
4024
4026
|
const r = document.createElement("style");
|
|
4025
|
-
r.innerHTML =
|
|
4026
|
-
}).catch((
|
|
4027
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4027
|
+
r.innerHTML = n, e && e.appendChild(r);
|
|
4028
|
+
}).catch((n) => {
|
|
4029
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4028
4030
|
});
|
|
4029
4031
|
}
|
|
4030
|
-
function zr(e, t,
|
|
4032
|
+
function zr(e, t, i) {
|
|
4031
4033
|
if (window.emMessageBus) {
|
|
4032
|
-
const
|
|
4034
|
+
const n = document.createElement("style");
|
|
4033
4035
|
window.emMessageBus.subscribe(t, (r) => {
|
|
4034
|
-
|
|
4036
|
+
n.innerHTML = r, e && e.appendChild(n);
|
|
4035
4037
|
});
|
|
4036
4038
|
}
|
|
4037
4039
|
}
|
|
4038
4040
|
function Fr(e) {
|
|
4039
|
-
|
|
4041
|
+
ki(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
4040
4042
|
}
|
|
4041
4043
|
function Vr(e) {
|
|
4042
4044
|
let t;
|
|
4043
|
-
function
|
|
4045
|
+
function i(o, a) {
|
|
4044
4046
|
if (
|
|
4045
4047
|
/*popupState*/
|
|
4046
4048
|
o[10] === "initial"
|
|
@@ -4067,7 +4069,7 @@ function Vr(e) {
|
|
|
4067
4069
|
)
|
|
4068
4070
|
return qr;
|
|
4069
4071
|
}
|
|
4070
|
-
let
|
|
4072
|
+
let n = i(e), r = n && n(e);
|
|
4071
4073
|
return {
|
|
4072
4074
|
c() {
|
|
4073
4075
|
t = b("div"), r && r.c(), h(t, "class", "InitialWrapper");
|
|
@@ -4076,7 +4078,7 @@ function Vr(e) {
|
|
|
4076
4078
|
T(o, t, a), r && r.m(t, null);
|
|
4077
4079
|
},
|
|
4078
4080
|
p(o, a) {
|
|
4079
|
-
|
|
4081
|
+
n === (n = i(o)) && r ? r.p(o, a) : (r && r.d(1), r = n && n(o), r && (r.c(), r.m(t, null)));
|
|
4080
4082
|
},
|
|
4081
4083
|
d(o) {
|
|
4082
4084
|
o && x(t), r && r.d();
|
|
@@ -4084,21 +4086,21 @@ function Vr(e) {
|
|
|
4084
4086
|
};
|
|
4085
4087
|
}
|
|
4086
4088
|
function Xr(e) {
|
|
4087
|
-
let t,
|
|
4089
|
+
let t, i = (
|
|
4088
4090
|
/*$_*/
|
|
4089
4091
|
e[12]("loading") + ""
|
|
4090
|
-
),
|
|
4092
|
+
), n;
|
|
4091
4093
|
return {
|
|
4092
4094
|
c() {
|
|
4093
|
-
t = b("p"),
|
|
4095
|
+
t = b("p"), n = L(i);
|
|
4094
4096
|
},
|
|
4095
4097
|
m(r, o) {
|
|
4096
|
-
T(r, t, o), f(t,
|
|
4098
|
+
T(r, t, o), f(t, n);
|
|
4097
4099
|
},
|
|
4098
4100
|
p(r, o) {
|
|
4099
4101
|
o[0] & /*$_*/
|
|
4100
|
-
4096 &&
|
|
4101
|
-
r[12]("loading") + "") && k(
|
|
4102
|
+
4096 && i !== (i = /*$_*/
|
|
4103
|
+
r[12]("loading") + "") && k(n, i);
|
|
4102
4104
|
},
|
|
4103
4105
|
d(r) {
|
|
4104
4106
|
r && x(t);
|
|
@@ -4106,10 +4108,10 @@ function Xr(e) {
|
|
|
4106
4108
|
};
|
|
4107
4109
|
}
|
|
4108
4110
|
function qr(e) {
|
|
4109
|
-
let t,
|
|
4111
|
+
let t, i = (
|
|
4110
4112
|
/*$_*/
|
|
4111
4113
|
e[12]("depositError") + ""
|
|
4112
|
-
),
|
|
4114
|
+
), n, r, o, a, s, u = (
|
|
4113
4115
|
/*$_*/
|
|
4114
4116
|
e[12]("errorDescription") + ""
|
|
4115
4117
|
), l, c, p, m = (
|
|
@@ -4118,10 +4120,10 @@ function qr(e) {
|
|
|
4118
4120
|
), d, E, _;
|
|
4119
4121
|
return {
|
|
4120
4122
|
c() {
|
|
4121
|
-
t = b("p"),
|
|
4123
|
+
t = b("p"), n = L(i), r = N(), o = b("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = N(), s = b("p"), l = L(u), c = N(), p = b("button"), d = L(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4122
4124
|
},
|
|
4123
4125
|
m(y, v) {
|
|
4124
|
-
T(y, t, v), f(t,
|
|
4126
|
+
T(y, t, v), f(t, n), T(y, r, v), T(y, o, v), T(y, a, v), T(y, s, v), f(s, l), T(y, c, v), T(y, p, v), f(p, d), E || (_ = Z(
|
|
4125
4127
|
p,
|
|
4126
4128
|
"click",
|
|
4127
4129
|
/*click_handler_10*/
|
|
@@ -4130,8 +4132,8 @@ function qr(e) {
|
|
|
4130
4132
|
},
|
|
4131
4133
|
p(y, v) {
|
|
4132
4134
|
v[0] & /*$_*/
|
|
4133
|
-
4096 &&
|
|
4134
|
-
y[12]("depositError") + "") && k(
|
|
4135
|
+
4096 && i !== (i = /*$_*/
|
|
4136
|
+
y[12]("depositError") + "") && k(n, i), v[0] & /*$_*/
|
|
4135
4137
|
4096 && u !== (u = /*$_*/
|
|
4136
4138
|
y[12]("errorDescription") + "") && k(l, u), v[0] & /*$_*/
|
|
4137
4139
|
4096 && m !== (m = /*$_*/
|
|
@@ -4143,10 +4145,10 @@ function qr(e) {
|
|
|
4143
4145
|
};
|
|
4144
4146
|
}
|
|
4145
4147
|
function Wr(e) {
|
|
4146
|
-
let t,
|
|
4148
|
+
let t, i = (
|
|
4147
4149
|
/*$_*/
|
|
4148
4150
|
e[12]("docsRequired") + ""
|
|
4149
|
-
),
|
|
4151
|
+
), n, r, o, a, s, u, l, c, p, m = (
|
|
4150
4152
|
/*$_*/
|
|
4151
4153
|
e[12]("docsRequired") + ""
|
|
4152
4154
|
), d, E, _, y = (
|
|
@@ -4161,13 +4163,13 @@ function Wr(e) {
|
|
|
4161
4163
|
), R, G, X;
|
|
4162
4164
|
return {
|
|
4163
4165
|
c() {
|
|
4164
|
-
t = b("p"),
|
|
4166
|
+
t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = N(), w = b("button"), S = L(M), D = N(), z = b("button"), R = L(H), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4165
4167
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4166
4168
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4167
4169
|
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Ce(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(w, "class", "KycButton PrimaryButtonStyle"), h(z, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4168
4170
|
},
|
|
4169
4171
|
m(P, U) {
|
|
4170
|
-
T(P, t, U), f(t,
|
|
4172
|
+
T(P, t, U), f(t, n), T(P, r, U), T(P, o, U), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), T(P, O, U), T(P, w, U), f(w, S), T(P, D, U), T(P, z, U), f(z, R), G || (X = [
|
|
4171
4173
|
Z(
|
|
4172
4174
|
w,
|
|
4173
4175
|
"click",
|
|
@@ -4184,8 +4186,8 @@ function Wr(e) {
|
|
|
4184
4186
|
},
|
|
4185
4187
|
p(P, U) {
|
|
4186
4188
|
U[0] & /*$_*/
|
|
4187
|
-
4096 &&
|
|
4188
|
-
P[12]("docsRequired") + "") && k(
|
|
4189
|
+
4096 && i !== (i = /*$_*/
|
|
4190
|
+
P[12]("docsRequired") + "") && k(n, i), U[0] & /*$_*/
|
|
4189
4191
|
4096 && m !== (m = /*$_*/
|
|
4190
4192
|
P[12]("docsRequired") + "") && k(d, m), U[0] & /*$_*/
|
|
4191
4193
|
4096 && y !== (y = /*$_*/
|
|
@@ -4201,10 +4203,10 @@ function Wr(e) {
|
|
|
4201
4203
|
};
|
|
4202
4204
|
}
|
|
4203
4205
|
function Zr(e) {
|
|
4204
|
-
let t,
|
|
4206
|
+
let t, i = (
|
|
4205
4207
|
/*$_*/
|
|
4206
4208
|
e[12]("depositLimit") + ""
|
|
4207
|
-
),
|
|
4209
|
+
), n, r, o, a, s, u, l, c, p, m = (
|
|
4208
4210
|
/*$_*/
|
|
4209
4211
|
e[12]("successful") + ""
|
|
4210
4212
|
), d, E, _, y = (
|
|
@@ -4219,22 +4221,22 @@ function Zr(e) {
|
|
|
4219
4221
|
), G, X, P, U = (
|
|
4220
4222
|
/*$_*/
|
|
4221
4223
|
e[12]("closeButton") + ""
|
|
4222
|
-
),
|
|
4224
|
+
), ne, re, le;
|
|
4223
4225
|
return {
|
|
4224
4226
|
c() {
|
|
4225
|
-
t = b("p"),
|
|
4227
|
+
t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = L(
|
|
4226
4228
|
/*legislatorLimitValue*/
|
|
4227
4229
|
e[11]
|
|
4228
4230
|
), w = N(), M = L(
|
|
4229
4231
|
/*currency*/
|
|
4230
4232
|
e[0]
|
|
4231
|
-
), D = L(S), z = N(), H = b("button"), G = L(R), X = N(), P = b("button"),
|
|
4233
|
+
), D = L(S), z = N(), H = b("button"), G = L(R), X = N(), P = b("button"), ne = L(U), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4232
4234
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4233
4235
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4234
4236
|
h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), Ce(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(H, "class", "KycButton PrimaryButtonStyle"), h(P, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4235
4237
|
},
|
|
4236
4238
|
m(F, j) {
|
|
4237
|
-
T(F, t, j), f(t,
|
|
4239
|
+
T(F, t, j), f(t, n), T(F, r, j), T(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), f(_, O), f(_, w), f(_, M), f(_, D), T(F, z, j), T(F, H, j), f(H, G), T(F, X, j), T(F, P, j), f(P, ne), re || (le = [
|
|
4238
4240
|
Z(
|
|
4239
4241
|
H,
|
|
4240
4242
|
"click",
|
|
@@ -4251,8 +4253,8 @@ function Zr(e) {
|
|
|
4251
4253
|
},
|
|
4252
4254
|
p(F, j) {
|
|
4253
4255
|
j[0] & /*$_*/
|
|
4254
|
-
4096 &&
|
|
4255
|
-
F[12]("depositLimit") + "") && k(
|
|
4256
|
+
4096 && i !== (i = /*$_*/
|
|
4257
|
+
F[12]("depositLimit") + "") && k(n, i), j[0] & /*$_*/
|
|
4256
4258
|
4096 && m !== (m = /*$_*/
|
|
4257
4259
|
F[12]("successful") + "") && k(d, m), j[0] & /*$_*/
|
|
4258
4260
|
4096 && y !== (y = /*$_*/
|
|
@@ -4272,7 +4274,7 @@ function Zr(e) {
|
|
|
4272
4274
|
4096 && R !== (R = /*$_*/
|
|
4273
4275
|
F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
|
|
4274
4276
|
4096 && U !== (U = /*$_*/
|
|
4275
|
-
F[12]("closeButton") + "") && k(
|
|
4277
|
+
F[12]("closeButton") + "") && k(ne, U);
|
|
4276
4278
|
},
|
|
4277
4279
|
d(F) {
|
|
4278
4280
|
F && (x(t), x(r), x(o), x(z), x(H), x(X), x(P)), re = !1, ce(le);
|
|
@@ -4280,10 +4282,10 @@ function Zr(e) {
|
|
|
4280
4282
|
};
|
|
4281
4283
|
}
|
|
4282
4284
|
function Yr(e) {
|
|
4283
|
-
let t,
|
|
4285
|
+
let t, i = (
|
|
4284
4286
|
/*$_*/
|
|
4285
4287
|
e[12]("depositLimit") + ""
|
|
4286
|
-
),
|
|
4288
|
+
), n, r, o, a, s, u, l, c, p, m, d, E, _ = (
|
|
4287
4289
|
/*$_*/
|
|
4288
4290
|
e[12]("successful") + ""
|
|
4289
4291
|
), y, v, O, w = (
|
|
@@ -4292,11 +4294,11 @@ function Yr(e) {
|
|
|
4292
4294
|
), M, S, D, z, H;
|
|
4293
4295
|
return {
|
|
4294
4296
|
c() {
|
|
4295
|
-
t = b("p"),
|
|
4297
|
+
t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("defs"), l = Y("style"), c = L(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4296
4298
|
`), p = Y("g"), m = Y("polygon"), d = N(), E = b("p"), y = L(_), v = N(), O = b("p"), M = L(w), S = N(), D = b("button"), D.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(m, "class", "fil0"), h(m, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), Ce(s, "shape-rendering", "geometricPrecision"), Ce(s, "text-rendering", "geometricPrecision"), Ce(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(O, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(D, "class", "ConfirmButton PrimaryButtonStyle");
|
|
4297
4299
|
},
|
|
4298
4300
|
m(R, G) {
|
|
4299
|
-
T(R, t, G), f(t,
|
|
4301
|
+
T(R, t, G), f(t, n), T(R, r, G), T(R, o, G), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, E), f(E, y), f(o, v), f(o, O), f(O, M), T(R, S, G), T(R, D, G), z || (H = Z(
|
|
4300
4302
|
D,
|
|
4301
4303
|
"click",
|
|
4302
4304
|
/*click_handler_5*/
|
|
@@ -4305,8 +4307,8 @@ function Yr(e) {
|
|
|
4305
4307
|
},
|
|
4306
4308
|
p(R, G) {
|
|
4307
4309
|
G[0] & /*$_*/
|
|
4308
|
-
4096 &&
|
|
4309
|
-
R[12]("depositLimit") + "") && k(
|
|
4310
|
+
4096 && i !== (i = /*$_*/
|
|
4311
|
+
R[12]("depositLimit") + "") && k(n, i), G[0] & /*$_*/
|
|
4310
4312
|
4096 && _ !== (_ = /*$_*/
|
|
4311
4313
|
R[12]("successful") + "") && k(y, _), G[0] & /*$_*/
|
|
4312
4314
|
4096 && w !== (w = /*$_*/
|
|
@@ -4318,10 +4320,10 @@ function Yr(e) {
|
|
|
4318
4320
|
};
|
|
4319
4321
|
}
|
|
4320
4322
|
function Jr(e) {
|
|
4321
|
-
let t,
|
|
4323
|
+
let t, i = (
|
|
4322
4324
|
/*$_*/
|
|
4323
4325
|
e[12]("setLimit") + ""
|
|
4324
|
-
),
|
|
4326
|
+
), n, r, o, a = (
|
|
4325
4327
|
/*$_*/
|
|
4326
4328
|
e[12]("setLimitDescription") + ""
|
|
4327
4329
|
), s, u, l, c = (
|
|
@@ -4336,7 +4338,7 @@ function Jr(e) {
|
|
|
4336
4338
|
), w, M, S, D = (
|
|
4337
4339
|
/*$_*/
|
|
4338
4340
|
e[12]("keepCurrentLimitButton") + ""
|
|
4339
|
-
), z, H, R, G, X, P, U,
|
|
4341
|
+
), z, H, R, G, X, P, U, ne, re = (
|
|
4340
4342
|
/*$_*/
|
|
4341
4343
|
e[12]("depositPeriod") + ""
|
|
4342
4344
|
), le, F, j, K, Ue, oe, pe = (
|
|
@@ -4354,15 +4356,15 @@ function Jr(e) {
|
|
|
4354
4356
|
), ae, je, ee, Ge = (
|
|
4355
4357
|
/*$_*/
|
|
4356
4358
|
e[12]("PPlink") + ""
|
|
4357
|
-
), tt, wt,
|
|
4359
|
+
), tt, wt, it, Bt;
|
|
4358
4360
|
return {
|
|
4359
4361
|
c() {
|
|
4360
|
-
t = b("p"),
|
|
4362
|
+
t = b("p"), n = L(i), r = N(), o = b("p"), s = L(a), u = N(), l = b("p"), p = L(c), m = N(), d = b("button"), _ = L(E), y = N(), v = b("button"), w = L(O), M = N(), S = b("button"), z = L(D), H = Y("svg"), R = Y("path"), G = Y("path"), X = N(), P = b("div"), U = b("div"), ne = b("span"), le = L(re), F = N(), j = b("div"), K = b("input"), Ue = N(), oe = b("button"), Se = L(pe), Ae = N(), J = b("p"), Ie = L(me), he = b("button"), ke = L(de), g = N(), ae = L(q), je = N(), ee = b("button"), tt = L(Ge), wt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(v, "class", "KeepCurrentButton PrimaryButtonStyle"), h(R, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h(G, "d", "M0 0h36v36h-36z"), h(G, "fill", "none"), h(H, "class", "ExpandArrow"), h(H, "xmlns", "http://www.w3.org/2000/svg"), h(H, "width", "36"), h(H, "height", "36"), h(H, "viewBox", "0 0 36 36"), h(H, "fill", "#999"), $e(
|
|
4361
4363
|
H,
|
|
4362
4364
|
"Extended",
|
|
4363
4365
|
/*extended*/
|
|
4364
4366
|
e[5]
|
|
4365
|
-
), h(S, "class", "ExpandButton"), h(
|
|
4367
|
+
), h(S, "class", "ExpandButton"), h(ne, "class", "DepositPeriodText"), h(U, "class", "DepositTextSection"), h(K, "type", "number"), h(K, "class", "DepositInput"), h(oe, "type", "submit"), h(oe, "class", "SubmitDepositButton PrimaryButtonStyle"), oe.disabled = !0, h(j, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), $e(
|
|
4366
4368
|
P,
|
|
4367
4369
|
"Hidden",
|
|
4368
4370
|
/*hidden*/
|
|
@@ -4370,11 +4372,11 @@ function Jr(e) {
|
|
|
4370
4372
|
), h(he, "class", "LinkButton"), h(ee, "class", "LinkButton"), h(J, "class", "TermsConditions");
|
|
4371
4373
|
},
|
|
4372
4374
|
m(I, C) {
|
|
4373
|
-
T(I, t, C), f(t,
|
|
4375
|
+
T(I, t, C), f(t, n), T(I, r, C), T(I, o, C), f(o, s), T(I, u, C), T(I, l, C), f(l, p), f(l, m), f(l, d), f(d, _), T(I, y, C), T(I, v, C), f(v, w), T(I, M, C), T(I, S, C), f(S, z), f(S, H), f(H, R), f(H, G), e[26](H), T(I, X, C), T(I, P, C), f(P, U), f(U, ne), f(ne, le), f(P, F), f(P, j), f(j, K), Ht(
|
|
4374
4376
|
K,
|
|
4375
4377
|
/*inputAmount*/
|
|
4376
4378
|
e[6]
|
|
4377
|
-
), f(j, Ue), f(j, oe), f(oe, Se), e[28](oe), T(I, Ae, C), T(I, J, C), f(J, Ie), f(J, he), f(he, ke), f(J, g), f(J, ae), f(J, je), f(J, ee), f(ee, tt), f(J, wt),
|
|
4379
|
+
), f(j, Ue), f(j, oe), f(oe, Se), e[28](oe), T(I, Ae, C), T(I, J, C), f(J, Ie), f(J, he), f(he, ke), f(J, g), f(J, ae), f(J, je), f(J, ee), f(ee, tt), f(J, wt), it || (Bt = [
|
|
4378
4380
|
Z(
|
|
4379
4381
|
d,
|
|
4380
4382
|
"click",
|
|
@@ -4423,12 +4425,12 @@ function Jr(e) {
|
|
|
4423
4425
|
/*click_handler_4*/
|
|
4424
4426
|
e[31]
|
|
4425
4427
|
)
|
|
4426
|
-
],
|
|
4428
|
+
], it = !0);
|
|
4427
4429
|
},
|
|
4428
4430
|
p(I, C) {
|
|
4429
4431
|
C[0] & /*$_*/
|
|
4430
|
-
4096 &&
|
|
4431
|
-
I[12]("setLimit") + "") && k(
|
|
4432
|
+
4096 && i !== (i = /*$_*/
|
|
4433
|
+
I[12]("setLimit") + "") && k(n, i), C[0] & /*$_*/
|
|
4432
4434
|
4096 && a !== (a = /*$_*/
|
|
4433
4435
|
I[12]("setLimitDescription") + "") && k(s, a), C[0] & /*$_*/
|
|
4434
4436
|
4096 && c !== (c = /*$_*/
|
|
@@ -4471,12 +4473,12 @@ function Jr(e) {
|
|
|
4471
4473
|
I[12]("PPlink") + "") && k(tt, Ge);
|
|
4472
4474
|
},
|
|
4473
4475
|
d(I) {
|
|
4474
|
-
I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(M), x(S), x(X), x(P), x(Ae), x(J)), e[26](null), e[28](null),
|
|
4476
|
+
I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(M), x(S), x(X), x(P), x(Ae), x(J)), e[26](null), e[28](null), it = !1, ce(Bt);
|
|
4475
4477
|
}
|
|
4476
4478
|
};
|
|
4477
4479
|
}
|
|
4478
4480
|
function Qr(e) {
|
|
4479
|
-
let t,
|
|
4481
|
+
let t, i, n, r;
|
|
4480
4482
|
function o(u, l) {
|
|
4481
4483
|
if (
|
|
4482
4484
|
/*isLoading*/
|
|
@@ -4492,24 +4494,24 @@ function Qr(e) {
|
|
|
4492
4494
|
let a = o(e), s = a && a(e);
|
|
4493
4495
|
return {
|
|
4494
4496
|
c() {
|
|
4495
|
-
t = b("div"),
|
|
4497
|
+
t = b("div"), i = b("div"), n = b("div"), r = b("div"), s && s.c(), h(r, "class", "ModalContainer"), h(n, "class", "Overlay"), h(i, "class", "player-account-gaming-limits-popup-2");
|
|
4496
4498
|
},
|
|
4497
4499
|
m(u, l) {
|
|
4498
|
-
T(u, t, l), f(t,
|
|
4500
|
+
T(u, t, l), f(t, i), f(i, n), f(n, r), s && s.m(r, null), e[38](i), e[39](t);
|
|
4499
4501
|
},
|
|
4500
4502
|
p(u, l) {
|
|
4501
4503
|
a === (a = o(u)) && s ? s.p(u, l) : (s && s.d(1), s = a && a(u), s && (s.c(), s.m(r, null)));
|
|
4502
4504
|
},
|
|
4503
|
-
i:
|
|
4504
|
-
o:
|
|
4505
|
+
i: ie,
|
|
4506
|
+
o: ie,
|
|
4505
4507
|
d(u) {
|
|
4506
4508
|
u && x(t), s && s.d(), e[38](null), e[39](null);
|
|
4507
4509
|
}
|
|
4508
4510
|
};
|
|
4509
4511
|
}
|
|
4510
|
-
function Kr(e, t,
|
|
4511
|
-
let
|
|
4512
|
-
|
|
4512
|
+
function Kr(e, t, i) {
|
|
4513
|
+
let n;
|
|
4514
|
+
Ii(e, Ur, (g) => i(12, n = g));
|
|
4513
4515
|
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d, E, _ = !0, y = !1, v, O = !1, w, M, S = "initial", D;
|
|
4514
4516
|
const z = () => {
|
|
4515
4517
|
fetch(l).then((q) => q.json()).then((q) => {
|
|
@@ -4524,11 +4526,11 @@ function Kr(e, t, n) {
|
|
|
4524
4526
|
qt(g, Wt[g]);
|
|
4525
4527
|
});
|
|
4526
4528
|
const H = () => {
|
|
4527
|
-
|
|
4529
|
+
i(5, y = !y), i(4, _ = !_);
|
|
4528
4530
|
}, R = () => {
|
|
4529
4531
|
M.parentNode.removeChild(M);
|
|
4530
4532
|
}, G = () => {
|
|
4531
|
-
v > 999999999999999 &&
|
|
4533
|
+
v > 999999999999999 && i(6, v = 999999999999999);
|
|
4532
4534
|
const q = v - Math.floor(v) === 0;
|
|
4533
4535
|
v > 0 && q ? w.removeAttribute("disabled") : w.setAttribute("disabled", "true");
|
|
4534
4536
|
}, X = (g) => {
|
|
@@ -4541,7 +4543,7 @@ function Kr(e, t, n) {
|
|
|
4541
4543
|
}, P = (g) => {
|
|
4542
4544
|
const q = new URL(`/v1/player/${r}/limit/lugas`, a);
|
|
4543
4545
|
let ae = {};
|
|
4544
|
-
|
|
4546
|
+
i(7, O = !0), ae = g === "custom" ? { amount: v } : {};
|
|
4545
4547
|
let je = {
|
|
4546
4548
|
method: "POST",
|
|
4547
4549
|
headers: {
|
|
@@ -4556,58 +4558,58 @@ function Kr(e, t, n) {
|
|
|
4556
4558
|
}).catch((ee) => {
|
|
4557
4559
|
console.log(ee);
|
|
4558
4560
|
}).finally(() => {
|
|
4559
|
-
|
|
4561
|
+
i(7, O = !1);
|
|
4560
4562
|
});
|
|
4561
4563
|
}, U = (g) => {
|
|
4562
4564
|
if (g.hasOwnProperty("kycNeeded"))
|
|
4563
4565
|
switch (g.popup) {
|
|
4564
4566
|
case 1:
|
|
4565
|
-
|
|
4567
|
+
i(10, S = "KYC"), i(11, D = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(g.operatorDepositLimitAmount));
|
|
4566
4568
|
break;
|
|
4567
4569
|
case 2:
|
|
4568
|
-
|
|
4570
|
+
i(10, S = "successful");
|
|
4569
4571
|
break;
|
|
4570
4572
|
case 3:
|
|
4571
|
-
|
|
4573
|
+
i(10, S = "KYC2");
|
|
4572
4574
|
break;
|
|
4573
4575
|
}
|
|
4574
4576
|
else
|
|
4575
|
-
|
|
4576
|
-
},
|
|
4577
|
+
i(10, S = "error");
|
|
4578
|
+
}, ne = () => {
|
|
4577
4579
|
jr(u);
|
|
4578
4580
|
};
|
|
4579
|
-
|
|
4581
|
+
Di(() => () => {
|
|
4580
4582
|
});
|
|
4581
4583
|
const re = () => X("lugasInformation"), le = () => P("default");
|
|
4582
4584
|
function F(g) {
|
|
4583
4585
|
ve[g ? "unshift" : "push"](() => {
|
|
4584
|
-
E = g,
|
|
4586
|
+
E = g, i(3, E);
|
|
4585
4587
|
});
|
|
4586
4588
|
}
|
|
4587
4589
|
function j() {
|
|
4588
|
-
v = Qt(this.value),
|
|
4590
|
+
v = Qt(this.value), i(6, v);
|
|
4589
4591
|
}
|
|
4590
4592
|
function K(g) {
|
|
4591
4593
|
ve[g ? "unshift" : "push"](() => {
|
|
4592
|
-
w = g,
|
|
4594
|
+
w = g, i(8, w);
|
|
4593
4595
|
});
|
|
4594
4596
|
}
|
|
4595
4597
|
const Ue = () => P("custom"), oe = () => X("termsConditions"), pe = () => X("privacyPolicy"), Se = () => X("closePopup"), Ae = () => X("uploadDocuments"), J = () => X("closePopup"), me = () => X("uploadDocuments"), Ie = () => X("closePopup"), he = () => X("closePopup");
|
|
4596
4598
|
function de(g) {
|
|
4597
4599
|
ve[g ? "unshift" : "push"](() => {
|
|
4598
|
-
M = g,
|
|
4600
|
+
M = g, i(9, M);
|
|
4599
4601
|
});
|
|
4600
4602
|
}
|
|
4601
4603
|
function ke(g) {
|
|
4602
4604
|
ve[g ? "unshift" : "push"](() => {
|
|
4603
|
-
d = g,
|
|
4605
|
+
d = g, i(2, d);
|
|
4604
4606
|
});
|
|
4605
4607
|
}
|
|
4606
4608
|
return e.$$set = (g) => {
|
|
4607
|
-
"userid" in g &&
|
|
4609
|
+
"userid" in g && i(17, r = g.userid), "session" in g && i(18, o = g.session), "endpoint" in g && i(19, a = g.endpoint), "currency" in g && i(0, s = g.currency), "lang" in g && i(1, u = g.lang), "translationurl" in g && i(20, l = g.translationurl), "clientstyling" in g && i(21, c = g.clientstyling), "clientstylingurl" in g && i(22, p = g.clientstylingurl), "mbsource" in g && i(23, m = g.mbsource);
|
|
4608
4610
|
}, e.$$.update = () => {
|
|
4609
4611
|
e.$$.dirty[0] & /*lang*/
|
|
4610
|
-
2 && u &&
|
|
4612
|
+
2 && u && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4611
4613
|
2097156 && c && d && Gr(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4612
4614
|
4194308 && p && d && $r(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4613
4615
|
8388612 && m && d && zr(d, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
@@ -4625,7 +4627,7 @@ function Kr(e, t, n) {
|
|
|
4625
4627
|
M,
|
|
4626
4628
|
S,
|
|
4627
4629
|
D,
|
|
4628
|
-
|
|
4630
|
+
n,
|
|
4629
4631
|
H,
|
|
4630
4632
|
G,
|
|
4631
4633
|
X,
|
|
@@ -4655,9 +4657,9 @@ function Kr(e, t, n) {
|
|
|
4655
4657
|
ke
|
|
4656
4658
|
];
|
|
4657
4659
|
}
|
|
4658
|
-
class eo extends
|
|
4660
|
+
class eo extends Zi {
|
|
4659
4661
|
constructor(t) {
|
|
4660
|
-
super(),
|
|
4662
|
+
super(), qi(
|
|
4661
4663
|
this,
|
|
4662
4664
|
t,
|
|
4663
4665
|
Kr,
|
|
@@ -4733,7 +4735,7 @@ class eo extends Yn {
|
|
|
4733
4735
|
this.$$set({ mbsource: t }), te();
|
|
4734
4736
|
}
|
|
4735
4737
|
}
|
|
4736
|
-
|
|
4738
|
+
Wi(eo, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4737
4739
|
export {
|
|
4738
4740
|
eo as default
|
|
4739
4741
|
};
|