@everymatrix/player-consents 1.43.4 → 1.53.10

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.
@@ -0,0 +1,4850 @@
1
+ import { n as V, s as Pr, r as Bt, a as Je, i as Br, c as zt, S as Ot, b as It, d as nt, e as E, f as L, g as x, h as j, j as X, k as zr, l as A, m as it, o as Or, p as Ir, q as ot, t as Y, u as Qe, v as q, w as Lr, x as de, y as ge, z as fe, A as he, H as Lt } from "./GeneralAnimationLoading-DLLI1H8X.js";
2
+ const Q = [];
3
+ function jr(e, t) {
4
+ return {
5
+ subscribe: we(e, t).subscribe
6
+ };
7
+ }
8
+ function we(e, t = V) {
9
+ let r;
10
+ const n = /* @__PURE__ */ new Set();
11
+ function i(s) {
12
+ if (Je(e, s) && (e = s, r)) {
13
+ const h = !Q.length;
14
+ for (const u of n)
15
+ u[1](), Q.push(u, e);
16
+ if (h) {
17
+ for (let u = 0; u < Q.length; u += 2)
18
+ Q[u][0](Q[u + 1]);
19
+ Q.length = 0;
20
+ }
21
+ }
22
+ }
23
+ function o(s) {
24
+ i(s(e));
25
+ }
26
+ function a(s, h = V) {
27
+ const u = [s, h];
28
+ return n.add(u), n.size === 1 && (r = t(i, o) || V), s(e), () => {
29
+ n.delete(u), n.size === 0 && r && (r(), r = null);
30
+ };
31
+ }
32
+ return { set: i, update: o, subscribe: a };
33
+ }
34
+ function re(e, t, r) {
35
+ const n = !Array.isArray(e), i = n ? [e] : e;
36
+ if (!i.every(Boolean))
37
+ throw new Error("derived() expects stores as input, got a falsy value");
38
+ const o = t.length < 2;
39
+ return jr(r, (a, s) => {
40
+ let h = !1;
41
+ const u = [];
42
+ let c = 0, d = V;
43
+ const m = () => {
44
+ if (c)
45
+ return;
46
+ d();
47
+ const _ = t(n ? u[0] : u, a, s);
48
+ o ? a(_) : d = Br(_) ? _ : V;
49
+ }, v = i.map(
50
+ (_, g) => Pr(
51
+ _,
52
+ (C) => {
53
+ u[g] = C, c &= ~(1 << g), h && m();
54
+ },
55
+ () => {
56
+ c |= 1 << g;
57
+ }
58
+ )
59
+ );
60
+ return h = !0, m(), function() {
61
+ Bt(v), d(), h = !1;
62
+ };
63
+ });
64
+ }
65
+ function Rr(e) {
66
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
67
+ }
68
+ var Ur = function(t) {
69
+ return Dr(t) && !qr(t);
70
+ };
71
+ function Dr(e) {
72
+ return !!e && typeof e == "object";
73
+ }
74
+ function qr(e) {
75
+ var t = Object.prototype.toString.call(e);
76
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
77
+ }
78
+ var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
79
+ function Vr(e) {
80
+ return e.$$typeof === Fr;
81
+ }
82
+ function Xr(e) {
83
+ return Array.isArray(e) ? [] : {};
84
+ }
85
+ function me(e, t) {
86
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Xr(e), e, t) : e;
87
+ }
88
+ function Wr(e, t, r) {
89
+ return e.concat(t).map(function(n) {
90
+ return me(n, r);
91
+ });
92
+ }
93
+ function Zr(e, t) {
94
+ if (!t.customMerge)
95
+ return K;
96
+ var r = t.customMerge(e);
97
+ return typeof r == "function" ? r : K;
98
+ }
99
+ function Jr(e) {
100
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
101
+ return Object.propertyIsEnumerable.call(e, t);
102
+ }) : [];
103
+ }
104
+ function at(e) {
105
+ return Object.keys(e).concat(Jr(e));
106
+ }
107
+ function jt(e, t) {
108
+ try {
109
+ return t in e;
110
+ } catch {
111
+ return !1;
112
+ }
113
+ }
114
+ function Qr(e, t) {
115
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
116
+ }
117
+ function Yr(e, t, r) {
118
+ var n = {};
119
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
120
+ n[i] = me(e[i], r);
121
+ }), at(t).forEach(function(i) {
122
+ Qr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
123
+ }), n;
124
+ }
125
+ function K(e, t, r) {
126
+ r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = me;
127
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
128
+ return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : me(t, r);
129
+ }
130
+ K.all = function(t, r) {
131
+ if (!Array.isArray(t))
132
+ throw new Error("first argument should be an array");
133
+ return t.reduce(function(n, i) {
134
+ return K(n, i, r);
135
+ }, {});
136
+ };
137
+ var Kr = K, $r = Kr;
138
+ const en = /* @__PURE__ */ Rr($r);
139
+ var Ue = function(e, t) {
140
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
141
+ r.__proto__ = n;
142
+ } || function(r, n) {
143
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
144
+ }, Ue(e, t);
145
+ };
146
+ function Ne(e, t) {
147
+ if (typeof t != "function" && t !== null)
148
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
149
+ Ue(e, t);
150
+ function r() {
151
+ this.constructor = e;
152
+ }
153
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
154
+ }
155
+ var H = function() {
156
+ return H = Object.assign || function(t) {
157
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
158
+ r = arguments[n];
159
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
160
+ }
161
+ return t;
162
+ }, H.apply(this, arguments);
163
+ };
164
+ function tn(e, t) {
165
+ var r = {};
166
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
167
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
168
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
169
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
170
+ return r;
171
+ }
172
+ function ze(e, t, r) {
173
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
174
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
175
+ return e.concat(o || Array.prototype.slice.call(t));
176
+ }
177
+ function Oe(e, t) {
178
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : nn;
179
+ return i(e, {
180
+ cache: r,
181
+ serializer: n
182
+ });
183
+ }
184
+ function rn(e) {
185
+ return e == null || typeof e == "number" || typeof e == "boolean";
186
+ }
187
+ function Rt(e, t, r, n) {
188
+ var i = rn(n) ? n : r(n), o = t.get(i);
189
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
190
+ }
191
+ function Ut(e, t, r) {
192
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
193
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
194
+ }
195
+ function Ye(e, t, r, n, i) {
196
+ return r.bind(t, e, n, i);
197
+ }
198
+ function nn(e, t) {
199
+ var r = e.length === 1 ? Rt : Ut;
200
+ return Ye(e, this, r, t.cache.create(), t.serializer);
201
+ }
202
+ function on(e, t) {
203
+ return Ye(e, this, Ut, t.cache.create(), t.serializer);
204
+ }
205
+ function an(e, t) {
206
+ return Ye(e, this, Rt, t.cache.create(), t.serializer);
207
+ }
208
+ var sn = function() {
209
+ return JSON.stringify(arguments);
210
+ }, ln = (
211
+ /** @class */
212
+ function() {
213
+ function e() {
214
+ this.cache = /* @__PURE__ */ Object.create(null);
215
+ }
216
+ return e.prototype.get = function(t) {
217
+ return this.cache[t];
218
+ }, e.prototype.set = function(t, r) {
219
+ this.cache[t] = r;
220
+ }, e;
221
+ }()
222
+ ), cn = {
223
+ create: function() {
224
+ return new ln();
225
+ }
226
+ }, Ie = {
227
+ variadic: on,
228
+ monadic: an
229
+ }, w;
230
+ (function(e) {
231
+ 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";
232
+ })(w || (w = {}));
233
+ var B;
234
+ (function(e) {
235
+ 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";
236
+ })(B || (B = {}));
237
+ var $;
238
+ (function(e) {
239
+ e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
240
+ })($ || ($ = {}));
241
+ function st(e) {
242
+ return e.type === B.literal;
243
+ }
244
+ function un(e) {
245
+ return e.type === B.argument;
246
+ }
247
+ function Dt(e) {
248
+ return e.type === B.number;
249
+ }
250
+ function qt(e) {
251
+ return e.type === B.date;
252
+ }
253
+ function Gt(e) {
254
+ return e.type === B.time;
255
+ }
256
+ function Ft(e) {
257
+ return e.type === B.select;
258
+ }
259
+ function Vt(e) {
260
+ return e.type === B.plural;
261
+ }
262
+ function hn(e) {
263
+ return e.type === B.pound;
264
+ }
265
+ function Xt(e) {
266
+ return e.type === B.tag;
267
+ }
268
+ function Wt(e) {
269
+ return !!(e && typeof e == "object" && e.type === $.number);
270
+ }
271
+ function De(e) {
272
+ return !!(e && typeof e == "object" && e.type === $.dateTime);
273
+ }
274
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
275
+ function mn(e) {
276
+ var t = {};
277
+ return e.replace(dn, function(r) {
278
+ var n = r.length;
279
+ switch (r[0]) {
280
+ case "G":
281
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
282
+ break;
283
+ case "y":
284
+ t.year = n === 2 ? "2-digit" : "numeric";
285
+ break;
286
+ case "Y":
287
+ case "u":
288
+ case "U":
289
+ case "r":
290
+ throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
291
+ case "q":
292
+ case "Q":
293
+ throw new RangeError("`q/Q` (quarter) patterns are not supported");
294
+ case "M":
295
+ case "L":
296
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
297
+ break;
298
+ case "w":
299
+ case "W":
300
+ throw new RangeError("`w/W` (week) patterns are not supported");
301
+ case "d":
302
+ t.day = ["numeric", "2-digit"][n - 1];
303
+ break;
304
+ case "D":
305
+ case "F":
306
+ case "g":
307
+ throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
308
+ case "E":
309
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
310
+ break;
311
+ case "e":
312
+ if (n < 4)
313
+ throw new RangeError("`e..eee` (weekday) patterns are not supported");
314
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
315
+ break;
316
+ case "c":
317
+ if (n < 4)
318
+ throw new RangeError("`c..ccc` (weekday) patterns are not supported");
319
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
320
+ break;
321
+ case "a":
322
+ t.hour12 = !0;
323
+ break;
324
+ case "b":
325
+ case "B":
326
+ throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
327
+ case "h":
328
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
329
+ break;
330
+ case "H":
331
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
332
+ break;
333
+ case "K":
334
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
335
+ break;
336
+ case "k":
337
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
338
+ break;
339
+ case "j":
340
+ case "J":
341
+ case "C":
342
+ throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
343
+ case "m":
344
+ t.minute = ["numeric", "2-digit"][n - 1];
345
+ break;
346
+ case "s":
347
+ t.second = ["numeric", "2-digit"][n - 1];
348
+ break;
349
+ case "S":
350
+ case "A":
351
+ throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
352
+ case "z":
353
+ t.timeZoneName = n < 4 ? "short" : "long";
354
+ break;
355
+ case "Z":
356
+ case "O":
357
+ case "v":
358
+ case "V":
359
+ case "X":
360
+ case "x":
361
+ throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
362
+ }
363
+ return "";
364
+ }), t;
365
+ }
366
+ var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
367
+ function gn(e) {
368
+ if (e.length === 0)
369
+ throw new Error("Number skeleton cannot be empty");
370
+ for (var t = e.split(pn).filter(function(m) {
371
+ return m.length > 0;
372
+ }), r = [], n = 0, i = t; n < i.length; n++) {
373
+ var o = i[n], a = o.split("/");
374
+ if (a.length === 0)
375
+ throw new Error("Invalid number skeleton");
376
+ for (var s = a[0], h = a.slice(1), u = 0, c = h; u < c.length; u++) {
377
+ var d = c[u];
378
+ if (d.length === 0)
379
+ throw new Error("Invalid number skeleton");
380
+ }
381
+ r.push({ stem: s, options: h });
382
+ }
383
+ return r;
384
+ }
385
+ function fn(e) {
386
+ return e.replace(/^(.*?)-/, "");
387
+ }
388
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
389
+ function ct(e) {
390
+ var t = {};
391
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
392
+ return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
393
+ }), t;
394
+ }
395
+ function Yt(e) {
396
+ switch (e) {
397
+ case "sign-auto":
398
+ return {
399
+ signDisplay: "auto"
400
+ };
401
+ case "sign-accounting":
402
+ case "()":
403
+ return {
404
+ currencySign: "accounting"
405
+ };
406
+ case "sign-always":
407
+ case "+!":
408
+ return {
409
+ signDisplay: "always"
410
+ };
411
+ case "sign-accounting-always":
412
+ case "()!":
413
+ return {
414
+ signDisplay: "always",
415
+ currencySign: "accounting"
416
+ };
417
+ case "sign-except-zero":
418
+ case "+?":
419
+ return {
420
+ signDisplay: "exceptZero"
421
+ };
422
+ case "sign-accounting-except-zero":
423
+ case "()?":
424
+ return {
425
+ signDisplay: "exceptZero",
426
+ currencySign: "accounting"
427
+ };
428
+ case "sign-never":
429
+ case "+_":
430
+ return {
431
+ signDisplay: "never"
432
+ };
433
+ }
434
+ }
435
+ function bn(e) {
436
+ var t;
437
+ if (e[0] === "E" && e[1] === "E" ? (t = {
438
+ notation: "engineering"
439
+ }, e = e.slice(2)) : e[0] === "E" && (t = {
440
+ notation: "scientific"
441
+ }, e = e.slice(1)), t) {
442
+ var r = e.slice(0, 2);
443
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
444
+ throw new Error("Malformed concise eng/scientific notation");
445
+ t.minimumIntegerDigits = e.length;
446
+ }
447
+ return t;
448
+ }
449
+ function ut(e) {
450
+ var t = {}, r = Yt(e);
451
+ return r || t;
452
+ }
453
+ function vn(e) {
454
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
455
+ var i = n[r];
456
+ switch (i.stem) {
457
+ case "percent":
458
+ case "%":
459
+ t.style = "percent";
460
+ continue;
461
+ case "%x100":
462
+ t.style = "percent", t.scale = 100;
463
+ continue;
464
+ case "currency":
465
+ t.style = "currency", t.currency = i.options[0];
466
+ continue;
467
+ case "group-off":
468
+ case ",_":
469
+ t.useGrouping = !1;
470
+ continue;
471
+ case "precision-integer":
472
+ case ".":
473
+ t.maximumFractionDigits = 0;
474
+ continue;
475
+ case "measure-unit":
476
+ case "unit":
477
+ t.style = "unit", t.unit = fn(i.options[0]);
478
+ continue;
479
+ case "compact-short":
480
+ case "K":
481
+ t.notation = "compact", t.compactDisplay = "short";
482
+ continue;
483
+ case "compact-long":
484
+ case "KK":
485
+ t.notation = "compact", t.compactDisplay = "long";
486
+ continue;
487
+ case "scientific":
488
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
489
+ return H(H({}, h), ut(u));
490
+ }, {}));
491
+ continue;
492
+ case "engineering":
493
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
494
+ return H(H({}, h), ut(u));
495
+ }, {}));
496
+ continue;
497
+ case "notation-simple":
498
+ t.notation = "standard";
499
+ continue;
500
+ case "unit-width-narrow":
501
+ t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
502
+ continue;
503
+ case "unit-width-short":
504
+ t.currencyDisplay = "code", t.unitDisplay = "short";
505
+ continue;
506
+ case "unit-width-full-name":
507
+ t.currencyDisplay = "name", t.unitDisplay = "long";
508
+ continue;
509
+ case "unit-width-iso-code":
510
+ t.currencyDisplay = "symbol";
511
+ continue;
512
+ case "scale":
513
+ t.scale = parseFloat(i.options[0]);
514
+ continue;
515
+ case "rounding-mode-floor":
516
+ t.roundingMode = "floor";
517
+ continue;
518
+ case "rounding-mode-ceiling":
519
+ t.roundingMode = "ceil";
520
+ continue;
521
+ case "rounding-mode-down":
522
+ t.roundingMode = "trunc";
523
+ continue;
524
+ case "rounding-mode-up":
525
+ t.roundingMode = "expand";
526
+ continue;
527
+ case "rounding-mode-half-even":
528
+ t.roundingMode = "halfEven";
529
+ continue;
530
+ case "rounding-mode-half-down":
531
+ t.roundingMode = "halfTrunc";
532
+ continue;
533
+ case "rounding-mode-half-up":
534
+ t.roundingMode = "halfExpand";
535
+ continue;
536
+ case "integer-width":
537
+ if (i.options.length > 1)
538
+ throw new RangeError("integer-width stems only accept a single optional option");
539
+ i.options[0].replace(_n, function(h, u, c, d, m, v) {
540
+ if (u)
541
+ t.minimumIntegerDigits = c.length;
542
+ else {
543
+ if (d && m)
544
+ throw new Error("We currently do not support maximum integer digits");
545
+ if (v)
546
+ throw new Error("We currently do not support exact integer digits");
547
+ }
548
+ return "";
549
+ });
550
+ continue;
551
+ }
552
+ if (Qt.test(i.stem)) {
553
+ t.minimumIntegerDigits = i.stem.length;
554
+ continue;
555
+ }
556
+ if (lt.test(i.stem)) {
557
+ if (i.options.length > 1)
558
+ throw new RangeError("Fraction-precision stems only accept a single optional option");
559
+ i.stem.replace(lt, function(h, u, c, d, m, v) {
560
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
561
+ });
562
+ var o = i.options[0];
563
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ct(o)));
564
+ continue;
565
+ }
566
+ if (Jt.test(i.stem)) {
567
+ t = H(H({}, t), ct(i.stem));
568
+ continue;
569
+ }
570
+ var a = Yt(i.stem);
571
+ a && (t = H(H({}, t), a));
572
+ var s = bn(i.stem);
573
+ s && (t = H(H({}, t), s));
574
+ }
575
+ return t;
576
+ }
577
+ var Ce = {
578
+ "001": [
579
+ "H",
580
+ "h"
581
+ ],
582
+ 419: [
583
+ "h",
584
+ "H",
585
+ "hB",
586
+ "hb"
587
+ ],
588
+ AC: [
589
+ "H",
590
+ "h",
591
+ "hb",
592
+ "hB"
593
+ ],
594
+ AD: [
595
+ "H",
596
+ "hB"
597
+ ],
598
+ AE: [
599
+ "h",
600
+ "hB",
601
+ "hb",
602
+ "H"
603
+ ],
604
+ AF: [
605
+ "H",
606
+ "hb",
607
+ "hB",
608
+ "h"
609
+ ],
610
+ AG: [
611
+ "h",
612
+ "hb",
613
+ "H",
614
+ "hB"
615
+ ],
616
+ AI: [
617
+ "H",
618
+ "h",
619
+ "hb",
620
+ "hB"
621
+ ],
622
+ AL: [
623
+ "h",
624
+ "H",
625
+ "hB"
626
+ ],
627
+ AM: [
628
+ "H",
629
+ "hB"
630
+ ],
631
+ AO: [
632
+ "H",
633
+ "hB"
634
+ ],
635
+ AR: [
636
+ "h",
637
+ "H",
638
+ "hB",
639
+ "hb"
640
+ ],
641
+ AS: [
642
+ "h",
643
+ "H"
644
+ ],
645
+ AT: [
646
+ "H",
647
+ "hB"
648
+ ],
649
+ AU: [
650
+ "h",
651
+ "hb",
652
+ "H",
653
+ "hB"
654
+ ],
655
+ AW: [
656
+ "H",
657
+ "hB"
658
+ ],
659
+ AX: [
660
+ "H"
661
+ ],
662
+ AZ: [
663
+ "H",
664
+ "hB",
665
+ "h"
666
+ ],
667
+ BA: [
668
+ "H",
669
+ "hB",
670
+ "h"
671
+ ],
672
+ BB: [
673
+ "h",
674
+ "hb",
675
+ "H",
676
+ "hB"
677
+ ],
678
+ BD: [
679
+ "h",
680
+ "hB",
681
+ "H"
682
+ ],
683
+ BE: [
684
+ "H",
685
+ "hB"
686
+ ],
687
+ BF: [
688
+ "H",
689
+ "hB"
690
+ ],
691
+ BG: [
692
+ "H",
693
+ "hB",
694
+ "h"
695
+ ],
696
+ BH: [
697
+ "h",
698
+ "hB",
699
+ "hb",
700
+ "H"
701
+ ],
702
+ BI: [
703
+ "H",
704
+ "h"
705
+ ],
706
+ BJ: [
707
+ "H",
708
+ "hB"
709
+ ],
710
+ BL: [
711
+ "H",
712
+ "hB"
713
+ ],
714
+ BM: [
715
+ "h",
716
+ "hb",
717
+ "H",
718
+ "hB"
719
+ ],
720
+ BN: [
721
+ "hb",
722
+ "hB",
723
+ "h",
724
+ "H"
725
+ ],
726
+ BO: [
727
+ "h",
728
+ "H",
729
+ "hB",
730
+ "hb"
731
+ ],
732
+ BQ: [
733
+ "H"
734
+ ],
735
+ BR: [
736
+ "H",
737
+ "hB"
738
+ ],
739
+ BS: [
740
+ "h",
741
+ "hb",
742
+ "H",
743
+ "hB"
744
+ ],
745
+ BT: [
746
+ "h",
747
+ "H"
748
+ ],
749
+ BW: [
750
+ "H",
751
+ "h",
752
+ "hb",
753
+ "hB"
754
+ ],
755
+ BY: [
756
+ "H",
757
+ "h"
758
+ ],
759
+ BZ: [
760
+ "H",
761
+ "h",
762
+ "hb",
763
+ "hB"
764
+ ],
765
+ CA: [
766
+ "h",
767
+ "hb",
768
+ "H",
769
+ "hB"
770
+ ],
771
+ CC: [
772
+ "H",
773
+ "h",
774
+ "hb",
775
+ "hB"
776
+ ],
777
+ CD: [
778
+ "hB",
779
+ "H"
780
+ ],
781
+ CF: [
782
+ "H",
783
+ "h",
784
+ "hB"
785
+ ],
786
+ CG: [
787
+ "H",
788
+ "hB"
789
+ ],
790
+ CH: [
791
+ "H",
792
+ "hB",
793
+ "h"
794
+ ],
795
+ CI: [
796
+ "H",
797
+ "hB"
798
+ ],
799
+ CK: [
800
+ "H",
801
+ "h",
802
+ "hb",
803
+ "hB"
804
+ ],
805
+ CL: [
806
+ "h",
807
+ "H",
808
+ "hB",
809
+ "hb"
810
+ ],
811
+ CM: [
812
+ "H",
813
+ "h",
814
+ "hB"
815
+ ],
816
+ CN: [
817
+ "H",
818
+ "hB",
819
+ "hb",
820
+ "h"
821
+ ],
822
+ CO: [
823
+ "h",
824
+ "H",
825
+ "hB",
826
+ "hb"
827
+ ],
828
+ CP: [
829
+ "H"
830
+ ],
831
+ CR: [
832
+ "h",
833
+ "H",
834
+ "hB",
835
+ "hb"
836
+ ],
837
+ CU: [
838
+ "h",
839
+ "H",
840
+ "hB",
841
+ "hb"
842
+ ],
843
+ CV: [
844
+ "H",
845
+ "hB"
846
+ ],
847
+ CW: [
848
+ "H",
849
+ "hB"
850
+ ],
851
+ CX: [
852
+ "H",
853
+ "h",
854
+ "hb",
855
+ "hB"
856
+ ],
857
+ CY: [
858
+ "h",
859
+ "H",
860
+ "hb",
861
+ "hB"
862
+ ],
863
+ CZ: [
864
+ "H"
865
+ ],
866
+ DE: [
867
+ "H",
868
+ "hB"
869
+ ],
870
+ DG: [
871
+ "H",
872
+ "h",
873
+ "hb",
874
+ "hB"
875
+ ],
876
+ DJ: [
877
+ "h",
878
+ "H"
879
+ ],
880
+ DK: [
881
+ "H"
882
+ ],
883
+ DM: [
884
+ "h",
885
+ "hb",
886
+ "H",
887
+ "hB"
888
+ ],
889
+ DO: [
890
+ "h",
891
+ "H",
892
+ "hB",
893
+ "hb"
894
+ ],
895
+ DZ: [
896
+ "h",
897
+ "hB",
898
+ "hb",
899
+ "H"
900
+ ],
901
+ EA: [
902
+ "H",
903
+ "h",
904
+ "hB",
905
+ "hb"
906
+ ],
907
+ EC: [
908
+ "h",
909
+ "H",
910
+ "hB",
911
+ "hb"
912
+ ],
913
+ EE: [
914
+ "H",
915
+ "hB"
916
+ ],
917
+ EG: [
918
+ "h",
919
+ "hB",
920
+ "hb",
921
+ "H"
922
+ ],
923
+ EH: [
924
+ "h",
925
+ "hB",
926
+ "hb",
927
+ "H"
928
+ ],
929
+ ER: [
930
+ "h",
931
+ "H"
932
+ ],
933
+ ES: [
934
+ "H",
935
+ "hB",
936
+ "h",
937
+ "hb"
938
+ ],
939
+ ET: [
940
+ "hB",
941
+ "hb",
942
+ "h",
943
+ "H"
944
+ ],
945
+ FI: [
946
+ "H"
947
+ ],
948
+ FJ: [
949
+ "h",
950
+ "hb",
951
+ "H",
952
+ "hB"
953
+ ],
954
+ FK: [
955
+ "H",
956
+ "h",
957
+ "hb",
958
+ "hB"
959
+ ],
960
+ FM: [
961
+ "h",
962
+ "hb",
963
+ "H",
964
+ "hB"
965
+ ],
966
+ FO: [
967
+ "H",
968
+ "h"
969
+ ],
970
+ FR: [
971
+ "H",
972
+ "hB"
973
+ ],
974
+ GA: [
975
+ "H",
976
+ "hB"
977
+ ],
978
+ GB: [
979
+ "H",
980
+ "h",
981
+ "hb",
982
+ "hB"
983
+ ],
984
+ GD: [
985
+ "h",
986
+ "hb",
987
+ "H",
988
+ "hB"
989
+ ],
990
+ GE: [
991
+ "H",
992
+ "hB",
993
+ "h"
994
+ ],
995
+ GF: [
996
+ "H",
997
+ "hB"
998
+ ],
999
+ GG: [
1000
+ "H",
1001
+ "h",
1002
+ "hb",
1003
+ "hB"
1004
+ ],
1005
+ GH: [
1006
+ "h",
1007
+ "H"
1008
+ ],
1009
+ GI: [
1010
+ "H",
1011
+ "h",
1012
+ "hb",
1013
+ "hB"
1014
+ ],
1015
+ GL: [
1016
+ "H",
1017
+ "h"
1018
+ ],
1019
+ GM: [
1020
+ "h",
1021
+ "hb",
1022
+ "H",
1023
+ "hB"
1024
+ ],
1025
+ GN: [
1026
+ "H",
1027
+ "hB"
1028
+ ],
1029
+ GP: [
1030
+ "H",
1031
+ "hB"
1032
+ ],
1033
+ GQ: [
1034
+ "H",
1035
+ "hB",
1036
+ "h",
1037
+ "hb"
1038
+ ],
1039
+ GR: [
1040
+ "h",
1041
+ "H",
1042
+ "hb",
1043
+ "hB"
1044
+ ],
1045
+ GT: [
1046
+ "h",
1047
+ "H",
1048
+ "hB",
1049
+ "hb"
1050
+ ],
1051
+ GU: [
1052
+ "h",
1053
+ "hb",
1054
+ "H",
1055
+ "hB"
1056
+ ],
1057
+ GW: [
1058
+ "H",
1059
+ "hB"
1060
+ ],
1061
+ GY: [
1062
+ "h",
1063
+ "hb",
1064
+ "H",
1065
+ "hB"
1066
+ ],
1067
+ HK: [
1068
+ "h",
1069
+ "hB",
1070
+ "hb",
1071
+ "H"
1072
+ ],
1073
+ HN: [
1074
+ "h",
1075
+ "H",
1076
+ "hB",
1077
+ "hb"
1078
+ ],
1079
+ HR: [
1080
+ "H",
1081
+ "hB"
1082
+ ],
1083
+ HU: [
1084
+ "H",
1085
+ "h"
1086
+ ],
1087
+ IC: [
1088
+ "H",
1089
+ "h",
1090
+ "hB",
1091
+ "hb"
1092
+ ],
1093
+ ID: [
1094
+ "H"
1095
+ ],
1096
+ IE: [
1097
+ "H",
1098
+ "h",
1099
+ "hb",
1100
+ "hB"
1101
+ ],
1102
+ IL: [
1103
+ "H",
1104
+ "hB"
1105
+ ],
1106
+ IM: [
1107
+ "H",
1108
+ "h",
1109
+ "hb",
1110
+ "hB"
1111
+ ],
1112
+ IN: [
1113
+ "h",
1114
+ "H"
1115
+ ],
1116
+ IO: [
1117
+ "H",
1118
+ "h",
1119
+ "hb",
1120
+ "hB"
1121
+ ],
1122
+ IQ: [
1123
+ "h",
1124
+ "hB",
1125
+ "hb",
1126
+ "H"
1127
+ ],
1128
+ IR: [
1129
+ "hB",
1130
+ "H"
1131
+ ],
1132
+ IS: [
1133
+ "H"
1134
+ ],
1135
+ IT: [
1136
+ "H",
1137
+ "hB"
1138
+ ],
1139
+ JE: [
1140
+ "H",
1141
+ "h",
1142
+ "hb",
1143
+ "hB"
1144
+ ],
1145
+ JM: [
1146
+ "h",
1147
+ "hb",
1148
+ "H",
1149
+ "hB"
1150
+ ],
1151
+ JO: [
1152
+ "h",
1153
+ "hB",
1154
+ "hb",
1155
+ "H"
1156
+ ],
1157
+ JP: [
1158
+ "H",
1159
+ "K",
1160
+ "h"
1161
+ ],
1162
+ KE: [
1163
+ "hB",
1164
+ "hb",
1165
+ "H",
1166
+ "h"
1167
+ ],
1168
+ KG: [
1169
+ "H",
1170
+ "h",
1171
+ "hB",
1172
+ "hb"
1173
+ ],
1174
+ KH: [
1175
+ "hB",
1176
+ "h",
1177
+ "H",
1178
+ "hb"
1179
+ ],
1180
+ KI: [
1181
+ "h",
1182
+ "hb",
1183
+ "H",
1184
+ "hB"
1185
+ ],
1186
+ KM: [
1187
+ "H",
1188
+ "h",
1189
+ "hB",
1190
+ "hb"
1191
+ ],
1192
+ KN: [
1193
+ "h",
1194
+ "hb",
1195
+ "H",
1196
+ "hB"
1197
+ ],
1198
+ KP: [
1199
+ "h",
1200
+ "H",
1201
+ "hB",
1202
+ "hb"
1203
+ ],
1204
+ KR: [
1205
+ "h",
1206
+ "H",
1207
+ "hB",
1208
+ "hb"
1209
+ ],
1210
+ KW: [
1211
+ "h",
1212
+ "hB",
1213
+ "hb",
1214
+ "H"
1215
+ ],
1216
+ KY: [
1217
+ "h",
1218
+ "hb",
1219
+ "H",
1220
+ "hB"
1221
+ ],
1222
+ KZ: [
1223
+ "H",
1224
+ "hB"
1225
+ ],
1226
+ LA: [
1227
+ "H",
1228
+ "hb",
1229
+ "hB",
1230
+ "h"
1231
+ ],
1232
+ LB: [
1233
+ "h",
1234
+ "hB",
1235
+ "hb",
1236
+ "H"
1237
+ ],
1238
+ LC: [
1239
+ "h",
1240
+ "hb",
1241
+ "H",
1242
+ "hB"
1243
+ ],
1244
+ LI: [
1245
+ "H",
1246
+ "hB",
1247
+ "h"
1248
+ ],
1249
+ LK: [
1250
+ "H",
1251
+ "h",
1252
+ "hB",
1253
+ "hb"
1254
+ ],
1255
+ LR: [
1256
+ "h",
1257
+ "hb",
1258
+ "H",
1259
+ "hB"
1260
+ ],
1261
+ LS: [
1262
+ "h",
1263
+ "H"
1264
+ ],
1265
+ LT: [
1266
+ "H",
1267
+ "h",
1268
+ "hb",
1269
+ "hB"
1270
+ ],
1271
+ LU: [
1272
+ "H",
1273
+ "h",
1274
+ "hB"
1275
+ ],
1276
+ LV: [
1277
+ "H",
1278
+ "hB",
1279
+ "hb",
1280
+ "h"
1281
+ ],
1282
+ LY: [
1283
+ "h",
1284
+ "hB",
1285
+ "hb",
1286
+ "H"
1287
+ ],
1288
+ MA: [
1289
+ "H",
1290
+ "h",
1291
+ "hB",
1292
+ "hb"
1293
+ ],
1294
+ MC: [
1295
+ "H",
1296
+ "hB"
1297
+ ],
1298
+ MD: [
1299
+ "H",
1300
+ "hB"
1301
+ ],
1302
+ ME: [
1303
+ "H",
1304
+ "hB",
1305
+ "h"
1306
+ ],
1307
+ MF: [
1308
+ "H",
1309
+ "hB"
1310
+ ],
1311
+ MG: [
1312
+ "H",
1313
+ "h"
1314
+ ],
1315
+ MH: [
1316
+ "h",
1317
+ "hb",
1318
+ "H",
1319
+ "hB"
1320
+ ],
1321
+ MK: [
1322
+ "H",
1323
+ "h",
1324
+ "hb",
1325
+ "hB"
1326
+ ],
1327
+ ML: [
1328
+ "H"
1329
+ ],
1330
+ MM: [
1331
+ "hB",
1332
+ "hb",
1333
+ "H",
1334
+ "h"
1335
+ ],
1336
+ MN: [
1337
+ "H",
1338
+ "h",
1339
+ "hb",
1340
+ "hB"
1341
+ ],
1342
+ MO: [
1343
+ "h",
1344
+ "hB",
1345
+ "hb",
1346
+ "H"
1347
+ ],
1348
+ MP: [
1349
+ "h",
1350
+ "hb",
1351
+ "H",
1352
+ "hB"
1353
+ ],
1354
+ MQ: [
1355
+ "H",
1356
+ "hB"
1357
+ ],
1358
+ MR: [
1359
+ "h",
1360
+ "hB",
1361
+ "hb",
1362
+ "H"
1363
+ ],
1364
+ MS: [
1365
+ "H",
1366
+ "h",
1367
+ "hb",
1368
+ "hB"
1369
+ ],
1370
+ MT: [
1371
+ "H",
1372
+ "h"
1373
+ ],
1374
+ MU: [
1375
+ "H",
1376
+ "h"
1377
+ ],
1378
+ MV: [
1379
+ "H",
1380
+ "h"
1381
+ ],
1382
+ MW: [
1383
+ "h",
1384
+ "hb",
1385
+ "H",
1386
+ "hB"
1387
+ ],
1388
+ MX: [
1389
+ "h",
1390
+ "H",
1391
+ "hB",
1392
+ "hb"
1393
+ ],
1394
+ MY: [
1395
+ "hb",
1396
+ "hB",
1397
+ "h",
1398
+ "H"
1399
+ ],
1400
+ MZ: [
1401
+ "H",
1402
+ "hB"
1403
+ ],
1404
+ NA: [
1405
+ "h",
1406
+ "H",
1407
+ "hB",
1408
+ "hb"
1409
+ ],
1410
+ NC: [
1411
+ "H",
1412
+ "hB"
1413
+ ],
1414
+ NE: [
1415
+ "H"
1416
+ ],
1417
+ NF: [
1418
+ "H",
1419
+ "h",
1420
+ "hb",
1421
+ "hB"
1422
+ ],
1423
+ NG: [
1424
+ "H",
1425
+ "h",
1426
+ "hb",
1427
+ "hB"
1428
+ ],
1429
+ NI: [
1430
+ "h",
1431
+ "H",
1432
+ "hB",
1433
+ "hb"
1434
+ ],
1435
+ NL: [
1436
+ "H",
1437
+ "hB"
1438
+ ],
1439
+ NO: [
1440
+ "H",
1441
+ "h"
1442
+ ],
1443
+ NP: [
1444
+ "H",
1445
+ "h",
1446
+ "hB"
1447
+ ],
1448
+ NR: [
1449
+ "H",
1450
+ "h",
1451
+ "hb",
1452
+ "hB"
1453
+ ],
1454
+ NU: [
1455
+ "H",
1456
+ "h",
1457
+ "hb",
1458
+ "hB"
1459
+ ],
1460
+ NZ: [
1461
+ "h",
1462
+ "hb",
1463
+ "H",
1464
+ "hB"
1465
+ ],
1466
+ OM: [
1467
+ "h",
1468
+ "hB",
1469
+ "hb",
1470
+ "H"
1471
+ ],
1472
+ PA: [
1473
+ "h",
1474
+ "H",
1475
+ "hB",
1476
+ "hb"
1477
+ ],
1478
+ PE: [
1479
+ "h",
1480
+ "H",
1481
+ "hB",
1482
+ "hb"
1483
+ ],
1484
+ PF: [
1485
+ "H",
1486
+ "h",
1487
+ "hB"
1488
+ ],
1489
+ PG: [
1490
+ "h",
1491
+ "H"
1492
+ ],
1493
+ PH: [
1494
+ "h",
1495
+ "hB",
1496
+ "hb",
1497
+ "H"
1498
+ ],
1499
+ PK: [
1500
+ "h",
1501
+ "hB",
1502
+ "H"
1503
+ ],
1504
+ PL: [
1505
+ "H",
1506
+ "h"
1507
+ ],
1508
+ PM: [
1509
+ "H",
1510
+ "hB"
1511
+ ],
1512
+ PN: [
1513
+ "H",
1514
+ "h",
1515
+ "hb",
1516
+ "hB"
1517
+ ],
1518
+ PR: [
1519
+ "h",
1520
+ "H",
1521
+ "hB",
1522
+ "hb"
1523
+ ],
1524
+ PS: [
1525
+ "h",
1526
+ "hB",
1527
+ "hb",
1528
+ "H"
1529
+ ],
1530
+ PT: [
1531
+ "H",
1532
+ "hB"
1533
+ ],
1534
+ PW: [
1535
+ "h",
1536
+ "H"
1537
+ ],
1538
+ PY: [
1539
+ "h",
1540
+ "H",
1541
+ "hB",
1542
+ "hb"
1543
+ ],
1544
+ QA: [
1545
+ "h",
1546
+ "hB",
1547
+ "hb",
1548
+ "H"
1549
+ ],
1550
+ RE: [
1551
+ "H",
1552
+ "hB"
1553
+ ],
1554
+ RO: [
1555
+ "H",
1556
+ "hB"
1557
+ ],
1558
+ RS: [
1559
+ "H",
1560
+ "hB",
1561
+ "h"
1562
+ ],
1563
+ RU: [
1564
+ "H"
1565
+ ],
1566
+ RW: [
1567
+ "H",
1568
+ "h"
1569
+ ],
1570
+ SA: [
1571
+ "h",
1572
+ "hB",
1573
+ "hb",
1574
+ "H"
1575
+ ],
1576
+ SB: [
1577
+ "h",
1578
+ "hb",
1579
+ "H",
1580
+ "hB"
1581
+ ],
1582
+ SC: [
1583
+ "H",
1584
+ "h",
1585
+ "hB"
1586
+ ],
1587
+ SD: [
1588
+ "h",
1589
+ "hB",
1590
+ "hb",
1591
+ "H"
1592
+ ],
1593
+ SE: [
1594
+ "H"
1595
+ ],
1596
+ SG: [
1597
+ "h",
1598
+ "hb",
1599
+ "H",
1600
+ "hB"
1601
+ ],
1602
+ SH: [
1603
+ "H",
1604
+ "h",
1605
+ "hb",
1606
+ "hB"
1607
+ ],
1608
+ SI: [
1609
+ "H",
1610
+ "hB"
1611
+ ],
1612
+ SJ: [
1613
+ "H"
1614
+ ],
1615
+ SK: [
1616
+ "H"
1617
+ ],
1618
+ SL: [
1619
+ "h",
1620
+ "hb",
1621
+ "H",
1622
+ "hB"
1623
+ ],
1624
+ SM: [
1625
+ "H",
1626
+ "h",
1627
+ "hB"
1628
+ ],
1629
+ SN: [
1630
+ "H",
1631
+ "h",
1632
+ "hB"
1633
+ ],
1634
+ SO: [
1635
+ "h",
1636
+ "H"
1637
+ ],
1638
+ SR: [
1639
+ "H",
1640
+ "hB"
1641
+ ],
1642
+ SS: [
1643
+ "h",
1644
+ "hb",
1645
+ "H",
1646
+ "hB"
1647
+ ],
1648
+ ST: [
1649
+ "H",
1650
+ "hB"
1651
+ ],
1652
+ SV: [
1653
+ "h",
1654
+ "H",
1655
+ "hB",
1656
+ "hb"
1657
+ ],
1658
+ SX: [
1659
+ "H",
1660
+ "h",
1661
+ "hb",
1662
+ "hB"
1663
+ ],
1664
+ SY: [
1665
+ "h",
1666
+ "hB",
1667
+ "hb",
1668
+ "H"
1669
+ ],
1670
+ SZ: [
1671
+ "h",
1672
+ "hb",
1673
+ "H",
1674
+ "hB"
1675
+ ],
1676
+ TA: [
1677
+ "H",
1678
+ "h",
1679
+ "hb",
1680
+ "hB"
1681
+ ],
1682
+ TC: [
1683
+ "h",
1684
+ "hb",
1685
+ "H",
1686
+ "hB"
1687
+ ],
1688
+ TD: [
1689
+ "h",
1690
+ "H",
1691
+ "hB"
1692
+ ],
1693
+ TF: [
1694
+ "H",
1695
+ "h",
1696
+ "hB"
1697
+ ],
1698
+ TG: [
1699
+ "H",
1700
+ "hB"
1701
+ ],
1702
+ TH: [
1703
+ "H",
1704
+ "h"
1705
+ ],
1706
+ TJ: [
1707
+ "H",
1708
+ "h"
1709
+ ],
1710
+ TL: [
1711
+ "H",
1712
+ "hB",
1713
+ "hb",
1714
+ "h"
1715
+ ],
1716
+ TM: [
1717
+ "H",
1718
+ "h"
1719
+ ],
1720
+ TN: [
1721
+ "h",
1722
+ "hB",
1723
+ "hb",
1724
+ "H"
1725
+ ],
1726
+ TO: [
1727
+ "h",
1728
+ "H"
1729
+ ],
1730
+ TR: [
1731
+ "H",
1732
+ "hB"
1733
+ ],
1734
+ TT: [
1735
+ "h",
1736
+ "hb",
1737
+ "H",
1738
+ "hB"
1739
+ ],
1740
+ TW: [
1741
+ "hB",
1742
+ "hb",
1743
+ "h",
1744
+ "H"
1745
+ ],
1746
+ TZ: [
1747
+ "hB",
1748
+ "hb",
1749
+ "H",
1750
+ "h"
1751
+ ],
1752
+ UA: [
1753
+ "H",
1754
+ "hB",
1755
+ "h"
1756
+ ],
1757
+ UG: [
1758
+ "hB",
1759
+ "hb",
1760
+ "H",
1761
+ "h"
1762
+ ],
1763
+ UM: [
1764
+ "h",
1765
+ "hb",
1766
+ "H",
1767
+ "hB"
1768
+ ],
1769
+ US: [
1770
+ "h",
1771
+ "hb",
1772
+ "H",
1773
+ "hB"
1774
+ ],
1775
+ UY: [
1776
+ "h",
1777
+ "H",
1778
+ "hB",
1779
+ "hb"
1780
+ ],
1781
+ UZ: [
1782
+ "H",
1783
+ "hB",
1784
+ "h"
1785
+ ],
1786
+ VA: [
1787
+ "H",
1788
+ "h",
1789
+ "hB"
1790
+ ],
1791
+ VC: [
1792
+ "h",
1793
+ "hb",
1794
+ "H",
1795
+ "hB"
1796
+ ],
1797
+ VE: [
1798
+ "h",
1799
+ "H",
1800
+ "hB",
1801
+ "hb"
1802
+ ],
1803
+ VG: [
1804
+ "h",
1805
+ "hb",
1806
+ "H",
1807
+ "hB"
1808
+ ],
1809
+ VI: [
1810
+ "h",
1811
+ "hb",
1812
+ "H",
1813
+ "hB"
1814
+ ],
1815
+ VN: [
1816
+ "H",
1817
+ "h"
1818
+ ],
1819
+ VU: [
1820
+ "h",
1821
+ "H"
1822
+ ],
1823
+ WF: [
1824
+ "H",
1825
+ "hB"
1826
+ ],
1827
+ WS: [
1828
+ "h",
1829
+ "H"
1830
+ ],
1831
+ XK: [
1832
+ "H",
1833
+ "hB",
1834
+ "h"
1835
+ ],
1836
+ YE: [
1837
+ "h",
1838
+ "hB",
1839
+ "hb",
1840
+ "H"
1841
+ ],
1842
+ YT: [
1843
+ "H",
1844
+ "hB"
1845
+ ],
1846
+ ZA: [
1847
+ "H",
1848
+ "h",
1849
+ "hb",
1850
+ "hB"
1851
+ ],
1852
+ ZM: [
1853
+ "h",
1854
+ "hb",
1855
+ "H",
1856
+ "hB"
1857
+ ],
1858
+ ZW: [
1859
+ "H",
1860
+ "h"
1861
+ ],
1862
+ "af-ZA": [
1863
+ "H",
1864
+ "h",
1865
+ "hB",
1866
+ "hb"
1867
+ ],
1868
+ "ar-001": [
1869
+ "h",
1870
+ "hB",
1871
+ "hb",
1872
+ "H"
1873
+ ],
1874
+ "ca-ES": [
1875
+ "H",
1876
+ "h",
1877
+ "hB"
1878
+ ],
1879
+ "en-001": [
1880
+ "h",
1881
+ "hb",
1882
+ "H",
1883
+ "hB"
1884
+ ],
1885
+ "en-HK": [
1886
+ "h",
1887
+ "hb",
1888
+ "H",
1889
+ "hB"
1890
+ ],
1891
+ "en-IL": [
1892
+ "H",
1893
+ "h",
1894
+ "hb",
1895
+ "hB"
1896
+ ],
1897
+ "en-MY": [
1898
+ "h",
1899
+ "hb",
1900
+ "H",
1901
+ "hB"
1902
+ ],
1903
+ "es-BR": [
1904
+ "H",
1905
+ "h",
1906
+ "hB",
1907
+ "hb"
1908
+ ],
1909
+ "es-ES": [
1910
+ "H",
1911
+ "h",
1912
+ "hB",
1913
+ "hb"
1914
+ ],
1915
+ "es-GQ": [
1916
+ "H",
1917
+ "h",
1918
+ "hB",
1919
+ "hb"
1920
+ ],
1921
+ "fr-CA": [
1922
+ "H",
1923
+ "h",
1924
+ "hB"
1925
+ ],
1926
+ "gl-ES": [
1927
+ "H",
1928
+ "h",
1929
+ "hB"
1930
+ ],
1931
+ "gu-IN": [
1932
+ "hB",
1933
+ "hb",
1934
+ "h",
1935
+ "H"
1936
+ ],
1937
+ "hi-IN": [
1938
+ "hB",
1939
+ "h",
1940
+ "H"
1941
+ ],
1942
+ "it-CH": [
1943
+ "H",
1944
+ "h",
1945
+ "hB"
1946
+ ],
1947
+ "it-IT": [
1948
+ "H",
1949
+ "h",
1950
+ "hB"
1951
+ ],
1952
+ "kn-IN": [
1953
+ "hB",
1954
+ "h",
1955
+ "H"
1956
+ ],
1957
+ "ml-IN": [
1958
+ "hB",
1959
+ "h",
1960
+ "H"
1961
+ ],
1962
+ "mr-IN": [
1963
+ "hB",
1964
+ "hb",
1965
+ "h",
1966
+ "H"
1967
+ ],
1968
+ "pa-IN": [
1969
+ "hB",
1970
+ "hb",
1971
+ "h",
1972
+ "H"
1973
+ ],
1974
+ "ta-IN": [
1975
+ "hB",
1976
+ "h",
1977
+ "hb",
1978
+ "H"
1979
+ ],
1980
+ "te-IN": [
1981
+ "hB",
1982
+ "h",
1983
+ "H"
1984
+ ],
1985
+ "zu-ZA": [
1986
+ "H",
1987
+ "hB",
1988
+ "hb",
1989
+ "h"
1990
+ ]
1991
+ };
1992
+ function yn(e, t) {
1993
+ for (var r = "", n = 0; n < e.length; n++) {
1994
+ var i = e.charAt(n);
1995
+ if (i === "j") {
1996
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
1997
+ o++, n++;
1998
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
1999
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2000
+ r += h;
2001
+ for (; a-- > 0; )
2002
+ r = u + r;
2003
+ } else i === "J" ? r += "H" : r += i;
2004
+ }
2005
+ return r;
2006
+ }
2007
+ function En(e) {
2008
+ var t = e.hourCycle;
2009
+ if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2010
+ e.hourCycles && // @ts-ignore
2011
+ e.hourCycles.length && (t = e.hourCycles[0]), t)
2012
+ switch (t) {
2013
+ case "h24":
2014
+ return "k";
2015
+ case "h23":
2016
+ return "H";
2017
+ case "h12":
2018
+ return "h";
2019
+ case "h11":
2020
+ return "K";
2021
+ default:
2022
+ throw new Error("Invalid hourCycle");
2023
+ }
2024
+ var r = e.language, n;
2025
+ r !== "root" && (n = e.maximize().region);
2026
+ var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2027
+ return i[0];
2028
+ }
2029
+ var Le, kn = new RegExp("^".concat(Zt.source, "*")), Cn = new RegExp("".concat(Zt.source, "*$"));
2030
+ function N(e, t) {
2031
+ return { start: e, end: t };
2032
+ }
2033
+ var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
2034
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2035
+ }, qe = !0;
2036
+ try {
2037
+ var Pn = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2038
+ qe = ((Le = Pn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2039
+ } catch {
2040
+ qe = !1;
2041
+ }
2042
+ var ht = Sn ? (
2043
+ // Native
2044
+ function(t, r, n) {
2045
+ return t.startsWith(r, n);
2046
+ }
2047
+ ) : (
2048
+ // For IE11
2049
+ function(t, r, n) {
2050
+ return t.slice(n, n + r.length) === r;
2051
+ }
2052
+ ), Ge = xn ? String.fromCodePoint : (
2053
+ // IE11
2054
+ function() {
2055
+ for (var t = [], r = 0; r < arguments.length; r++)
2056
+ t[r] = arguments[r];
2057
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
2058
+ if (a = t[o++], a > 1114111)
2059
+ throw RangeError(a + " is not a valid code point");
2060
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2061
+ }
2062
+ return n;
2063
+ }
2064
+ ), dt = (
2065
+ // native
2066
+ Tn ? Object.fromEntries : (
2067
+ // Ponyfill
2068
+ function(t) {
2069
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2070
+ var o = i[n], a = o[0], s = o[1];
2071
+ r[a] = s;
2072
+ }
2073
+ return r;
2074
+ }
2075
+ )
2076
+ ), Kt = Mn ? (
2077
+ // Native
2078
+ function(t, r) {
2079
+ return t.codePointAt(r);
2080
+ }
2081
+ ) : (
2082
+ // IE 11
2083
+ function(t, r) {
2084
+ var n = t.length;
2085
+ if (!(r < 0 || r >= n)) {
2086
+ var i = t.charCodeAt(r), o;
2087
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2088
+ }
2089
+ }
2090
+ ), Bn = wn ? (
2091
+ // Native
2092
+ function(t) {
2093
+ return t.trimStart();
2094
+ }
2095
+ ) : (
2096
+ // Ponyfill
2097
+ function(t) {
2098
+ return t.replace(kn, "");
2099
+ }
2100
+ ), zn = Nn ? (
2101
+ // Native
2102
+ function(t) {
2103
+ return t.trimEnd();
2104
+ }
2105
+ ) : (
2106
+ // Ponyfill
2107
+ function(t) {
2108
+ return t.replace(Cn, "");
2109
+ }
2110
+ );
2111
+ function $t(e, t) {
2112
+ return new RegExp(e, t);
2113
+ }
2114
+ var Fe;
2115
+ if (qe) {
2116
+ var mt = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2117
+ Fe = function(t, r) {
2118
+ var n;
2119
+ mt.lastIndex = r;
2120
+ var i = mt.exec(t);
2121
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2122
+ };
2123
+ } else
2124
+ Fe = function(t, r) {
2125
+ for (var n = []; ; ) {
2126
+ var i = Kt(t, r);
2127
+ if (i === void 0 || er(i) || jn(i))
2128
+ break;
2129
+ n.push(i), r += i >= 65536 ? 2 : 1;
2130
+ }
2131
+ return Ge.apply(void 0, n);
2132
+ };
2133
+ var On = (
2134
+ /** @class */
2135
+ function() {
2136
+ function e(t, r) {
2137
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2138
+ }
2139
+ return e.prototype.parse = function() {
2140
+ if (this.offset() !== 0)
2141
+ throw Error("parser can only be used once");
2142
+ return this.parseMessage(0, "", !1);
2143
+ }, e.prototype.parseMessage = function(t, r, n) {
2144
+ for (var i = []; !this.isEOF(); ) {
2145
+ var o = this.char();
2146
+ if (o === 123) {
2147
+ var a = this.parseArgument(t, n);
2148
+ if (a.err)
2149
+ return a;
2150
+ i.push(a.val);
2151
+ } else {
2152
+ if (o === 125 && t > 0)
2153
+ break;
2154
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2155
+ var s = this.clonePosition();
2156
+ this.bump(), i.push({
2157
+ type: B.pound,
2158
+ location: N(s, this.clonePosition())
2159
+ });
2160
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2161
+ if (n)
2162
+ break;
2163
+ return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2164
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2165
+ var a = this.parseTag(t, r);
2166
+ if (a.err)
2167
+ return a;
2168
+ i.push(a.val);
2169
+ } else {
2170
+ var a = this.parseLiteral(t, r);
2171
+ if (a.err)
2172
+ return a;
2173
+ i.push(a.val);
2174
+ }
2175
+ }
2176
+ }
2177
+ return { val: i, err: null };
2178
+ }, e.prototype.parseTag = function(t, r) {
2179
+ var n = this.clonePosition();
2180
+ this.bump();
2181
+ var i = this.parseTagName();
2182
+ if (this.bumpSpace(), this.bumpIf("/>"))
2183
+ return {
2184
+ val: {
2185
+ type: B.literal,
2186
+ value: "<".concat(i, "/>"),
2187
+ location: N(n, this.clonePosition())
2188
+ },
2189
+ err: null
2190
+ };
2191
+ if (this.bumpIf(">")) {
2192
+ var o = this.parseMessage(t + 1, r, !0);
2193
+ if (o.err)
2194
+ return o;
2195
+ var a = o.val, s = this.clonePosition();
2196
+ if (this.bumpIf("</")) {
2197
+ if (this.isEOF() || !Ve(this.char()))
2198
+ return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
2199
+ var h = this.clonePosition(), u = this.parseTagName();
2200
+ return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2201
+ val: {
2202
+ type: B.tag,
2203
+ value: i,
2204
+ children: a,
2205
+ location: N(n, this.clonePosition())
2206
+ },
2207
+ err: null
2208
+ } : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
2209
+ } else
2210
+ return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
2211
+ } else
2212
+ return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
2213
+ }, e.prototype.parseTagName = function() {
2214
+ var t = this.offset();
2215
+ for (this.bump(); !this.isEOF() && Ln(this.char()); )
2216
+ this.bump();
2217
+ return this.message.slice(t, this.offset());
2218
+ }, e.prototype.parseLiteral = function(t, r) {
2219
+ for (var n = this.clonePosition(), i = ""; ; ) {
2220
+ var o = this.tryParseQuote(r);
2221
+ if (o) {
2222
+ i += o;
2223
+ continue;
2224
+ }
2225
+ var a = this.tryParseUnquoted(t, r);
2226
+ if (a) {
2227
+ i += a;
2228
+ continue;
2229
+ }
2230
+ var s = this.tryParseLeftAngleBracket();
2231
+ if (s) {
2232
+ i += s;
2233
+ continue;
2234
+ }
2235
+ break;
2236
+ }
2237
+ var h = N(n, this.clonePosition());
2238
+ return {
2239
+ val: { type: B.literal, value: i, location: h },
2240
+ err: null
2241
+ };
2242
+ }, e.prototype.tryParseLeftAngleBracket = function() {
2243
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2244
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
2245
+ }, e.prototype.tryParseQuote = function(t) {
2246
+ if (this.isEOF() || this.char() !== 39)
2247
+ return null;
2248
+ switch (this.peek()) {
2249
+ case 39:
2250
+ return this.bump(), this.bump(), "'";
2251
+ case 123:
2252
+ case 60:
2253
+ case 62:
2254
+ case 125:
2255
+ break;
2256
+ case 35:
2257
+ if (t === "plural" || t === "selectordinal")
2258
+ break;
2259
+ return null;
2260
+ default:
2261
+ return null;
2262
+ }
2263
+ this.bump();
2264
+ var r = [this.char()];
2265
+ for (this.bump(); !this.isEOF(); ) {
2266
+ var n = this.char();
2267
+ if (n === 39)
2268
+ if (this.peek() === 39)
2269
+ r.push(39), this.bump();
2270
+ else {
2271
+ this.bump();
2272
+ break;
2273
+ }
2274
+ else
2275
+ r.push(n);
2276
+ this.bump();
2277
+ }
2278
+ return Ge.apply(void 0, r);
2279
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2280
+ if (this.isEOF())
2281
+ return null;
2282
+ var n = this.char();
2283
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2284
+ }, e.prototype.parseArgument = function(t, r) {
2285
+ var n = this.clonePosition();
2286
+ if (this.bump(), this.bumpSpace(), this.isEOF())
2287
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2288
+ if (this.char() === 125)
2289
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2290
+ var i = this.parseIdentifierIfPossible().value;
2291
+ if (!i)
2292
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2293
+ if (this.bumpSpace(), this.isEOF())
2294
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2295
+ switch (this.char()) {
2296
+ case 125:
2297
+ return this.bump(), {
2298
+ val: {
2299
+ type: B.argument,
2300
+ // value does not include the opening and closing braces.
2301
+ value: i,
2302
+ location: N(n, this.clonePosition())
2303
+ },
2304
+ err: null
2305
+ };
2306
+ case 44:
2307
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2308
+ default:
2309
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2310
+ }
2311
+ }, e.prototype.parseIdentifierIfPossible = function() {
2312
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2313
+ this.bumpTo(i);
2314
+ var o = this.clonePosition(), a = N(t, o);
2315
+ return { value: n, location: a };
2316
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2317
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2318
+ switch (s) {
2319
+ case "":
2320
+ return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
2321
+ case "number":
2322
+ case "date":
2323
+ case "time": {
2324
+ this.bumpSpace();
2325
+ var u = null;
2326
+ if (this.bumpIf(",")) {
2327
+ this.bumpSpace();
2328
+ var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2329
+ if (d.err)
2330
+ return d;
2331
+ var m = zn(d.val);
2332
+ if (m.length === 0)
2333
+ return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2334
+ var v = N(c, this.clonePosition());
2335
+ u = { style: m, styleLocation: v };
2336
+ }
2337
+ var _ = this.tryParseArgumentClose(i);
2338
+ if (_.err)
2339
+ return _;
2340
+ var g = N(i, this.clonePosition());
2341
+ if (u && ht(u?.style, "::", 0)) {
2342
+ var C = Bn(u.style.slice(2));
2343
+ if (s === "number") {
2344
+ var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
2345
+ return d.err ? d : {
2346
+ val: { type: B.number, value: n, location: g, style: d.val },
2347
+ err: null
2348
+ };
2349
+ } else {
2350
+ if (C.length === 0)
2351
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2352
+ var f = C;
2353
+ this.locale && (f = yn(C, this.locale));
2354
+ var m = {
2355
+ type: $.dateTime,
2356
+ pattern: f,
2357
+ location: u.styleLocation,
2358
+ parsedOptions: this.shouldParseSkeletons ? mn(f) : {}
2359
+ }, b = s === "date" ? B.date : B.time;
2360
+ return {
2361
+ val: { type: b, value: n, location: g, style: m },
2362
+ err: null
2363
+ };
2364
+ }
2365
+ }
2366
+ return {
2367
+ val: {
2368
+ type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2369
+ value: n,
2370
+ location: g,
2371
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
2372
+ },
2373
+ err: null
2374
+ };
2375
+ }
2376
+ case "plural":
2377
+ case "selectordinal":
2378
+ case "select": {
2379
+ var T = this.clonePosition();
2380
+ if (this.bumpSpace(), !this.bumpIf(","))
2381
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(T, H({}, T)));
2382
+ this.bumpSpace();
2383
+ var P = this.parseIdentifierIfPossible(), k = 0;
2384
+ if (s !== "select" && P.value === "offset") {
2385
+ if (!this.bumpIf(":"))
2386
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2387
+ this.bumpSpace();
2388
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2389
+ if (d.err)
2390
+ return d;
2391
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), k = d.val;
2392
+ }
2393
+ var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
2394
+ if (z.err)
2395
+ return z;
2396
+ var _ = this.tryParseArgumentClose(i);
2397
+ if (_.err)
2398
+ return _;
2399
+ var O = N(i, this.clonePosition());
2400
+ return s === "select" ? {
2401
+ val: {
2402
+ type: B.select,
2403
+ value: n,
2404
+ options: dt(z.val),
2405
+ location: O
2406
+ },
2407
+ err: null
2408
+ } : {
2409
+ val: {
2410
+ type: B.plural,
2411
+ value: n,
2412
+ options: dt(z.val),
2413
+ offset: k,
2414
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
2415
+ location: O
2416
+ },
2417
+ err: null
2418
+ };
2419
+ }
2420
+ default:
2421
+ return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
2422
+ }
2423
+ }, e.prototype.tryParseArgumentClose = function(t) {
2424
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2425
+ }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2426
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2427
+ var n = this.char();
2428
+ switch (n) {
2429
+ case 39: {
2430
+ this.bump();
2431
+ var i = this.clonePosition();
2432
+ if (!this.bumpUntil("'"))
2433
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2434
+ this.bump();
2435
+ break;
2436
+ }
2437
+ case 123: {
2438
+ t += 1, this.bump();
2439
+ break;
2440
+ }
2441
+ case 125: {
2442
+ if (t > 0)
2443
+ t -= 1;
2444
+ else
2445
+ return {
2446
+ val: this.message.slice(r.offset, this.offset()),
2447
+ err: null
2448
+ };
2449
+ break;
2450
+ }
2451
+ default:
2452
+ this.bump();
2453
+ break;
2454
+ }
2455
+ }
2456
+ return {
2457
+ val: this.message.slice(r.offset, this.offset()),
2458
+ err: null
2459
+ };
2460
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2461
+ var n = [];
2462
+ try {
2463
+ n = gn(t);
2464
+ } catch {
2465
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
2466
+ }
2467
+ return {
2468
+ val: {
2469
+ type: $.number,
2470
+ tokens: n,
2471
+ location: r,
2472
+ parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
2473
+ },
2474
+ err: null
2475
+ };
2476
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2477
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
2478
+ if (u.length === 0) {
2479
+ var d = this.clonePosition();
2480
+ if (r !== "select" && this.bumpIf("=")) {
2481
+ var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2482
+ if (m.err)
2483
+ return m;
2484
+ c = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2485
+ } else
2486
+ break;
2487
+ }
2488
+ if (h.has(u))
2489
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2490
+ u === "other" && (a = !0), this.bumpSpace();
2491
+ var v = this.clonePosition();
2492
+ if (!this.bumpIf("{"))
2493
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2494
+ var _ = this.parseMessage(t + 1, r, n);
2495
+ if (_.err)
2496
+ return _;
2497
+ var g = this.tryParseArgumentClose(v);
2498
+ if (g.err)
2499
+ return g;
2500
+ s.push([
2501
+ u,
2502
+ {
2503
+ value: _.val,
2504
+ location: N(v, this.clonePosition())
2505
+ }
2506
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
2507
+ }
2508
+ return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2509
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
2510
+ var n = 1, i = this.clonePosition();
2511
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2512
+ for (var o = !1, a = 0; !this.isEOF(); ) {
2513
+ var s = this.char();
2514
+ if (s >= 48 && s <= 57)
2515
+ o = !0, a = a * 10 + (s - 48), this.bump();
2516
+ else
2517
+ break;
2518
+ }
2519
+ var h = N(i, this.clonePosition());
2520
+ return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2521
+ }, e.prototype.offset = function() {
2522
+ return this.position.offset;
2523
+ }, e.prototype.isEOF = function() {
2524
+ return this.offset() === this.message.length;
2525
+ }, e.prototype.clonePosition = function() {
2526
+ return {
2527
+ offset: this.position.offset,
2528
+ line: this.position.line,
2529
+ column: this.position.column
2530
+ };
2531
+ }, e.prototype.char = function() {
2532
+ var t = this.position.offset;
2533
+ if (t >= this.message.length)
2534
+ throw Error("out of bound");
2535
+ var r = Kt(this.message, t);
2536
+ if (r === void 0)
2537
+ throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2538
+ return r;
2539
+ }, e.prototype.error = function(t, r) {
2540
+ return {
2541
+ val: null,
2542
+ err: {
2543
+ kind: t,
2544
+ message: this.message,
2545
+ location: r
2546
+ }
2547
+ };
2548
+ }, e.prototype.bump = function() {
2549
+ if (!this.isEOF()) {
2550
+ var t = this.char();
2551
+ 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);
2552
+ }
2553
+ }, e.prototype.bumpIf = function(t) {
2554
+ if (ht(this.message, t, this.offset())) {
2555
+ for (var r = 0; r < t.length; r++)
2556
+ this.bump();
2557
+ return !0;
2558
+ }
2559
+ return !1;
2560
+ }, e.prototype.bumpUntil = function(t) {
2561
+ var r = this.offset(), n = this.message.indexOf(t, r);
2562
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2563
+ }, e.prototype.bumpTo = function(t) {
2564
+ if (this.offset() > t)
2565
+ throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
2566
+ for (t = Math.min(t, this.message.length); ; ) {
2567
+ var r = this.offset();
2568
+ if (r === t)
2569
+ break;
2570
+ if (r > t)
2571
+ throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2572
+ if (this.bump(), this.isEOF())
2573
+ break;
2574
+ }
2575
+ }, e.prototype.bumpSpace = function() {
2576
+ for (; !this.isEOF() && er(this.char()); )
2577
+ this.bump();
2578
+ }, e.prototype.peek = function() {
2579
+ if (this.isEOF())
2580
+ return null;
2581
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
2582
+ return n ?? null;
2583
+ }, e;
2584
+ }()
2585
+ );
2586
+ function Ve(e) {
2587
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2588
+ }
2589
+ function In(e) {
2590
+ return Ve(e) || e === 47;
2591
+ }
2592
+ function Ln(e) {
2593
+ return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
2594
+ }
2595
+ function er(e) {
2596
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2597
+ }
2598
+ function jn(e) {
2599
+ return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
2600
+ }
2601
+ function Xe(e) {
2602
+ e.forEach(function(t) {
2603
+ if (delete t.location, Ft(t) || Vt(t))
2604
+ for (var r in t.options)
2605
+ delete t.options[r].location, Xe(t.options[r].value);
2606
+ else Dt(t) && Wt(t.style) || (qt(t) || Gt(t)) && De(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
2607
+ });
2608
+ }
2609
+ function Rn(e, t) {
2610
+ t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2611
+ var r = new On(e, t).parse();
2612
+ if (r.err) {
2613
+ var n = SyntaxError(w[r.err.kind]);
2614
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2615
+ }
2616
+ return t?.captureLocation || Xe(r.val), r.val;
2617
+ }
2618
+ var ee;
2619
+ (function(e) {
2620
+ e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2621
+ })(ee || (ee = {}));
2622
+ var Ae = (
2623
+ /** @class */
2624
+ function(e) {
2625
+ Ne(t, e);
2626
+ function t(r, n, i) {
2627
+ var o = e.call(this, r) || this;
2628
+ return o.code = n, o.originalMessage = i, o;
2629
+ }
2630
+ return t.prototype.toString = function() {
2631
+ return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2632
+ }, t;
2633
+ }(Error)
2634
+ ), pt = (
2635
+ /** @class */
2636
+ function(e) {
2637
+ Ne(t, e);
2638
+ function t(r, n, i, o) {
2639
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
2640
+ }
2641
+ return t;
2642
+ }(Ae)
2643
+ ), Un = (
2644
+ /** @class */
2645
+ function(e) {
2646
+ Ne(t, e);
2647
+ function t(r, n, i) {
2648
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
2649
+ }
2650
+ return t;
2651
+ }(Ae)
2652
+ ), Dn = (
2653
+ /** @class */
2654
+ function(e) {
2655
+ Ne(t, e);
2656
+ function t(r, n) {
2657
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
2658
+ }
2659
+ return t;
2660
+ }(Ae)
2661
+ ), D;
2662
+ (function(e) {
2663
+ e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2664
+ })(D || (D = {}));
2665
+ function qn(e) {
2666
+ return e.length < 2 ? e : e.reduce(function(t, r) {
2667
+ var n = t[t.length - 1];
2668
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
2669
+ }, []);
2670
+ }
2671
+ function Gn(e) {
2672
+ return typeof e == "function";
2673
+ }
2674
+ function Se(e, t, r, n, i, o, a) {
2675
+ if (e.length === 1 && st(e[0]))
2676
+ return [
2677
+ {
2678
+ type: D.literal,
2679
+ value: e[0].value
2680
+ }
2681
+ ];
2682
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
2683
+ var c = u[h];
2684
+ if (st(c)) {
2685
+ s.push({
2686
+ type: D.literal,
2687
+ value: c.value
2688
+ });
2689
+ continue;
2690
+ }
2691
+ if (hn(c)) {
2692
+ typeof o == "number" && s.push({
2693
+ type: D.literal,
2694
+ value: r.getNumberFormat(t).format(o)
2695
+ });
2696
+ continue;
2697
+ }
2698
+ var d = c.value;
2699
+ if (!(i && d in i))
2700
+ throw new Dn(d, a);
2701
+ var m = i[d];
2702
+ if (un(c)) {
2703
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
2704
+ type: typeof m == "string" ? D.literal : D.object,
2705
+ value: m
2706
+ });
2707
+ continue;
2708
+ }
2709
+ if (qt(c)) {
2710
+ var v = typeof c.style == "string" ? n.date[c.style] : De(c.style) ? c.style.parsedOptions : void 0;
2711
+ s.push({
2712
+ type: D.literal,
2713
+ value: r.getDateTimeFormat(t, v).format(m)
2714
+ });
2715
+ continue;
2716
+ }
2717
+ if (Gt(c)) {
2718
+ var v = typeof c.style == "string" ? n.time[c.style] : De(c.style) ? c.style.parsedOptions : n.time.medium;
2719
+ s.push({
2720
+ type: D.literal,
2721
+ value: r.getDateTimeFormat(t, v).format(m)
2722
+ });
2723
+ continue;
2724
+ }
2725
+ if (Dt(c)) {
2726
+ var v = typeof c.style == "string" ? n.number[c.style] : Wt(c.style) ? c.style.parsedOptions : void 0;
2727
+ v && v.scale && (m = m * (v.scale || 1)), s.push({
2728
+ type: D.literal,
2729
+ value: r.getNumberFormat(t, v).format(m)
2730
+ });
2731
+ continue;
2732
+ }
2733
+ if (Xt(c)) {
2734
+ var _ = c.children, g = c.value, C = i[g];
2735
+ if (!Gn(C))
2736
+ throw new Un(g, "function", a);
2737
+ var f = Se(_, t, r, n, i, o), b = C(f.map(function(k) {
2738
+ return k.value;
2739
+ }));
2740
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(k) {
2741
+ return {
2742
+ type: typeof k == "string" ? D.literal : D.object,
2743
+ value: k
2744
+ };
2745
+ }));
2746
+ }
2747
+ if (Ft(c)) {
2748
+ var T = c.options[m] || c.options.other;
2749
+ if (!T)
2750
+ throw new pt(c.value, m, Object.keys(c.options), a);
2751
+ s.push.apply(s, Se(T.value, t, r, n, i));
2752
+ continue;
2753
+ }
2754
+ if (Vt(c)) {
2755
+ var T = c.options["=".concat(m)];
2756
+ if (!T) {
2757
+ if (!Intl.PluralRules)
2758
+ throw new Ae(`Intl.PluralRules is not available in this environment.
2759
+ Try polyfilling it using "@formatjs/intl-pluralrules"
2760
+ `, ee.MISSING_INTL_API, a);
2761
+ var P = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
2762
+ T = c.options[P] || c.options.other;
2763
+ }
2764
+ if (!T)
2765
+ throw new pt(c.value, m, Object.keys(c.options), a);
2766
+ s.push.apply(s, Se(T.value, t, r, n, i, m - (c.offset || 0)));
2767
+ continue;
2768
+ }
2769
+ }
2770
+ return qn(s);
2771
+ }
2772
+ function Fn(e, t) {
2773
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2774
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
2775
+ }, {})) : e;
2776
+ }
2777
+ function Vn(e, t) {
2778
+ return t ? Object.keys(e).reduce(function(r, n) {
2779
+ return r[n] = Fn(e[n], t[n]), r;
2780
+ }, H({}, e)) : e;
2781
+ }
2782
+ function je(e) {
2783
+ return {
2784
+ create: function() {
2785
+ return {
2786
+ get: function(t) {
2787
+ return e[t];
2788
+ },
2789
+ set: function(t, r) {
2790
+ e[t] = r;
2791
+ }
2792
+ };
2793
+ }
2794
+ };
2795
+ }
2796
+ function Xn(e) {
2797
+ return e === void 0 && (e = {
2798
+ number: {},
2799
+ dateTime: {},
2800
+ pluralRules: {}
2801
+ }), {
2802
+ getNumberFormat: Oe(function() {
2803
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2804
+ r[n] = arguments[n];
2805
+ return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
2806
+ }, {
2807
+ cache: je(e.number),
2808
+ strategy: Ie.variadic
2809
+ }),
2810
+ getDateTimeFormat: Oe(function() {
2811
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2812
+ r[n] = arguments[n];
2813
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
2814
+ }, {
2815
+ cache: je(e.dateTime),
2816
+ strategy: Ie.variadic
2817
+ }),
2818
+ getPluralRules: Oe(function() {
2819
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2820
+ r[n] = arguments[n];
2821
+ return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
2822
+ }, {
2823
+ cache: je(e.pluralRules),
2824
+ strategy: Ie.variadic
2825
+ })
2826
+ };
2827
+ }
2828
+ var Wn = (
2829
+ /** @class */
2830
+ function() {
2831
+ function e(t, r, n, i) {
2832
+ r === void 0 && (r = e.defaultLocale);
2833
+ var o = this;
2834
+ if (this.formatterCache = {
2835
+ number: {},
2836
+ dateTime: {},
2837
+ pluralRules: {}
2838
+ }, this.format = function(h) {
2839
+ var u = o.formatToParts(h);
2840
+ if (u.length === 1)
2841
+ return u[0].value;
2842
+ var c = u.reduce(function(d, m) {
2843
+ return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
2844
+ }, []);
2845
+ return c.length <= 1 ? c[0] || "" : c;
2846
+ }, this.formatToParts = function(h) {
2847
+ return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2848
+ }, this.resolvedOptions = function() {
2849
+ var h;
2850
+ return {
2851
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2852
+ };
2853
+ }, this.getAst = function() {
2854
+ return o.ast;
2855
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
2856
+ if (this.message = t, !e.__parse)
2857
+ throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2858
+ var a = i || {};
2859
+ a.formatters;
2860
+ var s = tn(a, ["formatters"]);
2861
+ this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
2862
+ } else
2863
+ this.ast = t;
2864
+ if (!Array.isArray(this.ast))
2865
+ throw new TypeError("A message must be provided as a String or AST.");
2866
+ this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
2867
+ }
2868
+ return Object.defineProperty(e, "defaultLocale", {
2869
+ get: function() {
2870
+ return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
2871
+ },
2872
+ enumerable: !1,
2873
+ configurable: !0
2874
+ }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
2875
+ if (!(typeof Intl.Locale > "u")) {
2876
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
2877
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2878
+ }
2879
+ }, e.__parse = Rn, e.formats = {
2880
+ number: {
2881
+ integer: {
2882
+ maximumFractionDigits: 0
2883
+ },
2884
+ currency: {
2885
+ style: "currency"
2886
+ },
2887
+ percent: {
2888
+ style: "percent"
2889
+ }
2890
+ },
2891
+ date: {
2892
+ short: {
2893
+ month: "numeric",
2894
+ day: "numeric",
2895
+ year: "2-digit"
2896
+ },
2897
+ medium: {
2898
+ month: "short",
2899
+ day: "numeric",
2900
+ year: "numeric"
2901
+ },
2902
+ long: {
2903
+ month: "long",
2904
+ day: "numeric",
2905
+ year: "numeric"
2906
+ },
2907
+ full: {
2908
+ weekday: "long",
2909
+ month: "long",
2910
+ day: "numeric",
2911
+ year: "numeric"
2912
+ }
2913
+ },
2914
+ time: {
2915
+ short: {
2916
+ hour: "numeric",
2917
+ minute: "numeric"
2918
+ },
2919
+ medium: {
2920
+ hour: "numeric",
2921
+ minute: "numeric",
2922
+ second: "numeric"
2923
+ },
2924
+ long: {
2925
+ hour: "numeric",
2926
+ minute: "numeric",
2927
+ second: "numeric",
2928
+ timeZoneName: "short"
2929
+ },
2930
+ full: {
2931
+ hour: "numeric",
2932
+ minute: "numeric",
2933
+ second: "numeric",
2934
+ timeZoneName: "short"
2935
+ }
2936
+ }
2937
+ }, e;
2938
+ }()
2939
+ );
2940
+ function Zn(e, t) {
2941
+ if (t == null)
2942
+ return;
2943
+ if (t in e)
2944
+ return e[t];
2945
+ const r = t.split(".");
2946
+ let n = e;
2947
+ for (let i = 0; i < r.length; i++)
2948
+ if (typeof n == "object") {
2949
+ if (i > 0) {
2950
+ const o = r.slice(i, r.length).join(".");
2951
+ if (o in n) {
2952
+ n = n[o];
2953
+ break;
2954
+ }
2955
+ }
2956
+ n = n[r[i]];
2957
+ } else
2958
+ n = void 0;
2959
+ return n;
2960
+ }
2961
+ const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), tr = (e, t) => {
2962
+ if (t == null)
2963
+ return;
2964
+ if (t in Z && e in Z[t])
2965
+ return Z[t][e];
2966
+ const r = He(t);
2967
+ for (let n = 0; n < r.length; n++) {
2968
+ const i = r[n], o = Yn(i, e);
2969
+ if (o)
2970
+ return Jn(e, t, o);
2971
+ }
2972
+ };
2973
+ let Ke;
2974
+ const _e = we({});
2975
+ function Qn(e) {
2976
+ return Ke[e] || null;
2977
+ }
2978
+ function rr(e) {
2979
+ return e in Ke;
2980
+ }
2981
+ function Yn(e, t) {
2982
+ if (!rr(e))
2983
+ return null;
2984
+ const r = Qn(e);
2985
+ return Zn(r, t);
2986
+ }
2987
+ function Kn(e) {
2988
+ if (e == null)
2989
+ return;
2990
+ const t = He(e);
2991
+ for (let r = 0; r < t.length; r++) {
2992
+ const n = t[r];
2993
+ if (rr(n))
2994
+ return n;
2995
+ }
2996
+ }
2997
+ function nr(e, ...t) {
2998
+ delete Z[e], _e.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
2999
+ }
3000
+ re(
3001
+ [_e],
3002
+ ([e]) => Object.keys(e)
3003
+ );
3004
+ _e.subscribe((e) => Ke = e);
3005
+ const xe = {};
3006
+ function $n(e, t) {
3007
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3008
+ }
3009
+ function ir(e) {
3010
+ return xe[e];
3011
+ }
3012
+ function ei(e) {
3013
+ return He(e).map((t) => {
3014
+ const r = ir(t);
3015
+ return [t, r ? [...r] : []];
3016
+ }).filter(([, t]) => t.length > 0);
3017
+ }
3018
+ function We(e) {
3019
+ return e == null ? !1 : He(e).some(
3020
+ (t) => {
3021
+ var r;
3022
+ return (r = ir(t)) == null ? void 0 : r.size;
3023
+ }
3024
+ );
3025
+ }
3026
+ function ti(e, t) {
3027
+ return Promise.all(
3028
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3029
+ ).then((n) => nr(e, ...n));
3030
+ }
3031
+ const ue = {};
3032
+ function or(e) {
3033
+ if (!We(e))
3034
+ return e in ue ? ue[e] : Promise.resolve();
3035
+ const t = ei(e);
3036
+ return ue[e] = Promise.all(
3037
+ t.map(
3038
+ ([r, n]) => ti(r, n)
3039
+ )
3040
+ ).then(() => {
3041
+ if (We(e))
3042
+ return or(e);
3043
+ delete ue[e];
3044
+ }), ue[e];
3045
+ }
3046
+ const ri = {
3047
+ number: {
3048
+ scientific: { notation: "scientific" },
3049
+ engineering: { notation: "engineering" },
3050
+ compactLong: { notation: "compact", compactDisplay: "long" },
3051
+ compactShort: { notation: "compact", compactDisplay: "short" }
3052
+ },
3053
+ date: {
3054
+ short: { month: "numeric", day: "numeric", year: "2-digit" },
3055
+ medium: { month: "short", day: "numeric", year: "numeric" },
3056
+ long: { month: "long", day: "numeric", year: "numeric" },
3057
+ full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
3058
+ },
3059
+ time: {
3060
+ short: { hour: "numeric", minute: "numeric" },
3061
+ medium: { hour: "numeric", minute: "numeric", second: "numeric" },
3062
+ long: {
3063
+ hour: "numeric",
3064
+ minute: "numeric",
3065
+ second: "numeric",
3066
+ timeZoneName: "short"
3067
+ },
3068
+ full: {
3069
+ hour: "numeric",
3070
+ minute: "numeric",
3071
+ second: "numeric",
3072
+ timeZoneName: "short"
3073
+ }
3074
+ }
3075
+ }, ni = {
3076
+ fallbackLocale: null,
3077
+ loadingDelay: 200,
3078
+ formats: ri,
3079
+ warnOnMissingMessages: !0,
3080
+ handleMissingMessage: void 0,
3081
+ ignoreTag: !0
3082
+ }, ii = ni;
3083
+ function te() {
3084
+ return ii;
3085
+ }
3086
+ const Re = we(!1);
3087
+ var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3088
+ for (var r in t)
3089
+ li.call(t, r) && ft(e, r, t[r]);
3090
+ if (gt)
3091
+ for (var r of gt(t))
3092
+ ci.call(t, r) && ft(e, r, t[r]);
3093
+ return e;
3094
+ }, hi = (e, t) => ai(e, si(t));
3095
+ let Ze;
3096
+ const Te = we(null);
3097
+ function _t(e) {
3098
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3099
+ }
3100
+ function He(e, t = te().fallbackLocale) {
3101
+ const r = _t(e);
3102
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3103
+ }
3104
+ function J() {
3105
+ return Ze ?? void 0;
3106
+ }
3107
+ Te.subscribe((e) => {
3108
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3109
+ });
3110
+ const di = (e) => {
3111
+ if (e && Kn(e) && We(e)) {
3112
+ const { loadingDelay: t } = te();
3113
+ let r;
3114
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3115
+ () => Re.set(!0),
3116
+ t
3117
+ ) : Re.set(!0), or(e).then(() => {
3118
+ Te.set(e);
3119
+ }).finally(() => {
3120
+ clearTimeout(r), Re.set(!1);
3121
+ });
3122
+ }
3123
+ return Te.set(e);
3124
+ }, ne = hi(ui({}, Te), {
3125
+ set: di
3126
+ }), Pe = (e) => {
3127
+ const t = /* @__PURE__ */ Object.create(null);
3128
+ return (n) => {
3129
+ const i = JSON.stringify(n);
3130
+ return i in t ? t[i] : t[i] = e(n);
3131
+ };
3132
+ };
3133
+ var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $e = (e, t) => {
3134
+ for (var r in t || (t = {}))
3135
+ ar.call(t, r) && bt(e, r, t[r]);
3136
+ if (Me)
3137
+ for (var r of Me(t))
3138
+ sr.call(t, r) && bt(e, r, t[r]);
3139
+ return e;
3140
+ }, ie = (e, t) => {
3141
+ var r = {};
3142
+ for (var n in e)
3143
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3144
+ if (e != null && Me)
3145
+ for (var n of Me(e))
3146
+ t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
3147
+ return r;
3148
+ };
3149
+ const pe = (e, t) => {
3150
+ const { formats: r } = te();
3151
+ if (e in r && t in r[e])
3152
+ return r[e][t];
3153
+ throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3154
+ }, pi = Pe(
3155
+ (e) => {
3156
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3157
+ if (r == null)
3158
+ throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3159
+ return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3160
+ }
3161
+ ), gi = Pe(
3162
+ (e) => {
3163
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3164
+ if (r == null)
3165
+ throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3166
+ return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3167
+ }
3168
+ ), fi = Pe(
3169
+ (e) => {
3170
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3171
+ if (r == null)
3172
+ throw new Error(
3173
+ '[svelte-i18n] A "locale" must be set to format time values'
3174
+ );
3175
+ return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3176
+ }
3177
+ ), _i = (e = {}) => {
3178
+ var t = e, {
3179
+ locale: r = J()
3180
+ } = t, n = ie(t, [
3181
+ "locale"
3182
+ ]);
3183
+ return pi($e({ locale: r }, n));
3184
+ }, bi = (e = {}) => {
3185
+ var t = e, {
3186
+ locale: r = J()
3187
+ } = t, n = ie(t, [
3188
+ "locale"
3189
+ ]);
3190
+ return gi($e({ locale: r }, n));
3191
+ }, vi = (e = {}) => {
3192
+ var t = e, {
3193
+ locale: r = J()
3194
+ } = t, n = ie(t, [
3195
+ "locale"
3196
+ ]);
3197
+ return fi($e({ locale: r }, n));
3198
+ }, yi = Pe(
3199
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3200
+ (e, t = J()) => new Wn(e, t, te().formats, {
3201
+ ignoreTag: te().ignoreTag
3202
+ })
3203
+ ), Ei = (e, t = {}) => {
3204
+ var r, n, i, o;
3205
+ let a = t;
3206
+ typeof e == "object" && (a = e, e = a.id);
3207
+ const {
3208
+ values: s,
3209
+ locale: h = J(),
3210
+ default: u
3211
+ } = a;
3212
+ if (h == null)
3213
+ throw new Error(
3214
+ "[svelte-i18n] Cannot format a message without first setting the initial locale."
3215
+ );
3216
+ let c = tr(e, h);
3217
+ if (!c)
3218
+ c = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3219
+ else if (typeof c != "string")
3220
+ return console.warn(
3221
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3222
+ ), c;
3223
+ if (!s)
3224
+ return c;
3225
+ let d = c;
3226
+ try {
3227
+ d = yi(c, h).format(s);
3228
+ } catch (m) {
3229
+ m instanceof Error && console.warn(
3230
+ `[svelte-i18n] Message "${e}" has syntax error:`,
3231
+ m.message
3232
+ );
3233
+ }
3234
+ return d;
3235
+ }, ki = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Si = (e, t) => _i(t).format(e), xi = (e, t = J()) => tr(e, t), Ti = re([ne, _e], () => Ei);
3236
+ re([ne], () => ki);
3237
+ re([ne], () => Ci);
3238
+ re([ne], () => Si);
3239
+ re([ne, _e], () => xi);
3240
+ function vt(e, t) {
3241
+ nr(e, t);
3242
+ }
3243
+ function Mi(e) {
3244
+ ne.set(e);
3245
+ }
3246
+ const yt = {
3247
+ en: {
3248
+ invalidUrl: "Failed to construct 'URL': Invalid URL",
3249
+ fetchConsentsError: "Error: Could not fetch consents.",
3250
+ fetchPlayerConsentsError: "Error: Could not fetch player consents.",
3251
+ fetchConsentsCategoriesError: "Error: Could not fetch consents categories",
3252
+ updateConsentsError: "Error: Could not update consents.",
3253
+ saveChangesError: "Error: Could not save changes.",
3254
+ mustAcceptError: "Mandatory consents must be accepted.",
3255
+ title: "Consents",
3256
+ saveButtonContent: "Save Consents",
3257
+ description: "Here, you can explore and manage your preferences regarding how we collect and utilize your data. Your privacy matters to us, and this tool empowers you to make informed choices about your online experience.",
3258
+ marketing__category: "Marketing",
3259
+ Other__category: "Other",
3260
+ privacy__category: "Privacy and Data Sharing",
3261
+ dataSharing__name: "Data Sharing",
3262
+ dataSharing__description: "Data Sharing consent",
3263
+ emailMarketing__name: "Email Marketing",
3264
+ emailMarketing__description: "Email Marketing consent",
3265
+ smsMarketing__name: "SMS Marketing",
3266
+ smsMarketing__description: "SMS Marketing consent",
3267
+ cookiesAndTracking__name: "Cookies and Tracking",
3268
+ cookiesAndTracking__description: "Cookies and Tracking consent",
3269
+ termsandconditions__description: "Needed to prove user accepted terms and conditions.",
3270
+ emailmarketing__description: "Needed to prove email marketing consent.",
3271
+ sms__description: "Needed to prove sms marketing consent.",
3272
+ "3rdparty__description": "Needed to prove 3rd party marketing consent.",
3273
+ noDataFound: "No data found for consents.",
3274
+ loading: "Loading...please wait",
3275
+ requiredError: "This field is mandatory",
3276
+ wrongModalConfig: "There was an error with the config! No expired consents found."
3277
+ },
3278
+ "zh-hk": {
3279
+ invalidUrl: "無法構建 'URL': 無效的URL",
3280
+ fetchConsentsError: "錯誤: 無法獲取同意。",
3281
+ fetchPlayerConsentsError: "錯誤: 無法獲取玩家同意。",
3282
+ fetchConsentsCategoriesError: "錯誤: 無法獲取同意類別。",
3283
+ updateConsentsError: "錯誤: 無法更新同意。",
3284
+ saveChangesError: "錯誤: 無法保存更改。",
3285
+ mustAcceptError: "必須接受強制性同意。",
3286
+ title: "同意",
3287
+ saveButtonContent: "保存同意",
3288
+ description: "在此,您可以探索和管理有關我們如何收集和使用您的數據的偏好。您的隱私對我們非常重要,這個工具可幫助您對您的在線體驗做出知情選擇。",
3289
+ marketing__category: "市場推廣",
3290
+ Other__category: "其他",
3291
+ privacy__category: "隱私與數據共享",
3292
+ dataSharing__name: "數據共享",
3293
+ dataSharing__description: "數據共享同意",
3294
+ emailMarketing__name: "電子郵件市場推廣",
3295
+ emailMarketing__description: "電子郵件市場推廣同意",
3296
+ smsMarketing__name: "短信市場推廣",
3297
+ smsMarketing__description: "短信市場推廣同意",
3298
+ cookiesAndTracking__name: "Cookies與追蹤",
3299
+ cookiesAndTracking__description: "Cookies與追蹤同意",
3300
+ termsandconditions__description: "用於證明用戶接受條款和條件。",
3301
+ emailmarketing__description: "用於證明電子郵件市場推廣同意。",
3302
+ sms__description: "用於證明短信市場推廣同意。",
3303
+ "3rdparty__description": "用於證明第三方市場推廣同意。",
3304
+ noDataFound: "未找到同意數據。",
3305
+ loading: "加載中...請稍候",
3306
+ requiredError: "此字段為必填項",
3307
+ wrongModalConfig: "配置出錯!未找到過期的同意。"
3308
+ },
3309
+ de: {
3310
+ invalidUrl: "Fehler beim Erstellen von 'URL': Ungültige URL",
3311
+ fetchConsentsError: "Fehler: Konnte Einwilligungen nicht abrufen.",
3312
+ fetchPlayerConsentsError: "Fehler: Konnte Spielereinwilligungen nicht abrufen.",
3313
+ fetchConsentsCategoriesError: "Fehler: Konnte Einwilligungskategorien nicht abrufen.",
3314
+ updateConsentsError: "Fehler: Konnte Einwilligungen nicht aktualisieren.",
3315
+ saveChangesError: "Fehler: Änderungen konnten nicht gespeichert werden.",
3316
+ mustAcceptError: "Pflicht-Einwilligungen müssen akzeptiert werden.",
3317
+ title: "Einwilligungen",
3318
+ saveButtonContent: "Einwilligungen speichern",
3319
+ description: "Hier können Sie Ihre Präferenzen dazu verwalten, wie wir Ihre Daten sammeln und nutzen. Ihre Privatsphäre ist uns wichtig, und dieses Tool ermöglicht es Ihnen, informierte Entscheidungen über Ihr Online-Erlebnis zu treffen.",
3320
+ marketing__category: "Marketing",
3321
+ Other__category: "Sonstiges",
3322
+ privacy__category: "Datenschutz und Datenfreigabe",
3323
+ dataSharing__name: "Datenfreigabe",
3324
+ dataSharing__description: "Einwilligung zur Datenfreigabe",
3325
+ emailMarketing__name: "E-Mail-Marketing",
3326
+ emailMarketing__description: "Einwilligung für E-Mail-Marketing",
3327
+ smsMarketing__name: "SMS-Marketing",
3328
+ smsMarketing__description: "Einwilligung für SMS-Marketing",
3329
+ cookiesAndTracking__name: "Cookies und Tracking",
3330
+ cookiesAndTracking__description: "Einwilligung für Cookies und Tracking",
3331
+ termsandconditions__description: "Erforderlich, um nachzuweisen, dass der Benutzer die Bedingungen akzeptiert hat.",
3332
+ emailmarketing__description: "Erforderlich, um die Einwilligung für E-Mail-Marketing nachzuweisen.",
3333
+ sms__description: "Erforderlich, um die Einwilligung für SMS-Marketing nachzuweisen.",
3334
+ "3rdparty__description": "Erforderlich, um die Einwilligung für Drittanbieter-Marketing nachzuweisen.",
3335
+ noDataFound: "Keine Daten zu Einwilligungen gefunden.",
3336
+ loading: "Wird geladen... bitte warten",
3337
+ requiredError: "Dieses Feld ist erforderlich",
3338
+ wrongModalConfig: "Ein Fehler in der Konfiguration ist aufgetreten! Keine abgelaufenen Einwilligungen gefunden."
3339
+ },
3340
+ it: {
3341
+ invalidUrl: "Impossibile costruire 'URL': URL non valido",
3342
+ fetchConsentsError: "Errore: Impossibile recuperare i consensi.",
3343
+ fetchPlayerConsentsError: "Errore: Impossibile recuperare i consensi del giocatore.",
3344
+ fetchConsentsCategoriesError: "Errore: Impossibile recuperare le categorie di consenso.",
3345
+ updateConsentsError: "Errore: Impossibile aggiornare i consensi.",
3346
+ saveChangesError: "Errore: Impossibile salvare le modifiche.",
3347
+ mustAcceptError: "I consensi obbligatori devono essere accettati.",
3348
+ title: "Consensi",
3349
+ saveButtonContent: "Salva Consensi",
3350
+ description: "Qui puoi esplorare e gestire le tue preferenze su come raccogliamo e utilizziamo i tuoi dati. La tua privacy è importante per noi e questo strumento ti consente di fare scelte informate sulla tua esperienza online.",
3351
+ marketing__category: "Marketing",
3352
+ Other__category: "Altro",
3353
+ privacy__category: "Privacy e Condivisione dei Dati",
3354
+ dataSharing__name: "Condivisione dei Dati",
3355
+ dataSharing__description: "Consenso alla condivisione dei dati",
3356
+ emailMarketing__name: "Email Marketing",
3357
+ emailMarketing__description: "Consenso all'email marketing",
3358
+ smsMarketing__name: "SMS Marketing",
3359
+ smsMarketing__description: "Consenso all'SMS marketing",
3360
+ cookiesAndTracking__name: "Cookies e Tracciamento",
3361
+ cookiesAndTracking__description: "Consenso ai cookies e tracciamento",
3362
+ termsandconditions__description: "Necessario per dimostrare che l'utente ha accettato i termini e le condizioni.",
3363
+ emailmarketing__description: "Necessario per dimostrare il consenso all'email marketing.",
3364
+ sms__description: "Necessario per dimostrare il consenso all'SMS marketing.",
3365
+ "3rdparty__description": "Necessario per dimostrare il consenso al marketing di terze parti.",
3366
+ noDataFound: "Nessun dato trovato per i consensi.",
3367
+ loading: "Caricamento... attendere",
3368
+ requiredError: "Questo campo è obbligatorio",
3369
+ wrongModalConfig: "Si è verificato un errore con la configurazione! Nessun consenso scaduto trovato."
3370
+ },
3371
+ fr: {
3372
+ invalidUrl: "Impossible de construire 'URL' : URL invalide",
3373
+ fetchConsentsError: "Erreur : Impossible de récupérer les consentements.",
3374
+ fetchPlayerConsentsError: "Erreur : Impossible de récupérer les consentements des joueurs.",
3375
+ fetchConsentsCategoriesError: "Erreur : Impossible de récupérer les catégories de consentement.",
3376
+ updateConsentsError: "Erreur : Impossible de mettre à jour les consentements.",
3377
+ saveChangesError: "Erreur : Impossible d'enregistrer les modifications.",
3378
+ mustAcceptError: "Les consentements obligatoires doivent être acceptés.",
3379
+ title: "Consentements",
3380
+ saveButtonContent: "Enregistrer les Consentements",
3381
+ description: "Ici, vous pouvez explorer et gérer vos préférences concernant la manière dont nous collectons et utilisons vos données. Votre vie privée est importante pour nous, et cet outil vous permet de faire des choix éclairés sur votre expérience en ligne.",
3382
+ marketing__category: "Marketing",
3383
+ Other__category: "Autre",
3384
+ privacy__category: "Confidentialité et Partage des Données",
3385
+ dataSharing__name: "Partage des Données",
3386
+ dataSharing__description: "Consentement au partage des données",
3387
+ emailMarketing__name: "Marketing par Email",
3388
+ emailMarketing__description: "Consentement au marketing par email",
3389
+ smsMarketing__name: "Marketing par SMS",
3390
+ smsMarketing__description: "Consentement au marketing par SMS",
3391
+ cookiesAndTracking__name: "Cookies et Suivi",
3392
+ cookiesAndTracking__description: "Consentement aux cookies et au suivi",
3393
+ termsandconditions__description: "Nécessaire pour prouver que l'utilisateur a accepté les termes et conditions.",
3394
+ emailmarketing__description: "Nécessaire pour prouver le consentement au marketing par email.",
3395
+ sms__description: "Nécessaire pour prouver le consentement au marketing par SMS.",
3396
+ "3rdparty__description": "Nécessaire pour prouver le consentement au marketing tiers.",
3397
+ noDataFound: "Aucune donnée trouvée pour les consentements.",
3398
+ loading: "Chargement... veuillez patienter",
3399
+ requiredError: "Ce champ est obligatoire",
3400
+ wrongModalConfig: "Une erreur s'est produite avec la configuration ! Aucun consentement expiré trouvé."
3401
+ },
3402
+ es: {
3403
+ invalidUrl: "Error al construir 'URL': URL no válida",
3404
+ fetchConsentsError: "Error: No se pudieron obtener los consentimientos.",
3405
+ fetchPlayerConsentsError: "Error: No se pudieron obtener los consentimientos del jugador.",
3406
+ fetchConsentsCategoriesError: "Error: No se pudieron obtener las categorías de consentimiento.",
3407
+ updateConsentsError: "Error: No se pudieron actualizar los consentimientos.",
3408
+ saveChangesError: "Error: No se pudieron guardar los cambios.",
3409
+ mustAcceptError: "Se deben aceptar los consentimientos obligatorios.",
3410
+ title: "Consentimientos",
3411
+ saveButtonContent: "Guardar Consentimientos",
3412
+ description: "Aquí puedes explorar y gestionar tus preferencias sobre cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",
3413
+ marketing__category: "Marketing",
3414
+ Other__category: "Otro",
3415
+ privacy__category: "Privacidad y Compartir Datos",
3416
+ dataSharing__name: "Compartir Datos",
3417
+ dataSharing__description: "Consentimiento para compartir datos",
3418
+ emailMarketing__name: "Email Marketing",
3419
+ emailMarketing__description: "Consentimiento para email marketing",
3420
+ smsMarketing__name: "Marketing por SMS",
3421
+ smsMarketing__description: "Consentimiento para marketing por SMS",
3422
+ cookiesAndTracking__name: "Cookies y Seguimiento",
3423
+ cookiesAndTracking__description: "Consentimiento para cookies y seguimiento",
3424
+ termsandconditions__description: "Necesario para demostrar que el usuario aceptó los términos y condiciones.",
3425
+ emailmarketing__description: "Necesario para demostrar el consentimiento para email marketing.",
3426
+ sms__description: "Necesario para demostrar el consentimiento para marketing por SMS.",
3427
+ "3rdparty__description": "Necesario para demostrar el consentimiento para marketing de terceros.",
3428
+ noDataFound: "No se encontraron datos para los consentimientos.",
3429
+ loading: "Cargando... por favor espera",
3430
+ requiredError: "Este campo es obligatorio",
3431
+ wrongModalConfig: "¡Hubo un error con la configuración! No se encontraron consentimientos expirados."
3432
+ },
3433
+ el: {
3434
+ invalidUrl: "Αποτυχία δημιουργίας 'URL': Μη έγκυρη διεύθυνση URL",
3435
+ fetchConsentsError: "Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων.",
3436
+ fetchPlayerConsentsError: "Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων παικτών.",
3437
+ fetchConsentsCategoriesError: "Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των κατηγοριών συναινέσεων.",
3438
+ updateConsentsError: "Σφάλμα: Δεν ήταν δυνατή η ενημέρωση των συναινέσεων.",
3439
+ saveChangesError: "Σφάλμα: Δεν ήταν δυνατή η αποθήκευση των αλλαγών.",
3440
+ mustAcceptError: "Πρέπει να αποδεχτείτε τις υποχρεωτικές συναινέσεις.",
3441
+ title: "Συναινέσεις",
3442
+ saveButtonContent: "Αποθήκευση Συναινέσεων",
3443
+ description: "Εδώ μπορείτε να εξερευνήσετε και να διαχειριστείτε τις προτιμήσεις σας σχετικά με το πώς συλλέγουμε και χρησιμοποιούμε τα δεδομένα σας. Η ιδιωτικότητά σας έχει σημασία για εμάς και αυτό το εργαλείο σας δίνει τη δυνατότητα να κάνετε ενημερωμένες επιλογές για την εμπειρία σας στο διαδίκτυο.",
3444
+ marketing__category: "Μάρκετινγκ",
3445
+ Other__category: "Άλλο",
3446
+ privacy__category: "Ιδιωτικότητα και Κοινοποίηση Δεδομένων",
3447
+ dataSharing__name: "Κοινοποίηση Δεδομένων",
3448
+ dataSharing__description: "Συναίνεση για κοινοποίηση δεδομένων",
3449
+ emailMarketing__name: "Email Marketing",
3450
+ emailMarketing__description: "Συναίνεση για email marketing",
3451
+ smsMarketing__name: "SMS Marketing",
3452
+ smsMarketing__description: "Συναίνεση για SMS marketing",
3453
+ cookiesAndTracking__name: "Cookies και Παρακολούθηση",
3454
+ cookiesAndTracking__description: "Συναίνεση για cookies και παρακολούθηση",
3455
+ termsandconditions__description: "Απαιτείται για να αποδειχθεί ότι ο χρήστης αποδέχτηκε τους όρους και τις προϋποθέσεις.",
3456
+ emailmarketing__description: "Απαιτείται για να αποδειχθεί η συναίνεση για email marketing.",
3457
+ sms__description: "Απαιτείται για να αποδειχθεί η συναίνεση για SMS marketing.",
3458
+ "3rdparty__description": "Απαιτείται για να αποδειχθεί η συναίνεση για marketing τρίτων.",
3459
+ noDataFound: "Δεν βρέθηκαν δεδομένα για τις συναινέσεις.",
3460
+ loading: "Φόρτωση... παρακαλώ περιμένετε",
3461
+ requiredError: "Αυτό το πεδίο είναι υποχρεωτικό",
3462
+ wrongModalConfig: "Παρουσιάστηκε σφάλμα με τη ρύθμιση! Δεν βρέθηκαν ληγμένες συναινέσεις."
3463
+ },
3464
+ tr: {
3465
+ invalidUrl: "'URL' oluşturulamadı: Geçersiz URL",
3466
+ fetchConsentsError: "Hata: Onaylar alınamadı.",
3467
+ fetchPlayerConsentsError: "Hata: Oyuncu onayları alınamadı.",
3468
+ fetchConsentsCategoriesError: "Hata: Onay kategorileri alınamadı.",
3469
+ updateConsentsError: "Hata: Onaylar güncellenemedi.",
3470
+ saveChangesError: "Hata: Değişiklikler kaydedilemedi.",
3471
+ mustAcceptError: "Zorunlu onaylar kabul edilmelidir.",
3472
+ title: "Onaylar",
3473
+ saveButtonContent: "Onayları Kaydet",
3474
+ description: "Burada, verilerinizi nasıl topladığımız ve kullandığımızla ilgili tercihlerinizi keşfedebilir ve yönetebilirsiniz. Gizliliğiniz bizim için önemlidir ve bu araç, çevrimiçi deneyiminiz hakkında bilinçli seçimler yapmanızı sağlar.",
3475
+ marketing__category: "Pazarlama",
3476
+ Other__category: "Diğer",
3477
+ privacy__category: "Gizlilik ve Veri Paylaşımı",
3478
+ dataSharing__name: "Veri Paylaşımı",
3479
+ dataSharing__description: "Veri paylaşımı onayı",
3480
+ emailMarketing__name: "E-posta Pazarlama",
3481
+ emailMarketing__description: "E-posta pazarlama onayı",
3482
+ smsMarketing__name: "SMS Pazarlama",
3483
+ smsMarketing__description: "SMS pazarlama onayı",
3484
+ cookiesAndTracking__name: "Çerezler ve İzleme",
3485
+ cookiesAndTracking__description: "Çerezler ve izleme onayı",
3486
+ termsandconditions__description: "Kullanıcının şartları ve koşulları kabul ettiğini kanıtlamak için gereklidir.",
3487
+ emailmarketing__description: "E-posta pazarlama onayı kanıtlamak için gereklidir.",
3488
+ sms__description: "SMS pazarlama onayı kanıtlamak için gereklidir.",
3489
+ "3rdparty__description": "Üçüncü taraf pazarlama onayı kanıtlamak için gereklidir.",
3490
+ noDataFound: "Onaylarla ilgili veri bulunamadı.",
3491
+ loading: "Yükleniyor... lütfen bekleyin",
3492
+ requiredError: "Bu alan zorunludur",
3493
+ wrongModalConfig: "Yapılandırmada bir hata oluştu! Süresi dolmuş onay bulunamadı."
3494
+ },
3495
+ ru: {
3496
+ invalidUrl: "Не удалось создать 'URL': недопустимый URL",
3497
+ fetchConsentsError: "Ошибка: не удалось получить согласия.",
3498
+ fetchPlayerConsentsError: "Ошибка: не удалось получить согласия игроков.",
3499
+ fetchConsentsCategoriesError: "Ошибка: не удалось получить категории согласий.",
3500
+ updateConsentsError: "Ошибка: не удалось обновить согласия.",
3501
+ saveChangesError: "Ошибка: не удалось сохранить изменения.",
3502
+ mustAcceptError: "Обязательные согласия должны быть приняты.",
3503
+ title: "Согласия",
3504
+ saveButtonContent: "Сохранить согласия",
3505
+ description: "Здесь вы можете изучить и управлять своими предпочтениями относительно того, как мы собираем и используем ваши данные. Ваша конфиденциальность важна для нас, и этот инструмент помогает вам делать осознанный выбор о вашем онлайн-опыте.",
3506
+ marketing__category: "Маркетинг",
3507
+ Other__category: "Другое",
3508
+ privacy__category: "Конфиденциальность и Обмен Данными",
3509
+ dataSharing__name: "Обмен Данными",
3510
+ dataSharing__description: "Согласие на обмен данными",
3511
+ emailMarketing__name: "Email-Маркетинг",
3512
+ emailMarketing__description: "Согласие на email-маркетинг",
3513
+ smsMarketing__name: "SMS-Маркетинг",
3514
+ smsMarketing__description: "Согласие на SMS-маркетинг",
3515
+ cookiesAndTracking__name: "Cookies и Отслеживание",
3516
+ cookiesAndTracking__description: "Согласие на использование cookies и отслеживания",
3517
+ termsandconditions__description: "Необходимо для подтверждения принятия условий и положений.",
3518
+ emailmarketing__description: "Необходимо для подтверждения согласия на email-маркетинг.",
3519
+ sms__description: "Необходимо для подтверждения согласия на SMS-маркетинг.",
3520
+ "3rdparty__description": "Необходимо для подтверждения согласия на маркетинг третьих лиц.",
3521
+ noDataFound: "Данные о согласиях не найдены.",
3522
+ loading: "Загрузка... пожалуйста, подождите",
3523
+ requiredError: "Это поле обязательно для заполнения",
3524
+ wrongModalConfig: "Произошла ошибка конфигурации! Истекшие согласия не найдены."
3525
+ },
3526
+ ro: {
3527
+ invalidUrl: "Nu s-a putut construi 'URL': URL invalid",
3528
+ fetchConsentsError: "Eroare: Nu s-au putut prelua consimțămintele.",
3529
+ fetchPlayerConsentsError: "Eroare: Nu s-au putut prelua consimțămintele utilizatorilor.",
3530
+ fetchConsentsCategoriesError: "Eroare: Nu s-au putut prelua categoriile de consimțământ.",
3531
+ updateConsentsError: "Eroare: Nu s-au putut actualiza consimțămintele.",
3532
+ saveChangesError: "Eroare: Nu s-au putut salva modificările.",
3533
+ mustAcceptError: "Consimțămintele obligatorii trebuie acceptate.",
3534
+ title: "Consimțăminte",
3535
+ saveButtonContent: "Salvează Consimțămintele",
3536
+ description: "Aici puteți explora și gestiona preferințele legate de modul în care colectăm și utilizăm datele dumneavoastră. Confidențialitatea dumneavoastră este importantă pentru noi, iar acest instrument vă ajută să luați decizii informate despre experiența dumneavoastră online.",
3537
+ marketing__category: "Marketing",
3538
+ Other__category: "Altele",
3539
+ privacy__category: "Confidențialitate și Partajare Date",
3540
+ dataSharing__name: "Partajare Date",
3541
+ dataSharing__description: "Consimțământ pentru partajarea datelor",
3542
+ emailMarketing__name: "Marketing prin Email",
3543
+ emailMarketing__description: "Consimțământ pentru marketing prin email",
3544
+ smsMarketing__name: "Marketing prin SMS",
3545
+ smsMarketing__description: "Consimțământ pentru marketing prin SMS",
3546
+ cookiesAndTracking__name: "Cookies și Urmărire",
3547
+ cookiesAndTracking__description: "Consimțământ pentru cookies și urmărire",
3548
+ termsandconditions__description: "Necesar pentru a demonstra acceptarea termenilor și condițiilor.",
3549
+ emailmarketing__description: "Necesar pentru a demonstra consimțământul pentru marketing prin email.",
3550
+ sms__description: "Necesar pentru a demonstra consimțământul pentru marketing prin SMS.",
3551
+ "3rdparty__description": "Necesar pentru a demonstra consimțământul pentru marketing de la terți.",
3552
+ noDataFound: "Nu s-au găsit date pentru consimțăminte.",
3553
+ loading: "Se încarcă... vă rugăm să așteptați",
3554
+ requiredError: "Acest câmp este obligatoriu",
3555
+ wrongModalConfig: "A apărut o eroare în configurație! Nu s-au găsit consimțăminte expirate."
3556
+ },
3557
+ hr: {
3558
+ invalidUrl: "Nije moguće izraditi 'URL': Nevažeći URL",
3559
+ fetchConsentsError: "Greška: Nije moguće dohvatiti privole.",
3560
+ fetchPlayerConsentsError: "Greška: Nije moguće dohvatiti korisničke privole.",
3561
+ fetchConsentsCategoriesError: "Greška: Nije moguće dohvatiti kategorije privola.",
3562
+ updateConsentsError: "Greška: Nije moguće ažurirati privole.",
3563
+ saveChangesError: "Greška: Nije moguće spremiti promjene.",
3564
+ mustAcceptError: "Obavezne privole moraju biti prihvaćene.",
3565
+ title: "Privole",
3566
+ saveButtonContent: "Spremi Privole",
3567
+ description: "Ovdje možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućuje donošenje informiranih odluka o vašem online iskustvu.",
3568
+ marketing__category: "Marketing",
3569
+ Other__category: "Ostalo",
3570
+ privacy__category: "Privatnost i Dijeljenje Podataka",
3571
+ dataSharing__name: "Dijeljenje Podataka",
3572
+ dataSharing__description: "Privola za dijeljenje podataka",
3573
+ emailMarketing__name: "Email Marketing",
3574
+ emailMarketing__description: "Privola za email marketing",
3575
+ smsMarketing__name: "SMS Marketing",
3576
+ smsMarketing__description: "Privola za SMS marketing",
3577
+ cookiesAndTracking__name: "Kolačići i Praćenje",
3578
+ cookiesAndTracking__description: "Privola za kolačiće i praćenje",
3579
+ termsandconditions__description: "Potrebno za dokazivanje prihvaćanja uvjeta korištenja.",
3580
+ emailmarketing__description: "Potrebno za dokazivanje privole za email marketing.",
3581
+ sms__description: "Potrebno za dokazivanje privole za SMS marketing.",
3582
+ "3rdparty__description": "Potrebno za dokazivanje privole za marketing treće strane.",
3583
+ noDataFound: "Nema podataka o privolama.",
3584
+ loading: "Učitavanje... molimo pričekajte",
3585
+ requiredError: "Ovo polje je obavezno",
3586
+ wrongModalConfig: "Došlo je do pogreške u konfiguraciji! Nisu pronađene istekle privole."
3587
+ },
3588
+ hu: {
3589
+ invalidUrl: "Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",
3590
+ fetchConsentsError: "Hiba: Nem sikerült lekérni a hozzájárulásokat.",
3591
+ fetchPlayerConsentsError: "Hiba: Nem sikerült lekérni a játékosok hozzájárulásait.",
3592
+ fetchConsentsCategoriesError: "Hiba: Nem sikerült lekérni a hozzájárulások kategóriáit.",
3593
+ updateConsentsError: "Hiba: Nem sikerült frissíteni a hozzájárulásokat.",
3594
+ saveChangesError: "Hiba: Nem sikerült menteni a módosításokat.",
3595
+ mustAcceptError: "A kötelező hozzájárulásokat el kell fogadni.",
3596
+ title: "Hozzájárulások",
3597
+ saveButtonContent: "Hozzájárulások Mentése",
3598
+ description: "Itt kezelheti és megismerheti azokat a preferenciákat, amelyek meghatározzák, hogyan gyűjtjük és használjuk fel az adatait. Az Ön adatvédelme fontos számunkra, és ez az eszköz lehetővé teszi, hogy tájékozott döntéseket hozzon az online élményéről.",
3599
+ marketing__category: "Marketing",
3600
+ Other__category: "Egyéb",
3601
+ privacy__category: "Adatvédelem és Adatmegosztás",
3602
+ dataSharing__name: "Adatmegosztás",
3603
+ dataSharing__description: "Hozzájárulás az adatmegosztáshoz",
3604
+ emailMarketing__name: "E-mail Marketing",
3605
+ emailMarketing__description: "Hozzájárulás az e-mail marketinghez",
3606
+ smsMarketing__name: "SMS Marketing",
3607
+ smsMarketing__description: "Hozzájárulás az SMS marketinghez",
3608
+ cookiesAndTracking__name: "Sütik és Követés",
3609
+ cookiesAndTracking__description: "Hozzájárulás a sütikhez és a követéshez",
3610
+ termsandconditions__description: "Szükséges az Általános Szerződési Feltételek elfogadásának igazolásához.",
3611
+ emailmarketing__description: "Szükséges az e-mail marketing hozzájárulásának igazolásához.",
3612
+ sms__description: "Szükséges az SMS marketing hozzájárulásának igazolásához.",
3613
+ "3rdparty__description": "Szükséges a harmadik felek marketingjéhez való hozzájárulás igazolásához.",
3614
+ noDataFound: "Nem található adat a hozzájárulásokról.",
3615
+ loading: "Betöltés... kérjük, várjon",
3616
+ requiredError: "Ez a mező kötelező",
3617
+ wrongModalConfig: "Hiba történt a konfigurációval! Nem található lejárt hozzájárulás."
3618
+ },
3619
+ pl: {
3620
+ invalidUrl: "Nie udało się utworzyć 'URL': Nieprawidłowy URL",
3621
+ fetchConsentsError: "Błąd: Nie udało się pobrać zgód.",
3622
+ fetchPlayerConsentsError: "Błąd: Nie udało się pobrać zgód użytkowników.",
3623
+ fetchConsentsCategoriesError: "Błąd: Nie udało się pobrać kategorii zgód.",
3624
+ updateConsentsError: "Błąd: Nie udało się zaktualizować zgód.",
3625
+ saveChangesError: "Błąd: Nie udało się zapisać zmian.",
3626
+ mustAcceptError: "Obowiązkowe zgody muszą zostać zaakceptowane.",
3627
+ title: "Zgody",
3628
+ saveButtonContent: "Zapisz Zgody",
3629
+ description: "Tutaj możesz eksplorować i zarządzać swoimi preferencjami dotyczącymi tego, jak zbieramy i wykorzystujemy Twoje dane. Twoja prywatność jest dla nas ważna, a to narzędzie pozwala podejmować świadome decyzje dotyczące Twojego doświadczenia online.",
3630
+ marketing__category: "Marketing",
3631
+ Other__category: "Inne",
3632
+ privacy__category: "Prywatność i Udostępnianie Danych",
3633
+ dataSharing__name: "Udostępnianie Danych",
3634
+ dataSharing__description: "Zgoda na udostępnianie danych",
3635
+ emailMarketing__name: "E-mail Marketing",
3636
+ emailMarketing__description: "Zgoda na e-mail marketing",
3637
+ smsMarketing__name: "SMS Marketing",
3638
+ smsMarketing__description: "Zgoda na SMS marketing",
3639
+ cookiesAndTracking__name: "Pliki Cookie i Śledzenie",
3640
+ cookiesAndTracking__description: "Zgoda na pliki cookie i śledzenie",
3641
+ termsandconditions__description: "Wymagane do potwierdzenia akceptacji warunków i zasad.",
3642
+ emailmarketing__description: "Wymagane do potwierdzenia zgody na e-mail marketing.",
3643
+ sms__description: "Wymagane do potwierdzenia zgody na SMS marketing.",
3644
+ "3rdparty__description": "Wymagane do potwierdzenia zgody na marketing podmiotów trzecich.",
3645
+ noDataFound: "Nie znaleziono danych dotyczących zgód.",
3646
+ loading: "Ładowanie... proszę czekać",
3647
+ requiredError: "To pole jest wymagane",
3648
+ wrongModalConfig: "Wystąpił błąd konfiguracji! Nie znaleziono wygasłych zgód."
3649
+ },
3650
+ pt: {
3651
+ invalidUrl: "Não foi possível criar 'URL': URL inválido",
3652
+ fetchConsentsError: "Erro: Não foi possível obter os consentimentos.",
3653
+ fetchPlayerConsentsError: "Erro: Não foi possível obter os consentimentos dos utilizadores.",
3654
+ fetchConsentsCategoriesError: "Erro: Não foi possível obter as categorias de consentimento.",
3655
+ updateConsentsError: "Erro: Não foi possível atualizar os consentimentos.",
3656
+ saveChangesError: "Erro: Não foi possível salvar as alterações.",
3657
+ mustAcceptError: "Os consentimentos obrigatórios devem ser aceitos.",
3658
+ title: "Consentimentos",
3659
+ saveButtonContent: "Salvar Consentimentos",
3660
+ description: "Aqui, pode explorar e gerir as suas preferências relativamente à forma como recolhemos e utilizamos os seus dados. A sua privacidade é importante para nós e esta ferramenta permite-lhe tomar decisões informadas sobre a sua experiência online.",
3661
+ marketing__category: "Marketing",
3662
+ Other__category: "Outros",
3663
+ privacy__category: "Privacidade e Partilha de Dados",
3664
+ dataSharing__name: "Partilha de Dados",
3665
+ dataSharing__description: "Consentimento para partilha de dados",
3666
+ emailMarketing__name: "Marketing por Email",
3667
+ emailMarketing__description: "Consentimento para marketing por email",
3668
+ smsMarketing__name: "Marketing por SMS",
3669
+ smsMarketing__description: "Consentimento para marketing por SMS",
3670
+ cookiesAndTracking__name: "Cookies e Rastreamento",
3671
+ cookiesAndTracking__description: "Consentimento para cookies e rastreamento",
3672
+ termsandconditions__description: "Necessário para comprovar a aceitação dos termos e condições.",
3673
+ emailmarketing__description: "Necessário para comprovar o consentimento para marketing por email.",
3674
+ sms__description: "Necessário para comprovar o consentimento para marketing por SMS.",
3675
+ "3rdparty__description": "Necessário para comprovar o consentimento para marketing de terceiros.",
3676
+ noDataFound: "Nenhum dado encontrado para consentimentos.",
3677
+ loading: "Carregando... por favor, aguarde",
3678
+ requiredError: "Este campo é obrigatório",
3679
+ wrongModalConfig: "Ocorreu um erro na configuração! Nenhum consentimento expirado encontrado."
3680
+ },
3681
+ sl: {
3682
+ invalidUrl: "Ni bilo mogoče ustvariti 'URL': Neveljaven URL",
3683
+ fetchConsentsError: "Napaka: Ni bilo mogoče pridobiti soglasij.",
3684
+ fetchPlayerConsentsError: "Napaka: Ni bilo mogoče pridobiti uporabniških soglasij.",
3685
+ fetchConsentsCategoriesError: "Napaka: Ni bilo mogoče pridobiti kategorij soglasij.",
3686
+ updateConsentsError: "Napaka: Ni bilo mogoče posodobiti soglasij.",
3687
+ saveChangesError: "Napaka: Ni bilo mogoče shraniti sprememb.",
3688
+ mustAcceptError: "Obvezna soglasja je treba sprejeti.",
3689
+ title: "Soglasja",
3690
+ saveButtonContent: "Shrani Soglasja",
3691
+ description: "Tukaj lahko raziskujete in upravljate svoje nastavitve glede tega, kako zbiramo in uporabljamo vaše podatke. Vaša zasebnost je za nas pomembna, ta orodje pa vam omogoča informirane odločitve o vaši spletni izkušnji.",
3692
+ marketing__category: "Trženje",
3693
+ Other__category: "Drugo",
3694
+ privacy__category: "Zasebnost in Deljenje Podatkov",
3695
+ dataSharing__name: "Deljenje Podatkov",
3696
+ dataSharing__description: "Soglasje za deljenje podatkov",
3697
+ emailMarketing__name: "E-poštno Trženje",
3698
+ emailMarketing__description: "Soglasje za e-poštno trženje",
3699
+ smsMarketing__name: "SMS Trženje",
3700
+ smsMarketing__description: "Soglasje za SMS trženje",
3701
+ cookiesAndTracking__name: "Piškotki in Sledenje",
3702
+ cookiesAndTracking__description: "Soglasje za uporabo piškotkov in sledenja",
3703
+ termsandconditions__description: "Potrebno za potrditev sprejema pogojev in določil.",
3704
+ emailmarketing__description: "Potrebno za potrditev soglasja za e-poštno trženje.",
3705
+ sms__description: "Potrebno za potrditev soglasja za SMS trženje.",
3706
+ "3rdparty__description": "Potrebno za potrditev soglasja za trženje tretjih oseb.",
3707
+ noDataFound: "Za soglasja ni bilo najdenih podatkov.",
3708
+ loading: "Nalaganje... prosimo, počakajte",
3709
+ requiredError: "To polje je obvezno",
3710
+ wrongModalConfig: "Prišlo je do napake v konfiguraciji! Potečena soglasja niso bila najdena."
3711
+ },
3712
+ sr: {
3713
+ invalidUrl: "Nije moguće kreirati 'URL': Nevažeći URL",
3714
+ fetchConsentsError: "Greška: Nije moguće dohvatiti saglasnosti.",
3715
+ fetchPlayerConsentsError: "Greška: Nije moguće dohvatiti korisničke saglasnosti.",
3716
+ fetchConsentsCategoriesError: "Greška: Nije moguće dohvatiti kategorije saglasnosti.",
3717
+ updateConsentsError: "Greška: Nije moguće ažurirati saglasnosti.",
3718
+ saveChangesError: "Greška: Nije moguće sačuvati promene.",
3719
+ mustAcceptError: "Obavezne saglasnosti moraju biti prihvaćene.",
3720
+ title: "Saglasnosti",
3721
+ saveButtonContent: "Sačuvaj Saglasnosti",
3722
+ description: "Ovde možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućava donošenje informisanih odluka o vašem online iskustvu.",
3723
+ marketing__category: "Marketing",
3724
+ Other__category: "Ostalo",
3725
+ privacy__category: "Privatnost i Deljenje Podataka",
3726
+ dataSharing__name: "Deljenje Podataka",
3727
+ dataSharing__description: "Saglasnost za deljenje podataka",
3728
+ emailMarketing__name: "Email Marketing",
3729
+ emailMarketing__description: "Saglasnost za email marketing",
3730
+ smsMarketing__name: "SMS Marketing",
3731
+ smsMarketing__description: "Saglasnost za SMS marketing",
3732
+ cookiesAndTracking__name: "Kolačići i Praćenje",
3733
+ cookiesAndTracking__description: "Saglasnost za kolačiće i praćenje",
3734
+ termsandconditions__description: "Potrebno za potvrdu prihvatanja uslova i pravila.",
3735
+ emailmarketing__description: "Potrebno za potvrdu saglasnosti za email marketing.",
3736
+ sms__description: "Potrebno za potvrdu saglasnosti za SMS marketing.",
3737
+ "3rdparty__description": "Potrebno za potvrdu saglasnosti za marketing trećih lica.",
3738
+ noDataFound: "Nema podataka o saglasnostima.",
3739
+ loading: "Učitavanje... molimo sačekajte",
3740
+ requiredError: "Ovo polje je obavezno",
3741
+ wrongModalConfig: "Došlo je do greške u konfiguraciji! Nema pronađenih istekao saglasnosti."
3742
+ },
3743
+ "es-mx": {
3744
+ invalidUrl: "No se pudo construir 'URL': URL no válida",
3745
+ fetchConsentsError: "Error: No se pudieron obtener los consentimientos.",
3746
+ fetchPlayerConsentsError: "Error: No se pudieron obtener los consentimientos de los usuarios.",
3747
+ fetchConsentsCategoriesError: "Error: No se pudieron obtener las categorías de consentimiento.",
3748
+ updateConsentsError: "Error: No se pudieron actualizar los consentimientos.",
3749
+ saveChangesError: "Error: No se pudieron guardar los cambios.",
3750
+ mustAcceptError: "Se deben aceptar los consentimientos obligatorios.",
3751
+ title: "Consentimientos",
3752
+ saveButtonContent: "Guardar Consentimientos",
3753
+ description: "Aquí puedes explorar y administrar tus preferencias respecto a cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros, y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",
3754
+ marketing__category: "Marketing",
3755
+ Other__category: "Otros",
3756
+ privacy__category: "Privacidad y Compartición de Datos",
3757
+ dataSharing__name: "Compartición de Datos",
3758
+ dataSharing__description: "Consentimiento para la compartición de datos",
3759
+ emailMarketing__name: "Marketing por Correo Electrónico",
3760
+ emailMarketing__description: "Consentimiento para marketing por correo electrónico",
3761
+ smsMarketing__name: "Marketing por SMS",
3762
+ smsMarketing__description: "Consentimiento para marketing por SMS",
3763
+ cookiesAndTracking__name: "Cookies y Rastreo",
3764
+ cookiesAndTracking__description: "Consentimiento para cookies y rastreo",
3765
+ termsandconditions__description: "Necesario para demostrar que se aceptaron los términos y condiciones.",
3766
+ emailmarketing__description: "Necesario para demostrar consentimiento para marketing por correo electrónico.",
3767
+ sms__description: "Necesario para demostrar consentimiento para marketing por SMS.",
3768
+ "3rdparty__description": "Necesario para demostrar consentimiento para marketing de terceros.",
3769
+ noDataFound: "No se encontraron datos para consentimientos.",
3770
+ loading: "Cargando... por favor espera",
3771
+ requiredError: "Este campo es obligatorio",
3772
+ wrongModalConfig: "¡Hubo un error en la configuración! No se encontraron consentimientos vencidos."
3773
+ },
3774
+ "pt-br": {
3775
+ invalidUrl: "Não foi possível construir 'URL': URL inválida",
3776
+ fetchConsentsError: "Erro: Não foi possível buscar os consentimentos.",
3777
+ fetchPlayerConsentsError: "Erro: Não foi possível buscar os consentimentos dos usuários.",
3778
+ fetchConsentsCategoriesError: "Erro: Não foi possível buscar as categorias de consentimento.",
3779
+ updateConsentsError: "Erro: Não foi possível atualizar os consentimentos.",
3780
+ saveChangesError: "Erro: Não foi possível salvar as alterações.",
3781
+ mustAcceptError: "Os consentimentos obrigatórios devem ser aceitos.",
3782
+ title: "Consentimentos",
3783
+ saveButtonContent: "Salvar Consentimentos",
3784
+ description: "Aqui você pode explorar e gerenciar suas preferências sobre como coletamos e utilizamos seus dados. Sua privacidade é importante para nós, e esta ferramenta permite que você tome decisões informadas sobre sua experiência online.",
3785
+ marketing__category: "Marketing",
3786
+ Other__category: "Outros",
3787
+ privacy__category: "Privacidade e Compartilhamento de Dados",
3788
+ dataSharing__name: "Compartilhamento de Dados",
3789
+ dataSharing__description: "Consentimento para compartilhamento de dados",
3790
+ emailMarketing__name: "Marketing por E-mail",
3791
+ emailMarketing__description: "Consentimento para marketing por e-mail",
3792
+ smsMarketing__name: "Marketing por SMS",
3793
+ smsMarketing__description: "Consentimento para marketing por SMS",
3794
+ cookiesAndTracking__name: "Cookies e Rastreamento",
3795
+ cookiesAndTracking__description: "Consentimento para cookies e rastreamento",
3796
+ termsandconditions__description: "Necessário para comprovar a aceitação dos termos e condições.",
3797
+ emailmarketing__description: "Necessário para comprovar consentimento para marketing por e-mail.",
3798
+ sms__description: "Necessário para comprovar consentimento para marketing por SMS.",
3799
+ "3rdparty__description": "Necessário para comprovar consentimento para marketing de terceiros.",
3800
+ noDataFound: "Nenhum dado encontrado para consentimentos.",
3801
+ loading: "Carregando... por favor aguarde",
3802
+ requiredError: "Este campo é obrigatório",
3803
+ wrongModalConfig: "Houve um erro na configuração! Nenhum consentimento expirado encontrado."
3804
+ }
3805
+ };
3806
+ if (typeof window < "u") {
3807
+ let e = function(t) {
3808
+ return function(...r) {
3809
+ try {
3810
+ return t.apply(this, r);
3811
+ } catch (n) {
3812
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3813
+ return !1;
3814
+ throw n;
3815
+ }
3816
+ };
3817
+ };
3818
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DLLI1H8X.js").then((t) => t.G).then(({ default: t }) => {
3819
+ !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
3820
+ });
3821
+ }
3822
+ function wi(e) {
3823
+ let t, r;
3824
+ return {
3825
+ c() {
3826
+ t = nt("svg"), r = nt("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");
3827
+ },
3828
+ m(n, i) {
3829
+ L(n, t, i), x(t, r);
3830
+ },
3831
+ p: V,
3832
+ i: V,
3833
+ o: V,
3834
+ d(n) {
3835
+ n && j(t);
3836
+ }
3837
+ };
3838
+ }
3839
+ class Ni extends Ot {
3840
+ constructor(t) {
3841
+ super(), It(this, t, null, wi, Je, {});
3842
+ }
3843
+ }
3844
+ customElements.define("circle-exclamation-icon", zt(Ni, {}, [], [], !0));
3845
+ function Ai(e) {
3846
+ zr(e, "svelte-ltb9q9", '.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{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-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{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-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9: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-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{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-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{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-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{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-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}');
3847
+ }
3848
+ function Et(e, t, r) {
3849
+ const n = e.slice();
3850
+ return n[65] = t[r], n;
3851
+ }
3852
+ function kt(e, t, r) {
3853
+ const n = e.slice();
3854
+ return n[62] = t[r], n[63] = t, n[64] = r, n;
3855
+ }
3856
+ function Ct(e, t, r) {
3857
+ const n = e.slice();
3858
+ return n[65] = t[r], n;
3859
+ }
3860
+ function Hi(e) {
3861
+ let t, r, n = Y(
3862
+ /*playerConsents*/
3863
+ e[9]
3864
+ ), i = [];
3865
+ for (let o = 0; o < n.length; o += 1)
3866
+ i[o] = St(Et(e, n, o));
3867
+ return {
3868
+ c() {
3869
+ t = A("div"), r = A("form");
3870
+ for (let o = 0; o < i.length; o += 1)
3871
+ i[o].c();
3872
+ E(r, "class", "checkbox svelte-ltb9q9"), E(t, "class", "legacyStyle");
3873
+ },
3874
+ m(o, a) {
3875
+ L(o, t, a), x(t, r);
3876
+ for (let s = 0; s < i.length; s += 1)
3877
+ i[s] && i[s].m(r, null);
3878
+ e[31](r);
3879
+ },
3880
+ p(o, a) {
3881
+ if (a[0] & /*playerConsents, $_, handleInput*/
3882
+ 590336) {
3883
+ n = Y(
3884
+ /*playerConsents*/
3885
+ o[9]
3886
+ );
3887
+ let s;
3888
+ for (s = 0; s < n.length; s += 1) {
3889
+ const h = Et(o, n, s);
3890
+ i[s] ? i[s].p(h, a) : (i[s] = St(h), i[s].c(), i[s].m(r, null));
3891
+ }
3892
+ for (; s < i.length; s += 1)
3893
+ i[s].d(1);
3894
+ i.length = n.length;
3895
+ }
3896
+ },
3897
+ d(o) {
3898
+ o && j(t), Qe(i, o), e[31](null);
3899
+ }
3900
+ };
3901
+ }
3902
+ function Pi(e) {
3903
+ let t = (
3904
+ /*$_*/
3905
+ e[16]("title") || /*$_*/
3906
+ e[16]("description")
3907
+ ), r, n, i, o = (
3908
+ /*$_*/
3909
+ (e[16]("saveButtonContent") || "Save Consents") + ""
3910
+ ), a, s, h, u, c, d = t && xt(e), m = Y(
3911
+ /*consentsCategories*/
3912
+ e[8]
3913
+ ), v = [];
3914
+ for (let g = 0; g < m.length; g += 1)
3915
+ v[g] = Ht(kt(e, m, g));
3916
+ let _ = (
3917
+ /*errorMessage*/
3918
+ e[6] && Pt(e)
3919
+ );
3920
+ return {
3921
+ c() {
3922
+ d && d.c(), r = q();
3923
+ for (let g = 0; g < v.length; g += 1)
3924
+ v[g].c();
3925
+ n = q(), i = A("button"), s = q(), _ && _.c(), h = Lr(), E(i, "class", "SaveConsentsButton svelte-ltb9q9"), i.disabled = a = !/*isValid*/
3926
+ e[14];
3927
+ },
3928
+ m(g, C) {
3929
+ d && d.m(g, C), L(g, r, C);
3930
+ for (let f = 0; f < v.length; f += 1)
3931
+ v[f] && v[f].m(g, C);
3932
+ L(g, n, C), L(g, i, C), i.innerHTML = o, L(g, s, C), _ && _.m(g, C), L(g, h, C), u || (c = de(
3933
+ i,
3934
+ "click",
3935
+ /*saveChanges*/
3936
+ e[17]
3937
+ ), u = !0);
3938
+ },
3939
+ p(g, C) {
3940
+ if (C[0] & /*$_*/
3941
+ 65536 && (t = /*$_*/
3942
+ g[16]("title") || /*$_*/
3943
+ g[16]("description")), t ? d ? d.p(g, C) : (d = xt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3944
+ 867080) {
3945
+ m = Y(
3946
+ /*consentsCategories*/
3947
+ g[8]
3948
+ );
3949
+ let f;
3950
+ for (f = 0; f < m.length; f += 1) {
3951
+ const b = kt(g, m, f);
3952
+ v[f] ? v[f].p(b, C) : (v[f] = Ht(b), v[f].c(), v[f].m(n.parentNode, n));
3953
+ }
3954
+ for (; f < v.length; f += 1)
3955
+ v[f].d(1);
3956
+ v.length = m.length;
3957
+ }
3958
+ C[0] & /*$_*/
3959
+ 65536 && o !== (o = /*$_*/
3960
+ (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
3961
+ 16384 && a !== (a = !/*isValid*/
3962
+ g[14]) && (i.disabled = a), /*errorMessage*/
3963
+ g[6] ? _ ? _.p(g, C) : (_ = Pt(g), _.c(), _.m(h.parentNode, h)) : _ && (_.d(1), _ = null);
3964
+ },
3965
+ d(g) {
3966
+ g && (j(r), j(n), j(i), j(s), j(h)), d && d.d(g), Qe(v, g), _ && _.d(g), u = !1, c();
3967
+ }
3968
+ };
3969
+ }
3970
+ function Bi(e) {
3971
+ let t, r, n;
3972
+ return {
3973
+ c() {
3974
+ t = A("div"), r = A("strong"), n = ge(
3975
+ /*fatalError*/
3976
+ e[7]
3977
+ ), E(r, "class", "ErrorMessage svelte-ltb9q9"), E(t, "class", "ContainerCenter svelte-ltb9q9");
3978
+ },
3979
+ m(i, o) {
3980
+ L(i, t, o), x(t, r), x(r, n);
3981
+ },
3982
+ p(i, o) {
3983
+ o[0] & /*fatalError*/
3984
+ 128 && fe(
3985
+ n,
3986
+ /*fatalError*/
3987
+ i[7]
3988
+ );
3989
+ },
3990
+ d(i) {
3991
+ i && j(t);
3992
+ }
3993
+ };
3994
+ }
3995
+ function zi(e) {
3996
+ let t;
3997
+ return {
3998
+ c() {
3999
+ t = A("general-animation-loading"), he(
4000
+ t,
4001
+ "clientstyling",
4002
+ /*clientstyling*/
4003
+ e[1]
4004
+ ), he(
4005
+ t,
4006
+ "clientstylingurl",
4007
+ /*clientstylingurl*/
4008
+ e[2]
4009
+ );
4010
+ },
4011
+ m(r, n) {
4012
+ L(r, t, n);
4013
+ },
4014
+ p(r, n) {
4015
+ n[0] & /*clientstyling*/
4016
+ 2 && he(
4017
+ t,
4018
+ "clientstyling",
4019
+ /*clientstyling*/
4020
+ r[1]
4021
+ ), n[0] & /*clientstylingurl*/
4022
+ 4 && he(
4023
+ t,
4024
+ "clientstylingurl",
4025
+ /*clientstylingurl*/
4026
+ r[2]
4027
+ );
4028
+ },
4029
+ d(r) {
4030
+ r && j(t);
4031
+ }
4032
+ };
4033
+ }
4034
+ function St(e) {
4035
+ let t, r, n, i, o, a, s, h, u = (
4036
+ /*$_*/
4037
+ (e[16](`${/*consent*/
4038
+ e[65].tagCode}__description`) || /*consent*/
4039
+ e[65].tagCode) + ""
4040
+ ), c = (
4041
+ /*consent*/
4042
+ e[65].mustAccept ? " *" : ""
4043
+ ), d, m, v, _, g, C, f, b, T;
4044
+ function P(...k) {
4045
+ return (
4046
+ /*input_handler_1*/
4047
+ e[30](
4048
+ /*consent*/
4049
+ e[65],
4050
+ ...k
4051
+ )
4052
+ );
4053
+ }
4054
+ return {
4055
+ c() {
4056
+ t = A("div"), r = A("input"), o = q(), a = A("label"), s = A("div"), h = new Lt(!1), d = ge(c), v = q(), _ = A("small"), C = q(), E(r, "class", "checkbox__input svelte-ltb9q9"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
4057
+ e[65].status === "1", E(r, "id", i = `${/*consent*/
4058
+ e[65].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-ltb9q9"), E(a, "class", "checkbox__label svelte-ltb9q9"), E(a, "for", m = `${/*consent*/
4059
+ e[65].tagCode}__input`), E(_, "class", "checkbox__error-message svelte-ltb9q9"), E(_, "id", g = "checkBoxError__" + /*consent*/
4060
+ e[65].tagCode), E(t, "class", f = "checkbox__wrapper " + /*consent*/
4061
+ e[65].tagCode + "__input svelte-ltb9q9");
4062
+ },
4063
+ m(k, z) {
4064
+ L(k, t, z), x(t, r), x(t, o), x(t, a), x(a, s), h.m(u, s), x(s, d), x(t, v), x(t, _), x(t, C), b || (T = de(r, "input", P), b = !0);
4065
+ },
4066
+ p(k, z) {
4067
+ e = k, z[0] & /*playerConsents*/
4068
+ 512 && n !== (n = /*consent*/
4069
+ e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4070
+ 512 && i !== (i = `${/*consent*/
4071
+ e[65].tagCode}__input`) && E(r, "id", i), z[0] & /*$_, playerConsents*/
4072
+ 66048 && u !== (u = /*$_*/
4073
+ (e[16](`${/*consent*/
4074
+ e[65].tagCode}__description`) || /*consent*/
4075
+ e[65].tagCode) + "") && h.p(u), z[0] & /*playerConsents*/
4076
+ 512 && c !== (c = /*consent*/
4077
+ e[65].mustAccept ? " *" : "") && fe(d, c), z[0] & /*playerConsents*/
4078
+ 512 && m !== (m = `${/*consent*/
4079
+ e[65].tagCode}__input`) && E(a, "for", m), z[0] & /*playerConsents*/
4080
+ 512 && g !== (g = "checkBoxError__" + /*consent*/
4081
+ e[65].tagCode) && E(_, "id", g), z[0] & /*playerConsents*/
4082
+ 512 && f !== (f = "checkbox__wrapper " + /*consent*/
4083
+ e[65].tagCode + "__input svelte-ltb9q9") && E(t, "class", f);
4084
+ },
4085
+ d(k) {
4086
+ k && j(t), b = !1, T();
4087
+ }
4088
+ };
4089
+ }
4090
+ function xt(e) {
4091
+ let t, r = (
4092
+ /*$_*/
4093
+ e[16]("title")
4094
+ ), n, i = (
4095
+ /*$_*/
4096
+ e[16]("description")
4097
+ ), o = r && Tt(e), a = i && Mt(e);
4098
+ return {
4099
+ c() {
4100
+ t = A("div"), o && o.c(), n = q(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
4101
+ },
4102
+ m(s, h) {
4103
+ L(s, t, h), o && o.m(t, null), x(t, n), a && a.m(t, null);
4104
+ },
4105
+ p(s, h) {
4106
+ h[0] & /*$_*/
4107
+ 65536 && (r = /*$_*/
4108
+ s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4109
+ 65536 && (i = /*$_*/
4110
+ s[16]("description")), i ? a ? a.p(s, h) : (a = Mt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4111
+ },
4112
+ d(s) {
4113
+ s && j(t), o && o.d(), a && a.d();
4114
+ }
4115
+ };
4116
+ }
4117
+ function Tt(e) {
4118
+ let t, r = (
4119
+ /*$_*/
4120
+ e[16]("title") + ""
4121
+ ), n;
4122
+ return {
4123
+ c() {
4124
+ t = A("h2"), n = ge(r), E(t, "class", "PlayerConsentsTitle");
4125
+ },
4126
+ m(i, o) {
4127
+ L(i, t, o), x(t, n);
4128
+ },
4129
+ p(i, o) {
4130
+ o[0] & /*$_*/
4131
+ 65536 && r !== (r = /*$_*/
4132
+ i[16]("title") + "") && fe(n, r);
4133
+ },
4134
+ d(i) {
4135
+ i && j(t);
4136
+ }
4137
+ };
4138
+ }
4139
+ function Mt(e) {
4140
+ let t, r = (
4141
+ /*$_*/
4142
+ e[16]("description") + ""
4143
+ ), n;
4144
+ return {
4145
+ c() {
4146
+ t = A("p"), n = ge(r), E(t, "class", "PlayerConsentsDescription");
4147
+ },
4148
+ m(i, o) {
4149
+ L(i, t, o), x(t, n);
4150
+ },
4151
+ p(i, o) {
4152
+ o[0] & /*$_*/
4153
+ 65536 && r !== (r = /*$_*/
4154
+ i[16]("description") + "") && fe(n, r);
4155
+ },
4156
+ d(i) {
4157
+ i && j(t);
4158
+ }
4159
+ };
4160
+ }
4161
+ function wt(e) {
4162
+ let t;
4163
+ return {
4164
+ c() {
4165
+ t = A("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-ltb9q9");
4166
+ },
4167
+ m(r, n) {
4168
+ L(r, t, n);
4169
+ },
4170
+ d(r) {
4171
+ r && j(t);
4172
+ }
4173
+ };
4174
+ }
4175
+ function Nt(e) {
4176
+ let t, r = (
4177
+ /*$_*/
4178
+ (e[16](`${/*consent*/
4179
+ e[65].tagCode}__description`) || /*consent*/
4180
+ e[65].description) + ""
4181
+ );
4182
+ return {
4183
+ c() {
4184
+ t = A("p"), E(t, "class", "ConsentDescription svelte-ltb9q9");
4185
+ },
4186
+ m(n, i) {
4187
+ L(n, t, i), t.innerHTML = r;
4188
+ },
4189
+ p(n, i) {
4190
+ i[0] & /*$_, playerConsents, consentsCategories*/
4191
+ 66304 && r !== (r = /*$_*/
4192
+ (n[16](`${/*consent*/
4193
+ n[65].tagCode}__description`) || /*consent*/
4194
+ n[65].description) + "") && (t.innerHTML = r);
4195
+ },
4196
+ d(n) {
4197
+ n && j(t);
4198
+ }
4199
+ };
4200
+ }
4201
+ function At(e) {
4202
+ let t, r, n, i, o = (
4203
+ /*$_*/
4204
+ (e[16](`${/*consent*/
4205
+ e[65].tagCode}__name`) || /*consent*/
4206
+ e[65].friendlyName) + ""
4207
+ ), a, s, h, u, c, d, m, v, _, g, C, f = (
4208
+ /*consent*/
4209
+ e[65].mustAccept === !0 && wt()
4210
+ ), b = (
4211
+ /*displayconsentdescription*/
4212
+ e[3] === "true" && Nt(e)
4213
+ );
4214
+ function T(...P) {
4215
+ return (
4216
+ /*input_handler*/
4217
+ e[29](
4218
+ /*consent*/
4219
+ e[65],
4220
+ ...P
4221
+ )
4222
+ );
4223
+ }
4224
+ return {
4225
+ c() {
4226
+ t = A("div"), r = A("div"), n = A("h4"), i = new Lt(!1), a = q(), f && f.c(), s = q(), b && b.c(), h = q(), u = A("label"), c = A("input"), v = q(), _ = A("span"), i.a = a, E(n, "class", "ConsentName svelte-ltb9q9"), E(r, "class", "ConsentContent"), E(c, "type", "checkbox"), c.disabled = d = /*consent*/
4227
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4228
+ e[12][
4229
+ /*consent*/
4230
+ e[65].tagCode
4231
+ ] === !0, c.checked = m = /*consentsState*/
4232
+ e[13][
4233
+ /*consent*/
4234
+ e[65].tagCode
4235
+ ], E(c, "class", "svelte-ltb9q9"), E(_, "class", "Slider Round svelte-ltb9q9"), E(u, "class", "ToggleSwitch svelte-ltb9q9"), E(t, "class", "ConsentItem svelte-ltb9q9");
4236
+ },
4237
+ m(P, k) {
4238
+ L(P, t, k), x(t, r), x(r, n), i.m(o, n), x(n, a), f && f.m(n, null), x(r, s), b && b.m(r, null), x(t, h), x(t, u), x(u, c), x(u, v), x(u, _), g || (C = de(c, "input", T), g = !0);
4239
+ },
4240
+ p(P, k) {
4241
+ e = P, k[0] & /*$_, playerConsents, consentsCategories*/
4242
+ 66304 && o !== (o = /*$_*/
4243
+ (e[16](`${/*consent*/
4244
+ e[65].tagCode}__name`) || /*consent*/
4245
+ e[65].friendlyName) + "") && i.p(o), /*consent*/
4246
+ e[65].mustAccept === !0 ? f || (f = wt(), f.c(), f.m(n, null)) : f && (f.d(1), f = null), /*displayconsentdescription*/
4247
+ e[3] === "true" ? b ? b.p(e, k) : (b = Nt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4248
+ 4864 && d !== (d = /*consent*/
4249
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4250
+ e[12][
4251
+ /*consent*/
4252
+ e[65].tagCode
4253
+ ] === !0) && (c.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
4254
+ 8960 && m !== (m = /*consentsState*/
4255
+ e[13][
4256
+ /*consent*/
4257
+ e[65].tagCode
4258
+ ]) && (c.checked = m);
4259
+ },
4260
+ d(P) {
4261
+ P && j(t), f && f.d(), b && b.d(), g = !1, C();
4262
+ }
4263
+ };
4264
+ }
4265
+ function Ht(e) {
4266
+ let t, r, n, i = (
4267
+ /*$_*/
4268
+ (e[16](`${/*category*/
4269
+ e[62].categoryTagCode}__category`) || /*category*/
4270
+ e[62].friendlyName) + ""
4271
+ ), o, a, s, h, u, c, d, m, v;
4272
+ function _() {
4273
+ e[26].call(
4274
+ s,
4275
+ /*category*/
4276
+ e[62]
4277
+ );
4278
+ }
4279
+ function g() {
4280
+ return (
4281
+ /*change_handler*/
4282
+ e[27](
4283
+ /*category*/
4284
+ e[62]
4285
+ )
4286
+ );
4287
+ }
4288
+ function C(...T) {
4289
+ return (
4290
+ /*func*/
4291
+ e[28](
4292
+ /*category*/
4293
+ e[62],
4294
+ ...T
4295
+ )
4296
+ );
4297
+ }
4298
+ let f = Y(
4299
+ /*playerConsents*/
4300
+ e[9].filter(C)
4301
+ ), b = [];
4302
+ for (let T = 0; T < f.length; T += 1)
4303
+ b[T] = At(Ct(e, f, T));
4304
+ return {
4305
+ c() {
4306
+ t = A("div"), r = A("div"), n = A("h3"), o = q(), a = A("label"), s = A("input"), h = q(), u = A("span"), c = q(), d = A("div");
4307
+ for (let T = 0; T < b.length; T += 1)
4308
+ b[T].c();
4309
+ E(s, "type", "checkbox"), E(s, "class", "svelte-ltb9q9"), E(u, "class", "Slider Round svelte-ltb9q9"), E(a, "class", "ToggleSwitch Big svelte-ltb9q9"), E(r, "class", "AccordionHeader svelte-ltb9q9"), E(d, "class", "AccordionContent svelte-ltb9q9"), E(t, "class", "AccordionItem svelte-ltb9q9");
4310
+ },
4311
+ m(T, P) {
4312
+ L(T, t, P), x(t, r), x(r, n), n.innerHTML = i, x(r, o), x(r, a), x(a, s), s.checked = /*categoryToggle*/
4313
+ e[11][
4314
+ /*category*/
4315
+ e[62].categoryTagCode
4316
+ ], x(a, h), x(a, u), x(t, c), x(t, d);
4317
+ for (let k = 0; k < b.length; k += 1)
4318
+ b[k] && b[k].m(d, null);
4319
+ m || (v = [
4320
+ de(s, "change", _),
4321
+ de(s, "change", g)
4322
+ ], m = !0);
4323
+ },
4324
+ p(T, P) {
4325
+ if (e = T, P[0] & /*$_, consentsCategories*/
4326
+ 65792 && i !== (i = /*$_*/
4327
+ (e[16](`${/*category*/
4328
+ e[62].categoryTagCode}__category`) || /*category*/
4329
+ e[62].friendlyName) + "") && (n.innerHTML = i), P[0] & /*categoryToggle, consentsCategories*/
4330
+ 2304 && (s.checked = /*categoryToggle*/
4331
+ e[11][
4332
+ /*category*/
4333
+ e[62].categoryTagCode
4334
+ ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4335
+ 602888) {
4336
+ f = Y(
4337
+ /*playerConsents*/
4338
+ e[9].filter(C)
4339
+ );
4340
+ let k;
4341
+ for (k = 0; k < f.length; k += 1) {
4342
+ const z = Ct(e, f, k);
4343
+ b[k] ? b[k].p(z, P) : (b[k] = At(z), b[k].c(), b[k].m(d, null));
4344
+ }
4345
+ for (; k < b.length; k += 1)
4346
+ b[k].d(1);
4347
+ b.length = f.length;
4348
+ }
4349
+ },
4350
+ d(T) {
4351
+ T && j(t), Qe(b, T), m = !1, Bt(v);
4352
+ }
4353
+ };
4354
+ }
4355
+ function Pt(e) {
4356
+ let t, r, n, i, o;
4357
+ return {
4358
+ c() {
4359
+ t = A("div"), r = A("circle-exclamation-icon"), n = q(), i = A("strong"), o = ge(
4360
+ /*errorMessage*/
4361
+ e[6]
4362
+ ), he(r, "class", "svelte-ltb9q9"), E(i, "class", "ErrorMessage svelte-ltb9q9"), E(t, "class", "ConsentErrorContainer svelte-ltb9q9");
4363
+ },
4364
+ m(a, s) {
4365
+ L(a, t, s), x(t, r), x(t, n), x(t, i), x(i, o);
4366
+ },
4367
+ p(a, s) {
4368
+ s[0] & /*errorMessage*/
4369
+ 64 && fe(
4370
+ o,
4371
+ /*errorMessage*/
4372
+ a[6]
4373
+ );
4374
+ },
4375
+ d(a) {
4376
+ a && j(t);
4377
+ }
4378
+ };
4379
+ }
4380
+ function Oi(e) {
4381
+ let t, r, n;
4382
+ function i(s, h) {
4383
+ if (
4384
+ /*isLoading*/
4385
+ s[10]
4386
+ ) return zi;
4387
+ if (
4388
+ /*fatalError*/
4389
+ s[7]
4390
+ ) return Bi;
4391
+ if (
4392
+ /*session*/
4393
+ s[0]
4394
+ ) return Pi;
4395
+ if (!/*session*/
4396
+ s[0]) return Hi;
4397
+ }
4398
+ let o = i(e), a = o && o(e);
4399
+ return {
4400
+ c() {
4401
+ t = A("div"), r = A("div"), a && a.c(), E(r, "class", "ConsentsContainer svelte-ltb9q9"), E(t, "class", n = it(
4402
+ /*displayNone*/
4403
+ e[5] ? "DisplayNone" : ""
4404
+ ) + " svelte-ltb9q9");
4405
+ },
4406
+ m(s, h) {
4407
+ L(s, t, h), x(t, r), a && a.m(r, null), e[32](r);
4408
+ },
4409
+ p(s, h) {
4410
+ o === (o = i(s)) && a ? a.p(s, h) : (a && a.d(1), a = o && o(s), a && (a.c(), a.m(r, null))), h[0] & /*displayNone*/
4411
+ 32 && n !== (n = it(
4412
+ /*displayNone*/
4413
+ s[5] ? "DisplayNone" : ""
4414
+ ) + " svelte-ltb9q9") && E(t, "class", n);
4415
+ },
4416
+ i: V,
4417
+ o: V,
4418
+ d(s) {
4419
+ s && j(t), a && a.d(), e[32](null);
4420
+ }
4421
+ };
4422
+ }
4423
+ function Ii(e, t, r) {
4424
+ let n;
4425
+ Or(e, Ti, (l) => r(16, n = l));
4426
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { lang: u = "en" } = t, { displayconsentdescription: c = "" } = t, { translationurl: d = "" } = t, { modalconsents: m = "false" } = t, v = !1, _, g = !1, C = !1, f = "", b = "", T = "", P = "", k = [], z = [], O = [], oe = !0, be = !0, G = {}, ve = {}, W = {}, U = {}, ae, ye, R = {
4427
+ none: { key: "0", value: "None" },
4428
+ accepted: { key: "1", value: "Accepted" },
4429
+ expired: { key: "2", value: "Expired" },
4430
+ denied: { key: "3", value: "Denied" },
4431
+ suspended: { key: "4", value: "Suspended" }
4432
+ }, Ee = !1;
4433
+ Object.keys(yt).forEach((l) => {
4434
+ vt(l, yt[l]);
4435
+ });
4436
+ const lr = () => {
4437
+ Mi(u);
4438
+ }, cr = () => {
4439
+ let l = new URL(d);
4440
+ fetch(l.href).then((p) => p.json()).then((p) => {
4441
+ Object.keys(p).forEach((S) => {
4442
+ vt(S, p[S]);
4443
+ });
4444
+ }).catch((p) => {
4445
+ console.log(p);
4446
+ });
4447
+ }, ur = () => {
4448
+ let l = document.createElement("style");
4449
+ l.innerHTML = s, _.appendChild(l);
4450
+ }, hr = () => {
4451
+ try {
4452
+ r(5, v = !0);
4453
+ let l = new URL(h), p = document.createElement("style");
4454
+ fetch(l.href).then((S) => S.text()).then((S) => {
4455
+ p.innerHTML = S, setTimeout(
4456
+ () => {
4457
+ _.appendChild(p);
4458
+ },
4459
+ 1
4460
+ ), setTimeout(
4461
+ () => {
4462
+ r(5, v = !1);
4463
+ },
4464
+ 500
4465
+ );
4466
+ });
4467
+ } catch (l) {
4468
+ const p = l instanceof TypeError ? n("invalidUrl") : l.message;
4469
+ se(p);
4470
+ }
4471
+ }, dr = () => {
4472
+ i && (f = i, C = !0), o && (b = o);
4473
+ }, se = (l, p = !1) => {
4474
+ p ? r(7, P = l) : (br(), r(6, T = l));
4475
+ }, le = async (l, p, S, y = !1) => {
4476
+ try {
4477
+ const M = await fetch(l, S);
4478
+ if (!M.ok)
4479
+ throw new Error(n(p));
4480
+ const I = await M.json();
4481
+ return C ? I : I.filter((F) => F.showOnRegister === !0);
4482
+ } catch (M) {
4483
+ throw se(
4484
+ M instanceof TypeError ? n(p) : M.message,
4485
+ y
4486
+ ), M;
4487
+ }
4488
+ }, mr = async () => {
4489
+ try {
4490
+ let l = [], p = [];
4491
+ if (C ? [l, p] = await et() : l = await et(), r(10, oe = !1), z = [...l], r(8, k = gr(z).sort((S, y) => S.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = fr(k)), ve = { ...G }, r(9, O = [...p]), z.forEach((S) => {
4492
+ let y = O.find((M) => M.tagCode === S.tagCode);
4493
+ y || (y = {
4494
+ ...S,
4495
+ status: R.denied.value
4496
+ }, O.push(y)), y.description = S.description, y.orderNumber = S.orderNumber;
4497
+ }), m === "true") {
4498
+ if (r(9, O = O.filter((S) => S.status === R.expired.value)), O.length !== 0) return;
4499
+ se(n("wrongModalConfig"), !0);
4500
+ }
4501
+ _r();
4502
+ } catch (l) {
4503
+ throw r(10, oe = !1), se(
4504
+ l instanceof TypeError ? n("invalidUrl") : l.message,
4505
+ !0
4506
+ ), l;
4507
+ }
4508
+ }, et = async () => {
4509
+ const l = new URL(`${a}/api/v1/gm/consents`);
4510
+ if (l.searchParams.append("Status", "Active"), !C)
4511
+ return await le(l.href, "fetchConsentsError", { method: "GET" }, !0);
4512
+ const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4513
+ return await Promise.all([
4514
+ le(l.href, "fetchConsentsError", { method: "GET" }, !0),
4515
+ le(p.href, "fetchPlayerConsentsError", {
4516
+ method: "GET",
4517
+ headers: {
4518
+ "X-SessionId": f,
4519
+ "Content-Type": "application/json"
4520
+ }
4521
+ })
4522
+ ]);
4523
+ }, pr = () => {
4524
+ Ee = !1;
4525
+ const l = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
4526
+ "Content-Type": "application/json",
4527
+ Accept: "application/json"
4528
+ }, S = { method: "GET", headers: p };
4529
+ fetch(l.href, S).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((M) => (console.error(M), ke(M))))).then((y) => {
4530
+ if (!Ee) {
4531
+ if (z = y, localStorage.getItem("playerConsents")) {
4532
+ try {
4533
+ r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
4534
+ } catch (M) {
4535
+ return console.error(M), ke(M);
4536
+ }
4537
+ return;
4538
+ }
4539
+ return r(9, O = z.map((M) => ({
4540
+ id: M.id,
4541
+ status: R.denied.key,
4542
+ friendlyName: M.friendlyName,
4543
+ tagCode: M.tagCode,
4544
+ selected: null,
4545
+ mustAccept: M.mustAccept
4546
+ }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
4547
+ }
4548
+ }).catch((y) => (console.error(y), ke(y))).finally(() => {
4549
+ r(10, oe = !1);
4550
+ });
4551
+ }, gr = (l) => {
4552
+ const p = /* @__PURE__ */ new Map();
4553
+ return l.forEach((S) => {
4554
+ p.has(S.category.categoryTagCode) || p.set(S.category.categoryTagCode, S.category);
4555
+ }), Array.from(p.values());
4556
+ }, fr = (l) => {
4557
+ const p = localStorage.getItem("categoryToggle" + b);
4558
+ if (p === null) {
4559
+ const S = l.reduce(
4560
+ (y, M) => (y[M.categoryTagCode] = !1, y),
4561
+ {}
4562
+ );
4563
+ return localStorage.setItem("categoryToggle" + b, JSON.stringify(S)), S;
4564
+ } else
4565
+ return JSON.parse(p);
4566
+ }, _r = () => {
4567
+ O.forEach((l) => {
4568
+ r(12, W[l.tagCode] = l.status === R.accepted.value, W);
4569
+ }), r(13, U = { ...W });
4570
+ }, br = () => {
4571
+ r(13, U = { ...W }), r(11, G = { ...ve });
4572
+ }, vr = async () => {
4573
+ if (!be)
4574
+ return;
4575
+ be = !1;
4576
+ const l = [], p = [];
4577
+ if (Object.keys(U).forEach((y) => {
4578
+ const M = O.find((I) => I.tagCode === y);
4579
+ U[y] !== W[y] && (M ? l.push({
4580
+ tagCode: y,
4581
+ status: U[y] ? R.accepted.value : R.denied.value
4582
+ }) : p.push({
4583
+ tagCode: y,
4584
+ status: U[y] ? R.accepted.value : R.denied.value
4585
+ }));
4586
+ }), !C) {
4587
+ localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), ve = { ...G }, window.postMessage(
4588
+ {
4589
+ type: "NewPlayerConsentData",
4590
+ data: JSON.stringify(p)
4591
+ },
4592
+ window.location.href
4593
+ ), be = !0;
4594
+ return;
4595
+ }
4596
+ const S = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4597
+ try {
4598
+ const y = await Promise.allSettled([
4599
+ p.length > 0 && le(S.href, "updateConsentsError", {
4600
+ method: "POST",
4601
+ headers: {
4602
+ "X-SessionId": f,
4603
+ "Content-Type": "application/json"
4604
+ },
4605
+ body: JSON.stringify({ userConsents: p })
4606
+ }),
4607
+ l.length > 0 && le(S.href, "updateConsentsError", {
4608
+ method: "PATCH",
4609
+ headers: {
4610
+ "X-SessionId": f,
4611
+ "Content-Type": "application/json"
4612
+ },
4613
+ body: JSON.stringify({ userConsents: l })
4614
+ })
4615
+ ]);
4616
+ y.forEach((M, I) => {
4617
+ if (M.status === "rejected" || M.value.ok === !1) {
4618
+ const F = I < p.length ? p[I] : l[I - p.length];
4619
+ r(13, U[F.tagCode] = W[F.tagCode], U);
4620
+ }
4621
+ }), y.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), ve = { ...G }, window.postMessage(
4622
+ {
4623
+ type: "PlayerConsentUpdated",
4624
+ success: !0
4625
+ },
4626
+ window.location.href
4627
+ ), r(12, W = { ...U }));
4628
+ } catch (y) {
4629
+ se(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
4630
+ {
4631
+ type: "PlayerConsentUpdated",
4632
+ success: !1
4633
+ },
4634
+ window.location.href
4635
+ );
4636
+ } finally {
4637
+ be = !0, r(14, ae = !1);
4638
+ }
4639
+ }, yr = (l) => {
4640
+ const p = new URL(`${a}/api/v2/gm/legislation/consents`), S = {
4641
+ "Content-Type": "application/json",
4642
+ Accept: "application/json"
4643
+ }, y = {
4644
+ playerConsents: O,
4645
+ registrationId: l
4646
+ }, M = {
4647
+ method: "POST",
4648
+ body: JSON.stringify(y),
4649
+ headers: S
4650
+ };
4651
+ fetch(p.href, M).then((I) => {
4652
+ I.ok || (Ee = !0);
4653
+ }).catch((I) => (console.error(I), ke(I))).finally(() => {
4654
+ r(10, oe = !1);
4655
+ });
4656
+ }, tt = (l) => {
4657
+ O.filter((p) => p.category.categoryTagCode === l).forEach((p) => {
4658
+ p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[l] || !1, U);
4659
+ }), r(14, ae = rt());
4660
+ }, Be = (l, p, S) => {
4661
+ const y = O.find((F) => F.id === S), M = p ? "value" : "key";
4662
+ let I;
4663
+ if (!p && y.mustAccept) {
4664
+ const F = Array.from(ye.children);
4665
+ for (const ce of F)
4666
+ if (I = Array.from(ce.children).find((Hr) => Hr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I) break;
4667
+ }
4668
+ if (y.status === R.accepted[M] ? (y.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[M], I && (I.innerHTML = "")), p) {
4669
+ r(13, U[y.tagCode] = !U[y.tagCode], U);
4670
+ const F = O.filter((ce) => ce.category.categoryTagCode === p.categoryTagCode).every((ce) => ce.status !== R.denied.value);
4671
+ r(11, G[p.categoryTagCode] = F, G);
4672
+ }
4673
+ Er();
4674
+ }, Er = ((l, p) => {
4675
+ let S;
4676
+ return function(...y) {
4677
+ const M = this;
4678
+ clearTimeout(S), S = setTimeout(
4679
+ () => {
4680
+ l.apply(M, y);
4681
+ },
4682
+ p
4683
+ );
4684
+ };
4685
+ })(() => kr(), 500), kr = () => {
4686
+ r(14, ae = rt()), i || (window.postMessage({ type: "isConsentsValid", isValid: ae }), localStorage.setItem("playerConsents", JSON.stringify(O)));
4687
+ }, rt = () => O.filter((p) => O.some((S) => p.tagCode === S.tagCode && S.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, ke = (l) => {
4688
+ window.postMessage(
4689
+ {
4690
+ type: "WidgetNotification",
4691
+ data: { type: "error", message: l }
4692
+ },
4693
+ window.location.href
4694
+ );
4695
+ }, Cr = (l) => {
4696
+ l.data && l.data.type !== "setUpPlayerConsents" || yr(l.data.registerid);
4697
+ };
4698
+ Ir(() => {
4699
+ setTimeout(
4700
+ () => {
4701
+ r(25, g = !0);
4702
+ },
4703
+ 50
4704
+ );
4705
+ const l = (p) => Cr(p);
4706
+ return window.addEventListener("message", l), () => {
4707
+ window.removeEventListener("message", l);
4708
+ };
4709
+ });
4710
+ function Sr(l) {
4711
+ G[l.categoryTagCode] = this.checked, r(11, G);
4712
+ }
4713
+ const xr = (l) => tt(l.categoryTagCode), Tr = (l, p) => p.category.categoryTagCode === l.categoryTagCode, Mr = (l, p) => Be(p, l.category, l.id), wr = (l, p) => Be(p, null, l.id);
4714
+ function Nr(l) {
4715
+ ot[l ? "unshift" : "push"](() => {
4716
+ ye = l, r(15, ye);
4717
+ });
4718
+ }
4719
+ function Ar(l) {
4720
+ ot[l ? "unshift" : "push"](() => {
4721
+ _ = l, r(4, _);
4722
+ });
4723
+ }
4724
+ return e.$$set = (l) => {
4725
+ "session" in l && r(0, i = l.session), "userid" in l && r(20, o = l.userid), "endpoint" in l && r(21, a = l.endpoint), "clientstyling" in l && r(1, s = l.clientstyling), "clientstylingurl" in l && r(2, h = l.clientstylingurl), "lang" in l && r(22, u = l.lang), "displayconsentdescription" in l && r(3, c = l.displayconsentdescription), "translationurl" in l && r(23, d = l.translationurl), "modalconsents" in l && r(24, m = l.modalconsents);
4726
+ }, e.$$.update = () => {
4727
+ e.$$.dirty[0] & /*isMounted, session*/
4728
+ 33554433 && g && i && (dr(), mr()), e.$$.dirty[0] & /*session*/
4729
+ 1 && (i || pr()), e.$$.dirty[0] & /*customStylingContainer, clientstyling, clientstylingurl*/
4730
+ 22 && _ && (s && ur(), h && hr()), e.$$.dirty[0] & /*lang*/
4731
+ 4194304 && u && lr(), e.$$.dirty[0] & /*translationurl*/
4732
+ 8388608 && d && cr();
4733
+ }, [
4734
+ i,
4735
+ s,
4736
+ h,
4737
+ c,
4738
+ _,
4739
+ v,
4740
+ T,
4741
+ P,
4742
+ k,
4743
+ O,
4744
+ oe,
4745
+ G,
4746
+ W,
4747
+ U,
4748
+ ae,
4749
+ ye,
4750
+ n,
4751
+ vr,
4752
+ tt,
4753
+ Be,
4754
+ o,
4755
+ a,
4756
+ u,
4757
+ d,
4758
+ m,
4759
+ g,
4760
+ Sr,
4761
+ xr,
4762
+ Tr,
4763
+ Mr,
4764
+ wr,
4765
+ Nr,
4766
+ Ar
4767
+ ];
4768
+ }
4769
+ class Li extends Ot {
4770
+ constructor(t) {
4771
+ super(), It(
4772
+ this,
4773
+ t,
4774
+ Ii,
4775
+ Oi,
4776
+ Je,
4777
+ {
4778
+ session: 0,
4779
+ userid: 20,
4780
+ endpoint: 21,
4781
+ clientstyling: 1,
4782
+ clientstylingurl: 2,
4783
+ lang: 22,
4784
+ displayconsentdescription: 3,
4785
+ translationurl: 23,
4786
+ modalconsents: 24
4787
+ },
4788
+ Ai,
4789
+ [-1, -1, -1]
4790
+ );
4791
+ }
4792
+ get session() {
4793
+ return this.$$.ctx[0];
4794
+ }
4795
+ set session(t) {
4796
+ this.$$set({ session: t }), X();
4797
+ }
4798
+ get userid() {
4799
+ return this.$$.ctx[20];
4800
+ }
4801
+ set userid(t) {
4802
+ this.$$set({ userid: t }), X();
4803
+ }
4804
+ get endpoint() {
4805
+ return this.$$.ctx[21];
4806
+ }
4807
+ set endpoint(t) {
4808
+ this.$$set({ endpoint: t }), X();
4809
+ }
4810
+ get clientstyling() {
4811
+ return this.$$.ctx[1];
4812
+ }
4813
+ set clientstyling(t) {
4814
+ this.$$set({ clientstyling: t }), X();
4815
+ }
4816
+ get clientstylingurl() {
4817
+ return this.$$.ctx[2];
4818
+ }
4819
+ set clientstylingurl(t) {
4820
+ this.$$set({ clientstylingurl: t }), X();
4821
+ }
4822
+ get lang() {
4823
+ return this.$$.ctx[22];
4824
+ }
4825
+ set lang(t) {
4826
+ this.$$set({ lang: t }), X();
4827
+ }
4828
+ get displayconsentdescription() {
4829
+ return this.$$.ctx[3];
4830
+ }
4831
+ set displayconsentdescription(t) {
4832
+ this.$$set({ displayconsentdescription: t }), X();
4833
+ }
4834
+ get translationurl() {
4835
+ return this.$$.ctx[23];
4836
+ }
4837
+ set translationurl(t) {
4838
+ this.$$set({ translationurl: t }), X();
4839
+ }
4840
+ get modalconsents() {
4841
+ return this.$$.ctx[24];
4842
+ }
4843
+ set modalconsents(t) {
4844
+ this.$$set({ modalconsents: t }), X();
4845
+ }
4846
+ }
4847
+ zt(Li, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
4848
+ export {
4849
+ Li as P
4850
+ };