@everymatrix/player-limit-notification 0.6.4 → 0.6.5
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/PlayerAccountGamingLimitsHistory2Nd-BPDMvyK7.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-mWkH_LLa.js → PlayerAccountGamingLimitsHistory2Nd-BetTT8pd.js} +916 -895
- package/components/{PlayerAccountGamingLimitsHistory2Nd-gc0INEye.js → PlayerAccountGamingLimitsHistory2Nd-Rz7KSqHF.js} +1069 -1048
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BCOHZYpc.js → PlayerAccountGamingLimitsPage2Gm16Nd-6jezdPSI.js} +129 -129
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DbNTVmeR.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DTS6QEQW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BKCbMIUy.js → PlayerAccountGamingLimitsPage2Gm16Nd-fgfmAwLi.js} +126 -126
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C7RelM81.cjs → PlayerAccountGamingLimitsWrapper2Nd-2z3_GBiO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-jQgjwmoV.js → PlayerAccountGamingLimitsWrapper2Nd-CV2C9zMp.js} +56 -56
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DmnJjBml.js → PlayerAccountGamingLimitsWrapper2Nd-Cf_X2Mhf.js} +63 -63
- package/components/{PlayerLimitNotification-jhgxEbHZ.cjs → PlayerLimitNotification-BrMdgJrq.cjs} +1 -1
- package/components/{PlayerLimitNotification-DKJyH3PY.js → PlayerLimitNotification-DMo7_odP.js} +51 -51
- package/components/{PlayerLimitNotification-DbORJ66O.js → PlayerLimitNotification-zuggJ4lR.js} +47 -47
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerAccountGamingLimitsHistory2Nd-CVtyVFxN.cjs +0 -18
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var zr = Object.defineProperty, Xr = Object.defineProperties;
|
|
2
|
+
var Zr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var vt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ge = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Qr.call(t, r) && Ge(e, r, t[r]);
|
|
8
|
+
if (vt)
|
|
9
|
+
for (var r of vt(t))
|
|
10
|
+
Yr.call(t, r) && Ge(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var N = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, _t = (e, t) => Xr(e, Zr(t));
|
|
13
|
+
var N = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Et = (e, t, r) => new Promise((i, n) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
a(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
n(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
a(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
n(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Jr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,67 +37,67 @@ function Yr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Qt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function xt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function ie(e) {
|
|
47
|
+
e.forEach(Qt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function dt(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Yt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function qr(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Jt(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const i of t)
|
|
61
61
|
i(void 0);
|
|
62
|
-
return
|
|
62
|
+
return O;
|
|
63
63
|
}
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Kr(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Jt(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function $o(e, t, r, i) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = qt(e, t, r, i);
|
|
73
73
|
return e[0](n);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && i ?
|
|
76
|
+
function qt(e, t, r, i) {
|
|
77
|
+
return e[1] && i ? Jr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Uo(e, t, r, i) {
|
|
80
80
|
if (e[2] && i) {
|
|
81
81
|
const n = e[2](i(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
83
83
|
return n;
|
|
84
84
|
if (typeof n == "object") {
|
|
85
|
-
const o = [],
|
|
86
|
-
for (let
|
|
87
|
-
o[
|
|
85
|
+
const o = [], s = Math.max(t.dirty.length, n.length);
|
|
86
|
+
for (let a = 0; a < s; a += 1)
|
|
87
|
+
o[a] = t.dirty[a] | n[a];
|
|
88
88
|
return o;
|
|
89
89
|
}
|
|
90
90
|
return t.dirty | n;
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Go(e, t, r, i, n, o) {
|
|
95
95
|
if (n) {
|
|
96
|
-
const
|
|
97
|
-
e.p(
|
|
96
|
+
const s = qt(t, r, i, o);
|
|
97
|
+
e.p(s, n);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Fo(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let i = 0; i < r; i++)
|
|
@@ -106,26 +106,26 @@ function $o(e) {
|
|
|
106
106
|
}
|
|
107
107
|
return -1;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function jo(e) {
|
|
110
110
|
const t = {};
|
|
111
111
|
for (const r in e)
|
|
112
112
|
t[r] = !0;
|
|
113
113
|
return t;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function wt(e) {
|
|
116
116
|
return e == null ? "" : e;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function x(e, t) {
|
|
119
119
|
e.appendChild(t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
const i =
|
|
121
|
+
function ei(e, t, r) {
|
|
122
|
+
const i = ti(e);
|
|
123
123
|
if (!i.getElementById(t)) {
|
|
124
|
-
const n =
|
|
125
|
-
n.id = t, n.textContent = r,
|
|
124
|
+
const n = P("style");
|
|
125
|
+
n.id = t, n.textContent = r, ri(i, n);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function ti(e) {
|
|
129
129
|
if (!e)
|
|
130
130
|
return document;
|
|
131
131
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -135,8 +135,8 @@ function ei(e) {
|
|
|
135
135
|
t
|
|
136
136
|
) : e.ownerDocument;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
return
|
|
138
|
+
function ri(e, t) {
|
|
139
|
+
return x(
|
|
140
140
|
/** @type {Document} */
|
|
141
141
|
e.head || e,
|
|
142
142
|
t
|
|
@@ -148,52 +148,52 @@ function X(e, t, r) {
|
|
|
148
148
|
function V(e) {
|
|
149
149
|
e.parentNode && e.parentNode.removeChild(e);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function ii(e, t) {
|
|
152
152
|
for (let r = 0; r < e.length; r += 1)
|
|
153
153
|
e[r] && e[r].d(t);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function P(e) {
|
|
156
156
|
return document.createElement(e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Fe(e) {
|
|
159
159
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function D(e) {
|
|
162
162
|
return document.createTextNode(e);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
return
|
|
164
|
+
function Je() {
|
|
165
|
+
return D(" ");
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
return
|
|
167
|
+
function ko() {
|
|
168
|
+
return D("");
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function ni(e, t, r, i) {
|
|
171
171
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
172
172
|
}
|
|
173
173
|
function E(e, t, r) {
|
|
174
174
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Vo(e, t, r) {
|
|
177
177
|
const i = t.toLowerCase();
|
|
178
178
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Wo(e) {
|
|
181
181
|
return e === "" ? null : +e;
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function oi(e) {
|
|
184
184
|
return Array.from(e.childNodes);
|
|
185
185
|
}
|
|
186
186
|
function k(e, t) {
|
|
187
187
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
188
188
|
t);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function zo(e, t) {
|
|
191
191
|
e.value = t == null ? "" : t;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function si(e, t, r, i) {
|
|
194
194
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Xo(e, t, r) {
|
|
197
197
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
198
198
|
const n = e.options[i];
|
|
199
199
|
if (n.__value === t) {
|
|
@@ -203,14 +203,14 @@ function Wo(e, t, r) {
|
|
|
203
203
|
}
|
|
204
204
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Zo(e) {
|
|
207
207
|
const t = e.querySelector(":checked");
|
|
208
208
|
return t && t.__value;
|
|
209
209
|
}
|
|
210
210
|
function ve(e, t, r) {
|
|
211
211
|
e.classList.toggle(t, !!r);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function ai(e) {
|
|
214
214
|
const t = {};
|
|
215
215
|
return e.childNodes.forEach(
|
|
216
216
|
/** @param {Element} node */
|
|
@@ -219,72 +219,72 @@ function si(e) {
|
|
|
219
219
|
}
|
|
220
220
|
), t;
|
|
221
221
|
}
|
|
222
|
-
let
|
|
223
|
-
function
|
|
224
|
-
|
|
222
|
+
let he;
|
|
223
|
+
function le(e) {
|
|
224
|
+
he = e;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
if (!
|
|
226
|
+
function ui() {
|
|
227
|
+
if (!he)
|
|
228
228
|
throw new Error("Function called outside component initialization");
|
|
229
|
-
return
|
|
229
|
+
return he;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
231
|
+
function li(e) {
|
|
232
|
+
ui().$$.on_mount.push(e);
|
|
233
233
|
}
|
|
234
234
|
const J = [], Ae = [];
|
|
235
235
|
let q = [];
|
|
236
|
-
const
|
|
237
|
-
let
|
|
238
|
-
function
|
|
239
|
-
|
|
236
|
+
const Tt = [], Kt = /* @__PURE__ */ Promise.resolve();
|
|
237
|
+
let qe = !1;
|
|
238
|
+
function er() {
|
|
239
|
+
qe || (qe = !0, Kt.then(C));
|
|
240
240
|
}
|
|
241
|
-
function
|
|
242
|
-
return
|
|
241
|
+
function Qo() {
|
|
242
|
+
return er(), Kt;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Ke(e) {
|
|
245
245
|
q.push(e);
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const je = /* @__PURE__ */ new Set();
|
|
248
248
|
let Q = 0;
|
|
249
|
-
function
|
|
249
|
+
function C() {
|
|
250
250
|
if (Q !== 0)
|
|
251
251
|
return;
|
|
252
|
-
const e =
|
|
252
|
+
const e = he;
|
|
253
253
|
do {
|
|
254
254
|
try {
|
|
255
255
|
for (; Q < J.length; ) {
|
|
256
256
|
const t = J[Q];
|
|
257
|
-
Q++,
|
|
257
|
+
Q++, le(t), hi(t.$$);
|
|
258
258
|
}
|
|
259
259
|
} catch (t) {
|
|
260
260
|
throw J.length = 0, Q = 0, t;
|
|
261
261
|
}
|
|
262
|
-
for (
|
|
262
|
+
for (le(null), J.length = 0, Q = 0; Ae.length; )
|
|
263
263
|
Ae.pop()();
|
|
264
264
|
for (let t = 0; t < q.length; t += 1) {
|
|
265
265
|
const r = q[t];
|
|
266
|
-
|
|
266
|
+
je.has(r) || (je.add(r), r());
|
|
267
267
|
}
|
|
268
268
|
q.length = 0;
|
|
269
269
|
} while (J.length);
|
|
270
|
-
for (;
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
for (; Tt.length; )
|
|
271
|
+
Tt.pop()();
|
|
272
|
+
qe = !1, je.clear(), le(e);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function hi(e) {
|
|
275
275
|
if (e.fragment !== null) {
|
|
276
|
-
e.update(),
|
|
276
|
+
e.update(), ie(e.before_update);
|
|
277
277
|
const t = e.dirty;
|
|
278
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
278
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function ci(e) {
|
|
282
282
|
const t = [], r = [];
|
|
283
283
|
q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
|
|
284
284
|
}
|
|
285
|
-
const
|
|
285
|
+
const xe = /* @__PURE__ */ new Set();
|
|
286
286
|
let z;
|
|
287
|
-
function
|
|
287
|
+
function Yo() {
|
|
288
288
|
z = {
|
|
289
289
|
r: 0,
|
|
290
290
|
c: [],
|
|
@@ -292,50 +292,50 @@ function Zo() {
|
|
|
292
292
|
// parent group
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
z.r ||
|
|
295
|
+
function Jo() {
|
|
296
|
+
z.r || ie(z.c), z = z.p;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
e && e.i && (
|
|
298
|
+
function fi(e, t) {
|
|
299
|
+
e && e.i && (xe.delete(e), e.i(t));
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function qo(e, t, r, i) {
|
|
302
302
|
if (e && e.o) {
|
|
303
|
-
if (
|
|
303
|
+
if (xe.has(e))
|
|
304
304
|
return;
|
|
305
|
-
|
|
306
|
-
|
|
305
|
+
xe.add(e), z.c.push(() => {
|
|
306
|
+
xe.delete(e), i && (r && e.d(1), i());
|
|
307
307
|
}), e.o(t);
|
|
308
308
|
} else
|
|
309
309
|
i && i();
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function St(e) {
|
|
312
312
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function mi(e, t, r) {
|
|
315
315
|
const { fragment: i, after_update: n } = e.$$;
|
|
316
|
-
i && i.m(t, r),
|
|
317
|
-
const o = e.$$.on_mount.map(
|
|
318
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
319
|
-
}), n.forEach(
|
|
316
|
+
i && i.m(t, r), Ke(() => {
|
|
317
|
+
const o = e.$$.on_mount.map(Qt).filter(dt);
|
|
318
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
319
|
+
}), n.forEach(Ke);
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function pi(e, t) {
|
|
322
322
|
const r = e.$$;
|
|
323
|
-
r.fragment !== null && (
|
|
323
|
+
r.fragment !== null && (ci(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
e.$$.dirty[0] === -1 && (J.push(e),
|
|
325
|
+
function di(e, t) {
|
|
326
|
+
e.$$.dirty[0] === -1 && (J.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
329
|
-
const l =
|
|
330
|
-
|
|
328
|
+
function yi(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
329
|
+
const l = he;
|
|
330
|
+
le(e);
|
|
331
331
|
const u = e.$$ = {
|
|
332
332
|
fragment: null,
|
|
333
333
|
ctx: [],
|
|
334
334
|
// state
|
|
335
335
|
props: o,
|
|
336
|
-
update:
|
|
336
|
+
update: O,
|
|
337
337
|
not_equal: n,
|
|
338
|
-
bound:
|
|
338
|
+
bound: xt(),
|
|
339
339
|
// lifecycle
|
|
340
340
|
on_mount: [],
|
|
341
341
|
on_destroy: [],
|
|
@@ -344,28 +344,28 @@ function di(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
344
344
|
after_update: [],
|
|
345
345
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
346
346
|
// everything else
|
|
347
|
-
callbacks:
|
|
348
|
-
dirty:
|
|
347
|
+
callbacks: xt(),
|
|
348
|
+
dirty: a,
|
|
349
349
|
skip_bound: !1,
|
|
350
350
|
root: t.target || l.$$.root
|
|
351
351
|
};
|
|
352
|
-
|
|
352
|
+
s && s(u.root);
|
|
353
353
|
let h = !1;
|
|
354
354
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
355
355
|
const y = p.length ? p[0] : f;
|
|
356
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
357
|
-
}) : [], u.update(), h = !0,
|
|
356
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && di(e, c)), f;
|
|
357
|
+
}) : [], u.update(), h = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
358
358
|
if (t.hydrate) {
|
|
359
|
-
const c =
|
|
359
|
+
const c = oi(t.target);
|
|
360
360
|
u.fragment && u.fragment.l(c), c.forEach(V);
|
|
361
361
|
} else
|
|
362
362
|
u.fragment && u.fragment.c();
|
|
363
|
-
t.intro &&
|
|
363
|
+
t.intro && fi(e.$$.fragment), mi(e, t.target, t.anchor), C();
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
le(l);
|
|
366
366
|
}
|
|
367
|
-
let
|
|
368
|
-
typeof HTMLElement == "function" && (
|
|
367
|
+
let tr;
|
|
368
|
+
typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
369
369
|
constructor(t, r, i) {
|
|
370
370
|
super();
|
|
371
371
|
/** The Svelte component constructor */
|
|
@@ -402,42 +402,42 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
connectedCallback() {
|
|
405
|
-
return
|
|
405
|
+
return Et(this, null, function* () {
|
|
406
406
|
if (this.$$cn = !0, !this.$$c) {
|
|
407
407
|
let t = function(o) {
|
|
408
408
|
return () => {
|
|
409
|
-
let
|
|
409
|
+
let s;
|
|
410
410
|
return {
|
|
411
411
|
c: function() {
|
|
412
|
-
|
|
412
|
+
s = P("slot"), o !== "default" && E(s, "name", o);
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
415
|
* @param {HTMLElement} target
|
|
416
416
|
* @param {HTMLElement} [anchor]
|
|
417
417
|
*/
|
|
418
418
|
m: function(u, h) {
|
|
419
|
-
X(u,
|
|
419
|
+
X(u, s, h);
|
|
420
420
|
},
|
|
421
421
|
d: function(u) {
|
|
422
|
-
u && V(
|
|
422
|
+
u && V(s);
|
|
423
423
|
}
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
};
|
|
427
427
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
428
428
|
return;
|
|
429
|
-
const r = {}, i =
|
|
429
|
+
const r = {}, i = ai(this);
|
|
430
430
|
for (const o of this.$$s)
|
|
431
431
|
o in i && (r[o] = [t(o)]);
|
|
432
432
|
for (const o of this.attributes) {
|
|
433
|
-
const
|
|
434
|
-
|
|
433
|
+
const s = this.$$g_p(o.name);
|
|
434
|
+
s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
|
|
435
435
|
}
|
|
436
436
|
for (const o in this.$$p_d)
|
|
437
437
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
438
438
|
this.$$c = new this.$$ctor({
|
|
439
439
|
target: this.shadowRoot || this,
|
|
440
|
-
props:
|
|
440
|
+
props: _t(be({}, this.$$d), {
|
|
441
441
|
$$slots: r,
|
|
442
442
|
$$scope: {
|
|
443
443
|
ctx: []
|
|
@@ -448,21 +448,21 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
448
448
|
this.$$r = !0;
|
|
449
449
|
for (const o in this.$$p_d)
|
|
450
450
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
451
|
-
const
|
|
451
|
+
const s = we(
|
|
452
452
|
o,
|
|
453
453
|
this.$$d[o],
|
|
454
454
|
this.$$p_d,
|
|
455
455
|
"toAttribute"
|
|
456
456
|
);
|
|
457
|
-
|
|
457
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
458
458
|
}
|
|
459
459
|
this.$$r = !1;
|
|
460
460
|
};
|
|
461
461
|
this.$$c.$$.after_update.push(n), n();
|
|
462
462
|
for (const o in this.$$l)
|
|
463
|
-
for (const
|
|
464
|
-
const
|
|
465
|
-
this.$$l_u.set(
|
|
463
|
+
for (const s of this.$$l[o]) {
|
|
464
|
+
const a = this.$$c.$on(o, s);
|
|
465
|
+
this.$$l_u.set(s, a);
|
|
466
466
|
}
|
|
467
467
|
this.$$l = {};
|
|
468
468
|
}
|
|
@@ -515,36 +515,36 @@ function we(e, t, r, i) {
|
|
|
515
515
|
return t;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
function
|
|
519
|
-
let
|
|
518
|
+
function gi(e, t, r, i, n, o) {
|
|
519
|
+
let s = class extends tr {
|
|
520
520
|
constructor() {
|
|
521
521
|
super(e, r, n), this.$$p_d = t;
|
|
522
522
|
}
|
|
523
523
|
static get observedAttributes() {
|
|
524
524
|
return Object.keys(t).map(
|
|
525
|
-
(
|
|
525
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
526
526
|
);
|
|
527
527
|
}
|
|
528
528
|
};
|
|
529
|
-
return Object.keys(t).forEach((
|
|
530
|
-
Object.defineProperty(
|
|
529
|
+
return Object.keys(t).forEach((a) => {
|
|
530
|
+
Object.defineProperty(s.prototype, a, {
|
|
531
531
|
get() {
|
|
532
|
-
return this.$$c &&
|
|
532
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
533
533
|
},
|
|
534
534
|
set(l) {
|
|
535
535
|
var u;
|
|
536
|
-
l = we(
|
|
536
|
+
l = we(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
537
537
|
}
|
|
538
538
|
});
|
|
539
|
-
}), i.forEach((
|
|
540
|
-
Object.defineProperty(
|
|
539
|
+
}), i.forEach((a) => {
|
|
540
|
+
Object.defineProperty(s.prototype, a, {
|
|
541
541
|
get() {
|
|
542
542
|
var l;
|
|
543
|
-
return (l = this.$$c) == null ? void 0 : l[
|
|
543
|
+
return (l = this.$$c) == null ? void 0 : l[a];
|
|
544
544
|
}
|
|
545
545
|
});
|
|
546
546
|
}), e.element = /** @type {any} */
|
|
547
|
-
|
|
547
|
+
s, s;
|
|
548
548
|
}
|
|
549
549
|
class bi {
|
|
550
550
|
constructor() {
|
|
@@ -567,7 +567,7 @@ class bi {
|
|
|
567
567
|
}
|
|
568
568
|
/** @returns {void} */
|
|
569
569
|
$destroy() {
|
|
570
|
-
|
|
570
|
+
pi(this, 1), this.$destroy = O;
|
|
571
571
|
}
|
|
572
572
|
/**
|
|
573
573
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -576,8 +576,8 @@ class bi {
|
|
|
576
576
|
* @returns {() => void}
|
|
577
577
|
*/
|
|
578
578
|
$on(t, r) {
|
|
579
|
-
if (!
|
|
580
|
-
return
|
|
579
|
+
if (!dt(r))
|
|
580
|
+
return O;
|
|
581
581
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
582
582
|
return i.push(r), () => {
|
|
583
583
|
const n = i.indexOf(r);
|
|
@@ -589,22 +589,22 @@ class bi {
|
|
|
589
589
|
* @returns {void}
|
|
590
590
|
*/
|
|
591
591
|
$set(t) {
|
|
592
|
-
this.$$set && !
|
|
592
|
+
this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
const
|
|
596
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
595
|
+
const vi = "4";
|
|
596
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vi);
|
|
597
597
|
const Y = [];
|
|
598
|
-
function
|
|
598
|
+
function _i(e, t) {
|
|
599
599
|
return {
|
|
600
|
-
subscribe:
|
|
600
|
+
subscribe: Oe(e, t).subscribe
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Oe(e, t = O) {
|
|
604
604
|
let r;
|
|
605
605
|
const i = /* @__PURE__ */ new Set();
|
|
606
|
-
function n(
|
|
607
|
-
if (
|
|
606
|
+
function n(a) {
|
|
607
|
+
if (Yt(e, a) && (e = a, r)) {
|
|
608
608
|
const l = !Y.length;
|
|
609
609
|
for (const u of i)
|
|
610
610
|
u[1](), Y.push(u, e);
|
|
@@ -615,34 +615,34 @@ function Be(e, t = C) {
|
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function o(
|
|
619
|
-
n(
|
|
618
|
+
function o(a) {
|
|
619
|
+
n(a(e));
|
|
620
620
|
}
|
|
621
|
-
function a
|
|
622
|
-
const u = [
|
|
623
|
-
return i.add(u), i.size === 1 && (r = t(n, o) ||
|
|
621
|
+
function s(a, l = O) {
|
|
622
|
+
const u = [a, l];
|
|
623
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || O), a(e), () => {
|
|
624
624
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
625
625
|
};
|
|
626
626
|
}
|
|
627
|
-
return { set: n, update: o, subscribe:
|
|
627
|
+
return { set: n, update: o, subscribe: s };
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function ne(e, t, r) {
|
|
630
630
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
631
631
|
if (!n.every(Boolean))
|
|
632
632
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
633
633
|
const o = t.length < 2;
|
|
634
|
-
return
|
|
634
|
+
return _i(r, (s, a) => {
|
|
635
635
|
let l = !1;
|
|
636
636
|
const u = [];
|
|
637
|
-
let h = 0, c =
|
|
637
|
+
let h = 0, c = O;
|
|
638
638
|
const f = () => {
|
|
639
639
|
if (h)
|
|
640
640
|
return;
|
|
641
641
|
c();
|
|
642
|
-
const y = t(i ? u[0] : u,
|
|
643
|
-
o ?
|
|
642
|
+
const y = t(i ? u[0] : u, s, a);
|
|
643
|
+
o ? s(y) : c = dt(y) ? y : O;
|
|
644
644
|
}, p = n.map(
|
|
645
|
-
(y, d) =>
|
|
645
|
+
(y, d) => Jt(
|
|
646
646
|
y,
|
|
647
647
|
(v) => {
|
|
648
648
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -653,53 +653,53 @@ function oe(e, t, r) {
|
|
|
653
653
|
)
|
|
654
654
|
);
|
|
655
655
|
return l = !0, f(), function() {
|
|
656
|
-
|
|
656
|
+
ie(p), c(), l = !1;
|
|
657
657
|
};
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Ei(e) {
|
|
661
661
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
662
662
|
}
|
|
663
663
|
var xi = function(t) {
|
|
664
|
-
return
|
|
664
|
+
return wi(t) && !Ti(t);
|
|
665
665
|
};
|
|
666
|
-
function
|
|
666
|
+
function wi(e) {
|
|
667
667
|
return !!e && typeof e == "object";
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Ti(e) {
|
|
670
670
|
var t = Object.prototype.toString.call(e);
|
|
671
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
671
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ai(e);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
674
|
-
function
|
|
673
|
+
var Si = typeof Symbol == "function" && Symbol.for, Li = Si ? Symbol.for("react.element") : 60103;
|
|
674
|
+
function Ai(e) {
|
|
675
675
|
return e.$$typeof === Li;
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function Pi(e) {
|
|
678
678
|
return Array.isArray(e) ? [] : {};
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
680
|
+
function ce(e, t) {
|
|
681
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Pi(e), e, t) : e;
|
|
682
682
|
}
|
|
683
683
|
function Hi(e, t, r) {
|
|
684
684
|
return e.concat(t).map(function(i) {
|
|
685
|
-
return
|
|
685
|
+
return ce(i, r);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function Bi(e, t) {
|
|
689
689
|
if (!t.customMerge)
|
|
690
|
-
return
|
|
690
|
+
return K;
|
|
691
691
|
var r = t.customMerge(e);
|
|
692
|
-
return typeof r == "function" ? r :
|
|
692
|
+
return typeof r == "function" ? r : K;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Oi(e) {
|
|
695
695
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
696
696
|
return Object.propertyIsEnumerable.call(e, t);
|
|
697
697
|
}) : [];
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
return Object.keys(e).concat(
|
|
699
|
+
function Lt(e) {
|
|
700
|
+
return Object.keys(e).concat(Oi(e));
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function rr(e, t) {
|
|
703
703
|
try {
|
|
704
704
|
return t in e;
|
|
705
705
|
} catch (r) {
|
|
@@ -707,72 +707,58 @@ function er(e, t) {
|
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
709
|
function Ci(e, t) {
|
|
710
|
-
return
|
|
710
|
+
return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Ii(e, t, r) {
|
|
713
713
|
var i = {};
|
|
714
|
-
return r.isMergeableObject(e) &&
|
|
715
|
-
i[n] =
|
|
716
|
-
}),
|
|
717
|
-
Ci(e, n) || (
|
|
714
|
+
return r.isMergeableObject(e) && Lt(e).forEach(function(n) {
|
|
715
|
+
i[n] = ce(e[n], r);
|
|
716
|
+
}), Lt(t).forEach(function(n) {
|
|
717
|
+
Ci(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Bi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
|
|
718
718
|
}), i;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Hi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified =
|
|
720
|
+
function K(e, t, r) {
|
|
721
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = ce;
|
|
722
722
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
723
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
723
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ii(e, t, r) : ce(t, r);
|
|
724
724
|
}
|
|
725
|
-
|
|
725
|
+
K.all = function(t, r) {
|
|
726
726
|
if (!Array.isArray(t))
|
|
727
727
|
throw new Error("first argument should be an array");
|
|
728
728
|
return t.reduce(function(i, n) {
|
|
729
|
-
return
|
|
729
|
+
return K(i, n, r);
|
|
730
730
|
}, {});
|
|
731
731
|
};
|
|
732
|
-
var
|
|
733
|
-
const
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
738
|
-
purpose with or without fee is hereby granted.
|
|
739
|
-
|
|
740
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
741
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
742
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
743
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
744
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
745
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
746
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
747
|
-
***************************************************************************** */
|
|
748
|
-
var qe = function(e, t) {
|
|
749
|
-
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
732
|
+
var Ni = K, Mi = Ni;
|
|
733
|
+
const Ri = /* @__PURE__ */ Ei(Mi);
|
|
734
|
+
var et = function(e, t) {
|
|
735
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
750
736
|
r.__proto__ = i;
|
|
751
737
|
} || function(r, i) {
|
|
752
738
|
for (var n in i)
|
|
753
739
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
754
|
-
},
|
|
740
|
+
}, et(e, t);
|
|
755
741
|
};
|
|
756
|
-
function
|
|
742
|
+
function Ce(e, t) {
|
|
757
743
|
if (typeof t != "function" && t !== null)
|
|
758
744
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
759
|
-
|
|
745
|
+
et(e, t);
|
|
760
746
|
function r() {
|
|
761
747
|
this.constructor = e;
|
|
762
748
|
}
|
|
763
749
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
764
750
|
}
|
|
765
|
-
var
|
|
766
|
-
return
|
|
751
|
+
var R = function() {
|
|
752
|
+
return R = Object.assign || function(t) {
|
|
767
753
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
768
754
|
r = arguments[i];
|
|
769
755
|
for (var o in r)
|
|
770
756
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
771
757
|
}
|
|
772
758
|
return t;
|
|
773
|
-
},
|
|
759
|
+
}, R.apply(this, arguments);
|
|
774
760
|
};
|
|
775
|
-
function
|
|
761
|
+
function Di(e, t) {
|
|
776
762
|
var r = {};
|
|
777
763
|
for (var i in e)
|
|
778
764
|
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -781,143 +767,119 @@ function Ri(e, t) {
|
|
|
781
767
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
782
768
|
return r;
|
|
783
769
|
}
|
|
784
|
-
function
|
|
785
|
-
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
786
|
-
if (r)
|
|
787
|
-
return r.call(e);
|
|
788
|
-
if (e && typeof e.length == "number")
|
|
789
|
-
return {
|
|
790
|
-
next: function() {
|
|
791
|
-
return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
|
|
792
|
-
}
|
|
793
|
-
};
|
|
794
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
795
|
-
}
|
|
796
|
-
function et(e, t) {
|
|
797
|
-
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
798
|
-
if (!r)
|
|
799
|
-
return e;
|
|
800
|
-
var i = r.call(e), n, o = [], a;
|
|
801
|
-
try {
|
|
802
|
-
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
803
|
-
o.push(n.value);
|
|
804
|
-
} catch (s) {
|
|
805
|
-
a = { error: s };
|
|
806
|
-
} finally {
|
|
807
|
-
try {
|
|
808
|
-
n && !n.done && (r = i.return) && r.call(i);
|
|
809
|
-
} finally {
|
|
810
|
-
if (a)
|
|
811
|
-
throw a.error;
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
return o;
|
|
815
|
-
}
|
|
816
|
-
function K(e, t, r) {
|
|
770
|
+
function ke(e, t, r) {
|
|
817
771
|
if (r || arguments.length === 2)
|
|
818
772
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
819
773
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
820
|
-
return e.concat(o || t);
|
|
774
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
821
775
|
}
|
|
822
|
-
function
|
|
823
|
-
var r = t && t.cache ? t.cache :
|
|
776
|
+
function Ve(e, t) {
|
|
777
|
+
var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : ji, n = t && t.strategy ? t.strategy : Gi;
|
|
824
778
|
return n(e, {
|
|
825
779
|
cache: r,
|
|
826
780
|
serializer: i
|
|
827
781
|
});
|
|
828
782
|
}
|
|
829
|
-
function
|
|
783
|
+
function $i(e) {
|
|
830
784
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
831
785
|
}
|
|
832
|
-
function
|
|
833
|
-
var n =
|
|
786
|
+
function Ui(e, t, r, i) {
|
|
787
|
+
var n = $i(i) ? i : r(i), o = t.get(n);
|
|
834
788
|
return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
|
|
835
789
|
}
|
|
836
|
-
function
|
|
790
|
+
function ir(e, t, r) {
|
|
837
791
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
838
792
|
return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
839
793
|
}
|
|
840
|
-
function
|
|
794
|
+
function nr(e, t, r, i, n) {
|
|
841
795
|
return r.bind(t, e, i, n);
|
|
842
796
|
}
|
|
843
|
-
function Ui(e, t) {
|
|
844
|
-
var r = e.length === 1 ? tr : rr;
|
|
845
|
-
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
846
|
-
}
|
|
847
|
-
function $i(e, t) {
|
|
848
|
-
return ft(e, this, rr, t.cache.create(), t.serializer);
|
|
849
|
-
}
|
|
850
797
|
function Gi(e, t) {
|
|
851
|
-
|
|
798
|
+
var r = e.length === 1 ? Ui : ir;
|
|
799
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
|
852
800
|
}
|
|
853
|
-
|
|
854
|
-
return
|
|
855
|
-
};
|
|
856
|
-
function mt() {
|
|
857
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
801
|
+
function Fi(e, t) {
|
|
802
|
+
return nr(e, this, ir, t.cache.create(), t.serializer);
|
|
858
803
|
}
|
|
859
|
-
|
|
860
|
-
return
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
804
|
+
var ji = function() {
|
|
805
|
+
return JSON.stringify(arguments);
|
|
806
|
+
}, ki = (
|
|
807
|
+
/** @class */
|
|
808
|
+
function() {
|
|
809
|
+
function e() {
|
|
810
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
811
|
+
}
|
|
812
|
+
return e.prototype.get = function(t) {
|
|
813
|
+
return this.cache[t];
|
|
814
|
+
}, e.prototype.set = function(t, r) {
|
|
815
|
+
this.cache[t] = r;
|
|
816
|
+
}, e;
|
|
817
|
+
}()
|
|
818
|
+
), Vi = {
|
|
866
819
|
create: function() {
|
|
867
|
-
return new
|
|
820
|
+
return new ki();
|
|
868
821
|
}
|
|
869
|
-
},
|
|
870
|
-
variadic:
|
|
871
|
-
|
|
872
|
-
|
|
822
|
+
}, We = {
|
|
823
|
+
variadic: Fi
|
|
824
|
+
}, Pe = function() {
|
|
825
|
+
return Pe = Object.assign || function(t) {
|
|
826
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
827
|
+
r = arguments[i];
|
|
828
|
+
for (var o in r)
|
|
829
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
830
|
+
}
|
|
831
|
+
return t;
|
|
832
|
+
}, Pe.apply(this, arguments);
|
|
833
|
+
};
|
|
834
|
+
var b;
|
|
873
835
|
(function(e) {
|
|
874
836
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
875
|
-
})(
|
|
876
|
-
var
|
|
837
|
+
})(b || (b = {}));
|
|
838
|
+
var T;
|
|
877
839
|
(function(e) {
|
|
878
840
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
879
|
-
})(
|
|
880
|
-
var
|
|
841
|
+
})(T || (T = {}));
|
|
842
|
+
var ee;
|
|
881
843
|
(function(e) {
|
|
882
844
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
883
|
-
})(
|
|
884
|
-
function
|
|
885
|
-
return e.type ===
|
|
886
|
-
}
|
|
887
|
-
function ki(e) {
|
|
888
|
-
return e.type === L.argument;
|
|
889
|
-
}
|
|
890
|
-
function ir(e) {
|
|
891
|
-
return e.type === L.number;
|
|
845
|
+
})(ee || (ee = {}));
|
|
846
|
+
function At(e) {
|
|
847
|
+
return e.type === T.literal;
|
|
892
848
|
}
|
|
893
|
-
function
|
|
894
|
-
return e.type ===
|
|
849
|
+
function Wi(e) {
|
|
850
|
+
return e.type === T.argument;
|
|
895
851
|
}
|
|
896
852
|
function or(e) {
|
|
897
|
-
return e.type ===
|
|
853
|
+
return e.type === T.number;
|
|
898
854
|
}
|
|
899
855
|
function sr(e) {
|
|
900
|
-
return e.type ===
|
|
856
|
+
return e.type === T.date;
|
|
901
857
|
}
|
|
902
858
|
function ar(e) {
|
|
903
|
-
return e.type ===
|
|
904
|
-
}
|
|
905
|
-
function Vi(e) {
|
|
906
|
-
return e.type === L.pound;
|
|
859
|
+
return e.type === T.time;
|
|
907
860
|
}
|
|
908
861
|
function ur(e) {
|
|
909
|
-
return e.type ===
|
|
862
|
+
return e.type === T.select;
|
|
910
863
|
}
|
|
911
864
|
function lr(e) {
|
|
912
|
-
return
|
|
865
|
+
return e.type === T.plural;
|
|
866
|
+
}
|
|
867
|
+
function zi(e) {
|
|
868
|
+
return e.type === T.pound;
|
|
869
|
+
}
|
|
870
|
+
function hr(e) {
|
|
871
|
+
return e.type === T.tag;
|
|
872
|
+
}
|
|
873
|
+
function cr(e) {
|
|
874
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
913
875
|
}
|
|
914
876
|
function tt(e) {
|
|
915
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
877
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
916
878
|
}
|
|
917
|
-
var
|
|
918
|
-
function
|
|
879
|
+
var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xi = /(?:[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;
|
|
880
|
+
function Zi(e) {
|
|
919
881
|
var t = {};
|
|
920
|
-
return e.replace(
|
|
882
|
+
return e.replace(Xi, function(r) {
|
|
921
883
|
var i = r.length;
|
|
922
884
|
switch (r[0]) {
|
|
923
885
|
case "G":
|
|
@@ -1006,36 +968,46 @@ function zi(e) {
|
|
|
1006
968
|
return "";
|
|
1007
969
|
}), t;
|
|
1008
970
|
}
|
|
1009
|
-
var
|
|
1010
|
-
function
|
|
971
|
+
var L = function() {
|
|
972
|
+
return L = Object.assign || function(t) {
|
|
973
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
974
|
+
r = arguments[i];
|
|
975
|
+
for (var o in r)
|
|
976
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
977
|
+
}
|
|
978
|
+
return t;
|
|
979
|
+
}, L.apply(this, arguments);
|
|
980
|
+
};
|
|
981
|
+
var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
982
|
+
function Yi(e) {
|
|
1011
983
|
if (e.length === 0)
|
|
1012
984
|
throw new Error("Number skeleton cannot be empty");
|
|
1013
|
-
for (var t = e.split(
|
|
985
|
+
for (var t = e.split(Qi).filter(function(f) {
|
|
1014
986
|
return f.length > 0;
|
|
1015
987
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1016
|
-
var o = n[i],
|
|
1017
|
-
if (
|
|
988
|
+
var o = n[i], s = o.split("/");
|
|
989
|
+
if (s.length === 0)
|
|
1018
990
|
throw new Error("Invalid number skeleton");
|
|
1019
|
-
for (var
|
|
991
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1020
992
|
var c = h[u];
|
|
1021
993
|
if (c.length === 0)
|
|
1022
994
|
throw new Error("Invalid number skeleton");
|
|
1023
995
|
}
|
|
1024
|
-
r.push({ stem:
|
|
996
|
+
r.push({ stem: a, options: l });
|
|
1025
997
|
}
|
|
1026
998
|
return r;
|
|
1027
999
|
}
|
|
1028
|
-
function
|
|
1000
|
+
function Ji(e) {
|
|
1029
1001
|
return e.replace(/^(.*?)-/, "");
|
|
1030
1002
|
}
|
|
1031
|
-
var
|
|
1032
|
-
function
|
|
1003
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
|
|
1004
|
+
function Ht(e) {
|
|
1033
1005
|
var t = {};
|
|
1034
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1006
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, i, n) {
|
|
1035
1007
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1036
1008
|
}), t;
|
|
1037
1009
|
}
|
|
1038
|
-
function
|
|
1010
|
+
function dr(e) {
|
|
1039
1011
|
switch (e) {
|
|
1040
1012
|
case "sign-auto":
|
|
1041
1013
|
return {
|
|
@@ -1075,7 +1047,7 @@ function mr(e) {
|
|
|
1075
1047
|
};
|
|
1076
1048
|
}
|
|
1077
1049
|
}
|
|
1078
|
-
function
|
|
1050
|
+
function Ki(e) {
|
|
1079
1051
|
var t;
|
|
1080
1052
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1081
1053
|
notation: "engineering"
|
|
@@ -1083,17 +1055,17 @@ function Ji(e) {
|
|
|
1083
1055
|
notation: "scientific"
|
|
1084
1056
|
}, e = e.slice(1)), t) {
|
|
1085
1057
|
var r = e.slice(0, 2);
|
|
1086
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1058
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
|
|
1087
1059
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1088
1060
|
t.minimumIntegerDigits = e.length;
|
|
1089
1061
|
}
|
|
1090
1062
|
return t;
|
|
1091
1063
|
}
|
|
1092
|
-
function
|
|
1093
|
-
var t = {}, r =
|
|
1064
|
+
function Bt(e) {
|
|
1065
|
+
var t = {}, r = dr(e);
|
|
1094
1066
|
return r || t;
|
|
1095
1067
|
}
|
|
1096
|
-
function
|
|
1068
|
+
function en(e) {
|
|
1097
1069
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1098
1070
|
var n = i[r];
|
|
1099
1071
|
switch (n.stem) {
|
|
@@ -1117,7 +1089,7 @@ function qi(e) {
|
|
|
1117
1089
|
continue;
|
|
1118
1090
|
case "measure-unit":
|
|
1119
1091
|
case "unit":
|
|
1120
|
-
t.style = "unit", t.unit =
|
|
1092
|
+
t.style = "unit", t.unit = Ji(n.options[0]);
|
|
1121
1093
|
continue;
|
|
1122
1094
|
case "compact-short":
|
|
1123
1095
|
case "K":
|
|
@@ -1128,13 +1100,13 @@ function qi(e) {
|
|
|
1128
1100
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1129
1101
|
continue;
|
|
1130
1102
|
case "scientific":
|
|
1131
|
-
t =
|
|
1132
|
-
return
|
|
1103
|
+
t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
|
|
1104
|
+
return L(L({}, l), Bt(u));
|
|
1133
1105
|
}, {}));
|
|
1134
1106
|
continue;
|
|
1135
1107
|
case "engineering":
|
|
1136
|
-
t =
|
|
1137
|
-
return
|
|
1108
|
+
t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
|
|
1109
|
+
return L(L({}, l), Bt(u));
|
|
1138
1110
|
}, {}));
|
|
1139
1111
|
continue;
|
|
1140
1112
|
case "notation-simple":
|
|
@@ -1179,7 +1151,7 @@ function qi(e) {
|
|
|
1179
1151
|
case "integer-width":
|
|
1180
1152
|
if (n.options.length > 1)
|
|
1181
1153
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1182
|
-
n.options[0].replace(
|
|
1154
|
+
n.options[0].replace(qi, function(l, u, h, c, f, p) {
|
|
1183
1155
|
if (u)
|
|
1184
1156
|
t.minimumIntegerDigits = h.length;
|
|
1185
1157
|
else {
|
|
@@ -1192,28 +1164,28 @@ function qi(e) {
|
|
|
1192
1164
|
});
|
|
1193
1165
|
continue;
|
|
1194
1166
|
}
|
|
1195
|
-
if (
|
|
1167
|
+
if (pr.test(n.stem)) {
|
|
1196
1168
|
t.minimumIntegerDigits = n.stem.length;
|
|
1197
1169
|
continue;
|
|
1198
1170
|
}
|
|
1199
|
-
if (
|
|
1171
|
+
if (Pt.test(n.stem)) {
|
|
1200
1172
|
if (n.options.length > 1)
|
|
1201
1173
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1202
|
-
n.stem.replace(
|
|
1174
|
+
n.stem.replace(Pt, function(l, u, h, c, f, p) {
|
|
1203
1175
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1204
1176
|
});
|
|
1205
1177
|
var o = n.options[0];
|
|
1206
|
-
o === "w" ? t =
|
|
1178
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Ht(o)));
|
|
1207
1179
|
continue;
|
|
1208
1180
|
}
|
|
1209
|
-
if (
|
|
1210
|
-
t =
|
|
1181
|
+
if (mr.test(n.stem)) {
|
|
1182
|
+
t = L(L({}, t), Ht(n.stem));
|
|
1211
1183
|
continue;
|
|
1212
1184
|
}
|
|
1213
|
-
var
|
|
1214
|
-
|
|
1215
|
-
var
|
|
1216
|
-
|
|
1185
|
+
var s = dr(n.stem);
|
|
1186
|
+
s && (t = L(L({}, t), s));
|
|
1187
|
+
var a = Ki(n.stem);
|
|
1188
|
+
a && (t = L(L({}, t), a));
|
|
1217
1189
|
}
|
|
1218
1190
|
return t;
|
|
1219
1191
|
}
|
|
@@ -2632,23 +2604,23 @@ var _e = {
|
|
|
2632
2604
|
"h"
|
|
2633
2605
|
]
|
|
2634
2606
|
};
|
|
2635
|
-
function
|
|
2607
|
+
function tn(e, t) {
|
|
2636
2608
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2637
2609
|
var n = e.charAt(i);
|
|
2638
2610
|
if (n === "j") {
|
|
2639
2611
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2640
2612
|
o++, i++;
|
|
2641
|
-
var
|
|
2642
|
-
for ((u == "H" || u == "k") && (
|
|
2613
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = rn(t);
|
|
2614
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2643
2615
|
r += l;
|
|
2644
|
-
for (;
|
|
2616
|
+
for (; s-- > 0; )
|
|
2645
2617
|
r = u + r;
|
|
2646
2618
|
} else
|
|
2647
2619
|
n === "J" ? r += "H" : r += n;
|
|
2648
2620
|
}
|
|
2649
2621
|
return r;
|
|
2650
2622
|
}
|
|
2651
|
-
function
|
|
2623
|
+
function rn(e) {
|
|
2652
2624
|
var t = e.hourCycle;
|
|
2653
2625
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2654
2626
|
e.hourCycles && // @ts-ignore
|
|
@@ -2670,20 +2642,20 @@ function en(e) {
|
|
|
2670
2642
|
var n = _e[i || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
|
|
2671
2643
|
return n[0];
|
|
2672
2644
|
}
|
|
2673
|
-
var
|
|
2645
|
+
var ze, nn = new RegExp("^".concat(fr.source, "*")), on = new RegExp("".concat(fr.source, "*$"));
|
|
2674
2646
|
function _(e, t) {
|
|
2675
2647
|
return { start: e, end: t };
|
|
2676
2648
|
}
|
|
2677
|
-
var
|
|
2649
|
+
var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, ln = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, mn = fn ? Number.isSafeInteger : function(e) {
|
|
2678
2650
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2679
2651
|
}, rt = !0;
|
|
2680
2652
|
try {
|
|
2681
|
-
var
|
|
2682
|
-
rt = ((
|
|
2653
|
+
var pn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2654
|
+
rt = ((ze = pn.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
2683
2655
|
} catch (e) {
|
|
2684
2656
|
rt = !1;
|
|
2685
2657
|
}
|
|
2686
|
-
var
|
|
2658
|
+
var Ot = sn ? (
|
|
2687
2659
|
// Native
|
|
2688
2660
|
function(t, r, i) {
|
|
2689
2661
|
return t.startsWith(r, i);
|
|
@@ -2693,31 +2665,31 @@ var Pt = nn ? (
|
|
|
2693
2665
|
function(t, r, i) {
|
|
2694
2666
|
return t.slice(i, i + r.length) === r;
|
|
2695
2667
|
}
|
|
2696
|
-
), it =
|
|
2668
|
+
), it = an ? String.fromCodePoint : (
|
|
2697
2669
|
// IE11
|
|
2698
2670
|
function() {
|
|
2699
2671
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2700
2672
|
t[r] = arguments[r];
|
|
2701
|
-
for (var i = "", n = t.length, o = 0,
|
|
2702
|
-
if (
|
|
2703
|
-
throw RangeError(
|
|
2704
|
-
i +=
|
|
2673
|
+
for (var i = "", n = t.length, o = 0, s; n > o; ) {
|
|
2674
|
+
if (s = t[o++], s > 1114111)
|
|
2675
|
+
throw RangeError(s + " is not a valid code point");
|
|
2676
|
+
i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2705
2677
|
}
|
|
2706
2678
|
return i;
|
|
2707
2679
|
}
|
|
2708
|
-
),
|
|
2680
|
+
), Ct = (
|
|
2709
2681
|
// native
|
|
2710
|
-
|
|
2682
|
+
un ? Object.fromEntries : (
|
|
2711
2683
|
// Ponyfill
|
|
2712
2684
|
function(t) {
|
|
2713
2685
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
2714
|
-
var o = n[i],
|
|
2715
|
-
r[
|
|
2686
|
+
var o = n[i], s = o[0], a = o[1];
|
|
2687
|
+
r[s] = a;
|
|
2716
2688
|
}
|
|
2717
2689
|
return r;
|
|
2718
2690
|
}
|
|
2719
2691
|
)
|
|
2720
|
-
),
|
|
2692
|
+
), yr = ln ? (
|
|
2721
2693
|
// Native
|
|
2722
2694
|
function(t, r) {
|
|
2723
2695
|
return t.codePointAt(r);
|
|
@@ -2731,7 +2703,7 @@ var Pt = nn ? (
|
|
|
2731
2703
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
2732
2704
|
}
|
|
2733
2705
|
}
|
|
2734
|
-
),
|
|
2706
|
+
), dn = hn ? (
|
|
2735
2707
|
// Native
|
|
2736
2708
|
function(t) {
|
|
2737
2709
|
return t.trimStart();
|
|
@@ -2739,9 +2711,9 @@ var Pt = nn ? (
|
|
|
2739
2711
|
) : (
|
|
2740
2712
|
// Ponyfill
|
|
2741
2713
|
function(t) {
|
|
2742
|
-
return t.replace(
|
|
2714
|
+
return t.replace(nn, "");
|
|
2743
2715
|
}
|
|
2744
|
-
),
|
|
2716
|
+
), yn = cn ? (
|
|
2745
2717
|
// Native
|
|
2746
2718
|
function(t) {
|
|
2747
2719
|
return t.trimEnd();
|
|
@@ -2749,32 +2721,32 @@ var Pt = nn ? (
|
|
|
2749
2721
|
) : (
|
|
2750
2722
|
// Ponyfill
|
|
2751
2723
|
function(t) {
|
|
2752
|
-
return t.replace(
|
|
2724
|
+
return t.replace(on, "");
|
|
2753
2725
|
}
|
|
2754
2726
|
);
|
|
2755
|
-
function
|
|
2727
|
+
function gr(e, t) {
|
|
2756
2728
|
return new RegExp(e, t);
|
|
2757
2729
|
}
|
|
2758
2730
|
var nt;
|
|
2759
2731
|
if (rt) {
|
|
2760
|
-
var
|
|
2732
|
+
var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2761
2733
|
nt = function(t, r) {
|
|
2762
2734
|
var i;
|
|
2763
|
-
|
|
2764
|
-
var n =
|
|
2735
|
+
It.lastIndex = r;
|
|
2736
|
+
var n = It.exec(t);
|
|
2765
2737
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2766
2738
|
};
|
|
2767
2739
|
} else
|
|
2768
2740
|
nt = function(t, r) {
|
|
2769
2741
|
for (var i = []; ; ) {
|
|
2770
|
-
var n =
|
|
2771
|
-
if (n === void 0 ||
|
|
2742
|
+
var n = yr(t, r);
|
|
2743
|
+
if (n === void 0 || br(n) || _n(n))
|
|
2772
2744
|
break;
|
|
2773
2745
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2774
2746
|
}
|
|
2775
2747
|
return it.apply(void 0, i);
|
|
2776
2748
|
};
|
|
2777
|
-
var
|
|
2749
|
+
var gn = (
|
|
2778
2750
|
/** @class */
|
|
2779
2751
|
function() {
|
|
2780
2752
|
function e(t, r) {
|
|
@@ -2788,33 +2760,33 @@ var dn = (
|
|
|
2788
2760
|
for (var n = []; !this.isEOF(); ) {
|
|
2789
2761
|
var o = this.char();
|
|
2790
2762
|
if (o === 123) {
|
|
2791
|
-
var
|
|
2792
|
-
if (
|
|
2793
|
-
return
|
|
2794
|
-
n.push(
|
|
2763
|
+
var s = this.parseArgument(t, i);
|
|
2764
|
+
if (s.err)
|
|
2765
|
+
return s;
|
|
2766
|
+
n.push(s.val);
|
|
2795
2767
|
} else {
|
|
2796
2768
|
if (o === 125 && t > 0)
|
|
2797
2769
|
break;
|
|
2798
2770
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2799
|
-
var
|
|
2771
|
+
var a = this.clonePosition();
|
|
2800
2772
|
this.bump(), n.push({
|
|
2801
|
-
type:
|
|
2802
|
-
location: _(
|
|
2773
|
+
type: T.pound,
|
|
2774
|
+
location: _(a, this.clonePosition())
|
|
2803
2775
|
});
|
|
2804
2776
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2805
2777
|
if (i)
|
|
2806
2778
|
break;
|
|
2807
|
-
return this.error(
|
|
2779
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2808
2780
|
} else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
2809
|
-
var
|
|
2810
|
-
if (
|
|
2811
|
-
return
|
|
2812
|
-
n.push(
|
|
2781
|
+
var s = this.parseTag(t, r);
|
|
2782
|
+
if (s.err)
|
|
2783
|
+
return s;
|
|
2784
|
+
n.push(s.val);
|
|
2813
2785
|
} else {
|
|
2814
|
-
var
|
|
2815
|
-
if (
|
|
2816
|
-
return
|
|
2817
|
-
n.push(
|
|
2786
|
+
var s = this.parseLiteral(t, r);
|
|
2787
|
+
if (s.err)
|
|
2788
|
+
return s;
|
|
2789
|
+
n.push(s.val);
|
|
2818
2790
|
}
|
|
2819
2791
|
}
|
|
2820
2792
|
}
|
|
@@ -2826,7 +2798,7 @@ var dn = (
|
|
|
2826
2798
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2827
2799
|
return {
|
|
2828
2800
|
val: {
|
|
2829
|
-
type:
|
|
2801
|
+
type: T.literal,
|
|
2830
2802
|
value: "<".concat(n, "/>"),
|
|
2831
2803
|
location: _(i, this.clonePosition())
|
|
2832
2804
|
},
|
|
@@ -2836,27 +2808,27 @@ var dn = (
|
|
|
2836
2808
|
var o = this.parseMessage(t + 1, r, !0);
|
|
2837
2809
|
if (o.err)
|
|
2838
2810
|
return o;
|
|
2839
|
-
var
|
|
2811
|
+
var s = o.val, a = this.clonePosition();
|
|
2840
2812
|
if (this.bumpIf("</")) {
|
|
2841
2813
|
if (this.isEOF() || !ot(this.char()))
|
|
2842
|
-
return this.error(
|
|
2814
|
+
return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
|
|
2843
2815
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2844
|
-
return n !== u ? this.error(
|
|
2816
|
+
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2845
2817
|
val: {
|
|
2846
|
-
type:
|
|
2818
|
+
type: T.tag,
|
|
2847
2819
|
value: n,
|
|
2848
|
-
children:
|
|
2820
|
+
children: s,
|
|
2849
2821
|
location: _(i, this.clonePosition())
|
|
2850
2822
|
},
|
|
2851
2823
|
err: null
|
|
2852
|
-
} : this.error(
|
|
2824
|
+
} : this.error(b.INVALID_TAG, _(a, this.clonePosition())));
|
|
2853
2825
|
} else
|
|
2854
|
-
return this.error(
|
|
2826
|
+
return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
|
|
2855
2827
|
} else
|
|
2856
|
-
return this.error(
|
|
2828
|
+
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
2857
2829
|
}, e.prototype.parseTagName = function() {
|
|
2858
2830
|
var t = this.offset();
|
|
2859
|
-
for (this.bump(); !this.isEOF() &&
|
|
2831
|
+
for (this.bump(); !this.isEOF() && vn(this.char()); )
|
|
2860
2832
|
this.bump();
|
|
2861
2833
|
return this.message.slice(t, this.offset());
|
|
2862
2834
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2866,26 +2838,26 @@ var dn = (
|
|
|
2866
2838
|
n += o;
|
|
2867
2839
|
continue;
|
|
2868
2840
|
}
|
|
2869
|
-
var
|
|
2870
|
-
if (a) {
|
|
2871
|
-
n += a;
|
|
2872
|
-
continue;
|
|
2873
|
-
}
|
|
2874
|
-
var s = this.tryParseLeftAngleBracket();
|
|
2841
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2875
2842
|
if (s) {
|
|
2876
2843
|
n += s;
|
|
2877
2844
|
continue;
|
|
2878
2845
|
}
|
|
2846
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2847
|
+
if (a) {
|
|
2848
|
+
n += a;
|
|
2849
|
+
continue;
|
|
2850
|
+
}
|
|
2879
2851
|
break;
|
|
2880
2852
|
}
|
|
2881
2853
|
var l = _(i, this.clonePosition());
|
|
2882
2854
|
return {
|
|
2883
|
-
val: { type:
|
|
2855
|
+
val: { type: T.literal, value: n, location: l },
|
|
2884
2856
|
err: null
|
|
2885
2857
|
};
|
|
2886
2858
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2887
2859
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2888
|
-
!
|
|
2860
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2889
2861
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2890
2862
|
if (this.isEOF() || this.char() !== 39)
|
|
2891
2863
|
return null;
|
|
@@ -2928,19 +2900,19 @@ var dn = (
|
|
|
2928
2900
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2929
2901
|
var i = this.clonePosition();
|
|
2930
2902
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2931
|
-
return this.error(
|
|
2903
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
2932
2904
|
if (this.char() === 125)
|
|
2933
|
-
return this.bump(), this.error(
|
|
2905
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
|
|
2934
2906
|
var n = this.parseIdentifierIfPossible().value;
|
|
2935
2907
|
if (!n)
|
|
2936
|
-
return this.error(
|
|
2908
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
2937
2909
|
if (this.bumpSpace(), this.isEOF())
|
|
2938
|
-
return this.error(
|
|
2910
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
2939
2911
|
switch (this.char()) {
|
|
2940
2912
|
case 125:
|
|
2941
2913
|
return this.bump(), {
|
|
2942
2914
|
val: {
|
|
2943
|
-
type:
|
|
2915
|
+
type: T.argument,
|
|
2944
2916
|
// value does not include the opening and closing braces.
|
|
2945
2917
|
value: n,
|
|
2946
2918
|
location: _(i, this.clonePosition())
|
|
@@ -2948,20 +2920,20 @@ var dn = (
|
|
|
2948
2920
|
err: null
|
|
2949
2921
|
};
|
|
2950
2922
|
case 44:
|
|
2951
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2923
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2952
2924
|
default:
|
|
2953
|
-
return this.error(
|
|
2925
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
2954
2926
|
}
|
|
2955
2927
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2956
2928
|
var t = this.clonePosition(), r = this.offset(), i = nt(this.message, r), n = r + i.length;
|
|
2957
2929
|
this.bumpTo(n);
|
|
2958
|
-
var o = this.clonePosition(),
|
|
2959
|
-
return { value: i, location:
|
|
2930
|
+
var o = this.clonePosition(), s = _(t, o);
|
|
2931
|
+
return { value: i, location: s };
|
|
2960
2932
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2961
|
-
var o,
|
|
2962
|
-
switch (
|
|
2933
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2934
|
+
switch (a) {
|
|
2963
2935
|
case "":
|
|
2964
|
-
return this.error(
|
|
2936
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
|
|
2965
2937
|
case "number":
|
|
2966
2938
|
case "date":
|
|
2967
2939
|
case "time": {
|
|
@@ -2972,9 +2944,9 @@ var dn = (
|
|
|
2972
2944
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2973
2945
|
if (c.err)
|
|
2974
2946
|
return c;
|
|
2975
|
-
var f =
|
|
2947
|
+
var f = yn(c.val);
|
|
2976
2948
|
if (f.length === 0)
|
|
2977
|
-
return this.error(
|
|
2949
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2978
2950
|
var p = _(h, this.clonePosition());
|
|
2979
2951
|
u = { style: f, styleLocation: p };
|
|
2980
2952
|
}
|
|
@@ -2982,34 +2954,34 @@ var dn = (
|
|
|
2982
2954
|
if (y.err)
|
|
2983
2955
|
return y;
|
|
2984
2956
|
var d = _(n, this.clonePosition());
|
|
2985
|
-
if (u &&
|
|
2986
|
-
var v =
|
|
2987
|
-
if (
|
|
2957
|
+
if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
|
|
2958
|
+
var v = dn(u.style.slice(2));
|
|
2959
|
+
if (a === "number") {
|
|
2988
2960
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2989
2961
|
return c.err ? c : {
|
|
2990
|
-
val: { type:
|
|
2962
|
+
val: { type: T.number, value: i, location: d, style: c.val },
|
|
2991
2963
|
err: null
|
|
2992
2964
|
};
|
|
2993
2965
|
} else {
|
|
2994
2966
|
if (v.length === 0)
|
|
2995
|
-
return this.error(
|
|
2996
|
-
var
|
|
2997
|
-
this.locale && (
|
|
2967
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
2968
|
+
var H = v;
|
|
2969
|
+
this.locale && (H = tn(v, this.locale));
|
|
2998
2970
|
var f = {
|
|
2999
|
-
type:
|
|
3000
|
-
pattern:
|
|
2971
|
+
type: ee.dateTime,
|
|
2972
|
+
pattern: H,
|
|
3001
2973
|
location: u.styleLocation,
|
|
3002
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3003
|
-
},
|
|
2974
|
+
parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
|
|
2975
|
+
}, g = a === "date" ? T.date : T.time;
|
|
3004
2976
|
return {
|
|
3005
|
-
val: { type:
|
|
2977
|
+
val: { type: g, value: i, location: d, style: f },
|
|
3006
2978
|
err: null
|
|
3007
2979
|
};
|
|
3008
2980
|
}
|
|
3009
2981
|
}
|
|
3010
2982
|
return {
|
|
3011
2983
|
val: {
|
|
3012
|
-
type:
|
|
2984
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3013
2985
|
value: i,
|
|
3014
2986
|
location: d,
|
|
3015
2987
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3022,50 +2994,50 @@ var dn = (
|
|
|
3022
2994
|
case "select": {
|
|
3023
2995
|
var S = this.clonePosition();
|
|
3024
2996
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3025
|
-
return this.error(
|
|
2997
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Pe({}, S)));
|
|
3026
2998
|
this.bumpSpace();
|
|
3027
|
-
var
|
|
3028
|
-
if (
|
|
2999
|
+
var $ = this.parseIdentifierIfPossible(), M = 0;
|
|
3000
|
+
if (a !== "select" && $.value === "offset") {
|
|
3029
3001
|
if (!this.bumpIf(":"))
|
|
3030
|
-
return this.error(
|
|
3002
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3031
3003
|
this.bumpSpace();
|
|
3032
|
-
var c = this.tryParseDecimalInteger(
|
|
3004
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3033
3005
|
if (c.err)
|
|
3034
3006
|
return c;
|
|
3035
|
-
this.bumpSpace(),
|
|
3007
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), M = c.val;
|
|
3036
3008
|
}
|
|
3037
|
-
var U = this.tryParsePluralOrSelectOptions(t,
|
|
3009
|
+
var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
|
3038
3010
|
if (U.err)
|
|
3039
3011
|
return U;
|
|
3040
3012
|
var y = this.tryParseArgumentClose(n);
|
|
3041
3013
|
if (y.err)
|
|
3042
3014
|
return y;
|
|
3043
3015
|
var W = _(n, this.clonePosition());
|
|
3044
|
-
return
|
|
3016
|
+
return a === "select" ? {
|
|
3045
3017
|
val: {
|
|
3046
|
-
type:
|
|
3018
|
+
type: T.select,
|
|
3047
3019
|
value: i,
|
|
3048
|
-
options:
|
|
3020
|
+
options: Ct(U.val),
|
|
3049
3021
|
location: W
|
|
3050
3022
|
},
|
|
3051
3023
|
err: null
|
|
3052
3024
|
} : {
|
|
3053
3025
|
val: {
|
|
3054
|
-
type:
|
|
3026
|
+
type: T.plural,
|
|
3055
3027
|
value: i,
|
|
3056
|
-
options:
|
|
3028
|
+
options: Ct(U.val),
|
|
3057
3029
|
offset: M,
|
|
3058
|
-
pluralType:
|
|
3030
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3059
3031
|
location: W
|
|
3060
3032
|
},
|
|
3061
3033
|
err: null
|
|
3062
3034
|
};
|
|
3063
3035
|
}
|
|
3064
3036
|
default:
|
|
3065
|
-
return this.error(
|
|
3037
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
|
|
3066
3038
|
}
|
|
3067
3039
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3068
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3040
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3069
3041
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3070
3042
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3071
3043
|
var i = this.char();
|
|
@@ -3074,7 +3046,7 @@ var dn = (
|
|
|
3074
3046
|
this.bump();
|
|
3075
3047
|
var n = this.clonePosition();
|
|
3076
3048
|
if (!this.bumpUntil("'"))
|
|
3077
|
-
return this.error(
|
|
3049
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
|
|
3078
3050
|
this.bump();
|
|
3079
3051
|
break;
|
|
3080
3052
|
}
|
|
@@ -3104,25 +3076,25 @@ var dn = (
|
|
|
3104
3076
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3105
3077
|
var i = [];
|
|
3106
3078
|
try {
|
|
3107
|
-
i =
|
|
3079
|
+
i = Yi(t);
|
|
3108
3080
|
} catch (n) {
|
|
3109
|
-
return this.error(
|
|
3081
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3110
3082
|
}
|
|
3111
3083
|
return {
|
|
3112
3084
|
val: {
|
|
3113
|
-
type:
|
|
3085
|
+
type: ee.number,
|
|
3114
3086
|
tokens: i,
|
|
3115
3087
|
location: r,
|
|
3116
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3088
|
+
parsedOptions: this.shouldParseSkeletons ? en(i) : {}
|
|
3117
3089
|
},
|
|
3118
3090
|
err: null
|
|
3119
3091
|
};
|
|
3120
3092
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3121
|
-
for (var o,
|
|
3093
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
|
|
3122
3094
|
if (u.length === 0) {
|
|
3123
3095
|
var c = this.clonePosition();
|
|
3124
3096
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3125
|
-
var f = this.tryParseDecimalInteger(
|
|
3097
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3126
3098
|
if (f.err)
|
|
3127
3099
|
return f;
|
|
3128
3100
|
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
@@ -3130,18 +3102,18 @@ var dn = (
|
|
|
3130
3102
|
break;
|
|
3131
3103
|
}
|
|
3132
3104
|
if (l.has(u))
|
|
3133
|
-
return this.error(r === "select" ?
|
|
3134
|
-
u === "other" && (
|
|
3105
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3106
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3135
3107
|
var p = this.clonePosition();
|
|
3136
3108
|
if (!this.bumpIf("{"))
|
|
3137
|
-
return this.error(r === "select" ?
|
|
3109
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3138
3110
|
var y = this.parseMessage(t + 1, r, i);
|
|
3139
3111
|
if (y.err)
|
|
3140
3112
|
return y;
|
|
3141
3113
|
var d = this.tryParseArgumentClose(p);
|
|
3142
3114
|
if (d.err)
|
|
3143
3115
|
return d;
|
|
3144
|
-
|
|
3116
|
+
a.push([
|
|
3145
3117
|
u,
|
|
3146
3118
|
{
|
|
3147
3119
|
value: y.val,
|
|
@@ -3149,19 +3121,19 @@ var dn = (
|
|
|
3149
3121
|
}
|
|
3150
3122
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3151
3123
|
}
|
|
3152
|
-
return
|
|
3124
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3153
3125
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3154
3126
|
var i = 1, n = this.clonePosition();
|
|
3155
3127
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3156
|
-
for (var o = !1,
|
|
3157
|
-
var
|
|
3158
|
-
if (
|
|
3159
|
-
o = !0,
|
|
3128
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3129
|
+
var a = this.char();
|
|
3130
|
+
if (a >= 48 && a <= 57)
|
|
3131
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3160
3132
|
else
|
|
3161
3133
|
break;
|
|
3162
3134
|
}
|
|
3163
3135
|
var l = _(n, this.clonePosition());
|
|
3164
|
-
return o ? (
|
|
3136
|
+
return o ? (s *= i, mn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3165
3137
|
}, e.prototype.offset = function() {
|
|
3166
3138
|
return this.position.offset;
|
|
3167
3139
|
}, e.prototype.isEOF = function() {
|
|
@@ -3176,7 +3148,7 @@ var dn = (
|
|
|
3176
3148
|
var t = this.position.offset;
|
|
3177
3149
|
if (t >= this.message.length)
|
|
3178
3150
|
throw Error("out of bound");
|
|
3179
|
-
var r =
|
|
3151
|
+
var r = yr(this.message, t);
|
|
3180
3152
|
if (r === void 0)
|
|
3181
3153
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3182
3154
|
return r;
|
|
@@ -3195,7 +3167,7 @@ var dn = (
|
|
|
3195
3167
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3196
3168
|
}
|
|
3197
3169
|
}, e.prototype.bumpIf = function(t) {
|
|
3198
|
-
if (
|
|
3170
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3199
3171
|
for (var r = 0; r < t.length; r++)
|
|
3200
3172
|
this.bump();
|
|
3201
3173
|
return !0;
|
|
@@ -3217,7 +3189,7 @@ var dn = (
|
|
|
3217
3189
|
break;
|
|
3218
3190
|
}
|
|
3219
3191
|
}, e.prototype.bumpSpace = function() {
|
|
3220
|
-
for (; !this.isEOF() &&
|
|
3192
|
+
for (; !this.isEOF() && br(this.char()); )
|
|
3221
3193
|
this.bump();
|
|
3222
3194
|
}, e.prototype.peek = function() {
|
|
3223
3195
|
if (this.isEOF())
|
|
@@ -3230,44 +3202,44 @@ var dn = (
|
|
|
3230
3202
|
function ot(e) {
|
|
3231
3203
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3232
3204
|
}
|
|
3233
|
-
function
|
|
3205
|
+
function bn(e) {
|
|
3234
3206
|
return ot(e) || e === 47;
|
|
3235
3207
|
}
|
|
3236
|
-
function
|
|
3208
|
+
function vn(e) {
|
|
3237
3209
|
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;
|
|
3238
3210
|
}
|
|
3239
|
-
function
|
|
3211
|
+
function br(e) {
|
|
3240
3212
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3241
3213
|
}
|
|
3242
|
-
function
|
|
3214
|
+
function _n(e) {
|
|
3243
3215
|
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;
|
|
3244
3216
|
}
|
|
3245
3217
|
function st(e) {
|
|
3246
3218
|
e.forEach(function(t) {
|
|
3247
|
-
if (delete t.location,
|
|
3219
|
+
if (delete t.location, ur(t) || lr(t))
|
|
3248
3220
|
for (var r in t.options)
|
|
3249
3221
|
delete t.options[r].location, st(t.options[r].value);
|
|
3250
3222
|
else
|
|
3251
|
-
|
|
3223
|
+
or(t) && cr(t.style) || (sr(t) || ar(t)) && tt(t.style) ? delete t.style.location : hr(t) && st(t.children);
|
|
3252
3224
|
});
|
|
3253
3225
|
}
|
|
3254
|
-
function
|
|
3255
|
-
t === void 0 && (t = {}), t =
|
|
3256
|
-
var r = new
|
|
3226
|
+
function En(e, t) {
|
|
3227
|
+
t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3228
|
+
var r = new gn(e, t).parse();
|
|
3257
3229
|
if (r.err) {
|
|
3258
|
-
var i = SyntaxError(
|
|
3230
|
+
var i = SyntaxError(b[r.err.kind]);
|
|
3259
3231
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3260
3232
|
}
|
|
3261
3233
|
return t != null && t.captureLocation || st(r.val), r.val;
|
|
3262
3234
|
}
|
|
3263
|
-
var
|
|
3235
|
+
var te;
|
|
3264
3236
|
(function(e) {
|
|
3265
3237
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3266
|
-
})(
|
|
3267
|
-
var
|
|
3238
|
+
})(te || (te = {}));
|
|
3239
|
+
var Ie = (
|
|
3268
3240
|
/** @class */
|
|
3269
3241
|
function(e) {
|
|
3270
|
-
|
|
3242
|
+
Ce(t, e);
|
|
3271
3243
|
function t(r, i, n) {
|
|
3272
3244
|
var o = e.call(this, r) || this;
|
|
3273
3245
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3276,65 +3248,65 @@ var Ce = (
|
|
|
3276
3248
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3277
3249
|
}, t;
|
|
3278
3250
|
}(Error)
|
|
3279
|
-
),
|
|
3251
|
+
), Nt = (
|
|
3280
3252
|
/** @class */
|
|
3281
3253
|
function(e) {
|
|
3282
|
-
|
|
3254
|
+
Ce(t, e);
|
|
3283
3255
|
function t(r, i, n, o) {
|
|
3284
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3256
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
3285
3257
|
}
|
|
3286
3258
|
return t;
|
|
3287
|
-
}(
|
|
3288
|
-
),
|
|
3259
|
+
}(Ie)
|
|
3260
|
+
), xn = (
|
|
3289
3261
|
/** @class */
|
|
3290
3262
|
function(e) {
|
|
3291
|
-
|
|
3263
|
+
Ce(t, e);
|
|
3292
3264
|
function t(r, i, n) {
|
|
3293
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3265
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
|
|
3294
3266
|
}
|
|
3295
3267
|
return t;
|
|
3296
|
-
}(
|
|
3297
|
-
),
|
|
3268
|
+
}(Ie)
|
|
3269
|
+
), wn = (
|
|
3298
3270
|
/** @class */
|
|
3299
3271
|
function(e) {
|
|
3300
|
-
|
|
3272
|
+
Ce(t, e);
|
|
3301
3273
|
function t(r, i) {
|
|
3302
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3274
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
|
|
3303
3275
|
}
|
|
3304
3276
|
return t;
|
|
3305
|
-
}(
|
|
3277
|
+
}(Ie)
|
|
3306
3278
|
), B;
|
|
3307
3279
|
(function(e) {
|
|
3308
3280
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3309
3281
|
})(B || (B = {}));
|
|
3310
|
-
function
|
|
3282
|
+
function Tn(e) {
|
|
3311
3283
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3312
3284
|
var i = t[t.length - 1];
|
|
3313
3285
|
return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
|
|
3314
3286
|
}, []);
|
|
3315
3287
|
}
|
|
3316
|
-
function
|
|
3288
|
+
function Sn(e) {
|
|
3317
3289
|
return typeof e == "function";
|
|
3318
3290
|
}
|
|
3319
|
-
function Te(e, t, r, i, n, o,
|
|
3320
|
-
if (e.length === 1 &&
|
|
3291
|
+
function Te(e, t, r, i, n, o, s) {
|
|
3292
|
+
if (e.length === 1 && At(e[0]))
|
|
3321
3293
|
return [
|
|
3322
3294
|
{
|
|
3323
3295
|
type: B.literal,
|
|
3324
3296
|
value: e[0].value
|
|
3325
3297
|
}
|
|
3326
3298
|
];
|
|
3327
|
-
for (var
|
|
3299
|
+
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3328
3300
|
var h = u[l];
|
|
3329
|
-
if (
|
|
3330
|
-
|
|
3301
|
+
if (At(h)) {
|
|
3302
|
+
a.push({
|
|
3331
3303
|
type: B.literal,
|
|
3332
3304
|
value: h.value
|
|
3333
3305
|
});
|
|
3334
3306
|
continue;
|
|
3335
3307
|
}
|
|
3336
|
-
if (
|
|
3337
|
-
typeof o == "number" &&
|
|
3308
|
+
if (zi(h)) {
|
|
3309
|
+
typeof o == "number" && a.push({
|
|
3338
3310
|
type: B.literal,
|
|
3339
3311
|
value: r.getNumberFormat(t).format(o)
|
|
3340
3312
|
});
|
|
@@ -3342,89 +3314,89 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3342
3314
|
}
|
|
3343
3315
|
var c = h.value;
|
|
3344
3316
|
if (!(n && c in n))
|
|
3345
|
-
throw new
|
|
3317
|
+
throw new wn(c, s);
|
|
3346
3318
|
var f = n[c];
|
|
3347
|
-
if (
|
|
3348
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3319
|
+
if (Wi(h)) {
|
|
3320
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3349
3321
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3350
3322
|
value: f
|
|
3351
3323
|
});
|
|
3352
3324
|
continue;
|
|
3353
3325
|
}
|
|
3354
|
-
if (
|
|
3326
|
+
if (sr(h)) {
|
|
3355
3327
|
var p = typeof h.style == "string" ? i.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3356
|
-
|
|
3328
|
+
a.push({
|
|
3357
3329
|
type: B.literal,
|
|
3358
3330
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3359
3331
|
});
|
|
3360
3332
|
continue;
|
|
3361
3333
|
}
|
|
3362
|
-
if (
|
|
3334
|
+
if (ar(h)) {
|
|
3363
3335
|
var p = typeof h.style == "string" ? i.time[h.style] : tt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3364
|
-
|
|
3336
|
+
a.push({
|
|
3365
3337
|
type: B.literal,
|
|
3366
3338
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3367
3339
|
});
|
|
3368
3340
|
continue;
|
|
3369
3341
|
}
|
|
3370
|
-
if (
|
|
3371
|
-
var p = typeof h.style == "string" ? i.number[h.style] :
|
|
3372
|
-
p && p.scale && (f = f * (p.scale || 1)),
|
|
3342
|
+
if (or(h)) {
|
|
3343
|
+
var p = typeof h.style == "string" ? i.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
|
|
3344
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3373
3345
|
type: B.literal,
|
|
3374
3346
|
value: r.getNumberFormat(t, p).format(f)
|
|
3375
3347
|
});
|
|
3376
3348
|
continue;
|
|
3377
3349
|
}
|
|
3378
|
-
if (
|
|
3350
|
+
if (hr(h)) {
|
|
3379
3351
|
var y = h.children, d = h.value, v = n[d];
|
|
3380
|
-
if (!
|
|
3381
|
-
throw new
|
|
3382
|
-
var
|
|
3352
|
+
if (!Sn(v))
|
|
3353
|
+
throw new xn(d, "function", s);
|
|
3354
|
+
var H = Te(y, t, r, i, n, o), g = v(H.map(function(M) {
|
|
3383
3355
|
return M.value;
|
|
3384
3356
|
}));
|
|
3385
|
-
Array.isArray(
|
|
3357
|
+
Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(M) {
|
|
3386
3358
|
return {
|
|
3387
3359
|
type: typeof M == "string" ? B.literal : B.object,
|
|
3388
3360
|
value: M
|
|
3389
3361
|
};
|
|
3390
3362
|
}));
|
|
3391
3363
|
}
|
|
3392
|
-
if (
|
|
3364
|
+
if (ur(h)) {
|
|
3393
3365
|
var S = h.options[f] || h.options.other;
|
|
3394
3366
|
if (!S)
|
|
3395
|
-
throw new
|
|
3396
|
-
|
|
3367
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3368
|
+
a.push.apply(a, Te(S.value, t, r, i, n));
|
|
3397
3369
|
continue;
|
|
3398
3370
|
}
|
|
3399
|
-
if (
|
|
3371
|
+
if (lr(h)) {
|
|
3400
3372
|
var S = h.options["=".concat(f)];
|
|
3401
3373
|
if (!S) {
|
|
3402
3374
|
if (!Intl.PluralRules)
|
|
3403
|
-
throw new
|
|
3375
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3404
3376
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3405
|
-
`,
|
|
3406
|
-
var
|
|
3407
|
-
S = h.options[
|
|
3377
|
+
`, te.MISSING_INTL_API, s);
|
|
3378
|
+
var $ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3379
|
+
S = h.options[$] || h.options.other;
|
|
3408
3380
|
}
|
|
3409
3381
|
if (!S)
|
|
3410
|
-
throw new
|
|
3411
|
-
|
|
3382
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3383
|
+
a.push.apply(a, Te(S.value, t, r, i, n, f - (h.offset || 0)));
|
|
3412
3384
|
continue;
|
|
3413
3385
|
}
|
|
3414
3386
|
}
|
|
3415
|
-
return
|
|
3387
|
+
return Tn(a);
|
|
3416
3388
|
}
|
|
3417
|
-
function
|
|
3418
|
-
return t ?
|
|
3419
|
-
return r[i] =
|
|
3389
|
+
function Ln(e, t) {
|
|
3390
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3391
|
+
return r[i] = R(R({}, e[i]), t[i] || {}), r;
|
|
3420
3392
|
}, {})) : e;
|
|
3421
3393
|
}
|
|
3422
|
-
function
|
|
3394
|
+
function An(e, t) {
|
|
3423
3395
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3424
|
-
return r[i] =
|
|
3425
|
-
},
|
|
3396
|
+
return r[i] = Ln(e[i], t[i]), r;
|
|
3397
|
+
}, R({}, e)) : e;
|
|
3426
3398
|
}
|
|
3427
|
-
function
|
|
3399
|
+
function Xe(e) {
|
|
3428
3400
|
return {
|
|
3429
3401
|
create: function() {
|
|
3430
3402
|
return {
|
|
@@ -3438,39 +3410,39 @@ function Ve(e) {
|
|
|
3438
3410
|
}
|
|
3439
3411
|
};
|
|
3440
3412
|
}
|
|
3441
|
-
function
|
|
3413
|
+
function Pn(e) {
|
|
3442
3414
|
return e === void 0 && (e = {
|
|
3443
3415
|
number: {},
|
|
3444
3416
|
dateTime: {},
|
|
3445
3417
|
pluralRules: {}
|
|
3446
3418
|
}), {
|
|
3447
|
-
getNumberFormat:
|
|
3419
|
+
getNumberFormat: Ve(function() {
|
|
3448
3420
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3449
3421
|
r[i] = arguments[i];
|
|
3450
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3422
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
|
|
3451
3423
|
}, {
|
|
3452
|
-
cache:
|
|
3453
|
-
strategy:
|
|
3424
|
+
cache: Xe(e.number),
|
|
3425
|
+
strategy: We.variadic
|
|
3454
3426
|
}),
|
|
3455
|
-
getDateTimeFormat:
|
|
3427
|
+
getDateTimeFormat: Ve(function() {
|
|
3456
3428
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3457
3429
|
r[i] = arguments[i];
|
|
3458
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3430
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
|
|
3459
3431
|
}, {
|
|
3460
|
-
cache:
|
|
3461
|
-
strategy:
|
|
3432
|
+
cache: Xe(e.dateTime),
|
|
3433
|
+
strategy: We.variadic
|
|
3462
3434
|
}),
|
|
3463
|
-
getPluralRules:
|
|
3435
|
+
getPluralRules: Ve(function() {
|
|
3464
3436
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3465
3437
|
r[i] = arguments[i];
|
|
3466
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3438
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
|
|
3467
3439
|
}, {
|
|
3468
|
-
cache:
|
|
3469
|
-
strategy:
|
|
3440
|
+
cache: Xe(e.pluralRules),
|
|
3441
|
+
strategy: We.variadic
|
|
3470
3442
|
})
|
|
3471
3443
|
};
|
|
3472
3444
|
}
|
|
3473
|
-
var
|
|
3445
|
+
var Hn = (
|
|
3474
3446
|
/** @class */
|
|
3475
3447
|
function() {
|
|
3476
3448
|
function e(t, r, i, n) {
|
|
@@ -3500,15 +3472,15 @@ var An = (
|
|
|
3500
3472
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3501
3473
|
if (this.message = t, !e.__parse)
|
|
3502
3474
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3503
|
-
var
|
|
3504
|
-
|
|
3505
|
-
var
|
|
3506
|
-
this.ast = e.__parse(t,
|
|
3475
|
+
var s = n || {};
|
|
3476
|
+
s.formatters;
|
|
3477
|
+
var a = Di(s, ["formatters"]);
|
|
3478
|
+
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
|
3507
3479
|
} else
|
|
3508
3480
|
this.ast = t;
|
|
3509
3481
|
if (!Array.isArray(this.ast))
|
|
3510
3482
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3511
|
-
this.formats =
|
|
3483
|
+
this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
|
|
3512
3484
|
}
|
|
3513
3485
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3514
3486
|
get: function() {
|
|
@@ -3521,7 +3493,7 @@ var An = (
|
|
|
3521
3493
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3522
3494
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3523
3495
|
}
|
|
3524
|
-
}, e.__parse =
|
|
3496
|
+
}, e.__parse = En, e.formats = {
|
|
3525
3497
|
number: {
|
|
3526
3498
|
integer: {
|
|
3527
3499
|
maximumFractionDigits: 0
|
|
@@ -3582,7 +3554,7 @@ var An = (
|
|
|
3582
3554
|
}, e;
|
|
3583
3555
|
}()
|
|
3584
3556
|
);
|
|
3585
|
-
function
|
|
3557
|
+
function Bn(e, t) {
|
|
3586
3558
|
if (t == null)
|
|
3587
3559
|
return;
|
|
3588
3560
|
if (t in e)
|
|
@@ -3603,92 +3575,92 @@ function Hn(e, t) {
|
|
|
3603
3575
|
i = void 0;
|
|
3604
3576
|
return i;
|
|
3605
3577
|
}
|
|
3606
|
-
const j = {},
|
|
3578
|
+
const j = {}, On = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
|
|
3607
3579
|
if (t == null)
|
|
3608
3580
|
return;
|
|
3609
3581
|
if (t in j && e in j[t])
|
|
3610
3582
|
return j[t][e];
|
|
3611
|
-
const r =
|
|
3583
|
+
const r = Ne(t);
|
|
3612
3584
|
for (let i = 0; i < r.length; i++) {
|
|
3613
|
-
const n = r[i], o =
|
|
3585
|
+
const n = r[i], o = In(n, e);
|
|
3614
3586
|
if (o)
|
|
3615
|
-
return
|
|
3587
|
+
return On(e, t, o);
|
|
3616
3588
|
}
|
|
3617
3589
|
};
|
|
3618
|
-
let
|
|
3619
|
-
const
|
|
3620
|
-
function
|
|
3621
|
-
return
|
|
3590
|
+
let yt;
|
|
3591
|
+
const me = Oe({});
|
|
3592
|
+
function Cn(e) {
|
|
3593
|
+
return yt[e] || null;
|
|
3622
3594
|
}
|
|
3623
|
-
function
|
|
3624
|
-
return e in
|
|
3595
|
+
function _r(e) {
|
|
3596
|
+
return e in yt;
|
|
3625
3597
|
}
|
|
3626
|
-
function
|
|
3627
|
-
if (!
|
|
3598
|
+
function In(e, t) {
|
|
3599
|
+
if (!_r(e))
|
|
3628
3600
|
return null;
|
|
3629
|
-
const r =
|
|
3630
|
-
return
|
|
3601
|
+
const r = Cn(e);
|
|
3602
|
+
return Bn(r, t);
|
|
3631
3603
|
}
|
|
3632
|
-
function
|
|
3604
|
+
function Nn(e) {
|
|
3633
3605
|
if (e == null)
|
|
3634
3606
|
return;
|
|
3635
|
-
const t =
|
|
3607
|
+
const t = Ne(e);
|
|
3636
3608
|
for (let r = 0; r < t.length; r++) {
|
|
3637
3609
|
const i = t[r];
|
|
3638
|
-
if (
|
|
3610
|
+
if (_r(i))
|
|
3639
3611
|
return i;
|
|
3640
3612
|
}
|
|
3641
3613
|
}
|
|
3642
|
-
function
|
|
3643
|
-
delete j[e],
|
|
3614
|
+
function Er(e, ...t) {
|
|
3615
|
+
delete j[e], me.update((r) => (r[e] = Ri.all([r[e] || {}, ...t]), r));
|
|
3644
3616
|
}
|
|
3645
|
-
|
|
3646
|
-
[
|
|
3617
|
+
ne(
|
|
3618
|
+
[me],
|
|
3647
3619
|
([e]) => Object.keys(e)
|
|
3648
3620
|
);
|
|
3649
|
-
|
|
3650
|
-
const
|
|
3651
|
-
function
|
|
3652
|
-
|
|
3621
|
+
me.subscribe((e) => yt = e);
|
|
3622
|
+
const Se = {};
|
|
3623
|
+
function Mn(e, t) {
|
|
3624
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
3653
3625
|
}
|
|
3654
|
-
function
|
|
3655
|
-
return
|
|
3626
|
+
function xr(e) {
|
|
3627
|
+
return Se[e];
|
|
3656
3628
|
}
|
|
3657
|
-
function
|
|
3658
|
-
return
|
|
3659
|
-
const r =
|
|
3629
|
+
function Rn(e) {
|
|
3630
|
+
return Ne(e).map((t) => {
|
|
3631
|
+
const r = xr(t);
|
|
3660
3632
|
return [t, r ? [...r] : []];
|
|
3661
3633
|
}).filter(([, t]) => t.length > 0);
|
|
3662
3634
|
}
|
|
3663
3635
|
function at(e) {
|
|
3664
|
-
return e == null ? !1 :
|
|
3636
|
+
return e == null ? !1 : Ne(e).some(
|
|
3665
3637
|
(t) => {
|
|
3666
3638
|
var r;
|
|
3667
|
-
return (r =
|
|
3639
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
|
3668
3640
|
}
|
|
3669
3641
|
);
|
|
3670
3642
|
}
|
|
3671
|
-
function
|
|
3643
|
+
function Dn(e, t) {
|
|
3672
3644
|
return Promise.all(
|
|
3673
|
-
t.map((i) => (
|
|
3674
|
-
).then((i) =>
|
|
3645
|
+
t.map((i) => (Mn(e, i), i().then((n) => n.default || n)))
|
|
3646
|
+
).then((i) => Er(e, ...i));
|
|
3675
3647
|
}
|
|
3676
|
-
const
|
|
3677
|
-
function
|
|
3648
|
+
const ue = {};
|
|
3649
|
+
function wr(e) {
|
|
3678
3650
|
if (!at(e))
|
|
3679
|
-
return e in
|
|
3680
|
-
const t =
|
|
3681
|
-
return
|
|
3651
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
3652
|
+
const t = Rn(e);
|
|
3653
|
+
return ue[e] = Promise.all(
|
|
3682
3654
|
t.map(
|
|
3683
|
-
([r, i]) =>
|
|
3655
|
+
([r, i]) => Dn(r, i)
|
|
3684
3656
|
)
|
|
3685
3657
|
).then(() => {
|
|
3686
3658
|
if (at(e))
|
|
3687
|
-
return
|
|
3688
|
-
delete
|
|
3689
|
-
}),
|
|
3659
|
+
return wr(e);
|
|
3660
|
+
delete ue[e];
|
|
3661
|
+
}), ue[e];
|
|
3690
3662
|
}
|
|
3691
|
-
const
|
|
3663
|
+
const $n = {
|
|
3692
3664
|
number: {
|
|
3693
3665
|
scientific: { notation: "scientific" },
|
|
3694
3666
|
engineering: { notation: "engineering" },
|
|
@@ -3717,34 +3689,34 @@ const Rn = {
|
|
|
3717
3689
|
timeZoneName: "short"
|
|
3718
3690
|
}
|
|
3719
3691
|
}
|
|
3720
|
-
},
|
|
3692
|
+
}, Un = {
|
|
3721
3693
|
fallbackLocale: null,
|
|
3722
3694
|
loadingDelay: 200,
|
|
3723
|
-
formats:
|
|
3695
|
+
formats: $n,
|
|
3724
3696
|
warnOnMissingMessages: !0,
|
|
3725
3697
|
handleMissingMessage: void 0,
|
|
3726
3698
|
ignoreTag: !0
|
|
3727
|
-
},
|
|
3728
|
-
function
|
|
3729
|
-
return
|
|
3699
|
+
}, Gn = Un;
|
|
3700
|
+
function re() {
|
|
3701
|
+
return Gn;
|
|
3730
3702
|
}
|
|
3731
|
-
const
|
|
3732
|
-
var
|
|
3703
|
+
const Ze = Oe(!1);
|
|
3704
|
+
var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zn = (e, t) => {
|
|
3733
3705
|
for (var r in t || (t = {}))
|
|
3734
|
-
|
|
3735
|
-
if (
|
|
3736
|
-
for (var r of
|
|
3737
|
-
|
|
3706
|
+
Vn.call(t, r) && Rt(e, r, t[r]);
|
|
3707
|
+
if (Mt)
|
|
3708
|
+
for (var r of Mt(t))
|
|
3709
|
+
Wn.call(t, r) && Rt(e, r, t[r]);
|
|
3738
3710
|
return e;
|
|
3739
|
-
},
|
|
3711
|
+
}, Xn = (e, t) => jn(e, kn(t));
|
|
3740
3712
|
let ut;
|
|
3741
|
-
const He =
|
|
3742
|
-
function
|
|
3713
|
+
const He = Oe(null);
|
|
3714
|
+
function Dt(e) {
|
|
3743
3715
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3744
3716
|
}
|
|
3745
|
-
function
|
|
3746
|
-
const r =
|
|
3747
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3717
|
+
function Ne(e, t = re().fallbackLocale) {
|
|
3718
|
+
const r = Dt(e);
|
|
3719
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
3748
3720
|
}
|
|
3749
3721
|
function Z() {
|
|
3750
3722
|
return ut != null ? ut : void 0;
|
|
@@ -3752,124 +3724,124 @@ function Z() {
|
|
|
3752
3724
|
He.subscribe((e) => {
|
|
3753
3725
|
ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3754
3726
|
});
|
|
3755
|
-
const
|
|
3756
|
-
if (e &&
|
|
3757
|
-
const { loadingDelay: t } =
|
|
3727
|
+
const Zn = (e) => {
|
|
3728
|
+
if (e && Nn(e) && at(e)) {
|
|
3729
|
+
const { loadingDelay: t } = re();
|
|
3758
3730
|
let r;
|
|
3759
3731
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
3760
|
-
() =>
|
|
3732
|
+
() => Ze.set(!0),
|
|
3761
3733
|
t
|
|
3762
|
-
) :
|
|
3734
|
+
) : Ze.set(!0), wr(e).then(() => {
|
|
3763
3735
|
He.set(e);
|
|
3764
3736
|
}).finally(() => {
|
|
3765
|
-
clearTimeout(r),
|
|
3737
|
+
clearTimeout(r), Ze.set(!1);
|
|
3766
3738
|
});
|
|
3767
3739
|
}
|
|
3768
3740
|
return He.set(e);
|
|
3769
|
-
},
|
|
3770
|
-
set:
|
|
3771
|
-
}),
|
|
3741
|
+
}, oe = Xn(zn({}, He), {
|
|
3742
|
+
set: Zn
|
|
3743
|
+
}), Me = (e) => {
|
|
3772
3744
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3773
3745
|
return (i) => {
|
|
3774
3746
|
const n = JSON.stringify(i);
|
|
3775
3747
|
return n in t ? t[n] : t[n] = e(i);
|
|
3776
3748
|
};
|
|
3777
3749
|
};
|
|
3778
|
-
var
|
|
3750
|
+
var Qn = Object.defineProperty, Be = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
|
3779
3751
|
for (var r in t || (t = {}))
|
|
3780
|
-
|
|
3781
|
-
if (
|
|
3782
|
-
for (var r of
|
|
3783
|
-
|
|
3752
|
+
Tr.call(t, r) && $t(e, r, t[r]);
|
|
3753
|
+
if (Be)
|
|
3754
|
+
for (var r of Be(t))
|
|
3755
|
+
Sr.call(t, r) && $t(e, r, t[r]);
|
|
3784
3756
|
return e;
|
|
3785
|
-
},
|
|
3757
|
+
}, se = (e, t) => {
|
|
3786
3758
|
var r = {};
|
|
3787
3759
|
for (var i in e)
|
|
3788
|
-
|
|
3789
|
-
if (e != null &&
|
|
3790
|
-
for (var i of
|
|
3791
|
-
t.indexOf(i) < 0 &&
|
|
3760
|
+
Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3761
|
+
if (e != null && Be)
|
|
3762
|
+
for (var i of Be(e))
|
|
3763
|
+
t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
|
|
3792
3764
|
return r;
|
|
3793
3765
|
};
|
|
3794
|
-
const
|
|
3795
|
-
const { formats: r } =
|
|
3766
|
+
const fe = (e, t) => {
|
|
3767
|
+
const { formats: r } = re();
|
|
3796
3768
|
if (e in r && t in r[e])
|
|
3797
3769
|
return r[e][t];
|
|
3798
3770
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3799
|
-
},
|
|
3771
|
+
}, Yn = Me(
|
|
3800
3772
|
(e) => {
|
|
3801
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3773
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
3802
3774
|
if (r == null)
|
|
3803
3775
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3804
|
-
return i && (n =
|
|
3776
|
+
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
3805
3777
|
}
|
|
3806
|
-
),
|
|
3778
|
+
), Jn = Me(
|
|
3807
3779
|
(e) => {
|
|
3808
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3780
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
3809
3781
|
if (r == null)
|
|
3810
3782
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3811
|
-
return i ? n =
|
|
3783
|
+
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3812
3784
|
}
|
|
3813
|
-
),
|
|
3785
|
+
), qn = Me(
|
|
3814
3786
|
(e) => {
|
|
3815
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3787
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
3816
3788
|
if (r == null)
|
|
3817
3789
|
throw new Error(
|
|
3818
3790
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3819
3791
|
);
|
|
3820
|
-
return i ? n =
|
|
3792
|
+
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3821
3793
|
}
|
|
3822
|
-
),
|
|
3794
|
+
), Kn = (e = {}) => {
|
|
3823
3795
|
var t = e, {
|
|
3824
3796
|
locale: r = Z()
|
|
3825
|
-
} = t, i =
|
|
3797
|
+
} = t, i = se(t, [
|
|
3826
3798
|
"locale"
|
|
3827
3799
|
]);
|
|
3828
|
-
return
|
|
3829
|
-
},
|
|
3800
|
+
return Yn(gt({ locale: r }, i));
|
|
3801
|
+
}, eo = (e = {}) => {
|
|
3830
3802
|
var t = e, {
|
|
3831
3803
|
locale: r = Z()
|
|
3832
|
-
} = t, i =
|
|
3804
|
+
} = t, i = se(t, [
|
|
3833
3805
|
"locale"
|
|
3834
3806
|
]);
|
|
3835
|
-
return
|
|
3836
|
-
},
|
|
3807
|
+
return Jn(gt({ locale: r }, i));
|
|
3808
|
+
}, to = (e = {}) => {
|
|
3837
3809
|
var t = e, {
|
|
3838
3810
|
locale: r = Z()
|
|
3839
|
-
} = t, i =
|
|
3811
|
+
} = t, i = se(t, [
|
|
3840
3812
|
"locale"
|
|
3841
3813
|
]);
|
|
3842
|
-
return
|
|
3843
|
-
},
|
|
3814
|
+
return qn(gt({ locale: r }, i));
|
|
3815
|
+
}, ro = Me(
|
|
3844
3816
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3845
|
-
(e, t = Z()) => new
|
|
3846
|
-
ignoreTag:
|
|
3817
|
+
(e, t = Z()) => new Hn(e, t, re().formats, {
|
|
3818
|
+
ignoreTag: re().ignoreTag
|
|
3847
3819
|
})
|
|
3848
|
-
),
|
|
3820
|
+
), io = (e, t = {}) => {
|
|
3849
3821
|
var r, i, n, o;
|
|
3850
|
-
let
|
|
3851
|
-
typeof e == "object" && (
|
|
3822
|
+
let s = t;
|
|
3823
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3852
3824
|
const {
|
|
3853
|
-
values:
|
|
3825
|
+
values: a,
|
|
3854
3826
|
locale: l = Z(),
|
|
3855
3827
|
default: u
|
|
3856
|
-
} =
|
|
3828
|
+
} = s;
|
|
3857
3829
|
if (l == null)
|
|
3858
3830
|
throw new Error(
|
|
3859
3831
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3860
3832
|
);
|
|
3861
|
-
let h =
|
|
3833
|
+
let h = vr(e, l);
|
|
3862
3834
|
if (!h)
|
|
3863
|
-
h = (o = (n = (i = (r =
|
|
3835
|
+
h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
3864
3836
|
else if (typeof h != "string")
|
|
3865
3837
|
return console.warn(
|
|
3866
3838
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3867
3839
|
), h;
|
|
3868
|
-
if (!
|
|
3840
|
+
if (!a)
|
|
3869
3841
|
return h;
|
|
3870
3842
|
let c = h;
|
|
3871
3843
|
try {
|
|
3872
|
-
c =
|
|
3844
|
+
c = ro(h, l).format(a);
|
|
3873
3845
|
} catch (f) {
|
|
3874
3846
|
f instanceof Error && console.warn(
|
|
3875
3847
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3877,18 +3849,18 @@ const me = (e, t) => {
|
|
|
3877
3849
|
);
|
|
3878
3850
|
}
|
|
3879
3851
|
return c;
|
|
3880
|
-
},
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
function
|
|
3852
|
+
}, no = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Kn(t).format(e), ao = (e, t = Z()) => vr(e, t), uo = ne([oe, me], () => io);
|
|
3853
|
+
ne([oe], () => no);
|
|
3854
|
+
ne([oe], () => oo);
|
|
3855
|
+
ne([oe], () => so);
|
|
3856
|
+
ne([oe, me], () => ao);
|
|
3857
|
+
function lo(e, t) {
|
|
3886
3858
|
if (e) {
|
|
3887
3859
|
const r = document.createElement("style");
|
|
3888
3860
|
r.innerHTML = t, e.appendChild(r);
|
|
3889
3861
|
}
|
|
3890
3862
|
}
|
|
3891
|
-
function
|
|
3863
|
+
function ho(e, t) {
|
|
3892
3864
|
if (!e || !t)
|
|
3893
3865
|
return;
|
|
3894
3866
|
const r = new URL(t);
|
|
@@ -3899,7 +3871,7 @@ function uo(e, t) {
|
|
|
3899
3871
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3900
3872
|
});
|
|
3901
3873
|
}
|
|
3902
|
-
function
|
|
3874
|
+
function co(e, t, r) {
|
|
3903
3875
|
if (window.emMessageBus) {
|
|
3904
3876
|
const i = document.createElement("style");
|
|
3905
3877
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -3907,16 +3879,85 @@ function lo(e, t, r) {
|
|
|
3907
3879
|
});
|
|
3908
3880
|
}
|
|
3909
3881
|
}
|
|
3910
|
-
|
|
3882
|
+
/*! *****************************************************************************
|
|
3883
|
+
Copyright (c) Microsoft Corporation.
|
|
3884
|
+
|
|
3885
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
3886
|
+
purpose with or without fee is hereby granted.
|
|
3887
|
+
|
|
3888
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
3889
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
3890
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
3891
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
3892
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3893
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3894
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
3895
|
+
***************************************************************************** */
|
|
3896
|
+
var lt = function(e, t) {
|
|
3897
|
+
return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
3898
|
+
r.__proto__ = i;
|
|
3899
|
+
} || function(r, i) {
|
|
3900
|
+
for (var n in i)
|
|
3901
|
+
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
3902
|
+
}, lt(e, t);
|
|
3903
|
+
};
|
|
3904
|
+
function pe(e, t) {
|
|
3905
|
+
if (typeof t != "function" && t !== null)
|
|
3906
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
3907
|
+
lt(e, t);
|
|
3908
|
+
function r() {
|
|
3909
|
+
this.constructor = e;
|
|
3910
|
+
}
|
|
3911
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
3912
|
+
}
|
|
3913
|
+
function ht(e) {
|
|
3914
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
3915
|
+
if (r)
|
|
3916
|
+
return r.call(e);
|
|
3917
|
+
if (e && typeof e.length == "number")
|
|
3918
|
+
return {
|
|
3919
|
+
next: function() {
|
|
3920
|
+
return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
|
|
3921
|
+
}
|
|
3922
|
+
};
|
|
3923
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3924
|
+
}
|
|
3925
|
+
function ct(e, t) {
|
|
3926
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3927
|
+
if (!r)
|
|
3928
|
+
return e;
|
|
3929
|
+
var i = r.call(e), n, o = [], s;
|
|
3930
|
+
try {
|
|
3931
|
+
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
3932
|
+
o.push(n.value);
|
|
3933
|
+
} catch (a) {
|
|
3934
|
+
s = { error: a };
|
|
3935
|
+
} finally {
|
|
3936
|
+
try {
|
|
3937
|
+
n && !n.done && (r = i.return) && r.call(i);
|
|
3938
|
+
} finally {
|
|
3939
|
+
if (s)
|
|
3940
|
+
throw s.error;
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
return o;
|
|
3944
|
+
}
|
|
3945
|
+
function ft(e, t, r) {
|
|
3946
|
+
if (arguments.length === 2)
|
|
3947
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
3948
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
3949
|
+
return e.concat(o || t);
|
|
3950
|
+
}
|
|
3951
|
+
function F(e) {
|
|
3911
3952
|
return typeof e == "function";
|
|
3912
3953
|
}
|
|
3913
|
-
function
|
|
3954
|
+
function Lr(e) {
|
|
3914
3955
|
var t = function(i) {
|
|
3915
3956
|
Error.call(i), i.stack = new Error().stack;
|
|
3916
3957
|
}, r = e(t);
|
|
3917
3958
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
3918
3959
|
}
|
|
3919
|
-
var
|
|
3960
|
+
var Qe = Lr(function(e) {
|
|
3920
3961
|
return function(r) {
|
|
3921
3962
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
3922
3963
|
` + r.map(function(i, n) {
|
|
@@ -3925,13 +3966,13 @@ var ze = Tr(function(e) {
|
|
|
3925
3966
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
3926
3967
|
};
|
|
3927
3968
|
});
|
|
3928
|
-
function
|
|
3969
|
+
function mt(e, t) {
|
|
3929
3970
|
if (e) {
|
|
3930
3971
|
var r = e.indexOf(t);
|
|
3931
3972
|
0 <= r && e.splice(r, 1);
|
|
3932
3973
|
}
|
|
3933
3974
|
}
|
|
3934
|
-
var
|
|
3975
|
+
var Re = function() {
|
|
3935
3976
|
function e(t) {
|
|
3936
3977
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
3937
3978
|
}
|
|
@@ -3939,11 +3980,11 @@ var Ne = function() {
|
|
|
3939
3980
|
var t, r, i, n, o;
|
|
3940
3981
|
if (!this.closed) {
|
|
3941
3982
|
this.closed = !0;
|
|
3942
|
-
var
|
|
3943
|
-
if (
|
|
3944
|
-
if (this._parentage = null, Array.isArray(
|
|
3983
|
+
var s = this._parentage;
|
|
3984
|
+
if (s)
|
|
3985
|
+
if (this._parentage = null, Array.isArray(s))
|
|
3945
3986
|
try {
|
|
3946
|
-
for (var
|
|
3987
|
+
for (var a = ht(s), l = a.next(); !l.done; l = a.next()) {
|
|
3947
3988
|
var u = l.value;
|
|
3948
3989
|
u.remove(this);
|
|
3949
3990
|
}
|
|
@@ -3951,31 +3992,31 @@ var Ne = function() {
|
|
|
3951
3992
|
t = { error: d };
|
|
3952
3993
|
} finally {
|
|
3953
3994
|
try {
|
|
3954
|
-
l && !l.done && (r =
|
|
3995
|
+
l && !l.done && (r = a.return) && r.call(a);
|
|
3955
3996
|
} finally {
|
|
3956
3997
|
if (t)
|
|
3957
3998
|
throw t.error;
|
|
3958
3999
|
}
|
|
3959
4000
|
}
|
|
3960
4001
|
else
|
|
3961
|
-
|
|
4002
|
+
s.remove(this);
|
|
3962
4003
|
var h = this.initialTeardown;
|
|
3963
|
-
if (
|
|
4004
|
+
if (F(h))
|
|
3964
4005
|
try {
|
|
3965
4006
|
h();
|
|
3966
4007
|
} catch (d) {
|
|
3967
|
-
o = d instanceof
|
|
4008
|
+
o = d instanceof Qe ? d.errors : [d];
|
|
3968
4009
|
}
|
|
3969
4010
|
var c = this._finalizers;
|
|
3970
4011
|
if (c) {
|
|
3971
4012
|
this._finalizers = null;
|
|
3972
4013
|
try {
|
|
3973
|
-
for (var f =
|
|
4014
|
+
for (var f = ht(c), p = f.next(); !p.done; p = f.next()) {
|
|
3974
4015
|
var y = p.value;
|
|
3975
4016
|
try {
|
|
3976
|
-
|
|
4017
|
+
Ut(y);
|
|
3977
4018
|
} catch (d) {
|
|
3978
|
-
o = o != null ? o : [], d instanceof
|
|
4019
|
+
o = o != null ? o : [], d instanceof Qe ? o = ft(ft([], ct(o)), ct(d.errors)) : o.push(d);
|
|
3979
4020
|
}
|
|
3980
4021
|
}
|
|
3981
4022
|
} catch (d) {
|
|
@@ -3990,13 +4031,13 @@ var Ne = function() {
|
|
|
3990
4031
|
}
|
|
3991
4032
|
}
|
|
3992
4033
|
if (o)
|
|
3993
|
-
throw new
|
|
4034
|
+
throw new Qe(o);
|
|
3994
4035
|
}
|
|
3995
4036
|
}, e.prototype.add = function(t) {
|
|
3996
4037
|
var r;
|
|
3997
4038
|
if (t && t !== this)
|
|
3998
4039
|
if (this.closed)
|
|
3999
|
-
|
|
4040
|
+
Ut(t);
|
|
4000
4041
|
else {
|
|
4001
4042
|
if (t instanceof e) {
|
|
4002
4043
|
if (t.closed || t._hasParent(this))
|
|
@@ -4013,56 +4054,52 @@ var Ne = function() {
|
|
|
4013
4054
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
4014
4055
|
}, e.prototype._removeParent = function(t) {
|
|
4015
4056
|
var r = this._parentage;
|
|
4016
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
4057
|
+
r === t ? this._parentage = null : Array.isArray(r) && mt(r, t);
|
|
4017
4058
|
}, e.prototype.remove = function(t) {
|
|
4018
4059
|
var r = this._finalizers;
|
|
4019
|
-
r &&
|
|
4060
|
+
r && mt(r, t), t instanceof e && t._removeParent(this);
|
|
4020
4061
|
}, e.EMPTY = function() {
|
|
4021
4062
|
var t = new e();
|
|
4022
4063
|
return t.closed = !0, t;
|
|
4023
4064
|
}(), e;
|
|
4024
|
-
}(),
|
|
4025
|
-
function
|
|
4026
|
-
return e instanceof
|
|
4065
|
+
}(), Ar = Re.EMPTY;
|
|
4066
|
+
function Pr(e) {
|
|
4067
|
+
return e instanceof Re || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
|
|
4027
4068
|
}
|
|
4028
|
-
function
|
|
4029
|
-
|
|
4030
|
-
}
|
|
4031
|
-
var
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
Promise: void 0,
|
|
4035
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
4036
|
-
useDeprecatedNextContext: !1
|
|
4037
|
-
}, ho = {
|
|
4069
|
+
function Ut(e) {
|
|
4070
|
+
F(e) ? e() : e.unsubscribe();
|
|
4071
|
+
}
|
|
4072
|
+
var fo = {
|
|
4073
|
+
Promise: void 0
|
|
4074
|
+
}, mo = {
|
|
4038
4075
|
setTimeout: function(e, t) {
|
|
4039
4076
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
4040
4077
|
r[i - 2] = arguments[i];
|
|
4041
|
-
return setTimeout.apply(void 0,
|
|
4078
|
+
return setTimeout.apply(void 0, ft([e, t], ct(r)));
|
|
4042
4079
|
},
|
|
4043
4080
|
clearTimeout: function(e) {
|
|
4044
4081
|
return clearTimeout(e);
|
|
4045
4082
|
},
|
|
4046
4083
|
delegate: void 0
|
|
4047
4084
|
};
|
|
4048
|
-
function
|
|
4049
|
-
|
|
4085
|
+
function po(e) {
|
|
4086
|
+
mo.setTimeout(function() {
|
|
4050
4087
|
throw e;
|
|
4051
4088
|
});
|
|
4052
4089
|
}
|
|
4053
|
-
function
|
|
4090
|
+
function Gt() {
|
|
4054
4091
|
}
|
|
4055
|
-
function
|
|
4092
|
+
function Le(e) {
|
|
4056
4093
|
e();
|
|
4057
4094
|
}
|
|
4058
4095
|
var Hr = function(e) {
|
|
4059
|
-
|
|
4096
|
+
pe(t, e);
|
|
4060
4097
|
function t(r) {
|
|
4061
4098
|
var i = e.call(this) || this;
|
|
4062
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
4099
|
+
return i.isStopped = !1, r ? (i.destination = r, Pr(r) && r.add(i)) : i.destination = bo, i;
|
|
4063
4100
|
}
|
|
4064
4101
|
return t.create = function(r, i, n) {
|
|
4065
|
-
return new
|
|
4102
|
+
return new pt(r, i, n);
|
|
4066
4103
|
}, t.prototype.next = function(r) {
|
|
4067
4104
|
this.isStopped || this._next(r);
|
|
4068
4105
|
}, t.prototype.error = function(r) {
|
|
@@ -4086,11 +4123,7 @@ var Hr = function(e) {
|
|
|
4086
4123
|
this.unsubscribe();
|
|
4087
4124
|
}
|
|
4088
4125
|
}, t;
|
|
4089
|
-
}(
|
|
4090
|
-
function Xe(e, t) {
|
|
4091
|
-
return fo.call(e, t);
|
|
4092
|
-
}
|
|
4093
|
-
var mo = function() {
|
|
4126
|
+
}(Re), yo = function() {
|
|
4094
4127
|
function e(t) {
|
|
4095
4128
|
this.partialObserver = t;
|
|
4096
4129
|
}
|
|
@@ -4100,7 +4133,7 @@ var mo = function() {
|
|
|
4100
4133
|
try {
|
|
4101
4134
|
r.next(t);
|
|
4102
4135
|
} catch (i) {
|
|
4103
|
-
|
|
4136
|
+
Ee(i);
|
|
4104
4137
|
}
|
|
4105
4138
|
}, e.prototype.error = function(t) {
|
|
4106
4139
|
var r = this.partialObserver;
|
|
@@ -4108,68 +4141,56 @@ var mo = function() {
|
|
|
4108
4141
|
try {
|
|
4109
4142
|
r.error(t);
|
|
4110
4143
|
} catch (i) {
|
|
4111
|
-
|
|
4144
|
+
Ee(i);
|
|
4112
4145
|
}
|
|
4113
4146
|
else
|
|
4114
|
-
|
|
4147
|
+
Ee(t);
|
|
4115
4148
|
}, e.prototype.complete = function() {
|
|
4116
4149
|
var t = this.partialObserver;
|
|
4117
4150
|
if (t.complete)
|
|
4118
4151
|
try {
|
|
4119
4152
|
t.complete();
|
|
4120
4153
|
} catch (r) {
|
|
4121
|
-
|
|
4154
|
+
Ee(r);
|
|
4122
4155
|
}
|
|
4123
4156
|
}, e;
|
|
4124
|
-
}(),
|
|
4125
|
-
|
|
4157
|
+
}(), pt = function(e) {
|
|
4158
|
+
pe(t, e);
|
|
4126
4159
|
function t(r, i, n) {
|
|
4127
|
-
var o = e.call(this) || this,
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
};
|
|
4134
|
-
else {
|
|
4135
|
-
var s;
|
|
4136
|
-
o && Ar.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
4137
|
-
return o.unsubscribe();
|
|
4138
|
-
}, a = {
|
|
4139
|
-
next: r.next && Xe(r.next, s),
|
|
4140
|
-
error: r.error && Xe(r.error, s),
|
|
4141
|
-
complete: r.complete && Xe(r.complete, s)
|
|
4142
|
-
}) : a = r;
|
|
4143
|
-
}
|
|
4144
|
-
return o.destination = new mo(a), o;
|
|
4160
|
+
var o = e.call(this) || this, s;
|
|
4161
|
+
return F(r) || !r ? s = {
|
|
4162
|
+
next: r != null ? r : void 0,
|
|
4163
|
+
error: i != null ? i : void 0,
|
|
4164
|
+
complete: n != null ? n : void 0
|
|
4165
|
+
} : s = r, o.destination = new yo(s), o;
|
|
4145
4166
|
}
|
|
4146
4167
|
return t;
|
|
4147
4168
|
}(Hr);
|
|
4148
|
-
function
|
|
4149
|
-
|
|
4169
|
+
function Ee(e) {
|
|
4170
|
+
po(e);
|
|
4150
4171
|
}
|
|
4151
|
-
function
|
|
4172
|
+
function go(e) {
|
|
4152
4173
|
throw e;
|
|
4153
4174
|
}
|
|
4154
|
-
var
|
|
4175
|
+
var bo = {
|
|
4155
4176
|
closed: !0,
|
|
4156
|
-
next:
|
|
4157
|
-
error:
|
|
4158
|
-
complete:
|
|
4159
|
-
},
|
|
4177
|
+
next: Gt,
|
|
4178
|
+
error: go,
|
|
4179
|
+
complete: Gt
|
|
4180
|
+
}, vo = function() {
|
|
4160
4181
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4161
4182
|
}();
|
|
4162
|
-
function
|
|
4183
|
+
function _o(e) {
|
|
4163
4184
|
return e;
|
|
4164
4185
|
}
|
|
4165
|
-
function
|
|
4166
|
-
return e.length === 0 ?
|
|
4186
|
+
function Eo(e) {
|
|
4187
|
+
return e.length === 0 ? _o : e.length === 1 ? e[0] : function(r) {
|
|
4167
4188
|
return e.reduce(function(i, n) {
|
|
4168
4189
|
return n(i);
|
|
4169
4190
|
}, r);
|
|
4170
4191
|
};
|
|
4171
4192
|
}
|
|
4172
|
-
var
|
|
4193
|
+
var Ft = function() {
|
|
4173
4194
|
function e(t) {
|
|
4174
4195
|
t && (this._subscribe = t);
|
|
4175
4196
|
}
|
|
@@ -4177,10 +4198,10 @@ var $t = function() {
|
|
|
4177
4198
|
var r = new e();
|
|
4178
4199
|
return r.source = this, r.operator = t, r;
|
|
4179
4200
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
4180
|
-
var n = this, o =
|
|
4181
|
-
return
|
|
4182
|
-
var
|
|
4183
|
-
o.add(
|
|
4201
|
+
var n = this, o = wo(t) ? t : new pt(t, r, i);
|
|
4202
|
+
return Le(function() {
|
|
4203
|
+
var s = n, a = s.operator, l = s.source;
|
|
4204
|
+
o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
|
|
4184
4205
|
}), o;
|
|
4185
4206
|
}, e.prototype._trySubscribe = function(t) {
|
|
4186
4207
|
try {
|
|
@@ -4190,37 +4211,37 @@ var $t = function() {
|
|
|
4190
4211
|
}
|
|
4191
4212
|
}, e.prototype.forEach = function(t, r) {
|
|
4192
4213
|
var i = this;
|
|
4193
|
-
return r =
|
|
4194
|
-
var
|
|
4195
|
-
next: function(
|
|
4214
|
+
return r = jt(r), new r(function(n, o) {
|
|
4215
|
+
var s = new pt({
|
|
4216
|
+
next: function(a) {
|
|
4196
4217
|
try {
|
|
4197
|
-
t(
|
|
4218
|
+
t(a);
|
|
4198
4219
|
} catch (l) {
|
|
4199
|
-
o(l),
|
|
4220
|
+
o(l), s.unsubscribe();
|
|
4200
4221
|
}
|
|
4201
4222
|
},
|
|
4202
4223
|
error: o,
|
|
4203
4224
|
complete: n
|
|
4204
4225
|
});
|
|
4205
|
-
i.subscribe(
|
|
4226
|
+
i.subscribe(s);
|
|
4206
4227
|
});
|
|
4207
4228
|
}, e.prototype._subscribe = function(t) {
|
|
4208
4229
|
var r;
|
|
4209
4230
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
4210
|
-
}, e.prototype[
|
|
4231
|
+
}, e.prototype[vo] = function() {
|
|
4211
4232
|
return this;
|
|
4212
4233
|
}, e.prototype.pipe = function() {
|
|
4213
4234
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
4214
4235
|
t[r] = arguments[r];
|
|
4215
|
-
return
|
|
4236
|
+
return Eo(t)(this);
|
|
4216
4237
|
}, e.prototype.toPromise = function(t) {
|
|
4217
4238
|
var r = this;
|
|
4218
|
-
return t =
|
|
4239
|
+
return t = jt(t), new t(function(i, n) {
|
|
4219
4240
|
var o;
|
|
4220
|
-
r.subscribe(function(
|
|
4221
|
-
return o =
|
|
4222
|
-
}, function(
|
|
4223
|
-
return n(
|
|
4241
|
+
r.subscribe(function(s) {
|
|
4242
|
+
return o = s;
|
|
4243
|
+
}, function(s) {
|
|
4244
|
+
return n(s);
|
|
4224
4245
|
}, function() {
|
|
4225
4246
|
return i(o);
|
|
4226
4247
|
});
|
|
@@ -4229,48 +4250,48 @@ var $t = function() {
|
|
|
4229
4250
|
return new e(t);
|
|
4230
4251
|
}, e;
|
|
4231
4252
|
}();
|
|
4232
|
-
function
|
|
4253
|
+
function jt(e) {
|
|
4233
4254
|
var t;
|
|
4234
|
-
return (t = e != null ? e :
|
|
4235
|
-
}
|
|
4236
|
-
function _o(e) {
|
|
4237
|
-
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
4255
|
+
return (t = e != null ? e : fo.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4238
4256
|
}
|
|
4239
4257
|
function xo(e) {
|
|
4240
|
-
return e && e
|
|
4258
|
+
return e && F(e.next) && F(e.error) && F(e.complete);
|
|
4259
|
+
}
|
|
4260
|
+
function wo(e) {
|
|
4261
|
+
return e && e instanceof Hr || xo(e) && Pr(e);
|
|
4241
4262
|
}
|
|
4242
|
-
var
|
|
4263
|
+
var To = Lr(function(e) {
|
|
4243
4264
|
return function() {
|
|
4244
4265
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4245
4266
|
};
|
|
4246
|
-
}),
|
|
4247
|
-
|
|
4267
|
+
}), Br = function(e) {
|
|
4268
|
+
pe(t, e);
|
|
4248
4269
|
function t() {
|
|
4249
4270
|
var r = e.call(this) || this;
|
|
4250
4271
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
4251
4272
|
}
|
|
4252
4273
|
return t.prototype.lift = function(r) {
|
|
4253
|
-
var i = new
|
|
4274
|
+
var i = new kt(this, this);
|
|
4254
4275
|
return i.operator = r, i;
|
|
4255
4276
|
}, t.prototype._throwIfClosed = function() {
|
|
4256
4277
|
if (this.closed)
|
|
4257
|
-
throw new
|
|
4278
|
+
throw new To();
|
|
4258
4279
|
}, t.prototype.next = function(r) {
|
|
4259
4280
|
var i = this;
|
|
4260
|
-
|
|
4281
|
+
Le(function() {
|
|
4261
4282
|
var n, o;
|
|
4262
4283
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4263
4284
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
4264
4285
|
try {
|
|
4265
|
-
for (var
|
|
4266
|
-
var l =
|
|
4286
|
+
for (var s = ht(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4287
|
+
var l = a.value;
|
|
4267
4288
|
l.next(r);
|
|
4268
4289
|
}
|
|
4269
4290
|
} catch (u) {
|
|
4270
4291
|
n = { error: u };
|
|
4271
4292
|
} finally {
|
|
4272
4293
|
try {
|
|
4273
|
-
|
|
4294
|
+
a && !a.done && (o = s.return) && o.call(s);
|
|
4274
4295
|
} finally {
|
|
4275
4296
|
if (n)
|
|
4276
4297
|
throw n.error;
|
|
@@ -4280,7 +4301,7 @@ var Eo = Tr(function(e) {
|
|
|
4280
4301
|
});
|
|
4281
4302
|
}, t.prototype.error = function(r) {
|
|
4282
4303
|
var i = this;
|
|
4283
|
-
|
|
4304
|
+
Le(function() {
|
|
4284
4305
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4285
4306
|
i.hasError = i.isStopped = !0, i.thrownError = r;
|
|
4286
4307
|
for (var n = i.observers; n.length; )
|
|
@@ -4289,7 +4310,7 @@ var Eo = Tr(function(e) {
|
|
|
4289
4310
|
});
|
|
4290
4311
|
}, t.prototype.complete = function() {
|
|
4291
4312
|
var r = this;
|
|
4292
|
-
|
|
4313
|
+
Le(function() {
|
|
4293
4314
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4294
4315
|
r.isStopped = !0;
|
|
4295
4316
|
for (var i = r.observers; i.length; )
|
|
@@ -4310,21 +4331,21 @@ var Eo = Tr(function(e) {
|
|
|
4310
4331
|
}, t.prototype._subscribe = function(r) {
|
|
4311
4332
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
4312
4333
|
}, t.prototype._innerSubscribe = function(r) {
|
|
4313
|
-
var i = this, n = this, o = n.hasError,
|
|
4314
|
-
return o ||
|
|
4315
|
-
i.currentObservers = null,
|
|
4334
|
+
var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4335
|
+
return o || s ? Ar : (this.currentObservers = null, a.push(r), new Re(function() {
|
|
4336
|
+
i.currentObservers = null, mt(a, r);
|
|
4316
4337
|
}));
|
|
4317
4338
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
4318
|
-
var i = this, n = i.hasError, o = i.thrownError,
|
|
4319
|
-
n ? r.error(o) :
|
|
4339
|
+
var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
|
|
4340
|
+
n ? r.error(o) : s && r.complete();
|
|
4320
4341
|
}, t.prototype.asObservable = function() {
|
|
4321
|
-
var r = new
|
|
4342
|
+
var r = new Ft();
|
|
4322
4343
|
return r.source = this, r;
|
|
4323
4344
|
}, t.create = function(r, i) {
|
|
4324
|
-
return new
|
|
4345
|
+
return new kt(r, i);
|
|
4325
4346
|
}, t;
|
|
4326
|
-
}(
|
|
4327
|
-
|
|
4347
|
+
}(Ft), kt = function(e) {
|
|
4348
|
+
pe(t, e);
|
|
4328
4349
|
function t(r, i) {
|
|
4329
4350
|
var n = e.call(this) || this;
|
|
4330
4351
|
return n.destination = r, n.source = i, n;
|
|
@@ -4340,54 +4361,54 @@ var Eo = Tr(function(e) {
|
|
|
4340
4361
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
4341
4362
|
}, t.prototype._subscribe = function(r) {
|
|
4342
4363
|
var i, n;
|
|
4343
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
4364
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Ar;
|
|
4344
4365
|
}, t;
|
|
4345
|
-
}(
|
|
4366
|
+
}(Br), Or = {
|
|
4346
4367
|
now: function() {
|
|
4347
|
-
return (
|
|
4368
|
+
return (Or.delegate || Date).now();
|
|
4348
4369
|
},
|
|
4349
4370
|
delegate: void 0
|
|
4350
|
-
},
|
|
4351
|
-
|
|
4371
|
+
}, So = function(e) {
|
|
4372
|
+
pe(t, e);
|
|
4352
4373
|
function t(r, i, n) {
|
|
4353
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
4374
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Or);
|
|
4354
4375
|
var o = e.call(this) || this;
|
|
4355
4376
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
4356
4377
|
}
|
|
4357
4378
|
return t.prototype.next = function(r) {
|
|
4358
|
-
var i = this, n = i.isStopped, o = i._buffer,
|
|
4359
|
-
n || (o.push(r), !
|
|
4379
|
+
var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
|
|
4380
|
+
n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
4360
4381
|
}, t.prototype._subscribe = function(r) {
|
|
4361
4382
|
this._throwIfClosed(), this._trimBuffer();
|
|
4362
|
-
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow,
|
|
4363
|
-
r.next(
|
|
4383
|
+
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
4384
|
+
r.next(a[l]);
|
|
4364
4385
|
return this._checkFinalizedStatuses(r), i;
|
|
4365
4386
|
}, t.prototype._trimBuffer = function() {
|
|
4366
|
-
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer,
|
|
4367
|
-
if (i < 1 / 0 &&
|
|
4387
|
+
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
|
|
4388
|
+
if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
4368
4389
|
for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
4369
4390
|
u = h;
|
|
4370
4391
|
u && o.splice(0, u + 1);
|
|
4371
4392
|
}
|
|
4372
4393
|
}, t;
|
|
4373
|
-
}(
|
|
4374
|
-
const
|
|
4375
|
-
if (
|
|
4376
|
-
const r = new
|
|
4377
|
-
|
|
4394
|
+
}(Br);
|
|
4395
|
+
const Vt = [], Wt = {}, Lo = (e, t = 0) => {
|
|
4396
|
+
if (Vt.indexOf(e) == -1) {
|
|
4397
|
+
const r = new So(t);
|
|
4398
|
+
Wt[e] = r, Vt.push(e);
|
|
4378
4399
|
}
|
|
4379
|
-
return
|
|
4400
|
+
return Wt[e];
|
|
4380
4401
|
};
|
|
4381
|
-
window.emWidgets = { topic:
|
|
4382
|
-
const
|
|
4402
|
+
window.emWidgets = { topic: Lo };
|
|
4403
|
+
const Ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4383
4404
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4384
|
-
function
|
|
4385
|
-
|
|
4405
|
+
function zt(e, t) {
|
|
4406
|
+
Er(e, t);
|
|
4386
4407
|
}
|
|
4387
|
-
function
|
|
4388
|
-
|
|
4408
|
+
function Po(e) {
|
|
4409
|
+
oe.set(e);
|
|
4389
4410
|
}
|
|
4390
|
-
const
|
|
4411
|
+
const Ye = {
|
|
4391
4412
|
en: {
|
|
4392
4413
|
expandLimits: "Limit history",
|
|
4393
4414
|
daily: "per day",
|
|
@@ -4618,31 +4639,31 @@ const Ze = {
|
|
|
4618
4639
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
4619
4640
|
}
|
|
4620
4641
|
};
|
|
4621
|
-
function
|
|
4622
|
-
|
|
4642
|
+
function Ho(e) {
|
|
4643
|
+
ei(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4623
4644
|
}
|
|
4624
|
-
function
|
|
4645
|
+
function Xt(e, t, r) {
|
|
4625
4646
|
const i = e.slice();
|
|
4626
4647
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4627
4648
|
}
|
|
4628
|
-
function
|
|
4649
|
+
function Bo(e) {
|
|
4629
4650
|
let t, r, i, n = (
|
|
4630
4651
|
/*$_*/
|
|
4631
4652
|
e[9]("expandLimits") + ""
|
|
4632
|
-
), o,
|
|
4653
|
+
), o, s, a, l, u, h, c, f, p, y = St(
|
|
4633
4654
|
/*lazyShowedHistoryArray*/
|
|
4634
4655
|
e[7]
|
|
4635
4656
|
), d = [];
|
|
4636
4657
|
for (let v = 0; v < y.length; v += 1)
|
|
4637
|
-
d[v] =
|
|
4658
|
+
d[v] = Zt(Xt(e, y, v));
|
|
4638
4659
|
return {
|
|
4639
4660
|
c() {
|
|
4640
|
-
t =
|
|
4661
|
+
t = P("div"), r = P("div"), i = P("button"), o = D(n), s = Je(), a = Fe("svg"), l = Fe("path"), u = Fe("path"), h = Je(), c = P("div");
|
|
4641
4662
|
for (let v = 0; v < d.length; v += 1)
|
|
4642
4663
|
d[v].c();
|
|
4643
|
-
E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(
|
|
4644
|
-
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(
|
|
4645
|
-
|
|
4664
|
+
E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(a, "class", "ExpandArrow " + (/*isDesktop*/
|
|
4665
|
+
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), si(a, "fill", "var(--emw--color-primary, #22B04E)"), ve(
|
|
4666
|
+
a,
|
|
4646
4667
|
"extended",
|
|
4647
4668
|
/*extended*/
|
|
4648
4669
|
e[8]
|
|
@@ -4655,42 +4676,42 @@ function Ho(e) {
|
|
|
4655
4676
|
e[5]
|
|
4656
4677
|
), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
|
|
4657
4678
|
},
|
|
4658
|
-
m(v,
|
|
4659
|
-
X(v, t,
|
|
4660
|
-
for (let
|
|
4661
|
-
d[
|
|
4662
|
-
f || (p =
|
|
4679
|
+
m(v, H) {
|
|
4680
|
+
X(v, t, H), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
|
|
4681
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4682
|
+
d[g] && d[g].m(c, null);
|
|
4683
|
+
f || (p = ni(
|
|
4663
4684
|
i,
|
|
4664
4685
|
"click",
|
|
4665
4686
|
/*toggleHistoryDisplayArea*/
|
|
4666
4687
|
e[11]
|
|
4667
4688
|
), f = !0);
|
|
4668
4689
|
},
|
|
4669
|
-
p(v,
|
|
4670
|
-
if (
|
|
4690
|
+
p(v, H) {
|
|
4691
|
+
if (H[0] & /*$_*/
|
|
4671
4692
|
512 && n !== (n = /*$_*/
|
|
4672
|
-
v[9]("expandLimits") + "") && k(o, n),
|
|
4693
|
+
v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
|
|
4673
4694
|
256 && ve(
|
|
4674
|
-
|
|
4695
|
+
a,
|
|
4675
4696
|
"extended",
|
|
4676
4697
|
/*extended*/
|
|
4677
4698
|
v[8]
|
|
4678
|
-
),
|
|
4699
|
+
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4679
4700
|
650) {
|
|
4680
|
-
y =
|
|
4701
|
+
y = St(
|
|
4681
4702
|
/*lazyShowedHistoryArray*/
|
|
4682
4703
|
v[7]
|
|
4683
4704
|
);
|
|
4684
|
-
let
|
|
4685
|
-
for (
|
|
4686
|
-
const S =
|
|
4687
|
-
d[
|
|
4705
|
+
let g;
|
|
4706
|
+
for (g = 0; g < y.length; g += 1) {
|
|
4707
|
+
const S = Xt(v, y, g);
|
|
4708
|
+
d[g] ? d[g].p(S, H) : (d[g] = Zt(S), d[g].c(), d[g].m(c, null));
|
|
4688
4709
|
}
|
|
4689
|
-
for (;
|
|
4690
|
-
d[
|
|
4710
|
+
for (; g < d.length; g += 1)
|
|
4711
|
+
d[g].d(1);
|
|
4691
4712
|
d.length = y.length;
|
|
4692
4713
|
}
|
|
4693
|
-
|
|
4714
|
+
H[0] & /*hidden*/
|
|
4694
4715
|
32 && ve(
|
|
4695
4716
|
c,
|
|
4696
4717
|
"hidden",
|
|
@@ -4699,14 +4720,14 @@ function Ho(e) {
|
|
|
4699
4720
|
);
|
|
4700
4721
|
},
|
|
4701
4722
|
d(v) {
|
|
4702
|
-
v && V(t),
|
|
4723
|
+
v && V(t), ii(d, v), f = !1, p();
|
|
4703
4724
|
}
|
|
4704
4725
|
};
|
|
4705
4726
|
}
|
|
4706
|
-
function
|
|
4707
|
-
return { c:
|
|
4727
|
+
function Oo(e) {
|
|
4728
|
+
return { c: O, m: O, p: O, d: O };
|
|
4708
4729
|
}
|
|
4709
|
-
function
|
|
4730
|
+
function Co(e) {
|
|
4710
4731
|
let t, r = (
|
|
4711
4732
|
/*lang*/
|
|
4712
4733
|
(e[0] ? (
|
|
@@ -4716,10 +4737,10 @@ function Bo(e) {
|
|
|
4716
4737
|
), i;
|
|
4717
4738
|
return {
|
|
4718
4739
|
c() {
|
|
4719
|
-
t =
|
|
4740
|
+
t = P("p"), i = D(r), E(t, "class", "svelte-1wi0iai");
|
|
4720
4741
|
},
|
|
4721
4742
|
m(n, o) {
|
|
4722
|
-
X(n, t, o),
|
|
4743
|
+
X(n, t, o), x(t, i);
|
|
4723
4744
|
},
|
|
4724
4745
|
p(n, o) {
|
|
4725
4746
|
o[0] & /*lang, $_*/
|
|
@@ -4734,11 +4755,11 @@ function Bo(e) {
|
|
|
4734
4755
|
}
|
|
4735
4756
|
};
|
|
4736
4757
|
}
|
|
4737
|
-
function
|
|
4758
|
+
function Io(e) {
|
|
4738
4759
|
let t, r, i, n = (
|
|
4739
4760
|
/*history*/
|
|
4740
4761
|
e[37].type + ""
|
|
4741
|
-
), o,
|
|
4762
|
+
), o, s, a = (
|
|
4742
4763
|
/*history*/
|
|
4743
4764
|
e[37].amount + ""
|
|
4744
4765
|
), l, u, h = (
|
|
@@ -4747,17 +4768,17 @@ function Co(e) {
|
|
|
4747
4768
|
), c;
|
|
4748
4769
|
return {
|
|
4749
4770
|
c() {
|
|
4750
|
-
t =
|
|
4771
|
+
t = P("div"), r = P("span"), i = P("span"), o = D(n), s = P("span"), l = D(a), u = P("span"), c = D(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
|
|
4751
4772
|
},
|
|
4752
4773
|
m(f, p) {
|
|
4753
|
-
X(f, t, p),
|
|
4774
|
+
X(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
|
|
4754
4775
|
},
|
|
4755
4776
|
p(f, p) {
|
|
4756
4777
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4757
4778
|
128 && n !== (n = /*history*/
|
|
4758
4779
|
f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
|
|
4759
|
-
128 &&
|
|
4760
|
-
f[37].amount + "") && k(l,
|
|
4780
|
+
128 && a !== (a = /*history*/
|
|
4781
|
+
f[37].amount + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
|
|
4761
4782
|
128 && h !== (h = /*history*/
|
|
4762
4783
|
f[37].date + "") && k(c, h);
|
|
4763
4784
|
},
|
|
@@ -4766,11 +4787,11 @@ function Co(e) {
|
|
|
4766
4787
|
}
|
|
4767
4788
|
};
|
|
4768
4789
|
}
|
|
4769
|
-
function
|
|
4790
|
+
function No(e) {
|
|
4770
4791
|
let t, r, i, n = (
|
|
4771
4792
|
/*history*/
|
|
4772
4793
|
e[37].type + ""
|
|
4773
|
-
), o,
|
|
4794
|
+
), o, s, a = (
|
|
4774
4795
|
/*$_*/
|
|
4775
4796
|
e[9]("limitRemoved") + ""
|
|
4776
4797
|
), l, u, h = (
|
|
@@ -4779,17 +4800,17 @@ function Oo(e) {
|
|
|
4779
4800
|
), c;
|
|
4780
4801
|
return {
|
|
4781
4802
|
c() {
|
|
4782
|
-
t =
|
|
4803
|
+
t = P("div"), r = P("span"), i = P("span"), o = D(n), s = P("span"), l = D(a), u = P("span"), c = D(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
|
|
4783
4804
|
},
|
|
4784
4805
|
m(f, p) {
|
|
4785
|
-
X(f, t, p),
|
|
4806
|
+
X(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
|
|
4786
4807
|
},
|
|
4787
4808
|
p(f, p) {
|
|
4788
4809
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4789
4810
|
128 && n !== (n = /*history*/
|
|
4790
4811
|
f[37].type + "") && k(o, n), p[0] & /*$_*/
|
|
4791
|
-
512 &&
|
|
4792
|
-
f[9]("limitRemoved") + "") && k(l,
|
|
4812
|
+
512 && a !== (a = /*$_*/
|
|
4813
|
+
f[9]("limitRemoved") + "") && k(l, a), p[0] & /*lazyShowedHistoryArray*/
|
|
4793
4814
|
128 && h !== (h = /*history*/
|
|
4794
4815
|
f[37].date + "") && k(c, h);
|
|
4795
4816
|
},
|
|
@@ -4798,7 +4819,7 @@ function Oo(e) {
|
|
|
4798
4819
|
}
|
|
4799
4820
|
};
|
|
4800
4821
|
}
|
|
4801
|
-
function
|
|
4822
|
+
function Zt(e) {
|
|
4802
4823
|
let t, r, i, n = (
|
|
4803
4824
|
/*index*/
|
|
4804
4825
|
e[39]
|
|
@@ -4806,10 +4827,10 @@ function zt(e) {
|
|
|
4806
4827
|
function o(h, c) {
|
|
4807
4828
|
return (
|
|
4808
4829
|
/*history*/
|
|
4809
|
-
h[37].removed ?
|
|
4830
|
+
h[37].removed ? No : Io
|
|
4810
4831
|
);
|
|
4811
4832
|
}
|
|
4812
|
-
let
|
|
4833
|
+
let s = o(e), a = s(e);
|
|
4813
4834
|
const l = () => (
|
|
4814
4835
|
/*div_binding*/
|
|
4815
4836
|
e[22](t, n)
|
|
@@ -4819,18 +4840,18 @@ function zt(e) {
|
|
|
4819
4840
|
);
|
|
4820
4841
|
return {
|
|
4821
4842
|
c() {
|
|
4822
|
-
t =
|
|
4843
|
+
t = P("div"), a.c(), r = Je(), E(t, "class", i = wt(
|
|
4823
4844
|
/*index*/
|
|
4824
4845
|
e[39] > +/*numberofentries*/
|
|
4825
4846
|
e[1] ? "LimitContainer" : ""
|
|
4826
4847
|
) + " svelte-1wi0iai");
|
|
4827
4848
|
},
|
|
4828
4849
|
m(h, c) {
|
|
4829
|
-
X(h, t, c),
|
|
4850
|
+
X(h, t, c), a.m(t, null), x(t, r), l();
|
|
4830
4851
|
},
|
|
4831
4852
|
p(h, c) {
|
|
4832
|
-
e = h,
|
|
4833
|
-
2 && i !== (i =
|
|
4853
|
+
e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
|
|
4854
|
+
2 && i !== (i = wt(
|
|
4834
4855
|
/*index*/
|
|
4835
4856
|
e[39] > +/*numberofentries*/
|
|
4836
4857
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4839,78 +4860,78 @@ function zt(e) {
|
|
|
4839
4860
|
e[39], l());
|
|
4840
4861
|
},
|
|
4841
4862
|
d(h) {
|
|
4842
|
-
h && V(t),
|
|
4863
|
+
h && V(t), a.d(), u();
|
|
4843
4864
|
}
|
|
4844
4865
|
};
|
|
4845
4866
|
}
|
|
4846
|
-
function
|
|
4867
|
+
function Mo(e) {
|
|
4847
4868
|
let t;
|
|
4848
|
-
function r(o,
|
|
4869
|
+
function r(o, s) {
|
|
4849
4870
|
return (
|
|
4850
4871
|
/*hasErrors*/
|
|
4851
|
-
o[6] ?
|
|
4872
|
+
o[6] ? Co : (
|
|
4852
4873
|
/*isLoading*/
|
|
4853
|
-
o[4] ?
|
|
4874
|
+
o[4] ? Oo : Bo
|
|
4854
4875
|
)
|
|
4855
4876
|
);
|
|
4856
4877
|
}
|
|
4857
4878
|
let i = r(e), n = i(e);
|
|
4858
4879
|
return {
|
|
4859
4880
|
c() {
|
|
4860
|
-
t =
|
|
4881
|
+
t = P("div"), n.c(), E(t, "class", "svelte-1wi0iai");
|
|
4861
4882
|
},
|
|
4862
|
-
m(o,
|
|
4863
|
-
X(o, t,
|
|
4883
|
+
m(o, s) {
|
|
4884
|
+
X(o, t, s), n.m(t, null), e[23](t);
|
|
4864
4885
|
},
|
|
4865
|
-
p(o,
|
|
4866
|
-
i === (i = r(o)) && n ? n.p(o,
|
|
4886
|
+
p(o, s) {
|
|
4887
|
+
i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4867
4888
|
},
|
|
4868
|
-
i:
|
|
4869
|
-
o:
|
|
4889
|
+
i: O,
|
|
4890
|
+
o: O,
|
|
4870
4891
|
d(o) {
|
|
4871
4892
|
o && V(t), n.d(), e[23](null);
|
|
4872
4893
|
}
|
|
4873
4894
|
};
|
|
4874
4895
|
}
|
|
4875
|
-
function
|
|
4896
|
+
function Ro(e, t, r) {
|
|
4876
4897
|
let i;
|
|
4877
|
-
|
|
4878
|
-
let n = window.navigator.userAgent, o = !
|
|
4879
|
-
const
|
|
4880
|
-
fetch(
|
|
4881
|
-
Object.keys(
|
|
4882
|
-
|
|
4898
|
+
Kr(e, uo, (m) => r(9, i = m));
|
|
4899
|
+
let n = window.navigator.userAgent, o = !Ao(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), $ = parseInt(c, 10), M = !1, U = !0, W = [], de = [], ye = !0, De = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4900
|
+
const Ir = () => {
|
|
4901
|
+
fetch(H).then((w) => w.json()).then((w) => {
|
|
4902
|
+
Object.keys(w).forEach((I) => {
|
|
4903
|
+
zt(I, w[I]);
|
|
4883
4904
|
});
|
|
4884
|
-
}).catch((
|
|
4885
|
-
console.log(
|
|
4905
|
+
}).catch((w) => {
|
|
4906
|
+
console.log(w);
|
|
4886
4907
|
});
|
|
4887
4908
|
};
|
|
4888
|
-
Object.keys(
|
|
4889
|
-
|
|
4909
|
+
Object.keys(Ye).forEach((m) => {
|
|
4910
|
+
zt(m, Ye[m]);
|
|
4890
4911
|
});
|
|
4891
|
-
const
|
|
4892
|
-
let m = h === "gmcore" ? `/v2/player/${
|
|
4893
|
-
|
|
4912
|
+
const Nr = () => {
|
|
4913
|
+
let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, w = new URL(`${u}${m}`);
|
|
4914
|
+
w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
|
|
4894
4915
|
let I = {
|
|
4895
4916
|
method: "GET",
|
|
4896
4917
|
headers: { "X-SessionID": l }
|
|
4897
4918
|
};
|
|
4898
|
-
fetch(
|
|
4919
|
+
fetch(w.href, I).then((A) => {
|
|
4899
4920
|
if (A.status >= 300)
|
|
4900
4921
|
throw r(4, U = !1), r(6, M = !0), new Error("There was an error fetching the limits");
|
|
4901
4922
|
return A.json();
|
|
4902
4923
|
}).then(
|
|
4903
4924
|
(A) => {
|
|
4904
|
-
A.length && (W =
|
|
4925
|
+
A.length && (W = Mr(A), r(7, de = W.slice(0, $))), r(4, U = !1);
|
|
4905
4926
|
},
|
|
4906
4927
|
(A) => {
|
|
4907
4928
|
console.error("There was an error", A), r(6, M = !0);
|
|
4908
4929
|
}
|
|
4909
4930
|
);
|
|
4910
|
-
},
|
|
4911
|
-
const
|
|
4931
|
+
}, Mr = (m) => {
|
|
4932
|
+
const w = !!Ye[s];
|
|
4912
4933
|
return m.map((A) => {
|
|
4913
|
-
let
|
|
4934
|
+
let G = {
|
|
4914
4935
|
amount: "",
|
|
4915
4936
|
currency: "",
|
|
4916
4937
|
date: "",
|
|
@@ -4918,83 +4939,83 @@ function No(e, t, r) {
|
|
|
4918
4939
|
type: "",
|
|
4919
4940
|
removed: !1
|
|
4920
4941
|
};
|
|
4921
|
-
return
|
|
4942
|
+
return G.amount = Rr(A), G.currency = w ? ae[A.limitCurrencyCode] : A.limitCurrencyCode, G.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), G.period = i(`${A.limitPeriod.toLowerCase()}`), G.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), G.removed = A.limitAmount === -1, G;
|
|
4922
4943
|
});
|
|
4923
|
-
},
|
|
4924
|
-
let
|
|
4944
|
+
}, Rr = (m) => {
|
|
4945
|
+
let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4925
4946
|
if (!p) {
|
|
4926
|
-
let
|
|
4927
|
-
return `${
|
|
4947
|
+
let Wr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4948
|
+
return `${w}${Wr}`;
|
|
4928
4949
|
}
|
|
4929
4950
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4930
|
-
const I =
|
|
4931
|
-
let
|
|
4932
|
-
const [
|
|
4933
|
-
let [
|
|
4934
|
-
return
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
),
|
|
4938
|
-
},
|
|
4939
|
-
r(5, ye = !ye), r(8,
|
|
4951
|
+
const I = w.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, G = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4952
|
+
let ge = parseFloat(m.limitAmount).toFixed(A);
|
|
4953
|
+
const [kr, $e] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4954
|
+
let [Ue, Vr] = ge.split(".");
|
|
4955
|
+
return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, kr), ge = `${Ue}${$e}${Vr}`, w = w.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split($e)[0]).replace(
|
|
4956
|
+
G,
|
|
4957
|
+
ge.split($e)[1]
|
|
4958
|
+
), w;
|
|
4959
|
+
}, Dr = () => {
|
|
4960
|
+
r(5, ye = !ye), r(8, De = !De);
|
|
4940
4961
|
};
|
|
4941
|
-
let
|
|
4942
|
-
m.forEach((
|
|
4943
|
-
|
|
4962
|
+
let bt = new IntersectionObserver((m) => {
|
|
4963
|
+
m.forEach((w) => {
|
|
4964
|
+
w.isIntersecting && ($ += parseInt(c, 10) || 10, de.length < W.length && r(7, de = W.slice(0, $)));
|
|
4944
4965
|
});
|
|
4945
4966
|
});
|
|
4946
|
-
const
|
|
4947
|
-
|
|
4967
|
+
const $r = () => {
|
|
4968
|
+
bt.observe(S[S.length - 1]);
|
|
4948
4969
|
}, Ur = () => {
|
|
4949
4970
|
if (!f)
|
|
4950
4971
|
return;
|
|
4951
4972
|
let m = {};
|
|
4952
|
-
f.split(",").forEach((
|
|
4953
|
-
let I =
|
|
4973
|
+
f.split(",").forEach((w) => {
|
|
4974
|
+
let I = w.split(":");
|
|
4954
4975
|
m[I[0].trim()] = I[1].trim();
|
|
4955
|
-
}),
|
|
4956
|
-
},
|
|
4957
|
-
|
|
4976
|
+
}), ae = be(be({}, ae), m);
|
|
4977
|
+
}, Gr = () => {
|
|
4978
|
+
Po(s);
|
|
4958
4979
|
};
|
|
4959
|
-
|
|
4960
|
-
|
|
4980
|
+
li(() => () => {
|
|
4981
|
+
bt.unobserve(S[S.length - 1]);
|
|
4961
4982
|
});
|
|
4962
|
-
function
|
|
4983
|
+
function Fr(m, w) {
|
|
4963
4984
|
Ae[m ? "unshift" : "push"](() => {
|
|
4964
|
-
S[
|
|
4985
|
+
S[w] = m, r(3, S);
|
|
4965
4986
|
});
|
|
4966
4987
|
}
|
|
4967
|
-
function
|
|
4988
|
+
function jr(m) {
|
|
4968
4989
|
Ae[m ? "unshift" : "push"](() => {
|
|
4969
|
-
|
|
4990
|
+
g = m, r(2, g);
|
|
4970
4991
|
});
|
|
4971
4992
|
}
|
|
4972
4993
|
return e.$$set = (m) => {
|
|
4973
|
-
"lang" in m && r(0,
|
|
4994
|
+
"lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
4974
4995
|
}, e.$$.update = () => {
|
|
4975
4996
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4976
4997
|
65536 && f && Ur(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4977
|
-
61440 && u &&
|
|
4978
|
-
56 && S[0] && !U && !ye &&
|
|
4979
|
-
1 &&
|
|
4980
|
-
262148 && y &&
|
|
4981
|
-
524292 && d &&
|
|
4982
|
-
1048580 && v &&
|
|
4983
|
-
2097156 &&
|
|
4998
|
+
61440 && u && a && l && h && Nr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4999
|
+
56 && S[0] && !U && !ye && $r(), e.$$.dirty[0] & /*lang*/
|
|
5000
|
+
1 && s && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5001
|
+
262148 && y && g && lo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5002
|
+
524292 && d && g && ho(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5003
|
+
1048580 && v && g && co(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
5004
|
+
2097156 && H && g && Ir();
|
|
4984
5005
|
}, [
|
|
4985
|
-
|
|
5006
|
+
s,
|
|
4986
5007
|
c,
|
|
4987
|
-
|
|
5008
|
+
g,
|
|
4988
5009
|
S,
|
|
4989
5010
|
U,
|
|
4990
5011
|
ye,
|
|
4991
5012
|
M,
|
|
4992
5013
|
de,
|
|
4993
|
-
|
|
5014
|
+
De,
|
|
4994
5015
|
i,
|
|
4995
5016
|
o,
|
|
4996
|
-
|
|
4997
|
-
|
|
5017
|
+
Dr,
|
|
5018
|
+
a,
|
|
4998
5019
|
l,
|
|
4999
5020
|
u,
|
|
5000
5021
|
h,
|
|
@@ -5003,19 +5024,19 @@ function No(e, t, r) {
|
|
|
5003
5024
|
y,
|
|
5004
5025
|
d,
|
|
5005
5026
|
v,
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5027
|
+
H,
|
|
5028
|
+
Fr,
|
|
5029
|
+
jr
|
|
5009
5030
|
];
|
|
5010
5031
|
}
|
|
5011
5032
|
class Cr extends bi {
|
|
5012
5033
|
constructor(t) {
|
|
5013
|
-
super(),
|
|
5034
|
+
super(), yi(
|
|
5014
5035
|
this,
|
|
5015
5036
|
t,
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5037
|
+
Ro,
|
|
5038
|
+
Mo,
|
|
5039
|
+
Yt,
|
|
5019
5040
|
{
|
|
5020
5041
|
lang: 0,
|
|
5021
5042
|
userid: 12,
|
|
@@ -5030,7 +5051,7 @@ class Cr extends bi {
|
|
|
5030
5051
|
mbsource: 20,
|
|
5031
5052
|
translationurl: 21
|
|
5032
5053
|
},
|
|
5033
|
-
|
|
5054
|
+
Ho,
|
|
5034
5055
|
[-1, -1]
|
|
5035
5056
|
);
|
|
5036
5057
|
}
|
|
@@ -5038,130 +5059,130 @@ class Cr extends bi {
|
|
|
5038
5059
|
return this.$$.ctx[0];
|
|
5039
5060
|
}
|
|
5040
5061
|
set lang(t) {
|
|
5041
|
-
this.$$set({ lang: t }),
|
|
5062
|
+
this.$$set({ lang: t }), C();
|
|
5042
5063
|
}
|
|
5043
5064
|
get userid() {
|
|
5044
5065
|
return this.$$.ctx[12];
|
|
5045
5066
|
}
|
|
5046
5067
|
set userid(t) {
|
|
5047
|
-
this.$$set({ userid: t }),
|
|
5068
|
+
this.$$set({ userid: t }), C();
|
|
5048
5069
|
}
|
|
5049
5070
|
get session() {
|
|
5050
5071
|
return this.$$.ctx[13];
|
|
5051
5072
|
}
|
|
5052
5073
|
set session(t) {
|
|
5053
|
-
this.$$set({ session: t }),
|
|
5074
|
+
this.$$set({ session: t }), C();
|
|
5054
5075
|
}
|
|
5055
5076
|
get endpoint() {
|
|
5056
5077
|
return this.$$.ctx[14];
|
|
5057
5078
|
}
|
|
5058
5079
|
set endpoint(t) {
|
|
5059
|
-
this.$$set({ endpoint: t }),
|
|
5080
|
+
this.$$set({ endpoint: t }), C();
|
|
5060
5081
|
}
|
|
5061
5082
|
get apiversion() {
|
|
5062
5083
|
return this.$$.ctx[15];
|
|
5063
5084
|
}
|
|
5064
5085
|
set apiversion(t) {
|
|
5065
|
-
this.$$set({ apiversion: t }),
|
|
5086
|
+
this.$$set({ apiversion: t }), C();
|
|
5066
5087
|
}
|
|
5067
5088
|
get numberofentries() {
|
|
5068
5089
|
return this.$$.ctx[1];
|
|
5069
5090
|
}
|
|
5070
5091
|
set numberofentries(t) {
|
|
5071
|
-
this.$$set({ numberofentries: t }),
|
|
5092
|
+
this.$$set({ numberofentries: t }), C();
|
|
5072
5093
|
}
|
|
5073
5094
|
get customcurrencysymbols() {
|
|
5074
5095
|
return this.$$.ctx[16];
|
|
5075
5096
|
}
|
|
5076
5097
|
set customcurrencysymbols(t) {
|
|
5077
|
-
this.$$set({ customcurrencysymbols: t }),
|
|
5098
|
+
this.$$set({ customcurrencysymbols: t }), C();
|
|
5078
5099
|
}
|
|
5079
5100
|
get limitformat() {
|
|
5080
5101
|
return this.$$.ctx[17];
|
|
5081
5102
|
}
|
|
5082
5103
|
set limitformat(t) {
|
|
5083
|
-
this.$$set({ limitformat: t }),
|
|
5104
|
+
this.$$set({ limitformat: t }), C();
|
|
5084
5105
|
}
|
|
5085
5106
|
get clientstyling() {
|
|
5086
5107
|
return this.$$.ctx[18];
|
|
5087
5108
|
}
|
|
5088
5109
|
set clientstyling(t) {
|
|
5089
|
-
this.$$set({ clientstyling: t }),
|
|
5110
|
+
this.$$set({ clientstyling: t }), C();
|
|
5090
5111
|
}
|
|
5091
5112
|
get clientstylingurl() {
|
|
5092
5113
|
return this.$$.ctx[19];
|
|
5093
5114
|
}
|
|
5094
5115
|
set clientstylingurl(t) {
|
|
5095
|
-
this.$$set({ clientstylingurl: t }),
|
|
5116
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5096
5117
|
}
|
|
5097
5118
|
get mbsource() {
|
|
5098
5119
|
return this.$$.ctx[20];
|
|
5099
5120
|
}
|
|
5100
5121
|
set mbsource(t) {
|
|
5101
|
-
this.$$set({ mbsource: t }),
|
|
5122
|
+
this.$$set({ mbsource: t }), C();
|
|
5102
5123
|
}
|
|
5103
5124
|
get translationurl() {
|
|
5104
5125
|
return this.$$.ctx[21];
|
|
5105
5126
|
}
|
|
5106
5127
|
set translationurl(t) {
|
|
5107
|
-
this.$$set({ translationurl: t }),
|
|
5128
|
+
this.$$set({ translationurl: t }), C();
|
|
5108
5129
|
}
|
|
5109
5130
|
}
|
|
5110
|
-
|
|
5111
|
-
const
|
|
5131
|
+
gi(Cr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5132
|
+
const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5112
5133
|
__proto__: null,
|
|
5113
5134
|
default: Cr
|
|
5114
5135
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5115
5136
|
export {
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5137
|
+
oe as $,
|
|
5138
|
+
k as A,
|
|
5139
|
+
Wo as B,
|
|
5140
|
+
zo as C,
|
|
5141
|
+
ni as D,
|
|
5142
|
+
D as E,
|
|
5143
|
+
Qo as F,
|
|
5144
|
+
Ae as G,
|
|
5145
|
+
Zo as H,
|
|
5146
|
+
ko as I,
|
|
5147
|
+
Xo as J,
|
|
5148
|
+
Ke as K,
|
|
5149
|
+
si as L,
|
|
5150
|
+
Fe as M,
|
|
5151
|
+
lo as N,
|
|
5152
|
+
ho as O,
|
|
5153
|
+
co as P,
|
|
5154
|
+
gi as Q,
|
|
5155
|
+
uo as R,
|
|
5135
5156
|
bi as S,
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5157
|
+
jo as T,
|
|
5158
|
+
Ko as U,
|
|
5159
|
+
Vo as V,
|
|
5160
|
+
ve as W,
|
|
5161
|
+
es as X,
|
|
5162
|
+
Er as a,
|
|
5163
|
+
ei as b,
|
|
5164
|
+
fi as c,
|
|
5165
|
+
V as d,
|
|
5166
|
+
Jo as e,
|
|
5167
|
+
C as f,
|
|
5168
|
+
Yo as g,
|
|
5169
|
+
X as h,
|
|
5170
|
+
yi as i,
|
|
5171
|
+
x as j,
|
|
5172
|
+
P as k,
|
|
5173
|
+
Je as l,
|
|
5174
|
+
Kr as m,
|
|
5175
|
+
Ao as n,
|
|
5176
|
+
li as o,
|
|
5177
|
+
E as p,
|
|
5178
|
+
$o as q,
|
|
5179
|
+
Fo as r,
|
|
5180
|
+
Yt as s,
|
|
5181
|
+
qo as t,
|
|
5182
|
+
Go as u,
|
|
5183
|
+
Uo as v,
|
|
5184
|
+
O as w,
|
|
5185
|
+
St as x,
|
|
5186
|
+
ii as y,
|
|
5187
|
+
ie as z
|
|
5167
5188
|
};
|