@everymatrix/player-account-gaming-limits-confirmation-modal 1.76.13 → 1.76.14
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/{PlayerAccountGamingLimitsConfirmationModal-DPTWXl6u.js → PlayerAccountGamingLimitsConfirmationModal-DOMbcoQN.js} +829 -850
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BFEycNl5.js → PlayerAccountGamingLimitsConfirmationModal-DnjVTgpx.js} +708 -729
- package/components/PlayerAccountGamingLimitsConfirmationModal-Dz0I2smR.cjs +18 -0
- package/es2015/player-account-gaming-limits-confirmation-modal.cjs +1 -1
- package/es2015/player-account-gaming-limits-confirmation-modal.js +1 -1
- package/esnext/player-account-gaming-limits-confirmation-modal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-D-Dyivi3.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function O() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function fr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,67 +8,67 @@ function mr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Bt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function tt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function Q(e) {
|
|
18
|
+
e.forEach(Bt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Ze(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Ct(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function mr(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function At(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const n of t)
|
|
32
32
|
n(void 0);
|
|
33
|
-
return
|
|
33
|
+
return O;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function pr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(At(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function dr(e, t, r, n) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const i =
|
|
43
|
+
const i = Pt(e, t, r, n);
|
|
44
44
|
return e[0](i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && n ?
|
|
47
|
+
function Pt(e, t, r, n) {
|
|
48
|
+
return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function br(e, t, r, n) {
|
|
51
51
|
if (e[2] && n) {
|
|
52
52
|
const i = e[2](n(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
54
54
|
return i;
|
|
55
55
|
if (typeof i == "object") {
|
|
56
|
-
const o = [],
|
|
57
|
-
for (let
|
|
58
|
-
o[
|
|
56
|
+
const o = [], a = Math.max(t.dirty.length, i.length);
|
|
57
|
+
for (let s = 0; s < a; s += 1)
|
|
58
|
+
o[s] = t.dirty[s] | i[s];
|
|
59
59
|
return o;
|
|
60
60
|
}
|
|
61
61
|
return t.dirty | i;
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function gr(e, t, r, n, i, o) {
|
|
66
66
|
if (i) {
|
|
67
|
-
const
|
|
68
|
-
e.p(
|
|
67
|
+
const a = Pt(t, r, n, o);
|
|
68
|
+
e.p(a, i);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function yr(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let n = 0; n < r; n++)
|
|
@@ -80,14 +80,14 @@ function vr(e) {
|
|
|
80
80
|
function B(e, t) {
|
|
81
81
|
e.appendChild(t);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
const n =
|
|
83
|
+
function vr(e, t, r) {
|
|
84
|
+
const n = xr(e);
|
|
85
85
|
if (!n.getElementById(t)) {
|
|
86
|
-
const i =
|
|
87
|
-
i.id = t, i.textContent = r,
|
|
86
|
+
const i = I("style");
|
|
87
|
+
i.id = t, i.textContent = r, _r(n, i);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function xr(e) {
|
|
91
91
|
if (!e)
|
|
92
92
|
return document;
|
|
93
93
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -97,45 +97,45 @@ function _r(e) {
|
|
|
97
97
|
t
|
|
98
98
|
) : e.ownerDocument;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function _r(e, t) {
|
|
101
101
|
return B(
|
|
102
102
|
/** @type {Document} */
|
|
103
103
|
e.head || e,
|
|
104
104
|
t
|
|
105
105
|
), t.sheet;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Qe(e, t, r) {
|
|
108
108
|
e.insertBefore(t, r || null);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function de(e) {
|
|
111
111
|
e.parentNode && e.parentNode.removeChild(e);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function I(e) {
|
|
114
114
|
return document.createElement(e);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function rt(e) {
|
|
117
117
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
118
118
|
}
|
|
119
119
|
function ae(e) {
|
|
120
120
|
return document.createTextNode(e);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function _e() {
|
|
123
123
|
return ae(" ");
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Ee(e, t, r, n) {
|
|
126
126
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
127
127
|
}
|
|
128
128
|
function S(e, t, r) {
|
|
129
129
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Er(e) {
|
|
132
132
|
return Array.from(e.childNodes);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function we(e, t) {
|
|
135
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
136
|
t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function wr(e) {
|
|
139
139
|
const t = {};
|
|
140
140
|
return e.childNodes.forEach(
|
|
141
141
|
/** @param {Element} node */
|
|
@@ -144,105 +144,105 @@ function Sr(e) {
|
|
|
144
144
|
}
|
|
145
145
|
), t;
|
|
146
146
|
}
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
147
|
+
let te;
|
|
148
|
+
function ee(e) {
|
|
149
|
+
te = e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
if (!
|
|
151
|
+
function Sr() {
|
|
152
|
+
if (!te)
|
|
153
153
|
throw new Error("Function called outside component initialization");
|
|
154
|
-
return
|
|
154
|
+
return te;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
|
|
156
|
+
function Tr(e) {
|
|
157
|
+
Sr().$$.on_mount.push(e);
|
|
158
158
|
}
|
|
159
|
-
const j = [],
|
|
159
|
+
const j = [], Oe = [];
|
|
160
160
|
let k = [];
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
function
|
|
164
|
-
|
|
161
|
+
const nt = [], Hr = /* @__PURE__ */ Promise.resolve();
|
|
162
|
+
let Ie = !1;
|
|
163
|
+
function Br() {
|
|
164
|
+
Ie || (Ie = !0, Hr.then(M));
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Me(e) {
|
|
167
167
|
k.push(e);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const Se = /* @__PURE__ */ new Set();
|
|
170
170
|
let D = 0;
|
|
171
|
-
function
|
|
171
|
+
function M() {
|
|
172
172
|
if (D !== 0)
|
|
173
173
|
return;
|
|
174
|
-
const e =
|
|
174
|
+
const e = te;
|
|
175
175
|
do {
|
|
176
176
|
try {
|
|
177
177
|
for (; D < j.length; ) {
|
|
178
178
|
const t = j[D];
|
|
179
|
-
D++,
|
|
179
|
+
D++, ee(t), Cr(t.$$);
|
|
180
180
|
}
|
|
181
181
|
} catch (t) {
|
|
182
182
|
throw j.length = 0, D = 0, t;
|
|
183
183
|
}
|
|
184
|
-
for (
|
|
185
|
-
|
|
184
|
+
for (ee(null), j.length = 0, D = 0; Oe.length; )
|
|
185
|
+
Oe.pop()();
|
|
186
186
|
for (let t = 0; t < k.length; t += 1) {
|
|
187
187
|
const r = k[t];
|
|
188
|
-
|
|
188
|
+
Se.has(r) || (Se.add(r), r());
|
|
189
189
|
}
|
|
190
190
|
k.length = 0;
|
|
191
191
|
} while (j.length);
|
|
192
|
-
for (;
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
for (; nt.length; )
|
|
193
|
+
nt.pop()();
|
|
194
|
+
Ie = !1, Se.clear(), ee(e);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Cr(e) {
|
|
197
197
|
if (e.fragment !== null) {
|
|
198
|
-
e.update(),
|
|
198
|
+
e.update(), Q(e.before_update);
|
|
199
199
|
const t = e.dirty;
|
|
200
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Ar(e) {
|
|
204
204
|
const t = [], r = [];
|
|
205
205
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
206
206
|
}
|
|
207
207
|
const ue = /* @__PURE__ */ new Set();
|
|
208
|
-
let
|
|
209
|
-
function
|
|
208
|
+
let Pr;
|
|
209
|
+
function Lt(e, t) {
|
|
210
210
|
e && e.i && (ue.delete(e), e.i(t));
|
|
211
211
|
}
|
|
212
212
|
function Lr(e, t, r, n) {
|
|
213
213
|
if (e && e.o) {
|
|
214
214
|
if (ue.has(e))
|
|
215
215
|
return;
|
|
216
|
-
ue.add(e),
|
|
216
|
+
ue.add(e), Pr.c.push(() => {
|
|
217
217
|
ue.delete(e);
|
|
218
218
|
}), e.o(t);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Or(e, t, r) {
|
|
222
222
|
const { fragment: n, after_update: i } = e.$$;
|
|
223
|
-
n && n.m(t, r),
|
|
224
|
-
const o = e.$$.on_mount.map(
|
|
225
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
226
|
-
}), i.forEach(
|
|
223
|
+
n && n.m(t, r), Me(() => {
|
|
224
|
+
const o = e.$$.on_mount.map(Bt).filter(Ze);
|
|
225
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
|
|
226
|
+
}), i.forEach(Me);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Ir(e, t) {
|
|
229
229
|
const r = e.$$;
|
|
230
|
-
r.fragment !== null && (
|
|
230
|
+
r.fragment !== null && (Ar(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
232
|
+
function Mr(e, t) {
|
|
233
|
+
e.$$.dirty[0] === -1 && (j.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
const h =
|
|
237
|
-
|
|
235
|
+
function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
236
|
+
const h = te;
|
|
237
|
+
ee(e);
|
|
238
238
|
const u = e.$$ = {
|
|
239
239
|
fragment: null,
|
|
240
240
|
ctx: [],
|
|
241
241
|
// state
|
|
242
242
|
props: o,
|
|
243
|
-
update:
|
|
243
|
+
update: O,
|
|
244
244
|
not_equal: i,
|
|
245
|
-
bound:
|
|
245
|
+
bound: tt(),
|
|
246
246
|
// lifecycle
|
|
247
247
|
on_mount: [],
|
|
248
248
|
on_destroy: [],
|
|
@@ -251,28 +251,28 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
251
251
|
after_update: [],
|
|
252
252
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
253
253
|
// everything else
|
|
254
|
-
callbacks:
|
|
255
|
-
dirty:
|
|
254
|
+
callbacks: tt(),
|
|
255
|
+
dirty: s,
|
|
256
256
|
skip_bound: !1,
|
|
257
257
|
root: t.target || h.$$.root
|
|
258
258
|
};
|
|
259
|
-
|
|
259
|
+
a && a(u.root);
|
|
260
260
|
let l = !1;
|
|
261
261
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
262
262
|
const m = p.length ? p[0] : f;
|
|
263
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l &&
|
|
264
|
-
}) : [], u.update(), l = !0,
|
|
263
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Mr(e, c)), f;
|
|
264
|
+
}) : [], u.update(), l = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
265
265
|
if (t.hydrate) {
|
|
266
|
-
const c =
|
|
267
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
266
|
+
const c = Er(t.target);
|
|
267
|
+
u.fragment && u.fragment.l(c), c.forEach(de);
|
|
268
268
|
} else
|
|
269
269
|
u.fragment && u.fragment.c();
|
|
270
|
-
t.intro &&
|
|
270
|
+
t.intro && Lt(e.$$.fragment), Or(e, t.target, t.anchor), M();
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
ee(h);
|
|
273
273
|
}
|
|
274
|
-
let
|
|
275
|
-
typeof HTMLElement == "function" && (
|
|
274
|
+
let Ot;
|
|
275
|
+
typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
276
276
|
/** The Svelte component constructor */
|
|
277
277
|
$$ctor;
|
|
278
278
|
/** Slots */
|
|
@@ -314,24 +314,24 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
314
314
|
let o;
|
|
315
315
|
return {
|
|
316
316
|
c: function() {
|
|
317
|
-
o =
|
|
317
|
+
o = I("slot"), i !== "default" && S(o, "name", i);
|
|
318
318
|
},
|
|
319
319
|
/**
|
|
320
320
|
* @param {HTMLElement} target
|
|
321
321
|
* @param {HTMLElement} [anchor]
|
|
322
322
|
*/
|
|
323
323
|
m: function(h, u) {
|
|
324
|
-
|
|
324
|
+
Qe(h, o, u);
|
|
325
325
|
},
|
|
326
326
|
d: function(h) {
|
|
327
|
-
h &&
|
|
327
|
+
h && de(o);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
333
333
|
return;
|
|
334
|
-
const t = {}, r =
|
|
334
|
+
const t = {}, r = wr(this);
|
|
335
335
|
for (const i of this.$$s)
|
|
336
336
|
i in r && (t[i] = [e(i)]);
|
|
337
337
|
for (const i of this.attributes) {
|
|
@@ -367,8 +367,8 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
367
367
|
this.$$c.$$.after_update.push(n), n();
|
|
368
368
|
for (const i in this.$$l)
|
|
369
369
|
for (const o of this.$$l[i]) {
|
|
370
|
-
const
|
|
371
|
-
this.$$l_u.set(o,
|
|
370
|
+
const a = this.$$c.$on(i, o);
|
|
371
|
+
this.$$l_u.set(o, a);
|
|
372
372
|
}
|
|
373
373
|
this.$$l = {};
|
|
374
374
|
}
|
|
@@ -419,35 +419,35 @@ function he(e, t, r, n) {
|
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
function Rr(e, t, r, n, i, o) {
|
|
422
|
-
let
|
|
422
|
+
let a = class extends Ot {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(e, r, i), this.$$p_d = t;
|
|
425
425
|
}
|
|
426
426
|
static get observedAttributes() {
|
|
427
427
|
return Object.keys(t).map(
|
|
428
|
-
(
|
|
428
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
429
429
|
);
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
|
-
return Object.keys(t).forEach((
|
|
433
|
-
Object.defineProperty(
|
|
432
|
+
return Object.keys(t).forEach((s) => {
|
|
433
|
+
Object.defineProperty(a.prototype, s, {
|
|
434
434
|
get() {
|
|
435
|
-
return this.$$c &&
|
|
435
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
436
436
|
},
|
|
437
437
|
set(h) {
|
|
438
|
-
h = he(
|
|
438
|
+
h = he(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
|
-
}), n.forEach((
|
|
442
|
-
Object.defineProperty(
|
|
441
|
+
}), n.forEach((s) => {
|
|
442
|
+
Object.defineProperty(a.prototype, s, {
|
|
443
443
|
get() {
|
|
444
|
-
return this.$$c?.[
|
|
444
|
+
return this.$$c?.[s];
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
}), e.element = /** @type {any} */
|
|
448
|
-
|
|
448
|
+
a, a;
|
|
449
449
|
}
|
|
450
|
-
class
|
|
450
|
+
class $r {
|
|
451
451
|
/**
|
|
452
452
|
* ### PRIVATE API
|
|
453
453
|
*
|
|
@@ -466,7 +466,7 @@ class Gr {
|
|
|
466
466
|
$$set = void 0;
|
|
467
467
|
/** @returns {void} */
|
|
468
468
|
$destroy() {
|
|
469
|
-
|
|
469
|
+
Ir(this, 1), this.$destroy = O;
|
|
470
470
|
}
|
|
471
471
|
/**
|
|
472
472
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -475,8 +475,8 @@ class Gr {
|
|
|
475
475
|
* @returns {() => void}
|
|
476
476
|
*/
|
|
477
477
|
$on(t, r) {
|
|
478
|
-
if (!
|
|
479
|
-
return
|
|
478
|
+
if (!Ze(r))
|
|
479
|
+
return O;
|
|
480
480
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
481
481
|
return n.push(r), () => {
|
|
482
482
|
const i = n.indexOf(r);
|
|
@@ -488,11 +488,11 @@ class Gr {
|
|
|
488
488
|
* @returns {void}
|
|
489
489
|
*/
|
|
490
490
|
$set(t) {
|
|
491
|
-
this.$$set && !
|
|
491
|
+
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
const
|
|
495
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
494
|
+
const Gr = "4";
|
|
495
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
|
|
496
496
|
/*! *****************************************************************************
|
|
497
497
|
Copyright (c) Microsoft Corporation.
|
|
498
498
|
|
|
@@ -507,24 +507,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
507
507
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
508
508
|
PERFORMANCE OF THIS SOFTWARE.
|
|
509
509
|
***************************************************************************** */
|
|
510
|
-
var
|
|
511
|
-
return
|
|
510
|
+
var Ne = function(e, t) {
|
|
511
|
+
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
512
512
|
r.__proto__ = n;
|
|
513
513
|
} || function(r, n) {
|
|
514
514
|
for (var i in n)
|
|
515
515
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
516
|
-
},
|
|
516
|
+
}, Ne(e, t);
|
|
517
517
|
};
|
|
518
|
-
function
|
|
518
|
+
function R(e, t) {
|
|
519
519
|
if (typeof t != "function" && t !== null)
|
|
520
520
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
521
|
-
|
|
521
|
+
Ne(e, t);
|
|
522
522
|
function r() {
|
|
523
523
|
this.constructor = e;
|
|
524
524
|
}
|
|
525
525
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
var v = function() {
|
|
528
|
+
return v = Object.assign || function(t) {
|
|
529
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
530
|
+
r = arguments[n];
|
|
531
|
+
for (var o in r)
|
|
532
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
533
|
+
}
|
|
534
|
+
return t;
|
|
535
|
+
}, v.apply(this, arguments);
|
|
536
|
+
};
|
|
537
|
+
function Ur(e, t) {
|
|
538
|
+
var r = {};
|
|
539
|
+
for (var n in e)
|
|
540
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
541
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
542
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
543
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
544
|
+
return r;
|
|
545
|
+
}
|
|
546
|
+
function Re(e) {
|
|
528
547
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
529
548
|
if (r)
|
|
530
549
|
return r.call(e);
|
|
@@ -536,42 +555,42 @@ function Ge(e) {
|
|
|
536
555
|
};
|
|
537
556
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
538
557
|
}
|
|
539
|
-
function
|
|
558
|
+
function $e(e, t) {
|
|
540
559
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
541
560
|
if (!r)
|
|
542
561
|
return e;
|
|
543
|
-
var n = r.call(e), i, o = [],
|
|
562
|
+
var n = r.call(e), i, o = [], a;
|
|
544
563
|
try {
|
|
545
564
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
546
565
|
o.push(i.value);
|
|
547
|
-
} catch (
|
|
548
|
-
|
|
566
|
+
} catch (s) {
|
|
567
|
+
a = { error: s };
|
|
549
568
|
} finally {
|
|
550
569
|
try {
|
|
551
570
|
i && !i.done && (r = n.return) && r.call(n);
|
|
552
571
|
} finally {
|
|
553
|
-
if (
|
|
554
|
-
throw
|
|
572
|
+
if (a)
|
|
573
|
+
throw a.error;
|
|
555
574
|
}
|
|
556
575
|
}
|
|
557
576
|
return o;
|
|
558
577
|
}
|
|
559
|
-
function
|
|
560
|
-
if (arguments.length === 2)
|
|
578
|
+
function V(e, t, r) {
|
|
579
|
+
if (r || arguments.length === 2)
|
|
561
580
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
562
581
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
563
582
|
return e.concat(o || t);
|
|
564
583
|
}
|
|
565
|
-
function
|
|
584
|
+
function N(e) {
|
|
566
585
|
return typeof e == "function";
|
|
567
586
|
}
|
|
568
|
-
function
|
|
587
|
+
function It(e) {
|
|
569
588
|
var t = function(n) {
|
|
570
589
|
Error.call(n), n.stack = new Error().stack;
|
|
571
590
|
}, r = e(t);
|
|
572
591
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
573
592
|
}
|
|
574
|
-
var
|
|
593
|
+
var Te = It(function(e) {
|
|
575
594
|
return function(r) {
|
|
576
595
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
577
596
|
` + r.map(function(n, i) {
|
|
@@ -580,13 +599,13 @@ var Be = Nt(function(e) {
|
|
|
580
599
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
581
600
|
};
|
|
582
601
|
});
|
|
583
|
-
function
|
|
602
|
+
function Ge(e, t) {
|
|
584
603
|
if (e) {
|
|
585
604
|
var r = e.indexOf(t);
|
|
586
605
|
0 <= r && e.splice(r, 1);
|
|
587
606
|
}
|
|
588
607
|
}
|
|
589
|
-
var
|
|
608
|
+
var be = function() {
|
|
590
609
|
function e(t) {
|
|
591
610
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
592
611
|
}
|
|
@@ -594,11 +613,11 @@ var ge = function() {
|
|
|
594
613
|
var t, r, n, i, o;
|
|
595
614
|
if (!this.closed) {
|
|
596
615
|
this.closed = !0;
|
|
597
|
-
var
|
|
598
|
-
if (
|
|
599
|
-
if (this._parentage = null, Array.isArray(
|
|
616
|
+
var a = this._parentage;
|
|
617
|
+
if (a)
|
|
618
|
+
if (this._parentage = null, Array.isArray(a))
|
|
600
619
|
try {
|
|
601
|
-
for (var
|
|
620
|
+
for (var s = Re(a), h = s.next(); !h.done; h = s.next()) {
|
|
602
621
|
var u = h.value;
|
|
603
622
|
u.remove(this);
|
|
604
623
|
}
|
|
@@ -606,31 +625,31 @@ var ge = function() {
|
|
|
606
625
|
t = { error: y };
|
|
607
626
|
} finally {
|
|
608
627
|
try {
|
|
609
|
-
h && !h.done && (r =
|
|
628
|
+
h && !h.done && (r = s.return) && r.call(s);
|
|
610
629
|
} finally {
|
|
611
630
|
if (t)
|
|
612
631
|
throw t.error;
|
|
613
632
|
}
|
|
614
633
|
}
|
|
615
634
|
else
|
|
616
|
-
|
|
635
|
+
a.remove(this);
|
|
617
636
|
var l = this.initialTeardown;
|
|
618
|
-
if (
|
|
637
|
+
if (N(l))
|
|
619
638
|
try {
|
|
620
639
|
l();
|
|
621
640
|
} catch (y) {
|
|
622
|
-
o = y instanceof
|
|
641
|
+
o = y instanceof Te ? y.errors : [y];
|
|
623
642
|
}
|
|
624
643
|
var c = this._finalizers;
|
|
625
644
|
if (c) {
|
|
626
645
|
this._finalizers = null;
|
|
627
646
|
try {
|
|
628
|
-
for (var f =
|
|
647
|
+
for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
|
|
629
648
|
var m = p.value;
|
|
630
649
|
try {
|
|
631
|
-
|
|
650
|
+
it(m);
|
|
632
651
|
} catch (y) {
|
|
633
|
-
o = o ?? [], y instanceof
|
|
652
|
+
o = o ?? [], y instanceof Te ? o = V(V([], $e(o)), $e(y.errors)) : o.push(y);
|
|
634
653
|
}
|
|
635
654
|
}
|
|
636
655
|
} catch (y) {
|
|
@@ -645,13 +664,13 @@ var ge = function() {
|
|
|
645
664
|
}
|
|
646
665
|
}
|
|
647
666
|
if (o)
|
|
648
|
-
throw new
|
|
667
|
+
throw new Te(o);
|
|
649
668
|
}
|
|
650
669
|
}, e.prototype.add = function(t) {
|
|
651
670
|
var r;
|
|
652
671
|
if (t && t !== this)
|
|
653
672
|
if (this.closed)
|
|
654
|
-
|
|
673
|
+
it(t);
|
|
655
674
|
else {
|
|
656
675
|
if (t instanceof e) {
|
|
657
676
|
if (t.closed || t._hasParent(this))
|
|
@@ -668,52 +687,56 @@ var ge = function() {
|
|
|
668
687
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
669
688
|
}, e.prototype._removeParent = function(t) {
|
|
670
689
|
var r = this._parentage;
|
|
671
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
690
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
|
|
672
691
|
}, e.prototype.remove = function(t) {
|
|
673
692
|
var r = this._finalizers;
|
|
674
|
-
r &&
|
|
693
|
+
r && Ge(r, t), t instanceof e && t._removeParent(this);
|
|
675
694
|
}, e.EMPTY = function() {
|
|
676
695
|
var t = new e();
|
|
677
696
|
return t.closed = !0, t;
|
|
678
697
|
}(), e;
|
|
679
|
-
}(),
|
|
680
|
-
function
|
|
681
|
-
return e instanceof
|
|
682
|
-
}
|
|
683
|
-
function st(e) {
|
|
684
|
-
$(e) ? e() : e.unsubscribe();
|
|
698
|
+
}(), Mt = be.EMPTY;
|
|
699
|
+
function Nt(e) {
|
|
700
|
+
return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
685
701
|
}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
}
|
|
702
|
+
function it(e) {
|
|
703
|
+
N(e) ? e() : e.unsubscribe();
|
|
704
|
+
}
|
|
705
|
+
var Rt = {
|
|
706
|
+
onUnhandledError: null,
|
|
707
|
+
onStoppedNotification: null,
|
|
708
|
+
Promise: void 0,
|
|
709
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
710
|
+
useDeprecatedNextContext: !1
|
|
711
|
+
}, Dr = {
|
|
689
712
|
setTimeout: function(e, t) {
|
|
690
713
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
691
714
|
r[n - 2] = arguments[n];
|
|
692
|
-
return setTimeout.apply(void 0,
|
|
715
|
+
return setTimeout.apply(void 0, V([e, t], $e(r)));
|
|
693
716
|
},
|
|
694
717
|
clearTimeout: function(e) {
|
|
695
718
|
return clearTimeout(e);
|
|
696
719
|
},
|
|
697
720
|
delegate: void 0
|
|
698
721
|
};
|
|
699
|
-
function
|
|
700
|
-
|
|
722
|
+
function Fr(e) {
|
|
723
|
+
Dr.setTimeout(function() {
|
|
701
724
|
throw e;
|
|
702
725
|
});
|
|
703
726
|
}
|
|
704
|
-
function
|
|
727
|
+
function ot() {
|
|
705
728
|
}
|
|
706
729
|
function le(e) {
|
|
707
730
|
e();
|
|
708
731
|
}
|
|
709
|
-
var
|
|
710
|
-
|
|
732
|
+
var $t = function(e) {
|
|
733
|
+
R(t, e);
|
|
711
734
|
function t(r) {
|
|
712
735
|
var n = e.call(this) || this;
|
|
713
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
736
|
+
return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Xr, n;
|
|
714
737
|
}
|
|
715
738
|
return t.create = function(r, n, i) {
|
|
716
|
-
return new
|
|
739
|
+
return new Ue(r, n, i);
|
|
717
740
|
}, t.prototype.next = function(r) {
|
|
718
741
|
this.isStopped || this._next(r);
|
|
719
742
|
}, t.prototype.error = function(r) {
|
|
@@ -737,7 +760,11 @@ var Gt = function(e) {
|
|
|
737
760
|
this.unsubscribe();
|
|
738
761
|
}
|
|
739
762
|
}, t;
|
|
740
|
-
}(
|
|
763
|
+
}(be), jr = Function.prototype.bind;
|
|
764
|
+
function He(e, t) {
|
|
765
|
+
return jr.call(e, t);
|
|
766
|
+
}
|
|
767
|
+
var kr = function() {
|
|
741
768
|
function e(t) {
|
|
742
769
|
this.partialObserver = t;
|
|
743
770
|
}
|
|
@@ -768,29 +795,41 @@ var Gt = function(e) {
|
|
|
768
795
|
oe(r);
|
|
769
796
|
}
|
|
770
797
|
}, e;
|
|
771
|
-
}(),
|
|
772
|
-
|
|
798
|
+
}(), Ue = function(e) {
|
|
799
|
+
R(t, e);
|
|
773
800
|
function t(r, n, i) {
|
|
774
|
-
var o = e.call(this) || this,
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
801
|
+
var o = e.call(this) || this, a;
|
|
802
|
+
if (N(r) || !r)
|
|
803
|
+
a = {
|
|
804
|
+
next: r ?? void 0,
|
|
805
|
+
error: n ?? void 0,
|
|
806
|
+
complete: i ?? void 0
|
|
807
|
+
};
|
|
808
|
+
else {
|
|
809
|
+
var s;
|
|
810
|
+
o && Rt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
811
|
+
return o.unsubscribe();
|
|
812
|
+
}, a = {
|
|
813
|
+
next: r.next && He(r.next, s),
|
|
814
|
+
error: r.error && He(r.error, s),
|
|
815
|
+
complete: r.complete && He(r.complete, s)
|
|
816
|
+
}) : a = r;
|
|
817
|
+
}
|
|
818
|
+
return o.destination = new kr(a), o;
|
|
780
819
|
}
|
|
781
820
|
return t;
|
|
782
|
-
}(
|
|
821
|
+
}($t);
|
|
783
822
|
function oe(e) {
|
|
784
|
-
|
|
823
|
+
Fr(e);
|
|
785
824
|
}
|
|
786
825
|
function Vr(e) {
|
|
787
826
|
throw e;
|
|
788
827
|
}
|
|
789
828
|
var Xr = {
|
|
790
829
|
closed: !0,
|
|
791
|
-
next:
|
|
830
|
+
next: ot,
|
|
792
831
|
error: Vr,
|
|
793
|
-
complete:
|
|
832
|
+
complete: ot
|
|
794
833
|
}, Wr = function() {
|
|
795
834
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
796
835
|
}();
|
|
@@ -804,7 +843,7 @@ function Zr(e) {
|
|
|
804
843
|
}, r);
|
|
805
844
|
};
|
|
806
845
|
}
|
|
807
|
-
var
|
|
846
|
+
var st = function() {
|
|
808
847
|
function e(t) {
|
|
809
848
|
t && (this._subscribe = t);
|
|
810
849
|
}
|
|
@@ -812,10 +851,10 @@ var ut = function() {
|
|
|
812
851
|
var r = new e();
|
|
813
852
|
return r.source = this, r.operator = t, r;
|
|
814
853
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
815
|
-
var i = this, o = Jr(t) ? t : new
|
|
854
|
+
var i = this, o = Jr(t) ? t : new Ue(t, r, n);
|
|
816
855
|
return le(function() {
|
|
817
|
-
var
|
|
818
|
-
o.add(
|
|
856
|
+
var a = i, s = a.operator, h = a.source;
|
|
857
|
+
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
819
858
|
}), o;
|
|
820
859
|
}, e.prototype._trySubscribe = function(t) {
|
|
821
860
|
try {
|
|
@@ -825,19 +864,19 @@ var ut = function() {
|
|
|
825
864
|
}
|
|
826
865
|
}, e.prototype.forEach = function(t, r) {
|
|
827
866
|
var n = this;
|
|
828
|
-
return r =
|
|
829
|
-
var
|
|
830
|
-
next: function(
|
|
867
|
+
return r = at(r), new r(function(i, o) {
|
|
868
|
+
var a = new Ue({
|
|
869
|
+
next: function(s) {
|
|
831
870
|
try {
|
|
832
|
-
t(
|
|
871
|
+
t(s);
|
|
833
872
|
} catch (h) {
|
|
834
|
-
o(h),
|
|
873
|
+
o(h), a.unsubscribe();
|
|
835
874
|
}
|
|
836
875
|
},
|
|
837
876
|
error: o,
|
|
838
877
|
complete: i
|
|
839
878
|
});
|
|
840
|
-
n.subscribe(
|
|
879
|
+
n.subscribe(a);
|
|
841
880
|
});
|
|
842
881
|
}, e.prototype._subscribe = function(t) {
|
|
843
882
|
var r;
|
|
@@ -850,12 +889,12 @@ var ut = function() {
|
|
|
850
889
|
return Zr(t)(this);
|
|
851
890
|
}, e.prototype.toPromise = function(t) {
|
|
852
891
|
var r = this;
|
|
853
|
-
return t =
|
|
892
|
+
return t = at(t), new t(function(n, i) {
|
|
854
893
|
var o;
|
|
855
|
-
r.subscribe(function(
|
|
856
|
-
return o =
|
|
857
|
-
}, function(
|
|
858
|
-
return i(
|
|
894
|
+
r.subscribe(function(a) {
|
|
895
|
+
return o = a;
|
|
896
|
+
}, function(a) {
|
|
897
|
+
return i(a);
|
|
859
898
|
}, function() {
|
|
860
899
|
return n(o);
|
|
861
900
|
});
|
|
@@ -864,28 +903,28 @@ var ut = function() {
|
|
|
864
903
|
return new e(t);
|
|
865
904
|
}, e;
|
|
866
905
|
}();
|
|
867
|
-
function
|
|
906
|
+
function at(e) {
|
|
868
907
|
var t;
|
|
869
|
-
return (t = e ??
|
|
908
|
+
return (t = e ?? Rt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
870
909
|
}
|
|
871
910
|
function Qr(e) {
|
|
872
|
-
return e &&
|
|
911
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
873
912
|
}
|
|
874
913
|
function Jr(e) {
|
|
875
|
-
return e && e instanceof
|
|
914
|
+
return e && e instanceof $t || Qr(e) && Nt(e);
|
|
876
915
|
}
|
|
877
|
-
var Yr =
|
|
916
|
+
var Yr = It(function(e) {
|
|
878
917
|
return function() {
|
|
879
918
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
880
919
|
};
|
|
881
|
-
}),
|
|
882
|
-
|
|
920
|
+
}), Gt = function(e) {
|
|
921
|
+
R(t, e);
|
|
883
922
|
function t() {
|
|
884
923
|
var r = e.call(this) || this;
|
|
885
924
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
886
925
|
}
|
|
887
926
|
return t.prototype.lift = function(r) {
|
|
888
|
-
var n = new
|
|
927
|
+
var n = new ut(this, this);
|
|
889
928
|
return n.operator = r, n;
|
|
890
929
|
}, t.prototype._throwIfClosed = function() {
|
|
891
930
|
if (this.closed)
|
|
@@ -897,15 +936,15 @@ var Yr = Nt(function(e) {
|
|
|
897
936
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
898
937
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
899
938
|
try {
|
|
900
|
-
for (var
|
|
901
|
-
var h =
|
|
939
|
+
for (var a = Re(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
940
|
+
var h = s.value;
|
|
902
941
|
h.next(r);
|
|
903
942
|
}
|
|
904
943
|
} catch (u) {
|
|
905
944
|
i = { error: u };
|
|
906
945
|
} finally {
|
|
907
946
|
try {
|
|
908
|
-
|
|
947
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
909
948
|
} finally {
|
|
910
949
|
if (i)
|
|
911
950
|
throw i.error;
|
|
@@ -945,21 +984,21 @@ var Yr = Nt(function(e) {
|
|
|
945
984
|
}, t.prototype._subscribe = function(r) {
|
|
946
985
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
947
986
|
}, t.prototype._innerSubscribe = function(r) {
|
|
948
|
-
var n = this, i = this, o = i.hasError,
|
|
949
|
-
return o ||
|
|
950
|
-
n.currentObservers = null,
|
|
987
|
+
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
988
|
+
return o || a ? Mt : (this.currentObservers = null, s.push(r), new be(function() {
|
|
989
|
+
n.currentObservers = null, Ge(s, r);
|
|
951
990
|
}));
|
|
952
991
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
953
|
-
var n = this, i = n.hasError, o = n.thrownError,
|
|
954
|
-
i ? r.error(o) :
|
|
992
|
+
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
993
|
+
i ? r.error(o) : a && r.complete();
|
|
955
994
|
}, t.prototype.asObservable = function() {
|
|
956
|
-
var r = new
|
|
995
|
+
var r = new st();
|
|
957
996
|
return r.source = this, r;
|
|
958
997
|
}, t.create = function(r, n) {
|
|
959
|
-
return new
|
|
998
|
+
return new ut(r, n);
|
|
960
999
|
}, t;
|
|
961
|
-
}(
|
|
962
|
-
|
|
1000
|
+
}(st), ut = function(e) {
|
|
1001
|
+
R(t, e);
|
|
963
1002
|
function t(r, n) {
|
|
964
1003
|
var i = e.call(this) || this;
|
|
965
1004
|
return i.destination = r, i.source = n, i;
|
|
@@ -975,54 +1014,54 @@ var Yr = Nt(function(e) {
|
|
|
975
1014
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
976
1015
|
}, t.prototype._subscribe = function(r) {
|
|
977
1016
|
var n, i;
|
|
978
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1017
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
|
|
979
1018
|
}, t;
|
|
980
|
-
}(
|
|
1019
|
+
}(Gt), Ut = {
|
|
981
1020
|
now: function() {
|
|
982
|
-
return (
|
|
1021
|
+
return (Ut.delegate || Date).now();
|
|
983
1022
|
},
|
|
984
1023
|
delegate: void 0
|
|
985
1024
|
}, qr = function(e) {
|
|
986
|
-
|
|
1025
|
+
R(t, e);
|
|
987
1026
|
function t(r, n, i) {
|
|
988
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1027
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
989
1028
|
var o = e.call(this) || this;
|
|
990
1029
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
991
1030
|
}
|
|
992
1031
|
return t.prototype.next = function(r) {
|
|
993
|
-
var n = this, i = n.isStopped, o = n._buffer,
|
|
994
|
-
i || (o.push(r), !
|
|
1032
|
+
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
|
|
1033
|
+
i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
995
1034
|
}, t.prototype._subscribe = function(r) {
|
|
996
1035
|
this._throwIfClosed(), this._trimBuffer();
|
|
997
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow,
|
|
998
|
-
r.next(
|
|
1036
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
|
|
1037
|
+
r.next(s[h]);
|
|
999
1038
|
return this._checkFinalizedStatuses(r), n;
|
|
1000
1039
|
}, t.prototype._trimBuffer = function() {
|
|
1001
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer,
|
|
1002
|
-
if (n < 1 / 0 &&
|
|
1040
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1041
|
+
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1003
1042
|
for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
1004
1043
|
u = l;
|
|
1005
1044
|
u && o.splice(0, u + 1);
|
|
1006
1045
|
}
|
|
1007
1046
|
}, t;
|
|
1008
|
-
}(
|
|
1009
|
-
const
|
|
1010
|
-
if (
|
|
1047
|
+
}(Gt);
|
|
1048
|
+
const ht = [], lt = {}, Kr = (e, t = 0) => {
|
|
1049
|
+
if (ht.indexOf(e) == -1) {
|
|
1011
1050
|
const r = new qr(t);
|
|
1012
|
-
|
|
1051
|
+
lt[e] = r, ht.push(e);
|
|
1013
1052
|
}
|
|
1014
|
-
return
|
|
1053
|
+
return lt[e];
|
|
1015
1054
|
}, F = [];
|
|
1016
1055
|
function en(e, t) {
|
|
1017
1056
|
return {
|
|
1018
|
-
subscribe:
|
|
1057
|
+
subscribe: ge(e, t).subscribe
|
|
1019
1058
|
};
|
|
1020
1059
|
}
|
|
1021
|
-
function
|
|
1060
|
+
function ge(e, t = O) {
|
|
1022
1061
|
let r;
|
|
1023
1062
|
const n = /* @__PURE__ */ new Set();
|
|
1024
|
-
function i(
|
|
1025
|
-
if (
|
|
1063
|
+
function i(s) {
|
|
1064
|
+
if (Ct(e, s) && (e = s, r)) {
|
|
1026
1065
|
const h = !F.length;
|
|
1027
1066
|
for (const u of n)
|
|
1028
1067
|
u[1](), F.push(u, e);
|
|
@@ -1033,34 +1072,34 @@ function ye(e, t = I) {
|
|
|
1033
1072
|
}
|
|
1034
1073
|
}
|
|
1035
1074
|
}
|
|
1036
|
-
function o(
|
|
1037
|
-
i(
|
|
1075
|
+
function o(s) {
|
|
1076
|
+
i(s(e));
|
|
1038
1077
|
}
|
|
1039
|
-
function s
|
|
1040
|
-
const u = [
|
|
1041
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1078
|
+
function a(s, h = O) {
|
|
1079
|
+
const u = [s, h];
|
|
1080
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
|
|
1042
1081
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1043
1082
|
};
|
|
1044
1083
|
}
|
|
1045
|
-
return { set: i, update: o, subscribe:
|
|
1084
|
+
return { set: i, update: o, subscribe: a };
|
|
1046
1085
|
}
|
|
1047
|
-
function
|
|
1086
|
+
function J(e, t, r) {
|
|
1048
1087
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1049
1088
|
if (!i.every(Boolean))
|
|
1050
1089
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1051
1090
|
const o = t.length < 2;
|
|
1052
|
-
return en(r, (
|
|
1091
|
+
return en(r, (a, s) => {
|
|
1053
1092
|
let h = !1;
|
|
1054
1093
|
const u = [];
|
|
1055
|
-
let l = 0, c =
|
|
1094
|
+
let l = 0, c = O;
|
|
1056
1095
|
const f = () => {
|
|
1057
1096
|
if (l)
|
|
1058
1097
|
return;
|
|
1059
1098
|
c();
|
|
1060
|
-
const m = t(n ? u[0] : u,
|
|
1061
|
-
o ?
|
|
1099
|
+
const m = t(n ? u[0] : u, a, s);
|
|
1100
|
+
o ? a(m) : c = Ze(m) ? m : O;
|
|
1062
1101
|
}, p = i.map(
|
|
1063
|
-
(m, y) =>
|
|
1102
|
+
(m, y) => At(
|
|
1064
1103
|
m,
|
|
1065
1104
|
(E) => {
|
|
1066
1105
|
u[y] = E, l &= ~(1 << y), h && f();
|
|
@@ -1071,7 +1110,7 @@ function Q(e, t, r) {
|
|
|
1071
1110
|
)
|
|
1072
1111
|
);
|
|
1073
1112
|
return h = !0, f(), function() {
|
|
1074
|
-
|
|
1113
|
+
Q(p), c(), h = !1;
|
|
1075
1114
|
};
|
|
1076
1115
|
});
|
|
1077
1116
|
}
|
|
@@ -1095,29 +1134,29 @@ function un(e) {
|
|
|
1095
1134
|
function hn(e) {
|
|
1096
1135
|
return Array.isArray(e) ? [] : {};
|
|
1097
1136
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1137
|
+
function re(e, t) {
|
|
1138
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(hn(e), e, t) : e;
|
|
1100
1139
|
}
|
|
1101
1140
|
function ln(e, t, r) {
|
|
1102
1141
|
return e.concat(t).map(function(n) {
|
|
1103
|
-
return
|
|
1142
|
+
return re(n, r);
|
|
1104
1143
|
});
|
|
1105
1144
|
}
|
|
1106
1145
|
function cn(e, t) {
|
|
1107
1146
|
if (!t.customMerge)
|
|
1108
|
-
return
|
|
1147
|
+
return X;
|
|
1109
1148
|
var r = t.customMerge(e);
|
|
1110
|
-
return typeof r == "function" ? r :
|
|
1149
|
+
return typeof r == "function" ? r : X;
|
|
1111
1150
|
}
|
|
1112
1151
|
function fn(e) {
|
|
1113
1152
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1114
1153
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1115
1154
|
}) : [];
|
|
1116
1155
|
}
|
|
1117
|
-
function
|
|
1156
|
+
function ct(e) {
|
|
1118
1157
|
return Object.keys(e).concat(fn(e));
|
|
1119
1158
|
}
|
|
1120
|
-
function
|
|
1159
|
+
function Dt(e, t) {
|
|
1121
1160
|
try {
|
|
1122
1161
|
return t in e;
|
|
1123
1162
|
} catch {
|
|
@@ -1125,179 +1164,129 @@ function Ft(e, t) {
|
|
|
1125
1164
|
}
|
|
1126
1165
|
}
|
|
1127
1166
|
function mn(e, t) {
|
|
1128
|
-
return
|
|
1167
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1129
1168
|
}
|
|
1130
1169
|
function pn(e, t, r) {
|
|
1131
1170
|
var n = {};
|
|
1132
|
-
return r.isMergeableObject(e) &&
|
|
1133
|
-
n[i] =
|
|
1134
|
-
}),
|
|
1135
|
-
mn(e, i) || (
|
|
1171
|
+
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
1172
|
+
n[i] = re(e[i], r);
|
|
1173
|
+
}), ct(t).forEach(function(i) {
|
|
1174
|
+
mn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1136
1175
|
}), n;
|
|
1137
1176
|
}
|
|
1138
|
-
function
|
|
1139
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified =
|
|
1177
|
+
function X(e, t, r) {
|
|
1178
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = re;
|
|
1140
1179
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1141
|
-
return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) :
|
|
1180
|
+
return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : re(t, r);
|
|
1142
1181
|
}
|
|
1143
|
-
|
|
1182
|
+
X.all = function(t, r) {
|
|
1144
1183
|
if (!Array.isArray(t))
|
|
1145
1184
|
throw new Error("first argument should be an array");
|
|
1146
1185
|
return t.reduce(function(n, i) {
|
|
1147
|
-
return
|
|
1186
|
+
return X(n, i, r);
|
|
1148
1187
|
}, {});
|
|
1149
1188
|
};
|
|
1150
|
-
var dn =
|
|
1189
|
+
var dn = X, bn = dn;
|
|
1151
1190
|
const gn = /* @__PURE__ */ tn(bn);
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
r.__proto__ = n;
|
|
1155
|
-
} || function(r, n) {
|
|
1156
|
-
for (var i in n)
|
|
1157
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1158
|
-
}, ke(e, t);
|
|
1159
|
-
};
|
|
1160
|
-
function ve(e, t) {
|
|
1161
|
-
if (typeof t != "function" && t !== null)
|
|
1162
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1163
|
-
ke(e, t);
|
|
1164
|
-
function r() {
|
|
1165
|
-
this.constructor = e;
|
|
1166
|
-
}
|
|
1167
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1168
|
-
}
|
|
1169
|
-
var L = function() {
|
|
1170
|
-
return L = Object.assign || function(t) {
|
|
1171
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1172
|
-
r = arguments[n];
|
|
1173
|
-
for (var o in r)
|
|
1174
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1175
|
-
}
|
|
1176
|
-
return t;
|
|
1177
|
-
}, L.apply(this, arguments);
|
|
1178
|
-
};
|
|
1179
|
-
function yn(e, t) {
|
|
1180
|
-
var r = {};
|
|
1181
|
-
for (var n in e)
|
|
1182
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1183
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1184
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1185
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1186
|
-
return r;
|
|
1187
|
-
}
|
|
1188
|
-
function Ce(e, t, r) {
|
|
1189
|
-
if (r || arguments.length === 2)
|
|
1190
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1191
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1192
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1193
|
-
}
|
|
1194
|
-
function Ae(e, t) {
|
|
1195
|
-
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
|
|
1191
|
+
function Be(e, t) {
|
|
1192
|
+
var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
|
|
1196
1193
|
return i(e, {
|
|
1197
1194
|
cache: r,
|
|
1198
1195
|
serializer: n
|
|
1199
1196
|
});
|
|
1200
1197
|
}
|
|
1201
|
-
function
|
|
1198
|
+
function yn(e) {
|
|
1202
1199
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1203
1200
|
}
|
|
1204
|
-
function
|
|
1205
|
-
var i =
|
|
1201
|
+
function Ft(e, t, r, n) {
|
|
1202
|
+
var i = yn(n) ? n : r(n), o = t.get(i);
|
|
1206
1203
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1207
1204
|
}
|
|
1208
1205
|
function jt(e, t, r) {
|
|
1209
1206
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1210
1207
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1211
1208
|
}
|
|
1212
|
-
function
|
|
1209
|
+
function Je(e, t, r, n, i) {
|
|
1213
1210
|
return r.bind(t, e, n, i);
|
|
1214
1211
|
}
|
|
1215
|
-
function
|
|
1216
|
-
var r = e.length === 1 ?
|
|
1217
|
-
return
|
|
1212
|
+
function vn(e, t) {
|
|
1213
|
+
var r = e.length === 1 ? Ft : jt;
|
|
1214
|
+
return Je(e, this, r, t.cache.create(), t.serializer);
|
|
1218
1215
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return
|
|
1216
|
+
function xn(e, t) {
|
|
1217
|
+
return Je(e, this, jt, t.cache.create(), t.serializer);
|
|
1221
1218
|
}
|
|
1222
|
-
|
|
1219
|
+
function _n(e, t) {
|
|
1220
|
+
return Je(e, this, Ft, t.cache.create(), t.serializer);
|
|
1221
|
+
}
|
|
1222
|
+
var En = function() {
|
|
1223
1223
|
return JSON.stringify(arguments);
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
}()
|
|
1236
|
-
), Tn = {
|
|
1224
|
+
};
|
|
1225
|
+
function Ye() {
|
|
1226
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1227
|
+
}
|
|
1228
|
+
Ye.prototype.get = function(e) {
|
|
1229
|
+
return this.cache[e];
|
|
1230
|
+
};
|
|
1231
|
+
Ye.prototype.set = function(e, t) {
|
|
1232
|
+
this.cache[e] = t;
|
|
1233
|
+
};
|
|
1234
|
+
var wn = {
|
|
1237
1235
|
create: function() {
|
|
1238
|
-
return new
|
|
1236
|
+
return new Ye();
|
|
1239
1237
|
}
|
|
1240
|
-
},
|
|
1241
|
-
variadic:
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1245
|
-
r = arguments[n];
|
|
1246
|
-
for (var o in r)
|
|
1247
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1248
|
-
}
|
|
1249
|
-
return t;
|
|
1250
|
-
}, me.apply(this, arguments);
|
|
1251
|
-
};
|
|
1252
|
-
var d;
|
|
1238
|
+
}, Ce = {
|
|
1239
|
+
variadic: xn,
|
|
1240
|
+
monadic: _n
|
|
1241
|
+
}, d;
|
|
1253
1242
|
(function(e) {
|
|
1254
1243
|
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";
|
|
1255
1244
|
})(d || (d = {}));
|
|
1256
|
-
var
|
|
1245
|
+
var x;
|
|
1257
1246
|
(function(e) {
|
|
1258
1247
|
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";
|
|
1259
|
-
})(
|
|
1260
|
-
var
|
|
1248
|
+
})(x || (x = {}));
|
|
1249
|
+
var W;
|
|
1261
1250
|
(function(e) {
|
|
1262
1251
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1263
|
-
})(
|
|
1264
|
-
function
|
|
1265
|
-
return e.type ===
|
|
1252
|
+
})(W || (W = {}));
|
|
1253
|
+
function ft(e) {
|
|
1254
|
+
return e.type === x.literal;
|
|
1255
|
+
}
|
|
1256
|
+
function Sn(e) {
|
|
1257
|
+
return e.type === x.argument;
|
|
1266
1258
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return e.type ===
|
|
1259
|
+
function kt(e) {
|
|
1260
|
+
return e.type === x.number;
|
|
1269
1261
|
}
|
|
1270
1262
|
function Vt(e) {
|
|
1271
|
-
return e.type ===
|
|
1263
|
+
return e.type === x.date;
|
|
1272
1264
|
}
|
|
1273
1265
|
function Xt(e) {
|
|
1274
|
-
return e.type ===
|
|
1266
|
+
return e.type === x.time;
|
|
1275
1267
|
}
|
|
1276
1268
|
function Wt(e) {
|
|
1277
|
-
return e.type ===
|
|
1269
|
+
return e.type === x.select;
|
|
1278
1270
|
}
|
|
1279
1271
|
function zt(e) {
|
|
1280
|
-
return e.type ===
|
|
1272
|
+
return e.type === x.plural;
|
|
1281
1273
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return e.type ===
|
|
1274
|
+
function Tn(e) {
|
|
1275
|
+
return e.type === x.pound;
|
|
1284
1276
|
}
|
|
1285
|
-
function
|
|
1286
|
-
return e.type ===
|
|
1277
|
+
function Zt(e) {
|
|
1278
|
+
return e.type === x.tag;
|
|
1287
1279
|
}
|
|
1288
1280
|
function Qt(e) {
|
|
1289
|
-
return e.type ===
|
|
1290
|
-
}
|
|
1291
|
-
function Jt(e) {
|
|
1292
|
-
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1281
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1293
1282
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1283
|
+
function De(e) {
|
|
1284
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1296
1285
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1286
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
|
|
1287
|
+
function Bn(e) {
|
|
1299
1288
|
var t = {};
|
|
1300
|
-
return e.replace(
|
|
1289
|
+
return e.replace(Hn, function(r) {
|
|
1301
1290
|
var n = r.length;
|
|
1302
1291
|
switch (r[0]) {
|
|
1303
1292
|
case "G":
|
|
@@ -1386,46 +1375,36 @@ function An(e) {
|
|
|
1386
1375
|
return "";
|
|
1387
1376
|
}), t;
|
|
1388
1377
|
}
|
|
1389
|
-
var
|
|
1390
|
-
|
|
1391
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1392
|
-
r = arguments[n];
|
|
1393
|
-
for (var o in r)
|
|
1394
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1395
|
-
}
|
|
1396
|
-
return t;
|
|
1397
|
-
}, _.apply(this, arguments);
|
|
1398
|
-
};
|
|
1399
|
-
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1400
|
-
function On(e) {
|
|
1378
|
+
var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1379
|
+
function An(e) {
|
|
1401
1380
|
if (e.length === 0)
|
|
1402
1381
|
throw new Error("Number skeleton cannot be empty");
|
|
1403
|
-
for (var t = e.split(
|
|
1382
|
+
for (var t = e.split(Cn).filter(function(f) {
|
|
1404
1383
|
return f.length > 0;
|
|
1405
1384
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1406
|
-
var o = i[n],
|
|
1407
|
-
if (
|
|
1385
|
+
var o = i[n], a = o.split("/");
|
|
1386
|
+
if (a.length === 0)
|
|
1408
1387
|
throw new Error("Invalid number skeleton");
|
|
1409
|
-
for (var
|
|
1388
|
+
for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1410
1389
|
var c = l[u];
|
|
1411
1390
|
if (c.length === 0)
|
|
1412
1391
|
throw new Error("Invalid number skeleton");
|
|
1413
1392
|
}
|
|
1414
|
-
r.push({ stem:
|
|
1393
|
+
r.push({ stem: s, options: h });
|
|
1415
1394
|
}
|
|
1416
1395
|
return r;
|
|
1417
1396
|
}
|
|
1418
|
-
function
|
|
1397
|
+
function Pn(e) {
|
|
1419
1398
|
return e.replace(/^(.*?)-/, "");
|
|
1420
1399
|
}
|
|
1421
|
-
var
|
|
1422
|
-
function
|
|
1400
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1401
|
+
function pt(e) {
|
|
1423
1402
|
var t = {};
|
|
1424
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1403
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
|
|
1425
1404
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1426
1405
|
}), t;
|
|
1427
1406
|
}
|
|
1428
|
-
function
|
|
1407
|
+
function Kt(e) {
|
|
1429
1408
|
switch (e) {
|
|
1430
1409
|
case "sign-auto":
|
|
1431
1410
|
return {
|
|
@@ -1465,7 +1444,7 @@ function er(e) {
|
|
|
1465
1444
|
};
|
|
1466
1445
|
}
|
|
1467
1446
|
}
|
|
1468
|
-
function
|
|
1447
|
+
function On(e) {
|
|
1469
1448
|
var t;
|
|
1470
1449
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1471
1450
|
notation: "engineering"
|
|
@@ -1473,17 +1452,17 @@ function Mn(e) {
|
|
|
1473
1452
|
notation: "scientific"
|
|
1474
1453
|
}, e = e.slice(1)), t) {
|
|
1475
1454
|
var r = e.slice(0, 2);
|
|
1476
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1455
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1477
1456
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1478
1457
|
t.minimumIntegerDigits = e.length;
|
|
1479
1458
|
}
|
|
1480
1459
|
return t;
|
|
1481
1460
|
}
|
|
1482
|
-
function
|
|
1483
|
-
var t = {}, r =
|
|
1461
|
+
function dt(e) {
|
|
1462
|
+
var t = {}, r = Kt(e);
|
|
1484
1463
|
return r || t;
|
|
1485
1464
|
}
|
|
1486
|
-
function
|
|
1465
|
+
function In(e) {
|
|
1487
1466
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1488
1467
|
var i = n[r];
|
|
1489
1468
|
switch (i.stem) {
|
|
@@ -1507,7 +1486,7 @@ function Nn(e) {
|
|
|
1507
1486
|
continue;
|
|
1508
1487
|
case "measure-unit":
|
|
1509
1488
|
case "unit":
|
|
1510
|
-
t.style = "unit", t.unit =
|
|
1489
|
+
t.style = "unit", t.unit = Pn(i.options[0]);
|
|
1511
1490
|
continue;
|
|
1512
1491
|
case "compact-short":
|
|
1513
1492
|
case "K":
|
|
@@ -1518,13 +1497,13 @@ function Nn(e) {
|
|
|
1518
1497
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1519
1498
|
continue;
|
|
1520
1499
|
case "scientific":
|
|
1521
|
-
t =
|
|
1522
|
-
return
|
|
1500
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1501
|
+
return v(v({}, h), dt(u));
|
|
1523
1502
|
}, {}));
|
|
1524
1503
|
continue;
|
|
1525
1504
|
case "engineering":
|
|
1526
|
-
t =
|
|
1527
|
-
return
|
|
1505
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1506
|
+
return v(v({}, h), dt(u));
|
|
1528
1507
|
}, {}));
|
|
1529
1508
|
continue;
|
|
1530
1509
|
case "notation-simple":
|
|
@@ -1569,7 +1548,7 @@ function Nn(e) {
|
|
|
1569
1548
|
case "integer-width":
|
|
1570
1549
|
if (i.options.length > 1)
|
|
1571
1550
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1572
|
-
i.options[0].replace(
|
|
1551
|
+
i.options[0].replace(Ln, function(h, u, l, c, f, p) {
|
|
1573
1552
|
if (u)
|
|
1574
1553
|
t.minimumIntegerDigits = l.length;
|
|
1575
1554
|
else {
|
|
@@ -1582,28 +1561,28 @@ function Nn(e) {
|
|
|
1582
1561
|
});
|
|
1583
1562
|
continue;
|
|
1584
1563
|
}
|
|
1585
|
-
if (
|
|
1564
|
+
if (qt.test(i.stem)) {
|
|
1586
1565
|
t.minimumIntegerDigits = i.stem.length;
|
|
1587
1566
|
continue;
|
|
1588
1567
|
}
|
|
1589
|
-
if (
|
|
1568
|
+
if (mt.test(i.stem)) {
|
|
1590
1569
|
if (i.options.length > 1)
|
|
1591
1570
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1592
|
-
i.stem.replace(
|
|
1571
|
+
i.stem.replace(mt, function(h, u, l, c, f, p) {
|
|
1593
1572
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1594
1573
|
});
|
|
1595
1574
|
var o = i.options[0];
|
|
1596
|
-
o === "w" ? t =
|
|
1575
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), pt(o)));
|
|
1597
1576
|
continue;
|
|
1598
1577
|
}
|
|
1599
|
-
if (
|
|
1600
|
-
t =
|
|
1578
|
+
if (Yt.test(i.stem)) {
|
|
1579
|
+
t = v(v({}, t), pt(i.stem));
|
|
1601
1580
|
continue;
|
|
1602
1581
|
}
|
|
1603
|
-
var
|
|
1604
|
-
|
|
1605
|
-
var
|
|
1606
|
-
|
|
1582
|
+
var a = Kt(i.stem);
|
|
1583
|
+
a && (t = v(v({}, t), a));
|
|
1584
|
+
var s = On(i.stem);
|
|
1585
|
+
s && (t = v(v({}, t), s));
|
|
1607
1586
|
}
|
|
1608
1587
|
return t;
|
|
1609
1588
|
}
|
|
@@ -3022,23 +3001,23 @@ var se = {
|
|
|
3022
3001
|
"h"
|
|
3023
3002
|
]
|
|
3024
3003
|
};
|
|
3025
|
-
function
|
|
3004
|
+
function Mn(e, t) {
|
|
3026
3005
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3027
3006
|
var i = e.charAt(n);
|
|
3028
3007
|
if (i === "j") {
|
|
3029
3008
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3030
3009
|
o++, n++;
|
|
3031
|
-
var
|
|
3032
|
-
for ((u == "H" || u == "k") && (
|
|
3010
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
|
|
3011
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3033
3012
|
r += h;
|
|
3034
|
-
for (;
|
|
3013
|
+
for (; a-- > 0; )
|
|
3035
3014
|
r = u + r;
|
|
3036
3015
|
} else
|
|
3037
3016
|
i === "J" ? r += "H" : r += i;
|
|
3038
3017
|
}
|
|
3039
3018
|
return r;
|
|
3040
3019
|
}
|
|
3041
|
-
function
|
|
3020
|
+
function Nn(e) {
|
|
3042
3021
|
var t = e.hourCycle;
|
|
3043
3022
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3044
3023
|
e.hourCycles && // @ts-ignore
|
|
@@ -3060,20 +3039,20 @@ function Rn(e) {
|
|
|
3060
3039
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
3061
3040
|
return i[0];
|
|
3062
3041
|
}
|
|
3063
|
-
var
|
|
3042
|
+
var Ae, Rn = new RegExp("^".concat(Jt.source, "*")), $n = new RegExp("".concat(Jt.source, "*$"));
|
|
3064
3043
|
function g(e, t) {
|
|
3065
3044
|
return { start: e, end: t };
|
|
3066
3045
|
}
|
|
3067
|
-
var
|
|
3046
|
+
var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
|
|
3068
3047
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3069
|
-
},
|
|
3048
|
+
}, Fe = !0;
|
|
3070
3049
|
try {
|
|
3071
|
-
var
|
|
3072
|
-
|
|
3050
|
+
var Wn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3051
|
+
Fe = ((Ae = Wn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
3073
3052
|
} catch {
|
|
3074
|
-
|
|
3053
|
+
Fe = !1;
|
|
3075
3054
|
}
|
|
3076
|
-
var
|
|
3055
|
+
var bt = Gn ? (
|
|
3077
3056
|
// Native
|
|
3078
3057
|
function(t, r, n) {
|
|
3079
3058
|
return t.startsWith(r, n);
|
|
@@ -3083,31 +3062,31 @@ var yt = Dn ? (
|
|
|
3083
3062
|
function(t, r, n) {
|
|
3084
3063
|
return t.slice(n, n + r.length) === r;
|
|
3085
3064
|
}
|
|
3086
|
-
),
|
|
3065
|
+
), je = Un ? String.fromCodePoint : (
|
|
3087
3066
|
// IE11
|
|
3088
3067
|
function() {
|
|
3089
3068
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3090
3069
|
t[r] = arguments[r];
|
|
3091
|
-
for (var n = "", i = t.length, o = 0,
|
|
3092
|
-
if (
|
|
3093
|
-
throw RangeError(
|
|
3094
|
-
n +=
|
|
3070
|
+
for (var n = "", i = t.length, o = 0, a; i > o; ) {
|
|
3071
|
+
if (a = t[o++], a > 1114111)
|
|
3072
|
+
throw RangeError(a + " is not a valid code point");
|
|
3073
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3095
3074
|
}
|
|
3096
3075
|
return n;
|
|
3097
3076
|
}
|
|
3098
|
-
),
|
|
3077
|
+
), gt = (
|
|
3099
3078
|
// native
|
|
3100
|
-
|
|
3079
|
+
Dn ? Object.fromEntries : (
|
|
3101
3080
|
// Ponyfill
|
|
3102
3081
|
function(t) {
|
|
3103
3082
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3104
|
-
var o = i[n],
|
|
3105
|
-
r[
|
|
3083
|
+
var o = i[n], a = o[0], s = o[1];
|
|
3084
|
+
r[a] = s;
|
|
3106
3085
|
}
|
|
3107
3086
|
return r;
|
|
3108
3087
|
}
|
|
3109
3088
|
)
|
|
3110
|
-
),
|
|
3089
|
+
), er = Fn ? (
|
|
3111
3090
|
// Native
|
|
3112
3091
|
function(t, r) {
|
|
3113
3092
|
return t.codePointAt(r);
|
|
@@ -3121,7 +3100,7 @@ var yt = Dn ? (
|
|
|
3121
3100
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3122
3101
|
}
|
|
3123
3102
|
}
|
|
3124
|
-
),
|
|
3103
|
+
), zn = jn ? (
|
|
3125
3104
|
// Native
|
|
3126
3105
|
function(t) {
|
|
3127
3106
|
return t.trimStart();
|
|
@@ -3129,9 +3108,9 @@ var yt = Dn ? (
|
|
|
3129
3108
|
) : (
|
|
3130
3109
|
// Ponyfill
|
|
3131
3110
|
function(t) {
|
|
3132
|
-
return t.replace(
|
|
3111
|
+
return t.replace(Rn, "");
|
|
3133
3112
|
}
|
|
3134
|
-
),
|
|
3113
|
+
), Zn = kn ? (
|
|
3135
3114
|
// Native
|
|
3136
3115
|
function(t) {
|
|
3137
3116
|
return t.trimEnd();
|
|
@@ -3139,32 +3118,32 @@ var yt = Dn ? (
|
|
|
3139
3118
|
) : (
|
|
3140
3119
|
// Ponyfill
|
|
3141
3120
|
function(t) {
|
|
3142
|
-
return t.replace(
|
|
3121
|
+
return t.replace($n, "");
|
|
3143
3122
|
}
|
|
3144
3123
|
);
|
|
3145
|
-
function
|
|
3124
|
+
function tr(e, t) {
|
|
3146
3125
|
return new RegExp(e, t);
|
|
3147
3126
|
}
|
|
3148
|
-
var
|
|
3149
|
-
if (
|
|
3150
|
-
var
|
|
3151
|
-
|
|
3127
|
+
var ke;
|
|
3128
|
+
if (Fe) {
|
|
3129
|
+
var yt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3130
|
+
ke = function(t, r) {
|
|
3152
3131
|
var n;
|
|
3153
|
-
|
|
3154
|
-
var i =
|
|
3132
|
+
yt.lastIndex = r;
|
|
3133
|
+
var i = yt.exec(t);
|
|
3155
3134
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3156
3135
|
};
|
|
3157
3136
|
} else
|
|
3158
|
-
|
|
3137
|
+
ke = function(t, r) {
|
|
3159
3138
|
for (var n = []; ; ) {
|
|
3160
|
-
var i =
|
|
3161
|
-
if (i === void 0 ||
|
|
3139
|
+
var i = er(t, r);
|
|
3140
|
+
if (i === void 0 || rr(i) || qn(i))
|
|
3162
3141
|
break;
|
|
3163
3142
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3164
3143
|
}
|
|
3165
|
-
return
|
|
3144
|
+
return je.apply(void 0, n);
|
|
3166
3145
|
};
|
|
3167
|
-
var
|
|
3146
|
+
var Qn = (
|
|
3168
3147
|
/** @class */
|
|
3169
3148
|
function() {
|
|
3170
3149
|
function e(t, r) {
|
|
@@ -3178,33 +3157,33 @@ var Yn = (
|
|
|
3178
3157
|
for (var i = []; !this.isEOF(); ) {
|
|
3179
3158
|
var o = this.char();
|
|
3180
3159
|
if (o === 123) {
|
|
3181
|
-
var
|
|
3182
|
-
if (
|
|
3183
|
-
return
|
|
3184
|
-
i.push(
|
|
3160
|
+
var a = this.parseArgument(t, n);
|
|
3161
|
+
if (a.err)
|
|
3162
|
+
return a;
|
|
3163
|
+
i.push(a.val);
|
|
3185
3164
|
} else {
|
|
3186
3165
|
if (o === 125 && t > 0)
|
|
3187
3166
|
break;
|
|
3188
3167
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3189
|
-
var
|
|
3168
|
+
var s = this.clonePosition();
|
|
3190
3169
|
this.bump(), i.push({
|
|
3191
|
-
type:
|
|
3192
|
-
location: g(
|
|
3170
|
+
type: x.pound,
|
|
3171
|
+
location: g(s, this.clonePosition())
|
|
3193
3172
|
});
|
|
3194
3173
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3195
3174
|
if (n)
|
|
3196
3175
|
break;
|
|
3197
3176
|
return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3198
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3199
|
-
var
|
|
3200
|
-
if (
|
|
3201
|
-
return
|
|
3202
|
-
i.push(
|
|
3177
|
+
} else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
3178
|
+
var a = this.parseTag(t, r);
|
|
3179
|
+
if (a.err)
|
|
3180
|
+
return a;
|
|
3181
|
+
i.push(a.val);
|
|
3203
3182
|
} else {
|
|
3204
|
-
var
|
|
3205
|
-
if (
|
|
3206
|
-
return
|
|
3207
|
-
i.push(
|
|
3183
|
+
var a = this.parseLiteral(t, r);
|
|
3184
|
+
if (a.err)
|
|
3185
|
+
return a;
|
|
3186
|
+
i.push(a.val);
|
|
3208
3187
|
}
|
|
3209
3188
|
}
|
|
3210
3189
|
}
|
|
@@ -3216,7 +3195,7 @@ var Yn = (
|
|
|
3216
3195
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3217
3196
|
return {
|
|
3218
3197
|
val: {
|
|
3219
|
-
type:
|
|
3198
|
+
type: x.literal,
|
|
3220
3199
|
value: "<".concat(i, "/>"),
|
|
3221
3200
|
location: g(n, this.clonePosition())
|
|
3222
3201
|
},
|
|
@@ -3226,27 +3205,27 @@ var Yn = (
|
|
|
3226
3205
|
var o = this.parseMessage(t + 1, r, !0);
|
|
3227
3206
|
if (o.err)
|
|
3228
3207
|
return o;
|
|
3229
|
-
var
|
|
3208
|
+
var a = o.val, s = this.clonePosition();
|
|
3230
3209
|
if (this.bumpIf("</")) {
|
|
3231
|
-
if (this.isEOF() || !
|
|
3232
|
-
return this.error(d.INVALID_TAG, g(
|
|
3210
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
3211
|
+
return this.error(d.INVALID_TAG, g(s, this.clonePosition()));
|
|
3233
3212
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3234
3213
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3235
3214
|
val: {
|
|
3236
|
-
type:
|
|
3215
|
+
type: x.tag,
|
|
3237
3216
|
value: i,
|
|
3238
|
-
children:
|
|
3217
|
+
children: a,
|
|
3239
3218
|
location: g(n, this.clonePosition())
|
|
3240
3219
|
},
|
|
3241
3220
|
err: null
|
|
3242
|
-
} : this.error(d.INVALID_TAG, g(
|
|
3221
|
+
} : this.error(d.INVALID_TAG, g(s, this.clonePosition())));
|
|
3243
3222
|
} else
|
|
3244
3223
|
return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3245
3224
|
} else
|
|
3246
3225
|
return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
|
|
3247
3226
|
}, e.prototype.parseTagName = function() {
|
|
3248
3227
|
var t = this.offset();
|
|
3249
|
-
for (this.bump(); !this.isEOF() &&
|
|
3228
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
3250
3229
|
this.bump();
|
|
3251
3230
|
return this.message.slice(t, this.offset());
|
|
3252
3231
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3256,26 +3235,26 @@ var Yn = (
|
|
|
3256
3235
|
i += o;
|
|
3257
3236
|
continue;
|
|
3258
3237
|
}
|
|
3259
|
-
var
|
|
3260
|
-
if (s) {
|
|
3261
|
-
i += s;
|
|
3262
|
-
continue;
|
|
3263
|
-
}
|
|
3264
|
-
var a = this.tryParseLeftAngleBracket();
|
|
3238
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3265
3239
|
if (a) {
|
|
3266
3240
|
i += a;
|
|
3267
3241
|
continue;
|
|
3268
3242
|
}
|
|
3243
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3244
|
+
if (s) {
|
|
3245
|
+
i += s;
|
|
3246
|
+
continue;
|
|
3247
|
+
}
|
|
3269
3248
|
break;
|
|
3270
3249
|
}
|
|
3271
3250
|
var h = g(n, this.clonePosition());
|
|
3272
3251
|
return {
|
|
3273
|
-
val: { type:
|
|
3252
|
+
val: { type: x.literal, value: i, location: h },
|
|
3274
3253
|
err: null
|
|
3275
3254
|
};
|
|
3276
3255
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3277
3256
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3278
|
-
!
|
|
3257
|
+
!Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3279
3258
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3280
3259
|
if (this.isEOF() || this.char() !== 39)
|
|
3281
3260
|
return null;
|
|
@@ -3309,12 +3288,12 @@ var Yn = (
|
|
|
3309
3288
|
r.push(n);
|
|
3310
3289
|
this.bump();
|
|
3311
3290
|
}
|
|
3312
|
-
return
|
|
3291
|
+
return je.apply(void 0, r);
|
|
3313
3292
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3314
3293
|
if (this.isEOF())
|
|
3315
3294
|
return null;
|
|
3316
3295
|
var n = this.char();
|
|
3317
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3296
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
|
|
3318
3297
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3319
3298
|
var n = this.clonePosition();
|
|
3320
3299
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3330,7 +3309,7 @@ var Yn = (
|
|
|
3330
3309
|
case 125:
|
|
3331
3310
|
return this.bump(), {
|
|
3332
3311
|
val: {
|
|
3333
|
-
type:
|
|
3312
|
+
type: x.argument,
|
|
3334
3313
|
// value does not include the opening and closing braces.
|
|
3335
3314
|
value: i,
|
|
3336
3315
|
location: g(n, this.clonePosition())
|
|
@@ -3343,15 +3322,15 @@ var Yn = (
|
|
|
3343
3322
|
return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3344
3323
|
}
|
|
3345
3324
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3346
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3325
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3347
3326
|
this.bumpTo(i);
|
|
3348
|
-
var o = this.clonePosition(),
|
|
3349
|
-
return { value: n, location:
|
|
3327
|
+
var o = this.clonePosition(), a = g(t, o);
|
|
3328
|
+
return { value: n, location: a };
|
|
3350
3329
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3351
|
-
var o,
|
|
3352
|
-
switch (
|
|
3330
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3331
|
+
switch (s) {
|
|
3353
3332
|
case "":
|
|
3354
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, g(
|
|
3333
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, g(a, h));
|
|
3355
3334
|
case "number":
|
|
3356
3335
|
case "date":
|
|
3357
3336
|
case "time": {
|
|
@@ -3362,7 +3341,7 @@ var Yn = (
|
|
|
3362
3341
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3363
3342
|
if (c.err)
|
|
3364
3343
|
return c;
|
|
3365
|
-
var f =
|
|
3344
|
+
var f = Zn(c.val);
|
|
3366
3345
|
if (f.length === 0)
|
|
3367
3346
|
return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3368
3347
|
var p = g(l, this.clonePosition());
|
|
@@ -3372,25 +3351,25 @@ var Yn = (
|
|
|
3372
3351
|
if (m.err)
|
|
3373
3352
|
return m;
|
|
3374
3353
|
var y = g(i, this.clonePosition());
|
|
3375
|
-
if (u &&
|
|
3376
|
-
var E =
|
|
3377
|
-
if (
|
|
3354
|
+
if (u && bt(u?.style, "::", 0)) {
|
|
3355
|
+
var E = zn(u.style.slice(2));
|
|
3356
|
+
if (s === "number") {
|
|
3378
3357
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3379
3358
|
return c.err ? c : {
|
|
3380
|
-
val: { type:
|
|
3359
|
+
val: { type: x.number, value: n, location: y, style: c.val },
|
|
3381
3360
|
err: null
|
|
3382
3361
|
};
|
|
3383
3362
|
} else {
|
|
3384
3363
|
if (E.length === 0)
|
|
3385
3364
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
|
|
3386
3365
|
var A = E;
|
|
3387
|
-
this.locale && (A =
|
|
3366
|
+
this.locale && (A = Mn(E, this.locale));
|
|
3388
3367
|
var f = {
|
|
3389
|
-
type:
|
|
3368
|
+
type: W.dateTime,
|
|
3390
3369
|
pattern: A,
|
|
3391
3370
|
location: u.styleLocation,
|
|
3392
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3393
|
-
}, P =
|
|
3371
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(A) : {}
|
|
3372
|
+
}, P = s === "date" ? x.date : x.time;
|
|
3394
3373
|
return {
|
|
3395
3374
|
val: { type: P, value: n, location: y, style: f },
|
|
3396
3375
|
err: null
|
|
@@ -3399,7 +3378,7 @@ var Yn = (
|
|
|
3399
3378
|
}
|
|
3400
3379
|
return {
|
|
3401
3380
|
val: {
|
|
3402
|
-
type:
|
|
3381
|
+
type: s === "number" ? x.number : s === "date" ? x.date : x.time,
|
|
3403
3382
|
value: n,
|
|
3404
3383
|
location: y,
|
|
3405
3384
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3412,47 +3391,47 @@ var Yn = (
|
|
|
3412
3391
|
case "select": {
|
|
3413
3392
|
var T = this.clonePosition();
|
|
3414
3393
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3415
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T,
|
|
3394
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
|
|
3416
3395
|
this.bumpSpace();
|
|
3417
|
-
var
|
|
3418
|
-
if (
|
|
3396
|
+
var L = this.parseIdentifierIfPossible(), w = 0;
|
|
3397
|
+
if (s !== "select" && L.value === "offset") {
|
|
3419
3398
|
if (!this.bumpIf(":"))
|
|
3420
3399
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3421
3400
|
this.bumpSpace();
|
|
3422
3401
|
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3423
3402
|
if (c.err)
|
|
3424
3403
|
return c;
|
|
3425
|
-
this.bumpSpace(),
|
|
3404
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), w = c.val;
|
|
3426
3405
|
}
|
|
3427
|
-
var
|
|
3428
|
-
if (
|
|
3429
|
-
return
|
|
3406
|
+
var _ = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
3407
|
+
if (_.err)
|
|
3408
|
+
return _;
|
|
3430
3409
|
var m = this.tryParseArgumentClose(i);
|
|
3431
3410
|
if (m.err)
|
|
3432
3411
|
return m;
|
|
3433
3412
|
var C = g(i, this.clonePosition());
|
|
3434
|
-
return
|
|
3413
|
+
return s === "select" ? {
|
|
3435
3414
|
val: {
|
|
3436
|
-
type:
|
|
3415
|
+
type: x.select,
|
|
3437
3416
|
value: n,
|
|
3438
|
-
options:
|
|
3417
|
+
options: gt(_.val),
|
|
3439
3418
|
location: C
|
|
3440
3419
|
},
|
|
3441
3420
|
err: null
|
|
3442
3421
|
} : {
|
|
3443
3422
|
val: {
|
|
3444
|
-
type:
|
|
3423
|
+
type: x.plural,
|
|
3445
3424
|
value: n,
|
|
3446
|
-
options:
|
|
3425
|
+
options: gt(_.val),
|
|
3447
3426
|
offset: w,
|
|
3448
|
-
pluralType:
|
|
3427
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3449
3428
|
location: C
|
|
3450
3429
|
},
|
|
3451
3430
|
err: null
|
|
3452
3431
|
};
|
|
3453
3432
|
}
|
|
3454
3433
|
default:
|
|
3455
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, g(
|
|
3434
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, g(a, h));
|
|
3456
3435
|
}
|
|
3457
3436
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3458
3437
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3494,21 +3473,21 @@ var Yn = (
|
|
|
3494
3473
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3495
3474
|
var n = [];
|
|
3496
3475
|
try {
|
|
3497
|
-
n =
|
|
3476
|
+
n = An(t);
|
|
3498
3477
|
} catch {
|
|
3499
3478
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3500
3479
|
}
|
|
3501
3480
|
return {
|
|
3502
3481
|
val: {
|
|
3503
|
-
type:
|
|
3482
|
+
type: W.number,
|
|
3504
3483
|
tokens: n,
|
|
3505
3484
|
location: r,
|
|
3506
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3485
|
+
parsedOptions: this.shouldParseSkeletons ? In(n) : {}
|
|
3507
3486
|
},
|
|
3508
3487
|
err: null
|
|
3509
3488
|
};
|
|
3510
3489
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3511
|
-
for (var o,
|
|
3490
|
+
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3512
3491
|
if (u.length === 0) {
|
|
3513
3492
|
var c = this.clonePosition();
|
|
3514
3493
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3521,7 +3500,7 @@ var Yn = (
|
|
|
3521
3500
|
}
|
|
3522
3501
|
if (h.has(u))
|
|
3523
3502
|
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3524
|
-
u === "other" && (
|
|
3503
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3525
3504
|
var p = this.clonePosition();
|
|
3526
3505
|
if (!this.bumpIf("{"))
|
|
3527
3506
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
@@ -3531,7 +3510,7 @@ var Yn = (
|
|
|
3531
3510
|
var y = this.tryParseArgumentClose(p);
|
|
3532
3511
|
if (y.err)
|
|
3533
3512
|
return y;
|
|
3534
|
-
|
|
3513
|
+
s.push([
|
|
3535
3514
|
u,
|
|
3536
3515
|
{
|
|
3537
3516
|
value: m.val,
|
|
@@ -3539,19 +3518,19 @@ var Yn = (
|
|
|
3539
3518
|
}
|
|
3540
3519
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3541
3520
|
}
|
|
3542
|
-
return
|
|
3521
|
+
return s.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3543
3522
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3544
3523
|
var n = 1, i = this.clonePosition();
|
|
3545
3524
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3546
|
-
for (var o = !1,
|
|
3547
|
-
var
|
|
3548
|
-
if (
|
|
3549
|
-
o = !0,
|
|
3525
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3526
|
+
var s = this.char();
|
|
3527
|
+
if (s >= 48 && s <= 57)
|
|
3528
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3550
3529
|
else
|
|
3551
3530
|
break;
|
|
3552
3531
|
}
|
|
3553
3532
|
var h = g(i, this.clonePosition());
|
|
3554
|
-
return o ? (
|
|
3533
|
+
return o ? (a *= n, Xn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3555
3534
|
}, e.prototype.offset = function() {
|
|
3556
3535
|
return this.position.offset;
|
|
3557
3536
|
}, e.prototype.isEOF = function() {
|
|
@@ -3566,7 +3545,7 @@ var Yn = (
|
|
|
3566
3545
|
var t = this.position.offset;
|
|
3567
3546
|
if (t >= this.message.length)
|
|
3568
3547
|
throw Error("out of bound");
|
|
3569
|
-
var r =
|
|
3548
|
+
var r = er(this.message, t);
|
|
3570
3549
|
if (r === void 0)
|
|
3571
3550
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3572
3551
|
return r;
|
|
@@ -3585,7 +3564,7 @@ var Yn = (
|
|
|
3585
3564
|
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);
|
|
3586
3565
|
}
|
|
3587
3566
|
}, e.prototype.bumpIf = function(t) {
|
|
3588
|
-
if (
|
|
3567
|
+
if (bt(this.message, t, this.offset())) {
|
|
3589
3568
|
for (var r = 0; r < t.length; r++)
|
|
3590
3569
|
this.bump();
|
|
3591
3570
|
return !0;
|
|
@@ -3607,7 +3586,7 @@ var Yn = (
|
|
|
3607
3586
|
break;
|
|
3608
3587
|
}
|
|
3609
3588
|
}, e.prototype.bumpSpace = function() {
|
|
3610
|
-
for (; !this.isEOF() &&
|
|
3589
|
+
for (; !this.isEOF() && rr(this.char()); )
|
|
3611
3590
|
this.bump();
|
|
3612
3591
|
}, e.prototype.peek = function() {
|
|
3613
3592
|
if (this.isEOF())
|
|
@@ -3617,47 +3596,47 @@ var Yn = (
|
|
|
3617
3596
|
}, e;
|
|
3618
3597
|
}()
|
|
3619
3598
|
);
|
|
3620
|
-
function
|
|
3599
|
+
function Ve(e) {
|
|
3621
3600
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3622
3601
|
}
|
|
3623
|
-
function
|
|
3624
|
-
return
|
|
3602
|
+
function Jn(e) {
|
|
3603
|
+
return Ve(e) || e === 47;
|
|
3625
3604
|
}
|
|
3626
|
-
function
|
|
3605
|
+
function Yn(e) {
|
|
3627
3606
|
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;
|
|
3628
3607
|
}
|
|
3629
|
-
function
|
|
3608
|
+
function rr(e) {
|
|
3630
3609
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3631
3610
|
}
|
|
3632
|
-
function
|
|
3611
|
+
function qn(e) {
|
|
3633
3612
|
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;
|
|
3634
3613
|
}
|
|
3635
|
-
function
|
|
3614
|
+
function Xe(e) {
|
|
3636
3615
|
e.forEach(function(t) {
|
|
3637
|
-
if (delete t.location,
|
|
3616
|
+
if (delete t.location, Wt(t) || zt(t))
|
|
3638
3617
|
for (var r in t.options)
|
|
3639
|
-
delete t.options[r].location,
|
|
3618
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3640
3619
|
else
|
|
3641
|
-
|
|
3620
|
+
kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && De(t.style) ? delete t.style.location : Zt(t) && Xe(t.children);
|
|
3642
3621
|
});
|
|
3643
3622
|
}
|
|
3644
|
-
function
|
|
3645
|
-
t === void 0 && (t = {}), t =
|
|
3646
|
-
var r = new
|
|
3623
|
+
function Kn(e, t) {
|
|
3624
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3625
|
+
var r = new Qn(e, t).parse();
|
|
3647
3626
|
if (r.err) {
|
|
3648
3627
|
var n = SyntaxError(d[r.err.kind]);
|
|
3649
3628
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3650
3629
|
}
|
|
3651
|
-
return t?.captureLocation ||
|
|
3630
|
+
return t?.captureLocation || Xe(r.val), r.val;
|
|
3652
3631
|
}
|
|
3653
|
-
var
|
|
3632
|
+
var z;
|
|
3654
3633
|
(function(e) {
|
|
3655
3634
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3656
|
-
})(
|
|
3657
|
-
var
|
|
3635
|
+
})(z || (z = {}));
|
|
3636
|
+
var ye = (
|
|
3658
3637
|
/** @class */
|
|
3659
3638
|
function(e) {
|
|
3660
|
-
|
|
3639
|
+
R(t, e);
|
|
3661
3640
|
function t(r, n, i) {
|
|
3662
3641
|
var o = e.call(this, r) || this;
|
|
3663
3642
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3666,65 +3645,65 @@ var xe = (
|
|
|
3666
3645
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3667
3646
|
}, t;
|
|
3668
3647
|
}(Error)
|
|
3669
|
-
),
|
|
3648
|
+
), vt = (
|
|
3670
3649
|
/** @class */
|
|
3671
3650
|
function(e) {
|
|
3672
|
-
|
|
3651
|
+
R(t, e);
|
|
3673
3652
|
function t(r, n, i, o) {
|
|
3674
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3653
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3675
3654
|
}
|
|
3676
3655
|
return t;
|
|
3677
|
-
}(
|
|
3678
|
-
),
|
|
3656
|
+
}(ye)
|
|
3657
|
+
), ei = (
|
|
3679
3658
|
/** @class */
|
|
3680
3659
|
function(e) {
|
|
3681
|
-
|
|
3660
|
+
R(t, e);
|
|
3682
3661
|
function t(r, n, i) {
|
|
3683
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3662
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3684
3663
|
}
|
|
3685
3664
|
return t;
|
|
3686
|
-
}(
|
|
3687
|
-
),
|
|
3665
|
+
}(ye)
|
|
3666
|
+
), ti = (
|
|
3688
3667
|
/** @class */
|
|
3689
3668
|
function(e) {
|
|
3690
|
-
|
|
3669
|
+
R(t, e);
|
|
3691
3670
|
function t(r, n) {
|
|
3692
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3671
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3693
3672
|
}
|
|
3694
3673
|
return t;
|
|
3695
|
-
}(
|
|
3674
|
+
}(ye)
|
|
3696
3675
|
), H;
|
|
3697
3676
|
(function(e) {
|
|
3698
3677
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3699
3678
|
})(H || (H = {}));
|
|
3700
|
-
function
|
|
3679
|
+
function ri(e) {
|
|
3701
3680
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3702
3681
|
var n = t[t.length - 1];
|
|
3703
3682
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3704
3683
|
}, []);
|
|
3705
3684
|
}
|
|
3706
|
-
function
|
|
3685
|
+
function ni(e) {
|
|
3707
3686
|
return typeof e == "function";
|
|
3708
3687
|
}
|
|
3709
|
-
function ce(e, t, r, n, i, o,
|
|
3710
|
-
if (e.length === 1 &&
|
|
3688
|
+
function ce(e, t, r, n, i, o, a) {
|
|
3689
|
+
if (e.length === 1 && ft(e[0]))
|
|
3711
3690
|
return [
|
|
3712
3691
|
{
|
|
3713
3692
|
type: H.literal,
|
|
3714
3693
|
value: e[0].value
|
|
3715
3694
|
}
|
|
3716
3695
|
];
|
|
3717
|
-
for (var
|
|
3696
|
+
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3718
3697
|
var l = u[h];
|
|
3719
|
-
if (
|
|
3720
|
-
|
|
3698
|
+
if (ft(l)) {
|
|
3699
|
+
s.push({
|
|
3721
3700
|
type: H.literal,
|
|
3722
3701
|
value: l.value
|
|
3723
3702
|
});
|
|
3724
3703
|
continue;
|
|
3725
3704
|
}
|
|
3726
|
-
if (
|
|
3727
|
-
typeof o == "number" &&
|
|
3705
|
+
if (Tn(l)) {
|
|
3706
|
+
typeof o == "number" && s.push({
|
|
3728
3707
|
type: H.literal,
|
|
3729
3708
|
value: r.getNumberFormat(t).format(o)
|
|
3730
3709
|
});
|
|
@@ -3732,89 +3711,89 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3732
3711
|
}
|
|
3733
3712
|
var c = l.value;
|
|
3734
3713
|
if (!(i && c in i))
|
|
3735
|
-
throw new
|
|
3714
|
+
throw new ti(c, a);
|
|
3736
3715
|
var f = i[c];
|
|
3737
|
-
if (
|
|
3738
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3716
|
+
if (Sn(l)) {
|
|
3717
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3739
3718
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3740
3719
|
value: f
|
|
3741
3720
|
});
|
|
3742
3721
|
continue;
|
|
3743
3722
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3746
|
-
|
|
3723
|
+
if (Vt(l)) {
|
|
3724
|
+
var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
3725
|
+
s.push({
|
|
3747
3726
|
type: H.literal,
|
|
3748
3727
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3749
3728
|
});
|
|
3750
3729
|
continue;
|
|
3751
3730
|
}
|
|
3752
|
-
if (
|
|
3753
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3754
|
-
|
|
3731
|
+
if (Xt(l)) {
|
|
3732
|
+
var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3733
|
+
s.push({
|
|
3755
3734
|
type: H.literal,
|
|
3756
3735
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3757
3736
|
});
|
|
3758
3737
|
continue;
|
|
3759
3738
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3762
|
-
p && p.scale && (f = f * (p.scale || 1)),
|
|
3739
|
+
if (kt(l)) {
|
|
3740
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
|
|
3741
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3763
3742
|
type: H.literal,
|
|
3764
3743
|
value: r.getNumberFormat(t, p).format(f)
|
|
3765
3744
|
});
|
|
3766
3745
|
continue;
|
|
3767
3746
|
}
|
|
3768
|
-
if (
|
|
3747
|
+
if (Zt(l)) {
|
|
3769
3748
|
var m = l.children, y = l.value, E = i[y];
|
|
3770
|
-
if (!
|
|
3771
|
-
throw new
|
|
3749
|
+
if (!ni(E))
|
|
3750
|
+
throw new ei(y, "function", a);
|
|
3772
3751
|
var A = ce(m, t, r, n, i, o), P = E(A.map(function(w) {
|
|
3773
3752
|
return w.value;
|
|
3774
3753
|
}));
|
|
3775
|
-
Array.isArray(P) || (P = [P]),
|
|
3754
|
+
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
|
|
3776
3755
|
return {
|
|
3777
3756
|
type: typeof w == "string" ? H.literal : H.object,
|
|
3778
3757
|
value: w
|
|
3779
3758
|
};
|
|
3780
3759
|
}));
|
|
3781
3760
|
}
|
|
3782
|
-
if (
|
|
3761
|
+
if (Wt(l)) {
|
|
3783
3762
|
var T = l.options[f] || l.options.other;
|
|
3784
3763
|
if (!T)
|
|
3785
|
-
throw new
|
|
3786
|
-
|
|
3764
|
+
throw new vt(l.value, f, Object.keys(l.options), a);
|
|
3765
|
+
s.push.apply(s, ce(T.value, t, r, n, i));
|
|
3787
3766
|
continue;
|
|
3788
3767
|
}
|
|
3789
|
-
if (
|
|
3768
|
+
if (zt(l)) {
|
|
3790
3769
|
var T = l.options["=".concat(f)];
|
|
3791
3770
|
if (!T) {
|
|
3792
3771
|
if (!Intl.PluralRules)
|
|
3793
|
-
throw new
|
|
3772
|
+
throw new ye(`Intl.PluralRules is not available in this environment.
|
|
3794
3773
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3795
|
-
`,
|
|
3796
|
-
var
|
|
3797
|
-
T = l.options[
|
|
3774
|
+
`, z.MISSING_INTL_API, a);
|
|
3775
|
+
var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3776
|
+
T = l.options[L] || l.options.other;
|
|
3798
3777
|
}
|
|
3799
3778
|
if (!T)
|
|
3800
|
-
throw new
|
|
3801
|
-
|
|
3779
|
+
throw new vt(l.value, f, Object.keys(l.options), a);
|
|
3780
|
+
s.push.apply(s, ce(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3802
3781
|
continue;
|
|
3803
3782
|
}
|
|
3804
3783
|
}
|
|
3805
|
-
return
|
|
3784
|
+
return ri(s);
|
|
3806
3785
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return t ?
|
|
3809
|
-
return r[n] =
|
|
3786
|
+
function ii(e, t) {
|
|
3787
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3788
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3810
3789
|
}, {})) : e;
|
|
3811
3790
|
}
|
|
3812
|
-
function
|
|
3791
|
+
function oi(e, t) {
|
|
3813
3792
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3814
|
-
return r[n] =
|
|
3815
|
-
},
|
|
3793
|
+
return r[n] = ii(e[n], t[n]), r;
|
|
3794
|
+
}, v({}, e)) : e;
|
|
3816
3795
|
}
|
|
3817
|
-
function
|
|
3796
|
+
function Pe(e) {
|
|
3818
3797
|
return {
|
|
3819
3798
|
create: function() {
|
|
3820
3799
|
return {
|
|
@@ -3828,39 +3807,39 @@ function Le(e) {
|
|
|
3828
3807
|
}
|
|
3829
3808
|
};
|
|
3830
3809
|
}
|
|
3831
|
-
function
|
|
3810
|
+
function si(e) {
|
|
3832
3811
|
return e === void 0 && (e = {
|
|
3833
3812
|
number: {},
|
|
3834
3813
|
dateTime: {},
|
|
3835
3814
|
pluralRules: {}
|
|
3836
3815
|
}), {
|
|
3837
|
-
getNumberFormat:
|
|
3816
|
+
getNumberFormat: Be(function() {
|
|
3838
3817
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3839
3818
|
r[n] = arguments[n];
|
|
3840
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3819
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3841
3820
|
}, {
|
|
3842
|
-
cache:
|
|
3843
|
-
strategy:
|
|
3821
|
+
cache: Pe(e.number),
|
|
3822
|
+
strategy: Ce.variadic
|
|
3844
3823
|
}),
|
|
3845
|
-
getDateTimeFormat:
|
|
3824
|
+
getDateTimeFormat: Be(function() {
|
|
3846
3825
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3847
3826
|
r[n] = arguments[n];
|
|
3848
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3827
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3849
3828
|
}, {
|
|
3850
|
-
cache:
|
|
3851
|
-
strategy:
|
|
3829
|
+
cache: Pe(e.dateTime),
|
|
3830
|
+
strategy: Ce.variadic
|
|
3852
3831
|
}),
|
|
3853
|
-
getPluralRules:
|
|
3832
|
+
getPluralRules: Be(function() {
|
|
3854
3833
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3855
3834
|
r[n] = arguments[n];
|
|
3856
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3835
|
+
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3857
3836
|
}, {
|
|
3858
|
-
cache:
|
|
3859
|
-
strategy:
|
|
3837
|
+
cache: Pe(e.pluralRules),
|
|
3838
|
+
strategy: Ce.variadic
|
|
3860
3839
|
})
|
|
3861
3840
|
};
|
|
3862
3841
|
}
|
|
3863
|
-
var
|
|
3842
|
+
var ai = (
|
|
3864
3843
|
/** @class */
|
|
3865
3844
|
function() {
|
|
3866
3845
|
function e(t, r, n, i) {
|
|
@@ -3890,15 +3869,15 @@ var hi = (
|
|
|
3890
3869
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3891
3870
|
if (this.message = t, !e.__parse)
|
|
3892
3871
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3893
|
-
var
|
|
3894
|
-
|
|
3895
|
-
var
|
|
3896
|
-
this.ast = e.__parse(t,
|
|
3872
|
+
var a = i || {};
|
|
3873
|
+
a.formatters;
|
|
3874
|
+
var s = Ur(a, ["formatters"]);
|
|
3875
|
+
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
3897
3876
|
} else
|
|
3898
3877
|
this.ast = t;
|
|
3899
3878
|
if (!Array.isArray(this.ast))
|
|
3900
3879
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3901
|
-
this.formats =
|
|
3880
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
|
|
3902
3881
|
}
|
|
3903
3882
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3904
3883
|
get: function() {
|
|
@@ -3911,7 +3890,7 @@ var hi = (
|
|
|
3911
3890
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3912
3891
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3913
3892
|
}
|
|
3914
|
-
}, e.__parse =
|
|
3893
|
+
}, e.__parse = Kn, e.formats = {
|
|
3915
3894
|
number: {
|
|
3916
3895
|
integer: {
|
|
3917
3896
|
maximumFractionDigits: 0
|
|
@@ -3972,7 +3951,7 @@ var hi = (
|
|
|
3972
3951
|
}, e;
|
|
3973
3952
|
}()
|
|
3974
3953
|
);
|
|
3975
|
-
function
|
|
3954
|
+
function ui(e, t) {
|
|
3976
3955
|
if (t == null)
|
|
3977
3956
|
return;
|
|
3978
3957
|
if (t in e)
|
|
@@ -3993,92 +3972,92 @@ function li(e, t) {
|
|
|
3993
3972
|
n = void 0;
|
|
3994
3973
|
return n;
|
|
3995
3974
|
}
|
|
3996
|
-
const
|
|
3975
|
+
const $ = {}, hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), nr = (e, t) => {
|
|
3997
3976
|
if (t == null)
|
|
3998
3977
|
return;
|
|
3999
|
-
if (t in
|
|
4000
|
-
return
|
|
4001
|
-
const r =
|
|
3978
|
+
if (t in $ && e in $[t])
|
|
3979
|
+
return $[t][e];
|
|
3980
|
+
const r = ve(t);
|
|
4002
3981
|
for (let n = 0; n < r.length; n++) {
|
|
4003
|
-
const i = r[n], o =
|
|
3982
|
+
const i = r[n], o = ci(i, e);
|
|
4004
3983
|
if (o)
|
|
4005
|
-
return
|
|
3984
|
+
return hi(e, t, o);
|
|
4006
3985
|
}
|
|
4007
3986
|
};
|
|
4008
|
-
let
|
|
4009
|
-
const ie =
|
|
4010
|
-
function
|
|
4011
|
-
return
|
|
3987
|
+
let qe;
|
|
3988
|
+
const ie = ge({});
|
|
3989
|
+
function li(e) {
|
|
3990
|
+
return qe[e] || null;
|
|
4012
3991
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return e in
|
|
3992
|
+
function ir(e) {
|
|
3993
|
+
return e in qe;
|
|
4015
3994
|
}
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
3995
|
+
function ci(e, t) {
|
|
3996
|
+
if (!ir(e))
|
|
4018
3997
|
return null;
|
|
4019
|
-
const r =
|
|
4020
|
-
return
|
|
3998
|
+
const r = li(e);
|
|
3999
|
+
return ui(r, t);
|
|
4021
4000
|
}
|
|
4022
|
-
function
|
|
4001
|
+
function fi(e) {
|
|
4023
4002
|
if (e == null)
|
|
4024
4003
|
return;
|
|
4025
|
-
const t =
|
|
4004
|
+
const t = ve(e);
|
|
4026
4005
|
for (let r = 0; r < t.length; r++) {
|
|
4027
4006
|
const n = t[r];
|
|
4028
|
-
if (
|
|
4007
|
+
if (ir(n))
|
|
4029
4008
|
return n;
|
|
4030
4009
|
}
|
|
4031
4010
|
}
|
|
4032
|
-
function
|
|
4033
|
-
delete
|
|
4011
|
+
function or(e, ...t) {
|
|
4012
|
+
delete $[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
|
|
4034
4013
|
}
|
|
4035
|
-
|
|
4014
|
+
J(
|
|
4036
4015
|
[ie],
|
|
4037
4016
|
([e]) => Object.keys(e)
|
|
4038
4017
|
);
|
|
4039
|
-
ie.subscribe((e) =>
|
|
4018
|
+
ie.subscribe((e) => qe = e);
|
|
4040
4019
|
const fe = {};
|
|
4041
|
-
function
|
|
4020
|
+
function mi(e, t) {
|
|
4042
4021
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4043
4022
|
}
|
|
4044
|
-
function
|
|
4023
|
+
function sr(e) {
|
|
4045
4024
|
return fe[e];
|
|
4046
4025
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4049
|
-
const r =
|
|
4026
|
+
function pi(e) {
|
|
4027
|
+
return ve(e).map((t) => {
|
|
4028
|
+
const r = sr(t);
|
|
4050
4029
|
return [t, r ? [...r] : []];
|
|
4051
4030
|
}).filter(([, t]) => t.length > 0);
|
|
4052
4031
|
}
|
|
4053
|
-
function
|
|
4054
|
-
return e == null ? !1 :
|
|
4032
|
+
function We(e) {
|
|
4033
|
+
return e == null ? !1 : ve(e).some(
|
|
4055
4034
|
(t) => {
|
|
4056
4035
|
var r;
|
|
4057
|
-
return (r =
|
|
4036
|
+
return (r = sr(t)) == null ? void 0 : r.size;
|
|
4058
4037
|
}
|
|
4059
4038
|
);
|
|
4060
4039
|
}
|
|
4061
|
-
function
|
|
4040
|
+
function di(e, t) {
|
|
4062
4041
|
return Promise.all(
|
|
4063
|
-
t.map((n) => (
|
|
4064
|
-
).then((n) =>
|
|
4065
|
-
}
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4068
|
-
if (!
|
|
4069
|
-
return e in
|
|
4070
|
-
const t =
|
|
4071
|
-
return
|
|
4042
|
+
t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
|
|
4043
|
+
).then((n) => or(e, ...n));
|
|
4044
|
+
}
|
|
4045
|
+
const K = {};
|
|
4046
|
+
function ar(e) {
|
|
4047
|
+
if (!We(e))
|
|
4048
|
+
return e in K ? K[e] : Promise.resolve();
|
|
4049
|
+
const t = pi(e);
|
|
4050
|
+
return K[e] = Promise.all(
|
|
4072
4051
|
t.map(
|
|
4073
|
-
([r, n]) =>
|
|
4052
|
+
([r, n]) => di(r, n)
|
|
4074
4053
|
)
|
|
4075
4054
|
).then(() => {
|
|
4076
|
-
if (
|
|
4077
|
-
return
|
|
4078
|
-
delete
|
|
4079
|
-
}),
|
|
4055
|
+
if (We(e))
|
|
4056
|
+
return ar(e);
|
|
4057
|
+
delete K[e];
|
|
4058
|
+
}), K[e];
|
|
4080
4059
|
}
|
|
4081
|
-
const
|
|
4060
|
+
const bi = {
|
|
4082
4061
|
number: {
|
|
4083
4062
|
scientific: { notation: "scientific" },
|
|
4084
4063
|
engineering: { notation: "engineering" },
|
|
@@ -4107,159 +4086,159 @@ const yi = {
|
|
|
4107
4086
|
timeZoneName: "short"
|
|
4108
4087
|
}
|
|
4109
4088
|
}
|
|
4110
|
-
},
|
|
4089
|
+
}, gi = {
|
|
4111
4090
|
fallbackLocale: null,
|
|
4112
4091
|
loadingDelay: 200,
|
|
4113
|
-
formats:
|
|
4092
|
+
formats: bi,
|
|
4114
4093
|
warnOnMissingMessages: !0,
|
|
4115
4094
|
handleMissingMessage: void 0,
|
|
4116
4095
|
ignoreTag: !0
|
|
4117
|
-
},
|
|
4118
|
-
function
|
|
4119
|
-
return
|
|
4096
|
+
}, yi = gi;
|
|
4097
|
+
function Z() {
|
|
4098
|
+
return yi;
|
|
4120
4099
|
}
|
|
4121
|
-
const
|
|
4122
|
-
var
|
|
4100
|
+
const Le = ge(!1);
|
|
4101
|
+
var vi = Object.defineProperty, xi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
|
|
4123
4102
|
for (var r in t || (t = {}))
|
|
4124
|
-
|
|
4125
|
-
if (
|
|
4126
|
-
for (var r of
|
|
4127
|
-
|
|
4103
|
+
Ei.call(t, r) && _t(e, r, t[r]);
|
|
4104
|
+
if (xt)
|
|
4105
|
+
for (var r of xt(t))
|
|
4106
|
+
wi.call(t, r) && _t(e, r, t[r]);
|
|
4128
4107
|
return e;
|
|
4129
|
-
},
|
|
4130
|
-
let
|
|
4131
|
-
const
|
|
4132
|
-
function
|
|
4108
|
+
}, Ti = (e, t) => xi(e, _i(t));
|
|
4109
|
+
let ze;
|
|
4110
|
+
const me = ge(null);
|
|
4111
|
+
function Et(e) {
|
|
4133
4112
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4134
4113
|
}
|
|
4135
|
-
function
|
|
4136
|
-
const r =
|
|
4137
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4114
|
+
function ve(e, t = Z().fallbackLocale) {
|
|
4115
|
+
const r = Et(e);
|
|
4116
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
|
|
4138
4117
|
}
|
|
4139
4118
|
function G() {
|
|
4140
|
-
return
|
|
4119
|
+
return ze ?? void 0;
|
|
4141
4120
|
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4121
|
+
me.subscribe((e) => {
|
|
4122
|
+
ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4144
4123
|
});
|
|
4145
|
-
const
|
|
4146
|
-
if (e &&
|
|
4147
|
-
const { loadingDelay: t } =
|
|
4124
|
+
const Hi = (e) => {
|
|
4125
|
+
if (e && fi(e) && We(e)) {
|
|
4126
|
+
const { loadingDelay: t } = Z();
|
|
4148
4127
|
let r;
|
|
4149
4128
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4150
|
-
() =>
|
|
4129
|
+
() => Le.set(!0),
|
|
4151
4130
|
t
|
|
4152
|
-
) :
|
|
4153
|
-
|
|
4131
|
+
) : Le.set(!0), ar(e).then(() => {
|
|
4132
|
+
me.set(e);
|
|
4154
4133
|
}).finally(() => {
|
|
4155
|
-
clearTimeout(r),
|
|
4134
|
+
clearTimeout(r), Le.set(!1);
|
|
4156
4135
|
});
|
|
4157
4136
|
}
|
|
4158
|
-
return
|
|
4159
|
-
},
|
|
4160
|
-
set:
|
|
4161
|
-
}),
|
|
4137
|
+
return me.set(e);
|
|
4138
|
+
}, Y = Ti(Si({}, me), {
|
|
4139
|
+
set: Hi
|
|
4140
|
+
}), xe = (e) => {
|
|
4162
4141
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4163
4142
|
return (n) => {
|
|
4164
4143
|
const i = JSON.stringify(n);
|
|
4165
4144
|
return i in t ? t[i] : t[i] = e(n);
|
|
4166
4145
|
};
|
|
4167
4146
|
};
|
|
4168
|
-
var
|
|
4147
|
+
var Bi = Object.defineProperty, pe = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
4169
4148
|
for (var r in t || (t = {}))
|
|
4170
|
-
|
|
4171
|
-
if (
|
|
4172
|
-
for (var r of
|
|
4173
|
-
|
|
4149
|
+
ur.call(t, r) && wt(e, r, t[r]);
|
|
4150
|
+
if (pe)
|
|
4151
|
+
for (var r of pe(t))
|
|
4152
|
+
hr.call(t, r) && wt(e, r, t[r]);
|
|
4174
4153
|
return e;
|
|
4175
|
-
},
|
|
4154
|
+
}, q = (e, t) => {
|
|
4176
4155
|
var r = {};
|
|
4177
4156
|
for (var n in e)
|
|
4178
|
-
|
|
4179
|
-
if (e != null &&
|
|
4180
|
-
for (var n of
|
|
4181
|
-
t.indexOf(n) < 0 &&
|
|
4157
|
+
ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4158
|
+
if (e != null && pe)
|
|
4159
|
+
for (var n of pe(e))
|
|
4160
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4182
4161
|
return r;
|
|
4183
4162
|
};
|
|
4184
|
-
const
|
|
4185
|
-
const { formats: r } =
|
|
4163
|
+
const ne = (e, t) => {
|
|
4164
|
+
const { formats: r } = Z();
|
|
4186
4165
|
if (e in r && t in r[e])
|
|
4187
4166
|
return r[e][t];
|
|
4188
4167
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4189
|
-
},
|
|
4168
|
+
}, Ci = xe(
|
|
4190
4169
|
(e) => {
|
|
4191
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4170
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4192
4171
|
if (r == null)
|
|
4193
4172
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4194
|
-
return n && (i =
|
|
4173
|
+
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4195
4174
|
}
|
|
4196
|
-
),
|
|
4175
|
+
), Ai = xe(
|
|
4197
4176
|
(e) => {
|
|
4198
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4177
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4199
4178
|
if (r == null)
|
|
4200
4179
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4201
|
-
return n ? i =
|
|
4180
|
+
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4202
4181
|
}
|
|
4203
|
-
),
|
|
4182
|
+
), Pi = xe(
|
|
4204
4183
|
(e) => {
|
|
4205
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4184
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4206
4185
|
if (r == null)
|
|
4207
4186
|
throw new Error(
|
|
4208
4187
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4209
4188
|
);
|
|
4210
|
-
return n ? i =
|
|
4189
|
+
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4211
4190
|
}
|
|
4212
|
-
),
|
|
4191
|
+
), Li = (e = {}) => {
|
|
4213
4192
|
var t = e, {
|
|
4214
4193
|
locale: r = G()
|
|
4215
|
-
} = t, n =
|
|
4194
|
+
} = t, n = q(t, [
|
|
4216
4195
|
"locale"
|
|
4217
4196
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4197
|
+
return Ci(Ke({ locale: r }, n));
|
|
4198
|
+
}, Oi = (e = {}) => {
|
|
4220
4199
|
var t = e, {
|
|
4221
4200
|
locale: r = G()
|
|
4222
|
-
} = t, n =
|
|
4201
|
+
} = t, n = q(t, [
|
|
4223
4202
|
"locale"
|
|
4224
4203
|
]);
|
|
4225
|
-
return
|
|
4226
|
-
},
|
|
4204
|
+
return Ai(Ke({ locale: r }, n));
|
|
4205
|
+
}, Ii = (e = {}) => {
|
|
4227
4206
|
var t = e, {
|
|
4228
4207
|
locale: r = G()
|
|
4229
|
-
} = t, n =
|
|
4208
|
+
} = t, n = q(t, [
|
|
4230
4209
|
"locale"
|
|
4231
4210
|
]);
|
|
4232
|
-
return
|
|
4233
|
-
},
|
|
4211
|
+
return Pi(Ke({ locale: r }, n));
|
|
4212
|
+
}, Mi = xe(
|
|
4234
4213
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4235
|
-
(e, t = G()) => new
|
|
4236
|
-
ignoreTag:
|
|
4214
|
+
(e, t = G()) => new ai(e, t, Z().formats, {
|
|
4215
|
+
ignoreTag: Z().ignoreTag
|
|
4237
4216
|
})
|
|
4238
|
-
),
|
|
4217
|
+
), Ni = (e, t = {}) => {
|
|
4239
4218
|
var r, n, i, o;
|
|
4240
|
-
let
|
|
4241
|
-
typeof e == "object" && (
|
|
4219
|
+
let a = t;
|
|
4220
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4242
4221
|
const {
|
|
4243
|
-
values:
|
|
4222
|
+
values: s,
|
|
4244
4223
|
locale: h = G(),
|
|
4245
4224
|
default: u
|
|
4246
|
-
} =
|
|
4225
|
+
} = a;
|
|
4247
4226
|
if (h == null)
|
|
4248
4227
|
throw new Error(
|
|
4249
4228
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4250
4229
|
);
|
|
4251
|
-
let l =
|
|
4230
|
+
let l = nr(e, h);
|
|
4252
4231
|
if (!l)
|
|
4253
|
-
l = (o = (i = (n = (r =
|
|
4232
|
+
l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4254
4233
|
else if (typeof l != "string")
|
|
4255
4234
|
return console.warn(
|
|
4256
4235
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4257
4236
|
), l;
|
|
4258
|
-
if (!
|
|
4237
|
+
if (!s)
|
|
4259
4238
|
return l;
|
|
4260
4239
|
let c = l;
|
|
4261
4240
|
try {
|
|
4262
|
-
c =
|
|
4241
|
+
c = Mi(l, h).format(s);
|
|
4263
4242
|
} catch (f) {
|
|
4264
4243
|
f instanceof Error && console.warn(
|
|
4265
4244
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4267,20 +4246,20 @@ const re = (e, t) => {
|
|
|
4267
4246
|
);
|
|
4268
4247
|
}
|
|
4269
4248
|
return c;
|
|
4270
|
-
},
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4249
|
+
}, Ri = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Gi = (e, t) => Li(t).format(e), Ui = (e, t = G()) => nr(e, t), Di = J([Y, ie], () => Ni);
|
|
4250
|
+
J([Y], () => Ri);
|
|
4251
|
+
J([Y], () => $i);
|
|
4252
|
+
J([Y], () => Gi);
|
|
4253
|
+
J([Y, ie], () => Ui);
|
|
4275
4254
|
window.emWidgets = { topic: Kr };
|
|
4276
|
-
const
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4255
|
+
const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4256
|
+
function St(e, t) {
|
|
4257
|
+
or(e, t);
|
|
4279
4258
|
}
|
|
4280
|
-
function
|
|
4281
|
-
|
|
4259
|
+
function ji(e) {
|
|
4260
|
+
Y.set(e);
|
|
4282
4261
|
}
|
|
4283
|
-
const
|
|
4262
|
+
const Tt = {
|
|
4284
4263
|
en: {
|
|
4285
4264
|
cancel: "Cancel",
|
|
4286
4265
|
confirm: "Confirm"
|
|
@@ -4326,13 +4305,13 @@ const Bt = {
|
|
|
4326
4305
|
confirm: "Confirm"
|
|
4327
4306
|
}
|
|
4328
4307
|
};
|
|
4329
|
-
function
|
|
4308
|
+
function ki(e, t) {
|
|
4330
4309
|
if (e) {
|
|
4331
4310
|
const r = document.createElement("style");
|
|
4332
4311
|
r.innerHTML = t, e.appendChild(r);
|
|
4333
4312
|
}
|
|
4334
4313
|
}
|
|
4335
|
-
function
|
|
4314
|
+
function Vi(e, t) {
|
|
4336
4315
|
const r = new URL(t);
|
|
4337
4316
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4338
4317
|
const i = document.createElement("style");
|
|
@@ -4341,7 +4320,7 @@ function Wi(e, t) {
|
|
|
4341
4320
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4342
4321
|
});
|
|
4343
4322
|
}
|
|
4344
|
-
function
|
|
4323
|
+
function Xi(e, t, r) {
|
|
4345
4324
|
if (window.emMessageBus) {
|
|
4346
4325
|
const n = document.createElement("style");
|
|
4347
4326
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4349,27 +4328,27 @@ function zi(e, t, r) {
|
|
|
4349
4328
|
});
|
|
4350
4329
|
}
|
|
4351
4330
|
}
|
|
4352
|
-
function
|
|
4353
|
-
|
|
4331
|
+
function Wi(e) {
|
|
4332
|
+
vr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4354
4333
|
}
|
|
4355
|
-
const
|
|
4356
|
-
function
|
|
4334
|
+
const zi = (e) => ({}), Ht = (e) => ({});
|
|
4335
|
+
function Zi(e) {
|
|
4357
4336
|
let t, r;
|
|
4358
4337
|
return {
|
|
4359
4338
|
c() {
|
|
4360
|
-
t =
|
|
4339
|
+
t = rt("svg"), r = rt("path"), S(r, "stroke-linecap", "round"), S(r, "stroke-linejoin", "round"), S(r, "stroke-width", "2"), S(r, "d", "M6 18L18 6M6 6l12 12"), S(t, "class", "w-6 h-6"), S(t, "fill", "none"), S(t, "stroke", "currentColor"), S(t, "viewBox", "0 0 24 24"), S(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4361
4340
|
},
|
|
4362
4341
|
m(n, i) {
|
|
4363
|
-
|
|
4342
|
+
Qe(n, t, i), B(t, r);
|
|
4364
4343
|
},
|
|
4365
|
-
p:
|
|
4344
|
+
p: O,
|
|
4366
4345
|
d(n) {
|
|
4367
|
-
n &&
|
|
4346
|
+
n && de(t);
|
|
4368
4347
|
}
|
|
4369
4348
|
};
|
|
4370
4349
|
}
|
|
4371
|
-
function
|
|
4372
|
-
let t, r, n, i, o,
|
|
4350
|
+
function Qi(e) {
|
|
4351
|
+
let t, r, n, i, o, a, s, h, u, l = (
|
|
4373
4352
|
/*$_*/
|
|
4374
4353
|
e[2]("cancel") + ""
|
|
4375
4354
|
), c, f, p, m = (
|
|
@@ -4379,38 +4358,38 @@ function Yi(e) {
|
|
|
4379
4358
|
const T = (
|
|
4380
4359
|
/*#slots*/
|
|
4381
4360
|
e[14].close
|
|
4382
|
-
),
|
|
4361
|
+
), L = dr(
|
|
4383
4362
|
T,
|
|
4384
4363
|
e,
|
|
4385
4364
|
/*$$scope*/
|
|
4386
4365
|
e[13],
|
|
4387
|
-
|
|
4388
|
-
), w =
|
|
4366
|
+
Ht
|
|
4367
|
+
), w = L || Zi();
|
|
4389
4368
|
return {
|
|
4390
4369
|
c() {
|
|
4391
|
-
t =
|
|
4370
|
+
t = I("div"), r = I("div"), n = I("span"), w && w.c(), i = _e(), o = I("div"), a = ae(
|
|
4392
4371
|
/*modaltext*/
|
|
4393
4372
|
e[0]
|
|
4394
|
-
),
|
|
4373
|
+
), s = _e(), h = I("div"), u = I("button"), c = ae(l), f = _e(), p = I("button"), y = ae(m), S(n, "class", "ModalCloseBtn"), S(n, "role", "button"), S(o, "class", "GamingLimitsConfirmationContent"), S(u, "class", "GamingLimitsCancelButton"), S(p, "class", "GamingLimitsConfirmButton"), S(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4395
4374
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4396
4375
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4397
4376
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4398
4377
|
},
|
|
4399
|
-
m(
|
|
4400
|
-
|
|
4401
|
-
|
|
4378
|
+
m(_, C) {
|
|
4379
|
+
Qe(_, t, C), B(t, r), B(r, n), w && w.m(n, null), B(r, i), B(r, o), B(o, a), B(r, s), B(r, h), B(h, u), B(u, c), B(h, f), B(h, p), B(p, y), e[15](t), E = !0, A || (P = [
|
|
4380
|
+
Ee(
|
|
4402
4381
|
n,
|
|
4403
4382
|
"click",
|
|
4404
4383
|
/*close*/
|
|
4405
4384
|
e[4]
|
|
4406
4385
|
),
|
|
4407
|
-
|
|
4386
|
+
Ee(
|
|
4408
4387
|
u,
|
|
4409
4388
|
"click",
|
|
4410
4389
|
/*cancelChanges*/
|
|
4411
4390
|
e[6]
|
|
4412
4391
|
),
|
|
4413
|
-
|
|
4392
|
+
Ee(
|
|
4414
4393
|
p,
|
|
4415
4394
|
"click",
|
|
4416
4395
|
/*confirmChanges*/
|
|
@@ -4418,68 +4397,68 @@ function Yi(e) {
|
|
|
4418
4397
|
)
|
|
4419
4398
|
], A = !0);
|
|
4420
4399
|
},
|
|
4421
|
-
p(
|
|
4422
|
-
|
|
4423
|
-
8192) &&
|
|
4424
|
-
|
|
4400
|
+
p(_, [C]) {
|
|
4401
|
+
L && L.p && (!E || C & /*$$scope*/
|
|
4402
|
+
8192) && gr(
|
|
4403
|
+
L,
|
|
4425
4404
|
T,
|
|
4426
|
-
|
|
4405
|
+
_,
|
|
4427
4406
|
/*$$scope*/
|
|
4428
|
-
|
|
4429
|
-
E ?
|
|
4407
|
+
_[13],
|
|
4408
|
+
E ? br(
|
|
4430
4409
|
T,
|
|
4431
4410
|
/*$$scope*/
|
|
4432
|
-
|
|
4411
|
+
_[13],
|
|
4433
4412
|
C,
|
|
4434
|
-
|
|
4435
|
-
) :
|
|
4413
|
+
zi
|
|
4414
|
+
) : yr(
|
|
4436
4415
|
/*$$scope*/
|
|
4437
|
-
|
|
4416
|
+
_[13]
|
|
4438
4417
|
),
|
|
4439
|
-
|
|
4418
|
+
Ht
|
|
4440
4419
|
), (!E || C & /*modaltext*/
|
|
4441
|
-
1) &&
|
|
4442
|
-
|
|
4420
|
+
1) && we(
|
|
4421
|
+
a,
|
|
4443
4422
|
/*modaltext*/
|
|
4444
|
-
|
|
4423
|
+
_[0]
|
|
4445
4424
|
), (!E || C & /*$_*/
|
|
4446
4425
|
4) && l !== (l = /*$_*/
|
|
4447
|
-
|
|
4426
|
+
_[2]("cancel") + "") && we(c, l), (!E || C & /*$_*/
|
|
4448
4427
|
4) && m !== (m = /*$_*/
|
|
4449
|
-
|
|
4428
|
+
_[2]("confirm") + "") && we(y, m);
|
|
4450
4429
|
},
|
|
4451
|
-
i(
|
|
4452
|
-
E || (
|
|
4430
|
+
i(_) {
|
|
4431
|
+
E || (Lt(w, _), E = !0);
|
|
4453
4432
|
},
|
|
4454
|
-
o(
|
|
4455
|
-
Lr(w,
|
|
4433
|
+
o(_) {
|
|
4434
|
+
Lr(w, _), E = !1;
|
|
4456
4435
|
},
|
|
4457
|
-
d(
|
|
4458
|
-
|
|
4436
|
+
d(_) {
|
|
4437
|
+
_ && de(t), w && w.d(_), e[15](null), A = !1, Q(P);
|
|
4459
4438
|
}
|
|
4460
4439
|
};
|
|
4461
4440
|
}
|
|
4462
|
-
function
|
|
4441
|
+
function Ji(e, t, r) {
|
|
4463
4442
|
let n;
|
|
4464
|
-
|
|
4465
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext:
|
|
4443
|
+
pr(e, Di, (b) => r(2, n = b));
|
|
4444
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4466
4445
|
const p = () => {
|
|
4467
4446
|
fetch(f).then((U) => U.json()).then((U) => {
|
|
4468
|
-
Object.keys(U).forEach((
|
|
4469
|
-
|
|
4447
|
+
Object.keys(U).forEach((et) => {
|
|
4448
|
+
St(et, U[et]);
|
|
4470
4449
|
});
|
|
4471
4450
|
}).catch((U) => {
|
|
4472
4451
|
console.log(U);
|
|
4473
4452
|
});
|
|
4474
4453
|
};
|
|
4475
|
-
Object.keys(
|
|
4476
|
-
|
|
4454
|
+
Object.keys(Tt).forEach((b) => {
|
|
4455
|
+
St(b, Tt[b]);
|
|
4477
4456
|
});
|
|
4478
|
-
let m, y = window.navigator.userAgent, E =
|
|
4457
|
+
let m, y = window.navigator.userAgent, E = Fi(y) !== "PC", A = {}, P = "";
|
|
4479
4458
|
const T = () => {
|
|
4480
4459
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4481
|
-
},
|
|
4482
|
-
|
|
4460
|
+
}, L = () => {
|
|
4461
|
+
s === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : s === "infoCard" && window.postMessage(
|
|
4483
4462
|
{
|
|
4484
4463
|
type: "PlayerAccountGamingLimitDelete",
|
|
4485
4464
|
limit: A,
|
|
@@ -4488,43 +4467,43 @@ function qi(e, t, r) {
|
|
|
4488
4467
|
window.location.href
|
|
4489
4468
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4490
4469
|
}, w = () => {
|
|
4491
|
-
|
|
4492
|
-
},
|
|
4470
|
+
s === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : s === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4471
|
+
}, _ = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
|
|
4493
4472
|
if (b.data)
|
|
4494
4473
|
switch (b.data.type) {
|
|
4495
4474
|
case "DeleteLimitsItem":
|
|
4496
|
-
A = b.data.removeData, P =
|
|
4475
|
+
A = b.data.removeData, P = _(b.data.removeName);
|
|
4497
4476
|
break;
|
|
4498
4477
|
}
|
|
4499
|
-
},
|
|
4500
|
-
|
|
4478
|
+
}, lr = () => {
|
|
4479
|
+
ji(h);
|
|
4501
4480
|
};
|
|
4502
|
-
|
|
4481
|
+
Tr(() => (window.addEventListener("message", C, !1), () => {
|
|
4503
4482
|
window.removeEventListener("message", C);
|
|
4504
4483
|
}));
|
|
4505
|
-
function
|
|
4506
|
-
|
|
4484
|
+
function cr(b) {
|
|
4485
|
+
Oe[b ? "unshift" : "push"](() => {
|
|
4507
4486
|
m = b, r(1, m);
|
|
4508
4487
|
});
|
|
4509
4488
|
}
|
|
4510
4489
|
return e.$$set = (b) => {
|
|
4511
|
-
"modaltext" in b && r(0,
|
|
4490
|
+
"modaltext" in b && r(0, a = b.modaltext), "modalsource" in b && r(7, s = b.modalsource), "lang" in b && r(8, h = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "mbsource" in b && r(11, c = b.mbsource), "translationurl" in b && r(12, f = b.translationurl), "$$scope" in b && r(13, o = b.$$scope);
|
|
4512
4491
|
}, e.$$.update = () => {
|
|
4513
4492
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4514
|
-
385 &&
|
|
4515
|
-
514 && u && m &&
|
|
4516
|
-
1026 && l && m &&
|
|
4517
|
-
2050 && c && m &&
|
|
4493
|
+
385 && a && s && h && lr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4494
|
+
514 && u && m && ki(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4495
|
+
1026 && l && m && Vi(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4496
|
+
2050 && c && m && Xi(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4518
4497
|
4096 && f && p();
|
|
4519
4498
|
}, [
|
|
4520
|
-
|
|
4499
|
+
a,
|
|
4521
4500
|
m,
|
|
4522
4501
|
n,
|
|
4523
4502
|
E,
|
|
4524
4503
|
T,
|
|
4525
|
-
|
|
4504
|
+
L,
|
|
4526
4505
|
w,
|
|
4527
|
-
|
|
4506
|
+
s,
|
|
4528
4507
|
h,
|
|
4529
4508
|
u,
|
|
4530
4509
|
l,
|
|
@@ -4532,17 +4511,17 @@ function qi(e, t, r) {
|
|
|
4532
4511
|
f,
|
|
4533
4512
|
o,
|
|
4534
4513
|
i,
|
|
4535
|
-
|
|
4514
|
+
cr
|
|
4536
4515
|
];
|
|
4537
4516
|
}
|
|
4538
|
-
class
|
|
4517
|
+
class Yi extends $r {
|
|
4539
4518
|
constructor(t) {
|
|
4540
|
-
super(),
|
|
4519
|
+
super(), Nr(
|
|
4541
4520
|
this,
|
|
4542
4521
|
t,
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4522
|
+
Ji,
|
|
4523
|
+
Qi,
|
|
4524
|
+
Ct,
|
|
4546
4525
|
{
|
|
4547
4526
|
modaltext: 0,
|
|
4548
4527
|
modalsource: 7,
|
|
@@ -4552,53 +4531,53 @@ class Ki extends Gr {
|
|
|
4552
4531
|
mbsource: 11,
|
|
4553
4532
|
translationurl: 12
|
|
4554
4533
|
},
|
|
4555
|
-
|
|
4534
|
+
Wi
|
|
4556
4535
|
);
|
|
4557
4536
|
}
|
|
4558
4537
|
get modaltext() {
|
|
4559
4538
|
return this.$$.ctx[0];
|
|
4560
4539
|
}
|
|
4561
4540
|
set modaltext(t) {
|
|
4562
|
-
this.$$set({ modaltext: t }),
|
|
4541
|
+
this.$$set({ modaltext: t }), M();
|
|
4563
4542
|
}
|
|
4564
4543
|
get modalsource() {
|
|
4565
4544
|
return this.$$.ctx[7];
|
|
4566
4545
|
}
|
|
4567
4546
|
set modalsource(t) {
|
|
4568
|
-
this.$$set({ modalsource: t }),
|
|
4547
|
+
this.$$set({ modalsource: t }), M();
|
|
4569
4548
|
}
|
|
4570
4549
|
get lang() {
|
|
4571
4550
|
return this.$$.ctx[8];
|
|
4572
4551
|
}
|
|
4573
4552
|
set lang(t) {
|
|
4574
|
-
this.$$set({ lang: t }),
|
|
4553
|
+
this.$$set({ lang: t }), M();
|
|
4575
4554
|
}
|
|
4576
4555
|
get clientstyling() {
|
|
4577
4556
|
return this.$$.ctx[9];
|
|
4578
4557
|
}
|
|
4579
4558
|
set clientstyling(t) {
|
|
4580
|
-
this.$$set({ clientstyling: t }),
|
|
4559
|
+
this.$$set({ clientstyling: t }), M();
|
|
4581
4560
|
}
|
|
4582
4561
|
get clientstylingurl() {
|
|
4583
4562
|
return this.$$.ctx[10];
|
|
4584
4563
|
}
|
|
4585
4564
|
set clientstylingurl(t) {
|
|
4586
|
-
this.$$set({ clientstylingurl: t }),
|
|
4565
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4587
4566
|
}
|
|
4588
4567
|
get mbsource() {
|
|
4589
4568
|
return this.$$.ctx[11];
|
|
4590
4569
|
}
|
|
4591
4570
|
set mbsource(t) {
|
|
4592
|
-
this.$$set({ mbsource: t }),
|
|
4571
|
+
this.$$set({ mbsource: t }), M();
|
|
4593
4572
|
}
|
|
4594
4573
|
get translationurl() {
|
|
4595
4574
|
return this.$$.ctx[12];
|
|
4596
4575
|
}
|
|
4597
4576
|
set translationurl(t) {
|
|
4598
|
-
this.$$set({ translationurl: t }),
|
|
4577
|
+
this.$$set({ translationurl: t }), M();
|
|
4599
4578
|
}
|
|
4600
4579
|
}
|
|
4601
|
-
Rr(
|
|
4580
|
+
Rr(Yi, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4602
4581
|
export {
|
|
4603
|
-
|
|
4582
|
+
Yi as P
|
|
4604
4583
|
};
|