@everymatrix/casino-lobby 1.77.20 → 1.77.22
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/{CasinoCalendar-C3pSvsEI.js → CasinoCalendar-2Cpj6Bg6.js} +1010 -967
- package/components/{CasinoCalendar-BaRHrsqZ.js → CasinoCalendar-CMIWRUUm.js} +830 -787
- package/components/CasinoCalendar-DV_HGN_d.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-B1_l4M4T.js → CasinoCalendarDailyDetails-B5krFnaT.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-6d86SakT.js → CasinoCalendarDailyDetails-DA7MIM93.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-INcc_seV.cjs → CasinoCalendarDailyDetails-XuqvF6i3.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BPsHrVGL.js → CasinoCalendarDailyItem-BAJJIvIo.js} +2 -2
- package/components/{CasinoCalendarDailyItem-9fdKLN8M.js → CasinoCalendarDailyItem-DY2ge_ta.js} +2 -2
- package/components/{CasinoCalendarDailyItem-BN2KM5Gp.cjs → CasinoCalendarDailyItem-Q79--gB8.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DpOffi1k.cjs → CasinoCategoriesSlider-Bj5sxBdL.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DDoAYt95.js → CasinoCategoriesSlider-D8ihGze3.js} +2 -2
- package/components/{CasinoCategoriesSlider-CzH9TVo_.js → CasinoCategoriesSlider-QFkK1VfK.js} +2 -2
- package/components/{CasinoCollectionsProviders-CoNWJbLk.js → CasinoCollectionsProviders-4Z4WIkbN.js} +1 -1
- package/components/{CasinoCollectionsProviders-BTzXNod2.cjs → CasinoCollectionsProviders-CyhsgC2q.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-aNuX-dXH.js → CasinoCollectionsProviders-KSxevvZ5.js} +1 -1
- package/components/{CasinoFavoritesSection-EzzYOsbp.js → CasinoFavoritesSection-5t-YdXxm.js} +2 -2
- package/components/{CasinoFavoritesSection-i3xssOcY.js → CasinoFavoritesSection-BJE-MQG7.js} +2 -2
- package/components/{CasinoFavoritesSection-D3QAgRf2.cjs → CasinoFavoritesSection-DjiIRQLn.cjs} +1 -1
- package/components/{CasinoFilter-DRE1-LdT.cjs → CasinoFilter-BDFP3doT.cjs} +1 -1
- package/components/{CasinoFilter-Y9mmrNSo.js → CasinoFilter-DqvsdQLm.js} +1 -1
- package/components/{CasinoFilter-4esOoEtu.js → CasinoFilter-nIExzBTm.js} +1 -1
- package/components/{CasinoGameThumbnail-DJWQHVl4.cjs → CasinoGameThumbnail-CRu4wYn9.cjs} +1 -1
- package/components/{CasinoGameThumbnail-BYNboqE1.js → CasinoGameThumbnail-D0NeJLRZ.js} +2 -2
- package/components/{CasinoGameThumbnail-LuY4k75X.js → CasinoGameThumbnail-D913j_wH.js} +2 -2
- package/components/{CasinoGamesCategorySection-BQDlkixf.js → CasinoGamesCategorySection-5LFU5yuj.js} +5 -5
- package/components/{CasinoGamesCategorySection-CNKOrMs2.cjs → CasinoGamesCategorySection-CRaxNGy0.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DaKvnssA.js → CasinoGamesCategorySection-CXzA9Pec.js} +5 -5
- package/components/{CasinoJackpotBanner-uFjb0KJJ.cjs → CasinoJackpotBanner-C2pEv1Zb.cjs} +1 -1
- package/components/{CasinoJackpotBanner-BK2nUSrs.js → CasinoJackpotBanner-EKq86n9z.js} +2 -2
- package/components/{CasinoJackpotBanner-SdntPVvG.js → CasinoJackpotBanner-uWhhU8zz.js} +2 -2
- package/components/{CasinoLastPlayedSection-Cewx5UFs.cjs → CasinoLastPlayedSection-9KTmn4zi.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-5wU566Af.js → CasinoLastPlayedSection-CNaFhDz8.js} +2 -2
- package/components/{CasinoLastPlayedSection-BdcncKTD.js → CasinoLastPlayedSection-O8WbOixZ.js} +2 -2
- package/components/{CasinoLobby-B-sHp2Gv.js → CasinoLobby-BFQ4We_Z.js} +3 -3
- package/components/{CasinoLobby-DmjNahAv.js → CasinoLobby-BgA2Yfeh.js} +3 -3
- package/components/{CasinoLobby-CPX0kbqX.cjs → CasinoLobby-BtMWFSuO.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B-oXZTkj.js → CasinoMostPlayedSection-Akkt-8zb.js} +2 -2
- package/components/{CasinoMostPlayedSection-CC2UHJ-R.cjs → CasinoMostPlayedSection-CCxUcNEd.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-C6MQfW2l.js → CasinoMostPlayedSection-DHre12XW.js} +2 -2
- package/components/{CasinoMyGames-FV1x_pS3.js → CasinoMyGames-6UepUaP6.js} +4 -4
- package/components/{CasinoMyGames-BscVqY85.cjs → CasinoMyGames-C5pDZdI8.cjs} +1 -1
- package/components/{CasinoMyGames-C9mjGo7z.js → CasinoMyGames-CxerF-Yu.js} +4 -4
- package/components/{CasinoPage-CW3Yp7Jz.js → CasinoPage-Baakldpz.js} +11 -11
- package/components/{CasinoPage-7bGkwXkE.cjs → CasinoPage-Dcsv0xP0.cjs} +1 -1
- package/components/{CasinoPage-BpnOiGub.js → CasinoPage-DpOZxl2w.js} +11 -11
- package/components/{CasinoRandomGame-DffyjJLo.js → CasinoRandomGame-C0LeVa_K.js} +1 -1
- package/components/{CasinoRandomGame-mqe2_y7b.cjs → CasinoRandomGame-CN0ZsyT7.cjs} +1 -1
- package/components/{CasinoRandomGame-CuzgRBc0.js → CasinoRandomGame-KqxBje-s.js} +1 -1
- package/components/{CasinoSearch-6xlbhCQe.js → CasinoSearch--k-N3P69.js} +2 -2
- package/components/{CasinoSearch-WBtOYqOI.cjs → CasinoSearch-CpZ8gqIq.cjs} +1 -1
- package/components/{CasinoSearch-Dp6wdLGL.js → CasinoSearch-D6g4OD8M.js} +2 -2
- package/components/{CasinoSlider-BxrMvtmC.js → CasinoSlider-B8GaaNuP.js} +1 -1
- package/components/{CasinoSlider-BEhn3poz.js → CasinoSlider-CBsaRkSG.js} +1 -1
- package/components/{CasinoSlider-Cxt8lScA.cjs → CasinoSlider-DbyJ57E6.cjs} +1 -1
- package/components/{CasinoSort-DTai_mPh.cjs → CasinoSort-5CSg7HAS.cjs} +1 -1
- package/components/{CasinoSort-CeQVayuX.js → CasinoSort-DUnBFMEc.js} +1 -1
- package/components/{CasinoSort-BkgSmvzX.js → CasinoSort-DdVCJHJU.js} +1 -1
- package/components/{CasinoWinners-BBExEvMV.cjs → CasinoWinners-4uQChe2F.cjs} +1 -1
- package/components/{CasinoWinners-BoG6ZXFo.js → CasinoWinners-BO9ep3XD.js} +2 -2
- package/components/{CasinoWinners-C-ajxFvP.js → CasinoWinners-D9hsy2fX.js} +2 -2
- package/components/{GeneralAnimationLoading-BUu2L8L2.js → GeneralAnimationLoading-DKWSPDDc.js} +1 -1
- package/components/{GeneralAnimationLoading-va_LkCtl.cjs → GeneralAnimationLoading-DpT91_iF.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DjcMvJ5A.js → GeneralAnimationLoading-yNj1-Ym_.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CfiV-fsU.js → casino-play-random-game-Cokl6Z0T.js} +1 -1
- package/stencil/{casino-play-random-game-WTMgQ78V.cjs → casino-play-random-game-YkE8NRAS.cjs} +1 -1
- package/stencil/{casino-play-random-game-qcuW8hxM.js → casino-play-random-game-aAxIDx1E.js} +1 -1
- package/stencil/{casino-play-random-game_2-CYMt-B8n.js → casino-play-random-game_2-C4OzRB6p.js} +1 -1
- package/stencil/{casino-play-random-game_2-OBohykCB.cjs → casino-play-random-game_2-CW63Z1oW.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-BK-YJ99s.js → casino-play-random-game_2-DQXJFV3B.js} +1 -1
- package/stencil/{index-328e660d-BPIf0cie.js → index-328e660d-B68qAbuh.js} +170 -170
- package/stencil/{index-328e660d-Ddq5YC3Z.js → index-328e660d-Bw8nOXsd.js} +2 -2
- package/stencil/index-328e660d-r819jp36.cjs +1 -0
- package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
- package/stencil/{ui-image-BGKMDvh6.js → ui-image-2_i-_1cj.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image-2AZlMiHS.js → ui-image-bN_3pDWc.js} +1 -1
- package/stencil/{ui-image-D8iqM9v9.cjs → ui-image-eY8BEG3a.cjs} +1 -1
- package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CasinoCalendar-B-3-MgWt.cjs +0 -19
- package/stencil/index-328e660d-CIcbxWDj.cjs +0 -1
- package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function P() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Er(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function br(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Nt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function st() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function X(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(Nt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Se(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Mt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let fe;
|
|
27
|
-
function
|
|
27
|
+
function io(e, t) {
|
|
28
28
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function xr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Rt(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,19 +39,19 @@ function It(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function Sr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(Rt(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function oo(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = $t(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function $t(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function so(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function to(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ao(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = $t(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function uo(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -81,20 +81,20 @@ function no(e) {
|
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return e &&
|
|
84
|
+
function lo(e) {
|
|
85
|
+
return e && Se(e.destroy) ? e.destroy : P;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function we(e, t) {
|
|
88
88
|
e.appendChild(t);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
91
|
-
const n =
|
|
90
|
+
function wr(e, t, r) {
|
|
91
|
+
const n = Tr(e);
|
|
92
92
|
if (!n.getElementById(t)) {
|
|
93
|
-
const i =
|
|
94
|
-
i.id = t, i.textContent = r,
|
|
93
|
+
const i = $("style");
|
|
94
|
+
i.id = t, i.textContent = r, Hr(n, i);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Tr(e) {
|
|
98
98
|
if (!e)
|
|
99
99
|
return document;
|
|
100
100
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -104,8 +104,8 @@ function _r(e) {
|
|
|
104
104
|
t
|
|
105
105
|
) : e.ownerDocument;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
return
|
|
107
|
+
function Hr(e, t) {
|
|
108
|
+
return we(
|
|
109
109
|
/** @type {Document} */
|
|
110
110
|
e.head || e,
|
|
111
111
|
t
|
|
@@ -114,37 +114,37 @@ function Er(e, t) {
|
|
|
114
114
|
function k(e, t, r) {
|
|
115
115
|
e.insertBefore(t, r || null);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function U(e) {
|
|
118
118
|
e.parentNode && e.parentNode.removeChild(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Br(e, t) {
|
|
121
121
|
for (let r = 0; r < e.length; r += 1)
|
|
122
122
|
e[r] && e[r].d(t);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function $(e) {
|
|
125
125
|
return document.createElement(e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Pr(e) {
|
|
128
128
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function nt(e) {
|
|
131
131
|
return document.createTextNode(e);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function Ar() {
|
|
134
|
+
return nt(" ");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return
|
|
136
|
+
function ho() {
|
|
137
|
+
return nt("");
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function co(e, t, r, n) {
|
|
140
140
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function fo(e) {
|
|
143
143
|
return function(t) {
|
|
144
144
|
return t.preventDefault(), e.call(this, t);
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function po(e) {
|
|
148
148
|
return function(t) {
|
|
149
149
|
return t.stopPropagation(), e.call(this, t);
|
|
150
150
|
};
|
|
@@ -156,23 +156,23 @@ function d(e, t, r) {
|
|
|
156
156
|
const n = t.toLowerCase();
|
|
157
157
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Or(e) {
|
|
160
160
|
return Array.from(e.childNodes);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ir(e, t) {
|
|
163
163
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
164
164
|
t);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function mo(e, t) {
|
|
167
167
|
e.value = t ?? "";
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function bo(e, t, r, n) {
|
|
170
170
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function yo(e, t, r) {
|
|
173
173
|
e.classList.toggle(t, !!r);
|
|
174
174
|
}
|
|
175
|
-
class
|
|
175
|
+
class go {
|
|
176
176
|
/**
|
|
177
177
|
* @private
|
|
178
178
|
* @default false
|
|
@@ -203,10 +203,10 @@ class fo {
|
|
|
203
203
|
* @returns {void}
|
|
204
204
|
*/
|
|
205
205
|
m(t, r, n = null) {
|
|
206
|
-
this.e || (this.is_svg ? this.e =
|
|
206
|
+
this.e || (this.is_svg ? this.e = Pr(
|
|
207
207
|
/** @type {keyof SVGElementTagNameMap} */
|
|
208
208
|
r.nodeName
|
|
209
|
-
) : this.e =
|
|
209
|
+
) : this.e = $(
|
|
210
210
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
211
211
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
212
212
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -239,10 +239,10 @@ class fo {
|
|
|
239
239
|
/**
|
|
240
240
|
* @returns {void} */
|
|
241
241
|
d() {
|
|
242
|
-
this.n.forEach(
|
|
242
|
+
this.n.forEach(U);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Lr(e) {
|
|
246
246
|
const t = {};
|
|
247
247
|
return e.childNodes.forEach(
|
|
248
248
|
/** @param {Element} node */
|
|
@@ -251,79 +251,79 @@ function Br(e) {
|
|
|
251
251
|
}
|
|
252
252
|
), t;
|
|
253
253
|
}
|
|
254
|
-
let
|
|
255
|
-
function
|
|
256
|
-
|
|
254
|
+
let ae;
|
|
255
|
+
function se(e) {
|
|
256
|
+
ae = e;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
if (!
|
|
258
|
+
function Dt() {
|
|
259
|
+
if (!ae)
|
|
260
260
|
throw new Error("Function called outside component initialization");
|
|
261
|
-
return
|
|
261
|
+
return ae;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
|
|
263
|
+
function Cr(e) {
|
|
264
|
+
Dt().$$.on_mount.push(e);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
266
|
+
function _o(e) {
|
|
267
|
+
Dt().$$.on_destroy.push(e);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function vo(e, t) {
|
|
270
270
|
const r = e.$$.callbacks[t.type];
|
|
271
271
|
r && r.slice().forEach((n) => n.call(this, t));
|
|
272
272
|
}
|
|
273
|
-
const q = [],
|
|
273
|
+
const q = [], Ue = [];
|
|
274
274
|
let J = [];
|
|
275
|
-
const
|
|
276
|
-
let
|
|
277
|
-
function
|
|
278
|
-
|
|
275
|
+
const at = [], Ut = /* @__PURE__ */ Promise.resolve();
|
|
276
|
+
let Ge = !1;
|
|
277
|
+
function Gt() {
|
|
278
|
+
Ge || (Ge = !0, Ut.then(M));
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function Eo() {
|
|
281
|
+
return Gt(), Ut;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Fe(e) {
|
|
284
284
|
J.push(e);
|
|
285
285
|
}
|
|
286
|
-
const
|
|
286
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
287
287
|
let Z = 0;
|
|
288
288
|
function M() {
|
|
289
289
|
if (Z !== 0)
|
|
290
290
|
return;
|
|
291
|
-
const e =
|
|
291
|
+
const e = ae;
|
|
292
292
|
do {
|
|
293
293
|
try {
|
|
294
294
|
for (; Z < q.length; ) {
|
|
295
295
|
const t = q[Z];
|
|
296
|
-
Z++,
|
|
296
|
+
Z++, se(t), Nr(t.$$);
|
|
297
297
|
}
|
|
298
298
|
} catch (t) {
|
|
299
299
|
throw q.length = 0, Z = 0, t;
|
|
300
300
|
}
|
|
301
|
-
for (
|
|
302
|
-
|
|
301
|
+
for (se(null), q.length = 0, Z = 0; Ue.length; )
|
|
302
|
+
Ue.pop()();
|
|
303
303
|
for (let t = 0; t < J.length; t += 1) {
|
|
304
304
|
const r = J[t];
|
|
305
|
-
|
|
305
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
306
306
|
}
|
|
307
307
|
J.length = 0;
|
|
308
308
|
} while (q.length);
|
|
309
|
-
for (;
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
for (; at.length; )
|
|
310
|
+
at.pop()();
|
|
311
|
+
Ge = !1, Ie.clear(), se(e);
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Nr(e) {
|
|
314
314
|
if (e.fragment !== null) {
|
|
315
315
|
e.update(), X(e.before_update);
|
|
316
316
|
const t = e.dirty;
|
|
317
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
317
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Mr(e) {
|
|
321
321
|
const t = [], r = [];
|
|
322
322
|
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
|
323
323
|
}
|
|
324
324
|
const me = /* @__PURE__ */ new Set();
|
|
325
325
|
let V;
|
|
326
|
-
function
|
|
326
|
+
function xo() {
|
|
327
327
|
V = {
|
|
328
328
|
r: 0,
|
|
329
329
|
c: [],
|
|
@@ -331,13 +331,13 @@ function yo() {
|
|
|
331
331
|
// parent group
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function So() {
|
|
335
335
|
V.r || X(V.c), V = V.p;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Ft(e, t) {
|
|
338
338
|
e && e.i && (me.delete(e), e.i(t));
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Rr(e, t, r, n) {
|
|
341
341
|
if (e && e.o) {
|
|
342
342
|
if (me.has(e))
|
|
343
343
|
return;
|
|
@@ -347,61 +347,61 @@ function Ir(e, t, r, n) {
|
|
|
347
347
|
} else
|
|
348
348
|
n && n();
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function ut(e) {
|
|
351
351
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function wo(e, t) {
|
|
354
354
|
e.d(1), t.delete(e.key);
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
|
|
356
|
+
function To(e, t) {
|
|
357
|
+
Rr(e, 1, 1, () => {
|
|
358
358
|
t.delete(e.key);
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ho(e, t, r, n, i, o, a, s, l, u, h, f) {
|
|
362
362
|
let c = e.length, m = o.length, b = c;
|
|
363
363
|
const g = {};
|
|
364
364
|
for (; b--; )
|
|
365
365
|
g[e[b].key] = b;
|
|
366
366
|
const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
|
|
367
367
|
for (b = m; b--; ) {
|
|
368
|
-
const
|
|
368
|
+
const E = f(i, o, b), I = r(E);
|
|
369
369
|
let B = a.get(I);
|
|
370
|
-
B ? w.push(() => B.p(
|
|
370
|
+
B ? w.push(() => B.p(E, t)) : (B = u(I, E), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
|
|
371
371
|
}
|
|
372
372
|
const C = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
|
373
|
-
function N(
|
|
374
|
-
|
|
373
|
+
function N(E) {
|
|
374
|
+
Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
|
|
375
375
|
}
|
|
376
376
|
for (; c && m; ) {
|
|
377
|
-
const
|
|
378
|
-
|
|
377
|
+
const E = S[m - 1], I = e[c - 1], B = E.key, z = I.key;
|
|
378
|
+
E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(B) || C.has(B) ? N(E) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), N(E)) : (C.add(z), c--) : (l(I, a), c--);
|
|
379
379
|
}
|
|
380
380
|
for (; c--; ) {
|
|
381
|
-
const
|
|
382
|
-
A.has(
|
|
381
|
+
const E = e[c];
|
|
382
|
+
A.has(E.key) || l(E, a);
|
|
383
383
|
}
|
|
384
384
|
for (; m; )
|
|
385
385
|
N(S[m - 1]);
|
|
386
386
|
return X(w), S;
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function $r(e, t, r) {
|
|
389
389
|
const { fragment: n, after_update: i } = e.$$;
|
|
390
|
-
n && n.m(t, r),
|
|
391
|
-
const o = e.$$.on_mount.map(
|
|
390
|
+
n && n.m(t, r), Fe(() => {
|
|
391
|
+
const o = e.$$.on_mount.map(Nt).filter(Se);
|
|
392
392
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
|
|
393
|
-
}), i.forEach(
|
|
393
|
+
}), i.forEach(Fe);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function Dr(e, t) {
|
|
396
396
|
const r = e.$$;
|
|
397
|
-
r.fragment !== null && (
|
|
397
|
+
r.fragment !== null && (Mr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
399
|
+
function Ur(e, t) {
|
|
400
|
+
e.$$.dirty[0] === -1 && (q.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
const l =
|
|
404
|
-
|
|
402
|
+
function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
403
|
+
const l = ae;
|
|
404
|
+
se(e);
|
|
405
405
|
const u = e.$$ = {
|
|
406
406
|
fragment: null,
|
|
407
407
|
ctx: [],
|
|
@@ -409,7 +409,7 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
409
409
|
props: o,
|
|
410
410
|
update: P,
|
|
411
411
|
not_equal: i,
|
|
412
|
-
bound:
|
|
412
|
+
bound: st(),
|
|
413
413
|
// lifecycle
|
|
414
414
|
on_mount: [],
|
|
415
415
|
on_destroy: [],
|
|
@@ -418,7 +418,7 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
418
418
|
after_update: [],
|
|
419
419
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
420
420
|
// everything else
|
|
421
|
-
callbacks:
|
|
421
|
+
callbacks: st(),
|
|
422
422
|
dirty: s,
|
|
423
423
|
skip_bound: !1,
|
|
424
424
|
root: t.target || l.$$.root
|
|
@@ -427,19 +427,19 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
427
427
|
let h = !1;
|
|
428
428
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
429
429
|
const b = m.length ? m[0] : c;
|
|
430
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h &&
|
|
430
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ur(e, f)), c;
|
|
431
431
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
432
432
|
if (t.hydrate) {
|
|
433
|
-
const f =
|
|
434
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
433
|
+
const f = Or(t.target);
|
|
434
|
+
u.fragment && u.fragment.l(f), f.forEach(U);
|
|
435
435
|
} else
|
|
436
436
|
u.fragment && u.fragment.c();
|
|
437
|
-
t.intro &&
|
|
437
|
+
t.intro && Ft(e.$$.fragment), $r(e, t.target, t.anchor), M();
|
|
438
438
|
}
|
|
439
|
-
|
|
439
|
+
se(l);
|
|
440
440
|
}
|
|
441
|
-
let
|
|
442
|
-
typeof HTMLElement == "function" && (
|
|
441
|
+
let jt;
|
|
442
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
443
443
|
/** The Svelte component constructor */
|
|
444
444
|
$$ctor;
|
|
445
445
|
/** Slots */
|
|
@@ -481,7 +481,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
481
481
|
let o;
|
|
482
482
|
return {
|
|
483
483
|
c: function() {
|
|
484
|
-
o =
|
|
484
|
+
o = $("slot"), i !== "default" && j(o, "name", i);
|
|
485
485
|
},
|
|
486
486
|
/**
|
|
487
487
|
* @param {HTMLElement} target
|
|
@@ -491,14 +491,14 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
491
491
|
k(l, o, u);
|
|
492
492
|
},
|
|
493
493
|
d: function(l) {
|
|
494
|
-
l &&
|
|
494
|
+
l && U(o);
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
497
|
};
|
|
498
498
|
};
|
|
499
499
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
500
500
|
return;
|
|
501
|
-
const t = {}, r =
|
|
501
|
+
const t = {}, r = Lr(this);
|
|
502
502
|
for (const i of this.$$s)
|
|
503
503
|
i in r && (t[i] = [e(i)]);
|
|
504
504
|
for (const i of this.attributes) {
|
|
@@ -585,8 +585,8 @@ function be(e, t, r, n) {
|
|
|
585
585
|
return t;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
let a = class extends
|
|
588
|
+
function Fr(e, t, r, n, i, o) {
|
|
589
|
+
let a = class extends jt {
|
|
590
590
|
constructor() {
|
|
591
591
|
super(e, r, i), this.$$p_d = t;
|
|
592
592
|
}
|
|
@@ -614,7 +614,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
614
614
|
}), e.element = /** @type {any} */
|
|
615
615
|
a, a;
|
|
616
616
|
}
|
|
617
|
-
class
|
|
617
|
+
class jr {
|
|
618
618
|
/**
|
|
619
619
|
* ### PRIVATE API
|
|
620
620
|
*
|
|
@@ -633,7 +633,7 @@ class $r {
|
|
|
633
633
|
$$set = void 0;
|
|
634
634
|
/** @returns {void} */
|
|
635
635
|
$destroy() {
|
|
636
|
-
|
|
636
|
+
Dr(this, 1), this.$destroy = P;
|
|
637
637
|
}
|
|
638
638
|
/**
|
|
639
639
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -642,7 +642,7 @@ class $r {
|
|
|
642
642
|
* @returns {() => void}
|
|
643
643
|
*/
|
|
644
644
|
$on(t, r) {
|
|
645
|
-
if (!
|
|
645
|
+
if (!Se(r))
|
|
646
646
|
return P;
|
|
647
647
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
648
648
|
return n.push(r), () => {
|
|
@@ -655,11 +655,11 @@ class $r {
|
|
|
655
655
|
* @returns {void}
|
|
656
656
|
*/
|
|
657
657
|
$set(t) {
|
|
658
|
-
this.$$set && !
|
|
658
|
+
this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
const
|
|
662
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
661
|
+
const kr = "4";
|
|
662
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
|
|
663
663
|
/*! *****************************************************************************
|
|
664
664
|
Copyright (c) Microsoft Corporation.
|
|
665
665
|
|
|
@@ -674,43 +674,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
674
674
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
675
675
|
PERFORMANCE OF THIS SOFTWARE.
|
|
676
676
|
***************************************************************************** */
|
|
677
|
-
var
|
|
678
|
-
return
|
|
677
|
+
var je = function(e, t) {
|
|
678
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
679
679
|
r.__proto__ = n;
|
|
680
680
|
} || function(r, n) {
|
|
681
681
|
for (var i in n)
|
|
682
682
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
683
|
-
},
|
|
683
|
+
}, je(e, t);
|
|
684
684
|
};
|
|
685
|
-
function
|
|
685
|
+
function he(e, t) {
|
|
686
686
|
if (typeof t != "function" && t !== null)
|
|
687
687
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
688
|
-
|
|
688
|
+
je(e, t);
|
|
689
689
|
function r() {
|
|
690
690
|
this.constructor = e;
|
|
691
691
|
}
|
|
692
692
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
693
693
|
}
|
|
694
|
-
|
|
695
|
-
return _ = Object.assign || function(t) {
|
|
696
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
697
|
-
r = arguments[n];
|
|
698
|
-
for (var o in r)
|
|
699
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
700
|
-
}
|
|
701
|
-
return t;
|
|
702
|
-
}, _.apply(this, arguments);
|
|
703
|
-
};
|
|
704
|
-
function Ur(e, t) {
|
|
705
|
-
var r = {};
|
|
706
|
-
for (var n in e)
|
|
707
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
708
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
709
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
710
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
711
|
-
return r;
|
|
712
|
-
}
|
|
713
|
-
function Ge(e) {
|
|
694
|
+
function ke(e) {
|
|
714
695
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
715
696
|
if (r)
|
|
716
697
|
return r.call(e);
|
|
@@ -722,7 +703,7 @@ function Ge(e) {
|
|
|
722
703
|
};
|
|
723
704
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
724
705
|
}
|
|
725
|
-
function
|
|
706
|
+
function Ve(e, t) {
|
|
726
707
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
727
708
|
if (!r)
|
|
728
709
|
return e;
|
|
@@ -742,22 +723,22 @@ function Fe(e, t) {
|
|
|
742
723
|
}
|
|
743
724
|
return o;
|
|
744
725
|
}
|
|
745
|
-
function
|
|
746
|
-
if (
|
|
726
|
+
function Xe(e, t, r) {
|
|
727
|
+
if (arguments.length === 2)
|
|
747
728
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
748
729
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
749
730
|
return e.concat(o || t);
|
|
750
731
|
}
|
|
751
|
-
function
|
|
732
|
+
function D(e) {
|
|
752
733
|
return typeof e == "function";
|
|
753
734
|
}
|
|
754
|
-
function
|
|
735
|
+
function kt(e) {
|
|
755
736
|
var t = function(n) {
|
|
756
737
|
Error.call(n), n.stack = new Error().stack;
|
|
757
738
|
}, r = e(t);
|
|
758
739
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
759
740
|
}
|
|
760
|
-
var
|
|
741
|
+
var Le = kt(function(e) {
|
|
761
742
|
return function(r) {
|
|
762
743
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
763
744
|
` + r.map(function(n, i) {
|
|
@@ -766,13 +747,13 @@ var Oe = Dt(function(e) {
|
|
|
766
747
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
767
748
|
};
|
|
768
749
|
});
|
|
769
|
-
function
|
|
750
|
+
function We(e, t) {
|
|
770
751
|
if (e) {
|
|
771
752
|
var r = e.indexOf(t);
|
|
772
753
|
0 <= r && e.splice(r, 1);
|
|
773
754
|
}
|
|
774
755
|
}
|
|
775
|
-
var
|
|
756
|
+
var Te = function() {
|
|
776
757
|
function e(t) {
|
|
777
758
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
778
759
|
}
|
|
@@ -784,7 +765,7 @@ var we = function() {
|
|
|
784
765
|
if (a)
|
|
785
766
|
if (this._parentage = null, Array.isArray(a))
|
|
786
767
|
try {
|
|
787
|
-
for (var s =
|
|
768
|
+
for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
|
|
788
769
|
var u = l.value;
|
|
789
770
|
u.remove(this);
|
|
790
771
|
}
|
|
@@ -801,22 +782,22 @@ var we = function() {
|
|
|
801
782
|
else
|
|
802
783
|
a.remove(this);
|
|
803
784
|
var h = this.initialTeardown;
|
|
804
|
-
if (
|
|
785
|
+
if (D(h))
|
|
805
786
|
try {
|
|
806
787
|
h();
|
|
807
788
|
} catch (g) {
|
|
808
|
-
o = g instanceof
|
|
789
|
+
o = g instanceof Le ? g.errors : [g];
|
|
809
790
|
}
|
|
810
791
|
var f = this._finalizers;
|
|
811
792
|
if (f) {
|
|
812
793
|
this._finalizers = null;
|
|
813
794
|
try {
|
|
814
|
-
for (var c =
|
|
795
|
+
for (var c = ke(f), m = c.next(); !m.done; m = c.next()) {
|
|
815
796
|
var b = m.value;
|
|
816
797
|
try {
|
|
817
|
-
|
|
798
|
+
lt(b);
|
|
818
799
|
} catch (g) {
|
|
819
|
-
o = o ?? [], g instanceof
|
|
800
|
+
o = o ?? [], g instanceof Le ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
|
|
820
801
|
}
|
|
821
802
|
}
|
|
822
803
|
} catch (g) {
|
|
@@ -831,13 +812,13 @@ var we = function() {
|
|
|
831
812
|
}
|
|
832
813
|
}
|
|
833
814
|
if (o)
|
|
834
|
-
throw new
|
|
815
|
+
throw new Le(o);
|
|
835
816
|
}
|
|
836
817
|
}, e.prototype.add = function(t) {
|
|
837
818
|
var r;
|
|
838
819
|
if (t && t !== this)
|
|
839
820
|
if (this.closed)
|
|
840
|
-
|
|
821
|
+
lt(t);
|
|
841
822
|
else {
|
|
842
823
|
if (t instanceof e) {
|
|
843
824
|
if (t.closed || t._hasParent(this))
|
|
@@ -854,52 +835,52 @@ var we = function() {
|
|
|
854
835
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
855
836
|
}, e.prototype._removeParent = function(t) {
|
|
856
837
|
var r = this._parentage;
|
|
857
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
838
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
858
839
|
}, e.prototype.remove = function(t) {
|
|
859
840
|
var r = this._finalizers;
|
|
860
|
-
r &&
|
|
841
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
861
842
|
}, e.EMPTY = function() {
|
|
862
843
|
var t = new e();
|
|
863
844
|
return t.closed = !0, t;
|
|
864
845
|
}(), e;
|
|
865
|
-
}(),
|
|
866
|
-
function
|
|
867
|
-
return e instanceof
|
|
846
|
+
}(), Vt = Te.EMPTY;
|
|
847
|
+
function Xt(e) {
|
|
848
|
+
return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
868
849
|
}
|
|
869
|
-
function
|
|
870
|
-
|
|
850
|
+
function lt(e) {
|
|
851
|
+
D(e) ? e() : e.unsubscribe();
|
|
871
852
|
}
|
|
872
|
-
var
|
|
853
|
+
var Vr = {
|
|
873
854
|
Promise: void 0
|
|
874
|
-
},
|
|
855
|
+
}, Xr = {
|
|
875
856
|
setTimeout: function(e, t) {
|
|
876
857
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
877
858
|
r[n - 2] = arguments[n];
|
|
878
|
-
return setTimeout.apply(void 0,
|
|
859
|
+
return setTimeout.apply(void 0, Xe([e, t], Ve(r)));
|
|
879
860
|
},
|
|
880
861
|
clearTimeout: function(e) {
|
|
881
862
|
return clearTimeout(e);
|
|
882
863
|
},
|
|
883
864
|
delegate: void 0
|
|
884
865
|
};
|
|
885
|
-
function
|
|
886
|
-
|
|
866
|
+
function Wr(e) {
|
|
867
|
+
Xr.setTimeout(function() {
|
|
887
868
|
throw e;
|
|
888
869
|
});
|
|
889
870
|
}
|
|
890
|
-
function
|
|
871
|
+
function ht() {
|
|
891
872
|
}
|
|
892
873
|
function ye(e) {
|
|
893
874
|
e();
|
|
894
875
|
}
|
|
895
|
-
var
|
|
896
|
-
|
|
876
|
+
var Wt = function(e) {
|
|
877
|
+
he(t, e);
|
|
897
878
|
function t(r) {
|
|
898
879
|
var n = e.call(this) || this;
|
|
899
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
880
|
+
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = Qr, n;
|
|
900
881
|
}
|
|
901
882
|
return t.create = function(r, n, i) {
|
|
902
|
-
return new
|
|
883
|
+
return new ze(r, n, i);
|
|
903
884
|
}, t.prototype.next = function(r) {
|
|
904
885
|
this.isStopped || this._next(r);
|
|
905
886
|
}, t.prototype.error = function(r) {
|
|
@@ -923,7 +904,7 @@ var Ft = function(e) {
|
|
|
923
904
|
this.unsubscribe();
|
|
924
905
|
}
|
|
925
906
|
}, t;
|
|
926
|
-
}(
|
|
907
|
+
}(Te), zr = function() {
|
|
927
908
|
function e(t) {
|
|
928
909
|
this.partialObserver = t;
|
|
929
910
|
}
|
|
@@ -954,43 +935,43 @@ var Ft = function(e) {
|
|
|
954
935
|
de(r);
|
|
955
936
|
}
|
|
956
937
|
}, e;
|
|
957
|
-
}(),
|
|
958
|
-
|
|
938
|
+
}(), ze = function(e) {
|
|
939
|
+
he(t, e);
|
|
959
940
|
function t(r, n, i) {
|
|
960
941
|
var o = e.call(this) || this, a;
|
|
961
|
-
return
|
|
942
|
+
return D(r) || !r ? a = {
|
|
962
943
|
next: r ?? void 0,
|
|
963
944
|
error: n ?? void 0,
|
|
964
945
|
complete: i ?? void 0
|
|
965
|
-
} : a = r, o.destination = new
|
|
946
|
+
} : a = r, o.destination = new zr(a), o;
|
|
966
947
|
}
|
|
967
948
|
return t;
|
|
968
|
-
}(
|
|
949
|
+
}(Wt);
|
|
969
950
|
function de(e) {
|
|
970
|
-
|
|
951
|
+
Wr(e);
|
|
971
952
|
}
|
|
972
|
-
function
|
|
953
|
+
function Zr(e) {
|
|
973
954
|
throw e;
|
|
974
955
|
}
|
|
975
|
-
var
|
|
956
|
+
var Qr = {
|
|
976
957
|
closed: !0,
|
|
977
|
-
next:
|
|
978
|
-
error:
|
|
979
|
-
complete:
|
|
980
|
-
},
|
|
958
|
+
next: ht,
|
|
959
|
+
error: Zr,
|
|
960
|
+
complete: ht
|
|
961
|
+
}, qr = function() {
|
|
981
962
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
982
963
|
}();
|
|
983
|
-
function
|
|
964
|
+
function Jr(e) {
|
|
984
965
|
return e;
|
|
985
966
|
}
|
|
986
|
-
function
|
|
987
|
-
return e.length === 0 ?
|
|
967
|
+
function Yr(e) {
|
|
968
|
+
return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
|
|
988
969
|
return e.reduce(function(n, i) {
|
|
989
970
|
return i(n);
|
|
990
971
|
}, r);
|
|
991
972
|
};
|
|
992
973
|
}
|
|
993
|
-
var
|
|
974
|
+
var ct = function() {
|
|
994
975
|
function e(t) {
|
|
995
976
|
t && (this._subscribe = t);
|
|
996
977
|
}
|
|
@@ -998,7 +979,7 @@ var st = function() {
|
|
|
998
979
|
var r = new e();
|
|
999
980
|
return r.source = this, r.operator = t, r;
|
|
1000
981
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1001
|
-
var i = this, o =
|
|
982
|
+
var i = this, o = en(t) ? t : new ze(t, r, n);
|
|
1002
983
|
return ye(function() {
|
|
1003
984
|
var a = i, s = a.operator, l = a.source;
|
|
1004
985
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1011,8 +992,8 @@ var st = function() {
|
|
|
1011
992
|
}
|
|
1012
993
|
}, e.prototype.forEach = function(t, r) {
|
|
1013
994
|
var n = this;
|
|
1014
|
-
return r =
|
|
1015
|
-
var a = new
|
|
995
|
+
return r = ft(r), new r(function(i, o) {
|
|
996
|
+
var a = new ze({
|
|
1016
997
|
next: function(s) {
|
|
1017
998
|
try {
|
|
1018
999
|
t(s);
|
|
@@ -1028,15 +1009,15 @@ var st = function() {
|
|
|
1028
1009
|
}, e.prototype._subscribe = function(t) {
|
|
1029
1010
|
var r;
|
|
1030
1011
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1031
|
-
}, e.prototype[
|
|
1012
|
+
}, e.prototype[qr] = function() {
|
|
1032
1013
|
return this;
|
|
1033
1014
|
}, e.prototype.pipe = function() {
|
|
1034
1015
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1035
1016
|
t[r] = arguments[r];
|
|
1036
|
-
return
|
|
1017
|
+
return Yr(t)(this);
|
|
1037
1018
|
}, e.prototype.toPromise = function(t) {
|
|
1038
1019
|
var r = this;
|
|
1039
|
-
return t =
|
|
1020
|
+
return t = ft(t), new t(function(n, i) {
|
|
1040
1021
|
var o;
|
|
1041
1022
|
r.subscribe(function(a) {
|
|
1042
1023
|
return o = a;
|
|
@@ -1050,32 +1031,32 @@ var st = function() {
|
|
|
1050
1031
|
return new e(t);
|
|
1051
1032
|
}, e;
|
|
1052
1033
|
}();
|
|
1053
|
-
function
|
|
1034
|
+
function ft(e) {
|
|
1054
1035
|
var t;
|
|
1055
|
-
return (t = e ??
|
|
1036
|
+
return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1056
1037
|
}
|
|
1057
|
-
function
|
|
1058
|
-
return e &&
|
|
1038
|
+
function Kr(e) {
|
|
1039
|
+
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
1059
1040
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return e && e instanceof
|
|
1041
|
+
function en(e) {
|
|
1042
|
+
return e && e instanceof Wt || Kr(e) && Xt(e);
|
|
1062
1043
|
}
|
|
1063
|
-
var
|
|
1044
|
+
var tn = kt(function(e) {
|
|
1064
1045
|
return function() {
|
|
1065
1046
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1066
1047
|
};
|
|
1067
|
-
}),
|
|
1068
|
-
|
|
1048
|
+
}), zt = function(e) {
|
|
1049
|
+
he(t, e);
|
|
1069
1050
|
function t() {
|
|
1070
1051
|
var r = e.call(this) || this;
|
|
1071
1052
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1072
1053
|
}
|
|
1073
1054
|
return t.prototype.lift = function(r) {
|
|
1074
|
-
var n = new
|
|
1055
|
+
var n = new dt(this, this);
|
|
1075
1056
|
return n.operator = r, n;
|
|
1076
1057
|
}, t.prototype._throwIfClosed = function() {
|
|
1077
1058
|
if (this.closed)
|
|
1078
|
-
throw new
|
|
1059
|
+
throw new tn();
|
|
1079
1060
|
}, t.prototype.next = function(r) {
|
|
1080
1061
|
var n = this;
|
|
1081
1062
|
ye(function() {
|
|
@@ -1083,7 +1064,7 @@ var Jr = Dt(function(e) {
|
|
|
1083
1064
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1084
1065
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1085
1066
|
try {
|
|
1086
|
-
for (var a =
|
|
1067
|
+
for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1087
1068
|
var l = s.value;
|
|
1088
1069
|
l.next(r);
|
|
1089
1070
|
}
|
|
@@ -1132,20 +1113,20 @@ var Jr = Dt(function(e) {
|
|
|
1132
1113
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1133
1114
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1134
1115
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1135
|
-
return o || a ?
|
|
1136
|
-
n.currentObservers = null,
|
|
1116
|
+
return o || a ? Vt : (this.currentObservers = null, s.push(r), new Te(function() {
|
|
1117
|
+
n.currentObservers = null, We(s, r);
|
|
1137
1118
|
}));
|
|
1138
1119
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1139
1120
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1140
1121
|
i ? r.error(o) : a && r.complete();
|
|
1141
1122
|
}, t.prototype.asObservable = function() {
|
|
1142
|
-
var r = new
|
|
1123
|
+
var r = new ct();
|
|
1143
1124
|
return r.source = this, r;
|
|
1144
1125
|
}, t.create = function(r, n) {
|
|
1145
|
-
return new
|
|
1126
|
+
return new dt(r, n);
|
|
1146
1127
|
}, t;
|
|
1147
|
-
}(
|
|
1148
|
-
|
|
1128
|
+
}(ct), dt = function(e) {
|
|
1129
|
+
he(t, e);
|
|
1149
1130
|
function t(r, n) {
|
|
1150
1131
|
var i = e.call(this) || this;
|
|
1151
1132
|
return i.destination = r, i.source = n, i;
|
|
@@ -1161,17 +1142,17 @@ var Jr = Dt(function(e) {
|
|
|
1161
1142
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1162
1143
|
}, t.prototype._subscribe = function(r) {
|
|
1163
1144
|
var n, i;
|
|
1164
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1145
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
|
|
1165
1146
|
}, t;
|
|
1166
|
-
}(
|
|
1147
|
+
}(zt), Zt = {
|
|
1167
1148
|
now: function() {
|
|
1168
|
-
return (
|
|
1149
|
+
return (Zt.delegate || Date).now();
|
|
1169
1150
|
},
|
|
1170
1151
|
delegate: void 0
|
|
1171
|
-
},
|
|
1172
|
-
|
|
1152
|
+
}, rn = function(e) {
|
|
1153
|
+
he(t, e);
|
|
1173
1154
|
function t(r, n, i) {
|
|
1174
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1155
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
|
1175
1156
|
var o = e.call(this) || this;
|
|
1176
1157
|
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;
|
|
1177
1158
|
}
|
|
@@ -1191,24 +1172,24 @@ var Jr = Dt(function(e) {
|
|
|
1191
1172
|
u && o.splice(0, u + 1);
|
|
1192
1173
|
}
|
|
1193
1174
|
}, t;
|
|
1194
|
-
}(
|
|
1195
|
-
const
|
|
1196
|
-
if (
|
|
1197
|
-
const r = new
|
|
1198
|
-
|
|
1175
|
+
}(zt);
|
|
1176
|
+
const pt = [], mt = {}, nn = (e, t = 0) => {
|
|
1177
|
+
if (pt.indexOf(e) == -1) {
|
|
1178
|
+
const r = new rn(t);
|
|
1179
|
+
mt[e] = r, pt.push(e);
|
|
1199
1180
|
}
|
|
1200
|
-
return
|
|
1181
|
+
return mt[e];
|
|
1201
1182
|
}, Q = [];
|
|
1202
|
-
function
|
|
1183
|
+
function on(e, t) {
|
|
1203
1184
|
return {
|
|
1204
|
-
subscribe:
|
|
1185
|
+
subscribe: He(e, t).subscribe
|
|
1205
1186
|
};
|
|
1206
1187
|
}
|
|
1207
|
-
function
|
|
1188
|
+
function He(e, t = P) {
|
|
1208
1189
|
let r;
|
|
1209
1190
|
const n = /* @__PURE__ */ new Set();
|
|
1210
1191
|
function i(s) {
|
|
1211
|
-
if (
|
|
1192
|
+
if (Mt(e, s) && (e = s, r)) {
|
|
1212
1193
|
const l = !Q.length;
|
|
1213
1194
|
for (const u of n)
|
|
1214
1195
|
u[1](), Q.push(u, e);
|
|
@@ -1230,12 +1211,12 @@ function Te(e, t = P) {
|
|
|
1230
1211
|
}
|
|
1231
1212
|
return { set: i, update: o, subscribe: a };
|
|
1232
1213
|
}
|
|
1233
|
-
function
|
|
1214
|
+
function re(e, t, r) {
|
|
1234
1215
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1235
1216
|
if (!i.every(Boolean))
|
|
1236
1217
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1237
1218
|
const o = t.length < 2;
|
|
1238
|
-
return
|
|
1219
|
+
return on(r, (a, s) => {
|
|
1239
1220
|
let l = !1;
|
|
1240
1221
|
const u = [];
|
|
1241
1222
|
let h = 0, f = P;
|
|
@@ -1244,9 +1225,9 @@ function ne(e, t, r) {
|
|
|
1244
1225
|
return;
|
|
1245
1226
|
f();
|
|
1246
1227
|
const b = t(n ? u[0] : u, a, s);
|
|
1247
|
-
o ? a(b) : f =
|
|
1228
|
+
o ? a(b) : f = Se(b) ? b : P;
|
|
1248
1229
|
}, m = i.map(
|
|
1249
|
-
(b, g) =>
|
|
1230
|
+
(b, g) => Rt(
|
|
1250
1231
|
b,
|
|
1251
1232
|
(S) => {
|
|
1252
1233
|
u[g] = S, h &= ~(1 << g), l && c();
|
|
@@ -1261,111 +1242,153 @@ function ne(e, t, r) {
|
|
|
1261
1242
|
};
|
|
1262
1243
|
});
|
|
1263
1244
|
}
|
|
1264
|
-
function
|
|
1245
|
+
function sn(e) {
|
|
1265
1246
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1266
1247
|
}
|
|
1267
|
-
var
|
|
1268
|
-
return
|
|
1248
|
+
var an = function(t) {
|
|
1249
|
+
return un(t) && !ln(t);
|
|
1269
1250
|
};
|
|
1270
|
-
function
|
|
1251
|
+
function un(e) {
|
|
1271
1252
|
return !!e && typeof e == "object";
|
|
1272
1253
|
}
|
|
1273
|
-
function
|
|
1254
|
+
function ln(e) {
|
|
1274
1255
|
var t = Object.prototype.toString.call(e);
|
|
1275
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1256
|
+
return t === "[object RegExp]" || t === "[object Date]" || fn(e);
|
|
1276
1257
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1279
|
-
return e.$$typeof ===
|
|
1258
|
+
var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
|
|
1259
|
+
function fn(e) {
|
|
1260
|
+
return e.$$typeof === cn;
|
|
1280
1261
|
}
|
|
1281
|
-
function
|
|
1262
|
+
function dn(e) {
|
|
1282
1263
|
return Array.isArray(e) ? [] : {};
|
|
1283
1264
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1265
|
+
function ue(e, t) {
|
|
1266
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
|
|
1286
1267
|
}
|
|
1287
|
-
function
|
|
1268
|
+
function pn(e, t, r) {
|
|
1288
1269
|
return e.concat(t).map(function(n) {
|
|
1289
|
-
return
|
|
1270
|
+
return ue(n, r);
|
|
1290
1271
|
});
|
|
1291
1272
|
}
|
|
1292
|
-
function
|
|
1273
|
+
function mn(e, t) {
|
|
1293
1274
|
if (!t.customMerge)
|
|
1294
|
-
return
|
|
1275
|
+
return Y;
|
|
1295
1276
|
var r = t.customMerge(e);
|
|
1296
|
-
return typeof r == "function" ? r :
|
|
1277
|
+
return typeof r == "function" ? r : Y;
|
|
1297
1278
|
}
|
|
1298
|
-
function
|
|
1279
|
+
function bn(e) {
|
|
1299
1280
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1300
1281
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1301
1282
|
}) : [];
|
|
1302
1283
|
}
|
|
1303
|
-
function
|
|
1304
|
-
return Object.keys(e).concat(
|
|
1284
|
+
function bt(e) {
|
|
1285
|
+
return Object.keys(e).concat(bn(e));
|
|
1305
1286
|
}
|
|
1306
|
-
function
|
|
1287
|
+
function Qt(e, t) {
|
|
1307
1288
|
try {
|
|
1308
1289
|
return t in e;
|
|
1309
1290
|
} catch {
|
|
1310
1291
|
return !1;
|
|
1311
1292
|
}
|
|
1312
1293
|
}
|
|
1313
|
-
function
|
|
1314
|
-
return
|
|
1294
|
+
function yn(e, t) {
|
|
1295
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1315
1296
|
}
|
|
1316
|
-
function
|
|
1297
|
+
function gn(e, t, r) {
|
|
1317
1298
|
var n = {};
|
|
1318
|
-
return r.isMergeableObject(e) &&
|
|
1319
|
-
n[i] =
|
|
1320
|
-
}),
|
|
1321
|
-
|
|
1299
|
+
return r.isMergeableObject(e) && bt(e).forEach(function(i) {
|
|
1300
|
+
n[i] = ue(e[i], r);
|
|
1301
|
+
}), bt(t).forEach(function(i) {
|
|
1302
|
+
yn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
|
1322
1303
|
}), n;
|
|
1323
1304
|
}
|
|
1324
|
-
function
|
|
1325
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1305
|
+
function Y(e, t, r) {
|
|
1306
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ue;
|
|
1326
1307
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1327
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1308
|
+
return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
|
|
1328
1309
|
}
|
|
1329
|
-
|
|
1310
|
+
Y.all = function(t, r) {
|
|
1330
1311
|
if (!Array.isArray(t))
|
|
1331
1312
|
throw new Error("first argument should be an array");
|
|
1332
1313
|
return t.reduce(function(n, i) {
|
|
1333
|
-
return
|
|
1314
|
+
return Y(n, i, r);
|
|
1334
1315
|
}, {});
|
|
1335
1316
|
};
|
|
1336
|
-
var
|
|
1337
|
-
const
|
|
1338
|
-
function
|
|
1339
|
-
|
|
1317
|
+
var _n = Y, vn = _n;
|
|
1318
|
+
const En = /* @__PURE__ */ sn(vn);
|
|
1319
|
+
var Ze = function(e, t) {
|
|
1320
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1321
|
+
r.__proto__ = n;
|
|
1322
|
+
} || function(r, n) {
|
|
1323
|
+
for (var i in n)
|
|
1324
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1325
|
+
}, Ze(e, t);
|
|
1326
|
+
};
|
|
1327
|
+
function Be(e, t) {
|
|
1328
|
+
if (typeof t != "function" && t !== null)
|
|
1329
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1330
|
+
Ze(e, t);
|
|
1331
|
+
function r() {
|
|
1332
|
+
this.constructor = e;
|
|
1333
|
+
}
|
|
1334
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1335
|
+
}
|
|
1336
|
+
var R = function() {
|
|
1337
|
+
return R = Object.assign || function(t) {
|
|
1338
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1339
|
+
r = arguments[n];
|
|
1340
|
+
for (var o in r)
|
|
1341
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1342
|
+
}
|
|
1343
|
+
return t;
|
|
1344
|
+
}, R.apply(this, arguments);
|
|
1345
|
+
};
|
|
1346
|
+
function xn(e, t) {
|
|
1347
|
+
var r = {};
|
|
1348
|
+
for (var n in e)
|
|
1349
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1350
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1351
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1352
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1353
|
+
return r;
|
|
1354
|
+
}
|
|
1355
|
+
function Ce(e, t, r) {
|
|
1356
|
+
if (r || arguments.length === 2)
|
|
1357
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1358
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1359
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1360
|
+
}
|
|
1361
|
+
function Ne(e, t) {
|
|
1362
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
|
|
1340
1363
|
return i(e, {
|
|
1341
1364
|
cache: r,
|
|
1342
1365
|
serializer: n
|
|
1343
1366
|
});
|
|
1344
1367
|
}
|
|
1345
|
-
function
|
|
1368
|
+
function Sn(e) {
|
|
1346
1369
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1347
1370
|
}
|
|
1348
|
-
function
|
|
1349
|
-
var i =
|
|
1371
|
+
function wn(e, t, r, n) {
|
|
1372
|
+
var i = Sn(n) ? n : r(n), o = t.get(i);
|
|
1350
1373
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1351
1374
|
}
|
|
1352
|
-
function
|
|
1375
|
+
function qt(e, t, r) {
|
|
1353
1376
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1354
1377
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1355
1378
|
}
|
|
1356
|
-
function
|
|
1379
|
+
function Jt(e, t, r, n, i) {
|
|
1357
1380
|
return r.bind(t, e, n, i);
|
|
1358
1381
|
}
|
|
1359
|
-
function
|
|
1360
|
-
var r = e.length === 1 ?
|
|
1361
|
-
return
|
|
1382
|
+
function Tn(e, t) {
|
|
1383
|
+
var r = e.length === 1 ? wn : qt;
|
|
1384
|
+
return Jt(e, this, r, t.cache.create(), t.serializer);
|
|
1362
1385
|
}
|
|
1363
|
-
function
|
|
1364
|
-
return
|
|
1386
|
+
function Hn(e, t) {
|
|
1387
|
+
return Jt(e, this, qt, t.cache.create(), t.serializer);
|
|
1365
1388
|
}
|
|
1366
|
-
var
|
|
1389
|
+
var Bn = function() {
|
|
1367
1390
|
return JSON.stringify(arguments);
|
|
1368
|
-
},
|
|
1391
|
+
}, Pn = (
|
|
1369
1392
|
/** @class */
|
|
1370
1393
|
function() {
|
|
1371
1394
|
function e() {
|
|
@@ -1377,61 +1400,71 @@ var xn = function() {
|
|
|
1377
1400
|
this.cache[t] = r;
|
|
1378
1401
|
}, e;
|
|
1379
1402
|
}()
|
|
1380
|
-
),
|
|
1403
|
+
), An = {
|
|
1381
1404
|
create: function() {
|
|
1382
|
-
return new
|
|
1405
|
+
return new Pn();
|
|
1383
1406
|
}
|
|
1384
|
-
},
|
|
1385
|
-
variadic:
|
|
1386
|
-
},
|
|
1407
|
+
}, Me = {
|
|
1408
|
+
variadic: Hn
|
|
1409
|
+
}, ve = function() {
|
|
1410
|
+
return ve = Object.assign || function(t) {
|
|
1411
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1412
|
+
r = arguments[n];
|
|
1413
|
+
for (var o in r)
|
|
1414
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1415
|
+
}
|
|
1416
|
+
return t;
|
|
1417
|
+
}, ve.apply(this, arguments);
|
|
1418
|
+
};
|
|
1419
|
+
var y;
|
|
1387
1420
|
(function(e) {
|
|
1388
1421
|
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";
|
|
1389
1422
|
})(y || (y = {}));
|
|
1390
|
-
var
|
|
1423
|
+
var v;
|
|
1391
1424
|
(function(e) {
|
|
1392
1425
|
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";
|
|
1393
|
-
})(
|
|
1394
|
-
var
|
|
1426
|
+
})(v || (v = {}));
|
|
1427
|
+
var K;
|
|
1395
1428
|
(function(e) {
|
|
1396
1429
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1397
|
-
})(
|
|
1398
|
-
function
|
|
1399
|
-
return e.type ===
|
|
1430
|
+
})(K || (K = {}));
|
|
1431
|
+
function yt(e) {
|
|
1432
|
+
return e.type === v.literal;
|
|
1400
1433
|
}
|
|
1401
|
-
function
|
|
1402
|
-
return e.type ===
|
|
1434
|
+
function On(e) {
|
|
1435
|
+
return e.type === v.argument;
|
|
1403
1436
|
}
|
|
1404
|
-
function
|
|
1405
|
-
return e.type ===
|
|
1437
|
+
function Yt(e) {
|
|
1438
|
+
return e.type === v.number;
|
|
1406
1439
|
}
|
|
1407
|
-
function
|
|
1408
|
-
return e.type ===
|
|
1440
|
+
function Kt(e) {
|
|
1441
|
+
return e.type === v.date;
|
|
1409
1442
|
}
|
|
1410
|
-
function
|
|
1411
|
-
return e.type ===
|
|
1443
|
+
function er(e) {
|
|
1444
|
+
return e.type === v.time;
|
|
1412
1445
|
}
|
|
1413
|
-
function
|
|
1414
|
-
return e.type ===
|
|
1446
|
+
function tr(e) {
|
|
1447
|
+
return e.type === v.select;
|
|
1415
1448
|
}
|
|
1416
|
-
function
|
|
1417
|
-
return e.type ===
|
|
1449
|
+
function rr(e) {
|
|
1450
|
+
return e.type === v.plural;
|
|
1418
1451
|
}
|
|
1419
|
-
function
|
|
1420
|
-
return e.type ===
|
|
1452
|
+
function In(e) {
|
|
1453
|
+
return e.type === v.pound;
|
|
1421
1454
|
}
|
|
1422
|
-
function
|
|
1423
|
-
return e.type ===
|
|
1455
|
+
function nr(e) {
|
|
1456
|
+
return e.type === v.tag;
|
|
1424
1457
|
}
|
|
1425
|
-
function
|
|
1426
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1458
|
+
function ir(e) {
|
|
1459
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1427
1460
|
}
|
|
1428
|
-
function
|
|
1429
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1461
|
+
function Qe(e) {
|
|
1462
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1430
1463
|
}
|
|
1431
|
-
var
|
|
1432
|
-
function
|
|
1464
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
|
|
1465
|
+
function Cn(e) {
|
|
1433
1466
|
var t = {};
|
|
1434
|
-
return e.replace(
|
|
1467
|
+
return e.replace(Ln, function(r) {
|
|
1435
1468
|
var n = r.length;
|
|
1436
1469
|
switch (r[0]) {
|
|
1437
1470
|
case "G":
|
|
@@ -1520,11 +1553,21 @@ function Pn(e) {
|
|
|
1520
1553
|
return "";
|
|
1521
1554
|
}), t;
|
|
1522
1555
|
}
|
|
1523
|
-
var
|
|
1524
|
-
function
|
|
1556
|
+
var x = function() {
|
|
1557
|
+
return x = Object.assign || function(t) {
|
|
1558
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1559
|
+
r = arguments[n];
|
|
1560
|
+
for (var o in r)
|
|
1561
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1562
|
+
}
|
|
1563
|
+
return t;
|
|
1564
|
+
}, x.apply(this, arguments);
|
|
1565
|
+
};
|
|
1566
|
+
var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1567
|
+
function Mn(e) {
|
|
1525
1568
|
if (e.length === 0)
|
|
1526
1569
|
throw new Error("Number skeleton cannot be empty");
|
|
1527
|
-
for (var t = e.split(
|
|
1570
|
+
for (var t = e.split(Nn).filter(function(c) {
|
|
1528
1571
|
return c.length > 0;
|
|
1529
1572
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1530
1573
|
var o = i[n], a = o.split("/");
|
|
@@ -1539,17 +1582,17 @@ function On(e) {
|
|
|
1539
1582
|
}
|
|
1540
1583
|
return r;
|
|
1541
1584
|
}
|
|
1542
|
-
function
|
|
1585
|
+
function Rn(e) {
|
|
1543
1586
|
return e.replace(/^(.*?)-/, "");
|
|
1544
1587
|
}
|
|
1545
|
-
var
|
|
1546
|
-
function
|
|
1588
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1589
|
+
function _t(e) {
|
|
1547
1590
|
var t = {};
|
|
1548
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1591
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1549
1592
|
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)), "";
|
|
1550
1593
|
}), t;
|
|
1551
1594
|
}
|
|
1552
|
-
function
|
|
1595
|
+
function ur(e) {
|
|
1553
1596
|
switch (e) {
|
|
1554
1597
|
case "sign-auto":
|
|
1555
1598
|
return {
|
|
@@ -1589,7 +1632,7 @@ function nr(e) {
|
|
|
1589
1632
|
};
|
|
1590
1633
|
}
|
|
1591
1634
|
}
|
|
1592
|
-
function
|
|
1635
|
+
function Dn(e) {
|
|
1593
1636
|
var t;
|
|
1594
1637
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1595
1638
|
notation: "engineering"
|
|
@@ -1597,17 +1640,17 @@ function Cn(e) {
|
|
|
1597
1640
|
notation: "scientific"
|
|
1598
1641
|
}, e = e.slice(1)), t) {
|
|
1599
1642
|
var r = e.slice(0, 2);
|
|
1600
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1643
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1601
1644
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1602
1645
|
t.minimumIntegerDigits = e.length;
|
|
1603
1646
|
}
|
|
1604
1647
|
return t;
|
|
1605
1648
|
}
|
|
1606
|
-
function
|
|
1607
|
-
var t = {}, r =
|
|
1649
|
+
function vt(e) {
|
|
1650
|
+
var t = {}, r = ur(e);
|
|
1608
1651
|
return r || t;
|
|
1609
1652
|
}
|
|
1610
|
-
function
|
|
1653
|
+
function Un(e) {
|
|
1611
1654
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1612
1655
|
var i = n[r];
|
|
1613
1656
|
switch (i.stem) {
|
|
@@ -1631,7 +1674,7 @@ function Nn(e) {
|
|
|
1631
1674
|
continue;
|
|
1632
1675
|
case "measure-unit":
|
|
1633
1676
|
case "unit":
|
|
1634
|
-
t.style = "unit", t.unit =
|
|
1677
|
+
t.style = "unit", t.unit = Rn(i.options[0]);
|
|
1635
1678
|
continue;
|
|
1636
1679
|
case "compact-short":
|
|
1637
1680
|
case "K":
|
|
@@ -1642,13 +1685,13 @@ function Nn(e) {
|
|
|
1642
1685
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1643
1686
|
continue;
|
|
1644
1687
|
case "scientific":
|
|
1645
|
-
t =
|
|
1646
|
-
return
|
|
1688
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1689
|
+
return x(x({}, l), vt(u));
|
|
1647
1690
|
}, {}));
|
|
1648
1691
|
continue;
|
|
1649
1692
|
case "engineering":
|
|
1650
|
-
t =
|
|
1651
|
-
return
|
|
1693
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1694
|
+
return x(x({}, l), vt(u));
|
|
1652
1695
|
}, {}));
|
|
1653
1696
|
continue;
|
|
1654
1697
|
case "notation-simple":
|
|
@@ -1693,7 +1736,7 @@ function Nn(e) {
|
|
|
1693
1736
|
case "integer-width":
|
|
1694
1737
|
if (i.options.length > 1)
|
|
1695
1738
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1696
|
-
i.options[0].replace(
|
|
1739
|
+
i.options[0].replace($n, function(l, u, h, f, c, m) {
|
|
1697
1740
|
if (u)
|
|
1698
1741
|
t.minimumIntegerDigits = h.length;
|
|
1699
1742
|
else {
|
|
@@ -1706,28 +1749,28 @@ function Nn(e) {
|
|
|
1706
1749
|
});
|
|
1707
1750
|
continue;
|
|
1708
1751
|
}
|
|
1709
|
-
if (
|
|
1752
|
+
if (ar.test(i.stem)) {
|
|
1710
1753
|
t.minimumIntegerDigits = i.stem.length;
|
|
1711
1754
|
continue;
|
|
1712
1755
|
}
|
|
1713
|
-
if (
|
|
1756
|
+
if (gt.test(i.stem)) {
|
|
1714
1757
|
if (i.options.length > 1)
|
|
1715
1758
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1716
|
-
i.stem.replace(
|
|
1759
|
+
i.stem.replace(gt, function(l, u, h, f, c, m) {
|
|
1717
1760
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1718
1761
|
});
|
|
1719
1762
|
var o = i.options[0];
|
|
1720
|
-
o === "w" ? t =
|
|
1763
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
|
|
1721
1764
|
continue;
|
|
1722
1765
|
}
|
|
1723
|
-
if (
|
|
1724
|
-
t =
|
|
1766
|
+
if (sr.test(i.stem)) {
|
|
1767
|
+
t = x(x({}, t), _t(i.stem));
|
|
1725
1768
|
continue;
|
|
1726
1769
|
}
|
|
1727
|
-
var a =
|
|
1728
|
-
a && (t =
|
|
1729
|
-
var s =
|
|
1730
|
-
s && (t =
|
|
1770
|
+
var a = ur(i.stem);
|
|
1771
|
+
a && (t = x(x({}, t), a));
|
|
1772
|
+
var s = Dn(i.stem);
|
|
1773
|
+
s && (t = x(x({}, t), s));
|
|
1731
1774
|
}
|
|
1732
1775
|
return t;
|
|
1733
1776
|
}
|
|
@@ -3146,13 +3189,13 @@ var pe = {
|
|
|
3146
3189
|
"h"
|
|
3147
3190
|
]
|
|
3148
3191
|
};
|
|
3149
|
-
function
|
|
3192
|
+
function Gn(e, t) {
|
|
3150
3193
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3151
3194
|
var i = e.charAt(n);
|
|
3152
3195
|
if (i === "j") {
|
|
3153
3196
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3154
3197
|
o++, n++;
|
|
3155
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3198
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
|
|
3156
3199
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3157
3200
|
r += l;
|
|
3158
3201
|
for (; a-- > 0; )
|
|
@@ -3162,7 +3205,7 @@ function Mn(e, t) {
|
|
|
3162
3205
|
}
|
|
3163
3206
|
return r;
|
|
3164
3207
|
}
|
|
3165
|
-
function
|
|
3208
|
+
function Fn(e) {
|
|
3166
3209
|
var t = e.hourCycle;
|
|
3167
3210
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3168
3211
|
e.hourCycles && // @ts-ignore
|
|
@@ -3184,20 +3227,20 @@ function Rn(e) {
|
|
|
3184
3227
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3185
3228
|
return i[0];
|
|
3186
3229
|
}
|
|
3187
|
-
var
|
|
3188
|
-
function
|
|
3230
|
+
var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
|
|
3231
|
+
function _(e, t) {
|
|
3189
3232
|
return { start: e, end: t };
|
|
3190
3233
|
}
|
|
3191
|
-
var
|
|
3234
|
+
var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Jn = qn ? Number.isSafeInteger : function(e) {
|
|
3192
3235
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3193
|
-
},
|
|
3236
|
+
}, qe = !0;
|
|
3194
3237
|
try {
|
|
3195
|
-
var
|
|
3196
|
-
|
|
3238
|
+
var Yn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3239
|
+
qe = ((Re = Yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3197
3240
|
} catch {
|
|
3198
|
-
|
|
3241
|
+
qe = !1;
|
|
3199
3242
|
}
|
|
3200
|
-
var
|
|
3243
|
+
var Et = Vn ? (
|
|
3201
3244
|
// Native
|
|
3202
3245
|
function(t, r, n) {
|
|
3203
3246
|
return t.startsWith(r, n);
|
|
@@ -3207,7 +3250,7 @@ var bt = Un ? (
|
|
|
3207
3250
|
function(t, r, n) {
|
|
3208
3251
|
return t.slice(n, n + r.length) === r;
|
|
3209
3252
|
}
|
|
3210
|
-
),
|
|
3253
|
+
), Je = Xn ? String.fromCodePoint : (
|
|
3211
3254
|
// IE11
|
|
3212
3255
|
function() {
|
|
3213
3256
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3219,9 +3262,9 @@ var bt = Un ? (
|
|
|
3219
3262
|
}
|
|
3220
3263
|
return n;
|
|
3221
3264
|
}
|
|
3222
|
-
),
|
|
3265
|
+
), xt = (
|
|
3223
3266
|
// native
|
|
3224
|
-
|
|
3267
|
+
Wn ? Object.fromEntries : (
|
|
3225
3268
|
// Ponyfill
|
|
3226
3269
|
function(t) {
|
|
3227
3270
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3231,7 +3274,7 @@ var bt = Un ? (
|
|
|
3231
3274
|
return r;
|
|
3232
3275
|
}
|
|
3233
3276
|
)
|
|
3234
|
-
),
|
|
3277
|
+
), lr = zn ? (
|
|
3235
3278
|
// Native
|
|
3236
3279
|
function(t, r) {
|
|
3237
3280
|
return t.codePointAt(r);
|
|
@@ -3245,7 +3288,7 @@ var bt = Un ? (
|
|
|
3245
3288
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3246
3289
|
}
|
|
3247
3290
|
}
|
|
3248
|
-
),
|
|
3291
|
+
), Kn = Zn ? (
|
|
3249
3292
|
// Native
|
|
3250
3293
|
function(t) {
|
|
3251
3294
|
return t.trimStart();
|
|
@@ -3253,9 +3296,9 @@ var bt = Un ? (
|
|
|
3253
3296
|
) : (
|
|
3254
3297
|
// Ponyfill
|
|
3255
3298
|
function(t) {
|
|
3256
|
-
return t.replace(
|
|
3299
|
+
return t.replace(jn, "");
|
|
3257
3300
|
}
|
|
3258
|
-
),
|
|
3301
|
+
), ei = Qn ? (
|
|
3259
3302
|
// Native
|
|
3260
3303
|
function(t) {
|
|
3261
3304
|
return t.trimEnd();
|
|
@@ -3263,32 +3306,32 @@ var bt = Un ? (
|
|
|
3263
3306
|
) : (
|
|
3264
3307
|
// Ponyfill
|
|
3265
3308
|
function(t) {
|
|
3266
|
-
return t.replace(
|
|
3309
|
+
return t.replace(kn, "");
|
|
3267
3310
|
}
|
|
3268
3311
|
);
|
|
3269
|
-
function
|
|
3312
|
+
function hr(e, t) {
|
|
3270
3313
|
return new RegExp(e, t);
|
|
3271
3314
|
}
|
|
3272
|
-
var
|
|
3273
|
-
if (
|
|
3274
|
-
var
|
|
3275
|
-
|
|
3315
|
+
var Ye;
|
|
3316
|
+
if (qe) {
|
|
3317
|
+
var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3318
|
+
Ye = function(t, r) {
|
|
3276
3319
|
var n;
|
|
3277
|
-
|
|
3278
|
-
var i =
|
|
3320
|
+
St.lastIndex = r;
|
|
3321
|
+
var i = St.exec(t);
|
|
3279
3322
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3280
3323
|
};
|
|
3281
3324
|
} else
|
|
3282
|
-
|
|
3325
|
+
Ye = function(t, r) {
|
|
3283
3326
|
for (var n = []; ; ) {
|
|
3284
|
-
var i =
|
|
3285
|
-
if (i === void 0 ||
|
|
3327
|
+
var i = lr(t, r);
|
|
3328
|
+
if (i === void 0 || cr(i) || ii(i))
|
|
3286
3329
|
break;
|
|
3287
3330
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3288
3331
|
}
|
|
3289
|
-
return
|
|
3332
|
+
return Je.apply(void 0, n);
|
|
3290
3333
|
};
|
|
3291
|
-
var
|
|
3334
|
+
var ti = (
|
|
3292
3335
|
/** @class */
|
|
3293
3336
|
function() {
|
|
3294
3337
|
function e(t, r) {
|
|
@@ -3312,14 +3355,14 @@ var qn = (
|
|
|
3312
3355
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3313
3356
|
var s = this.clonePosition();
|
|
3314
3357
|
this.bump(), i.push({
|
|
3315
|
-
type:
|
|
3316
|
-
location:
|
|
3358
|
+
type: v.pound,
|
|
3359
|
+
location: _(s, this.clonePosition())
|
|
3317
3360
|
});
|
|
3318
3361
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3319
3362
|
if (n)
|
|
3320
3363
|
break;
|
|
3321
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3322
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3364
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3365
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3323
3366
|
var a = this.parseTag(t, r);
|
|
3324
3367
|
if (a.err)
|
|
3325
3368
|
return a;
|
|
@@ -3340,9 +3383,9 @@ var qn = (
|
|
|
3340
3383
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3341
3384
|
return {
|
|
3342
3385
|
val: {
|
|
3343
|
-
type:
|
|
3386
|
+
type: v.literal,
|
|
3344
3387
|
value: "<".concat(i, "/>"),
|
|
3345
|
-
location:
|
|
3388
|
+
location: _(n, this.clonePosition())
|
|
3346
3389
|
},
|
|
3347
3390
|
err: null
|
|
3348
3391
|
};
|
|
@@ -3352,25 +3395,25 @@ var qn = (
|
|
|
3352
3395
|
return o;
|
|
3353
3396
|
var a = o.val, s = this.clonePosition();
|
|
3354
3397
|
if (this.bumpIf("</")) {
|
|
3355
|
-
if (this.isEOF() || !
|
|
3356
|
-
return this.error(y.INVALID_TAG,
|
|
3398
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
3399
|
+
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3357
3400
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3358
|
-
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3401
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3359
3402
|
val: {
|
|
3360
|
-
type:
|
|
3403
|
+
type: v.tag,
|
|
3361
3404
|
value: i,
|
|
3362
3405
|
children: a,
|
|
3363
|
-
location:
|
|
3406
|
+
location: _(n, this.clonePosition())
|
|
3364
3407
|
},
|
|
3365
3408
|
err: null
|
|
3366
|
-
} : this.error(y.INVALID_TAG,
|
|
3409
|
+
} : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
|
|
3367
3410
|
} else
|
|
3368
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3411
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3369
3412
|
} else
|
|
3370
|
-
return this.error(y.INVALID_TAG,
|
|
3413
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3371
3414
|
}, e.prototype.parseTagName = function() {
|
|
3372
3415
|
var t = this.offset();
|
|
3373
|
-
for (this.bump(); !this.isEOF() &&
|
|
3416
|
+
for (this.bump(); !this.isEOF() && ni(this.char()); )
|
|
3374
3417
|
this.bump();
|
|
3375
3418
|
return this.message.slice(t, this.offset());
|
|
3376
3419
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3392,14 +3435,14 @@ var qn = (
|
|
|
3392
3435
|
}
|
|
3393
3436
|
break;
|
|
3394
3437
|
}
|
|
3395
|
-
var l =
|
|
3438
|
+
var l = _(n, this.clonePosition());
|
|
3396
3439
|
return {
|
|
3397
|
-
val: { type:
|
|
3440
|
+
val: { type: v.literal, value: i, location: l },
|
|
3398
3441
|
err: null
|
|
3399
3442
|
};
|
|
3400
3443
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3401
3444
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3402
|
-
!
|
|
3445
|
+
!ri(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3403
3446
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3404
3447
|
if (this.isEOF() || this.char() !== 39)
|
|
3405
3448
|
return null;
|
|
@@ -3433,49 +3476,49 @@ var qn = (
|
|
|
3433
3476
|
r.push(n);
|
|
3434
3477
|
this.bump();
|
|
3435
3478
|
}
|
|
3436
|
-
return
|
|
3479
|
+
return Je.apply(void 0, r);
|
|
3437
3480
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3438
3481
|
if (this.isEOF())
|
|
3439
3482
|
return null;
|
|
3440
3483
|
var n = this.char();
|
|
3441
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3484
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
|
3442
3485
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3443
3486
|
var n = this.clonePosition();
|
|
3444
3487
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3445
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3488
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3446
3489
|
if (this.char() === 125)
|
|
3447
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3490
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
3448
3491
|
var i = this.parseIdentifierIfPossible().value;
|
|
3449
3492
|
if (!i)
|
|
3450
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3493
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3451
3494
|
if (this.bumpSpace(), this.isEOF())
|
|
3452
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3495
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3453
3496
|
switch (this.char()) {
|
|
3454
3497
|
case 125:
|
|
3455
3498
|
return this.bump(), {
|
|
3456
3499
|
val: {
|
|
3457
|
-
type:
|
|
3500
|
+
type: v.argument,
|
|
3458
3501
|
// value does not include the opening and closing braces.
|
|
3459
3502
|
value: i,
|
|
3460
|
-
location:
|
|
3503
|
+
location: _(n, this.clonePosition())
|
|
3461
3504
|
},
|
|
3462
3505
|
err: null
|
|
3463
3506
|
};
|
|
3464
3507
|
case 44:
|
|
3465
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3508
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3466
3509
|
default:
|
|
3467
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3510
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3468
3511
|
}
|
|
3469
3512
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3470
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3513
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3471
3514
|
this.bumpTo(i);
|
|
3472
|
-
var o = this.clonePosition(), a =
|
|
3515
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3473
3516
|
return { value: n, location: a };
|
|
3474
3517
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3475
3518
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3476
3519
|
switch (s) {
|
|
3477
3520
|
case "":
|
|
3478
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3521
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
|
|
3479
3522
|
case "number":
|
|
3480
3523
|
case "date":
|
|
3481
3524
|
case "time": {
|
|
@@ -3486,35 +3529,35 @@ var qn = (
|
|
|
3486
3529
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3487
3530
|
if (f.err)
|
|
3488
3531
|
return f;
|
|
3489
|
-
var c =
|
|
3532
|
+
var c = ei(f.val);
|
|
3490
3533
|
if (c.length === 0)
|
|
3491
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3492
|
-
var m =
|
|
3534
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3535
|
+
var m = _(h, this.clonePosition());
|
|
3493
3536
|
u = { style: c, styleLocation: m };
|
|
3494
3537
|
}
|
|
3495
3538
|
var b = this.tryParseArgumentClose(i);
|
|
3496
3539
|
if (b.err)
|
|
3497
3540
|
return b;
|
|
3498
|
-
var g =
|
|
3499
|
-
if (u &&
|
|
3500
|
-
var S =
|
|
3541
|
+
var g = _(i, this.clonePosition());
|
|
3542
|
+
if (u && Et(u?.style, "::", 0)) {
|
|
3543
|
+
var S = Kn(u.style.slice(2));
|
|
3501
3544
|
if (s === "number") {
|
|
3502
3545
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3503
3546
|
return f.err ? f : {
|
|
3504
|
-
val: { type:
|
|
3547
|
+
val: { type: v.number, value: n, location: g, style: f.val },
|
|
3505
3548
|
err: null
|
|
3506
3549
|
};
|
|
3507
3550
|
} else {
|
|
3508
3551
|
if (S.length === 0)
|
|
3509
3552
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
3510
3553
|
var A = S;
|
|
3511
|
-
this.locale && (A =
|
|
3554
|
+
this.locale && (A = Gn(S, this.locale));
|
|
3512
3555
|
var c = {
|
|
3513
|
-
type:
|
|
3556
|
+
type: K.dateTime,
|
|
3514
3557
|
pattern: A,
|
|
3515
3558
|
location: u.styleLocation,
|
|
3516
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3517
|
-
}, H = s === "date" ?
|
|
3559
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(A) : {}
|
|
3560
|
+
}, H = s === "date" ? v.date : v.time;
|
|
3518
3561
|
return {
|
|
3519
3562
|
val: { type: H, value: n, location: g, style: c },
|
|
3520
3563
|
err: null
|
|
@@ -3523,7 +3566,7 @@ var qn = (
|
|
|
3523
3566
|
}
|
|
3524
3567
|
return {
|
|
3525
3568
|
val: {
|
|
3526
|
-
type: s === "number" ?
|
|
3569
|
+
type: s === "number" ? v.number : s === "date" ? v.date : v.time,
|
|
3527
3570
|
value: n,
|
|
3528
3571
|
location: g,
|
|
3529
3572
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3536,12 +3579,12 @@ var qn = (
|
|
|
3536
3579
|
case "select": {
|
|
3537
3580
|
var w = this.clonePosition();
|
|
3538
3581
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3539
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3582
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, ve({}, w)));
|
|
3540
3583
|
this.bumpSpace();
|
|
3541
3584
|
var C = this.parseIdentifierIfPossible(), O = 0;
|
|
3542
3585
|
if (s !== "select" && C.value === "offset") {
|
|
3543
3586
|
if (!this.bumpIf(":"))
|
|
3544
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3587
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3545
3588
|
this.bumpSpace();
|
|
3546
3589
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3547
3590
|
if (f.err)
|
|
@@ -3554,32 +3597,32 @@ var qn = (
|
|
|
3554
3597
|
var b = this.tryParseArgumentClose(i);
|
|
3555
3598
|
if (b.err)
|
|
3556
3599
|
return b;
|
|
3557
|
-
var
|
|
3600
|
+
var E = _(i, this.clonePosition());
|
|
3558
3601
|
return s === "select" ? {
|
|
3559
3602
|
val: {
|
|
3560
|
-
type:
|
|
3603
|
+
type: v.select,
|
|
3561
3604
|
value: n,
|
|
3562
|
-
options:
|
|
3563
|
-
location:
|
|
3605
|
+
options: xt(N.val),
|
|
3606
|
+
location: E
|
|
3564
3607
|
},
|
|
3565
3608
|
err: null
|
|
3566
3609
|
} : {
|
|
3567
3610
|
val: {
|
|
3568
|
-
type:
|
|
3611
|
+
type: v.plural,
|
|
3569
3612
|
value: n,
|
|
3570
|
-
options:
|
|
3613
|
+
options: xt(N.val),
|
|
3571
3614
|
offset: O,
|
|
3572
3615
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3573
|
-
location:
|
|
3616
|
+
location: E
|
|
3574
3617
|
},
|
|
3575
3618
|
err: null
|
|
3576
3619
|
};
|
|
3577
3620
|
}
|
|
3578
3621
|
default:
|
|
3579
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3622
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
|
|
3580
3623
|
}
|
|
3581
3624
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3582
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3625
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3583
3626
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3584
3627
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3585
3628
|
var n = this.char();
|
|
@@ -3588,7 +3631,7 @@ var qn = (
|
|
|
3588
3631
|
this.bump();
|
|
3589
3632
|
var i = this.clonePosition();
|
|
3590
3633
|
if (!this.bumpUntil("'"))
|
|
3591
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3634
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3592
3635
|
this.bump();
|
|
3593
3636
|
break;
|
|
3594
3637
|
}
|
|
@@ -3618,16 +3661,16 @@ var qn = (
|
|
|
3618
3661
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3619
3662
|
var n = [];
|
|
3620
3663
|
try {
|
|
3621
|
-
n =
|
|
3664
|
+
n = Mn(t);
|
|
3622
3665
|
} catch {
|
|
3623
3666
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3624
3667
|
}
|
|
3625
3668
|
return {
|
|
3626
3669
|
val: {
|
|
3627
|
-
type:
|
|
3670
|
+
type: K.number,
|
|
3628
3671
|
tokens: n,
|
|
3629
3672
|
location: r,
|
|
3630
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3673
|
+
parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
|
|
3631
3674
|
},
|
|
3632
3675
|
err: null
|
|
3633
3676
|
};
|
|
@@ -3639,7 +3682,7 @@ var qn = (
|
|
|
3639
3682
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3640
3683
|
if (c.err)
|
|
3641
3684
|
return c;
|
|
3642
|
-
h =
|
|
3685
|
+
h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3643
3686
|
} else
|
|
3644
3687
|
break;
|
|
3645
3688
|
}
|
|
@@ -3648,7 +3691,7 @@ var qn = (
|
|
|
3648
3691
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3649
3692
|
var m = this.clonePosition();
|
|
3650
3693
|
if (!this.bumpIf("{"))
|
|
3651
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3694
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3652
3695
|
var b = this.parseMessage(t + 1, r, n);
|
|
3653
3696
|
if (b.err)
|
|
3654
3697
|
return b;
|
|
@@ -3659,11 +3702,11 @@ var qn = (
|
|
|
3659
3702
|
u,
|
|
3660
3703
|
{
|
|
3661
3704
|
value: b.val,
|
|
3662
|
-
location:
|
|
3705
|
+
location: _(m, this.clonePosition())
|
|
3663
3706
|
}
|
|
3664
3707
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3665
3708
|
}
|
|
3666
|
-
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3709
|
+
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3667
3710
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3668
3711
|
var n = 1, i = this.clonePosition();
|
|
3669
3712
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3674,8 +3717,8 @@ var qn = (
|
|
|
3674
3717
|
else
|
|
3675
3718
|
break;
|
|
3676
3719
|
}
|
|
3677
|
-
var l =
|
|
3678
|
-
return o ? (a *= n,
|
|
3720
|
+
var l = _(i, this.clonePosition());
|
|
3721
|
+
return o ? (a *= n, Jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3679
3722
|
}, e.prototype.offset = function() {
|
|
3680
3723
|
return this.position.offset;
|
|
3681
3724
|
}, e.prototype.isEOF = function() {
|
|
@@ -3690,7 +3733,7 @@ var qn = (
|
|
|
3690
3733
|
var t = this.position.offset;
|
|
3691
3734
|
if (t >= this.message.length)
|
|
3692
3735
|
throw Error("out of bound");
|
|
3693
|
-
var r =
|
|
3736
|
+
var r = lr(this.message, t);
|
|
3694
3737
|
if (r === void 0)
|
|
3695
3738
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3696
3739
|
return r;
|
|
@@ -3709,7 +3752,7 @@ var qn = (
|
|
|
3709
3752
|
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);
|
|
3710
3753
|
}
|
|
3711
3754
|
}, e.prototype.bumpIf = function(t) {
|
|
3712
|
-
if (
|
|
3755
|
+
if (Et(this.message, t, this.offset())) {
|
|
3713
3756
|
for (var r = 0; r < t.length; r++)
|
|
3714
3757
|
this.bump();
|
|
3715
3758
|
return !0;
|
|
@@ -3731,7 +3774,7 @@ var qn = (
|
|
|
3731
3774
|
break;
|
|
3732
3775
|
}
|
|
3733
3776
|
}, e.prototype.bumpSpace = function() {
|
|
3734
|
-
for (; !this.isEOF() &&
|
|
3777
|
+
for (; !this.isEOF() && cr(this.char()); )
|
|
3735
3778
|
this.bump();
|
|
3736
3779
|
}, e.prototype.peek = function() {
|
|
3737
3780
|
if (this.isEOF())
|
|
@@ -3741,47 +3784,47 @@ var qn = (
|
|
|
3741
3784
|
}, e;
|
|
3742
3785
|
}()
|
|
3743
3786
|
);
|
|
3744
|
-
function
|
|
3787
|
+
function Ke(e) {
|
|
3745
3788
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3746
3789
|
}
|
|
3747
|
-
function
|
|
3748
|
-
return
|
|
3790
|
+
function ri(e) {
|
|
3791
|
+
return Ke(e) || e === 47;
|
|
3749
3792
|
}
|
|
3750
|
-
function
|
|
3793
|
+
function ni(e) {
|
|
3751
3794
|
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;
|
|
3752
3795
|
}
|
|
3753
|
-
function
|
|
3796
|
+
function cr(e) {
|
|
3754
3797
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3755
3798
|
}
|
|
3756
|
-
function
|
|
3799
|
+
function ii(e) {
|
|
3757
3800
|
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;
|
|
3758
3801
|
}
|
|
3759
|
-
function
|
|
3802
|
+
function et(e) {
|
|
3760
3803
|
e.forEach(function(t) {
|
|
3761
|
-
if (delete t.location,
|
|
3804
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3762
3805
|
for (var r in t.options)
|
|
3763
|
-
delete t.options[r].location,
|
|
3806
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3764
3807
|
else
|
|
3765
|
-
|
|
3808
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
|
|
3766
3809
|
});
|
|
3767
3810
|
}
|
|
3768
|
-
function
|
|
3769
|
-
t === void 0 && (t = {}), t =
|
|
3770
|
-
var r = new
|
|
3811
|
+
function oi(e, t) {
|
|
3812
|
+
t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3813
|
+
var r = new ti(e, t).parse();
|
|
3771
3814
|
if (r.err) {
|
|
3772
3815
|
var n = SyntaxError(y[r.err.kind]);
|
|
3773
3816
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3774
3817
|
}
|
|
3775
|
-
return t?.captureLocation ||
|
|
3818
|
+
return t?.captureLocation || et(r.val), r.val;
|
|
3776
3819
|
}
|
|
3777
|
-
var
|
|
3820
|
+
var ee;
|
|
3778
3821
|
(function(e) {
|
|
3779
3822
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3780
|
-
})(
|
|
3781
|
-
var
|
|
3823
|
+
})(ee || (ee = {}));
|
|
3824
|
+
var Pe = (
|
|
3782
3825
|
/** @class */
|
|
3783
3826
|
function(e) {
|
|
3784
|
-
|
|
3827
|
+
Be(t, e);
|
|
3785
3828
|
function t(r, n, i) {
|
|
3786
3829
|
var o = e.call(this, r) || this;
|
|
3787
3830
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3790,48 +3833,48 @@ var He = (
|
|
|
3790
3833
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3791
3834
|
}, t;
|
|
3792
3835
|
}(Error)
|
|
3793
|
-
),
|
|
3836
|
+
), wt = (
|
|
3794
3837
|
/** @class */
|
|
3795
3838
|
function(e) {
|
|
3796
|
-
|
|
3839
|
+
Be(t, e);
|
|
3797
3840
|
function t(r, n, i, o) {
|
|
3798
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3841
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3799
3842
|
}
|
|
3800
3843
|
return t;
|
|
3801
|
-
}(
|
|
3802
|
-
),
|
|
3844
|
+
}(Pe)
|
|
3845
|
+
), si = (
|
|
3803
3846
|
/** @class */
|
|
3804
3847
|
function(e) {
|
|
3805
|
-
|
|
3848
|
+
Be(t, e);
|
|
3806
3849
|
function t(r, n, i) {
|
|
3807
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3850
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
|
3808
3851
|
}
|
|
3809
3852
|
return t;
|
|
3810
|
-
}(
|
|
3811
|
-
),
|
|
3853
|
+
}(Pe)
|
|
3854
|
+
), ai = (
|
|
3812
3855
|
/** @class */
|
|
3813
3856
|
function(e) {
|
|
3814
|
-
|
|
3857
|
+
Be(t, e);
|
|
3815
3858
|
function t(r, n) {
|
|
3816
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3859
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
|
3817
3860
|
}
|
|
3818
3861
|
return t;
|
|
3819
|
-
}(
|
|
3862
|
+
}(Pe)
|
|
3820
3863
|
), T;
|
|
3821
3864
|
(function(e) {
|
|
3822
3865
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3823
3866
|
})(T || (T = {}));
|
|
3824
|
-
function
|
|
3867
|
+
function ui(e) {
|
|
3825
3868
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3826
3869
|
var n = t[t.length - 1];
|
|
3827
3870
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3828
3871
|
}, []);
|
|
3829
3872
|
}
|
|
3830
|
-
function
|
|
3873
|
+
function li(e) {
|
|
3831
3874
|
return typeof e == "function";
|
|
3832
3875
|
}
|
|
3833
3876
|
function ge(e, t, r, n, i, o, a) {
|
|
3834
|
-
if (e.length === 1 &&
|
|
3877
|
+
if (e.length === 1 && yt(e[0]))
|
|
3835
3878
|
return [
|
|
3836
3879
|
{
|
|
3837
3880
|
type: T.literal,
|
|
@@ -3840,14 +3883,14 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3840
3883
|
];
|
|
3841
3884
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3842
3885
|
var h = u[l];
|
|
3843
|
-
if (
|
|
3886
|
+
if (yt(h)) {
|
|
3844
3887
|
s.push({
|
|
3845
3888
|
type: T.literal,
|
|
3846
3889
|
value: h.value
|
|
3847
3890
|
});
|
|
3848
3891
|
continue;
|
|
3849
3892
|
}
|
|
3850
|
-
if (
|
|
3893
|
+
if (In(h)) {
|
|
3851
3894
|
typeof o == "number" && s.push({
|
|
3852
3895
|
type: T.literal,
|
|
3853
3896
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3856,43 +3899,43 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3856
3899
|
}
|
|
3857
3900
|
var f = h.value;
|
|
3858
3901
|
if (!(i && f in i))
|
|
3859
|
-
throw new
|
|
3902
|
+
throw new ai(f, a);
|
|
3860
3903
|
var c = i[f];
|
|
3861
|
-
if (
|
|
3904
|
+
if (On(h)) {
|
|
3862
3905
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3863
3906
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3864
3907
|
value: c
|
|
3865
3908
|
});
|
|
3866
3909
|
continue;
|
|
3867
3910
|
}
|
|
3868
|
-
if (
|
|
3869
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3911
|
+
if (Kt(h)) {
|
|
3912
|
+
var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3870
3913
|
s.push({
|
|
3871
3914
|
type: T.literal,
|
|
3872
3915
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3873
3916
|
});
|
|
3874
3917
|
continue;
|
|
3875
3918
|
}
|
|
3876
|
-
if (
|
|
3877
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3919
|
+
if (er(h)) {
|
|
3920
|
+
var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3878
3921
|
s.push({
|
|
3879
3922
|
type: T.literal,
|
|
3880
3923
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3881
3924
|
});
|
|
3882
3925
|
continue;
|
|
3883
3926
|
}
|
|
3884
|
-
if (
|
|
3885
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3927
|
+
if (Yt(h)) {
|
|
3928
|
+
var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3886
3929
|
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3887
3930
|
type: T.literal,
|
|
3888
3931
|
value: r.getNumberFormat(t, m).format(c)
|
|
3889
3932
|
});
|
|
3890
3933
|
continue;
|
|
3891
3934
|
}
|
|
3892
|
-
if (
|
|
3935
|
+
if (nr(h)) {
|
|
3893
3936
|
var b = h.children, g = h.value, S = i[g];
|
|
3894
|
-
if (!
|
|
3895
|
-
throw new
|
|
3937
|
+
if (!li(S))
|
|
3938
|
+
throw new si(g, "function", a);
|
|
3896
3939
|
var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
|
|
3897
3940
|
return O.value;
|
|
3898
3941
|
}));
|
|
@@ -3903,42 +3946,42 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3903
3946
|
};
|
|
3904
3947
|
}));
|
|
3905
3948
|
}
|
|
3906
|
-
if (
|
|
3949
|
+
if (tr(h)) {
|
|
3907
3950
|
var w = h.options[c] || h.options.other;
|
|
3908
3951
|
if (!w)
|
|
3909
|
-
throw new
|
|
3952
|
+
throw new wt(h.value, c, Object.keys(h.options), a);
|
|
3910
3953
|
s.push.apply(s, ge(w.value, t, r, n, i));
|
|
3911
3954
|
continue;
|
|
3912
3955
|
}
|
|
3913
|
-
if (
|
|
3956
|
+
if (rr(h)) {
|
|
3914
3957
|
var w = h.options["=".concat(c)];
|
|
3915
3958
|
if (!w) {
|
|
3916
3959
|
if (!Intl.PluralRules)
|
|
3917
|
-
throw new
|
|
3960
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3918
3961
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3919
|
-
`,
|
|
3962
|
+
`, ee.MISSING_INTL_API, a);
|
|
3920
3963
|
var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3921
3964
|
w = h.options[C] || h.options.other;
|
|
3922
3965
|
}
|
|
3923
3966
|
if (!w)
|
|
3924
|
-
throw new
|
|
3967
|
+
throw new wt(h.value, c, Object.keys(h.options), a);
|
|
3925
3968
|
s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
|
|
3926
3969
|
continue;
|
|
3927
3970
|
}
|
|
3928
3971
|
}
|
|
3929
|
-
return
|
|
3972
|
+
return ui(s);
|
|
3930
3973
|
}
|
|
3931
|
-
function
|
|
3932
|
-
return t ?
|
|
3933
|
-
return r[n] =
|
|
3974
|
+
function hi(e, t) {
|
|
3975
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3976
|
+
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
|
3934
3977
|
}, {})) : e;
|
|
3935
3978
|
}
|
|
3936
|
-
function
|
|
3979
|
+
function ci(e, t) {
|
|
3937
3980
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3938
|
-
return r[n] =
|
|
3939
|
-
},
|
|
3981
|
+
return r[n] = hi(e[n], t[n]), r;
|
|
3982
|
+
}, R({}, e)) : e;
|
|
3940
3983
|
}
|
|
3941
|
-
function
|
|
3984
|
+
function $e(e) {
|
|
3942
3985
|
return {
|
|
3943
3986
|
create: function() {
|
|
3944
3987
|
return {
|
|
@@ -3952,39 +3995,39 @@ function Ne(e) {
|
|
|
3952
3995
|
}
|
|
3953
3996
|
};
|
|
3954
3997
|
}
|
|
3955
|
-
function
|
|
3998
|
+
function fi(e) {
|
|
3956
3999
|
return e === void 0 && (e = {
|
|
3957
4000
|
number: {},
|
|
3958
4001
|
dateTime: {},
|
|
3959
4002
|
pluralRules: {}
|
|
3960
4003
|
}), {
|
|
3961
|
-
getNumberFormat:
|
|
4004
|
+
getNumberFormat: Ne(function() {
|
|
3962
4005
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3963
4006
|
r[n] = arguments[n];
|
|
3964
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4007
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3965
4008
|
}, {
|
|
3966
|
-
cache:
|
|
3967
|
-
strategy:
|
|
4009
|
+
cache: $e(e.number),
|
|
4010
|
+
strategy: Me.variadic
|
|
3968
4011
|
}),
|
|
3969
|
-
getDateTimeFormat:
|
|
4012
|
+
getDateTimeFormat: Ne(function() {
|
|
3970
4013
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3971
4014
|
r[n] = arguments[n];
|
|
3972
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4015
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3973
4016
|
}, {
|
|
3974
|
-
cache:
|
|
3975
|
-
strategy:
|
|
4017
|
+
cache: $e(e.dateTime),
|
|
4018
|
+
strategy: Me.variadic
|
|
3976
4019
|
}),
|
|
3977
|
-
getPluralRules:
|
|
4020
|
+
getPluralRules: Ne(function() {
|
|
3978
4021
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3979
4022
|
r[n] = arguments[n];
|
|
3980
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4023
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3981
4024
|
}, {
|
|
3982
|
-
cache:
|
|
3983
|
-
strategy:
|
|
4025
|
+
cache: $e(e.pluralRules),
|
|
4026
|
+
strategy: Me.variadic
|
|
3984
4027
|
})
|
|
3985
4028
|
};
|
|
3986
4029
|
}
|
|
3987
|
-
var
|
|
4030
|
+
var di = (
|
|
3988
4031
|
/** @class */
|
|
3989
4032
|
function() {
|
|
3990
4033
|
function e(t, r, n, i) {
|
|
@@ -4016,13 +4059,13 @@ var ui = (
|
|
|
4016
4059
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4017
4060
|
var a = i || {};
|
|
4018
4061
|
a.formatters;
|
|
4019
|
-
var s =
|
|
4020
|
-
this.ast = e.__parse(t,
|
|
4062
|
+
var s = xn(a, ["formatters"]);
|
|
4063
|
+
this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
|
|
4021
4064
|
} else
|
|
4022
4065
|
this.ast = t;
|
|
4023
4066
|
if (!Array.isArray(this.ast))
|
|
4024
4067
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4025
|
-
this.formats =
|
|
4068
|
+
this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
|
|
4026
4069
|
}
|
|
4027
4070
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4028
4071
|
get: function() {
|
|
@@ -4035,7 +4078,7 @@ var ui = (
|
|
|
4035
4078
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4036
4079
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4037
4080
|
}
|
|
4038
|
-
}, e.__parse =
|
|
4081
|
+
}, e.__parse = oi, e.formats = {
|
|
4039
4082
|
number: {
|
|
4040
4083
|
integer: {
|
|
4041
4084
|
maximumFractionDigits: 0
|
|
@@ -4096,7 +4139,7 @@ var ui = (
|
|
|
4096
4139
|
}, e;
|
|
4097
4140
|
}()
|
|
4098
4141
|
);
|
|
4099
|
-
function
|
|
4142
|
+
function pi(e, t) {
|
|
4100
4143
|
if (t == null)
|
|
4101
4144
|
return;
|
|
4102
4145
|
if (t in e)
|
|
@@ -4117,92 +4160,92 @@ function li(e, t) {
|
|
|
4117
4160
|
n = void 0;
|
|
4118
4161
|
return n;
|
|
4119
4162
|
}
|
|
4120
|
-
const F = {},
|
|
4163
|
+
const F = {}, mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
|
|
4121
4164
|
if (t == null)
|
|
4122
4165
|
return;
|
|
4123
4166
|
if (t in F && e in F[t])
|
|
4124
4167
|
return F[t][e];
|
|
4125
|
-
const r =
|
|
4168
|
+
const r = Ae(t);
|
|
4126
4169
|
for (let n = 0; n < r.length; n++) {
|
|
4127
|
-
const i = r[n], o =
|
|
4170
|
+
const i = r[n], o = yi(i, e);
|
|
4128
4171
|
if (o)
|
|
4129
|
-
return
|
|
4172
|
+
return mi(e, t, o);
|
|
4130
4173
|
}
|
|
4131
4174
|
};
|
|
4132
|
-
let
|
|
4133
|
-
const ce =
|
|
4134
|
-
function
|
|
4135
|
-
return
|
|
4175
|
+
let it;
|
|
4176
|
+
const ce = He({});
|
|
4177
|
+
function bi(e) {
|
|
4178
|
+
return it[e] || null;
|
|
4136
4179
|
}
|
|
4137
|
-
function
|
|
4138
|
-
return e in
|
|
4180
|
+
function dr(e) {
|
|
4181
|
+
return e in it;
|
|
4139
4182
|
}
|
|
4140
|
-
function
|
|
4141
|
-
if (!
|
|
4183
|
+
function yi(e, t) {
|
|
4184
|
+
if (!dr(e))
|
|
4142
4185
|
return null;
|
|
4143
|
-
const r =
|
|
4144
|
-
return
|
|
4186
|
+
const r = bi(e);
|
|
4187
|
+
return pi(r, t);
|
|
4145
4188
|
}
|
|
4146
|
-
function
|
|
4189
|
+
function gi(e) {
|
|
4147
4190
|
if (e == null)
|
|
4148
4191
|
return;
|
|
4149
|
-
const t =
|
|
4192
|
+
const t = Ae(e);
|
|
4150
4193
|
for (let r = 0; r < t.length; r++) {
|
|
4151
4194
|
const n = t[r];
|
|
4152
|
-
if (
|
|
4195
|
+
if (dr(n))
|
|
4153
4196
|
return n;
|
|
4154
4197
|
}
|
|
4155
4198
|
}
|
|
4156
|
-
function
|
|
4157
|
-
delete F[e], ce.update((r) => (r[e] =
|
|
4199
|
+
function pr(e, ...t) {
|
|
4200
|
+
delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
|
|
4158
4201
|
}
|
|
4159
|
-
|
|
4202
|
+
re(
|
|
4160
4203
|
[ce],
|
|
4161
4204
|
([e]) => Object.keys(e)
|
|
4162
4205
|
);
|
|
4163
|
-
ce.subscribe((e) =>
|
|
4164
|
-
const
|
|
4165
|
-
function
|
|
4166
|
-
|
|
4206
|
+
ce.subscribe((e) => it = e);
|
|
4207
|
+
const _e = {};
|
|
4208
|
+
function _i(e, t) {
|
|
4209
|
+
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4167
4210
|
}
|
|
4168
|
-
function
|
|
4169
|
-
return
|
|
4211
|
+
function mr(e) {
|
|
4212
|
+
return _e[e];
|
|
4170
4213
|
}
|
|
4171
|
-
function
|
|
4172
|
-
return
|
|
4173
|
-
const r =
|
|
4214
|
+
function vi(e) {
|
|
4215
|
+
return Ae(e).map((t) => {
|
|
4216
|
+
const r = mr(t);
|
|
4174
4217
|
return [t, r ? [...r] : []];
|
|
4175
4218
|
}).filter(([, t]) => t.length > 0);
|
|
4176
4219
|
}
|
|
4177
|
-
function
|
|
4178
|
-
return e == null ? !1 :
|
|
4220
|
+
function tt(e) {
|
|
4221
|
+
return e == null ? !1 : Ae(e).some(
|
|
4179
4222
|
(t) => {
|
|
4180
4223
|
var r;
|
|
4181
|
-
return (r =
|
|
4224
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
4182
4225
|
}
|
|
4183
4226
|
);
|
|
4184
4227
|
}
|
|
4185
|
-
function
|
|
4228
|
+
function Ei(e, t) {
|
|
4186
4229
|
return Promise.all(
|
|
4187
|
-
t.map((n) => (
|
|
4188
|
-
).then((n) =>
|
|
4189
|
-
}
|
|
4190
|
-
const
|
|
4191
|
-
function
|
|
4192
|
-
if (!
|
|
4193
|
-
return e in
|
|
4194
|
-
const t =
|
|
4195
|
-
return
|
|
4230
|
+
t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
|
|
4231
|
+
).then((n) => pr(e, ...n));
|
|
4232
|
+
}
|
|
4233
|
+
const oe = {};
|
|
4234
|
+
function br(e) {
|
|
4235
|
+
if (!tt(e))
|
|
4236
|
+
return e in oe ? oe[e] : Promise.resolve();
|
|
4237
|
+
const t = vi(e);
|
|
4238
|
+
return oe[e] = Promise.all(
|
|
4196
4239
|
t.map(
|
|
4197
|
-
([r, n]) =>
|
|
4240
|
+
([r, n]) => Ei(r, n)
|
|
4198
4241
|
)
|
|
4199
4242
|
).then(() => {
|
|
4200
|
-
if (
|
|
4201
|
-
return
|
|
4202
|
-
delete
|
|
4203
|
-
}),
|
|
4243
|
+
if (tt(e))
|
|
4244
|
+
return br(e);
|
|
4245
|
+
delete oe[e];
|
|
4246
|
+
}), oe[e];
|
|
4204
4247
|
}
|
|
4205
|
-
const
|
|
4248
|
+
const xi = {
|
|
4206
4249
|
number: {
|
|
4207
4250
|
scientific: { notation: "scientific" },
|
|
4208
4251
|
engineering: { notation: "engineering" },
|
|
@@ -4231,135 +4274,135 @@ const yi = {
|
|
|
4231
4274
|
timeZoneName: "short"
|
|
4232
4275
|
}
|
|
4233
4276
|
}
|
|
4234
|
-
},
|
|
4277
|
+
}, Si = {
|
|
4235
4278
|
fallbackLocale: null,
|
|
4236
4279
|
loadingDelay: 200,
|
|
4237
|
-
formats:
|
|
4280
|
+
formats: xi,
|
|
4238
4281
|
warnOnMissingMessages: !0,
|
|
4239
4282
|
handleMissingMessage: void 0,
|
|
4240
4283
|
ignoreTag: !0
|
|
4241
|
-
},
|
|
4242
|
-
function
|
|
4243
|
-
return
|
|
4284
|
+
}, wi = Si;
|
|
4285
|
+
function te() {
|
|
4286
|
+
return wi;
|
|
4244
4287
|
}
|
|
4245
|
-
const
|
|
4246
|
-
var
|
|
4288
|
+
const De = He(!1);
|
|
4289
|
+
var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
|
|
4247
4290
|
for (var r in t || (t = {}))
|
|
4248
|
-
|
|
4249
|
-
if (
|
|
4250
|
-
for (var r of
|
|
4251
|
-
|
|
4291
|
+
Pi.call(t, r) && Ht(e, r, t[r]);
|
|
4292
|
+
if (Tt)
|
|
4293
|
+
for (var r of Tt(t))
|
|
4294
|
+
Ai.call(t, r) && Ht(e, r, t[r]);
|
|
4252
4295
|
return e;
|
|
4253
|
-
},
|
|
4254
|
-
let
|
|
4255
|
-
const
|
|
4256
|
-
function
|
|
4296
|
+
}, Ii = (e, t) => Hi(e, Bi(t));
|
|
4297
|
+
let rt;
|
|
4298
|
+
const Ee = He(null);
|
|
4299
|
+
function Bt(e) {
|
|
4257
4300
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4258
4301
|
}
|
|
4259
|
-
function
|
|
4260
|
-
const r =
|
|
4261
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4302
|
+
function Ae(e, t = te().fallbackLocale) {
|
|
4303
|
+
const r = Bt(e);
|
|
4304
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
4262
4305
|
}
|
|
4263
4306
|
function W() {
|
|
4264
|
-
return
|
|
4307
|
+
return rt ?? void 0;
|
|
4265
4308
|
}
|
|
4266
|
-
|
|
4267
|
-
|
|
4309
|
+
Ee.subscribe((e) => {
|
|
4310
|
+
rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4268
4311
|
});
|
|
4269
|
-
const
|
|
4270
|
-
if (e &&
|
|
4271
|
-
const { loadingDelay: t } =
|
|
4312
|
+
const Li = (e) => {
|
|
4313
|
+
if (e && gi(e) && tt(e)) {
|
|
4314
|
+
const { loadingDelay: t } = te();
|
|
4272
4315
|
let r;
|
|
4273
4316
|
return typeof window < "u" && W() != null && t ? r = window.setTimeout(
|
|
4274
|
-
() =>
|
|
4317
|
+
() => De.set(!0),
|
|
4275
4318
|
t
|
|
4276
|
-
) :
|
|
4277
|
-
|
|
4319
|
+
) : De.set(!0), br(e).then(() => {
|
|
4320
|
+
Ee.set(e);
|
|
4278
4321
|
}).finally(() => {
|
|
4279
|
-
clearTimeout(r),
|
|
4322
|
+
clearTimeout(r), De.set(!1);
|
|
4280
4323
|
});
|
|
4281
4324
|
}
|
|
4282
|
-
return
|
|
4283
|
-
},
|
|
4284
|
-
set:
|
|
4285
|
-
}),
|
|
4325
|
+
return Ee.set(e);
|
|
4326
|
+
}, ne = Ii(Oi({}, Ee), {
|
|
4327
|
+
set: Li
|
|
4328
|
+
}), Oe = (e) => {
|
|
4286
4329
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4287
4330
|
return (n) => {
|
|
4288
4331
|
const i = JSON.stringify(n);
|
|
4289
4332
|
return i in t ? t[i] : t[i] = e(n);
|
|
4290
4333
|
};
|
|
4291
4334
|
};
|
|
4292
|
-
var
|
|
4335
|
+
var Ci = Object.defineProperty, xe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
4293
4336
|
for (var r in t || (t = {}))
|
|
4294
|
-
|
|
4295
|
-
if (
|
|
4296
|
-
for (var r of
|
|
4297
|
-
|
|
4337
|
+
yr.call(t, r) && Pt(e, r, t[r]);
|
|
4338
|
+
if (xe)
|
|
4339
|
+
for (var r of xe(t))
|
|
4340
|
+
gr.call(t, r) && Pt(e, r, t[r]);
|
|
4298
4341
|
return e;
|
|
4299
|
-
},
|
|
4342
|
+
}, ie = (e, t) => {
|
|
4300
4343
|
var r = {};
|
|
4301
4344
|
for (var n in e)
|
|
4302
|
-
|
|
4303
|
-
if (e != null &&
|
|
4304
|
-
for (var n of
|
|
4305
|
-
t.indexOf(n) < 0 &&
|
|
4345
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4346
|
+
if (e != null && xe)
|
|
4347
|
+
for (var n of xe(e))
|
|
4348
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4306
4349
|
return r;
|
|
4307
4350
|
};
|
|
4308
|
-
const
|
|
4309
|
-
const { formats: r } =
|
|
4351
|
+
const le = (e, t) => {
|
|
4352
|
+
const { formats: r } = te();
|
|
4310
4353
|
if (e in r && t in r[e])
|
|
4311
4354
|
return r[e][t];
|
|
4312
4355
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4313
|
-
},
|
|
4356
|
+
}, Ni = Oe(
|
|
4314
4357
|
(e) => {
|
|
4315
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4358
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4316
4359
|
if (r == null)
|
|
4317
4360
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4318
|
-
return n && (i =
|
|
4361
|
+
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
|
4319
4362
|
}
|
|
4320
|
-
),
|
|
4363
|
+
), Mi = Oe(
|
|
4321
4364
|
(e) => {
|
|
4322
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4365
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4323
4366
|
if (r == null)
|
|
4324
4367
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4325
|
-
return n ? i =
|
|
4368
|
+
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4326
4369
|
}
|
|
4327
|
-
),
|
|
4370
|
+
), Ri = Oe(
|
|
4328
4371
|
(e) => {
|
|
4329
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4372
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4330
4373
|
if (r == null)
|
|
4331
4374
|
throw new Error(
|
|
4332
4375
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4333
4376
|
);
|
|
4334
|
-
return n ? i =
|
|
4377
|
+
return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4335
4378
|
}
|
|
4336
|
-
),
|
|
4379
|
+
), $i = (e = {}) => {
|
|
4337
4380
|
var t = e, {
|
|
4338
4381
|
locale: r = W()
|
|
4339
|
-
} = t, n =
|
|
4382
|
+
} = t, n = ie(t, [
|
|
4340
4383
|
"locale"
|
|
4341
4384
|
]);
|
|
4342
|
-
return
|
|
4343
|
-
},
|
|
4385
|
+
return Ni(ot({ locale: r }, n));
|
|
4386
|
+
}, Di = (e = {}) => {
|
|
4344
4387
|
var t = e, {
|
|
4345
4388
|
locale: r = W()
|
|
4346
|
-
} = t, n =
|
|
4389
|
+
} = t, n = ie(t, [
|
|
4347
4390
|
"locale"
|
|
4348
4391
|
]);
|
|
4349
|
-
return
|
|
4350
|
-
},
|
|
4392
|
+
return Mi(ot({ locale: r }, n));
|
|
4393
|
+
}, Ui = (e = {}) => {
|
|
4351
4394
|
var t = e, {
|
|
4352
4395
|
locale: r = W()
|
|
4353
|
-
} = t, n =
|
|
4396
|
+
} = t, n = ie(t, [
|
|
4354
4397
|
"locale"
|
|
4355
4398
|
]);
|
|
4356
|
-
return
|
|
4357
|
-
},
|
|
4399
|
+
return Ri(ot({ locale: r }, n));
|
|
4400
|
+
}, Gi = Oe(
|
|
4358
4401
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4359
|
-
(e, t = W()) => new
|
|
4360
|
-
ignoreTag:
|
|
4402
|
+
(e, t = W()) => new di(e, t, te().formats, {
|
|
4403
|
+
ignoreTag: te().ignoreTag
|
|
4361
4404
|
})
|
|
4362
|
-
),
|
|
4405
|
+
), Fi = (e, t = {}) => {
|
|
4363
4406
|
var r, n, i, o;
|
|
4364
4407
|
let a = t;
|
|
4365
4408
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4372,9 +4415,9 @@ const he = (e, t) => {
|
|
|
4372
4415
|
throw new Error(
|
|
4373
4416
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4374
4417
|
);
|
|
4375
|
-
let h =
|
|
4418
|
+
let h = fr(e, l);
|
|
4376
4419
|
if (!h)
|
|
4377
|
-
h = (o = (i = (n = (r =
|
|
4420
|
+
h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4378
4421
|
else if (typeof h != "string")
|
|
4379
4422
|
return console.warn(
|
|
4380
4423
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4383,7 +4426,7 @@ const he = (e, t) => {
|
|
|
4383
4426
|
return h;
|
|
4384
4427
|
let f = h;
|
|
4385
4428
|
try {
|
|
4386
|
-
f =
|
|
4429
|
+
f = Gi(h, l).format(s);
|
|
4387
4430
|
} catch (c) {
|
|
4388
4431
|
c instanceof Error && console.warn(
|
|
4389
4432
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4391,16 +4434,16 @@ const he = (e, t) => {
|
|
|
4391
4434
|
);
|
|
4392
4435
|
}
|
|
4393
4436
|
return f;
|
|
4394
|
-
},
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
window.emWidgets = { topic:
|
|
4400
|
-
const
|
|
4401
|
-
function
|
|
4437
|
+
}, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Di(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = W()) => fr(e, t), Wi = re([ne, ce], () => Fi);
|
|
4438
|
+
re([ne], () => ji);
|
|
4439
|
+
re([ne], () => ki);
|
|
4440
|
+
re([ne], () => Vi);
|
|
4441
|
+
re([ne, ce], () => Xi);
|
|
4442
|
+
window.emWidgets = { topic: nn };
|
|
4443
|
+
const _r = (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)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4444
|
+
function Bo(e, t) {
|
|
4402
4445
|
const r = window.navigator.userAgent;
|
|
4403
|
-
return
|
|
4446
|
+
return _r(r) ? t = e.filter((n) => {
|
|
4404
4447
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4405
4448
|
return n;
|
|
4406
4449
|
}) : t = e.filter((n) => {
|
|
@@ -4408,7 +4451,7 @@ function xo(e, t) {
|
|
|
4408
4451
|
return n;
|
|
4409
4452
|
}), t;
|
|
4410
4453
|
}
|
|
4411
|
-
function
|
|
4454
|
+
function Po(e, t) {
|
|
4412
4455
|
return new Promise((r, n) => {
|
|
4413
4456
|
const i = new Headers();
|
|
4414
4457
|
i.append("X-SessionID", t);
|
|
@@ -4419,13 +4462,13 @@ function So(e, t) {
|
|
|
4419
4462
|
fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
|
|
4420
4463
|
});
|
|
4421
4464
|
}
|
|
4422
|
-
function
|
|
4465
|
+
function Zi(e, t) {
|
|
4423
4466
|
if (e) {
|
|
4424
4467
|
const r = document.createElement("style");
|
|
4425
4468
|
r.innerHTML = t, e.appendChild(r);
|
|
4426
4469
|
}
|
|
4427
4470
|
}
|
|
4428
|
-
function
|
|
4471
|
+
function Qi(e, t) {
|
|
4429
4472
|
const r = new URL(t);
|
|
4430
4473
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4431
4474
|
const i = document.createElement("style");
|
|
@@ -4434,7 +4477,7 @@ function Vi(e, t) {
|
|
|
4434
4477
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4435
4478
|
});
|
|
4436
4479
|
}
|
|
4437
|
-
function
|
|
4480
|
+
function qi(e, t, r) {
|
|
4438
4481
|
if (window.emMessageBus) {
|
|
4439
4482
|
const n = document.createElement("style");
|
|
4440
4483
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4442,13 +4485,13 @@ function Xi(e, t, r) {
|
|
|
4442
4485
|
});
|
|
4443
4486
|
}
|
|
4444
4487
|
}
|
|
4445
|
-
function
|
|
4446
|
-
|
|
4488
|
+
function At(e, t) {
|
|
4489
|
+
pr(e, t);
|
|
4447
4490
|
}
|
|
4448
|
-
function
|
|
4449
|
-
|
|
4491
|
+
function Ji(e) {
|
|
4492
|
+
ne.set(e);
|
|
4450
4493
|
}
|
|
4451
|
-
const
|
|
4494
|
+
const Ot = {
|
|
4452
4495
|
en: {
|
|
4453
4496
|
error: "500 Error - Internal Server Error"
|
|
4454
4497
|
},
|
|
@@ -4480,7 +4523,7 @@ if (typeof window < "u") {
|
|
|
4480
4523
|
}
|
|
4481
4524
|
};
|
|
4482
4525
|
};
|
|
4483
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-
|
|
4526
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-B5krFnaT.js").then(({ default: t }) => {
|
|
4484
4527
|
!customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
|
|
4485
4528
|
});
|
|
4486
4529
|
}
|
|
@@ -4496,111 +4539,111 @@ if (typeof window < "u") {
|
|
|
4496
4539
|
}
|
|
4497
4540
|
};
|
|
4498
4541
|
};
|
|
4499
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-
|
|
4542
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BAJJIvIo.js").then(({ default: t }) => {
|
|
4500
4543
|
!customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
|
|
4501
4544
|
});
|
|
4502
4545
|
}
|
|
4503
|
-
function
|
|
4504
|
-
|
|
4546
|
+
function Yi(e) {
|
|
4547
|
+
wr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
|
|
4505
4548
|
}.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
4506
4549
|
}
|
|
4507
|
-
function
|
|
4550
|
+
function It(e, t, r) {
|
|
4508
4551
|
const n = e.slice();
|
|
4509
4552
|
return n[26] = t[r], n[28] = r, n;
|
|
4510
4553
|
}
|
|
4511
|
-
function
|
|
4512
|
-
let t, r, n, i =
|
|
4554
|
+
function Ki(e) {
|
|
4555
|
+
let t, r, n, i = ut(
|
|
4513
4556
|
/*calendarCollections*/
|
|
4514
4557
|
e[6]
|
|
4515
4558
|
), o = [];
|
|
4516
4559
|
for (let s = 0; s < i.length; s += 1)
|
|
4517
|
-
o[s] =
|
|
4560
|
+
o[s] = Lt(It(e, i, s));
|
|
4518
4561
|
let a = (
|
|
4519
4562
|
/*calendarModalOpened*/
|
|
4520
|
-
e[11] == !0 &&
|
|
4563
|
+
e[11] == !0 && Ct(e)
|
|
4521
4564
|
);
|
|
4522
4565
|
return {
|
|
4523
4566
|
c() {
|
|
4524
|
-
t =
|
|
4567
|
+
t = $("div");
|
|
4525
4568
|
for (let s = 0; s < o.length; s += 1)
|
|
4526
4569
|
o[s].c();
|
|
4527
|
-
r =
|
|
4570
|
+
r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
|
|
4528
4571
|
(e[10] ? "Mobile" : "") + " svelte-5u3c97");
|
|
4529
4572
|
},
|
|
4530
4573
|
m(s, l) {
|
|
4531
4574
|
k(s, t, l);
|
|
4532
4575
|
for (let u = 0; u < o.length; u += 1)
|
|
4533
4576
|
o[u] && o[u].m(t, null);
|
|
4534
|
-
|
|
4577
|
+
we(t, r), a && a.m(t, null);
|
|
4535
4578
|
},
|
|
4536
4579
|
p(s, l) {
|
|
4537
4580
|
if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
4538
4581
|
95) {
|
|
4539
|
-
i =
|
|
4582
|
+
i = ut(
|
|
4540
4583
|
/*calendarCollections*/
|
|
4541
4584
|
s[6]
|
|
4542
4585
|
);
|
|
4543
4586
|
let u;
|
|
4544
4587
|
for (u = 0; u < i.length; u += 1) {
|
|
4545
|
-
const h =
|
|
4546
|
-
o[u] ? o[u].p(h, l) : (o[u] =
|
|
4588
|
+
const h = It(s, i, u);
|
|
4589
|
+
o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
|
|
4547
4590
|
}
|
|
4548
4591
|
for (; u < o.length; u += 1)
|
|
4549
4592
|
o[u].d(1);
|
|
4550
4593
|
o.length = i.length;
|
|
4551
4594
|
}
|
|
4552
4595
|
/*calendarModalOpened*/
|
|
4553
|
-
s[11] == !0 ? a ? a.p(s, l) : (a =
|
|
4596
|
+
s[11] == !0 ? a ? a.p(s, l) : (a = Ct(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
|
|
4554
4597
|
1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
|
|
4555
4598
|
(s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
|
|
4556
4599
|
},
|
|
4557
4600
|
d(s) {
|
|
4558
|
-
s &&
|
|
4601
|
+
s && U(t), Br(o, s), a && a.d();
|
|
4559
4602
|
}
|
|
4560
4603
|
};
|
|
4561
4604
|
}
|
|
4562
|
-
function
|
|
4605
|
+
function eo(e) {
|
|
4563
4606
|
let t;
|
|
4564
4607
|
return {
|
|
4565
4608
|
c() {
|
|
4566
|
-
t =
|
|
4609
|
+
t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
|
|
4567
4610
|
},
|
|
4568
4611
|
m(r, n) {
|
|
4569
4612
|
k(r, t, n);
|
|
4570
4613
|
},
|
|
4571
4614
|
p: P,
|
|
4572
4615
|
d(r) {
|
|
4573
|
-
r &&
|
|
4616
|
+
r && U(t);
|
|
4574
4617
|
}
|
|
4575
4618
|
};
|
|
4576
4619
|
}
|
|
4577
|
-
function
|
|
4620
|
+
function to(e) {
|
|
4578
4621
|
let t, r = (
|
|
4579
4622
|
/*$_*/
|
|
4580
4623
|
e[12]("error") + ""
|
|
4581
4624
|
), n;
|
|
4582
4625
|
return {
|
|
4583
4626
|
c() {
|
|
4584
|
-
t =
|
|
4627
|
+
t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
|
|
4585
4628
|
},
|
|
4586
4629
|
m(i, o) {
|
|
4587
|
-
k(i, t, o),
|
|
4630
|
+
k(i, t, o), we(t, n);
|
|
4588
4631
|
},
|
|
4589
4632
|
p(i, o) {
|
|
4590
4633
|
o & /*$_*/
|
|
4591
4634
|
4096 && r !== (r = /*$_*/
|
|
4592
|
-
i[12]("error") + "") &&
|
|
4635
|
+
i[12]("error") + "") && Ir(n, r);
|
|
4593
4636
|
},
|
|
4594
4637
|
d(i) {
|
|
4595
|
-
i &&
|
|
4638
|
+
i && U(t);
|
|
4596
4639
|
}
|
|
4597
4640
|
};
|
|
4598
4641
|
}
|
|
4599
|
-
function
|
|
4642
|
+
function Lt(e) {
|
|
4600
4643
|
let t, r, n, i, o, a;
|
|
4601
4644
|
return {
|
|
4602
4645
|
c() {
|
|
4603
|
-
t =
|
|
4646
|
+
t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
|
|
4604
4647
|
e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
|
|
4605
4648
|
e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
|
|
4606
4649
|
e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
|
|
@@ -4684,15 +4727,15 @@ function Bt(e) {
|
|
|
4684
4727
|
);
|
|
4685
4728
|
},
|
|
4686
4729
|
d(s) {
|
|
4687
|
-
s &&
|
|
4730
|
+
s && U(t);
|
|
4688
4731
|
}
|
|
4689
4732
|
};
|
|
4690
4733
|
}
|
|
4691
|
-
function
|
|
4734
|
+
function Ct(e) {
|
|
4692
4735
|
let t, r, n, i, o, a, s, l;
|
|
4693
4736
|
return {
|
|
4694
4737
|
c() {
|
|
4695
|
-
t =
|
|
4738
|
+
t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
|
|
4696
4739
|
e[6][
|
|
4697
4740
|
/*selectedIndex*/
|
|
4698
4741
|
e[7]
|
|
@@ -4744,7 +4787,7 @@ function Pt(e) {
|
|
|
4744
4787
|
), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
|
|
4745
4788
|
},
|
|
4746
4789
|
m(u, h) {
|
|
4747
|
-
k(u, t, h),
|
|
4790
|
+
k(u, t, h), we(t, r);
|
|
4748
4791
|
},
|
|
4749
4792
|
p(u, h) {
|
|
4750
4793
|
h & /*calendarCollections, selectedIndex*/
|
|
@@ -4810,33 +4853,33 @@ function Pt(e) {
|
|
|
4810
4853
|
);
|
|
4811
4854
|
},
|
|
4812
4855
|
d(u) {
|
|
4813
|
-
u &&
|
|
4856
|
+
u && U(t);
|
|
4814
4857
|
}
|
|
4815
4858
|
};
|
|
4816
4859
|
}
|
|
4817
|
-
function
|
|
4860
|
+
function ro(e) {
|
|
4818
4861
|
let t;
|
|
4819
4862
|
function r(o, a) {
|
|
4820
4863
|
if (
|
|
4821
4864
|
/*hasErrors*/
|
|
4822
4865
|
o[9]
|
|
4823
4866
|
)
|
|
4824
|
-
return
|
|
4867
|
+
return to;
|
|
4825
4868
|
if (
|
|
4826
4869
|
/*isLoading*/
|
|
4827
4870
|
o[8]
|
|
4828
4871
|
)
|
|
4829
|
-
return
|
|
4872
|
+
return eo;
|
|
4830
4873
|
if (
|
|
4831
4874
|
/*calendarCollections*/
|
|
4832
4875
|
o[6]?.length
|
|
4833
4876
|
)
|
|
4834
|
-
return
|
|
4877
|
+
return Ki;
|
|
4835
4878
|
}
|
|
4836
4879
|
let n = r(e), i = n && n(e);
|
|
4837
4880
|
return {
|
|
4838
4881
|
c() {
|
|
4839
|
-
t =
|
|
4882
|
+
t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
|
|
4840
4883
|
},
|
|
4841
4884
|
m(o, a) {
|
|
4842
4885
|
k(o, t, a), i && i.m(t, null), e[16](t);
|
|
@@ -4847,26 +4890,26 @@ function Ji(e) {
|
|
|
4847
4890
|
i: P,
|
|
4848
4891
|
o: P,
|
|
4849
4892
|
d(o) {
|
|
4850
|
-
o &&
|
|
4893
|
+
o && U(t), i && i.d(), e[16](null);
|
|
4851
4894
|
}
|
|
4852
4895
|
};
|
|
4853
4896
|
}
|
|
4854
|
-
function
|
|
4897
|
+
function no(e, t, r) {
|
|
4855
4898
|
let n;
|
|
4856
|
-
|
|
4899
|
+
Sr(e, Wi, (p) => r(12, n = p));
|
|
4857
4900
|
let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
|
|
4858
4901
|
const C = () => {
|
|
4859
|
-
|
|
4902
|
+
Ji(s);
|
|
4860
4903
|
};
|
|
4861
|
-
Object.keys(
|
|
4862
|
-
|
|
4904
|
+
Object.keys(Ot).forEach((p) => {
|
|
4905
|
+
At(p, Ot[p]);
|
|
4863
4906
|
});
|
|
4864
4907
|
const O = () => {
|
|
4865
4908
|
let p = h;
|
|
4866
4909
|
if (p)
|
|
4867
4910
|
return fetch(p).then((L) => L.json()).then((L) => {
|
|
4868
4911
|
Object.keys(L).forEach((G) => {
|
|
4869
|
-
|
|
4912
|
+
At(G, L[G]);
|
|
4870
4913
|
});
|
|
4871
4914
|
}).catch((L) => {
|
|
4872
4915
|
console.log(L);
|
|
@@ -4875,15 +4918,15 @@ function Yi(e, t, r) {
|
|
|
4875
4918
|
r(8, g = !0);
|
|
4876
4919
|
let p = new URL(`${i}/${s}/daily-calendar`);
|
|
4877
4920
|
p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
|
|
4878
|
-
let L =
|
|
4921
|
+
let L = zi(H);
|
|
4879
4922
|
L && (L === "PC" ? p.searchParams.append("device", "dk") : L === "iPad" || L === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
|
|
4880
4923
|
r(6, m = G);
|
|
4881
4924
|
}).catch((G) => {
|
|
4882
4925
|
console.log(G), r(9, S = !0);
|
|
4883
4926
|
}).finally(() => {
|
|
4884
|
-
|
|
4927
|
+
E(), r(8, g = !1);
|
|
4885
4928
|
});
|
|
4886
|
-
},
|
|
4929
|
+
}, E = () => {
|
|
4887
4930
|
const p = c.getRootNode().host;
|
|
4888
4931
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
|
4889
4932
|
}, I = () => {
|
|
@@ -4901,11 +4944,11 @@ function Yi(e, t, r) {
|
|
|
4901
4944
|
data: m[b]?.dailyEvents
|
|
4902
4945
|
})), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
|
|
4903
4946
|
};
|
|
4904
|
-
|
|
4947
|
+
Cr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
|
|
4905
4948
|
window.removeEventListener("message", B);
|
|
4906
4949
|
}));
|
|
4907
4950
|
function z(p) {
|
|
4908
|
-
|
|
4951
|
+
Ue[p ? "unshift" : "push"](() => {
|
|
4909
4952
|
c = p, r(5, c);
|
|
4910
4953
|
});
|
|
4911
4954
|
}
|
|
@@ -4914,9 +4957,9 @@ function Yi(e, t, r) {
|
|
|
4914
4957
|
}, e.$$.update = () => {
|
|
4915
4958
|
e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
4916
4959
|
57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4917
|
-
34 && l && c &&
|
|
4918
|
-
36 && u && c &&
|
|
4919
|
-
48 && c &&
|
|
4960
|
+
34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4961
|
+
36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4962
|
+
48 && c && qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
|
|
4920
4963
|
1 && s && C(), e.$$.dirty & /*lang, translationurl*/
|
|
4921
4964
|
9 && s && h && O();
|
|
4922
4965
|
}, [
|
|
@@ -4939,14 +4982,14 @@ function Yi(e, t, r) {
|
|
|
4939
4982
|
z
|
|
4940
4983
|
];
|
|
4941
4984
|
}
|
|
4942
|
-
class
|
|
4985
|
+
class vr extends jr {
|
|
4943
4986
|
constructor(t) {
|
|
4944
|
-
super(),
|
|
4987
|
+
super(), Gr(
|
|
4945
4988
|
this,
|
|
4946
4989
|
t,
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4990
|
+
no,
|
|
4991
|
+
ro,
|
|
4992
|
+
Mt,
|
|
4950
4993
|
{
|
|
4951
4994
|
cmsendpoint: 13,
|
|
4952
4995
|
env: 14,
|
|
@@ -4957,7 +5000,7 @@ class mr extends $r {
|
|
|
4957
5000
|
translationurl: 3,
|
|
4958
5001
|
mbsource: 4
|
|
4959
5002
|
},
|
|
4960
|
-
|
|
5003
|
+
Yi
|
|
4961
5004
|
);
|
|
4962
5005
|
}
|
|
4963
5006
|
get cmsendpoint() {
|
|
@@ -5009,70 +5052,70 @@ class mr extends $r {
|
|
|
5009
5052
|
this.$$set({ mbsource: t }), M();
|
|
5010
5053
|
}
|
|
5011
5054
|
}
|
|
5012
|
-
|
|
5013
|
-
const
|
|
5055
|
+
Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5056
|
+
const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5014
5057
|
__proto__: null,
|
|
5015
|
-
default:
|
|
5058
|
+
default: vr
|
|
5016
5059
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5017
5060
|
export {
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5061
|
+
ne as $,
|
|
5062
|
+
co as A,
|
|
5063
|
+
Ar as B,
|
|
5064
|
+
Ue as C,
|
|
5065
|
+
io as D,
|
|
5023
5066
|
d as E,
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5067
|
+
Pr as F,
|
|
5068
|
+
bo as G,
|
|
5069
|
+
Zi as H,
|
|
5070
|
+
Qi as I,
|
|
5071
|
+
qi as J,
|
|
5072
|
+
Fr as K,
|
|
5073
|
+
Wi as L,
|
|
5074
|
+
zi as M,
|
|
5075
|
+
Eo as N,
|
|
5033
5076
|
X as O,
|
|
5034
|
-
|
|
5077
|
+
po as P,
|
|
5035
5078
|
ce as Q,
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5079
|
+
mo as R,
|
|
5080
|
+
jr as S,
|
|
5081
|
+
yo as T,
|
|
5082
|
+
ho as U,
|
|
5083
|
+
go as V,
|
|
5084
|
+
_o as W,
|
|
5085
|
+
Bo as X,
|
|
5086
|
+
Ho as Y,
|
|
5087
|
+
wo as Z,
|
|
5088
|
+
Po as _,
|
|
5089
|
+
pr as a,
|
|
5090
|
+
lo as a0,
|
|
5091
|
+
To as a1,
|
|
5092
|
+
Se as a2,
|
|
5093
|
+
fo as a3,
|
|
5094
|
+
vo as a4,
|
|
5095
|
+
Ao as a5,
|
|
5096
|
+
wr as b,
|
|
5097
|
+
Ft as c,
|
|
5098
|
+
U as d,
|
|
5099
|
+
So as e,
|
|
5057
5100
|
M as f,
|
|
5058
|
-
|
|
5101
|
+
xo as g,
|
|
5059
5102
|
k as h,
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5103
|
+
Gr as i,
|
|
5104
|
+
$ as j,
|
|
5105
|
+
Sr as k,
|
|
5106
|
+
_r as l,
|
|
5107
|
+
Ir as m,
|
|
5065
5108
|
P as n,
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5109
|
+
Cr as o,
|
|
5110
|
+
we as p,
|
|
5111
|
+
nt as q,
|
|
5069
5112
|
j as r,
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5113
|
+
Mt as s,
|
|
5114
|
+
Rr as t,
|
|
5115
|
+
oo as u,
|
|
5116
|
+
ut as v,
|
|
5117
|
+
Br as w,
|
|
5118
|
+
ao as x,
|
|
5119
|
+
uo as y,
|
|
5120
|
+
so as z
|
|
5078
5121
|
};
|