@everymatrix/player-consents 1.59.1 → 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/{PlayerConsents-gjjgqzX4.js → PlayerConsents-BKe-jM8Z.js} +511 -511
- package/components/{PlayerConsents-B6j5mTxV.js → PlayerConsents-BWMye2VK.js} +500 -500
- package/components/{PlayerConsents-DGgOMo8S.cjs → PlayerConsents-CHapKEQ3.cjs} +3 -3
- 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
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Pr = Object.defineProperty, Br = Object.defineProperties;
|
|
2
2
|
var Or = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var it = Object.getOwnPropertySymbols;
|
|
4
4
|
var Ir = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ot = (e, t, r) => t in e ?
|
|
5
|
+
var ot = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
Ir.call(t, r) && ot(e, r, t[r]);
|
|
8
8
|
if (it)
|
|
9
9
|
for (var r of it(t))
|
|
10
10
|
jr.call(t, r) && ot(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, at = (e, t) =>
|
|
12
|
+
}, at = (e, t) => Br(e, Or(t));
|
|
13
13
|
var he = (e, t, r) => new Promise((n, i) => {
|
|
14
14
|
var o = (h) => {
|
|
15
15
|
try {
|
|
@@ -26,14 +26,14 @@ var he = (e, t, r) => new Promise((n, i) => {
|
|
|
26
26
|
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
27
27
|
s((r = r.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { n as
|
|
29
|
+
import { n as q, s as Ye, a as Lr, r as It, i as Rr, c as jt, S as Lt, b as Rt, d as j, e as L, f as S, g as st, h as E, j as X, k as Ur, l as N, m as Dr, o as Gr, p as lt, q as Q, t as fe, u as _e, v as $, w as Ke, x as ge, y as G, z as Fr, H as Ut, A as Vr, B as Xr, C as qr, D as Wr } from "./GeneralAnimationLoading-CAP3Fch3.js";
|
|
30
30
|
const K = [];
|
|
31
31
|
function Zr(e, t) {
|
|
32
32
|
return {
|
|
33
|
-
subscribe:
|
|
33
|
+
subscribe: Ne(e, t).subscribe
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Ne(e, t = q) {
|
|
37
37
|
let r;
|
|
38
38
|
const n = /* @__PURE__ */ new Set();
|
|
39
39
|
function i(s) {
|
|
@@ -51,9 +51,9 @@ function Ae(e, t = X) {
|
|
|
51
51
|
function o(s) {
|
|
52
52
|
i(s(e));
|
|
53
53
|
}
|
|
54
|
-
function a(s, h =
|
|
54
|
+
function a(s, h = q) {
|
|
55
55
|
const u = [s, h];
|
|
56
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
56
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
|
|
57
57
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -67,25 +67,25 @@ function ie(e, t, r) {
|
|
|
67
67
|
return Zr(r, (a, s) => {
|
|
68
68
|
let h = !1;
|
|
69
69
|
const u = [];
|
|
70
|
-
let l = 0, d =
|
|
71
|
-
const
|
|
70
|
+
let l = 0, d = q;
|
|
71
|
+
const g = () => {
|
|
72
72
|
if (l)
|
|
73
73
|
return;
|
|
74
74
|
d();
|
|
75
75
|
const f = t(n ? u[0] : u, a, s);
|
|
76
|
-
o ? a(f) : d = Rr(f) ? f :
|
|
76
|
+
o ? a(f) : d = Rr(f) ? f : q;
|
|
77
77
|
}, v = i.map(
|
|
78
|
-
(f,
|
|
78
|
+
(f, m) => Lr(
|
|
79
79
|
f,
|
|
80
80
|
(C) => {
|
|
81
|
-
u[
|
|
81
|
+
u[m] = C, l &= ~(1 << m), h && g();
|
|
82
82
|
},
|
|
83
83
|
() => {
|
|
84
|
-
l |= 1 <<
|
|
84
|
+
l |= 1 << m;
|
|
85
85
|
}
|
|
86
86
|
)
|
|
87
87
|
);
|
|
88
|
-
return h = !0,
|
|
88
|
+
return h = !0, g(), function() {
|
|
89
89
|
It(v), d(), h = !1;
|
|
90
90
|
};
|
|
91
91
|
});
|
|
@@ -110,12 +110,12 @@ function tn(e) {
|
|
|
110
110
|
function rn(e) {
|
|
111
111
|
return Array.isArray(e) ? [] : {};
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function me(e, t) {
|
|
114
114
|
return t.clone !== !1 && t.isMergeableObject(e) ? ee(rn(e), e, t) : e;
|
|
115
115
|
}
|
|
116
116
|
function nn(e, t, r) {
|
|
117
117
|
return e.concat(t).map(function(n) {
|
|
118
|
-
return
|
|
118
|
+
return me(n, r);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
function on(e, t) {
|
|
@@ -145,15 +145,15 @@ function sn(e, t) {
|
|
|
145
145
|
function ln(e, t, r) {
|
|
146
146
|
var n = {};
|
|
147
147
|
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
148
|
-
n[i] =
|
|
148
|
+
n[i] = me(e[i], r);
|
|
149
149
|
}), ct(t).forEach(function(i) {
|
|
150
|
-
sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] =
|
|
150
|
+
sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
151
151
|
}), n;
|
|
152
152
|
}
|
|
153
153
|
function ee(e, t, r) {
|
|
154
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified =
|
|
154
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = me;
|
|
155
155
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
156
|
-
return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) :
|
|
156
|
+
return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : me(t, r);
|
|
157
157
|
}
|
|
158
158
|
ee.all = function(t, r) {
|
|
159
159
|
if (!Array.isArray(t))
|
|
@@ -178,32 +178,32 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
178
178
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
179
179
|
PERFORMANCE OF THIS SOFTWARE.
|
|
180
180
|
***************************************************************************** */
|
|
181
|
-
var
|
|
182
|
-
return
|
|
181
|
+
var Ge = function(e, t) {
|
|
182
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
183
183
|
r.__proto__ = n;
|
|
184
184
|
} || function(r, n) {
|
|
185
185
|
for (var i in n)
|
|
186
186
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
187
|
-
},
|
|
187
|
+
}, Ge(e, t);
|
|
188
188
|
};
|
|
189
|
-
function
|
|
189
|
+
function Ae(e, t) {
|
|
190
190
|
if (typeof t != "function" && t !== null)
|
|
191
191
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
192
|
-
|
|
192
|
+
Ge(e, t);
|
|
193
193
|
function r() {
|
|
194
194
|
this.constructor = e;
|
|
195
195
|
}
|
|
196
196
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
197
197
|
}
|
|
198
|
-
var
|
|
199
|
-
return
|
|
198
|
+
var A = function() {
|
|
199
|
+
return A = Object.assign || function(t) {
|
|
200
200
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
201
201
|
r = arguments[n];
|
|
202
202
|
for (var o in r)
|
|
203
203
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
204
204
|
}
|
|
205
205
|
return t;
|
|
206
|
-
},
|
|
206
|
+
}, A.apply(this, arguments);
|
|
207
207
|
};
|
|
208
208
|
function dn(e, t) {
|
|
209
209
|
var r = {};
|
|
@@ -227,26 +227,26 @@ function je(e, t) {
|
|
|
227
227
|
serializer: n
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function gn(e) {
|
|
231
231
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
var i =
|
|
233
|
+
function mn(e, t, r, n) {
|
|
234
|
+
var i = gn(n) ? n : r(n), o = t.get(i);
|
|
235
235
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function Gt(e, t, r) {
|
|
238
238
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
239
239
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Ft(e, t, r, n, i) {
|
|
242
242
|
return r.bind(t, e, n, i);
|
|
243
243
|
}
|
|
244
244
|
function pn(e, t) {
|
|
245
|
-
var r = e.length === 1 ?
|
|
246
|
-
return
|
|
245
|
+
var r = e.length === 1 ? mn : Gt;
|
|
246
|
+
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
247
247
|
}
|
|
248
248
|
function fn(e, t) {
|
|
249
|
-
return
|
|
249
|
+
return Ft(e, this, Gt, t.cache.create(), t.serializer);
|
|
250
250
|
}
|
|
251
251
|
var _n = function() {
|
|
252
252
|
return JSON.stringify(arguments);
|
|
@@ -268,55 +268,55 @@ var _n = function() {
|
|
|
268
268
|
}
|
|
269
269
|
}, Le = {
|
|
270
270
|
variadic: fn
|
|
271
|
-
},
|
|
271
|
+
}, M;
|
|
272
272
|
(function(e) {
|
|
273
273
|
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";
|
|
274
|
-
})(
|
|
275
|
-
var
|
|
274
|
+
})(M || (M = {}));
|
|
275
|
+
var P;
|
|
276
276
|
(function(e) {
|
|
277
277
|
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";
|
|
278
|
-
})(
|
|
278
|
+
})(P || (P = {}));
|
|
279
279
|
var te;
|
|
280
280
|
(function(e) {
|
|
281
281
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
282
282
|
})(te || (te = {}));
|
|
283
283
|
function ut(e) {
|
|
284
|
-
return e.type ===
|
|
284
|
+
return e.type === P.literal;
|
|
285
285
|
}
|
|
286
286
|
function yn(e) {
|
|
287
|
-
return e.type ===
|
|
288
|
-
}
|
|
289
|
-
function Ft(e) {
|
|
290
|
-
return e.type === B.number;
|
|
287
|
+
return e.type === P.argument;
|
|
291
288
|
}
|
|
292
289
|
function Vt(e) {
|
|
293
|
-
return e.type ===
|
|
290
|
+
return e.type === P.number;
|
|
294
291
|
}
|
|
295
292
|
function Xt(e) {
|
|
296
|
-
return e.type ===
|
|
293
|
+
return e.type === P.date;
|
|
294
|
+
}
|
|
295
|
+
function qt(e) {
|
|
296
|
+
return e.type === P.time;
|
|
297
297
|
}
|
|
298
298
|
function Wt(e) {
|
|
299
|
-
return e.type ===
|
|
299
|
+
return e.type === P.select;
|
|
300
300
|
}
|
|
301
301
|
function Zt(e) {
|
|
302
|
-
return e.type ===
|
|
302
|
+
return e.type === P.plural;
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return e.type ===
|
|
304
|
+
function kn(e) {
|
|
305
|
+
return e.type === P.pound;
|
|
306
306
|
}
|
|
307
307
|
function Jt(e) {
|
|
308
|
-
return e.type ===
|
|
308
|
+
return e.type === P.tag;
|
|
309
309
|
}
|
|
310
310
|
function Qt(e) {
|
|
311
311
|
return !!(e && typeof e == "object" && e.type === te.number);
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Fe(e) {
|
|
314
314
|
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
315
315
|
}
|
|
316
|
-
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
316
|
+
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
|
|
317
317
|
function Cn(e) {
|
|
318
318
|
var t = {};
|
|
319
|
-
return e.replace(
|
|
319
|
+
return e.replace(En, function(r) {
|
|
320
320
|
var n = r.length;
|
|
321
321
|
switch (r[0]) {
|
|
322
322
|
case "G":
|
|
@@ -409,8 +409,8 @@ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
409
409
|
function xn(e) {
|
|
410
410
|
if (e.length === 0)
|
|
411
411
|
throw new Error("Number skeleton cannot be empty");
|
|
412
|
-
for (var t = e.split(Sn).filter(function(
|
|
413
|
-
return
|
|
412
|
+
for (var t = e.split(Sn).filter(function(g) {
|
|
413
|
+
return g.length > 0;
|
|
414
414
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
415
415
|
var o = i[n], a = o.split("/");
|
|
416
416
|
if (a.length === 0)
|
|
@@ -424,10 +424,10 @@ function xn(e) {
|
|
|
424
424
|
}
|
|
425
425
|
return r;
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function zn(e) {
|
|
428
428
|
return e.replace(/^(.*?)-/, "");
|
|
429
429
|
}
|
|
430
|
-
var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
430
|
+
var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
|
|
431
431
|
function dt(e) {
|
|
432
432
|
var t = {};
|
|
433
433
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
|
|
@@ -474,7 +474,7 @@ function er(e) {
|
|
|
474
474
|
};
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Mn(e) {
|
|
478
478
|
var t;
|
|
479
479
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
480
480
|
notation: "engineering"
|
|
@@ -488,11 +488,11 @@ function wn(e) {
|
|
|
488
488
|
}
|
|
489
489
|
return t;
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function gt(e) {
|
|
492
492
|
var t = {}, r = er(e);
|
|
493
493
|
return r || t;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function wn(e) {
|
|
496
496
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
497
497
|
var i = n[r];
|
|
498
498
|
switch (i.stem) {
|
|
@@ -516,7 +516,7 @@ function Nn(e) {
|
|
|
516
516
|
continue;
|
|
517
517
|
case "measure-unit":
|
|
518
518
|
case "unit":
|
|
519
|
-
t.style = "unit", t.unit =
|
|
519
|
+
t.style = "unit", t.unit = zn(i.options[0]);
|
|
520
520
|
continue;
|
|
521
521
|
case "compact-short":
|
|
522
522
|
case "K":
|
|
@@ -527,13 +527,13 @@ function Nn(e) {
|
|
|
527
527
|
t.notation = "compact", t.compactDisplay = "long";
|
|
528
528
|
continue;
|
|
529
529
|
case "scientific":
|
|
530
|
-
t =
|
|
531
|
-
return
|
|
530
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
531
|
+
return A(A({}, h), gt(u));
|
|
532
532
|
}, {}));
|
|
533
533
|
continue;
|
|
534
534
|
case "engineering":
|
|
535
|
-
t =
|
|
536
|
-
return
|
|
535
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
536
|
+
return A(A({}, h), gt(u));
|
|
537
537
|
}, {}));
|
|
538
538
|
continue;
|
|
539
539
|
case "notation-simple":
|
|
@@ -578,11 +578,11 @@ function Nn(e) {
|
|
|
578
578
|
case "integer-width":
|
|
579
579
|
if (i.options.length > 1)
|
|
580
580
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
581
|
-
i.options[0].replace(
|
|
581
|
+
i.options[0].replace(Tn, function(h, u, l, d, g, v) {
|
|
582
582
|
if (u)
|
|
583
583
|
t.minimumIntegerDigits = l.length;
|
|
584
584
|
else {
|
|
585
|
-
if (d &&
|
|
585
|
+
if (d && g)
|
|
586
586
|
throw new Error("We currently do not support maximum integer digits");
|
|
587
587
|
if (v)
|
|
588
588
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -598,21 +598,21 @@ function Nn(e) {
|
|
|
598
598
|
if (ht.test(i.stem)) {
|
|
599
599
|
if (i.options.length > 1)
|
|
600
600
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
601
|
-
i.stem.replace(ht, function(h, u, l, d,
|
|
602
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length :
|
|
601
|
+
i.stem.replace(ht, function(h, u, l, d, g, v) {
|
|
602
|
+
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), "";
|
|
603
603
|
});
|
|
604
604
|
var o = i.options[0];
|
|
605
|
-
o === "w" ? t =
|
|
605
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), dt(o)));
|
|
606
606
|
continue;
|
|
607
607
|
}
|
|
608
608
|
if (Kt.test(i.stem)) {
|
|
609
|
-
t =
|
|
609
|
+
t = A(A({}, t), dt(i.stem));
|
|
610
610
|
continue;
|
|
611
611
|
}
|
|
612
612
|
var a = er(i.stem);
|
|
613
|
-
a && (t =
|
|
614
|
-
var s =
|
|
615
|
-
s && (t =
|
|
613
|
+
a && (t = A(A({}, t), a));
|
|
614
|
+
var s = Mn(i.stem);
|
|
615
|
+
s && (t = A(A({}, t), s));
|
|
616
616
|
}
|
|
617
617
|
return t;
|
|
618
618
|
}
|
|
@@ -2031,13 +2031,13 @@ var xe = {
|
|
|
2031
2031
|
"h"
|
|
2032
2032
|
]
|
|
2033
2033
|
};
|
|
2034
|
-
function
|
|
2034
|
+
function Nn(e, t) {
|
|
2035
2035
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2036
2036
|
var i = e.charAt(n);
|
|
2037
2037
|
if (i === "j") {
|
|
2038
2038
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2039
2039
|
o++, n++;
|
|
2040
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2040
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = An(t);
|
|
2041
2041
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2042
2042
|
r += h;
|
|
2043
2043
|
for (; a-- > 0; )
|
|
@@ -2047,7 +2047,7 @@ function An(e, t) {
|
|
|
2047
2047
|
}
|
|
2048
2048
|
return r;
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2050
|
+
function An(e) {
|
|
2051
2051
|
var t = e.hourCycle;
|
|
2052
2052
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2053
2053
|
e.hourCycles && // @ts-ignore
|
|
@@ -2069,20 +2069,20 @@ function Hn(e) {
|
|
|
2069
2069
|
var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
|
|
2070
2070
|
return i[0];
|
|
2071
2071
|
}
|
|
2072
|
-
var Re,
|
|
2073
|
-
function
|
|
2072
|
+
var Re, Hn = new RegExp("^".concat(Yt.source, "*")), Pn = new RegExp("".concat(Yt.source, "*$"));
|
|
2073
|
+
function w(e, t) {
|
|
2074
2074
|
return { start: e, end: t };
|
|
2075
2075
|
}
|
|
2076
|
-
var
|
|
2076
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
|
|
2077
2077
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2078
|
-
},
|
|
2078
|
+
}, Ve = !0;
|
|
2079
2079
|
try {
|
|
2080
|
-
var
|
|
2081
|
-
|
|
2080
|
+
var Gn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2081
|
+
Ve = ((Re = Gn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
2082
2082
|
} catch (e) {
|
|
2083
|
-
|
|
2083
|
+
Ve = !1;
|
|
2084
2084
|
}
|
|
2085
|
-
var
|
|
2085
|
+
var mt = Bn ? (
|
|
2086
2086
|
// Native
|
|
2087
2087
|
function(t, r, n) {
|
|
2088
2088
|
return t.startsWith(r, n);
|
|
@@ -2092,7 +2092,7 @@ var gt = zn ? (
|
|
|
2092
2092
|
function(t, r, n) {
|
|
2093
2093
|
return t.slice(n, n + r.length) === r;
|
|
2094
2094
|
}
|
|
2095
|
-
),
|
|
2095
|
+
), Xe = On ? String.fromCodePoint : (
|
|
2096
2096
|
// IE11
|
|
2097
2097
|
function() {
|
|
2098
2098
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2130,7 +2130,7 @@ var gt = zn ? (
|
|
|
2130
2130
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
|
-
),
|
|
2133
|
+
), Fn = Ln ? (
|
|
2134
2134
|
// Native
|
|
2135
2135
|
function(t) {
|
|
2136
2136
|
return t.trimStart();
|
|
@@ -2138,9 +2138,9 @@ var gt = zn ? (
|
|
|
2138
2138
|
) : (
|
|
2139
2139
|
// Ponyfill
|
|
2140
2140
|
function(t) {
|
|
2141
|
-
return t.replace(
|
|
2141
|
+
return t.replace(Hn, "");
|
|
2142
2142
|
}
|
|
2143
|
-
),
|
|
2143
|
+
), Vn = Rn ? (
|
|
2144
2144
|
// Native
|
|
2145
2145
|
function(t) {
|
|
2146
2146
|
return t.trimEnd();
|
|
@@ -2148,32 +2148,32 @@ var gt = zn ? (
|
|
|
2148
2148
|
) : (
|
|
2149
2149
|
// Ponyfill
|
|
2150
2150
|
function(t) {
|
|
2151
|
-
return t.replace(
|
|
2151
|
+
return t.replace(Pn, "");
|
|
2152
2152
|
}
|
|
2153
2153
|
);
|
|
2154
2154
|
function rr(e, t) {
|
|
2155
2155
|
return new RegExp(e, t);
|
|
2156
2156
|
}
|
|
2157
|
-
var
|
|
2158
|
-
if (
|
|
2157
|
+
var qe;
|
|
2158
|
+
if (Ve) {
|
|
2159
2159
|
var ft = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2160
|
-
|
|
2160
|
+
qe = function(t, r) {
|
|
2161
2161
|
var n;
|
|
2162
2162
|
ft.lastIndex = r;
|
|
2163
2163
|
var i = ft.exec(t);
|
|
2164
2164
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2165
2165
|
};
|
|
2166
2166
|
} else
|
|
2167
|
-
|
|
2167
|
+
qe = function(t, r) {
|
|
2168
2168
|
for (var n = []; ; ) {
|
|
2169
2169
|
var i = tr(t, r);
|
|
2170
2170
|
if (i === void 0 || nr(i) || Zn(i))
|
|
2171
2171
|
break;
|
|
2172
2172
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2173
2173
|
}
|
|
2174
|
-
return
|
|
2174
|
+
return Xe.apply(void 0, n);
|
|
2175
2175
|
};
|
|
2176
|
-
var
|
|
2176
|
+
var Xn = (
|
|
2177
2177
|
/** @class */
|
|
2178
2178
|
function() {
|
|
2179
2179
|
function e(t, r) {
|
|
@@ -2197,13 +2197,13 @@ var Vn = (
|
|
|
2197
2197
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2198
2198
|
var s = this.clonePosition();
|
|
2199
2199
|
this.bump(), i.push({
|
|
2200
|
-
type:
|
|
2201
|
-
location:
|
|
2200
|
+
type: P.pound,
|
|
2201
|
+
location: w(s, this.clonePosition())
|
|
2202
2202
|
});
|
|
2203
2203
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2204
2204
|
if (n)
|
|
2205
2205
|
break;
|
|
2206
|
-
return this.error(
|
|
2206
|
+
return this.error(M.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
2207
2207
|
} else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
|
|
2208
2208
|
var a = this.parseTag(t, r);
|
|
2209
2209
|
if (a.err)
|
|
@@ -2225,9 +2225,9 @@ var Vn = (
|
|
|
2225
2225
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2226
2226
|
return {
|
|
2227
2227
|
val: {
|
|
2228
|
-
type:
|
|
2228
|
+
type: P.literal,
|
|
2229
2229
|
value: "<".concat(i, "/>"),
|
|
2230
|
-
location:
|
|
2230
|
+
location: w(n, this.clonePosition())
|
|
2231
2231
|
},
|
|
2232
2232
|
err: null
|
|
2233
2233
|
};
|
|
@@ -2238,21 +2238,21 @@ var Vn = (
|
|
|
2238
2238
|
var a = o.val, s = this.clonePosition();
|
|
2239
2239
|
if (this.bumpIf("</")) {
|
|
2240
2240
|
if (this.isEOF() || !We(this.char()))
|
|
2241
|
-
return this.error(
|
|
2241
|
+
return this.error(M.INVALID_TAG, w(s, this.clonePosition()));
|
|
2242
2242
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2243
|
-
return i !== u ? this.error(
|
|
2243
|
+
return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2244
2244
|
val: {
|
|
2245
|
-
type:
|
|
2245
|
+
type: P.tag,
|
|
2246
2246
|
value: i,
|
|
2247
2247
|
children: a,
|
|
2248
|
-
location:
|
|
2248
|
+
location: w(n, this.clonePosition())
|
|
2249
2249
|
},
|
|
2250
2250
|
err: null
|
|
2251
|
-
} : this.error(
|
|
2251
|
+
} : this.error(M.INVALID_TAG, w(s, this.clonePosition())));
|
|
2252
2252
|
} else
|
|
2253
|
-
return this.error(
|
|
2253
|
+
return this.error(M.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
2254
2254
|
} else
|
|
2255
|
-
return this.error(
|
|
2255
|
+
return this.error(M.INVALID_TAG, w(n, this.clonePosition()));
|
|
2256
2256
|
}, e.prototype.parseTagName = function() {
|
|
2257
2257
|
var t = this.offset();
|
|
2258
2258
|
for (this.bump(); !this.isEOF() && Wn(this.char()); )
|
|
@@ -2277,14 +2277,14 @@ var Vn = (
|
|
|
2277
2277
|
}
|
|
2278
2278
|
break;
|
|
2279
2279
|
}
|
|
2280
|
-
var h =
|
|
2280
|
+
var h = w(n, this.clonePosition());
|
|
2281
2281
|
return {
|
|
2282
|
-
val: { type:
|
|
2282
|
+
val: { type: P.literal, value: i, location: h },
|
|
2283
2283
|
err: null
|
|
2284
2284
|
};
|
|
2285
2285
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2286
2286
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2287
|
-
!
|
|
2287
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2288
2288
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2289
2289
|
if (this.isEOF() || this.char() !== 39)
|
|
2290
2290
|
return null;
|
|
@@ -2318,49 +2318,49 @@ var Vn = (
|
|
|
2318
2318
|
r.push(n);
|
|
2319
2319
|
this.bump();
|
|
2320
2320
|
}
|
|
2321
|
-
return
|
|
2321
|
+
return Xe.apply(void 0, r);
|
|
2322
2322
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2323
2323
|
if (this.isEOF())
|
|
2324
2324
|
return null;
|
|
2325
2325
|
var n = this.char();
|
|
2326
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2326
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
|
|
2327
2327
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2328
2328
|
var n = this.clonePosition();
|
|
2329
2329
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2330
|
-
return this.error(
|
|
2330
|
+
return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
2331
2331
|
if (this.char() === 125)
|
|
2332
|
-
return this.bump(), this.error(
|
|
2332
|
+
return this.bump(), this.error(M.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
2333
2333
|
var i = this.parseIdentifierIfPossible().value;
|
|
2334
2334
|
if (!i)
|
|
2335
|
-
return this.error(
|
|
2335
|
+
return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
2336
2336
|
if (this.bumpSpace(), this.isEOF())
|
|
2337
|
-
return this.error(
|
|
2337
|
+
return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
2338
2338
|
switch (this.char()) {
|
|
2339
2339
|
case 125:
|
|
2340
2340
|
return this.bump(), {
|
|
2341
2341
|
val: {
|
|
2342
|
-
type:
|
|
2342
|
+
type: P.argument,
|
|
2343
2343
|
// value does not include the opening and closing braces.
|
|
2344
2344
|
value: i,
|
|
2345
|
-
location:
|
|
2345
|
+
location: w(n, this.clonePosition())
|
|
2346
2346
|
},
|
|
2347
2347
|
err: null
|
|
2348
2348
|
};
|
|
2349
2349
|
case 44:
|
|
2350
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2350
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2351
2351
|
default:
|
|
2352
|
-
return this.error(
|
|
2352
|
+
return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
2353
2353
|
}
|
|
2354
2354
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2355
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2355
|
+
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
|
2356
2356
|
this.bumpTo(i);
|
|
2357
|
-
var o = this.clonePosition(), a =
|
|
2357
|
+
var o = this.clonePosition(), a = w(t, o);
|
|
2358
2358
|
return { value: n, location: a };
|
|
2359
2359
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2360
2360
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2361
2361
|
switch (s) {
|
|
2362
2362
|
case "":
|
|
2363
|
-
return this.error(
|
|
2363
|
+
return this.error(M.EXPECT_ARGUMENT_TYPE, w(a, h));
|
|
2364
2364
|
case "number":
|
|
2365
2365
|
case "date":
|
|
2366
2366
|
case "time": {
|
|
@@ -2371,46 +2371,46 @@ var Vn = (
|
|
|
2371
2371
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
2372
2372
|
if (d.err)
|
|
2373
2373
|
return d;
|
|
2374
|
-
var
|
|
2375
|
-
if (
|
|
2376
|
-
return this.error(
|
|
2377
|
-
var v =
|
|
2378
|
-
u = { style:
|
|
2374
|
+
var g = Vn(d.val);
|
|
2375
|
+
if (g.length === 0)
|
|
2376
|
+
return this.error(M.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
2377
|
+
var v = w(l, this.clonePosition());
|
|
2378
|
+
u = { style: g, styleLocation: v };
|
|
2379
2379
|
}
|
|
2380
2380
|
var f = this.tryParseArgumentClose(i);
|
|
2381
2381
|
if (f.err)
|
|
2382
2382
|
return f;
|
|
2383
|
-
var
|
|
2384
|
-
if (u &&
|
|
2385
|
-
var C =
|
|
2383
|
+
var m = w(i, this.clonePosition());
|
|
2384
|
+
if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2385
|
+
var C = Fn(u.style.slice(2));
|
|
2386
2386
|
if (s === "number") {
|
|
2387
2387
|
var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
2388
2388
|
return d.err ? d : {
|
|
2389
|
-
val: { type:
|
|
2389
|
+
val: { type: P.number, value: n, location: m, style: d.val },
|
|
2390
2390
|
err: null
|
|
2391
2391
|
};
|
|
2392
2392
|
} else {
|
|
2393
2393
|
if (C.length === 0)
|
|
2394
|
-
return this.error(
|
|
2394
|
+
return this.error(M.EXPECT_DATE_TIME_SKELETON, m);
|
|
2395
2395
|
var _ = C;
|
|
2396
|
-
this.locale && (_ =
|
|
2397
|
-
var
|
|
2396
|
+
this.locale && (_ = Nn(C, this.locale));
|
|
2397
|
+
var g = {
|
|
2398
2398
|
type: te.dateTime,
|
|
2399
2399
|
pattern: _,
|
|
2400
2400
|
location: u.styleLocation,
|
|
2401
2401
|
parsedOptions: this.shouldParseSkeletons ? Cn(_) : {}
|
|
2402
|
-
}, b = s === "date" ?
|
|
2402
|
+
}, b = s === "date" ? P.date : P.time;
|
|
2403
2403
|
return {
|
|
2404
|
-
val: { type: b, value: n, location:
|
|
2404
|
+
val: { type: b, value: n, location: m, style: g },
|
|
2405
2405
|
err: null
|
|
2406
2406
|
};
|
|
2407
2407
|
}
|
|
2408
2408
|
}
|
|
2409
2409
|
return {
|
|
2410
2410
|
val: {
|
|
2411
|
-
type: s === "number" ?
|
|
2411
|
+
type: s === "number" ? P.number : s === "date" ? P.date : P.time,
|
|
2412
2412
|
value: n,
|
|
2413
|
-
location:
|
|
2413
|
+
location: m,
|
|
2414
2414
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
2415
2415
|
},
|
|
2416
2416
|
err: null
|
|
@@ -2421,39 +2421,39 @@ var Vn = (
|
|
|
2421
2421
|
case "select": {
|
|
2422
2422
|
var x = this.clonePosition();
|
|
2423
2423
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2424
|
-
return this.error(
|
|
2424
|
+
return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, w(x, A({}, x)));
|
|
2425
2425
|
this.bumpSpace();
|
|
2426
|
-
var
|
|
2427
|
-
if (s !== "select" &&
|
|
2426
|
+
var H = this.parseIdentifierIfPossible(), k = 0;
|
|
2427
|
+
if (s !== "select" && H.value === "offset") {
|
|
2428
2428
|
if (!this.bumpIf(":"))
|
|
2429
|
-
return this.error(
|
|
2429
|
+
return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
2430
2430
|
this.bumpSpace();
|
|
2431
|
-
var d = this.tryParseDecimalInteger(
|
|
2431
|
+
var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2432
2432
|
if (d.err)
|
|
2433
2433
|
return d;
|
|
2434
|
-
this.bumpSpace(),
|
|
2434
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), k = d.val;
|
|
2435
2435
|
}
|
|
2436
|
-
var
|
|
2437
|
-
if (
|
|
2438
|
-
return
|
|
2436
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
|
|
2437
|
+
if (B.err)
|
|
2438
|
+
return B;
|
|
2439
2439
|
var f = this.tryParseArgumentClose(i);
|
|
2440
2440
|
if (f.err)
|
|
2441
2441
|
return f;
|
|
2442
|
-
var O =
|
|
2442
|
+
var O = w(i, this.clonePosition());
|
|
2443
2443
|
return s === "select" ? {
|
|
2444
2444
|
val: {
|
|
2445
|
-
type:
|
|
2445
|
+
type: P.select,
|
|
2446
2446
|
value: n,
|
|
2447
|
-
options: pt(
|
|
2447
|
+
options: pt(B.val),
|
|
2448
2448
|
location: O
|
|
2449
2449
|
},
|
|
2450
2450
|
err: null
|
|
2451
2451
|
} : {
|
|
2452
2452
|
val: {
|
|
2453
|
-
type:
|
|
2453
|
+
type: P.plural,
|
|
2454
2454
|
value: n,
|
|
2455
|
-
options: pt(
|
|
2456
|
-
offset:
|
|
2455
|
+
options: pt(B.val),
|
|
2456
|
+
offset: k,
|
|
2457
2457
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2458
2458
|
location: O
|
|
2459
2459
|
},
|
|
@@ -2461,10 +2461,10 @@ var Vn = (
|
|
|
2461
2461
|
};
|
|
2462
2462
|
}
|
|
2463
2463
|
default:
|
|
2464
|
-
return this.error(
|
|
2464
|
+
return this.error(M.INVALID_ARGUMENT_TYPE, w(a, h));
|
|
2465
2465
|
}
|
|
2466
2466
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2467
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2467
|
+
return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2468
2468
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2469
2469
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2470
2470
|
var n = this.char();
|
|
@@ -2473,7 +2473,7 @@ var Vn = (
|
|
|
2473
2473
|
this.bump();
|
|
2474
2474
|
var i = this.clonePosition();
|
|
2475
2475
|
if (!this.bumpUntil("'"))
|
|
2476
|
-
return this.error(
|
|
2476
|
+
return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
2477
2477
|
this.bump();
|
|
2478
2478
|
break;
|
|
2479
2479
|
}
|
|
@@ -2505,14 +2505,14 @@ var Vn = (
|
|
|
2505
2505
|
try {
|
|
2506
2506
|
n = xn(t);
|
|
2507
2507
|
} catch (i) {
|
|
2508
|
-
return this.error(
|
|
2508
|
+
return this.error(M.INVALID_NUMBER_SKELETON, r);
|
|
2509
2509
|
}
|
|
2510
2510
|
return {
|
|
2511
2511
|
val: {
|
|
2512
2512
|
type: te.number,
|
|
2513
2513
|
tokens: n,
|
|
2514
2514
|
location: r,
|
|
2515
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2515
|
+
parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
|
|
2516
2516
|
},
|
|
2517
2517
|
err: null
|
|
2518
2518
|
};
|
|
@@ -2521,34 +2521,34 @@ var Vn = (
|
|
|
2521
2521
|
if (u.length === 0) {
|
|
2522
2522
|
var d = this.clonePosition();
|
|
2523
2523
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2524
|
-
var
|
|
2525
|
-
if (
|
|
2526
|
-
return
|
|
2527
|
-
l =
|
|
2524
|
+
var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2525
|
+
if (g.err)
|
|
2526
|
+
return g;
|
|
2527
|
+
l = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
2528
2528
|
} else
|
|
2529
2529
|
break;
|
|
2530
2530
|
}
|
|
2531
2531
|
if (h.has(u))
|
|
2532
|
-
return this.error(r === "select" ?
|
|
2532
|
+
return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2533
2533
|
u === "other" && (a = !0), this.bumpSpace();
|
|
2534
2534
|
var v = this.clonePosition();
|
|
2535
2535
|
if (!this.bumpIf("{"))
|
|
2536
|
-
return this.error(r === "select" ?
|
|
2536
|
+
return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
2537
2537
|
var f = this.parseMessage(t + 1, r, n);
|
|
2538
2538
|
if (f.err)
|
|
2539
2539
|
return f;
|
|
2540
|
-
var
|
|
2541
|
-
if (
|
|
2542
|
-
return
|
|
2540
|
+
var m = this.tryParseArgumentClose(v);
|
|
2541
|
+
if (m.err)
|
|
2542
|
+
return m;
|
|
2543
2543
|
s.push([
|
|
2544
2544
|
u,
|
|
2545
2545
|
{
|
|
2546
2546
|
value: f.val,
|
|
2547
|
-
location:
|
|
2547
|
+
location: w(v, this.clonePosition())
|
|
2548
2548
|
}
|
|
2549
2549
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
2550
2550
|
}
|
|
2551
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
2551
|
+
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 };
|
|
2552
2552
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2553
2553
|
var n = 1, i = this.clonePosition();
|
|
2554
2554
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2559,7 +2559,7 @@ var Vn = (
|
|
|
2559
2559
|
else
|
|
2560
2560
|
break;
|
|
2561
2561
|
}
|
|
2562
|
-
var h =
|
|
2562
|
+
var h = w(i, this.clonePosition());
|
|
2563
2563
|
return o ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2564
2564
|
}, e.prototype.offset = function() {
|
|
2565
2565
|
return this.position.offset;
|
|
@@ -2594,7 +2594,7 @@ var Vn = (
|
|
|
2594
2594
|
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);
|
|
2595
2595
|
}
|
|
2596
2596
|
}, e.prototype.bumpIf = function(t) {
|
|
2597
|
-
if (
|
|
2597
|
+
if (mt(this.message, t, this.offset())) {
|
|
2598
2598
|
for (var r = 0; r < t.length; r++)
|
|
2599
2599
|
this.bump();
|
|
2600
2600
|
return !0;
|
|
@@ -2629,7 +2629,7 @@ var Vn = (
|
|
|
2629
2629
|
function We(e) {
|
|
2630
2630
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2631
2631
|
}
|
|
2632
|
-
function
|
|
2632
|
+
function qn(e) {
|
|
2633
2633
|
return We(e) || e === 47;
|
|
2634
2634
|
}
|
|
2635
2635
|
function Wn(e) {
|
|
@@ -2647,14 +2647,14 @@ function Ze(e) {
|
|
|
2647
2647
|
for (var r in t.options)
|
|
2648
2648
|
delete t.options[r].location, Ze(t.options[r].value);
|
|
2649
2649
|
else
|
|
2650
|
-
|
|
2650
|
+
Vt(t) && Qt(t.style) || (Xt(t) || qt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && Ze(t.children);
|
|
2651
2651
|
});
|
|
2652
2652
|
}
|
|
2653
2653
|
function Jn(e, t) {
|
|
2654
|
-
t === void 0 && (t = {}), t =
|
|
2655
|
-
var r = new
|
|
2654
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2655
|
+
var r = new Xn(e, t).parse();
|
|
2656
2656
|
if (r.err) {
|
|
2657
|
-
var n = SyntaxError(
|
|
2657
|
+
var n = SyntaxError(M[r.err.kind]);
|
|
2658
2658
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
2659
2659
|
}
|
|
2660
2660
|
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
@@ -2663,10 +2663,10 @@ var re;
|
|
|
2663
2663
|
(function(e) {
|
|
2664
2664
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
2665
2665
|
})(re || (re = {}));
|
|
2666
|
-
var
|
|
2666
|
+
var He = (
|
|
2667
2667
|
/** @class */
|
|
2668
2668
|
function(e) {
|
|
2669
|
-
|
|
2669
|
+
Ae(t, e);
|
|
2670
2670
|
function t(r, n, i) {
|
|
2671
2671
|
var o = e.call(this, r) || this;
|
|
2672
2672
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -2678,30 +2678,30 @@ var Pe = (
|
|
|
2678
2678
|
), _t = (
|
|
2679
2679
|
/** @class */
|
|
2680
2680
|
function(e) {
|
|
2681
|
-
|
|
2681
|
+
Ae(t, e);
|
|
2682
2682
|
function t(r, n, i, o) {
|
|
2683
2683
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
|
|
2684
2684
|
}
|
|
2685
2685
|
return t;
|
|
2686
|
-
}(
|
|
2686
|
+
}(He)
|
|
2687
2687
|
), Qn = (
|
|
2688
2688
|
/** @class */
|
|
2689
2689
|
function(e) {
|
|
2690
|
-
|
|
2690
|
+
Ae(t, e);
|
|
2691
2691
|
function t(r, n, i) {
|
|
2692
2692
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
|
|
2693
2693
|
}
|
|
2694
2694
|
return t;
|
|
2695
|
-
}(
|
|
2695
|
+
}(He)
|
|
2696
2696
|
), Yn = (
|
|
2697
2697
|
/** @class */
|
|
2698
2698
|
function(e) {
|
|
2699
|
-
|
|
2699
|
+
Ae(t, e);
|
|
2700
2700
|
function t(r, n) {
|
|
2701
2701
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
|
|
2702
2702
|
}
|
|
2703
2703
|
return t;
|
|
2704
|
-
}(
|
|
2704
|
+
}(He)
|
|
2705
2705
|
), D;
|
|
2706
2706
|
(function(e) {
|
|
2707
2707
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -2715,7 +2715,7 @@ function Kn(e) {
|
|
|
2715
2715
|
function $n(e) {
|
|
2716
2716
|
return typeof e == "function";
|
|
2717
2717
|
}
|
|
2718
|
-
function
|
|
2718
|
+
function ze(e, t, r, n, i, o, a) {
|
|
2719
2719
|
if (e.length === 1 && ut(e[0]))
|
|
2720
2720
|
return [
|
|
2721
2721
|
{
|
|
@@ -2732,7 +2732,7 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
2732
2732
|
});
|
|
2733
2733
|
continue;
|
|
2734
2734
|
}
|
|
2735
|
-
if (
|
|
2735
|
+
if (kn(l)) {
|
|
2736
2736
|
typeof o == "number" && s.push({
|
|
2737
2737
|
type: D.literal,
|
|
2738
2738
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -2742,86 +2742,86 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
2742
2742
|
var d = l.value;
|
|
2743
2743
|
if (!(i && d in i))
|
|
2744
2744
|
throw new Yn(d, a);
|
|
2745
|
-
var
|
|
2745
|
+
var g = i[d];
|
|
2746
2746
|
if (yn(l)) {
|
|
2747
|
-
(!
|
|
2748
|
-
type: typeof
|
|
2749
|
-
value:
|
|
2747
|
+
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
|
|
2748
|
+
type: typeof g == "string" ? D.literal : D.object,
|
|
2749
|
+
value: g
|
|
2750
2750
|
});
|
|
2751
2751
|
continue;
|
|
2752
2752
|
}
|
|
2753
|
-
if (
|
|
2754
|
-
var v = typeof l.style == "string" ? n.date[l.style] :
|
|
2753
|
+
if (Xt(l)) {
|
|
2754
|
+
var v = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
2755
2755
|
s.push({
|
|
2756
2756
|
type: D.literal,
|
|
2757
|
-
value: r.getDateTimeFormat(t, v).format(
|
|
2757
|
+
value: r.getDateTimeFormat(t, v).format(g)
|
|
2758
2758
|
});
|
|
2759
2759
|
continue;
|
|
2760
2760
|
}
|
|
2761
|
-
if (
|
|
2762
|
-
var v = typeof l.style == "string" ? n.time[l.style] :
|
|
2761
|
+
if (qt(l)) {
|
|
2762
|
+
var v = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
2763
2763
|
s.push({
|
|
2764
2764
|
type: D.literal,
|
|
2765
|
-
value: r.getDateTimeFormat(t, v).format(
|
|
2765
|
+
value: r.getDateTimeFormat(t, v).format(g)
|
|
2766
2766
|
});
|
|
2767
2767
|
continue;
|
|
2768
2768
|
}
|
|
2769
|
-
if (
|
|
2769
|
+
if (Vt(l)) {
|
|
2770
2770
|
var v = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
|
|
2771
|
-
v && v.scale && (
|
|
2771
|
+
v && v.scale && (g = g * (v.scale || 1)), s.push({
|
|
2772
2772
|
type: D.literal,
|
|
2773
|
-
value: r.getNumberFormat(t, v).format(
|
|
2773
|
+
value: r.getNumberFormat(t, v).format(g)
|
|
2774
2774
|
});
|
|
2775
2775
|
continue;
|
|
2776
2776
|
}
|
|
2777
2777
|
if (Jt(l)) {
|
|
2778
|
-
var f = l.children,
|
|
2778
|
+
var f = l.children, m = l.value, C = i[m];
|
|
2779
2779
|
if (!$n(C))
|
|
2780
|
-
throw new Qn(
|
|
2781
|
-
var _ =
|
|
2782
|
-
return
|
|
2780
|
+
throw new Qn(m, "function", a);
|
|
2781
|
+
var _ = ze(f, t, r, n, i, o), b = C(_.map(function(k) {
|
|
2782
|
+
return k.value;
|
|
2783
2783
|
}));
|
|
2784
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
2784
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(k) {
|
|
2785
2785
|
return {
|
|
2786
|
-
type: typeof
|
|
2787
|
-
value:
|
|
2786
|
+
type: typeof k == "string" ? D.literal : D.object,
|
|
2787
|
+
value: k
|
|
2788
2788
|
};
|
|
2789
2789
|
}));
|
|
2790
2790
|
}
|
|
2791
2791
|
if (Wt(l)) {
|
|
2792
|
-
var x = l.options[
|
|
2792
|
+
var x = l.options[g] || l.options.other;
|
|
2793
2793
|
if (!x)
|
|
2794
|
-
throw new _t(l.value,
|
|
2795
|
-
s.push.apply(s,
|
|
2794
|
+
throw new _t(l.value, g, Object.keys(l.options), a);
|
|
2795
|
+
s.push.apply(s, ze(x.value, t, r, n, i));
|
|
2796
2796
|
continue;
|
|
2797
2797
|
}
|
|
2798
2798
|
if (Zt(l)) {
|
|
2799
|
-
var x = l.options["=".concat(
|
|
2799
|
+
var x = l.options["=".concat(g)];
|
|
2800
2800
|
if (!x) {
|
|
2801
2801
|
if (!Intl.PluralRules)
|
|
2802
|
-
throw new
|
|
2802
|
+
throw new He(`Intl.PluralRules is not available in this environment.
|
|
2803
2803
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2804
2804
|
`, re.MISSING_INTL_API, a);
|
|
2805
|
-
var
|
|
2806
|
-
x = l.options[
|
|
2805
|
+
var H = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
|
|
2806
|
+
x = l.options[H] || l.options.other;
|
|
2807
2807
|
}
|
|
2808
2808
|
if (!x)
|
|
2809
|
-
throw new _t(l.value,
|
|
2810
|
-
s.push.apply(s,
|
|
2809
|
+
throw new _t(l.value, g, Object.keys(l.options), a);
|
|
2810
|
+
s.push.apply(s, ze(x.value, t, r, n, i, g - (l.offset || 0)));
|
|
2811
2811
|
continue;
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
2814
|
return Kn(s);
|
|
2815
2815
|
}
|
|
2816
2816
|
function ei(e, t) {
|
|
2817
|
-
return t ?
|
|
2818
|
-
return r[n] =
|
|
2817
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
2818
|
+
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
|
2819
2819
|
}, {})) : e;
|
|
2820
2820
|
}
|
|
2821
2821
|
function ti(e, t) {
|
|
2822
2822
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
2823
2823
|
return r[n] = ei(e[n], t[n]), r;
|
|
2824
|
-
},
|
|
2824
|
+
}, A({}, e)) : e;
|
|
2825
2825
|
}
|
|
2826
2826
|
function Ue(e) {
|
|
2827
2827
|
return {
|
|
@@ -2883,12 +2883,12 @@ var ni = (
|
|
|
2883
2883
|
var u = o.formatToParts(h);
|
|
2884
2884
|
if (u.length === 1)
|
|
2885
2885
|
return u[0].value;
|
|
2886
|
-
var l = u.reduce(function(d,
|
|
2887
|
-
return !d.length ||
|
|
2886
|
+
var l = u.reduce(function(d, g) {
|
|
2887
|
+
return !d.length || g.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(g.value) : d[d.length - 1] += g.value, d;
|
|
2888
2888
|
}, []);
|
|
2889
2889
|
return l.length <= 1 ? l[0] || "" : l;
|
|
2890
2890
|
}, this.formatToParts = function(h) {
|
|
2891
|
-
return
|
|
2891
|
+
return ze(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
2892
2892
|
}, this.resolvedOptions = function() {
|
|
2893
2893
|
var h;
|
|
2894
2894
|
return {
|
|
@@ -2902,7 +2902,7 @@ var ni = (
|
|
|
2902
2902
|
var a = i || {};
|
|
2903
2903
|
a.formatters;
|
|
2904
2904
|
var s = dn(a, ["formatters"]);
|
|
2905
|
-
this.ast = e.__parse(t,
|
|
2905
|
+
this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
|
|
2906
2906
|
} else
|
|
2907
2907
|
this.ast = t;
|
|
2908
2908
|
if (!Array.isArray(this.ast))
|
|
@@ -3007,7 +3007,7 @@ const J = {}, oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
|
|
|
3007
3007
|
return;
|
|
3008
3008
|
if (t in J && e in J[t])
|
|
3009
3009
|
return J[t][e];
|
|
3010
|
-
const r =
|
|
3010
|
+
const r = Pe(t);
|
|
3011
3011
|
for (let n = 0; n < r.length; n++) {
|
|
3012
3012
|
const i = r[n], o = si(i, e);
|
|
3013
3013
|
if (o)
|
|
@@ -3015,7 +3015,7 @@ const J = {}, oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
|
|
|
3015
3015
|
}
|
|
3016
3016
|
};
|
|
3017
3017
|
let $e;
|
|
3018
|
-
const be =
|
|
3018
|
+
const be = Ne({});
|
|
3019
3019
|
function ai(e) {
|
|
3020
3020
|
return $e[e] || null;
|
|
3021
3021
|
}
|
|
@@ -3031,7 +3031,7 @@ function si(e, t) {
|
|
|
3031
3031
|
function li(e) {
|
|
3032
3032
|
if (e == null)
|
|
3033
3033
|
return;
|
|
3034
|
-
const t =
|
|
3034
|
+
const t = Pe(e);
|
|
3035
3035
|
for (let r = 0; r < t.length; r++) {
|
|
3036
3036
|
const n = t[r];
|
|
3037
3037
|
if (or(n))
|
|
@@ -3046,21 +3046,21 @@ ie(
|
|
|
3046
3046
|
([e]) => Object.keys(e)
|
|
3047
3047
|
);
|
|
3048
3048
|
be.subscribe((e) => $e = e);
|
|
3049
|
-
const
|
|
3049
|
+
const Te = {};
|
|
3050
3050
|
function ci(e, t) {
|
|
3051
|
-
|
|
3051
|
+
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
3052
3052
|
}
|
|
3053
3053
|
function sr(e) {
|
|
3054
|
-
return
|
|
3054
|
+
return Te[e];
|
|
3055
3055
|
}
|
|
3056
3056
|
function ui(e) {
|
|
3057
|
-
return
|
|
3057
|
+
return Pe(e).map((t) => {
|
|
3058
3058
|
const r = sr(t);
|
|
3059
3059
|
return [t, r ? [...r] : []];
|
|
3060
3060
|
}).filter(([, t]) => t.length > 0);
|
|
3061
3061
|
}
|
|
3062
3062
|
function Je(e) {
|
|
3063
|
-
return e == null ? !1 :
|
|
3063
|
+
return e == null ? !1 : Pe(e).some(
|
|
3064
3064
|
(t) => {
|
|
3065
3065
|
var r;
|
|
3066
3066
|
return (r = sr(t)) == null ? void 0 : r.size;
|
|
@@ -3116,18 +3116,18 @@ const di = {
|
|
|
3116
3116
|
timeZoneName: "short"
|
|
3117
3117
|
}
|
|
3118
3118
|
}
|
|
3119
|
-
},
|
|
3119
|
+
}, gi = {
|
|
3120
3120
|
fallbackLocale: null,
|
|
3121
3121
|
loadingDelay: 200,
|
|
3122
3122
|
formats: di,
|
|
3123
3123
|
warnOnMissingMessages: !0,
|
|
3124
3124
|
handleMissingMessage: void 0,
|
|
3125
3125
|
ignoreTag: !0
|
|
3126
|
-
},
|
|
3126
|
+
}, mi = gi;
|
|
3127
3127
|
function ne() {
|
|
3128
|
-
return
|
|
3128
|
+
return mi;
|
|
3129
3129
|
}
|
|
3130
|
-
const De =
|
|
3130
|
+
const De = Ne(!1);
|
|
3131
3131
|
var pi = Object.defineProperty, fi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
|
|
3132
3132
|
for (var r in t || (t = {}))
|
|
3133
3133
|
bi.call(t, r) && vt(e, r, t[r]);
|
|
@@ -3135,23 +3135,23 @@ var pi = Object.defineProperty, fi = Object.defineProperties, _i = Object.getOwn
|
|
|
3135
3135
|
for (var r of bt(t))
|
|
3136
3136
|
vi.call(t, r) && vt(e, r, t[r]);
|
|
3137
3137
|
return e;
|
|
3138
|
-
},
|
|
3138
|
+
}, ki = (e, t) => fi(e, _i(t));
|
|
3139
3139
|
let Qe;
|
|
3140
|
-
const
|
|
3140
|
+
const Me = Ne(null);
|
|
3141
3141
|
function yt(e) {
|
|
3142
3142
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3143
3143
|
}
|
|
3144
|
-
function
|
|
3144
|
+
function Pe(e, t = ne().fallbackLocale) {
|
|
3145
3145
|
const r = yt(e);
|
|
3146
3146
|
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
3147
3147
|
}
|
|
3148
3148
|
function Y() {
|
|
3149
3149
|
return Qe != null ? Qe : void 0;
|
|
3150
3150
|
}
|
|
3151
|
-
|
|
3151
|
+
Me.subscribe((e) => {
|
|
3152
3152
|
Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3153
3153
|
});
|
|
3154
|
-
const
|
|
3154
|
+
const Ei = (e) => {
|
|
3155
3155
|
if (e && li(e) && Je(e)) {
|
|
3156
3156
|
const { loadingDelay: t } = ne();
|
|
3157
3157
|
let r;
|
|
@@ -3159,34 +3159,34 @@ const ki = (e) => {
|
|
|
3159
3159
|
() => De.set(!0),
|
|
3160
3160
|
t
|
|
3161
3161
|
) : De.set(!0), lr(e).then(() => {
|
|
3162
|
-
|
|
3162
|
+
Me.set(e);
|
|
3163
3163
|
}).finally(() => {
|
|
3164
3164
|
clearTimeout(r), De.set(!1);
|
|
3165
3165
|
});
|
|
3166
3166
|
}
|
|
3167
|
-
return
|
|
3168
|
-
}, oe =
|
|
3169
|
-
set:
|
|
3170
|
-
}),
|
|
3167
|
+
return Me.set(e);
|
|
3168
|
+
}, oe = ki(yi({}, Me), {
|
|
3169
|
+
set: Ei
|
|
3170
|
+
}), Be = (e) => {
|
|
3171
3171
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3172
3172
|
return (n) => {
|
|
3173
3173
|
const i = JSON.stringify(n);
|
|
3174
3174
|
return i in t ? t[i] : t[i] = e(n);
|
|
3175
3175
|
};
|
|
3176
3176
|
};
|
|
3177
|
-
var Ci = Object.defineProperty,
|
|
3177
|
+
var Ci = Object.defineProperty, we = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
3178
3178
|
for (var r in t || (t = {}))
|
|
3179
|
-
cr.call(t, r) &&
|
|
3180
|
-
if (
|
|
3181
|
-
for (var r of
|
|
3182
|
-
ur.call(t, r) &&
|
|
3179
|
+
cr.call(t, r) && kt(e, r, t[r]);
|
|
3180
|
+
if (we)
|
|
3181
|
+
for (var r of we(t))
|
|
3182
|
+
ur.call(t, r) && kt(e, r, t[r]);
|
|
3183
3183
|
return e;
|
|
3184
3184
|
}, ae = (e, t) => {
|
|
3185
3185
|
var r = {};
|
|
3186
3186
|
for (var n in e)
|
|
3187
3187
|
cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3188
|
-
if (e != null &&
|
|
3189
|
-
for (var n of
|
|
3188
|
+
if (e != null && we)
|
|
3189
|
+
for (var n of we(e))
|
|
3190
3190
|
t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
|
|
3191
3191
|
return r;
|
|
3192
3192
|
};
|
|
@@ -3195,21 +3195,21 @@ const pe = (e, t) => {
|
|
|
3195
3195
|
if (e in r && t in r[e])
|
|
3196
3196
|
return r[e][t];
|
|
3197
3197
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3198
|
-
}, Si =
|
|
3198
|
+
}, Si = Be(
|
|
3199
3199
|
(e) => {
|
|
3200
3200
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3201
3201
|
if (r == null)
|
|
3202
3202
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3203
3203
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
3204
3204
|
}
|
|
3205
|
-
), xi =
|
|
3205
|
+
), xi = Be(
|
|
3206
3206
|
(e) => {
|
|
3207
3207
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3208
3208
|
if (r == null)
|
|
3209
3209
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3210
3210
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3211
3211
|
}
|
|
3212
|
-
),
|
|
3212
|
+
), zi = Be(
|
|
3213
3213
|
(e) => {
|
|
3214
3214
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3215
3215
|
if (r == null)
|
|
@@ -3218,33 +3218,33 @@ const pe = (e, t) => {
|
|
|
3218
3218
|
);
|
|
3219
3219
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3220
3220
|
}
|
|
3221
|
-
),
|
|
3221
|
+
), Ti = (e = {}) => {
|
|
3222
3222
|
var t = e, {
|
|
3223
3223
|
locale: r = Y()
|
|
3224
3224
|
} = t, n = ae(t, [
|
|
3225
3225
|
"locale"
|
|
3226
3226
|
]);
|
|
3227
3227
|
return Si(et({ locale: r }, n));
|
|
3228
|
-
},
|
|
3228
|
+
}, Mi = (e = {}) => {
|
|
3229
3229
|
var t = e, {
|
|
3230
3230
|
locale: r = Y()
|
|
3231
3231
|
} = t, n = ae(t, [
|
|
3232
3232
|
"locale"
|
|
3233
3233
|
]);
|
|
3234
3234
|
return xi(et({ locale: r }, n));
|
|
3235
|
-
},
|
|
3235
|
+
}, wi = (e = {}) => {
|
|
3236
3236
|
var t = e, {
|
|
3237
3237
|
locale: r = Y()
|
|
3238
3238
|
} = t, n = ae(t, [
|
|
3239
3239
|
"locale"
|
|
3240
3240
|
]);
|
|
3241
|
-
return
|
|
3242
|
-
},
|
|
3241
|
+
return zi(et({ locale: r }, n));
|
|
3242
|
+
}, Ni = Be(
|
|
3243
3243
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3244
3244
|
(e, t = Y()) => new ni(e, t, ne().formats, {
|
|
3245
3245
|
ignoreTag: ne().ignoreTag
|
|
3246
3246
|
})
|
|
3247
|
-
),
|
|
3247
|
+
), Ai = (e, t = {}) => {
|
|
3248
3248
|
var r, n, i, o;
|
|
3249
3249
|
let a = t;
|
|
3250
3250
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3268,20 +3268,20 @@ const pe = (e, t) => {
|
|
|
3268
3268
|
return l;
|
|
3269
3269
|
let d = l;
|
|
3270
3270
|
try {
|
|
3271
|
-
d =
|
|
3272
|
-
} catch (
|
|
3273
|
-
|
|
3271
|
+
d = Ni(l, h).format(s);
|
|
3272
|
+
} catch (g) {
|
|
3273
|
+
g instanceof Error && console.warn(
|
|
3274
3274
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3275
|
-
|
|
3275
|
+
g.message
|
|
3276
3276
|
);
|
|
3277
3277
|
}
|
|
3278
3278
|
return d;
|
|
3279
|
-
},
|
|
3279
|
+
}, Hi = (e, t) => wi(t).format(e), Pi = (e, t) => Mi(t).format(e), Bi = (e, t) => Ti(t).format(e), Oi = (e, t = Y()) => ir(e, t), Ii = ie([oe, be], () => Ai);
|
|
3280
|
+
ie([oe], () => Hi);
|
|
3280
3281
|
ie([oe], () => Pi);
|
|
3281
3282
|
ie([oe], () => Bi);
|
|
3282
|
-
ie([oe], () => zi);
|
|
3283
3283
|
ie([oe, be], () => Oi);
|
|
3284
|
-
function
|
|
3284
|
+
function Et(e, t) {
|
|
3285
3285
|
ar(e, t);
|
|
3286
3286
|
}
|
|
3287
3287
|
function ji(e) {
|
|
@@ -3867,14 +3867,14 @@ function Li(e) {
|
|
|
3867
3867
|
let t, r;
|
|
3868
3868
|
return {
|
|
3869
3869
|
c() {
|
|
3870
|
-
t = st("svg"), r = st("path"),
|
|
3870
|
+
t = st("svg"), r = st("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");
|
|
3871
3871
|
},
|
|
3872
3872
|
m(n, i) {
|
|
3873
3873
|
L(n, t, i), S(t, r);
|
|
3874
3874
|
},
|
|
3875
|
-
p:
|
|
3876
|
-
i:
|
|
3877
|
-
o:
|
|
3875
|
+
p: q,
|
|
3876
|
+
i: q,
|
|
3877
|
+
o: q,
|
|
3878
3878
|
d(n) {
|
|
3879
3879
|
n && j(t);
|
|
3880
3880
|
}
|
|
@@ -3887,7 +3887,7 @@ class Ri extends Lt {
|
|
|
3887
3887
|
}
|
|
3888
3888
|
customElements.define("circle-exclamation-icon", jt(Ri, {}, [], [], !0));
|
|
3889
3889
|
function Ui(e) {
|
|
3890
|
-
Ur(e, "svelte-
|
|
3890
|
+
Ur(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}');
|
|
3891
3891
|
}
|
|
3892
3892
|
function St(e, t, r) {
|
|
3893
3893
|
const n = e.slice();
|
|
@@ -3897,7 +3897,7 @@ function xt(e, t, r) {
|
|
|
3897
3897
|
const n = e.slice();
|
|
3898
3898
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
3899
3899
|
}
|
|
3900
|
-
function
|
|
3900
|
+
function zt(e, t, r) {
|
|
3901
3901
|
const n = e.slice();
|
|
3902
3902
|
return n[64] = t[r], n;
|
|
3903
3903
|
}
|
|
@@ -3907,13 +3907,13 @@ function Di(e) {
|
|
|
3907
3907
|
e[9]
|
|
3908
3908
|
), i = [];
|
|
3909
3909
|
for (let o = 0; o < n.length; o += 1)
|
|
3910
|
-
i[o] =
|
|
3910
|
+
i[o] = Tt(St(e, n, o));
|
|
3911
3911
|
return {
|
|
3912
3912
|
c() {
|
|
3913
|
-
t =
|
|
3913
|
+
t = N("div"), r = N("form");
|
|
3914
3914
|
for (let o = 0; o < i.length; o += 1)
|
|
3915
3915
|
i[o].c();
|
|
3916
|
-
|
|
3916
|
+
E(r, "class", "checkbox svelte-1kygizb"), E(t, "class", "legacyStyle");
|
|
3917
3917
|
},
|
|
3918
3918
|
m(o, a) {
|
|
3919
3919
|
L(o, t, a), S(t, r);
|
|
@@ -3931,7 +3931,7 @@ function Di(e) {
|
|
|
3931
3931
|
let s;
|
|
3932
3932
|
for (s = 0; s < n.length; s += 1) {
|
|
3933
3933
|
const h = St(o, n, s);
|
|
3934
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
3934
|
+
i[s] ? i[s].p(h, a) : (i[s] = Tt(h), i[s].c(), i[s].m(r, null));
|
|
3935
3935
|
}
|
|
3936
3936
|
for (; s < i.length; s += 1)
|
|
3937
3937
|
i[s].d(1);
|
|
@@ -3943,7 +3943,7 @@ function Di(e) {
|
|
|
3943
3943
|
}
|
|
3944
3944
|
};
|
|
3945
3945
|
}
|
|
3946
|
-
function
|
|
3946
|
+
function Gi(e) {
|
|
3947
3947
|
let t = (
|
|
3948
3948
|
/*$_*/
|
|
3949
3949
|
e[16]("title") || /*$_*/
|
|
@@ -3951,74 +3951,74 @@ function qi(e) {
|
|
|
3951
3951
|
), r, n, i, o = (
|
|
3952
3952
|
/*$_*/
|
|
3953
3953
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
3954
|
-
), a, s, h, u, l, d = t &&
|
|
3954
|
+
), a, s, h, u, l, d = t && Mt(e), g = $(
|
|
3955
3955
|
/*consentsCategories*/
|
|
3956
3956
|
e[8]
|
|
3957
3957
|
), v = [];
|
|
3958
|
-
for (let
|
|
3959
|
-
v[
|
|
3958
|
+
for (let m = 0; m < g.length; m += 1)
|
|
3959
|
+
v[m] = Bt(xt(e, g, m));
|
|
3960
3960
|
let f = (
|
|
3961
3961
|
/*errorMessage*/
|
|
3962
3962
|
e[6] && Ot(e)
|
|
3963
3963
|
);
|
|
3964
3964
|
return {
|
|
3965
3965
|
c() {
|
|
3966
|
-
d && d.c(), r =
|
|
3967
|
-
for (let
|
|
3968
|
-
v[
|
|
3969
|
-
n =
|
|
3966
|
+
d && d.c(), r = G();
|
|
3967
|
+
for (let m = 0; m < v.length; m += 1)
|
|
3968
|
+
v[m].c();
|
|
3969
|
+
n = G(), i = N("button"), s = G(), f && f.c(), h = Fr(), E(i, "class", "SaveConsentsButton svelte-1kygizb"), i.disabled = a = !/*isValid*/
|
|
3970
3970
|
e[14];
|
|
3971
3971
|
},
|
|
3972
|
-
m(
|
|
3973
|
-
d && d.m(
|
|
3972
|
+
m(m, C) {
|
|
3973
|
+
d && d.m(m, C), L(m, r, C);
|
|
3974
3974
|
for (let _ = 0; _ < v.length; _ += 1)
|
|
3975
|
-
v[_] && v[_].m(
|
|
3976
|
-
L(
|
|
3975
|
+
v[_] && v[_].m(m, C);
|
|
3976
|
+
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 = ge(
|
|
3977
3977
|
i,
|
|
3978
3978
|
"click",
|
|
3979
3979
|
/*saveChanges*/
|
|
3980
3980
|
e[17]
|
|
3981
3981
|
), u = !0);
|
|
3982
3982
|
},
|
|
3983
|
-
p(
|
|
3983
|
+
p(m, C) {
|
|
3984
3984
|
if (C[0] & /*$_*/
|
|
3985
3985
|
65536 && (t = /*$_*/
|
|
3986
|
-
|
|
3987
|
-
|
|
3986
|
+
m[16]("title") || /*$_*/
|
|
3987
|
+
m[16]("description")), t ? d ? d.p(m, C) : (d = Mt(m), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
3988
3988
|
867088) {
|
|
3989
|
-
|
|
3989
|
+
g = $(
|
|
3990
3990
|
/*consentsCategories*/
|
|
3991
|
-
|
|
3991
|
+
m[8]
|
|
3992
3992
|
);
|
|
3993
3993
|
let _;
|
|
3994
|
-
for (_ = 0; _ <
|
|
3995
|
-
const b = xt(
|
|
3996
|
-
v[_] ? v[_].p(b, C) : (v[_] =
|
|
3994
|
+
for (_ = 0; _ < g.length; _ += 1) {
|
|
3995
|
+
const b = xt(m, g, _);
|
|
3996
|
+
v[_] ? v[_].p(b, C) : (v[_] = Bt(b), v[_].c(), v[_].m(n.parentNode, n));
|
|
3997
3997
|
}
|
|
3998
3998
|
for (; _ < v.length; _ += 1)
|
|
3999
3999
|
v[_].d(1);
|
|
4000
|
-
v.length =
|
|
4000
|
+
v.length = g.length;
|
|
4001
4001
|
}
|
|
4002
4002
|
C[0] & /*$_*/
|
|
4003
4003
|
65536 && o !== (o = /*$_*/
|
|
4004
|
-
(
|
|
4004
|
+
(m[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
|
|
4005
4005
|
16384 && a !== (a = !/*isValid*/
|
|
4006
|
-
|
|
4007
|
-
|
|
4006
|
+
m[14]) && (i.disabled = a), /*errorMessage*/
|
|
4007
|
+
m[6] ? f ? f.p(m, C) : (f = Ot(m), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
4008
4008
|
},
|
|
4009
|
-
d(
|
|
4010
|
-
|
|
4009
|
+
d(m) {
|
|
4010
|
+
m && (j(r), j(n), j(i), j(s), j(h)), d && d.d(m), Ke(v, m), f && f.d(m), u = !1, l();
|
|
4011
4011
|
}
|
|
4012
4012
|
};
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function Fi(e) {
|
|
4015
4015
|
let t, r, n;
|
|
4016
4016
|
return {
|
|
4017
4017
|
c() {
|
|
4018
|
-
t =
|
|
4018
|
+
t = N("div"), r = N("strong"), n = _e(
|
|
4019
4019
|
/*fatalError*/
|
|
4020
4020
|
e[7]
|
|
4021
|
-
),
|
|
4021
|
+
), E(r, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ContainerCenter svelte-1kygizb");
|
|
4022
4022
|
},
|
|
4023
4023
|
m(i, o) {
|
|
4024
4024
|
L(i, t, o), S(t, r), S(r, n);
|
|
@@ -4036,11 +4036,11 @@ function Gi(e) {
|
|
|
4036
4036
|
}
|
|
4037
4037
|
};
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function Vi(e) {
|
|
4040
4040
|
let t;
|
|
4041
4041
|
return {
|
|
4042
4042
|
c() {
|
|
4043
|
-
t =
|
|
4043
|
+
t = N("general-animation-loading"), Q(
|
|
4044
4044
|
t,
|
|
4045
4045
|
"clientstyling",
|
|
4046
4046
|
/*clientstyling*/
|
|
@@ -4086,7 +4086,7 @@ function Fi(e) {
|
|
|
4086
4086
|
}
|
|
4087
4087
|
};
|
|
4088
4088
|
}
|
|
4089
|
-
function
|
|
4089
|
+
function Tt(e) {
|
|
4090
4090
|
let t, r, n, i, o, a, s, h, u = (
|
|
4091
4091
|
/*$_*/
|
|
4092
4092
|
(e[16](`${/*consent*/
|
|
@@ -4095,64 +4095,64 @@ function Mt(e) {
|
|
|
4095
4095
|
), l = (
|
|
4096
4096
|
/*consent*/
|
|
4097
4097
|
e[64].mustAccept ? " *" : ""
|
|
4098
|
-
), d,
|
|
4099
|
-
function
|
|
4098
|
+
), d, g, v, f, m, C, _, b, x;
|
|
4099
|
+
function H(...k) {
|
|
4100
4100
|
return (
|
|
4101
4101
|
/*input_handler_1*/
|
|
4102
4102
|
e[30](
|
|
4103
4103
|
/*consent*/
|
|
4104
4104
|
e[64],
|
|
4105
|
-
...
|
|
4105
|
+
...k
|
|
4106
4106
|
)
|
|
4107
4107
|
);
|
|
4108
4108
|
}
|
|
4109
4109
|
return {
|
|
4110
4110
|
c() {
|
|
4111
|
-
t =
|
|
4112
|
-
e[64].status === "1",
|
|
4113
|
-
e[64].tagCode}__input`), h.a = d,
|
|
4114
|
-
e[64].tagCode}__input`),
|
|
4115
|
-
e[64].tagCode),
|
|
4116
|
-
e[64].tagCode + "__input svelte-
|
|
4111
|
+
t = N("div"), r = N("input"), o = G(), a = N("label"), s = N("div"), h = new Ut(!1), d = _e(l), v = G(), f = N("small"), C = G(), E(r, "class", "checkbox__input svelte-1kygizb"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4112
|
+
e[64].status === "1", E(r, "id", i = `${/*consent*/
|
|
4113
|
+
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*/
|
|
4114
|
+
e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-1kygizb"), E(f, "id", m = "checkBoxError__" + /*consent*/
|
|
4115
|
+
e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4116
|
+
e[64].tagCode + "__input svelte-1kygizb");
|
|
4117
4117
|
},
|
|
4118
|
-
m(
|
|
4119
|
-
L(
|
|
4118
|
+
m(k, B) {
|
|
4119
|
+
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 = ge(r, "input", H), b = !0);
|
|
4120
4120
|
},
|
|
4121
|
-
p(
|
|
4122
|
-
e =
|
|
4121
|
+
p(k, B) {
|
|
4122
|
+
e = k, B[0] & /*playerConsents*/
|
|
4123
4123
|
512 && n !== (n = /*consent*/
|
|
4124
|
-
e[64].status === "1") && (r.checked = n),
|
|
4124
|
+
e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
|
|
4125
4125
|
512 && i !== (i = `${/*consent*/
|
|
4126
|
-
e[64].tagCode}__input`) &&
|
|
4126
|
+
e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
|
|
4127
4127
|
66048 && u !== (u = /*$_*/
|
|
4128
4128
|
(e[16](`${/*consent*/
|
|
4129
4129
|
e[64].tagCode}__description`) || /*consent*/
|
|
4130
|
-
e[64].tagCode) + "") && h.p(u),
|
|
4130
|
+
e[64].tagCode) + "") && h.p(u), B[0] & /*playerConsents*/
|
|
4131
4131
|
512 && l !== (l = /*consent*/
|
|
4132
|
-
e[64].mustAccept ? " *" : "") && fe(d, l),
|
|
4133
|
-
512 &&
|
|
4134
|
-
e[64].tagCode}__input`) &&
|
|
4135
|
-
512 &&
|
|
4136
|
-
e[64].tagCode) &&
|
|
4132
|
+
e[64].mustAccept ? " *" : "") && fe(d, l), B[0] & /*playerConsents*/
|
|
4133
|
+
512 && g !== (g = `${/*consent*/
|
|
4134
|
+
e[64].tagCode}__input`) && E(a, "for", g), B[0] & /*playerConsents*/
|
|
4135
|
+
512 && m !== (m = "checkBoxError__" + /*consent*/
|
|
4136
|
+
e[64].tagCode) && E(f, "id", m), B[0] & /*playerConsents*/
|
|
4137
4137
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4138
|
-
e[64].tagCode + "__input svelte-
|
|
4138
|
+
e[64].tagCode + "__input svelte-1kygizb") && E(t, "class", _);
|
|
4139
4139
|
},
|
|
4140
|
-
d(
|
|
4141
|
-
|
|
4140
|
+
d(k) {
|
|
4141
|
+
k && j(t), b = !1, x();
|
|
4142
4142
|
}
|
|
4143
4143
|
};
|
|
4144
4144
|
}
|
|
4145
|
-
function
|
|
4145
|
+
function Mt(e) {
|
|
4146
4146
|
let t, r = (
|
|
4147
4147
|
/*$_*/
|
|
4148
4148
|
e[16]("title")
|
|
4149
4149
|
), n, i = (
|
|
4150
4150
|
/*$_*/
|
|
4151
4151
|
e[16]("description")
|
|
4152
|
-
), o = r &&
|
|
4152
|
+
), o = r && wt(e), a = i && Nt(e);
|
|
4153
4153
|
return {
|
|
4154
4154
|
c() {
|
|
4155
|
-
t =
|
|
4155
|
+
t = N("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-1kygizb");
|
|
4156
4156
|
},
|
|
4157
4157
|
m(s, h) {
|
|
4158
4158
|
L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
|
|
@@ -4160,23 +4160,23 @@ function wt(e) {
|
|
|
4160
4160
|
p(s, h) {
|
|
4161
4161
|
h[0] & /*$_*/
|
|
4162
4162
|
65536 && (r = /*$_*/
|
|
4163
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
4163
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = wt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
4164
4164
|
65536 && (i = /*$_*/
|
|
4165
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
4165
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = Nt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4166
4166
|
},
|
|
4167
4167
|
d(s) {
|
|
4168
4168
|
s && j(t), o && o.d(), a && a.d();
|
|
4169
4169
|
}
|
|
4170
4170
|
};
|
|
4171
4171
|
}
|
|
4172
|
-
function
|
|
4172
|
+
function wt(e) {
|
|
4173
4173
|
let t, r = (
|
|
4174
4174
|
/*$_*/
|
|
4175
4175
|
e[16]("title") + ""
|
|
4176
4176
|
), n;
|
|
4177
4177
|
return {
|
|
4178
4178
|
c() {
|
|
4179
|
-
t =
|
|
4179
|
+
t = N("h2"), n = _e(r), E(t, "class", "PlayerConsentsTitle");
|
|
4180
4180
|
},
|
|
4181
4181
|
m(i, o) {
|
|
4182
4182
|
L(i, t, o), S(t, n);
|
|
@@ -4191,14 +4191,14 @@ function Nt(e) {
|
|
|
4191
4191
|
}
|
|
4192
4192
|
};
|
|
4193
4193
|
}
|
|
4194
|
-
function
|
|
4194
|
+
function Nt(e) {
|
|
4195
4195
|
let t, r = (
|
|
4196
4196
|
/*$_*/
|
|
4197
4197
|
e[16]("description") + ""
|
|
4198
4198
|
), n;
|
|
4199
4199
|
return {
|
|
4200
4200
|
c() {
|
|
4201
|
-
t =
|
|
4201
|
+
t = N("p"), n = _e(r), E(t, "class", "PlayerConsentsDescription");
|
|
4202
4202
|
},
|
|
4203
4203
|
m(i, o) {
|
|
4204
4204
|
L(i, t, o), S(t, n);
|
|
@@ -4213,11 +4213,11 @@ function At(e) {
|
|
|
4213
4213
|
}
|
|
4214
4214
|
};
|
|
4215
4215
|
}
|
|
4216
|
-
function
|
|
4216
|
+
function At(e) {
|
|
4217
4217
|
let t;
|
|
4218
4218
|
return {
|
|
4219
4219
|
c() {
|
|
4220
|
-
t =
|
|
4220
|
+
t = N("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-1kygizb");
|
|
4221
4221
|
},
|
|
4222
4222
|
m(r, n) {
|
|
4223
4223
|
L(r, t, n);
|
|
@@ -4227,7 +4227,7 @@ function Ht(e) {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
};
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4230
|
+
function Ht(e) {
|
|
4231
4231
|
let t, r = (
|
|
4232
4232
|
/*$_*/
|
|
4233
4233
|
(e[16](`${/*consent*/
|
|
@@ -4236,7 +4236,7 @@ function Pt(e) {
|
|
|
4236
4236
|
);
|
|
4237
4237
|
return {
|
|
4238
4238
|
c() {
|
|
4239
|
-
t =
|
|
4239
|
+
t = N("p"), E(t, "class", "ConsentDescription svelte-1kygizb");
|
|
4240
4240
|
},
|
|
4241
4241
|
m(n, i) {
|
|
4242
4242
|
L(n, t, i), t.innerHTML = r;
|
|
@@ -4253,77 +4253,77 @@ function Pt(e) {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
};
|
|
4255
4255
|
}
|
|
4256
|
-
function
|
|
4256
|
+
function Pt(e) {
|
|
4257
4257
|
let t, r, n, i, o = (
|
|
4258
4258
|
/*$_*/
|
|
4259
4259
|
(e[16](`${/*consent*/
|
|
4260
4260
|
e[64].tagCode}__name`) || /*consent*/
|
|
4261
4261
|
e[64].friendlyName) + ""
|
|
4262
|
-
), a, s, h, u, l, d,
|
|
4262
|
+
), a, s, h, u, l, d, g, v, f, m, C, _ = (
|
|
4263
4263
|
/*consent*/
|
|
4264
|
-
e[64].mustAccept === !0 &&
|
|
4264
|
+
e[64].mustAccept === !0 && At()
|
|
4265
4265
|
), b = (
|
|
4266
4266
|
/*displayconsentdescription*/
|
|
4267
|
-
e[4] === "true" &&
|
|
4267
|
+
e[4] === "true" && Ht(e)
|
|
4268
4268
|
);
|
|
4269
|
-
function x(...
|
|
4269
|
+
function x(...H) {
|
|
4270
4270
|
return (
|
|
4271
4271
|
/*input_handler*/
|
|
4272
4272
|
e[29](
|
|
4273
4273
|
/*consent*/
|
|
4274
4274
|
e[64],
|
|
4275
|
-
...
|
|
4275
|
+
...H
|
|
4276
4276
|
)
|
|
4277
4277
|
);
|
|
4278
4278
|
}
|
|
4279
4279
|
return {
|
|
4280
4280
|
c() {
|
|
4281
|
-
t =
|
|
4281
|
+
t = N("div"), r = N("div"), n = N("h4"), i = new Ut(!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*/
|
|
4282
4282
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4283
4283
|
e[12][
|
|
4284
4284
|
/*consent*/
|
|
4285
4285
|
e[64].tagCode
|
|
4286
|
-
] === !0, l.checked =
|
|
4286
|
+
] === !0, l.checked = g = /*consentsState*/
|
|
4287
4287
|
e[13][
|
|
4288
4288
|
/*consent*/
|
|
4289
4289
|
e[64].tagCode
|
|
4290
|
-
],
|
|
4290
|
+
], E(l, "class", "svelte-1kygizb"), E(f, "class", "Slider Round svelte-1kygizb"), E(u, "class", "ToggleSwitch svelte-1kygizb"), E(t, "class", "ConsentItem svelte-1kygizb");
|
|
4291
4291
|
},
|
|
4292
|
-
m(
|
|
4293
|
-
L(
|
|
4292
|
+
m(H, k) {
|
|
4293
|
+
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 = ge(l, "input", x), m = !0);
|
|
4294
4294
|
},
|
|
4295
|
-
p(
|
|
4296
|
-
e =
|
|
4295
|
+
p(H, k) {
|
|
4296
|
+
e = H, k[0] & /*$_, playerConsents, consentsCategories*/
|
|
4297
4297
|
66304 && o !== (o = /*$_*/
|
|
4298
4298
|
(e[16](`${/*consent*/
|
|
4299
4299
|
e[64].tagCode}__name`) || /*consent*/
|
|
4300
4300
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
4301
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
4302
|
-
e[4] === "true" ? b ? b.p(e,
|
|
4301
|
+
e[64].mustAccept === !0 ? _ || (_ = At(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
4302
|
+
e[4] === "true" ? b ? b.p(e, k) : (b = Ht(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
4303
4303
|
4864 && d !== (d = /*consent*/
|
|
4304
4304
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4305
4305
|
e[12][
|
|
4306
4306
|
/*consent*/
|
|
4307
4307
|
e[64].tagCode
|
|
4308
|
-
] === !0) && (l.disabled = d),
|
|
4309
|
-
8960 &&
|
|
4308
|
+
] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
4309
|
+
8960 && g !== (g = /*consentsState*/
|
|
4310
4310
|
e[13][
|
|
4311
4311
|
/*consent*/
|
|
4312
4312
|
e[64].tagCode
|
|
4313
|
-
]) && (l.checked =
|
|
4313
|
+
]) && (l.checked = g);
|
|
4314
4314
|
},
|
|
4315
|
-
d(
|
|
4316
|
-
|
|
4315
|
+
d(H) {
|
|
4316
|
+
H && j(t), _ && _.d(), b && b.d(), m = !1, C();
|
|
4317
4317
|
}
|
|
4318
4318
|
};
|
|
4319
4319
|
}
|
|
4320
|
-
function
|
|
4320
|
+
function Bt(e) {
|
|
4321
4321
|
let t, r, n, i = (
|
|
4322
4322
|
/*$_*/
|
|
4323
4323
|
(e[16](`${/*category*/
|
|
4324
4324
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4325
4325
|
e[61].friendlyName) + ""
|
|
4326
|
-
), o, a, s, h, u, l, d,
|
|
4326
|
+
), o, a, s, h, u, l, d, g, v;
|
|
4327
4327
|
function f() {
|
|
4328
4328
|
e[26].call(
|
|
4329
4329
|
s,
|
|
@@ -4331,7 +4331,7 @@ function zt(e) {
|
|
|
4331
4331
|
e[61]
|
|
4332
4332
|
);
|
|
4333
4333
|
}
|
|
4334
|
-
function
|
|
4334
|
+
function m() {
|
|
4335
4335
|
return (
|
|
4336
4336
|
/*change_handler*/
|
|
4337
4337
|
e[27](
|
|
@@ -4355,55 +4355,55 @@ function zt(e) {
|
|
|
4355
4355
|
e[9].filter(C)
|
|
4356
4356
|
), b = [];
|
|
4357
4357
|
for (let x = 0; x < _.length; x += 1)
|
|
4358
|
-
b[x] =
|
|
4358
|
+
b[x] = Pt(zt(e, _, x));
|
|
4359
4359
|
return {
|
|
4360
4360
|
c() {
|
|
4361
|
-
t =
|
|
4361
|
+
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");
|
|
4362
4362
|
for (let x = 0; x < b.length; x += 1)
|
|
4363
4363
|
b[x].c();
|
|
4364
|
-
|
|
4364
|
+
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");
|
|
4365
4365
|
},
|
|
4366
|
-
m(x,
|
|
4367
|
-
L(x, t,
|
|
4366
|
+
m(x, H) {
|
|
4367
|
+
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*/
|
|
4368
4368
|
e[11][
|
|
4369
4369
|
/*category*/
|
|
4370
4370
|
e[61].categoryTagCode
|
|
4371
4371
|
], S(a, h), S(a, u), S(t, l), S(t, d);
|
|
4372
|
-
for (let
|
|
4373
|
-
b[
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
],
|
|
4372
|
+
for (let k = 0; k < b.length; k += 1)
|
|
4373
|
+
b[k] && b[k].m(d, null);
|
|
4374
|
+
g || (v = [
|
|
4375
|
+
ge(s, "change", f),
|
|
4376
|
+
ge(s, "change", m)
|
|
4377
|
+
], g = !0);
|
|
4378
4378
|
},
|
|
4379
|
-
p(x,
|
|
4380
|
-
if (e = x,
|
|
4379
|
+
p(x, H) {
|
|
4380
|
+
if (e = x, H[0] & /*$_, consentsCategories*/
|
|
4381
4381
|
65792 && i !== (i = /*$_*/
|
|
4382
4382
|
(e[16](`${/*category*/
|
|
4383
4383
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4384
|
-
e[61].friendlyName) + "") && (n.innerHTML = i),
|
|
4384
|
+
e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
|
|
4385
4385
|
2304 && (s.checked = /*categoryToggle*/
|
|
4386
4386
|
e[11][
|
|
4387
4387
|
/*category*/
|
|
4388
4388
|
e[61].categoryTagCode
|
|
4389
|
-
]),
|
|
4389
|
+
]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
4390
4390
|
602896) {
|
|
4391
4391
|
_ = $(
|
|
4392
4392
|
/*playerConsents*/
|
|
4393
4393
|
e[9].filter(C)
|
|
4394
4394
|
);
|
|
4395
|
-
let
|
|
4396
|
-
for (
|
|
4397
|
-
const
|
|
4398
|
-
b[
|
|
4395
|
+
let k;
|
|
4396
|
+
for (k = 0; k < _.length; k += 1) {
|
|
4397
|
+
const B = zt(e, _, k);
|
|
4398
|
+
b[k] ? b[k].p(B, H) : (b[k] = Pt(B), b[k].c(), b[k].m(d, null));
|
|
4399
4399
|
}
|
|
4400
|
-
for (;
|
|
4401
|
-
b[
|
|
4400
|
+
for (; k < b.length; k += 1)
|
|
4401
|
+
b[k].d(1);
|
|
4402
4402
|
b.length = _.length;
|
|
4403
4403
|
}
|
|
4404
4404
|
},
|
|
4405
4405
|
d(x) {
|
|
4406
|
-
x && j(t), Ke(b, x),
|
|
4406
|
+
x && j(t), Ke(b, x), g = !1, It(v);
|
|
4407
4407
|
}
|
|
4408
4408
|
};
|
|
4409
4409
|
}
|
|
@@ -4411,10 +4411,10 @@ function Ot(e) {
|
|
|
4411
4411
|
let t, r, n, i, o;
|
|
4412
4412
|
return {
|
|
4413
4413
|
c() {
|
|
4414
|
-
t =
|
|
4414
|
+
t = N("div"), r = N("circle-exclamation-icon"), n = G(), i = N("strong"), o = _e(
|
|
4415
4415
|
/*errorMessage*/
|
|
4416
4416
|
e[6]
|
|
4417
|
-
), Q(r, "class", "svelte-
|
|
4417
|
+
), Q(r, "class", "svelte-1kygizb"), E(i, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ConsentErrorContainer svelte-1kygizb");
|
|
4418
4418
|
},
|
|
4419
4419
|
m(a, s) {
|
|
4420
4420
|
L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
|
|
@@ -4432,24 +4432,24 @@ function Ot(e) {
|
|
|
4432
4432
|
}
|
|
4433
4433
|
};
|
|
4434
4434
|
}
|
|
4435
|
-
function
|
|
4435
|
+
function Xi(e) {
|
|
4436
4436
|
let t, r;
|
|
4437
4437
|
function n(a, s) {
|
|
4438
4438
|
if (
|
|
4439
4439
|
/*isLoading*/
|
|
4440
4440
|
a[10]
|
|
4441
4441
|
)
|
|
4442
|
-
return
|
|
4442
|
+
return Vi;
|
|
4443
4443
|
if (
|
|
4444
4444
|
/*fatalError*/
|
|
4445
4445
|
a[7]
|
|
4446
4446
|
)
|
|
4447
|
-
return
|
|
4447
|
+
return Fi;
|
|
4448
4448
|
if (
|
|
4449
4449
|
/*session*/
|
|
4450
4450
|
a[0]
|
|
4451
4451
|
)
|
|
4452
|
-
return
|
|
4452
|
+
return Gi;
|
|
4453
4453
|
if (!/*session*/
|
|
4454
4454
|
a[0])
|
|
4455
4455
|
return Di;
|
|
@@ -4457,7 +4457,7 @@ function Vi(e) {
|
|
|
4457
4457
|
let i = n(e), o = i && i(e);
|
|
4458
4458
|
return {
|
|
4459
4459
|
c() {
|
|
4460
|
-
t =
|
|
4460
|
+
t = N("div"), r = N("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-1kygizb"), E(t, "class", Vr("") + " svelte-1kygizb");
|
|
4461
4461
|
},
|
|
4462
4462
|
m(a, s) {
|
|
4463
4463
|
L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
|
|
@@ -4465,64 +4465,64 @@ function Vi(e) {
|
|
|
4465
4465
|
p(a, s) {
|
|
4466
4466
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
4467
4467
|
},
|
|
4468
|
-
i:
|
|
4469
|
-
o:
|
|
4468
|
+
i: q,
|
|
4469
|
+
o: q,
|
|
4470
4470
|
d(a) {
|
|
4471
4471
|
a && j(t), o && o.d(), e[32](null);
|
|
4472
4472
|
}
|
|
4473
4473
|
};
|
|
4474
4474
|
}
|
|
4475
|
-
function
|
|
4475
|
+
function qi(e, t, r) {
|
|
4476
4476
|
let n;
|
|
4477
4477
|
Dr(e, Ii, (c) => r(16, n = c));
|
|
4478
|
-
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:
|
|
4478
|
+
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 = [], se = !0, ve = !0, F = {}, ye = {}, Z = {}, U = {}, le, ke, R = {
|
|
4479
4479
|
none: { key: "0", value: "None" },
|
|
4480
4480
|
accepted: { key: "1", value: "Accepted" },
|
|
4481
4481
|
expired: { key: "2", value: "Expired" },
|
|
4482
4482
|
denied: { key: "3", value: "Denied" },
|
|
4483
4483
|
suspended: { key: "4", value: "Suspended" }
|
|
4484
|
-
},
|
|
4484
|
+
}, Ee = !1;
|
|
4485
4485
|
Object.keys(Ct).forEach((c) => {
|
|
4486
|
-
|
|
4486
|
+
Et(c, Ct[c]);
|
|
4487
4487
|
});
|
|
4488
4488
|
const hr = () => {
|
|
4489
4489
|
ji(l);
|
|
4490
4490
|
}, dr = () => {
|
|
4491
|
-
let c = new URL(
|
|
4491
|
+
let c = new URL(g);
|
|
4492
4492
|
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
4493
|
-
Object.keys(p).forEach((
|
|
4494
|
-
|
|
4493
|
+
Object.keys(p).forEach((T) => {
|
|
4494
|
+
Et(T, p[T]);
|
|
4495
4495
|
});
|
|
4496
4496
|
}).catch((p) => {
|
|
4497
4497
|
console.log(p);
|
|
4498
4498
|
});
|
|
4499
|
-
},
|
|
4499
|
+
}, gr = () => {
|
|
4500
4500
|
i && (_ = i, C = !0), o && (b = o);
|
|
4501
4501
|
}, Ce = (c, p = !1) => {
|
|
4502
|
-
p ? r(7,
|
|
4503
|
-
}, ce = (c, p,
|
|
4502
|
+
p ? r(7, H = c) : (vr(), r(6, x = c));
|
|
4503
|
+
}, ce = (c, p, T, y = !1) => he(this, null, function* () {
|
|
4504
4504
|
try {
|
|
4505
|
-
const
|
|
4506
|
-
if (!
|
|
4505
|
+
const z = yield fetch(c, T);
|
|
4506
|
+
if (!z.ok)
|
|
4507
4507
|
throw new Error(n(p));
|
|
4508
|
-
const I = yield
|
|
4509
|
-
return C ? I : I.filter((
|
|
4510
|
-
} catch (
|
|
4508
|
+
const I = yield z.json();
|
|
4509
|
+
return C ? I : I.filter((V) => V.showOnRegister === !0);
|
|
4510
|
+
} catch (z) {
|
|
4511
4511
|
throw Ce(
|
|
4512
|
-
|
|
4512
|
+
z instanceof TypeError ? n(p) : z.message,
|
|
4513
4513
|
y
|
|
4514
|
-
),
|
|
4514
|
+
), z;
|
|
4515
4515
|
}
|
|
4516
|
-
}),
|
|
4516
|
+
}), mr = () => he(this, null, function* () {
|
|
4517
4517
|
try {
|
|
4518
4518
|
let c = [], p = [];
|
|
4519
|
-
if (C ? [c, p] = yield tt() : c = yield tt(), r(10, se = !1),
|
|
4520
|
-
let y = O.find((
|
|
4521
|
-
y || (y = at(W({},
|
|
4519
|
+
if (C ? [c, p] = yield tt() : c = yield tt(), r(10, se = !1), B = [...c], r(8, k = fr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, F = _r(k)), ye = W({}, F), r(9, O = [...p]), B.forEach((T) => {
|
|
4520
|
+
let y = O.find((z) => z.tagCode === T.tagCode);
|
|
4521
|
+
y || (y = at(W({}, T), {
|
|
4522
4522
|
status: R.denied.value
|
|
4523
|
-
}), O.push(y)), y.description =
|
|
4523
|
+
}), O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
|
|
4524
4524
|
}), v === "true") {
|
|
4525
|
-
if (r(9, O = O.filter((
|
|
4525
|
+
if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
|
|
4526
4526
|
return;
|
|
4527
4527
|
Ce(n("wrongModalConfig"), !0);
|
|
4528
4528
|
}
|
|
@@ -4549,28 +4549,28 @@ function Xi(e, t, r) {
|
|
|
4549
4549
|
})
|
|
4550
4550
|
]);
|
|
4551
4551
|
}), pr = () => {
|
|
4552
|
-
|
|
4552
|
+
Ee = !1;
|
|
4553
4553
|
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
4554
4554
|
"Content-Type": "application/json",
|
|
4555
4555
|
Accept: "application/json"
|
|
4556
|
-
},
|
|
4557
|
-
fetch(c.href,
|
|
4558
|
-
if (!
|
|
4559
|
-
if (
|
|
4556
|
+
}, T = { method: "GET", headers: p };
|
|
4557
|
+
fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((z) => (console.error(z), Se(z))))).then((y) => {
|
|
4558
|
+
if (!Ee) {
|
|
4559
|
+
if (B = y, localStorage.getItem("playerConsents")) {
|
|
4560
4560
|
try {
|
|
4561
4561
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
4562
|
-
} catch (
|
|
4563
|
-
return console.error(
|
|
4562
|
+
} catch (z) {
|
|
4563
|
+
return console.error(z), Se(z);
|
|
4564
4564
|
}
|
|
4565
4565
|
return;
|
|
4566
4566
|
}
|
|
4567
|
-
return r(9, O =
|
|
4568
|
-
id:
|
|
4567
|
+
return r(9, O = B.map((z) => ({
|
|
4568
|
+
id: z.id,
|
|
4569
4569
|
status: R.denied.key,
|
|
4570
|
-
friendlyName:
|
|
4571
|
-
tagCode:
|
|
4570
|
+
friendlyName: z.friendlyName,
|
|
4571
|
+
tagCode: z.tagCode,
|
|
4572
4572
|
selected: null,
|
|
4573
|
-
mustAccept:
|
|
4573
|
+
mustAccept: z.mustAccept
|
|
4574
4574
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
4575
4575
|
}
|
|
4576
4576
|
}).catch((y) => (console.error(y), Se(y))).finally(() => {
|
|
@@ -4578,17 +4578,17 @@ function Xi(e, t, r) {
|
|
|
4578
4578
|
});
|
|
4579
4579
|
}, fr = (c) => {
|
|
4580
4580
|
const p = /* @__PURE__ */ new Map();
|
|
4581
|
-
return c.forEach((
|
|
4582
|
-
p.has(
|
|
4581
|
+
return c.forEach((T) => {
|
|
4582
|
+
p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
|
|
4583
4583
|
}), Array.from(p.values());
|
|
4584
4584
|
}, _r = (c) => {
|
|
4585
4585
|
const p = localStorage.getItem("categoryToggle" + b);
|
|
4586
4586
|
if (p === null) {
|
|
4587
|
-
const
|
|
4588
|
-
(y,
|
|
4587
|
+
const T = c.reduce(
|
|
4588
|
+
(y, z) => (y[z.categoryTagCode] = !1, y),
|
|
4589
4589
|
{}
|
|
4590
4590
|
);
|
|
4591
|
-
return localStorage.setItem("categoryToggle" + b, JSON.stringify(
|
|
4591
|
+
return localStorage.setItem("categoryToggle" + b, JSON.stringify(T)), T;
|
|
4592
4592
|
} else
|
|
4593
4593
|
return JSON.parse(p);
|
|
4594
4594
|
}, br = () => {
|
|
@@ -4596,15 +4596,15 @@ function Xi(e, t, r) {
|
|
|
4596
4596
|
r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
|
|
4597
4597
|
}), r(13, U = W({}, Z));
|
|
4598
4598
|
}, vr = () => {
|
|
4599
|
-
r(13, U = W({}, Z)), r(11,
|
|
4599
|
+
r(13, U = W({}, Z)), r(11, F = W({}, ye));
|
|
4600
4600
|
}, yr = () => he(this, null, function* () {
|
|
4601
4601
|
if (!ve)
|
|
4602
4602
|
return;
|
|
4603
4603
|
ve = !1;
|
|
4604
4604
|
const c = [], p = [];
|
|
4605
4605
|
if (Object.keys(U).forEach((y) => {
|
|
4606
|
-
const
|
|
4607
|
-
U[y] !== Z[y] && (
|
|
4606
|
+
const z = O.find((I) => I.tagCode === y);
|
|
4607
|
+
U[y] !== Z[y] && (z ? c.push({
|
|
4608
4608
|
tagCode: y,
|
|
4609
4609
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
4610
4610
|
}) : p.push({
|
|
@@ -4612,7 +4612,7 @@ function Xi(e, t, r) {
|
|
|
4612
4612
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
4613
4613
|
}));
|
|
4614
4614
|
}), !C) {
|
|
4615
|
-
localStorage.setItem("categoryToggle" + b, JSON.stringify(
|
|
4615
|
+
localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), ye = W({}, F), window.postMessage(
|
|
4616
4616
|
{
|
|
4617
4617
|
type: "NewPlayerConsentData",
|
|
4618
4618
|
data: JSON.stringify(p)
|
|
@@ -4621,10 +4621,10 @@ function Xi(e, t, r) {
|
|
|
4621
4621
|
), ve = !0;
|
|
4622
4622
|
return;
|
|
4623
4623
|
}
|
|
4624
|
-
const
|
|
4624
|
+
const T = new URL(`${a}/api/v1/gm/user-consents/${b}`);
|
|
4625
4625
|
try {
|
|
4626
4626
|
const y = yield Promise.allSettled([
|
|
4627
|
-
p.length > 0 && ce(
|
|
4627
|
+
p.length > 0 && ce(T.href, "updateConsentsError", {
|
|
4628
4628
|
method: "POST",
|
|
4629
4629
|
headers: {
|
|
4630
4630
|
"X-SessionId": _,
|
|
@@ -4632,7 +4632,7 @@ function Xi(e, t, r) {
|
|
|
4632
4632
|
},
|
|
4633
4633
|
body: JSON.stringify({ userConsents: p })
|
|
4634
4634
|
}),
|
|
4635
|
-
c.length > 0 && ce(
|
|
4635
|
+
c.length > 0 && ce(T.href, "updateConsentsError", {
|
|
4636
4636
|
method: "PATCH",
|
|
4637
4637
|
headers: {
|
|
4638
4638
|
"X-SessionId": _,
|
|
@@ -4641,12 +4641,12 @@ function Xi(e, t, r) {
|
|
|
4641
4641
|
body: JSON.stringify({ userConsents: c })
|
|
4642
4642
|
})
|
|
4643
4643
|
]);
|
|
4644
|
-
y.forEach((
|
|
4645
|
-
if (
|
|
4646
|
-
const
|
|
4647
|
-
r(13, U[
|
|
4644
|
+
y.forEach((z, I) => {
|
|
4645
|
+
if (z.status === "rejected" || z.value.ok === !1) {
|
|
4646
|
+
const V = I < p.length ? p[I] : c[I - p.length];
|
|
4647
|
+
r(13, U[V.tagCode] = Z[V.tagCode], U);
|
|
4648
4648
|
}
|
|
4649
|
-
}), y.every((
|
|
4649
|
+
}), y.every((z) => z.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), ye = W({}, F), window.postMessage(
|
|
4650
4650
|
{
|
|
4651
4651
|
type: "PlayerConsentUpdated",
|
|
4652
4652
|
success: !0
|
|
@@ -4664,56 +4664,56 @@ function Xi(e, t, r) {
|
|
|
4664
4664
|
} finally {
|
|
4665
4665
|
ve = !0, r(14, le = !1);
|
|
4666
4666
|
}
|
|
4667
|
-
}),
|
|
4668
|
-
const p = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
4667
|
+
}), kr = (c) => {
|
|
4668
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
|
|
4669
4669
|
"Content-Type": "application/json",
|
|
4670
4670
|
Accept: "application/json"
|
|
4671
4671
|
}, y = {
|
|
4672
4672
|
playerConsents: O,
|
|
4673
4673
|
registrationId: c
|
|
4674
|
-
},
|
|
4674
|
+
}, z = {
|
|
4675
4675
|
method: "POST",
|
|
4676
4676
|
body: JSON.stringify(y),
|
|
4677
|
-
headers:
|
|
4677
|
+
headers: T
|
|
4678
4678
|
};
|
|
4679
|
-
fetch(p.href,
|
|
4680
|
-
I.ok || (
|
|
4679
|
+
fetch(p.href, z).then((I) => {
|
|
4680
|
+
I.ok || (Ee = !0);
|
|
4681
4681
|
}).catch((I) => (console.error(I), Se(I))).finally(() => {
|
|
4682
4682
|
r(10, se = !1);
|
|
4683
4683
|
});
|
|
4684
4684
|
}, rt = (c) => {
|
|
4685
4685
|
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
4686
|
-
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] =
|
|
4686
|
+
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[c] || !1, U);
|
|
4687
4687
|
}), r(14, le = nt());
|
|
4688
|
-
}, Oe = (c, p,
|
|
4689
|
-
const y = O.find((
|
|
4688
|
+
}, Oe = (c, p, T) => {
|
|
4689
|
+
const y = O.find((V) => V.id === T), z = p ? "value" : "key";
|
|
4690
4690
|
let I;
|
|
4691
4691
|
if (!p && y.mustAccept) {
|
|
4692
|
-
const
|
|
4693
|
-
for (const ue of
|
|
4694
|
-
if (I = Array.from(ue.children).find((
|
|
4692
|
+
const V = Array.from(ke.children);
|
|
4693
|
+
for (const ue of V)
|
|
4694
|
+
if (I = Array.from(ue.children).find((Hr) => Hr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
|
|
4695
4695
|
break;
|
|
4696
4696
|
}
|
|
4697
|
-
if (y.status === R.accepted[
|
|
4697
|
+
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) {
|
|
4698
4698
|
r(13, U[y.tagCode] = !U[y.tagCode], U);
|
|
4699
|
-
const
|
|
4700
|
-
r(11,
|
|
4699
|
+
const V = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
|
|
4700
|
+
r(11, F[p.categoryTagCode] = V, F);
|
|
4701
4701
|
}
|
|
4702
|
-
|
|
4703
|
-
},
|
|
4704
|
-
let
|
|
4702
|
+
Er();
|
|
4703
|
+
}, Er = ((c, p) => {
|
|
4704
|
+
let T;
|
|
4705
4705
|
return function(...y) {
|
|
4706
|
-
const
|
|
4707
|
-
clearTimeout(
|
|
4706
|
+
const z = this;
|
|
4707
|
+
clearTimeout(T), T = setTimeout(
|
|
4708
4708
|
() => {
|
|
4709
|
-
c.apply(
|
|
4709
|
+
c.apply(z, y);
|
|
4710
4710
|
},
|
|
4711
4711
|
p
|
|
4712
4712
|
);
|
|
4713
4713
|
};
|
|
4714
4714
|
})(() => Cr(), 500), Cr = () => {
|
|
4715
4715
|
r(14, le = nt()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
4716
|
-
}, nt = () => O.filter((p) => O.some((
|
|
4716
|
+
}, nt = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Se = (c) => {
|
|
4717
4717
|
window.postMessage(
|
|
4718
4718
|
{
|
|
4719
4719
|
type: "WidgetNotification",
|
|
@@ -4722,12 +4722,12 @@ function Xi(e, t, r) {
|
|
|
4722
4722
|
window.location.href
|
|
4723
4723
|
);
|
|
4724
4724
|
}, Sr = (c) => {
|
|
4725
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
4725
|
+
c.data && c.data.type !== "setUpPlayerConsents" || kr(c.data.registerid);
|
|
4726
4726
|
};
|
|
4727
|
-
|
|
4727
|
+
Gr(() => {
|
|
4728
4728
|
setTimeout(
|
|
4729
4729
|
() => {
|
|
4730
|
-
r(25,
|
|
4730
|
+
r(25, m = !0);
|
|
4731
4731
|
},
|
|
4732
4732
|
50
|
|
4733
4733
|
);
|
|
@@ -4737,30 +4737,30 @@ function Xi(e, t, r) {
|
|
|
4737
4737
|
};
|
|
4738
4738
|
});
|
|
4739
4739
|
function xr(c) {
|
|
4740
|
-
|
|
4740
|
+
F[c.categoryTagCode] = this.checked, r(11, F);
|
|
4741
4741
|
}
|
|
4742
|
-
const
|
|
4743
|
-
function
|
|
4742
|
+
const zr = (c) => rt(c.categoryTagCode), Tr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => Oe(p, c.category, c.id), wr = (c, p) => Oe(p, null, c.id);
|
|
4743
|
+
function Nr(c) {
|
|
4744
4744
|
lt[c ? "unshift" : "push"](() => {
|
|
4745
|
-
|
|
4745
|
+
ke = c, r(15, ke);
|
|
4746
4746
|
});
|
|
4747
4747
|
}
|
|
4748
|
-
function
|
|
4748
|
+
function Ar(c) {
|
|
4749
4749
|
lt[c ? "unshift" : "push"](() => {
|
|
4750
4750
|
f = c, r(5, f);
|
|
4751
4751
|
});
|
|
4752
4752
|
}
|
|
4753
4753
|
return e.$$set = (c) => {
|
|
4754
|
-
"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,
|
|
4754
|
+
"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);
|
|
4755
4755
|
}, e.$$.update = () => {
|
|
4756
4756
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
4757
|
-
33554433 &&
|
|
4757
|
+
33554433 && m && i && (gr(), mr()), e.$$.dirty[0] & /*session*/
|
|
4758
4758
|
1 && (i || pr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4759
|
-
34 && s && f &&
|
|
4760
|
-
36 && h && f &&
|
|
4759
|
+
34 && s && f && Xr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4760
|
+
36 && h && f && qr(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4761
4761
|
40 && f && Wr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
4762
4762
|
4194304 && l && hr(), e.$$.dirty[0] & /*translationurl*/
|
|
4763
|
-
8388608 &&
|
|
4763
|
+
8388608 && g && dr();
|
|
4764
4764
|
}, [
|
|
4765
4765
|
i,
|
|
4766
4766
|
s,
|
|
@@ -4769,15 +4769,15 @@ function Xi(e, t, r) {
|
|
|
4769
4769
|
d,
|
|
4770
4770
|
f,
|
|
4771
4771
|
x,
|
|
4772
|
-
|
|
4773
|
-
|
|
4772
|
+
H,
|
|
4773
|
+
k,
|
|
4774
4774
|
O,
|
|
4775
4775
|
se,
|
|
4776
|
-
|
|
4776
|
+
F,
|
|
4777
4777
|
Z,
|
|
4778
4778
|
U,
|
|
4779
4779
|
le,
|
|
4780
|
-
|
|
4780
|
+
ke,
|
|
4781
4781
|
n,
|
|
4782
4782
|
yr,
|
|
4783
4783
|
rt,
|
|
@@ -4785,16 +4785,16 @@ function Xi(e, t, r) {
|
|
|
4785
4785
|
o,
|
|
4786
4786
|
a,
|
|
4787
4787
|
l,
|
|
4788
|
-
m,
|
|
4789
|
-
v,
|
|
4790
4788
|
g,
|
|
4789
|
+
v,
|
|
4790
|
+
m,
|
|
4791
4791
|
xr,
|
|
4792
|
+
zr,
|
|
4792
4793
|
Tr,
|
|
4793
4794
|
Mr,
|
|
4794
4795
|
wr,
|
|
4795
4796
|
Nr,
|
|
4796
|
-
Ar
|
|
4797
|
-
Hr
|
|
4797
|
+
Ar
|
|
4798
4798
|
];
|
|
4799
4799
|
}
|
|
4800
4800
|
class Wi extends Lt {
|
|
@@ -4802,8 +4802,8 @@ class Wi extends Lt {
|
|
|
4802
4802
|
super(), Rt(
|
|
4803
4803
|
this,
|
|
4804
4804
|
t,
|
|
4805
|
+
qi,
|
|
4805
4806
|
Xi,
|
|
4806
|
-
Vi,
|
|
4807
4807
|
Ye,
|
|
4808
4808
|
{
|
|
4809
4809
|
session: 0,
|
|
@@ -4825,61 +4825,61 @@ class Wi extends Lt {
|
|
|
4825
4825
|
return this.$$.ctx[0];
|
|
4826
4826
|
}
|
|
4827
4827
|
set session(t) {
|
|
4828
|
-
this.$$set({ session: t }),
|
|
4828
|
+
this.$$set({ session: t }), X();
|
|
4829
4829
|
}
|
|
4830
4830
|
get userid() {
|
|
4831
4831
|
return this.$$.ctx[20];
|
|
4832
4832
|
}
|
|
4833
4833
|
set userid(t) {
|
|
4834
|
-
this.$$set({ userid: t }),
|
|
4834
|
+
this.$$set({ userid: t }), X();
|
|
4835
4835
|
}
|
|
4836
4836
|
get endpoint() {
|
|
4837
4837
|
return this.$$.ctx[21];
|
|
4838
4838
|
}
|
|
4839
4839
|
set endpoint(t) {
|
|
4840
|
-
this.$$set({ endpoint: t }),
|
|
4840
|
+
this.$$set({ endpoint: t }), X();
|
|
4841
4841
|
}
|
|
4842
4842
|
get clientstyling() {
|
|
4843
4843
|
return this.$$.ctx[1];
|
|
4844
4844
|
}
|
|
4845
4845
|
set clientstyling(t) {
|
|
4846
|
-
this.$$set({ clientstyling: t }),
|
|
4846
|
+
this.$$set({ clientstyling: t }), X();
|
|
4847
4847
|
}
|
|
4848
4848
|
get clientstylingurl() {
|
|
4849
4849
|
return this.$$.ctx[2];
|
|
4850
4850
|
}
|
|
4851
4851
|
set clientstylingurl(t) {
|
|
4852
|
-
this.$$set({ clientstylingurl: t }),
|
|
4852
|
+
this.$$set({ clientstylingurl: t }), X();
|
|
4853
4853
|
}
|
|
4854
4854
|
get mbsource() {
|
|
4855
4855
|
return this.$$.ctx[3];
|
|
4856
4856
|
}
|
|
4857
4857
|
set mbsource(t) {
|
|
4858
|
-
this.$$set({ mbsource: t }),
|
|
4858
|
+
this.$$set({ mbsource: t }), X();
|
|
4859
4859
|
}
|
|
4860
4860
|
get lang() {
|
|
4861
4861
|
return this.$$.ctx[22];
|
|
4862
4862
|
}
|
|
4863
4863
|
set lang(t) {
|
|
4864
|
-
this.$$set({ lang: t }),
|
|
4864
|
+
this.$$set({ lang: t }), X();
|
|
4865
4865
|
}
|
|
4866
4866
|
get displayconsentdescription() {
|
|
4867
4867
|
return this.$$.ctx[4];
|
|
4868
4868
|
}
|
|
4869
4869
|
set displayconsentdescription(t) {
|
|
4870
|
-
this.$$set({ displayconsentdescription: t }),
|
|
4870
|
+
this.$$set({ displayconsentdescription: t }), X();
|
|
4871
4871
|
}
|
|
4872
4872
|
get translationurl() {
|
|
4873
4873
|
return this.$$.ctx[23];
|
|
4874
4874
|
}
|
|
4875
4875
|
set translationurl(t) {
|
|
4876
|
-
this.$$set({ translationurl: t }),
|
|
4876
|
+
this.$$set({ translationurl: t }), X();
|
|
4877
4877
|
}
|
|
4878
4878
|
get modalconsents() {
|
|
4879
4879
|
return this.$$.ctx[24];
|
|
4880
4880
|
}
|
|
4881
4881
|
set modalconsents(t) {
|
|
4882
|
-
this.$$set({ modalconsents: t }),
|
|
4882
|
+
this.$$set({ modalconsents: t }), X();
|
|
4883
4883
|
}
|
|
4884
4884
|
}
|
|
4885
4885
|
jt(Wi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|