@everymatrix/casino-calendar-daily-item 1.86.4 → 1.86.6
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/{CasinoCalendarDailyItem-u7KBG8Vr.js → CasinoCalendarDailyItem-8MiuiKu9.js} +727 -706
- package/components/CasinoCalendarDailyItem-B-Cr1dWA.cjs +18 -0
- package/components/{CasinoCalendarDailyItem-D03_uFWg.js → CasinoCalendarDailyItem-CLiGGzmf.js} +886 -865
- package/es2015/casino-calendar-daily-item.cjs +1 -1
- package/es2015/casino-calendar-daily-item.js +1 -1
- package/esnext/casino-calendar-daily-item.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoCalendarDailyItem-Caw9VdGN.cjs +0 -18
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
package/components/{CasinoCalendarDailyItem-u7KBG8Vr.js → CasinoCalendarDailyItem-8MiuiKu9.js}
RENAMED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
2
|
function N() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Ot(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function nt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function ne(e) {
|
|
11
|
+
e.forEach(Ot);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Ye(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Ct(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let ae;
|
|
20
|
-
function
|
|
20
|
+
function it(e, t) {
|
|
21
21
|
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function cr(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function It(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -32,20 +32,20 @@ function Ct(e, ...t) {
|
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
e.$$.on_destroy.push(
|
|
35
|
+
function fr(e, t, r) {
|
|
36
|
+
e.$$.on_destroy.push(It(t, r));
|
|
37
37
|
}
|
|
38
38
|
function S(e, t) {
|
|
39
39
|
e.appendChild(t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const n =
|
|
41
|
+
function dr(e, t, r) {
|
|
42
|
+
const n = pr(e);
|
|
43
43
|
if (!n.getElementById(t)) {
|
|
44
44
|
const i = B("style");
|
|
45
|
-
i.id = t, i.textContent = r,
|
|
45
|
+
i.id = t, i.textContent = r, mr(n, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function pr(e) {
|
|
49
49
|
if (!e)
|
|
50
50
|
return document;
|
|
51
51
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -55,29 +55,29 @@ function dr(e) {
|
|
|
55
55
|
t
|
|
56
56
|
) : e.ownerDocument;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function mr(e, t) {
|
|
59
59
|
return S(
|
|
60
60
|
/** @type {Document} */
|
|
61
61
|
e.head || e,
|
|
62
62
|
t
|
|
63
63
|
), t.sheet;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Lt(e, t, r) {
|
|
66
66
|
e.insertBefore(t, r || null);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Ke(e) {
|
|
69
69
|
e.parentNode && e.parentNode.removeChild(e);
|
|
70
70
|
}
|
|
71
71
|
function B(e) {
|
|
72
72
|
return document.createElement(e);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Ne(e) {
|
|
75
75
|
return document.createTextNode(e);
|
|
76
76
|
}
|
|
77
77
|
function ue() {
|
|
78
|
-
return
|
|
78
|
+
return Ne(" ");
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function br(e, t, r, n) {
|
|
81
81
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
82
82
|
}
|
|
83
83
|
function A(e, t, r) {
|
|
@@ -87,17 +87,17 @@ function he(e, t, r) {
|
|
|
87
87
|
const n = t.toLowerCase();
|
|
88
88
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function yr(e) {
|
|
91
91
|
return Array.from(e.childNodes);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function ot(e, t) {
|
|
94
94
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
95
95
|
t);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function st(e, t, r, n) {
|
|
98
98
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function gr(e) {
|
|
101
101
|
const t = {};
|
|
102
102
|
return e.childNodes.forEach(
|
|
103
103
|
/** @param {Element} node */
|
|
@@ -106,87 +106,87 @@ function yr(e) {
|
|
|
106
106
|
}
|
|
107
107
|
), t;
|
|
108
108
|
}
|
|
109
|
-
let
|
|
110
|
-
function
|
|
111
|
-
|
|
109
|
+
let ee;
|
|
110
|
+
function K(e) {
|
|
111
|
+
ee = e;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
if (!
|
|
113
|
+
function vr() {
|
|
114
|
+
if (!ee)
|
|
115
115
|
throw new Error("Function called outside component initialization");
|
|
116
|
-
return
|
|
116
|
+
return ee;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
|
|
118
|
+
function xr(e) {
|
|
119
|
+
vr().$$.on_mount.push(e);
|
|
120
120
|
}
|
|
121
121
|
const k = [], be = [];
|
|
122
122
|
let V = [];
|
|
123
|
-
const
|
|
124
|
-
let
|
|
123
|
+
const at = [], _r = /* @__PURE__ */ Promise.resolve();
|
|
124
|
+
let Me = !1;
|
|
125
125
|
function Er() {
|
|
126
|
-
|
|
126
|
+
Me || (Me = !0, _r.then(O));
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Re(e) {
|
|
129
129
|
V.push(e);
|
|
130
130
|
}
|
|
131
|
-
const
|
|
131
|
+
const He = /* @__PURE__ */ new Set();
|
|
132
132
|
let G = 0;
|
|
133
|
-
function
|
|
133
|
+
function O() {
|
|
134
134
|
if (G !== 0)
|
|
135
135
|
return;
|
|
136
|
-
const e =
|
|
136
|
+
const e = ee;
|
|
137
137
|
do {
|
|
138
138
|
try {
|
|
139
139
|
for (; G < k.length; ) {
|
|
140
140
|
const t = k[G];
|
|
141
|
-
G++,
|
|
141
|
+
G++, K(t), Sr(t.$$);
|
|
142
142
|
}
|
|
143
143
|
} catch (t) {
|
|
144
144
|
throw k.length = 0, G = 0, t;
|
|
145
145
|
}
|
|
146
|
-
for (
|
|
146
|
+
for (K(null), k.length = 0, G = 0; be.length; )
|
|
147
147
|
be.pop()();
|
|
148
148
|
for (let t = 0; t < V.length; t += 1) {
|
|
149
149
|
const r = V[t];
|
|
150
|
-
|
|
150
|
+
He.has(r) || (He.add(r), r());
|
|
151
151
|
}
|
|
152
152
|
V.length = 0;
|
|
153
153
|
} while (k.length);
|
|
154
|
-
for (;
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
for (; at.length; )
|
|
155
|
+
at.pop()();
|
|
156
|
+
Me = !1, He.clear(), K(e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Sr(e) {
|
|
159
159
|
if (e.fragment !== null) {
|
|
160
|
-
e.update(),
|
|
160
|
+
e.update(), ne(e.before_update);
|
|
161
161
|
const t = e.dirty;
|
|
162
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
162
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function wr(e) {
|
|
166
166
|
const t = [], r = [];
|
|
167
167
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
function
|
|
171
|
-
e && e.i && (
|
|
169
|
+
const Tr = /* @__PURE__ */ new Set();
|
|
170
|
+
function Hr(e, t) {
|
|
171
|
+
e && e.i && (Tr.delete(e), e.i(t));
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Br(e, t, r) {
|
|
174
174
|
const { fragment: n, after_update: i } = e.$$;
|
|
175
|
-
n && n.m(t, r),
|
|
176
|
-
const o = e.$$.on_mount.map(
|
|
177
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
178
|
-
}), i.forEach(
|
|
175
|
+
n && n.m(t, r), Re(() => {
|
|
176
|
+
const o = e.$$.on_mount.map(Ot).filter(Ye);
|
|
177
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
178
|
+
}), i.forEach(Re);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Ar(e, t) {
|
|
181
181
|
const r = e.$$;
|
|
182
|
-
r.fragment !== null && (
|
|
182
|
+
r.fragment !== null && (wr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Pr(e, t) {
|
|
185
185
|
e.$$.dirty[0] === -1 && (k.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
const h =
|
|
189
|
-
|
|
187
|
+
function Or(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
188
|
+
const h = ee;
|
|
189
|
+
K(e);
|
|
190
190
|
const u = e.$$ = {
|
|
191
191
|
fragment: null,
|
|
192
192
|
ctx: [],
|
|
@@ -194,7 +194,7 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
194
194
|
props: o,
|
|
195
195
|
update: N,
|
|
196
196
|
not_equal: i,
|
|
197
|
-
bound:
|
|
197
|
+
bound: nt(),
|
|
198
198
|
// lifecycle
|
|
199
199
|
on_mount: [],
|
|
200
200
|
on_destroy: [],
|
|
@@ -203,7 +203,7 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
203
203
|
after_update: [],
|
|
204
204
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
205
205
|
// everything else
|
|
206
|
-
callbacks:
|
|
206
|
+
callbacks: nt(),
|
|
207
207
|
dirty: s,
|
|
208
208
|
skip_bound: !1,
|
|
209
209
|
root: t.target || h.$$.root
|
|
@@ -212,19 +212,19 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
212
212
|
let l = !1;
|
|
213
213
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
214
214
|
const g = p.length ? p[0] : c;
|
|
215
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l &&
|
|
216
|
-
}) : [], u.update(), l = !0,
|
|
215
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Pr(e, f)), c;
|
|
216
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
217
217
|
if (t.hydrate) {
|
|
218
|
-
const f =
|
|
219
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
218
|
+
const f = yr(t.target);
|
|
219
|
+
u.fragment && u.fragment.l(f), f.forEach(Ke);
|
|
220
220
|
} else
|
|
221
221
|
u.fragment && u.fragment.c();
|
|
222
|
-
t.intro &&
|
|
222
|
+
t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), O();
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
K(h);
|
|
225
225
|
}
|
|
226
|
-
let
|
|
227
|
-
typeof HTMLElement == "function" && (
|
|
226
|
+
let Nt;
|
|
227
|
+
typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
228
228
|
/** The Svelte component constructor */
|
|
229
229
|
$$ctor;
|
|
230
230
|
/** Slots */
|
|
@@ -273,17 +273,17 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
273
273
|
* @param {HTMLElement} [anchor]
|
|
274
274
|
*/
|
|
275
275
|
m: function(h, u) {
|
|
276
|
-
|
|
276
|
+
Lt(h, o, u);
|
|
277
277
|
},
|
|
278
278
|
d: function(h) {
|
|
279
|
-
h &&
|
|
279
|
+
h && Ke(o);
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
283
|
};
|
|
284
284
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
285
285
|
return;
|
|
286
|
-
const t = {}, r =
|
|
286
|
+
const t = {}, r = gr(this);
|
|
287
287
|
for (const i of this.$$s)
|
|
288
288
|
i in r && (t[i] = [e(i)]);
|
|
289
289
|
for (const i of this.attributes) {
|
|
@@ -371,7 +371,7 @@ function fe(e, t, r, n) {
|
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
function Cr(e, t, r, n, i, o) {
|
|
374
|
-
let a = class extends
|
|
374
|
+
let a = class extends Nt {
|
|
375
375
|
constructor() {
|
|
376
376
|
super(e, r, i), this.$$p_d = t;
|
|
377
377
|
}
|
|
@@ -418,7 +418,7 @@ class Ir {
|
|
|
418
418
|
$$set = void 0;
|
|
419
419
|
/** @returns {void} */
|
|
420
420
|
$destroy() {
|
|
421
|
-
|
|
421
|
+
Ar(this, 1), this.$destroy = N;
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -427,7 +427,7 @@ class Ir {
|
|
|
427
427
|
* @returns {() => void}
|
|
428
428
|
*/
|
|
429
429
|
$on(t, r) {
|
|
430
|
-
if (!
|
|
430
|
+
if (!Ye(r))
|
|
431
431
|
return N;
|
|
432
432
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
433
433
|
return n.push(r), () => {
|
|
@@ -440,22 +440,22 @@ class Ir {
|
|
|
440
440
|
* @returns {void}
|
|
441
441
|
*/
|
|
442
442
|
$set(t) {
|
|
443
|
-
this.$$set && !
|
|
443
|
+
this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
const
|
|
447
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
446
|
+
const Lr = "4";
|
|
447
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
|
|
448
448
|
const j = [];
|
|
449
|
-
function
|
|
449
|
+
function Nr(e, t) {
|
|
450
450
|
return {
|
|
451
|
-
subscribe:
|
|
451
|
+
subscribe: xe(e, t).subscribe
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function xe(e, t = N) {
|
|
455
455
|
let r;
|
|
456
456
|
const n = /* @__PURE__ */ new Set();
|
|
457
457
|
function i(s) {
|
|
458
|
-
if (
|
|
458
|
+
if (Ct(e, s) && (e = s, r)) {
|
|
459
459
|
const h = !j.length;
|
|
460
460
|
for (const u of n)
|
|
461
461
|
u[1](), j.push(u, e);
|
|
@@ -477,12 +477,12 @@ function ve(e, t = N) {
|
|
|
477
477
|
}
|
|
478
478
|
return { set: i, update: o, subscribe: a };
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function Q(e, t, r) {
|
|
481
481
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
482
482
|
if (!i.every(Boolean))
|
|
483
483
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
484
484
|
const o = t.length < 2;
|
|
485
|
-
return
|
|
485
|
+
return Nr(r, (a, s) => {
|
|
486
486
|
let h = !1;
|
|
487
487
|
const u = [];
|
|
488
488
|
let l = 0, f = N;
|
|
@@ -491,12 +491,12 @@ function J(e, t, r) {
|
|
|
491
491
|
return;
|
|
492
492
|
f();
|
|
493
493
|
const g = t(n ? u[0] : u, a, s);
|
|
494
|
-
o ? a(g) : f =
|
|
494
|
+
o ? a(g) : f = Ye(g) ? g : N;
|
|
495
495
|
}, p = i.map(
|
|
496
|
-
(g, m) =>
|
|
496
|
+
(g, m) => It(
|
|
497
497
|
g,
|
|
498
|
-
(
|
|
499
|
-
u[m] =
|
|
498
|
+
(v) => {
|
|
499
|
+
u[m] = v, l &= ~(1 << m), h && c();
|
|
500
500
|
},
|
|
501
501
|
() => {
|
|
502
502
|
l |= 1 << m;
|
|
@@ -504,126 +504,112 @@ function J(e, t, r) {
|
|
|
504
504
|
)
|
|
505
505
|
);
|
|
506
506
|
return h = !0, c(), function() {
|
|
507
|
-
|
|
507
|
+
ne(p), f(), h = !1;
|
|
508
508
|
};
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function Mr(e) {
|
|
512
512
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
513
513
|
}
|
|
514
|
-
var
|
|
515
|
-
return
|
|
514
|
+
var Rr = function(t) {
|
|
515
|
+
return $r(t) && !Fr(t);
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function $r(e) {
|
|
518
518
|
return !!e && typeof e == "object";
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Fr(e) {
|
|
521
521
|
var t = Object.prototype.toString.call(e);
|
|
522
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
523
|
-
}
|
|
524
|
-
var Fr = typeof Symbol == "function" && Symbol.for, Ur = Fr ? Symbol.for("react.element") : 60103;
|
|
525
|
-
function Dr(e) {
|
|
526
|
-
return e.$$typeof === Ur;
|
|
522
|
+
return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
|
|
527
523
|
}
|
|
524
|
+
var Ur = typeof Symbol == "function" && Symbol.for, Dr = Ur ? Symbol.for("react.element") : 60103;
|
|
528
525
|
function Gr(e) {
|
|
526
|
+
return e.$$typeof === Dr;
|
|
527
|
+
}
|
|
528
|
+
function jr(e) {
|
|
529
529
|
return Array.isArray(e) ? [] : {};
|
|
530
530
|
}
|
|
531
|
-
function
|
|
532
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
531
|
+
function te(e, t) {
|
|
532
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(jr(e), e, t) : e;
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function kr(e, t, r) {
|
|
535
535
|
return e.concat(t).map(function(n) {
|
|
536
|
-
return
|
|
536
|
+
return te(n, r);
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function Vr(e, t) {
|
|
540
540
|
if (!t.customMerge)
|
|
541
|
-
return
|
|
541
|
+
return X;
|
|
542
542
|
var r = t.customMerge(e);
|
|
543
|
-
return typeof r == "function" ? r :
|
|
543
|
+
return typeof r == "function" ? r : X;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function Xr(e) {
|
|
546
546
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
547
547
|
return Object.propertyIsEnumerable.call(e, t);
|
|
548
548
|
}) : [];
|
|
549
549
|
}
|
|
550
|
-
function
|
|
551
|
-
return Object.keys(e).concat(
|
|
550
|
+
function ut(e) {
|
|
551
|
+
return Object.keys(e).concat(Xr(e));
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function Mt(e, t) {
|
|
554
554
|
try {
|
|
555
555
|
return t in e;
|
|
556
556
|
} catch {
|
|
557
557
|
return !1;
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
561
|
-
return
|
|
560
|
+
function zr(e, t) {
|
|
561
|
+
return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Wr(e, t, r) {
|
|
564
564
|
var n = {};
|
|
565
|
-
return r.isMergeableObject(e) &&
|
|
566
|
-
n[i] =
|
|
567
|
-
}),
|
|
568
|
-
|
|
565
|
+
return r.isMergeableObject(e) && ut(e).forEach(function(i) {
|
|
566
|
+
n[i] = te(e[i], r);
|
|
567
|
+
}), ut(t).forEach(function(i) {
|
|
568
|
+
zr(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
569
569
|
}), n;
|
|
570
570
|
}
|
|
571
|
-
function
|
|
572
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
571
|
+
function X(e, t, r) {
|
|
572
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = te;
|
|
573
573
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
574
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
574
|
+
return o ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : te(t, r);
|
|
575
575
|
}
|
|
576
|
-
|
|
576
|
+
X.all = function(t, r) {
|
|
577
577
|
if (!Array.isArray(t))
|
|
578
578
|
throw new Error("first argument should be an array");
|
|
579
579
|
return t.reduce(function(n, i) {
|
|
580
|
-
return
|
|
580
|
+
return X(n, i, r);
|
|
581
581
|
}, {});
|
|
582
582
|
};
|
|
583
|
-
var
|
|
584
|
-
const
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
589
|
-
purpose with or without fee is hereby granted.
|
|
590
|
-
|
|
591
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
592
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
593
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
594
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
595
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
596
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
597
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
598
|
-
***************************************************************************** */
|
|
599
|
-
var Me = function(e, t) {
|
|
600
|
-
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
583
|
+
var Zr = X, Qr = Zr;
|
|
584
|
+
const Jr = /* @__PURE__ */ Mr(Qr);
|
|
585
|
+
var $e = function(e, t) {
|
|
586
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
601
587
|
r.__proto__ = n;
|
|
602
588
|
} || function(r, n) {
|
|
603
589
|
for (var i in n)
|
|
604
590
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
605
|
-
},
|
|
591
|
+
}, $e(e, t);
|
|
606
592
|
};
|
|
607
|
-
function
|
|
593
|
+
function _e(e, t) {
|
|
608
594
|
if (typeof t != "function" && t !== null)
|
|
609
595
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
610
|
-
|
|
596
|
+
$e(e, t);
|
|
611
597
|
function r() {
|
|
612
598
|
this.constructor = e;
|
|
613
599
|
}
|
|
614
600
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
615
601
|
}
|
|
616
|
-
var
|
|
617
|
-
return
|
|
602
|
+
var M = function() {
|
|
603
|
+
return M = Object.assign || function(t) {
|
|
618
604
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
619
605
|
r = arguments[n];
|
|
620
606
|
for (var o in r)
|
|
621
607
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
622
608
|
}
|
|
623
609
|
return t;
|
|
624
|
-
},
|
|
610
|
+
}, M.apply(this, arguments);
|
|
625
611
|
};
|
|
626
|
-
function
|
|
612
|
+
function qr(e, t) {
|
|
627
613
|
var r = {};
|
|
628
614
|
for (var n in e)
|
|
629
615
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -632,143 +618,119 @@ function Jr(e, t) {
|
|
|
632
618
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
633
619
|
return r;
|
|
634
620
|
}
|
|
635
|
-
function
|
|
636
|
-
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
637
|
-
if (r)
|
|
638
|
-
return r.call(e);
|
|
639
|
-
if (e && typeof e.length == "number")
|
|
640
|
-
return {
|
|
641
|
-
next: function() {
|
|
642
|
-
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
646
|
-
}
|
|
647
|
-
function $e(e, t) {
|
|
648
|
-
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
649
|
-
if (!r)
|
|
650
|
-
return e;
|
|
651
|
-
var n = r.call(e), i, o = [], a;
|
|
652
|
-
try {
|
|
653
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
654
|
-
o.push(i.value);
|
|
655
|
-
} catch (s) {
|
|
656
|
-
a = { error: s };
|
|
657
|
-
} finally {
|
|
658
|
-
try {
|
|
659
|
-
i && !i.done && (r = n.return) && r.call(n);
|
|
660
|
-
} finally {
|
|
661
|
-
if (a)
|
|
662
|
-
throw a.error;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
return o;
|
|
666
|
-
}
|
|
667
|
-
function X(e, t, r) {
|
|
621
|
+
function Be(e, t, r) {
|
|
668
622
|
if (r || arguments.length === 2)
|
|
669
623
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
670
624
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
671
|
-
return e.concat(o || t);
|
|
625
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
672
626
|
}
|
|
673
|
-
function
|
|
674
|
-
var r = t && t.cache ? t.cache :
|
|
627
|
+
function Ae(e, t) {
|
|
628
|
+
var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
|
|
675
629
|
return i(e, {
|
|
676
630
|
cache: r,
|
|
677
631
|
serializer: n
|
|
678
632
|
});
|
|
679
633
|
}
|
|
680
|
-
function
|
|
634
|
+
function Yr(e) {
|
|
681
635
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
682
636
|
}
|
|
683
|
-
function
|
|
684
|
-
var i =
|
|
637
|
+
function Kr(e, t, r, n) {
|
|
638
|
+
var i = Yr(n) ? n : r(n), o = t.get(i);
|
|
685
639
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
686
640
|
}
|
|
687
|
-
function
|
|
641
|
+
function Rt(e, t, r) {
|
|
688
642
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
689
643
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
690
644
|
}
|
|
691
|
-
function
|
|
645
|
+
function $t(e, t, r, n, i) {
|
|
692
646
|
return r.bind(t, e, n, i);
|
|
693
647
|
}
|
|
694
|
-
function Yr(e, t) {
|
|
695
|
-
var r = e.length === 1 ? Nt : Mt;
|
|
696
|
-
return Je(e, this, r, t.cache.create(), t.serializer);
|
|
697
|
-
}
|
|
698
|
-
function Kr(e, t) {
|
|
699
|
-
return Je(e, this, Mt, t.cache.create(), t.serializer);
|
|
700
|
-
}
|
|
701
648
|
function en(e, t) {
|
|
702
|
-
|
|
649
|
+
var r = e.length === 1 ? Kr : Rt;
|
|
650
|
+
return $t(e, this, r, t.cache.create(), t.serializer);
|
|
703
651
|
}
|
|
704
|
-
|
|
705
|
-
return
|
|
706
|
-
};
|
|
707
|
-
function qe() {
|
|
708
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
652
|
+
function tn(e, t) {
|
|
653
|
+
return $t(e, this, Rt, t.cache.create(), t.serializer);
|
|
709
654
|
}
|
|
710
|
-
|
|
711
|
-
return
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
655
|
+
var rn = function() {
|
|
656
|
+
return JSON.stringify(arguments);
|
|
657
|
+
}, nn = (
|
|
658
|
+
/** @class */
|
|
659
|
+
function() {
|
|
660
|
+
function e() {
|
|
661
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
662
|
+
}
|
|
663
|
+
return e.prototype.get = function(t) {
|
|
664
|
+
return this.cache[t];
|
|
665
|
+
}, e.prototype.set = function(t, r) {
|
|
666
|
+
this.cache[t] = r;
|
|
667
|
+
}, e;
|
|
668
|
+
}()
|
|
669
|
+
), on = {
|
|
717
670
|
create: function() {
|
|
718
|
-
return new
|
|
671
|
+
return new nn();
|
|
719
672
|
}
|
|
720
|
-
},
|
|
721
|
-
variadic:
|
|
722
|
-
|
|
723
|
-
|
|
673
|
+
}, Pe = {
|
|
674
|
+
variadic: tn
|
|
675
|
+
}, ye = function() {
|
|
676
|
+
return ye = Object.assign || function(t) {
|
|
677
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
678
|
+
r = arguments[n];
|
|
679
|
+
for (var o in r)
|
|
680
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
681
|
+
}
|
|
682
|
+
return t;
|
|
683
|
+
}, ye.apply(this, arguments);
|
|
684
|
+
};
|
|
685
|
+
var b;
|
|
724
686
|
(function(e) {
|
|
725
687
|
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";
|
|
726
688
|
})(b || (b = {}));
|
|
727
|
-
var
|
|
689
|
+
var x;
|
|
728
690
|
(function(e) {
|
|
729
691
|
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";
|
|
730
|
-
})(
|
|
731
|
-
var
|
|
692
|
+
})(x || (x = {}));
|
|
693
|
+
var z;
|
|
732
694
|
(function(e) {
|
|
733
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
734
|
-
})(
|
|
735
|
-
function
|
|
736
|
-
return e.type ===
|
|
737
|
-
}
|
|
738
|
-
function nn(e) {
|
|
739
|
-
return e.type === E.argument;
|
|
740
|
-
}
|
|
741
|
-
function Rt(e) {
|
|
742
|
-
return e.type === E.number;
|
|
696
|
+
})(z || (z = {}));
|
|
697
|
+
function ht(e) {
|
|
698
|
+
return e.type === x.literal;
|
|
743
699
|
}
|
|
744
|
-
function
|
|
745
|
-
return e.type ===
|
|
700
|
+
function sn(e) {
|
|
701
|
+
return e.type === x.argument;
|
|
746
702
|
}
|
|
747
703
|
function Ft(e) {
|
|
748
|
-
return e.type ===
|
|
704
|
+
return e.type === x.number;
|
|
749
705
|
}
|
|
750
706
|
function Ut(e) {
|
|
751
|
-
return e.type ===
|
|
707
|
+
return e.type === x.date;
|
|
752
708
|
}
|
|
753
709
|
function Dt(e) {
|
|
754
|
-
return e.type ===
|
|
755
|
-
}
|
|
756
|
-
function on(e) {
|
|
757
|
-
return e.type === E.pound;
|
|
710
|
+
return e.type === x.time;
|
|
758
711
|
}
|
|
759
712
|
function Gt(e) {
|
|
760
|
-
return e.type ===
|
|
713
|
+
return e.type === x.select;
|
|
761
714
|
}
|
|
762
715
|
function jt(e) {
|
|
763
|
-
return
|
|
716
|
+
return e.type === x.plural;
|
|
717
|
+
}
|
|
718
|
+
function an(e) {
|
|
719
|
+
return e.type === x.pound;
|
|
720
|
+
}
|
|
721
|
+
function kt(e) {
|
|
722
|
+
return e.type === x.tag;
|
|
723
|
+
}
|
|
724
|
+
function Vt(e) {
|
|
725
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
764
726
|
}
|
|
765
727
|
function Fe(e) {
|
|
766
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
728
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
767
729
|
}
|
|
768
|
-
var
|
|
769
|
-
function
|
|
730
|
+
var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
|
|
731
|
+
function hn(e) {
|
|
770
732
|
var t = {};
|
|
771
|
-
return e.replace(
|
|
733
|
+
return e.replace(un, function(r) {
|
|
772
734
|
var n = r.length;
|
|
773
735
|
switch (r[0]) {
|
|
774
736
|
case "G":
|
|
@@ -857,11 +819,21 @@ function an(e) {
|
|
|
857
819
|
return "";
|
|
858
820
|
}), t;
|
|
859
821
|
}
|
|
860
|
-
var
|
|
861
|
-
function
|
|
822
|
+
var _ = function() {
|
|
823
|
+
return _ = Object.assign || function(t) {
|
|
824
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
825
|
+
r = arguments[n];
|
|
826
|
+
for (var o in r)
|
|
827
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
828
|
+
}
|
|
829
|
+
return t;
|
|
830
|
+
}, _.apply(this, arguments);
|
|
831
|
+
};
|
|
832
|
+
var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
833
|
+
function cn(e) {
|
|
862
834
|
if (e.length === 0)
|
|
863
835
|
throw new Error("Number skeleton cannot be empty");
|
|
864
|
-
for (var t = e.split(
|
|
836
|
+
for (var t = e.split(ln).filter(function(c) {
|
|
865
837
|
return c.length > 0;
|
|
866
838
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
867
839
|
var o = i[n], a = o.split("/");
|
|
@@ -876,17 +848,17 @@ function hn(e) {
|
|
|
876
848
|
}
|
|
877
849
|
return r;
|
|
878
850
|
}
|
|
879
|
-
function
|
|
851
|
+
function fn(e) {
|
|
880
852
|
return e.replace(/^(.*?)-/, "");
|
|
881
853
|
}
|
|
882
|
-
var
|
|
883
|
-
function
|
|
854
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
|
|
855
|
+
function ct(e) {
|
|
884
856
|
var t = {};
|
|
885
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
857
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
|
|
886
858
|
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)), "";
|
|
887
859
|
}), t;
|
|
888
860
|
}
|
|
889
|
-
function
|
|
861
|
+
function Zt(e) {
|
|
890
862
|
switch (e) {
|
|
891
863
|
case "sign-auto":
|
|
892
864
|
return {
|
|
@@ -926,7 +898,7 @@ function zt(e) {
|
|
|
926
898
|
};
|
|
927
899
|
}
|
|
928
900
|
}
|
|
929
|
-
function
|
|
901
|
+
function pn(e) {
|
|
930
902
|
var t;
|
|
931
903
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
932
904
|
notation: "engineering"
|
|
@@ -934,17 +906,17 @@ function fn(e) {
|
|
|
934
906
|
notation: "scientific"
|
|
935
907
|
}, e = e.slice(1)), t) {
|
|
936
908
|
var r = e.slice(0, 2);
|
|
937
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
909
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
|
|
938
910
|
throw new Error("Malformed concise eng/scientific notation");
|
|
939
911
|
t.minimumIntegerDigits = e.length;
|
|
940
912
|
}
|
|
941
913
|
return t;
|
|
942
914
|
}
|
|
943
|
-
function
|
|
944
|
-
var t = {}, r =
|
|
915
|
+
function ft(e) {
|
|
916
|
+
var t = {}, r = Zt(e);
|
|
945
917
|
return r || t;
|
|
946
918
|
}
|
|
947
|
-
function
|
|
919
|
+
function mn(e) {
|
|
948
920
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
949
921
|
var i = n[r];
|
|
950
922
|
switch (i.stem) {
|
|
@@ -968,7 +940,7 @@ function dn(e) {
|
|
|
968
940
|
continue;
|
|
969
941
|
case "measure-unit":
|
|
970
942
|
case "unit":
|
|
971
|
-
t.style = "unit", t.unit =
|
|
943
|
+
t.style = "unit", t.unit = fn(i.options[0]);
|
|
972
944
|
continue;
|
|
973
945
|
case "compact-short":
|
|
974
946
|
case "K":
|
|
@@ -979,13 +951,13 @@ function dn(e) {
|
|
|
979
951
|
t.notation = "compact", t.compactDisplay = "long";
|
|
980
952
|
continue;
|
|
981
953
|
case "scientific":
|
|
982
|
-
t =
|
|
983
|
-
return
|
|
954
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
955
|
+
return _(_({}, h), ft(u));
|
|
984
956
|
}, {}));
|
|
985
957
|
continue;
|
|
986
958
|
case "engineering":
|
|
987
|
-
t =
|
|
988
|
-
return
|
|
959
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
960
|
+
return _(_({}, h), ft(u));
|
|
989
961
|
}, {}));
|
|
990
962
|
continue;
|
|
991
963
|
case "notation-simple":
|
|
@@ -1030,7 +1002,7 @@ function dn(e) {
|
|
|
1030
1002
|
case "integer-width":
|
|
1031
1003
|
if (i.options.length > 1)
|
|
1032
1004
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1033
|
-
i.options[0].replace(
|
|
1005
|
+
i.options[0].replace(dn, function(h, u, l, f, c, p) {
|
|
1034
1006
|
if (u)
|
|
1035
1007
|
t.minimumIntegerDigits = l.length;
|
|
1036
1008
|
else {
|
|
@@ -1043,28 +1015,28 @@ function dn(e) {
|
|
|
1043
1015
|
});
|
|
1044
1016
|
continue;
|
|
1045
1017
|
}
|
|
1046
|
-
if (
|
|
1018
|
+
if (Wt.test(i.stem)) {
|
|
1047
1019
|
t.minimumIntegerDigits = i.stem.length;
|
|
1048
1020
|
continue;
|
|
1049
1021
|
}
|
|
1050
|
-
if (
|
|
1022
|
+
if (lt.test(i.stem)) {
|
|
1051
1023
|
if (i.options.length > 1)
|
|
1052
1024
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1053
|
-
i.stem.replace(
|
|
1025
|
+
i.stem.replace(lt, function(h, u, l, f, c, p) {
|
|
1054
1026
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1055
1027
|
});
|
|
1056
1028
|
var o = i.options[0];
|
|
1057
|
-
o === "w" ? t =
|
|
1029
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ct(o)));
|
|
1058
1030
|
continue;
|
|
1059
1031
|
}
|
|
1060
|
-
if (
|
|
1061
|
-
t =
|
|
1032
|
+
if (zt.test(i.stem)) {
|
|
1033
|
+
t = _(_({}, t), ct(i.stem));
|
|
1062
1034
|
continue;
|
|
1063
1035
|
}
|
|
1064
|
-
var a =
|
|
1065
|
-
a && (t =
|
|
1066
|
-
var s =
|
|
1067
|
-
s && (t =
|
|
1036
|
+
var a = Zt(i.stem);
|
|
1037
|
+
a && (t = _(_({}, t), a));
|
|
1038
|
+
var s = pn(i.stem);
|
|
1039
|
+
s && (t = _(_({}, t), s));
|
|
1068
1040
|
}
|
|
1069
1041
|
return t;
|
|
1070
1042
|
}
|
|
@@ -2483,13 +2455,13 @@ var le = {
|
|
|
2483
2455
|
"h"
|
|
2484
2456
|
]
|
|
2485
2457
|
};
|
|
2486
|
-
function
|
|
2458
|
+
function bn(e, t) {
|
|
2487
2459
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2488
2460
|
var i = e.charAt(n);
|
|
2489
2461
|
if (i === "j") {
|
|
2490
2462
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2491
2463
|
o++, n++;
|
|
2492
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2464
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = yn(t);
|
|
2493
2465
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2494
2466
|
r += h;
|
|
2495
2467
|
for (; a-- > 0; )
|
|
@@ -2499,7 +2471,7 @@ function pn(e, t) {
|
|
|
2499
2471
|
}
|
|
2500
2472
|
return r;
|
|
2501
2473
|
}
|
|
2502
|
-
function
|
|
2474
|
+
function yn(e) {
|
|
2503
2475
|
var t = e.hourCycle;
|
|
2504
2476
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2505
2477
|
e.hourCycles && // @ts-ignore
|
|
@@ -2521,20 +2493,20 @@ function mn(e) {
|
|
|
2521
2493
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2522
2494
|
return i[0];
|
|
2523
2495
|
}
|
|
2524
|
-
var
|
|
2496
|
+
var Oe, gn = new RegExp("^".concat(Xt.source, "*")), vn = new RegExp("".concat(Xt.source, "*$"));
|
|
2525
2497
|
function y(e, t) {
|
|
2526
2498
|
return { start: e, end: t };
|
|
2527
2499
|
}
|
|
2528
|
-
var
|
|
2500
|
+
var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Bn = Hn ? Number.isSafeInteger : function(e) {
|
|
2529
2501
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2530
2502
|
}, Ue = !0;
|
|
2531
2503
|
try {
|
|
2532
|
-
var
|
|
2533
|
-
Ue = ((
|
|
2504
|
+
var An = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2505
|
+
Ue = ((Oe = An.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2534
2506
|
} catch {
|
|
2535
2507
|
Ue = !1;
|
|
2536
2508
|
}
|
|
2537
|
-
var
|
|
2509
|
+
var dt = xn ? (
|
|
2538
2510
|
// Native
|
|
2539
2511
|
function(t, r, n) {
|
|
2540
2512
|
return t.startsWith(r, n);
|
|
@@ -2544,7 +2516,7 @@ var ct = gn ? (
|
|
|
2544
2516
|
function(t, r, n) {
|
|
2545
2517
|
return t.slice(n, n + r.length) === r;
|
|
2546
2518
|
}
|
|
2547
|
-
), De =
|
|
2519
|
+
), De = _n ? String.fromCodePoint : (
|
|
2548
2520
|
// IE11
|
|
2549
2521
|
function() {
|
|
2550
2522
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2556,9 +2528,9 @@ var ct = gn ? (
|
|
|
2556
2528
|
}
|
|
2557
2529
|
return n;
|
|
2558
2530
|
}
|
|
2559
|
-
),
|
|
2531
|
+
), pt = (
|
|
2560
2532
|
// native
|
|
2561
|
-
|
|
2533
|
+
En ? Object.fromEntries : (
|
|
2562
2534
|
// Ponyfill
|
|
2563
2535
|
function(t) {
|
|
2564
2536
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2568,7 +2540,7 @@ var ct = gn ? (
|
|
|
2568
2540
|
return r;
|
|
2569
2541
|
}
|
|
2570
2542
|
)
|
|
2571
|
-
),
|
|
2543
|
+
), Qt = Sn ? (
|
|
2572
2544
|
// Native
|
|
2573
2545
|
function(t, r) {
|
|
2574
2546
|
return t.codePointAt(r);
|
|
@@ -2582,7 +2554,7 @@ var ct = gn ? (
|
|
|
2582
2554
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2583
2555
|
}
|
|
2584
2556
|
}
|
|
2585
|
-
),
|
|
2557
|
+
), Pn = wn ? (
|
|
2586
2558
|
// Native
|
|
2587
2559
|
function(t) {
|
|
2588
2560
|
return t.trimStart();
|
|
@@ -2590,9 +2562,9 @@ var ct = gn ? (
|
|
|
2590
2562
|
) : (
|
|
2591
2563
|
// Ponyfill
|
|
2592
2564
|
function(t) {
|
|
2593
|
-
return t.replace(
|
|
2565
|
+
return t.replace(gn, "");
|
|
2594
2566
|
}
|
|
2595
|
-
),
|
|
2567
|
+
), On = Tn ? (
|
|
2596
2568
|
// Native
|
|
2597
2569
|
function(t) {
|
|
2598
2570
|
return t.trimEnd();
|
|
@@ -2600,32 +2572,32 @@ var ct = gn ? (
|
|
|
2600
2572
|
) : (
|
|
2601
2573
|
// Ponyfill
|
|
2602
2574
|
function(t) {
|
|
2603
|
-
return t.replace(
|
|
2575
|
+
return t.replace(vn, "");
|
|
2604
2576
|
}
|
|
2605
2577
|
);
|
|
2606
|
-
function
|
|
2578
|
+
function Jt(e, t) {
|
|
2607
2579
|
return new RegExp(e, t);
|
|
2608
2580
|
}
|
|
2609
2581
|
var Ge;
|
|
2610
2582
|
if (Ue) {
|
|
2611
|
-
var
|
|
2583
|
+
var mt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2612
2584
|
Ge = function(t, r) {
|
|
2613
2585
|
var n;
|
|
2614
|
-
|
|
2615
|
-
var i =
|
|
2586
|
+
mt.lastIndex = r;
|
|
2587
|
+
var i = mt.exec(t);
|
|
2616
2588
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2617
2589
|
};
|
|
2618
2590
|
} else
|
|
2619
2591
|
Ge = function(t, r) {
|
|
2620
2592
|
for (var n = []; ; ) {
|
|
2621
|
-
var i =
|
|
2622
|
-
if (i === void 0 ||
|
|
2593
|
+
var i = Qt(t, r);
|
|
2594
|
+
if (i === void 0 || qt(i) || Nn(i))
|
|
2623
2595
|
break;
|
|
2624
2596
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2625
2597
|
}
|
|
2626
2598
|
return De.apply(void 0, n);
|
|
2627
2599
|
};
|
|
2628
|
-
var
|
|
2600
|
+
var Cn = (
|
|
2629
2601
|
/** @class */
|
|
2630
2602
|
function() {
|
|
2631
2603
|
function e(t, r) {
|
|
@@ -2649,7 +2621,7 @@ var Pn = (
|
|
|
2649
2621
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2650
2622
|
var s = this.clonePosition();
|
|
2651
2623
|
this.bump(), i.push({
|
|
2652
|
-
type:
|
|
2624
|
+
type: x.pound,
|
|
2653
2625
|
location: y(s, this.clonePosition())
|
|
2654
2626
|
});
|
|
2655
2627
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2677,7 +2649,7 @@ var Pn = (
|
|
|
2677
2649
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2678
2650
|
return {
|
|
2679
2651
|
val: {
|
|
2680
|
-
type:
|
|
2652
|
+
type: x.literal,
|
|
2681
2653
|
value: "<".concat(i, "/>"),
|
|
2682
2654
|
location: y(n, this.clonePosition())
|
|
2683
2655
|
},
|
|
@@ -2694,7 +2666,7 @@ var Pn = (
|
|
|
2694
2666
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2695
2667
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2696
2668
|
val: {
|
|
2697
|
-
type:
|
|
2669
|
+
type: x.tag,
|
|
2698
2670
|
value: i,
|
|
2699
2671
|
children: a,
|
|
2700
2672
|
location: y(n, this.clonePosition())
|
|
@@ -2707,7 +2679,7 @@ var Pn = (
|
|
|
2707
2679
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
2708
2680
|
}, e.prototype.parseTagName = function() {
|
|
2709
2681
|
var t = this.offset();
|
|
2710
|
-
for (this.bump(); !this.isEOF() &&
|
|
2682
|
+
for (this.bump(); !this.isEOF() && Ln(this.char()); )
|
|
2711
2683
|
this.bump();
|
|
2712
2684
|
return this.message.slice(t, this.offset());
|
|
2713
2685
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2731,12 +2703,12 @@ var Pn = (
|
|
|
2731
2703
|
}
|
|
2732
2704
|
var h = y(n, this.clonePosition());
|
|
2733
2705
|
return {
|
|
2734
|
-
val: { type:
|
|
2706
|
+
val: { type: x.literal, value: i, location: h },
|
|
2735
2707
|
err: null
|
|
2736
2708
|
};
|
|
2737
2709
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2738
2710
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2739
|
-
!
|
|
2711
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2740
2712
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2741
2713
|
if (this.isEOF() || this.char() !== 39)
|
|
2742
2714
|
return null;
|
|
@@ -2791,7 +2763,7 @@ var Pn = (
|
|
|
2791
2763
|
case 125:
|
|
2792
2764
|
return this.bump(), {
|
|
2793
2765
|
val: {
|
|
2794
|
-
type:
|
|
2766
|
+
type: x.argument,
|
|
2795
2767
|
// value does not include the opening and closing braces.
|
|
2796
2768
|
value: i,
|
|
2797
2769
|
location: y(n, this.clonePosition())
|
|
@@ -2823,7 +2795,7 @@ var Pn = (
|
|
|
2823
2795
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2824
2796
|
if (f.err)
|
|
2825
2797
|
return f;
|
|
2826
|
-
var c =
|
|
2798
|
+
var c = On(f.val);
|
|
2827
2799
|
if (c.length === 0)
|
|
2828
2800
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
2829
2801
|
var p = y(l, this.clonePosition());
|
|
@@ -2833,25 +2805,25 @@ var Pn = (
|
|
|
2833
2805
|
if (g.err)
|
|
2834
2806
|
return g;
|
|
2835
2807
|
var m = y(i, this.clonePosition());
|
|
2836
|
-
if (u &&
|
|
2837
|
-
var
|
|
2808
|
+
if (u && dt(u?.style, "::", 0)) {
|
|
2809
|
+
var v = Pn(u.style.slice(2));
|
|
2838
2810
|
if (s === "number") {
|
|
2839
|
-
var f = this.parseNumberSkeletonFromString(
|
|
2811
|
+
var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2840
2812
|
return f.err ? f : {
|
|
2841
|
-
val: { type:
|
|
2813
|
+
val: { type: x.number, value: n, location: m, style: f.val },
|
|
2842
2814
|
err: null
|
|
2843
2815
|
};
|
|
2844
2816
|
} else {
|
|
2845
|
-
if (
|
|
2817
|
+
if (v.length === 0)
|
|
2846
2818
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
2847
|
-
var
|
|
2848
|
-
this.locale && (
|
|
2819
|
+
var I = v;
|
|
2820
|
+
this.locale && (I = bn(v, this.locale));
|
|
2849
2821
|
var c = {
|
|
2850
|
-
type:
|
|
2851
|
-
pattern:
|
|
2822
|
+
type: z.dateTime,
|
|
2823
|
+
pattern: I,
|
|
2852
2824
|
location: u.styleLocation,
|
|
2853
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2854
|
-
}, P = s === "date" ?
|
|
2825
|
+
parsedOptions: this.shouldParseSkeletons ? hn(I) : {}
|
|
2826
|
+
}, P = s === "date" ? x.date : x.time;
|
|
2855
2827
|
return {
|
|
2856
2828
|
val: { type: P, value: n, location: m, style: c },
|
|
2857
2829
|
err: null
|
|
@@ -2860,7 +2832,7 @@ var Pn = (
|
|
|
2860
2832
|
}
|
|
2861
2833
|
return {
|
|
2862
2834
|
val: {
|
|
2863
|
-
type: s === "number" ?
|
|
2835
|
+
type: s === "number" ? x.number : s === "date" ? x.date : x.time,
|
|
2864
2836
|
value: n,
|
|
2865
2837
|
location: m,
|
|
2866
2838
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -2871,9 +2843,9 @@ var Pn = (
|
|
|
2871
2843
|
case "plural":
|
|
2872
2844
|
case "selectordinal":
|
|
2873
2845
|
case "select": {
|
|
2874
|
-
var
|
|
2846
|
+
var E = this.clonePosition();
|
|
2875
2847
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2876
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
|
2848
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(E, ye({}, E)));
|
|
2877
2849
|
this.bumpSpace();
|
|
2878
2850
|
var L = this.parseIdentifierIfPossible(), T = 0;
|
|
2879
2851
|
if (s !== "select" && L.value === "offset") {
|
|
@@ -2885,26 +2857,26 @@ var Pn = (
|
|
|
2885
2857
|
return f;
|
|
2886
2858
|
this.bumpSpace(), L = this.parseIdentifierIfPossible(), T = f.val;
|
|
2887
2859
|
}
|
|
2888
|
-
var
|
|
2889
|
-
if (
|
|
2890
|
-
return
|
|
2860
|
+
var C = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
2861
|
+
if (C.err)
|
|
2862
|
+
return C;
|
|
2891
2863
|
var g = this.tryParseArgumentClose(i);
|
|
2892
2864
|
if (g.err)
|
|
2893
2865
|
return g;
|
|
2894
2866
|
var $ = y(i, this.clonePosition());
|
|
2895
2867
|
return s === "select" ? {
|
|
2896
2868
|
val: {
|
|
2897
|
-
type:
|
|
2869
|
+
type: x.select,
|
|
2898
2870
|
value: n,
|
|
2899
|
-
options:
|
|
2871
|
+
options: pt(C.val),
|
|
2900
2872
|
location: $
|
|
2901
2873
|
},
|
|
2902
2874
|
err: null
|
|
2903
2875
|
} : {
|
|
2904
2876
|
val: {
|
|
2905
|
-
type:
|
|
2877
|
+
type: x.plural,
|
|
2906
2878
|
value: n,
|
|
2907
|
-
options:
|
|
2879
|
+
options: pt(C.val),
|
|
2908
2880
|
offset: T,
|
|
2909
2881
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2910
2882
|
location: $
|
|
@@ -2955,16 +2927,16 @@ var Pn = (
|
|
|
2955
2927
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2956
2928
|
var n = [];
|
|
2957
2929
|
try {
|
|
2958
|
-
n =
|
|
2930
|
+
n = cn(t);
|
|
2959
2931
|
} catch {
|
|
2960
2932
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
2961
2933
|
}
|
|
2962
2934
|
return {
|
|
2963
2935
|
val: {
|
|
2964
|
-
type:
|
|
2936
|
+
type: z.number,
|
|
2965
2937
|
tokens: n,
|
|
2966
2938
|
location: r,
|
|
2967
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2939
|
+
parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
|
|
2968
2940
|
},
|
|
2969
2941
|
err: null
|
|
2970
2942
|
};
|
|
@@ -3012,7 +2984,7 @@ var Pn = (
|
|
|
3012
2984
|
break;
|
|
3013
2985
|
}
|
|
3014
2986
|
var h = y(i, this.clonePosition());
|
|
3015
|
-
return o ? (a *= n,
|
|
2987
|
+
return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3016
2988
|
}, e.prototype.offset = function() {
|
|
3017
2989
|
return this.position.offset;
|
|
3018
2990
|
}, e.prototype.isEOF = function() {
|
|
@@ -3027,7 +2999,7 @@ var Pn = (
|
|
|
3027
2999
|
var t = this.position.offset;
|
|
3028
3000
|
if (t >= this.message.length)
|
|
3029
3001
|
throw Error("out of bound");
|
|
3030
|
-
var r =
|
|
3002
|
+
var r = Qt(this.message, t);
|
|
3031
3003
|
if (r === void 0)
|
|
3032
3004
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3033
3005
|
return r;
|
|
@@ -3046,7 +3018,7 @@ var Pn = (
|
|
|
3046
3018
|
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);
|
|
3047
3019
|
}
|
|
3048
3020
|
}, e.prototype.bumpIf = function(t) {
|
|
3049
|
-
if (
|
|
3021
|
+
if (dt(this.message, t, this.offset())) {
|
|
3050
3022
|
for (var r = 0; r < t.length; r++)
|
|
3051
3023
|
this.bump();
|
|
3052
3024
|
return !0;
|
|
@@ -3068,7 +3040,7 @@ var Pn = (
|
|
|
3068
3040
|
break;
|
|
3069
3041
|
}
|
|
3070
3042
|
}, e.prototype.bumpSpace = function() {
|
|
3071
|
-
for (; !this.isEOF() &&
|
|
3043
|
+
for (; !this.isEOF() && qt(this.char()); )
|
|
3072
3044
|
this.bump();
|
|
3073
3045
|
}, e.prototype.peek = function() {
|
|
3074
3046
|
if (this.isEOF())
|
|
@@ -3081,44 +3053,44 @@ var Pn = (
|
|
|
3081
3053
|
function je(e) {
|
|
3082
3054
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3083
3055
|
}
|
|
3084
|
-
function
|
|
3056
|
+
function In(e) {
|
|
3085
3057
|
return je(e) || e === 47;
|
|
3086
3058
|
}
|
|
3087
|
-
function
|
|
3059
|
+
function Ln(e) {
|
|
3088
3060
|
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;
|
|
3089
3061
|
}
|
|
3090
|
-
function
|
|
3062
|
+
function qt(e) {
|
|
3091
3063
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3092
3064
|
}
|
|
3093
|
-
function
|
|
3065
|
+
function Nn(e) {
|
|
3094
3066
|
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;
|
|
3095
3067
|
}
|
|
3096
3068
|
function ke(e) {
|
|
3097
3069
|
e.forEach(function(t) {
|
|
3098
|
-
if (delete t.location,
|
|
3070
|
+
if (delete t.location, Gt(t) || jt(t))
|
|
3099
3071
|
for (var r in t.options)
|
|
3100
3072
|
delete t.options[r].location, ke(t.options[r].value);
|
|
3101
3073
|
else
|
|
3102
|
-
|
|
3074
|
+
Ft(t) && Vt(t.style) || (Ut(t) || Dt(t)) && Fe(t.style) ? delete t.style.location : kt(t) && ke(t.children);
|
|
3103
3075
|
});
|
|
3104
3076
|
}
|
|
3105
|
-
function
|
|
3106
|
-
t === void 0 && (t = {}), t =
|
|
3107
|
-
var r = new
|
|
3077
|
+
function Mn(e, t) {
|
|
3078
|
+
t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3079
|
+
var r = new Cn(e, t).parse();
|
|
3108
3080
|
if (r.err) {
|
|
3109
3081
|
var n = SyntaxError(b[r.err.kind]);
|
|
3110
3082
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3111
3083
|
}
|
|
3112
3084
|
return t?.captureLocation || ke(r.val), r.val;
|
|
3113
3085
|
}
|
|
3114
|
-
var
|
|
3086
|
+
var W;
|
|
3115
3087
|
(function(e) {
|
|
3116
3088
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3117
|
-
})(
|
|
3118
|
-
var
|
|
3089
|
+
})(W || (W = {}));
|
|
3090
|
+
var Ee = (
|
|
3119
3091
|
/** @class */
|
|
3120
3092
|
function(e) {
|
|
3121
|
-
|
|
3093
|
+
_e(t, e);
|
|
3122
3094
|
function t(r, n, i) {
|
|
3123
3095
|
var o = e.call(this, r) || this;
|
|
3124
3096
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3127,48 +3099,48 @@ var xe = (
|
|
|
3127
3099
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3128
3100
|
}, t;
|
|
3129
3101
|
}(Error)
|
|
3130
|
-
),
|
|
3102
|
+
), bt = (
|
|
3131
3103
|
/** @class */
|
|
3132
3104
|
function(e) {
|
|
3133
|
-
|
|
3105
|
+
_e(t, e);
|
|
3134
3106
|
function t(r, n, i, o) {
|
|
3135
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3107
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3136
3108
|
}
|
|
3137
3109
|
return t;
|
|
3138
|
-
}(
|
|
3139
|
-
),
|
|
3110
|
+
}(Ee)
|
|
3111
|
+
), Rn = (
|
|
3140
3112
|
/** @class */
|
|
3141
3113
|
function(e) {
|
|
3142
|
-
|
|
3114
|
+
_e(t, e);
|
|
3143
3115
|
function t(r, n, i) {
|
|
3144
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3116
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3145
3117
|
}
|
|
3146
3118
|
return t;
|
|
3147
|
-
}(
|
|
3148
|
-
),
|
|
3119
|
+
}(Ee)
|
|
3120
|
+
), $n = (
|
|
3149
3121
|
/** @class */
|
|
3150
3122
|
function(e) {
|
|
3151
|
-
|
|
3123
|
+
_e(t, e);
|
|
3152
3124
|
function t(r, n) {
|
|
3153
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3125
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3154
3126
|
}
|
|
3155
3127
|
return t;
|
|
3156
|
-
}(
|
|
3128
|
+
}(Ee)
|
|
3157
3129
|
), w;
|
|
3158
3130
|
(function(e) {
|
|
3159
3131
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3160
3132
|
})(w || (w = {}));
|
|
3161
|
-
function
|
|
3133
|
+
function Fn(e) {
|
|
3162
3134
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3163
3135
|
var n = t[t.length - 1];
|
|
3164
3136
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3165
3137
|
}, []);
|
|
3166
3138
|
}
|
|
3167
|
-
function
|
|
3139
|
+
function Un(e) {
|
|
3168
3140
|
return typeof e == "function";
|
|
3169
3141
|
}
|
|
3170
3142
|
function de(e, t, r, n, i, o, a) {
|
|
3171
|
-
if (e.length === 1 &&
|
|
3143
|
+
if (e.length === 1 && ht(e[0]))
|
|
3172
3144
|
return [
|
|
3173
3145
|
{
|
|
3174
3146
|
type: w.literal,
|
|
@@ -3177,14 +3149,14 @@ function de(e, t, r, n, i, o, a) {
|
|
|
3177
3149
|
];
|
|
3178
3150
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3179
3151
|
var l = u[h];
|
|
3180
|
-
if (
|
|
3152
|
+
if (ht(l)) {
|
|
3181
3153
|
s.push({
|
|
3182
3154
|
type: w.literal,
|
|
3183
3155
|
value: l.value
|
|
3184
3156
|
});
|
|
3185
3157
|
continue;
|
|
3186
3158
|
}
|
|
3187
|
-
if (
|
|
3159
|
+
if (an(l)) {
|
|
3188
3160
|
typeof o == "number" && s.push({
|
|
3189
3161
|
type: w.literal,
|
|
3190
3162
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3193,16 +3165,16 @@ function de(e, t, r, n, i, o, a) {
|
|
|
3193
3165
|
}
|
|
3194
3166
|
var f = l.value;
|
|
3195
3167
|
if (!(i && f in i))
|
|
3196
|
-
throw new
|
|
3168
|
+
throw new $n(f, a);
|
|
3197
3169
|
var c = i[f];
|
|
3198
|
-
if (
|
|
3170
|
+
if (sn(l)) {
|
|
3199
3171
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3200
3172
|
type: typeof c == "string" ? w.literal : w.object,
|
|
3201
3173
|
value: c
|
|
3202
3174
|
});
|
|
3203
3175
|
continue;
|
|
3204
3176
|
}
|
|
3205
|
-
if (
|
|
3177
|
+
if (Ut(l)) {
|
|
3206
3178
|
var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3207
3179
|
s.push({
|
|
3208
3180
|
type: w.literal,
|
|
@@ -3210,7 +3182,7 @@ function de(e, t, r, n, i, o, a) {
|
|
|
3210
3182
|
});
|
|
3211
3183
|
continue;
|
|
3212
3184
|
}
|
|
3213
|
-
if (
|
|
3185
|
+
if (Dt(l)) {
|
|
3214
3186
|
var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3215
3187
|
s.push({
|
|
3216
3188
|
type: w.literal,
|
|
@@ -3218,19 +3190,19 @@ function de(e, t, r, n, i, o, a) {
|
|
|
3218
3190
|
});
|
|
3219
3191
|
continue;
|
|
3220
3192
|
}
|
|
3221
|
-
if (
|
|
3222
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3193
|
+
if (Ft(l)) {
|
|
3194
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
|
|
3223
3195
|
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3224
3196
|
type: w.literal,
|
|
3225
3197
|
value: r.getNumberFormat(t, p).format(c)
|
|
3226
3198
|
});
|
|
3227
3199
|
continue;
|
|
3228
3200
|
}
|
|
3229
|
-
if (
|
|
3230
|
-
var g = l.children, m = l.value,
|
|
3231
|
-
if (
|
|
3232
|
-
throw new
|
|
3233
|
-
var
|
|
3201
|
+
if (kt(l)) {
|
|
3202
|
+
var g = l.children, m = l.value, v = i[m];
|
|
3203
|
+
if (!Un(v))
|
|
3204
|
+
throw new Rn(m, "function", a);
|
|
3205
|
+
var I = de(g, t, r, n, i, o), P = v(I.map(function(T) {
|
|
3234
3206
|
return T.value;
|
|
3235
3207
|
}));
|
|
3236
3208
|
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(T) {
|
|
@@ -3240,42 +3212,42 @@ function de(e, t, r, n, i, o, a) {
|
|
|
3240
3212
|
};
|
|
3241
3213
|
}));
|
|
3242
3214
|
}
|
|
3243
|
-
if (
|
|
3244
|
-
var
|
|
3245
|
-
if (!
|
|
3246
|
-
throw new
|
|
3247
|
-
s.push.apply(s, de(
|
|
3215
|
+
if (Gt(l)) {
|
|
3216
|
+
var E = l.options[c] || l.options.other;
|
|
3217
|
+
if (!E)
|
|
3218
|
+
throw new bt(l.value, c, Object.keys(l.options), a);
|
|
3219
|
+
s.push.apply(s, de(E.value, t, r, n, i));
|
|
3248
3220
|
continue;
|
|
3249
3221
|
}
|
|
3250
|
-
if (
|
|
3251
|
-
var
|
|
3252
|
-
if (!
|
|
3222
|
+
if (jt(l)) {
|
|
3223
|
+
var E = l.options["=".concat(c)];
|
|
3224
|
+
if (!E) {
|
|
3253
3225
|
if (!Intl.PluralRules)
|
|
3254
|
-
throw new
|
|
3226
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3255
3227
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3256
|
-
`,
|
|
3228
|
+
`, W.MISSING_INTL_API, a);
|
|
3257
3229
|
var L = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3258
|
-
|
|
3230
|
+
E = l.options[L] || l.options.other;
|
|
3259
3231
|
}
|
|
3260
|
-
if (!
|
|
3261
|
-
throw new
|
|
3262
|
-
s.push.apply(s, de(
|
|
3232
|
+
if (!E)
|
|
3233
|
+
throw new bt(l.value, c, Object.keys(l.options), a);
|
|
3234
|
+
s.push.apply(s, de(E.value, t, r, n, i, c - (l.offset || 0)));
|
|
3263
3235
|
continue;
|
|
3264
3236
|
}
|
|
3265
3237
|
}
|
|
3266
|
-
return
|
|
3238
|
+
return Fn(s);
|
|
3267
3239
|
}
|
|
3268
|
-
function
|
|
3269
|
-
return t ?
|
|
3270
|
-
return r[n] =
|
|
3240
|
+
function Dn(e, t) {
|
|
3241
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3242
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
3271
3243
|
}, {})) : e;
|
|
3272
3244
|
}
|
|
3273
|
-
function
|
|
3245
|
+
function Gn(e, t) {
|
|
3274
3246
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3275
|
-
return r[n] =
|
|
3276
|
-
},
|
|
3247
|
+
return r[n] = Dn(e[n], t[n]), r;
|
|
3248
|
+
}, M({}, e)) : e;
|
|
3277
3249
|
}
|
|
3278
|
-
function
|
|
3250
|
+
function Ce(e) {
|
|
3279
3251
|
return {
|
|
3280
3252
|
create: function() {
|
|
3281
3253
|
return {
|
|
@@ -3289,39 +3261,39 @@ function Ae(e) {
|
|
|
3289
3261
|
}
|
|
3290
3262
|
};
|
|
3291
3263
|
}
|
|
3292
|
-
function
|
|
3264
|
+
function jn(e) {
|
|
3293
3265
|
return e === void 0 && (e = {
|
|
3294
3266
|
number: {},
|
|
3295
3267
|
dateTime: {},
|
|
3296
3268
|
pluralRules: {}
|
|
3297
3269
|
}), {
|
|
3298
|
-
getNumberFormat:
|
|
3270
|
+
getNumberFormat: Ae(function() {
|
|
3299
3271
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3300
3272
|
r[n] = arguments[n];
|
|
3301
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3273
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3302
3274
|
}, {
|
|
3303
|
-
cache:
|
|
3304
|
-
strategy:
|
|
3275
|
+
cache: Ce(e.number),
|
|
3276
|
+
strategy: Pe.variadic
|
|
3305
3277
|
}),
|
|
3306
|
-
getDateTimeFormat:
|
|
3278
|
+
getDateTimeFormat: Ae(function() {
|
|
3307
3279
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3308
3280
|
r[n] = arguments[n];
|
|
3309
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3281
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3310
3282
|
}, {
|
|
3311
|
-
cache:
|
|
3312
|
-
strategy:
|
|
3283
|
+
cache: Ce(e.dateTime),
|
|
3284
|
+
strategy: Pe.variadic
|
|
3313
3285
|
}),
|
|
3314
|
-
getPluralRules:
|
|
3286
|
+
getPluralRules: Ae(function() {
|
|
3315
3287
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3316
3288
|
r[n] = arguments[n];
|
|
3317
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3289
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
3318
3290
|
}, {
|
|
3319
|
-
cache:
|
|
3320
|
-
strategy:
|
|
3291
|
+
cache: Ce(e.pluralRules),
|
|
3292
|
+
strategy: Pe.variadic
|
|
3321
3293
|
})
|
|
3322
3294
|
};
|
|
3323
3295
|
}
|
|
3324
|
-
var
|
|
3296
|
+
var kn = (
|
|
3325
3297
|
/** @class */
|
|
3326
3298
|
function() {
|
|
3327
3299
|
function e(t, r, n, i) {
|
|
@@ -3353,13 +3325,13 @@ var Gn = (
|
|
|
3353
3325
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3354
3326
|
var a = i || {};
|
|
3355
3327
|
a.formatters;
|
|
3356
|
-
var s =
|
|
3357
|
-
this.ast = e.__parse(t,
|
|
3328
|
+
var s = qr(a, ["formatters"]);
|
|
3329
|
+
this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
|
|
3358
3330
|
} else
|
|
3359
3331
|
this.ast = t;
|
|
3360
3332
|
if (!Array.isArray(this.ast))
|
|
3361
3333
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3362
|
-
this.formats =
|
|
3334
|
+
this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
|
|
3363
3335
|
}
|
|
3364
3336
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3365
3337
|
get: function() {
|
|
@@ -3372,7 +3344,7 @@ var Gn = (
|
|
|
3372
3344
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3373
3345
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3374
3346
|
}
|
|
3375
|
-
}, e.__parse =
|
|
3347
|
+
}, e.__parse = Mn, e.formats = {
|
|
3376
3348
|
number: {
|
|
3377
3349
|
integer: {
|
|
3378
3350
|
maximumFractionDigits: 0
|
|
@@ -3433,7 +3405,7 @@ var Gn = (
|
|
|
3433
3405
|
}, e;
|
|
3434
3406
|
}()
|
|
3435
3407
|
);
|
|
3436
|
-
function
|
|
3408
|
+
function Vn(e, t) {
|
|
3437
3409
|
if (t == null)
|
|
3438
3410
|
return;
|
|
3439
3411
|
if (t in e)
|
|
@@ -3454,92 +3426,92 @@ function jn(e, t) {
|
|
|
3454
3426
|
n = void 0;
|
|
3455
3427
|
return n;
|
|
3456
3428
|
}
|
|
3457
|
-
const F = {},
|
|
3429
|
+
const F = {}, Xn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Yt = (e, t) => {
|
|
3458
3430
|
if (t == null)
|
|
3459
3431
|
return;
|
|
3460
3432
|
if (t in F && e in F[t])
|
|
3461
3433
|
return F[t][e];
|
|
3462
|
-
const r =
|
|
3434
|
+
const r = Se(t);
|
|
3463
3435
|
for (let n = 0; n < r.length; n++) {
|
|
3464
|
-
const i = r[n], o =
|
|
3436
|
+
const i = r[n], o = Wn(i, e);
|
|
3465
3437
|
if (o)
|
|
3466
|
-
return
|
|
3438
|
+
return Xn(e, t, o);
|
|
3467
3439
|
}
|
|
3468
3440
|
};
|
|
3469
|
-
let
|
|
3470
|
-
const
|
|
3471
|
-
function
|
|
3472
|
-
return
|
|
3441
|
+
let et;
|
|
3442
|
+
const ie = xe({});
|
|
3443
|
+
function zn(e) {
|
|
3444
|
+
return et[e] || null;
|
|
3473
3445
|
}
|
|
3474
|
-
function
|
|
3475
|
-
return e in
|
|
3446
|
+
function Kt(e) {
|
|
3447
|
+
return e in et;
|
|
3476
3448
|
}
|
|
3477
|
-
function
|
|
3478
|
-
if (!
|
|
3449
|
+
function Wn(e, t) {
|
|
3450
|
+
if (!Kt(e))
|
|
3479
3451
|
return null;
|
|
3480
|
-
const r =
|
|
3481
|
-
return
|
|
3452
|
+
const r = zn(e);
|
|
3453
|
+
return Vn(r, t);
|
|
3482
3454
|
}
|
|
3483
|
-
function
|
|
3455
|
+
function Zn(e) {
|
|
3484
3456
|
if (e == null)
|
|
3485
3457
|
return;
|
|
3486
|
-
const t =
|
|
3458
|
+
const t = Se(e);
|
|
3487
3459
|
for (let r = 0; r < t.length; r++) {
|
|
3488
3460
|
const n = t[r];
|
|
3489
|
-
if (
|
|
3461
|
+
if (Kt(n))
|
|
3490
3462
|
return n;
|
|
3491
3463
|
}
|
|
3492
3464
|
}
|
|
3493
|
-
function
|
|
3494
|
-
delete F[e],
|
|
3465
|
+
function er(e, ...t) {
|
|
3466
|
+
delete F[e], ie.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
|
|
3495
3467
|
}
|
|
3496
|
-
|
|
3497
|
-
[
|
|
3468
|
+
Q(
|
|
3469
|
+
[ie],
|
|
3498
3470
|
([e]) => Object.keys(e)
|
|
3499
3471
|
);
|
|
3500
|
-
|
|
3472
|
+
ie.subscribe((e) => et = e);
|
|
3501
3473
|
const pe = {};
|
|
3502
|
-
function
|
|
3474
|
+
function Qn(e, t) {
|
|
3503
3475
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3504
3476
|
}
|
|
3505
|
-
function
|
|
3477
|
+
function tr(e) {
|
|
3506
3478
|
return pe[e];
|
|
3507
3479
|
}
|
|
3508
|
-
function
|
|
3509
|
-
return
|
|
3510
|
-
const r =
|
|
3480
|
+
function Jn(e) {
|
|
3481
|
+
return Se(e).map((t) => {
|
|
3482
|
+
const r = tr(t);
|
|
3511
3483
|
return [t, r ? [...r] : []];
|
|
3512
3484
|
}).filter(([, t]) => t.length > 0);
|
|
3513
3485
|
}
|
|
3514
3486
|
function Ve(e) {
|
|
3515
|
-
return e == null ? !1 :
|
|
3487
|
+
return e == null ? !1 : Se(e).some(
|
|
3516
3488
|
(t) => {
|
|
3517
3489
|
var r;
|
|
3518
|
-
return (r =
|
|
3490
|
+
return (r = tr(t)) == null ? void 0 : r.size;
|
|
3519
3491
|
}
|
|
3520
3492
|
);
|
|
3521
3493
|
}
|
|
3522
|
-
function
|
|
3494
|
+
function qn(e, t) {
|
|
3523
3495
|
return Promise.all(
|
|
3524
|
-
t.map((n) => (
|
|
3525
|
-
).then((n) =>
|
|
3496
|
+
t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
|
|
3497
|
+
).then((n) => er(e, ...n));
|
|
3526
3498
|
}
|
|
3527
|
-
const
|
|
3528
|
-
function
|
|
3499
|
+
const Y = {};
|
|
3500
|
+
function rr(e) {
|
|
3529
3501
|
if (!Ve(e))
|
|
3530
|
-
return e in
|
|
3531
|
-
const t =
|
|
3532
|
-
return
|
|
3502
|
+
return e in Y ? Y[e] : Promise.resolve();
|
|
3503
|
+
const t = Jn(e);
|
|
3504
|
+
return Y[e] = Promise.all(
|
|
3533
3505
|
t.map(
|
|
3534
|
-
([r, n]) =>
|
|
3506
|
+
([r, n]) => qn(r, n)
|
|
3535
3507
|
)
|
|
3536
3508
|
).then(() => {
|
|
3537
3509
|
if (Ve(e))
|
|
3538
|
-
return
|
|
3539
|
-
delete
|
|
3540
|
-
}),
|
|
3510
|
+
return rr(e);
|
|
3511
|
+
delete Y[e];
|
|
3512
|
+
}), Y[e];
|
|
3541
3513
|
}
|
|
3542
|
-
const
|
|
3514
|
+
const Yn = {
|
|
3543
3515
|
number: {
|
|
3544
3516
|
scientific: { notation: "scientific" },
|
|
3545
3517
|
engineering: { notation: "engineering" },
|
|
@@ -3568,135 +3540,135 @@ const Jn = {
|
|
|
3568
3540
|
timeZoneName: "short"
|
|
3569
3541
|
}
|
|
3570
3542
|
}
|
|
3571
|
-
},
|
|
3543
|
+
}, Kn = {
|
|
3572
3544
|
fallbackLocale: null,
|
|
3573
3545
|
loadingDelay: 200,
|
|
3574
|
-
formats:
|
|
3546
|
+
formats: Yn,
|
|
3575
3547
|
warnOnMissingMessages: !0,
|
|
3576
3548
|
handleMissingMessage: void 0,
|
|
3577
3549
|
ignoreTag: !0
|
|
3578
|
-
},
|
|
3579
|
-
function
|
|
3580
|
-
return
|
|
3550
|
+
}, ei = Kn;
|
|
3551
|
+
function Z() {
|
|
3552
|
+
return ei;
|
|
3581
3553
|
}
|
|
3582
|
-
const
|
|
3583
|
-
var
|
|
3554
|
+
const Ie = xe(!1);
|
|
3555
|
+
var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
|
|
3584
3556
|
for (var r in t || (t = {}))
|
|
3585
|
-
|
|
3586
|
-
if (
|
|
3587
|
-
for (var r of
|
|
3588
|
-
|
|
3557
|
+
ii.call(t, r) && gt(e, r, t[r]);
|
|
3558
|
+
if (yt)
|
|
3559
|
+
for (var r of yt(t))
|
|
3560
|
+
oi.call(t, r) && gt(e, r, t[r]);
|
|
3589
3561
|
return e;
|
|
3590
|
-
},
|
|
3562
|
+
}, ai = (e, t) => ri(e, ni(t));
|
|
3591
3563
|
let Xe;
|
|
3592
|
-
const
|
|
3593
|
-
function
|
|
3564
|
+
const ge = xe(null);
|
|
3565
|
+
function vt(e) {
|
|
3594
3566
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3595
3567
|
}
|
|
3596
|
-
function
|
|
3597
|
-
const r =
|
|
3598
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3568
|
+
function Se(e, t = Z().fallbackLocale) {
|
|
3569
|
+
const r = vt(e);
|
|
3570
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
|
|
3599
3571
|
}
|
|
3600
3572
|
function U() {
|
|
3601
3573
|
return Xe ?? void 0;
|
|
3602
3574
|
}
|
|
3603
|
-
|
|
3575
|
+
ge.subscribe((e) => {
|
|
3604
3576
|
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3605
3577
|
});
|
|
3606
|
-
const
|
|
3607
|
-
if (e &&
|
|
3608
|
-
const { loadingDelay: t } =
|
|
3578
|
+
const ui = (e) => {
|
|
3579
|
+
if (e && Zn(e) && Ve(e)) {
|
|
3580
|
+
const { loadingDelay: t } = Z();
|
|
3609
3581
|
let r;
|
|
3610
3582
|
return typeof window < "u" && U() != null && t ? r = window.setTimeout(
|
|
3611
|
-
() =>
|
|
3583
|
+
() => Ie.set(!0),
|
|
3612
3584
|
t
|
|
3613
|
-
) :
|
|
3614
|
-
|
|
3585
|
+
) : Ie.set(!0), rr(e).then(() => {
|
|
3586
|
+
ge.set(e);
|
|
3615
3587
|
}).finally(() => {
|
|
3616
|
-
clearTimeout(r),
|
|
3588
|
+
clearTimeout(r), Ie.set(!1);
|
|
3617
3589
|
});
|
|
3618
3590
|
}
|
|
3619
|
-
return
|
|
3620
|
-
},
|
|
3621
|
-
set:
|
|
3622
|
-
}),
|
|
3591
|
+
return ge.set(e);
|
|
3592
|
+
}, J = ai(si({}, ge), {
|
|
3593
|
+
set: ui
|
|
3594
|
+
}), we = (e) => {
|
|
3623
3595
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3624
3596
|
return (n) => {
|
|
3625
3597
|
const i = JSON.stringify(n);
|
|
3626
3598
|
return i in t ? t[i] : t[i] = e(n);
|
|
3627
3599
|
};
|
|
3628
3600
|
};
|
|
3629
|
-
var
|
|
3601
|
+
var hi = Object.defineProperty, ve = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
3630
3602
|
for (var r in t || (t = {}))
|
|
3631
|
-
|
|
3632
|
-
if (
|
|
3633
|
-
for (var r of
|
|
3634
|
-
|
|
3603
|
+
nr.call(t, r) && xt(e, r, t[r]);
|
|
3604
|
+
if (ve)
|
|
3605
|
+
for (var r of ve(t))
|
|
3606
|
+
ir.call(t, r) && xt(e, r, t[r]);
|
|
3635
3607
|
return e;
|
|
3636
|
-
},
|
|
3608
|
+
}, q = (e, t) => {
|
|
3637
3609
|
var r = {};
|
|
3638
3610
|
for (var n in e)
|
|
3639
|
-
|
|
3640
|
-
if (e != null &&
|
|
3641
|
-
for (var n of
|
|
3642
|
-
t.indexOf(n) < 0 &&
|
|
3611
|
+
nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3612
|
+
if (e != null && ve)
|
|
3613
|
+
for (var n of ve(e))
|
|
3614
|
+
t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
|
|
3643
3615
|
return r;
|
|
3644
3616
|
};
|
|
3645
|
-
const
|
|
3646
|
-
const { formats: r } =
|
|
3617
|
+
const re = (e, t) => {
|
|
3618
|
+
const { formats: r } = Z();
|
|
3647
3619
|
if (e in r && t in r[e])
|
|
3648
3620
|
return r[e][t];
|
|
3649
3621
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3650
|
-
},
|
|
3622
|
+
}, li = we(
|
|
3651
3623
|
(e) => {
|
|
3652
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3624
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3653
3625
|
if (r == null)
|
|
3654
3626
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3655
|
-
return n && (i =
|
|
3627
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
3656
3628
|
}
|
|
3657
|
-
),
|
|
3629
|
+
), ci = we(
|
|
3658
3630
|
(e) => {
|
|
3659
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3631
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3660
3632
|
if (r == null)
|
|
3661
3633
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3662
|
-
return n ? i =
|
|
3634
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3663
3635
|
}
|
|
3664
|
-
),
|
|
3636
|
+
), fi = we(
|
|
3665
3637
|
(e) => {
|
|
3666
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3638
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3667
3639
|
if (r == null)
|
|
3668
3640
|
throw new Error(
|
|
3669
3641
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3670
3642
|
);
|
|
3671
|
-
return n ? i =
|
|
3643
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3672
3644
|
}
|
|
3673
|
-
),
|
|
3645
|
+
), di = (e = {}) => {
|
|
3674
3646
|
var t = e, {
|
|
3675
3647
|
locale: r = U()
|
|
3676
|
-
} = t, n =
|
|
3648
|
+
} = t, n = q(t, [
|
|
3677
3649
|
"locale"
|
|
3678
3650
|
]);
|
|
3679
|
-
return
|
|
3680
|
-
},
|
|
3651
|
+
return li(tt({ locale: r }, n));
|
|
3652
|
+
}, pi = (e = {}) => {
|
|
3681
3653
|
var t = e, {
|
|
3682
3654
|
locale: r = U()
|
|
3683
|
-
} = t, n =
|
|
3655
|
+
} = t, n = q(t, [
|
|
3684
3656
|
"locale"
|
|
3685
3657
|
]);
|
|
3686
|
-
return
|
|
3687
|
-
},
|
|
3658
|
+
return ci(tt({ locale: r }, n));
|
|
3659
|
+
}, mi = (e = {}) => {
|
|
3688
3660
|
var t = e, {
|
|
3689
3661
|
locale: r = U()
|
|
3690
|
-
} = t, n =
|
|
3662
|
+
} = t, n = q(t, [
|
|
3691
3663
|
"locale"
|
|
3692
3664
|
]);
|
|
3693
|
-
return
|
|
3694
|
-
},
|
|
3665
|
+
return fi(tt({ locale: r }, n));
|
|
3666
|
+
}, bi = we(
|
|
3695
3667
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3696
|
-
(e, t = U()) => new
|
|
3697
|
-
ignoreTag:
|
|
3668
|
+
(e, t = U()) => new kn(e, t, Z().formats, {
|
|
3669
|
+
ignoreTag: Z().ignoreTag
|
|
3698
3670
|
})
|
|
3699
|
-
),
|
|
3671
|
+
), yi = (e, t = {}) => {
|
|
3700
3672
|
var r, n, i, o;
|
|
3701
3673
|
let a = t;
|
|
3702
3674
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3709,9 +3681,9 @@ const ne = (e, t) => {
|
|
|
3709
3681
|
throw new Error(
|
|
3710
3682
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3711
3683
|
);
|
|
3712
|
-
let l =
|
|
3684
|
+
let l = Yt(e, h);
|
|
3713
3685
|
if (!l)
|
|
3714
|
-
l = (o = (i = (n = (r =
|
|
3686
|
+
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;
|
|
3715
3687
|
else if (typeof l != "string")
|
|
3716
3688
|
return console.warn(
|
|
3717
3689
|
`[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.`
|
|
@@ -3720,7 +3692,7 @@ const ne = (e, t) => {
|
|
|
3720
3692
|
return l;
|
|
3721
3693
|
let f = l;
|
|
3722
3694
|
try {
|
|
3723
|
-
f =
|
|
3695
|
+
f = bi(l, h).format(s);
|
|
3724
3696
|
} catch (c) {
|
|
3725
3697
|
c instanceof Error && console.warn(
|
|
3726
3698
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3728,27 +3700,96 @@ const ne = (e, t) => {
|
|
|
3728
3700
|
);
|
|
3729
3701
|
}
|
|
3730
3702
|
return f;
|
|
3731
|
-
},
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
function
|
|
3737
|
-
|
|
3738
|
-
}
|
|
3739
|
-
function
|
|
3740
|
-
|
|
3741
|
-
}
|
|
3742
|
-
|
|
3703
|
+
}, gi = (e, t) => mi(t).format(e), vi = (e, t) => pi(t).format(e), xi = (e, t) => di(t).format(e), _i = (e, t = U()) => Yt(e, t), Ei = Q([J, ie], () => yi);
|
|
3704
|
+
Q([J], () => gi);
|
|
3705
|
+
Q([J], () => vi);
|
|
3706
|
+
Q([J], () => xi);
|
|
3707
|
+
Q([J, ie], () => _i);
|
|
3708
|
+
function _t(e, t) {
|
|
3709
|
+
er(e, t);
|
|
3710
|
+
}
|
|
3711
|
+
function Si(e) {
|
|
3712
|
+
J.set(e);
|
|
3713
|
+
}
|
|
3714
|
+
/*! *****************************************************************************
|
|
3715
|
+
Copyright (c) Microsoft Corporation.
|
|
3716
|
+
|
|
3717
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
3718
|
+
purpose with or without fee is hereby granted.
|
|
3719
|
+
|
|
3720
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
3721
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
3722
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
3723
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
3724
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3725
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3726
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
3727
|
+
***************************************************************************** */
|
|
3728
|
+
var ze = function(e, t) {
|
|
3729
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
3730
|
+
r.__proto__ = n;
|
|
3731
|
+
} || function(r, n) {
|
|
3732
|
+
for (var i in n)
|
|
3733
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
3734
|
+
}, ze(e, t);
|
|
3735
|
+
};
|
|
3736
|
+
function oe(e, t) {
|
|
3737
|
+
if (typeof t != "function" && t !== null)
|
|
3738
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
3739
|
+
ze(e, t);
|
|
3740
|
+
function r() {
|
|
3741
|
+
this.constructor = e;
|
|
3742
|
+
}
|
|
3743
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
3744
|
+
}
|
|
3745
|
+
function We(e) {
|
|
3746
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
3747
|
+
if (r)
|
|
3748
|
+
return r.call(e);
|
|
3749
|
+
if (e && typeof e.length == "number")
|
|
3750
|
+
return {
|
|
3751
|
+
next: function() {
|
|
3752
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
3753
|
+
}
|
|
3754
|
+
};
|
|
3755
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3756
|
+
}
|
|
3757
|
+
function Ze(e, t) {
|
|
3758
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3759
|
+
if (!r)
|
|
3760
|
+
return e;
|
|
3761
|
+
var n = r.call(e), i, o = [], a;
|
|
3762
|
+
try {
|
|
3763
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
3764
|
+
o.push(i.value);
|
|
3765
|
+
} catch (s) {
|
|
3766
|
+
a = { error: s };
|
|
3767
|
+
} finally {
|
|
3768
|
+
try {
|
|
3769
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
3770
|
+
} finally {
|
|
3771
|
+
if (a)
|
|
3772
|
+
throw a.error;
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
return o;
|
|
3776
|
+
}
|
|
3777
|
+
function Qe(e, t, r) {
|
|
3778
|
+
if (arguments.length === 2)
|
|
3779
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
3780
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
3781
|
+
return e.concat(o || t);
|
|
3782
|
+
}
|
|
3783
|
+
function R(e) {
|
|
3743
3784
|
return typeof e == "function";
|
|
3744
3785
|
}
|
|
3745
|
-
function
|
|
3786
|
+
function or(e) {
|
|
3746
3787
|
var t = function(n) {
|
|
3747
3788
|
Error.call(n), n.stack = new Error().stack;
|
|
3748
3789
|
}, r = e(t);
|
|
3749
3790
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
3750
3791
|
}
|
|
3751
|
-
var
|
|
3792
|
+
var Le = or(function(e) {
|
|
3752
3793
|
return function(r) {
|
|
3753
3794
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
3754
3795
|
` + r.map(function(n, i) {
|
|
@@ -3757,13 +3798,13 @@ var Ce = nr(function(e) {
|
|
|
3757
3798
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
3758
3799
|
};
|
|
3759
3800
|
});
|
|
3760
|
-
function
|
|
3801
|
+
function Je(e, t) {
|
|
3761
3802
|
if (e) {
|
|
3762
3803
|
var r = e.indexOf(t);
|
|
3763
3804
|
0 <= r && e.splice(r, 1);
|
|
3764
3805
|
}
|
|
3765
3806
|
}
|
|
3766
|
-
var
|
|
3807
|
+
var Te = function() {
|
|
3767
3808
|
function e(t) {
|
|
3768
3809
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
3769
3810
|
}
|
|
@@ -3775,7 +3816,7 @@ var Se = function() {
|
|
|
3775
3816
|
if (a)
|
|
3776
3817
|
if (this._parentage = null, Array.isArray(a))
|
|
3777
3818
|
try {
|
|
3778
|
-
for (var s =
|
|
3819
|
+
for (var s = We(a), h = s.next(); !h.done; h = s.next()) {
|
|
3779
3820
|
var u = h.value;
|
|
3780
3821
|
u.remove(this);
|
|
3781
3822
|
}
|
|
@@ -3792,22 +3833,22 @@ var Se = function() {
|
|
|
3792
3833
|
else
|
|
3793
3834
|
a.remove(this);
|
|
3794
3835
|
var l = this.initialTeardown;
|
|
3795
|
-
if (
|
|
3836
|
+
if (R(l))
|
|
3796
3837
|
try {
|
|
3797
3838
|
l();
|
|
3798
3839
|
} catch (m) {
|
|
3799
|
-
o = m instanceof
|
|
3840
|
+
o = m instanceof Le ? m.errors : [m];
|
|
3800
3841
|
}
|
|
3801
3842
|
var f = this._finalizers;
|
|
3802
3843
|
if (f) {
|
|
3803
3844
|
this._finalizers = null;
|
|
3804
3845
|
try {
|
|
3805
|
-
for (var c =
|
|
3846
|
+
for (var c = We(f), p = c.next(); !p.done; p = c.next()) {
|
|
3806
3847
|
var g = p.value;
|
|
3807
3848
|
try {
|
|
3808
|
-
|
|
3849
|
+
Et(g);
|
|
3809
3850
|
} catch (m) {
|
|
3810
|
-
o = o ?? [], m instanceof
|
|
3851
|
+
o = o ?? [], m instanceof Le ? o = Qe(Qe([], Ze(o)), Ze(m.errors)) : o.push(m);
|
|
3811
3852
|
}
|
|
3812
3853
|
}
|
|
3813
3854
|
} catch (m) {
|
|
@@ -3822,13 +3863,13 @@ var Se = function() {
|
|
|
3822
3863
|
}
|
|
3823
3864
|
}
|
|
3824
3865
|
if (o)
|
|
3825
|
-
throw new
|
|
3866
|
+
throw new Le(o);
|
|
3826
3867
|
}
|
|
3827
3868
|
}, e.prototype.add = function(t) {
|
|
3828
3869
|
var r;
|
|
3829
3870
|
if (t && t !== this)
|
|
3830
3871
|
if (this.closed)
|
|
3831
|
-
|
|
3872
|
+
Et(t);
|
|
3832
3873
|
else {
|
|
3833
3874
|
if (t instanceof e) {
|
|
3834
3875
|
if (t.closed || t._hasParent(this))
|
|
@@ -3845,56 +3886,52 @@ var Se = function() {
|
|
|
3845
3886
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
3846
3887
|
}, e.prototype._removeParent = function(t) {
|
|
3847
3888
|
var r = this._parentage;
|
|
3848
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
3889
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
3849
3890
|
}, e.prototype.remove = function(t) {
|
|
3850
3891
|
var r = this._finalizers;
|
|
3851
|
-
r &&
|
|
3892
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
3852
3893
|
}, e.EMPTY = function() {
|
|
3853
3894
|
var t = new e();
|
|
3854
3895
|
return t.closed = !0, t;
|
|
3855
3896
|
}(), e;
|
|
3856
|
-
}(),
|
|
3857
|
-
function
|
|
3858
|
-
return e instanceof
|
|
3859
|
-
}
|
|
3860
|
-
function
|
|
3861
|
-
|
|
3862
|
-
}
|
|
3863
|
-
var
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
Promise: void 0,
|
|
3867
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
3868
|
-
useDeprecatedNextContext: !1
|
|
3869
|
-
}, _i = {
|
|
3897
|
+
}(), sr = Te.EMPTY;
|
|
3898
|
+
function ar(e) {
|
|
3899
|
+
return e instanceof Te || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
3900
|
+
}
|
|
3901
|
+
function Et(e) {
|
|
3902
|
+
R(e) ? e() : e.unsubscribe();
|
|
3903
|
+
}
|
|
3904
|
+
var wi = {
|
|
3905
|
+
Promise: void 0
|
|
3906
|
+
}, Ti = {
|
|
3870
3907
|
setTimeout: function(e, t) {
|
|
3871
3908
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
3872
3909
|
r[n - 2] = arguments[n];
|
|
3873
|
-
return setTimeout.apply(void 0,
|
|
3910
|
+
return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
|
|
3874
3911
|
},
|
|
3875
3912
|
clearTimeout: function(e) {
|
|
3876
3913
|
return clearTimeout(e);
|
|
3877
3914
|
},
|
|
3878
3915
|
delegate: void 0
|
|
3879
3916
|
};
|
|
3880
|
-
function
|
|
3881
|
-
|
|
3917
|
+
function Hi(e) {
|
|
3918
|
+
Ti.setTimeout(function() {
|
|
3882
3919
|
throw e;
|
|
3883
3920
|
});
|
|
3884
3921
|
}
|
|
3885
|
-
function
|
|
3922
|
+
function St() {
|
|
3886
3923
|
}
|
|
3887
3924
|
function me(e) {
|
|
3888
3925
|
e();
|
|
3889
3926
|
}
|
|
3890
|
-
var
|
|
3891
|
-
|
|
3927
|
+
var ur = function(e) {
|
|
3928
|
+
oe(t, e);
|
|
3892
3929
|
function t(r) {
|
|
3893
3930
|
var n = e.call(this) || this;
|
|
3894
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
3931
|
+
return n.isStopped = !1, r ? (n.destination = r, ar(r) && r.add(n)) : n.destination = Pi, n;
|
|
3895
3932
|
}
|
|
3896
3933
|
return t.create = function(r, n, i) {
|
|
3897
|
-
return new
|
|
3934
|
+
return new qe(r, n, i);
|
|
3898
3935
|
}, t.prototype.next = function(r) {
|
|
3899
3936
|
this.isStopped || this._next(r);
|
|
3900
3937
|
}, t.prototype.error = function(r) {
|
|
@@ -3918,11 +3955,7 @@ var ar = function(e) {
|
|
|
3918
3955
|
this.unsubscribe();
|
|
3919
3956
|
}
|
|
3920
3957
|
}, t;
|
|
3921
|
-
}(
|
|
3922
|
-
function Ie(e, t) {
|
|
3923
|
-
return wi.call(e, t);
|
|
3924
|
-
}
|
|
3925
|
-
var Ti = function() {
|
|
3958
|
+
}(Te), Bi = function() {
|
|
3926
3959
|
function e(t) {
|
|
3927
3960
|
this.partialObserver = t;
|
|
3928
3961
|
}
|
|
@@ -3953,55 +3986,43 @@ var Ti = function() {
|
|
|
3953
3986
|
ce(r);
|
|
3954
3987
|
}
|
|
3955
3988
|
}, e;
|
|
3956
|
-
}(),
|
|
3957
|
-
|
|
3989
|
+
}(), qe = function(e) {
|
|
3990
|
+
oe(t, e);
|
|
3958
3991
|
function t(r, n, i) {
|
|
3959
3992
|
var o = e.call(this) || this, a;
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
};
|
|
3966
|
-
else {
|
|
3967
|
-
var s;
|
|
3968
|
-
o && sr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
3969
|
-
return o.unsubscribe();
|
|
3970
|
-
}, a = {
|
|
3971
|
-
next: r.next && Ie(r.next, s),
|
|
3972
|
-
error: r.error && Ie(r.error, s),
|
|
3973
|
-
complete: r.complete && Ie(r.complete, s)
|
|
3974
|
-
}) : a = r;
|
|
3975
|
-
}
|
|
3976
|
-
return o.destination = new Ti(a), o;
|
|
3993
|
+
return R(r) || !r ? a = {
|
|
3994
|
+
next: r ?? void 0,
|
|
3995
|
+
error: n ?? void 0,
|
|
3996
|
+
complete: i ?? void 0
|
|
3997
|
+
} : a = r, o.destination = new Bi(a), o;
|
|
3977
3998
|
}
|
|
3978
3999
|
return t;
|
|
3979
|
-
}(
|
|
4000
|
+
}(ur);
|
|
3980
4001
|
function ce(e) {
|
|
3981
|
-
|
|
4002
|
+
Hi(e);
|
|
3982
4003
|
}
|
|
3983
|
-
function
|
|
4004
|
+
function Ai(e) {
|
|
3984
4005
|
throw e;
|
|
3985
4006
|
}
|
|
3986
|
-
var
|
|
4007
|
+
var Pi = {
|
|
3987
4008
|
closed: !0,
|
|
3988
|
-
next:
|
|
3989
|
-
error:
|
|
3990
|
-
complete:
|
|
3991
|
-
},
|
|
4009
|
+
next: St,
|
|
4010
|
+
error: Ai,
|
|
4011
|
+
complete: St
|
|
4012
|
+
}, Oi = function() {
|
|
3992
4013
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
3993
4014
|
}();
|
|
3994
|
-
function
|
|
4015
|
+
function Ci(e) {
|
|
3995
4016
|
return e;
|
|
3996
4017
|
}
|
|
3997
|
-
function
|
|
3998
|
-
return e.length === 0 ?
|
|
4018
|
+
function Ii(e) {
|
|
4019
|
+
return e.length === 0 ? Ci : e.length === 1 ? e[0] : function(r) {
|
|
3999
4020
|
return e.reduce(function(n, i) {
|
|
4000
4021
|
return i(n);
|
|
4001
4022
|
}, r);
|
|
4002
4023
|
};
|
|
4003
4024
|
}
|
|
4004
|
-
var
|
|
4025
|
+
var wt = function() {
|
|
4005
4026
|
function e(t) {
|
|
4006
4027
|
t && (this._subscribe = t);
|
|
4007
4028
|
}
|
|
@@ -4009,7 +4030,7 @@ var _t = function() {
|
|
|
4009
4030
|
var r = new e();
|
|
4010
4031
|
return r.source = this, r.operator = t, r;
|
|
4011
4032
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
4012
|
-
var i = this, o =
|
|
4033
|
+
var i = this, o = Ni(t) ? t : new qe(t, r, n);
|
|
4013
4034
|
return me(function() {
|
|
4014
4035
|
var a = i, s = a.operator, h = a.source;
|
|
4015
4036
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -4022,8 +4043,8 @@ var _t = function() {
|
|
|
4022
4043
|
}
|
|
4023
4044
|
}, e.prototype.forEach = function(t, r) {
|
|
4024
4045
|
var n = this;
|
|
4025
|
-
return r =
|
|
4026
|
-
var a = new
|
|
4046
|
+
return r = Tt(r), new r(function(i, o) {
|
|
4047
|
+
var a = new qe({
|
|
4027
4048
|
next: function(s) {
|
|
4028
4049
|
try {
|
|
4029
4050
|
t(s);
|
|
@@ -4039,15 +4060,15 @@ var _t = function() {
|
|
|
4039
4060
|
}, e.prototype._subscribe = function(t) {
|
|
4040
4061
|
var r;
|
|
4041
4062
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
4042
|
-
}, e.prototype[
|
|
4063
|
+
}, e.prototype[Oi] = function() {
|
|
4043
4064
|
return this;
|
|
4044
4065
|
}, e.prototype.pipe = function() {
|
|
4045
4066
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
4046
4067
|
t[r] = arguments[r];
|
|
4047
|
-
return
|
|
4068
|
+
return Ii(t)(this);
|
|
4048
4069
|
}, e.prototype.toPromise = function(t) {
|
|
4049
4070
|
var r = this;
|
|
4050
|
-
return t =
|
|
4071
|
+
return t = Tt(t), new t(function(n, i) {
|
|
4051
4072
|
var o;
|
|
4052
4073
|
r.subscribe(function(a) {
|
|
4053
4074
|
return o = a;
|
|
@@ -4061,32 +4082,32 @@ var _t = function() {
|
|
|
4061
4082
|
return new e(t);
|
|
4062
4083
|
}, e;
|
|
4063
4084
|
}();
|
|
4064
|
-
function
|
|
4085
|
+
function Tt(e) {
|
|
4065
4086
|
var t;
|
|
4066
|
-
return (t = e ??
|
|
4087
|
+
return (t = e ?? wi.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4067
4088
|
}
|
|
4068
|
-
function
|
|
4069
|
-
return e &&
|
|
4089
|
+
function Li(e) {
|
|
4090
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
4070
4091
|
}
|
|
4071
|
-
function
|
|
4072
|
-
return e && e instanceof
|
|
4092
|
+
function Ni(e) {
|
|
4093
|
+
return e && e instanceof ur || Li(e) && ar(e);
|
|
4073
4094
|
}
|
|
4074
|
-
var
|
|
4095
|
+
var Mi = or(function(e) {
|
|
4075
4096
|
return function() {
|
|
4076
4097
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4077
4098
|
};
|
|
4078
|
-
}),
|
|
4079
|
-
|
|
4099
|
+
}), hr = function(e) {
|
|
4100
|
+
oe(t, e);
|
|
4080
4101
|
function t() {
|
|
4081
4102
|
var r = e.call(this) || this;
|
|
4082
4103
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
4083
4104
|
}
|
|
4084
4105
|
return t.prototype.lift = function(r) {
|
|
4085
|
-
var n = new
|
|
4106
|
+
var n = new Ht(this, this);
|
|
4086
4107
|
return n.operator = r, n;
|
|
4087
4108
|
}, t.prototype._throwIfClosed = function() {
|
|
4088
4109
|
if (this.closed)
|
|
4089
|
-
throw new
|
|
4110
|
+
throw new Mi();
|
|
4090
4111
|
}, t.prototype.next = function(r) {
|
|
4091
4112
|
var n = this;
|
|
4092
4113
|
me(function() {
|
|
@@ -4094,7 +4115,7 @@ var Li = nr(function(e) {
|
|
|
4094
4115
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
4095
4116
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
4096
4117
|
try {
|
|
4097
|
-
for (var a =
|
|
4118
|
+
for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
4098
4119
|
var h = s.value;
|
|
4099
4120
|
h.next(r);
|
|
4100
4121
|
}
|
|
@@ -4143,20 +4164,20 @@ var Li = nr(function(e) {
|
|
|
4143
4164
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
4144
4165
|
}, t.prototype._innerSubscribe = function(r) {
|
|
4145
4166
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
4146
|
-
return o || a ?
|
|
4147
|
-
n.currentObservers = null,
|
|
4167
|
+
return o || a ? sr : (this.currentObservers = null, s.push(r), new Te(function() {
|
|
4168
|
+
n.currentObservers = null, Je(s, r);
|
|
4148
4169
|
}));
|
|
4149
4170
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
4150
4171
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
4151
4172
|
i ? r.error(o) : a && r.complete();
|
|
4152
4173
|
}, t.prototype.asObservable = function() {
|
|
4153
|
-
var r = new
|
|
4174
|
+
var r = new wt();
|
|
4154
4175
|
return r.source = this, r;
|
|
4155
4176
|
}, t.create = function(r, n) {
|
|
4156
|
-
return new
|
|
4177
|
+
return new Ht(r, n);
|
|
4157
4178
|
}, t;
|
|
4158
|
-
}(
|
|
4159
|
-
|
|
4179
|
+
}(wt), Ht = function(e) {
|
|
4180
|
+
oe(t, e);
|
|
4160
4181
|
function t(r, n) {
|
|
4161
4182
|
var i = e.call(this) || this;
|
|
4162
4183
|
return i.destination = r, i.source = n, i;
|
|
@@ -4172,17 +4193,17 @@ var Li = nr(function(e) {
|
|
|
4172
4193
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
4173
4194
|
}, t.prototype._subscribe = function(r) {
|
|
4174
4195
|
var n, i;
|
|
4175
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
4196
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sr;
|
|
4176
4197
|
}, t;
|
|
4177
|
-
}(
|
|
4198
|
+
}(hr), lr = {
|
|
4178
4199
|
now: function() {
|
|
4179
|
-
return (
|
|
4200
|
+
return (lr.delegate || Date).now();
|
|
4180
4201
|
},
|
|
4181
4202
|
delegate: void 0
|
|
4182
|
-
},
|
|
4183
|
-
|
|
4203
|
+
}, Ri = function(e) {
|
|
4204
|
+
oe(t, e);
|
|
4184
4205
|
function t(r, n, i) {
|
|
4185
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
4206
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lr);
|
|
4186
4207
|
var o = e.call(this) || this;
|
|
4187
4208
|
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;
|
|
4188
4209
|
}
|
|
@@ -4202,18 +4223,18 @@ var Li = nr(function(e) {
|
|
|
4202
4223
|
u && o.splice(0, u + 1);
|
|
4203
4224
|
}
|
|
4204
4225
|
}, t;
|
|
4205
|
-
}(
|
|
4206
|
-
const
|
|
4207
|
-
if (
|
|
4208
|
-
const r = new
|
|
4209
|
-
|
|
4226
|
+
}(hr);
|
|
4227
|
+
const Bt = [], At = {}, $i = (e, t = 0) => {
|
|
4228
|
+
if (Bt.indexOf(e) == -1) {
|
|
4229
|
+
const r = new Ri(t);
|
|
4230
|
+
At[e] = r, Bt.push(e);
|
|
4210
4231
|
}
|
|
4211
|
-
return
|
|
4232
|
+
return At[e];
|
|
4212
4233
|
};
|
|
4213
|
-
window.emWidgets = { topic:
|
|
4214
|
-
const
|
|
4234
|
+
window.emWidgets = { topic: $i };
|
|
4235
|
+
const Fi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4215
4236
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4216
|
-
const
|
|
4237
|
+
const Pt = {
|
|
4217
4238
|
en: {
|
|
4218
4239
|
error: "500 Error - Internal Server Error",
|
|
4219
4240
|
loading: "Loading ...",
|
|
@@ -4281,13 +4302,13 @@ const Bt = {
|
|
|
4281
4302
|
sunday: "Sunday"
|
|
4282
4303
|
}
|
|
4283
4304
|
};
|
|
4284
|
-
function
|
|
4305
|
+
function Ui(e, t) {
|
|
4285
4306
|
if (e) {
|
|
4286
4307
|
const r = document.createElement("style");
|
|
4287
4308
|
r.innerHTML = t, e.appendChild(r);
|
|
4288
4309
|
}
|
|
4289
4310
|
}
|
|
4290
|
-
function
|
|
4311
|
+
function Di(e, t) {
|
|
4291
4312
|
if (!e || !t)
|
|
4292
4313
|
return;
|
|
4293
4314
|
const r = new URL(t);
|
|
@@ -4298,7 +4319,7 @@ function Fi(e, t) {
|
|
|
4298
4319
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4299
4320
|
});
|
|
4300
4321
|
}
|
|
4301
|
-
function
|
|
4322
|
+
function Gi(e, t, r) {
|
|
4302
4323
|
if (window.emMessageBus) {
|
|
4303
4324
|
const n = document.createElement("style");
|
|
4304
4325
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4306,34 +4327,34 @@ function Ui(e, t, r) {
|
|
|
4306
4327
|
});
|
|
4307
4328
|
}
|
|
4308
4329
|
}
|
|
4309
|
-
function
|
|
4310
|
-
|
|
4330
|
+
function ji(e) {
|
|
4331
|
+
dr(e, "svelte-l9b1y7", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
4311
4332
|
}
|
|
4312
|
-
function
|
|
4333
|
+
function ki(e) {
|
|
4313
4334
|
let t, r, n, i, o, a, s, h, u, l, f, c, p = (
|
|
4314
4335
|
/*$_*/
|
|
4315
4336
|
e[8](`${/*dailyday*/
|
|
4316
4337
|
e[2]}`) + ""
|
|
4317
|
-
), g, m,
|
|
4338
|
+
), g, m, v, I, P, E, L, T, C, $, se;
|
|
4318
4339
|
return {
|
|
4319
4340
|
c() {
|
|
4320
|
-
t = B("div"), r = B("div"), n = B("div"), i = B("div"), o = B("div"), o.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', a = ue(), s = B("div"), h = B("div"), u = B("ui-image"), f = ue(), c = B("div"), g =
|
|
4341
|
+
t = B("div"), r = B("div"), n = B("div"), i = B("div"), o = B("div"), o.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', a = ue(), s = B("div"), h = B("div"), u = B("ui-image"), f = ue(), c = B("div"), g = Ne(p), m = ue(), v = B("div"), I = ue(), P = B("div"), E = B("button"), L = Ne(
|
|
4321
4342
|
/*dailybuttontitle*/
|
|
4322
4343
|
e[3]
|
|
4323
|
-
), A(o, "class", "CalendarBar"),
|
|
4344
|
+
), A(o, "class", "CalendarBar"), it(u.src, l = /*dailyicon*/
|
|
4324
4345
|
e[1]) || he(u, "src", l), he(
|
|
4325
4346
|
u,
|
|
4326
4347
|
"alt",
|
|
4327
4348
|
/*dailyicon*/
|
|
4328
4349
|
e[1]
|
|
4329
|
-
), A(h, "class", "CasinoCalendarDailyIcon"), A(c, "class", "CasinoCalendarDailyTitle"), A(
|
|
4330
|
-
e[4] == "OpenCalendarModal" ? "Tear" : "")),
|
|
4331
|
-
e[0] + "')"), A(i, "class", "CalendarCard"), A(n, "class", "CasinoCalendarItems"), A(r, "class",
|
|
4350
|
+
), A(h, "class", "CasinoCalendarDailyIcon"), A(c, "class", "CasinoCalendarDailyTitle"), A(v, "class", "CasinoCalendarDailyItemDescription"), A(E, "class", "MoreInfoButton"), A(P, "class", "CasinoCalendarDailyItemButton"), A(s, "class", T = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
4351
|
+
e[4] == "OpenCalendarModal" ? "Tear" : "")), st(s, "--background-image-url", "url('" + /*dailybackground*/
|
|
4352
|
+
e[0] + "')"), A(i, "class", "CalendarCard"), A(n, "class", "CasinoCalendarItems"), A(r, "class", C = "Container " + /*mobileView*/
|
|
4332
4353
|
(e[7] ? "Mobile" : ""));
|
|
4333
4354
|
},
|
|
4334
4355
|
m(H, d) {
|
|
4335
|
-
|
|
4336
|
-
|
|
4356
|
+
Lt(H, t, d), S(t, r), S(r, n), S(n, i), S(i, o), S(i, a), S(i, s), S(s, h), S(h, u), S(s, f), S(s, c), S(c, g), S(s, m), S(s, v), e[16](v), S(s, I), S(s, P), S(P, E), S(E, L), e[18](t), $ || (se = br(
|
|
4357
|
+
E,
|
|
4337
4358
|
"click",
|
|
4338
4359
|
/*click_handler*/
|
|
4339
4360
|
e[17]
|
|
@@ -4341,7 +4362,7 @@ function Gi(e) {
|
|
|
4341
4362
|
},
|
|
4342
4363
|
p(H, [d]) {
|
|
4343
4364
|
d & /*dailyicon*/
|
|
4344
|
-
2 && !
|
|
4365
|
+
2 && !it(u.src, l = /*dailyicon*/
|
|
4345
4366
|
H[1]) && he(u, "src", l), d & /*dailyicon*/
|
|
4346
4367
|
2 && he(
|
|
4347
4368
|
u,
|
|
@@ -4351,42 +4372,42 @@ function Gi(e) {
|
|
|
4351
4372
|
), d & /*$_, dailyday*/
|
|
4352
4373
|
260 && p !== (p = /*$_*/
|
|
4353
4374
|
H[8](`${/*dailyday*/
|
|
4354
|
-
H[2]}`) + "") &&
|
|
4355
|
-
8 &&
|
|
4375
|
+
H[2]}`) + "") && ot(g, p), d & /*dailybuttontitle*/
|
|
4376
|
+
8 && ot(
|
|
4356
4377
|
L,
|
|
4357
4378
|
/*dailybuttontitle*/
|
|
4358
4379
|
H[3]
|
|
4359
4380
|
), d & /*index*/
|
|
4360
4381
|
16 && T !== (T = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
4361
4382
|
H[4] == "OpenCalendarModal" ? "Tear" : "")) && A(s, "class", T), d & /*dailybackground*/
|
|
4362
|
-
1 &&
|
|
4383
|
+
1 && st(s, "--background-image-url", "url('" + /*dailybackground*/
|
|
4363
4384
|
H[0] + "')"), d & /*mobileView*/
|
|
4364
|
-
128 &&
|
|
4365
|
-
(H[7] ? "Mobile" : "")) && A(r, "class",
|
|
4385
|
+
128 && C !== (C = "Container " + /*mobileView*/
|
|
4386
|
+
(H[7] ? "Mobile" : "")) && A(r, "class", C);
|
|
4366
4387
|
},
|
|
4367
4388
|
i: N,
|
|
4368
4389
|
o: N,
|
|
4369
4390
|
d(H) {
|
|
4370
|
-
H &&
|
|
4391
|
+
H && Ke(t), e[16](null), e[18](null), $ = !1, se();
|
|
4371
4392
|
}
|
|
4372
4393
|
};
|
|
4373
4394
|
}
|
|
4374
|
-
function
|
|
4395
|
+
function Vi(e, t, r) {
|
|
4375
4396
|
let n;
|
|
4376
|
-
|
|
4377
|
-
let { lang: i = "" } = t, { dailybackground: o = "" } = t, { dailyicon: a = "" } = t, { dailyday: s = "" } = t, { dailydescription: h = "<p></p>" } = t, { dailybuttontitle: u = "" } = t, { index: l = "0" } = t, { mbsource: f } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, m,
|
|
4378
|
-
const
|
|
4379
|
-
|
|
4397
|
+
fr(e, Ei, (d) => r(8, n = d));
|
|
4398
|
+
let { lang: i = "" } = t, { dailybackground: o = "" } = t, { dailyicon: a = "" } = t, { dailyday: s = "" } = t, { dailydescription: h = "<p></p>" } = t, { dailybuttontitle: u = "" } = t, { index: l = "0" } = t, { mbsource: f } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, m, v, I = !1, P = window.navigator.userAgent;
|
|
4399
|
+
const E = () => {
|
|
4400
|
+
Si(i);
|
|
4380
4401
|
};
|
|
4381
|
-
Object.keys(
|
|
4382
|
-
|
|
4402
|
+
Object.keys(Pt).forEach((d) => {
|
|
4403
|
+
_t(d, Pt[d]);
|
|
4383
4404
|
});
|
|
4384
4405
|
const L = () => {
|
|
4385
4406
|
let d = g;
|
|
4386
4407
|
if (d)
|
|
4387
4408
|
return fetch(d).then((D) => D.json()).then((D) => {
|
|
4388
|
-
Object.keys(D).forEach((
|
|
4389
|
-
|
|
4409
|
+
Object.keys(D).forEach((rt) => {
|
|
4410
|
+
_t(rt, D[rt]);
|
|
4390
4411
|
});
|
|
4391
4412
|
}).catch((D) => {
|
|
4392
4413
|
console.log(D);
|
|
@@ -4394,43 +4415,43 @@ function ji(e, t, r) {
|
|
|
4394
4415
|
}, T = () => {
|
|
4395
4416
|
let d = document.createElement("div");
|
|
4396
4417
|
d.innerHTML = h, m && m.append(d);
|
|
4397
|
-
},
|
|
4418
|
+
}, C = () => {
|
|
4398
4419
|
window.postMessage({ type: "OpenCalendar", index: l }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
4399
4420
|
};
|
|
4400
|
-
|
|
4421
|
+
xr(() => (Fi(P) && r(7, I = !0), () => {
|
|
4401
4422
|
}));
|
|
4402
4423
|
function $(d) {
|
|
4403
4424
|
be[d ? "unshift" : "push"](() => {
|
|
4404
4425
|
m = d, r(6, m);
|
|
4405
4426
|
});
|
|
4406
4427
|
}
|
|
4407
|
-
const se = () =>
|
|
4428
|
+
const se = () => C();
|
|
4408
4429
|
function H(d) {
|
|
4409
4430
|
be[d ? "unshift" : "push"](() => {
|
|
4410
|
-
|
|
4431
|
+
v = d, r(5, v);
|
|
4411
4432
|
});
|
|
4412
4433
|
}
|
|
4413
4434
|
return e.$$set = (d) => {
|
|
4414
4435
|
"lang" in d && r(10, i = d.lang), "dailybackground" in d && r(0, o = d.dailybackground), "dailyicon" in d && r(1, a = d.dailyicon), "dailyday" in d && r(2, s = d.dailyday), "dailydescription" in d && r(11, h = d.dailydescription), "dailybuttontitle" in d && r(3, u = d.dailybuttontitle), "index" in d && r(4, l = d.index), "mbsource" in d && r(12, f = d.mbsource), "clientstyling" in d && r(13, c = d.clientstyling), "clientstylingurl" in d && r(14, p = d.clientstylingurl), "translationurl" in d && r(15, g = d.translationurl);
|
|
4415
4436
|
}, e.$$.update = () => {
|
|
4416
4437
|
e.$$.dirty & /*lang*/
|
|
4417
|
-
1024 && i &&
|
|
4438
|
+
1024 && i && E(), e.$$.dirty & /*lang, translationurl*/
|
|
4418
4439
|
33792 && i && g && L(), e.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
4419
4440
|
2063 && a && s && h && u && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4420
|
-
8224 && c &&
|
|
4421
|
-
16416 && p &&
|
|
4422
|
-
4128 && f &&
|
|
4441
|
+
8224 && c && v && Ui(v, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4442
|
+
16416 && p && v && Di(v, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4443
|
+
4128 && f && v && Gi(v, `${f}.Style`);
|
|
4423
4444
|
}, [
|
|
4424
4445
|
o,
|
|
4425
4446
|
a,
|
|
4426
4447
|
s,
|
|
4427
4448
|
u,
|
|
4428
4449
|
l,
|
|
4429
|
-
|
|
4450
|
+
v,
|
|
4430
4451
|
m,
|
|
4431
|
-
O,
|
|
4432
|
-
n,
|
|
4433
4452
|
I,
|
|
4453
|
+
n,
|
|
4454
|
+
C,
|
|
4434
4455
|
i,
|
|
4435
4456
|
h,
|
|
4436
4457
|
f,
|
|
@@ -4442,14 +4463,14 @@ function ji(e, t, r) {
|
|
|
4442
4463
|
H
|
|
4443
4464
|
];
|
|
4444
4465
|
}
|
|
4445
|
-
class
|
|
4466
|
+
class Xi extends Ir {
|
|
4446
4467
|
constructor(t) {
|
|
4447
|
-
super(),
|
|
4468
|
+
super(), Or(
|
|
4448
4469
|
this,
|
|
4449
4470
|
t,
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4471
|
+
Vi,
|
|
4472
|
+
ki,
|
|
4473
|
+
Ct,
|
|
4453
4474
|
{
|
|
4454
4475
|
lang: 10,
|
|
4455
4476
|
dailybackground: 0,
|
|
@@ -4463,77 +4484,77 @@ class ki extends Ir {
|
|
|
4463
4484
|
clientstylingurl: 14,
|
|
4464
4485
|
translationurl: 15
|
|
4465
4486
|
},
|
|
4466
|
-
|
|
4487
|
+
ji
|
|
4467
4488
|
);
|
|
4468
4489
|
}
|
|
4469
4490
|
get lang() {
|
|
4470
4491
|
return this.$$.ctx[10];
|
|
4471
4492
|
}
|
|
4472
4493
|
set lang(t) {
|
|
4473
|
-
this.$$set({ lang: t }),
|
|
4494
|
+
this.$$set({ lang: t }), O();
|
|
4474
4495
|
}
|
|
4475
4496
|
get dailybackground() {
|
|
4476
4497
|
return this.$$.ctx[0];
|
|
4477
4498
|
}
|
|
4478
4499
|
set dailybackground(t) {
|
|
4479
|
-
this.$$set({ dailybackground: t }),
|
|
4500
|
+
this.$$set({ dailybackground: t }), O();
|
|
4480
4501
|
}
|
|
4481
4502
|
get dailyicon() {
|
|
4482
4503
|
return this.$$.ctx[1];
|
|
4483
4504
|
}
|
|
4484
4505
|
set dailyicon(t) {
|
|
4485
|
-
this.$$set({ dailyicon: t }),
|
|
4506
|
+
this.$$set({ dailyicon: t }), O();
|
|
4486
4507
|
}
|
|
4487
4508
|
get dailyday() {
|
|
4488
4509
|
return this.$$.ctx[2];
|
|
4489
4510
|
}
|
|
4490
4511
|
set dailyday(t) {
|
|
4491
|
-
this.$$set({ dailyday: t }),
|
|
4512
|
+
this.$$set({ dailyday: t }), O();
|
|
4492
4513
|
}
|
|
4493
4514
|
get dailydescription() {
|
|
4494
4515
|
return this.$$.ctx[11];
|
|
4495
4516
|
}
|
|
4496
4517
|
set dailydescription(t) {
|
|
4497
|
-
this.$$set({ dailydescription: t }),
|
|
4518
|
+
this.$$set({ dailydescription: t }), O();
|
|
4498
4519
|
}
|
|
4499
4520
|
get dailybuttontitle() {
|
|
4500
4521
|
return this.$$.ctx[3];
|
|
4501
4522
|
}
|
|
4502
4523
|
set dailybuttontitle(t) {
|
|
4503
|
-
this.$$set({ dailybuttontitle: t }),
|
|
4524
|
+
this.$$set({ dailybuttontitle: t }), O();
|
|
4504
4525
|
}
|
|
4505
4526
|
get index() {
|
|
4506
4527
|
return this.$$.ctx[4];
|
|
4507
4528
|
}
|
|
4508
4529
|
set index(t) {
|
|
4509
|
-
this.$$set({ index: t }),
|
|
4530
|
+
this.$$set({ index: t }), O();
|
|
4510
4531
|
}
|
|
4511
4532
|
get mbsource() {
|
|
4512
4533
|
return this.$$.ctx[12];
|
|
4513
4534
|
}
|
|
4514
4535
|
set mbsource(t) {
|
|
4515
|
-
this.$$set({ mbsource: t }),
|
|
4536
|
+
this.$$set({ mbsource: t }), O();
|
|
4516
4537
|
}
|
|
4517
4538
|
get clientstyling() {
|
|
4518
4539
|
return this.$$.ctx[13];
|
|
4519
4540
|
}
|
|
4520
4541
|
set clientstyling(t) {
|
|
4521
|
-
this.$$set({ clientstyling: t }),
|
|
4542
|
+
this.$$set({ clientstyling: t }), O();
|
|
4522
4543
|
}
|
|
4523
4544
|
get clientstylingurl() {
|
|
4524
4545
|
return this.$$.ctx[14];
|
|
4525
4546
|
}
|
|
4526
4547
|
set clientstylingurl(t) {
|
|
4527
|
-
this.$$set({ clientstylingurl: t }),
|
|
4548
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4528
4549
|
}
|
|
4529
4550
|
get translationurl() {
|
|
4530
4551
|
return this.$$.ctx[15];
|
|
4531
4552
|
}
|
|
4532
4553
|
set translationurl(t) {
|
|
4533
|
-
this.$$set({ translationurl: t }),
|
|
4554
|
+
this.$$set({ translationurl: t }), O();
|
|
4534
4555
|
}
|
|
4535
4556
|
}
|
|
4536
|
-
Cr(
|
|
4557
|
+
Cr(Xi, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4537
4558
|
export {
|
|
4538
|
-
|
|
4559
|
+
Xi as C
|
|
4539
4560
|
};
|