@everymatrix/casino-lobby 1.74.0 → 1.74.2
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-BxCFWVMO.js → CasinoCalendar-D4jWXhPt.js} +1010 -1031
- package/components/{CasinoCalendar-cecf3yV9.js → CasinoCalendar-W89MyM3R.js} +837 -858
- package/components/CasinoCalendar-wYGJExu0.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-BenTRCF-.js → CasinoCalendarDailyDetails-B7a0AWc5.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-B_q2ojzj.cjs → CasinoCalendarDailyDetails-CIDfmzEU.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-9M3Wc-65.js → CasinoCalendarDailyDetails-ZqdthZ8T.js} +38 -38
- package/components/{CasinoCalendarDailyItem-a6X6lpVV.js → CasinoCalendarDailyItem-B4VNj6qm.js} +34 -34
- package/components/{CasinoCalendarDailyItem-Dn8aZPDI.cjs → CasinoCalendarDailyItem-BofIs4hH.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem--eOkU17z.js → CasinoCalendarDailyItem-C_KcFF9v.js} +34 -34
- package/components/{CasinoCategoriesSlider-cVm1UEVZ.js → CasinoCategoriesSlider-BNtVy9dZ.js} +72 -72
- package/components/{CasinoCategoriesSlider-DTXP5MCD.js → CasinoCategoriesSlider-ByWiiCre.js} +73 -73
- package/components/CasinoCategoriesSlider-DXG58TlK.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BxI7WaY-.js → CasinoCollectionsProviders-BWHjNJ7D.js} +77 -77
- package/components/{CasinoCollectionsProviders-DYgLBp3O.cjs → CasinoCollectionsProviders-Iwvjux90.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-kbD1J4nL.js → CasinoCollectionsProviders-sp73chER.js} +64 -64
- package/components/{CasinoFavoritesSection-COL7maO6.js → CasinoFavoritesSection-CNJE8CmR.js} +17 -17
- package/components/{CasinoFavoritesSection-f8yiTIJQ.cjs → CasinoFavoritesSection-DCveWnxo.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CC2FWkDe.js → CasinoFavoritesSection-DL9l3rme.js} +17 -17
- package/components/{CasinoFilter-8cIt8X5M.js → CasinoFilter-BJ9RAH6X.js} +245 -244
- package/components/CasinoFilter-Bwx_m9X7.cjs +1 -0
- package/components/{CasinoFilter-Z8P4TCHb.js → CasinoFilter-CEPRTXcd.js} +224 -225
- package/components/{CasinoGameThumbnail-4b8r0cT9.js → CasinoGameThumbnail-BLX7B2C9.js} +762 -778
- package/components/{CasinoGameThumbnail-DzaTuQ47.js → CasinoGameThumbnail-ByNzt_lj.js} +1269 -1253
- package/components/CasinoGameThumbnail-DAYBIv1-.cjs +47 -0
- package/components/{CasinoGamesCategorySection-BQutphJy.cjs → CasinoGamesCategorySection-Bcy4b4v7.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-Dw5wr4Nu.js → CasinoGamesCategorySection-CkaPpe4H.js} +246 -246
- package/components/{CasinoGamesCategorySection-SoYJu5Gt.js → CasinoGamesCategorySection-DLtyXL4y.js} +249 -249
- package/components/{CasinoJackpotBanner-Cuk9Hinn.js → CasinoJackpotBanner-0_7xAHq_.js} +83 -83
- package/components/{CasinoJackpotBanner-Bo3DtwGk.cjs → CasinoJackpotBanner-D1FBank_.cjs} +1 -1
- package/components/{CasinoJackpotBanner-BI4BRDQ5.js → CasinoJackpotBanner-suOjEdKK.js} +88 -88
- package/components/{CasinoLastPlayedSection-DK5pVGi_.cjs → CasinoLastPlayedSection-DeRqmDvT.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BMlvUb-p.js → CasinoLastPlayedSection-EIkfMv8e.js} +37 -37
- package/components/{CasinoLastPlayedSection-CT0io6jK.js → CasinoLastPlayedSection-iNRVps0U.js} +37 -37
- package/components/{CasinoLobby-CprkaLDb.js → CasinoLobby-B66cbcSf.js} +59 -59
- package/components/{CasinoLobby-RvOVr_uh.js → CasinoLobby-C_n2KRef.js} +59 -59
- package/components/{CasinoLobby-BrFoet8C.cjs → CasinoLobby-CdXuoMWk.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CRAI7pbg.cjs → CasinoMostPlayedSection-CFC20GVB.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BiJuBAns.js → CasinoMostPlayedSection-D8RGYKns.js} +46 -46
- package/components/{CasinoMostPlayedSection-DoiaQ9-H.js → CasinoMostPlayedSection-QkJYVQSD.js} +46 -46
- package/components/{CasinoMyGames-ChpeH2aN.js → CasinoMyGames-C5h1cvdX.js} +39 -39
- package/components/{CasinoMyGames--Zd_0i6N.cjs → CasinoMyGames-DGNRAJan.cjs} +1 -1
- package/components/{CasinoMyGames-evCuPqC7.js → CasinoMyGames-XuPrviRw.js} +42 -42
- package/components/{CasinoPage-CWdUDo2b.js → CasinoPage-CaJ_4wEu.js} +124 -124
- package/components/{CasinoPage-CyZkKltf.cjs → CasinoPage-DxnqqgsK.cjs} +1 -1
- package/components/{CasinoPage-DE_Ogva8.js → CasinoPage-zqbBeRpH.js} +110 -110
- package/components/{CasinoRandomGame-DtRLPA4l.js → CasinoRandomGame-BP_u-dZo.js} +56 -56
- package/components/{CasinoRandomGame-BtYuGyAc.cjs → CasinoRandomGame-CP2us9wQ.cjs} +1 -1
- package/components/{CasinoRandomGame-fGHWpPMz.js → CasinoRandomGame-DxRM8_Bw.js} +57 -57
- package/components/{CasinoSearch-CYCrFdK6.js → CasinoSearch-DUVU8u9P.js} +95 -95
- package/components/{CasinoSearch-C4egv7cj.js → CasinoSearch-DYLKBkXz.js} +98 -98
- package/components/{CasinoSearch-DqU2OnNm.cjs → CasinoSearch-E6byHH4y.cjs} +1 -1
- package/components/{CasinoSlider-BxMmHxNN.cjs → CasinoSlider-CKrkEFp2.cjs} +1 -1
- package/components/{CasinoSlider-Bc4XHMvA.js → CasinoSlider-D4GSh0Rr.js} +68 -68
- package/components/{CasinoSlider-BnZNKO4Z.js → CasinoSlider-DIeqeNfV.js} +95 -95
- package/components/{CasinoSort-C3XYwVvu.js → CasinoSort-CWqOWBmI.js} +112 -111
- package/components/{CasinoSort-CU7Sv-_a.cjs → CasinoSort-DnffDijG.cjs} +1 -1
- package/components/{CasinoSort-Cpl8-mZs.js → CasinoSort-zYMJUN8W.js} +102 -103
- package/components/{CasinoWinners-CnyEfY3y.js → CasinoWinners-BD8HtIIt.js} +145 -145
- package/components/{CasinoWinners-BJ15FnbR.cjs → CasinoWinners-CgGvis-Q.cjs} +1 -1
- package/components/{CasinoWinners-CbLarqtW.js → CasinoWinners-vOM5e-zn.js} +152 -152
- package/components/{GeneralAnimationLoading-Cu3EumIG.js → GeneralAnimationLoading-B9fWkZ6F.js} +16 -16
- package/components/{GeneralAnimationLoading-3ff4R40K.cjs → GeneralAnimationLoading-CB353I6v.cjs} +1 -1
- package/components/{GeneralAnimationLoading-qJGhyr02.js → GeneralAnimationLoading-SN6B4e8D.js} +16 -16
- 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-BMX5GkhL.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
- package/stencil/{casino-play-random-game-Ct3VSPhq.js → casino-play-random-game-qroM0e64.js} +2 -2
- package/stencil/{casino-play-random-game-DyfvRpYv.js → casino-play-random-game-uBjWXXLi.js} +2 -2
- package/stencil/index-97d17652-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/index-ab3202d6-CSUArOSv.js +559 -0
- package/stencil/index-ab3202d6-CoRS04SH.js +575 -0
- package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
- package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
- package/stencil/index-b2193545-D_cUvAA-.js +519 -0
- package/stencil/index-b2193545-kN0z2MLt.js +503 -0
- package/stencil/{ui-image-2_i-_1cj.js → ui-image-BAqS-hS6.js} +1 -1
- package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
- package/stencil/{ui-image-bN_3pDWc.js → ui-image-I_uR7pAI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
- package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-C0GZ2ncD.js} +2 -2
- package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-CYeeBz0Q.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
- package/components/CasinoCalendar-CqIFh2Q5.cjs +0 -19
- package/components/CasinoCategoriesSlider-Xyi6Epkq.cjs +0 -1
- package/components/CasinoFilter-DENEZ_Ic.cjs +0 -1
- package/components/CasinoGameThumbnail-8aXbWXN_.cjs +0 -47
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/index-ab3202d6-BXlsno-y.js +0 -559
- package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +0 -1
- package/stencil/index-ab3202d6-ncf4oQhs.js +0 -575
- package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
- package/stencil/index-b2193545-Dxw-xjac.js +0 -503
- package/stencil/index-b2193545-TbRClz6K.js +0 -519
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function B() {
|
|
2
2
|
}
|
|
3
3
|
function Er(e, t) {
|
|
4
4
|
for (const r in t)
|
|
@@ -8,50 +8,50 @@ function Er(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Ct(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function it() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function W(e) {
|
|
18
|
+
e.forEach(Ct);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function xe(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Lt(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 no(e, t) {
|
|
28
28
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
29
29
|
}
|
|
30
30
|
function xr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Mt(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
37
|
-
return
|
|
37
|
+
return B;
|
|
38
38
|
}
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
42
|
function Sr(e, t, r) {
|
|
43
|
-
e.$$.on_destroy.push(
|
|
43
|
+
e.$$.on_destroy.push(Mt(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function io(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = Nt(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Nt(e, t, r, n) {
|
|
52
52
|
return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function oo(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 so(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function so(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = Nt(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function ao(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,16 +81,16 @@ function uo(e) {
|
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return e &&
|
|
84
|
+
function uo(e) {
|
|
85
|
+
return e && xe(e.destroy) ? e.destroy : B;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Se(e, t) {
|
|
88
88
|
e.appendChild(t);
|
|
89
89
|
}
|
|
90
90
|
function wr(e, t, r) {
|
|
91
91
|
const n = Tr(e);
|
|
92
92
|
if (!n.getElementById(t)) {
|
|
93
|
-
const i =
|
|
93
|
+
const i = R("style");
|
|
94
94
|
i.id = t, i.textContent = r, Hr(n, i);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -105,7 +105,7 @@ function Tr(e) {
|
|
|
105
105
|
) : e.ownerDocument;
|
|
106
106
|
}
|
|
107
107
|
function Hr(e, t) {
|
|
108
|
-
return
|
|
108
|
+
return Se(
|
|
109
109
|
/** @type {Document} */
|
|
110
110
|
e.head || e,
|
|
111
111
|
t
|
|
@@ -114,32 +114,32 @@ function Hr(e, t) {
|
|
|
114
114
|
function k(e, t, r) {
|
|
115
115
|
e.insertBefore(t, r || null);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function D(e) {
|
|
118
118
|
e.parentNode && e.parentNode.removeChild(e);
|
|
119
119
|
}
|
|
120
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 R(e) {
|
|
125
125
|
return document.createElement(e);
|
|
126
126
|
}
|
|
127
127
|
function Pr(e) {
|
|
128
128
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Ke(e) {
|
|
131
131
|
return document.createTextNode(e);
|
|
132
132
|
}
|
|
133
133
|
function Ar() {
|
|
134
|
-
return
|
|
134
|
+
return Ke(" ");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return
|
|
136
|
+
function lo() {
|
|
137
|
+
return Ke("");
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ho(e, t, r, n) {
|
|
140
140
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function co(e) {
|
|
143
143
|
return function(t) {
|
|
144
144
|
return t.stopPropagation(), e.call(this, t);
|
|
145
145
|
};
|
|
@@ -158,16 +158,16 @@ function Ir(e, t) {
|
|
|
158
158
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
159
159
|
t);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function fo(e, t) {
|
|
162
162
|
e.value = t ?? "";
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function po(e, t, r, n) {
|
|
165
165
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function mo(e, t, r) {
|
|
168
168
|
e.classList.toggle(t, !!r);
|
|
169
169
|
}
|
|
170
|
-
class
|
|
170
|
+
class bo {
|
|
171
171
|
/**
|
|
172
172
|
* @private
|
|
173
173
|
* @default false
|
|
@@ -201,7 +201,7 @@ class yo {
|
|
|
201
201
|
this.e || (this.is_svg ? this.e = Pr(
|
|
202
202
|
/** @type {keyof SVGElementTagNameMap} */
|
|
203
203
|
r.nodeName
|
|
204
|
-
) : this.e =
|
|
204
|
+
) : this.e = R(
|
|
205
205
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
206
206
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
207
207
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -234,10 +234,10 @@ class yo {
|
|
|
234
234
|
/**
|
|
235
235
|
* @returns {void} */
|
|
236
236
|
d() {
|
|
237
|
-
this.n.forEach(
|
|
237
|
+
this.n.forEach(D);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Cr(e) {
|
|
241
241
|
const t = {};
|
|
242
242
|
return e.childNodes.forEach(
|
|
243
243
|
/** @param {Element} node */
|
|
@@ -246,161 +246,161 @@ function Lr(e) {
|
|
|
246
246
|
}
|
|
247
247
|
), t;
|
|
248
248
|
}
|
|
249
|
-
let
|
|
250
|
-
function
|
|
251
|
-
|
|
249
|
+
let ue;
|
|
250
|
+
function ae(e) {
|
|
251
|
+
ue = e;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
if (!
|
|
253
|
+
function Rt() {
|
|
254
|
+
if (!ue)
|
|
255
255
|
throw new Error("Function called outside component initialization");
|
|
256
|
-
return
|
|
256
|
+
return ue;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
|
|
258
|
+
function Lr(e) {
|
|
259
|
+
Rt().$$.on_mount.push(e);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
261
|
+
function yo(e) {
|
|
262
|
+
Rt().$$.on_destroy.push(e);
|
|
263
263
|
}
|
|
264
|
-
const q = [],
|
|
264
|
+
const q = [], $e = [];
|
|
265
265
|
let J = [];
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
function
|
|
269
|
-
|
|
266
|
+
const ot = [], $t = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let De = !1;
|
|
268
|
+
function Dt() {
|
|
269
|
+
De || (De = !0, $t.then(N));
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
return
|
|
271
|
+
function go() {
|
|
272
|
+
return Dt(), $t;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Ue(e) {
|
|
275
275
|
J.push(e);
|
|
276
276
|
}
|
|
277
|
-
const
|
|
277
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
278
278
|
let Z = 0;
|
|
279
|
-
function
|
|
279
|
+
function N() {
|
|
280
280
|
if (Z !== 0)
|
|
281
281
|
return;
|
|
282
|
-
const e =
|
|
282
|
+
const e = ue;
|
|
283
283
|
do {
|
|
284
284
|
try {
|
|
285
285
|
for (; Z < q.length; ) {
|
|
286
286
|
const t = q[Z];
|
|
287
|
-
Z++,
|
|
287
|
+
Z++, ae(t), Mr(t.$$);
|
|
288
288
|
}
|
|
289
289
|
} catch (t) {
|
|
290
290
|
throw q.length = 0, Z = 0, t;
|
|
291
291
|
}
|
|
292
|
-
for (
|
|
293
|
-
|
|
292
|
+
for (ae(null), q.length = 0, Z = 0; $e.length; )
|
|
293
|
+
$e.pop()();
|
|
294
294
|
for (let t = 0; t < J.length; t += 1) {
|
|
295
295
|
const r = J[t];
|
|
296
|
-
|
|
296
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
297
297
|
}
|
|
298
298
|
J.length = 0;
|
|
299
299
|
} while (q.length);
|
|
300
|
-
for (;
|
|
301
|
-
|
|
302
|
-
|
|
300
|
+
for (; ot.length; )
|
|
301
|
+
ot.pop()();
|
|
302
|
+
De = !1, Ae.clear(), ae(e);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function Mr(e) {
|
|
305
305
|
if (e.fragment !== null) {
|
|
306
|
-
e.update(),
|
|
306
|
+
e.update(), W(e.before_update);
|
|
307
307
|
const t = e.dirty;
|
|
308
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
308
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Nr(e) {
|
|
312
312
|
const t = [], r = [];
|
|
313
313
|
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
|
314
314
|
}
|
|
315
315
|
const me = /* @__PURE__ */ new Set();
|
|
316
|
-
let
|
|
316
|
+
let X;
|
|
317
317
|
function vo() {
|
|
318
|
-
|
|
318
|
+
X = {
|
|
319
319
|
r: 0,
|
|
320
320
|
c: [],
|
|
321
|
-
p:
|
|
321
|
+
p: X
|
|
322
322
|
// parent group
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
|
|
325
|
+
function _o() {
|
|
326
|
+
X.r || W(X.c), X = X.p;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Ut(e, t) {
|
|
329
329
|
e && e.i && (me.delete(e), e.i(t));
|
|
330
330
|
}
|
|
331
331
|
function Rr(e, t, r, n) {
|
|
332
332
|
if (e && e.o) {
|
|
333
333
|
if (me.has(e))
|
|
334
334
|
return;
|
|
335
|
-
me.add(e),
|
|
335
|
+
me.add(e), X.c.push(() => {
|
|
336
336
|
me.delete(e), n && (r && e.d(1), n());
|
|
337
337
|
}), e.o(t);
|
|
338
338
|
} else
|
|
339
339
|
n && n();
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function st(e) {
|
|
342
342
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Eo(e, t) {
|
|
345
345
|
e.d(1), t.delete(e.key);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function xo(e, t) {
|
|
348
348
|
Rr(e, 1, 1, () => {
|
|
349
349
|
t.delete(e.key);
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function So(e, t, r, n, i, o, a, s, l, u, h, f) {
|
|
353
353
|
let c = e.length, m = o.length, b = c;
|
|
354
354
|
const g = {};
|
|
355
355
|
for (; b--; )
|
|
356
356
|
g[e[b].key] = b;
|
|
357
|
-
const S = [],
|
|
357
|
+
const S = [], P = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
|
|
358
358
|
for (b = m; b--; ) {
|
|
359
|
-
const
|
|
360
|
-
let
|
|
361
|
-
|
|
359
|
+
const x = f(i, o, b), O = r(x);
|
|
360
|
+
let I = a.get(O);
|
|
361
|
+
I ? w.push(() => I.p(x, t)) : (I = u(O, x), I.c()), P.set(O, S[b] = I), O in g && H.set(O, Math.abs(b - g[O]));
|
|
362
362
|
}
|
|
363
|
-
const
|
|
364
|
-
function
|
|
365
|
-
|
|
363
|
+
const L = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
|
|
364
|
+
function M(x) {
|
|
365
|
+
Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
|
|
366
366
|
}
|
|
367
367
|
for (; c && m; ) {
|
|
368
|
-
const
|
|
369
|
-
|
|
368
|
+
const x = S[m - 1], O = e[c - 1], I = x.key, V = O.key;
|
|
369
|
+
x === O ? (h = x.first, c--, m--) : P.has(V) ? !a.has(I) || L.has(I) ? M(x) : A.has(V) ? c-- : H.get(I) > H.get(V) ? (A.add(I), M(x)) : (L.add(V), c--) : (l(O, a), c--);
|
|
370
370
|
}
|
|
371
371
|
for (; c--; ) {
|
|
372
|
-
const
|
|
373
|
-
|
|
372
|
+
const x = e[c];
|
|
373
|
+
P.has(x.key) || l(x, a);
|
|
374
374
|
}
|
|
375
375
|
for (; m; )
|
|
376
|
-
|
|
377
|
-
return
|
|
376
|
+
M(S[m - 1]);
|
|
377
|
+
return W(w), S;
|
|
378
378
|
}
|
|
379
379
|
function $r(e, t, r) {
|
|
380
380
|
const { fragment: n, after_update: i } = e.$$;
|
|
381
|
-
n && n.m(t, r),
|
|
382
|
-
const o = e.$$.on_mount.map(
|
|
383
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
384
|
-
}), i.forEach(
|
|
381
|
+
n && n.m(t, r), Ue(() => {
|
|
382
|
+
const o = e.$$.on_mount.map(Ct).filter(xe);
|
|
383
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
|
|
384
|
+
}), i.forEach(Ue);
|
|
385
385
|
}
|
|
386
386
|
function Dr(e, t) {
|
|
387
387
|
const r = e.$$;
|
|
388
|
-
r.fragment !== null && (
|
|
388
|
+
r.fragment !== null && (Nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
389
389
|
}
|
|
390
390
|
function Ur(e, t) {
|
|
391
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
391
|
+
e.$$.dirty[0] === -1 && (q.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
392
392
|
}
|
|
393
393
|
function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
394
|
-
const l =
|
|
395
|
-
|
|
394
|
+
const l = ue;
|
|
395
|
+
ae(e);
|
|
396
396
|
const u = e.$$ = {
|
|
397
397
|
fragment: null,
|
|
398
398
|
ctx: [],
|
|
399
399
|
// state
|
|
400
400
|
props: o,
|
|
401
|
-
update:
|
|
401
|
+
update: B,
|
|
402
402
|
not_equal: i,
|
|
403
|
-
bound:
|
|
403
|
+
bound: it(),
|
|
404
404
|
// lifecycle
|
|
405
405
|
on_mount: [],
|
|
406
406
|
on_destroy: [],
|
|
@@ -409,7 +409,7 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
409
409
|
after_update: [],
|
|
410
410
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
411
411
|
// everything else
|
|
412
|
-
callbacks:
|
|
412
|
+
callbacks: it(),
|
|
413
413
|
dirty: s,
|
|
414
414
|
skip_bound: !1,
|
|
415
415
|
root: t.target || l.$$.root
|
|
@@ -419,18 +419,18 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
419
419
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
420
420
|
const b = m.length ? m[0] : c;
|
|
421
421
|
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;
|
|
422
|
-
}) : [], u.update(), h = !0,
|
|
422
|
+
}) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
423
423
|
if (t.hydrate) {
|
|
424
424
|
const f = Or(t.target);
|
|
425
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
425
|
+
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
426
426
|
} else
|
|
427
427
|
u.fragment && u.fragment.c();
|
|
428
|
-
t.intro &&
|
|
428
|
+
t.intro && Ut(e.$$.fragment), $r(e, t.target, t.anchor), N();
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
ae(l);
|
|
431
431
|
}
|
|
432
|
-
let
|
|
433
|
-
typeof HTMLElement == "function" && (
|
|
432
|
+
let Gt;
|
|
433
|
+
typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
434
434
|
/** The Svelte component constructor */
|
|
435
435
|
$$ctor;
|
|
436
436
|
/** Slots */
|
|
@@ -472,7 +472,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
472
472
|
let o;
|
|
473
473
|
return {
|
|
474
474
|
c: function() {
|
|
475
|
-
o =
|
|
475
|
+
o = R("slot"), i !== "default" && j(o, "name", i);
|
|
476
476
|
},
|
|
477
477
|
/**
|
|
478
478
|
* @param {HTMLElement} target
|
|
@@ -482,14 +482,14 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
482
482
|
k(l, o, u);
|
|
483
483
|
},
|
|
484
484
|
d: function(l) {
|
|
485
|
-
l &&
|
|
485
|
+
l && D(o);
|
|
486
486
|
}
|
|
487
487
|
};
|
|
488
488
|
};
|
|
489
489
|
};
|
|
490
490
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
491
491
|
return;
|
|
492
|
-
const t = {}, r =
|
|
492
|
+
const t = {}, r = Cr(this);
|
|
493
493
|
for (const i of this.$$s)
|
|
494
494
|
i in r && (t[i] = [e(i)]);
|
|
495
495
|
for (const i of this.attributes) {
|
|
@@ -577,7 +577,7 @@ function be(e, t, r, n) {
|
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
function Fr(e, t, r, n, i, o) {
|
|
580
|
-
let a = class extends
|
|
580
|
+
let a = class extends Gt {
|
|
581
581
|
constructor() {
|
|
582
582
|
super(e, r, i), this.$$p_d = t;
|
|
583
583
|
}
|
|
@@ -624,7 +624,7 @@ class jr {
|
|
|
624
624
|
$$set = void 0;
|
|
625
625
|
/** @returns {void} */
|
|
626
626
|
$destroy() {
|
|
627
|
-
Dr(this, 1), this.$destroy =
|
|
627
|
+
Dr(this, 1), this.$destroy = B;
|
|
628
628
|
}
|
|
629
629
|
/**
|
|
630
630
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -633,8 +633,8 @@ class jr {
|
|
|
633
633
|
* @returns {() => void}
|
|
634
634
|
*/
|
|
635
635
|
$on(t, r) {
|
|
636
|
-
if (!
|
|
637
|
-
return
|
|
636
|
+
if (!xe(r))
|
|
637
|
+
return B;
|
|
638
638
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
639
639
|
return n.push(r), () => {
|
|
640
640
|
const i = n.indexOf(r);
|
|
@@ -665,24 +665,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
665
665
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
666
666
|
PERFORMANCE OF THIS SOFTWARE.
|
|
667
667
|
***************************************************************************** */
|
|
668
|
-
var
|
|
669
|
-
return
|
|
668
|
+
var Ge = function(e, t) {
|
|
669
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
670
670
|
r.__proto__ = n;
|
|
671
671
|
} || function(r, n) {
|
|
672
672
|
for (var i in n)
|
|
673
673
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
674
|
-
},
|
|
674
|
+
}, Ge(e, t);
|
|
675
675
|
};
|
|
676
|
-
function
|
|
676
|
+
function U(e, t) {
|
|
677
677
|
if (typeof t != "function" && t !== null)
|
|
678
678
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
679
|
-
|
|
679
|
+
Ge(e, t);
|
|
680
680
|
function r() {
|
|
681
681
|
this.constructor = e;
|
|
682
682
|
}
|
|
683
683
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
var _ = function() {
|
|
686
|
+
return _ = Object.assign || function(t) {
|
|
687
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
688
|
+
r = arguments[n];
|
|
689
|
+
for (var o in r)
|
|
690
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
691
|
+
}
|
|
692
|
+
return t;
|
|
693
|
+
}, _.apply(this, arguments);
|
|
694
|
+
};
|
|
695
|
+
function Vr(e, t) {
|
|
696
|
+
var r = {};
|
|
697
|
+
for (var n in e)
|
|
698
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
699
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
700
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
701
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
702
|
+
return r;
|
|
703
|
+
}
|
|
704
|
+
function Fe(e) {
|
|
686
705
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
687
706
|
if (r)
|
|
688
707
|
return r.call(e);
|
|
@@ -694,7 +713,7 @@ function ke(e) {
|
|
|
694
713
|
};
|
|
695
714
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
696
715
|
}
|
|
697
|
-
function
|
|
716
|
+
function je(e, t) {
|
|
698
717
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
699
718
|
if (!r)
|
|
700
719
|
return e;
|
|
@@ -714,22 +733,22 @@ function Ve(e, t) {
|
|
|
714
733
|
}
|
|
715
734
|
return o;
|
|
716
735
|
}
|
|
717
|
-
function
|
|
718
|
-
if (arguments.length === 2)
|
|
736
|
+
function Y(e, t, r) {
|
|
737
|
+
if (r || arguments.length === 2)
|
|
719
738
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
720
739
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
721
740
|
return e.concat(o || t);
|
|
722
741
|
}
|
|
723
|
-
function
|
|
742
|
+
function $(e) {
|
|
724
743
|
return typeof e == "function";
|
|
725
744
|
}
|
|
726
|
-
function
|
|
745
|
+
function Ft(e) {
|
|
727
746
|
var t = function(n) {
|
|
728
747
|
Error.call(n), n.stack = new Error().stack;
|
|
729
748
|
}, r = e(t);
|
|
730
749
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
731
750
|
}
|
|
732
|
-
var
|
|
751
|
+
var Oe = Ft(function(e) {
|
|
733
752
|
return function(r) {
|
|
734
753
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
735
754
|
` + r.map(function(n, i) {
|
|
@@ -738,13 +757,13 @@ var Le = kt(function(e) {
|
|
|
738
757
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
739
758
|
};
|
|
740
759
|
});
|
|
741
|
-
function
|
|
760
|
+
function ke(e, t) {
|
|
742
761
|
if (e) {
|
|
743
762
|
var r = e.indexOf(t);
|
|
744
763
|
0 <= r && e.splice(r, 1);
|
|
745
764
|
}
|
|
746
765
|
}
|
|
747
|
-
var
|
|
766
|
+
var we = function() {
|
|
748
767
|
function e(t) {
|
|
749
768
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
750
769
|
}
|
|
@@ -756,7 +775,7 @@ var Te = function() {
|
|
|
756
775
|
if (a)
|
|
757
776
|
if (this._parentage = null, Array.isArray(a))
|
|
758
777
|
try {
|
|
759
|
-
for (var s =
|
|
778
|
+
for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
|
|
760
779
|
var u = l.value;
|
|
761
780
|
u.remove(this);
|
|
762
781
|
}
|
|
@@ -773,22 +792,22 @@ var Te = function() {
|
|
|
773
792
|
else
|
|
774
793
|
a.remove(this);
|
|
775
794
|
var h = this.initialTeardown;
|
|
776
|
-
if (
|
|
795
|
+
if ($(h))
|
|
777
796
|
try {
|
|
778
797
|
h();
|
|
779
798
|
} catch (g) {
|
|
780
|
-
o = g instanceof
|
|
799
|
+
o = g instanceof Oe ? g.errors : [g];
|
|
781
800
|
}
|
|
782
801
|
var f = this._finalizers;
|
|
783
802
|
if (f) {
|
|
784
803
|
this._finalizers = null;
|
|
785
804
|
try {
|
|
786
|
-
for (var c =
|
|
805
|
+
for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
|
|
787
806
|
var b = m.value;
|
|
788
807
|
try {
|
|
789
|
-
|
|
808
|
+
at(b);
|
|
790
809
|
} catch (g) {
|
|
791
|
-
o = o ?? [], g instanceof
|
|
810
|
+
o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
|
|
792
811
|
}
|
|
793
812
|
}
|
|
794
813
|
} catch (g) {
|
|
@@ -803,13 +822,13 @@ var Te = function() {
|
|
|
803
822
|
}
|
|
804
823
|
}
|
|
805
824
|
if (o)
|
|
806
|
-
throw new
|
|
825
|
+
throw new Oe(o);
|
|
807
826
|
}
|
|
808
827
|
}, e.prototype.add = function(t) {
|
|
809
828
|
var r;
|
|
810
829
|
if (t && t !== this)
|
|
811
830
|
if (this.closed)
|
|
812
|
-
|
|
831
|
+
at(t);
|
|
813
832
|
else {
|
|
814
833
|
if (t instanceof e) {
|
|
815
834
|
if (t.closed || t._hasParent(this))
|
|
@@ -826,28 +845,32 @@ var Te = function() {
|
|
|
826
845
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
827
846
|
}, e.prototype._removeParent = function(t) {
|
|
828
847
|
var r = this._parentage;
|
|
829
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
848
|
+
r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
|
|
830
849
|
}, e.prototype.remove = function(t) {
|
|
831
850
|
var r = this._finalizers;
|
|
832
|
-
r &&
|
|
851
|
+
r && ke(r, t), t instanceof e && t._removeParent(this);
|
|
833
852
|
}, e.EMPTY = function() {
|
|
834
853
|
var t = new e();
|
|
835
854
|
return t.closed = !0, t;
|
|
836
855
|
}(), e;
|
|
837
|
-
}(),
|
|
838
|
-
function
|
|
839
|
-
return e instanceof
|
|
856
|
+
}(), jt = we.EMPTY;
|
|
857
|
+
function kt(e) {
|
|
858
|
+
return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
840
859
|
}
|
|
841
|
-
function
|
|
842
|
-
|
|
860
|
+
function at(e) {
|
|
861
|
+
$(e) ? e() : e.unsubscribe();
|
|
843
862
|
}
|
|
844
|
-
var
|
|
845
|
-
|
|
863
|
+
var Vt = {
|
|
864
|
+
onUnhandledError: null,
|
|
865
|
+
onStoppedNotification: null,
|
|
866
|
+
Promise: void 0,
|
|
867
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
868
|
+
useDeprecatedNextContext: !1
|
|
846
869
|
}, Xr = {
|
|
847
870
|
setTimeout: function(e, t) {
|
|
848
871
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
849
872
|
r[n - 2] = arguments[n];
|
|
850
|
-
return setTimeout.apply(void 0,
|
|
873
|
+
return setTimeout.apply(void 0, Y([e, t], je(r)));
|
|
851
874
|
},
|
|
852
875
|
clearTimeout: function(e) {
|
|
853
876
|
return clearTimeout(e);
|
|
@@ -859,19 +882,19 @@ function Wr(e) {
|
|
|
859
882
|
throw e;
|
|
860
883
|
});
|
|
861
884
|
}
|
|
862
|
-
function
|
|
885
|
+
function ut() {
|
|
863
886
|
}
|
|
864
887
|
function ye(e) {
|
|
865
888
|
e();
|
|
866
889
|
}
|
|
867
|
-
var
|
|
868
|
-
|
|
890
|
+
var Xt = function(e) {
|
|
891
|
+
U(t, e);
|
|
869
892
|
function t(r) {
|
|
870
893
|
var n = e.call(this) || this;
|
|
871
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
894
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = qr, n;
|
|
872
895
|
}
|
|
873
896
|
return t.create = function(r, n, i) {
|
|
874
|
-
return new
|
|
897
|
+
return new Ve(r, n, i);
|
|
875
898
|
}, t.prototype.next = function(r) {
|
|
876
899
|
this.isStopped || this._next(r);
|
|
877
900
|
}, t.prototype.error = function(r) {
|
|
@@ -895,7 +918,11 @@ var Wt = function(e) {
|
|
|
895
918
|
this.unsubscribe();
|
|
896
919
|
}
|
|
897
920
|
}, t;
|
|
898
|
-
}(
|
|
921
|
+
}(we), zr = Function.prototype.bind;
|
|
922
|
+
function Ie(e, t) {
|
|
923
|
+
return zr.call(e, t);
|
|
924
|
+
}
|
|
925
|
+
var Zr = function() {
|
|
899
926
|
function e(t) {
|
|
900
927
|
this.partialObserver = t;
|
|
901
928
|
}
|
|
@@ -926,43 +953,55 @@ var Wt = function(e) {
|
|
|
926
953
|
de(r);
|
|
927
954
|
}
|
|
928
955
|
}, e;
|
|
929
|
-
}(),
|
|
930
|
-
|
|
956
|
+
}(), Ve = function(e) {
|
|
957
|
+
U(t, e);
|
|
931
958
|
function t(r, n, i) {
|
|
932
959
|
var o = e.call(this) || this, a;
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
960
|
+
if ($(r) || !r)
|
|
961
|
+
a = {
|
|
962
|
+
next: r ?? void 0,
|
|
963
|
+
error: n ?? void 0,
|
|
964
|
+
complete: i ?? void 0
|
|
965
|
+
};
|
|
966
|
+
else {
|
|
967
|
+
var s;
|
|
968
|
+
o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
969
|
+
return o.unsubscribe();
|
|
970
|
+
}, a = {
|
|
971
|
+
next: r.next && Ie(r.next, s),
|
|
972
|
+
error: r.error && Ie(r.error, s),
|
|
973
|
+
complete: r.complete && Ie(r.complete, s)
|
|
974
|
+
}) : a = r;
|
|
975
|
+
}
|
|
976
|
+
return o.destination = new Zr(a), o;
|
|
938
977
|
}
|
|
939
978
|
return t;
|
|
940
|
-
}(
|
|
979
|
+
}(Xt);
|
|
941
980
|
function de(e) {
|
|
942
981
|
Wr(e);
|
|
943
982
|
}
|
|
944
|
-
function
|
|
983
|
+
function Qr(e) {
|
|
945
984
|
throw e;
|
|
946
985
|
}
|
|
947
|
-
var
|
|
986
|
+
var qr = {
|
|
948
987
|
closed: !0,
|
|
949
|
-
next:
|
|
950
|
-
error:
|
|
951
|
-
complete:
|
|
952
|
-
},
|
|
988
|
+
next: ut,
|
|
989
|
+
error: Qr,
|
|
990
|
+
complete: ut
|
|
991
|
+
}, Jr = function() {
|
|
953
992
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
954
993
|
}();
|
|
955
|
-
function
|
|
994
|
+
function Yr(e) {
|
|
956
995
|
return e;
|
|
957
996
|
}
|
|
958
|
-
function
|
|
959
|
-
return e.length === 0 ?
|
|
997
|
+
function Kr(e) {
|
|
998
|
+
return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
|
|
960
999
|
return e.reduce(function(n, i) {
|
|
961
1000
|
return i(n);
|
|
962
1001
|
}, r);
|
|
963
1002
|
};
|
|
964
1003
|
}
|
|
965
|
-
var
|
|
1004
|
+
var lt = function() {
|
|
966
1005
|
function e(t) {
|
|
967
1006
|
t && (this._subscribe = t);
|
|
968
1007
|
}
|
|
@@ -970,7 +1009,7 @@ var ct = function() {
|
|
|
970
1009
|
var r = new e();
|
|
971
1010
|
return r.source = this, r.operator = t, r;
|
|
972
1011
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
973
|
-
var i = this, o =
|
|
1012
|
+
var i = this, o = tn(t) ? t : new Ve(t, r, n);
|
|
974
1013
|
return ye(function() {
|
|
975
1014
|
var a = i, s = a.operator, l = a.source;
|
|
976
1015
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -983,8 +1022,8 @@ var ct = function() {
|
|
|
983
1022
|
}
|
|
984
1023
|
}, e.prototype.forEach = function(t, r) {
|
|
985
1024
|
var n = this;
|
|
986
|
-
return r =
|
|
987
|
-
var a = new
|
|
1025
|
+
return r = ht(r), new r(function(i, o) {
|
|
1026
|
+
var a = new Ve({
|
|
988
1027
|
next: function(s) {
|
|
989
1028
|
try {
|
|
990
1029
|
t(s);
|
|
@@ -1000,15 +1039,15 @@ var ct = function() {
|
|
|
1000
1039
|
}, e.prototype._subscribe = function(t) {
|
|
1001
1040
|
var r;
|
|
1002
1041
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1003
|
-
}, e.prototype[
|
|
1042
|
+
}, e.prototype[Jr] = function() {
|
|
1004
1043
|
return this;
|
|
1005
1044
|
}, e.prototype.pipe = function() {
|
|
1006
1045
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1007
1046
|
t[r] = arguments[r];
|
|
1008
|
-
return
|
|
1047
|
+
return Kr(t)(this);
|
|
1009
1048
|
}, e.prototype.toPromise = function(t) {
|
|
1010
1049
|
var r = this;
|
|
1011
|
-
return t =
|
|
1050
|
+
return t = ht(t), new t(function(n, i) {
|
|
1012
1051
|
var o;
|
|
1013
1052
|
r.subscribe(function(a) {
|
|
1014
1053
|
return o = a;
|
|
@@ -1022,32 +1061,32 @@ var ct = function() {
|
|
|
1022
1061
|
return new e(t);
|
|
1023
1062
|
}, e;
|
|
1024
1063
|
}();
|
|
1025
|
-
function
|
|
1064
|
+
function ht(e) {
|
|
1026
1065
|
var t;
|
|
1027
|
-
return (t = e ??
|
|
1028
|
-
}
|
|
1029
|
-
function Kr(e) {
|
|
1030
|
-
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
1066
|
+
return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1031
1067
|
}
|
|
1032
1068
|
function en(e) {
|
|
1033
|
-
return e && e
|
|
1069
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1034
1070
|
}
|
|
1035
|
-
|
|
1071
|
+
function tn(e) {
|
|
1072
|
+
return e && e instanceof Xt || en(e) && kt(e);
|
|
1073
|
+
}
|
|
1074
|
+
var rn = Ft(function(e) {
|
|
1036
1075
|
return function() {
|
|
1037
1076
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1038
1077
|
};
|
|
1039
|
-
}),
|
|
1040
|
-
|
|
1078
|
+
}), Wt = function(e) {
|
|
1079
|
+
U(t, e);
|
|
1041
1080
|
function t() {
|
|
1042
1081
|
var r = e.call(this) || this;
|
|
1043
1082
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1044
1083
|
}
|
|
1045
1084
|
return t.prototype.lift = function(r) {
|
|
1046
|
-
var n = new
|
|
1085
|
+
var n = new ct(this, this);
|
|
1047
1086
|
return n.operator = r, n;
|
|
1048
1087
|
}, t.prototype._throwIfClosed = function() {
|
|
1049
1088
|
if (this.closed)
|
|
1050
|
-
throw new
|
|
1089
|
+
throw new rn();
|
|
1051
1090
|
}, t.prototype.next = function(r) {
|
|
1052
1091
|
var n = this;
|
|
1053
1092
|
ye(function() {
|
|
@@ -1055,7 +1094,7 @@ var tn = kt(function(e) {
|
|
|
1055
1094
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1056
1095
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1057
1096
|
try {
|
|
1058
|
-
for (var a =
|
|
1097
|
+
for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1059
1098
|
var l = s.value;
|
|
1060
1099
|
l.next(r);
|
|
1061
1100
|
}
|
|
@@ -1104,20 +1143,20 @@ var tn = kt(function(e) {
|
|
|
1104
1143
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1105
1144
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1106
1145
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1107
|
-
return o || a ?
|
|
1108
|
-
n.currentObservers = null,
|
|
1146
|
+
return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
|
|
1147
|
+
n.currentObservers = null, ke(s, r);
|
|
1109
1148
|
}));
|
|
1110
1149
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1111
1150
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1112
1151
|
i ? r.error(o) : a && r.complete();
|
|
1113
1152
|
}, t.prototype.asObservable = function() {
|
|
1114
|
-
var r = new
|
|
1153
|
+
var r = new lt();
|
|
1115
1154
|
return r.source = this, r;
|
|
1116
1155
|
}, t.create = function(r, n) {
|
|
1117
|
-
return new
|
|
1156
|
+
return new ct(r, n);
|
|
1118
1157
|
}, t;
|
|
1119
|
-
}(
|
|
1120
|
-
|
|
1158
|
+
}(lt), ct = function(e) {
|
|
1159
|
+
U(t, e);
|
|
1121
1160
|
function t(r, n) {
|
|
1122
1161
|
var i = e.call(this) || this;
|
|
1123
1162
|
return i.destination = r, i.source = n, i;
|
|
@@ -1133,17 +1172,17 @@ var tn = kt(function(e) {
|
|
|
1133
1172
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1134
1173
|
}, t.prototype._subscribe = function(r) {
|
|
1135
1174
|
var n, i;
|
|
1136
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1175
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1137
1176
|
}, t;
|
|
1138
|
-
}(
|
|
1177
|
+
}(Wt), zt = {
|
|
1139
1178
|
now: function() {
|
|
1140
|
-
return (
|
|
1179
|
+
return (zt.delegate || Date).now();
|
|
1141
1180
|
},
|
|
1142
1181
|
delegate: void 0
|
|
1143
|
-
},
|
|
1144
|
-
|
|
1182
|
+
}, nn = function(e) {
|
|
1183
|
+
U(t, e);
|
|
1145
1184
|
function t(r, n, i) {
|
|
1146
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1185
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
|
|
1147
1186
|
var o = e.call(this) || this;
|
|
1148
1187
|
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;
|
|
1149
1188
|
}
|
|
@@ -1163,24 +1202,24 @@ var tn = kt(function(e) {
|
|
|
1163
1202
|
u && o.splice(0, u + 1);
|
|
1164
1203
|
}
|
|
1165
1204
|
}, t;
|
|
1166
|
-
}(
|
|
1167
|
-
const
|
|
1168
|
-
if (
|
|
1169
|
-
const r = new
|
|
1170
|
-
|
|
1205
|
+
}(Wt);
|
|
1206
|
+
const ft = [], dt = {}, on = (e, t = 0) => {
|
|
1207
|
+
if (ft.indexOf(e) == -1) {
|
|
1208
|
+
const r = new nn(t);
|
|
1209
|
+
dt[e] = r, ft.push(e);
|
|
1171
1210
|
}
|
|
1172
|
-
return
|
|
1211
|
+
return dt[e];
|
|
1173
1212
|
}, Q = [];
|
|
1174
|
-
function
|
|
1213
|
+
function sn(e, t) {
|
|
1175
1214
|
return {
|
|
1176
|
-
subscribe:
|
|
1215
|
+
subscribe: Te(e, t).subscribe
|
|
1177
1216
|
};
|
|
1178
1217
|
}
|
|
1179
|
-
function
|
|
1218
|
+
function Te(e, t = B) {
|
|
1180
1219
|
let r;
|
|
1181
1220
|
const n = /* @__PURE__ */ new Set();
|
|
1182
1221
|
function i(s) {
|
|
1183
|
-
if (
|
|
1222
|
+
if (Lt(e, s) && (e = s, r)) {
|
|
1184
1223
|
const l = !Q.length;
|
|
1185
1224
|
for (const u of n)
|
|
1186
1225
|
u[1](), Q.push(u, e);
|
|
@@ -1194,31 +1233,31 @@ function He(e, t = P) {
|
|
|
1194
1233
|
function o(s) {
|
|
1195
1234
|
i(s(e));
|
|
1196
1235
|
}
|
|
1197
|
-
function a(s, l =
|
|
1236
|
+
function a(s, l = B) {
|
|
1198
1237
|
const u = [s, l];
|
|
1199
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1238
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
|
|
1200
1239
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1201
1240
|
};
|
|
1202
1241
|
}
|
|
1203
1242
|
return { set: i, update: o, subscribe: a };
|
|
1204
1243
|
}
|
|
1205
|
-
function
|
|
1244
|
+
function ne(e, t, r) {
|
|
1206
1245
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1207
1246
|
if (!i.every(Boolean))
|
|
1208
1247
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1209
1248
|
const o = t.length < 2;
|
|
1210
|
-
return
|
|
1249
|
+
return sn(r, (a, s) => {
|
|
1211
1250
|
let l = !1;
|
|
1212
1251
|
const u = [];
|
|
1213
|
-
let h = 0, f =
|
|
1252
|
+
let h = 0, f = B;
|
|
1214
1253
|
const c = () => {
|
|
1215
1254
|
if (h)
|
|
1216
1255
|
return;
|
|
1217
1256
|
f();
|
|
1218
1257
|
const b = t(n ? u[0] : u, a, s);
|
|
1219
|
-
o ? a(b) : f =
|
|
1258
|
+
o ? a(b) : f = xe(b) ? b : B;
|
|
1220
1259
|
}, m = i.map(
|
|
1221
|
-
(b, g) =>
|
|
1260
|
+
(b, g) => Mt(
|
|
1222
1261
|
b,
|
|
1223
1262
|
(S) => {
|
|
1224
1263
|
u[g] = S, h &= ~(1 << g), l && c();
|
|
@@ -1229,128 +1268,86 @@ function re(e, t, r) {
|
|
|
1229
1268
|
)
|
|
1230
1269
|
);
|
|
1231
1270
|
return l = !0, c(), function() {
|
|
1232
|
-
|
|
1271
|
+
W(m), f(), l = !1;
|
|
1233
1272
|
};
|
|
1234
1273
|
});
|
|
1235
1274
|
}
|
|
1236
|
-
function
|
|
1275
|
+
function an(e) {
|
|
1237
1276
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1238
1277
|
}
|
|
1239
|
-
var
|
|
1240
|
-
return
|
|
1278
|
+
var un = function(t) {
|
|
1279
|
+
return ln(t) && !hn(t);
|
|
1241
1280
|
};
|
|
1242
|
-
function
|
|
1281
|
+
function ln(e) {
|
|
1243
1282
|
return !!e && typeof e == "object";
|
|
1244
1283
|
}
|
|
1245
|
-
function
|
|
1284
|
+
function hn(e) {
|
|
1246
1285
|
var t = Object.prototype.toString.call(e);
|
|
1247
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1248
|
-
}
|
|
1249
|
-
var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
|
|
1250
|
-
function fn(e) {
|
|
1251
|
-
return e.$$typeof === cn;
|
|
1286
|
+
return t === "[object RegExp]" || t === "[object Date]" || dn(e);
|
|
1252
1287
|
}
|
|
1288
|
+
var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
|
|
1253
1289
|
function dn(e) {
|
|
1290
|
+
return e.$$typeof === fn;
|
|
1291
|
+
}
|
|
1292
|
+
function pn(e) {
|
|
1254
1293
|
return Array.isArray(e) ? [] : {};
|
|
1255
1294
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1295
|
+
function le(e, t) {
|
|
1296
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(pn(e), e, t) : e;
|
|
1258
1297
|
}
|
|
1259
|
-
function
|
|
1298
|
+
function mn(e, t, r) {
|
|
1260
1299
|
return e.concat(t).map(function(n) {
|
|
1261
|
-
return
|
|
1300
|
+
return le(n, r);
|
|
1262
1301
|
});
|
|
1263
1302
|
}
|
|
1264
|
-
function
|
|
1303
|
+
function bn(e, t) {
|
|
1265
1304
|
if (!t.customMerge)
|
|
1266
|
-
return
|
|
1305
|
+
return K;
|
|
1267
1306
|
var r = t.customMerge(e);
|
|
1268
|
-
return typeof r == "function" ? r :
|
|
1307
|
+
return typeof r == "function" ? r : K;
|
|
1269
1308
|
}
|
|
1270
|
-
function
|
|
1309
|
+
function yn(e) {
|
|
1271
1310
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1272
1311
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1273
1312
|
}) : [];
|
|
1274
1313
|
}
|
|
1275
|
-
function
|
|
1276
|
-
return Object.keys(e).concat(
|
|
1314
|
+
function pt(e) {
|
|
1315
|
+
return Object.keys(e).concat(yn(e));
|
|
1277
1316
|
}
|
|
1278
|
-
function
|
|
1317
|
+
function Zt(e, t) {
|
|
1279
1318
|
try {
|
|
1280
1319
|
return t in e;
|
|
1281
1320
|
} catch {
|
|
1282
1321
|
return !1;
|
|
1283
1322
|
}
|
|
1284
1323
|
}
|
|
1285
|
-
function
|
|
1286
|
-
return
|
|
1324
|
+
function gn(e, t) {
|
|
1325
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1287
1326
|
}
|
|
1288
|
-
function
|
|
1327
|
+
function vn(e, t, r) {
|
|
1289
1328
|
var n = {};
|
|
1290
|
-
return r.isMergeableObject(e) &&
|
|
1291
|
-
n[i] =
|
|
1292
|
-
}),
|
|
1293
|
-
|
|
1329
|
+
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
1330
|
+
n[i] = le(e[i], r);
|
|
1331
|
+
}), pt(t).forEach(function(i) {
|
|
1332
|
+
gn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1294
1333
|
}), n;
|
|
1295
1334
|
}
|
|
1296
|
-
function
|
|
1297
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1335
|
+
function K(e, t, r) {
|
|
1336
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = le;
|
|
1298
1337
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1299
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1338
|
+
return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : le(t, r);
|
|
1300
1339
|
}
|
|
1301
|
-
|
|
1340
|
+
K.all = function(t, r) {
|
|
1302
1341
|
if (!Array.isArray(t))
|
|
1303
1342
|
throw new Error("first argument should be an array");
|
|
1304
1343
|
return t.reduce(function(n, i) {
|
|
1305
|
-
return
|
|
1344
|
+
return K(n, i, r);
|
|
1306
1345
|
}, {});
|
|
1307
1346
|
};
|
|
1308
|
-
var _n =
|
|
1309
|
-
const
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
r.__proto__ = n;
|
|
1313
|
-
} || function(r, n) {
|
|
1314
|
-
for (var i in n)
|
|
1315
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1316
|
-
}, Ze(e, t);
|
|
1317
|
-
};
|
|
1318
|
-
function Be(e, t) {
|
|
1319
|
-
if (typeof t != "function" && t !== null)
|
|
1320
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1321
|
-
Ze(e, t);
|
|
1322
|
-
function r() {
|
|
1323
|
-
this.constructor = e;
|
|
1324
|
-
}
|
|
1325
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1326
|
-
}
|
|
1327
|
-
var R = function() {
|
|
1328
|
-
return R = Object.assign || function(t) {
|
|
1329
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1330
|
-
r = arguments[n];
|
|
1331
|
-
for (var o in r)
|
|
1332
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1333
|
-
}
|
|
1334
|
-
return t;
|
|
1335
|
-
}, R.apply(this, arguments);
|
|
1336
|
-
};
|
|
1337
|
-
function xn(e, t) {
|
|
1338
|
-
var r = {};
|
|
1339
|
-
for (var n in e)
|
|
1340
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1341
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1342
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1343
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1344
|
-
return r;
|
|
1345
|
-
}
|
|
1346
|
-
function Ce(e, t, r) {
|
|
1347
|
-
if (r || arguments.length === 2)
|
|
1348
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1349
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1350
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1351
|
-
}
|
|
1352
|
-
function Ne(e, t) {
|
|
1353
|
-
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
|
|
1347
|
+
var _n = K, En = _n;
|
|
1348
|
+
const xn = /* @__PURE__ */ an(En);
|
|
1349
|
+
function Ce(e, t) {
|
|
1350
|
+
var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : wn;
|
|
1354
1351
|
return i(e, {
|
|
1355
1352
|
cache: r,
|
|
1356
1353
|
serializer: n
|
|
@@ -1359,7 +1356,7 @@ function Ne(e, t) {
|
|
|
1359
1356
|
function Sn(e) {
|
|
1360
1357
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1361
1358
|
}
|
|
1362
|
-
function
|
|
1359
|
+
function Qt(e, t, r, n) {
|
|
1363
1360
|
var i = Sn(n) ? n : r(n), o = t.get(i);
|
|
1364
1361
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1365
1362
|
}
|
|
@@ -1367,95 +1364,87 @@ function qt(e, t, r) {
|
|
|
1367
1364
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1368
1365
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1369
1366
|
}
|
|
1370
|
-
function
|
|
1367
|
+
function et(e, t, r, n, i) {
|
|
1371
1368
|
return r.bind(t, e, n, i);
|
|
1372
1369
|
}
|
|
1370
|
+
function wn(e, t) {
|
|
1371
|
+
var r = e.length === 1 ? Qt : qt;
|
|
1372
|
+
return et(e, this, r, t.cache.create(), t.serializer);
|
|
1373
|
+
}
|
|
1373
1374
|
function Tn(e, t) {
|
|
1374
|
-
|
|
1375
|
-
return Jt(e, this, r, t.cache.create(), t.serializer);
|
|
1375
|
+
return et(e, this, qt, t.cache.create(), t.serializer);
|
|
1376
1376
|
}
|
|
1377
1377
|
function Hn(e, t) {
|
|
1378
|
-
return
|
|
1378
|
+
return et(e, this, Qt, t.cache.create(), t.serializer);
|
|
1379
1379
|
}
|
|
1380
1380
|
var Bn = function() {
|
|
1381
1381
|
return JSON.stringify(arguments);
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
}()
|
|
1394
|
-
), An = {
|
|
1382
|
+
};
|
|
1383
|
+
function tt() {
|
|
1384
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1385
|
+
}
|
|
1386
|
+
tt.prototype.get = function(e) {
|
|
1387
|
+
return this.cache[e];
|
|
1388
|
+
};
|
|
1389
|
+
tt.prototype.set = function(e, t) {
|
|
1390
|
+
this.cache[e] = t;
|
|
1391
|
+
};
|
|
1392
|
+
var Pn = {
|
|
1395
1393
|
create: function() {
|
|
1396
|
-
return new
|
|
1394
|
+
return new tt();
|
|
1397
1395
|
}
|
|
1398
|
-
},
|
|
1399
|
-
variadic:
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1403
|
-
r = arguments[n];
|
|
1404
|
-
for (var o in r)
|
|
1405
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1406
|
-
}
|
|
1407
|
-
return t;
|
|
1408
|
-
}, ve.apply(this, arguments);
|
|
1409
|
-
};
|
|
1410
|
-
var y;
|
|
1396
|
+
}, Le = {
|
|
1397
|
+
variadic: Tn,
|
|
1398
|
+
monadic: Hn
|
|
1399
|
+
}, y;
|
|
1411
1400
|
(function(e) {
|
|
1412
1401
|
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";
|
|
1413
1402
|
})(y || (y = {}));
|
|
1414
|
-
var
|
|
1403
|
+
var E;
|
|
1415
1404
|
(function(e) {
|
|
1416
1405
|
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";
|
|
1417
|
-
})(
|
|
1418
|
-
var
|
|
1406
|
+
})(E || (E = {}));
|
|
1407
|
+
var ee;
|
|
1419
1408
|
(function(e) {
|
|
1420
1409
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1421
|
-
})(
|
|
1422
|
-
function
|
|
1423
|
-
return e.type ===
|
|
1410
|
+
})(ee || (ee = {}));
|
|
1411
|
+
function mt(e) {
|
|
1412
|
+
return e.type === E.literal;
|
|
1424
1413
|
}
|
|
1425
|
-
function
|
|
1426
|
-
return e.type ===
|
|
1414
|
+
function An(e) {
|
|
1415
|
+
return e.type === E.argument;
|
|
1416
|
+
}
|
|
1417
|
+
function Jt(e) {
|
|
1418
|
+
return e.type === E.number;
|
|
1427
1419
|
}
|
|
1428
1420
|
function Yt(e) {
|
|
1429
|
-
return e.type ===
|
|
1421
|
+
return e.type === E.date;
|
|
1430
1422
|
}
|
|
1431
1423
|
function Kt(e) {
|
|
1432
|
-
return e.type ===
|
|
1424
|
+
return e.type === E.time;
|
|
1433
1425
|
}
|
|
1434
1426
|
function er(e) {
|
|
1435
|
-
return e.type ===
|
|
1427
|
+
return e.type === E.select;
|
|
1436
1428
|
}
|
|
1437
1429
|
function tr(e) {
|
|
1438
|
-
return e.type ===
|
|
1430
|
+
return e.type === E.plural;
|
|
1439
1431
|
}
|
|
1440
|
-
function
|
|
1441
|
-
return e.type ===
|
|
1432
|
+
function On(e) {
|
|
1433
|
+
return e.type === E.pound;
|
|
1442
1434
|
}
|
|
1443
|
-
function
|
|
1444
|
-
return e.type ===
|
|
1435
|
+
function rr(e) {
|
|
1436
|
+
return e.type === E.tag;
|
|
1445
1437
|
}
|
|
1446
1438
|
function nr(e) {
|
|
1447
|
-
return e.type ===
|
|
1448
|
-
}
|
|
1449
|
-
function ir(e) {
|
|
1450
|
-
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1439
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1451
1440
|
}
|
|
1452
|
-
function
|
|
1453
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1441
|
+
function Xe(e) {
|
|
1442
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1454
1443
|
}
|
|
1455
|
-
var
|
|
1444
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
|
|
1456
1445
|
function Cn(e) {
|
|
1457
1446
|
var t = {};
|
|
1458
|
-
return e.replace(
|
|
1447
|
+
return e.replace(In, function(r) {
|
|
1459
1448
|
var n = r.length;
|
|
1460
1449
|
switch (r[0]) {
|
|
1461
1450
|
case "G":
|
|
@@ -1544,21 +1533,11 @@ function Cn(e) {
|
|
|
1544
1533
|
return "";
|
|
1545
1534
|
}), t;
|
|
1546
1535
|
}
|
|
1547
|
-
var
|
|
1548
|
-
return x = Object.assign || function(t) {
|
|
1549
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1550
|
-
r = arguments[n];
|
|
1551
|
-
for (var o in r)
|
|
1552
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1553
|
-
}
|
|
1554
|
-
return t;
|
|
1555
|
-
}, x.apply(this, arguments);
|
|
1556
|
-
};
|
|
1557
|
-
var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1536
|
+
var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1558
1537
|
function Mn(e) {
|
|
1559
1538
|
if (e.length === 0)
|
|
1560
1539
|
throw new Error("Number skeleton cannot be empty");
|
|
1561
|
-
for (var t = e.split(
|
|
1540
|
+
for (var t = e.split(Ln).filter(function(c) {
|
|
1562
1541
|
return c.length > 0;
|
|
1563
1542
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1564
1543
|
var o = i[n], a = o.split("/");
|
|
@@ -1573,17 +1552,17 @@ function Mn(e) {
|
|
|
1573
1552
|
}
|
|
1574
1553
|
return r;
|
|
1575
1554
|
}
|
|
1576
|
-
function
|
|
1555
|
+
function Nn(e) {
|
|
1577
1556
|
return e.replace(/^(.*?)-/, "");
|
|
1578
1557
|
}
|
|
1579
|
-
var
|
|
1580
|
-
function
|
|
1558
|
+
var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1559
|
+
function yt(e) {
|
|
1581
1560
|
var t = {};
|
|
1582
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1561
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
1583
1562
|
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)), "";
|
|
1584
1563
|
}), t;
|
|
1585
1564
|
}
|
|
1586
|
-
function
|
|
1565
|
+
function ar(e) {
|
|
1587
1566
|
switch (e) {
|
|
1588
1567
|
case "sign-auto":
|
|
1589
1568
|
return {
|
|
@@ -1623,7 +1602,7 @@ function ur(e) {
|
|
|
1623
1602
|
};
|
|
1624
1603
|
}
|
|
1625
1604
|
}
|
|
1626
|
-
function
|
|
1605
|
+
function $n(e) {
|
|
1627
1606
|
var t;
|
|
1628
1607
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1629
1608
|
notation: "engineering"
|
|
@@ -1631,17 +1610,17 @@ function Dn(e) {
|
|
|
1631
1610
|
notation: "scientific"
|
|
1632
1611
|
}, e = e.slice(1)), t) {
|
|
1633
1612
|
var r = e.slice(0, 2);
|
|
1634
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1613
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1635
1614
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1636
1615
|
t.minimumIntegerDigits = e.length;
|
|
1637
1616
|
}
|
|
1638
1617
|
return t;
|
|
1639
1618
|
}
|
|
1640
|
-
function
|
|
1641
|
-
var t = {}, r =
|
|
1619
|
+
function gt(e) {
|
|
1620
|
+
var t = {}, r = ar(e);
|
|
1642
1621
|
return r || t;
|
|
1643
1622
|
}
|
|
1644
|
-
function
|
|
1623
|
+
function Dn(e) {
|
|
1645
1624
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1646
1625
|
var i = n[r];
|
|
1647
1626
|
switch (i.stem) {
|
|
@@ -1665,7 +1644,7 @@ function Un(e) {
|
|
|
1665
1644
|
continue;
|
|
1666
1645
|
case "measure-unit":
|
|
1667
1646
|
case "unit":
|
|
1668
|
-
t.style = "unit", t.unit =
|
|
1647
|
+
t.style = "unit", t.unit = Nn(i.options[0]);
|
|
1669
1648
|
continue;
|
|
1670
1649
|
case "compact-short":
|
|
1671
1650
|
case "K":
|
|
@@ -1676,13 +1655,13 @@ function Un(e) {
|
|
|
1676
1655
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1677
1656
|
continue;
|
|
1678
1657
|
case "scientific":
|
|
1679
|
-
t =
|
|
1680
|
-
return
|
|
1658
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1659
|
+
return _(_({}, l), gt(u));
|
|
1681
1660
|
}, {}));
|
|
1682
1661
|
continue;
|
|
1683
1662
|
case "engineering":
|
|
1684
|
-
t =
|
|
1685
|
-
return
|
|
1663
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1664
|
+
return _(_({}, l), gt(u));
|
|
1686
1665
|
}, {}));
|
|
1687
1666
|
continue;
|
|
1688
1667
|
case "notation-simple":
|
|
@@ -1727,7 +1706,7 @@ function Un(e) {
|
|
|
1727
1706
|
case "integer-width":
|
|
1728
1707
|
if (i.options.length > 1)
|
|
1729
1708
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1730
|
-
i.options[0].replace(
|
|
1709
|
+
i.options[0].replace(Rn, function(l, u, h, f, c, m) {
|
|
1731
1710
|
if (u)
|
|
1732
1711
|
t.minimumIntegerDigits = h.length;
|
|
1733
1712
|
else {
|
|
@@ -1740,28 +1719,28 @@ function Un(e) {
|
|
|
1740
1719
|
});
|
|
1741
1720
|
continue;
|
|
1742
1721
|
}
|
|
1743
|
-
if (
|
|
1722
|
+
if (sr.test(i.stem)) {
|
|
1744
1723
|
t.minimumIntegerDigits = i.stem.length;
|
|
1745
1724
|
continue;
|
|
1746
1725
|
}
|
|
1747
|
-
if (
|
|
1726
|
+
if (bt.test(i.stem)) {
|
|
1748
1727
|
if (i.options.length > 1)
|
|
1749
1728
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1750
|
-
i.stem.replace(
|
|
1729
|
+
i.stem.replace(bt, function(l, u, h, f, c, m) {
|
|
1751
1730
|
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), "";
|
|
1752
1731
|
});
|
|
1753
1732
|
var o = i.options[0];
|
|
1754
|
-
o === "w" ? t =
|
|
1733
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
|
|
1755
1734
|
continue;
|
|
1756
1735
|
}
|
|
1757
|
-
if (
|
|
1758
|
-
t =
|
|
1736
|
+
if (or.test(i.stem)) {
|
|
1737
|
+
t = _(_({}, t), yt(i.stem));
|
|
1759
1738
|
continue;
|
|
1760
1739
|
}
|
|
1761
|
-
var a =
|
|
1762
|
-
a && (t =
|
|
1763
|
-
var s =
|
|
1764
|
-
s && (t =
|
|
1740
|
+
var a = ar(i.stem);
|
|
1741
|
+
a && (t = _(_({}, t), a));
|
|
1742
|
+
var s = $n(i.stem);
|
|
1743
|
+
s && (t = _(_({}, t), s));
|
|
1765
1744
|
}
|
|
1766
1745
|
return t;
|
|
1767
1746
|
}
|
|
@@ -3180,13 +3159,13 @@ var pe = {
|
|
|
3180
3159
|
"h"
|
|
3181
3160
|
]
|
|
3182
3161
|
};
|
|
3183
|
-
function
|
|
3162
|
+
function Un(e, t) {
|
|
3184
3163
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3185
3164
|
var i = e.charAt(n);
|
|
3186
3165
|
if (i === "j") {
|
|
3187
3166
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3188
3167
|
o++, n++;
|
|
3189
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3168
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
|
|
3190
3169
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3191
3170
|
r += l;
|
|
3192
3171
|
for (; a-- > 0; )
|
|
@@ -3196,7 +3175,7 @@ function Gn(e, t) {
|
|
|
3196
3175
|
}
|
|
3197
3176
|
return r;
|
|
3198
3177
|
}
|
|
3199
|
-
function
|
|
3178
|
+
function Gn(e) {
|
|
3200
3179
|
var t = e.hourCycle;
|
|
3201
3180
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3202
3181
|
e.hourCycles && // @ts-ignore
|
|
@@ -3218,20 +3197,20 @@ function Fn(e) {
|
|
|
3218
3197
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3219
3198
|
return i[0];
|
|
3220
3199
|
}
|
|
3221
|
-
var
|
|
3222
|
-
function
|
|
3200
|
+
var Me, Fn = new RegExp("^".concat(ir.source, "*")), jn = new RegExp("".concat(ir.source, "*$"));
|
|
3201
|
+
function v(e, t) {
|
|
3223
3202
|
return { start: e, end: t };
|
|
3224
3203
|
}
|
|
3225
|
-
var
|
|
3204
|
+
var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
|
|
3226
3205
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3227
|
-
},
|
|
3206
|
+
}, We = !0;
|
|
3228
3207
|
try {
|
|
3229
|
-
var
|
|
3230
|
-
|
|
3208
|
+
var Jn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3209
|
+
We = ((Me = Jn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
|
|
3231
3210
|
} catch {
|
|
3232
|
-
|
|
3211
|
+
We = !1;
|
|
3233
3212
|
}
|
|
3234
|
-
var
|
|
3213
|
+
var vt = kn ? (
|
|
3235
3214
|
// Native
|
|
3236
3215
|
function(t, r, n) {
|
|
3237
3216
|
return t.startsWith(r, n);
|
|
@@ -3241,7 +3220,7 @@ var Et = Vn ? (
|
|
|
3241
3220
|
function(t, r, n) {
|
|
3242
3221
|
return t.slice(n, n + r.length) === r;
|
|
3243
3222
|
}
|
|
3244
|
-
),
|
|
3223
|
+
), ze = Vn ? String.fromCodePoint : (
|
|
3245
3224
|
// IE11
|
|
3246
3225
|
function() {
|
|
3247
3226
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3253,9 +3232,9 @@ var Et = Vn ? (
|
|
|
3253
3232
|
}
|
|
3254
3233
|
return n;
|
|
3255
3234
|
}
|
|
3256
|
-
),
|
|
3235
|
+
), _t = (
|
|
3257
3236
|
// native
|
|
3258
|
-
|
|
3237
|
+
Xn ? Object.fromEntries : (
|
|
3259
3238
|
// Ponyfill
|
|
3260
3239
|
function(t) {
|
|
3261
3240
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3265,7 +3244,7 @@ var Et = Vn ? (
|
|
|
3265
3244
|
return r;
|
|
3266
3245
|
}
|
|
3267
3246
|
)
|
|
3268
|
-
),
|
|
3247
|
+
), ur = Wn ? (
|
|
3269
3248
|
// Native
|
|
3270
3249
|
function(t, r) {
|
|
3271
3250
|
return t.codePointAt(r);
|
|
@@ -3279,7 +3258,7 @@ var Et = Vn ? (
|
|
|
3279
3258
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3280
3259
|
}
|
|
3281
3260
|
}
|
|
3282
|
-
),
|
|
3261
|
+
), Yn = zn ? (
|
|
3283
3262
|
// Native
|
|
3284
3263
|
function(t) {
|
|
3285
3264
|
return t.trimStart();
|
|
@@ -3287,9 +3266,9 @@ var Et = Vn ? (
|
|
|
3287
3266
|
) : (
|
|
3288
3267
|
// Ponyfill
|
|
3289
3268
|
function(t) {
|
|
3290
|
-
return t.replace(
|
|
3269
|
+
return t.replace(Fn, "");
|
|
3291
3270
|
}
|
|
3292
|
-
),
|
|
3271
|
+
), Kn = Zn ? (
|
|
3293
3272
|
// Native
|
|
3294
3273
|
function(t) {
|
|
3295
3274
|
return t.trimEnd();
|
|
@@ -3297,32 +3276,32 @@ var Et = Vn ? (
|
|
|
3297
3276
|
) : (
|
|
3298
3277
|
// Ponyfill
|
|
3299
3278
|
function(t) {
|
|
3300
|
-
return t.replace(
|
|
3279
|
+
return t.replace(jn, "");
|
|
3301
3280
|
}
|
|
3302
3281
|
);
|
|
3303
|
-
function
|
|
3282
|
+
function lr(e, t) {
|
|
3304
3283
|
return new RegExp(e, t);
|
|
3305
3284
|
}
|
|
3306
|
-
var
|
|
3307
|
-
if (
|
|
3308
|
-
var
|
|
3309
|
-
|
|
3285
|
+
var Ze;
|
|
3286
|
+
if (We) {
|
|
3287
|
+
var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3288
|
+
Ze = function(t, r) {
|
|
3310
3289
|
var n;
|
|
3311
|
-
|
|
3312
|
-
var i =
|
|
3290
|
+
Et.lastIndex = r;
|
|
3291
|
+
var i = Et.exec(t);
|
|
3313
3292
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3314
3293
|
};
|
|
3315
3294
|
} else
|
|
3316
|
-
|
|
3295
|
+
Ze = function(t, r) {
|
|
3317
3296
|
for (var n = []; ; ) {
|
|
3318
|
-
var i =
|
|
3319
|
-
if (i === void 0 ||
|
|
3297
|
+
var i = ur(t, r);
|
|
3298
|
+
if (i === void 0 || hr(i) || ni(i))
|
|
3320
3299
|
break;
|
|
3321
3300
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3322
3301
|
}
|
|
3323
|
-
return
|
|
3302
|
+
return ze.apply(void 0, n);
|
|
3324
3303
|
};
|
|
3325
|
-
var
|
|
3304
|
+
var ei = (
|
|
3326
3305
|
/** @class */
|
|
3327
3306
|
function() {
|
|
3328
3307
|
function e(t, r) {
|
|
@@ -3346,14 +3325,14 @@ var ti = (
|
|
|
3346
3325
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3347
3326
|
var s = this.clonePosition();
|
|
3348
3327
|
this.bump(), i.push({
|
|
3349
|
-
type:
|
|
3350
|
-
location:
|
|
3328
|
+
type: E.pound,
|
|
3329
|
+
location: v(s, this.clonePosition())
|
|
3351
3330
|
});
|
|
3352
3331
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3353
3332
|
if (n)
|
|
3354
3333
|
break;
|
|
3355
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3356
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3334
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3335
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
|
3357
3336
|
var a = this.parseTag(t, r);
|
|
3358
3337
|
if (a.err)
|
|
3359
3338
|
return a;
|
|
@@ -3374,9 +3353,9 @@ var ti = (
|
|
|
3374
3353
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3375
3354
|
return {
|
|
3376
3355
|
val: {
|
|
3377
|
-
type:
|
|
3356
|
+
type: E.literal,
|
|
3378
3357
|
value: "<".concat(i, "/>"),
|
|
3379
|
-
location:
|
|
3358
|
+
location: v(n, this.clonePosition())
|
|
3380
3359
|
},
|
|
3381
3360
|
err: null
|
|
3382
3361
|
};
|
|
@@ -3386,25 +3365,25 @@ var ti = (
|
|
|
3386
3365
|
return o;
|
|
3387
3366
|
var a = o.val, s = this.clonePosition();
|
|
3388
3367
|
if (this.bumpIf("</")) {
|
|
3389
|
-
if (this.isEOF() || !
|
|
3390
|
-
return this.error(y.INVALID_TAG,
|
|
3368
|
+
if (this.isEOF() || !Qe(this.char()))
|
|
3369
|
+
return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
|
|
3391
3370
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3392
|
-
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3371
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3393
3372
|
val: {
|
|
3394
|
-
type:
|
|
3373
|
+
type: E.tag,
|
|
3395
3374
|
value: i,
|
|
3396
3375
|
children: a,
|
|
3397
|
-
location:
|
|
3376
|
+
location: v(n, this.clonePosition())
|
|
3398
3377
|
},
|
|
3399
3378
|
err: null
|
|
3400
|
-
} : this.error(y.INVALID_TAG,
|
|
3379
|
+
} : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
|
|
3401
3380
|
} else
|
|
3402
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3381
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3403
3382
|
} else
|
|
3404
|
-
return this.error(y.INVALID_TAG,
|
|
3383
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3405
3384
|
}, e.prototype.parseTagName = function() {
|
|
3406
3385
|
var t = this.offset();
|
|
3407
|
-
for (this.bump(); !this.isEOF() &&
|
|
3386
|
+
for (this.bump(); !this.isEOF() && ri(this.char()); )
|
|
3408
3387
|
this.bump();
|
|
3409
3388
|
return this.message.slice(t, this.offset());
|
|
3410
3389
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3426,14 +3405,14 @@ var ti = (
|
|
|
3426
3405
|
}
|
|
3427
3406
|
break;
|
|
3428
3407
|
}
|
|
3429
|
-
var l =
|
|
3408
|
+
var l = v(n, this.clonePosition());
|
|
3430
3409
|
return {
|
|
3431
|
-
val: { type:
|
|
3410
|
+
val: { type: E.literal, value: i, location: l },
|
|
3432
3411
|
err: null
|
|
3433
3412
|
};
|
|
3434
3413
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3435
3414
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3436
|
-
!
|
|
3415
|
+
!ti(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3437
3416
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3438
3417
|
if (this.isEOF() || this.char() !== 39)
|
|
3439
3418
|
return null;
|
|
@@ -3467,49 +3446,49 @@ var ti = (
|
|
|
3467
3446
|
r.push(n);
|
|
3468
3447
|
this.bump();
|
|
3469
3448
|
}
|
|
3470
|
-
return
|
|
3449
|
+
return ze.apply(void 0, r);
|
|
3471
3450
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3472
3451
|
if (this.isEOF())
|
|
3473
3452
|
return null;
|
|
3474
3453
|
var n = this.char();
|
|
3475
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3454
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
|
3476
3455
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3477
3456
|
var n = this.clonePosition();
|
|
3478
3457
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3479
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3458
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3480
3459
|
if (this.char() === 125)
|
|
3481
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3460
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3482
3461
|
var i = this.parseIdentifierIfPossible().value;
|
|
3483
3462
|
if (!i)
|
|
3484
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3463
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3485
3464
|
if (this.bumpSpace(), this.isEOF())
|
|
3486
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3465
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3487
3466
|
switch (this.char()) {
|
|
3488
3467
|
case 125:
|
|
3489
3468
|
return this.bump(), {
|
|
3490
3469
|
val: {
|
|
3491
|
-
type:
|
|
3470
|
+
type: E.argument,
|
|
3492
3471
|
// value does not include the opening and closing braces.
|
|
3493
3472
|
value: i,
|
|
3494
|
-
location:
|
|
3473
|
+
location: v(n, this.clonePosition())
|
|
3495
3474
|
},
|
|
3496
3475
|
err: null
|
|
3497
3476
|
};
|
|
3498
3477
|
case 44:
|
|
3499
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3478
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3500
3479
|
default:
|
|
3501
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3480
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3502
3481
|
}
|
|
3503
3482
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3504
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3483
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
|
3505
3484
|
this.bumpTo(i);
|
|
3506
|
-
var o = this.clonePosition(), a =
|
|
3485
|
+
var o = this.clonePosition(), a = v(t, o);
|
|
3507
3486
|
return { value: n, location: a };
|
|
3508
3487
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3509
3488
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3510
3489
|
switch (s) {
|
|
3511
3490
|
case "":
|
|
3512
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3491
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
|
|
3513
3492
|
case "number":
|
|
3514
3493
|
case "date":
|
|
3515
3494
|
case "time": {
|
|
@@ -3520,35 +3499,35 @@ var ti = (
|
|
|
3520
3499
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3521
3500
|
if (f.err)
|
|
3522
3501
|
return f;
|
|
3523
|
-
var c =
|
|
3502
|
+
var c = Kn(f.val);
|
|
3524
3503
|
if (c.length === 0)
|
|
3525
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3526
|
-
var m =
|
|
3504
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3505
|
+
var m = v(h, this.clonePosition());
|
|
3527
3506
|
u = { style: c, styleLocation: m };
|
|
3528
3507
|
}
|
|
3529
3508
|
var b = this.tryParseArgumentClose(i);
|
|
3530
3509
|
if (b.err)
|
|
3531
3510
|
return b;
|
|
3532
|
-
var g =
|
|
3533
|
-
if (u &&
|
|
3534
|
-
var S =
|
|
3511
|
+
var g = v(i, this.clonePosition());
|
|
3512
|
+
if (u && vt(u?.style, "::", 0)) {
|
|
3513
|
+
var S = Yn(u.style.slice(2));
|
|
3535
3514
|
if (s === "number") {
|
|
3536
3515
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3537
3516
|
return f.err ? f : {
|
|
3538
|
-
val: { type:
|
|
3517
|
+
val: { type: E.number, value: n, location: g, style: f.val },
|
|
3539
3518
|
err: null
|
|
3540
3519
|
};
|
|
3541
3520
|
} else {
|
|
3542
3521
|
if (S.length === 0)
|
|
3543
3522
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
3544
|
-
var
|
|
3545
|
-
this.locale && (
|
|
3523
|
+
var P = S;
|
|
3524
|
+
this.locale && (P = Un(S, this.locale));
|
|
3546
3525
|
var c = {
|
|
3547
|
-
type:
|
|
3548
|
-
pattern:
|
|
3526
|
+
type: ee.dateTime,
|
|
3527
|
+
pattern: P,
|
|
3549
3528
|
location: u.styleLocation,
|
|
3550
|
-
parsedOptions: this.shouldParseSkeletons ? Cn(
|
|
3551
|
-
}, H = s === "date" ?
|
|
3529
|
+
parsedOptions: this.shouldParseSkeletons ? Cn(P) : {}
|
|
3530
|
+
}, H = s === "date" ? E.date : E.time;
|
|
3552
3531
|
return {
|
|
3553
3532
|
val: { type: H, value: n, location: g, style: c },
|
|
3554
3533
|
err: null
|
|
@@ -3557,7 +3536,7 @@ var ti = (
|
|
|
3557
3536
|
}
|
|
3558
3537
|
return {
|
|
3559
3538
|
val: {
|
|
3560
|
-
type: s === "number" ?
|
|
3539
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3561
3540
|
value: n,
|
|
3562
3541
|
location: g,
|
|
3563
3542
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3570,50 +3549,50 @@ var ti = (
|
|
|
3570
3549
|
case "select": {
|
|
3571
3550
|
var w = this.clonePosition();
|
|
3572
3551
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3573
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3552
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
|
|
3574
3553
|
this.bumpSpace();
|
|
3575
|
-
var
|
|
3576
|
-
if (s !== "select" &&
|
|
3554
|
+
var L = this.parseIdentifierIfPossible(), A = 0;
|
|
3555
|
+
if (s !== "select" && L.value === "offset") {
|
|
3577
3556
|
if (!this.bumpIf(":"))
|
|
3578
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3557
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3579
3558
|
this.bumpSpace();
|
|
3580
3559
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3581
3560
|
if (f.err)
|
|
3582
3561
|
return f;
|
|
3583
|
-
this.bumpSpace(),
|
|
3562
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), A = f.val;
|
|
3584
3563
|
}
|
|
3585
|
-
var
|
|
3586
|
-
if (
|
|
3587
|
-
return
|
|
3564
|
+
var M = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
3565
|
+
if (M.err)
|
|
3566
|
+
return M;
|
|
3588
3567
|
var b = this.tryParseArgumentClose(i);
|
|
3589
3568
|
if (b.err)
|
|
3590
3569
|
return b;
|
|
3591
|
-
var
|
|
3570
|
+
var x = v(i, this.clonePosition());
|
|
3592
3571
|
return s === "select" ? {
|
|
3593
3572
|
val: {
|
|
3594
|
-
type:
|
|
3573
|
+
type: E.select,
|
|
3595
3574
|
value: n,
|
|
3596
|
-
options:
|
|
3597
|
-
location:
|
|
3575
|
+
options: _t(M.val),
|
|
3576
|
+
location: x
|
|
3598
3577
|
},
|
|
3599
3578
|
err: null
|
|
3600
3579
|
} : {
|
|
3601
3580
|
val: {
|
|
3602
|
-
type:
|
|
3581
|
+
type: E.plural,
|
|
3603
3582
|
value: n,
|
|
3604
|
-
options:
|
|
3605
|
-
offset:
|
|
3583
|
+
options: _t(M.val),
|
|
3584
|
+
offset: A,
|
|
3606
3585
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3607
|
-
location:
|
|
3586
|
+
location: x
|
|
3608
3587
|
},
|
|
3609
3588
|
err: null
|
|
3610
3589
|
};
|
|
3611
3590
|
}
|
|
3612
3591
|
default:
|
|
3613
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3592
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
|
|
3614
3593
|
}
|
|
3615
3594
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3616
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3595
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3617
3596
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3618
3597
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3619
3598
|
var n = this.char();
|
|
@@ -3622,7 +3601,7 @@ var ti = (
|
|
|
3622
3601
|
this.bump();
|
|
3623
3602
|
var i = this.clonePosition();
|
|
3624
3603
|
if (!this.bumpUntil("'"))
|
|
3625
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3604
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3626
3605
|
this.bump();
|
|
3627
3606
|
break;
|
|
3628
3607
|
}
|
|
@@ -3658,10 +3637,10 @@ var ti = (
|
|
|
3658
3637
|
}
|
|
3659
3638
|
return {
|
|
3660
3639
|
val: {
|
|
3661
|
-
type:
|
|
3640
|
+
type: ee.number,
|
|
3662
3641
|
tokens: n,
|
|
3663
3642
|
location: r,
|
|
3664
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3643
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
|
|
3665
3644
|
},
|
|
3666
3645
|
err: null
|
|
3667
3646
|
};
|
|
@@ -3673,7 +3652,7 @@ var ti = (
|
|
|
3673
3652
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3674
3653
|
if (c.err)
|
|
3675
3654
|
return c;
|
|
3676
|
-
h =
|
|
3655
|
+
h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3677
3656
|
} else
|
|
3678
3657
|
break;
|
|
3679
3658
|
}
|
|
@@ -3682,7 +3661,7 @@ var ti = (
|
|
|
3682
3661
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3683
3662
|
var m = this.clonePosition();
|
|
3684
3663
|
if (!this.bumpIf("{"))
|
|
3685
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3664
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3686
3665
|
var b = this.parseMessage(t + 1, r, n);
|
|
3687
3666
|
if (b.err)
|
|
3688
3667
|
return b;
|
|
@@ -3693,11 +3672,11 @@ var ti = (
|
|
|
3693
3672
|
u,
|
|
3694
3673
|
{
|
|
3695
3674
|
value: b.val,
|
|
3696
|
-
location:
|
|
3675
|
+
location: v(m, this.clonePosition())
|
|
3697
3676
|
}
|
|
3698
3677
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3699
3678
|
}
|
|
3700
|
-
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3679
|
+
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3701
3680
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3702
3681
|
var n = 1, i = this.clonePosition();
|
|
3703
3682
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3708,8 +3687,8 @@ var ti = (
|
|
|
3708
3687
|
else
|
|
3709
3688
|
break;
|
|
3710
3689
|
}
|
|
3711
|
-
var l =
|
|
3712
|
-
return o ? (a *= n,
|
|
3690
|
+
var l = v(i, this.clonePosition());
|
|
3691
|
+
return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3713
3692
|
}, e.prototype.offset = function() {
|
|
3714
3693
|
return this.position.offset;
|
|
3715
3694
|
}, e.prototype.isEOF = function() {
|
|
@@ -3724,7 +3703,7 @@ var ti = (
|
|
|
3724
3703
|
var t = this.position.offset;
|
|
3725
3704
|
if (t >= this.message.length)
|
|
3726
3705
|
throw Error("out of bound");
|
|
3727
|
-
var r =
|
|
3706
|
+
var r = ur(this.message, t);
|
|
3728
3707
|
if (r === void 0)
|
|
3729
3708
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3730
3709
|
return r;
|
|
@@ -3743,7 +3722,7 @@ var ti = (
|
|
|
3743
3722
|
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);
|
|
3744
3723
|
}
|
|
3745
3724
|
}, e.prototype.bumpIf = function(t) {
|
|
3746
|
-
if (
|
|
3725
|
+
if (vt(this.message, t, this.offset())) {
|
|
3747
3726
|
for (var r = 0; r < t.length; r++)
|
|
3748
3727
|
this.bump();
|
|
3749
3728
|
return !0;
|
|
@@ -3765,7 +3744,7 @@ var ti = (
|
|
|
3765
3744
|
break;
|
|
3766
3745
|
}
|
|
3767
3746
|
}, e.prototype.bumpSpace = function() {
|
|
3768
|
-
for (; !this.isEOF() &&
|
|
3747
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3769
3748
|
this.bump();
|
|
3770
3749
|
}, e.prototype.peek = function() {
|
|
3771
3750
|
if (this.isEOF())
|
|
@@ -3775,47 +3754,47 @@ var ti = (
|
|
|
3775
3754
|
}, e;
|
|
3776
3755
|
}()
|
|
3777
3756
|
);
|
|
3778
|
-
function
|
|
3757
|
+
function Qe(e) {
|
|
3779
3758
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3780
3759
|
}
|
|
3781
|
-
function
|
|
3782
|
-
return
|
|
3760
|
+
function ti(e) {
|
|
3761
|
+
return Qe(e) || e === 47;
|
|
3783
3762
|
}
|
|
3784
|
-
function
|
|
3763
|
+
function ri(e) {
|
|
3785
3764
|
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;
|
|
3786
3765
|
}
|
|
3787
|
-
function
|
|
3766
|
+
function hr(e) {
|
|
3788
3767
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3789
3768
|
}
|
|
3790
|
-
function
|
|
3769
|
+
function ni(e) {
|
|
3791
3770
|
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;
|
|
3792
3771
|
}
|
|
3793
|
-
function
|
|
3772
|
+
function qe(e) {
|
|
3794
3773
|
e.forEach(function(t) {
|
|
3795
|
-
if (delete t.location,
|
|
3774
|
+
if (delete t.location, er(t) || tr(t))
|
|
3796
3775
|
for (var r in t.options)
|
|
3797
|
-
delete t.options[r].location,
|
|
3776
|
+
delete t.options[r].location, qe(t.options[r].value);
|
|
3798
3777
|
else
|
|
3799
|
-
|
|
3778
|
+
Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && qe(t.children);
|
|
3800
3779
|
});
|
|
3801
3780
|
}
|
|
3802
|
-
function
|
|
3803
|
-
t === void 0 && (t = {}), t =
|
|
3804
|
-
var r = new
|
|
3781
|
+
function ii(e, t) {
|
|
3782
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3783
|
+
var r = new ei(e, t).parse();
|
|
3805
3784
|
if (r.err) {
|
|
3806
3785
|
var n = SyntaxError(y[r.err.kind]);
|
|
3807
3786
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3808
3787
|
}
|
|
3809
|
-
return t?.captureLocation ||
|
|
3788
|
+
return t?.captureLocation || qe(r.val), r.val;
|
|
3810
3789
|
}
|
|
3811
|
-
var
|
|
3790
|
+
var te;
|
|
3812
3791
|
(function(e) {
|
|
3813
3792
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3814
|
-
})(
|
|
3815
|
-
var
|
|
3793
|
+
})(te || (te = {}));
|
|
3794
|
+
var He = (
|
|
3816
3795
|
/** @class */
|
|
3817
3796
|
function(e) {
|
|
3818
|
-
|
|
3797
|
+
U(t, e);
|
|
3819
3798
|
function t(r, n, i) {
|
|
3820
3799
|
var o = e.call(this, r) || this;
|
|
3821
3800
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3824,48 +3803,48 @@ var Pe = (
|
|
|
3824
3803
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3825
3804
|
}, t;
|
|
3826
3805
|
}(Error)
|
|
3827
|
-
),
|
|
3806
|
+
), xt = (
|
|
3828
3807
|
/** @class */
|
|
3829
3808
|
function(e) {
|
|
3830
|
-
|
|
3809
|
+
U(t, e);
|
|
3831
3810
|
function t(r, n, i, o) {
|
|
3832
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3811
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
3833
3812
|
}
|
|
3834
3813
|
return t;
|
|
3835
|
-
}(
|
|
3836
|
-
),
|
|
3814
|
+
}(He)
|
|
3815
|
+
), oi = (
|
|
3837
3816
|
/** @class */
|
|
3838
3817
|
function(e) {
|
|
3839
|
-
|
|
3818
|
+
U(t, e);
|
|
3840
3819
|
function t(r, n, i) {
|
|
3841
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3820
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
3842
3821
|
}
|
|
3843
3822
|
return t;
|
|
3844
|
-
}(
|
|
3845
|
-
),
|
|
3823
|
+
}(He)
|
|
3824
|
+
), si = (
|
|
3846
3825
|
/** @class */
|
|
3847
3826
|
function(e) {
|
|
3848
|
-
|
|
3827
|
+
U(t, e);
|
|
3849
3828
|
function t(r, n) {
|
|
3850
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3829
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
3851
3830
|
}
|
|
3852
3831
|
return t;
|
|
3853
|
-
}(
|
|
3832
|
+
}(He)
|
|
3854
3833
|
), T;
|
|
3855
3834
|
(function(e) {
|
|
3856
3835
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3857
3836
|
})(T || (T = {}));
|
|
3858
|
-
function
|
|
3837
|
+
function ai(e) {
|
|
3859
3838
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3860
3839
|
var n = t[t.length - 1];
|
|
3861
3840
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3862
3841
|
}, []);
|
|
3863
3842
|
}
|
|
3864
|
-
function
|
|
3843
|
+
function ui(e) {
|
|
3865
3844
|
return typeof e == "function";
|
|
3866
3845
|
}
|
|
3867
3846
|
function ge(e, t, r, n, i, o, a) {
|
|
3868
|
-
if (e.length === 1 &&
|
|
3847
|
+
if (e.length === 1 && mt(e[0]))
|
|
3869
3848
|
return [
|
|
3870
3849
|
{
|
|
3871
3850
|
type: T.literal,
|
|
@@ -3874,14 +3853,14 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3874
3853
|
];
|
|
3875
3854
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3876
3855
|
var h = u[l];
|
|
3877
|
-
if (
|
|
3856
|
+
if (mt(h)) {
|
|
3878
3857
|
s.push({
|
|
3879
3858
|
type: T.literal,
|
|
3880
3859
|
value: h.value
|
|
3881
3860
|
});
|
|
3882
3861
|
continue;
|
|
3883
3862
|
}
|
|
3884
|
-
if (
|
|
3863
|
+
if (On(h)) {
|
|
3885
3864
|
typeof o == "number" && s.push({
|
|
3886
3865
|
type: T.literal,
|
|
3887
3866
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3890,89 +3869,89 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3890
3869
|
}
|
|
3891
3870
|
var f = h.value;
|
|
3892
3871
|
if (!(i && f in i))
|
|
3893
|
-
throw new
|
|
3872
|
+
throw new si(f, a);
|
|
3894
3873
|
var c = i[f];
|
|
3895
|
-
if (
|
|
3874
|
+
if (An(h)) {
|
|
3896
3875
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3897
3876
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3898
3877
|
value: c
|
|
3899
3878
|
});
|
|
3900
3879
|
continue;
|
|
3901
3880
|
}
|
|
3902
|
-
if (
|
|
3903
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3881
|
+
if (Yt(h)) {
|
|
3882
|
+
var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
|
|
3904
3883
|
s.push({
|
|
3905
3884
|
type: T.literal,
|
|
3906
3885
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3907
3886
|
});
|
|
3908
3887
|
continue;
|
|
3909
3888
|
}
|
|
3910
|
-
if (
|
|
3911
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3889
|
+
if (Kt(h)) {
|
|
3890
|
+
var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3912
3891
|
s.push({
|
|
3913
3892
|
type: T.literal,
|
|
3914
3893
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3915
3894
|
});
|
|
3916
3895
|
continue;
|
|
3917
3896
|
}
|
|
3918
|
-
if (
|
|
3919
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3897
|
+
if (Jt(h)) {
|
|
3898
|
+
var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3920
3899
|
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3921
3900
|
type: T.literal,
|
|
3922
3901
|
value: r.getNumberFormat(t, m).format(c)
|
|
3923
3902
|
});
|
|
3924
3903
|
continue;
|
|
3925
3904
|
}
|
|
3926
|
-
if (
|
|
3905
|
+
if (rr(h)) {
|
|
3927
3906
|
var b = h.children, g = h.value, S = i[g];
|
|
3928
|
-
if (!
|
|
3929
|
-
throw new
|
|
3930
|
-
var
|
|
3931
|
-
return
|
|
3907
|
+
if (!ui(S))
|
|
3908
|
+
throw new oi(g, "function", a);
|
|
3909
|
+
var P = ge(b, t, r, n, i, o), H = S(P.map(function(A) {
|
|
3910
|
+
return A.value;
|
|
3932
3911
|
}));
|
|
3933
|
-
Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(
|
|
3912
|
+
Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(A) {
|
|
3934
3913
|
return {
|
|
3935
|
-
type: typeof
|
|
3936
|
-
value:
|
|
3914
|
+
type: typeof A == "string" ? T.literal : T.object,
|
|
3915
|
+
value: A
|
|
3937
3916
|
};
|
|
3938
3917
|
}));
|
|
3939
3918
|
}
|
|
3940
|
-
if (
|
|
3919
|
+
if (er(h)) {
|
|
3941
3920
|
var w = h.options[c] || h.options.other;
|
|
3942
3921
|
if (!w)
|
|
3943
|
-
throw new
|
|
3922
|
+
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3944
3923
|
s.push.apply(s, ge(w.value, t, r, n, i));
|
|
3945
3924
|
continue;
|
|
3946
3925
|
}
|
|
3947
|
-
if (
|
|
3926
|
+
if (tr(h)) {
|
|
3948
3927
|
var w = h.options["=".concat(c)];
|
|
3949
3928
|
if (!w) {
|
|
3950
3929
|
if (!Intl.PluralRules)
|
|
3951
|
-
throw new
|
|
3930
|
+
throw new He(`Intl.PluralRules is not available in this environment.
|
|
3952
3931
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3953
|
-
`,
|
|
3954
|
-
var
|
|
3955
|
-
w = h.options[
|
|
3932
|
+
`, te.MISSING_INTL_API, a);
|
|
3933
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3934
|
+
w = h.options[L] || h.options.other;
|
|
3956
3935
|
}
|
|
3957
3936
|
if (!w)
|
|
3958
|
-
throw new
|
|
3937
|
+
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3959
3938
|
s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
|
|
3960
3939
|
continue;
|
|
3961
3940
|
}
|
|
3962
3941
|
}
|
|
3963
|
-
return
|
|
3942
|
+
return ai(s);
|
|
3964
3943
|
}
|
|
3965
|
-
function
|
|
3966
|
-
return t ?
|
|
3967
|
-
return r[n] =
|
|
3944
|
+
function li(e, t) {
|
|
3945
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3946
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3968
3947
|
}, {})) : e;
|
|
3969
3948
|
}
|
|
3970
|
-
function
|
|
3949
|
+
function hi(e, t) {
|
|
3971
3950
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3972
|
-
return r[n] =
|
|
3973
|
-
},
|
|
3951
|
+
return r[n] = li(e[n], t[n]), r;
|
|
3952
|
+
}, _({}, e)) : e;
|
|
3974
3953
|
}
|
|
3975
|
-
function
|
|
3954
|
+
function Ne(e) {
|
|
3976
3955
|
return {
|
|
3977
3956
|
create: function() {
|
|
3978
3957
|
return {
|
|
@@ -3986,39 +3965,39 @@ function $e(e) {
|
|
|
3986
3965
|
}
|
|
3987
3966
|
};
|
|
3988
3967
|
}
|
|
3989
|
-
function
|
|
3968
|
+
function ci(e) {
|
|
3990
3969
|
return e === void 0 && (e = {
|
|
3991
3970
|
number: {},
|
|
3992
3971
|
dateTime: {},
|
|
3993
3972
|
pluralRules: {}
|
|
3994
3973
|
}), {
|
|
3995
|
-
getNumberFormat:
|
|
3974
|
+
getNumberFormat: Ce(function() {
|
|
3996
3975
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3997
3976
|
r[n] = arguments[n];
|
|
3998
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3977
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
|
|
3999
3978
|
}, {
|
|
4000
|
-
cache:
|
|
4001
|
-
strategy:
|
|
3979
|
+
cache: Ne(e.number),
|
|
3980
|
+
strategy: Le.variadic
|
|
4002
3981
|
}),
|
|
4003
|
-
getDateTimeFormat:
|
|
3982
|
+
getDateTimeFormat: Ce(function() {
|
|
4004
3983
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4005
3984
|
r[n] = arguments[n];
|
|
4006
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3985
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
|
|
4007
3986
|
}, {
|
|
4008
|
-
cache:
|
|
4009
|
-
strategy:
|
|
3987
|
+
cache: Ne(e.dateTime),
|
|
3988
|
+
strategy: Le.variadic
|
|
4010
3989
|
}),
|
|
4011
|
-
getPluralRules:
|
|
3990
|
+
getPluralRules: Ce(function() {
|
|
4012
3991
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4013
3992
|
r[n] = arguments[n];
|
|
4014
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3993
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
|
|
4015
3994
|
}, {
|
|
4016
|
-
cache:
|
|
4017
|
-
strategy:
|
|
3995
|
+
cache: Ne(e.pluralRules),
|
|
3996
|
+
strategy: Le.variadic
|
|
4018
3997
|
})
|
|
4019
3998
|
};
|
|
4020
3999
|
}
|
|
4021
|
-
var
|
|
4000
|
+
var fi = (
|
|
4022
4001
|
/** @class */
|
|
4023
4002
|
function() {
|
|
4024
4003
|
function e(t, r, n, i) {
|
|
@@ -4050,13 +4029,13 @@ var di = (
|
|
|
4050
4029
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4051
4030
|
var a = i || {};
|
|
4052
4031
|
a.formatters;
|
|
4053
|
-
var s =
|
|
4054
|
-
this.ast = e.__parse(t,
|
|
4032
|
+
var s = Vr(a, ["formatters"]);
|
|
4033
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4055
4034
|
} else
|
|
4056
4035
|
this.ast = t;
|
|
4057
4036
|
if (!Array.isArray(this.ast))
|
|
4058
4037
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4059
|
-
this.formats =
|
|
4038
|
+
this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
|
|
4060
4039
|
}
|
|
4061
4040
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4062
4041
|
get: function() {
|
|
@@ -4069,7 +4048,7 @@ var di = (
|
|
|
4069
4048
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4070
4049
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4071
4050
|
}
|
|
4072
|
-
}, e.__parse =
|
|
4051
|
+
}, e.__parse = ii, e.formats = {
|
|
4073
4052
|
number: {
|
|
4074
4053
|
integer: {
|
|
4075
4054
|
maximumFractionDigits: 0
|
|
@@ -4130,7 +4109,7 @@ var di = (
|
|
|
4130
4109
|
}, e;
|
|
4131
4110
|
}()
|
|
4132
4111
|
);
|
|
4133
|
-
function
|
|
4112
|
+
function di(e, t) {
|
|
4134
4113
|
if (t == null)
|
|
4135
4114
|
return;
|
|
4136
4115
|
if (t in e)
|
|
@@ -4151,92 +4130,92 @@ function pi(e, t) {
|
|
|
4151
4130
|
n = void 0;
|
|
4152
4131
|
return n;
|
|
4153
4132
|
}
|
|
4154
|
-
const F = {},
|
|
4133
|
+
const F = {}, pi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
|
|
4155
4134
|
if (t == null)
|
|
4156
4135
|
return;
|
|
4157
4136
|
if (t in F && e in F[t])
|
|
4158
4137
|
return F[t][e];
|
|
4159
|
-
const r =
|
|
4138
|
+
const r = Be(t);
|
|
4160
4139
|
for (let n = 0; n < r.length; n++) {
|
|
4161
|
-
const i = r[n], o =
|
|
4140
|
+
const i = r[n], o = bi(i, e);
|
|
4162
4141
|
if (o)
|
|
4163
|
-
return
|
|
4142
|
+
return pi(e, t, o);
|
|
4164
4143
|
}
|
|
4165
4144
|
};
|
|
4166
|
-
let
|
|
4167
|
-
const ce =
|
|
4168
|
-
function
|
|
4169
|
-
return
|
|
4145
|
+
let rt;
|
|
4146
|
+
const ce = Te({});
|
|
4147
|
+
function mi(e) {
|
|
4148
|
+
return rt[e] || null;
|
|
4170
4149
|
}
|
|
4171
|
-
function
|
|
4172
|
-
return e in
|
|
4150
|
+
function fr(e) {
|
|
4151
|
+
return e in rt;
|
|
4173
4152
|
}
|
|
4174
|
-
function
|
|
4175
|
-
if (!
|
|
4153
|
+
function bi(e, t) {
|
|
4154
|
+
if (!fr(e))
|
|
4176
4155
|
return null;
|
|
4177
|
-
const r =
|
|
4178
|
-
return
|
|
4156
|
+
const r = mi(e);
|
|
4157
|
+
return di(r, t);
|
|
4179
4158
|
}
|
|
4180
|
-
function
|
|
4159
|
+
function yi(e) {
|
|
4181
4160
|
if (e == null)
|
|
4182
4161
|
return;
|
|
4183
|
-
const t =
|
|
4162
|
+
const t = Be(e);
|
|
4184
4163
|
for (let r = 0; r < t.length; r++) {
|
|
4185
4164
|
const n = t[r];
|
|
4186
|
-
if (
|
|
4165
|
+
if (fr(n))
|
|
4187
4166
|
return n;
|
|
4188
4167
|
}
|
|
4189
4168
|
}
|
|
4190
|
-
function
|
|
4191
|
-
delete F[e], ce.update((r) => (r[e] =
|
|
4169
|
+
function dr(e, ...t) {
|
|
4170
|
+
delete F[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
|
|
4192
4171
|
}
|
|
4193
|
-
|
|
4172
|
+
ne(
|
|
4194
4173
|
[ce],
|
|
4195
4174
|
([e]) => Object.keys(e)
|
|
4196
4175
|
);
|
|
4197
|
-
ce.subscribe((e) =>
|
|
4198
|
-
const
|
|
4199
|
-
function
|
|
4200
|
-
|
|
4176
|
+
ce.subscribe((e) => rt = e);
|
|
4177
|
+
const ve = {};
|
|
4178
|
+
function gi(e, t) {
|
|
4179
|
+
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4201
4180
|
}
|
|
4202
|
-
function
|
|
4203
|
-
return
|
|
4181
|
+
function pr(e) {
|
|
4182
|
+
return ve[e];
|
|
4204
4183
|
}
|
|
4205
4184
|
function vi(e) {
|
|
4206
|
-
return
|
|
4207
|
-
const r =
|
|
4185
|
+
return Be(e).map((t) => {
|
|
4186
|
+
const r = pr(t);
|
|
4208
4187
|
return [t, r ? [...r] : []];
|
|
4209
4188
|
}).filter(([, t]) => t.length > 0);
|
|
4210
4189
|
}
|
|
4211
|
-
function
|
|
4212
|
-
return e == null ? !1 :
|
|
4190
|
+
function Je(e) {
|
|
4191
|
+
return e == null ? !1 : Be(e).some(
|
|
4213
4192
|
(t) => {
|
|
4214
4193
|
var r;
|
|
4215
|
-
return (r =
|
|
4194
|
+
return (r = pr(t)) == null ? void 0 : r.size;
|
|
4216
4195
|
}
|
|
4217
4196
|
);
|
|
4218
4197
|
}
|
|
4219
|
-
function
|
|
4198
|
+
function _i(e, t) {
|
|
4220
4199
|
return Promise.all(
|
|
4221
|
-
t.map((n) => (
|
|
4222
|
-
).then((n) =>
|
|
4200
|
+
t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
|
|
4201
|
+
).then((n) => dr(e, ...n));
|
|
4223
4202
|
}
|
|
4224
|
-
const
|
|
4225
|
-
function
|
|
4226
|
-
if (!
|
|
4227
|
-
return e in
|
|
4203
|
+
const se = {};
|
|
4204
|
+
function mr(e) {
|
|
4205
|
+
if (!Je(e))
|
|
4206
|
+
return e in se ? se[e] : Promise.resolve();
|
|
4228
4207
|
const t = vi(e);
|
|
4229
|
-
return
|
|
4208
|
+
return se[e] = Promise.all(
|
|
4230
4209
|
t.map(
|
|
4231
|
-
([r, n]) =>
|
|
4210
|
+
([r, n]) => _i(r, n)
|
|
4232
4211
|
)
|
|
4233
4212
|
).then(() => {
|
|
4234
|
-
if (
|
|
4235
|
-
return
|
|
4236
|
-
delete
|
|
4237
|
-
}),
|
|
4213
|
+
if (Je(e))
|
|
4214
|
+
return mr(e);
|
|
4215
|
+
delete se[e];
|
|
4216
|
+
}), se[e];
|
|
4238
4217
|
}
|
|
4239
|
-
const
|
|
4218
|
+
const Ei = {
|
|
4240
4219
|
number: {
|
|
4241
4220
|
scientific: { notation: "scientific" },
|
|
4242
4221
|
engineering: { notation: "engineering" },
|
|
@@ -4265,150 +4244,150 @@ const xi = {
|
|
|
4265
4244
|
timeZoneName: "short"
|
|
4266
4245
|
}
|
|
4267
4246
|
}
|
|
4268
|
-
},
|
|
4247
|
+
}, xi = {
|
|
4269
4248
|
fallbackLocale: null,
|
|
4270
4249
|
loadingDelay: 200,
|
|
4271
|
-
formats:
|
|
4250
|
+
formats: Ei,
|
|
4272
4251
|
warnOnMissingMessages: !0,
|
|
4273
4252
|
handleMissingMessage: void 0,
|
|
4274
4253
|
ignoreTag: !0
|
|
4275
|
-
},
|
|
4276
|
-
function
|
|
4277
|
-
return
|
|
4254
|
+
}, Si = xi;
|
|
4255
|
+
function re() {
|
|
4256
|
+
return Si;
|
|
4278
4257
|
}
|
|
4279
|
-
const
|
|
4280
|
-
var
|
|
4258
|
+
const Re = Te(!1);
|
|
4259
|
+
var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
|
|
4281
4260
|
for (var r in t || (t = {}))
|
|
4282
|
-
|
|
4283
|
-
if (
|
|
4284
|
-
for (var r of
|
|
4285
|
-
|
|
4261
|
+
Bi.call(t, r) && wt(e, r, t[r]);
|
|
4262
|
+
if (St)
|
|
4263
|
+
for (var r of St(t))
|
|
4264
|
+
Pi.call(t, r) && wt(e, r, t[r]);
|
|
4286
4265
|
return e;
|
|
4287
|
-
},
|
|
4288
|
-
let
|
|
4289
|
-
const
|
|
4290
|
-
function
|
|
4266
|
+
}, Oi = (e, t) => Ti(e, Hi(t));
|
|
4267
|
+
let Ye;
|
|
4268
|
+
const _e = Te(null);
|
|
4269
|
+
function Tt(e) {
|
|
4291
4270
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4292
4271
|
}
|
|
4293
|
-
function
|
|
4294
|
-
const r =
|
|
4295
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4272
|
+
function Be(e, t = re().fallbackLocale) {
|
|
4273
|
+
const r = Tt(e);
|
|
4274
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4296
4275
|
}
|
|
4297
|
-
function
|
|
4298
|
-
return
|
|
4276
|
+
function z() {
|
|
4277
|
+
return Ye ?? void 0;
|
|
4299
4278
|
}
|
|
4300
|
-
|
|
4301
|
-
|
|
4279
|
+
_e.subscribe((e) => {
|
|
4280
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4302
4281
|
});
|
|
4303
|
-
const
|
|
4304
|
-
if (e &&
|
|
4305
|
-
const { loadingDelay: t } =
|
|
4282
|
+
const Ii = (e) => {
|
|
4283
|
+
if (e && yi(e) && Je(e)) {
|
|
4284
|
+
const { loadingDelay: t } = re();
|
|
4306
4285
|
let r;
|
|
4307
|
-
return typeof window < "u" &&
|
|
4308
|
-
() =>
|
|
4286
|
+
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4287
|
+
() => Re.set(!0),
|
|
4309
4288
|
t
|
|
4310
|
-
) :
|
|
4311
|
-
|
|
4289
|
+
) : Re.set(!0), mr(e).then(() => {
|
|
4290
|
+
_e.set(e);
|
|
4312
4291
|
}).finally(() => {
|
|
4313
|
-
clearTimeout(r),
|
|
4292
|
+
clearTimeout(r), Re.set(!1);
|
|
4314
4293
|
});
|
|
4315
4294
|
}
|
|
4316
|
-
return
|
|
4317
|
-
},
|
|
4318
|
-
set:
|
|
4319
|
-
}),
|
|
4295
|
+
return _e.set(e);
|
|
4296
|
+
}, ie = Oi(Ai({}, _e), {
|
|
4297
|
+
set: Ii
|
|
4298
|
+
}), Pe = (e) => {
|
|
4320
4299
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4321
4300
|
return (n) => {
|
|
4322
4301
|
const i = JSON.stringify(n);
|
|
4323
4302
|
return i in t ? t[i] : t[i] = e(n);
|
|
4324
4303
|
};
|
|
4325
4304
|
};
|
|
4326
|
-
var Ci = Object.defineProperty,
|
|
4305
|
+
var Ci = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4327
4306
|
for (var r in t || (t = {}))
|
|
4328
|
-
|
|
4329
|
-
if (
|
|
4330
|
-
for (var r of
|
|
4331
|
-
|
|
4307
|
+
br.call(t, r) && Ht(e, r, t[r]);
|
|
4308
|
+
if (Ee)
|
|
4309
|
+
for (var r of Ee(t))
|
|
4310
|
+
yr.call(t, r) && Ht(e, r, t[r]);
|
|
4332
4311
|
return e;
|
|
4333
|
-
},
|
|
4312
|
+
}, oe = (e, t) => {
|
|
4334
4313
|
var r = {};
|
|
4335
4314
|
for (var n in e)
|
|
4336
|
-
|
|
4337
|
-
if (e != null &&
|
|
4338
|
-
for (var n of
|
|
4339
|
-
t.indexOf(n) < 0 &&
|
|
4315
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4316
|
+
if (e != null && Ee)
|
|
4317
|
+
for (var n of Ee(e))
|
|
4318
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
|
4340
4319
|
return r;
|
|
4341
4320
|
};
|
|
4342
|
-
const
|
|
4343
|
-
const { formats: r } =
|
|
4321
|
+
const he = (e, t) => {
|
|
4322
|
+
const { formats: r } = re();
|
|
4344
4323
|
if (e in r && t in r[e])
|
|
4345
4324
|
return r[e][t];
|
|
4346
4325
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4347
|
-
},
|
|
4326
|
+
}, Li = Pe(
|
|
4348
4327
|
(e) => {
|
|
4349
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4328
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4350
4329
|
if (r == null)
|
|
4351
4330
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4352
|
-
return n && (i =
|
|
4331
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
|
4353
4332
|
}
|
|
4354
|
-
), Mi =
|
|
4333
|
+
), Mi = Pe(
|
|
4355
4334
|
(e) => {
|
|
4356
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4335
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4357
4336
|
if (r == null)
|
|
4358
4337
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4359
|
-
return n ? i =
|
|
4338
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4360
4339
|
}
|
|
4361
|
-
),
|
|
4340
|
+
), Ni = Pe(
|
|
4362
4341
|
(e) => {
|
|
4363
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4342
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4364
4343
|
if (r == null)
|
|
4365
4344
|
throw new Error(
|
|
4366
4345
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4367
4346
|
);
|
|
4368
|
-
return n ? i =
|
|
4347
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4369
4348
|
}
|
|
4370
|
-
),
|
|
4349
|
+
), Ri = (e = {}) => {
|
|
4371
4350
|
var t = e, {
|
|
4372
|
-
locale: r =
|
|
4373
|
-
} = t, n =
|
|
4351
|
+
locale: r = z()
|
|
4352
|
+
} = t, n = oe(t, [
|
|
4374
4353
|
"locale"
|
|
4375
4354
|
]);
|
|
4376
|
-
return
|
|
4377
|
-
},
|
|
4355
|
+
return Li(nt({ locale: r }, n));
|
|
4356
|
+
}, $i = (e = {}) => {
|
|
4378
4357
|
var t = e, {
|
|
4379
|
-
locale: r =
|
|
4380
|
-
} = t, n =
|
|
4358
|
+
locale: r = z()
|
|
4359
|
+
} = t, n = oe(t, [
|
|
4381
4360
|
"locale"
|
|
4382
4361
|
]);
|
|
4383
|
-
return Mi(
|
|
4384
|
-
},
|
|
4362
|
+
return Mi(nt({ locale: r }, n));
|
|
4363
|
+
}, Di = (e = {}) => {
|
|
4385
4364
|
var t = e, {
|
|
4386
|
-
locale: r =
|
|
4387
|
-
} = t, n =
|
|
4365
|
+
locale: r = z()
|
|
4366
|
+
} = t, n = oe(t, [
|
|
4388
4367
|
"locale"
|
|
4389
4368
|
]);
|
|
4390
|
-
return
|
|
4391
|
-
},
|
|
4369
|
+
return Ni(nt({ locale: r }, n));
|
|
4370
|
+
}, Ui = Pe(
|
|
4392
4371
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4393
|
-
(e, t =
|
|
4394
|
-
ignoreTag:
|
|
4372
|
+
(e, t = z()) => new fi(e, t, re().formats, {
|
|
4373
|
+
ignoreTag: re().ignoreTag
|
|
4395
4374
|
})
|
|
4396
|
-
),
|
|
4375
|
+
), Gi = (e, t = {}) => {
|
|
4397
4376
|
var r, n, i, o;
|
|
4398
4377
|
let a = t;
|
|
4399
4378
|
typeof e == "object" && (a = e, e = a.id);
|
|
4400
4379
|
const {
|
|
4401
4380
|
values: s,
|
|
4402
|
-
locale: l =
|
|
4381
|
+
locale: l = z(),
|
|
4403
4382
|
default: u
|
|
4404
4383
|
} = a;
|
|
4405
4384
|
if (l == null)
|
|
4406
4385
|
throw new Error(
|
|
4407
4386
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4408
4387
|
);
|
|
4409
|
-
let h =
|
|
4388
|
+
let h = cr(e, l);
|
|
4410
4389
|
if (!h)
|
|
4411
|
-
h = (o = (i = (n = (r =
|
|
4390
|
+
h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4412
4391
|
else if (typeof h != "string")
|
|
4413
4392
|
return console.warn(
|
|
4414
4393
|
`[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.`
|
|
@@ -4417,7 +4396,7 @@ const le = (e, t) => {
|
|
|
4417
4396
|
return h;
|
|
4418
4397
|
let f = h;
|
|
4419
4398
|
try {
|
|
4420
|
-
f =
|
|
4399
|
+
f = Ui(h, l).format(s);
|
|
4421
4400
|
} catch (c) {
|
|
4422
4401
|
c instanceof Error && console.warn(
|
|
4423
4402
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4425,16 +4404,16 @@ const le = (e, t) => {
|
|
|
4425
4404
|
);
|
|
4426
4405
|
}
|
|
4427
4406
|
return f;
|
|
4428
|
-
},
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
window.emWidgets = { topic:
|
|
4434
|
-
const
|
|
4435
|
-
function
|
|
4407
|
+
}, Fi = (e, t) => Di(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = z()) => cr(e, t), Xi = ne([ie, ce], () => Gi);
|
|
4408
|
+
ne([ie], () => Fi);
|
|
4409
|
+
ne([ie], () => ji);
|
|
4410
|
+
ne([ie], () => ki);
|
|
4411
|
+
ne([ie, ce], () => Vi);
|
|
4412
|
+
window.emWidgets = { topic: on };
|
|
4413
|
+
const gr = (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)), Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4414
|
+
function wo(e, t) {
|
|
4436
4415
|
const r = window.navigator.userAgent;
|
|
4437
|
-
return
|
|
4416
|
+
return gr(r) ? t = e.filter((n) => {
|
|
4438
4417
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4439
4418
|
return n;
|
|
4440
4419
|
}) : t = e.filter((n) => {
|
|
@@ -4442,7 +4421,7 @@ function To(e, t) {
|
|
|
4442
4421
|
return n;
|
|
4443
4422
|
}), t;
|
|
4444
4423
|
}
|
|
4445
|
-
function
|
|
4424
|
+
function To(e, t) {
|
|
4446
4425
|
return new Promise((r, n) => {
|
|
4447
4426
|
const i = new Headers();
|
|
4448
4427
|
i.append("X-SessionID", t);
|
|
@@ -4453,13 +4432,13 @@ function Ho(e, t) {
|
|
|
4453
4432
|
fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
|
|
4454
4433
|
});
|
|
4455
4434
|
}
|
|
4456
|
-
function
|
|
4435
|
+
function zi(e, t) {
|
|
4457
4436
|
if (e) {
|
|
4458
4437
|
const r = document.createElement("style");
|
|
4459
4438
|
r.innerHTML = t, e.appendChild(r);
|
|
4460
4439
|
}
|
|
4461
4440
|
}
|
|
4462
|
-
function
|
|
4441
|
+
function Zi(e, t) {
|
|
4463
4442
|
const r = new URL(t);
|
|
4464
4443
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4465
4444
|
const i = document.createElement("style");
|
|
@@ -4468,7 +4447,7 @@ function Qi(e, t) {
|
|
|
4468
4447
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4469
4448
|
});
|
|
4470
4449
|
}
|
|
4471
|
-
function
|
|
4450
|
+
function Qi(e, t, r) {
|
|
4472
4451
|
if (window.emMessageBus) {
|
|
4473
4452
|
const n = document.createElement("style");
|
|
4474
4453
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4476,13 +4455,13 @@ function qi(e, t, r) {
|
|
|
4476
4455
|
});
|
|
4477
4456
|
}
|
|
4478
4457
|
}
|
|
4479
|
-
function
|
|
4480
|
-
|
|
4458
|
+
function Bt(e, t) {
|
|
4459
|
+
dr(e, t);
|
|
4481
4460
|
}
|
|
4482
|
-
function
|
|
4483
|
-
|
|
4461
|
+
function qi(e) {
|
|
4462
|
+
ie.set(e);
|
|
4484
4463
|
}
|
|
4485
|
-
const
|
|
4464
|
+
const Pt = {
|
|
4486
4465
|
en: {
|
|
4487
4466
|
error: "500 Error - Internal Server Error"
|
|
4488
4467
|
},
|
|
@@ -4514,7 +4493,7 @@ if (typeof window < "u") {
|
|
|
4514
4493
|
}
|
|
4515
4494
|
};
|
|
4516
4495
|
};
|
|
4517
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-
|
|
4496
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-ZqdthZ8T.js").then(({ default: t }) => {
|
|
4518
4497
|
!customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
|
|
4519
4498
|
});
|
|
4520
4499
|
}
|
|
@@ -4530,32 +4509,32 @@ if (typeof window < "u") {
|
|
|
4530
4509
|
}
|
|
4531
4510
|
};
|
|
4532
4511
|
};
|
|
4533
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-
|
|
4512
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-B4VNj6qm.js").then(({ default: t }) => {
|
|
4534
4513
|
!customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
|
|
4535
4514
|
});
|
|
4536
4515
|
}
|
|
4537
|
-
function
|
|
4516
|
+
function Ji(e) {
|
|
4538
4517
|
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
|
|
4539
4518
|
}.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)}}`);
|
|
4540
4519
|
}
|
|
4541
|
-
function
|
|
4520
|
+
function At(e, t, r) {
|
|
4542
4521
|
const n = e.slice();
|
|
4543
4522
|
return n[26] = t[r], n[28] = r, n;
|
|
4544
4523
|
}
|
|
4545
|
-
function
|
|
4546
|
-
let t, r, n, i =
|
|
4524
|
+
function Yi(e) {
|
|
4525
|
+
let t, r, n, i = st(
|
|
4547
4526
|
/*calendarCollections*/
|
|
4548
4527
|
e[6]
|
|
4549
4528
|
), o = [];
|
|
4550
4529
|
for (let s = 0; s < i.length; s += 1)
|
|
4551
|
-
o[s] =
|
|
4530
|
+
o[s] = Ot(At(e, i, s));
|
|
4552
4531
|
let a = (
|
|
4553
4532
|
/*calendarModalOpened*/
|
|
4554
|
-
e[11] == !0 &&
|
|
4533
|
+
e[11] == !0 && It(e)
|
|
4555
4534
|
);
|
|
4556
4535
|
return {
|
|
4557
4536
|
c() {
|
|
4558
|
-
t =
|
|
4537
|
+
t = R("div");
|
|
4559
4538
|
for (let s = 0; s < o.length; s += 1)
|
|
4560
4539
|
o[s].c();
|
|
4561
4540
|
r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
|
|
@@ -4565,60 +4544,60 @@ function Ki(e) {
|
|
|
4565
4544
|
k(s, t, l);
|
|
4566
4545
|
for (let u = 0; u < o.length; u += 1)
|
|
4567
4546
|
o[u] && o[u].m(t, null);
|
|
4568
|
-
|
|
4547
|
+
Se(t, r), a && a.m(t, null);
|
|
4569
4548
|
},
|
|
4570
4549
|
p(s, l) {
|
|
4571
4550
|
if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
4572
4551
|
95) {
|
|
4573
|
-
i =
|
|
4552
|
+
i = st(
|
|
4574
4553
|
/*calendarCollections*/
|
|
4575
4554
|
s[6]
|
|
4576
4555
|
);
|
|
4577
4556
|
let u;
|
|
4578
4557
|
for (u = 0; u < i.length; u += 1) {
|
|
4579
|
-
const h =
|
|
4580
|
-
o[u] ? o[u].p(h, l) : (o[u] =
|
|
4558
|
+
const h = At(s, i, u);
|
|
4559
|
+
o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
|
|
4581
4560
|
}
|
|
4582
4561
|
for (; u < o.length; u += 1)
|
|
4583
4562
|
o[u].d(1);
|
|
4584
4563
|
o.length = i.length;
|
|
4585
4564
|
}
|
|
4586
4565
|
/*calendarModalOpened*/
|
|
4587
|
-
s[11] == !0 ? a ? a.p(s, l) : (a =
|
|
4566
|
+
s[11] == !0 ? a ? a.p(s, l) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
|
|
4588
4567
|
1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
|
|
4589
4568
|
(s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
|
|
4590
4569
|
},
|
|
4591
4570
|
d(s) {
|
|
4592
|
-
s &&
|
|
4571
|
+
s && D(t), Br(o, s), a && a.d();
|
|
4593
4572
|
}
|
|
4594
4573
|
};
|
|
4595
4574
|
}
|
|
4596
|
-
function
|
|
4575
|
+
function Ki(e) {
|
|
4597
4576
|
let t;
|
|
4598
4577
|
return {
|
|
4599
4578
|
c() {
|
|
4600
|
-
t =
|
|
4579
|
+
t = R("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
|
|
4601
4580
|
},
|
|
4602
4581
|
m(r, n) {
|
|
4603
4582
|
k(r, t, n);
|
|
4604
4583
|
},
|
|
4605
|
-
p:
|
|
4584
|
+
p: B,
|
|
4606
4585
|
d(r) {
|
|
4607
|
-
r &&
|
|
4586
|
+
r && D(t);
|
|
4608
4587
|
}
|
|
4609
4588
|
};
|
|
4610
4589
|
}
|
|
4611
|
-
function
|
|
4590
|
+
function eo(e) {
|
|
4612
4591
|
let t, r = (
|
|
4613
4592
|
/*$_*/
|
|
4614
4593
|
e[12]("error") + ""
|
|
4615
4594
|
), n;
|
|
4616
4595
|
return {
|
|
4617
4596
|
c() {
|
|
4618
|
-
t =
|
|
4597
|
+
t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-5u3c97");
|
|
4619
4598
|
},
|
|
4620
4599
|
m(i, o) {
|
|
4621
|
-
k(i, t, o),
|
|
4600
|
+
k(i, t, o), Se(t, n);
|
|
4622
4601
|
},
|
|
4623
4602
|
p(i, o) {
|
|
4624
4603
|
o & /*$_*/
|
|
@@ -4626,15 +4605,15 @@ function to(e) {
|
|
|
4626
4605
|
i[12]("error") + "") && Ir(n, r);
|
|
4627
4606
|
},
|
|
4628
4607
|
d(i) {
|
|
4629
|
-
i &&
|
|
4608
|
+
i && D(t);
|
|
4630
4609
|
}
|
|
4631
4610
|
};
|
|
4632
4611
|
}
|
|
4633
|
-
function
|
|
4612
|
+
function Ot(e) {
|
|
4634
4613
|
let t, r, n, i, o, a;
|
|
4635
4614
|
return {
|
|
4636
4615
|
c() {
|
|
4637
|
-
t =
|
|
4616
|
+
t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
|
|
4638
4617
|
e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
|
|
4639
4618
|
e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
|
|
4640
4619
|
e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
|
|
@@ -4718,15 +4697,15 @@ function Lt(e) {
|
|
|
4718
4697
|
);
|
|
4719
4698
|
},
|
|
4720
4699
|
d(s) {
|
|
4721
|
-
s &&
|
|
4700
|
+
s && D(t);
|
|
4722
4701
|
}
|
|
4723
4702
|
};
|
|
4724
4703
|
}
|
|
4725
|
-
function
|
|
4704
|
+
function It(e) {
|
|
4726
4705
|
let t, r, n, i, o, a, s, l;
|
|
4727
4706
|
return {
|
|
4728
4707
|
c() {
|
|
4729
|
-
t =
|
|
4708
|
+
t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
|
|
4730
4709
|
e[6][
|
|
4731
4710
|
/*selectedIndex*/
|
|
4732
4711
|
e[7]
|
|
@@ -4778,7 +4757,7 @@ function Ct(e) {
|
|
|
4778
4757
|
), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
|
|
4779
4758
|
},
|
|
4780
4759
|
m(u, h) {
|
|
4781
|
-
k(u, t, h),
|
|
4760
|
+
k(u, t, h), Se(t, r);
|
|
4782
4761
|
},
|
|
4783
4762
|
p(u, h) {
|
|
4784
4763
|
h & /*calendarCollections, selectedIndex*/
|
|
@@ -4844,33 +4823,33 @@ function Ct(e) {
|
|
|
4844
4823
|
);
|
|
4845
4824
|
},
|
|
4846
4825
|
d(u) {
|
|
4847
|
-
u &&
|
|
4826
|
+
u && D(t);
|
|
4848
4827
|
}
|
|
4849
4828
|
};
|
|
4850
4829
|
}
|
|
4851
|
-
function
|
|
4830
|
+
function to(e) {
|
|
4852
4831
|
let t;
|
|
4853
4832
|
function r(o, a) {
|
|
4854
4833
|
if (
|
|
4855
4834
|
/*hasErrors*/
|
|
4856
4835
|
o[9]
|
|
4857
4836
|
)
|
|
4858
|
-
return
|
|
4837
|
+
return eo;
|
|
4859
4838
|
if (
|
|
4860
4839
|
/*isLoading*/
|
|
4861
4840
|
o[8]
|
|
4862
4841
|
)
|
|
4863
|
-
return
|
|
4842
|
+
return Ki;
|
|
4864
4843
|
if (
|
|
4865
4844
|
/*calendarCollections*/
|
|
4866
4845
|
o[6]?.length
|
|
4867
4846
|
)
|
|
4868
|
-
return
|
|
4847
|
+
return Yi;
|
|
4869
4848
|
}
|
|
4870
4849
|
let n = r(e), i = n && n(e);
|
|
4871
4850
|
return {
|
|
4872
4851
|
c() {
|
|
4873
|
-
t =
|
|
4852
|
+
t = R("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
|
|
4874
4853
|
},
|
|
4875
4854
|
m(o, a) {
|
|
4876
4855
|
k(o, t, a), i && i.m(t, null), e[16](t);
|
|
@@ -4878,51 +4857,51 @@ function ro(e) {
|
|
|
4878
4857
|
p(o, [a]) {
|
|
4879
4858
|
n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
|
4880
4859
|
},
|
|
4881
|
-
i:
|
|
4882
|
-
o:
|
|
4860
|
+
i: B,
|
|
4861
|
+
o: B,
|
|
4883
4862
|
d(o) {
|
|
4884
|
-
o &&
|
|
4863
|
+
o && D(t), i && i.d(), e[16](null);
|
|
4885
4864
|
}
|
|
4886
4865
|
};
|
|
4887
4866
|
}
|
|
4888
|
-
function
|
|
4867
|
+
function ro(e, t, r) {
|
|
4889
4868
|
let n;
|
|
4890
|
-
Sr(e,
|
|
4891
|
-
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,
|
|
4892
|
-
const
|
|
4893
|
-
|
|
4869
|
+
Sr(e, Xi, (p) => r(12, n = p));
|
|
4870
|
+
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, P = !1, H = window.navigator.userAgent, w = !1, L;
|
|
4871
|
+
const A = () => {
|
|
4872
|
+
qi(s);
|
|
4894
4873
|
};
|
|
4895
|
-
Object.keys(
|
|
4896
|
-
|
|
4874
|
+
Object.keys(Pt).forEach((p) => {
|
|
4875
|
+
Bt(p, Pt[p]);
|
|
4897
4876
|
});
|
|
4898
|
-
const
|
|
4877
|
+
const M = () => {
|
|
4899
4878
|
let p = h;
|
|
4900
4879
|
if (p)
|
|
4901
|
-
return fetch(p).then((
|
|
4902
|
-
Object.keys(
|
|
4903
|
-
|
|
4880
|
+
return fetch(p).then((C) => C.json()).then((C) => {
|
|
4881
|
+
Object.keys(C).forEach((G) => {
|
|
4882
|
+
Bt(G, C[G]);
|
|
4904
4883
|
});
|
|
4905
|
-
}).catch((
|
|
4906
|
-
console.log(
|
|
4884
|
+
}).catch((C) => {
|
|
4885
|
+
console.log(C);
|
|
4907
4886
|
});
|
|
4908
|
-
},
|
|
4887
|
+
}, x = () => {
|
|
4909
4888
|
r(8, g = !0);
|
|
4910
4889
|
let p = new URL(`${i}/${s}/daily-calendar`);
|
|
4911
4890
|
p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
|
|
4912
|
-
let
|
|
4913
|
-
|
|
4891
|
+
let C = Wi(H);
|
|
4892
|
+
C && (C === "PC" ? p.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
|
|
4914
4893
|
r(6, m = G);
|
|
4915
4894
|
}).catch((G) => {
|
|
4916
4895
|
console.log(G), r(9, S = !0);
|
|
4917
4896
|
}).finally(() => {
|
|
4918
|
-
|
|
4897
|
+
O(), r(8, g = !1);
|
|
4919
4898
|
});
|
|
4920
|
-
},
|
|
4899
|
+
}, O = () => {
|
|
4921
4900
|
const p = c.getRootNode().host;
|
|
4922
4901
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
|
4923
4902
|
}, I = () => {
|
|
4924
|
-
|
|
4925
|
-
},
|
|
4903
|
+
x();
|
|
4904
|
+
}, V = (p) => {
|
|
4926
4905
|
p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
|
|
4927
4906
|
{
|
|
4928
4907
|
type: "ShowModal",
|
|
@@ -4935,11 +4914,11 @@ function no(e, t, r) {
|
|
|
4935
4914
|
data: m[b]?.dailyEvents
|
|
4936
4915
|
})), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
|
|
4937
4916
|
};
|
|
4938
|
-
|
|
4939
|
-
window.removeEventListener("message",
|
|
4917
|
+
Lr(() => (window.addEventListener("message", V, !1), gr(H) && r(10, P = !0), () => {
|
|
4918
|
+
window.emMessageBus && L && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", V);
|
|
4940
4919
|
}));
|
|
4941
|
-
function
|
|
4942
|
-
|
|
4920
|
+
function _r(p) {
|
|
4921
|
+
$e[p ? "unshift" : "push"](() => {
|
|
4943
4922
|
c = p, r(5, c);
|
|
4944
4923
|
});
|
|
4945
4924
|
}
|
|
@@ -4948,11 +4927,11 @@ function no(e, t, r) {
|
|
|
4948
4927
|
}, e.$$.update = () => {
|
|
4949
4928
|
e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
4950
4929
|
57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4951
|
-
34 && l && c &&
|
|
4952
|
-
36 && u && c &&
|
|
4953
|
-
48 && c &&
|
|
4954
|
-
1 && s &&
|
|
4955
|
-
9 && s && h &&
|
|
4930
|
+
34 && l && c && zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4931
|
+
36 && u && c && Zi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4932
|
+
48 && c && Qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
|
|
4933
|
+
1 && s && A(), e.$$.dirty & /*lang, translationurl*/
|
|
4934
|
+
9 && s && h && M();
|
|
4956
4935
|
}, [
|
|
4957
4936
|
s,
|
|
4958
4937
|
l,
|
|
@@ -4964,13 +4943,13 @@ function no(e, t, r) {
|
|
|
4964
4943
|
b,
|
|
4965
4944
|
g,
|
|
4966
4945
|
S,
|
|
4967
|
-
|
|
4946
|
+
P,
|
|
4968
4947
|
w,
|
|
4969
4948
|
n,
|
|
4970
4949
|
i,
|
|
4971
4950
|
o,
|
|
4972
4951
|
a,
|
|
4973
|
-
|
|
4952
|
+
_r
|
|
4974
4953
|
];
|
|
4975
4954
|
}
|
|
4976
4955
|
class vr extends jr {
|
|
@@ -4978,9 +4957,9 @@ class vr extends jr {
|
|
|
4978
4957
|
super(), Gr(
|
|
4979
4958
|
this,
|
|
4980
4959
|
t,
|
|
4981
|
-
no,
|
|
4982
4960
|
ro,
|
|
4983
|
-
|
|
4961
|
+
to,
|
|
4962
|
+
Lt,
|
|
4984
4963
|
{
|
|
4985
4964
|
cmsendpoint: 13,
|
|
4986
4965
|
env: 14,
|
|
@@ -4991,120 +4970,120 @@ class vr extends jr {
|
|
|
4991
4970
|
translationurl: 3,
|
|
4992
4971
|
mbsource: 4
|
|
4993
4972
|
},
|
|
4994
|
-
|
|
4973
|
+
Ji
|
|
4995
4974
|
);
|
|
4996
4975
|
}
|
|
4997
4976
|
get cmsendpoint() {
|
|
4998
4977
|
return this.$$.ctx[13];
|
|
4999
4978
|
}
|
|
5000
4979
|
set cmsendpoint(t) {
|
|
5001
|
-
this.$$set({ cmsendpoint: t }),
|
|
4980
|
+
this.$$set({ cmsendpoint: t }), N();
|
|
5002
4981
|
}
|
|
5003
4982
|
get env() {
|
|
5004
4983
|
return this.$$.ctx[14];
|
|
5005
4984
|
}
|
|
5006
4985
|
set env(t) {
|
|
5007
|
-
this.$$set({ env: t }),
|
|
4986
|
+
this.$$set({ env: t }), N();
|
|
5008
4987
|
}
|
|
5009
4988
|
get userroles() {
|
|
5010
4989
|
return this.$$.ctx[15];
|
|
5011
4990
|
}
|
|
5012
4991
|
set userroles(t) {
|
|
5013
|
-
this.$$set({ userroles: t }),
|
|
4992
|
+
this.$$set({ userroles: t }), N();
|
|
5014
4993
|
}
|
|
5015
4994
|
get lang() {
|
|
5016
4995
|
return this.$$.ctx[0];
|
|
5017
4996
|
}
|
|
5018
4997
|
set lang(t) {
|
|
5019
|
-
this.$$set({ lang: t }),
|
|
4998
|
+
this.$$set({ lang: t }), N();
|
|
5020
4999
|
}
|
|
5021
5000
|
get clientstyling() {
|
|
5022
5001
|
return this.$$.ctx[1];
|
|
5023
5002
|
}
|
|
5024
5003
|
set clientstyling(t) {
|
|
5025
|
-
this.$$set({ clientstyling: t }),
|
|
5004
|
+
this.$$set({ clientstyling: t }), N();
|
|
5026
5005
|
}
|
|
5027
5006
|
get clientstylingurl() {
|
|
5028
5007
|
return this.$$.ctx[2];
|
|
5029
5008
|
}
|
|
5030
5009
|
set clientstylingurl(t) {
|
|
5031
|
-
this.$$set({ clientstylingurl: t }),
|
|
5010
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
5032
5011
|
}
|
|
5033
5012
|
get translationurl() {
|
|
5034
5013
|
return this.$$.ctx[3];
|
|
5035
5014
|
}
|
|
5036
5015
|
set translationurl(t) {
|
|
5037
|
-
this.$$set({ translationurl: t }),
|
|
5016
|
+
this.$$set({ translationurl: t }), N();
|
|
5038
5017
|
}
|
|
5039
5018
|
get mbsource() {
|
|
5040
5019
|
return this.$$.ctx[4];
|
|
5041
5020
|
}
|
|
5042
5021
|
set mbsource(t) {
|
|
5043
|
-
this.$$set({ mbsource: t }),
|
|
5022
|
+
this.$$set({ mbsource: t }), N();
|
|
5044
5023
|
}
|
|
5045
5024
|
}
|
|
5046
5025
|
Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5047
|
-
const
|
|
5026
|
+
const Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5048
5027
|
__proto__: null,
|
|
5049
5028
|
default: vr
|
|
5050
5029
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5051
5030
|
export {
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5031
|
+
ie as $,
|
|
5032
|
+
ho as A,
|
|
5033
|
+
so as B,
|
|
5034
|
+
ao as C,
|
|
5035
|
+
oo as D,
|
|
5036
|
+
Ir as E,
|
|
5037
|
+
Br as F,
|
|
5038
|
+
B as G,
|
|
5039
|
+
d as H,
|
|
5040
|
+
no as I,
|
|
5041
|
+
Xi as J,
|
|
5042
|
+
Pr as K,
|
|
5043
|
+
po as L,
|
|
5044
|
+
go as M,
|
|
5045
|
+
Wi as N,
|
|
5046
|
+
W as O,
|
|
5047
|
+
co as P,
|
|
5069
5048
|
ce as Q,
|
|
5070
|
-
|
|
5049
|
+
fo as R,
|
|
5071
5050
|
jr as S,
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5051
|
+
mo as T,
|
|
5052
|
+
lo as U,
|
|
5053
|
+
bo as V,
|
|
5054
|
+
yo as W,
|
|
5055
|
+
wo as X,
|
|
5056
|
+
So as Y,
|
|
5057
|
+
Eo as Z,
|
|
5058
|
+
To as _,
|
|
5059
|
+
dr as a,
|
|
5060
|
+
xo as a0,
|
|
5061
|
+
uo as a1,
|
|
5062
|
+
xe as a2,
|
|
5063
|
+
Ho as a3,
|
|
5085
5064
|
wr as b,
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5065
|
+
Fr as c,
|
|
5066
|
+
k as d,
|
|
5067
|
+
R as e,
|
|
5068
|
+
N as f,
|
|
5069
|
+
_o as g,
|
|
5070
|
+
Ut as h,
|
|
5092
5071
|
Gr as i,
|
|
5093
|
-
|
|
5072
|
+
D as j,
|
|
5094
5073
|
Sr as k,
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5074
|
+
Zi as l,
|
|
5075
|
+
Qi as m,
|
|
5076
|
+
vo as n,
|
|
5077
|
+
Lr as o,
|
|
5078
|
+
gr as p,
|
|
5079
|
+
$e as q,
|
|
5080
|
+
zi as r,
|
|
5081
|
+
Lt as s,
|
|
5103
5082
|
Rr as t,
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5083
|
+
io as u,
|
|
5084
|
+
st as v,
|
|
5085
|
+
Ar as w,
|
|
5086
|
+
Ke as x,
|
|
5087
|
+
j as y,
|
|
5088
|
+
Se as z
|
|
5110
5089
|
};
|