@everymatrix/player-account-gaming-limits-confirmation-modal 1.77.19 → 1.77.20
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-CIwDvjpF.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DPTWXl6u.js → PlayerAccountGamingLimitsConfirmationModal-CxE0zESi.js} +716 -759
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BFEycNl5.js → PlayerAccountGamingLimitsConfirmationModal-KpD2K9-u.js} +732 -775
- 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 ur(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function mr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function St(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function qe() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function Q(e) {
|
|
18
|
+
e.forEach(St);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ze(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Tt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function hr(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Ht(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 lr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function cr(e, t, r, n) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const i =
|
|
43
|
+
const i = Bt(e, t, r, n);
|
|
44
44
|
return e[0](i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && n ?
|
|
47
|
+
function Bt(e, t, r, n) {
|
|
48
|
+
return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function fr(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)
|
|
@@ -62,13 +62,13 @@ function gr(e, t, r, n) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function mr(e, t, r, n, i, o) {
|
|
66
66
|
if (i) {
|
|
67
|
-
const s =
|
|
67
|
+
const s = Bt(t, r, n, o);
|
|
68
68
|
e.p(s, i);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function pr(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 dr(e, t, r) {
|
|
84
|
+
const n = br(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, gr(n, i);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function br(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 gr(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 Ze(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 Ke(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 vr(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 yr(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 xr() {
|
|
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 _r(e) {
|
|
157
|
+
xr().$$.on_mount.push(e);
|
|
158
158
|
}
|
|
159
|
-
const j = [],
|
|
159
|
+
const j = [], Le = [];
|
|
160
160
|
let k = [];
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
function
|
|
164
|
-
|
|
161
|
+
const et = [], Er = /* @__PURE__ */ Promise.resolve();
|
|
162
|
+
let Oe = !1;
|
|
163
|
+
function wr() {
|
|
164
|
+
Oe || (Oe = !0, Er.then(M));
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ie(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), Sr(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; Le.length; )
|
|
185
|
+
Le.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 (; et.length; )
|
|
193
|
+
et.pop()();
|
|
194
|
+
Oe = !1, Se.clear(), ee(e);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Sr(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(Ie);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Tr(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 Hr;
|
|
209
|
+
function Ct(e, t) {
|
|
210
210
|
e && e.i && (ue.delete(e), e.i(t));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Br(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), Hr.c.push(() => {
|
|
217
217
|
ue.delete(e);
|
|
218
218
|
}), e.o(t);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Cr(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), Ie(() => {
|
|
224
|
+
const o = e.$$.on_mount.map(St).filter(ze);
|
|
225
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
|
|
226
|
+
}), i.forEach(Ie);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Ar(e, t) {
|
|
229
229
|
const r = e.$$;
|
|
230
|
-
r.fragment !== null && (
|
|
230
|
+
r.fragment !== null && (Tr(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 Pr(e, t) {
|
|
233
|
+
e.$$.dirty[0] === -1 && (j.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
const h =
|
|
237
|
-
|
|
235
|
+
function Lr(e, t, r, n, i, o, s = null, a = [-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: qe(),
|
|
246
246
|
// lifecycle
|
|
247
247
|
on_mount: [],
|
|
248
248
|
on_destroy: [],
|
|
@@ -251,7 +251,7 @@ 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:
|
|
254
|
+
callbacks: qe(),
|
|
255
255
|
dirty: a,
|
|
256
256
|
skip_bound: !1,
|
|
257
257
|
root: t.target || h.$$.root
|
|
@@ -260,19 +260,19 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
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 && Pr(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 = vr(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 && Ct(e.$$.fragment), Cr(e, t.target, t.anchor), M();
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
ee(h);
|
|
273
273
|
}
|
|
274
|
-
let
|
|
275
|
-
typeof HTMLElement == "function" && (
|
|
274
|
+
let At;
|
|
275
|
+
typeof HTMLElement == "function" && (At = 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
|
+
Ze(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 = yr(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) {
|
|
@@ -418,8 +418,8 @@ function he(e, t, r, n) {
|
|
|
418
418
|
return t;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
let s = class extends
|
|
421
|
+
function Or(e, t, r, n, i, o) {
|
|
422
|
+
let s = class extends At {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(e, r, i), this.$$p_d = t;
|
|
425
425
|
}
|
|
@@ -447,7 +447,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
447
447
|
}), e.element = /** @type {any} */
|
|
448
448
|
s, s;
|
|
449
449
|
}
|
|
450
|
-
class
|
|
450
|
+
class Ir {
|
|
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
|
+
Ar(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 && !hr(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 Mr = "4";
|
|
495
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
|
|
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 Me = function(e, t) {
|
|
511
|
+
return Me = 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
|
+
}, Me(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
|
+
Me(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 y = function() {
|
|
528
|
+
return y = 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
|
+
}, y.apply(this, arguments);
|
|
536
|
+
};
|
|
537
|
+
function Nr(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 Ne(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,7 +555,7 @@ 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 Re(e, t) {
|
|
540
559
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
541
560
|
if (!r)
|
|
542
561
|
return e;
|
|
@@ -556,22 +575,22 @@ function Ue(e, t) {
|
|
|
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 Pt(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 = Pt(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 $e(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
|
}
|
|
@@ -598,12 +617,12 @@ var ge = function() {
|
|
|
598
617
|
if (s)
|
|
599
618
|
if (this._parentage = null, Array.isArray(s))
|
|
600
619
|
try {
|
|
601
|
-
for (var a =
|
|
620
|
+
for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
|
|
602
621
|
var u = h.value;
|
|
603
622
|
u.remove(this);
|
|
604
623
|
}
|
|
605
|
-
} catch (
|
|
606
|
-
t = { error:
|
|
624
|
+
} catch (v) {
|
|
625
|
+
t = { error: v };
|
|
607
626
|
} finally {
|
|
608
627
|
try {
|
|
609
628
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -615,26 +634,26 @@ var ge = function() {
|
|
|
615
634
|
else
|
|
616
635
|
s.remove(this);
|
|
617
636
|
var l = this.initialTeardown;
|
|
618
|
-
if (
|
|
637
|
+
if (N(l))
|
|
619
638
|
try {
|
|
620
639
|
l();
|
|
621
|
-
} catch (
|
|
622
|
-
o =
|
|
640
|
+
} catch (v) {
|
|
641
|
+
o = v instanceof Te ? v.errors : [v];
|
|
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 = Ne(c), p = f.next(); !p.done; p = f.next()) {
|
|
629
648
|
var m = p.value;
|
|
630
649
|
try {
|
|
631
|
-
|
|
632
|
-
} catch (
|
|
633
|
-
o = o ?? [],
|
|
650
|
+
tt(m);
|
|
651
|
+
} catch (v) {
|
|
652
|
+
o = o ?? [], v instanceof Te ? o = V(V([], Re(o)), Re(v.errors)) : o.push(v);
|
|
634
653
|
}
|
|
635
654
|
}
|
|
636
|
-
} catch (
|
|
637
|
-
n = { error:
|
|
655
|
+
} catch (v) {
|
|
656
|
+
n = { error: v };
|
|
638
657
|
} finally {
|
|
639
658
|
try {
|
|
640
659
|
p && !p.done && (i = f.return) && i.call(f);
|
|
@@ -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
|
+
tt(t);
|
|
655
674
|
else {
|
|
656
675
|
if (t instanceof e) {
|
|
657
676
|
if (t.closed || t._hasParent(this))
|
|
@@ -668,52 +687,52 @@ 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) && $e(r, t);
|
|
672
691
|
}, e.prototype.remove = function(t) {
|
|
673
692
|
var r = this._finalizers;
|
|
674
|
-
r &&
|
|
693
|
+
r && $e(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
|
|
698
|
+
}(), Lt = be.EMPTY;
|
|
699
|
+
function Ot(e) {
|
|
700
|
+
return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
682
701
|
}
|
|
683
|
-
function
|
|
684
|
-
|
|
702
|
+
function tt(e) {
|
|
703
|
+
N(e) ? e() : e.unsubscribe();
|
|
685
704
|
}
|
|
686
|
-
var
|
|
705
|
+
var Rr = {
|
|
687
706
|
Promise: void 0
|
|
688
|
-
},
|
|
707
|
+
}, $r = {
|
|
689
708
|
setTimeout: function(e, t) {
|
|
690
709
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
691
710
|
r[n - 2] = arguments[n];
|
|
692
|
-
return setTimeout.apply(void 0,
|
|
711
|
+
return setTimeout.apply(void 0, V([e, t], Re(r)));
|
|
693
712
|
},
|
|
694
713
|
clearTimeout: function(e) {
|
|
695
714
|
return clearTimeout(e);
|
|
696
715
|
},
|
|
697
716
|
delegate: void 0
|
|
698
717
|
};
|
|
699
|
-
function
|
|
700
|
-
|
|
718
|
+
function Gr(e) {
|
|
719
|
+
$r.setTimeout(function() {
|
|
701
720
|
throw e;
|
|
702
721
|
});
|
|
703
722
|
}
|
|
704
|
-
function
|
|
723
|
+
function rt() {
|
|
705
724
|
}
|
|
706
725
|
function le(e) {
|
|
707
726
|
e();
|
|
708
727
|
}
|
|
709
|
-
var
|
|
710
|
-
|
|
728
|
+
var It = function(e) {
|
|
729
|
+
R(t, e);
|
|
711
730
|
function t(r) {
|
|
712
731
|
var n = e.call(this) || this;
|
|
713
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
732
|
+
return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = Fr, n;
|
|
714
733
|
}
|
|
715
734
|
return t.create = function(r, n, i) {
|
|
716
|
-
return new
|
|
735
|
+
return new Ge(r, n, i);
|
|
717
736
|
}, t.prototype.next = function(r) {
|
|
718
737
|
this.isStopped || this._next(r);
|
|
719
738
|
}, t.prototype.error = function(r) {
|
|
@@ -737,7 +756,7 @@ var Gt = function(e) {
|
|
|
737
756
|
this.unsubscribe();
|
|
738
757
|
}
|
|
739
758
|
}, t;
|
|
740
|
-
}(
|
|
759
|
+
}(be), Ur = function() {
|
|
741
760
|
function e(t) {
|
|
742
761
|
this.partialObserver = t;
|
|
743
762
|
}
|
|
@@ -768,43 +787,43 @@ var Gt = function(e) {
|
|
|
768
787
|
oe(r);
|
|
769
788
|
}
|
|
770
789
|
}, e;
|
|
771
|
-
}(),
|
|
772
|
-
|
|
790
|
+
}(), Ge = function(e) {
|
|
791
|
+
R(t, e);
|
|
773
792
|
function t(r, n, i) {
|
|
774
793
|
var o = e.call(this) || this, s;
|
|
775
|
-
return
|
|
794
|
+
return N(r) || !r ? s = {
|
|
776
795
|
next: r ?? void 0,
|
|
777
796
|
error: n ?? void 0,
|
|
778
797
|
complete: i ?? void 0
|
|
779
|
-
} : s = r, o.destination = new
|
|
798
|
+
} : s = r, o.destination = new Ur(s), o;
|
|
780
799
|
}
|
|
781
800
|
return t;
|
|
782
|
-
}(
|
|
801
|
+
}(It);
|
|
783
802
|
function oe(e) {
|
|
784
|
-
|
|
803
|
+
Gr(e);
|
|
785
804
|
}
|
|
786
|
-
function
|
|
805
|
+
function Dr(e) {
|
|
787
806
|
throw e;
|
|
788
807
|
}
|
|
789
|
-
var
|
|
808
|
+
var Fr = {
|
|
790
809
|
closed: !0,
|
|
791
|
-
next:
|
|
792
|
-
error:
|
|
793
|
-
complete:
|
|
794
|
-
},
|
|
810
|
+
next: rt,
|
|
811
|
+
error: Dr,
|
|
812
|
+
complete: rt
|
|
813
|
+
}, jr = function() {
|
|
795
814
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
796
815
|
}();
|
|
797
|
-
function
|
|
816
|
+
function kr(e) {
|
|
798
817
|
return e;
|
|
799
818
|
}
|
|
800
|
-
function
|
|
801
|
-
return e.length === 0 ?
|
|
819
|
+
function Vr(e) {
|
|
820
|
+
return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
|
|
802
821
|
return e.reduce(function(n, i) {
|
|
803
822
|
return i(n);
|
|
804
823
|
}, r);
|
|
805
824
|
};
|
|
806
825
|
}
|
|
807
|
-
var
|
|
826
|
+
var nt = function() {
|
|
808
827
|
function e(t) {
|
|
809
828
|
t && (this._subscribe = t);
|
|
810
829
|
}
|
|
@@ -812,7 +831,7 @@ var ut = function() {
|
|
|
812
831
|
var r = new e();
|
|
813
832
|
return r.source = this, r.operator = t, r;
|
|
814
833
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
815
|
-
var i = this, o =
|
|
834
|
+
var i = this, o = Wr(t) ? t : new Ge(t, r, n);
|
|
816
835
|
return le(function() {
|
|
817
836
|
var s = i, a = s.operator, h = s.source;
|
|
818
837
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -825,8 +844,8 @@ var ut = function() {
|
|
|
825
844
|
}
|
|
826
845
|
}, e.prototype.forEach = function(t, r) {
|
|
827
846
|
var n = this;
|
|
828
|
-
return r =
|
|
829
|
-
var s = new
|
|
847
|
+
return r = it(r), new r(function(i, o) {
|
|
848
|
+
var s = new Ge({
|
|
830
849
|
next: function(a) {
|
|
831
850
|
try {
|
|
832
851
|
t(a);
|
|
@@ -842,15 +861,15 @@ var ut = function() {
|
|
|
842
861
|
}, e.prototype._subscribe = function(t) {
|
|
843
862
|
var r;
|
|
844
863
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
845
|
-
}, e.prototype[
|
|
864
|
+
}, e.prototype[jr] = function() {
|
|
846
865
|
return this;
|
|
847
866
|
}, e.prototype.pipe = function() {
|
|
848
867
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
849
868
|
t[r] = arguments[r];
|
|
850
|
-
return
|
|
869
|
+
return Vr(t)(this);
|
|
851
870
|
}, e.prototype.toPromise = function(t) {
|
|
852
871
|
var r = this;
|
|
853
|
-
return t =
|
|
872
|
+
return t = it(t), new t(function(n, i) {
|
|
854
873
|
var o;
|
|
855
874
|
r.subscribe(function(s) {
|
|
856
875
|
return o = s;
|
|
@@ -864,32 +883,32 @@ var ut = function() {
|
|
|
864
883
|
return new e(t);
|
|
865
884
|
}, e;
|
|
866
885
|
}();
|
|
867
|
-
function
|
|
886
|
+
function it(e) {
|
|
868
887
|
var t;
|
|
869
|
-
return (t = e ??
|
|
888
|
+
return (t = e ?? Rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
870
889
|
}
|
|
871
|
-
function
|
|
872
|
-
return e &&
|
|
890
|
+
function Xr(e) {
|
|
891
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
873
892
|
}
|
|
874
|
-
function
|
|
875
|
-
return e && e instanceof
|
|
893
|
+
function Wr(e) {
|
|
894
|
+
return e && e instanceof It || Xr(e) && Ot(e);
|
|
876
895
|
}
|
|
877
|
-
var
|
|
896
|
+
var zr = Pt(function(e) {
|
|
878
897
|
return function() {
|
|
879
898
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
880
899
|
};
|
|
881
|
-
}),
|
|
882
|
-
|
|
900
|
+
}), Mt = function(e) {
|
|
901
|
+
R(t, e);
|
|
883
902
|
function t() {
|
|
884
903
|
var r = e.call(this) || this;
|
|
885
904
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
886
905
|
}
|
|
887
906
|
return t.prototype.lift = function(r) {
|
|
888
|
-
var n = new
|
|
907
|
+
var n = new ot(this, this);
|
|
889
908
|
return n.operator = r, n;
|
|
890
909
|
}, t.prototype._throwIfClosed = function() {
|
|
891
910
|
if (this.closed)
|
|
892
|
-
throw new
|
|
911
|
+
throw new zr();
|
|
893
912
|
}, t.prototype.next = function(r) {
|
|
894
913
|
var n = this;
|
|
895
914
|
le(function() {
|
|
@@ -897,7 +916,7 @@ var Yr = Nt(function(e) {
|
|
|
897
916
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
898
917
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
899
918
|
try {
|
|
900
|
-
for (var s =
|
|
919
|
+
for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
901
920
|
var h = a.value;
|
|
902
921
|
h.next(r);
|
|
903
922
|
}
|
|
@@ -946,20 +965,20 @@ var Yr = Nt(function(e) {
|
|
|
946
965
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
947
966
|
}, t.prototype._innerSubscribe = function(r) {
|
|
948
967
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
949
|
-
return o || s ?
|
|
950
|
-
n.currentObservers = null,
|
|
968
|
+
return o || s ? Lt : (this.currentObservers = null, a.push(r), new be(function() {
|
|
969
|
+
n.currentObservers = null, $e(a, r);
|
|
951
970
|
}));
|
|
952
971
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
953
972
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
954
973
|
i ? r.error(o) : s && r.complete();
|
|
955
974
|
}, t.prototype.asObservable = function() {
|
|
956
|
-
var r = new
|
|
975
|
+
var r = new nt();
|
|
957
976
|
return r.source = this, r;
|
|
958
977
|
}, t.create = function(r, n) {
|
|
959
|
-
return new
|
|
978
|
+
return new ot(r, n);
|
|
960
979
|
}, t;
|
|
961
|
-
}(
|
|
962
|
-
|
|
980
|
+
}(nt), ot = function(e) {
|
|
981
|
+
R(t, e);
|
|
963
982
|
function t(r, n) {
|
|
964
983
|
var i = e.call(this) || this;
|
|
965
984
|
return i.destination = r, i.source = n, i;
|
|
@@ -975,17 +994,17 @@ var Yr = Nt(function(e) {
|
|
|
975
994
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
976
995
|
}, t.prototype._subscribe = function(r) {
|
|
977
996
|
var n, i;
|
|
978
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
997
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
|
|
979
998
|
}, t;
|
|
980
|
-
}(
|
|
999
|
+
}(Mt), Nt = {
|
|
981
1000
|
now: function() {
|
|
982
|
-
return (
|
|
1001
|
+
return (Nt.delegate || Date).now();
|
|
983
1002
|
},
|
|
984
1003
|
delegate: void 0
|
|
985
|
-
},
|
|
986
|
-
|
|
1004
|
+
}, Zr = function(e) {
|
|
1005
|
+
R(t, e);
|
|
987
1006
|
function t(r, n, i) {
|
|
988
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1007
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
|
|
989
1008
|
var o = e.call(this) || this;
|
|
990
1009
|
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
1010
|
}
|
|
@@ -1005,24 +1024,24 @@ var Yr = Nt(function(e) {
|
|
|
1005
1024
|
u && o.splice(0, u + 1);
|
|
1006
1025
|
}
|
|
1007
1026
|
}, t;
|
|
1008
|
-
}(
|
|
1009
|
-
const
|
|
1010
|
-
if (
|
|
1011
|
-
const r = new
|
|
1012
|
-
|
|
1027
|
+
}(Mt);
|
|
1028
|
+
const st = [], at = {}, Qr = (e, t = 0) => {
|
|
1029
|
+
if (st.indexOf(e) == -1) {
|
|
1030
|
+
const r = new Zr(t);
|
|
1031
|
+
at[e] = r, st.push(e);
|
|
1013
1032
|
}
|
|
1014
|
-
return
|
|
1033
|
+
return at[e];
|
|
1015
1034
|
}, F = [];
|
|
1016
|
-
function
|
|
1035
|
+
function Jr(e, t) {
|
|
1017
1036
|
return {
|
|
1018
|
-
subscribe:
|
|
1037
|
+
subscribe: ge(e, t).subscribe
|
|
1019
1038
|
};
|
|
1020
1039
|
}
|
|
1021
|
-
function
|
|
1040
|
+
function ge(e, t = O) {
|
|
1022
1041
|
let r;
|
|
1023
1042
|
const n = /* @__PURE__ */ new Set();
|
|
1024
1043
|
function i(a) {
|
|
1025
|
-
if (
|
|
1044
|
+
if (Tt(e, a) && (e = a, r)) {
|
|
1026
1045
|
const h = !F.length;
|
|
1027
1046
|
for (const u of n)
|
|
1028
1047
|
u[1](), F.push(u, e);
|
|
@@ -1036,192 +1055,150 @@ function ye(e, t = I) {
|
|
|
1036
1055
|
function o(a) {
|
|
1037
1056
|
i(a(e));
|
|
1038
1057
|
}
|
|
1039
|
-
function s(a, h =
|
|
1058
|
+
function s(a, h = O) {
|
|
1040
1059
|
const u = [a, h];
|
|
1041
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1060
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
|
|
1042
1061
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1043
1062
|
};
|
|
1044
1063
|
}
|
|
1045
1064
|
return { set: i, update: o, subscribe: s };
|
|
1046
1065
|
}
|
|
1047
|
-
function
|
|
1066
|
+
function J(e, t, r) {
|
|
1048
1067
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1049
1068
|
if (!i.every(Boolean))
|
|
1050
1069
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1051
1070
|
const o = t.length < 2;
|
|
1052
|
-
return
|
|
1071
|
+
return Jr(r, (s, a) => {
|
|
1053
1072
|
let h = !1;
|
|
1054
1073
|
const u = [];
|
|
1055
|
-
let l = 0, c =
|
|
1074
|
+
let l = 0, c = O;
|
|
1056
1075
|
const f = () => {
|
|
1057
1076
|
if (l)
|
|
1058
1077
|
return;
|
|
1059
1078
|
c();
|
|
1060
1079
|
const m = t(n ? u[0] : u, s, a);
|
|
1061
|
-
o ? s(m) : c =
|
|
1080
|
+
o ? s(m) : c = ze(m) ? m : O;
|
|
1062
1081
|
}, p = i.map(
|
|
1063
|
-
(m,
|
|
1082
|
+
(m, v) => Ht(
|
|
1064
1083
|
m,
|
|
1065
1084
|
(E) => {
|
|
1066
|
-
u[
|
|
1085
|
+
u[v] = E, l &= ~(1 << v), h && f();
|
|
1067
1086
|
},
|
|
1068
1087
|
() => {
|
|
1069
|
-
l |= 1 <<
|
|
1088
|
+
l |= 1 << v;
|
|
1070
1089
|
}
|
|
1071
1090
|
)
|
|
1072
1091
|
);
|
|
1073
1092
|
return h = !0, f(), function() {
|
|
1074
|
-
|
|
1093
|
+
Q(p), c(), h = !1;
|
|
1075
1094
|
};
|
|
1076
1095
|
});
|
|
1077
1096
|
}
|
|
1078
|
-
function
|
|
1097
|
+
function Yr(e) {
|
|
1079
1098
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1080
1099
|
}
|
|
1081
|
-
var
|
|
1082
|
-
return
|
|
1100
|
+
var qr = function(t) {
|
|
1101
|
+
return Kr(t) && !en(t);
|
|
1083
1102
|
};
|
|
1084
|
-
function
|
|
1103
|
+
function Kr(e) {
|
|
1085
1104
|
return !!e && typeof e == "object";
|
|
1086
1105
|
}
|
|
1087
|
-
function
|
|
1106
|
+
function en(e) {
|
|
1088
1107
|
var t = Object.prototype.toString.call(e);
|
|
1089
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1108
|
+
return t === "[object RegExp]" || t === "[object Date]" || nn(e);
|
|
1090
1109
|
}
|
|
1091
|
-
var
|
|
1092
|
-
function
|
|
1093
|
-
return e.$$typeof ===
|
|
1110
|
+
var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
|
|
1111
|
+
function nn(e) {
|
|
1112
|
+
return e.$$typeof === rn;
|
|
1094
1113
|
}
|
|
1095
|
-
function
|
|
1114
|
+
function on(e) {
|
|
1096
1115
|
return Array.isArray(e) ? [] : {};
|
|
1097
1116
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1117
|
+
function re(e, t) {
|
|
1118
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(on(e), e, t) : e;
|
|
1100
1119
|
}
|
|
1101
|
-
function
|
|
1120
|
+
function sn(e, t, r) {
|
|
1102
1121
|
return e.concat(t).map(function(n) {
|
|
1103
|
-
return
|
|
1122
|
+
return re(n, r);
|
|
1104
1123
|
});
|
|
1105
1124
|
}
|
|
1106
|
-
function
|
|
1125
|
+
function an(e, t) {
|
|
1107
1126
|
if (!t.customMerge)
|
|
1108
|
-
return
|
|
1127
|
+
return X;
|
|
1109
1128
|
var r = t.customMerge(e);
|
|
1110
|
-
return typeof r == "function" ? r :
|
|
1129
|
+
return typeof r == "function" ? r : X;
|
|
1111
1130
|
}
|
|
1112
|
-
function
|
|
1131
|
+
function un(e) {
|
|
1113
1132
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1114
1133
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1115
1134
|
}) : [];
|
|
1116
1135
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return Object.keys(e).concat(
|
|
1136
|
+
function ut(e) {
|
|
1137
|
+
return Object.keys(e).concat(un(e));
|
|
1119
1138
|
}
|
|
1120
|
-
function
|
|
1139
|
+
function Rt(e, t) {
|
|
1121
1140
|
try {
|
|
1122
1141
|
return t in e;
|
|
1123
1142
|
} catch {
|
|
1124
1143
|
return !1;
|
|
1125
1144
|
}
|
|
1126
1145
|
}
|
|
1127
|
-
function
|
|
1128
|
-
return
|
|
1146
|
+
function hn(e, t) {
|
|
1147
|
+
return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1129
1148
|
}
|
|
1130
|
-
function
|
|
1149
|
+
function ln(e, t, r) {
|
|
1131
1150
|
var n = {};
|
|
1132
|
-
return r.isMergeableObject(e) &&
|
|
1133
|
-
n[i] =
|
|
1134
|
-
}),
|
|
1135
|
-
|
|
1151
|
+
return r.isMergeableObject(e) && ut(e).forEach(function(i) {
|
|
1152
|
+
n[i] = re(e[i], r);
|
|
1153
|
+
}), ut(t).forEach(function(i) {
|
|
1154
|
+
hn(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1136
1155
|
}), n;
|
|
1137
1156
|
}
|
|
1138
|
-
function
|
|
1139
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1157
|
+
function X(e, t, r) {
|
|
1158
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = re;
|
|
1140
1159
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1141
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1160
|
+
return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : re(t, r);
|
|
1142
1161
|
}
|
|
1143
|
-
|
|
1162
|
+
X.all = function(t, r) {
|
|
1144
1163
|
if (!Array.isArray(t))
|
|
1145
1164
|
throw new Error("first argument should be an array");
|
|
1146
1165
|
return t.reduce(function(n, i) {
|
|
1147
|
-
return
|
|
1166
|
+
return X(n, i, r);
|
|
1148
1167
|
}, {});
|
|
1149
1168
|
};
|
|
1150
|
-
var
|
|
1151
|
-
const
|
|
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;
|
|
1169
|
+
var cn = X, fn = cn;
|
|
1170
|
+
const mn = /* @__PURE__ */ Yr(fn);
|
|
1171
|
+
function He(e, t) {
|
|
1172
|
+
var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
|
|
1196
1173
|
return i(e, {
|
|
1197
1174
|
cache: r,
|
|
1198
1175
|
serializer: n
|
|
1199
1176
|
});
|
|
1200
1177
|
}
|
|
1201
|
-
function
|
|
1178
|
+
function pn(e) {
|
|
1202
1179
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1203
1180
|
}
|
|
1204
|
-
function
|
|
1205
|
-
var i =
|
|
1181
|
+
function dn(e, t, r, n) {
|
|
1182
|
+
var i = pn(n) ? n : r(n), o = t.get(i);
|
|
1206
1183
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1207
1184
|
}
|
|
1208
|
-
function
|
|
1185
|
+
function $t(e, t, r) {
|
|
1209
1186
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1210
1187
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1211
1188
|
}
|
|
1212
|
-
function
|
|
1189
|
+
function Gt(e, t, r, n, i) {
|
|
1213
1190
|
return r.bind(t, e, n, i);
|
|
1214
1191
|
}
|
|
1215
|
-
function
|
|
1216
|
-
var r = e.length === 1 ?
|
|
1217
|
-
return
|
|
1192
|
+
function bn(e, t) {
|
|
1193
|
+
var r = e.length === 1 ? dn : $t;
|
|
1194
|
+
return Gt(e, this, r, t.cache.create(), t.serializer);
|
|
1218
1195
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return
|
|
1196
|
+
function gn(e, t) {
|
|
1197
|
+
return Gt(e, this, $t, t.cache.create(), t.serializer);
|
|
1221
1198
|
}
|
|
1222
|
-
var
|
|
1199
|
+
var vn = function() {
|
|
1223
1200
|
return JSON.stringify(arguments);
|
|
1224
|
-
},
|
|
1201
|
+
}, yn = (
|
|
1225
1202
|
/** @class */
|
|
1226
1203
|
function() {
|
|
1227
1204
|
function e() {
|
|
@@ -1233,71 +1210,61 @@ var wn = function() {
|
|
|
1233
1210
|
this.cache[t] = r;
|
|
1234
1211
|
}, e;
|
|
1235
1212
|
}()
|
|
1236
|
-
),
|
|
1213
|
+
), xn = {
|
|
1237
1214
|
create: function() {
|
|
1238
|
-
return new
|
|
1215
|
+
return new yn();
|
|
1239
1216
|
}
|
|
1240
|
-
},
|
|
1241
|
-
variadic:
|
|
1242
|
-
},
|
|
1243
|
-
return me = Object.assign || function(t) {
|
|
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;
|
|
1217
|
+
}, Be = {
|
|
1218
|
+
variadic: gn
|
|
1219
|
+
}, d;
|
|
1253
1220
|
(function(e) {
|
|
1254
1221
|
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
1222
|
})(d || (d = {}));
|
|
1256
|
-
var
|
|
1223
|
+
var x;
|
|
1257
1224
|
(function(e) {
|
|
1258
1225
|
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
|
|
1226
|
+
})(x || (x = {}));
|
|
1227
|
+
var W;
|
|
1261
1228
|
(function(e) {
|
|
1262
1229
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1263
|
-
})(
|
|
1264
|
-
function
|
|
1265
|
-
return e.type ===
|
|
1230
|
+
})(W || (W = {}));
|
|
1231
|
+
function ht(e) {
|
|
1232
|
+
return e.type === x.literal;
|
|
1266
1233
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return e.type ===
|
|
1234
|
+
function _n(e) {
|
|
1235
|
+
return e.type === x.argument;
|
|
1269
1236
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return e.type ===
|
|
1237
|
+
function Ut(e) {
|
|
1238
|
+
return e.type === x.number;
|
|
1272
1239
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return e.type ===
|
|
1240
|
+
function Dt(e) {
|
|
1241
|
+
return e.type === x.date;
|
|
1275
1242
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return e.type ===
|
|
1243
|
+
function Ft(e) {
|
|
1244
|
+
return e.type === x.time;
|
|
1278
1245
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return e.type ===
|
|
1246
|
+
function jt(e) {
|
|
1247
|
+
return e.type === x.select;
|
|
1281
1248
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return e.type ===
|
|
1249
|
+
function kt(e) {
|
|
1250
|
+
return e.type === x.plural;
|
|
1284
1251
|
}
|
|
1285
|
-
function
|
|
1286
|
-
return e.type ===
|
|
1252
|
+
function En(e) {
|
|
1253
|
+
return e.type === x.pound;
|
|
1287
1254
|
}
|
|
1288
|
-
function
|
|
1289
|
-
return e.type ===
|
|
1255
|
+
function Vt(e) {
|
|
1256
|
+
return e.type === x.tag;
|
|
1290
1257
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1258
|
+
function Xt(e) {
|
|
1259
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1293
1260
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1261
|
+
function Ue(e) {
|
|
1262
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1296
1263
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1264
|
+
var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1265
|
+
function Sn(e) {
|
|
1299
1266
|
var t = {};
|
|
1300
|
-
return e.replace(
|
|
1267
|
+
return e.replace(wn, function(r) {
|
|
1301
1268
|
var n = r.length;
|
|
1302
1269
|
switch (r[0]) {
|
|
1303
1270
|
case "G":
|
|
@@ -1386,21 +1353,11 @@ function An(e) {
|
|
|
1386
1353
|
return "";
|
|
1387
1354
|
}), t;
|
|
1388
1355
|
}
|
|
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) {
|
|
1356
|
+
var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1357
|
+
function Hn(e) {
|
|
1401
1358
|
if (e.length === 0)
|
|
1402
1359
|
throw new Error("Number skeleton cannot be empty");
|
|
1403
|
-
for (var t = e.split(
|
|
1360
|
+
for (var t = e.split(Tn).filter(function(f) {
|
|
1404
1361
|
return f.length > 0;
|
|
1405
1362
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1406
1363
|
var o = i[n], s = o.split("/");
|
|
@@ -1415,17 +1372,17 @@ function On(e) {
|
|
|
1415
1372
|
}
|
|
1416
1373
|
return r;
|
|
1417
1374
|
}
|
|
1418
|
-
function
|
|
1375
|
+
function Bn(e) {
|
|
1419
1376
|
return e.replace(/^(.*?)-/, "");
|
|
1420
1377
|
}
|
|
1421
|
-
var
|
|
1422
|
-
function
|
|
1378
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
|
|
1379
|
+
function ct(e) {
|
|
1423
1380
|
var t = {};
|
|
1424
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1381
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
|
|
1425
1382
|
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
1383
|
}), t;
|
|
1427
1384
|
}
|
|
1428
|
-
function
|
|
1385
|
+
function Qt(e) {
|
|
1429
1386
|
switch (e) {
|
|
1430
1387
|
case "sign-auto":
|
|
1431
1388
|
return {
|
|
@@ -1465,7 +1422,7 @@ function er(e) {
|
|
|
1465
1422
|
};
|
|
1466
1423
|
}
|
|
1467
1424
|
}
|
|
1468
|
-
function
|
|
1425
|
+
function An(e) {
|
|
1469
1426
|
var t;
|
|
1470
1427
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1471
1428
|
notation: "engineering"
|
|
@@ -1473,17 +1430,17 @@ function Mn(e) {
|
|
|
1473
1430
|
notation: "scientific"
|
|
1474
1431
|
}, e = e.slice(1)), t) {
|
|
1475
1432
|
var r = e.slice(0, 2);
|
|
1476
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1433
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
|
|
1477
1434
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1478
1435
|
t.minimumIntegerDigits = e.length;
|
|
1479
1436
|
}
|
|
1480
1437
|
return t;
|
|
1481
1438
|
}
|
|
1482
|
-
function
|
|
1483
|
-
var t = {}, r =
|
|
1439
|
+
function ft(e) {
|
|
1440
|
+
var t = {}, r = Qt(e);
|
|
1484
1441
|
return r || t;
|
|
1485
1442
|
}
|
|
1486
|
-
function
|
|
1443
|
+
function Pn(e) {
|
|
1487
1444
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1488
1445
|
var i = n[r];
|
|
1489
1446
|
switch (i.stem) {
|
|
@@ -1507,7 +1464,7 @@ function Nn(e) {
|
|
|
1507
1464
|
continue;
|
|
1508
1465
|
case "measure-unit":
|
|
1509
1466
|
case "unit":
|
|
1510
|
-
t.style = "unit", t.unit =
|
|
1467
|
+
t.style = "unit", t.unit = Bn(i.options[0]);
|
|
1511
1468
|
continue;
|
|
1512
1469
|
case "compact-short":
|
|
1513
1470
|
case "K":
|
|
@@ -1518,13 +1475,13 @@ function Nn(e) {
|
|
|
1518
1475
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1519
1476
|
continue;
|
|
1520
1477
|
case "scientific":
|
|
1521
|
-
t =
|
|
1522
|
-
return
|
|
1478
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1479
|
+
return y(y({}, h), ft(u));
|
|
1523
1480
|
}, {}));
|
|
1524
1481
|
continue;
|
|
1525
1482
|
case "engineering":
|
|
1526
|
-
t =
|
|
1527
|
-
return
|
|
1483
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1484
|
+
return y(y({}, h), ft(u));
|
|
1528
1485
|
}, {}));
|
|
1529
1486
|
continue;
|
|
1530
1487
|
case "notation-simple":
|
|
@@ -1569,7 +1526,7 @@ function Nn(e) {
|
|
|
1569
1526
|
case "integer-width":
|
|
1570
1527
|
if (i.options.length > 1)
|
|
1571
1528
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1572
|
-
i.options[0].replace(
|
|
1529
|
+
i.options[0].replace(Cn, function(h, u, l, c, f, p) {
|
|
1573
1530
|
if (u)
|
|
1574
1531
|
t.minimumIntegerDigits = l.length;
|
|
1575
1532
|
else {
|
|
@@ -1582,28 +1539,28 @@ function Nn(e) {
|
|
|
1582
1539
|
});
|
|
1583
1540
|
continue;
|
|
1584
1541
|
}
|
|
1585
|
-
if (
|
|
1542
|
+
if (Zt.test(i.stem)) {
|
|
1586
1543
|
t.minimumIntegerDigits = i.stem.length;
|
|
1587
1544
|
continue;
|
|
1588
1545
|
}
|
|
1589
|
-
if (
|
|
1546
|
+
if (lt.test(i.stem)) {
|
|
1590
1547
|
if (i.options.length > 1)
|
|
1591
1548
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1592
|
-
i.stem.replace(
|
|
1549
|
+
i.stem.replace(lt, function(h, u, l, c, f, p) {
|
|
1593
1550
|
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
1551
|
});
|
|
1595
1552
|
var o = i.options[0];
|
|
1596
|
-
o === "w" ? t =
|
|
1553
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
|
|
1597
1554
|
continue;
|
|
1598
1555
|
}
|
|
1599
|
-
if (
|
|
1600
|
-
t =
|
|
1556
|
+
if (zt.test(i.stem)) {
|
|
1557
|
+
t = y(y({}, t), ct(i.stem));
|
|
1601
1558
|
continue;
|
|
1602
1559
|
}
|
|
1603
|
-
var s =
|
|
1604
|
-
s && (t =
|
|
1605
|
-
var a =
|
|
1606
|
-
a && (t =
|
|
1560
|
+
var s = Qt(i.stem);
|
|
1561
|
+
s && (t = y(y({}, t), s));
|
|
1562
|
+
var a = An(i.stem);
|
|
1563
|
+
a && (t = y(y({}, t), a));
|
|
1607
1564
|
}
|
|
1608
1565
|
return t;
|
|
1609
1566
|
}
|
|
@@ -3022,13 +2979,13 @@ var se = {
|
|
|
3022
2979
|
"h"
|
|
3023
2980
|
]
|
|
3024
2981
|
};
|
|
3025
|
-
function
|
|
2982
|
+
function Ln(e, t) {
|
|
3026
2983
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3027
2984
|
var i = e.charAt(n);
|
|
3028
2985
|
if (i === "j") {
|
|
3029
2986
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3030
2987
|
o++, n++;
|
|
3031
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2988
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = On(t);
|
|
3032
2989
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3033
2990
|
r += h;
|
|
3034
2991
|
for (; s-- > 0; )
|
|
@@ -3038,7 +2995,7 @@ function $n(e, t) {
|
|
|
3038
2995
|
}
|
|
3039
2996
|
return r;
|
|
3040
2997
|
}
|
|
3041
|
-
function
|
|
2998
|
+
function On(e) {
|
|
3042
2999
|
var t = e.hourCycle;
|
|
3043
3000
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3044
3001
|
e.hourCycles && // @ts-ignore
|
|
@@ -3060,20 +3017,20 @@ function Rn(e) {
|
|
|
3060
3017
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
3061
3018
|
return i[0];
|
|
3062
3019
|
}
|
|
3063
|
-
var
|
|
3020
|
+
var Ce, In = new RegExp("^".concat(Wt.source, "*")), Mn = new RegExp("".concat(Wt.source, "*$"));
|
|
3064
3021
|
function g(e, t) {
|
|
3065
3022
|
return { start: e, end: t };
|
|
3066
3023
|
}
|
|
3067
|
-
var
|
|
3024
|
+
var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, $n = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
|
|
3068
3025
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3069
|
-
},
|
|
3026
|
+
}, De = !0;
|
|
3070
3027
|
try {
|
|
3071
|
-
var
|
|
3072
|
-
|
|
3028
|
+
var kn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3029
|
+
De = ((Ce = kn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
|
|
3073
3030
|
} catch {
|
|
3074
|
-
|
|
3031
|
+
De = !1;
|
|
3075
3032
|
}
|
|
3076
|
-
var
|
|
3033
|
+
var mt = Nn ? (
|
|
3077
3034
|
// Native
|
|
3078
3035
|
function(t, r, n) {
|
|
3079
3036
|
return t.startsWith(r, n);
|
|
@@ -3083,7 +3040,7 @@ var yt = Dn ? (
|
|
|
3083
3040
|
function(t, r, n) {
|
|
3084
3041
|
return t.slice(n, n + r.length) === r;
|
|
3085
3042
|
}
|
|
3086
|
-
),
|
|
3043
|
+
), Fe = Rn ? String.fromCodePoint : (
|
|
3087
3044
|
// IE11
|
|
3088
3045
|
function() {
|
|
3089
3046
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3095,9 +3052,9 @@ var yt = Dn ? (
|
|
|
3095
3052
|
}
|
|
3096
3053
|
return n;
|
|
3097
3054
|
}
|
|
3098
|
-
),
|
|
3055
|
+
), pt = (
|
|
3099
3056
|
// native
|
|
3100
|
-
|
|
3057
|
+
$n ? Object.fromEntries : (
|
|
3101
3058
|
// Ponyfill
|
|
3102
3059
|
function(t) {
|
|
3103
3060
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3107,7 +3064,7 @@ var yt = Dn ? (
|
|
|
3107
3064
|
return r;
|
|
3108
3065
|
}
|
|
3109
3066
|
)
|
|
3110
|
-
),
|
|
3067
|
+
), Jt = Gn ? (
|
|
3111
3068
|
// Native
|
|
3112
3069
|
function(t, r) {
|
|
3113
3070
|
return t.codePointAt(r);
|
|
@@ -3121,7 +3078,7 @@ var yt = Dn ? (
|
|
|
3121
3078
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3122
3079
|
}
|
|
3123
3080
|
}
|
|
3124
|
-
),
|
|
3081
|
+
), Vn = Un ? (
|
|
3125
3082
|
// Native
|
|
3126
3083
|
function(t) {
|
|
3127
3084
|
return t.trimStart();
|
|
@@ -3129,9 +3086,9 @@ var yt = Dn ? (
|
|
|
3129
3086
|
) : (
|
|
3130
3087
|
// Ponyfill
|
|
3131
3088
|
function(t) {
|
|
3132
|
-
return t.replace(
|
|
3089
|
+
return t.replace(In, "");
|
|
3133
3090
|
}
|
|
3134
|
-
),
|
|
3091
|
+
), Xn = Dn ? (
|
|
3135
3092
|
// Native
|
|
3136
3093
|
function(t) {
|
|
3137
3094
|
return t.trimEnd();
|
|
@@ -3139,32 +3096,32 @@ var yt = Dn ? (
|
|
|
3139
3096
|
) : (
|
|
3140
3097
|
// Ponyfill
|
|
3141
3098
|
function(t) {
|
|
3142
|
-
return t.replace(
|
|
3099
|
+
return t.replace(Mn, "");
|
|
3143
3100
|
}
|
|
3144
3101
|
);
|
|
3145
|
-
function
|
|
3102
|
+
function Yt(e, t) {
|
|
3146
3103
|
return new RegExp(e, t);
|
|
3147
3104
|
}
|
|
3148
|
-
var
|
|
3149
|
-
if (
|
|
3150
|
-
var
|
|
3151
|
-
|
|
3105
|
+
var je;
|
|
3106
|
+
if (De) {
|
|
3107
|
+
var dt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3108
|
+
je = function(t, r) {
|
|
3152
3109
|
var n;
|
|
3153
|
-
|
|
3154
|
-
var i =
|
|
3110
|
+
dt.lastIndex = r;
|
|
3111
|
+
var i = dt.exec(t);
|
|
3155
3112
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3156
3113
|
};
|
|
3157
3114
|
} else
|
|
3158
|
-
|
|
3115
|
+
je = function(t, r) {
|
|
3159
3116
|
for (var n = []; ; ) {
|
|
3160
|
-
var i =
|
|
3161
|
-
if (i === void 0 ||
|
|
3117
|
+
var i = Jt(t, r);
|
|
3118
|
+
if (i === void 0 || qt(i) || Qn(i))
|
|
3162
3119
|
break;
|
|
3163
3120
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3164
3121
|
}
|
|
3165
|
-
return
|
|
3122
|
+
return Fe.apply(void 0, n);
|
|
3166
3123
|
};
|
|
3167
|
-
var
|
|
3124
|
+
var Wn = (
|
|
3168
3125
|
/** @class */
|
|
3169
3126
|
function() {
|
|
3170
3127
|
function e(t, r) {
|
|
@@ -3188,14 +3145,14 @@ var Yn = (
|
|
|
3188
3145
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3189
3146
|
var a = this.clonePosition();
|
|
3190
3147
|
this.bump(), i.push({
|
|
3191
|
-
type:
|
|
3148
|
+
type: x.pound,
|
|
3192
3149
|
location: g(a, this.clonePosition())
|
|
3193
3150
|
});
|
|
3194
3151
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3195
3152
|
if (n)
|
|
3196
3153
|
break;
|
|
3197
3154
|
return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3198
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3155
|
+
} else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
|
|
3199
3156
|
var s = this.parseTag(t, r);
|
|
3200
3157
|
if (s.err)
|
|
3201
3158
|
return s;
|
|
@@ -3216,7 +3173,7 @@ var Yn = (
|
|
|
3216
3173
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3217
3174
|
return {
|
|
3218
3175
|
val: {
|
|
3219
|
-
type:
|
|
3176
|
+
type: x.literal,
|
|
3220
3177
|
value: "<".concat(i, "/>"),
|
|
3221
3178
|
location: g(n, this.clonePosition())
|
|
3222
3179
|
},
|
|
@@ -3228,12 +3185,12 @@ var Yn = (
|
|
|
3228
3185
|
return o;
|
|
3229
3186
|
var s = o.val, a = this.clonePosition();
|
|
3230
3187
|
if (this.bumpIf("</")) {
|
|
3231
|
-
if (this.isEOF() || !
|
|
3188
|
+
if (this.isEOF() || !ke(this.char()))
|
|
3232
3189
|
return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
|
|
3233
3190
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3234
3191
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3235
3192
|
val: {
|
|
3236
|
-
type:
|
|
3193
|
+
type: x.tag,
|
|
3237
3194
|
value: i,
|
|
3238
3195
|
children: s,
|
|
3239
3196
|
location: g(n, this.clonePosition())
|
|
@@ -3246,7 +3203,7 @@ var Yn = (
|
|
|
3246
3203
|
return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
|
|
3247
3204
|
}, e.prototype.parseTagName = function() {
|
|
3248
3205
|
var t = this.offset();
|
|
3249
|
-
for (this.bump(); !this.isEOF() &&
|
|
3206
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
3250
3207
|
this.bump();
|
|
3251
3208
|
return this.message.slice(t, this.offset());
|
|
3252
3209
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3270,12 +3227,12 @@ var Yn = (
|
|
|
3270
3227
|
}
|
|
3271
3228
|
var h = g(n, this.clonePosition());
|
|
3272
3229
|
return {
|
|
3273
|
-
val: { type:
|
|
3230
|
+
val: { type: x.literal, value: i, location: h },
|
|
3274
3231
|
err: null
|
|
3275
3232
|
};
|
|
3276
3233
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3277
3234
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3278
|
-
!
|
|
3235
|
+
!zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3279
3236
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3280
3237
|
if (this.isEOF() || this.char() !== 39)
|
|
3281
3238
|
return null;
|
|
@@ -3309,12 +3266,12 @@ var Yn = (
|
|
|
3309
3266
|
r.push(n);
|
|
3310
3267
|
this.bump();
|
|
3311
3268
|
}
|
|
3312
|
-
return
|
|
3269
|
+
return Fe.apply(void 0, r);
|
|
3313
3270
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3314
3271
|
if (this.isEOF())
|
|
3315
3272
|
return null;
|
|
3316
3273
|
var n = this.char();
|
|
3317
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3274
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3318
3275
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3319
3276
|
var n = this.clonePosition();
|
|
3320
3277
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3330,7 +3287,7 @@ var Yn = (
|
|
|
3330
3287
|
case 125:
|
|
3331
3288
|
return this.bump(), {
|
|
3332
3289
|
val: {
|
|
3333
|
-
type:
|
|
3290
|
+
type: x.argument,
|
|
3334
3291
|
// value does not include the opening and closing braces.
|
|
3335
3292
|
value: i,
|
|
3336
3293
|
location: g(n, this.clonePosition())
|
|
@@ -3343,7 +3300,7 @@ var Yn = (
|
|
|
3343
3300
|
return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3344
3301
|
}
|
|
3345
3302
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3346
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3303
|
+
var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
|
|
3347
3304
|
this.bumpTo(i);
|
|
3348
3305
|
var o = this.clonePosition(), s = g(t, o);
|
|
3349
3306
|
return { value: n, location: s };
|
|
@@ -3362,7 +3319,7 @@ var Yn = (
|
|
|
3362
3319
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3363
3320
|
if (c.err)
|
|
3364
3321
|
return c;
|
|
3365
|
-
var f =
|
|
3322
|
+
var f = Xn(c.val);
|
|
3366
3323
|
if (f.length === 0)
|
|
3367
3324
|
return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3368
3325
|
var p = g(l, this.clonePosition());
|
|
@@ -3371,37 +3328,37 @@ var Yn = (
|
|
|
3371
3328
|
var m = this.tryParseArgumentClose(i);
|
|
3372
3329
|
if (m.err)
|
|
3373
3330
|
return m;
|
|
3374
|
-
var
|
|
3375
|
-
if (u &&
|
|
3376
|
-
var E =
|
|
3331
|
+
var v = g(i, this.clonePosition());
|
|
3332
|
+
if (u && mt(u?.style, "::", 0)) {
|
|
3333
|
+
var E = Vn(u.style.slice(2));
|
|
3377
3334
|
if (a === "number") {
|
|
3378
3335
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3379
3336
|
return c.err ? c : {
|
|
3380
|
-
val: { type:
|
|
3337
|
+
val: { type: x.number, value: n, location: v, style: c.val },
|
|
3381
3338
|
err: null
|
|
3382
3339
|
};
|
|
3383
3340
|
} else {
|
|
3384
3341
|
if (E.length === 0)
|
|
3385
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
3342
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3386
3343
|
var A = E;
|
|
3387
|
-
this.locale && (A =
|
|
3344
|
+
this.locale && (A = Ln(E, this.locale));
|
|
3388
3345
|
var f = {
|
|
3389
|
-
type:
|
|
3346
|
+
type: W.dateTime,
|
|
3390
3347
|
pattern: A,
|
|
3391
3348
|
location: u.styleLocation,
|
|
3392
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3393
|
-
}, P = a === "date" ?
|
|
3349
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(A) : {}
|
|
3350
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3394
3351
|
return {
|
|
3395
|
-
val: { type: P, value: n, location:
|
|
3352
|
+
val: { type: P, value: n, location: v, style: f },
|
|
3396
3353
|
err: null
|
|
3397
3354
|
};
|
|
3398
3355
|
}
|
|
3399
3356
|
}
|
|
3400
3357
|
return {
|
|
3401
3358
|
val: {
|
|
3402
|
-
type: a === "number" ?
|
|
3359
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3403
3360
|
value: n,
|
|
3404
|
-
location:
|
|
3361
|
+
location: v,
|
|
3405
3362
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3406
3363
|
},
|
|
3407
3364
|
err: null
|
|
@@ -3412,38 +3369,38 @@ var Yn = (
|
|
|
3412
3369
|
case "select": {
|
|
3413
3370
|
var T = this.clonePosition();
|
|
3414
3371
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3415
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T,
|
|
3372
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
|
|
3416
3373
|
this.bumpSpace();
|
|
3417
|
-
var
|
|
3418
|
-
if (a !== "select" &&
|
|
3374
|
+
var L = this.parseIdentifierIfPossible(), w = 0;
|
|
3375
|
+
if (a !== "select" && L.value === "offset") {
|
|
3419
3376
|
if (!this.bumpIf(":"))
|
|
3420
3377
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3421
3378
|
this.bumpSpace();
|
|
3422
3379
|
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3423
3380
|
if (c.err)
|
|
3424
3381
|
return c;
|
|
3425
|
-
this.bumpSpace(),
|
|
3382
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), w = c.val;
|
|
3426
3383
|
}
|
|
3427
|
-
var
|
|
3428
|
-
if (
|
|
3429
|
-
return
|
|
3384
|
+
var _ = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3385
|
+
if (_.err)
|
|
3386
|
+
return _;
|
|
3430
3387
|
var m = this.tryParseArgumentClose(i);
|
|
3431
3388
|
if (m.err)
|
|
3432
3389
|
return m;
|
|
3433
3390
|
var C = g(i, this.clonePosition());
|
|
3434
3391
|
return a === "select" ? {
|
|
3435
3392
|
val: {
|
|
3436
|
-
type:
|
|
3393
|
+
type: x.select,
|
|
3437
3394
|
value: n,
|
|
3438
|
-
options:
|
|
3395
|
+
options: pt(_.val),
|
|
3439
3396
|
location: C
|
|
3440
3397
|
},
|
|
3441
3398
|
err: null
|
|
3442
3399
|
} : {
|
|
3443
3400
|
val: {
|
|
3444
|
-
type:
|
|
3401
|
+
type: x.plural,
|
|
3445
3402
|
value: n,
|
|
3446
|
-
options:
|
|
3403
|
+
options: pt(_.val),
|
|
3447
3404
|
offset: w,
|
|
3448
3405
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3449
3406
|
location: C
|
|
@@ -3494,16 +3451,16 @@ var Yn = (
|
|
|
3494
3451
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3495
3452
|
var n = [];
|
|
3496
3453
|
try {
|
|
3497
|
-
n =
|
|
3454
|
+
n = Hn(t);
|
|
3498
3455
|
} catch {
|
|
3499
3456
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3500
3457
|
}
|
|
3501
3458
|
return {
|
|
3502
3459
|
val: {
|
|
3503
|
-
type:
|
|
3460
|
+
type: W.number,
|
|
3504
3461
|
tokens: n,
|
|
3505
3462
|
location: r,
|
|
3506
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3463
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
|
|
3507
3464
|
},
|
|
3508
3465
|
err: null
|
|
3509
3466
|
};
|
|
@@ -3528,9 +3485,9 @@ var Yn = (
|
|
|
3528
3485
|
var m = this.parseMessage(t + 1, r, n);
|
|
3529
3486
|
if (m.err)
|
|
3530
3487
|
return m;
|
|
3531
|
-
var
|
|
3532
|
-
if (
|
|
3533
|
-
return
|
|
3488
|
+
var v = this.tryParseArgumentClose(p);
|
|
3489
|
+
if (v.err)
|
|
3490
|
+
return v;
|
|
3534
3491
|
a.push([
|
|
3535
3492
|
u,
|
|
3536
3493
|
{
|
|
@@ -3551,7 +3508,7 @@ var Yn = (
|
|
|
3551
3508
|
break;
|
|
3552
3509
|
}
|
|
3553
3510
|
var h = g(i, this.clonePosition());
|
|
3554
|
-
return o ? (s *= n,
|
|
3511
|
+
return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3555
3512
|
}, e.prototype.offset = function() {
|
|
3556
3513
|
return this.position.offset;
|
|
3557
3514
|
}, e.prototype.isEOF = function() {
|
|
@@ -3566,7 +3523,7 @@ var Yn = (
|
|
|
3566
3523
|
var t = this.position.offset;
|
|
3567
3524
|
if (t >= this.message.length)
|
|
3568
3525
|
throw Error("out of bound");
|
|
3569
|
-
var r =
|
|
3526
|
+
var r = Jt(this.message, t);
|
|
3570
3527
|
if (r === void 0)
|
|
3571
3528
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3572
3529
|
return r;
|
|
@@ -3585,7 +3542,7 @@ var Yn = (
|
|
|
3585
3542
|
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
3543
|
}
|
|
3587
3544
|
}, e.prototype.bumpIf = function(t) {
|
|
3588
|
-
if (
|
|
3545
|
+
if (mt(this.message, t, this.offset())) {
|
|
3589
3546
|
for (var r = 0; r < t.length; r++)
|
|
3590
3547
|
this.bump();
|
|
3591
3548
|
return !0;
|
|
@@ -3607,7 +3564,7 @@ var Yn = (
|
|
|
3607
3564
|
break;
|
|
3608
3565
|
}
|
|
3609
3566
|
}, e.prototype.bumpSpace = function() {
|
|
3610
|
-
for (; !this.isEOF() &&
|
|
3567
|
+
for (; !this.isEOF() && qt(this.char()); )
|
|
3611
3568
|
this.bump();
|
|
3612
3569
|
}, e.prototype.peek = function() {
|
|
3613
3570
|
if (this.isEOF())
|
|
@@ -3617,47 +3574,47 @@ var Yn = (
|
|
|
3617
3574
|
}, e;
|
|
3618
3575
|
}()
|
|
3619
3576
|
);
|
|
3620
|
-
function
|
|
3577
|
+
function ke(e) {
|
|
3621
3578
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3622
3579
|
}
|
|
3623
|
-
function
|
|
3624
|
-
return
|
|
3580
|
+
function zn(e) {
|
|
3581
|
+
return ke(e) || e === 47;
|
|
3625
3582
|
}
|
|
3626
|
-
function
|
|
3583
|
+
function Zn(e) {
|
|
3627
3584
|
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
3585
|
}
|
|
3629
|
-
function
|
|
3586
|
+
function qt(e) {
|
|
3630
3587
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3631
3588
|
}
|
|
3632
|
-
function
|
|
3589
|
+
function Qn(e) {
|
|
3633
3590
|
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
3591
|
}
|
|
3635
|
-
function
|
|
3592
|
+
function Ve(e) {
|
|
3636
3593
|
e.forEach(function(t) {
|
|
3637
|
-
if (delete t.location,
|
|
3594
|
+
if (delete t.location, jt(t) || kt(t))
|
|
3638
3595
|
for (var r in t.options)
|
|
3639
|
-
delete t.options[r].location,
|
|
3596
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3640
3597
|
else
|
|
3641
|
-
|
|
3598
|
+
Ut(t) && Xt(t.style) || (Dt(t) || Ft(t)) && Ue(t.style) ? delete t.style.location : Vt(t) && Ve(t.children);
|
|
3642
3599
|
});
|
|
3643
3600
|
}
|
|
3644
|
-
function
|
|
3645
|
-
t === void 0 && (t = {}), t =
|
|
3646
|
-
var r = new
|
|
3601
|
+
function Jn(e, t) {
|
|
3602
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3603
|
+
var r = new Wn(e, t).parse();
|
|
3647
3604
|
if (r.err) {
|
|
3648
3605
|
var n = SyntaxError(d[r.err.kind]);
|
|
3649
3606
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3650
3607
|
}
|
|
3651
|
-
return t?.captureLocation ||
|
|
3608
|
+
return t?.captureLocation || Ve(r.val), r.val;
|
|
3652
3609
|
}
|
|
3653
|
-
var
|
|
3610
|
+
var z;
|
|
3654
3611
|
(function(e) {
|
|
3655
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3656
|
-
})(
|
|
3657
|
-
var
|
|
3613
|
+
})(z || (z = {}));
|
|
3614
|
+
var ve = (
|
|
3658
3615
|
/** @class */
|
|
3659
3616
|
function(e) {
|
|
3660
|
-
|
|
3617
|
+
R(t, e);
|
|
3661
3618
|
function t(r, n, i) {
|
|
3662
3619
|
var o = e.call(this, r) || this;
|
|
3663
3620
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3666,48 +3623,48 @@ var xe = (
|
|
|
3666
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3667
3624
|
}, t;
|
|
3668
3625
|
}(Error)
|
|
3669
|
-
),
|
|
3626
|
+
), bt = (
|
|
3670
3627
|
/** @class */
|
|
3671
3628
|
function(e) {
|
|
3672
|
-
|
|
3629
|
+
R(t, e);
|
|
3673
3630
|
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('", "'), '"'),
|
|
3631
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3675
3632
|
}
|
|
3676
3633
|
return t;
|
|
3677
|
-
}(
|
|
3678
|
-
),
|
|
3634
|
+
}(ve)
|
|
3635
|
+
), Yn = (
|
|
3679
3636
|
/** @class */
|
|
3680
3637
|
function(e) {
|
|
3681
|
-
|
|
3638
|
+
R(t, e);
|
|
3682
3639
|
function t(r, n, i) {
|
|
3683
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3640
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3684
3641
|
}
|
|
3685
3642
|
return t;
|
|
3686
|
-
}(
|
|
3687
|
-
),
|
|
3643
|
+
}(ve)
|
|
3644
|
+
), qn = (
|
|
3688
3645
|
/** @class */
|
|
3689
3646
|
function(e) {
|
|
3690
|
-
|
|
3647
|
+
R(t, e);
|
|
3691
3648
|
function t(r, n) {
|
|
3692
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3649
|
+
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
3650
|
}
|
|
3694
3651
|
return t;
|
|
3695
|
-
}(
|
|
3652
|
+
}(ve)
|
|
3696
3653
|
), H;
|
|
3697
3654
|
(function(e) {
|
|
3698
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3699
3656
|
})(H || (H = {}));
|
|
3700
|
-
function
|
|
3657
|
+
function Kn(e) {
|
|
3701
3658
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3702
3659
|
var n = t[t.length - 1];
|
|
3703
3660
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3704
3661
|
}, []);
|
|
3705
3662
|
}
|
|
3706
|
-
function
|
|
3663
|
+
function ei(e) {
|
|
3707
3664
|
return typeof e == "function";
|
|
3708
3665
|
}
|
|
3709
3666
|
function ce(e, t, r, n, i, o, s) {
|
|
3710
|
-
if (e.length === 1 &&
|
|
3667
|
+
if (e.length === 1 && ht(e[0]))
|
|
3711
3668
|
return [
|
|
3712
3669
|
{
|
|
3713
3670
|
type: H.literal,
|
|
@@ -3716,14 +3673,14 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3716
3673
|
];
|
|
3717
3674
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3718
3675
|
var l = u[h];
|
|
3719
|
-
if (
|
|
3676
|
+
if (ht(l)) {
|
|
3720
3677
|
a.push({
|
|
3721
3678
|
type: H.literal,
|
|
3722
3679
|
value: l.value
|
|
3723
3680
|
});
|
|
3724
3681
|
continue;
|
|
3725
3682
|
}
|
|
3726
|
-
if (
|
|
3683
|
+
if (En(l)) {
|
|
3727
3684
|
typeof o == "number" && a.push({
|
|
3728
3685
|
type: H.literal,
|
|
3729
3686
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3732,43 +3689,43 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3732
3689
|
}
|
|
3733
3690
|
var c = l.value;
|
|
3734
3691
|
if (!(i && c in i))
|
|
3735
|
-
throw new
|
|
3692
|
+
throw new qn(c, s);
|
|
3736
3693
|
var f = i[c];
|
|
3737
|
-
if (
|
|
3694
|
+
if (_n(l)) {
|
|
3738
3695
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3739
3696
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3740
3697
|
value: f
|
|
3741
3698
|
});
|
|
3742
3699
|
continue;
|
|
3743
3700
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3701
|
+
if (Dt(l)) {
|
|
3702
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
|
|
3746
3703
|
a.push({
|
|
3747
3704
|
type: H.literal,
|
|
3748
3705
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3749
3706
|
});
|
|
3750
3707
|
continue;
|
|
3751
3708
|
}
|
|
3752
|
-
if (
|
|
3753
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3709
|
+
if (Ft(l)) {
|
|
3710
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3754
3711
|
a.push({
|
|
3755
3712
|
type: H.literal,
|
|
3756
3713
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3757
3714
|
});
|
|
3758
3715
|
continue;
|
|
3759
3716
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3717
|
+
if (Ut(l)) {
|
|
3718
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
|
|
3762
3719
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3763
3720
|
type: H.literal,
|
|
3764
3721
|
value: r.getNumberFormat(t, p).format(f)
|
|
3765
3722
|
});
|
|
3766
3723
|
continue;
|
|
3767
3724
|
}
|
|
3768
|
-
if (
|
|
3769
|
-
var m = l.children,
|
|
3770
|
-
if (!
|
|
3771
|
-
throw new
|
|
3725
|
+
if (Vt(l)) {
|
|
3726
|
+
var m = l.children, v = l.value, E = i[v];
|
|
3727
|
+
if (!ei(E))
|
|
3728
|
+
throw new Yn(v, "function", s);
|
|
3772
3729
|
var A = ce(m, t, r, n, i, o), P = E(A.map(function(w) {
|
|
3773
3730
|
return w.value;
|
|
3774
3731
|
}));
|
|
@@ -3779,42 +3736,42 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3779
3736
|
};
|
|
3780
3737
|
}));
|
|
3781
3738
|
}
|
|
3782
|
-
if (
|
|
3739
|
+
if (jt(l)) {
|
|
3783
3740
|
var T = l.options[f] || l.options.other;
|
|
3784
3741
|
if (!T)
|
|
3785
|
-
throw new
|
|
3742
|
+
throw new bt(l.value, f, Object.keys(l.options), s);
|
|
3786
3743
|
a.push.apply(a, ce(T.value, t, r, n, i));
|
|
3787
3744
|
continue;
|
|
3788
3745
|
}
|
|
3789
|
-
if (
|
|
3746
|
+
if (kt(l)) {
|
|
3790
3747
|
var T = l.options["=".concat(f)];
|
|
3791
3748
|
if (!T) {
|
|
3792
3749
|
if (!Intl.PluralRules)
|
|
3793
|
-
throw new
|
|
3750
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3794
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3795
|
-
`,
|
|
3796
|
-
var
|
|
3797
|
-
T = l.options[
|
|
3752
|
+
`, z.MISSING_INTL_API, s);
|
|
3753
|
+
var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3754
|
+
T = l.options[L] || l.options.other;
|
|
3798
3755
|
}
|
|
3799
3756
|
if (!T)
|
|
3800
|
-
throw new
|
|
3757
|
+
throw new bt(l.value, f, Object.keys(l.options), s);
|
|
3801
3758
|
a.push.apply(a, ce(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3802
3759
|
continue;
|
|
3803
3760
|
}
|
|
3804
3761
|
}
|
|
3805
|
-
return
|
|
3762
|
+
return Kn(a);
|
|
3806
3763
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return t ?
|
|
3809
|
-
return r[n] =
|
|
3764
|
+
function ti(e, t) {
|
|
3765
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3766
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3810
3767
|
}, {})) : e;
|
|
3811
3768
|
}
|
|
3812
|
-
function
|
|
3769
|
+
function ri(e, t) {
|
|
3813
3770
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3814
|
-
return r[n] =
|
|
3815
|
-
},
|
|
3771
|
+
return r[n] = ti(e[n], t[n]), r;
|
|
3772
|
+
}, y({}, e)) : e;
|
|
3816
3773
|
}
|
|
3817
|
-
function
|
|
3774
|
+
function Ae(e) {
|
|
3818
3775
|
return {
|
|
3819
3776
|
create: function() {
|
|
3820
3777
|
return {
|
|
@@ -3828,39 +3785,39 @@ function Le(e) {
|
|
|
3828
3785
|
}
|
|
3829
3786
|
};
|
|
3830
3787
|
}
|
|
3831
|
-
function
|
|
3788
|
+
function ni(e) {
|
|
3832
3789
|
return e === void 0 && (e = {
|
|
3833
3790
|
number: {},
|
|
3834
3791
|
dateTime: {},
|
|
3835
3792
|
pluralRules: {}
|
|
3836
3793
|
}), {
|
|
3837
|
-
getNumberFormat:
|
|
3794
|
+
getNumberFormat: He(function() {
|
|
3838
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3839
3796
|
r[n] = arguments[n];
|
|
3840
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3797
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3841
3798
|
}, {
|
|
3842
|
-
cache:
|
|
3843
|
-
strategy:
|
|
3799
|
+
cache: Ae(e.number),
|
|
3800
|
+
strategy: Be.variadic
|
|
3844
3801
|
}),
|
|
3845
|
-
getDateTimeFormat:
|
|
3802
|
+
getDateTimeFormat: He(function() {
|
|
3846
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3847
3804
|
r[n] = arguments[n];
|
|
3848
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3805
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3849
3806
|
}, {
|
|
3850
|
-
cache:
|
|
3851
|
-
strategy:
|
|
3807
|
+
cache: Ae(e.dateTime),
|
|
3808
|
+
strategy: Be.variadic
|
|
3852
3809
|
}),
|
|
3853
|
-
getPluralRules:
|
|
3810
|
+
getPluralRules: He(function() {
|
|
3854
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3855
3812
|
r[n] = arguments[n];
|
|
3856
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3813
|
+
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3857
3814
|
}, {
|
|
3858
|
-
cache:
|
|
3859
|
-
strategy:
|
|
3815
|
+
cache: Ae(e.pluralRules),
|
|
3816
|
+
strategy: Be.variadic
|
|
3860
3817
|
})
|
|
3861
3818
|
};
|
|
3862
3819
|
}
|
|
3863
|
-
var
|
|
3820
|
+
var ii = (
|
|
3864
3821
|
/** @class */
|
|
3865
3822
|
function() {
|
|
3866
3823
|
function e(t, r, n, i) {
|
|
@@ -3892,13 +3849,13 @@ var hi = (
|
|
|
3892
3849
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3893
3850
|
var s = i || {};
|
|
3894
3851
|
s.formatters;
|
|
3895
|
-
var a =
|
|
3896
|
-
this.ast = e.__parse(t,
|
|
3852
|
+
var a = Nr(s, ["formatters"]);
|
|
3853
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3897
3854
|
} else
|
|
3898
3855
|
this.ast = t;
|
|
3899
3856
|
if (!Array.isArray(this.ast))
|
|
3900
3857
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3901
|
-
this.formats =
|
|
3858
|
+
this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
|
|
3902
3859
|
}
|
|
3903
3860
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3904
3861
|
get: function() {
|
|
@@ -3911,7 +3868,7 @@ var hi = (
|
|
|
3911
3868
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3912
3869
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3913
3870
|
}
|
|
3914
|
-
}, e.__parse =
|
|
3871
|
+
}, e.__parse = Jn, e.formats = {
|
|
3915
3872
|
number: {
|
|
3916
3873
|
integer: {
|
|
3917
3874
|
maximumFractionDigits: 0
|
|
@@ -3972,7 +3929,7 @@ var hi = (
|
|
|
3972
3929
|
}, e;
|
|
3973
3930
|
}()
|
|
3974
3931
|
);
|
|
3975
|
-
function
|
|
3932
|
+
function oi(e, t) {
|
|
3976
3933
|
if (t == null)
|
|
3977
3934
|
return;
|
|
3978
3935
|
if (t in e)
|
|
@@ -3993,92 +3950,92 @@ function li(e, t) {
|
|
|
3993
3950
|
n = void 0;
|
|
3994
3951
|
return n;
|
|
3995
3952
|
}
|
|
3996
|
-
const
|
|
3953
|
+
const $ = {}, si = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Kt = (e, t) => {
|
|
3997
3954
|
if (t == null)
|
|
3998
3955
|
return;
|
|
3999
|
-
if (t in
|
|
4000
|
-
return
|
|
4001
|
-
const r =
|
|
3956
|
+
if (t in $ && e in $[t])
|
|
3957
|
+
return $[t][e];
|
|
3958
|
+
const r = ye(t);
|
|
4002
3959
|
for (let n = 0; n < r.length; n++) {
|
|
4003
|
-
const i = r[n], o =
|
|
3960
|
+
const i = r[n], o = ui(i, e);
|
|
4004
3961
|
if (o)
|
|
4005
|
-
return
|
|
3962
|
+
return si(e, t, o);
|
|
4006
3963
|
}
|
|
4007
3964
|
};
|
|
4008
|
-
let
|
|
4009
|
-
const ie =
|
|
4010
|
-
function
|
|
4011
|
-
return
|
|
3965
|
+
let Qe;
|
|
3966
|
+
const ie = ge({});
|
|
3967
|
+
function ai(e) {
|
|
3968
|
+
return Qe[e] || null;
|
|
4012
3969
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return e in
|
|
3970
|
+
function er(e) {
|
|
3971
|
+
return e in Qe;
|
|
4015
3972
|
}
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
3973
|
+
function ui(e, t) {
|
|
3974
|
+
if (!er(e))
|
|
4018
3975
|
return null;
|
|
4019
|
-
const r =
|
|
4020
|
-
return
|
|
3976
|
+
const r = ai(e);
|
|
3977
|
+
return oi(r, t);
|
|
4021
3978
|
}
|
|
4022
|
-
function
|
|
3979
|
+
function hi(e) {
|
|
4023
3980
|
if (e == null)
|
|
4024
3981
|
return;
|
|
4025
|
-
const t =
|
|
3982
|
+
const t = ye(e);
|
|
4026
3983
|
for (let r = 0; r < t.length; r++) {
|
|
4027
3984
|
const n = t[r];
|
|
4028
|
-
if (
|
|
3985
|
+
if (er(n))
|
|
4029
3986
|
return n;
|
|
4030
3987
|
}
|
|
4031
3988
|
}
|
|
4032
|
-
function
|
|
4033
|
-
delete
|
|
3989
|
+
function tr(e, ...t) {
|
|
3990
|
+
delete $[e], ie.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
|
|
4034
3991
|
}
|
|
4035
|
-
|
|
3992
|
+
J(
|
|
4036
3993
|
[ie],
|
|
4037
3994
|
([e]) => Object.keys(e)
|
|
4038
3995
|
);
|
|
4039
|
-
ie.subscribe((e) =>
|
|
3996
|
+
ie.subscribe((e) => Qe = e);
|
|
4040
3997
|
const fe = {};
|
|
4041
|
-
function
|
|
3998
|
+
function li(e, t) {
|
|
4042
3999
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4043
4000
|
}
|
|
4044
|
-
function
|
|
4001
|
+
function rr(e) {
|
|
4045
4002
|
return fe[e];
|
|
4046
4003
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4049
|
-
const r =
|
|
4004
|
+
function ci(e) {
|
|
4005
|
+
return ye(e).map((t) => {
|
|
4006
|
+
const r = rr(t);
|
|
4050
4007
|
return [t, r ? [...r] : []];
|
|
4051
4008
|
}).filter(([, t]) => t.length > 0);
|
|
4052
4009
|
}
|
|
4053
|
-
function
|
|
4054
|
-
return e == null ? !1 :
|
|
4010
|
+
function Xe(e) {
|
|
4011
|
+
return e == null ? !1 : ye(e).some(
|
|
4055
4012
|
(t) => {
|
|
4056
4013
|
var r;
|
|
4057
|
-
return (r =
|
|
4014
|
+
return (r = rr(t)) == null ? void 0 : r.size;
|
|
4058
4015
|
}
|
|
4059
4016
|
);
|
|
4060
4017
|
}
|
|
4061
|
-
function
|
|
4018
|
+
function fi(e, t) {
|
|
4062
4019
|
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
|
|
4020
|
+
t.map((n) => (li(e, n), n().then((i) => i.default || i)))
|
|
4021
|
+
).then((n) => tr(e, ...n));
|
|
4022
|
+
}
|
|
4023
|
+
const K = {};
|
|
4024
|
+
function nr(e) {
|
|
4025
|
+
if (!Xe(e))
|
|
4026
|
+
return e in K ? K[e] : Promise.resolve();
|
|
4027
|
+
const t = ci(e);
|
|
4028
|
+
return K[e] = Promise.all(
|
|
4072
4029
|
t.map(
|
|
4073
|
-
([r, n]) =>
|
|
4030
|
+
([r, n]) => fi(r, n)
|
|
4074
4031
|
)
|
|
4075
4032
|
).then(() => {
|
|
4076
|
-
if (
|
|
4077
|
-
return
|
|
4078
|
-
delete
|
|
4079
|
-
}),
|
|
4033
|
+
if (Xe(e))
|
|
4034
|
+
return nr(e);
|
|
4035
|
+
delete K[e];
|
|
4036
|
+
}), K[e];
|
|
4080
4037
|
}
|
|
4081
|
-
const
|
|
4038
|
+
const mi = {
|
|
4082
4039
|
number: {
|
|
4083
4040
|
scientific: { notation: "scientific" },
|
|
4084
4041
|
engineering: { notation: "engineering" },
|
|
@@ -4107,135 +4064,135 @@ const yi = {
|
|
|
4107
4064
|
timeZoneName: "short"
|
|
4108
4065
|
}
|
|
4109
4066
|
}
|
|
4110
|
-
},
|
|
4067
|
+
}, pi = {
|
|
4111
4068
|
fallbackLocale: null,
|
|
4112
4069
|
loadingDelay: 200,
|
|
4113
|
-
formats:
|
|
4070
|
+
formats: mi,
|
|
4114
4071
|
warnOnMissingMessages: !0,
|
|
4115
4072
|
handleMissingMessage: void 0,
|
|
4116
4073
|
ignoreTag: !0
|
|
4117
|
-
},
|
|
4118
|
-
function
|
|
4119
|
-
return
|
|
4074
|
+
}, di = pi;
|
|
4075
|
+
function Z() {
|
|
4076
|
+
return di;
|
|
4120
4077
|
}
|
|
4121
|
-
const
|
|
4122
|
-
var
|
|
4078
|
+
const Pe = ge(!1);
|
|
4079
|
+
var bi = Object.defineProperty, gi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
|
|
4123
4080
|
for (var r in t || (t = {}))
|
|
4124
|
-
|
|
4125
|
-
if (
|
|
4126
|
-
for (var r of
|
|
4127
|
-
|
|
4081
|
+
yi.call(t, r) && vt(e, r, t[r]);
|
|
4082
|
+
if (gt)
|
|
4083
|
+
for (var r of gt(t))
|
|
4084
|
+
xi.call(t, r) && vt(e, r, t[r]);
|
|
4128
4085
|
return e;
|
|
4129
|
-
},
|
|
4130
|
-
let
|
|
4131
|
-
const
|
|
4132
|
-
function
|
|
4086
|
+
}, Ei = (e, t) => gi(e, vi(t));
|
|
4087
|
+
let We;
|
|
4088
|
+
const me = ge(null);
|
|
4089
|
+
function yt(e) {
|
|
4133
4090
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4134
4091
|
}
|
|
4135
|
-
function
|
|
4136
|
-
const r =
|
|
4137
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4092
|
+
function ye(e, t = Z().fallbackLocale) {
|
|
4093
|
+
const r = yt(e);
|
|
4094
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
4138
4095
|
}
|
|
4139
4096
|
function G() {
|
|
4140
|
-
return
|
|
4097
|
+
return We ?? void 0;
|
|
4141
4098
|
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4099
|
+
me.subscribe((e) => {
|
|
4100
|
+
We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4144
4101
|
});
|
|
4145
|
-
const
|
|
4146
|
-
if (e &&
|
|
4147
|
-
const { loadingDelay: t } =
|
|
4102
|
+
const wi = (e) => {
|
|
4103
|
+
if (e && hi(e) && Xe(e)) {
|
|
4104
|
+
const { loadingDelay: t } = Z();
|
|
4148
4105
|
let r;
|
|
4149
4106
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4150
|
-
() =>
|
|
4107
|
+
() => Pe.set(!0),
|
|
4151
4108
|
t
|
|
4152
|
-
) :
|
|
4153
|
-
|
|
4109
|
+
) : Pe.set(!0), nr(e).then(() => {
|
|
4110
|
+
me.set(e);
|
|
4154
4111
|
}).finally(() => {
|
|
4155
|
-
clearTimeout(r),
|
|
4112
|
+
clearTimeout(r), Pe.set(!1);
|
|
4156
4113
|
});
|
|
4157
4114
|
}
|
|
4158
|
-
return
|
|
4159
|
-
},
|
|
4160
|
-
set:
|
|
4161
|
-
}),
|
|
4115
|
+
return me.set(e);
|
|
4116
|
+
}, Y = Ei(_i({}, me), {
|
|
4117
|
+
set: wi
|
|
4118
|
+
}), xe = (e) => {
|
|
4162
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4163
4120
|
return (n) => {
|
|
4164
4121
|
const i = JSON.stringify(n);
|
|
4165
4122
|
return i in t ? t[i] : t[i] = e(n);
|
|
4166
4123
|
};
|
|
4167
4124
|
};
|
|
4168
|
-
var
|
|
4125
|
+
var Si = Object.defineProperty, pe = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4169
4126
|
for (var r in t || (t = {}))
|
|
4170
|
-
|
|
4171
|
-
if (
|
|
4172
|
-
for (var r of
|
|
4173
|
-
|
|
4127
|
+
ir.call(t, r) && xt(e, r, t[r]);
|
|
4128
|
+
if (pe)
|
|
4129
|
+
for (var r of pe(t))
|
|
4130
|
+
or.call(t, r) && xt(e, r, t[r]);
|
|
4174
4131
|
return e;
|
|
4175
|
-
},
|
|
4132
|
+
}, q = (e, t) => {
|
|
4176
4133
|
var r = {};
|
|
4177
4134
|
for (var n in e)
|
|
4178
|
-
|
|
4179
|
-
if (e != null &&
|
|
4180
|
-
for (var n of
|
|
4181
|
-
t.indexOf(n) < 0 &&
|
|
4135
|
+
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4136
|
+
if (e != null && pe)
|
|
4137
|
+
for (var n of pe(e))
|
|
4138
|
+
t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
|
|
4182
4139
|
return r;
|
|
4183
4140
|
};
|
|
4184
|
-
const
|
|
4185
|
-
const { formats: r } =
|
|
4141
|
+
const ne = (e, t) => {
|
|
4142
|
+
const { formats: r } = Z();
|
|
4186
4143
|
if (e in r && t in r[e])
|
|
4187
4144
|
return r[e][t];
|
|
4188
4145
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4189
|
-
},
|
|
4146
|
+
}, Ti = xe(
|
|
4190
4147
|
(e) => {
|
|
4191
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4148
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4192
4149
|
if (r == null)
|
|
4193
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4194
|
-
return n && (i =
|
|
4151
|
+
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4195
4152
|
}
|
|
4196
|
-
),
|
|
4153
|
+
), Hi = xe(
|
|
4197
4154
|
(e) => {
|
|
4198
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4155
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4199
4156
|
if (r == null)
|
|
4200
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4201
|
-
return n ? i =
|
|
4158
|
+
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4202
4159
|
}
|
|
4203
|
-
),
|
|
4160
|
+
), Bi = xe(
|
|
4204
4161
|
(e) => {
|
|
4205
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4162
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4206
4163
|
if (r == null)
|
|
4207
4164
|
throw new Error(
|
|
4208
4165
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4209
4166
|
);
|
|
4210
|
-
return n ? i =
|
|
4167
|
+
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4211
4168
|
}
|
|
4212
|
-
),
|
|
4169
|
+
), Ci = (e = {}) => {
|
|
4213
4170
|
var t = e, {
|
|
4214
4171
|
locale: r = G()
|
|
4215
|
-
} = t, n =
|
|
4172
|
+
} = t, n = q(t, [
|
|
4216
4173
|
"locale"
|
|
4217
4174
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4175
|
+
return Ti(Je({ locale: r }, n));
|
|
4176
|
+
}, Ai = (e = {}) => {
|
|
4220
4177
|
var t = e, {
|
|
4221
4178
|
locale: r = G()
|
|
4222
|
-
} = t, n =
|
|
4179
|
+
} = t, n = q(t, [
|
|
4223
4180
|
"locale"
|
|
4224
4181
|
]);
|
|
4225
|
-
return
|
|
4226
|
-
},
|
|
4182
|
+
return Hi(Je({ locale: r }, n));
|
|
4183
|
+
}, Pi = (e = {}) => {
|
|
4227
4184
|
var t = e, {
|
|
4228
4185
|
locale: r = G()
|
|
4229
|
-
} = t, n =
|
|
4186
|
+
} = t, n = q(t, [
|
|
4230
4187
|
"locale"
|
|
4231
4188
|
]);
|
|
4232
|
-
return
|
|
4233
|
-
},
|
|
4189
|
+
return Bi(Je({ locale: r }, n));
|
|
4190
|
+
}, Li = xe(
|
|
4234
4191
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4235
|
-
(e, t = G()) => new
|
|
4236
|
-
ignoreTag:
|
|
4192
|
+
(e, t = G()) => new ii(e, t, Z().formats, {
|
|
4193
|
+
ignoreTag: Z().ignoreTag
|
|
4237
4194
|
})
|
|
4238
|
-
),
|
|
4195
|
+
), Oi = (e, t = {}) => {
|
|
4239
4196
|
var r, n, i, o;
|
|
4240
4197
|
let s = t;
|
|
4241
4198
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4248,9 +4205,9 @@ const re = (e, t) => {
|
|
|
4248
4205
|
throw new Error(
|
|
4249
4206
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4250
4207
|
);
|
|
4251
|
-
let l =
|
|
4208
|
+
let l = Kt(e, h);
|
|
4252
4209
|
if (!l)
|
|
4253
|
-
l = (o = (i = (n = (r =
|
|
4210
|
+
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
4211
|
else if (typeof l != "string")
|
|
4255
4212
|
return console.warn(
|
|
4256
4213
|
`[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.`
|
|
@@ -4259,7 +4216,7 @@ const re = (e, t) => {
|
|
|
4259
4216
|
return l;
|
|
4260
4217
|
let c = l;
|
|
4261
4218
|
try {
|
|
4262
|
-
c =
|
|
4219
|
+
c = Li(l, h).format(a);
|
|
4263
4220
|
} catch (f) {
|
|
4264
4221
|
f instanceof Error && console.warn(
|
|
4265
4222
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4267,20 +4224,20 @@ const re = (e, t) => {
|
|
|
4267
4224
|
);
|
|
4268
4225
|
}
|
|
4269
4226
|
return c;
|
|
4270
|
-
},
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
window.emWidgets = { topic:
|
|
4276
|
-
const
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4279
|
-
}
|
|
4280
|
-
function
|
|
4281
|
-
|
|
4282
|
-
}
|
|
4283
|
-
const
|
|
4227
|
+
}, Ii = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), Ni = (e, t) => Ci(t).format(e), Ri = (e, t = G()) => Kt(e, t), $i = J([Y, ie], () => Oi);
|
|
4228
|
+
J([Y], () => Ii);
|
|
4229
|
+
J([Y], () => Mi);
|
|
4230
|
+
J([Y], () => Ni);
|
|
4231
|
+
J([Y, ie], () => Ri);
|
|
4232
|
+
window.emWidgets = { topic: Qr };
|
|
4233
|
+
const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4234
|
+
function _t(e, t) {
|
|
4235
|
+
tr(e, t);
|
|
4236
|
+
}
|
|
4237
|
+
function Ui(e) {
|
|
4238
|
+
Y.set(e);
|
|
4239
|
+
}
|
|
4240
|
+
const Et = {
|
|
4284
4241
|
en: {
|
|
4285
4242
|
cancel: "Cancel",
|
|
4286
4243
|
confirm: "Confirm"
|
|
@@ -4326,13 +4283,13 @@ const Bt = {
|
|
|
4326
4283
|
confirm: "Confirm"
|
|
4327
4284
|
}
|
|
4328
4285
|
};
|
|
4329
|
-
function
|
|
4286
|
+
function Di(e, t) {
|
|
4330
4287
|
if (e) {
|
|
4331
4288
|
const r = document.createElement("style");
|
|
4332
4289
|
r.innerHTML = t, e.appendChild(r);
|
|
4333
4290
|
}
|
|
4334
4291
|
}
|
|
4335
|
-
function
|
|
4292
|
+
function Fi(e, t) {
|
|
4336
4293
|
const r = new URL(t);
|
|
4337
4294
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4338
4295
|
const i = document.createElement("style");
|
|
@@ -4341,7 +4298,7 @@ function Wi(e, t) {
|
|
|
4341
4298
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4342
4299
|
});
|
|
4343
4300
|
}
|
|
4344
|
-
function
|
|
4301
|
+
function ji(e, t, r) {
|
|
4345
4302
|
if (window.emMessageBus) {
|
|
4346
4303
|
const n = document.createElement("style");
|
|
4347
4304
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4349,68 +4306,68 @@ function zi(e, t, r) {
|
|
|
4349
4306
|
});
|
|
4350
4307
|
}
|
|
4351
4308
|
}
|
|
4352
|
-
function
|
|
4353
|
-
|
|
4309
|
+
function ki(e) {
|
|
4310
|
+
dr(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
4311
|
}
|
|
4355
|
-
const
|
|
4356
|
-
function
|
|
4312
|
+
const Vi = (e) => ({}), wt = (e) => ({});
|
|
4313
|
+
function Xi(e) {
|
|
4357
4314
|
let t, r;
|
|
4358
4315
|
return {
|
|
4359
4316
|
c() {
|
|
4360
|
-
t =
|
|
4317
|
+
t = Ke("svg"), r = Ke("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
4318
|
},
|
|
4362
4319
|
m(n, i) {
|
|
4363
|
-
|
|
4320
|
+
Ze(n, t, i), B(t, r);
|
|
4364
4321
|
},
|
|
4365
|
-
p:
|
|
4322
|
+
p: O,
|
|
4366
4323
|
d(n) {
|
|
4367
|
-
n &&
|
|
4324
|
+
n && de(t);
|
|
4368
4325
|
}
|
|
4369
4326
|
};
|
|
4370
4327
|
}
|
|
4371
|
-
function
|
|
4328
|
+
function Wi(e) {
|
|
4372
4329
|
let t, r, n, i, o, s, a, h, u, l = (
|
|
4373
4330
|
/*$_*/
|
|
4374
4331
|
e[2]("cancel") + ""
|
|
4375
4332
|
), c, f, p, m = (
|
|
4376
4333
|
/*$_*/
|
|
4377
4334
|
e[2]("confirm") + ""
|
|
4378
|
-
),
|
|
4335
|
+
), v, E, A, P;
|
|
4379
4336
|
const T = (
|
|
4380
4337
|
/*#slots*/
|
|
4381
4338
|
e[14].close
|
|
4382
|
-
),
|
|
4339
|
+
), L = cr(
|
|
4383
4340
|
T,
|
|
4384
4341
|
e,
|
|
4385
4342
|
/*$$scope*/
|
|
4386
4343
|
e[13],
|
|
4387
|
-
|
|
4388
|
-
), w =
|
|
4344
|
+
wt
|
|
4345
|
+
), w = L || Xi();
|
|
4389
4346
|
return {
|
|
4390
4347
|
c() {
|
|
4391
|
-
t =
|
|
4348
|
+
t = I("div"), r = I("div"), n = I("span"), w && w.c(), i = _e(), o = I("div"), s = ae(
|
|
4392
4349
|
/*modaltext*/
|
|
4393
4350
|
e[0]
|
|
4394
|
-
), a =
|
|
4351
|
+
), a = _e(), h = I("div"), u = I("button"), c = ae(l), f = _e(), p = I("button"), v = 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
4352
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4396
4353
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4397
4354
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4398
4355
|
},
|
|
4399
|
-
m(
|
|
4400
|
-
|
|
4401
|
-
|
|
4356
|
+
m(_, C) {
|
|
4357
|
+
Ze(_, t, C), B(t, r), B(r, n), w && w.m(n, null), B(r, i), B(r, o), B(o, s), B(r, a), B(r, h), B(h, u), B(u, c), B(h, f), B(h, p), B(p, v), e[15](t), E = !0, A || (P = [
|
|
4358
|
+
Ee(
|
|
4402
4359
|
n,
|
|
4403
4360
|
"click",
|
|
4404
4361
|
/*close*/
|
|
4405
4362
|
e[4]
|
|
4406
4363
|
),
|
|
4407
|
-
|
|
4364
|
+
Ee(
|
|
4408
4365
|
u,
|
|
4409
4366
|
"click",
|
|
4410
4367
|
/*cancelChanges*/
|
|
4411
4368
|
e[6]
|
|
4412
4369
|
),
|
|
4413
|
-
|
|
4370
|
+
Ee(
|
|
4414
4371
|
p,
|
|
4415
4372
|
"click",
|
|
4416
4373
|
/*confirmChanges*/
|
|
@@ -4418,67 +4375,67 @@ function Yi(e) {
|
|
|
4418
4375
|
)
|
|
4419
4376
|
], A = !0);
|
|
4420
4377
|
},
|
|
4421
|
-
p(
|
|
4422
|
-
|
|
4423
|
-
8192) &&
|
|
4424
|
-
|
|
4378
|
+
p(_, [C]) {
|
|
4379
|
+
L && L.p && (!E || C & /*$$scope*/
|
|
4380
|
+
8192) && mr(
|
|
4381
|
+
L,
|
|
4425
4382
|
T,
|
|
4426
|
-
|
|
4383
|
+
_,
|
|
4427
4384
|
/*$$scope*/
|
|
4428
|
-
|
|
4429
|
-
E ?
|
|
4385
|
+
_[13],
|
|
4386
|
+
E ? fr(
|
|
4430
4387
|
T,
|
|
4431
4388
|
/*$$scope*/
|
|
4432
|
-
|
|
4389
|
+
_[13],
|
|
4433
4390
|
C,
|
|
4434
|
-
|
|
4435
|
-
) :
|
|
4391
|
+
Vi
|
|
4392
|
+
) : pr(
|
|
4436
4393
|
/*$$scope*/
|
|
4437
|
-
|
|
4394
|
+
_[13]
|
|
4438
4395
|
),
|
|
4439
|
-
|
|
4396
|
+
wt
|
|
4440
4397
|
), (!E || C & /*modaltext*/
|
|
4441
|
-
1) &&
|
|
4398
|
+
1) && we(
|
|
4442
4399
|
s,
|
|
4443
4400
|
/*modaltext*/
|
|
4444
|
-
|
|
4401
|
+
_[0]
|
|
4445
4402
|
), (!E || C & /*$_*/
|
|
4446
4403
|
4) && l !== (l = /*$_*/
|
|
4447
|
-
|
|
4404
|
+
_[2]("cancel") + "") && we(c, l), (!E || C & /*$_*/
|
|
4448
4405
|
4) && m !== (m = /*$_*/
|
|
4449
|
-
|
|
4406
|
+
_[2]("confirm") + "") && we(v, m);
|
|
4450
4407
|
},
|
|
4451
|
-
i(
|
|
4452
|
-
E || (
|
|
4408
|
+
i(_) {
|
|
4409
|
+
E || (Ct(w, _), E = !0);
|
|
4453
4410
|
},
|
|
4454
|
-
o(
|
|
4455
|
-
|
|
4411
|
+
o(_) {
|
|
4412
|
+
Br(w, _), E = !1;
|
|
4456
4413
|
},
|
|
4457
|
-
d(
|
|
4458
|
-
|
|
4414
|
+
d(_) {
|
|
4415
|
+
_ && de(t), w && w.d(_), e[15](null), A = !1, Q(P);
|
|
4459
4416
|
}
|
|
4460
4417
|
};
|
|
4461
4418
|
}
|
|
4462
|
-
function
|
|
4419
|
+
function zi(e, t, r) {
|
|
4463
4420
|
let n;
|
|
4464
|
-
|
|
4421
|
+
lr(e, $i, (b) => r(2, n = b));
|
|
4465
4422
|
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4466
4423
|
const p = () => {
|
|
4467
4424
|
fetch(f).then((U) => U.json()).then((U) => {
|
|
4468
|
-
Object.keys(U).forEach((
|
|
4469
|
-
|
|
4425
|
+
Object.keys(U).forEach((Ye) => {
|
|
4426
|
+
_t(Ye, U[Ye]);
|
|
4470
4427
|
});
|
|
4471
4428
|
}).catch((U) => {
|
|
4472
4429
|
console.log(U);
|
|
4473
4430
|
});
|
|
4474
4431
|
};
|
|
4475
|
-
Object.keys(
|
|
4476
|
-
|
|
4432
|
+
Object.keys(Et).forEach((b) => {
|
|
4433
|
+
_t(b, Et[b]);
|
|
4477
4434
|
});
|
|
4478
|
-
let m,
|
|
4435
|
+
let m, v = window.navigator.userAgent, E = Gi(v) !== "PC", A = {}, P = "";
|
|
4479
4436
|
const T = () => {
|
|
4480
4437
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4481
|
-
},
|
|
4438
|
+
}, L = () => {
|
|
4482
4439
|
a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
|
|
4483
4440
|
{
|
|
4484
4441
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4489,21 +4446,21 @@ function qi(e, t, r) {
|
|
|
4489
4446
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4490
4447
|
}, w = () => {
|
|
4491
4448
|
a === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : a === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4492
|
-
},
|
|
4449
|
+
}, _ = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
|
|
4493
4450
|
if (b.data)
|
|
4494
4451
|
switch (b.data.type) {
|
|
4495
4452
|
case "DeleteLimitsItem":
|
|
4496
|
-
A = b.data.removeData, P =
|
|
4453
|
+
A = b.data.removeData, P = _(b.data.removeName);
|
|
4497
4454
|
break;
|
|
4498
4455
|
}
|
|
4499
|
-
},
|
|
4500
|
-
|
|
4456
|
+
}, sr = () => {
|
|
4457
|
+
Ui(h);
|
|
4501
4458
|
};
|
|
4502
|
-
|
|
4459
|
+
_r(() => (window.addEventListener("message", C, !1), () => {
|
|
4503
4460
|
window.removeEventListener("message", C);
|
|
4504
4461
|
}));
|
|
4505
|
-
function
|
|
4506
|
-
|
|
4462
|
+
function ar(b) {
|
|
4463
|
+
Le[b ? "unshift" : "push"](() => {
|
|
4507
4464
|
m = b, r(1, m);
|
|
4508
4465
|
});
|
|
4509
4466
|
}
|
|
@@ -4511,10 +4468,10 @@ function qi(e, t, r) {
|
|
|
4511
4468
|
"modaltext" in b && r(0, s = b.modaltext), "modalsource" in b && r(7, a = 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
4469
|
}, e.$$.update = () => {
|
|
4513
4470
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4514
|
-
385 && s && a && h &&
|
|
4515
|
-
514 && u && m &&
|
|
4516
|
-
1026 && l && m &&
|
|
4517
|
-
2050 && c && m &&
|
|
4471
|
+
385 && s && a && h && sr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4472
|
+
514 && u && m && Di(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4473
|
+
1026 && l && m && Fi(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4474
|
+
2050 && c && m && ji(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4518
4475
|
4096 && f && p();
|
|
4519
4476
|
}, [
|
|
4520
4477
|
s,
|
|
@@ -4522,7 +4479,7 @@ function qi(e, t, r) {
|
|
|
4522
4479
|
n,
|
|
4523
4480
|
E,
|
|
4524
4481
|
T,
|
|
4525
|
-
|
|
4482
|
+
L,
|
|
4526
4483
|
w,
|
|
4527
4484
|
a,
|
|
4528
4485
|
h,
|
|
@@ -4532,17 +4489,17 @@ function qi(e, t, r) {
|
|
|
4532
4489
|
f,
|
|
4533
4490
|
o,
|
|
4534
4491
|
i,
|
|
4535
|
-
|
|
4492
|
+
ar
|
|
4536
4493
|
];
|
|
4537
4494
|
}
|
|
4538
|
-
class
|
|
4495
|
+
class Zi extends Ir {
|
|
4539
4496
|
constructor(t) {
|
|
4540
|
-
super(),
|
|
4497
|
+
super(), Lr(
|
|
4541
4498
|
this,
|
|
4542
4499
|
t,
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4500
|
+
zi,
|
|
4501
|
+
Wi,
|
|
4502
|
+
Tt,
|
|
4546
4503
|
{
|
|
4547
4504
|
modaltext: 0,
|
|
4548
4505
|
modalsource: 7,
|
|
@@ -4552,53 +4509,53 @@ class Ki extends Gr {
|
|
|
4552
4509
|
mbsource: 11,
|
|
4553
4510
|
translationurl: 12
|
|
4554
4511
|
},
|
|
4555
|
-
|
|
4512
|
+
ki
|
|
4556
4513
|
);
|
|
4557
4514
|
}
|
|
4558
4515
|
get modaltext() {
|
|
4559
4516
|
return this.$$.ctx[0];
|
|
4560
4517
|
}
|
|
4561
4518
|
set modaltext(t) {
|
|
4562
|
-
this.$$set({ modaltext: t }),
|
|
4519
|
+
this.$$set({ modaltext: t }), M();
|
|
4563
4520
|
}
|
|
4564
4521
|
get modalsource() {
|
|
4565
4522
|
return this.$$.ctx[7];
|
|
4566
4523
|
}
|
|
4567
4524
|
set modalsource(t) {
|
|
4568
|
-
this.$$set({ modalsource: t }),
|
|
4525
|
+
this.$$set({ modalsource: t }), M();
|
|
4569
4526
|
}
|
|
4570
4527
|
get lang() {
|
|
4571
4528
|
return this.$$.ctx[8];
|
|
4572
4529
|
}
|
|
4573
4530
|
set lang(t) {
|
|
4574
|
-
this.$$set({ lang: t }),
|
|
4531
|
+
this.$$set({ lang: t }), M();
|
|
4575
4532
|
}
|
|
4576
4533
|
get clientstyling() {
|
|
4577
4534
|
return this.$$.ctx[9];
|
|
4578
4535
|
}
|
|
4579
4536
|
set clientstyling(t) {
|
|
4580
|
-
this.$$set({ clientstyling: t }),
|
|
4537
|
+
this.$$set({ clientstyling: t }), M();
|
|
4581
4538
|
}
|
|
4582
4539
|
get clientstylingurl() {
|
|
4583
4540
|
return this.$$.ctx[10];
|
|
4584
4541
|
}
|
|
4585
4542
|
set clientstylingurl(t) {
|
|
4586
|
-
this.$$set({ clientstylingurl: t }),
|
|
4543
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4587
4544
|
}
|
|
4588
4545
|
get mbsource() {
|
|
4589
4546
|
return this.$$.ctx[11];
|
|
4590
4547
|
}
|
|
4591
4548
|
set mbsource(t) {
|
|
4592
|
-
this.$$set({ mbsource: t }),
|
|
4549
|
+
this.$$set({ mbsource: t }), M();
|
|
4593
4550
|
}
|
|
4594
4551
|
get translationurl() {
|
|
4595
4552
|
return this.$$.ctx[12];
|
|
4596
4553
|
}
|
|
4597
4554
|
set translationurl(t) {
|
|
4598
|
-
this.$$set({ translationurl: t }),
|
|
4555
|
+
this.$$set({ translationurl: t }), M();
|
|
4599
4556
|
}
|
|
4600
4557
|
}
|
|
4601
|
-
|
|
4558
|
+
Or(Zi, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4602
4559
|
export {
|
|
4603
|
-
|
|
4560
|
+
Zi as P
|
|
4604
4561
|
};
|