@everymatrix/player-consents 1.59.2 → 1.59.3
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/{GeneralAnimationLoading-kMKGPw5f.js → GeneralAnimationLoading-CAP3Fch3.js} +19 -19
- package/components/GeneralAnimationLoading-Sk__cGd0.cjs +1 -0
- package/components/{GeneralAnimationLoading-BMZE178n.js → GeneralAnimationLoading-ZTNd0X9B.js} +30 -30
- package/components/{PlayerConsents-f416QJ42.js → PlayerConsents-BKe-jM8Z.js} +829 -804
- package/components/{PlayerConsents-Bvhxca3p.js → PlayerConsents-BWMye2VK.js} +898 -927
- package/components/PlayerConsents-CHapKEQ3.cjs +16 -0
- package/es2015/player-consents.cjs +1 -1
- package/es2015/player-consents.js +1 -1
- package/esnext/player-consents.js +1 -1
- package/package.json +2 -2
- package/components/GeneralAnimationLoading-acwReDLO.cjs +0 -1
- package/components/PlayerConsents-DAjj2l81.cjs +0 -16
|
@@ -1,169 +1,141 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var Rr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var lt = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
Rr.call(t, r) && lt(e, r, t[r]);
|
|
8
|
-
if (st)
|
|
9
|
-
for (var r of st(t))
|
|
10
|
-
Ur.call(t, r) && lt(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, ct = (e, t) => jr(e, Lr(t));
|
|
13
|
-
var de = (e, t, r) => new Promise((n, i) => {
|
|
14
|
-
var o = (h) => {
|
|
15
|
-
try {
|
|
16
|
-
s(r.next(h));
|
|
17
|
-
} catch (u) {
|
|
18
|
-
i(u);
|
|
19
|
-
}
|
|
20
|
-
}, a = (h) => {
|
|
21
|
-
try {
|
|
22
|
-
s(r.throw(h));
|
|
23
|
-
} catch (u) {
|
|
24
|
-
i(u);
|
|
25
|
-
}
|
|
26
|
-
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
27
|
-
s((r = r.apply(e, t)).next());
|
|
28
|
-
});
|
|
29
|
-
import { n as X, s as Dr, r as Rt, a as Ke, i as qr, c as Ut, S as Dt, b as qt, d as ut, e as E, f as j, g as x, h as L, j as V, k as Gr, l as A, m as Fr, o as Vr, p as Xr, q as Wr, t as ht, u as Zr, v as Jr, w as ee, x as $e, y as q, z as Qr, A as ge, B as _e, C as be, D as Y, H as Gt } from "./GeneralAnimationLoading-kMKGPw5f.js";
|
|
30
|
-
const $ = [];
|
|
31
|
-
function Yr(e, t) {
|
|
1
|
+
import { n as q, s as Je, a as Mr, r as At, i as wr, c as Ht, S as Pt, b as Bt, d as j, e as L, f as S, g as rt, h as E, j as X, k as Nr, l as N, m as Ar, o as Hr, p as nt, q as J, t as me, u as pe, v as K, w as Qe, x as he, y as G, z as Pr, H as Ot, A as Br, B as Or, C as Ir, D as jr } from "./GeneralAnimationLoading-ZTNd0X9B.js";
|
|
2
|
+
const Y = [];
|
|
3
|
+
function Lr(e, t) {
|
|
32
4
|
return {
|
|
33
|
-
subscribe:
|
|
5
|
+
subscribe: Me(e, t).subscribe
|
|
34
6
|
};
|
|
35
7
|
}
|
|
36
|
-
function
|
|
8
|
+
function Me(e, t = q) {
|
|
37
9
|
let r;
|
|
38
10
|
const n = /* @__PURE__ */ new Set();
|
|
39
11
|
function i(s) {
|
|
40
|
-
if (
|
|
41
|
-
const h =
|
|
12
|
+
if (Je(e, s) && (e = s, r)) {
|
|
13
|
+
const h = !Y.length;
|
|
42
14
|
for (const u of n)
|
|
43
|
-
u[1](),
|
|
15
|
+
u[1](), Y.push(u, e);
|
|
44
16
|
if (h) {
|
|
45
|
-
for (let u = 0; u <
|
|
46
|
-
|
|
47
|
-
|
|
17
|
+
for (let u = 0; u < Y.length; u += 2)
|
|
18
|
+
Y[u][0](Y[u + 1]);
|
|
19
|
+
Y.length = 0;
|
|
48
20
|
}
|
|
49
21
|
}
|
|
50
22
|
}
|
|
51
23
|
function o(s) {
|
|
52
24
|
i(s(e));
|
|
53
25
|
}
|
|
54
|
-
function a(s, h =
|
|
26
|
+
function a(s, h = q) {
|
|
55
27
|
const u = [s, h];
|
|
56
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
28
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
|
|
57
29
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
58
30
|
};
|
|
59
31
|
}
|
|
60
32
|
return { set: i, update: o, subscribe: a };
|
|
61
33
|
}
|
|
62
|
-
function
|
|
34
|
+
function ne(e, t, r) {
|
|
63
35
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
64
36
|
if (!i.every(Boolean))
|
|
65
37
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
66
38
|
const o = t.length < 2;
|
|
67
|
-
return
|
|
39
|
+
return Lr(r, (a, s) => {
|
|
68
40
|
let h = !1;
|
|
69
41
|
const u = [];
|
|
70
|
-
let l = 0, d =
|
|
71
|
-
const
|
|
42
|
+
let l = 0, d = q;
|
|
43
|
+
const g = () => {
|
|
72
44
|
if (l)
|
|
73
45
|
return;
|
|
74
46
|
d();
|
|
75
47
|
const f = t(n ? u[0] : u, a, s);
|
|
76
|
-
o ? a(f) : d =
|
|
77
|
-
},
|
|
78
|
-
(f,
|
|
48
|
+
o ? a(f) : d = wr(f) ? f : q;
|
|
49
|
+
}, v = i.map(
|
|
50
|
+
(f, m) => Mr(
|
|
79
51
|
f,
|
|
80
|
-
(
|
|
81
|
-
u[
|
|
52
|
+
(C) => {
|
|
53
|
+
u[m] = C, l &= ~(1 << m), h && g();
|
|
82
54
|
},
|
|
83
55
|
() => {
|
|
84
|
-
l |= 1 <<
|
|
56
|
+
l |= 1 << m;
|
|
85
57
|
}
|
|
86
58
|
)
|
|
87
59
|
);
|
|
88
|
-
return h = !0,
|
|
89
|
-
|
|
60
|
+
return h = !0, g(), function() {
|
|
61
|
+
At(v), d(), h = !1;
|
|
90
62
|
};
|
|
91
63
|
});
|
|
92
64
|
}
|
|
93
|
-
function
|
|
65
|
+
function Rr(e) {
|
|
94
66
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
95
67
|
}
|
|
96
|
-
var
|
|
97
|
-
return
|
|
68
|
+
var Ur = function(t) {
|
|
69
|
+
return Dr(t) && !Gr(t);
|
|
98
70
|
};
|
|
99
|
-
function
|
|
71
|
+
function Dr(e) {
|
|
100
72
|
return !!e && typeof e == "object";
|
|
101
73
|
}
|
|
102
|
-
function
|
|
74
|
+
function Gr(e) {
|
|
103
75
|
var t = Object.prototype.toString.call(e);
|
|
104
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
76
|
+
return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
|
|
105
77
|
}
|
|
106
|
-
var
|
|
107
|
-
function
|
|
108
|
-
return e.$$typeof ===
|
|
78
|
+
var Fr = typeof Symbol == "function" && Symbol.for, Vr = Fr ? Symbol.for("react.element") : 60103;
|
|
79
|
+
function Xr(e) {
|
|
80
|
+
return e.$$typeof === Vr;
|
|
109
81
|
}
|
|
110
|
-
function
|
|
82
|
+
function qr(e) {
|
|
111
83
|
return Array.isArray(e) ? [] : {};
|
|
112
84
|
}
|
|
113
|
-
function
|
|
114
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
85
|
+
function de(e, t) {
|
|
86
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? $(qr(e), e, t) : e;
|
|
115
87
|
}
|
|
116
|
-
function
|
|
88
|
+
function Wr(e, t, r) {
|
|
117
89
|
return e.concat(t).map(function(n) {
|
|
118
|
-
return
|
|
90
|
+
return de(n, r);
|
|
119
91
|
});
|
|
120
92
|
}
|
|
121
|
-
function
|
|
93
|
+
function Zr(e, t) {
|
|
122
94
|
if (!t.customMerge)
|
|
123
|
-
return
|
|
95
|
+
return $;
|
|
124
96
|
var r = t.customMerge(e);
|
|
125
|
-
return typeof r == "function" ? r :
|
|
97
|
+
return typeof r == "function" ? r : $;
|
|
126
98
|
}
|
|
127
|
-
function
|
|
99
|
+
function Jr(e) {
|
|
128
100
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
129
101
|
return Object.propertyIsEnumerable.call(e, t);
|
|
130
102
|
}) : [];
|
|
131
103
|
}
|
|
132
|
-
function
|
|
133
|
-
return Object.keys(e).concat(
|
|
104
|
+
function it(e) {
|
|
105
|
+
return Object.keys(e).concat(Jr(e));
|
|
134
106
|
}
|
|
135
|
-
function
|
|
107
|
+
function It(e, t) {
|
|
136
108
|
try {
|
|
137
109
|
return t in e;
|
|
138
|
-
} catch
|
|
110
|
+
} catch {
|
|
139
111
|
return !1;
|
|
140
112
|
}
|
|
141
113
|
}
|
|
142
|
-
function
|
|
143
|
-
return
|
|
114
|
+
function Qr(e, t) {
|
|
115
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
144
116
|
}
|
|
145
|
-
function
|
|
117
|
+
function Yr(e, t, r) {
|
|
146
118
|
var n = {};
|
|
147
|
-
return r.isMergeableObject(e) &&
|
|
148
|
-
n[i] =
|
|
149
|
-
}),
|
|
150
|
-
|
|
119
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
120
|
+
n[i] = de(e[i], r);
|
|
121
|
+
}), it(t).forEach(function(i) {
|
|
122
|
+
Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
151
123
|
}), n;
|
|
152
124
|
}
|
|
153
|
-
function
|
|
154
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
125
|
+
function $(e, t, r) {
|
|
126
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = de;
|
|
155
127
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
156
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
128
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : de(t, r);
|
|
157
129
|
}
|
|
158
|
-
|
|
130
|
+
$.all = function(t, r) {
|
|
159
131
|
if (!Array.isArray(t))
|
|
160
132
|
throw new Error("first argument should be an array");
|
|
161
133
|
return t.reduce(function(n, i) {
|
|
162
|
-
return
|
|
134
|
+
return $(n, i, r);
|
|
163
135
|
}, {});
|
|
164
136
|
};
|
|
165
|
-
var
|
|
166
|
-
const
|
|
137
|
+
var Kr = $, $r = Kr;
|
|
138
|
+
const en = /* @__PURE__ */ Rr($r);
|
|
167
139
|
/*! *****************************************************************************
|
|
168
140
|
Copyright (c) Microsoft Corporation.
|
|
169
141
|
|
|
@@ -178,34 +150,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
178
150
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
179
151
|
PERFORMANCE OF THIS SOFTWARE.
|
|
180
152
|
***************************************************************************** */
|
|
181
|
-
var
|
|
182
|
-
return
|
|
153
|
+
var Ue = function(e, t) {
|
|
154
|
+
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
183
155
|
r.__proto__ = n;
|
|
184
156
|
} || function(r, n) {
|
|
185
157
|
for (var i in n)
|
|
186
158
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
187
|
-
},
|
|
159
|
+
}, Ue(e, t);
|
|
188
160
|
};
|
|
189
|
-
function
|
|
161
|
+
function we(e, t) {
|
|
190
162
|
if (typeof t != "function" && t !== null)
|
|
191
163
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
192
|
-
|
|
164
|
+
Ue(e, t);
|
|
193
165
|
function r() {
|
|
194
166
|
this.constructor = e;
|
|
195
167
|
}
|
|
196
168
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
197
169
|
}
|
|
198
|
-
var
|
|
199
|
-
return
|
|
170
|
+
var A = function() {
|
|
171
|
+
return A = Object.assign || function(t) {
|
|
200
172
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
201
173
|
r = arguments[n];
|
|
202
174
|
for (var o in r)
|
|
203
175
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
204
176
|
}
|
|
205
177
|
return t;
|
|
206
|
-
},
|
|
178
|
+
}, A.apply(this, arguments);
|
|
207
179
|
};
|
|
208
|
-
function
|
|
180
|
+
function tn(e, t) {
|
|
209
181
|
var r = {};
|
|
210
182
|
for (var n in e)
|
|
211
183
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -214,111 +186,109 @@ function pn(e, t) {
|
|
|
214
186
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
215
187
|
return r;
|
|
216
188
|
}
|
|
217
|
-
function
|
|
189
|
+
function Be(e, t, r) {
|
|
218
190
|
if (arguments.length === 2)
|
|
219
191
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
220
192
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
221
193
|
return e.concat(o || t);
|
|
222
194
|
}
|
|
223
|
-
function
|
|
224
|
-
var r = t && t.cache ? t.cache :
|
|
195
|
+
function Oe(e, t) {
|
|
196
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : on;
|
|
225
197
|
return i(e, {
|
|
226
198
|
cache: r,
|
|
227
199
|
serializer: n
|
|
228
200
|
});
|
|
229
201
|
}
|
|
230
|
-
function
|
|
202
|
+
function rn(e) {
|
|
231
203
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
232
204
|
}
|
|
233
|
-
function
|
|
234
|
-
var i =
|
|
235
|
-
return typeof o
|
|
205
|
+
function nn(e, t, r, n) {
|
|
206
|
+
var i = rn(n) ? n : r(n), o = t.get(i);
|
|
207
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
236
208
|
}
|
|
237
|
-
function
|
|
209
|
+
function jt(e, t, r) {
|
|
238
210
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
239
|
-
return typeof o
|
|
211
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
240
212
|
}
|
|
241
|
-
function
|
|
213
|
+
function Lt(e, t, r, n, i) {
|
|
242
214
|
return r.bind(t, e, n, i);
|
|
243
215
|
}
|
|
244
|
-
function
|
|
245
|
-
var r = e.length === 1 ?
|
|
246
|
-
return
|
|
247
|
-
}
|
|
248
|
-
function bn(e, t) {
|
|
249
|
-
return et(e, this, Xt, t.cache.create(), t.serializer);
|
|
216
|
+
function on(e, t) {
|
|
217
|
+
var r = e.length === 1 ? nn : jt;
|
|
218
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
250
219
|
}
|
|
251
|
-
function
|
|
252
|
-
return
|
|
220
|
+
function an(e, t) {
|
|
221
|
+
return Lt(e, this, jt, t.cache.create(), t.serializer);
|
|
253
222
|
}
|
|
254
|
-
var
|
|
223
|
+
var sn = function() {
|
|
255
224
|
return JSON.stringify(arguments);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
225
|
+
}, ln = (
|
|
226
|
+
/** @class */
|
|
227
|
+
function() {
|
|
228
|
+
function e() {
|
|
229
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
230
|
+
}
|
|
231
|
+
return e.prototype.get = function(t) {
|
|
232
|
+
return this.cache[t];
|
|
233
|
+
}, e.prototype.set = function(t, r) {
|
|
234
|
+
this.cache[t] = r;
|
|
235
|
+
}, e;
|
|
236
|
+
}()
|
|
237
|
+
), cn = {
|
|
267
238
|
create: function() {
|
|
268
|
-
return new
|
|
239
|
+
return new ln();
|
|
269
240
|
}
|
|
270
|
-
},
|
|
271
|
-
variadic:
|
|
272
|
-
|
|
273
|
-
}, w;
|
|
241
|
+
}, Ie = {
|
|
242
|
+
variadic: an
|
|
243
|
+
}, M;
|
|
274
244
|
(function(e) {
|
|
275
245
|
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";
|
|
276
|
-
})(
|
|
277
|
-
var
|
|
246
|
+
})(M || (M = {}));
|
|
247
|
+
var P;
|
|
278
248
|
(function(e) {
|
|
279
249
|
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";
|
|
280
|
-
})(
|
|
281
|
-
var
|
|
250
|
+
})(P || (P = {}));
|
|
251
|
+
var ee;
|
|
282
252
|
(function(e) {
|
|
283
253
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
284
|
-
})(
|
|
285
|
-
function
|
|
286
|
-
return e.type ===
|
|
254
|
+
})(ee || (ee = {}));
|
|
255
|
+
function ot(e) {
|
|
256
|
+
return e.type === P.literal;
|
|
287
257
|
}
|
|
288
|
-
function
|
|
289
|
-
return e.type ===
|
|
258
|
+
function un(e) {
|
|
259
|
+
return e.type === P.argument;
|
|
290
260
|
}
|
|
291
|
-
function
|
|
292
|
-
return e.type ===
|
|
261
|
+
function Rt(e) {
|
|
262
|
+
return e.type === P.number;
|
|
293
263
|
}
|
|
294
|
-
function
|
|
295
|
-
return e.type ===
|
|
264
|
+
function Ut(e) {
|
|
265
|
+
return e.type === P.date;
|
|
296
266
|
}
|
|
297
|
-
function
|
|
298
|
-
return e.type ===
|
|
267
|
+
function Dt(e) {
|
|
268
|
+
return e.type === P.time;
|
|
299
269
|
}
|
|
300
|
-
function
|
|
301
|
-
return e.type ===
|
|
270
|
+
function Gt(e) {
|
|
271
|
+
return e.type === P.select;
|
|
302
272
|
}
|
|
303
|
-
function
|
|
304
|
-
return e.type ===
|
|
273
|
+
function Ft(e) {
|
|
274
|
+
return e.type === P.plural;
|
|
305
275
|
}
|
|
306
|
-
function
|
|
307
|
-
return e.type ===
|
|
276
|
+
function hn(e) {
|
|
277
|
+
return e.type === P.pound;
|
|
308
278
|
}
|
|
309
|
-
function
|
|
310
|
-
return e.type ===
|
|
279
|
+
function Vt(e) {
|
|
280
|
+
return e.type === P.tag;
|
|
311
281
|
}
|
|
312
|
-
function
|
|
313
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
282
|
+
function Xt(e) {
|
|
283
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
314
284
|
}
|
|
315
|
-
function
|
|
316
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
285
|
+
function De(e) {
|
|
286
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
317
287
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
288
|
+
var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
|
|
289
|
+
function gn(e) {
|
|
320
290
|
var t = {};
|
|
321
|
-
return e.replace(
|
|
291
|
+
return e.replace(dn, function(r) {
|
|
322
292
|
var n = r.length;
|
|
323
293
|
switch (r[0]) {
|
|
324
294
|
case "G":
|
|
@@ -407,12 +377,12 @@ function xn(e) {
|
|
|
407
377
|
return "";
|
|
408
378
|
}), t;
|
|
409
379
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
380
|
+
var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
381
|
+
function pn(e) {
|
|
412
382
|
if (e.length === 0)
|
|
413
383
|
throw new Error("Number skeleton cannot be empty");
|
|
414
|
-
for (var t = e.split(
|
|
415
|
-
return
|
|
384
|
+
for (var t = e.split(mn).filter(function(g) {
|
|
385
|
+
return g.length > 0;
|
|
416
386
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
417
387
|
var o = i[n], a = o.split("/");
|
|
418
388
|
if (a.length === 0)
|
|
@@ -426,17 +396,17 @@ function Tn(e) {
|
|
|
426
396
|
}
|
|
427
397
|
return r;
|
|
428
398
|
}
|
|
429
|
-
function
|
|
399
|
+
function fn(e) {
|
|
430
400
|
return e.replace(/^(.*?)-/, "");
|
|
431
401
|
}
|
|
432
|
-
var
|
|
433
|
-
function
|
|
402
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
|
|
403
|
+
function st(e) {
|
|
434
404
|
var t = {};
|
|
435
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
405
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
436
406
|
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)), "";
|
|
437
407
|
}), t;
|
|
438
408
|
}
|
|
439
|
-
function
|
|
409
|
+
function Jt(e) {
|
|
440
410
|
switch (e) {
|
|
441
411
|
case "sign-auto":
|
|
442
412
|
return {
|
|
@@ -476,7 +446,7 @@ function nr(e) {
|
|
|
476
446
|
};
|
|
477
447
|
}
|
|
478
448
|
}
|
|
479
|
-
function
|
|
449
|
+
function bn(e) {
|
|
480
450
|
var t;
|
|
481
451
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
482
452
|
notation: "engineering"
|
|
@@ -484,17 +454,17 @@ function An(e) {
|
|
|
484
454
|
notation: "scientific"
|
|
485
455
|
}, e = e.slice(1)), t) {
|
|
486
456
|
var r = e.slice(0, 2);
|
|
487
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
457
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
|
|
488
458
|
throw new Error("Malformed concise eng/scientific notation");
|
|
489
459
|
t.minimumIntegerDigits = e.length;
|
|
490
460
|
}
|
|
491
461
|
return t;
|
|
492
462
|
}
|
|
493
|
-
function
|
|
494
|
-
var t = {}, r =
|
|
463
|
+
function lt(e) {
|
|
464
|
+
var t = {}, r = Jt(e);
|
|
495
465
|
return r || t;
|
|
496
466
|
}
|
|
497
|
-
function
|
|
467
|
+
function vn(e) {
|
|
498
468
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
499
469
|
var i = n[r];
|
|
500
470
|
switch (i.stem) {
|
|
@@ -518,7 +488,7 @@ function Hn(e) {
|
|
|
518
488
|
continue;
|
|
519
489
|
case "measure-unit":
|
|
520
490
|
case "unit":
|
|
521
|
-
t.style = "unit", t.unit =
|
|
491
|
+
t.style = "unit", t.unit = fn(i.options[0]);
|
|
522
492
|
continue;
|
|
523
493
|
case "compact-short":
|
|
524
494
|
case "K":
|
|
@@ -529,13 +499,13 @@ function Hn(e) {
|
|
|
529
499
|
t.notation = "compact", t.compactDisplay = "long";
|
|
530
500
|
continue;
|
|
531
501
|
case "scientific":
|
|
532
|
-
t =
|
|
533
|
-
return
|
|
502
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
503
|
+
return A(A({}, h), lt(u));
|
|
534
504
|
}, {}));
|
|
535
505
|
continue;
|
|
536
506
|
case "engineering":
|
|
537
|
-
t =
|
|
538
|
-
return
|
|
507
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
508
|
+
return A(A({}, h), lt(u));
|
|
539
509
|
}, {}));
|
|
540
510
|
continue;
|
|
541
511
|
case "notation-simple":
|
|
@@ -580,45 +550,45 @@ function Hn(e) {
|
|
|
580
550
|
case "integer-width":
|
|
581
551
|
if (i.options.length > 1)
|
|
582
552
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
583
|
-
i.options[0].replace(
|
|
553
|
+
i.options[0].replace(_n, function(h, u, l, d, g, v) {
|
|
584
554
|
if (u)
|
|
585
555
|
t.minimumIntegerDigits = l.length;
|
|
586
556
|
else {
|
|
587
|
-
if (d &&
|
|
557
|
+
if (d && g)
|
|
588
558
|
throw new Error("We currently do not support maximum integer digits");
|
|
589
|
-
if (
|
|
559
|
+
if (v)
|
|
590
560
|
throw new Error("We currently do not support exact integer digits");
|
|
591
561
|
}
|
|
592
562
|
return "";
|
|
593
563
|
});
|
|
594
564
|
continue;
|
|
595
565
|
}
|
|
596
|
-
if (
|
|
566
|
+
if (Zt.test(i.stem)) {
|
|
597
567
|
t.minimumIntegerDigits = i.stem.length;
|
|
598
568
|
continue;
|
|
599
569
|
}
|
|
600
|
-
if (
|
|
570
|
+
if (at.test(i.stem)) {
|
|
601
571
|
if (i.options.length > 1)
|
|
602
572
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
603
|
-
i.stem.replace(
|
|
604
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length :
|
|
573
|
+
i.stem.replace(at, function(h, u, l, d, g, v) {
|
|
574
|
+
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : g && v ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
605
575
|
});
|
|
606
576
|
var o = i.options[0];
|
|
607
|
-
o === "w" ? t =
|
|
577
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), st(o)));
|
|
608
578
|
continue;
|
|
609
579
|
}
|
|
610
|
-
if (
|
|
611
|
-
t =
|
|
580
|
+
if (Wt.test(i.stem)) {
|
|
581
|
+
t = A(A({}, t), st(i.stem));
|
|
612
582
|
continue;
|
|
613
583
|
}
|
|
614
|
-
var a =
|
|
615
|
-
a && (t =
|
|
616
|
-
var s =
|
|
617
|
-
s && (t =
|
|
584
|
+
var a = Jt(i.stem);
|
|
585
|
+
a && (t = A(A({}, t), a));
|
|
586
|
+
var s = bn(i.stem);
|
|
587
|
+
s && (t = A(A({}, t), s));
|
|
618
588
|
}
|
|
619
589
|
return t;
|
|
620
590
|
}
|
|
621
|
-
var
|
|
591
|
+
var Ce = {
|
|
622
592
|
"001": [
|
|
623
593
|
"H",
|
|
624
594
|
"h"
|
|
@@ -2033,13 +2003,13 @@ var Me = {
|
|
|
2033
2003
|
"h"
|
|
2034
2004
|
]
|
|
2035
2005
|
};
|
|
2036
|
-
function
|
|
2006
|
+
function yn(e, t) {
|
|
2037
2007
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2038
2008
|
var i = e.charAt(n);
|
|
2039
2009
|
if (i === "j") {
|
|
2040
2010
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2041
2011
|
o++, n++;
|
|
2042
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2012
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
|
|
2043
2013
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2044
2014
|
r += h;
|
|
2045
2015
|
for (; a-- > 0; )
|
|
@@ -2049,7 +2019,7 @@ function Pn(e, t) {
|
|
|
2049
2019
|
}
|
|
2050
2020
|
return r;
|
|
2051
2021
|
}
|
|
2052
|
-
function
|
|
2022
|
+
function kn(e) {
|
|
2053
2023
|
var t = e.hourCycle;
|
|
2054
2024
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2055
2025
|
e.hourCycles && // @ts-ignore
|
|
@@ -2068,23 +2038,23 @@ function Bn(e) {
|
|
|
2068
2038
|
}
|
|
2069
2039
|
var r = e.language, n;
|
|
2070
2040
|
r !== "root" && (n = e.maximize().region);
|
|
2071
|
-
var i =
|
|
2041
|
+
var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
|
|
2072
2042
|
return i[0];
|
|
2073
2043
|
}
|
|
2074
|
-
var
|
|
2075
|
-
function
|
|
2044
|
+
var je, En = new RegExp("^".concat(qt.source, "*")), Cn = new RegExp("".concat(qt.source, "*$"));
|
|
2045
|
+
function w(e, t) {
|
|
2076
2046
|
return { start: e, end: t };
|
|
2077
2047
|
}
|
|
2078
|
-
var
|
|
2048
|
+
var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, zn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, An = Nn ? Number.isSafeInteger : function(e) {
|
|
2079
2049
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2080
|
-
},
|
|
2050
|
+
}, Ge = !0;
|
|
2081
2051
|
try {
|
|
2082
|
-
var
|
|
2083
|
-
|
|
2084
|
-
} catch
|
|
2085
|
-
|
|
2052
|
+
var Hn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2053
|
+
Ge = ((je = Hn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
2054
|
+
} catch {
|
|
2055
|
+
Ge = !1;
|
|
2086
2056
|
}
|
|
2087
|
-
var
|
|
2057
|
+
var ct = Sn ? (
|
|
2088
2058
|
// Native
|
|
2089
2059
|
function(t, r, n) {
|
|
2090
2060
|
return t.startsWith(r, n);
|
|
@@ -2094,7 +2064,7 @@ var _t = In ? (
|
|
|
2094
2064
|
function(t, r, n) {
|
|
2095
2065
|
return t.slice(n, n + r.length) === r;
|
|
2096
2066
|
}
|
|
2097
|
-
),
|
|
2067
|
+
), Fe = xn ? String.fromCodePoint : (
|
|
2098
2068
|
// IE11
|
|
2099
2069
|
function() {
|
|
2100
2070
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2106,9 +2076,9 @@ var _t = In ? (
|
|
|
2106
2076
|
}
|
|
2107
2077
|
return n;
|
|
2108
2078
|
}
|
|
2109
|
-
),
|
|
2079
|
+
), ut = (
|
|
2110
2080
|
// native
|
|
2111
|
-
|
|
2081
|
+
zn ? Object.fromEntries : (
|
|
2112
2082
|
// Ponyfill
|
|
2113
2083
|
function(t) {
|
|
2114
2084
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2118,7 +2088,7 @@ var _t = In ? (
|
|
|
2118
2088
|
return r;
|
|
2119
2089
|
}
|
|
2120
2090
|
)
|
|
2121
|
-
),
|
|
2091
|
+
), Qt = Tn ? (
|
|
2122
2092
|
// Native
|
|
2123
2093
|
function(t, r) {
|
|
2124
2094
|
return t.codePointAt(r);
|
|
@@ -2132,7 +2102,7 @@ var _t = In ? (
|
|
|
2132
2102
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2133
2103
|
}
|
|
2134
2104
|
}
|
|
2135
|
-
),
|
|
2105
|
+
), Pn = Mn ? (
|
|
2136
2106
|
// Native
|
|
2137
2107
|
function(t) {
|
|
2138
2108
|
return t.trimStart();
|
|
@@ -2140,9 +2110,9 @@ var _t = In ? (
|
|
|
2140
2110
|
) : (
|
|
2141
2111
|
// Ponyfill
|
|
2142
2112
|
function(t) {
|
|
2143
|
-
return t.replace(
|
|
2113
|
+
return t.replace(En, "");
|
|
2144
2114
|
}
|
|
2145
|
-
),
|
|
2115
|
+
), Bn = wn ? (
|
|
2146
2116
|
// Native
|
|
2147
2117
|
function(t) {
|
|
2148
2118
|
return t.trimEnd();
|
|
@@ -2150,32 +2120,32 @@ var _t = In ? (
|
|
|
2150
2120
|
) : (
|
|
2151
2121
|
// Ponyfill
|
|
2152
2122
|
function(t) {
|
|
2153
|
-
return t.replace(
|
|
2123
|
+
return t.replace(Cn, "");
|
|
2154
2124
|
}
|
|
2155
2125
|
);
|
|
2156
|
-
function
|
|
2126
|
+
function Yt(e, t) {
|
|
2157
2127
|
return new RegExp(e, t);
|
|
2158
2128
|
}
|
|
2159
|
-
var
|
|
2160
|
-
if (
|
|
2161
|
-
var
|
|
2162
|
-
|
|
2129
|
+
var Ve;
|
|
2130
|
+
if (Ge) {
|
|
2131
|
+
var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2132
|
+
Ve = function(t, r) {
|
|
2163
2133
|
var n;
|
|
2164
|
-
|
|
2165
|
-
var i =
|
|
2134
|
+
ht.lastIndex = r;
|
|
2135
|
+
var i = ht.exec(t);
|
|
2166
2136
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2167
2137
|
};
|
|
2168
2138
|
} else
|
|
2169
|
-
|
|
2139
|
+
Ve = function(t, r) {
|
|
2170
2140
|
for (var n = []; ; ) {
|
|
2171
|
-
var i =
|
|
2172
|
-
if (i === void 0 ||
|
|
2141
|
+
var i = Qt(t, r);
|
|
2142
|
+
if (i === void 0 || Kt(i) || Ln(i))
|
|
2173
2143
|
break;
|
|
2174
2144
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2175
2145
|
}
|
|
2176
|
-
return
|
|
2146
|
+
return Fe.apply(void 0, n);
|
|
2177
2147
|
};
|
|
2178
|
-
var
|
|
2148
|
+
var On = (
|
|
2179
2149
|
/** @class */
|
|
2180
2150
|
function() {
|
|
2181
2151
|
function e(t, r) {
|
|
@@ -2199,14 +2169,14 @@ var Wn = (
|
|
|
2199
2169
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2200
2170
|
var s = this.clonePosition();
|
|
2201
2171
|
this.bump(), i.push({
|
|
2202
|
-
type:
|
|
2203
|
-
location:
|
|
2172
|
+
type: P.pound,
|
|
2173
|
+
location: w(s, this.clonePosition())
|
|
2204
2174
|
});
|
|
2205
2175
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2206
2176
|
if (n)
|
|
2207
2177
|
break;
|
|
2208
|
-
return this.error(
|
|
2209
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2178
|
+
return this.error(M.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
2179
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
2210
2180
|
var a = this.parseTag(t, r);
|
|
2211
2181
|
if (a.err)
|
|
2212
2182
|
return a;
|
|
@@ -2227,9 +2197,9 @@ var Wn = (
|
|
|
2227
2197
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2228
2198
|
return {
|
|
2229
2199
|
val: {
|
|
2230
|
-
type:
|
|
2200
|
+
type: P.literal,
|
|
2231
2201
|
value: "<".concat(i, "/>"),
|
|
2232
|
-
location:
|
|
2202
|
+
location: w(n, this.clonePosition())
|
|
2233
2203
|
},
|
|
2234
2204
|
err: null
|
|
2235
2205
|
};
|
|
@@ -2239,25 +2209,25 @@ var Wn = (
|
|
|
2239
2209
|
return o;
|
|
2240
2210
|
var a = o.val, s = this.clonePosition();
|
|
2241
2211
|
if (this.bumpIf("</")) {
|
|
2242
|
-
if (this.isEOF() || !
|
|
2243
|
-
return this.error(
|
|
2212
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
2213
|
+
return this.error(M.INVALID_TAG, w(s, this.clonePosition()));
|
|
2244
2214
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2245
|
-
return i !== u ? this.error(
|
|
2215
|
+
return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2246
2216
|
val: {
|
|
2247
|
-
type:
|
|
2217
|
+
type: P.tag,
|
|
2248
2218
|
value: i,
|
|
2249
2219
|
children: a,
|
|
2250
|
-
location:
|
|
2220
|
+
location: w(n, this.clonePosition())
|
|
2251
2221
|
},
|
|
2252
2222
|
err: null
|
|
2253
|
-
} : this.error(
|
|
2223
|
+
} : this.error(M.INVALID_TAG, w(s, this.clonePosition())));
|
|
2254
2224
|
} else
|
|
2255
|
-
return this.error(
|
|
2225
|
+
return this.error(M.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
2256
2226
|
} else
|
|
2257
|
-
return this.error(
|
|
2227
|
+
return this.error(M.INVALID_TAG, w(n, this.clonePosition()));
|
|
2258
2228
|
}, e.prototype.parseTagName = function() {
|
|
2259
2229
|
var t = this.offset();
|
|
2260
|
-
for (this.bump(); !this.isEOF() &&
|
|
2230
|
+
for (this.bump(); !this.isEOF() && jn(this.char()); )
|
|
2261
2231
|
this.bump();
|
|
2262
2232
|
return this.message.slice(t, this.offset());
|
|
2263
2233
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2279,14 +2249,14 @@ var Wn = (
|
|
|
2279
2249
|
}
|
|
2280
2250
|
break;
|
|
2281
2251
|
}
|
|
2282
|
-
var h =
|
|
2252
|
+
var h = w(n, this.clonePosition());
|
|
2283
2253
|
return {
|
|
2284
|
-
val: { type:
|
|
2254
|
+
val: { type: P.literal, value: i, location: h },
|
|
2285
2255
|
err: null
|
|
2286
2256
|
};
|
|
2287
2257
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2288
2258
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2289
|
-
!
|
|
2259
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2290
2260
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2291
2261
|
if (this.isEOF() || this.char() !== 39)
|
|
2292
2262
|
return null;
|
|
@@ -2320,49 +2290,49 @@ var Wn = (
|
|
|
2320
2290
|
r.push(n);
|
|
2321
2291
|
this.bump();
|
|
2322
2292
|
}
|
|
2323
|
-
return
|
|
2293
|
+
return Fe.apply(void 0, r);
|
|
2324
2294
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2325
2295
|
if (this.isEOF())
|
|
2326
2296
|
return null;
|
|
2327
2297
|
var n = this.char();
|
|
2328
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2298
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
2329
2299
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2330
2300
|
var n = this.clonePosition();
|
|
2331
2301
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2332
|
-
return this.error(
|
|
2302
|
+
return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
2333
2303
|
if (this.char() === 125)
|
|
2334
|
-
return this.bump(), this.error(
|
|
2304
|
+
return this.bump(), this.error(M.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
2335
2305
|
var i = this.parseIdentifierIfPossible().value;
|
|
2336
2306
|
if (!i)
|
|
2337
|
-
return this.error(
|
|
2307
|
+
return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
2338
2308
|
if (this.bumpSpace(), this.isEOF())
|
|
2339
|
-
return this.error(
|
|
2309
|
+
return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
2340
2310
|
switch (this.char()) {
|
|
2341
2311
|
case 125:
|
|
2342
2312
|
return this.bump(), {
|
|
2343
2313
|
val: {
|
|
2344
|
-
type:
|
|
2314
|
+
type: P.argument,
|
|
2345
2315
|
// value does not include the opening and closing braces.
|
|
2346
2316
|
value: i,
|
|
2347
|
-
location:
|
|
2317
|
+
location: w(n, this.clonePosition())
|
|
2348
2318
|
},
|
|
2349
2319
|
err: null
|
|
2350
2320
|
};
|
|
2351
2321
|
case 44:
|
|
2352
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2322
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2353
2323
|
default:
|
|
2354
|
-
return this.error(
|
|
2324
|
+
return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
2355
2325
|
}
|
|
2356
2326
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2357
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2327
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
2358
2328
|
this.bumpTo(i);
|
|
2359
|
-
var o = this.clonePosition(), a =
|
|
2329
|
+
var o = this.clonePosition(), a = w(t, o);
|
|
2360
2330
|
return { value: n, location: a };
|
|
2361
2331
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2362
2332
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2363
2333
|
switch (s) {
|
|
2364
2334
|
case "":
|
|
2365
|
-
return this.error(
|
|
2335
|
+
return this.error(M.EXPECT_ARGUMENT_TYPE, w(a, h));
|
|
2366
2336
|
case "number":
|
|
2367
2337
|
case "date":
|
|
2368
2338
|
case "time": {
|
|
@@ -2373,47 +2343,47 @@ var Wn = (
|
|
|
2373
2343
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
2374
2344
|
if (d.err)
|
|
2375
2345
|
return d;
|
|
2376
|
-
var
|
|
2377
|
-
if (
|
|
2378
|
-
return this.error(
|
|
2379
|
-
var
|
|
2380
|
-
u = { style:
|
|
2346
|
+
var g = Bn(d.val);
|
|
2347
|
+
if (g.length === 0)
|
|
2348
|
+
return this.error(M.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
2349
|
+
var v = w(l, this.clonePosition());
|
|
2350
|
+
u = { style: g, styleLocation: v };
|
|
2381
2351
|
}
|
|
2382
2352
|
var f = this.tryParseArgumentClose(i);
|
|
2383
2353
|
if (f.err)
|
|
2384
2354
|
return f;
|
|
2385
|
-
var
|
|
2386
|
-
if (u &&
|
|
2387
|
-
var
|
|
2355
|
+
var m = w(i, this.clonePosition());
|
|
2356
|
+
if (u && ct(u?.style, "::", 0)) {
|
|
2357
|
+
var C = Pn(u.style.slice(2));
|
|
2388
2358
|
if (s === "number") {
|
|
2389
|
-
var d = this.parseNumberSkeletonFromString(
|
|
2359
|
+
var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
2390
2360
|
return d.err ? d : {
|
|
2391
|
-
val: { type:
|
|
2361
|
+
val: { type: P.number, value: n, location: m, style: d.val },
|
|
2392
2362
|
err: null
|
|
2393
2363
|
};
|
|
2394
2364
|
} else {
|
|
2395
|
-
if (
|
|
2396
|
-
return this.error(
|
|
2397
|
-
var _ =
|
|
2398
|
-
this.locale && (_ =
|
|
2399
|
-
var
|
|
2400
|
-
type:
|
|
2365
|
+
if (C.length === 0)
|
|
2366
|
+
return this.error(M.EXPECT_DATE_TIME_SKELETON, m);
|
|
2367
|
+
var _ = C;
|
|
2368
|
+
this.locale && (_ = yn(C, this.locale));
|
|
2369
|
+
var g = {
|
|
2370
|
+
type: ee.dateTime,
|
|
2401
2371
|
pattern: _,
|
|
2402
2372
|
location: u.styleLocation,
|
|
2403
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2404
|
-
},
|
|
2373
|
+
parsedOptions: this.shouldParseSkeletons ? gn(_) : {}
|
|
2374
|
+
}, b = s === "date" ? P.date : P.time;
|
|
2405
2375
|
return {
|
|
2406
|
-
val: { type:
|
|
2376
|
+
val: { type: b, value: n, location: m, style: g },
|
|
2407
2377
|
err: null
|
|
2408
2378
|
};
|
|
2409
2379
|
}
|
|
2410
2380
|
}
|
|
2411
2381
|
return {
|
|
2412
2382
|
val: {
|
|
2413
|
-
type: s === "number" ?
|
|
2383
|
+
type: s === "number" ? P.number : s === "date" ? P.date : P.time,
|
|
2414
2384
|
value: n,
|
|
2415
|
-
location:
|
|
2416
|
-
style: (o = u
|
|
2385
|
+
location: m,
|
|
2386
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
2417
2387
|
},
|
|
2418
2388
|
err: null
|
|
2419
2389
|
};
|
|
@@ -2421,52 +2391,52 @@ var Wn = (
|
|
|
2421
2391
|
case "plural":
|
|
2422
2392
|
case "selectordinal":
|
|
2423
2393
|
case "select": {
|
|
2424
|
-
var
|
|
2394
|
+
var x = this.clonePosition();
|
|
2425
2395
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2426
|
-
return this.error(
|
|
2396
|
+
return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, w(x, A({}, x)));
|
|
2427
2397
|
this.bumpSpace();
|
|
2428
|
-
var
|
|
2429
|
-
if (s !== "select" &&
|
|
2398
|
+
var H = this.parseIdentifierIfPossible(), k = 0;
|
|
2399
|
+
if (s !== "select" && H.value === "offset") {
|
|
2430
2400
|
if (!this.bumpIf(":"))
|
|
2431
|
-
return this.error(
|
|
2401
|
+
return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
2432
2402
|
this.bumpSpace();
|
|
2433
|
-
var d = this.tryParseDecimalInteger(
|
|
2403
|
+
var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2434
2404
|
if (d.err)
|
|
2435
2405
|
return d;
|
|
2436
|
-
this.bumpSpace(),
|
|
2406
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), k = d.val;
|
|
2437
2407
|
}
|
|
2438
|
-
var
|
|
2439
|
-
if (
|
|
2440
|
-
return
|
|
2408
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
|
|
2409
|
+
if (B.err)
|
|
2410
|
+
return B;
|
|
2441
2411
|
var f = this.tryParseArgumentClose(i);
|
|
2442
2412
|
if (f.err)
|
|
2443
2413
|
return f;
|
|
2444
|
-
var
|
|
2414
|
+
var O = w(i, this.clonePosition());
|
|
2445
2415
|
return s === "select" ? {
|
|
2446
2416
|
val: {
|
|
2447
|
-
type:
|
|
2417
|
+
type: P.select,
|
|
2448
2418
|
value: n,
|
|
2449
|
-
options:
|
|
2450
|
-
location:
|
|
2419
|
+
options: ut(B.val),
|
|
2420
|
+
location: O
|
|
2451
2421
|
},
|
|
2452
2422
|
err: null
|
|
2453
2423
|
} : {
|
|
2454
2424
|
val: {
|
|
2455
|
-
type:
|
|
2425
|
+
type: P.plural,
|
|
2456
2426
|
value: n,
|
|
2457
|
-
options:
|
|
2427
|
+
options: ut(B.val),
|
|
2458
2428
|
offset: k,
|
|
2459
2429
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2460
|
-
location:
|
|
2430
|
+
location: O
|
|
2461
2431
|
},
|
|
2462
2432
|
err: null
|
|
2463
2433
|
};
|
|
2464
2434
|
}
|
|
2465
2435
|
default:
|
|
2466
|
-
return this.error(
|
|
2436
|
+
return this.error(M.INVALID_ARGUMENT_TYPE, w(a, h));
|
|
2467
2437
|
}
|
|
2468
2438
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2469
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2439
|
+
return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2470
2440
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2471
2441
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2472
2442
|
var n = this.char();
|
|
@@ -2475,7 +2445,7 @@ var Wn = (
|
|
|
2475
2445
|
this.bump();
|
|
2476
2446
|
var i = this.clonePosition();
|
|
2477
2447
|
if (!this.bumpUntil("'"))
|
|
2478
|
-
return this.error(
|
|
2448
|
+
return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
2479
2449
|
this.bump();
|
|
2480
2450
|
break;
|
|
2481
2451
|
}
|
|
@@ -2505,16 +2475,16 @@ var Wn = (
|
|
|
2505
2475
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2506
2476
|
var n = [];
|
|
2507
2477
|
try {
|
|
2508
|
-
n =
|
|
2509
|
-
} catch
|
|
2510
|
-
return this.error(
|
|
2478
|
+
n = pn(t);
|
|
2479
|
+
} catch {
|
|
2480
|
+
return this.error(M.INVALID_NUMBER_SKELETON, r);
|
|
2511
2481
|
}
|
|
2512
2482
|
return {
|
|
2513
2483
|
val: {
|
|
2514
|
-
type:
|
|
2484
|
+
type: ee.number,
|
|
2515
2485
|
tokens: n,
|
|
2516
2486
|
location: r,
|
|
2517
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2487
|
+
parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
|
|
2518
2488
|
},
|
|
2519
2489
|
err: null
|
|
2520
2490
|
};
|
|
@@ -2523,34 +2493,34 @@ var Wn = (
|
|
|
2523
2493
|
if (u.length === 0) {
|
|
2524
2494
|
var d = this.clonePosition();
|
|
2525
2495
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2526
|
-
var
|
|
2527
|
-
if (
|
|
2528
|
-
return
|
|
2529
|
-
l =
|
|
2496
|
+
var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2497
|
+
if (g.err)
|
|
2498
|
+
return g;
|
|
2499
|
+
l = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
2530
2500
|
} else
|
|
2531
2501
|
break;
|
|
2532
2502
|
}
|
|
2533
2503
|
if (h.has(u))
|
|
2534
|
-
return this.error(r === "select" ?
|
|
2504
|
+
return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2535
2505
|
u === "other" && (a = !0), this.bumpSpace();
|
|
2536
|
-
var
|
|
2506
|
+
var v = this.clonePosition();
|
|
2537
2507
|
if (!this.bumpIf("{"))
|
|
2538
|
-
return this.error(r === "select" ?
|
|
2508
|
+
return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
2539
2509
|
var f = this.parseMessage(t + 1, r, n);
|
|
2540
2510
|
if (f.err)
|
|
2541
2511
|
return f;
|
|
2542
|
-
var
|
|
2543
|
-
if (
|
|
2544
|
-
return
|
|
2512
|
+
var m = this.tryParseArgumentClose(v);
|
|
2513
|
+
if (m.err)
|
|
2514
|
+
return m;
|
|
2545
2515
|
s.push([
|
|
2546
2516
|
u,
|
|
2547
2517
|
{
|
|
2548
2518
|
value: f.val,
|
|
2549
|
-
location:
|
|
2519
|
+
location: w(v, this.clonePosition())
|
|
2550
2520
|
}
|
|
2551
2521
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
2552
2522
|
}
|
|
2553
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
2523
|
+
return s.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(M.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2554
2524
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2555
2525
|
var n = 1, i = this.clonePosition();
|
|
2556
2526
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2561,8 +2531,8 @@ var Wn = (
|
|
|
2561
2531
|
else
|
|
2562
2532
|
break;
|
|
2563
2533
|
}
|
|
2564
|
-
var h =
|
|
2565
|
-
return o ? (a *= n,
|
|
2534
|
+
var h = w(i, this.clonePosition());
|
|
2535
|
+
return o ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2566
2536
|
}, e.prototype.offset = function() {
|
|
2567
2537
|
return this.position.offset;
|
|
2568
2538
|
}, e.prototype.isEOF = function() {
|
|
@@ -2577,7 +2547,7 @@ var Wn = (
|
|
|
2577
2547
|
var t = this.position.offset;
|
|
2578
2548
|
if (t >= this.message.length)
|
|
2579
2549
|
throw Error("out of bound");
|
|
2580
|
-
var r =
|
|
2550
|
+
var r = Qt(this.message, t);
|
|
2581
2551
|
if (r === void 0)
|
|
2582
2552
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2583
2553
|
return r;
|
|
@@ -2596,7 +2566,7 @@ var Wn = (
|
|
|
2596
2566
|
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);
|
|
2597
2567
|
}
|
|
2598
2568
|
}, e.prototype.bumpIf = function(t) {
|
|
2599
|
-
if (
|
|
2569
|
+
if (ct(this.message, t, this.offset())) {
|
|
2600
2570
|
for (var r = 0; r < t.length; r++)
|
|
2601
2571
|
this.bump();
|
|
2602
2572
|
return !0;
|
|
@@ -2618,57 +2588,57 @@ var Wn = (
|
|
|
2618
2588
|
break;
|
|
2619
2589
|
}
|
|
2620
2590
|
}, e.prototype.bumpSpace = function() {
|
|
2621
|
-
for (; !this.isEOF() &&
|
|
2591
|
+
for (; !this.isEOF() && Kt(this.char()); )
|
|
2622
2592
|
this.bump();
|
|
2623
2593
|
}, e.prototype.peek = function() {
|
|
2624
2594
|
if (this.isEOF())
|
|
2625
2595
|
return null;
|
|
2626
2596
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
2627
|
-
return n
|
|
2597
|
+
return n ?? null;
|
|
2628
2598
|
}, e;
|
|
2629
2599
|
}()
|
|
2630
2600
|
);
|
|
2631
|
-
function
|
|
2601
|
+
function Xe(e) {
|
|
2632
2602
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2633
2603
|
}
|
|
2634
|
-
function
|
|
2635
|
-
return
|
|
2604
|
+
function In(e) {
|
|
2605
|
+
return Xe(e) || e === 47;
|
|
2636
2606
|
}
|
|
2637
|
-
function
|
|
2607
|
+
function jn(e) {
|
|
2638
2608
|
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;
|
|
2639
2609
|
}
|
|
2640
|
-
function
|
|
2610
|
+
function Kt(e) {
|
|
2641
2611
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2642
2612
|
}
|
|
2643
|
-
function
|
|
2613
|
+
function Ln(e) {
|
|
2644
2614
|
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;
|
|
2645
2615
|
}
|
|
2646
|
-
function
|
|
2616
|
+
function qe(e) {
|
|
2647
2617
|
e.forEach(function(t) {
|
|
2648
|
-
if (delete t.location,
|
|
2618
|
+
if (delete t.location, Gt(t) || Ft(t))
|
|
2649
2619
|
for (var r in t.options)
|
|
2650
|
-
delete t.options[r].location,
|
|
2620
|
+
delete t.options[r].location, qe(t.options[r].value);
|
|
2651
2621
|
else
|
|
2652
|
-
|
|
2622
|
+
Rt(t) && Xt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Vt(t) && qe(t.children);
|
|
2653
2623
|
});
|
|
2654
2624
|
}
|
|
2655
|
-
function
|
|
2656
|
-
t === void 0 && (t = {}), t =
|
|
2657
|
-
var r = new
|
|
2625
|
+
function Rn(e, t) {
|
|
2626
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2627
|
+
var r = new On(e, t).parse();
|
|
2658
2628
|
if (r.err) {
|
|
2659
|
-
var n = SyntaxError(
|
|
2629
|
+
var n = SyntaxError(M[r.err.kind]);
|
|
2660
2630
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
2661
2631
|
}
|
|
2662
|
-
return t
|
|
2632
|
+
return t?.captureLocation || qe(r.val), r.val;
|
|
2663
2633
|
}
|
|
2664
|
-
var
|
|
2634
|
+
var te;
|
|
2665
2635
|
(function(e) {
|
|
2666
2636
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
2667
|
-
})(
|
|
2668
|
-
var
|
|
2637
|
+
})(te || (te = {}));
|
|
2638
|
+
var Ne = (
|
|
2669
2639
|
/** @class */
|
|
2670
2640
|
function(e) {
|
|
2671
|
-
|
|
2641
|
+
we(t, e);
|
|
2672
2642
|
function t(r, n, i) {
|
|
2673
2643
|
var o = e.call(this, r) || this;
|
|
2674
2644
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -2677,48 +2647,48 @@ var Be = (
|
|
|
2677
2647
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
2678
2648
|
}, t;
|
|
2679
2649
|
}(Error)
|
|
2680
|
-
),
|
|
2650
|
+
), dt = (
|
|
2681
2651
|
/** @class */
|
|
2682
2652
|
function(e) {
|
|
2683
|
-
|
|
2653
|
+
we(t, e);
|
|
2684
2654
|
function t(r, n, i, o) {
|
|
2685
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
2655
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
2686
2656
|
}
|
|
2687
2657
|
return t;
|
|
2688
|
-
}(
|
|
2689
|
-
),
|
|
2658
|
+
}(Ne)
|
|
2659
|
+
), Un = (
|
|
2690
2660
|
/** @class */
|
|
2691
2661
|
function(e) {
|
|
2692
|
-
|
|
2662
|
+
we(t, e);
|
|
2693
2663
|
function t(r, n, i) {
|
|
2694
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
2664
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
2695
2665
|
}
|
|
2696
2666
|
return t;
|
|
2697
|
-
}(
|
|
2698
|
-
),
|
|
2667
|
+
}(Ne)
|
|
2668
|
+
), Dn = (
|
|
2699
2669
|
/** @class */
|
|
2700
2670
|
function(e) {
|
|
2701
|
-
|
|
2671
|
+
we(t, e);
|
|
2702
2672
|
function t(r, n) {
|
|
2703
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
2673
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
2704
2674
|
}
|
|
2705
2675
|
return t;
|
|
2706
|
-
}(
|
|
2676
|
+
}(Ne)
|
|
2707
2677
|
), D;
|
|
2708
2678
|
(function(e) {
|
|
2709
2679
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
2710
2680
|
})(D || (D = {}));
|
|
2711
|
-
function
|
|
2681
|
+
function Gn(e) {
|
|
2712
2682
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
2713
2683
|
var n = t[t.length - 1];
|
|
2714
2684
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
2715
2685
|
}, []);
|
|
2716
2686
|
}
|
|
2717
|
-
function
|
|
2687
|
+
function Fn(e) {
|
|
2718
2688
|
return typeof e == "function";
|
|
2719
2689
|
}
|
|
2720
|
-
function
|
|
2721
|
-
if (e.length === 1 &&
|
|
2690
|
+
function Se(e, t, r, n, i, o, a) {
|
|
2691
|
+
if (e.length === 1 && ot(e[0]))
|
|
2722
2692
|
return [
|
|
2723
2693
|
{
|
|
2724
2694
|
type: D.literal,
|
|
@@ -2727,14 +2697,14 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
2727
2697
|
];
|
|
2728
2698
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
2729
2699
|
var l = u[h];
|
|
2730
|
-
if (
|
|
2700
|
+
if (ot(l)) {
|
|
2731
2701
|
s.push({
|
|
2732
2702
|
type: D.literal,
|
|
2733
2703
|
value: l.value
|
|
2734
2704
|
});
|
|
2735
2705
|
continue;
|
|
2736
2706
|
}
|
|
2737
|
-
if (
|
|
2707
|
+
if (hn(l)) {
|
|
2738
2708
|
typeof o == "number" && s.push({
|
|
2739
2709
|
type: D.literal,
|
|
2740
2710
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -2743,89 +2713,89 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
2743
2713
|
}
|
|
2744
2714
|
var d = l.value;
|
|
2745
2715
|
if (!(i && d in i))
|
|
2746
|
-
throw new
|
|
2747
|
-
var
|
|
2748
|
-
if (
|
|
2749
|
-
(!
|
|
2750
|
-
type: typeof
|
|
2751
|
-
value:
|
|
2716
|
+
throw new Dn(d, a);
|
|
2717
|
+
var g = i[d];
|
|
2718
|
+
if (un(l)) {
|
|
2719
|
+
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
|
|
2720
|
+
type: typeof g == "string" ? D.literal : D.object,
|
|
2721
|
+
value: g
|
|
2752
2722
|
});
|
|
2753
2723
|
continue;
|
|
2754
2724
|
}
|
|
2755
|
-
if (
|
|
2756
|
-
var
|
|
2725
|
+
if (Ut(l)) {
|
|
2726
|
+
var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
2757
2727
|
s.push({
|
|
2758
2728
|
type: D.literal,
|
|
2759
|
-
value: r.getDateTimeFormat(t,
|
|
2729
|
+
value: r.getDateTimeFormat(t, v).format(g)
|
|
2760
2730
|
});
|
|
2761
2731
|
continue;
|
|
2762
2732
|
}
|
|
2763
|
-
if (
|
|
2764
|
-
var
|
|
2733
|
+
if (Dt(l)) {
|
|
2734
|
+
var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
2765
2735
|
s.push({
|
|
2766
2736
|
type: D.literal,
|
|
2767
|
-
value: r.getDateTimeFormat(t,
|
|
2737
|
+
value: r.getDateTimeFormat(t, v).format(g)
|
|
2768
2738
|
});
|
|
2769
2739
|
continue;
|
|
2770
2740
|
}
|
|
2771
|
-
if (
|
|
2772
|
-
var
|
|
2773
|
-
|
|
2741
|
+
if (Rt(l)) {
|
|
2742
|
+
var v = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
|
|
2743
|
+
v && v.scale && (g = g * (v.scale || 1)), s.push({
|
|
2774
2744
|
type: D.literal,
|
|
2775
|
-
value: r.getNumberFormat(t,
|
|
2745
|
+
value: r.getNumberFormat(t, v).format(g)
|
|
2776
2746
|
});
|
|
2777
2747
|
continue;
|
|
2778
2748
|
}
|
|
2779
|
-
if (
|
|
2780
|
-
var f = l.children,
|
|
2781
|
-
if (!
|
|
2782
|
-
throw new
|
|
2783
|
-
var _ =
|
|
2749
|
+
if (Vt(l)) {
|
|
2750
|
+
var f = l.children, m = l.value, C = i[m];
|
|
2751
|
+
if (!Fn(C))
|
|
2752
|
+
throw new Un(m, "function", a);
|
|
2753
|
+
var _ = Se(f, t, r, n, i, o), b = C(_.map(function(k) {
|
|
2784
2754
|
return k.value;
|
|
2785
2755
|
}));
|
|
2786
|
-
Array.isArray(
|
|
2756
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(k) {
|
|
2787
2757
|
return {
|
|
2788
2758
|
type: typeof k == "string" ? D.literal : D.object,
|
|
2789
2759
|
value: k
|
|
2790
2760
|
};
|
|
2791
2761
|
}));
|
|
2792
2762
|
}
|
|
2793
|
-
if (
|
|
2794
|
-
var
|
|
2795
|
-
if (!
|
|
2796
|
-
throw new
|
|
2797
|
-
s.push.apply(s,
|
|
2763
|
+
if (Gt(l)) {
|
|
2764
|
+
var x = l.options[g] || l.options.other;
|
|
2765
|
+
if (!x)
|
|
2766
|
+
throw new dt(l.value, g, Object.keys(l.options), a);
|
|
2767
|
+
s.push.apply(s, Se(x.value, t, r, n, i));
|
|
2798
2768
|
continue;
|
|
2799
2769
|
}
|
|
2800
|
-
if (
|
|
2801
|
-
var
|
|
2802
|
-
if (!
|
|
2770
|
+
if (Ft(l)) {
|
|
2771
|
+
var x = l.options["=".concat(g)];
|
|
2772
|
+
if (!x) {
|
|
2803
2773
|
if (!Intl.PluralRules)
|
|
2804
|
-
throw new
|
|
2774
|
+
throw new Ne(`Intl.PluralRules is not available in this environment.
|
|
2805
2775
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2806
|
-
`,
|
|
2807
|
-
var
|
|
2808
|
-
|
|
2776
|
+
`, te.MISSING_INTL_API, a);
|
|
2777
|
+
var H = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
|
|
2778
|
+
x = l.options[H] || l.options.other;
|
|
2809
2779
|
}
|
|
2810
|
-
if (!
|
|
2811
|
-
throw new
|
|
2812
|
-
s.push.apply(s,
|
|
2780
|
+
if (!x)
|
|
2781
|
+
throw new dt(l.value, g, Object.keys(l.options), a);
|
|
2782
|
+
s.push.apply(s, Se(x.value, t, r, n, i, g - (l.offset || 0)));
|
|
2813
2783
|
continue;
|
|
2814
2784
|
}
|
|
2815
2785
|
}
|
|
2816
|
-
return
|
|
2786
|
+
return Gn(s);
|
|
2817
2787
|
}
|
|
2818
|
-
function
|
|
2819
|
-
return t ?
|
|
2820
|
-
return r[n] =
|
|
2788
|
+
function Vn(e, t) {
|
|
2789
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
2790
|
+
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
|
2821
2791
|
}, {})) : e;
|
|
2822
2792
|
}
|
|
2823
|
-
function
|
|
2793
|
+
function Xn(e, t) {
|
|
2824
2794
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
2825
|
-
return r[n] =
|
|
2826
|
-
},
|
|
2795
|
+
return r[n] = Vn(e[n], t[n]), r;
|
|
2796
|
+
}, A({}, e)) : e;
|
|
2827
2797
|
}
|
|
2828
|
-
function
|
|
2798
|
+
function Le(e) {
|
|
2829
2799
|
return {
|
|
2830
2800
|
create: function() {
|
|
2831
2801
|
return {
|
|
@@ -2839,39 +2809,39 @@ function De(e) {
|
|
|
2839
2809
|
}
|
|
2840
2810
|
};
|
|
2841
2811
|
}
|
|
2842
|
-
function
|
|
2812
|
+
function qn(e) {
|
|
2843
2813
|
return e === void 0 && (e = {
|
|
2844
2814
|
number: {},
|
|
2845
2815
|
dateTime: {},
|
|
2846
2816
|
pluralRules: {}
|
|
2847
2817
|
}), {
|
|
2848
|
-
getNumberFormat:
|
|
2818
|
+
getNumberFormat: Oe(function() {
|
|
2849
2819
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2850
2820
|
r[n] = arguments[n];
|
|
2851
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
2821
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
2852
2822
|
}, {
|
|
2853
|
-
cache:
|
|
2854
|
-
strategy:
|
|
2823
|
+
cache: Le(e.number),
|
|
2824
|
+
strategy: Ie.variadic
|
|
2855
2825
|
}),
|
|
2856
|
-
getDateTimeFormat:
|
|
2826
|
+
getDateTimeFormat: Oe(function() {
|
|
2857
2827
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2858
2828
|
r[n] = arguments[n];
|
|
2859
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
2829
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
2860
2830
|
}, {
|
|
2861
|
-
cache:
|
|
2862
|
-
strategy:
|
|
2831
|
+
cache: Le(e.dateTime),
|
|
2832
|
+
strategy: Ie.variadic
|
|
2863
2833
|
}),
|
|
2864
|
-
getPluralRules:
|
|
2834
|
+
getPluralRules: Oe(function() {
|
|
2865
2835
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2866
2836
|
r[n] = arguments[n];
|
|
2867
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
2837
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
2868
2838
|
}, {
|
|
2869
|
-
cache:
|
|
2870
|
-
strategy:
|
|
2839
|
+
cache: Le(e.pluralRules),
|
|
2840
|
+
strategy: Ie.variadic
|
|
2871
2841
|
})
|
|
2872
2842
|
};
|
|
2873
2843
|
}
|
|
2874
|
-
var
|
|
2844
|
+
var Wn = (
|
|
2875
2845
|
/** @class */
|
|
2876
2846
|
function() {
|
|
2877
2847
|
function e(t, r, n, i) {
|
|
@@ -2885,12 +2855,12 @@ var oi = (
|
|
|
2885
2855
|
var u = o.formatToParts(h);
|
|
2886
2856
|
if (u.length === 1)
|
|
2887
2857
|
return u[0].value;
|
|
2888
|
-
var l = u.reduce(function(d,
|
|
2889
|
-
return !d.length ||
|
|
2858
|
+
var l = u.reduce(function(d, g) {
|
|
2859
|
+
return !d.length || g.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(g.value) : d[d.length - 1] += g.value, d;
|
|
2890
2860
|
}, []);
|
|
2891
2861
|
return l.length <= 1 ? l[0] || "" : l;
|
|
2892
2862
|
}, this.formatToParts = function(h) {
|
|
2893
|
-
return
|
|
2863
|
+
return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
2894
2864
|
}, this.resolvedOptions = function() {
|
|
2895
2865
|
var h;
|
|
2896
2866
|
return {
|
|
@@ -2903,13 +2873,13 @@ var oi = (
|
|
|
2903
2873
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
2904
2874
|
var a = i || {};
|
|
2905
2875
|
a.formatters;
|
|
2906
|
-
var s =
|
|
2907
|
-
this.ast = e.__parse(t,
|
|
2876
|
+
var s = tn(a, ["formatters"]);
|
|
2877
|
+
this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
|
|
2908
2878
|
} else
|
|
2909
2879
|
this.ast = t;
|
|
2910
2880
|
if (!Array.isArray(this.ast))
|
|
2911
2881
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
2912
|
-
this.formats =
|
|
2882
|
+
this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
|
|
2913
2883
|
}
|
|
2914
2884
|
return Object.defineProperty(e, "defaultLocale", {
|
|
2915
2885
|
get: function() {
|
|
@@ -2918,11 +2888,11 @@ var oi = (
|
|
|
2918
2888
|
enumerable: !1,
|
|
2919
2889
|
configurable: !0
|
|
2920
2890
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
2921
|
-
if (typeof Intl.Locale
|
|
2891
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
2922
2892
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
2923
2893
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
2924
2894
|
}
|
|
2925
|
-
}, e.__parse =
|
|
2895
|
+
}, e.__parse = Rn, e.formats = {
|
|
2926
2896
|
number: {
|
|
2927
2897
|
integer: {
|
|
2928
2898
|
maximumFractionDigits: 0
|
|
@@ -2983,7 +2953,7 @@ var oi = (
|
|
|
2983
2953
|
}, e;
|
|
2984
2954
|
}()
|
|
2985
2955
|
);
|
|
2986
|
-
function
|
|
2956
|
+
function Zn(e, t) {
|
|
2987
2957
|
if (t == null)
|
|
2988
2958
|
return;
|
|
2989
2959
|
if (t in e)
|
|
@@ -3004,92 +2974,92 @@ function ai(e, t) {
|
|
|
3004
2974
|
n = void 0;
|
|
3005
2975
|
return n;
|
|
3006
2976
|
}
|
|
3007
|
-
const
|
|
2977
|
+
const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), $t = (e, t) => {
|
|
3008
2978
|
if (t == null)
|
|
3009
2979
|
return;
|
|
3010
|
-
if (t in
|
|
3011
|
-
return
|
|
3012
|
-
const r =
|
|
2980
|
+
if (t in Z && e in Z[t])
|
|
2981
|
+
return Z[t][e];
|
|
2982
|
+
const r = Ae(t);
|
|
3013
2983
|
for (let n = 0; n < r.length; n++) {
|
|
3014
|
-
const i = r[n], o =
|
|
2984
|
+
const i = r[n], o = Yn(i, e);
|
|
3015
2985
|
if (o)
|
|
3016
|
-
return
|
|
2986
|
+
return Jn(e, t, o);
|
|
3017
2987
|
}
|
|
3018
2988
|
};
|
|
3019
|
-
let
|
|
3020
|
-
const
|
|
3021
|
-
function
|
|
3022
|
-
return
|
|
2989
|
+
let Ye;
|
|
2990
|
+
const fe = Me({});
|
|
2991
|
+
function Qn(e) {
|
|
2992
|
+
return Ye[e] || null;
|
|
3023
2993
|
}
|
|
3024
|
-
function
|
|
3025
|
-
return e in
|
|
2994
|
+
function er(e) {
|
|
2995
|
+
return e in Ye;
|
|
3026
2996
|
}
|
|
3027
|
-
function
|
|
3028
|
-
if (!
|
|
2997
|
+
function Yn(e, t) {
|
|
2998
|
+
if (!er(e))
|
|
3029
2999
|
return null;
|
|
3030
|
-
const r =
|
|
3031
|
-
return
|
|
3000
|
+
const r = Qn(e);
|
|
3001
|
+
return Zn(r, t);
|
|
3032
3002
|
}
|
|
3033
|
-
function
|
|
3003
|
+
function Kn(e) {
|
|
3034
3004
|
if (e == null)
|
|
3035
3005
|
return;
|
|
3036
|
-
const t =
|
|
3006
|
+
const t = Ae(e);
|
|
3037
3007
|
for (let r = 0; r < t.length; r++) {
|
|
3038
3008
|
const n = t[r];
|
|
3039
|
-
if (
|
|
3009
|
+
if (er(n))
|
|
3040
3010
|
return n;
|
|
3041
3011
|
}
|
|
3042
3012
|
}
|
|
3043
|
-
function
|
|
3044
|
-
delete
|
|
3013
|
+
function tr(e, ...t) {
|
|
3014
|
+
delete Z[e], fe.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
|
|
3045
3015
|
}
|
|
3046
|
-
|
|
3047
|
-
[
|
|
3016
|
+
ne(
|
|
3017
|
+
[fe],
|
|
3048
3018
|
([e]) => Object.keys(e)
|
|
3049
3019
|
);
|
|
3050
|
-
|
|
3051
|
-
const
|
|
3052
|
-
function
|
|
3053
|
-
|
|
3020
|
+
fe.subscribe((e) => Ye = e);
|
|
3021
|
+
const xe = {};
|
|
3022
|
+
function $n(e, t) {
|
|
3023
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
3054
3024
|
}
|
|
3055
|
-
function
|
|
3056
|
-
return
|
|
3025
|
+
function rr(e) {
|
|
3026
|
+
return xe[e];
|
|
3057
3027
|
}
|
|
3058
|
-
function
|
|
3059
|
-
return
|
|
3060
|
-
const r =
|
|
3028
|
+
function ei(e) {
|
|
3029
|
+
return Ae(e).map((t) => {
|
|
3030
|
+
const r = rr(t);
|
|
3061
3031
|
return [t, r ? [...r] : []];
|
|
3062
3032
|
}).filter(([, t]) => t.length > 0);
|
|
3063
3033
|
}
|
|
3064
|
-
function
|
|
3065
|
-
return e == null ? !1 :
|
|
3034
|
+
function We(e) {
|
|
3035
|
+
return e == null ? !1 : Ae(e).some(
|
|
3066
3036
|
(t) => {
|
|
3067
3037
|
var r;
|
|
3068
|
-
return (r =
|
|
3038
|
+
return (r = rr(t)) == null ? void 0 : r.size;
|
|
3069
3039
|
}
|
|
3070
3040
|
);
|
|
3071
3041
|
}
|
|
3072
|
-
function
|
|
3042
|
+
function ti(e, t) {
|
|
3073
3043
|
return Promise.all(
|
|
3074
|
-
t.map((n) => (
|
|
3075
|
-
).then((n) =>
|
|
3044
|
+
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
3045
|
+
).then((n) => tr(e, ...n));
|
|
3076
3046
|
}
|
|
3077
|
-
const
|
|
3078
|
-
function
|
|
3079
|
-
if (!
|
|
3080
|
-
return e in
|
|
3081
|
-
const t =
|
|
3082
|
-
return
|
|
3047
|
+
const ue = {};
|
|
3048
|
+
function nr(e) {
|
|
3049
|
+
if (!We(e))
|
|
3050
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
3051
|
+
const t = ei(e);
|
|
3052
|
+
return ue[e] = Promise.all(
|
|
3083
3053
|
t.map(
|
|
3084
|
-
([r, n]) =>
|
|
3054
|
+
([r, n]) => ti(r, n)
|
|
3085
3055
|
)
|
|
3086
3056
|
).then(() => {
|
|
3087
|
-
if (
|
|
3088
|
-
return
|
|
3089
|
-
delete
|
|
3090
|
-
}),
|
|
3057
|
+
if (We(e))
|
|
3058
|
+
return nr(e);
|
|
3059
|
+
delete ue[e];
|
|
3060
|
+
}), ue[e];
|
|
3091
3061
|
}
|
|
3092
|
-
const
|
|
3062
|
+
const ri = {
|
|
3093
3063
|
number: {
|
|
3094
3064
|
scientific: { notation: "scientific" },
|
|
3095
3065
|
engineering: { notation: "engineering" },
|
|
@@ -3118,150 +3088,150 @@ const gi = {
|
|
|
3118
3088
|
timeZoneName: "short"
|
|
3119
3089
|
}
|
|
3120
3090
|
}
|
|
3121
|
-
},
|
|
3091
|
+
}, ni = {
|
|
3122
3092
|
fallbackLocale: null,
|
|
3123
3093
|
loadingDelay: 200,
|
|
3124
|
-
formats:
|
|
3094
|
+
formats: ri,
|
|
3125
3095
|
warnOnMissingMessages: !0,
|
|
3126
3096
|
handleMissingMessage: void 0,
|
|
3127
3097
|
ignoreTag: !0
|
|
3128
|
-
},
|
|
3129
|
-
function
|
|
3130
|
-
return
|
|
3098
|
+
}, ii = ni;
|
|
3099
|
+
function re() {
|
|
3100
|
+
return ii;
|
|
3131
3101
|
}
|
|
3132
|
-
const
|
|
3133
|
-
var
|
|
3102
|
+
const Re = Me(!1);
|
|
3103
|
+
var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
|
|
3134
3104
|
for (var r in t || (t = {}))
|
|
3135
|
-
|
|
3136
|
-
if (
|
|
3137
|
-
for (var r of
|
|
3138
|
-
|
|
3105
|
+
li.call(t, r) && mt(e, r, t[r]);
|
|
3106
|
+
if (gt)
|
|
3107
|
+
for (var r of gt(t))
|
|
3108
|
+
ci.call(t, r) && mt(e, r, t[r]);
|
|
3139
3109
|
return e;
|
|
3140
|
-
},
|
|
3141
|
-
let
|
|
3142
|
-
const
|
|
3143
|
-
function
|
|
3110
|
+
}, hi = (e, t) => ai(e, si(t));
|
|
3111
|
+
let Ze;
|
|
3112
|
+
const ze = Me(null);
|
|
3113
|
+
function pt(e) {
|
|
3144
3114
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3145
3115
|
}
|
|
3146
|
-
function
|
|
3147
|
-
const r =
|
|
3148
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3116
|
+
function Ae(e, t = re().fallbackLocale) {
|
|
3117
|
+
const r = pt(e);
|
|
3118
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
3149
3119
|
}
|
|
3150
|
-
function
|
|
3151
|
-
return
|
|
3120
|
+
function Q() {
|
|
3121
|
+
return Ze ?? void 0;
|
|
3152
3122
|
}
|
|
3153
|
-
|
|
3154
|
-
|
|
3123
|
+
ze.subscribe((e) => {
|
|
3124
|
+
Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3155
3125
|
});
|
|
3156
|
-
const
|
|
3157
|
-
if (e &&
|
|
3158
|
-
const { loadingDelay: t } =
|
|
3126
|
+
const di = (e) => {
|
|
3127
|
+
if (e && Kn(e) && We(e)) {
|
|
3128
|
+
const { loadingDelay: t } = re();
|
|
3159
3129
|
let r;
|
|
3160
|
-
return typeof window
|
|
3161
|
-
() =>
|
|
3130
|
+
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
3131
|
+
() => Re.set(!0),
|
|
3162
3132
|
t
|
|
3163
|
-
) :
|
|
3164
|
-
|
|
3133
|
+
) : Re.set(!0), nr(e).then(() => {
|
|
3134
|
+
ze.set(e);
|
|
3165
3135
|
}).finally(() => {
|
|
3166
|
-
clearTimeout(r),
|
|
3136
|
+
clearTimeout(r), Re.set(!1);
|
|
3167
3137
|
});
|
|
3168
3138
|
}
|
|
3169
|
-
return
|
|
3170
|
-
},
|
|
3171
|
-
set:
|
|
3172
|
-
}),
|
|
3139
|
+
return ze.set(e);
|
|
3140
|
+
}, ie = hi(ui({}, ze), {
|
|
3141
|
+
set: di
|
|
3142
|
+
}), He = (e) => {
|
|
3173
3143
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3174
3144
|
return (n) => {
|
|
3175
3145
|
const i = JSON.stringify(n);
|
|
3176
3146
|
return i in t ? t[i] : t[i] = e(n);
|
|
3177
3147
|
};
|
|
3178
3148
|
};
|
|
3179
|
-
var
|
|
3149
|
+
var gi = Object.defineProperty, Te = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
3180
3150
|
for (var r in t || (t = {}))
|
|
3181
|
-
|
|
3182
|
-
if (
|
|
3183
|
-
for (var r of
|
|
3184
|
-
|
|
3151
|
+
ir.call(t, r) && ft(e, r, t[r]);
|
|
3152
|
+
if (Te)
|
|
3153
|
+
for (var r of Te(t))
|
|
3154
|
+
or.call(t, r) && ft(e, r, t[r]);
|
|
3185
3155
|
return e;
|
|
3186
|
-
},
|
|
3156
|
+
}, oe = (e, t) => {
|
|
3187
3157
|
var r = {};
|
|
3188
3158
|
for (var n in e)
|
|
3189
|
-
|
|
3190
|
-
if (e != null &&
|
|
3191
|
-
for (var n of
|
|
3192
|
-
t.indexOf(n) < 0 &&
|
|
3159
|
+
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3160
|
+
if (e != null && Te)
|
|
3161
|
+
for (var n of Te(e))
|
|
3162
|
+
t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
|
|
3193
3163
|
return r;
|
|
3194
3164
|
};
|
|
3195
|
-
const
|
|
3196
|
-
const { formats: r } =
|
|
3165
|
+
const ge = (e, t) => {
|
|
3166
|
+
const { formats: r } = re();
|
|
3197
3167
|
if (e in r && t in r[e])
|
|
3198
3168
|
return r[e][t];
|
|
3199
3169
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3200
|
-
},
|
|
3170
|
+
}, mi = He(
|
|
3201
3171
|
(e) => {
|
|
3202
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3172
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
3203
3173
|
if (r == null)
|
|
3204
3174
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3205
|
-
return n && (i =
|
|
3175
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
3206
3176
|
}
|
|
3207
|
-
),
|
|
3177
|
+
), pi = He(
|
|
3208
3178
|
(e) => {
|
|
3209
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3179
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
3210
3180
|
if (r == null)
|
|
3211
3181
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3212
|
-
return n ? i =
|
|
3182
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3213
3183
|
}
|
|
3214
|
-
),
|
|
3184
|
+
), fi = He(
|
|
3215
3185
|
(e) => {
|
|
3216
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3186
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
3217
3187
|
if (r == null)
|
|
3218
3188
|
throw new Error(
|
|
3219
3189
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3220
3190
|
);
|
|
3221
|
-
return n ? i =
|
|
3191
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3222
3192
|
}
|
|
3223
|
-
),
|
|
3193
|
+
), _i = (e = {}) => {
|
|
3224
3194
|
var t = e, {
|
|
3225
|
-
locale: r =
|
|
3226
|
-
} = t, n =
|
|
3195
|
+
locale: r = Q()
|
|
3196
|
+
} = t, n = oe(t, [
|
|
3227
3197
|
"locale"
|
|
3228
3198
|
]);
|
|
3229
|
-
return
|
|
3230
|
-
},
|
|
3199
|
+
return mi(Ke({ locale: r }, n));
|
|
3200
|
+
}, bi = (e = {}) => {
|
|
3231
3201
|
var t = e, {
|
|
3232
|
-
locale: r =
|
|
3233
|
-
} = t, n =
|
|
3202
|
+
locale: r = Q()
|
|
3203
|
+
} = t, n = oe(t, [
|
|
3234
3204
|
"locale"
|
|
3235
3205
|
]);
|
|
3236
|
-
return
|
|
3237
|
-
},
|
|
3206
|
+
return pi(Ke({ locale: r }, n));
|
|
3207
|
+
}, vi = (e = {}) => {
|
|
3238
3208
|
var t = e, {
|
|
3239
|
-
locale: r =
|
|
3240
|
-
} = t, n =
|
|
3209
|
+
locale: r = Q()
|
|
3210
|
+
} = t, n = oe(t, [
|
|
3241
3211
|
"locale"
|
|
3242
3212
|
]);
|
|
3243
|
-
return
|
|
3244
|
-
},
|
|
3213
|
+
return fi(Ke({ locale: r }, n));
|
|
3214
|
+
}, yi = He(
|
|
3245
3215
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3246
|
-
(e, t =
|
|
3247
|
-
ignoreTag:
|
|
3216
|
+
(e, t = Q()) => new Wn(e, t, re().formats, {
|
|
3217
|
+
ignoreTag: re().ignoreTag
|
|
3248
3218
|
})
|
|
3249
|
-
),
|
|
3219
|
+
), ki = (e, t = {}) => {
|
|
3250
3220
|
var r, n, i, o;
|
|
3251
3221
|
let a = t;
|
|
3252
3222
|
typeof e == "object" && (a = e, e = a.id);
|
|
3253
3223
|
const {
|
|
3254
3224
|
values: s,
|
|
3255
|
-
locale: h =
|
|
3225
|
+
locale: h = Q(),
|
|
3256
3226
|
default: u
|
|
3257
3227
|
} = a;
|
|
3258
3228
|
if (h == null)
|
|
3259
3229
|
throw new Error(
|
|
3260
3230
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3261
3231
|
);
|
|
3262
|
-
let l =
|
|
3232
|
+
let l = $t(e, h);
|
|
3263
3233
|
if (!l)
|
|
3264
|
-
l = (o = (i = (n = (r =
|
|
3234
|
+
l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3265
3235
|
else if (typeof l != "string")
|
|
3266
3236
|
return console.warn(
|
|
3267
3237
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3270,26 +3240,26 @@ const fe = (e, t) => {
|
|
|
3270
3240
|
return l;
|
|
3271
3241
|
let d = l;
|
|
3272
3242
|
try {
|
|
3273
|
-
d =
|
|
3274
|
-
} catch (
|
|
3275
|
-
|
|
3243
|
+
d = yi(l, h).format(s);
|
|
3244
|
+
} catch (g) {
|
|
3245
|
+
g instanceof Error && console.warn(
|
|
3276
3246
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3277
|
-
|
|
3247
|
+
g.message
|
|
3278
3248
|
);
|
|
3279
3249
|
}
|
|
3280
3250
|
return d;
|
|
3281
|
-
},
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
function
|
|
3287
|
-
|
|
3251
|
+
}, Ei = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Si = (e, t) => _i(t).format(e), xi = (e, t = Q()) => $t(e, t), zi = ne([ie, fe], () => ki);
|
|
3252
|
+
ne([ie], () => Ei);
|
|
3253
|
+
ne([ie], () => Ci);
|
|
3254
|
+
ne([ie], () => Si);
|
|
3255
|
+
ne([ie, fe], () => xi);
|
|
3256
|
+
function _t(e, t) {
|
|
3257
|
+
tr(e, t);
|
|
3288
3258
|
}
|
|
3289
|
-
function
|
|
3290
|
-
|
|
3259
|
+
function Ti(e) {
|
|
3260
|
+
ie.set(e);
|
|
3291
3261
|
}
|
|
3292
|
-
const
|
|
3262
|
+
const bt = {
|
|
3293
3263
|
en: {
|
|
3294
3264
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
3295
3265
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -3849,7 +3819,7 @@ const Mt = {
|
|
|
3849
3819
|
wrongModalConfig: "Houve um erro na configuração! Nenhum consentimento expirado encontrado."
|
|
3850
3820
|
}
|
|
3851
3821
|
};
|
|
3852
|
-
if (typeof window
|
|
3822
|
+
if (typeof window < "u") {
|
|
3853
3823
|
let e = function(t) {
|
|
3854
3824
|
return function(...r) {
|
|
3855
3825
|
try {
|
|
@@ -3861,64 +3831,64 @@ if (typeof window != "undefined") {
|
|
|
3861
3831
|
}
|
|
3862
3832
|
};
|
|
3863
3833
|
};
|
|
3864
|
-
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-
|
|
3834
|
+
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-ZTNd0X9B.js").then((t) => t.G).then(({ default: t }) => {
|
|
3865
3835
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
3866
3836
|
});
|
|
3867
3837
|
}
|
|
3868
|
-
function
|
|
3838
|
+
function Mi(e) {
|
|
3869
3839
|
let t, r;
|
|
3870
3840
|
return {
|
|
3871
3841
|
c() {
|
|
3872
|
-
t =
|
|
3842
|
+
t = rt("svg"), r = rt("path"), E(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "viewBox", "0 0 512 512");
|
|
3873
3843
|
},
|
|
3874
3844
|
m(n, i) {
|
|
3875
|
-
|
|
3845
|
+
L(n, t, i), S(t, r);
|
|
3876
3846
|
},
|
|
3877
|
-
p:
|
|
3878
|
-
i:
|
|
3879
|
-
o:
|
|
3847
|
+
p: q,
|
|
3848
|
+
i: q,
|
|
3849
|
+
o: q,
|
|
3880
3850
|
d(n) {
|
|
3881
|
-
n &&
|
|
3851
|
+
n && j(t);
|
|
3882
3852
|
}
|
|
3883
3853
|
};
|
|
3884
3854
|
}
|
|
3885
|
-
class
|
|
3855
|
+
class wi extends Pt {
|
|
3886
3856
|
constructor(t) {
|
|
3887
|
-
super(),
|
|
3857
|
+
super(), Bt(this, t, null, Mi, Je, {});
|
|
3888
3858
|
}
|
|
3889
3859
|
}
|
|
3890
|
-
customElements.define("circle-exclamation-icon",
|
|
3891
|
-
function
|
|
3892
|
-
|
|
3860
|
+
customElements.define("circle-exclamation-icon", Ht(wi, {}, [], [], !0));
|
|
3861
|
+
function Ni(e) {
|
|
3862
|
+
Nr(e, "svelte-1kygizb", '.DisplayNone.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:none}.ContainerCenter.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:30px}.AccordionHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:10px}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:block;padding:10px 0}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{padding-bottom:0}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{margin-bottom:0}.ConsentItem.svelte-1kygizb .ConsentName.svelte-1kygizb.svelte-1kygizb{margin:0}.ConsentItem.svelte-1kygizb .ConsentDescription.svelte-1kygizb.svelte-1kygizb{font-size:0.8rem}.ToggleSwitch.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:53px;height:30px}.ToggleSwitch.Big.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb.svelte-1kygizb{opacity:0;width:0;height:0}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:disabled+.Slider.svelte-1kygizb{opacity:0.1}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:focus+.Slider.svelte-1kygizb{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb{border-radius:34px}.ToggleSwitch.svelte-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb:before{border-radius:50%}.SaveConsentsButton.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-1kygizb circle-exclamation-icon.svelte-1kygizb.svelte-1kygizb{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox.svelte-1kygizb.svelte-1kygizb{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-1kygizb.svelte-1kygizb{position:relative}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__input.svelte-1kygizb.svelte-1kygizb{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__label.svelte-1kygizb.svelte-1kygizb{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-1kygizb.svelte-1kygizb{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__error-message.svelte-1kygizb.svelte-1kygizb{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-1kygizb.svelte-1kygizb{width:16px;height:auto}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip.svelte-1kygizb.svelte-1kygizb{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-1kygizb.svelte-1kygizb{opacity:1}');
|
|
3893
3863
|
}
|
|
3894
|
-
function
|
|
3864
|
+
function vt(e, t, r) {
|
|
3895
3865
|
const n = e.slice();
|
|
3896
3866
|
return n[64] = t[r], n;
|
|
3897
3867
|
}
|
|
3898
|
-
function
|
|
3868
|
+
function yt(e, t, r) {
|
|
3899
3869
|
const n = e.slice();
|
|
3900
3870
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
3901
3871
|
}
|
|
3902
|
-
function
|
|
3872
|
+
function kt(e, t, r) {
|
|
3903
3873
|
const n = e.slice();
|
|
3904
3874
|
return n[64] = t[r], n;
|
|
3905
3875
|
}
|
|
3906
|
-
function
|
|
3907
|
-
let t, r, n =
|
|
3876
|
+
function Ai(e) {
|
|
3877
|
+
let t, r, n = K(
|
|
3908
3878
|
/*playerConsents*/
|
|
3909
3879
|
e[9]
|
|
3910
3880
|
), i = [];
|
|
3911
3881
|
for (let o = 0; o < n.length; o += 1)
|
|
3912
|
-
i[o] =
|
|
3882
|
+
i[o] = Et(vt(e, n, o));
|
|
3913
3883
|
return {
|
|
3914
3884
|
c() {
|
|
3915
|
-
t =
|
|
3885
|
+
t = N("div"), r = N("form");
|
|
3916
3886
|
for (let o = 0; o < i.length; o += 1)
|
|
3917
3887
|
i[o].c();
|
|
3918
|
-
E(r, "class", "checkbox svelte-
|
|
3888
|
+
E(r, "class", "checkbox svelte-1kygizb"), E(t, "class", "legacyStyle");
|
|
3919
3889
|
},
|
|
3920
3890
|
m(o, a) {
|
|
3921
|
-
|
|
3891
|
+
L(o, t, a), S(t, r);
|
|
3922
3892
|
for (let s = 0; s < i.length; s += 1)
|
|
3923
3893
|
i[s] && i[s].m(r, null);
|
|
3924
3894
|
e[31](r);
|
|
@@ -3926,14 +3896,14 @@ function Gi(e) {
|
|
|
3926
3896
|
p(o, a) {
|
|
3927
3897
|
if (a[0] & /*playerConsents, $_, handleInput*/
|
|
3928
3898
|
590336) {
|
|
3929
|
-
n =
|
|
3899
|
+
n = K(
|
|
3930
3900
|
/*playerConsents*/
|
|
3931
3901
|
o[9]
|
|
3932
3902
|
);
|
|
3933
3903
|
let s;
|
|
3934
3904
|
for (s = 0; s < n.length; s += 1) {
|
|
3935
|
-
const h =
|
|
3936
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
3905
|
+
const h = vt(o, n, s);
|
|
3906
|
+
i[s] ? i[s].p(h, a) : (i[s] = Et(h), i[s].c(), i[s].m(r, null));
|
|
3937
3907
|
}
|
|
3938
3908
|
for (; s < i.length; s += 1)
|
|
3939
3909
|
i[s].d(1);
|
|
@@ -3941,11 +3911,11 @@ function Gi(e) {
|
|
|
3941
3911
|
}
|
|
3942
3912
|
},
|
|
3943
3913
|
d(o) {
|
|
3944
|
-
o &&
|
|
3914
|
+
o && j(t), Qe(i, o), e[31](null);
|
|
3945
3915
|
}
|
|
3946
3916
|
};
|
|
3947
3917
|
}
|
|
3948
|
-
function
|
|
3918
|
+
function Hi(e) {
|
|
3949
3919
|
let t = (
|
|
3950
3920
|
/*$_*/
|
|
3951
3921
|
e[16]("title") || /*$_*/
|
|
@@ -3953,106 +3923,106 @@ function Fi(e) {
|
|
|
3953
3923
|
), r, n, i, o = (
|
|
3954
3924
|
/*$_*/
|
|
3955
3925
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
3956
|
-
), a, s, h, u, l, d = t &&
|
|
3926
|
+
), a, s, h, u, l, d = t && Ct(e), g = K(
|
|
3957
3927
|
/*consentsCategories*/
|
|
3958
3928
|
e[8]
|
|
3959
|
-
),
|
|
3960
|
-
for (let
|
|
3961
|
-
|
|
3929
|
+
), v = [];
|
|
3930
|
+
for (let m = 0; m < g.length; m += 1)
|
|
3931
|
+
v[m] = wt(yt(e, g, m));
|
|
3962
3932
|
let f = (
|
|
3963
3933
|
/*errorMessage*/
|
|
3964
|
-
e[6] &&
|
|
3934
|
+
e[6] && Nt(e)
|
|
3965
3935
|
);
|
|
3966
3936
|
return {
|
|
3967
3937
|
c() {
|
|
3968
|
-
d && d.c(), r =
|
|
3969
|
-
for (let
|
|
3970
|
-
|
|
3971
|
-
n =
|
|
3938
|
+
d && d.c(), r = G();
|
|
3939
|
+
for (let m = 0; m < v.length; m += 1)
|
|
3940
|
+
v[m].c();
|
|
3941
|
+
n = G(), i = N("button"), s = G(), f && f.c(), h = Pr(), E(i, "class", "SaveConsentsButton svelte-1kygizb"), i.disabled = a = !/*isValid*/
|
|
3972
3942
|
e[14];
|
|
3973
3943
|
},
|
|
3974
|
-
m(
|
|
3975
|
-
d && d.m(
|
|
3976
|
-
for (let _ = 0; _ <
|
|
3977
|
-
|
|
3978
|
-
|
|
3944
|
+
m(m, C) {
|
|
3945
|
+
d && d.m(m, C), L(m, r, C);
|
|
3946
|
+
for (let _ = 0; _ < v.length; _ += 1)
|
|
3947
|
+
v[_] && v[_].m(m, C);
|
|
3948
|
+
L(m, n, C), L(m, i, C), i.innerHTML = o, L(m, s, C), f && f.m(m, C), L(m, h, C), u || (l = he(
|
|
3979
3949
|
i,
|
|
3980
3950
|
"click",
|
|
3981
3951
|
/*saveChanges*/
|
|
3982
3952
|
e[17]
|
|
3983
3953
|
), u = !0);
|
|
3984
3954
|
},
|
|
3985
|
-
p(
|
|
3986
|
-
if (
|
|
3955
|
+
p(m, C) {
|
|
3956
|
+
if (C[0] & /*$_*/
|
|
3987
3957
|
65536 && (t = /*$_*/
|
|
3988
|
-
|
|
3989
|
-
|
|
3958
|
+
m[16]("title") || /*$_*/
|
|
3959
|
+
m[16]("description")), t ? d ? d.p(m, C) : (d = Ct(m), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
3990
3960
|
867088) {
|
|
3991
|
-
|
|
3961
|
+
g = K(
|
|
3992
3962
|
/*consentsCategories*/
|
|
3993
|
-
|
|
3963
|
+
m[8]
|
|
3994
3964
|
);
|
|
3995
3965
|
let _;
|
|
3996
|
-
for (_ = 0; _ <
|
|
3997
|
-
const
|
|
3998
|
-
|
|
3966
|
+
for (_ = 0; _ < g.length; _ += 1) {
|
|
3967
|
+
const b = yt(m, g, _);
|
|
3968
|
+
v[_] ? v[_].p(b, C) : (v[_] = wt(b), v[_].c(), v[_].m(n.parentNode, n));
|
|
3999
3969
|
}
|
|
4000
|
-
for (; _ <
|
|
4001
|
-
|
|
4002
|
-
|
|
3970
|
+
for (; _ < v.length; _ += 1)
|
|
3971
|
+
v[_].d(1);
|
|
3972
|
+
v.length = g.length;
|
|
4003
3973
|
}
|
|
4004
|
-
|
|
3974
|
+
C[0] & /*$_*/
|
|
4005
3975
|
65536 && o !== (o = /*$_*/
|
|
4006
|
-
(
|
|
3976
|
+
(m[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
|
|
4007
3977
|
16384 && a !== (a = !/*isValid*/
|
|
4008
|
-
|
|
4009
|
-
|
|
3978
|
+
m[14]) && (i.disabled = a), /*errorMessage*/
|
|
3979
|
+
m[6] ? f ? f.p(m, C) : (f = Nt(m), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
4010
3980
|
},
|
|
4011
|
-
d(
|
|
4012
|
-
|
|
3981
|
+
d(m) {
|
|
3982
|
+
m && (j(r), j(n), j(i), j(s), j(h)), d && d.d(m), Qe(v, m), f && f.d(m), u = !1, l();
|
|
4013
3983
|
}
|
|
4014
3984
|
};
|
|
4015
3985
|
}
|
|
4016
|
-
function
|
|
3986
|
+
function Pi(e) {
|
|
4017
3987
|
let t, r, n;
|
|
4018
3988
|
return {
|
|
4019
3989
|
c() {
|
|
4020
|
-
t =
|
|
3990
|
+
t = N("div"), r = N("strong"), n = pe(
|
|
4021
3991
|
/*fatalError*/
|
|
4022
3992
|
e[7]
|
|
4023
|
-
), E(r, "class", "ErrorMessage svelte-
|
|
3993
|
+
), E(r, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ContainerCenter svelte-1kygizb");
|
|
4024
3994
|
},
|
|
4025
3995
|
m(i, o) {
|
|
4026
|
-
|
|
3996
|
+
L(i, t, o), S(t, r), S(r, n);
|
|
4027
3997
|
},
|
|
4028
3998
|
p(i, o) {
|
|
4029
3999
|
o[0] & /*fatalError*/
|
|
4030
|
-
128 &&
|
|
4000
|
+
128 && me(
|
|
4031
4001
|
n,
|
|
4032
4002
|
/*fatalError*/
|
|
4033
4003
|
i[7]
|
|
4034
4004
|
);
|
|
4035
4005
|
},
|
|
4036
4006
|
d(i) {
|
|
4037
|
-
i &&
|
|
4007
|
+
i && j(t);
|
|
4038
4008
|
}
|
|
4039
4009
|
};
|
|
4040
4010
|
}
|
|
4041
|
-
function
|
|
4011
|
+
function Bi(e) {
|
|
4042
4012
|
let t;
|
|
4043
4013
|
return {
|
|
4044
4014
|
c() {
|
|
4045
|
-
t =
|
|
4015
|
+
t = N("general-animation-loading"), J(
|
|
4046
4016
|
t,
|
|
4047
4017
|
"clientstyling",
|
|
4048
4018
|
/*clientstyling*/
|
|
4049
4019
|
e[1]
|
|
4050
|
-
),
|
|
4020
|
+
), J(
|
|
4051
4021
|
t,
|
|
4052
4022
|
"clientstylingurl",
|
|
4053
4023
|
/*clientstylingurl*/
|
|
4054
4024
|
e[2]
|
|
4055
|
-
),
|
|
4025
|
+
), J(
|
|
4056
4026
|
t,
|
|
4057
4027
|
"mbsource",
|
|
4058
4028
|
/*mbsource*/
|
|
@@ -4060,23 +4030,23 @@ function Xi(e) {
|
|
|
4060
4030
|
);
|
|
4061
4031
|
},
|
|
4062
4032
|
m(r, n) {
|
|
4063
|
-
|
|
4033
|
+
L(r, t, n);
|
|
4064
4034
|
},
|
|
4065
4035
|
p(r, n) {
|
|
4066
4036
|
n[0] & /*clientstyling*/
|
|
4067
|
-
2 &&
|
|
4037
|
+
2 && J(
|
|
4068
4038
|
t,
|
|
4069
4039
|
"clientstyling",
|
|
4070
4040
|
/*clientstyling*/
|
|
4071
4041
|
r[1]
|
|
4072
4042
|
), n[0] & /*clientstylingurl*/
|
|
4073
|
-
4 &&
|
|
4043
|
+
4 && J(
|
|
4074
4044
|
t,
|
|
4075
4045
|
"clientstylingurl",
|
|
4076
4046
|
/*clientstylingurl*/
|
|
4077
4047
|
r[2]
|
|
4078
4048
|
), n[0] & /*mbsource*/
|
|
4079
|
-
8 &&
|
|
4049
|
+
8 && J(
|
|
4080
4050
|
t,
|
|
4081
4051
|
"mbsource",
|
|
4082
4052
|
/*mbsource*/
|
|
@@ -4084,11 +4054,11 @@ function Xi(e) {
|
|
|
4084
4054
|
);
|
|
4085
4055
|
},
|
|
4086
4056
|
d(r) {
|
|
4087
|
-
r &&
|
|
4057
|
+
r && j(t);
|
|
4088
4058
|
}
|
|
4089
4059
|
};
|
|
4090
4060
|
}
|
|
4091
|
-
function
|
|
4061
|
+
function Et(e) {
|
|
4092
4062
|
let t, r, n, i, o, a, s, h, u = (
|
|
4093
4063
|
/*$_*/
|
|
4094
4064
|
(e[16](`${/*consent*/
|
|
@@ -4097,8 +4067,8 @@ function At(e) {
|
|
|
4097
4067
|
), l = (
|
|
4098
4068
|
/*consent*/
|
|
4099
4069
|
e[64].mustAccept ? " *" : ""
|
|
4100
|
-
), d,
|
|
4101
|
-
function
|
|
4070
|
+
), d, g, v, f, m, C, _, b, x;
|
|
4071
|
+
function H(...k) {
|
|
4102
4072
|
return (
|
|
4103
4073
|
/*input_handler_1*/
|
|
4104
4074
|
e[30](
|
|
@@ -4110,108 +4080,108 @@ function At(e) {
|
|
|
4110
4080
|
}
|
|
4111
4081
|
return {
|
|
4112
4082
|
c() {
|
|
4113
|
-
t =
|
|
4083
|
+
t = N("div"), r = N("input"), o = G(), a = N("label"), s = N("div"), h = new Ot(!1), d = pe(l), v = G(), f = N("small"), C = G(), E(r, "class", "checkbox__input svelte-1kygizb"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4114
4084
|
e[64].status === "1", E(r, "id", i = `${/*consent*/
|
|
4115
|
-
e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-
|
|
4116
|
-
e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-
|
|
4085
|
+
e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-1kygizb"), E(a, "class", "checkbox__label svelte-1kygizb"), E(a, "for", g = `${/*consent*/
|
|
4086
|
+
e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-1kygizb"), E(f, "id", m = "checkBoxError__" + /*consent*/
|
|
4117
4087
|
e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4118
|
-
e[64].tagCode + "__input svelte-
|
|
4088
|
+
e[64].tagCode + "__input svelte-1kygizb");
|
|
4119
4089
|
},
|
|
4120
|
-
m(k,
|
|
4121
|
-
|
|
4090
|
+
m(k, B) {
|
|
4091
|
+
L(k, t, B), S(t, r), S(t, o), S(t, a), S(a, s), h.m(u, s), S(s, d), S(t, v), S(t, f), S(t, C), b || (x = he(r, "input", H), b = !0);
|
|
4122
4092
|
},
|
|
4123
|
-
p(k,
|
|
4124
|
-
e = k,
|
|
4093
|
+
p(k, B) {
|
|
4094
|
+
e = k, B[0] & /*playerConsents*/
|
|
4125
4095
|
512 && n !== (n = /*consent*/
|
|
4126
|
-
e[64].status === "1") && (r.checked = n),
|
|
4096
|
+
e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
|
|
4127
4097
|
512 && i !== (i = `${/*consent*/
|
|
4128
|
-
e[64].tagCode}__input`) && E(r, "id", i),
|
|
4098
|
+
e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
|
|
4129
4099
|
66048 && u !== (u = /*$_*/
|
|
4130
4100
|
(e[16](`${/*consent*/
|
|
4131
4101
|
e[64].tagCode}__description`) || /*consent*/
|
|
4132
|
-
e[64].tagCode) + "") && h.p(u),
|
|
4102
|
+
e[64].tagCode) + "") && h.p(u), B[0] & /*playerConsents*/
|
|
4133
4103
|
512 && l !== (l = /*consent*/
|
|
4134
|
-
e[64].mustAccept ? " *" : "") &&
|
|
4135
|
-
512 &&
|
|
4136
|
-
e[64].tagCode}__input`) && E(a, "for",
|
|
4137
|
-
512 &&
|
|
4138
|
-
e[64].tagCode) && E(f, "id",
|
|
4104
|
+
e[64].mustAccept ? " *" : "") && me(d, l), B[0] & /*playerConsents*/
|
|
4105
|
+
512 && g !== (g = `${/*consent*/
|
|
4106
|
+
e[64].tagCode}__input`) && E(a, "for", g), B[0] & /*playerConsents*/
|
|
4107
|
+
512 && m !== (m = "checkBoxError__" + /*consent*/
|
|
4108
|
+
e[64].tagCode) && E(f, "id", m), B[0] & /*playerConsents*/
|
|
4139
4109
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4140
|
-
e[64].tagCode + "__input svelte-
|
|
4110
|
+
e[64].tagCode + "__input svelte-1kygizb") && E(t, "class", _);
|
|
4141
4111
|
},
|
|
4142
4112
|
d(k) {
|
|
4143
|
-
k &&
|
|
4113
|
+
k && j(t), b = !1, x();
|
|
4144
4114
|
}
|
|
4145
4115
|
};
|
|
4146
4116
|
}
|
|
4147
|
-
function
|
|
4117
|
+
function Ct(e) {
|
|
4148
4118
|
let t, r = (
|
|
4149
4119
|
/*$_*/
|
|
4150
4120
|
e[16]("title")
|
|
4151
4121
|
), n, i = (
|
|
4152
4122
|
/*$_*/
|
|
4153
4123
|
e[16]("description")
|
|
4154
|
-
), o = r &&
|
|
4124
|
+
), o = r && St(e), a = i && xt(e);
|
|
4155
4125
|
return {
|
|
4156
4126
|
c() {
|
|
4157
|
-
t =
|
|
4127
|
+
t = N("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-1kygizb");
|
|
4158
4128
|
},
|
|
4159
4129
|
m(s, h) {
|
|
4160
|
-
|
|
4130
|
+
L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
|
|
4161
4131
|
},
|
|
4162
4132
|
p(s, h) {
|
|
4163
4133
|
h[0] & /*$_*/
|
|
4164
4134
|
65536 && (r = /*$_*/
|
|
4165
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
4135
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = St(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
4166
4136
|
65536 && (i = /*$_*/
|
|
4167
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
4137
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4168
4138
|
},
|
|
4169
4139
|
d(s) {
|
|
4170
|
-
s &&
|
|
4140
|
+
s && j(t), o && o.d(), a && a.d();
|
|
4171
4141
|
}
|
|
4172
4142
|
};
|
|
4173
4143
|
}
|
|
4174
|
-
function
|
|
4144
|
+
function St(e) {
|
|
4175
4145
|
let t, r = (
|
|
4176
4146
|
/*$_*/
|
|
4177
4147
|
e[16]("title") + ""
|
|
4178
4148
|
), n;
|
|
4179
4149
|
return {
|
|
4180
4150
|
c() {
|
|
4181
|
-
t =
|
|
4151
|
+
t = N("h2"), n = pe(r), E(t, "class", "PlayerConsentsTitle");
|
|
4182
4152
|
},
|
|
4183
4153
|
m(i, o) {
|
|
4184
|
-
|
|
4154
|
+
L(i, t, o), S(t, n);
|
|
4185
4155
|
},
|
|
4186
4156
|
p(i, o) {
|
|
4187
4157
|
o[0] & /*$_*/
|
|
4188
4158
|
65536 && r !== (r = /*$_*/
|
|
4189
|
-
i[16]("title") + "") &&
|
|
4159
|
+
i[16]("title") + "") && me(n, r);
|
|
4190
4160
|
},
|
|
4191
4161
|
d(i) {
|
|
4192
|
-
i &&
|
|
4162
|
+
i && j(t);
|
|
4193
4163
|
}
|
|
4194
4164
|
};
|
|
4195
4165
|
}
|
|
4196
|
-
function
|
|
4166
|
+
function xt(e) {
|
|
4197
4167
|
let t, r = (
|
|
4198
4168
|
/*$_*/
|
|
4199
4169
|
e[16]("description") + ""
|
|
4200
4170
|
), n;
|
|
4201
4171
|
return {
|
|
4202
4172
|
c() {
|
|
4203
|
-
t =
|
|
4173
|
+
t = N("p"), n = pe(r), E(t, "class", "PlayerConsentsDescription");
|
|
4204
4174
|
},
|
|
4205
4175
|
m(i, o) {
|
|
4206
|
-
|
|
4176
|
+
L(i, t, o), S(t, n);
|
|
4207
4177
|
},
|
|
4208
4178
|
p(i, o) {
|
|
4209
4179
|
o[0] & /*$_*/
|
|
4210
4180
|
65536 && r !== (r = /*$_*/
|
|
4211
|
-
i[16]("description") + "") &&
|
|
4181
|
+
i[16]("description") + "") && me(n, r);
|
|
4212
4182
|
},
|
|
4213
4183
|
d(i) {
|
|
4214
|
-
i &&
|
|
4184
|
+
i && j(t);
|
|
4215
4185
|
}
|
|
4216
4186
|
};
|
|
4217
4187
|
}
|
|
@@ -4219,17 +4189,17 @@ function zt(e) {
|
|
|
4219
4189
|
let t;
|
|
4220
4190
|
return {
|
|
4221
4191
|
c() {
|
|
4222
|
-
t =
|
|
4192
|
+
t = N("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-1kygizb");
|
|
4223
4193
|
},
|
|
4224
4194
|
m(r, n) {
|
|
4225
|
-
|
|
4195
|
+
L(r, t, n);
|
|
4226
4196
|
},
|
|
4227
4197
|
d(r) {
|
|
4228
|
-
r &&
|
|
4198
|
+
r && j(t);
|
|
4229
4199
|
}
|
|
4230
4200
|
};
|
|
4231
4201
|
}
|
|
4232
|
-
function
|
|
4202
|
+
function Tt(e) {
|
|
4233
4203
|
let t, r = (
|
|
4234
4204
|
/*$_*/
|
|
4235
4205
|
(e[16](`${/*consent*/
|
|
@@ -4238,10 +4208,10 @@ function Ot(e) {
|
|
|
4238
4208
|
);
|
|
4239
4209
|
return {
|
|
4240
4210
|
c() {
|
|
4241
|
-
t =
|
|
4211
|
+
t = N("p"), E(t, "class", "ConsentDescription svelte-1kygizb");
|
|
4242
4212
|
},
|
|
4243
4213
|
m(n, i) {
|
|
4244
|
-
|
|
4214
|
+
L(n, t, i), t.innerHTML = r;
|
|
4245
4215
|
},
|
|
4246
4216
|
p(n, i) {
|
|
4247
4217
|
i[0] & /*$_, playerConsents, consentsCategories*/
|
|
@@ -4251,81 +4221,81 @@ function Ot(e) {
|
|
|
4251
4221
|
n[64].description) + "") && (t.innerHTML = r);
|
|
4252
4222
|
},
|
|
4253
4223
|
d(n) {
|
|
4254
|
-
n &&
|
|
4224
|
+
n && j(t);
|
|
4255
4225
|
}
|
|
4256
4226
|
};
|
|
4257
4227
|
}
|
|
4258
|
-
function
|
|
4228
|
+
function Mt(e) {
|
|
4259
4229
|
let t, r, n, i, o = (
|
|
4260
4230
|
/*$_*/
|
|
4261
4231
|
(e[16](`${/*consent*/
|
|
4262
4232
|
e[64].tagCode}__name`) || /*consent*/
|
|
4263
4233
|
e[64].friendlyName) + ""
|
|
4264
|
-
), a, s, h, u, l, d,
|
|
4234
|
+
), a, s, h, u, l, d, g, v, f, m, C, _ = (
|
|
4265
4235
|
/*consent*/
|
|
4266
4236
|
e[64].mustAccept === !0 && zt()
|
|
4267
|
-
),
|
|
4237
|
+
), b = (
|
|
4268
4238
|
/*displayconsentdescription*/
|
|
4269
|
-
e[4] === "true" &&
|
|
4239
|
+
e[4] === "true" && Tt(e)
|
|
4270
4240
|
);
|
|
4271
|
-
function
|
|
4241
|
+
function x(...H) {
|
|
4272
4242
|
return (
|
|
4273
4243
|
/*input_handler*/
|
|
4274
4244
|
e[29](
|
|
4275
4245
|
/*consent*/
|
|
4276
4246
|
e[64],
|
|
4277
|
-
...
|
|
4247
|
+
...H
|
|
4278
4248
|
)
|
|
4279
4249
|
);
|
|
4280
4250
|
}
|
|
4281
4251
|
return {
|
|
4282
4252
|
c() {
|
|
4283
|
-
t =
|
|
4253
|
+
t = N("div"), r = N("div"), n = N("h4"), i = new Ot(!1), a = G(), _ && _.c(), s = G(), b && b.c(), h = G(), u = N("label"), l = N("input"), v = G(), f = N("span"), i.a = a, E(n, "class", "ConsentName svelte-1kygizb"), E(r, "class", "ConsentContent"), E(l, "type", "checkbox"), l.disabled = d = /*consent*/
|
|
4284
4254
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4285
4255
|
e[12][
|
|
4286
4256
|
/*consent*/
|
|
4287
4257
|
e[64].tagCode
|
|
4288
|
-
] === !0, l.checked =
|
|
4258
|
+
] === !0, l.checked = g = /*consentsState*/
|
|
4289
4259
|
e[13][
|
|
4290
4260
|
/*consent*/
|
|
4291
4261
|
e[64].tagCode
|
|
4292
|
-
], E(l, "class", "svelte-
|
|
4262
|
+
], E(l, "class", "svelte-1kygizb"), E(f, "class", "Slider Round svelte-1kygizb"), E(u, "class", "ToggleSwitch svelte-1kygizb"), E(t, "class", "ConsentItem svelte-1kygizb");
|
|
4293
4263
|
},
|
|
4294
|
-
m(
|
|
4295
|
-
|
|
4264
|
+
m(H, k) {
|
|
4265
|
+
L(H, t, k), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), b && b.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), m || (C = he(l, "input", x), m = !0);
|
|
4296
4266
|
},
|
|
4297
|
-
p(
|
|
4298
|
-
e =
|
|
4267
|
+
p(H, k) {
|
|
4268
|
+
e = H, k[0] & /*$_, playerConsents, consentsCategories*/
|
|
4299
4269
|
66304 && o !== (o = /*$_*/
|
|
4300
4270
|
(e[16](`${/*consent*/
|
|
4301
4271
|
e[64].tagCode}__name`) || /*consent*/
|
|
4302
4272
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
4303
4273
|
e[64].mustAccept === !0 ? _ || (_ = zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
4304
|
-
e[4] === "true" ?
|
|
4274
|
+
e[4] === "true" ? b ? b.p(e, k) : (b = Tt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
4305
4275
|
4864 && d !== (d = /*consent*/
|
|
4306
4276
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4307
4277
|
e[12][
|
|
4308
4278
|
/*consent*/
|
|
4309
4279
|
e[64].tagCode
|
|
4310
4280
|
] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
4311
|
-
8960 &&
|
|
4281
|
+
8960 && g !== (g = /*consentsState*/
|
|
4312
4282
|
e[13][
|
|
4313
4283
|
/*consent*/
|
|
4314
4284
|
e[64].tagCode
|
|
4315
|
-
]) && (l.checked =
|
|
4285
|
+
]) && (l.checked = g);
|
|
4316
4286
|
},
|
|
4317
|
-
d(
|
|
4318
|
-
|
|
4287
|
+
d(H) {
|
|
4288
|
+
H && j(t), _ && _.d(), b && b.d(), m = !1, C();
|
|
4319
4289
|
}
|
|
4320
4290
|
};
|
|
4321
4291
|
}
|
|
4322
|
-
function
|
|
4292
|
+
function wt(e) {
|
|
4323
4293
|
let t, r, n, i = (
|
|
4324
4294
|
/*$_*/
|
|
4325
4295
|
(e[16](`${/*category*/
|
|
4326
4296
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4327
4297
|
e[61].friendlyName) + ""
|
|
4328
|
-
), o, a, s, h, u, l, d,
|
|
4298
|
+
), o, a, s, h, u, l, d, g, v;
|
|
4329
4299
|
function f() {
|
|
4330
4300
|
e[26].call(
|
|
4331
4301
|
s,
|
|
@@ -4333,7 +4303,7 @@ function jt(e) {
|
|
|
4333
4303
|
e[61]
|
|
4334
4304
|
);
|
|
4335
4305
|
}
|
|
4336
|
-
function
|
|
4306
|
+
function m() {
|
|
4337
4307
|
return (
|
|
4338
4308
|
/*change_handler*/
|
|
4339
4309
|
e[27](
|
|
@@ -4342,321 +4312,322 @@ function jt(e) {
|
|
|
4342
4312
|
)
|
|
4343
4313
|
);
|
|
4344
4314
|
}
|
|
4345
|
-
function
|
|
4315
|
+
function C(...x) {
|
|
4346
4316
|
return (
|
|
4347
4317
|
/*func*/
|
|
4348
4318
|
e[28](
|
|
4349
4319
|
/*category*/
|
|
4350
4320
|
e[61],
|
|
4351
|
-
...
|
|
4321
|
+
...x
|
|
4352
4322
|
)
|
|
4353
4323
|
);
|
|
4354
4324
|
}
|
|
4355
|
-
let _ =
|
|
4325
|
+
let _ = K(
|
|
4356
4326
|
/*playerConsents*/
|
|
4357
|
-
e[9].filter(
|
|
4358
|
-
),
|
|
4359
|
-
for (let
|
|
4360
|
-
|
|
4327
|
+
e[9].filter(C)
|
|
4328
|
+
), b = [];
|
|
4329
|
+
for (let x = 0; x < _.length; x += 1)
|
|
4330
|
+
b[x] = Mt(kt(e, _, x));
|
|
4361
4331
|
return {
|
|
4362
4332
|
c() {
|
|
4363
|
-
t =
|
|
4364
|
-
for (let
|
|
4365
|
-
|
|
4366
|
-
E(s, "type", "checkbox"), E(s, "class", "svelte-
|
|
4333
|
+
t = N("div"), r = N("div"), n = N("h3"), o = G(), a = N("label"), s = N("input"), h = G(), u = N("span"), l = G(), d = N("div");
|
|
4334
|
+
for (let x = 0; x < b.length; x += 1)
|
|
4335
|
+
b[x].c();
|
|
4336
|
+
E(s, "type", "checkbox"), E(s, "class", "svelte-1kygizb"), E(u, "class", "Slider Round svelte-1kygizb"), E(a, "class", "ToggleSwitch Big svelte-1kygizb"), E(r, "class", "AccordionHeader svelte-1kygizb"), E(d, "class", "AccordionContent svelte-1kygizb"), E(t, "class", "AccordionItem svelte-1kygizb");
|
|
4367
4337
|
},
|
|
4368
|
-
m(
|
|
4369
|
-
|
|
4338
|
+
m(x, H) {
|
|
4339
|
+
L(x, t, H), S(t, r), S(r, n), n.innerHTML = i, S(r, o), S(r, a), S(a, s), s.checked = /*categoryToggle*/
|
|
4370
4340
|
e[11][
|
|
4371
4341
|
/*category*/
|
|
4372
4342
|
e[61].categoryTagCode
|
|
4373
|
-
],
|
|
4374
|
-
for (let k = 0; k <
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
],
|
|
4343
|
+
], S(a, h), S(a, u), S(t, l), S(t, d);
|
|
4344
|
+
for (let k = 0; k < b.length; k += 1)
|
|
4345
|
+
b[k] && b[k].m(d, null);
|
|
4346
|
+
g || (v = [
|
|
4347
|
+
he(s, "change", f),
|
|
4348
|
+
he(s, "change", m)
|
|
4349
|
+
], g = !0);
|
|
4380
4350
|
},
|
|
4381
|
-
p(
|
|
4382
|
-
if (e =
|
|
4351
|
+
p(x, H) {
|
|
4352
|
+
if (e = x, H[0] & /*$_, consentsCategories*/
|
|
4383
4353
|
65792 && i !== (i = /*$_*/
|
|
4384
4354
|
(e[16](`${/*category*/
|
|
4385
4355
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4386
|
-
e[61].friendlyName) + "") && (n.innerHTML = i),
|
|
4356
|
+
e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
|
|
4387
4357
|
2304 && (s.checked = /*categoryToggle*/
|
|
4388
4358
|
e[11][
|
|
4389
4359
|
/*category*/
|
|
4390
4360
|
e[61].categoryTagCode
|
|
4391
|
-
]),
|
|
4361
|
+
]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
4392
4362
|
602896) {
|
|
4393
|
-
_ =
|
|
4363
|
+
_ = K(
|
|
4394
4364
|
/*playerConsents*/
|
|
4395
|
-
e[9].filter(
|
|
4365
|
+
e[9].filter(C)
|
|
4396
4366
|
);
|
|
4397
4367
|
let k;
|
|
4398
4368
|
for (k = 0; k < _.length; k += 1) {
|
|
4399
|
-
const
|
|
4400
|
-
|
|
4369
|
+
const B = kt(e, _, k);
|
|
4370
|
+
b[k] ? b[k].p(B, H) : (b[k] = Mt(B), b[k].c(), b[k].m(d, null));
|
|
4401
4371
|
}
|
|
4402
|
-
for (; k <
|
|
4403
|
-
|
|
4404
|
-
|
|
4372
|
+
for (; k < b.length; k += 1)
|
|
4373
|
+
b[k].d(1);
|
|
4374
|
+
b.length = _.length;
|
|
4405
4375
|
}
|
|
4406
4376
|
},
|
|
4407
|
-
d(
|
|
4408
|
-
|
|
4377
|
+
d(x) {
|
|
4378
|
+
x && j(t), Qe(b, x), g = !1, At(v);
|
|
4409
4379
|
}
|
|
4410
4380
|
};
|
|
4411
4381
|
}
|
|
4412
|
-
function
|
|
4382
|
+
function Nt(e) {
|
|
4413
4383
|
let t, r, n, i, o;
|
|
4414
4384
|
return {
|
|
4415
4385
|
c() {
|
|
4416
|
-
t =
|
|
4386
|
+
t = N("div"), r = N("circle-exclamation-icon"), n = G(), i = N("strong"), o = pe(
|
|
4417
4387
|
/*errorMessage*/
|
|
4418
4388
|
e[6]
|
|
4419
|
-
),
|
|
4389
|
+
), J(r, "class", "svelte-1kygizb"), E(i, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ConsentErrorContainer svelte-1kygizb");
|
|
4420
4390
|
},
|
|
4421
4391
|
m(a, s) {
|
|
4422
|
-
|
|
4392
|
+
L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
|
|
4423
4393
|
},
|
|
4424
4394
|
p(a, s) {
|
|
4425
4395
|
s[0] & /*errorMessage*/
|
|
4426
|
-
64 &&
|
|
4396
|
+
64 && me(
|
|
4427
4397
|
o,
|
|
4428
4398
|
/*errorMessage*/
|
|
4429
4399
|
a[6]
|
|
4430
4400
|
);
|
|
4431
4401
|
},
|
|
4432
4402
|
d(a) {
|
|
4433
|
-
a &&
|
|
4403
|
+
a && j(t);
|
|
4434
4404
|
}
|
|
4435
4405
|
};
|
|
4436
4406
|
}
|
|
4437
|
-
function
|
|
4407
|
+
function Oi(e) {
|
|
4438
4408
|
let t, r;
|
|
4439
4409
|
function n(a, s) {
|
|
4440
4410
|
if (
|
|
4441
4411
|
/*isLoading*/
|
|
4442
4412
|
a[10]
|
|
4443
4413
|
)
|
|
4444
|
-
return
|
|
4414
|
+
return Bi;
|
|
4445
4415
|
if (
|
|
4446
4416
|
/*fatalError*/
|
|
4447
4417
|
a[7]
|
|
4448
4418
|
)
|
|
4449
|
-
return
|
|
4419
|
+
return Pi;
|
|
4450
4420
|
if (
|
|
4451
4421
|
/*session*/
|
|
4452
4422
|
a[0]
|
|
4453
4423
|
)
|
|
4454
|
-
return
|
|
4424
|
+
return Hi;
|
|
4455
4425
|
if (!/*session*/
|
|
4456
4426
|
a[0])
|
|
4457
|
-
return
|
|
4427
|
+
return Ai;
|
|
4458
4428
|
}
|
|
4459
4429
|
let i = n(e), o = i && i(e);
|
|
4460
4430
|
return {
|
|
4461
4431
|
c() {
|
|
4462
|
-
t =
|
|
4432
|
+
t = N("div"), r = N("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-1kygizb"), E(t, "class", Br("") + " svelte-1kygizb");
|
|
4463
4433
|
},
|
|
4464
4434
|
m(a, s) {
|
|
4465
|
-
|
|
4435
|
+
L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
|
|
4466
4436
|
},
|
|
4467
4437
|
p(a, s) {
|
|
4468
4438
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
4469
4439
|
},
|
|
4470
|
-
i:
|
|
4471
|
-
o:
|
|
4440
|
+
i: q,
|
|
4441
|
+
o: q,
|
|
4472
4442
|
d(a) {
|
|
4473
|
-
a &&
|
|
4443
|
+
a && j(t), o && o.d(), e[32](null);
|
|
4474
4444
|
}
|
|
4475
4445
|
};
|
|
4476
4446
|
}
|
|
4477
|
-
function
|
|
4447
|
+
function Ii(e, t, r) {
|
|
4478
4448
|
let n;
|
|
4479
|
-
|
|
4480
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl:
|
|
4449
|
+
Ar(e, zi, (c) => r(16, n = c));
|
|
4450
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: g = "" } = t, { modalconsents: v = "false" } = t, f, m = !1, C = !1, _ = "", b = "", x = "", H = "", k = [], B = [], O = [], ae = !0, _e = !0, F = {}, be = {}, W = {}, U = {}, se, ve, R = {
|
|
4481
4451
|
none: { key: "0", value: "None" },
|
|
4482
4452
|
accepted: { key: "1", value: "Accepted" },
|
|
4483
4453
|
expired: { key: "2", value: "Expired" },
|
|
4484
4454
|
denied: { key: "3", value: "Denied" },
|
|
4485
4455
|
suspended: { key: "4", value: "Suspended" }
|
|
4486
|
-
},
|
|
4487
|
-
Object.keys(
|
|
4488
|
-
|
|
4456
|
+
}, ye = !1;
|
|
4457
|
+
Object.keys(bt).forEach((c) => {
|
|
4458
|
+
_t(c, bt[c]);
|
|
4489
4459
|
});
|
|
4490
|
-
const
|
|
4491
|
-
|
|
4492
|
-
},
|
|
4493
|
-
let c = new URL(
|
|
4460
|
+
const ar = () => {
|
|
4461
|
+
Ti(l);
|
|
4462
|
+
}, sr = () => {
|
|
4463
|
+
let c = new URL(g);
|
|
4494
4464
|
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
4495
4465
|
Object.keys(p).forEach((T) => {
|
|
4496
|
-
|
|
4466
|
+
_t(T, p[T]);
|
|
4497
4467
|
});
|
|
4498
4468
|
}).catch((p) => {
|
|
4499
4469
|
console.log(p);
|
|
4500
4470
|
});
|
|
4501
|
-
},
|
|
4502
|
-
i && (
|
|
4503
|
-
},
|
|
4504
|
-
p ? r(7,
|
|
4505
|
-
},
|
|
4471
|
+
}, lr = () => {
|
|
4472
|
+
i && (_ = i, C = !0), o && (b = o);
|
|
4473
|
+
}, ke = (c, p = !1) => {
|
|
4474
|
+
p ? r(7, H = c) : (mr(), r(6, x = c));
|
|
4475
|
+
}, le = async (c, p, T, y = !1) => {
|
|
4506
4476
|
try {
|
|
4507
|
-
const
|
|
4508
|
-
if (!
|
|
4477
|
+
const z = await fetch(c, T);
|
|
4478
|
+
if (!z.ok)
|
|
4509
4479
|
throw new Error(n(p));
|
|
4510
|
-
const I =
|
|
4511
|
-
return
|
|
4512
|
-
} catch (
|
|
4513
|
-
throw
|
|
4514
|
-
|
|
4480
|
+
const I = await z.json();
|
|
4481
|
+
return C ? I : I.filter((V) => V.showOnRegister === !0);
|
|
4482
|
+
} catch (z) {
|
|
4483
|
+
throw ke(
|
|
4484
|
+
z instanceof TypeError ? n(p) : z.message,
|
|
4515
4485
|
y
|
|
4516
|
-
),
|
|
4486
|
+
), z;
|
|
4517
4487
|
}
|
|
4518
|
-
}
|
|
4488
|
+
}, cr = async () => {
|
|
4519
4489
|
try {
|
|
4520
4490
|
let c = [], p = [];
|
|
4521
|
-
if (
|
|
4522
|
-
let y = O.find((
|
|
4523
|
-
y || (y =
|
|
4491
|
+
if (C ? [c, p] = await $e() : c = await $e(), r(10, ae = !1), B = [...c], r(8, k = hr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, F = dr(k)), be = { ...F }, r(9, O = [...p]), B.forEach((T) => {
|
|
4492
|
+
let y = O.find((z) => z.tagCode === T.tagCode);
|
|
4493
|
+
y || (y = {
|
|
4494
|
+
...T,
|
|
4524
4495
|
status: R.denied.value
|
|
4525
|
-
}
|
|
4526
|
-
}),
|
|
4496
|
+
}, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
|
|
4497
|
+
}), v === "true") {
|
|
4527
4498
|
if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
|
|
4528
4499
|
return;
|
|
4529
|
-
|
|
4500
|
+
ke(n("wrongModalConfig"), !0);
|
|
4530
4501
|
}
|
|
4531
|
-
|
|
4502
|
+
gr();
|
|
4532
4503
|
} catch (c) {
|
|
4533
|
-
throw r(10,
|
|
4504
|
+
throw r(10, ae = !1), ke(
|
|
4534
4505
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
4535
4506
|
!0
|
|
4536
4507
|
), c;
|
|
4537
4508
|
}
|
|
4538
|
-
}
|
|
4509
|
+
}, $e = async () => {
|
|
4539
4510
|
const c = new URL(`${a}/api/v1/gm/consents`);
|
|
4540
|
-
if (c.searchParams.append("Status", "Active"), !
|
|
4541
|
-
return
|
|
4542
|
-
const p = new URL(`${a}/api/v1/gm/user-consents/${
|
|
4543
|
-
return
|
|
4544
|
-
|
|
4545
|
-
|
|
4511
|
+
if (c.searchParams.append("Status", "Active"), !C)
|
|
4512
|
+
return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
4513
|
+
const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
4514
|
+
return await Promise.all([
|
|
4515
|
+
le(c.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
4516
|
+
le(p.href, "fetchPlayerConsentsError", {
|
|
4546
4517
|
method: "GET",
|
|
4547
4518
|
headers: {
|
|
4548
|
-
"X-SessionId":
|
|
4519
|
+
"X-SessionId": _,
|
|
4549
4520
|
"Content-Type": "application/json"
|
|
4550
4521
|
}
|
|
4551
4522
|
})
|
|
4552
4523
|
]);
|
|
4553
|
-
}
|
|
4554
|
-
|
|
4524
|
+
}, ur = () => {
|
|
4525
|
+
ye = !1;
|
|
4555
4526
|
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
4556
4527
|
"Content-Type": "application/json",
|
|
4557
4528
|
Accept: "application/json"
|
|
4558
4529
|
}, T = { method: "GET", headers: p };
|
|
4559
|
-
fetch(c.href, T).then((y) => y.ok ? y.json() : (
|
|
4560
|
-
if (!
|
|
4561
|
-
if (
|
|
4530
|
+
fetch(c.href, T).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((z) => (console.error(z), Ee(z))))).then((y) => {
|
|
4531
|
+
if (!ye) {
|
|
4532
|
+
if (B = y, localStorage.getItem("playerConsents")) {
|
|
4562
4533
|
try {
|
|
4563
4534
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
4564
|
-
} catch (
|
|
4565
|
-
return console.error(
|
|
4535
|
+
} catch (z) {
|
|
4536
|
+
return console.error(z), Ee(z);
|
|
4566
4537
|
}
|
|
4567
4538
|
return;
|
|
4568
4539
|
}
|
|
4569
|
-
return r(9, O =
|
|
4570
|
-
id:
|
|
4540
|
+
return r(9, O = B.map((z) => ({
|
|
4541
|
+
id: z.id,
|
|
4571
4542
|
status: R.denied.key,
|
|
4572
|
-
friendlyName:
|
|
4573
|
-
tagCode:
|
|
4543
|
+
friendlyName: z.friendlyName,
|
|
4544
|
+
tagCode: z.tagCode,
|
|
4574
4545
|
selected: null,
|
|
4575
|
-
mustAccept:
|
|
4546
|
+
mustAccept: z.mustAccept
|
|
4576
4547
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
4577
4548
|
}
|
|
4578
|
-
}).catch((y) => (console.error(y),
|
|
4579
|
-
r(10,
|
|
4549
|
+
}).catch((y) => (console.error(y), Ee(y))).finally(() => {
|
|
4550
|
+
r(10, ae = !1);
|
|
4580
4551
|
});
|
|
4581
|
-
},
|
|
4552
|
+
}, hr = (c) => {
|
|
4582
4553
|
const p = /* @__PURE__ */ new Map();
|
|
4583
4554
|
return c.forEach((T) => {
|
|
4584
4555
|
p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
|
|
4585
4556
|
}), Array.from(p.values());
|
|
4586
|
-
},
|
|
4587
|
-
const p = localStorage.getItem("categoryToggle" +
|
|
4557
|
+
}, dr = (c) => {
|
|
4558
|
+
const p = localStorage.getItem("categoryToggle" + b);
|
|
4588
4559
|
if (p === null) {
|
|
4589
4560
|
const T = c.reduce(
|
|
4590
|
-
(y,
|
|
4561
|
+
(y, z) => (y[z.categoryTagCode] = !1, y),
|
|
4591
4562
|
{}
|
|
4592
4563
|
);
|
|
4593
|
-
return localStorage.setItem("categoryToggle" +
|
|
4564
|
+
return localStorage.setItem("categoryToggle" + b, JSON.stringify(T)), T;
|
|
4594
4565
|
} else
|
|
4595
4566
|
return JSON.parse(p);
|
|
4596
|
-
},
|
|
4567
|
+
}, gr = () => {
|
|
4597
4568
|
O.forEach((c) => {
|
|
4598
|
-
r(12,
|
|
4599
|
-
}), r(13, U = W
|
|
4600
|
-
},
|
|
4601
|
-
r(13, U = W
|
|
4602
|
-
},
|
|
4603
|
-
if (!
|
|
4569
|
+
r(12, W[c.tagCode] = c.status === R.accepted.value, W);
|
|
4570
|
+
}), r(13, U = { ...W });
|
|
4571
|
+
}, mr = () => {
|
|
4572
|
+
r(13, U = { ...W }), r(11, F = { ...be });
|
|
4573
|
+
}, pr = async () => {
|
|
4574
|
+
if (!_e)
|
|
4604
4575
|
return;
|
|
4605
|
-
|
|
4576
|
+
_e = !1;
|
|
4606
4577
|
const c = [], p = [];
|
|
4607
4578
|
if (Object.keys(U).forEach((y) => {
|
|
4608
|
-
const
|
|
4609
|
-
U[y] !==
|
|
4579
|
+
const z = O.find((I) => I.tagCode === y);
|
|
4580
|
+
U[y] !== W[y] && (z ? c.push({
|
|
4610
4581
|
tagCode: y,
|
|
4611
4582
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
4612
4583
|
}) : p.push({
|
|
4613
4584
|
tagCode: y,
|
|
4614
4585
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
4615
4586
|
}));
|
|
4616
|
-
}), !
|
|
4617
|
-
localStorage.setItem("categoryToggle" +
|
|
4587
|
+
}), !C) {
|
|
4588
|
+
localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), be = { ...F }, window.postMessage(
|
|
4618
4589
|
{
|
|
4619
4590
|
type: "NewPlayerConsentData",
|
|
4620
4591
|
data: JSON.stringify(p)
|
|
4621
4592
|
},
|
|
4622
4593
|
window.location.href
|
|
4623
|
-
),
|
|
4594
|
+
), _e = !0;
|
|
4624
4595
|
return;
|
|
4625
4596
|
}
|
|
4626
|
-
const T = new URL(`${a}/api/v1/gm/user-consents/${
|
|
4597
|
+
const T = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
4627
4598
|
try {
|
|
4628
|
-
const y =
|
|
4629
|
-
p.length > 0 &&
|
|
4599
|
+
const y = await Promise.allSettled([
|
|
4600
|
+
p.length > 0 && le(T.href, "updateConsentsError", {
|
|
4630
4601
|
method: "POST",
|
|
4631
4602
|
headers: {
|
|
4632
|
-
"X-SessionId":
|
|
4603
|
+
"X-SessionId": _,
|
|
4633
4604
|
"Content-Type": "application/json"
|
|
4634
4605
|
},
|
|
4635
4606
|
body: JSON.stringify({ userConsents: p })
|
|
4636
4607
|
}),
|
|
4637
|
-
c.length > 0 &&
|
|
4608
|
+
c.length > 0 && le(T.href, "updateConsentsError", {
|
|
4638
4609
|
method: "PATCH",
|
|
4639
4610
|
headers: {
|
|
4640
|
-
"X-SessionId":
|
|
4611
|
+
"X-SessionId": _,
|
|
4641
4612
|
"Content-Type": "application/json"
|
|
4642
4613
|
},
|
|
4643
4614
|
body: JSON.stringify({ userConsents: c })
|
|
4644
4615
|
})
|
|
4645
4616
|
]);
|
|
4646
|
-
y.forEach((
|
|
4647
|
-
if (
|
|
4648
|
-
const
|
|
4649
|
-
r(13, U[
|
|
4617
|
+
y.forEach((z, I) => {
|
|
4618
|
+
if (z.status === "rejected" || z.value.ok === !1) {
|
|
4619
|
+
const V = I < p.length ? p[I] : c[I - p.length];
|
|
4620
|
+
r(13, U[V.tagCode] = W[V.tagCode], U);
|
|
4650
4621
|
}
|
|
4651
|
-
}), y.every((
|
|
4622
|
+
}), y.every((z) => z.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), be = { ...F }, window.postMessage(
|
|
4652
4623
|
{
|
|
4653
4624
|
type: "PlayerConsentUpdated",
|
|
4654
4625
|
success: !0
|
|
4655
4626
|
},
|
|
4656
4627
|
window.location.href
|
|
4657
|
-
), r(12,
|
|
4628
|
+
), r(12, W = { ...U }));
|
|
4658
4629
|
} catch (y) {
|
|
4659
|
-
|
|
4630
|
+
ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
|
|
4660
4631
|
{
|
|
4661
4632
|
type: "PlayerConsentUpdated",
|
|
4662
4633
|
success: !1
|
|
@@ -4664,58 +4635,58 @@ function Zi(e, t, r) {
|
|
|
4664
4635
|
window.location.href
|
|
4665
4636
|
);
|
|
4666
4637
|
} finally {
|
|
4667
|
-
|
|
4638
|
+
_e = !0, r(14, se = !1);
|
|
4668
4639
|
}
|
|
4669
|
-
}
|
|
4640
|
+
}, fr = (c) => {
|
|
4670
4641
|
const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
|
|
4671
4642
|
"Content-Type": "application/json",
|
|
4672
4643
|
Accept: "application/json"
|
|
4673
4644
|
}, y = {
|
|
4674
4645
|
playerConsents: O,
|
|
4675
4646
|
registrationId: c
|
|
4676
|
-
},
|
|
4647
|
+
}, z = {
|
|
4677
4648
|
method: "POST",
|
|
4678
4649
|
body: JSON.stringify(y),
|
|
4679
4650
|
headers: T
|
|
4680
4651
|
};
|
|
4681
|
-
fetch(p.href,
|
|
4682
|
-
I.ok || (
|
|
4683
|
-
}).catch((I) => (console.error(I),
|
|
4684
|
-
r(10,
|
|
4652
|
+
fetch(p.href, z).then((I) => {
|
|
4653
|
+
I.ok || (ye = !0);
|
|
4654
|
+
}).catch((I) => (console.error(I), Ee(I))).finally(() => {
|
|
4655
|
+
r(10, ae = !1);
|
|
4685
4656
|
});
|
|
4686
|
-
},
|
|
4657
|
+
}, et = (c) => {
|
|
4687
4658
|
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
4688
|
-
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] =
|
|
4689
|
-
}), r(14,
|
|
4690
|
-
},
|
|
4691
|
-
const y = O.find((
|
|
4659
|
+
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[c] || !1, U);
|
|
4660
|
+
}), r(14, se = tt());
|
|
4661
|
+
}, Pe = (c, p, T) => {
|
|
4662
|
+
const y = O.find((V) => V.id === T), z = p ? "value" : "key";
|
|
4692
4663
|
let I;
|
|
4693
4664
|
if (!p && y.mustAccept) {
|
|
4694
|
-
const
|
|
4695
|
-
for (const
|
|
4696
|
-
if (I = Array.from(
|
|
4665
|
+
const V = Array.from(ve.children);
|
|
4666
|
+
for (const ce of V)
|
|
4667
|
+
if (I = Array.from(ce.children).find((Tr) => Tr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
|
|
4697
4668
|
break;
|
|
4698
4669
|
}
|
|
4699
|
-
if (y.status === R.accepted[
|
|
4670
|
+
if (y.status === R.accepted[z] ? (y.status = R.denied[z], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[z], I && (I.innerHTML = "")), p) {
|
|
4700
4671
|
r(13, U[y.tagCode] = !U[y.tagCode], U);
|
|
4701
|
-
const
|
|
4702
|
-
r(11,
|
|
4672
|
+
const V = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
|
|
4673
|
+
r(11, F[p.categoryTagCode] = V, F);
|
|
4703
4674
|
}
|
|
4704
|
-
|
|
4705
|
-
},
|
|
4675
|
+
_r();
|
|
4676
|
+
}, _r = ((c, p) => {
|
|
4706
4677
|
let T;
|
|
4707
4678
|
return function(...y) {
|
|
4708
|
-
const
|
|
4679
|
+
const z = this;
|
|
4709
4680
|
clearTimeout(T), T = setTimeout(
|
|
4710
4681
|
() => {
|
|
4711
|
-
c.apply(
|
|
4682
|
+
c.apply(z, y);
|
|
4712
4683
|
},
|
|
4713
4684
|
p
|
|
4714
4685
|
);
|
|
4715
4686
|
};
|
|
4716
|
-
})(() =>
|
|
4717
|
-
r(14,
|
|
4718
|
-
},
|
|
4687
|
+
})(() => br(), 500), br = () => {
|
|
4688
|
+
r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
4689
|
+
}, tt = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ee = (c) => {
|
|
4719
4690
|
window.postMessage(
|
|
4720
4691
|
{
|
|
4721
4692
|
type: "WidgetNotification",
|
|
@@ -4723,46 +4694,46 @@ function Zi(e, t, r) {
|
|
|
4723
4694
|
},
|
|
4724
4695
|
window.location.href
|
|
4725
4696
|
);
|
|
4726
|
-
},
|
|
4727
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
4697
|
+
}, vr = (c) => {
|
|
4698
|
+
c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
|
|
4728
4699
|
};
|
|
4729
|
-
|
|
4700
|
+
Hr(() => {
|
|
4730
4701
|
setTimeout(
|
|
4731
4702
|
() => {
|
|
4732
|
-
r(25,
|
|
4703
|
+
r(25, m = !0);
|
|
4733
4704
|
},
|
|
4734
4705
|
50
|
|
4735
4706
|
);
|
|
4736
|
-
const c = (p) =>
|
|
4707
|
+
const c = (p) => vr(p);
|
|
4737
4708
|
return window.addEventListener("message", c), () => {
|
|
4738
|
-
window.
|
|
4709
|
+
window.removeEventListener("message", c);
|
|
4739
4710
|
};
|
|
4740
4711
|
});
|
|
4741
|
-
function
|
|
4742
|
-
|
|
4712
|
+
function yr(c) {
|
|
4713
|
+
F[c.categoryTagCode] = this.checked, r(11, F);
|
|
4743
4714
|
}
|
|
4744
|
-
const
|
|
4745
|
-
function
|
|
4746
|
-
|
|
4747
|
-
|
|
4715
|
+
const kr = (c) => et(c.categoryTagCode), Er = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Cr = (c, p) => Pe(p, c.category, c.id), Sr = (c, p) => Pe(p, null, c.id);
|
|
4716
|
+
function xr(c) {
|
|
4717
|
+
nt[c ? "unshift" : "push"](() => {
|
|
4718
|
+
ve = c, r(15, ve);
|
|
4748
4719
|
});
|
|
4749
4720
|
}
|
|
4750
4721
|
function zr(c) {
|
|
4751
|
-
|
|
4722
|
+
nt[c ? "unshift" : "push"](() => {
|
|
4752
4723
|
f = c, r(5, f);
|
|
4753
4724
|
});
|
|
4754
4725
|
}
|
|
4755
4726
|
return e.$$set = (c) => {
|
|
4756
|
-
"session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23,
|
|
4727
|
+
"session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, g = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
|
|
4757
4728
|
}, e.$$.update = () => {
|
|
4758
4729
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
4759
|
-
33554433 &&
|
|
4760
|
-
1 && (i ||
|
|
4761
|
-
34 && s && f &&
|
|
4762
|
-
36 && h && f &&
|
|
4763
|
-
40 && f &&
|
|
4764
|
-
4194304 && l &&
|
|
4765
|
-
8388608 &&
|
|
4730
|
+
33554433 && m && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
|
|
4731
|
+
1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4732
|
+
34 && s && f && Or(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4733
|
+
36 && h && f && Ir(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4734
|
+
40 && f && jr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
4735
|
+
4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
|
|
4736
|
+
8388608 && g && sr();
|
|
4766
4737
|
}, [
|
|
4767
4738
|
i,
|
|
4768
4739
|
s,
|
|
@@ -4770,43 +4741,43 @@ function Zi(e, t, r) {
|
|
|
4770
4741
|
u,
|
|
4771
4742
|
d,
|
|
4772
4743
|
f,
|
|
4773
|
-
|
|
4744
|
+
x,
|
|
4745
|
+
H,
|
|
4774
4746
|
k,
|
|
4775
|
-
z,
|
|
4776
4747
|
O,
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4748
|
+
ae,
|
|
4749
|
+
F,
|
|
4750
|
+
W,
|
|
4780
4751
|
U,
|
|
4781
|
-
|
|
4782
|
-
|
|
4752
|
+
se,
|
|
4753
|
+
ve,
|
|
4783
4754
|
n,
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4755
|
+
pr,
|
|
4756
|
+
et,
|
|
4757
|
+
Pe,
|
|
4787
4758
|
o,
|
|
4788
4759
|
a,
|
|
4789
4760
|
l,
|
|
4761
|
+
g,
|
|
4762
|
+
v,
|
|
4790
4763
|
m,
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
Pr,
|
|
4798
|
-
Br,
|
|
4764
|
+
yr,
|
|
4765
|
+
kr,
|
|
4766
|
+
Er,
|
|
4767
|
+
Cr,
|
|
4768
|
+
Sr,
|
|
4769
|
+
xr,
|
|
4799
4770
|
zr
|
|
4800
4771
|
];
|
|
4801
4772
|
}
|
|
4802
|
-
class
|
|
4773
|
+
class ji extends Pt {
|
|
4803
4774
|
constructor(t) {
|
|
4804
|
-
super(),
|
|
4775
|
+
super(), Bt(
|
|
4805
4776
|
this,
|
|
4806
4777
|
t,
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4778
|
+
Ii,
|
|
4779
|
+
Oi,
|
|
4780
|
+
Je,
|
|
4810
4781
|
{
|
|
4811
4782
|
session: 0,
|
|
4812
4783
|
userid: 20,
|
|
@@ -4819,7 +4790,7 @@ class Ji extends Dt {
|
|
|
4819
4790
|
translationurl: 23,
|
|
4820
4791
|
modalconsents: 24
|
|
4821
4792
|
},
|
|
4822
|
-
|
|
4793
|
+
Ni,
|
|
4823
4794
|
[-1, -1, -1]
|
|
4824
4795
|
);
|
|
4825
4796
|
}
|
|
@@ -4827,64 +4798,64 @@ class Ji extends Dt {
|
|
|
4827
4798
|
return this.$$.ctx[0];
|
|
4828
4799
|
}
|
|
4829
4800
|
set session(t) {
|
|
4830
|
-
this.$$set({ session: t }),
|
|
4801
|
+
this.$$set({ session: t }), X();
|
|
4831
4802
|
}
|
|
4832
4803
|
get userid() {
|
|
4833
4804
|
return this.$$.ctx[20];
|
|
4834
4805
|
}
|
|
4835
4806
|
set userid(t) {
|
|
4836
|
-
this.$$set({ userid: t }),
|
|
4807
|
+
this.$$set({ userid: t }), X();
|
|
4837
4808
|
}
|
|
4838
4809
|
get endpoint() {
|
|
4839
4810
|
return this.$$.ctx[21];
|
|
4840
4811
|
}
|
|
4841
4812
|
set endpoint(t) {
|
|
4842
|
-
this.$$set({ endpoint: t }),
|
|
4813
|
+
this.$$set({ endpoint: t }), X();
|
|
4843
4814
|
}
|
|
4844
4815
|
get clientstyling() {
|
|
4845
4816
|
return this.$$.ctx[1];
|
|
4846
4817
|
}
|
|
4847
4818
|
set clientstyling(t) {
|
|
4848
|
-
this.$$set({ clientstyling: t }),
|
|
4819
|
+
this.$$set({ clientstyling: t }), X();
|
|
4849
4820
|
}
|
|
4850
4821
|
get clientstylingurl() {
|
|
4851
4822
|
return this.$$.ctx[2];
|
|
4852
4823
|
}
|
|
4853
4824
|
set clientstylingurl(t) {
|
|
4854
|
-
this.$$set({ clientstylingurl: t }),
|
|
4825
|
+
this.$$set({ clientstylingurl: t }), X();
|
|
4855
4826
|
}
|
|
4856
4827
|
get mbsource() {
|
|
4857
4828
|
return this.$$.ctx[3];
|
|
4858
4829
|
}
|
|
4859
4830
|
set mbsource(t) {
|
|
4860
|
-
this.$$set({ mbsource: t }),
|
|
4831
|
+
this.$$set({ mbsource: t }), X();
|
|
4861
4832
|
}
|
|
4862
4833
|
get lang() {
|
|
4863
4834
|
return this.$$.ctx[22];
|
|
4864
4835
|
}
|
|
4865
4836
|
set lang(t) {
|
|
4866
|
-
this.$$set({ lang: t }),
|
|
4837
|
+
this.$$set({ lang: t }), X();
|
|
4867
4838
|
}
|
|
4868
4839
|
get displayconsentdescription() {
|
|
4869
4840
|
return this.$$.ctx[4];
|
|
4870
4841
|
}
|
|
4871
4842
|
set displayconsentdescription(t) {
|
|
4872
|
-
this.$$set({ displayconsentdescription: t }),
|
|
4843
|
+
this.$$set({ displayconsentdescription: t }), X();
|
|
4873
4844
|
}
|
|
4874
4845
|
get translationurl() {
|
|
4875
4846
|
return this.$$.ctx[23];
|
|
4876
4847
|
}
|
|
4877
4848
|
set translationurl(t) {
|
|
4878
|
-
this.$$set({ translationurl: t }),
|
|
4849
|
+
this.$$set({ translationurl: t }), X();
|
|
4879
4850
|
}
|
|
4880
4851
|
get modalconsents() {
|
|
4881
4852
|
return this.$$.ctx[24];
|
|
4882
4853
|
}
|
|
4883
4854
|
set modalconsents(t) {
|
|
4884
|
-
this.$$set({ modalconsents: t }),
|
|
4855
|
+
this.$$set({ modalconsents: t }), X();
|
|
4885
4856
|
}
|
|
4886
4857
|
}
|
|
4887
|
-
|
|
4858
|
+
Ht(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
4888
4859
|
export {
|
|
4889
|
-
|
|
4860
|
+
ji as P
|
|
4890
4861
|
};
|