@everymatrix/casino-random-game 1.74.7 → 1.74.10
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/{CasinoRandomGame-CfvoHcZK.js → CasinoRandomGame-40wnmLKZ.js} +1236 -1250
- package/components/CasinoRandomGame-CuH73zJq.cjs +19 -0
- package/components/{CasinoRandomGame-CQVMwR-4.js → CasinoRandomGame-DaqT6dCn.js} +1262 -1276
- package/es2015/casino-random-game.cjs +1 -1
- package/es2015/casino-random-game.js +1 -1
- package/esnext/casino-random-game.js +1 -1
- package/package.json +1 -1
- package/components/CasinoRandomGame-BlZkntaq.cjs +0 -19
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
function
|
|
1
|
+
function L() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
4
|
-
for (const
|
|
5
|
-
e[
|
|
3
|
+
function Dn(e, t) {
|
|
4
|
+
for (const n in t)
|
|
5
|
+
e[n] = t[n];
|
|
6
6
|
return (
|
|
7
7
|
/** @type {T & S} */
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function jt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function ct() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function z(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(jt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function it(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function kt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let ge;
|
|
27
|
-
function
|
|
27
|
+
function ft(e, t) {
|
|
28
28
|
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function $n(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Vt(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
|
-
for (const
|
|
36
|
-
|
|
37
|
-
return
|
|
35
|
+
for (const r of t)
|
|
36
|
+
r(void 0);
|
|
37
|
+
return L;
|
|
38
38
|
}
|
|
39
|
-
const
|
|
40
|
-
return
|
|
39
|
+
const n = e.subscribe(...t);
|
|
40
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function jn(e, t, n) {
|
|
43
|
+
e.$$.on_destroy.push(Vt(t, n));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function kn(e, t, n, r) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = Wt(e, t, n, r);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] &&
|
|
51
|
+
function Wt(e, t, n, r) {
|
|
52
|
+
return e[1] && r ? Dn(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
if (e[2] &&
|
|
56
|
-
const i = e[2](n
|
|
54
|
+
function Vn(e, t, n, r) {
|
|
55
|
+
if (e[2] && r) {
|
|
56
|
+
const i = e[2](r(n));
|
|
57
57
|
if (t.dirty === void 0)
|
|
58
58
|
return i;
|
|
59
59
|
if (typeof i == "object") {
|
|
@@ -66,32 +66,32 @@ function Xr(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Wn(e, t, n, r, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = Wt(t, n, r, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Xn(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
|
-
const t = [],
|
|
78
|
-
for (let
|
|
79
|
-
t[
|
|
77
|
+
const t = [], n = e.ctx.length / 32;
|
|
78
|
+
for (let r = 0; r < n; r++)
|
|
79
|
+
t[r] = -1;
|
|
80
80
|
return t;
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function v(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const
|
|
89
|
-
if (!
|
|
87
|
+
function zn(e, t, n) {
|
|
88
|
+
const r = Jn(e);
|
|
89
|
+
if (!r.getElementById(t)) {
|
|
90
90
|
const i = S("style");
|
|
91
|
-
i.id = t, i.textContent =
|
|
91
|
+
i.id = t, i.textContent = n, Zn(r, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Jn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,27 +101,27 @@ function Qr(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function Zn(e, t) {
|
|
105
|
+
return v(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
108
108
|
t
|
|
109
109
|
), t.sheet;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
e.insertBefore(t,
|
|
111
|
+
function I(e, t, n) {
|
|
112
|
+
e.insertBefore(t, n || null);
|
|
113
113
|
}
|
|
114
114
|
function R(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
for (let
|
|
119
|
-
e[
|
|
117
|
+
function Qn(e, t) {
|
|
118
|
+
for (let n = 0; n < e.length; n += 1)
|
|
119
|
+
e[n] && e[n].d(t);
|
|
120
120
|
}
|
|
121
121
|
function S(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function dt(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
127
|
function j(e) {
|
|
@@ -130,25 +130,25 @@ function j(e) {
|
|
|
130
130
|
function k() {
|
|
131
131
|
return j(" ");
|
|
132
132
|
}
|
|
133
|
-
function Te(e, t,
|
|
134
|
-
return e.addEventListener(t,
|
|
133
|
+
function Te(e, t, n, r) {
|
|
134
|
+
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
135
135
|
}
|
|
136
|
-
function g(e, t,
|
|
137
|
-
|
|
136
|
+
function g(e, t, n) {
|
|
137
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Yn(e) {
|
|
140
140
|
return Array.from(e.childNodes);
|
|
141
141
|
}
|
|
142
142
|
function X(e, t) {
|
|
143
143
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
144
144
|
t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function qn(e) {
|
|
147
147
|
const t = {};
|
|
148
148
|
return e.childNodes.forEach(
|
|
149
149
|
/** @param {Element} node */
|
|
150
|
-
(
|
|
151
|
-
t[
|
|
150
|
+
(n) => {
|
|
151
|
+
t[n.slot || "default"] = !0;
|
|
152
152
|
}
|
|
153
153
|
), t;
|
|
154
154
|
}
|
|
@@ -156,30 +156,30 @@ let fe;
|
|
|
156
156
|
function he(e) {
|
|
157
157
|
fe = e;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Kn() {
|
|
160
160
|
if (!fe)
|
|
161
161
|
throw new Error("Function called outside component initialization");
|
|
162
162
|
return fe;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
164
|
+
function er(e) {
|
|
165
|
+
Kn().$$.on_mount.push(e);
|
|
166
166
|
}
|
|
167
167
|
const q = [], He = [];
|
|
168
168
|
let K = [];
|
|
169
|
-
const
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
|
|
169
|
+
const mt = [], Xt = /* @__PURE__ */ Promise.resolve();
|
|
170
|
+
let je = !1;
|
|
171
|
+
function zt() {
|
|
172
|
+
je || (je = !0, Xt.then(O));
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
return
|
|
174
|
+
function tr() {
|
|
175
|
+
return zt(), Xt;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function ke(e) {
|
|
178
178
|
K.push(e);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const Le = /* @__PURE__ */ new Set();
|
|
181
181
|
let Q = 0;
|
|
182
|
-
function
|
|
182
|
+
function O() {
|
|
183
183
|
if (Q !== 0)
|
|
184
184
|
return;
|
|
185
185
|
const e = fe;
|
|
@@ -187,7 +187,7 @@ function I() {
|
|
|
187
187
|
try {
|
|
188
188
|
for (; Q < q.length; ) {
|
|
189
189
|
const t = q[Q];
|
|
190
|
-
Q++, he(t),
|
|
190
|
+
Q++, he(t), nr(t.$$);
|
|
191
191
|
}
|
|
192
192
|
} catch (t) {
|
|
193
193
|
throw q.length = 0, Q = 0, t;
|
|
@@ -195,29 +195,29 @@ function I() {
|
|
|
195
195
|
for (he(null), q.length = 0, Q = 0; He.length; )
|
|
196
196
|
He.pop()();
|
|
197
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
198
|
-
const
|
|
199
|
-
|
|
198
|
+
const n = K[t];
|
|
199
|
+
Le.has(n) || (Le.add(n), n());
|
|
200
200
|
}
|
|
201
201
|
K.length = 0;
|
|
202
202
|
} while (q.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
for (; mt.length; )
|
|
204
|
+
mt.pop()();
|
|
205
|
+
je = !1, Le.clear(), he(e);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function nr(e) {
|
|
208
208
|
if (e.fragment !== null) {
|
|
209
209
|
e.update(), z(e.before_update);
|
|
210
210
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
211
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
const t = [],
|
|
216
|
-
K.forEach((
|
|
214
|
+
function rr(e) {
|
|
215
|
+
const t = [], n = [];
|
|
216
|
+
K.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), K = t;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const xe = /* @__PURE__ */ new Set();
|
|
219
219
|
let W;
|
|
220
|
-
function
|
|
220
|
+
function ir() {
|
|
221
221
|
W = {
|
|
222
222
|
r: 0,
|
|
223
223
|
c: [],
|
|
@@ -225,40 +225,40 @@ function sn() {
|
|
|
225
225
|
// parent group
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function or() {
|
|
229
229
|
W.r || z(W.c), W = W.p;
|
|
230
230
|
}
|
|
231
231
|
function ce(e, t) {
|
|
232
|
-
e && e.i && (
|
|
232
|
+
e && e.i && (xe.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ve(e, t, n, r) {
|
|
235
235
|
if (e && e.o) {
|
|
236
|
-
if (
|
|
236
|
+
if (xe.has(e))
|
|
237
237
|
return;
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
xe.add(e), W.c.push(() => {
|
|
239
|
+
xe.delete(e), r && (n && e.d(1), r());
|
|
240
240
|
}), e.o(t);
|
|
241
241
|
} else
|
|
242
|
-
|
|
242
|
+
r && r();
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function pt(e) {
|
|
245
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
const { fragment:
|
|
249
|
-
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
247
|
+
function ar(e, t, n) {
|
|
248
|
+
const { fragment: r, after_update: i } = e.$$;
|
|
249
|
+
r && r.m(t, n), ke(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(jt).filter(it);
|
|
251
251
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
252
|
-
}), i.forEach(
|
|
252
|
+
}), i.forEach(ke);
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
const
|
|
256
|
-
|
|
254
|
+
function sr(e, t) {
|
|
255
|
+
const n = e.$$;
|
|
256
|
+
n.fragment !== null && (rr(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function ur(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function lr(e, t, n, r, i, o, a = null, s = [-1]) {
|
|
262
262
|
const h = fe;
|
|
263
263
|
he(e);
|
|
264
264
|
const l = e.$$ = {
|
|
@@ -266,9 +266,9 @@ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
266
266
|
ctx: [],
|
|
267
267
|
// state
|
|
268
268
|
props: o,
|
|
269
|
-
update:
|
|
269
|
+
update: L,
|
|
270
270
|
not_equal: i,
|
|
271
|
-
bound:
|
|
271
|
+
bound: ct(),
|
|
272
272
|
// lifecycle
|
|
273
273
|
on_mount: [],
|
|
274
274
|
on_destroy: [],
|
|
@@ -277,28 +277,28 @@ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
277
|
after_update: [],
|
|
278
278
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
279
279
|
// everything else
|
|
280
|
-
callbacks:
|
|
280
|
+
callbacks: ct(),
|
|
281
281
|
dirty: s,
|
|
282
282
|
skip_bound: !1,
|
|
283
283
|
root: t.target || h.$$.root
|
|
284
284
|
};
|
|
285
285
|
a && a(l.root);
|
|
286
286
|
let u = !1;
|
|
287
|
-
if (l.ctx =
|
|
288
|
-
const
|
|
289
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] =
|
|
290
|
-
})
|
|
287
|
+
if (l.ctx = n(e, t.props || {}, (f, c, ...d) => {
|
|
288
|
+
const m = d.length ? d[0] : c;
|
|
289
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && ur(e, f)), c;
|
|
290
|
+
}), l.update(), u = !0, z(l.before_update), l.fragment = r(l.ctx), t.target) {
|
|
291
291
|
if (t.hydrate) {
|
|
292
|
-
const f =
|
|
292
|
+
const f = Yn(t.target);
|
|
293
293
|
l.fragment && l.fragment.l(f), f.forEach(R);
|
|
294
294
|
} else
|
|
295
295
|
l.fragment && l.fragment.c();
|
|
296
|
-
t.intro && ce(e.$$.fragment),
|
|
296
|
+
t.intro && ce(e.$$.fragment), ar(e, t.target, t.anchor), O();
|
|
297
297
|
}
|
|
298
298
|
he(h);
|
|
299
299
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let Jt;
|
|
301
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
302
302
|
/** The Svelte component constructor */
|
|
303
303
|
$$ctor;
|
|
304
304
|
/** Slots */
|
|
@@ -317,20 +317,20 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
317
317
|
$$l = {};
|
|
318
318
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
319
319
|
$$l_u = /* @__PURE__ */ new Map();
|
|
320
|
-
constructor(e, t,
|
|
321
|
-
super(), this.$$ctor = e, this.$$s = t,
|
|
320
|
+
constructor(e, t, n) {
|
|
321
|
+
super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
|
|
322
322
|
}
|
|
323
|
-
addEventListener(e, t,
|
|
323
|
+
addEventListener(e, t, n) {
|
|
324
324
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
325
|
-
const
|
|
326
|
-
this.$$l_u.set(t,
|
|
325
|
+
const r = this.$$c.$on(e, t);
|
|
326
|
+
this.$$l_u.set(t, r);
|
|
327
327
|
}
|
|
328
|
-
super.addEventListener(e, t,
|
|
328
|
+
super.addEventListener(e, t, n);
|
|
329
329
|
}
|
|
330
|
-
removeEventListener(e, t,
|
|
331
|
-
if (super.removeEventListener(e, t,
|
|
332
|
-
const
|
|
333
|
-
|
|
330
|
+
removeEventListener(e, t, n) {
|
|
331
|
+
if (super.removeEventListener(e, t, n), this.$$c) {
|
|
332
|
+
const r = this.$$l_u.get(t);
|
|
333
|
+
r && (r(), this.$$l_u.delete(t));
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
async connectedCallback() {
|
|
@@ -347,7 +347,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
347
347
|
* @param {HTMLElement} [anchor]
|
|
348
348
|
*/
|
|
349
349
|
m: function(h, l) {
|
|
350
|
-
|
|
350
|
+
I(h, o, l);
|
|
351
351
|
},
|
|
352
352
|
d: function(h) {
|
|
353
353
|
h && R(o);
|
|
@@ -357,12 +357,12 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
357
357
|
};
|
|
358
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
359
|
return;
|
|
360
|
-
const t = {},
|
|
360
|
+
const t = {}, n = qn(this);
|
|
361
361
|
for (const i of this.$$s)
|
|
362
|
-
i in
|
|
362
|
+
i in n && (t[i] = [e(i)]);
|
|
363
363
|
for (const i of this.attributes) {
|
|
364
364
|
const o = this.$$g_p(i.name);
|
|
365
|
-
o in this.$$d || (this.$$d[o] =
|
|
365
|
+
o in this.$$d || (this.$$d[o] = ve(o, i.value, this.$$p_d, "toProp"));
|
|
366
366
|
}
|
|
367
367
|
for (const i in this.$$p_d)
|
|
368
368
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -376,11 +376,11 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
const
|
|
379
|
+
const r = () => {
|
|
380
380
|
this.$$r = !0;
|
|
381
381
|
for (const i in this.$$p_d)
|
|
382
382
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
383
|
-
const o =
|
|
383
|
+
const o = ve(
|
|
384
384
|
i,
|
|
385
385
|
this.$$d[i],
|
|
386
386
|
this.$$p_d,
|
|
@@ -390,7 +390,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
390
390
|
}
|
|
391
391
|
this.$$r = !1;
|
|
392
392
|
};
|
|
393
|
-
this.$$c.$$.after_update.push(
|
|
393
|
+
this.$$c.$$.after_update.push(r), r();
|
|
394
394
|
for (const i in this.$$l)
|
|
395
395
|
for (const o of this.$$l[i]) {
|
|
396
396
|
const a = this.$$c.$on(i, o);
|
|
@@ -401,8 +401,8 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
401
401
|
}
|
|
402
402
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
403
403
|
// and setting attributes through setAttribute etc, this is helpful
|
|
404
|
-
attributeChangedCallback(e, t,
|
|
405
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
404
|
+
attributeChangedCallback(e, t, n) {
|
|
405
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
406
406
|
}
|
|
407
407
|
disconnectedCallback() {
|
|
408
408
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -415,11 +415,11 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
415
415
|
) || e;
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
|
-
function
|
|
419
|
-
const i =
|
|
420
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
418
|
+
function ve(e, t, n, r) {
|
|
419
|
+
const i = n[e]?.type;
|
|
420
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
421
421
|
return t;
|
|
422
|
-
if (
|
|
422
|
+
if (r === "toAttribute")
|
|
423
423
|
switch (i) {
|
|
424
424
|
case "Object":
|
|
425
425
|
case "Array":
|
|
@@ -444,10 +444,10 @@ function xe(e, t, r, n) {
|
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
447
|
+
function hr(e, t, n, r, i, o) {
|
|
448
|
+
let a = class extends Jt {
|
|
449
449
|
constructor() {
|
|
450
|
-
super(e,
|
|
450
|
+
super(e, n, i), this.$$p_d = t;
|
|
451
451
|
}
|
|
452
452
|
static get observedAttributes() {
|
|
453
453
|
return Object.keys(t).map(
|
|
@@ -461,10 +461,10 @@ function mn(e, t, r, n, i, o) {
|
|
|
461
461
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
462
462
|
},
|
|
463
463
|
set(h) {
|
|
464
|
-
h =
|
|
464
|
+
h = ve(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
|
-
}),
|
|
467
|
+
}), r.forEach((s) => {
|
|
468
468
|
Object.defineProperty(a.prototype, s, {
|
|
469
469
|
get() {
|
|
470
470
|
return this.$$c?.[s];
|
|
@@ -473,7 +473,7 @@ function mn(e, t, r, n, i, o) {
|
|
|
473
473
|
}), e.element = /** @type {any} */
|
|
474
474
|
a, a;
|
|
475
475
|
}
|
|
476
|
-
class
|
|
476
|
+
class cr {
|
|
477
477
|
/**
|
|
478
478
|
* ### PRIVATE API
|
|
479
479
|
*
|
|
@@ -492,7 +492,7 @@ class dn {
|
|
|
492
492
|
$$set = void 0;
|
|
493
493
|
/** @returns {void} */
|
|
494
494
|
$destroy() {
|
|
495
|
-
|
|
495
|
+
sr(this, 1), this.$destroy = L;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -500,13 +500,13 @@ class dn {
|
|
|
500
500
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
501
501
|
* @returns {() => void}
|
|
502
502
|
*/
|
|
503
|
-
$on(t,
|
|
504
|
-
if (!
|
|
505
|
-
return
|
|
506
|
-
const
|
|
507
|
-
return
|
|
508
|
-
const i =
|
|
509
|
-
i !== -1 &&
|
|
503
|
+
$on(t, n) {
|
|
504
|
+
if (!it(n))
|
|
505
|
+
return L;
|
|
506
|
+
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
507
|
+
return r.push(n), () => {
|
|
508
|
+
const i = r.indexOf(n);
|
|
509
|
+
i !== -1 && r.splice(i, 1);
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
512
|
/**
|
|
@@ -514,11 +514,11 @@ class dn {
|
|
|
514
514
|
* @returns {void}
|
|
515
515
|
*/
|
|
516
516
|
$set(t) {
|
|
517
|
-
this.$$set &&
|
|
517
|
+
this.$$set && !$n(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
+
const fr = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
|
|
522
522
|
/*! *****************************************************************************
|
|
523
523
|
Copyright (c) Microsoft Corporation.
|
|
524
524
|
|
|
@@ -533,67 +533,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
533
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
534
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
535
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
538
|
-
|
|
539
|
-
} || function(
|
|
540
|
-
for (var i in
|
|
541
|
-
Object.prototype.hasOwnProperty.call(
|
|
542
|
-
},
|
|
536
|
+
var We = function(e, t) {
|
|
537
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
538
|
+
n.__proto__ = r;
|
|
539
|
+
} || function(n, r) {
|
|
540
|
+
for (var i in r)
|
|
541
|
+
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
542
|
+
}, We(e, t);
|
|
543
543
|
};
|
|
544
544
|
function D(e, t) {
|
|
545
545
|
if (typeof t != "function" && t !== null)
|
|
546
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
548
|
-
function
|
|
547
|
+
We(e, t);
|
|
548
|
+
function n() {
|
|
549
549
|
this.constructor = e;
|
|
550
550
|
}
|
|
551
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
552
|
-
}
|
|
553
|
-
var
|
|
554
|
-
return
|
|
555
|
-
for (var
|
|
556
|
-
|
|
557
|
-
for (var o in
|
|
558
|
-
Object.prototype.hasOwnProperty.call(
|
|
551
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
552
|
+
}
|
|
553
|
+
var x = function() {
|
|
554
|
+
return x = Object.assign || function(t) {
|
|
555
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
556
|
+
n = arguments[r];
|
|
557
|
+
for (var o in n)
|
|
558
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
559
559
|
}
|
|
560
560
|
return t;
|
|
561
|
-
},
|
|
561
|
+
}, x.apply(this, arguments);
|
|
562
562
|
};
|
|
563
|
-
function
|
|
564
|
-
var
|
|
565
|
-
for (var
|
|
566
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
563
|
+
function dr(e, t) {
|
|
564
|
+
var n = {};
|
|
565
|
+
for (var r in e)
|
|
566
|
+
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
567
567
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
568
|
-
for (var i = 0,
|
|
569
|
-
t.indexOf(
|
|
570
|
-
return
|
|
568
|
+
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
569
|
+
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
570
|
+
return n;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
574
|
-
if (
|
|
575
|
-
return
|
|
572
|
+
function Xe(e) {
|
|
573
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
574
|
+
if (n)
|
|
575
|
+
return n.call(e);
|
|
576
576
|
if (e && typeof e.length == "number")
|
|
577
577
|
return {
|
|
578
578
|
next: function() {
|
|
579
|
-
return e &&
|
|
579
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
580
580
|
}
|
|
581
581
|
};
|
|
582
582
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
583
583
|
}
|
|
584
|
-
function
|
|
585
|
-
var
|
|
586
|
-
if (!
|
|
584
|
+
function ze(e, t) {
|
|
585
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
586
|
+
if (!n)
|
|
587
587
|
return e;
|
|
588
|
-
var
|
|
588
|
+
var r = n.call(e), i, o = [], a;
|
|
589
589
|
try {
|
|
590
|
-
for (; (t === void 0 || t-- > 0) && !(i =
|
|
590
|
+
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
591
591
|
o.push(i.value);
|
|
592
592
|
} catch (s) {
|
|
593
593
|
a = { error: s };
|
|
594
594
|
} finally {
|
|
595
595
|
try {
|
|
596
|
-
i && !i.done && (
|
|
596
|
+
i && !i.done && (n = r.return) && n.call(r);
|
|
597
597
|
} finally {
|
|
598
598
|
if (a)
|
|
599
599
|
throw a.error;
|
|
@@ -601,34 +601,34 @@ function Je(e, t) {
|
|
|
601
601
|
}
|
|
602
602
|
return o;
|
|
603
603
|
}
|
|
604
|
-
function ee(e, t,
|
|
605
|
-
if (
|
|
606
|
-
for (var
|
|
607
|
-
(o || !(
|
|
604
|
+
function ee(e, t, n) {
|
|
605
|
+
if (n || arguments.length === 2)
|
|
606
|
+
for (var r = 0, i = t.length, o; r < i; r++)
|
|
607
|
+
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
608
608
|
return e.concat(o || t);
|
|
609
609
|
}
|
|
610
610
|
function F(e) {
|
|
611
611
|
return typeof e == "function";
|
|
612
612
|
}
|
|
613
|
-
function
|
|
614
|
-
var t = function(
|
|
615
|
-
Error.call(
|
|
616
|
-
},
|
|
617
|
-
return
|
|
618
|
-
}
|
|
619
|
-
var Ce =
|
|
620
|
-
return function(
|
|
621
|
-
e(this), this.message =
|
|
622
|
-
` +
|
|
623
|
-
return i + 1 + ") " +
|
|
613
|
+
function Zt(e) {
|
|
614
|
+
var t = function(r) {
|
|
615
|
+
Error.call(r), r.stack = new Error().stack;
|
|
616
|
+
}, n = e(t);
|
|
617
|
+
return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
|
|
618
|
+
}
|
|
619
|
+
var Ce = Zt(function(e) {
|
|
620
|
+
return function(n) {
|
|
621
|
+
e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
|
|
622
|
+
` + n.map(function(r, i) {
|
|
623
|
+
return i + 1 + ") " + r.toString();
|
|
624
624
|
}).join(`
|
|
625
|
-
`) : "", this.name = "UnsubscriptionError", this.errors =
|
|
625
|
+
`) : "", this.name = "UnsubscriptionError", this.errors = n;
|
|
626
626
|
};
|
|
627
627
|
});
|
|
628
|
-
function
|
|
628
|
+
function Je(e, t) {
|
|
629
629
|
if (e) {
|
|
630
|
-
var
|
|
631
|
-
0 <=
|
|
630
|
+
var n = e.indexOf(t);
|
|
631
|
+
0 <= n && e.splice(n, 1);
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
var Pe = function() {
|
|
@@ -636,14 +636,14 @@ var Pe = function() {
|
|
|
636
636
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
637
637
|
}
|
|
638
638
|
return e.prototype.unsubscribe = function() {
|
|
639
|
-
var t,
|
|
639
|
+
var t, n, r, i, o;
|
|
640
640
|
if (!this.closed) {
|
|
641
641
|
this.closed = !0;
|
|
642
642
|
var a = this._parentage;
|
|
643
643
|
if (a)
|
|
644
644
|
if (this._parentage = null, Array.isArray(a))
|
|
645
645
|
try {
|
|
646
|
-
for (var s =
|
|
646
|
+
for (var s = Xe(a), h = s.next(); !h.done; h = s.next()) {
|
|
647
647
|
var l = h.value;
|
|
648
648
|
l.remove(this);
|
|
649
649
|
}
|
|
@@ -651,7 +651,7 @@ var Pe = function() {
|
|
|
651
651
|
t = { error: p };
|
|
652
652
|
} finally {
|
|
653
653
|
try {
|
|
654
|
-
h && !h.done && (
|
|
654
|
+
h && !h.done && (n = s.return) && n.call(s);
|
|
655
655
|
} finally {
|
|
656
656
|
if (t)
|
|
657
657
|
throw t.error;
|
|
@@ -670,22 +670,22 @@ var Pe = function() {
|
|
|
670
670
|
if (f) {
|
|
671
671
|
this._finalizers = null;
|
|
672
672
|
try {
|
|
673
|
-
for (var c =
|
|
674
|
-
var
|
|
673
|
+
for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
|
|
674
|
+
var m = d.value;
|
|
675
675
|
try {
|
|
676
|
-
|
|
676
|
+
bt(m);
|
|
677
677
|
} catch (p) {
|
|
678
|
-
o = o ?? [], p instanceof Ce ? o = ee(ee([],
|
|
678
|
+
o = o ?? [], p instanceof Ce ? o = ee(ee([], ze(o)), ze(p.errors)) : o.push(p);
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
} catch (p) {
|
|
682
|
-
|
|
682
|
+
r = { error: p };
|
|
683
683
|
} finally {
|
|
684
684
|
try {
|
|
685
|
-
|
|
685
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
686
686
|
} finally {
|
|
687
|
-
if (
|
|
688
|
-
throw
|
|
687
|
+
if (r)
|
|
688
|
+
throw r.error;
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
}
|
|
@@ -693,89 +693,89 @@ var Pe = function() {
|
|
|
693
693
|
throw new Ce(o);
|
|
694
694
|
}
|
|
695
695
|
}, e.prototype.add = function(t) {
|
|
696
|
-
var
|
|
696
|
+
var n;
|
|
697
697
|
if (t && t !== this)
|
|
698
698
|
if (this.closed)
|
|
699
|
-
|
|
699
|
+
bt(t);
|
|
700
700
|
else {
|
|
701
701
|
if (t instanceof e) {
|
|
702
702
|
if (t.closed || t._hasParent(this))
|
|
703
703
|
return;
|
|
704
704
|
t._addParent(this);
|
|
705
705
|
}
|
|
706
|
-
(this._finalizers = (
|
|
706
|
+
(this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
|
|
707
707
|
}
|
|
708
708
|
}, e.prototype._hasParent = function(t) {
|
|
709
|
-
var
|
|
710
|
-
return
|
|
709
|
+
var n = this._parentage;
|
|
710
|
+
return n === t || Array.isArray(n) && n.includes(t);
|
|
711
711
|
}, e.prototype._addParent = function(t) {
|
|
712
|
-
var
|
|
713
|
-
this._parentage = Array.isArray(
|
|
712
|
+
var n = this._parentage;
|
|
713
|
+
this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
|
|
714
714
|
}, e.prototype._removeParent = function(t) {
|
|
715
|
-
var
|
|
716
|
-
|
|
715
|
+
var n = this._parentage;
|
|
716
|
+
n === t ? this._parentage = null : Array.isArray(n) && Je(n, t);
|
|
717
717
|
}, e.prototype.remove = function(t) {
|
|
718
|
-
var
|
|
719
|
-
|
|
718
|
+
var n = this._finalizers;
|
|
719
|
+
n && Je(n, t), t instanceof e && t._removeParent(this);
|
|
720
720
|
}, e.EMPTY = function() {
|
|
721
721
|
var t = new e();
|
|
722
722
|
return t.closed = !0, t;
|
|
723
723
|
}(), e;
|
|
724
|
-
}(),
|
|
725
|
-
function
|
|
724
|
+
}(), Qt = Pe.EMPTY;
|
|
725
|
+
function Yt(e) {
|
|
726
726
|
return e instanceof Pe || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function bt(e) {
|
|
729
729
|
F(e) ? e() : e.unsubscribe();
|
|
730
730
|
}
|
|
731
|
-
var
|
|
731
|
+
var mr = {
|
|
732
732
|
onUnhandledError: null,
|
|
733
733
|
onStoppedNotification: null,
|
|
734
734
|
Promise: void 0,
|
|
735
735
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
736
736
|
useDeprecatedNextContext: !1
|
|
737
|
-
},
|
|
737
|
+
}, pr = {
|
|
738
738
|
setTimeout: function(e, t) {
|
|
739
|
-
for (var
|
|
740
|
-
r
|
|
741
|
-
return setTimeout.apply(void 0, ee([e, t],
|
|
739
|
+
for (var n = [], r = 2; r < arguments.length; r++)
|
|
740
|
+
n[r - 2] = arguments[r];
|
|
741
|
+
return setTimeout.apply(void 0, ee([e, t], ze(n)));
|
|
742
742
|
},
|
|
743
743
|
clearTimeout: function(e) {
|
|
744
744
|
return clearTimeout(e);
|
|
745
745
|
},
|
|
746
746
|
delegate: void 0
|
|
747
747
|
};
|
|
748
|
-
function
|
|
749
|
-
|
|
748
|
+
function br(e) {
|
|
749
|
+
pr.setTimeout(function() {
|
|
750
750
|
throw e;
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function gt() {
|
|
754
754
|
}
|
|
755
755
|
function Ee(e) {
|
|
756
756
|
e();
|
|
757
757
|
}
|
|
758
|
-
var
|
|
758
|
+
var qt = function(e) {
|
|
759
759
|
D(t, e);
|
|
760
|
-
function t(
|
|
761
|
-
var
|
|
762
|
-
return
|
|
760
|
+
function t(n) {
|
|
761
|
+
var r = e.call(this) || this;
|
|
762
|
+
return r.isStopped = !1, n ? (r.destination = n, Yt(n) && n.add(r)) : r.destination = _r, r;
|
|
763
763
|
}
|
|
764
|
-
return t.create = function(
|
|
765
|
-
return new
|
|
766
|
-
}, t.prototype.next = function(
|
|
767
|
-
this.isStopped || this._next(
|
|
768
|
-
}, t.prototype.error = function(
|
|
769
|
-
this.isStopped || (this.isStopped = !0, this._error(
|
|
764
|
+
return t.create = function(n, r, i) {
|
|
765
|
+
return new Ze(n, r, i);
|
|
766
|
+
}, t.prototype.next = function(n) {
|
|
767
|
+
this.isStopped || this._next(n);
|
|
768
|
+
}, t.prototype.error = function(n) {
|
|
769
|
+
this.isStopped || (this.isStopped = !0, this._error(n));
|
|
770
770
|
}, t.prototype.complete = function() {
|
|
771
771
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
772
772
|
}, t.prototype.unsubscribe = function() {
|
|
773
773
|
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
774
|
-
}, t.prototype._next = function(
|
|
775
|
-
this.destination.next(
|
|
776
|
-
}, t.prototype._error = function(
|
|
774
|
+
}, t.prototype._next = function(n) {
|
|
775
|
+
this.destination.next(n);
|
|
776
|
+
}, t.prototype._error = function(n) {
|
|
777
777
|
try {
|
|
778
|
-
this.destination.error(
|
|
778
|
+
this.destination.error(n);
|
|
779
779
|
} finally {
|
|
780
780
|
this.unsubscribe();
|
|
781
781
|
}
|
|
@@ -786,29 +786,25 @@ var tr = function(e) {
|
|
|
786
786
|
this.unsubscribe();
|
|
787
787
|
}
|
|
788
788
|
}, t;
|
|
789
|
-
}(Pe),
|
|
790
|
-
function Ge(e, t) {
|
|
791
|
-
return vn.call(e, t);
|
|
792
|
-
}
|
|
793
|
-
var _n = function() {
|
|
789
|
+
}(Pe), gr = function() {
|
|
794
790
|
function e(t) {
|
|
795
791
|
this.partialObserver = t;
|
|
796
792
|
}
|
|
797
793
|
return e.prototype.next = function(t) {
|
|
798
|
-
var
|
|
799
|
-
if (
|
|
794
|
+
var n = this.partialObserver;
|
|
795
|
+
if (n.next)
|
|
800
796
|
try {
|
|
801
|
-
|
|
802
|
-
} catch (
|
|
803
|
-
ye(
|
|
797
|
+
n.next(t);
|
|
798
|
+
} catch (r) {
|
|
799
|
+
ye(r);
|
|
804
800
|
}
|
|
805
801
|
}, e.prototype.error = function(t) {
|
|
806
|
-
var
|
|
807
|
-
if (
|
|
802
|
+
var n = this.partialObserver;
|
|
803
|
+
if (n.error)
|
|
808
804
|
try {
|
|
809
|
-
|
|
810
|
-
} catch (
|
|
811
|
-
ye(
|
|
805
|
+
n.error(t);
|
|
806
|
+
} catch (r) {
|
|
807
|
+
ye(r);
|
|
812
808
|
}
|
|
813
809
|
else
|
|
814
810
|
ye(t);
|
|
@@ -817,67 +813,55 @@ var _n = function() {
|
|
|
817
813
|
if (t.complete)
|
|
818
814
|
try {
|
|
819
815
|
t.complete();
|
|
820
|
-
} catch (
|
|
821
|
-
ye(
|
|
816
|
+
} catch (n) {
|
|
817
|
+
ye(n);
|
|
822
818
|
}
|
|
823
819
|
}, e;
|
|
824
|
-
}(),
|
|
820
|
+
}(), Ze = function(e) {
|
|
825
821
|
D(t, e);
|
|
826
|
-
function t(
|
|
822
|
+
function t(n, r, i) {
|
|
827
823
|
var o = e.call(this) || this, a;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
};
|
|
834
|
-
else {
|
|
835
|
-
var s;
|
|
836
|
-
o && er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
837
|
-
return o.unsubscribe();
|
|
838
|
-
}, a = {
|
|
839
|
-
next: r.next && Ge(r.next, s),
|
|
840
|
-
error: r.error && Ge(r.error, s),
|
|
841
|
-
complete: r.complete && Ge(r.complete, s)
|
|
842
|
-
}) : a = r;
|
|
843
|
-
}
|
|
844
|
-
return o.destination = new _n(a), o;
|
|
824
|
+
return F(n) || !n ? a = {
|
|
825
|
+
next: n ?? void 0,
|
|
826
|
+
error: r ?? void 0,
|
|
827
|
+
complete: i ?? void 0
|
|
828
|
+
} : a = n, o.destination = new gr(a), o;
|
|
845
829
|
}
|
|
846
830
|
return t;
|
|
847
|
-
}(
|
|
831
|
+
}(qt);
|
|
848
832
|
function ye(e) {
|
|
849
|
-
|
|
833
|
+
br(e);
|
|
850
834
|
}
|
|
851
|
-
function
|
|
835
|
+
function yr(e) {
|
|
852
836
|
throw e;
|
|
853
837
|
}
|
|
854
|
-
var
|
|
838
|
+
var _r = {
|
|
855
839
|
closed: !0,
|
|
856
|
-
next:
|
|
857
|
-
error:
|
|
858
|
-
complete:
|
|
859
|
-
},
|
|
840
|
+
next: gt,
|
|
841
|
+
error: yr,
|
|
842
|
+
complete: gt
|
|
843
|
+
}, xr = function() {
|
|
860
844
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
861
845
|
}();
|
|
862
|
-
function
|
|
846
|
+
function vr(e) {
|
|
863
847
|
return e;
|
|
864
848
|
}
|
|
865
|
-
function
|
|
866
|
-
return e.length === 0 ?
|
|
867
|
-
return e.reduce(function(
|
|
868
|
-
return i(
|
|
869
|
-
},
|
|
849
|
+
function Er(e) {
|
|
850
|
+
return e.length === 0 ? vr : e.length === 1 ? e[0] : function(n) {
|
|
851
|
+
return e.reduce(function(r, i) {
|
|
852
|
+
return i(r);
|
|
853
|
+
}, n);
|
|
870
854
|
};
|
|
871
855
|
}
|
|
872
|
-
var
|
|
856
|
+
var yt = function() {
|
|
873
857
|
function e(t) {
|
|
874
858
|
t && (this._subscribe = t);
|
|
875
859
|
}
|
|
876
860
|
return e.prototype.lift = function(t) {
|
|
877
|
-
var
|
|
878
|
-
return
|
|
879
|
-
}, e.prototype.subscribe = function(t,
|
|
880
|
-
var i = this, o =
|
|
861
|
+
var n = new e();
|
|
862
|
+
return n.source = this, n.operator = t, n;
|
|
863
|
+
}, e.prototype.subscribe = function(t, n, r) {
|
|
864
|
+
var i = this, o = Sr(t) ? t : new Ze(t, n, r);
|
|
881
865
|
return Ee(function() {
|
|
882
866
|
var a = i, s = a.operator, h = a.source;
|
|
883
867
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -885,13 +869,13 @@ var _t = function() {
|
|
|
885
869
|
}, e.prototype._trySubscribe = function(t) {
|
|
886
870
|
try {
|
|
887
871
|
return this._subscribe(t);
|
|
888
|
-
} catch (
|
|
889
|
-
t.error(
|
|
872
|
+
} catch (n) {
|
|
873
|
+
t.error(n);
|
|
890
874
|
}
|
|
891
|
-
}, e.prototype.forEach = function(t,
|
|
892
|
-
var
|
|
893
|
-
return
|
|
894
|
-
var a = new
|
|
875
|
+
}, e.prototype.forEach = function(t, n) {
|
|
876
|
+
var r = this;
|
|
877
|
+
return n = _t(n), new n(function(i, o) {
|
|
878
|
+
var a = new Ze({
|
|
895
879
|
next: function(s) {
|
|
896
880
|
try {
|
|
897
881
|
t(s);
|
|
@@ -902,69 +886,69 @@ var _t = function() {
|
|
|
902
886
|
error: o,
|
|
903
887
|
complete: i
|
|
904
888
|
});
|
|
905
|
-
|
|
889
|
+
r.subscribe(a);
|
|
906
890
|
});
|
|
907
891
|
}, e.prototype._subscribe = function(t) {
|
|
908
|
-
var
|
|
909
|
-
return (
|
|
910
|
-
}, e.prototype[
|
|
892
|
+
var n;
|
|
893
|
+
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
|
|
894
|
+
}, e.prototype[xr] = function() {
|
|
911
895
|
return this;
|
|
912
896
|
}, e.prototype.pipe = function() {
|
|
913
|
-
for (var t = [],
|
|
914
|
-
t[
|
|
915
|
-
return
|
|
897
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
898
|
+
t[n] = arguments[n];
|
|
899
|
+
return Er(t)(this);
|
|
916
900
|
}, e.prototype.toPromise = function(t) {
|
|
917
|
-
var
|
|
918
|
-
return t =
|
|
901
|
+
var n = this;
|
|
902
|
+
return t = _t(t), new t(function(r, i) {
|
|
919
903
|
var o;
|
|
920
|
-
|
|
904
|
+
n.subscribe(function(a) {
|
|
921
905
|
return o = a;
|
|
922
906
|
}, function(a) {
|
|
923
907
|
return i(a);
|
|
924
908
|
}, function() {
|
|
925
|
-
return
|
|
909
|
+
return r(o);
|
|
926
910
|
});
|
|
927
911
|
});
|
|
928
912
|
}, e.create = function(t) {
|
|
929
913
|
return new e(t);
|
|
930
914
|
}, e;
|
|
931
915
|
}();
|
|
932
|
-
function
|
|
916
|
+
function _t(e) {
|
|
933
917
|
var t;
|
|
934
|
-
return (t = e ??
|
|
918
|
+
return (t = e ?? mr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
935
919
|
}
|
|
936
|
-
function
|
|
920
|
+
function wr(e) {
|
|
937
921
|
return e && F(e.next) && F(e.error) && F(e.complete);
|
|
938
922
|
}
|
|
939
|
-
function
|
|
940
|
-
return e && e instanceof
|
|
923
|
+
function Sr(e) {
|
|
924
|
+
return e && e instanceof qt || wr(e) && Yt(e);
|
|
941
925
|
}
|
|
942
|
-
var
|
|
926
|
+
var Tr = Zt(function(e) {
|
|
943
927
|
return function() {
|
|
944
928
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
945
929
|
};
|
|
946
|
-
}),
|
|
930
|
+
}), Kt = function(e) {
|
|
947
931
|
D(t, e);
|
|
948
932
|
function t() {
|
|
949
|
-
var
|
|
950
|
-
return
|
|
933
|
+
var n = e.call(this) || this;
|
|
934
|
+
return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
|
|
951
935
|
}
|
|
952
|
-
return t.prototype.lift = function(
|
|
953
|
-
var
|
|
954
|
-
return
|
|
936
|
+
return t.prototype.lift = function(n) {
|
|
937
|
+
var r = new xt(this, this);
|
|
938
|
+
return r.operator = n, r;
|
|
955
939
|
}, t.prototype._throwIfClosed = function() {
|
|
956
940
|
if (this.closed)
|
|
957
|
-
throw new
|
|
958
|
-
}, t.prototype.next = function(
|
|
959
|
-
var
|
|
941
|
+
throw new Tr();
|
|
942
|
+
}, t.prototype.next = function(n) {
|
|
943
|
+
var r = this;
|
|
960
944
|
Ee(function() {
|
|
961
945
|
var i, o;
|
|
962
|
-
if (
|
|
963
|
-
|
|
946
|
+
if (r._throwIfClosed(), !r.isStopped) {
|
|
947
|
+
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
964
948
|
try {
|
|
965
|
-
for (var a =
|
|
949
|
+
for (var a = Xe(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
966
950
|
var h = s.value;
|
|
967
|
-
h.next(
|
|
951
|
+
h.next(n);
|
|
968
952
|
}
|
|
969
953
|
} catch (l) {
|
|
970
954
|
i = { error: l };
|
|
@@ -978,118 +962,118 @@ var An = Yt(function(e) {
|
|
|
978
962
|
}
|
|
979
963
|
}
|
|
980
964
|
});
|
|
981
|
-
}, t.prototype.error = function(
|
|
982
|
-
var
|
|
965
|
+
}, t.prototype.error = function(n) {
|
|
966
|
+
var r = this;
|
|
983
967
|
Ee(function() {
|
|
984
|
-
if (
|
|
985
|
-
|
|
986
|
-
for (var i =
|
|
987
|
-
i.shift().error(
|
|
968
|
+
if (r._throwIfClosed(), !r.isStopped) {
|
|
969
|
+
r.hasError = r.isStopped = !0, r.thrownError = n;
|
|
970
|
+
for (var i = r.observers; i.length; )
|
|
971
|
+
i.shift().error(n);
|
|
988
972
|
}
|
|
989
973
|
});
|
|
990
974
|
}, t.prototype.complete = function() {
|
|
991
|
-
var
|
|
975
|
+
var n = this;
|
|
992
976
|
Ee(function() {
|
|
993
|
-
if (
|
|
994
|
-
|
|
995
|
-
for (var
|
|
996
|
-
|
|
977
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
978
|
+
n.isStopped = !0;
|
|
979
|
+
for (var r = n.observers; r.length; )
|
|
980
|
+
r.shift().complete();
|
|
997
981
|
}
|
|
998
982
|
});
|
|
999
983
|
}, t.prototype.unsubscribe = function() {
|
|
1000
984
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
1001
985
|
}, Object.defineProperty(t.prototype, "observed", {
|
|
1002
986
|
get: function() {
|
|
1003
|
-
var
|
|
1004
|
-
return ((
|
|
987
|
+
var n;
|
|
988
|
+
return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
|
|
1005
989
|
},
|
|
1006
990
|
enumerable: !1,
|
|
1007
991
|
configurable: !0
|
|
1008
|
-
}), t.prototype._trySubscribe = function(
|
|
1009
|
-
return this._throwIfClosed(), e.prototype._trySubscribe.call(this,
|
|
1010
|
-
}, t.prototype._subscribe = function(
|
|
1011
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(
|
|
1012
|
-
}, t.prototype._innerSubscribe = function(
|
|
1013
|
-
var
|
|
1014
|
-
return o || a ?
|
|
1015
|
-
|
|
992
|
+
}), t.prototype._trySubscribe = function(n) {
|
|
993
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
|
|
994
|
+
}, t.prototype._subscribe = function(n) {
|
|
995
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
996
|
+
}, t.prototype._innerSubscribe = function(n) {
|
|
997
|
+
var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
998
|
+
return o || a ? Qt : (this.currentObservers = null, s.push(n), new Pe(function() {
|
|
999
|
+
r.currentObservers = null, Je(s, n);
|
|
1016
1000
|
}));
|
|
1017
|
-
}, t.prototype._checkFinalizedStatuses = function(
|
|
1018
|
-
var
|
|
1019
|
-
i ?
|
|
1001
|
+
}, t.prototype._checkFinalizedStatuses = function(n) {
|
|
1002
|
+
var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
|
|
1003
|
+
i ? n.error(o) : a && n.complete();
|
|
1020
1004
|
}, t.prototype.asObservable = function() {
|
|
1021
|
-
var
|
|
1022
|
-
return
|
|
1023
|
-
}, t.create = function(
|
|
1024
|
-
return new
|
|
1005
|
+
var n = new yt();
|
|
1006
|
+
return n.source = this, n;
|
|
1007
|
+
}, t.create = function(n, r) {
|
|
1008
|
+
return new xt(n, r);
|
|
1025
1009
|
}, t;
|
|
1026
|
-
}(
|
|
1010
|
+
}(yt), xt = function(e) {
|
|
1027
1011
|
D(t, e);
|
|
1028
|
-
function t(
|
|
1012
|
+
function t(n, r) {
|
|
1029
1013
|
var i = e.call(this) || this;
|
|
1030
|
-
return i.destination =
|
|
1014
|
+
return i.destination = n, i.source = r, i;
|
|
1031
1015
|
}
|
|
1032
|
-
return t.prototype.next = function(
|
|
1033
|
-
var
|
|
1034
|
-
(i = (
|
|
1035
|
-
}, t.prototype.error = function(
|
|
1036
|
-
var
|
|
1037
|
-
(i = (
|
|
1016
|
+
return t.prototype.next = function(n) {
|
|
1017
|
+
var r, i;
|
|
1018
|
+
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
|
|
1019
|
+
}, t.prototype.error = function(n) {
|
|
1020
|
+
var r, i;
|
|
1021
|
+
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
|
|
1038
1022
|
}, t.prototype.complete = function() {
|
|
1039
|
-
var
|
|
1040
|
-
(
|
|
1041
|
-
}, t.prototype._subscribe = function(
|
|
1042
|
-
var
|
|
1043
|
-
return (i = (
|
|
1023
|
+
var n, r;
|
|
1024
|
+
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
|
|
1025
|
+
}, t.prototype._subscribe = function(n) {
|
|
1026
|
+
var r, i;
|
|
1027
|
+
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Qt;
|
|
1044
1028
|
}, t;
|
|
1045
|
-
}(
|
|
1029
|
+
}(Kt), en = {
|
|
1046
1030
|
now: function() {
|
|
1047
|
-
return (
|
|
1031
|
+
return (en.delegate || Date).now();
|
|
1048
1032
|
},
|
|
1049
1033
|
delegate: void 0
|
|
1050
|
-
},
|
|
1034
|
+
}, Hr = function(e) {
|
|
1051
1035
|
D(t, e);
|
|
1052
|
-
function t(
|
|
1053
|
-
|
|
1036
|
+
function t(n, r, i) {
|
|
1037
|
+
n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = en);
|
|
1054
1038
|
var o = e.call(this) || this;
|
|
1055
|
-
return o._bufferSize =
|
|
1039
|
+
return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
|
|
1056
1040
|
}
|
|
1057
|
-
return t.prototype.next = function(
|
|
1058
|
-
var
|
|
1059
|
-
i || (o.push(
|
|
1060
|
-
}, t.prototype._subscribe = function(
|
|
1041
|
+
return t.prototype.next = function(n) {
|
|
1042
|
+
var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, h = r._windowTime;
|
|
1043
|
+
i || (o.push(n), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, n);
|
|
1044
|
+
}, t.prototype._subscribe = function(n) {
|
|
1061
1045
|
this._throwIfClosed(), this._trimBuffer();
|
|
1062
|
-
for (var
|
|
1063
|
-
|
|
1064
|
-
return this._checkFinalizedStatuses(
|
|
1046
|
+
for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !n.closed; h += o ? 1 : 2)
|
|
1047
|
+
n.next(s[h]);
|
|
1048
|
+
return this._checkFinalizedStatuses(n), r;
|
|
1065
1049
|
}, t.prototype._trimBuffer = function() {
|
|
1066
|
-
var
|
|
1067
|
-
if (
|
|
1050
|
+
var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
|
|
1051
|
+
if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1068
1052
|
for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
|
|
1069
1053
|
l = u;
|
|
1070
1054
|
l && o.splice(0, l + 1);
|
|
1071
1055
|
}
|
|
1072
1056
|
}, t;
|
|
1073
|
-
}(
|
|
1074
|
-
const
|
|
1075
|
-
if (
|
|
1076
|
-
const
|
|
1077
|
-
|
|
1057
|
+
}(Kt);
|
|
1058
|
+
const vt = [], Et = {}, Br = (e, t = 0) => {
|
|
1059
|
+
if (vt.indexOf(e) == -1) {
|
|
1060
|
+
const n = new Hr(t);
|
|
1061
|
+
Et[e] = n, vt.push(e);
|
|
1078
1062
|
}
|
|
1079
|
-
return
|
|
1063
|
+
return Et[e];
|
|
1080
1064
|
}, Y = [];
|
|
1081
|
-
function
|
|
1065
|
+
function Ar(e, t) {
|
|
1082
1066
|
return {
|
|
1083
1067
|
subscribe: Re(e, t).subscribe
|
|
1084
1068
|
};
|
|
1085
1069
|
}
|
|
1086
|
-
function Re(e, t =
|
|
1087
|
-
let
|
|
1088
|
-
const
|
|
1070
|
+
function Re(e, t = L) {
|
|
1071
|
+
let n;
|
|
1072
|
+
const r = /* @__PURE__ */ new Set();
|
|
1089
1073
|
function i(s) {
|
|
1090
|
-
if (
|
|
1074
|
+
if (kt(e, s) && (e = s, n)) {
|
|
1091
1075
|
const h = !Y.length;
|
|
1092
|
-
for (const l of
|
|
1076
|
+
for (const l of r)
|
|
1093
1077
|
l[1](), Y.push(l, e);
|
|
1094
1078
|
if (h) {
|
|
1095
1079
|
for (let l = 0; l < Y.length; l += 2)
|
|
@@ -1101,32 +1085,32 @@ function Re(e, t = N) {
|
|
|
1101
1085
|
function o(s) {
|
|
1102
1086
|
i(s(e));
|
|
1103
1087
|
}
|
|
1104
|
-
function a(s, h =
|
|
1088
|
+
function a(s, h = L) {
|
|
1105
1089
|
const l = [s, h];
|
|
1106
|
-
return
|
|
1107
|
-
|
|
1090
|
+
return r.add(l), r.size === 1 && (n = t(i, o) || L), s(e), () => {
|
|
1091
|
+
r.delete(l), r.size === 0 && n && (n(), n = null);
|
|
1108
1092
|
};
|
|
1109
1093
|
}
|
|
1110
1094
|
return { set: i, update: o, subscribe: a };
|
|
1111
1095
|
}
|
|
1112
|
-
function oe(e, t,
|
|
1113
|
-
const
|
|
1096
|
+
function oe(e, t, n) {
|
|
1097
|
+
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
1114
1098
|
if (!i.every(Boolean))
|
|
1115
1099
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1116
1100
|
const o = t.length < 2;
|
|
1117
|
-
return
|
|
1101
|
+
return Ar(n, (a, s) => {
|
|
1118
1102
|
let h = !1;
|
|
1119
1103
|
const l = [];
|
|
1120
|
-
let u = 0, f =
|
|
1104
|
+
let u = 0, f = L;
|
|
1121
1105
|
const c = () => {
|
|
1122
1106
|
if (u)
|
|
1123
1107
|
return;
|
|
1124
1108
|
f();
|
|
1125
|
-
const
|
|
1126
|
-
o ? a(
|
|
1127
|
-
},
|
|
1128
|
-
(
|
|
1129
|
-
|
|
1109
|
+
const m = t(r ? l[0] : l, a, s);
|
|
1110
|
+
o ? a(m) : f = it(m) ? m : L;
|
|
1111
|
+
}, d = i.map(
|
|
1112
|
+
(m, p) => Vt(
|
|
1113
|
+
m,
|
|
1130
1114
|
(A) => {
|
|
1131
1115
|
l[p] = A, u &= ~(1 << p), h && c();
|
|
1132
1116
|
},
|
|
@@ -1136,134 +1120,136 @@ function oe(e, t, r) {
|
|
|
1136
1120
|
)
|
|
1137
1121
|
);
|
|
1138
1122
|
return h = !0, c(), function() {
|
|
1139
|
-
z(
|
|
1123
|
+
z(d), f(), h = !1;
|
|
1140
1124
|
};
|
|
1141
1125
|
});
|
|
1142
1126
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return e
|
|
1127
|
+
function Pr(e) {
|
|
1128
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1145
1129
|
}
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1130
|
+
var Rr = function(t) {
|
|
1131
|
+
return Or(t) && !Ir(t);
|
|
1148
1132
|
};
|
|
1149
|
-
function
|
|
1133
|
+
function Or(e) {
|
|
1150
1134
|
return !!e && typeof e == "object";
|
|
1151
1135
|
}
|
|
1152
|
-
function
|
|
1136
|
+
function Ir(e) {
|
|
1153
1137
|
var t = Object.prototype.toString.call(e);
|
|
1154
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1138
|
+
return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
|
|
1155
1139
|
}
|
|
1156
|
-
var
|
|
1157
|
-
function
|
|
1158
|
-
return e.$$typeof ===
|
|
1140
|
+
var Nr = typeof Symbol == "function" && Symbol.for, Mr = Nr ? Symbol.for("react.element") : 60103;
|
|
1141
|
+
function Lr(e) {
|
|
1142
|
+
return e.$$typeof === Mr;
|
|
1159
1143
|
}
|
|
1160
|
-
function
|
|
1144
|
+
function Cr(e) {
|
|
1161
1145
|
return Array.isArray(e) ? [] : {};
|
|
1162
1146
|
}
|
|
1163
|
-
function
|
|
1164
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? te(
|
|
1147
|
+
function de(e, t) {
|
|
1148
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? te(Cr(e), e, t) : e;
|
|
1165
1149
|
}
|
|
1166
|
-
function
|
|
1167
|
-
return e.concat(t).map(function(
|
|
1168
|
-
return
|
|
1150
|
+
function Gr(e, t, n) {
|
|
1151
|
+
return e.concat(t).map(function(r) {
|
|
1152
|
+
return de(r, n);
|
|
1169
1153
|
});
|
|
1170
1154
|
}
|
|
1171
|
-
function
|
|
1155
|
+
function Ur(e, t) {
|
|
1172
1156
|
if (!t.customMerge)
|
|
1173
1157
|
return te;
|
|
1174
|
-
var
|
|
1175
|
-
return typeof
|
|
1158
|
+
var n = t.customMerge(e);
|
|
1159
|
+
return typeof n == "function" ? n : te;
|
|
1176
1160
|
}
|
|
1177
|
-
function
|
|
1161
|
+
function Fr(e) {
|
|
1178
1162
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1179
1163
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1180
1164
|
}) : [];
|
|
1181
1165
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return Object.keys(e).concat(
|
|
1166
|
+
function wt(e) {
|
|
1167
|
+
return Object.keys(e).concat(Fr(e));
|
|
1184
1168
|
}
|
|
1185
|
-
function
|
|
1169
|
+
function tn(e, t) {
|
|
1186
1170
|
try {
|
|
1187
1171
|
return t in e;
|
|
1188
1172
|
} catch {
|
|
1189
1173
|
return !1;
|
|
1190
1174
|
}
|
|
1191
1175
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return
|
|
1176
|
+
function Dr(e, t) {
|
|
1177
|
+
return tn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1194
1178
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var
|
|
1197
|
-
return
|
|
1198
|
-
|
|
1199
|
-
}),
|
|
1200
|
-
|
|
1201
|
-
}),
|
|
1202
|
-
}
|
|
1203
|
-
function te(e, t,
|
|
1204
|
-
|
|
1205
|
-
var
|
|
1206
|
-
return o ?
|
|
1207
|
-
}
|
|
1208
|
-
te.all = function(t,
|
|
1179
|
+
function $r(e, t, n) {
|
|
1180
|
+
var r = {};
|
|
1181
|
+
return n.isMergeableObject(e) && wt(e).forEach(function(i) {
|
|
1182
|
+
r[i] = de(e[i], n);
|
|
1183
|
+
}), wt(t).forEach(function(i) {
|
|
1184
|
+
Dr(e, i) || (tn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ur(i, n)(e[i], t[i], n) : r[i] = de(t[i], n));
|
|
1185
|
+
}), r;
|
|
1186
|
+
}
|
|
1187
|
+
function te(e, t, n) {
|
|
1188
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Gr, n.isMergeableObject = n.isMergeableObject || Rr, n.cloneUnlessOtherwiseSpecified = de;
|
|
1189
|
+
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
1190
|
+
return o ? r ? n.arrayMerge(e, t, n) : $r(e, t, n) : de(t, n);
|
|
1191
|
+
}
|
|
1192
|
+
te.all = function(t, n) {
|
|
1209
1193
|
if (!Array.isArray(t))
|
|
1210
1194
|
throw new Error("first argument should be an array");
|
|
1211
|
-
return t.reduce(function(
|
|
1212
|
-
return te(
|
|
1195
|
+
return t.reduce(function(r, i) {
|
|
1196
|
+
return te(r, i, n);
|
|
1213
1197
|
}, {});
|
|
1214
1198
|
};
|
|
1215
|
-
var
|
|
1216
|
-
const
|
|
1217
|
-
function
|
|
1218
|
-
var
|
|
1199
|
+
var jr = te, kr = jr;
|
|
1200
|
+
const Vr = /* @__PURE__ */ Pr(kr);
|
|
1201
|
+
function Ge(e, t) {
|
|
1202
|
+
var n = t && t.cache ? t.cache : Yr, r = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
|
|
1219
1203
|
return i(e, {
|
|
1220
|
-
cache:
|
|
1221
|
-
serializer:
|
|
1204
|
+
cache: n,
|
|
1205
|
+
serializer: r
|
|
1222
1206
|
});
|
|
1223
1207
|
}
|
|
1224
|
-
function
|
|
1208
|
+
function Wr(e) {
|
|
1225
1209
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1226
1210
|
}
|
|
1227
|
-
function
|
|
1228
|
-
var i =
|
|
1229
|
-
return typeof o > "u" && (o = e.call(this,
|
|
1211
|
+
function nn(e, t, n, r) {
|
|
1212
|
+
var i = Wr(r) ? r : n(r), o = t.get(i);
|
|
1213
|
+
return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
|
|
1230
1214
|
}
|
|
1231
|
-
function
|
|
1232
|
-
var
|
|
1233
|
-
return typeof o > "u" && (o = e.apply(this,
|
|
1215
|
+
function rn(e, t, n) {
|
|
1216
|
+
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
1217
|
+
return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
1234
1218
|
}
|
|
1235
|
-
function
|
|
1236
|
-
return
|
|
1219
|
+
function ot(e, t, n, r, i) {
|
|
1220
|
+
return n.bind(t, e, r, i);
|
|
1237
1221
|
}
|
|
1238
|
-
function
|
|
1239
|
-
var
|
|
1240
|
-
return
|
|
1222
|
+
function Xr(e, t) {
|
|
1223
|
+
var n = e.length === 1 ? nn : rn;
|
|
1224
|
+
return ot(e, this, n, t.cache.create(), t.serializer);
|
|
1241
1225
|
}
|
|
1242
|
-
function
|
|
1243
|
-
return
|
|
1226
|
+
function zr(e, t) {
|
|
1227
|
+
return ot(e, this, rn, t.cache.create(), t.serializer);
|
|
1244
1228
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1229
|
+
function Jr(e, t) {
|
|
1230
|
+
return ot(e, this, nn, t.cache.create(), t.serializer);
|
|
1247
1231
|
}
|
|
1248
|
-
var
|
|
1232
|
+
var Zr = function() {
|
|
1249
1233
|
return JSON.stringify(arguments);
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1234
|
+
}, Qr = (
|
|
1235
|
+
/** @class */
|
|
1236
|
+
function() {
|
|
1237
|
+
function e() {
|
|
1238
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1239
|
+
}
|
|
1240
|
+
return e.prototype.get = function(t) {
|
|
1241
|
+
return this.cache[t];
|
|
1242
|
+
}, e.prototype.set = function(t, n) {
|
|
1243
|
+
this.cache[t] = n;
|
|
1244
|
+
}, e;
|
|
1245
|
+
}()
|
|
1246
|
+
), Yr = {
|
|
1261
1247
|
create: function() {
|
|
1262
|
-
return new
|
|
1248
|
+
return new Qr();
|
|
1263
1249
|
}
|
|
1264
|
-
},
|
|
1265
|
-
variadic:
|
|
1266
|
-
monadic:
|
|
1250
|
+
}, Ue = {
|
|
1251
|
+
variadic: zr,
|
|
1252
|
+
monadic: Jr
|
|
1267
1253
|
}, y;
|
|
1268
1254
|
(function(e) {
|
|
1269
1255
|
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";
|
|
@@ -1272,54 +1258,54 @@ var w;
|
|
|
1272
1258
|
(function(e) {
|
|
1273
1259
|
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";
|
|
1274
1260
|
})(w || (w = {}));
|
|
1275
|
-
var
|
|
1261
|
+
var ne;
|
|
1276
1262
|
(function(e) {
|
|
1277
1263
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1278
|
-
})(
|
|
1279
|
-
function
|
|
1264
|
+
})(ne || (ne = {}));
|
|
1265
|
+
function St(e) {
|
|
1280
1266
|
return e.type === w.literal;
|
|
1281
1267
|
}
|
|
1282
|
-
function
|
|
1268
|
+
function qr(e) {
|
|
1283
1269
|
return e.type === w.argument;
|
|
1284
1270
|
}
|
|
1285
|
-
function
|
|
1271
|
+
function on(e) {
|
|
1286
1272
|
return e.type === w.number;
|
|
1287
1273
|
}
|
|
1288
|
-
function
|
|
1274
|
+
function an(e) {
|
|
1289
1275
|
return e.type === w.date;
|
|
1290
1276
|
}
|
|
1291
|
-
function
|
|
1277
|
+
function sn(e) {
|
|
1292
1278
|
return e.type === w.time;
|
|
1293
1279
|
}
|
|
1294
|
-
function
|
|
1280
|
+
function un(e) {
|
|
1295
1281
|
return e.type === w.select;
|
|
1296
1282
|
}
|
|
1297
|
-
function
|
|
1283
|
+
function ln(e) {
|
|
1298
1284
|
return e.type === w.plural;
|
|
1299
1285
|
}
|
|
1300
|
-
function
|
|
1286
|
+
function Kr(e) {
|
|
1301
1287
|
return e.type === w.pound;
|
|
1302
1288
|
}
|
|
1303
|
-
function
|
|
1289
|
+
function hn(e) {
|
|
1304
1290
|
return e.type === w.tag;
|
|
1305
1291
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1292
|
+
function cn(e) {
|
|
1293
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1308
1294
|
}
|
|
1309
|
-
function
|
|
1310
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1295
|
+
function Qe(e) {
|
|
1296
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1311
1297
|
}
|
|
1312
|
-
var
|
|
1313
|
-
function
|
|
1298
|
+
var fn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[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;
|
|
1299
|
+
function ti(e) {
|
|
1314
1300
|
var t = {};
|
|
1315
|
-
return e.replace(
|
|
1316
|
-
var
|
|
1317
|
-
switch (
|
|
1301
|
+
return e.replace(ei, function(n) {
|
|
1302
|
+
var r = n.length;
|
|
1303
|
+
switch (n[0]) {
|
|
1318
1304
|
case "G":
|
|
1319
|
-
t.era =
|
|
1305
|
+
t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
1320
1306
|
break;
|
|
1321
1307
|
case "y":
|
|
1322
|
-
t.year =
|
|
1308
|
+
t.year = r === 2 ? "2-digit" : "numeric";
|
|
1323
1309
|
break;
|
|
1324
1310
|
case "Y":
|
|
1325
1311
|
case "u":
|
|
@@ -1331,30 +1317,30 @@ function ni(e) {
|
|
|
1331
1317
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1332
1318
|
case "M":
|
|
1333
1319
|
case "L":
|
|
1334
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1320
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
|
|
1335
1321
|
break;
|
|
1336
1322
|
case "w":
|
|
1337
1323
|
case "W":
|
|
1338
1324
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1339
1325
|
case "d":
|
|
1340
|
-
t.day = ["numeric", "2-digit"][
|
|
1326
|
+
t.day = ["numeric", "2-digit"][r - 1];
|
|
1341
1327
|
break;
|
|
1342
1328
|
case "D":
|
|
1343
1329
|
case "F":
|
|
1344
1330
|
case "g":
|
|
1345
1331
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1346
1332
|
case "E":
|
|
1347
|
-
t.weekday =
|
|
1333
|
+
t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
1348
1334
|
break;
|
|
1349
1335
|
case "e":
|
|
1350
|
-
if (
|
|
1336
|
+
if (r < 4)
|
|
1351
1337
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1352
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1338
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
1353
1339
|
break;
|
|
1354
1340
|
case "c":
|
|
1355
|
-
if (
|
|
1341
|
+
if (r < 4)
|
|
1356
1342
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1357
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1343
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
1358
1344
|
break;
|
|
1359
1345
|
case "a":
|
|
1360
1346
|
t.hour12 = !0;
|
|
@@ -1363,32 +1349,32 @@ function ni(e) {
|
|
|
1363
1349
|
case "B":
|
|
1364
1350
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1365
1351
|
case "h":
|
|
1366
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1352
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1367
1353
|
break;
|
|
1368
1354
|
case "H":
|
|
1369
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1355
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1370
1356
|
break;
|
|
1371
1357
|
case "K":
|
|
1372
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1358
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1373
1359
|
break;
|
|
1374
1360
|
case "k":
|
|
1375
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1361
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1376
1362
|
break;
|
|
1377
1363
|
case "j":
|
|
1378
1364
|
case "J":
|
|
1379
1365
|
case "C":
|
|
1380
1366
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1381
1367
|
case "m":
|
|
1382
|
-
t.minute = ["numeric", "2-digit"][
|
|
1368
|
+
t.minute = ["numeric", "2-digit"][r - 1];
|
|
1383
1369
|
break;
|
|
1384
1370
|
case "s":
|
|
1385
|
-
t.second = ["numeric", "2-digit"][
|
|
1371
|
+
t.second = ["numeric", "2-digit"][r - 1];
|
|
1386
1372
|
break;
|
|
1387
1373
|
case "S":
|
|
1388
1374
|
case "A":
|
|
1389
1375
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1390
1376
|
case "z":
|
|
1391
|
-
t.timeZoneName =
|
|
1377
|
+
t.timeZoneName = r < 4 ? "short" : "long";
|
|
1392
1378
|
break;
|
|
1393
1379
|
case "Z":
|
|
1394
1380
|
case "O":
|
|
@@ -1401,14 +1387,14 @@ function ni(e) {
|
|
|
1401
1387
|
return "";
|
|
1402
1388
|
}), t;
|
|
1403
1389
|
}
|
|
1404
|
-
var
|
|
1405
|
-
function
|
|
1390
|
+
var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1391
|
+
function ri(e) {
|
|
1406
1392
|
if (e.length === 0)
|
|
1407
1393
|
throw new Error("Number skeleton cannot be empty");
|
|
1408
|
-
for (var t = e.split(
|
|
1394
|
+
for (var t = e.split(ni).filter(function(c) {
|
|
1409
1395
|
return c.length > 0;
|
|
1410
|
-
}),
|
|
1411
|
-
var o = i[
|
|
1396
|
+
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1397
|
+
var o = i[r], a = o.split("/");
|
|
1412
1398
|
if (a.length === 0)
|
|
1413
1399
|
throw new Error("Invalid number skeleton");
|
|
1414
1400
|
for (var s = a[0], h = a.slice(1), l = 0, u = h; l < u.length; l++) {
|
|
@@ -1416,21 +1402,21 @@ function oi(e) {
|
|
|
1416
1402
|
if (f.length === 0)
|
|
1417
1403
|
throw new Error("Invalid number skeleton");
|
|
1418
1404
|
}
|
|
1419
|
-
|
|
1405
|
+
n.push({ stem: s, options: h });
|
|
1420
1406
|
}
|
|
1421
|
-
return
|
|
1407
|
+
return n;
|
|
1422
1408
|
}
|
|
1423
|
-
function
|
|
1409
|
+
function ii(e) {
|
|
1424
1410
|
return e.replace(/^(.*?)-/, "");
|
|
1425
1411
|
}
|
|
1426
|
-
var
|
|
1427
|
-
function
|
|
1412
|
+
var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dn = /^(@+)?(\+|#+)?[rs]?$/g, oi = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
|
|
1413
|
+
function Ht(e) {
|
|
1428
1414
|
var t = {};
|
|
1429
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1430
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1415
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dn, function(n, r, i) {
|
|
1416
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1431
1417
|
}), t;
|
|
1432
1418
|
}
|
|
1433
|
-
function
|
|
1419
|
+
function pn(e) {
|
|
1434
1420
|
switch (e) {
|
|
1435
1421
|
case "sign-auto":
|
|
1436
1422
|
return {
|
|
@@ -1470,27 +1456,27 @@ function gr(e) {
|
|
|
1470
1456
|
};
|
|
1471
1457
|
}
|
|
1472
1458
|
}
|
|
1473
|
-
function
|
|
1459
|
+
function ai(e) {
|
|
1474
1460
|
var t;
|
|
1475
1461
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1476
1462
|
notation: "engineering"
|
|
1477
1463
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1478
1464
|
notation: "scientific"
|
|
1479
1465
|
}, e = e.slice(1)), t) {
|
|
1480
|
-
var
|
|
1481
|
-
if (
|
|
1466
|
+
var n = e.slice(0, 2);
|
|
1467
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
|
|
1482
1468
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1483
1469
|
t.minimumIntegerDigits = e.length;
|
|
1484
1470
|
}
|
|
1485
1471
|
return t;
|
|
1486
1472
|
}
|
|
1487
|
-
function
|
|
1488
|
-
var t = {},
|
|
1489
|
-
return
|
|
1473
|
+
function Bt(e) {
|
|
1474
|
+
var t = {}, n = pn(e);
|
|
1475
|
+
return n || t;
|
|
1490
1476
|
}
|
|
1491
|
-
function
|
|
1492
|
-
for (var t = {},
|
|
1493
|
-
var i = n
|
|
1477
|
+
function si(e) {
|
|
1478
|
+
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1479
|
+
var i = r[n];
|
|
1494
1480
|
switch (i.stem) {
|
|
1495
1481
|
case "percent":
|
|
1496
1482
|
case "%":
|
|
@@ -1512,7 +1498,7 @@ function li(e) {
|
|
|
1512
1498
|
continue;
|
|
1513
1499
|
case "measure-unit":
|
|
1514
1500
|
case "unit":
|
|
1515
|
-
t.style = "unit", t.unit =
|
|
1501
|
+
t.style = "unit", t.unit = ii(i.options[0]);
|
|
1516
1502
|
continue;
|
|
1517
1503
|
case "compact-short":
|
|
1518
1504
|
case "K":
|
|
@@ -1523,13 +1509,13 @@ function li(e) {
|
|
|
1523
1509
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1524
1510
|
continue;
|
|
1525
1511
|
case "scientific":
|
|
1526
|
-
t =
|
|
1527
|
-
return
|
|
1512
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1513
|
+
return x(x({}, h), Bt(l));
|
|
1528
1514
|
}, {}));
|
|
1529
1515
|
continue;
|
|
1530
1516
|
case "engineering":
|
|
1531
|
-
t =
|
|
1532
|
-
return
|
|
1517
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1518
|
+
return x(x({}, h), Bt(l));
|
|
1533
1519
|
}, {}));
|
|
1534
1520
|
continue;
|
|
1535
1521
|
case "notation-simple":
|
|
@@ -1574,45 +1560,45 @@ function li(e) {
|
|
|
1574
1560
|
case "integer-width":
|
|
1575
1561
|
if (i.options.length > 1)
|
|
1576
1562
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1577
|
-
i.options[0].replace(
|
|
1563
|
+
i.options[0].replace(oi, function(h, l, u, f, c, d) {
|
|
1578
1564
|
if (l)
|
|
1579
1565
|
t.minimumIntegerDigits = u.length;
|
|
1580
1566
|
else {
|
|
1581
1567
|
if (f && c)
|
|
1582
1568
|
throw new Error("We currently do not support maximum integer digits");
|
|
1583
|
-
if (
|
|
1569
|
+
if (d)
|
|
1584
1570
|
throw new Error("We currently do not support exact integer digits");
|
|
1585
1571
|
}
|
|
1586
1572
|
return "";
|
|
1587
1573
|
});
|
|
1588
1574
|
continue;
|
|
1589
1575
|
}
|
|
1590
|
-
if (
|
|
1576
|
+
if (mn.test(i.stem)) {
|
|
1591
1577
|
t.minimumIntegerDigits = i.stem.length;
|
|
1592
1578
|
continue;
|
|
1593
1579
|
}
|
|
1594
|
-
if (
|
|
1580
|
+
if (Tt.test(i.stem)) {
|
|
1595
1581
|
if (i.options.length > 1)
|
|
1596
1582
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1597
|
-
i.stem.replace(
|
|
1598
|
-
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1583
|
+
i.stem.replace(Tt, function(h, l, u, f, c, d) {
|
|
1584
|
+
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1599
1585
|
});
|
|
1600
1586
|
var o = i.options[0];
|
|
1601
|
-
o === "w" ? t =
|
|
1587
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Ht(o)));
|
|
1602
1588
|
continue;
|
|
1603
1589
|
}
|
|
1604
|
-
if (
|
|
1605
|
-
t =
|
|
1590
|
+
if (dn.test(i.stem)) {
|
|
1591
|
+
t = x(x({}, t), Ht(i.stem));
|
|
1606
1592
|
continue;
|
|
1607
1593
|
}
|
|
1608
|
-
var a =
|
|
1609
|
-
a && (t =
|
|
1610
|
-
var s =
|
|
1611
|
-
s && (t =
|
|
1594
|
+
var a = pn(i.stem);
|
|
1595
|
+
a && (t = x(x({}, t), a));
|
|
1596
|
+
var s = ai(i.stem);
|
|
1597
|
+
s && (t = x(x({}, t), s));
|
|
1612
1598
|
}
|
|
1613
1599
|
return t;
|
|
1614
1600
|
}
|
|
1615
|
-
var
|
|
1601
|
+
var _e = {
|
|
1616
1602
|
"001": [
|
|
1617
1603
|
"H",
|
|
1618
1604
|
"h"
|
|
@@ -3027,23 +3013,23 @@ var ve = {
|
|
|
3027
3013
|
"h"
|
|
3028
3014
|
]
|
|
3029
3015
|
};
|
|
3030
|
-
function
|
|
3031
|
-
for (var
|
|
3032
|
-
var i = e.charAt(
|
|
3016
|
+
function ui(e, t) {
|
|
3017
|
+
for (var n = "", r = 0; r < e.length; r++) {
|
|
3018
|
+
var i = e.charAt(r);
|
|
3033
3019
|
if (i === "j") {
|
|
3034
|
-
for (var o = 0;
|
|
3035
|
-
o++,
|
|
3036
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
|
3020
|
+
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
3021
|
+
o++, r++;
|
|
3022
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = li(t);
|
|
3037
3023
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3038
|
-
|
|
3024
|
+
n += h;
|
|
3039
3025
|
for (; a-- > 0; )
|
|
3040
|
-
|
|
3026
|
+
n = l + n;
|
|
3041
3027
|
} else
|
|
3042
|
-
i === "J" ?
|
|
3028
|
+
i === "J" ? n += "H" : n += i;
|
|
3043
3029
|
}
|
|
3044
|
-
return
|
|
3030
|
+
return n;
|
|
3045
3031
|
}
|
|
3046
|
-
function
|
|
3032
|
+
function li(e) {
|
|
3047
3033
|
var t = e.hourCycle;
|
|
3048
3034
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3049
3035
|
e.hourCycles && // @ts-ignore
|
|
@@ -3060,73 +3046,73 @@ function ci(e) {
|
|
|
3060
3046
|
default:
|
|
3061
3047
|
throw new Error("Invalid hourCycle");
|
|
3062
3048
|
}
|
|
3063
|
-
var
|
|
3064
|
-
|
|
3065
|
-
var i =
|
|
3049
|
+
var n = e.language, r;
|
|
3050
|
+
n !== "root" && (r = e.maximize().region);
|
|
3051
|
+
var i = _e[r || ""] || _e[n || ""] || _e["".concat(n, "-001")] || _e["001"];
|
|
3066
3052
|
return i[0];
|
|
3067
3053
|
}
|
|
3068
|
-
var
|
|
3069
|
-
function
|
|
3054
|
+
var Fe, hi = new RegExp("^".concat(fn.source, "*")), ci = new RegExp("".concat(fn.source, "*$"));
|
|
3055
|
+
function _(e, t) {
|
|
3070
3056
|
return { start: e, end: t };
|
|
3071
3057
|
}
|
|
3072
|
-
var
|
|
3058
|
+
var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, mi = !!Object.fromEntries, pi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, _i = yi ? Number.isSafeInteger : function(e) {
|
|
3073
3059
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3074
|
-
},
|
|
3060
|
+
}, Ye = !0;
|
|
3075
3061
|
try {
|
|
3076
|
-
var
|
|
3077
|
-
|
|
3062
|
+
var xi = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3063
|
+
Ye = ((Fe = xi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
3078
3064
|
} catch {
|
|
3079
|
-
|
|
3065
|
+
Ye = !1;
|
|
3080
3066
|
}
|
|
3081
|
-
var
|
|
3067
|
+
var At = fi ? (
|
|
3082
3068
|
// Native
|
|
3083
|
-
function(t,
|
|
3084
|
-
return t.startsWith(
|
|
3069
|
+
function(t, n, r) {
|
|
3070
|
+
return t.startsWith(n, r);
|
|
3085
3071
|
}
|
|
3086
3072
|
) : (
|
|
3087
3073
|
// For IE11
|
|
3088
|
-
function(t,
|
|
3089
|
-
return t.slice(
|
|
3074
|
+
function(t, n, r) {
|
|
3075
|
+
return t.slice(r, r + n.length) === n;
|
|
3090
3076
|
}
|
|
3091
|
-
),
|
|
3077
|
+
), qe = di ? String.fromCodePoint : (
|
|
3092
3078
|
// IE11
|
|
3093
3079
|
function() {
|
|
3094
|
-
for (var t = [],
|
|
3095
|
-
t[
|
|
3096
|
-
for (var
|
|
3080
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
3081
|
+
t[n] = arguments[n];
|
|
3082
|
+
for (var r = "", i = t.length, o = 0, a; i > o; ) {
|
|
3097
3083
|
if (a = t[o++], a > 1114111)
|
|
3098
3084
|
throw RangeError(a + " is not a valid code point");
|
|
3099
|
-
|
|
3085
|
+
r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3100
3086
|
}
|
|
3101
|
-
return
|
|
3087
|
+
return r;
|
|
3102
3088
|
}
|
|
3103
|
-
),
|
|
3089
|
+
), Pt = (
|
|
3104
3090
|
// native
|
|
3105
|
-
|
|
3091
|
+
mi ? Object.fromEntries : (
|
|
3106
3092
|
// Ponyfill
|
|
3107
3093
|
function(t) {
|
|
3108
|
-
for (var
|
|
3109
|
-
var o = i[
|
|
3110
|
-
|
|
3094
|
+
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
3095
|
+
var o = i[r], a = o[0], s = o[1];
|
|
3096
|
+
n[a] = s;
|
|
3111
3097
|
}
|
|
3112
|
-
return
|
|
3098
|
+
return n;
|
|
3113
3099
|
}
|
|
3114
3100
|
)
|
|
3115
|
-
),
|
|
3101
|
+
), bn = pi ? (
|
|
3116
3102
|
// Native
|
|
3117
|
-
function(t,
|
|
3118
|
-
return t.codePointAt(
|
|
3103
|
+
function(t, n) {
|
|
3104
|
+
return t.codePointAt(n);
|
|
3119
3105
|
}
|
|
3120
3106
|
) : (
|
|
3121
3107
|
// IE 11
|
|
3122
|
-
function(t,
|
|
3123
|
-
var
|
|
3124
|
-
if (!(
|
|
3125
|
-
var i = t.charCodeAt(
|
|
3126
|
-
return i < 55296 || i > 56319 ||
|
|
3108
|
+
function(t, n) {
|
|
3109
|
+
var r = t.length;
|
|
3110
|
+
if (!(n < 0 || n >= r)) {
|
|
3111
|
+
var i = t.charCodeAt(n), o;
|
|
3112
|
+
return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3127
3113
|
}
|
|
3128
3114
|
}
|
|
3129
|
-
),
|
|
3115
|
+
), vi = bi ? (
|
|
3130
3116
|
// Native
|
|
3131
3117
|
function(t) {
|
|
3132
3118
|
return t.trimStart();
|
|
@@ -3134,9 +3120,9 @@ var Rt = di ? (
|
|
|
3134
3120
|
) : (
|
|
3135
3121
|
// Ponyfill
|
|
3136
3122
|
function(t) {
|
|
3137
|
-
return t.replace(
|
|
3123
|
+
return t.replace(hi, "");
|
|
3138
3124
|
}
|
|
3139
|
-
),
|
|
3125
|
+
), Ei = gi ? (
|
|
3140
3126
|
// Native
|
|
3141
3127
|
function(t) {
|
|
3142
3128
|
return t.trimEnd();
|
|
@@ -3144,69 +3130,69 @@ var Rt = di ? (
|
|
|
3144
3130
|
) : (
|
|
3145
3131
|
// Ponyfill
|
|
3146
3132
|
function(t) {
|
|
3147
|
-
return t.replace(
|
|
3133
|
+
return t.replace(ci, "");
|
|
3148
3134
|
}
|
|
3149
3135
|
);
|
|
3150
|
-
function
|
|
3136
|
+
function gn(e, t) {
|
|
3151
3137
|
return new RegExp(e, t);
|
|
3152
3138
|
}
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
var
|
|
3156
|
-
|
|
3157
|
-
var
|
|
3158
|
-
|
|
3159
|
-
var i =
|
|
3160
|
-
return (
|
|
3139
|
+
var Ke;
|
|
3140
|
+
if (Ye) {
|
|
3141
|
+
var Rt = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3142
|
+
Ke = function(t, n) {
|
|
3143
|
+
var r;
|
|
3144
|
+
Rt.lastIndex = n;
|
|
3145
|
+
var i = Rt.exec(t);
|
|
3146
|
+
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
3161
3147
|
};
|
|
3162
3148
|
} else
|
|
3163
|
-
|
|
3164
|
-
for (var
|
|
3165
|
-
var i =
|
|
3166
|
-
if (i === void 0 ||
|
|
3149
|
+
Ke = function(t, n) {
|
|
3150
|
+
for (var r = []; ; ) {
|
|
3151
|
+
var i = bn(t, n);
|
|
3152
|
+
if (i === void 0 || yn(i) || Hi(i))
|
|
3167
3153
|
break;
|
|
3168
|
-
|
|
3154
|
+
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
3169
3155
|
}
|
|
3170
|
-
return
|
|
3156
|
+
return qe.apply(void 0, r);
|
|
3171
3157
|
};
|
|
3172
|
-
var
|
|
3158
|
+
var wi = (
|
|
3173
3159
|
/** @class */
|
|
3174
3160
|
function() {
|
|
3175
|
-
function e(t,
|
|
3176
|
-
|
|
3161
|
+
function e(t, n) {
|
|
3162
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
3177
3163
|
}
|
|
3178
3164
|
return e.prototype.parse = function() {
|
|
3179
3165
|
if (this.offset() !== 0)
|
|
3180
3166
|
throw Error("parser can only be used once");
|
|
3181
3167
|
return this.parseMessage(0, "", !1);
|
|
3182
|
-
}, e.prototype.parseMessage = function(t,
|
|
3168
|
+
}, e.prototype.parseMessage = function(t, n, r) {
|
|
3183
3169
|
for (var i = []; !this.isEOF(); ) {
|
|
3184
3170
|
var o = this.char();
|
|
3185
3171
|
if (o === 123) {
|
|
3186
|
-
var a = this.parseArgument(t,
|
|
3172
|
+
var a = this.parseArgument(t, r);
|
|
3187
3173
|
if (a.err)
|
|
3188
3174
|
return a;
|
|
3189
3175
|
i.push(a.val);
|
|
3190
3176
|
} else {
|
|
3191
3177
|
if (o === 125 && t > 0)
|
|
3192
3178
|
break;
|
|
3193
|
-
if (o === 35 && (
|
|
3179
|
+
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
3194
3180
|
var s = this.clonePosition();
|
|
3195
3181
|
this.bump(), i.push({
|
|
3196
3182
|
type: w.pound,
|
|
3197
|
-
location:
|
|
3183
|
+
location: _(s, this.clonePosition())
|
|
3198
3184
|
});
|
|
3199
3185
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3200
|
-
if (
|
|
3186
|
+
if (r)
|
|
3201
3187
|
break;
|
|
3202
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3203
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3204
|
-
var a = this.parseTag(t,
|
|
3188
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3189
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3190
|
+
var a = this.parseTag(t, n);
|
|
3205
3191
|
if (a.err)
|
|
3206
3192
|
return a;
|
|
3207
3193
|
i.push(a.val);
|
|
3208
3194
|
} else {
|
|
3209
|
-
var a = this.parseLiteral(t,
|
|
3195
|
+
var a = this.parseLiteral(t, n);
|
|
3210
3196
|
if (a.err)
|
|
3211
3197
|
return a;
|
|
3212
3198
|
i.push(a.val);
|
|
@@ -3214,8 +3200,8 @@ var Ti = (
|
|
|
3214
3200
|
}
|
|
3215
3201
|
}
|
|
3216
3202
|
return { val: i, err: null };
|
|
3217
|
-
}, e.prototype.parseTag = function(t,
|
|
3218
|
-
var
|
|
3203
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
3204
|
+
var r = this.clonePosition();
|
|
3219
3205
|
this.bump();
|
|
3220
3206
|
var i = this.parseTagName();
|
|
3221
3207
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
@@ -3223,45 +3209,45 @@ var Ti = (
|
|
|
3223
3209
|
val: {
|
|
3224
3210
|
type: w.literal,
|
|
3225
3211
|
value: "<".concat(i, "/>"),
|
|
3226
|
-
location:
|
|
3212
|
+
location: _(r, this.clonePosition())
|
|
3227
3213
|
},
|
|
3228
3214
|
err: null
|
|
3229
3215
|
};
|
|
3230
3216
|
if (this.bumpIf(">")) {
|
|
3231
|
-
var o = this.parseMessage(t + 1,
|
|
3217
|
+
var o = this.parseMessage(t + 1, n, !0);
|
|
3232
3218
|
if (o.err)
|
|
3233
3219
|
return o;
|
|
3234
3220
|
var a = o.val, s = this.clonePosition();
|
|
3235
3221
|
if (this.bumpIf("</")) {
|
|
3236
|
-
if (this.isEOF() || !
|
|
3237
|
-
return this.error(y.INVALID_TAG,
|
|
3222
|
+
if (this.isEOF() || !et(this.char()))
|
|
3223
|
+
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3238
3224
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3239
|
-
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3225
|
+
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3240
3226
|
val: {
|
|
3241
3227
|
type: w.tag,
|
|
3242
3228
|
value: i,
|
|
3243
3229
|
children: a,
|
|
3244
|
-
location:
|
|
3230
|
+
location: _(r, this.clonePosition())
|
|
3245
3231
|
},
|
|
3246
3232
|
err: null
|
|
3247
|
-
} : this.error(y.INVALID_TAG,
|
|
3233
|
+
} : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
|
|
3248
3234
|
} else
|
|
3249
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3235
|
+
return this.error(y.UNCLOSED_TAG, _(r, this.clonePosition()));
|
|
3250
3236
|
} else
|
|
3251
|
-
return this.error(y.INVALID_TAG,
|
|
3237
|
+
return this.error(y.INVALID_TAG, _(r, this.clonePosition()));
|
|
3252
3238
|
}, e.prototype.parseTagName = function() {
|
|
3253
3239
|
var t = this.offset();
|
|
3254
|
-
for (this.bump(); !this.isEOF() &&
|
|
3240
|
+
for (this.bump(); !this.isEOF() && Ti(this.char()); )
|
|
3255
3241
|
this.bump();
|
|
3256
3242
|
return this.message.slice(t, this.offset());
|
|
3257
|
-
}, e.prototype.parseLiteral = function(t,
|
|
3258
|
-
for (var
|
|
3259
|
-
var o = this.tryParseQuote(
|
|
3243
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
3244
|
+
for (var r = this.clonePosition(), i = ""; ; ) {
|
|
3245
|
+
var o = this.tryParseQuote(n);
|
|
3260
3246
|
if (o) {
|
|
3261
3247
|
i += o;
|
|
3262
3248
|
continue;
|
|
3263
3249
|
}
|
|
3264
|
-
var a = this.tryParseUnquoted(t,
|
|
3250
|
+
var a = this.tryParseUnquoted(t, n);
|
|
3265
3251
|
if (a) {
|
|
3266
3252
|
i += a;
|
|
3267
3253
|
continue;
|
|
@@ -3273,14 +3259,14 @@ var Ti = (
|
|
|
3273
3259
|
}
|
|
3274
3260
|
break;
|
|
3275
3261
|
}
|
|
3276
|
-
var h =
|
|
3262
|
+
var h = _(r, this.clonePosition());
|
|
3277
3263
|
return {
|
|
3278
3264
|
val: { type: w.literal, value: i, location: h },
|
|
3279
3265
|
err: null
|
|
3280
3266
|
};
|
|
3281
3267
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3282
3268
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3283
|
-
!
|
|
3269
|
+
!Si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3284
3270
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3285
3271
|
if (this.isEOF() || this.char() !== 39)
|
|
3286
3272
|
return null;
|
|
@@ -3300,37 +3286,37 @@ var Ti = (
|
|
|
3300
3286
|
return null;
|
|
3301
3287
|
}
|
|
3302
3288
|
this.bump();
|
|
3303
|
-
var
|
|
3289
|
+
var n = [this.char()];
|
|
3304
3290
|
for (this.bump(); !this.isEOF(); ) {
|
|
3305
|
-
var
|
|
3306
|
-
if (
|
|
3291
|
+
var r = this.char();
|
|
3292
|
+
if (r === 39)
|
|
3307
3293
|
if (this.peek() === 39)
|
|
3308
|
-
|
|
3294
|
+
n.push(39), this.bump();
|
|
3309
3295
|
else {
|
|
3310
3296
|
this.bump();
|
|
3311
3297
|
break;
|
|
3312
3298
|
}
|
|
3313
3299
|
else
|
|
3314
|
-
|
|
3300
|
+
n.push(r);
|
|
3315
3301
|
this.bump();
|
|
3316
3302
|
}
|
|
3317
|
-
return
|
|
3318
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
3303
|
+
return qe.apply(void 0, n);
|
|
3304
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
3319
3305
|
if (this.isEOF())
|
|
3320
3306
|
return null;
|
|
3321
|
-
var
|
|
3322
|
-
return
|
|
3323
|
-
}, e.prototype.parseArgument = function(t,
|
|
3324
|
-
var
|
|
3307
|
+
var r = this.char();
|
|
3308
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
|
|
3309
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
3310
|
+
var r = this.clonePosition();
|
|
3325
3311
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3326
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3312
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
|
|
3327
3313
|
if (this.char() === 125)
|
|
3328
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3314
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(r, this.clonePosition()));
|
|
3329
3315
|
var i = this.parseIdentifierIfPossible().value;
|
|
3330
3316
|
if (!i)
|
|
3331
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3317
|
+
return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
|
|
3332
3318
|
if (this.bumpSpace(), this.isEOF())
|
|
3333
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3319
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
|
|
3334
3320
|
switch (this.char()) {
|
|
3335
3321
|
case 125:
|
|
3336
3322
|
return this.bump(), {
|
|
@@ -3338,25 +3324,25 @@ var Ti = (
|
|
|
3338
3324
|
type: w.argument,
|
|
3339
3325
|
// value does not include the opening and closing braces.
|
|
3340
3326
|
value: i,
|
|
3341
|
-
location:
|
|
3327
|
+
location: _(r, this.clonePosition())
|
|
3342
3328
|
},
|
|
3343
3329
|
err: null
|
|
3344
3330
|
};
|
|
3345
3331
|
case 44:
|
|
3346
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3332
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
3347
3333
|
default:
|
|
3348
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3334
|
+
return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
|
|
3349
3335
|
}
|
|
3350
3336
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3351
|
-
var t = this.clonePosition(),
|
|
3337
|
+
var t = this.clonePosition(), n = this.offset(), r = Ke(this.message, n), i = n + r.length;
|
|
3352
3338
|
this.bumpTo(i);
|
|
3353
|
-
var o = this.clonePosition(), a =
|
|
3354
|
-
return { value:
|
|
3355
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
3339
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3340
|
+
return { value: r, location: a };
|
|
3341
|
+
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3356
3342
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3357
3343
|
switch (s) {
|
|
3358
3344
|
case "":
|
|
3359
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3345
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, h));
|
|
3360
3346
|
case "number":
|
|
3361
3347
|
case "date":
|
|
3362
3348
|
case "time": {
|
|
@@ -3367,37 +3353,37 @@ var Ti = (
|
|
|
3367
3353
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3368
3354
|
if (f.err)
|
|
3369
3355
|
return f;
|
|
3370
|
-
var c =
|
|
3356
|
+
var c = Ei(f.val);
|
|
3371
3357
|
if (c.length === 0)
|
|
3372
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3373
|
-
var
|
|
3374
|
-
l = { style: c, styleLocation:
|
|
3358
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3359
|
+
var d = _(u, this.clonePosition());
|
|
3360
|
+
l = { style: c, styleLocation: d };
|
|
3375
3361
|
}
|
|
3376
|
-
var
|
|
3377
|
-
if (
|
|
3378
|
-
return
|
|
3379
|
-
var p =
|
|
3380
|
-
if (l &&
|
|
3381
|
-
var A =
|
|
3362
|
+
var m = this.tryParseArgumentClose(i);
|
|
3363
|
+
if (m.err)
|
|
3364
|
+
return m;
|
|
3365
|
+
var p = _(i, this.clonePosition());
|
|
3366
|
+
if (l && At(l?.style, "::", 0)) {
|
|
3367
|
+
var A = vi(l.style.slice(2));
|
|
3382
3368
|
if (s === "number") {
|
|
3383
3369
|
var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
|
|
3384
3370
|
return f.err ? f : {
|
|
3385
|
-
val: { type: w.number, value:
|
|
3371
|
+
val: { type: w.number, value: r, location: p, style: f.val },
|
|
3386
3372
|
err: null
|
|
3387
3373
|
};
|
|
3388
3374
|
} else {
|
|
3389
3375
|
if (A.length === 0)
|
|
3390
3376
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3391
3377
|
var H = A;
|
|
3392
|
-
this.locale && (H =
|
|
3378
|
+
this.locale && (H = ui(A, this.locale));
|
|
3393
3379
|
var c = {
|
|
3394
|
-
type:
|
|
3380
|
+
type: ne.dateTime,
|
|
3395
3381
|
pattern: H,
|
|
3396
3382
|
location: l.styleLocation,
|
|
3397
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3383
|
+
parsedOptions: this.shouldParseSkeletons ? ti(H) : {}
|
|
3398
3384
|
}, T = s === "date" ? w.date : w.time;
|
|
3399
3385
|
return {
|
|
3400
|
-
val: { type: T, value:
|
|
3386
|
+
val: { type: T, value: r, location: p, style: c },
|
|
3401
3387
|
err: null
|
|
3402
3388
|
};
|
|
3403
3389
|
}
|
|
@@ -3405,7 +3391,7 @@ var Ti = (
|
|
|
3405
3391
|
return {
|
|
3406
3392
|
val: {
|
|
3407
3393
|
type: s === "number" ? w.number : s === "date" ? w.date : w.time,
|
|
3408
|
-
value:
|
|
3394
|
+
value: r,
|
|
3409
3395
|
location: p,
|
|
3410
3396
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3411
3397
|
},
|
|
@@ -3417,39 +3403,39 @@ var Ti = (
|
|
|
3417
3403
|
case "select": {
|
|
3418
3404
|
var B = this.clonePosition();
|
|
3419
3405
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3420
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3406
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, x({}, B)));
|
|
3421
3407
|
this.bumpSpace();
|
|
3422
|
-
var
|
|
3423
|
-
if (s !== "select" &&
|
|
3408
|
+
var N = this.parseIdentifierIfPossible(), M = 0;
|
|
3409
|
+
if (s !== "select" && N.value === "offset") {
|
|
3424
3410
|
if (!this.bumpIf(":"))
|
|
3425
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3411
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3426
3412
|
this.bumpSpace();
|
|
3427
3413
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3428
3414
|
if (f.err)
|
|
3429
3415
|
return f;
|
|
3430
|
-
this.bumpSpace(),
|
|
3416
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), M = f.val;
|
|
3431
3417
|
}
|
|
3432
|
-
var C = this.tryParsePluralOrSelectOptions(t, s,
|
|
3418
|
+
var C = this.tryParsePluralOrSelectOptions(t, s, n, N);
|
|
3433
3419
|
if (C.err)
|
|
3434
3420
|
return C;
|
|
3435
|
-
var
|
|
3436
|
-
if (
|
|
3437
|
-
return
|
|
3438
|
-
var pe =
|
|
3421
|
+
var m = this.tryParseArgumentClose(i);
|
|
3422
|
+
if (m.err)
|
|
3423
|
+
return m;
|
|
3424
|
+
var pe = _(i, this.clonePosition());
|
|
3439
3425
|
return s === "select" ? {
|
|
3440
3426
|
val: {
|
|
3441
3427
|
type: w.select,
|
|
3442
|
-
value:
|
|
3443
|
-
options:
|
|
3428
|
+
value: r,
|
|
3429
|
+
options: Pt(C.val),
|
|
3444
3430
|
location: pe
|
|
3445
3431
|
},
|
|
3446
3432
|
err: null
|
|
3447
3433
|
} : {
|
|
3448
3434
|
val: {
|
|
3449
3435
|
type: w.plural,
|
|
3450
|
-
value:
|
|
3451
|
-
options:
|
|
3452
|
-
offset:
|
|
3436
|
+
value: r,
|
|
3437
|
+
options: Pt(C.val),
|
|
3438
|
+
offset: M,
|
|
3453
3439
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3454
3440
|
location: pe
|
|
3455
3441
|
},
|
|
@@ -3457,19 +3443,19 @@ var Ti = (
|
|
|
3457
3443
|
};
|
|
3458
3444
|
}
|
|
3459
3445
|
default:
|
|
3460
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3446
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(a, h));
|
|
3461
3447
|
}
|
|
3462
3448
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3463
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3449
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3464
3450
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3465
|
-
for (var t = 0,
|
|
3466
|
-
var
|
|
3467
|
-
switch (
|
|
3451
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3452
|
+
var r = this.char();
|
|
3453
|
+
switch (r) {
|
|
3468
3454
|
case 39: {
|
|
3469
3455
|
this.bump();
|
|
3470
3456
|
var i = this.clonePosition();
|
|
3471
3457
|
if (!this.bumpUntil("'"))
|
|
3472
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3458
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3473
3459
|
this.bump();
|
|
3474
3460
|
break;
|
|
3475
3461
|
}
|
|
@@ -3482,7 +3468,7 @@ var Ti = (
|
|
|
3482
3468
|
t -= 1;
|
|
3483
3469
|
else
|
|
3484
3470
|
return {
|
|
3485
|
-
val: this.message.slice(
|
|
3471
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3486
3472
|
err: null
|
|
3487
3473
|
};
|
|
3488
3474
|
break;
|
|
@@ -3493,61 +3479,61 @@ var Ti = (
|
|
|
3493
3479
|
}
|
|
3494
3480
|
}
|
|
3495
3481
|
return {
|
|
3496
|
-
val: this.message.slice(
|
|
3482
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3497
3483
|
err: null
|
|
3498
3484
|
};
|
|
3499
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3500
|
-
var
|
|
3485
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3486
|
+
var r = [];
|
|
3501
3487
|
try {
|
|
3502
|
-
|
|
3488
|
+
r = ri(t);
|
|
3503
3489
|
} catch {
|
|
3504
|
-
return this.error(y.INVALID_NUMBER_SKELETON,
|
|
3490
|
+
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
3505
3491
|
}
|
|
3506
3492
|
return {
|
|
3507
3493
|
val: {
|
|
3508
|
-
type:
|
|
3509
|
-
tokens:
|
|
3510
|
-
location:
|
|
3511
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3494
|
+
type: ne.number,
|
|
3495
|
+
tokens: r,
|
|
3496
|
+
location: n,
|
|
3497
|
+
parsedOptions: this.shouldParseSkeletons ? si(r) : {}
|
|
3512
3498
|
},
|
|
3513
3499
|
err: null
|
|
3514
3500
|
};
|
|
3515
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3501
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3516
3502
|
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
|
|
3517
3503
|
if (l.length === 0) {
|
|
3518
3504
|
var f = this.clonePosition();
|
|
3519
|
-
if (
|
|
3505
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
3520
3506
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3521
3507
|
if (c.err)
|
|
3522
3508
|
return c;
|
|
3523
|
-
u =
|
|
3509
|
+
u = _(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
3524
3510
|
} else
|
|
3525
3511
|
break;
|
|
3526
3512
|
}
|
|
3527
3513
|
if (h.has(l))
|
|
3528
|
-
return this.error(
|
|
3514
|
+
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3529
3515
|
l === "other" && (a = !0), this.bumpSpace();
|
|
3530
|
-
var
|
|
3516
|
+
var d = this.clonePosition();
|
|
3531
3517
|
if (!this.bumpIf("{"))
|
|
3532
|
-
return this.error(
|
|
3533
|
-
var
|
|
3534
|
-
if (
|
|
3535
|
-
return
|
|
3536
|
-
var p = this.tryParseArgumentClose(
|
|
3518
|
+
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3519
|
+
var m = this.parseMessage(t + 1, n, r);
|
|
3520
|
+
if (m.err)
|
|
3521
|
+
return m;
|
|
3522
|
+
var p = this.tryParseArgumentClose(d);
|
|
3537
3523
|
if (p.err)
|
|
3538
3524
|
return p;
|
|
3539
3525
|
s.push([
|
|
3540
3526
|
l,
|
|
3541
3527
|
{
|
|
3542
|
-
value:
|
|
3543
|
-
location:
|
|
3528
|
+
value: m.val,
|
|
3529
|
+
location: _(d, this.clonePosition())
|
|
3544
3530
|
}
|
|
3545
3531
|
]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
3546
3532
|
}
|
|
3547
|
-
return s.length === 0 ? this.error(
|
|
3548
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3549
|
-
var
|
|
3550
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3533
|
+
return s.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3534
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3535
|
+
var r = 1, i = this.clonePosition();
|
|
3536
|
+
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3551
3537
|
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3552
3538
|
var s = this.char();
|
|
3553
3539
|
if (s >= 48 && s <= 57)
|
|
@@ -3555,8 +3541,8 @@ var Ti = (
|
|
|
3555
3541
|
else
|
|
3556
3542
|
break;
|
|
3557
3543
|
}
|
|
3558
|
-
var h =
|
|
3559
|
-
return o ? (a *=
|
|
3544
|
+
var h = _(i, this.clonePosition());
|
|
3545
|
+
return o ? (a *= r, _i(a) ? { val: a, err: null } : this.error(n, h)) : this.error(t, h);
|
|
3560
3546
|
}, e.prototype.offset = function() {
|
|
3561
3547
|
return this.position.offset;
|
|
3562
3548
|
}, e.prototype.isEOF = function() {
|
|
@@ -3571,17 +3557,17 @@ var Ti = (
|
|
|
3571
3557
|
var t = this.position.offset;
|
|
3572
3558
|
if (t >= this.message.length)
|
|
3573
3559
|
throw Error("out of bound");
|
|
3574
|
-
var
|
|
3575
|
-
if (
|
|
3560
|
+
var n = bn(this.message, t);
|
|
3561
|
+
if (n === void 0)
|
|
3576
3562
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3577
|
-
return
|
|
3578
|
-
}, e.prototype.error = function(t,
|
|
3563
|
+
return n;
|
|
3564
|
+
}, e.prototype.error = function(t, n) {
|
|
3579
3565
|
return {
|
|
3580
3566
|
val: null,
|
|
3581
3567
|
err: {
|
|
3582
3568
|
kind: t,
|
|
3583
3569
|
message: this.message,
|
|
3584
|
-
location:
|
|
3570
|
+
location: n
|
|
3585
3571
|
}
|
|
3586
3572
|
};
|
|
3587
3573
|
}, e.prototype.bump = function() {
|
|
@@ -3590,129 +3576,129 @@ var Ti = (
|
|
|
3590
3576
|
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);
|
|
3591
3577
|
}
|
|
3592
3578
|
}, e.prototype.bumpIf = function(t) {
|
|
3593
|
-
if (
|
|
3594
|
-
for (var
|
|
3579
|
+
if (At(this.message, t, this.offset())) {
|
|
3580
|
+
for (var n = 0; n < t.length; n++)
|
|
3595
3581
|
this.bump();
|
|
3596
3582
|
return !0;
|
|
3597
3583
|
}
|
|
3598
3584
|
return !1;
|
|
3599
3585
|
}, e.prototype.bumpUntil = function(t) {
|
|
3600
|
-
var
|
|
3601
|
-
return
|
|
3586
|
+
var n = this.offset(), r = this.message.indexOf(t, n);
|
|
3587
|
+
return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
|
|
3602
3588
|
}, e.prototype.bumpTo = function(t) {
|
|
3603
3589
|
if (this.offset() > t)
|
|
3604
3590
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3605
3591
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3606
|
-
var
|
|
3607
|
-
if (
|
|
3592
|
+
var n = this.offset();
|
|
3593
|
+
if (n === t)
|
|
3608
3594
|
break;
|
|
3609
|
-
if (
|
|
3595
|
+
if (n > t)
|
|
3610
3596
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3611
3597
|
if (this.bump(), this.isEOF())
|
|
3612
3598
|
break;
|
|
3613
3599
|
}
|
|
3614
3600
|
}, e.prototype.bumpSpace = function() {
|
|
3615
|
-
for (; !this.isEOF() &&
|
|
3601
|
+
for (; !this.isEOF() && yn(this.char()); )
|
|
3616
3602
|
this.bump();
|
|
3617
3603
|
}, e.prototype.peek = function() {
|
|
3618
3604
|
if (this.isEOF())
|
|
3619
3605
|
return null;
|
|
3620
|
-
var t = this.char(),
|
|
3621
|
-
return
|
|
3606
|
+
var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3607
|
+
return r ?? null;
|
|
3622
3608
|
}, e;
|
|
3623
3609
|
}()
|
|
3624
3610
|
);
|
|
3625
|
-
function
|
|
3611
|
+
function et(e) {
|
|
3626
3612
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3627
3613
|
}
|
|
3628
|
-
function
|
|
3629
|
-
return
|
|
3614
|
+
function Si(e) {
|
|
3615
|
+
return et(e) || e === 47;
|
|
3630
3616
|
}
|
|
3631
|
-
function
|
|
3617
|
+
function Ti(e) {
|
|
3632
3618
|
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;
|
|
3633
3619
|
}
|
|
3634
|
-
function
|
|
3620
|
+
function yn(e) {
|
|
3635
3621
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3636
3622
|
}
|
|
3637
|
-
function
|
|
3623
|
+
function Hi(e) {
|
|
3638
3624
|
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;
|
|
3639
3625
|
}
|
|
3640
|
-
function
|
|
3626
|
+
function tt(e) {
|
|
3641
3627
|
e.forEach(function(t) {
|
|
3642
|
-
if (delete t.location,
|
|
3643
|
-
for (var
|
|
3644
|
-
delete t.options[
|
|
3628
|
+
if (delete t.location, un(t) || ln(t))
|
|
3629
|
+
for (var n in t.options)
|
|
3630
|
+
delete t.options[n].location, tt(t.options[n].value);
|
|
3645
3631
|
else
|
|
3646
|
-
|
|
3632
|
+
on(t) && cn(t.style) || (an(t) || sn(t)) && Qe(t.style) ? delete t.style.location : hn(t) && tt(t.children);
|
|
3647
3633
|
});
|
|
3648
3634
|
}
|
|
3649
|
-
function
|
|
3650
|
-
t === void 0 && (t = {}), t =
|
|
3651
|
-
var
|
|
3652
|
-
if (
|
|
3653
|
-
var
|
|
3654
|
-
throw
|
|
3635
|
+
function Bi(e, t) {
|
|
3636
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3637
|
+
var n = new wi(e, t).parse();
|
|
3638
|
+
if (n.err) {
|
|
3639
|
+
var r = SyntaxError(y[n.err.kind]);
|
|
3640
|
+
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3655
3641
|
}
|
|
3656
|
-
return t?.captureLocation ||
|
|
3642
|
+
return t?.captureLocation || tt(n.val), n.val;
|
|
3657
3643
|
}
|
|
3658
|
-
var
|
|
3644
|
+
var re;
|
|
3659
3645
|
(function(e) {
|
|
3660
3646
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3661
|
-
})(
|
|
3662
|
-
var
|
|
3647
|
+
})(re || (re = {}));
|
|
3648
|
+
var Oe = (
|
|
3663
3649
|
/** @class */
|
|
3664
3650
|
function(e) {
|
|
3665
3651
|
D(t, e);
|
|
3666
|
-
function t(
|
|
3667
|
-
var o = e.call(this,
|
|
3668
|
-
return o.code =
|
|
3652
|
+
function t(n, r, i) {
|
|
3653
|
+
var o = e.call(this, n) || this;
|
|
3654
|
+
return o.code = r, o.originalMessage = i, o;
|
|
3669
3655
|
}
|
|
3670
3656
|
return t.prototype.toString = function() {
|
|
3671
3657
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3672
3658
|
}, t;
|
|
3673
3659
|
}(Error)
|
|
3674
|
-
),
|
|
3660
|
+
), Ot = (
|
|
3675
3661
|
/** @class */
|
|
3676
3662
|
function(e) {
|
|
3677
3663
|
D(t, e);
|
|
3678
|
-
function t(
|
|
3679
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3664
|
+
function t(n, r, i, o) {
|
|
3665
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
|
|
3680
3666
|
}
|
|
3681
3667
|
return t;
|
|
3682
|
-
}(
|
|
3683
|
-
),
|
|
3668
|
+
}(Oe)
|
|
3669
|
+
), Ai = (
|
|
3684
3670
|
/** @class */
|
|
3685
3671
|
function(e) {
|
|
3686
3672
|
D(t, e);
|
|
3687
|
-
function t(
|
|
3688
|
-
return e.call(this, 'Value for "'.concat(
|
|
3673
|
+
function t(n, r, i) {
|
|
3674
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), re.INVALID_VALUE, i) || this;
|
|
3689
3675
|
}
|
|
3690
3676
|
return t;
|
|
3691
|
-
}(
|
|
3692
|
-
),
|
|
3677
|
+
}(Oe)
|
|
3678
|
+
), Pi = (
|
|
3693
3679
|
/** @class */
|
|
3694
3680
|
function(e) {
|
|
3695
3681
|
D(t, e);
|
|
3696
|
-
function t(
|
|
3697
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3682
|
+
function t(n, r) {
|
|
3683
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), re.MISSING_VALUE, r) || this;
|
|
3698
3684
|
}
|
|
3699
3685
|
return t;
|
|
3700
|
-
}(
|
|
3686
|
+
}(Oe)
|
|
3701
3687
|
), P;
|
|
3702
3688
|
(function(e) {
|
|
3703
3689
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3704
3690
|
})(P || (P = {}));
|
|
3705
|
-
function
|
|
3706
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3707
|
-
var
|
|
3708
|
-
return !
|
|
3691
|
+
function Ri(e) {
|
|
3692
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3693
|
+
var r = t[t.length - 1];
|
|
3694
|
+
return !r || r.type !== P.literal || n.type !== P.literal ? t.push(n) : r.value += n.value, t;
|
|
3709
3695
|
}, []);
|
|
3710
3696
|
}
|
|
3711
|
-
function
|
|
3697
|
+
function Oi(e) {
|
|
3712
3698
|
return typeof e == "function";
|
|
3713
3699
|
}
|
|
3714
|
-
function we(e, t,
|
|
3715
|
-
if (e.length === 1 &&
|
|
3700
|
+
function we(e, t, n, r, i, o, a) {
|
|
3701
|
+
if (e.length === 1 && St(e[0]))
|
|
3716
3702
|
return [
|
|
3717
3703
|
{
|
|
3718
3704
|
type: P.literal,
|
|
@@ -3721,155 +3707,155 @@ function we(e, t, r, n, i, o, a) {
|
|
|
3721
3707
|
];
|
|
3722
3708
|
for (var s = [], h = 0, l = e; h < l.length; h++) {
|
|
3723
3709
|
var u = l[h];
|
|
3724
|
-
if (
|
|
3710
|
+
if (St(u)) {
|
|
3725
3711
|
s.push({
|
|
3726
3712
|
type: P.literal,
|
|
3727
3713
|
value: u.value
|
|
3728
3714
|
});
|
|
3729
3715
|
continue;
|
|
3730
3716
|
}
|
|
3731
|
-
if (
|
|
3717
|
+
if (Kr(u)) {
|
|
3732
3718
|
typeof o == "number" && s.push({
|
|
3733
3719
|
type: P.literal,
|
|
3734
|
-
value:
|
|
3720
|
+
value: n.getNumberFormat(t).format(o)
|
|
3735
3721
|
});
|
|
3736
3722
|
continue;
|
|
3737
3723
|
}
|
|
3738
3724
|
var f = u.value;
|
|
3739
3725
|
if (!(i && f in i))
|
|
3740
|
-
throw new
|
|
3726
|
+
throw new Pi(f, a);
|
|
3741
3727
|
var c = i[f];
|
|
3742
|
-
if (
|
|
3728
|
+
if (qr(u)) {
|
|
3743
3729
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3744
3730
|
type: typeof c == "string" ? P.literal : P.object,
|
|
3745
3731
|
value: c
|
|
3746
3732
|
});
|
|
3747
3733
|
continue;
|
|
3748
3734
|
}
|
|
3749
|
-
if (
|
|
3750
|
-
var
|
|
3735
|
+
if (an(u)) {
|
|
3736
|
+
var d = typeof u.style == "string" ? r.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
|
|
3751
3737
|
s.push({
|
|
3752
3738
|
type: P.literal,
|
|
3753
|
-
value:
|
|
3739
|
+
value: n.getDateTimeFormat(t, d).format(c)
|
|
3754
3740
|
});
|
|
3755
3741
|
continue;
|
|
3756
3742
|
}
|
|
3757
|
-
if (
|
|
3758
|
-
var
|
|
3743
|
+
if (sn(u)) {
|
|
3744
|
+
var d = typeof u.style == "string" ? r.time[u.style] : Qe(u.style) ? u.style.parsedOptions : r.time.medium;
|
|
3759
3745
|
s.push({
|
|
3760
3746
|
type: P.literal,
|
|
3761
|
-
value:
|
|
3747
|
+
value: n.getDateTimeFormat(t, d).format(c)
|
|
3762
3748
|
});
|
|
3763
3749
|
continue;
|
|
3764
3750
|
}
|
|
3765
|
-
if (
|
|
3766
|
-
var
|
|
3767
|
-
|
|
3751
|
+
if (on(u)) {
|
|
3752
|
+
var d = typeof u.style == "string" ? r.number[u.style] : cn(u.style) ? u.style.parsedOptions : void 0;
|
|
3753
|
+
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
3768
3754
|
type: P.literal,
|
|
3769
|
-
value:
|
|
3755
|
+
value: n.getNumberFormat(t, d).format(c)
|
|
3770
3756
|
});
|
|
3771
3757
|
continue;
|
|
3772
3758
|
}
|
|
3773
|
-
if (
|
|
3774
|
-
var
|
|
3775
|
-
if (!
|
|
3776
|
-
throw new
|
|
3777
|
-
var H = we(
|
|
3778
|
-
return
|
|
3759
|
+
if (hn(u)) {
|
|
3760
|
+
var m = u.children, p = u.value, A = i[p];
|
|
3761
|
+
if (!Oi(A))
|
|
3762
|
+
throw new Ai(p, "function", a);
|
|
3763
|
+
var H = we(m, t, n, r, i, o), T = A(H.map(function(M) {
|
|
3764
|
+
return M.value;
|
|
3779
3765
|
}));
|
|
3780
|
-
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(
|
|
3766
|
+
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(M) {
|
|
3781
3767
|
return {
|
|
3782
|
-
type: typeof
|
|
3783
|
-
value:
|
|
3768
|
+
type: typeof M == "string" ? P.literal : P.object,
|
|
3769
|
+
value: M
|
|
3784
3770
|
};
|
|
3785
3771
|
}));
|
|
3786
3772
|
}
|
|
3787
|
-
if (
|
|
3773
|
+
if (un(u)) {
|
|
3788
3774
|
var B = u.options[c] || u.options.other;
|
|
3789
3775
|
if (!B)
|
|
3790
|
-
throw new
|
|
3791
|
-
s.push.apply(s, we(B.value, t,
|
|
3776
|
+
throw new Ot(u.value, c, Object.keys(u.options), a);
|
|
3777
|
+
s.push.apply(s, we(B.value, t, n, r, i));
|
|
3792
3778
|
continue;
|
|
3793
3779
|
}
|
|
3794
|
-
if (
|
|
3780
|
+
if (ln(u)) {
|
|
3795
3781
|
var B = u.options["=".concat(c)];
|
|
3796
3782
|
if (!B) {
|
|
3797
3783
|
if (!Intl.PluralRules)
|
|
3798
|
-
throw new
|
|
3784
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3799
3785
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3800
|
-
`,
|
|
3801
|
-
var
|
|
3802
|
-
B = u.options[
|
|
3786
|
+
`, re.MISSING_INTL_API, a);
|
|
3787
|
+
var N = n.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
|
3788
|
+
B = u.options[N] || u.options.other;
|
|
3803
3789
|
}
|
|
3804
3790
|
if (!B)
|
|
3805
|
-
throw new
|
|
3806
|
-
s.push.apply(s, we(B.value, t,
|
|
3791
|
+
throw new Ot(u.value, c, Object.keys(u.options), a);
|
|
3792
|
+
s.push.apply(s, we(B.value, t, n, r, i, c - (u.offset || 0)));
|
|
3807
3793
|
continue;
|
|
3808
3794
|
}
|
|
3809
3795
|
}
|
|
3810
|
-
return
|
|
3796
|
+
return Ri(s);
|
|
3811
3797
|
}
|
|
3812
|
-
function
|
|
3813
|
-
return t ?
|
|
3814
|
-
return r
|
|
3798
|
+
function Ii(e, t) {
|
|
3799
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3800
|
+
return n[r] = x(x({}, e[r]), t[r] || {}), n;
|
|
3815
3801
|
}, {})) : e;
|
|
3816
3802
|
}
|
|
3817
3803
|
function Ni(e, t) {
|
|
3818
|
-
return t ? Object.keys(e).reduce(function(
|
|
3819
|
-
return r
|
|
3820
|
-
},
|
|
3804
|
+
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3805
|
+
return n[r] = Ii(e[r], t[r]), n;
|
|
3806
|
+
}, x({}, e)) : e;
|
|
3821
3807
|
}
|
|
3822
|
-
function
|
|
3808
|
+
function De(e) {
|
|
3823
3809
|
return {
|
|
3824
3810
|
create: function() {
|
|
3825
3811
|
return {
|
|
3826
3812
|
get: function(t) {
|
|
3827
3813
|
return e[t];
|
|
3828
3814
|
},
|
|
3829
|
-
set: function(t,
|
|
3830
|
-
e[t] =
|
|
3815
|
+
set: function(t, n) {
|
|
3816
|
+
e[t] = n;
|
|
3831
3817
|
}
|
|
3832
3818
|
};
|
|
3833
3819
|
}
|
|
3834
3820
|
};
|
|
3835
3821
|
}
|
|
3836
|
-
function
|
|
3822
|
+
function Mi(e) {
|
|
3837
3823
|
return e === void 0 && (e = {
|
|
3838
3824
|
number: {},
|
|
3839
3825
|
dateTime: {},
|
|
3840
3826
|
pluralRules: {}
|
|
3841
3827
|
}), {
|
|
3842
|
-
getNumberFormat:
|
|
3843
|
-
for (var t,
|
|
3844
|
-
r
|
|
3845
|
-
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0],
|
|
3828
|
+
getNumberFormat: Ge(function() {
|
|
3829
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3830
|
+
n[r] = arguments[r];
|
|
3831
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], n, !1)))();
|
|
3846
3832
|
}, {
|
|
3847
|
-
cache:
|
|
3848
|
-
strategy:
|
|
3833
|
+
cache: De(e.number),
|
|
3834
|
+
strategy: Ue.variadic
|
|
3849
3835
|
}),
|
|
3850
|
-
getDateTimeFormat:
|
|
3851
|
-
for (var t,
|
|
3852
|
-
r
|
|
3853
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0],
|
|
3836
|
+
getDateTimeFormat: Ge(function() {
|
|
3837
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3838
|
+
n[r] = arguments[r];
|
|
3839
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], n, !1)))();
|
|
3854
3840
|
}, {
|
|
3855
|
-
cache:
|
|
3856
|
-
strategy:
|
|
3841
|
+
cache: De(e.dateTime),
|
|
3842
|
+
strategy: Ue.variadic
|
|
3857
3843
|
}),
|
|
3858
|
-
getPluralRules:
|
|
3859
|
-
for (var t,
|
|
3860
|
-
r
|
|
3861
|
-
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0],
|
|
3844
|
+
getPluralRules: Ge(function() {
|
|
3845
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3846
|
+
n[r] = arguments[r];
|
|
3847
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], n, !1)))();
|
|
3862
3848
|
}, {
|
|
3863
|
-
cache:
|
|
3864
|
-
strategy:
|
|
3849
|
+
cache: De(e.pluralRules),
|
|
3850
|
+
strategy: Ue.variadic
|
|
3865
3851
|
})
|
|
3866
3852
|
};
|
|
3867
3853
|
}
|
|
3868
|
-
var
|
|
3854
|
+
var Li = (
|
|
3869
3855
|
/** @class */
|
|
3870
3856
|
function() {
|
|
3871
|
-
function e(t,
|
|
3872
|
-
|
|
3857
|
+
function e(t, n, r, i) {
|
|
3858
|
+
n === void 0 && (n = e.defaultLocale);
|
|
3873
3859
|
var o = this;
|
|
3874
3860
|
if (this.formatterCache = {
|
|
3875
3861
|
number: {},
|
|
@@ -3892,18 +3878,18 @@ var Gi = (
|
|
|
3892
3878
|
};
|
|
3893
3879
|
}, this.getAst = function() {
|
|
3894
3880
|
return o.ast;
|
|
3895
|
-
}, this.locales =
|
|
3881
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3896
3882
|
if (this.message = t, !e.__parse)
|
|
3897
3883
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3898
3884
|
var a = i || {};
|
|
3899
3885
|
a.formatters;
|
|
3900
|
-
var s =
|
|
3901
|
-
this.ast = e.__parse(t,
|
|
3886
|
+
var s = dr(a, ["formatters"]);
|
|
3887
|
+
this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
|
|
3902
3888
|
} else
|
|
3903
3889
|
this.ast = t;
|
|
3904
3890
|
if (!Array.isArray(this.ast))
|
|
3905
3891
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3906
|
-
this.formats = Ni(e.formats,
|
|
3892
|
+
this.formats = Ni(e.formats, r), this.formatters = i && i.formatters || Mi(this.formatterCache);
|
|
3907
3893
|
}
|
|
3908
3894
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3909
3895
|
get: function() {
|
|
@@ -3913,10 +3899,10 @@ var Gi = (
|
|
|
3913
3899
|
configurable: !0
|
|
3914
3900
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3915
3901
|
if (!(typeof Intl.Locale > "u")) {
|
|
3916
|
-
var
|
|
3917
|
-
return
|
|
3902
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3903
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3918
3904
|
}
|
|
3919
|
-
}, e.__parse =
|
|
3905
|
+
}, e.__parse = Bi, e.formats = {
|
|
3920
3906
|
number: {
|
|
3921
3907
|
integer: {
|
|
3922
3908
|
maximumFractionDigits: 0
|
|
@@ -3977,113 +3963,113 @@ var Gi = (
|
|
|
3977
3963
|
}, e;
|
|
3978
3964
|
}()
|
|
3979
3965
|
);
|
|
3980
|
-
function
|
|
3966
|
+
function Ci(e, t) {
|
|
3981
3967
|
if (t == null)
|
|
3982
3968
|
return;
|
|
3983
3969
|
if (t in e)
|
|
3984
3970
|
return e[t];
|
|
3985
|
-
const
|
|
3986
|
-
let
|
|
3987
|
-
for (let i = 0; i <
|
|
3988
|
-
if (typeof
|
|
3971
|
+
const n = t.split(".");
|
|
3972
|
+
let r = e;
|
|
3973
|
+
for (let i = 0; i < n.length; i++)
|
|
3974
|
+
if (typeof r == "object") {
|
|
3989
3975
|
if (i > 0) {
|
|
3990
|
-
const o =
|
|
3991
|
-
if (o in
|
|
3992
|
-
|
|
3976
|
+
const o = n.slice(i, n.length).join(".");
|
|
3977
|
+
if (o in r) {
|
|
3978
|
+
r = r[o];
|
|
3993
3979
|
break;
|
|
3994
3980
|
}
|
|
3995
3981
|
}
|
|
3996
|
-
|
|
3982
|
+
r = r[n[i]];
|
|
3997
3983
|
} else
|
|
3998
|
-
|
|
3999
|
-
return
|
|
3984
|
+
r = void 0;
|
|
3985
|
+
return r;
|
|
4000
3986
|
}
|
|
4001
|
-
const $ = {},
|
|
3987
|
+
const $ = {}, Gi = (e, t, n) => n && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = n), n), _n = (e, t) => {
|
|
4002
3988
|
if (t == null)
|
|
4003
3989
|
return;
|
|
4004
3990
|
if (t in $ && e in $[t])
|
|
4005
3991
|
return $[t][e];
|
|
4006
|
-
const
|
|
4007
|
-
for (let
|
|
4008
|
-
const i = r
|
|
3992
|
+
const n = Ie(t);
|
|
3993
|
+
for (let r = 0; r < n.length; r++) {
|
|
3994
|
+
const i = n[r], o = Fi(i, e);
|
|
4009
3995
|
if (o)
|
|
4010
|
-
return
|
|
3996
|
+
return Gi(e, t, o);
|
|
4011
3997
|
}
|
|
4012
3998
|
};
|
|
4013
|
-
let
|
|
3999
|
+
let at;
|
|
4014
4000
|
const ae = Re({});
|
|
4015
|
-
function
|
|
4016
|
-
return
|
|
4001
|
+
function Ui(e) {
|
|
4002
|
+
return at[e] || null;
|
|
4017
4003
|
}
|
|
4018
|
-
function
|
|
4019
|
-
return e in
|
|
4004
|
+
function xn(e) {
|
|
4005
|
+
return e in at;
|
|
4020
4006
|
}
|
|
4021
|
-
function
|
|
4022
|
-
if (!
|
|
4007
|
+
function Fi(e, t) {
|
|
4008
|
+
if (!xn(e))
|
|
4023
4009
|
return null;
|
|
4024
|
-
const
|
|
4025
|
-
return
|
|
4010
|
+
const n = Ui(e);
|
|
4011
|
+
return Ci(n, t);
|
|
4026
4012
|
}
|
|
4027
|
-
function
|
|
4013
|
+
function Di(e) {
|
|
4028
4014
|
if (e == null)
|
|
4029
4015
|
return;
|
|
4030
|
-
const t =
|
|
4031
|
-
for (let
|
|
4032
|
-
const
|
|
4033
|
-
if (
|
|
4034
|
-
return
|
|
4016
|
+
const t = Ie(e);
|
|
4017
|
+
for (let n = 0; n < t.length; n++) {
|
|
4018
|
+
const r = t[n];
|
|
4019
|
+
if (xn(r))
|
|
4020
|
+
return r;
|
|
4035
4021
|
}
|
|
4036
4022
|
}
|
|
4037
|
-
function
|
|
4038
|
-
delete $[e], ae.update((
|
|
4023
|
+
function vn(e, ...t) {
|
|
4024
|
+
delete $[e], ae.update((n) => (n[e] = Vr.all([n[e] || {}, ...t]), n));
|
|
4039
4025
|
}
|
|
4040
4026
|
oe(
|
|
4041
4027
|
[ae],
|
|
4042
4028
|
([e]) => Object.keys(e)
|
|
4043
4029
|
);
|
|
4044
|
-
ae.subscribe((e) =>
|
|
4030
|
+
ae.subscribe((e) => at = e);
|
|
4045
4031
|
const Se = {};
|
|
4046
|
-
function
|
|
4032
|
+
function $i(e, t) {
|
|
4047
4033
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4048
4034
|
}
|
|
4049
|
-
function
|
|
4035
|
+
function En(e) {
|
|
4050
4036
|
return Se[e];
|
|
4051
4037
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return
|
|
4054
|
-
const
|
|
4055
|
-
return [t,
|
|
4038
|
+
function ji(e) {
|
|
4039
|
+
return Ie(e).map((t) => {
|
|
4040
|
+
const n = En(t);
|
|
4041
|
+
return [t, n ? [...n] : []];
|
|
4056
4042
|
}).filter(([, t]) => t.length > 0);
|
|
4057
4043
|
}
|
|
4058
4044
|
function nt(e) {
|
|
4059
|
-
return e == null ? !1 :
|
|
4045
|
+
return e == null ? !1 : Ie(e).some(
|
|
4060
4046
|
(t) => {
|
|
4061
|
-
var
|
|
4062
|
-
return (
|
|
4047
|
+
var n;
|
|
4048
|
+
return (n = En(t)) == null ? void 0 : n.size;
|
|
4063
4049
|
}
|
|
4064
4050
|
);
|
|
4065
4051
|
}
|
|
4066
|
-
function
|
|
4052
|
+
function ki(e, t) {
|
|
4067
4053
|
return Promise.all(
|
|
4068
|
-
t.map((
|
|
4069
|
-
).then((
|
|
4054
|
+
t.map((r) => ($i(e, r), r().then((i) => i.default || i)))
|
|
4055
|
+
).then((r) => vn(e, ...r));
|
|
4070
4056
|
}
|
|
4071
4057
|
const le = {};
|
|
4072
|
-
function
|
|
4058
|
+
function wn(e) {
|
|
4073
4059
|
if (!nt(e))
|
|
4074
4060
|
return e in le ? le[e] : Promise.resolve();
|
|
4075
|
-
const t =
|
|
4061
|
+
const t = ji(e);
|
|
4076
4062
|
return le[e] = Promise.all(
|
|
4077
4063
|
t.map(
|
|
4078
|
-
([
|
|
4064
|
+
([n, r]) => ki(n, r)
|
|
4079
4065
|
)
|
|
4080
4066
|
).then(() => {
|
|
4081
4067
|
if (nt(e))
|
|
4082
|
-
return
|
|
4068
|
+
return wn(e);
|
|
4083
4069
|
delete le[e];
|
|
4084
4070
|
}), le[e];
|
|
4085
4071
|
}
|
|
4086
|
-
const
|
|
4072
|
+
const Vi = {
|
|
4087
4073
|
number: {
|
|
4088
4074
|
scientific: { notation: "scientific" },
|
|
4089
4075
|
engineering: { notation: "engineering" },
|
|
@@ -4112,136 +4098,136 @@ const Xi = {
|
|
|
4112
4098
|
timeZoneName: "short"
|
|
4113
4099
|
}
|
|
4114
4100
|
}
|
|
4115
|
-
},
|
|
4101
|
+
}, Wi = {
|
|
4116
4102
|
fallbackLocale: null,
|
|
4117
4103
|
loadingDelay: 200,
|
|
4118
|
-
formats:
|
|
4104
|
+
formats: Vi,
|
|
4119
4105
|
warnOnMissingMessages: !0,
|
|
4120
4106
|
handleMissingMessage: void 0,
|
|
4121
4107
|
ignoreTag: !0
|
|
4122
|
-
},
|
|
4108
|
+
}, Xi = Wi;
|
|
4123
4109
|
function ie() {
|
|
4124
|
-
return
|
|
4125
|
-
}
|
|
4126
|
-
const
|
|
4127
|
-
var
|
|
4128
|
-
for (var
|
|
4129
|
-
|
|
4130
|
-
if (
|
|
4131
|
-
for (var
|
|
4132
|
-
|
|
4110
|
+
return Xi;
|
|
4111
|
+
}
|
|
4112
|
+
const $e = Re(!1);
|
|
4113
|
+
var zi = Object.defineProperty, Ji = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Nt = (e, t, n) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, qi = (e, t) => {
|
|
4114
|
+
for (var n in t)
|
|
4115
|
+
Qi.call(t, n) && Nt(e, n, t[n]);
|
|
4116
|
+
if (It)
|
|
4117
|
+
for (var n of It(t))
|
|
4118
|
+
Yi.call(t, n) && Nt(e, n, t[n]);
|
|
4133
4119
|
return e;
|
|
4134
|
-
},
|
|
4135
|
-
let
|
|
4120
|
+
}, Ki = (e, t) => Ji(e, Zi(t));
|
|
4121
|
+
let rt;
|
|
4136
4122
|
const Be = Re(null);
|
|
4137
|
-
function
|
|
4138
|
-
return e.split("-").map((t,
|
|
4123
|
+
function Mt(e) {
|
|
4124
|
+
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
4139
4125
|
}
|
|
4140
|
-
function
|
|
4141
|
-
const
|
|
4142
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
4126
|
+
function Ie(e, t = ie().fallbackLocale) {
|
|
4127
|
+
const n = Mt(e);
|
|
4128
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Mt(t)])] : n;
|
|
4143
4129
|
}
|
|
4144
4130
|
function J() {
|
|
4145
|
-
return
|
|
4131
|
+
return rt ?? void 0;
|
|
4146
4132
|
}
|
|
4147
4133
|
Be.subscribe((e) => {
|
|
4148
|
-
|
|
4134
|
+
rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4149
4135
|
});
|
|
4150
|
-
const
|
|
4151
|
-
if (e &&
|
|
4136
|
+
const eo = (e) => {
|
|
4137
|
+
if (e && Di(e) && nt(e)) {
|
|
4152
4138
|
const { loadingDelay: t } = ie();
|
|
4153
|
-
let
|
|
4154
|
-
return typeof window < "u" && J() != null && t ?
|
|
4155
|
-
() =>
|
|
4139
|
+
let n;
|
|
4140
|
+
return typeof window < "u" && J() != null && t ? n = window.setTimeout(
|
|
4141
|
+
() => $e.set(!0),
|
|
4156
4142
|
t
|
|
4157
|
-
) :
|
|
4143
|
+
) : $e.set(!0), wn(e).then(() => {
|
|
4158
4144
|
Be.set(e);
|
|
4159
4145
|
}).finally(() => {
|
|
4160
|
-
clearTimeout(
|
|
4146
|
+
clearTimeout(n), $e.set(!1);
|
|
4161
4147
|
});
|
|
4162
4148
|
}
|
|
4163
4149
|
return Be.set(e);
|
|
4164
|
-
}, V =
|
|
4165
|
-
set:
|
|
4166
|
-
}),
|
|
4150
|
+
}, V = Ki(qi({}, Be), {
|
|
4151
|
+
set: eo
|
|
4152
|
+
}), Ne = (e) => {
|
|
4167
4153
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4168
|
-
return (
|
|
4169
|
-
const i = JSON.stringify(
|
|
4170
|
-
return i in t ? t[i] : t[i] = e(
|
|
4154
|
+
return (r) => {
|
|
4155
|
+
const i = JSON.stringify(r);
|
|
4156
|
+
return i in t ? t[i] : t[i] = e(r);
|
|
4171
4157
|
};
|
|
4172
4158
|
};
|
|
4173
|
-
var
|
|
4174
|
-
for (var
|
|
4175
|
-
|
|
4159
|
+
var to = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, st = (e, t) => {
|
|
4160
|
+
for (var n in t || (t = {}))
|
|
4161
|
+
Sn.call(t, n) && Lt(e, n, t[n]);
|
|
4176
4162
|
if (Ae)
|
|
4177
|
-
for (var
|
|
4178
|
-
|
|
4163
|
+
for (var n of Ae(t))
|
|
4164
|
+
Tn.call(t, n) && Lt(e, n, t[n]);
|
|
4179
4165
|
return e;
|
|
4180
4166
|
}, se = (e, t) => {
|
|
4181
|
-
var
|
|
4182
|
-
for (var
|
|
4183
|
-
|
|
4167
|
+
var n = {};
|
|
4168
|
+
for (var r in e)
|
|
4169
|
+
Sn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
4184
4170
|
if (e != null && Ae)
|
|
4185
|
-
for (var
|
|
4186
|
-
t.indexOf(
|
|
4187
|
-
return
|
|
4171
|
+
for (var r of Ae(e))
|
|
4172
|
+
t.indexOf(r) < 0 && Tn.call(e, r) && (n[r] = e[r]);
|
|
4173
|
+
return n;
|
|
4188
4174
|
};
|
|
4189
|
-
const
|
|
4190
|
-
const { formats:
|
|
4191
|
-
if (e in
|
|
4192
|
-
return
|
|
4175
|
+
const me = (e, t) => {
|
|
4176
|
+
const { formats: n } = ie();
|
|
4177
|
+
if (e in n && t in n[e])
|
|
4178
|
+
return n[e][t];
|
|
4193
4179
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4194
|
-
},
|
|
4180
|
+
}, no = Ne(
|
|
4195
4181
|
(e) => {
|
|
4196
|
-
var t = e, { locale:
|
|
4197
|
-
if (
|
|
4182
|
+
var t = e, { locale: n, format: r } = t, i = se(t, ["locale", "format"]);
|
|
4183
|
+
if (n == null)
|
|
4198
4184
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4199
|
-
return
|
|
4185
|
+
return r && (i = me("number", r)), new Intl.NumberFormat(n, i);
|
|
4200
4186
|
}
|
|
4201
|
-
),
|
|
4187
|
+
), ro = Ne(
|
|
4202
4188
|
(e) => {
|
|
4203
|
-
var t = e, { locale:
|
|
4204
|
-
if (
|
|
4189
|
+
var t = e, { locale: n, format: r } = t, i = se(t, ["locale", "format"]);
|
|
4190
|
+
if (n == null)
|
|
4205
4191
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4206
|
-
return
|
|
4192
|
+
return r ? i = me("date", r) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
4207
4193
|
}
|
|
4208
|
-
),
|
|
4194
|
+
), io = Ne(
|
|
4209
4195
|
(e) => {
|
|
4210
|
-
var t = e, { locale:
|
|
4211
|
-
if (
|
|
4196
|
+
var t = e, { locale: n, format: r } = t, i = se(t, ["locale", "format"]);
|
|
4197
|
+
if (n == null)
|
|
4212
4198
|
throw new Error(
|
|
4213
4199
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4214
4200
|
);
|
|
4215
|
-
return
|
|
4201
|
+
return r ? i = me("time", r) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
4216
4202
|
}
|
|
4217
|
-
),
|
|
4203
|
+
), oo = (e = {}) => {
|
|
4218
4204
|
var t = e, {
|
|
4219
|
-
locale:
|
|
4220
|
-
} = t,
|
|
4205
|
+
locale: n = J()
|
|
4206
|
+
} = t, r = se(t, [
|
|
4221
4207
|
"locale"
|
|
4222
4208
|
]);
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4209
|
+
return no(st({ locale: n }, r));
|
|
4210
|
+
}, ao = (e = {}) => {
|
|
4225
4211
|
var t = e, {
|
|
4226
|
-
locale:
|
|
4227
|
-
} = t,
|
|
4212
|
+
locale: n = J()
|
|
4213
|
+
} = t, r = se(t, [
|
|
4228
4214
|
"locale"
|
|
4229
4215
|
]);
|
|
4230
|
-
return
|
|
4231
|
-
},
|
|
4216
|
+
return ro(st({ locale: n }, r));
|
|
4217
|
+
}, so = (e = {}) => {
|
|
4232
4218
|
var t = e, {
|
|
4233
|
-
locale:
|
|
4234
|
-
} = t,
|
|
4219
|
+
locale: n = J()
|
|
4220
|
+
} = t, r = se(t, [
|
|
4235
4221
|
"locale"
|
|
4236
4222
|
]);
|
|
4237
|
-
return
|
|
4238
|
-
},
|
|
4223
|
+
return io(st({ locale: n }, r));
|
|
4224
|
+
}, uo = Ne(
|
|
4239
4225
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4240
|
-
(e, t = J()) => new
|
|
4226
|
+
(e, t = J()) => new Li(e, t, ie().formats, {
|
|
4241
4227
|
ignoreTag: ie().ignoreTag
|
|
4242
4228
|
})
|
|
4243
|
-
),
|
|
4244
|
-
var
|
|
4229
|
+
), lo = (e, t = {}) => {
|
|
4230
|
+
var n, r, i, o;
|
|
4245
4231
|
let a = t;
|
|
4246
4232
|
typeof e == "object" && (a = e, e = a.id);
|
|
4247
4233
|
const {
|
|
@@ -4253,9 +4239,9 @@ const de = (e, t) => {
|
|
|
4253
4239
|
throw new Error(
|
|
4254
4240
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4255
4241
|
);
|
|
4256
|
-
let u =
|
|
4242
|
+
let u = _n(e, h);
|
|
4257
4243
|
if (!u)
|
|
4258
|
-
u = (o = (i = (
|
|
4244
|
+
u = (o = (i = (r = (n = ie()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4259
4245
|
else if (typeof u != "string")
|
|
4260
4246
|
return console.warn(
|
|
4261
4247
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4264,7 +4250,7 @@ const de = (e, t) => {
|
|
|
4264
4250
|
return u;
|
|
4265
4251
|
let f = u;
|
|
4266
4252
|
try {
|
|
4267
|
-
f =
|
|
4253
|
+
f = uo(u, h).format(s);
|
|
4268
4254
|
} catch (c) {
|
|
4269
4255
|
c instanceof Error && console.warn(
|
|
4270
4256
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4272,48 +4258,48 @@ const de = (e, t) => {
|
|
|
4272
4258
|
);
|
|
4273
4259
|
}
|
|
4274
4260
|
return f;
|
|
4275
|
-
},
|
|
4261
|
+
}, ho = (e, t) => so(t).format(e), co = (e, t) => ao(t).format(e), fo = (e, t) => oo(t).format(e), mo = (e, t = J()) => _n(e, t), po = oe([V, ae], () => lo);
|
|
4262
|
+
oe([V], () => ho);
|
|
4263
|
+
oe([V], () => co);
|
|
4276
4264
|
oe([V], () => fo);
|
|
4277
|
-
oe([V], () => mo);
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
const yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4282
|
-
function vo(e, t) {
|
|
4265
|
+
oe([V, ae], () => mo);
|
|
4266
|
+
window.emWidgets = { topic: Br };
|
|
4267
|
+
const bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4268
|
+
function go(e, t) {
|
|
4283
4269
|
if (e) {
|
|
4284
|
-
const
|
|
4285
|
-
|
|
4270
|
+
const n = document.createElement("style");
|
|
4271
|
+
n.innerHTML = t, e.appendChild(n);
|
|
4286
4272
|
}
|
|
4287
4273
|
}
|
|
4288
|
-
function
|
|
4289
|
-
const
|
|
4290
|
-
fetch(
|
|
4274
|
+
function yo(e, t) {
|
|
4275
|
+
const n = new URL(t);
|
|
4276
|
+
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
4291
4277
|
const i = document.createElement("style");
|
|
4292
|
-
i.innerHTML =
|
|
4293
|
-
}).catch((
|
|
4294
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4278
|
+
i.innerHTML = r, e && e.appendChild(i);
|
|
4279
|
+
}).catch((r) => {
|
|
4280
|
+
console.error("There was an error while trying to load client styling from URL", r);
|
|
4295
4281
|
});
|
|
4296
4282
|
}
|
|
4297
|
-
function
|
|
4283
|
+
function _o(e, t, n) {
|
|
4298
4284
|
if (window.emMessageBus) {
|
|
4299
|
-
const
|
|
4285
|
+
const r = document.createElement("style");
|
|
4300
4286
|
window.emMessageBus.subscribe(t, (i) => {
|
|
4301
|
-
|
|
4287
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
4302
4288
|
});
|
|
4303
4289
|
}
|
|
4304
4290
|
}
|
|
4305
|
-
function
|
|
4306
|
-
V.subscribe((
|
|
4307
|
-
|
|
4291
|
+
function xo({ withLocale: e, translations: t }) {
|
|
4292
|
+
V.subscribe((n) => {
|
|
4293
|
+
n == null && (ae.set(t), V.set(e));
|
|
4308
4294
|
});
|
|
4309
4295
|
}
|
|
4310
|
-
function
|
|
4311
|
-
|
|
4296
|
+
function Ct(e, t) {
|
|
4297
|
+
vn(e, t);
|
|
4312
4298
|
}
|
|
4313
|
-
function
|
|
4299
|
+
function vo(e) {
|
|
4314
4300
|
V.set(e);
|
|
4315
4301
|
}
|
|
4316
|
-
const
|
|
4302
|
+
const Gt = {
|
|
4317
4303
|
en: {
|
|
4318
4304
|
playRandomGame: "Play a random game",
|
|
4319
4305
|
randomGameLoading: "Selecting ...",
|
|
@@ -4387,152 +4373,152 @@ const Ft = {
|
|
|
4387
4373
|
noGames: "There are no random games to play"
|
|
4388
4374
|
}
|
|
4389
4375
|
};
|
|
4390
|
-
function
|
|
4391
|
-
|
|
4376
|
+
function Eo(e) {
|
|
4377
|
+
zn(e, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
4392
4378
|
}
|
|
4393
|
-
function
|
|
4394
|
-
const
|
|
4395
|
-
return
|
|
4379
|
+
function Ut(e, t, n) {
|
|
4380
|
+
const r = e.slice();
|
|
4381
|
+
return r[41] = t[n], r;
|
|
4396
4382
|
}
|
|
4397
|
-
const
|
|
4398
|
-
function
|
|
4399
|
-
let t,
|
|
4383
|
+
const wo = (e) => ({}), Ft = (e) => ({});
|
|
4384
|
+
function Dt(e) {
|
|
4385
|
+
let t, n, r, i, o, a, s;
|
|
4400
4386
|
const h = (
|
|
4401
4387
|
/*#slots*/
|
|
4402
4388
|
e[23].close
|
|
4403
|
-
), l =
|
|
4389
|
+
), l = kn(
|
|
4404
4390
|
h,
|
|
4405
4391
|
e,
|
|
4406
4392
|
/*$$scope*/
|
|
4407
4393
|
e[22],
|
|
4408
|
-
|
|
4409
|
-
), u = l ||
|
|
4410
|
-
function f(
|
|
4394
|
+
Ft
|
|
4395
|
+
), u = l || So();
|
|
4396
|
+
function f(m, p) {
|
|
4411
4397
|
return (
|
|
4412
4398
|
/*hasRandomGames*/
|
|
4413
|
-
|
|
4399
|
+
m[7] ? Ho : To
|
|
4414
4400
|
);
|
|
4415
4401
|
}
|
|
4416
|
-
let c = f(e),
|
|
4402
|
+
let c = f(e), d = c(e);
|
|
4417
4403
|
return {
|
|
4418
4404
|
c() {
|
|
4419
|
-
t = S("div"),
|
|
4405
|
+
t = S("div"), n = S("div"), r = S("span"), u.c(), i = k(), d.c(), g(r, "class", "ModalCloseBtn"), g(r, "role", "button"), g(n, "class", "ModalContainer"), g(t, "class", "ModalWindow");
|
|
4420
4406
|
},
|
|
4421
|
-
m(
|
|
4422
|
-
|
|
4423
|
-
|
|
4407
|
+
m(m, p) {
|
|
4408
|
+
I(m, t, p), v(t, n), v(n, r), u.m(r, null), v(n, i), d.m(n, null), o = !0, a || (s = Te(
|
|
4409
|
+
r,
|
|
4424
4410
|
"click",
|
|
4425
4411
|
/*closeModal*/
|
|
4426
4412
|
e[12]
|
|
4427
4413
|
), a = !0);
|
|
4428
4414
|
},
|
|
4429
|
-
p(
|
|
4415
|
+
p(m, p) {
|
|
4430
4416
|
l && l.p && (!o || p[0] & /*$$scope*/
|
|
4431
|
-
4194304) &&
|
|
4417
|
+
4194304) && Wn(
|
|
4432
4418
|
l,
|
|
4433
4419
|
h,
|
|
4434
|
-
|
|
4420
|
+
m,
|
|
4435
4421
|
/*$$scope*/
|
|
4436
|
-
|
|
4437
|
-
o ?
|
|
4422
|
+
m[22],
|
|
4423
|
+
o ? Vn(
|
|
4438
4424
|
h,
|
|
4439
4425
|
/*$$scope*/
|
|
4440
|
-
|
|
4426
|
+
m[22],
|
|
4441
4427
|
p,
|
|
4442
|
-
|
|
4443
|
-
) :
|
|
4428
|
+
wo
|
|
4429
|
+
) : Xn(
|
|
4444
4430
|
/*$$scope*/
|
|
4445
|
-
|
|
4431
|
+
m[22]
|
|
4446
4432
|
),
|
|
4447
|
-
|
|
4448
|
-
), c === (c = f(
|
|
4433
|
+
Ft
|
|
4434
|
+
), c === (c = f(m)) && d ? d.p(m, p) : (d.d(1), d = c(m), d && (d.c(), d.m(n, null)));
|
|
4449
4435
|
},
|
|
4450
|
-
i(
|
|
4451
|
-
o || (ce(u,
|
|
4436
|
+
i(m) {
|
|
4437
|
+
o || (ce(u, m), o = !0);
|
|
4452
4438
|
},
|
|
4453
|
-
o(
|
|
4454
|
-
|
|
4439
|
+
o(m) {
|
|
4440
|
+
Ve(u, m), o = !1;
|
|
4455
4441
|
},
|
|
4456
|
-
d(
|
|
4457
|
-
|
|
4442
|
+
d(m) {
|
|
4443
|
+
m && R(t), u.d(m), d.d(), a = !1, s();
|
|
4458
4444
|
}
|
|
4459
4445
|
};
|
|
4460
4446
|
}
|
|
4461
|
-
function
|
|
4462
|
-
let t,
|
|
4447
|
+
function So(e) {
|
|
4448
|
+
let t, n;
|
|
4463
4449
|
return {
|
|
4464
4450
|
c() {
|
|
4465
|
-
t =
|
|
4451
|
+
t = dt("svg"), n = dt("path"), g(n, "stroke-linecap", "round"), g(n, "stroke-linejoin", "round"), g(n, "stroke-width", "2"), g(n, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4466
4452
|
},
|
|
4467
|
-
m(
|
|
4468
|
-
|
|
4453
|
+
m(r, i) {
|
|
4454
|
+
I(r, t, i), v(t, n);
|
|
4469
4455
|
},
|
|
4470
|
-
p:
|
|
4471
|
-
d(
|
|
4472
|
-
|
|
4456
|
+
p: L,
|
|
4457
|
+
d(r) {
|
|
4458
|
+
r && R(t);
|
|
4473
4459
|
}
|
|
4474
4460
|
};
|
|
4475
4461
|
}
|
|
4476
|
-
function
|
|
4477
|
-
let t,
|
|
4462
|
+
function To(e) {
|
|
4463
|
+
let t, n = (
|
|
4478
4464
|
/*$_*/
|
|
4479
4465
|
e[9]("noGames") + ""
|
|
4480
|
-
),
|
|
4466
|
+
), r;
|
|
4481
4467
|
return {
|
|
4482
4468
|
c() {
|
|
4483
|
-
t = S("p"),
|
|
4469
|
+
t = S("p"), r = j(n), g(t, "class", "RandomGameLoading");
|
|
4484
4470
|
},
|
|
4485
4471
|
m(i, o) {
|
|
4486
|
-
|
|
4472
|
+
I(i, t, o), v(t, r);
|
|
4487
4473
|
},
|
|
4488
4474
|
p(i, o) {
|
|
4489
4475
|
o[0] & /*$_*/
|
|
4490
|
-
512 &&
|
|
4491
|
-
i[9]("noGames") + "") && X(
|
|
4476
|
+
512 && n !== (n = /*$_*/
|
|
4477
|
+
i[9]("noGames") + "") && X(r, n);
|
|
4492
4478
|
},
|
|
4493
4479
|
d(i) {
|
|
4494
4480
|
i && R(t);
|
|
4495
4481
|
}
|
|
4496
4482
|
};
|
|
4497
4483
|
}
|
|
4498
|
-
function
|
|
4499
|
-
let t,
|
|
4484
|
+
function Ho(e) {
|
|
4485
|
+
let t, n, r, i, o = pt(
|
|
4500
4486
|
/*gamesToShow*/
|
|
4501
4487
|
e[4]
|
|
4502
4488
|
), a = [];
|
|
4503
4489
|
for (let u = 0; u < o.length; u += 1)
|
|
4504
|
-
a[u] =
|
|
4490
|
+
a[u] = $t(Ut(e, o, u));
|
|
4505
4491
|
function s(u, f) {
|
|
4506
4492
|
return (
|
|
4507
4493
|
/*animationDone*/
|
|
4508
|
-
u[6] ?
|
|
4494
|
+
u[6] ? Ao : Bo
|
|
4509
4495
|
);
|
|
4510
4496
|
}
|
|
4511
4497
|
let h = s(e), l = h(e);
|
|
4512
4498
|
return {
|
|
4513
4499
|
c() {
|
|
4514
|
-
t = S("div"),
|
|
4500
|
+
t = S("div"), n = S("main"), r = S("div");
|
|
4515
4501
|
for (let u = 0; u < a.length; u += 1)
|
|
4516
4502
|
a[u].c();
|
|
4517
|
-
i = k(), l.c(), g(
|
|
4503
|
+
i = k(), l.c(), g(r, "class", "GamesContainer"), g(n, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
|
|
4518
4504
|
},
|
|
4519
4505
|
m(u, f) {
|
|
4520
|
-
|
|
4506
|
+
I(u, t, f), v(t, n), v(n, r);
|
|
4521
4507
|
for (let c = 0; c < a.length; c += 1)
|
|
4522
|
-
a[c] && a[c].m(
|
|
4523
|
-
e[24](
|
|
4508
|
+
a[c] && a[c].m(r, null);
|
|
4509
|
+
e[24](r), v(t, i), l.m(t, null);
|
|
4524
4510
|
},
|
|
4525
4511
|
p(u, f) {
|
|
4526
4512
|
if (f[0] & /*gamesToShow*/
|
|
4527
4513
|
16) {
|
|
4528
|
-
o =
|
|
4514
|
+
o = pt(
|
|
4529
4515
|
/*gamesToShow*/
|
|
4530
4516
|
u[4]
|
|
4531
4517
|
);
|
|
4532
4518
|
let c;
|
|
4533
4519
|
for (c = 0; c < o.length; c += 1) {
|
|
4534
|
-
const
|
|
4535
|
-
a[c] ? a[c].p(
|
|
4520
|
+
const d = Ut(u, o, c);
|
|
4521
|
+
a[c] ? a[c].p(d, f) : (a[c] = $t(d), a[c].c(), a[c].m(r, null));
|
|
4536
4522
|
}
|
|
4537
4523
|
for (; c < a.length; c += 1)
|
|
4538
4524
|
a[c].d(1);
|
|
@@ -4541,76 +4527,76 @@ function Ao(e) {
|
|
|
4541
4527
|
h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
|
|
4542
4528
|
},
|
|
4543
4529
|
d(u) {
|
|
4544
|
-
u && R(t),
|
|
4530
|
+
u && R(t), Qn(a, u), e[24](null), l.d();
|
|
4545
4531
|
}
|
|
4546
4532
|
};
|
|
4547
4533
|
}
|
|
4548
|
-
function
|
|
4549
|
-
let t,
|
|
4534
|
+
function $t(e) {
|
|
4535
|
+
let t, n, r, i, o, a;
|
|
4550
4536
|
return {
|
|
4551
4537
|
c() {
|
|
4552
|
-
t = S("div"),
|
|
4553
|
-
e[41].thumbnail) || g(
|
|
4554
|
-
e[41].name), g(
|
|
4538
|
+
t = S("div"), n = S("img"), a = k(), g(n, "class", "RandomGameImage"), ft(n.src, r = /*game*/
|
|
4539
|
+
e[41].thumbnail) || g(n, "src", r), g(n, "alt", i = /*game*/
|
|
4540
|
+
e[41].name), g(n, "title", o = /*game*/
|
|
4555
4541
|
e[41].name), g(t, "class", "item");
|
|
4556
4542
|
},
|
|
4557
4543
|
m(s, h) {
|
|
4558
|
-
|
|
4544
|
+
I(s, t, h), v(t, n), v(t, a);
|
|
4559
4545
|
},
|
|
4560
4546
|
p(s, h) {
|
|
4561
4547
|
h[0] & /*gamesToShow*/
|
|
4562
|
-
16 && !
|
|
4563
|
-
s[41].thumbnail) && g(
|
|
4548
|
+
16 && !ft(n.src, r = /*game*/
|
|
4549
|
+
s[41].thumbnail) && g(n, "src", r), h[0] & /*gamesToShow*/
|
|
4564
4550
|
16 && i !== (i = /*game*/
|
|
4565
|
-
s[41].name) && g(
|
|
4551
|
+
s[41].name) && g(n, "alt", i), h[0] & /*gamesToShow*/
|
|
4566
4552
|
16 && o !== (o = /*game*/
|
|
4567
|
-
s[41].name) && g(
|
|
4553
|
+
s[41].name) && g(n, "title", o);
|
|
4568
4554
|
},
|
|
4569
4555
|
d(s) {
|
|
4570
4556
|
s && R(t);
|
|
4571
4557
|
}
|
|
4572
4558
|
};
|
|
4573
4559
|
}
|
|
4574
|
-
function
|
|
4575
|
-
let t,
|
|
4560
|
+
function Bo(e) {
|
|
4561
|
+
let t, n = (
|
|
4576
4562
|
/*$_*/
|
|
4577
4563
|
e[9]("randomGameLoading") + ""
|
|
4578
|
-
),
|
|
4564
|
+
), r;
|
|
4579
4565
|
return {
|
|
4580
4566
|
c() {
|
|
4581
|
-
t = S("p"),
|
|
4567
|
+
t = S("p"), r = j(n), g(t, "class", "RandomGameLoading");
|
|
4582
4568
|
},
|
|
4583
4569
|
m(i, o) {
|
|
4584
|
-
|
|
4570
|
+
I(i, t, o), v(t, r);
|
|
4585
4571
|
},
|
|
4586
4572
|
p(i, o) {
|
|
4587
4573
|
o[0] & /*$_*/
|
|
4588
|
-
512 &&
|
|
4589
|
-
i[9]("randomGameLoading") + "") && X(
|
|
4574
|
+
512 && n !== (n = /*$_*/
|
|
4575
|
+
i[9]("randomGameLoading") + "") && X(r, n);
|
|
4590
4576
|
},
|
|
4591
4577
|
d(i) {
|
|
4592
4578
|
i && R(t);
|
|
4593
4579
|
}
|
|
4594
4580
|
};
|
|
4595
4581
|
}
|
|
4596
|
-
function
|
|
4597
|
-
let t,
|
|
4582
|
+
function Ao(e) {
|
|
4583
|
+
let t, n, r, i, o = (
|
|
4598
4584
|
/*randomGame*/
|
|
4599
4585
|
e[3].name + ""
|
|
4600
4586
|
), a, s, h, l = (
|
|
4601
4587
|
/*randomGame*/
|
|
4602
4588
|
e[3].vendor.name + ""
|
|
4603
|
-
), u, f, c,
|
|
4589
|
+
), u, f, c, d = (
|
|
4604
4590
|
/*$_*/
|
|
4605
4591
|
e[9]("playNowRandomGame") + ""
|
|
4606
|
-
),
|
|
4592
|
+
), m, p, A;
|
|
4607
4593
|
return {
|
|
4608
4594
|
c() {
|
|
4609
4595
|
t = S("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
4610
|
-
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,
|
|
4596
|
+
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, n = k(), r = S("div"), i = S("p"), a = j(o), s = k(), h = S("p"), u = j(l), f = k(), c = S("button"), m = j(d), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(r, "class", "RandomGameDetails");
|
|
4611
4597
|
},
|
|
4612
4598
|
m(H, T) {
|
|
4613
|
-
|
|
4599
|
+
I(H, t, T), I(H, n, T), I(H, r, T), v(r, i), v(i, a), v(r, s), v(r, h), v(h, u), v(r, f), v(r, c), v(c, m), p || (A = [
|
|
4614
4600
|
Te(
|
|
4615
4601
|
t,
|
|
4616
4602
|
"click",
|
|
@@ -4631,83 +4617,83 @@ function Ro(e) {
|
|
|
4631
4617
|
H[3].name + "") && X(a, o), T[0] & /*randomGame*/
|
|
4632
4618
|
8 && l !== (l = /*randomGame*/
|
|
4633
4619
|
H[3].vendor.name + "") && X(u, l), T[0] & /*$_*/
|
|
4634
|
-
512 &&
|
|
4635
|
-
H[9]("playNowRandomGame") + "") && X(
|
|
4620
|
+
512 && d !== (d = /*$_*/
|
|
4621
|
+
H[9]("playNowRandomGame") + "") && X(m, d);
|
|
4636
4622
|
},
|
|
4637
4623
|
d(H) {
|
|
4638
|
-
H && (R(t), R(
|
|
4624
|
+
H && (R(t), R(n), R(r)), p = !1, z(A);
|
|
4639
4625
|
}
|
|
4640
4626
|
};
|
|
4641
4627
|
}
|
|
4642
|
-
function
|
|
4643
|
-
let t,
|
|
4628
|
+
function Po(e) {
|
|
4629
|
+
let t, n = (
|
|
4644
4630
|
/*$_*/
|
|
4645
4631
|
e[9]("playRandomGame") + ""
|
|
4646
|
-
),
|
|
4632
|
+
), r;
|
|
4647
4633
|
return {
|
|
4648
4634
|
c() {
|
|
4649
|
-
t = S("span"),
|
|
4635
|
+
t = S("span"), r = j(n), g(t, "class", "RandomButtonText");
|
|
4650
4636
|
},
|
|
4651
4637
|
m(i, o) {
|
|
4652
|
-
|
|
4638
|
+
I(i, t, o), v(t, r);
|
|
4653
4639
|
},
|
|
4654
4640
|
p(i, o) {
|
|
4655
4641
|
o[0] & /*$_*/
|
|
4656
|
-
512 &&
|
|
4657
|
-
i[9]("playRandomGame") + "") && X(
|
|
4642
|
+
512 && n !== (n = /*$_*/
|
|
4643
|
+
i[9]("playRandomGame") + "") && X(r, n);
|
|
4658
4644
|
},
|
|
4659
4645
|
d(i) {
|
|
4660
4646
|
i && R(t);
|
|
4661
4647
|
}
|
|
4662
4648
|
};
|
|
4663
4649
|
}
|
|
4664
|
-
function
|
|
4665
|
-
let t,
|
|
4650
|
+
function Ro(e) {
|
|
4651
|
+
let t, n;
|
|
4666
4652
|
return {
|
|
4667
4653
|
c() {
|
|
4668
|
-
t = S("span"),
|
|
4654
|
+
t = S("span"), n = j(
|
|
4669
4655
|
/*buttontext*/
|
|
4670
4656
|
e[1]
|
|
4671
4657
|
), g(t, "class", "RandomButtonText");
|
|
4672
4658
|
},
|
|
4673
|
-
m(
|
|
4674
|
-
|
|
4659
|
+
m(r, i) {
|
|
4660
|
+
I(r, t, i), v(t, n);
|
|
4675
4661
|
},
|
|
4676
|
-
p(
|
|
4662
|
+
p(r, i) {
|
|
4677
4663
|
i[0] & /*buttontext*/
|
|
4678
4664
|
2 && X(
|
|
4679
|
-
|
|
4665
|
+
n,
|
|
4680
4666
|
/*buttontext*/
|
|
4681
|
-
|
|
4667
|
+
r[1]
|
|
4682
4668
|
);
|
|
4683
4669
|
},
|
|
4684
|
-
d(
|
|
4685
|
-
|
|
4670
|
+
d(r) {
|
|
4671
|
+
r && R(t);
|
|
4686
4672
|
}
|
|
4687
4673
|
};
|
|
4688
4674
|
}
|
|
4689
|
-
function
|
|
4690
|
-
let t,
|
|
4675
|
+
function Oo(e) {
|
|
4676
|
+
let t, n, r, i, o, a, s, h, l, u = (
|
|
4691
4677
|
/*show*/
|
|
4692
|
-
e[5] &&
|
|
4678
|
+
e[5] && Dt(e)
|
|
4693
4679
|
);
|
|
4694
|
-
function f(
|
|
4680
|
+
function f(m, p) {
|
|
4695
4681
|
if (
|
|
4696
4682
|
/*buttontext*/
|
|
4697
|
-
|
|
4683
|
+
m[1]
|
|
4698
4684
|
)
|
|
4699
|
-
return
|
|
4685
|
+
return Ro;
|
|
4700
4686
|
if (!/*buttontext*/
|
|
4701
|
-
|
|
4702
|
-
return
|
|
4687
|
+
m[1])
|
|
4688
|
+
return Po;
|
|
4703
4689
|
}
|
|
4704
|
-
let c = f(e),
|
|
4690
|
+
let c = f(e), d = c && c(e);
|
|
4705
4691
|
return {
|
|
4706
4692
|
c() {
|
|
4707
|
-
t = S("div"), u && u.c(),
|
|
4693
|
+
t = S("div"), u && u.c(), n = k(), r = S("div"), i = S("button"), d && d.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(r, "class", "RandomButtonWrapper");
|
|
4708
4694
|
},
|
|
4709
|
-
m(
|
|
4710
|
-
|
|
4695
|
+
m(m, p) {
|
|
4696
|
+
I(m, t, p), u && u.m(t, null), v(t, n), v(t, r), v(r, i), d && d.m(i, null), v(i, o), v(i, a), a.innerHTML = /*randombuttonicon*/
|
|
4711
4697
|
e[0], e[28](t), s = !0, h || (l = Te(
|
|
4712
4698
|
i,
|
|
4713
4699
|
"click",
|
|
@@ -4715,156 +4701,156 @@ function Mo(e) {
|
|
|
4715
4701
|
e[27]
|
|
4716
4702
|
), h = !0);
|
|
4717
4703
|
},
|
|
4718
|
-
p(
|
|
4704
|
+
p(m, p) {
|
|
4719
4705
|
/*show*/
|
|
4720
|
-
|
|
4721
|
-
32 && ce(u, 1)) : (u =
|
|
4706
|
+
m[5] ? u ? (u.p(m, p), p[0] & /*show*/
|
|
4707
|
+
32 && ce(u, 1)) : (u = Dt(m), u.c(), ce(u, 1), u.m(t, n)) : u && (ir(), Ve(u, 1, 1, () => {
|
|
4722
4708
|
u = null;
|
|
4723
|
-
}),
|
|
4709
|
+
}), or()), c === (c = f(m)) && d ? d.p(m, p) : (d && d.d(1), d = c && c(m), d && (d.c(), d.m(i, o))), (!s || p[0] & /*randombuttonicon*/
|
|
4724
4710
|
1) && (a.innerHTML = /*randombuttonicon*/
|
|
4725
|
-
|
|
4711
|
+
m[0]);
|
|
4726
4712
|
},
|
|
4727
|
-
i(
|
|
4713
|
+
i(m) {
|
|
4728
4714
|
s || (ce(u), s = !0);
|
|
4729
4715
|
},
|
|
4730
|
-
o(
|
|
4731
|
-
|
|
4716
|
+
o(m) {
|
|
4717
|
+
Ve(u), s = !1;
|
|
4732
4718
|
},
|
|
4733
|
-
d(
|
|
4734
|
-
|
|
4719
|
+
d(m) {
|
|
4720
|
+
m && R(t), u && u.d(), d && d.d(), e[28](null), h = !1, l();
|
|
4735
4721
|
}
|
|
4736
4722
|
};
|
|
4737
4723
|
}
|
|
4738
|
-
function
|
|
4739
|
-
let
|
|
4740
|
-
|
|
4741
|
-
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling:
|
|
4742
|
-
|
|
4743
|
-
const
|
|
4724
|
+
function Io(e, t, n) {
|
|
4725
|
+
let r;
|
|
4726
|
+
jn(e, po, (b) => n(9, r = b));
|
|
4727
|
+
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, N = !1, M = !1, C = !1, pe = window.navigator.userAgent, G, Z, ut, be, lt = null;
|
|
4728
|
+
xo({ withLocale: "en", translations: {} });
|
|
4729
|
+
const Hn = () => {
|
|
4744
4730
|
fetch(c).then((E) => E.json()).then((E) => {
|
|
4745
4731
|
Object.keys(E).forEach((U) => {
|
|
4746
|
-
|
|
4732
|
+
Ct(U, E[U]);
|
|
4747
4733
|
});
|
|
4748
4734
|
}).catch((E) => {
|
|
4749
4735
|
console.log(E);
|
|
4750
4736
|
});
|
|
4751
4737
|
};
|
|
4752
|
-
Object.keys(
|
|
4753
|
-
|
|
4738
|
+
Object.keys(Gt).forEach((b) => {
|
|
4739
|
+
Ct(b, Gt[b]);
|
|
4754
4740
|
});
|
|
4755
|
-
const
|
|
4741
|
+
const Bn = () => {
|
|
4756
4742
|
let b = new URL(`${a}/v1/casino/games`);
|
|
4757
|
-
b.searchParams.append("platform",
|
|
4758
|
-
H = E.items, H.length ? (
|
|
4743
|
+
b.searchParams.append("platform", bo(pe)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
|
|
4744
|
+
H = E.items, H.length ? (n(4, B = An(H.slice(0, 19))), n(7, C = !0)) : (n(4, B = []), n(7, C = !1));
|
|
4759
4745
|
}).catch((E) => {
|
|
4760
|
-
console.log(E),
|
|
4746
|
+
console.log(E), n(7, C = !1);
|
|
4761
4747
|
});
|
|
4762
|
-
},
|
|
4763
|
-
const E =
|
|
4748
|
+
}, An = (b) => {
|
|
4749
|
+
const E = Rn(b);
|
|
4764
4750
|
return E.concat(E);
|
|
4765
|
-
},
|
|
4766
|
-
await
|
|
4767
|
-
},
|
|
4768
|
-
|
|
4769
|
-
const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (
|
|
4751
|
+
}, Pn = async () => {
|
|
4752
|
+
await tr(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, n(3, T = B[be]), ut = Z.children[be];
|
|
4753
|
+
}, Me = async () => {
|
|
4754
|
+
n(6, M = !1), n(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Pn();
|
|
4755
|
+
const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (ut.offsetHeight + E) * be, Un = [
|
|
4770
4756
|
{ transform: "translateX(0px)" },
|
|
4771
4757
|
{ filter: "blur(5px)" },
|
|
4772
4758
|
{
|
|
4773
4759
|
transform: `translateY(-${ue}px)`
|
|
4774
4760
|
}
|
|
4775
|
-
],
|
|
4761
|
+
], Fn = {
|
|
4776
4762
|
duration: 2e3,
|
|
4777
4763
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
4778
4764
|
fill: "forwards"
|
|
4779
4765
|
};
|
|
4780
|
-
|
|
4781
|
-
|
|
4766
|
+
lt = Z.animate(Un, Fn), lt.onfinish = () => {
|
|
4767
|
+
n(6, M = !0);
|
|
4782
4768
|
};
|
|
4783
|
-
},
|
|
4769
|
+
}, Rn = (b) => {
|
|
4784
4770
|
const E = structuredClone(b);
|
|
4785
4771
|
let U = E.length, ue;
|
|
4786
4772
|
for (; U != 0; )
|
|
4787
4773
|
ue = Math.floor(Math.random() * U), U--, [E[U], E[ue]] = [E[ue], E[U]];
|
|
4788
4774
|
return E;
|
|
4789
|
-
},
|
|
4775
|
+
}, ht = () => {
|
|
4790
4776
|
window.postMessage(
|
|
4791
4777
|
{
|
|
4792
4778
|
type: h,
|
|
4793
4779
|
gameId: T.gId || T.id
|
|
4794
4780
|
},
|
|
4795
4781
|
window.location.href
|
|
4796
|
-
),
|
|
4782
|
+
), n(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
4797
4783
|
context: "RandomGameWidget",
|
|
4798
4784
|
gameId: `${T.gId || T.id}`
|
|
4799
4785
|
});
|
|
4800
|
-
},
|
|
4801
|
-
|
|
4802
|
-
},
|
|
4803
|
-
|
|
4786
|
+
}, On = () => {
|
|
4787
|
+
n(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
4788
|
+
}, In = () => {
|
|
4789
|
+
vo(l);
|
|
4804
4790
|
};
|
|
4805
|
-
|
|
4791
|
+
er(() => () => {
|
|
4806
4792
|
});
|
|
4807
|
-
function
|
|
4793
|
+
function Nn(b) {
|
|
4808
4794
|
He[b ? "unshift" : "push"](() => {
|
|
4809
|
-
Z = b,
|
|
4795
|
+
Z = b, n(8, Z);
|
|
4810
4796
|
});
|
|
4811
4797
|
}
|
|
4812
|
-
const
|
|
4813
|
-
function
|
|
4798
|
+
const Mn = () => Me(), Ln = () => ht(), Cn = () => Me();
|
|
4799
|
+
function Gn(b) {
|
|
4814
4800
|
He[b ? "unshift" : "push"](() => {
|
|
4815
|
-
G = b,
|
|
4801
|
+
G = b, n(2, G);
|
|
4816
4802
|
});
|
|
4817
4803
|
}
|
|
4818
4804
|
return e.$$set = (b) => {
|
|
4819
|
-
"endpoint" in b &&
|
|
4805
|
+
"endpoint" in b && n(13, a = b.endpoint), "datasource" in b && n(14, s = b.datasource), "gameevent" in b && n(15, h = b.gameevent), "lang" in b && n(16, l = b.lang), "randombuttonicon" in b && n(0, u = b.randombuttonicon), "buttontext" in b && n(1, f = b.buttontext), "translationurl" in b && n(17, c = b.translationurl), "clientstyling" in b && n(18, d = b.clientstyling), "clientstylingurl" in b && n(19, m = b.clientstylingurl), "filteredrandomgamecategories" in b && n(20, p = b.filteredrandomgamecategories), "mbsource" in b && n(21, A = b.mbsource), "$$scope" in b && n(22, o = b.$$scope);
|
|
4820
4806
|
}, e.$$.update = () => {
|
|
4821
4807
|
e.$$.dirty[0] & /*lang*/
|
|
4822
|
-
65536 && l &&
|
|
4823
|
-
131072 && c &&
|
|
4824
|
-
24576 && a && s &&
|
|
4825
|
-
262148 &&
|
|
4826
|
-
524292 &&
|
|
4827
|
-
2097156 && G &&
|
|
4808
|
+
65536 && l && In(), e.$$.dirty[0] & /*translationurl*/
|
|
4809
|
+
131072 && c && Hn(), e.$$.dirty[0] & /*endpoint, datasource*/
|
|
4810
|
+
24576 && a && s && Bn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4811
|
+
262148 && d && G && go(G, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4812
|
+
524292 && m && G && yo(G, m), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4813
|
+
2097156 && G && _o(G, `${A}.Style`);
|
|
4828
4814
|
}, [
|
|
4829
4815
|
u,
|
|
4830
4816
|
f,
|
|
4831
4817
|
G,
|
|
4832
4818
|
T,
|
|
4833
4819
|
B,
|
|
4820
|
+
N,
|
|
4834
4821
|
M,
|
|
4835
|
-
L,
|
|
4836
4822
|
C,
|
|
4837
4823
|
Z,
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4824
|
+
r,
|
|
4825
|
+
Me,
|
|
4826
|
+
ht,
|
|
4827
|
+
On,
|
|
4842
4828
|
a,
|
|
4843
4829
|
s,
|
|
4844
4830
|
h,
|
|
4845
4831
|
l,
|
|
4846
4832
|
c,
|
|
4847
|
-
m,
|
|
4848
4833
|
d,
|
|
4834
|
+
m,
|
|
4849
4835
|
p,
|
|
4850
4836
|
A,
|
|
4851
4837
|
o,
|
|
4852
4838
|
i,
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4839
|
+
Nn,
|
|
4840
|
+
Mn,
|
|
4841
|
+
Ln,
|
|
4842
|
+
Cn,
|
|
4843
|
+
Gn
|
|
4858
4844
|
];
|
|
4859
4845
|
}
|
|
4860
|
-
class No extends
|
|
4846
|
+
class No extends cr {
|
|
4861
4847
|
constructor(t) {
|
|
4862
|
-
super(),
|
|
4848
|
+
super(), lr(
|
|
4863
4849
|
this,
|
|
4864
4850
|
t,
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4851
|
+
Io,
|
|
4852
|
+
Oo,
|
|
4853
|
+
kt,
|
|
4868
4854
|
{
|
|
4869
4855
|
endpoint: 13,
|
|
4870
4856
|
datasource: 14,
|
|
@@ -4878,7 +4864,7 @@ class No extends dn {
|
|
|
4878
4864
|
filteredrandomgamecategories: 20,
|
|
4879
4865
|
mbsource: 21
|
|
4880
4866
|
},
|
|
4881
|
-
|
|
4867
|
+
Eo,
|
|
4882
4868
|
[-1, -1]
|
|
4883
4869
|
);
|
|
4884
4870
|
}
|
|
@@ -4886,70 +4872,70 @@ class No extends dn {
|
|
|
4886
4872
|
return this.$$.ctx[13];
|
|
4887
4873
|
}
|
|
4888
4874
|
set endpoint(t) {
|
|
4889
|
-
this.$$set({ endpoint: t }),
|
|
4875
|
+
this.$$set({ endpoint: t }), O();
|
|
4890
4876
|
}
|
|
4891
4877
|
get datasource() {
|
|
4892
4878
|
return this.$$.ctx[14];
|
|
4893
4879
|
}
|
|
4894
4880
|
set datasource(t) {
|
|
4895
|
-
this.$$set({ datasource: t }),
|
|
4881
|
+
this.$$set({ datasource: t }), O();
|
|
4896
4882
|
}
|
|
4897
4883
|
get gameevent() {
|
|
4898
4884
|
return this.$$.ctx[15];
|
|
4899
4885
|
}
|
|
4900
4886
|
set gameevent(t) {
|
|
4901
|
-
this.$$set({ gameevent: t }),
|
|
4887
|
+
this.$$set({ gameevent: t }), O();
|
|
4902
4888
|
}
|
|
4903
4889
|
get lang() {
|
|
4904
4890
|
return this.$$.ctx[16];
|
|
4905
4891
|
}
|
|
4906
4892
|
set lang(t) {
|
|
4907
|
-
this.$$set({ lang: t }),
|
|
4893
|
+
this.$$set({ lang: t }), O();
|
|
4908
4894
|
}
|
|
4909
4895
|
get randombuttonicon() {
|
|
4910
4896
|
return this.$$.ctx[0];
|
|
4911
4897
|
}
|
|
4912
4898
|
set randombuttonicon(t) {
|
|
4913
|
-
this.$$set({ randombuttonicon: t }),
|
|
4899
|
+
this.$$set({ randombuttonicon: t }), O();
|
|
4914
4900
|
}
|
|
4915
4901
|
get buttontext() {
|
|
4916
4902
|
return this.$$.ctx[1];
|
|
4917
4903
|
}
|
|
4918
4904
|
set buttontext(t) {
|
|
4919
|
-
this.$$set({ buttontext: t }),
|
|
4905
|
+
this.$$set({ buttontext: t }), O();
|
|
4920
4906
|
}
|
|
4921
4907
|
get translationurl() {
|
|
4922
4908
|
return this.$$.ctx[17];
|
|
4923
4909
|
}
|
|
4924
4910
|
set translationurl(t) {
|
|
4925
|
-
this.$$set({ translationurl: t }),
|
|
4911
|
+
this.$$set({ translationurl: t }), O();
|
|
4926
4912
|
}
|
|
4927
4913
|
get clientstyling() {
|
|
4928
4914
|
return this.$$.ctx[18];
|
|
4929
4915
|
}
|
|
4930
4916
|
set clientstyling(t) {
|
|
4931
|
-
this.$$set({ clientstyling: t }),
|
|
4917
|
+
this.$$set({ clientstyling: t }), O();
|
|
4932
4918
|
}
|
|
4933
4919
|
get clientstylingurl() {
|
|
4934
4920
|
return this.$$.ctx[19];
|
|
4935
4921
|
}
|
|
4936
4922
|
set clientstylingurl(t) {
|
|
4937
|
-
this.$$set({ clientstylingurl: t }),
|
|
4923
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4938
4924
|
}
|
|
4939
4925
|
get filteredrandomgamecategories() {
|
|
4940
4926
|
return this.$$.ctx[20];
|
|
4941
4927
|
}
|
|
4942
4928
|
set filteredrandomgamecategories(t) {
|
|
4943
|
-
this.$$set({ filteredrandomgamecategories: t }),
|
|
4929
|
+
this.$$set({ filteredrandomgamecategories: t }), O();
|
|
4944
4930
|
}
|
|
4945
4931
|
get mbsource() {
|
|
4946
4932
|
return this.$$.ctx[21];
|
|
4947
4933
|
}
|
|
4948
4934
|
set mbsource(t) {
|
|
4949
|
-
this.$$set({ mbsource: t }),
|
|
4935
|
+
this.$$set({ mbsource: t }), O();
|
|
4950
4936
|
}
|
|
4951
4937
|
}
|
|
4952
|
-
|
|
4938
|
+
hr(No, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
4953
4939
|
export {
|
|
4954
4940
|
No as C
|
|
4955
4941
|
};
|