@everymatrix/general-registration-hsl 0.25.49 → 0.25.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GeneralAnimationLoading-lTLzF5jR-8645dd28.js → GeneralAnimationLoading-DLWh0_Mr-87adb410.js} +20 -20
- package/dist/cjs/{PlayerConsents-Duni8Aqx-1d0f4f21.js → PlayerConsents-B1AMCVsz-fa53af28.js} +792 -782
- package/dist/cjs/checkbox-group-input_14.cjs.entry.js +1 -1
- package/dist/cjs/{general-registration-hsl-23bb5556.js → general-registration-hsl-7b87707b.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/esm/{GeneralAnimationLoading-lTLzF5jR-501a49e3.js → GeneralAnimationLoading-DLWh0_Mr-a00326b9.js} +12 -12
- package/dist/esm/{PlayerConsents-Duni8Aqx-dd7cf325.js → PlayerConsents-B1AMCVsz-49d58473.js} +781 -771
- package/dist/esm/checkbox-group-input_14.entry.js +1 -1
- package/dist/esm/{general-registration-hsl-8665d9ea.js → general-registration-hsl-0ebb1d8b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/general-registration-hsl/{GeneralAnimationLoading-lTLzF5jR-501a49e3.js → GeneralAnimationLoading-DLWh0_Mr-a00326b9.js} +1 -1
- package/dist/general-registration-hsl/{PlayerConsents-Duni8Aqx-dd7cf325.js → PlayerConsents-B1AMCVsz-49d58473.js} +1 -1
- package/dist/general-registration-hsl/checkbox-group-input_14.entry.js +1 -1
- package/dist/general-registration-hsl/{general-registration-hsl-8665d9ea.js → general-registration-hsl-0ebb1d8b.js} +1 -1
- package/dist/general-registration-hsl/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/cjs/{PlayerConsents-Duni8Aqx-1d0f4f21.js → PlayerConsents-B1AMCVsz-fa53af28.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var rn = Object.defineProperty, nn = Object.defineProperties;
|
|
4
|
+
var on = Object.getOwnPropertyDescriptors;
|
|
5
|
+
var wt = Object.getOwnPropertySymbols;
|
|
6
|
+
var an = Object.prototype.hasOwnProperty, sn = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var Je = (e, t, r) => t in e ? rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
|
|
8
8
|
for (var r in t || (t = {}))
|
|
9
|
-
|
|
10
|
-
if (
|
|
11
|
-
for (var r of
|
|
12
|
-
|
|
9
|
+
an.call(t, r) && Je(e, r, t[r]);
|
|
10
|
+
if (wt)
|
|
11
|
+
for (var r of wt(t))
|
|
12
|
+
sn.call(t, r) && Je(e, r, t[r]);
|
|
13
13
|
return e;
|
|
14
|
-
},
|
|
15
|
-
var U = (e, t, r) => (
|
|
14
|
+
}, Qe = (e, t) => nn(e, on(t));
|
|
15
|
+
var U = (e, t, r) => (Je(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
16
16
|
var re = (e, t, r) => new Promise((n, i) => {
|
|
17
17
|
var o = (c) => {
|
|
18
18
|
try {
|
|
@@ -31,25 +31,25 @@ var re = (e, t, r) => new Promise((n, i) => {
|
|
|
31
31
|
});
|
|
32
32
|
function $() {
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function tr(e) {
|
|
35
35
|
return e();
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Tt() {
|
|
38
38
|
return /* @__PURE__ */ Object.create(null);
|
|
39
39
|
}
|
|
40
40
|
function me(e) {
|
|
41
|
-
e.forEach(
|
|
41
|
+
e.forEach(tr);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function yt(e) {
|
|
44
44
|
return typeof e == "function";
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function vt(e, t) {
|
|
47
47
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ln(e) {
|
|
50
50
|
return Object.keys(e).length === 0;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function rr(e, ...t) {
|
|
53
53
|
if (e == null) {
|
|
54
54
|
for (const n of t)
|
|
55
55
|
n(void 0);
|
|
@@ -58,20 +58,20 @@ function tr(e, ...t) {
|
|
|
58
58
|
const r = e.subscribe(...t);
|
|
59
59
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
e.$$.on_destroy.push(
|
|
61
|
+
function cn(e, t, r) {
|
|
62
|
+
e.$$.on_destroy.push(rr(t, r));
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function S(e, t) {
|
|
65
65
|
e.appendChild(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const n =
|
|
67
|
+
function un(e, t, r) {
|
|
68
|
+
const n = hn(e);
|
|
69
69
|
if (!n.getElementById(t)) {
|
|
70
70
|
const i = T("style");
|
|
71
|
-
i.id = t, i.textContent = r,
|
|
71
|
+
i.id = t, i.textContent = r, dn(n, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function hn(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return document;
|
|
77
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,56 +81,56 @@ function un(e) {
|
|
|
81
81
|
t
|
|
82
82
|
) : e.ownerDocument;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return
|
|
84
|
+
function dn(e, t) {
|
|
85
|
+
return S(
|
|
86
86
|
/** @type {Document} */
|
|
87
87
|
e.head || e,
|
|
88
88
|
t
|
|
89
89
|
), t.sheet;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function z(e, t, r) {
|
|
92
92
|
e.insertBefore(t, r || null);
|
|
93
93
|
}
|
|
94
94
|
function O(e) {
|
|
95
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function bt(e, t) {
|
|
98
98
|
for (let r = 0; r < e.length; r += 1)
|
|
99
99
|
e[r] && e[r].d(t);
|
|
100
100
|
}
|
|
101
101
|
function T(e) {
|
|
102
102
|
return document.createElement(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function at(e) {
|
|
105
105
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function K(e) {
|
|
108
108
|
return document.createTextNode(e);
|
|
109
109
|
}
|
|
110
110
|
function F() {
|
|
111
|
-
return
|
|
111
|
+
return K(" ");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
113
|
+
function mn() {
|
|
114
|
+
return K("");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Se(e, t, r, n) {
|
|
117
117
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
118
118
|
}
|
|
119
119
|
function k(e, t, r) {
|
|
120
120
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Y(e, t, r) {
|
|
123
123
|
const n = t.toLowerCase();
|
|
124
124
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function fn(e) {
|
|
127
127
|
return Array.from(e.childNodes);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Me(e, t) {
|
|
130
130
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
131
131
|
t);
|
|
132
132
|
}
|
|
133
|
-
class
|
|
133
|
+
class nr {
|
|
134
134
|
constructor(t = !1) {
|
|
135
135
|
/**
|
|
136
136
|
* @private
|
|
@@ -161,7 +161,7 @@ class rr {
|
|
|
161
161
|
* @returns {void}
|
|
162
162
|
*/
|
|
163
163
|
m(t, r, n = null) {
|
|
164
|
-
this.e || (this.is_svg ? this.e =
|
|
164
|
+
this.e || (this.is_svg ? this.e = at(
|
|
165
165
|
/** @type {keyof SVGElementTagNameMap} */
|
|
166
166
|
r.nodeName
|
|
167
167
|
) : this.e = T(
|
|
@@ -185,7 +185,7 @@ class rr {
|
|
|
185
185
|
* @returns {void} */
|
|
186
186
|
i(t) {
|
|
187
187
|
for (let r = 0; r < this.n.length; r += 1)
|
|
188
|
-
|
|
188
|
+
z(this.t, this.n[r], t);
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
191
|
* @param {string} html
|
|
@@ -200,7 +200,7 @@ class rr {
|
|
|
200
200
|
this.n.forEach(O);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function pn(e) {
|
|
204
204
|
const t = {};
|
|
205
205
|
return e.childNodes.forEach(
|
|
206
206
|
/** @param {Element} node */
|
|
@@ -209,90 +209,90 @@ function fn(e) {
|
|
|
209
209
|
}
|
|
210
210
|
), t;
|
|
211
211
|
}
|
|
212
|
-
let
|
|
213
|
-
function
|
|
214
|
-
|
|
212
|
+
let xe;
|
|
213
|
+
function Ce(e) {
|
|
214
|
+
xe = e;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!
|
|
216
|
+
function gn() {
|
|
217
|
+
if (!xe)
|
|
218
218
|
throw new Error("Function called outside component initialization");
|
|
219
|
-
return
|
|
219
|
+
return xe;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
222
|
-
|
|
221
|
+
function _n(e) {
|
|
222
|
+
gn().$$.on_mount.push(e);
|
|
223
223
|
}
|
|
224
|
-
const oe = [],
|
|
224
|
+
const oe = [], Ue = [];
|
|
225
225
|
let se = [];
|
|
226
|
-
const
|
|
227
|
-
let
|
|
228
|
-
function
|
|
229
|
-
|
|
226
|
+
const Mt = [], yn = /* @__PURE__ */ Promise.resolve();
|
|
227
|
+
let st = !1;
|
|
228
|
+
function vn() {
|
|
229
|
+
st || (st = !0, yn.then(X));
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function lt(e) {
|
|
232
232
|
se.push(e);
|
|
233
233
|
}
|
|
234
|
-
const
|
|
234
|
+
const Ye = /* @__PURE__ */ new Set();
|
|
235
235
|
let ne = 0;
|
|
236
236
|
function X() {
|
|
237
237
|
if (ne !== 0)
|
|
238
238
|
return;
|
|
239
|
-
const e =
|
|
239
|
+
const e = xe;
|
|
240
240
|
do {
|
|
241
241
|
try {
|
|
242
242
|
for (; ne < oe.length; ) {
|
|
243
243
|
const t = oe[ne];
|
|
244
|
-
ne++,
|
|
244
|
+
ne++, Ce(t), bn(t.$$);
|
|
245
245
|
}
|
|
246
246
|
} catch (t) {
|
|
247
247
|
throw oe.length = 0, ne = 0, t;
|
|
248
248
|
}
|
|
249
|
-
for (
|
|
250
|
-
|
|
249
|
+
for (Ce(null), oe.length = 0, ne = 0; Ue.length; )
|
|
250
|
+
Ue.pop()();
|
|
251
251
|
for (let t = 0; t < se.length; t += 1) {
|
|
252
252
|
const r = se[t];
|
|
253
|
-
|
|
253
|
+
Ye.has(r) || (Ye.add(r), r());
|
|
254
254
|
}
|
|
255
255
|
se.length = 0;
|
|
256
256
|
} while (oe.length);
|
|
257
|
-
for (;
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
for (; Mt.length; )
|
|
258
|
+
Mt.pop()();
|
|
259
|
+
st = !1, Ye.clear(), Ce(e);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function bn(e) {
|
|
262
262
|
if (e.fragment !== null) {
|
|
263
263
|
e.update(), me(e.before_update);
|
|
264
264
|
const t = e.dirty;
|
|
265
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
265
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function kn(e) {
|
|
269
269
|
const t = [], r = [];
|
|
270
270
|
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
function
|
|
274
|
-
e && e.i && (
|
|
272
|
+
const En = /* @__PURE__ */ new Set();
|
|
273
|
+
function Cn(e, t) {
|
|
274
|
+
e && e.i && (En.delete(e), e.i(t));
|
|
275
275
|
}
|
|
276
276
|
function le(e) {
|
|
277
277
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function Sn(e, t, r) {
|
|
280
280
|
const { fragment: n, after_update: i } = e.$$;
|
|
281
|
-
n && n.m(t, r),
|
|
282
|
-
const o = e.$$.on_mount.map(
|
|
281
|
+
n && n.m(t, r), lt(() => {
|
|
282
|
+
const o = e.$$.on_mount.map(tr).filter(yt);
|
|
283
283
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
|
|
284
|
-
}), i.forEach(
|
|
284
|
+
}), i.forEach(lt);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function xn(e, t) {
|
|
287
287
|
const r = e.$$;
|
|
288
|
-
r.fragment !== null && (
|
|
288
|
+
r.fragment !== null && (kn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
e.$$.dirty[0] === -1 && (oe.push(e),
|
|
290
|
+
function wn(e, t) {
|
|
291
|
+
e.$$.dirty[0] === -1 && (oe.push(e), vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
294
|
-
const c =
|
|
295
|
-
|
|
293
|
+
function ir(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
294
|
+
const c = xe;
|
|
295
|
+
Ce(e);
|
|
296
296
|
const l = e.$$ = {
|
|
297
297
|
fragment: null,
|
|
298
298
|
ctx: [],
|
|
@@ -300,7 +300,7 @@ function nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
300
300
|
props: o,
|
|
301
301
|
update: $,
|
|
302
302
|
not_equal: i,
|
|
303
|
-
bound:
|
|
303
|
+
bound: Tt(),
|
|
304
304
|
// lifecycle
|
|
305
305
|
on_mount: [],
|
|
306
306
|
on_destroy: [],
|
|
@@ -309,7 +309,7 @@ function nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
309
309
|
after_update: [],
|
|
310
310
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
311
311
|
// everything else
|
|
312
|
-
callbacks:
|
|
312
|
+
callbacks: Tt(),
|
|
313
313
|
dirty: s,
|
|
314
314
|
skip_bound: !1,
|
|
315
315
|
root: t.target || c.$$.root
|
|
@@ -318,19 +318,19 @@ function nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
318
318
|
let u = !1;
|
|
319
319
|
if (l.ctx = r ? r(e, t.props || {}, (d, m, ...y) => {
|
|
320
320
|
const g = y.length ? y[0] : m;
|
|
321
|
-
return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u &&
|
|
321
|
+
return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && wn(e, d)), m;
|
|
322
322
|
}) : [], l.update(), u = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
323
323
|
if (t.hydrate) {
|
|
324
|
-
const d =
|
|
324
|
+
const d = fn(t.target);
|
|
325
325
|
l.fragment && l.fragment.l(d), d.forEach(O);
|
|
326
326
|
} else
|
|
327
327
|
l.fragment && l.fragment.c();
|
|
328
|
-
t.intro &&
|
|
328
|
+
t.intro && Cn(e.$$.fragment), Sn(e, t.target, t.anchor), X();
|
|
329
329
|
}
|
|
330
|
-
|
|
330
|
+
Ce(c);
|
|
331
331
|
}
|
|
332
|
-
let
|
|
333
|
-
typeof HTMLElement == "function" && (
|
|
332
|
+
let or;
|
|
333
|
+
typeof HTMLElement == "function" && (or = class extends HTMLElement {
|
|
334
334
|
constructor(t, r, n) {
|
|
335
335
|
super();
|
|
336
336
|
/** The Svelte component constructor */
|
|
@@ -381,7 +381,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
381
381
|
* @param {HTMLElement} [anchor]
|
|
382
382
|
*/
|
|
383
383
|
m: function(l, u) {
|
|
384
|
-
|
|
384
|
+
z(l, a, u);
|
|
385
385
|
},
|
|
386
386
|
d: function(l) {
|
|
387
387
|
l && O(a);
|
|
@@ -391,7 +391,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
391
391
|
};
|
|
392
392
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
393
393
|
return;
|
|
394
|
-
const r = {}, n =
|
|
394
|
+
const r = {}, n = pn(this);
|
|
395
395
|
for (const o of this.$$s)
|
|
396
396
|
o in n && (r[o] = [t(o)]);
|
|
397
397
|
for (const o of this.attributes) {
|
|
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
402
402
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
403
403
|
this.$$c = new this.$$ctor({
|
|
404
404
|
target: this.shadowRoot || this,
|
|
405
|
-
props:
|
|
405
|
+
props: Qe(W({}, this.$$d), {
|
|
406
406
|
$$slots: r,
|
|
407
407
|
$$scope: {
|
|
408
408
|
ctx: []
|
|
@@ -480,8 +480,8 @@ function Le(e, t, r, n) {
|
|
|
480
480
|
return t;
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
function
|
|
484
|
-
let a = class extends
|
|
483
|
+
function ar(e, t, r, n, i, o) {
|
|
484
|
+
let a = class extends or {
|
|
485
485
|
constructor() {
|
|
486
486
|
super(e, r, i), this.$$p_d = t;
|
|
487
487
|
}
|
|
@@ -511,7 +511,7 @@ function or(e, t, r, n, i, o) {
|
|
|
511
511
|
}), e.element = /** @type {any} */
|
|
512
512
|
a, a;
|
|
513
513
|
}
|
|
514
|
-
class
|
|
514
|
+
class sr {
|
|
515
515
|
constructor() {
|
|
516
516
|
/**
|
|
517
517
|
* ### PRIVATE API
|
|
@@ -532,7 +532,7 @@ class ar {
|
|
|
532
532
|
}
|
|
533
533
|
/** @returns {void} */
|
|
534
534
|
$destroy() {
|
|
535
|
-
|
|
535
|
+
xn(this, 1), this.$destroy = $;
|
|
536
536
|
}
|
|
537
537
|
/**
|
|
538
538
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -541,7 +541,7 @@ class ar {
|
|
|
541
541
|
* @returns {() => void}
|
|
542
542
|
*/
|
|
543
543
|
$on(t, r) {
|
|
544
|
-
if (!
|
|
544
|
+
if (!yt(r))
|
|
545
545
|
return $;
|
|
546
546
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
547
547
|
return n.push(r), () => {
|
|
@@ -554,19 +554,28 @@ class ar {
|
|
|
554
554
|
* @returns {void}
|
|
555
555
|
*/
|
|
556
556
|
$set(t) {
|
|
557
|
-
this.$$set && !
|
|
557
|
+
this.$$set && !ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
const Tn = "4";
|
|
561
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
|
|
562
|
+
function Mn(e, t, r, n = !1) {
|
|
563
|
+
if (window.emMessageBus) {
|
|
564
|
+
const i = n ? (o) => {
|
|
565
|
+
!o || typeof o != "object" || Array.isArray(o) || Object.keys(o).forEach((a) => r(a, o[a]));
|
|
566
|
+
} : r;
|
|
567
|
+
t = window.emMessageBus.subscribe(e, i);
|
|
558
568
|
}
|
|
569
|
+
return t;
|
|
559
570
|
}
|
|
560
|
-
const wn = "4";
|
|
561
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
|
|
562
571
|
const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
563
|
-
function
|
|
572
|
+
function Nn(e, t) {
|
|
564
573
|
if (e) {
|
|
565
574
|
const r = document.createElement("style");
|
|
566
575
|
r.innerHTML = t, e.appendChild(r);
|
|
567
576
|
}
|
|
568
577
|
}
|
|
569
|
-
function
|
|
578
|
+
function An(e, t) {
|
|
570
579
|
if (!e || !t)
|
|
571
580
|
return;
|
|
572
581
|
const r = new URL(t);
|
|
@@ -577,12 +586,12 @@ function Mn(e, t) {
|
|
|
577
586
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
578
587
|
});
|
|
579
588
|
}
|
|
580
|
-
function
|
|
589
|
+
function Hn(e, t, r, n = !1) {
|
|
581
590
|
if (!window.emMessageBus)
|
|
582
591
|
return;
|
|
583
592
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
584
|
-
return r =
|
|
585
|
-
window[ae] || (window[ae] = {}), r =
|
|
593
|
+
return r = Pn(e, t), r;
|
|
594
|
+
window[ae] || (window[ae] = {}), r = Bn(e, t);
|
|
586
595
|
const o = r.unsubscribe.bind(r), a = () => {
|
|
587
596
|
if (window[ae][t]) {
|
|
588
597
|
const s = window[ae][t];
|
|
@@ -592,13 +601,13 @@ function Nn(e, t, r, n = !1) {
|
|
|
592
601
|
};
|
|
593
602
|
return r.unsubscribe = a, r;
|
|
594
603
|
}
|
|
595
|
-
function
|
|
604
|
+
function Pn(e, t) {
|
|
596
605
|
const r = document.createElement("style");
|
|
597
606
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
598
607
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
599
608
|
});
|
|
600
609
|
}
|
|
601
|
-
function
|
|
610
|
+
function Bn(e, t) {
|
|
602
611
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
603
612
|
if (!e)
|
|
604
613
|
return;
|
|
@@ -613,16 +622,16 @@ function Hn(e, t) {
|
|
|
613
622
|
});
|
|
614
623
|
}
|
|
615
624
|
const ie = [];
|
|
616
|
-
function
|
|
625
|
+
function On(e, t) {
|
|
617
626
|
return {
|
|
618
|
-
subscribe:
|
|
627
|
+
subscribe: $e(e, t).subscribe
|
|
619
628
|
};
|
|
620
629
|
}
|
|
621
|
-
function
|
|
630
|
+
function $e(e, t = $) {
|
|
622
631
|
let r;
|
|
623
632
|
const n = /* @__PURE__ */ new Set();
|
|
624
633
|
function i(s) {
|
|
625
|
-
if (
|
|
634
|
+
if (vt(e, s) && (e = s, r)) {
|
|
626
635
|
const c = !ie.length;
|
|
627
636
|
for (const l of n)
|
|
628
637
|
l[1](), ie.push(l, e);
|
|
@@ -649,7 +658,7 @@ function fe(e, t, r) {
|
|
|
649
658
|
if (!i.every(Boolean))
|
|
650
659
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
651
660
|
const o = t.length < 2;
|
|
652
|
-
return
|
|
661
|
+
return On(r, (a, s) => {
|
|
653
662
|
let c = !1;
|
|
654
663
|
const l = [];
|
|
655
664
|
let u = 0, d = $;
|
|
@@ -658,12 +667,12 @@ function fe(e, t, r) {
|
|
|
658
667
|
return;
|
|
659
668
|
d();
|
|
660
669
|
const g = t(n ? l[0] : l, a, s);
|
|
661
|
-
o ? a(g) : d =
|
|
670
|
+
o ? a(g) : d = yt(g) ? g : $;
|
|
662
671
|
}, y = i.map(
|
|
663
|
-
(g, p) =>
|
|
672
|
+
(g, p) => rr(
|
|
664
673
|
g,
|
|
665
|
-
(
|
|
666
|
-
l[p] =
|
|
674
|
+
(C) => {
|
|
675
|
+
l[p] = C, u &= ~(1 << p), c && m();
|
|
667
676
|
},
|
|
668
677
|
() => {
|
|
669
678
|
u |= 1 << p;
|
|
@@ -675,70 +684,70 @@ function fe(e, t, r) {
|
|
|
675
684
|
};
|
|
676
685
|
});
|
|
677
686
|
}
|
|
678
|
-
function
|
|
687
|
+
function zn(e) {
|
|
679
688
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
680
689
|
}
|
|
681
|
-
var
|
|
682
|
-
return
|
|
690
|
+
var jn = function(t) {
|
|
691
|
+
return Ln(t) && !In(t);
|
|
683
692
|
};
|
|
684
|
-
function
|
|
693
|
+
function Ln(e) {
|
|
685
694
|
return !!e && typeof e == "object";
|
|
686
695
|
}
|
|
687
|
-
function
|
|
696
|
+
function In(e) {
|
|
688
697
|
var t = Object.prototype.toString.call(e);
|
|
689
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
698
|
+
return t === "[object RegExp]" || t === "[object Date]" || Dn(e);
|
|
690
699
|
}
|
|
691
|
-
var
|
|
692
|
-
function
|
|
693
|
-
return e.$$typeof ===
|
|
700
|
+
var Rn = typeof Symbol == "function" && Symbol.for, Un = Rn ? Symbol.for("react.element") : 60103;
|
|
701
|
+
function Dn(e) {
|
|
702
|
+
return e.$$typeof === Un;
|
|
694
703
|
}
|
|
695
|
-
function
|
|
704
|
+
function Gn(e) {
|
|
696
705
|
return Array.isArray(e) ? [] : {};
|
|
697
706
|
}
|
|
698
|
-
function
|
|
699
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ce(
|
|
707
|
+
function we(e, t) {
|
|
708
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ce(Gn(e), e, t) : e;
|
|
700
709
|
}
|
|
701
|
-
function
|
|
710
|
+
function Fn(e, t, r) {
|
|
702
711
|
return e.concat(t).map(function(n) {
|
|
703
|
-
return
|
|
712
|
+
return we(n, r);
|
|
704
713
|
});
|
|
705
714
|
}
|
|
706
|
-
function
|
|
715
|
+
function $n(e, t) {
|
|
707
716
|
if (!t.customMerge)
|
|
708
717
|
return ce;
|
|
709
718
|
var r = t.customMerge(e);
|
|
710
719
|
return typeof r == "function" ? r : ce;
|
|
711
720
|
}
|
|
712
|
-
function
|
|
721
|
+
function Vn(e) {
|
|
713
722
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
714
723
|
return Object.propertyIsEnumerable.call(e, t);
|
|
715
724
|
}) : [];
|
|
716
725
|
}
|
|
717
|
-
function
|
|
718
|
-
return Object.keys(e).concat(
|
|
726
|
+
function Nt(e) {
|
|
727
|
+
return Object.keys(e).concat(Vn(e));
|
|
719
728
|
}
|
|
720
|
-
function
|
|
729
|
+
function lr(e, t) {
|
|
721
730
|
try {
|
|
722
731
|
return t in e;
|
|
723
732
|
} catch (r) {
|
|
724
733
|
return !1;
|
|
725
734
|
}
|
|
726
735
|
}
|
|
727
|
-
function
|
|
728
|
-
return
|
|
736
|
+
function Xn(e, t) {
|
|
737
|
+
return lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
729
738
|
}
|
|
730
|
-
function
|
|
739
|
+
function qn(e, t, r) {
|
|
731
740
|
var n = {};
|
|
732
|
-
return r.isMergeableObject(e) &&
|
|
733
|
-
n[i] =
|
|
734
|
-
}),
|
|
735
|
-
|
|
741
|
+
return r.isMergeableObject(e) && Nt(e).forEach(function(i) {
|
|
742
|
+
n[i] = we(e[i], r);
|
|
743
|
+
}), Nt(t).forEach(function(i) {
|
|
744
|
+
Xn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
|
|
736
745
|
}), n;
|
|
737
746
|
}
|
|
738
747
|
function ce(e, t, r) {
|
|
739
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
748
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = we;
|
|
740
749
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
741
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
750
|
+
return o ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : we(t, r);
|
|
742
751
|
}
|
|
743
752
|
ce.all = function(t, r) {
|
|
744
753
|
if (!Array.isArray(t))
|
|
@@ -747,20 +756,20 @@ ce.all = function(t, r) {
|
|
|
747
756
|
return ce(n, i, r);
|
|
748
757
|
}, {});
|
|
749
758
|
};
|
|
750
|
-
var
|
|
751
|
-
const
|
|
752
|
-
var
|
|
753
|
-
return
|
|
759
|
+
var Wn = ce, Zn = Wn;
|
|
760
|
+
const Jn = /* @__PURE__ */ zn(Zn);
|
|
761
|
+
var ct = function(e, t) {
|
|
762
|
+
return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
754
763
|
r.__proto__ = n;
|
|
755
764
|
} || function(r, n) {
|
|
756
765
|
for (var i in n)
|
|
757
766
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
758
|
-
},
|
|
767
|
+
}, ct(e, t);
|
|
759
768
|
};
|
|
760
|
-
function
|
|
769
|
+
function Ve(e, t) {
|
|
761
770
|
if (typeof t != "function" && t !== null)
|
|
762
771
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
763
|
-
|
|
772
|
+
ct(e, t);
|
|
764
773
|
function r() {
|
|
765
774
|
this.constructor = e;
|
|
766
775
|
}
|
|
@@ -776,7 +785,7 @@ var Z = function() {
|
|
|
776
785
|
return t;
|
|
777
786
|
}, Z.apply(this, arguments);
|
|
778
787
|
};
|
|
779
|
-
function
|
|
788
|
+
function Qn(e, t) {
|
|
780
789
|
var r = {};
|
|
781
790
|
for (var n in e)
|
|
782
791
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -785,43 +794,43 @@ function Zn(e, t) {
|
|
|
785
794
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
786
795
|
return r;
|
|
787
796
|
}
|
|
788
|
-
function
|
|
797
|
+
function Ke(e, t, r) {
|
|
789
798
|
if (r || arguments.length === 2)
|
|
790
799
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
791
800
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
792
801
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
793
802
|
}
|
|
794
|
-
function
|
|
795
|
-
var r = t && t.cache ? t.cache :
|
|
803
|
+
function et(e, t) {
|
|
804
|
+
var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
|
|
796
805
|
return i(e, {
|
|
797
806
|
cache: r,
|
|
798
807
|
serializer: n
|
|
799
808
|
});
|
|
800
809
|
}
|
|
801
|
-
function
|
|
810
|
+
function Yn(e) {
|
|
802
811
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
803
812
|
}
|
|
804
|
-
function
|
|
805
|
-
var i =
|
|
813
|
+
function Kn(e, t, r, n) {
|
|
814
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
806
815
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
807
816
|
}
|
|
808
|
-
function
|
|
817
|
+
function cr(e, t, r) {
|
|
809
818
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
810
819
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
811
820
|
}
|
|
812
|
-
function
|
|
821
|
+
function ur(e, t, r, n, i) {
|
|
813
822
|
return r.bind(t, e, n, i);
|
|
814
823
|
}
|
|
815
|
-
function
|
|
816
|
-
var r = e.length === 1 ?
|
|
817
|
-
return
|
|
824
|
+
function ei(e, t) {
|
|
825
|
+
var r = e.length === 1 ? Kn : cr;
|
|
826
|
+
return ur(e, this, r, t.cache.create(), t.serializer);
|
|
818
827
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
828
|
+
function ti(e, t) {
|
|
829
|
+
return ur(e, this, cr, t.cache.create(), t.serializer);
|
|
821
830
|
}
|
|
822
|
-
var
|
|
831
|
+
var ri = function() {
|
|
823
832
|
return JSON.stringify(arguments);
|
|
824
|
-
},
|
|
833
|
+
}, ni = (
|
|
825
834
|
/** @class */
|
|
826
835
|
function() {
|
|
827
836
|
function e() {
|
|
@@ -833,21 +842,21 @@ var ei = function() {
|
|
|
833
842
|
this.cache[t] = r;
|
|
834
843
|
}, e;
|
|
835
844
|
}()
|
|
836
|
-
),
|
|
845
|
+
), ii = {
|
|
837
846
|
create: function() {
|
|
838
|
-
return new
|
|
847
|
+
return new ni();
|
|
839
848
|
}
|
|
840
|
-
},
|
|
841
|
-
variadic:
|
|
842
|
-
},
|
|
843
|
-
return
|
|
849
|
+
}, tt = {
|
|
850
|
+
variadic: ti
|
|
851
|
+
}, De = function() {
|
|
852
|
+
return De = Object.assign || function(t) {
|
|
844
853
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
845
854
|
r = arguments[n];
|
|
846
855
|
for (var o in r)
|
|
847
856
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
848
857
|
}
|
|
849
858
|
return t;
|
|
850
|
-
},
|
|
859
|
+
}, De.apply(this, arguments);
|
|
851
860
|
};
|
|
852
861
|
var N;
|
|
853
862
|
(function(e) {
|
|
@@ -861,43 +870,43 @@ var ue;
|
|
|
861
870
|
(function(e) {
|
|
862
871
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
863
872
|
})(ue || (ue = {}));
|
|
864
|
-
function
|
|
873
|
+
function At(e) {
|
|
865
874
|
return e.type === P.literal;
|
|
866
875
|
}
|
|
867
|
-
function
|
|
876
|
+
function oi(e) {
|
|
868
877
|
return e.type === P.argument;
|
|
869
878
|
}
|
|
870
|
-
function
|
|
879
|
+
function hr(e) {
|
|
871
880
|
return e.type === P.number;
|
|
872
881
|
}
|
|
873
|
-
function
|
|
882
|
+
function dr(e) {
|
|
874
883
|
return e.type === P.date;
|
|
875
884
|
}
|
|
876
|
-
function
|
|
885
|
+
function mr(e) {
|
|
877
886
|
return e.type === P.time;
|
|
878
887
|
}
|
|
879
|
-
function
|
|
888
|
+
function fr(e) {
|
|
880
889
|
return e.type === P.select;
|
|
881
890
|
}
|
|
882
|
-
function
|
|
891
|
+
function pr(e) {
|
|
883
892
|
return e.type === P.plural;
|
|
884
893
|
}
|
|
885
|
-
function
|
|
894
|
+
function ai(e) {
|
|
886
895
|
return e.type === P.pound;
|
|
887
896
|
}
|
|
888
|
-
function
|
|
897
|
+
function gr(e) {
|
|
889
898
|
return e.type === P.tag;
|
|
890
899
|
}
|
|
891
|
-
function
|
|
900
|
+
function _r(e) {
|
|
892
901
|
return !!(e && typeof e == "object" && e.type === ue.number);
|
|
893
902
|
}
|
|
894
|
-
function
|
|
903
|
+
function ut(e) {
|
|
895
904
|
return !!(e && typeof e == "object" && e.type === ue.dateTime);
|
|
896
905
|
}
|
|
897
|
-
var
|
|
898
|
-
function
|
|
906
|
+
var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[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;
|
|
907
|
+
function li(e) {
|
|
899
908
|
var t = {};
|
|
900
|
-
return e.replace(
|
|
909
|
+
return e.replace(si, function(r) {
|
|
901
910
|
var n = r.length;
|
|
902
911
|
switch (r[0]) {
|
|
903
912
|
case "G":
|
|
@@ -996,11 +1005,11 @@ var B = function() {
|
|
|
996
1005
|
return t;
|
|
997
1006
|
}, B.apply(this, arguments);
|
|
998
1007
|
};
|
|
999
|
-
var
|
|
1000
|
-
function
|
|
1008
|
+
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1009
|
+
function ui(e) {
|
|
1001
1010
|
if (e.length === 0)
|
|
1002
1011
|
throw new Error("Number skeleton cannot be empty");
|
|
1003
|
-
for (var t = e.split(
|
|
1012
|
+
for (var t = e.split(ci).filter(function(m) {
|
|
1004
1013
|
return m.length > 0;
|
|
1005
1014
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1006
1015
|
var o = i[n], a = o.split("/");
|
|
@@ -1015,17 +1024,17 @@ function li(e) {
|
|
|
1015
1024
|
}
|
|
1016
1025
|
return r;
|
|
1017
1026
|
}
|
|
1018
|
-
function
|
|
1027
|
+
function hi(e) {
|
|
1019
1028
|
return e.replace(/^(.*?)-/, "");
|
|
1020
1029
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
1030
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
|
1031
|
+
function Pt(e) {
|
|
1023
1032
|
var t = {};
|
|
1024
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1033
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
|
|
1025
1034
|
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)), "";
|
|
1026
1035
|
}), t;
|
|
1027
1036
|
}
|
|
1028
|
-
function
|
|
1037
|
+
function kr(e) {
|
|
1029
1038
|
switch (e) {
|
|
1030
1039
|
case "sign-auto":
|
|
1031
1040
|
return {
|
|
@@ -1065,7 +1074,7 @@ function br(e) {
|
|
|
1065
1074
|
};
|
|
1066
1075
|
}
|
|
1067
1076
|
}
|
|
1068
|
-
function
|
|
1077
|
+
function mi(e) {
|
|
1069
1078
|
var t;
|
|
1070
1079
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1071
1080
|
notation: "engineering"
|
|
@@ -1073,17 +1082,17 @@ function hi(e) {
|
|
|
1073
1082
|
notation: "scientific"
|
|
1074
1083
|
}, e = e.slice(1)), t) {
|
|
1075
1084
|
var r = e.slice(0, 2);
|
|
1076
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1085
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
|
1077
1086
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1078
1087
|
t.minimumIntegerDigits = e.length;
|
|
1079
1088
|
}
|
|
1080
1089
|
return t;
|
|
1081
1090
|
}
|
|
1082
|
-
function
|
|
1083
|
-
var t = {}, r =
|
|
1091
|
+
function Bt(e) {
|
|
1092
|
+
var t = {}, r = kr(e);
|
|
1084
1093
|
return r || t;
|
|
1085
1094
|
}
|
|
1086
|
-
function
|
|
1095
|
+
function fi(e) {
|
|
1087
1096
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1088
1097
|
var i = n[r];
|
|
1089
1098
|
switch (i.stem) {
|
|
@@ -1107,7 +1116,7 @@ function di(e) {
|
|
|
1107
1116
|
continue;
|
|
1108
1117
|
case "measure-unit":
|
|
1109
1118
|
case "unit":
|
|
1110
|
-
t.style = "unit", t.unit =
|
|
1119
|
+
t.style = "unit", t.unit = hi(i.options[0]);
|
|
1111
1120
|
continue;
|
|
1112
1121
|
case "compact-short":
|
|
1113
1122
|
case "K":
|
|
@@ -1119,12 +1128,12 @@ function di(e) {
|
|
|
1119
1128
|
continue;
|
|
1120
1129
|
case "scientific":
|
|
1121
1130
|
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1122
|
-
return B(B({}, c),
|
|
1131
|
+
return B(B({}, c), Bt(l));
|
|
1123
1132
|
}, {}));
|
|
1124
1133
|
continue;
|
|
1125
1134
|
case "engineering":
|
|
1126
1135
|
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1127
|
-
return B(B({}, c),
|
|
1136
|
+
return B(B({}, c), Bt(l));
|
|
1128
1137
|
}, {}));
|
|
1129
1138
|
continue;
|
|
1130
1139
|
case "notation-simple":
|
|
@@ -1169,7 +1178,7 @@ function di(e) {
|
|
|
1169
1178
|
case "integer-width":
|
|
1170
1179
|
if (i.options.length > 1)
|
|
1171
1180
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1172
|
-
i.options[0].replace(
|
|
1181
|
+
i.options[0].replace(di, function(c, l, u, d, m, y) {
|
|
1173
1182
|
if (l)
|
|
1174
1183
|
t.minimumIntegerDigits = u.length;
|
|
1175
1184
|
else {
|
|
@@ -1182,32 +1191,32 @@ function di(e) {
|
|
|
1182
1191
|
});
|
|
1183
1192
|
continue;
|
|
1184
1193
|
}
|
|
1185
|
-
if (
|
|
1194
|
+
if (br.test(i.stem)) {
|
|
1186
1195
|
t.minimumIntegerDigits = i.stem.length;
|
|
1187
1196
|
continue;
|
|
1188
1197
|
}
|
|
1189
|
-
if (
|
|
1198
|
+
if (Ht.test(i.stem)) {
|
|
1190
1199
|
if (i.options.length > 1)
|
|
1191
1200
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1192
|
-
i.stem.replace(
|
|
1201
|
+
i.stem.replace(Ht, function(c, l, u, d, m, y) {
|
|
1193
1202
|
return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1194
1203
|
});
|
|
1195
1204
|
var o = i.options[0];
|
|
1196
|
-
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t),
|
|
1205
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), Pt(o)));
|
|
1197
1206
|
continue;
|
|
1198
1207
|
}
|
|
1199
|
-
if (
|
|
1200
|
-
t = B(B({}, t),
|
|
1208
|
+
if (vr.test(i.stem)) {
|
|
1209
|
+
t = B(B({}, t), Pt(i.stem));
|
|
1201
1210
|
continue;
|
|
1202
1211
|
}
|
|
1203
|
-
var a =
|
|
1212
|
+
var a = kr(i.stem);
|
|
1204
1213
|
a && (t = B(B({}, t), a));
|
|
1205
|
-
var s =
|
|
1214
|
+
var s = mi(i.stem);
|
|
1206
1215
|
s && (t = B(B({}, t), s));
|
|
1207
1216
|
}
|
|
1208
1217
|
return t;
|
|
1209
1218
|
}
|
|
1210
|
-
var
|
|
1219
|
+
var je = {
|
|
1211
1220
|
"001": [
|
|
1212
1221
|
"H",
|
|
1213
1222
|
"h"
|
|
@@ -2622,13 +2631,13 @@ var ze = {
|
|
|
2622
2631
|
"h"
|
|
2623
2632
|
]
|
|
2624
2633
|
};
|
|
2625
|
-
function
|
|
2634
|
+
function pi(e, t) {
|
|
2626
2635
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2627
2636
|
var i = e.charAt(n);
|
|
2628
2637
|
if (i === "j") {
|
|
2629
2638
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2630
2639
|
o++, n++;
|
|
2631
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2640
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = gi(t);
|
|
2632
2641
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2633
2642
|
r += c;
|
|
2634
2643
|
for (; a-- > 0; )
|
|
@@ -2638,7 +2647,7 @@ function mi(e, t) {
|
|
|
2638
2647
|
}
|
|
2639
2648
|
return r;
|
|
2640
2649
|
}
|
|
2641
|
-
function
|
|
2650
|
+
function gi(e) {
|
|
2642
2651
|
var t = e.hourCycle;
|
|
2643
2652
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2644
2653
|
e.hourCycles && // @ts-ignore
|
|
@@ -2657,23 +2666,23 @@ function fi(e) {
|
|
|
2657
2666
|
}
|
|
2658
2667
|
var r = e.language, n;
|
|
2659
2668
|
r !== "root" && (n = e.maximize().region);
|
|
2660
|
-
var i =
|
|
2669
|
+
var i = je[n || ""] || je[r || ""] || je["".concat(r, "-001")] || je["001"];
|
|
2661
2670
|
return i[0];
|
|
2662
2671
|
}
|
|
2663
|
-
var
|
|
2672
|
+
var rt, _i = new RegExp("^".concat(yr.source, "*")), yi = new RegExp("".concat(yr.source, "*$"));
|
|
2664
2673
|
function A(e, t) {
|
|
2665
2674
|
return { start: e, end: t };
|
|
2666
2675
|
}
|
|
2667
|
-
var
|
|
2676
|
+
var vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, ki = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, wi = xi ? Number.isSafeInteger : function(e) {
|
|
2668
2677
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2669
|
-
},
|
|
2678
|
+
}, ht = !0;
|
|
2670
2679
|
try {
|
|
2671
|
-
var
|
|
2672
|
-
|
|
2680
|
+
var Ti = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2681
|
+
ht = ((rt = Ti.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
2673
2682
|
} catch (e) {
|
|
2674
|
-
|
|
2683
|
+
ht = !1;
|
|
2675
2684
|
}
|
|
2676
|
-
var
|
|
2685
|
+
var Ot = vi ? (
|
|
2677
2686
|
// Native
|
|
2678
2687
|
function(t, r, n) {
|
|
2679
2688
|
return t.startsWith(r, n);
|
|
@@ -2683,7 +2692,7 @@ var Pt = _i ? (
|
|
|
2683
2692
|
function(t, r, n) {
|
|
2684
2693
|
return t.slice(n, n + r.length) === r;
|
|
2685
2694
|
}
|
|
2686
|
-
),
|
|
2695
|
+
), dt = bi ? String.fromCodePoint : (
|
|
2687
2696
|
// IE11
|
|
2688
2697
|
function() {
|
|
2689
2698
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2695,9 +2704,9 @@ var Pt = _i ? (
|
|
|
2695
2704
|
}
|
|
2696
2705
|
return n;
|
|
2697
2706
|
}
|
|
2698
|
-
),
|
|
2707
|
+
), zt = (
|
|
2699
2708
|
// native
|
|
2700
|
-
|
|
2709
|
+
ki ? Object.fromEntries : (
|
|
2701
2710
|
// Ponyfill
|
|
2702
2711
|
function(t) {
|
|
2703
2712
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2707,7 +2716,7 @@ var Pt = _i ? (
|
|
|
2707
2716
|
return r;
|
|
2708
2717
|
}
|
|
2709
2718
|
)
|
|
2710
|
-
),
|
|
2719
|
+
), Er = Ei ? (
|
|
2711
2720
|
// Native
|
|
2712
2721
|
function(t, r) {
|
|
2713
2722
|
return t.codePointAt(r);
|
|
@@ -2721,7 +2730,7 @@ var Pt = _i ? (
|
|
|
2721
2730
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2722
2731
|
}
|
|
2723
2732
|
}
|
|
2724
|
-
),
|
|
2733
|
+
), Mi = Ci ? (
|
|
2725
2734
|
// Native
|
|
2726
2735
|
function(t) {
|
|
2727
2736
|
return t.trimStart();
|
|
@@ -2729,9 +2738,9 @@ var Pt = _i ? (
|
|
|
2729
2738
|
) : (
|
|
2730
2739
|
// Ponyfill
|
|
2731
2740
|
function(t) {
|
|
2732
|
-
return t.replace(
|
|
2741
|
+
return t.replace(_i, "");
|
|
2733
2742
|
}
|
|
2734
|
-
),
|
|
2743
|
+
), Ni = Si ? (
|
|
2735
2744
|
// Native
|
|
2736
2745
|
function(t) {
|
|
2737
2746
|
return t.trimEnd();
|
|
@@ -2739,32 +2748,32 @@ var Pt = _i ? (
|
|
|
2739
2748
|
) : (
|
|
2740
2749
|
// Ponyfill
|
|
2741
2750
|
function(t) {
|
|
2742
|
-
return t.replace(
|
|
2751
|
+
return t.replace(yi, "");
|
|
2743
2752
|
}
|
|
2744
2753
|
);
|
|
2745
|
-
function
|
|
2754
|
+
function Cr(e, t) {
|
|
2746
2755
|
return new RegExp(e, t);
|
|
2747
2756
|
}
|
|
2748
|
-
var
|
|
2749
|
-
if (
|
|
2750
|
-
var
|
|
2751
|
-
|
|
2757
|
+
var mt;
|
|
2758
|
+
if (ht) {
|
|
2759
|
+
var jt = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2760
|
+
mt = function(t, r) {
|
|
2752
2761
|
var n;
|
|
2753
|
-
|
|
2754
|
-
var i =
|
|
2762
|
+
jt.lastIndex = r;
|
|
2763
|
+
var i = jt.exec(t);
|
|
2755
2764
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2756
2765
|
};
|
|
2757
2766
|
} else
|
|
2758
|
-
|
|
2767
|
+
mt = function(t, r) {
|
|
2759
2768
|
for (var n = []; ; ) {
|
|
2760
|
-
var i =
|
|
2761
|
-
if (i === void 0 ||
|
|
2769
|
+
var i = Er(t, r);
|
|
2770
|
+
if (i === void 0 || Sr(i) || Bi(i))
|
|
2762
2771
|
break;
|
|
2763
2772
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2764
2773
|
}
|
|
2765
|
-
return
|
|
2774
|
+
return dt.apply(void 0, n);
|
|
2766
2775
|
};
|
|
2767
|
-
var
|
|
2776
|
+
var Ai = (
|
|
2768
2777
|
/** @class */
|
|
2769
2778
|
function() {
|
|
2770
2779
|
function e(t, r) {
|
|
@@ -2795,7 +2804,7 @@ var Mi = (
|
|
|
2795
2804
|
if (n)
|
|
2796
2805
|
break;
|
|
2797
2806
|
return this.error(N.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2798
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2807
|
+
} else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
|
|
2799
2808
|
var a = this.parseTag(t, r);
|
|
2800
2809
|
if (a.err)
|
|
2801
2810
|
return a;
|
|
@@ -2828,7 +2837,7 @@ var Mi = (
|
|
|
2828
2837
|
return o;
|
|
2829
2838
|
var a = o.val, s = this.clonePosition();
|
|
2830
2839
|
if (this.bumpIf("</")) {
|
|
2831
|
-
if (this.isEOF() || !
|
|
2840
|
+
if (this.isEOF() || !ft(this.char()))
|
|
2832
2841
|
return this.error(N.INVALID_TAG, A(s, this.clonePosition()));
|
|
2833
2842
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
2834
2843
|
return i !== l ? this.error(N.UNMATCHED_CLOSING_TAG, A(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2846,7 +2855,7 @@ var Mi = (
|
|
|
2846
2855
|
return this.error(N.INVALID_TAG, A(n, this.clonePosition()));
|
|
2847
2856
|
}, e.prototype.parseTagName = function() {
|
|
2848
2857
|
var t = this.offset();
|
|
2849
|
-
for (this.bump(); !this.isEOF() &&
|
|
2858
|
+
for (this.bump(); !this.isEOF() && Pi(this.char()); )
|
|
2850
2859
|
this.bump();
|
|
2851
2860
|
return this.message.slice(t, this.offset());
|
|
2852
2861
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2875,7 +2884,7 @@ var Mi = (
|
|
|
2875
2884
|
};
|
|
2876
2885
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2877
2886
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2878
|
-
!
|
|
2887
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2879
2888
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2880
2889
|
if (this.isEOF() || this.char() !== 39)
|
|
2881
2890
|
return null;
|
|
@@ -2909,12 +2918,12 @@ var Mi = (
|
|
|
2909
2918
|
r.push(n);
|
|
2910
2919
|
this.bump();
|
|
2911
2920
|
}
|
|
2912
|
-
return
|
|
2921
|
+
return dt.apply(void 0, r);
|
|
2913
2922
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2914
2923
|
if (this.isEOF())
|
|
2915
2924
|
return null;
|
|
2916
2925
|
var n = this.char();
|
|
2917
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2926
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
|
|
2918
2927
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2919
2928
|
var n = this.clonePosition();
|
|
2920
2929
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2943,7 +2952,7 @@ var Mi = (
|
|
|
2943
2952
|
return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
2944
2953
|
}
|
|
2945
2954
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2946
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2955
|
+
var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
|
|
2947
2956
|
this.bumpTo(i);
|
|
2948
2957
|
var o = this.clonePosition(), a = A(t, o);
|
|
2949
2958
|
return { value: n, location: a };
|
|
@@ -2962,7 +2971,7 @@ var Mi = (
|
|
|
2962
2971
|
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
2963
2972
|
if (d.err)
|
|
2964
2973
|
return d;
|
|
2965
|
-
var m =
|
|
2974
|
+
var m = Ni(d.val);
|
|
2966
2975
|
if (m.length === 0)
|
|
2967
2976
|
return this.error(N.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2968
2977
|
var y = A(u, this.clonePosition());
|
|
@@ -2972,24 +2981,24 @@ var Mi = (
|
|
|
2972
2981
|
if (g.err)
|
|
2973
2982
|
return g;
|
|
2974
2983
|
var p = A(i, this.clonePosition());
|
|
2975
|
-
if (l &&
|
|
2976
|
-
var
|
|
2984
|
+
if (l && Ot(l == null ? void 0 : l.style, "::", 0)) {
|
|
2985
|
+
var C = Mi(l.style.slice(2));
|
|
2977
2986
|
if (s === "number") {
|
|
2978
|
-
var d = this.parseNumberSkeletonFromString(
|
|
2987
|
+
var d = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
2979
2988
|
return d.err ? d : {
|
|
2980
2989
|
val: { type: P.number, value: n, location: p, style: d.val },
|
|
2981
2990
|
err: null
|
|
2982
2991
|
};
|
|
2983
2992
|
} else {
|
|
2984
|
-
if (
|
|
2993
|
+
if (C.length === 0)
|
|
2985
2994
|
return this.error(N.EXPECT_DATE_TIME_SKELETON, p);
|
|
2986
|
-
var _ =
|
|
2987
|
-
this.locale && (_ =
|
|
2995
|
+
var _ = C;
|
|
2996
|
+
this.locale && (_ = pi(C, this.locale));
|
|
2988
2997
|
var m = {
|
|
2989
2998
|
type: ue.dateTime,
|
|
2990
2999
|
pattern: _,
|
|
2991
3000
|
location: l.styleLocation,
|
|
2992
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3001
|
+
parsedOptions: this.shouldParseSkeletons ? li(_) : {}
|
|
2993
3002
|
}, v = s === "date" ? P.date : P.time;
|
|
2994
3003
|
return {
|
|
2995
3004
|
val: { type: v, value: n, location: p, style: m },
|
|
@@ -3010,9 +3019,9 @@ var Mi = (
|
|
|
3010
3019
|
case "plural":
|
|
3011
3020
|
case "selectordinal":
|
|
3012
3021
|
case "select": {
|
|
3013
|
-
var
|
|
3022
|
+
var x = this.clonePosition();
|
|
3014
3023
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3015
|
-
return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, A(
|
|
3024
|
+
return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, A(x, De({}, x)));
|
|
3016
3025
|
this.bumpSpace();
|
|
3017
3026
|
var H = this.parseIdentifierIfPossible(), E = 0;
|
|
3018
3027
|
if (s !== "select" && H.value === "offset") {
|
|
@@ -3024,29 +3033,29 @@ var Mi = (
|
|
|
3024
3033
|
return d;
|
|
3025
3034
|
this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
|
|
3026
3035
|
}
|
|
3027
|
-
var
|
|
3028
|
-
if (
|
|
3029
|
-
return
|
|
3036
|
+
var j = this.tryParsePluralOrSelectOptions(t, s, r, H);
|
|
3037
|
+
if (j.err)
|
|
3038
|
+
return j;
|
|
3030
3039
|
var g = this.tryParseArgumentClose(i);
|
|
3031
3040
|
if (g.err)
|
|
3032
3041
|
return g;
|
|
3033
|
-
var
|
|
3042
|
+
var te = A(i, this.clonePosition());
|
|
3034
3043
|
return s === "select" ? {
|
|
3035
3044
|
val: {
|
|
3036
3045
|
type: P.select,
|
|
3037
3046
|
value: n,
|
|
3038
|
-
options:
|
|
3039
|
-
location:
|
|
3047
|
+
options: zt(j.val),
|
|
3048
|
+
location: te
|
|
3040
3049
|
},
|
|
3041
3050
|
err: null
|
|
3042
3051
|
} : {
|
|
3043
3052
|
val: {
|
|
3044
3053
|
type: P.plural,
|
|
3045
3054
|
value: n,
|
|
3046
|
-
options:
|
|
3055
|
+
options: zt(j.val),
|
|
3047
3056
|
offset: E,
|
|
3048
3057
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3049
|
-
location:
|
|
3058
|
+
location: te
|
|
3050
3059
|
},
|
|
3051
3060
|
err: null
|
|
3052
3061
|
};
|
|
@@ -3094,7 +3103,7 @@ var Mi = (
|
|
|
3094
3103
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3095
3104
|
var n = [];
|
|
3096
3105
|
try {
|
|
3097
|
-
n =
|
|
3106
|
+
n = ui(t);
|
|
3098
3107
|
} catch (i) {
|
|
3099
3108
|
return this.error(N.INVALID_NUMBER_SKELETON, r);
|
|
3100
3109
|
}
|
|
@@ -3103,7 +3112,7 @@ var Mi = (
|
|
|
3103
3112
|
type: ue.number,
|
|
3104
3113
|
tokens: n,
|
|
3105
3114
|
location: r,
|
|
3106
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3115
|
+
parsedOptions: this.shouldParseSkeletons ? fi(n) : {}
|
|
3107
3116
|
},
|
|
3108
3117
|
err: null
|
|
3109
3118
|
};
|
|
@@ -3151,7 +3160,7 @@ var Mi = (
|
|
|
3151
3160
|
break;
|
|
3152
3161
|
}
|
|
3153
3162
|
var c = A(i, this.clonePosition());
|
|
3154
|
-
return o ? (a *= n,
|
|
3163
|
+
return o ? (a *= n, wi(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3155
3164
|
}, e.prototype.offset = function() {
|
|
3156
3165
|
return this.position.offset;
|
|
3157
3166
|
}, e.prototype.isEOF = function() {
|
|
@@ -3166,7 +3175,7 @@ var Mi = (
|
|
|
3166
3175
|
var t = this.position.offset;
|
|
3167
3176
|
if (t >= this.message.length)
|
|
3168
3177
|
throw Error("out of bound");
|
|
3169
|
-
var r =
|
|
3178
|
+
var r = Er(this.message, t);
|
|
3170
3179
|
if (r === void 0)
|
|
3171
3180
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3172
3181
|
return r;
|
|
@@ -3185,7 +3194,7 @@ var Mi = (
|
|
|
3185
3194
|
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);
|
|
3186
3195
|
}
|
|
3187
3196
|
}, e.prototype.bumpIf = function(t) {
|
|
3188
|
-
if (
|
|
3197
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3189
3198
|
for (var r = 0; r < t.length; r++)
|
|
3190
3199
|
this.bump();
|
|
3191
3200
|
return !0;
|
|
@@ -3207,7 +3216,7 @@ var Mi = (
|
|
|
3207
3216
|
break;
|
|
3208
3217
|
}
|
|
3209
3218
|
}, e.prototype.bumpSpace = function() {
|
|
3210
|
-
for (; !this.isEOF() &&
|
|
3219
|
+
for (; !this.isEOF() && Sr(this.char()); )
|
|
3211
3220
|
this.bump();
|
|
3212
3221
|
}, e.prototype.peek = function() {
|
|
3213
3222
|
if (this.isEOF())
|
|
@@ -3217,47 +3226,47 @@ var Mi = (
|
|
|
3217
3226
|
}, e;
|
|
3218
3227
|
}()
|
|
3219
3228
|
);
|
|
3220
|
-
function
|
|
3229
|
+
function ft(e) {
|
|
3221
3230
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3222
3231
|
}
|
|
3223
|
-
function
|
|
3224
|
-
return
|
|
3232
|
+
function Hi(e) {
|
|
3233
|
+
return ft(e) || e === 47;
|
|
3225
3234
|
}
|
|
3226
|
-
function
|
|
3235
|
+
function Pi(e) {
|
|
3227
3236
|
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;
|
|
3228
3237
|
}
|
|
3229
|
-
function
|
|
3238
|
+
function Sr(e) {
|
|
3230
3239
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3231
3240
|
}
|
|
3232
|
-
function
|
|
3241
|
+
function Bi(e) {
|
|
3233
3242
|
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;
|
|
3234
3243
|
}
|
|
3235
|
-
function
|
|
3244
|
+
function pt(e) {
|
|
3236
3245
|
e.forEach(function(t) {
|
|
3237
|
-
if (delete t.location,
|
|
3246
|
+
if (delete t.location, fr(t) || pr(t))
|
|
3238
3247
|
for (var r in t.options)
|
|
3239
|
-
delete t.options[r].location,
|
|
3248
|
+
delete t.options[r].location, pt(t.options[r].value);
|
|
3240
3249
|
else
|
|
3241
|
-
|
|
3250
|
+
hr(t) && _r(t.style) || (dr(t) || mr(t)) && ut(t.style) ? delete t.style.location : gr(t) && pt(t.children);
|
|
3242
3251
|
});
|
|
3243
3252
|
}
|
|
3244
|
-
function
|
|
3245
|
-
t === void 0 && (t = {}), t =
|
|
3246
|
-
var r = new
|
|
3253
|
+
function Oi(e, t) {
|
|
3254
|
+
t === void 0 && (t = {}), t = De({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3255
|
+
var r = new Ai(e, t).parse();
|
|
3247
3256
|
if (r.err) {
|
|
3248
3257
|
var n = SyntaxError(N[r.err.kind]);
|
|
3249
3258
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3250
3259
|
}
|
|
3251
|
-
return t != null && t.captureLocation ||
|
|
3260
|
+
return t != null && t.captureLocation || pt(r.val), r.val;
|
|
3252
3261
|
}
|
|
3253
3262
|
var he;
|
|
3254
3263
|
(function(e) {
|
|
3255
3264
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3256
3265
|
})(he || (he = {}));
|
|
3257
|
-
var
|
|
3266
|
+
var Xe = (
|
|
3258
3267
|
/** @class */
|
|
3259
3268
|
function(e) {
|
|
3260
|
-
|
|
3269
|
+
Ve(t, e);
|
|
3261
3270
|
function t(r, n, i) {
|
|
3262
3271
|
var o = e.call(this, r) || this;
|
|
3263
3272
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3266,48 +3275,48 @@ var Ve = (
|
|
|
3266
3275
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3267
3276
|
}, t;
|
|
3268
3277
|
}(Error)
|
|
3269
|
-
),
|
|
3278
|
+
), Lt = (
|
|
3270
3279
|
/** @class */
|
|
3271
3280
|
function(e) {
|
|
3272
|
-
|
|
3281
|
+
Ve(t, e);
|
|
3273
3282
|
function t(r, n, i, o) {
|
|
3274
3283
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3275
3284
|
}
|
|
3276
3285
|
return t;
|
|
3277
|
-
}(
|
|
3278
|
-
),
|
|
3286
|
+
}(Xe)
|
|
3287
|
+
), zi = (
|
|
3279
3288
|
/** @class */
|
|
3280
3289
|
function(e) {
|
|
3281
|
-
|
|
3290
|
+
Ve(t, e);
|
|
3282
3291
|
function t(r, n, i) {
|
|
3283
3292
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
|
|
3284
3293
|
}
|
|
3285
3294
|
return t;
|
|
3286
|
-
}(
|
|
3287
|
-
),
|
|
3295
|
+
}(Xe)
|
|
3296
|
+
), ji = (
|
|
3288
3297
|
/** @class */
|
|
3289
3298
|
function(e) {
|
|
3290
|
-
|
|
3299
|
+
Ve(t, e);
|
|
3291
3300
|
function t(r, n) {
|
|
3292
3301
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
|
|
3293
3302
|
}
|
|
3294
3303
|
return t;
|
|
3295
|
-
}(
|
|
3304
|
+
}(Xe)
|
|
3296
3305
|
), G;
|
|
3297
3306
|
(function(e) {
|
|
3298
3307
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3299
3308
|
})(G || (G = {}));
|
|
3300
|
-
function
|
|
3309
|
+
function Li(e) {
|
|
3301
3310
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3302
3311
|
var n = t[t.length - 1];
|
|
3303
3312
|
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3304
3313
|
}, []);
|
|
3305
3314
|
}
|
|
3306
|
-
function
|
|
3315
|
+
function Ii(e) {
|
|
3307
3316
|
return typeof e == "function";
|
|
3308
3317
|
}
|
|
3309
|
-
function
|
|
3310
|
-
if (e.length === 1 &&
|
|
3318
|
+
function Ie(e, t, r, n, i, o, a) {
|
|
3319
|
+
if (e.length === 1 && At(e[0]))
|
|
3311
3320
|
return [
|
|
3312
3321
|
{
|
|
3313
3322
|
type: G.literal,
|
|
@@ -3316,14 +3325,14 @@ function je(e, t, r, n, i, o, a) {
|
|
|
3316
3325
|
];
|
|
3317
3326
|
for (var s = [], c = 0, l = e; c < l.length; c++) {
|
|
3318
3327
|
var u = l[c];
|
|
3319
|
-
if (
|
|
3328
|
+
if (At(u)) {
|
|
3320
3329
|
s.push({
|
|
3321
3330
|
type: G.literal,
|
|
3322
3331
|
value: u.value
|
|
3323
3332
|
});
|
|
3324
3333
|
continue;
|
|
3325
3334
|
}
|
|
3326
|
-
if (
|
|
3335
|
+
if (ai(u)) {
|
|
3327
3336
|
typeof o == "number" && s.push({
|
|
3328
3337
|
type: G.literal,
|
|
3329
3338
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3332,44 +3341,44 @@ function je(e, t, r, n, i, o, a) {
|
|
|
3332
3341
|
}
|
|
3333
3342
|
var d = u.value;
|
|
3334
3343
|
if (!(i && d in i))
|
|
3335
|
-
throw new
|
|
3344
|
+
throw new ji(d, a);
|
|
3336
3345
|
var m = i[d];
|
|
3337
|
-
if (
|
|
3346
|
+
if (oi(u)) {
|
|
3338
3347
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3339
3348
|
type: typeof m == "string" ? G.literal : G.object,
|
|
3340
3349
|
value: m
|
|
3341
3350
|
});
|
|
3342
3351
|
continue;
|
|
3343
3352
|
}
|
|
3344
|
-
if (
|
|
3345
|
-
var y = typeof u.style == "string" ? n.date[u.style] :
|
|
3353
|
+
if (dr(u)) {
|
|
3354
|
+
var y = typeof u.style == "string" ? n.date[u.style] : ut(u.style) ? u.style.parsedOptions : void 0;
|
|
3346
3355
|
s.push({
|
|
3347
3356
|
type: G.literal,
|
|
3348
3357
|
value: r.getDateTimeFormat(t, y).format(m)
|
|
3349
3358
|
});
|
|
3350
3359
|
continue;
|
|
3351
3360
|
}
|
|
3352
|
-
if (
|
|
3353
|
-
var y = typeof u.style == "string" ? n.time[u.style] :
|
|
3361
|
+
if (mr(u)) {
|
|
3362
|
+
var y = typeof u.style == "string" ? n.time[u.style] : ut(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3354
3363
|
s.push({
|
|
3355
3364
|
type: G.literal,
|
|
3356
3365
|
value: r.getDateTimeFormat(t, y).format(m)
|
|
3357
3366
|
});
|
|
3358
3367
|
continue;
|
|
3359
3368
|
}
|
|
3360
|
-
if (
|
|
3361
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3369
|
+
if (hr(u)) {
|
|
3370
|
+
var y = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
|
|
3362
3371
|
y && y.scale && (m = m * (y.scale || 1)), s.push({
|
|
3363
3372
|
type: G.literal,
|
|
3364
3373
|
value: r.getNumberFormat(t, y).format(m)
|
|
3365
3374
|
});
|
|
3366
3375
|
continue;
|
|
3367
3376
|
}
|
|
3368
|
-
if (
|
|
3369
|
-
var g = u.children, p = u.value,
|
|
3370
|
-
if (!
|
|
3371
|
-
throw new
|
|
3372
|
-
var _ =
|
|
3377
|
+
if (gr(u)) {
|
|
3378
|
+
var g = u.children, p = u.value, C = i[p];
|
|
3379
|
+
if (!Ii(C))
|
|
3380
|
+
throw new zi(p, "function", a);
|
|
3381
|
+
var _ = Ie(g, t, r, n, i, o), v = C(_.map(function(E) {
|
|
3373
3382
|
return E.value;
|
|
3374
3383
|
}));
|
|
3375
3384
|
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
|
|
@@ -3379,42 +3388,42 @@ function je(e, t, r, n, i, o, a) {
|
|
|
3379
3388
|
};
|
|
3380
3389
|
}));
|
|
3381
3390
|
}
|
|
3382
|
-
if (
|
|
3383
|
-
var
|
|
3384
|
-
if (!
|
|
3385
|
-
throw new
|
|
3386
|
-
s.push.apply(s,
|
|
3391
|
+
if (fr(u)) {
|
|
3392
|
+
var x = u.options[m] || u.options.other;
|
|
3393
|
+
if (!x)
|
|
3394
|
+
throw new Lt(u.value, m, Object.keys(u.options), a);
|
|
3395
|
+
s.push.apply(s, Ie(x.value, t, r, n, i));
|
|
3387
3396
|
continue;
|
|
3388
3397
|
}
|
|
3389
|
-
if (
|
|
3390
|
-
var
|
|
3391
|
-
if (!
|
|
3398
|
+
if (pr(u)) {
|
|
3399
|
+
var x = u.options["=".concat(m)];
|
|
3400
|
+
if (!x) {
|
|
3392
3401
|
if (!Intl.PluralRules)
|
|
3393
|
-
throw new
|
|
3402
|
+
throw new Xe(`Intl.PluralRules is not available in this environment.
|
|
3394
3403
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3395
3404
|
`, he.MISSING_INTL_API, a);
|
|
3396
3405
|
var H = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
|
|
3397
|
-
|
|
3406
|
+
x = u.options[H] || u.options.other;
|
|
3398
3407
|
}
|
|
3399
|
-
if (!
|
|
3400
|
-
throw new
|
|
3401
|
-
s.push.apply(s,
|
|
3408
|
+
if (!x)
|
|
3409
|
+
throw new Lt(u.value, m, Object.keys(u.options), a);
|
|
3410
|
+
s.push.apply(s, Ie(x.value, t, r, n, i, m - (u.offset || 0)));
|
|
3402
3411
|
continue;
|
|
3403
3412
|
}
|
|
3404
3413
|
}
|
|
3405
|
-
return
|
|
3414
|
+
return Li(s);
|
|
3406
3415
|
}
|
|
3407
|
-
function
|
|
3416
|
+
function Ri(e, t) {
|
|
3408
3417
|
return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3409
3418
|
return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
|
|
3410
3419
|
}, {})) : e;
|
|
3411
3420
|
}
|
|
3412
|
-
function
|
|
3421
|
+
function Ui(e, t) {
|
|
3413
3422
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3414
|
-
return r[n] =
|
|
3423
|
+
return r[n] = Ri(e[n], t[n]), r;
|
|
3415
3424
|
}, Z({}, e)) : e;
|
|
3416
3425
|
}
|
|
3417
|
-
function
|
|
3426
|
+
function nt(e) {
|
|
3418
3427
|
return {
|
|
3419
3428
|
create: function() {
|
|
3420
3429
|
return {
|
|
@@ -3428,39 +3437,39 @@ function rt(e) {
|
|
|
3428
3437
|
}
|
|
3429
3438
|
};
|
|
3430
3439
|
}
|
|
3431
|
-
function
|
|
3440
|
+
function Di(e) {
|
|
3432
3441
|
return e === void 0 && (e = {
|
|
3433
3442
|
number: {},
|
|
3434
3443
|
dateTime: {},
|
|
3435
3444
|
pluralRules: {}
|
|
3436
3445
|
}), {
|
|
3437
|
-
getNumberFormat:
|
|
3446
|
+
getNumberFormat: et(function() {
|
|
3438
3447
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3439
3448
|
r[n] = arguments[n];
|
|
3440
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3449
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3441
3450
|
}, {
|
|
3442
|
-
cache:
|
|
3443
|
-
strategy:
|
|
3451
|
+
cache: nt(e.number),
|
|
3452
|
+
strategy: tt.variadic
|
|
3444
3453
|
}),
|
|
3445
|
-
getDateTimeFormat:
|
|
3454
|
+
getDateTimeFormat: et(function() {
|
|
3446
3455
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3447
3456
|
r[n] = arguments[n];
|
|
3448
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3457
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3449
3458
|
}, {
|
|
3450
|
-
cache:
|
|
3451
|
-
strategy:
|
|
3459
|
+
cache: nt(e.dateTime),
|
|
3460
|
+
strategy: tt.variadic
|
|
3452
3461
|
}),
|
|
3453
|
-
getPluralRules:
|
|
3462
|
+
getPluralRules: et(function() {
|
|
3454
3463
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3455
3464
|
r[n] = arguments[n];
|
|
3456
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3465
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3457
3466
|
}, {
|
|
3458
|
-
cache:
|
|
3459
|
-
strategy:
|
|
3467
|
+
cache: nt(e.pluralRules),
|
|
3468
|
+
strategy: tt.variadic
|
|
3460
3469
|
})
|
|
3461
3470
|
};
|
|
3462
3471
|
}
|
|
3463
|
-
var
|
|
3472
|
+
var Gi = (
|
|
3464
3473
|
/** @class */
|
|
3465
3474
|
function() {
|
|
3466
3475
|
function e(t, r, n, i) {
|
|
@@ -3479,7 +3488,7 @@ var Ui = (
|
|
|
3479
3488
|
}, []);
|
|
3480
3489
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3481
3490
|
}, this.formatToParts = function(c) {
|
|
3482
|
-
return
|
|
3491
|
+
return Ie(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3483
3492
|
}, this.resolvedOptions = function() {
|
|
3484
3493
|
var c;
|
|
3485
3494
|
return {
|
|
@@ -3491,13 +3500,13 @@ var Ui = (
|
|
|
3491
3500
|
if (this.message = t, !e.__parse)
|
|
3492
3501
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3493
3502
|
var a = i || {};
|
|
3494
|
-
var s =
|
|
3503
|
+
var s = Qn(a, ["formatters"]);
|
|
3495
3504
|
this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
|
|
3496
3505
|
} else
|
|
3497
3506
|
this.ast = t;
|
|
3498
3507
|
if (!Array.isArray(this.ast))
|
|
3499
3508
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3500
|
-
this.formats =
|
|
3509
|
+
this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
|
|
3501
3510
|
}
|
|
3502
3511
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3503
3512
|
get: function() {
|
|
@@ -3510,7 +3519,7 @@ var Ui = (
|
|
|
3510
3519
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3511
3520
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3512
3521
|
}
|
|
3513
|
-
}, e.__parse =
|
|
3522
|
+
}, e.__parse = Oi, e.formats = {
|
|
3514
3523
|
number: {
|
|
3515
3524
|
integer: {
|
|
3516
3525
|
maximumFractionDigits: 0
|
|
@@ -3571,7 +3580,7 @@ var Ui = (
|
|
|
3571
3580
|
}, e;
|
|
3572
3581
|
}()
|
|
3573
3582
|
);
|
|
3574
|
-
function
|
|
3583
|
+
function Fi(e, t) {
|
|
3575
3584
|
if (t == null)
|
|
3576
3585
|
return;
|
|
3577
3586
|
if (t in e)
|
|
@@ -3592,92 +3601,92 @@ function Di(e, t) {
|
|
|
3592
3601
|
n = void 0;
|
|
3593
3602
|
return n;
|
|
3594
3603
|
}
|
|
3595
|
-
const
|
|
3604
|
+
const Q = {}, $i = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), xr = (e, t) => {
|
|
3596
3605
|
if (t == null)
|
|
3597
3606
|
return;
|
|
3598
|
-
if (t in
|
|
3599
|
-
return
|
|
3600
|
-
const r =
|
|
3607
|
+
if (t in Q && e in Q[t])
|
|
3608
|
+
return Q[t][e];
|
|
3609
|
+
const r = qe(t);
|
|
3601
3610
|
for (let n = 0; n < r.length; n++) {
|
|
3602
|
-
const i = r[n], o =
|
|
3611
|
+
const i = r[n], o = Xi(i, e);
|
|
3603
3612
|
if (o)
|
|
3604
|
-
return
|
|
3613
|
+
return $i(e, t, o);
|
|
3605
3614
|
}
|
|
3606
3615
|
};
|
|
3607
|
-
let
|
|
3608
|
-
const
|
|
3609
|
-
function
|
|
3610
|
-
return
|
|
3616
|
+
let kt;
|
|
3617
|
+
const Ne = $e({});
|
|
3618
|
+
function Vi(e) {
|
|
3619
|
+
return kt[e] || null;
|
|
3611
3620
|
}
|
|
3612
|
-
function
|
|
3613
|
-
return e in
|
|
3621
|
+
function wr(e) {
|
|
3622
|
+
return e in kt;
|
|
3614
3623
|
}
|
|
3615
|
-
function
|
|
3616
|
-
if (!
|
|
3624
|
+
function Xi(e, t) {
|
|
3625
|
+
if (!wr(e))
|
|
3617
3626
|
return null;
|
|
3618
|
-
const r =
|
|
3619
|
-
return
|
|
3627
|
+
const r = Vi(e);
|
|
3628
|
+
return Fi(r, t);
|
|
3620
3629
|
}
|
|
3621
|
-
function
|
|
3630
|
+
function qi(e) {
|
|
3622
3631
|
if (e == null)
|
|
3623
3632
|
return;
|
|
3624
|
-
const t =
|
|
3633
|
+
const t = qe(e);
|
|
3625
3634
|
for (let r = 0; r < t.length; r++) {
|
|
3626
3635
|
const n = t[r];
|
|
3627
|
-
if (
|
|
3636
|
+
if (wr(n))
|
|
3628
3637
|
return n;
|
|
3629
3638
|
}
|
|
3630
3639
|
}
|
|
3631
|
-
function
|
|
3632
|
-
delete
|
|
3640
|
+
function Tr(e, ...t) {
|
|
3641
|
+
delete Q[e], Ne.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
3633
3642
|
}
|
|
3634
3643
|
fe(
|
|
3635
|
-
[
|
|
3644
|
+
[Ne],
|
|
3636
3645
|
([e]) => Object.keys(e)
|
|
3637
3646
|
);
|
|
3638
|
-
|
|
3639
|
-
const
|
|
3640
|
-
function
|
|
3641
|
-
|
|
3647
|
+
Ne.subscribe((e) => kt = e);
|
|
3648
|
+
const Re = {};
|
|
3649
|
+
function Wi(e, t) {
|
|
3650
|
+
Re[e].delete(t), Re[e].size === 0 && delete Re[e];
|
|
3642
3651
|
}
|
|
3643
|
-
function
|
|
3644
|
-
return
|
|
3652
|
+
function Mr(e) {
|
|
3653
|
+
return Re[e];
|
|
3645
3654
|
}
|
|
3646
|
-
function
|
|
3647
|
-
return
|
|
3648
|
-
const r =
|
|
3655
|
+
function Zi(e) {
|
|
3656
|
+
return qe(e).map((t) => {
|
|
3657
|
+
const r = Mr(t);
|
|
3649
3658
|
return [t, r ? [...r] : []];
|
|
3650
3659
|
}).filter(([, t]) => t.length > 0);
|
|
3651
3660
|
}
|
|
3652
|
-
function
|
|
3653
|
-
return e == null ? !1 :
|
|
3661
|
+
function gt(e) {
|
|
3662
|
+
return e == null ? !1 : qe(e).some(
|
|
3654
3663
|
(t) => {
|
|
3655
3664
|
var r;
|
|
3656
|
-
return (r =
|
|
3665
|
+
return (r = Mr(t)) == null ? void 0 : r.size;
|
|
3657
3666
|
}
|
|
3658
3667
|
);
|
|
3659
3668
|
}
|
|
3660
|
-
function
|
|
3669
|
+
function Ji(e, t) {
|
|
3661
3670
|
return Promise.all(
|
|
3662
|
-
t.map((n) => (
|
|
3663
|
-
).then((n) =>
|
|
3664
|
-
}
|
|
3665
|
-
const
|
|
3666
|
-
function
|
|
3667
|
-
if (!
|
|
3668
|
-
return e in
|
|
3669
|
-
const t =
|
|
3670
|
-
return
|
|
3671
|
+
t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
|
|
3672
|
+
).then((n) => Tr(e, ...n));
|
|
3673
|
+
}
|
|
3674
|
+
const Ee = {};
|
|
3675
|
+
function Nr(e) {
|
|
3676
|
+
if (!gt(e))
|
|
3677
|
+
return e in Ee ? Ee[e] : Promise.resolve();
|
|
3678
|
+
const t = Zi(e);
|
|
3679
|
+
return Ee[e] = Promise.all(
|
|
3671
3680
|
t.map(
|
|
3672
|
-
([r, n]) =>
|
|
3681
|
+
([r, n]) => Ji(r, n)
|
|
3673
3682
|
)
|
|
3674
3683
|
).then(() => {
|
|
3675
|
-
if (
|
|
3676
|
-
return
|
|
3677
|
-
delete
|
|
3678
|
-
}),
|
|
3684
|
+
if (gt(e))
|
|
3685
|
+
return Nr(e);
|
|
3686
|
+
delete Ee[e];
|
|
3687
|
+
}), Ee[e];
|
|
3679
3688
|
}
|
|
3680
|
-
const
|
|
3689
|
+
const Qi = {
|
|
3681
3690
|
number: {
|
|
3682
3691
|
scientific: { notation: "scientific" },
|
|
3683
3692
|
engineering: { notation: "engineering" },
|
|
@@ -3706,148 +3715,148 @@ const Zi = {
|
|
|
3706
3715
|
timeZoneName: "short"
|
|
3707
3716
|
}
|
|
3708
3717
|
}
|
|
3709
|
-
},
|
|
3718
|
+
}, Yi = {
|
|
3710
3719
|
fallbackLocale: null,
|
|
3711
3720
|
loadingDelay: 200,
|
|
3712
|
-
formats:
|
|
3721
|
+
formats: Qi,
|
|
3713
3722
|
warnOnMissingMessages: !0,
|
|
3714
3723
|
handleMissingMessage: void 0,
|
|
3715
3724
|
ignoreTag: !0
|
|
3716
|
-
},
|
|
3725
|
+
}, Ki = Yi;
|
|
3717
3726
|
function de() {
|
|
3718
|
-
return
|
|
3727
|
+
return Ki;
|
|
3719
3728
|
}
|
|
3720
|
-
const
|
|
3721
|
-
var
|
|
3729
|
+
const it = $e(!1);
|
|
3730
|
+
var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
|
|
3722
3731
|
for (var r in t || (t = {}))
|
|
3723
|
-
|
|
3724
|
-
if (
|
|
3725
|
-
for (var r of
|
|
3726
|
-
|
|
3732
|
+
no.call(t, r) && Rt(e, r, t[r]);
|
|
3733
|
+
if (It)
|
|
3734
|
+
for (var r of It(t))
|
|
3735
|
+
io.call(t, r) && Rt(e, r, t[r]);
|
|
3727
3736
|
return e;
|
|
3728
|
-
},
|
|
3729
|
-
let
|
|
3730
|
-
const
|
|
3731
|
-
function
|
|
3737
|
+
}, ao = (e, t) => to(e, ro(t));
|
|
3738
|
+
let _t;
|
|
3739
|
+
const Ge = $e(null);
|
|
3740
|
+
function Ut(e) {
|
|
3732
3741
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3733
3742
|
}
|
|
3734
|
-
function
|
|
3735
|
-
const r =
|
|
3736
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3743
|
+
function qe(e, t = de().fallbackLocale) {
|
|
3744
|
+
const r = Ut(e);
|
|
3745
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
3737
3746
|
}
|
|
3738
|
-
function
|
|
3739
|
-
return
|
|
3747
|
+
function ee() {
|
|
3748
|
+
return _t != null ? _t : void 0;
|
|
3740
3749
|
}
|
|
3741
|
-
|
|
3742
|
-
|
|
3750
|
+
Ge.subscribe((e) => {
|
|
3751
|
+
_t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3743
3752
|
});
|
|
3744
|
-
const
|
|
3745
|
-
if (e &&
|
|
3753
|
+
const so = (e) => {
|
|
3754
|
+
if (e && qi(e) && gt(e)) {
|
|
3746
3755
|
const { loadingDelay: t } = de();
|
|
3747
3756
|
let r;
|
|
3748
|
-
return typeof window != "undefined" &&
|
|
3749
|
-
() =>
|
|
3757
|
+
return typeof window != "undefined" && ee() != null && t ? r = window.setTimeout(
|
|
3758
|
+
() => it.set(!0),
|
|
3750
3759
|
t
|
|
3751
|
-
) :
|
|
3752
|
-
|
|
3760
|
+
) : it.set(!0), Nr(e).then(() => {
|
|
3761
|
+
Ge.set(e);
|
|
3753
3762
|
}).finally(() => {
|
|
3754
|
-
clearTimeout(r),
|
|
3763
|
+
clearTimeout(r), it.set(!1);
|
|
3755
3764
|
});
|
|
3756
3765
|
}
|
|
3757
|
-
return
|
|
3758
|
-
}, pe =
|
|
3759
|
-
set:
|
|
3760
|
-
}),
|
|
3766
|
+
return Ge.set(e);
|
|
3767
|
+
}, pe = ao(oo({}, Ge), {
|
|
3768
|
+
set: so
|
|
3769
|
+
}), We = (e) => {
|
|
3761
3770
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3762
3771
|
return (n) => {
|
|
3763
3772
|
const i = JSON.stringify(n);
|
|
3764
3773
|
return i in t ? t[i] : t[i] = e(n);
|
|
3765
3774
|
};
|
|
3766
3775
|
};
|
|
3767
|
-
var
|
|
3776
|
+
var lo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
3768
3777
|
for (var r in t || (t = {}))
|
|
3769
|
-
|
|
3770
|
-
if (
|
|
3771
|
-
for (var r of
|
|
3772
|
-
|
|
3778
|
+
Ar.call(t, r) && Dt(e, r, t[r]);
|
|
3779
|
+
if (Fe)
|
|
3780
|
+
for (var r of Fe(t))
|
|
3781
|
+
Hr.call(t, r) && Dt(e, r, t[r]);
|
|
3773
3782
|
return e;
|
|
3774
3783
|
}, ge = (e, t) => {
|
|
3775
3784
|
var r = {};
|
|
3776
3785
|
for (var n in e)
|
|
3777
|
-
|
|
3778
|
-
if (e != null &&
|
|
3779
|
-
for (var n of
|
|
3780
|
-
t.indexOf(n) < 0 &&
|
|
3786
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3787
|
+
if (e != null && Fe)
|
|
3788
|
+
for (var n of Fe(e))
|
|
3789
|
+
t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
|
|
3781
3790
|
return r;
|
|
3782
3791
|
};
|
|
3783
|
-
const
|
|
3792
|
+
const Te = (e, t) => {
|
|
3784
3793
|
const { formats: r } = de();
|
|
3785
3794
|
if (e in r && t in r[e])
|
|
3786
3795
|
return r[e][t];
|
|
3787
3796
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3788
|
-
},
|
|
3797
|
+
}, co = We(
|
|
3789
3798
|
(e) => {
|
|
3790
3799
|
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
3791
3800
|
if (r == null)
|
|
3792
3801
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3793
|
-
return n && (i =
|
|
3802
|
+
return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
|
|
3794
3803
|
}
|
|
3795
|
-
),
|
|
3804
|
+
), uo = We(
|
|
3796
3805
|
(e) => {
|
|
3797
3806
|
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
3798
3807
|
if (r == null)
|
|
3799
3808
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3800
|
-
return n ? i =
|
|
3809
|
+
return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3801
3810
|
}
|
|
3802
|
-
),
|
|
3811
|
+
), ho = We(
|
|
3803
3812
|
(e) => {
|
|
3804
3813
|
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
3805
3814
|
if (r == null)
|
|
3806
3815
|
throw new Error(
|
|
3807
3816
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3808
3817
|
);
|
|
3809
|
-
return n ? i =
|
|
3818
|
+
return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3810
3819
|
}
|
|
3811
|
-
),
|
|
3820
|
+
), mo = (e = {}) => {
|
|
3812
3821
|
var t = e, {
|
|
3813
|
-
locale: r =
|
|
3822
|
+
locale: r = ee()
|
|
3814
3823
|
} = t, n = ge(t, [
|
|
3815
3824
|
"locale"
|
|
3816
3825
|
]);
|
|
3817
|
-
return
|
|
3818
|
-
},
|
|
3826
|
+
return co(Et({ locale: r }, n));
|
|
3827
|
+
}, fo = (e = {}) => {
|
|
3819
3828
|
var t = e, {
|
|
3820
|
-
locale: r =
|
|
3829
|
+
locale: r = ee()
|
|
3821
3830
|
} = t, n = ge(t, [
|
|
3822
3831
|
"locale"
|
|
3823
3832
|
]);
|
|
3824
|
-
return
|
|
3825
|
-
},
|
|
3833
|
+
return uo(Et({ locale: r }, n));
|
|
3834
|
+
}, po = (e = {}) => {
|
|
3826
3835
|
var t = e, {
|
|
3827
|
-
locale: r =
|
|
3836
|
+
locale: r = ee()
|
|
3828
3837
|
} = t, n = ge(t, [
|
|
3829
3838
|
"locale"
|
|
3830
3839
|
]);
|
|
3831
|
-
return
|
|
3832
|
-
},
|
|
3840
|
+
return ho(Et({ locale: r }, n));
|
|
3841
|
+
}, go = We(
|
|
3833
3842
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3834
|
-
(e, t =
|
|
3843
|
+
(e, t = ee()) => new Gi(e, t, de().formats, {
|
|
3835
3844
|
ignoreTag: de().ignoreTag
|
|
3836
3845
|
})
|
|
3837
|
-
),
|
|
3846
|
+
), _o = (e, t = {}) => {
|
|
3838
3847
|
var r, n, i, o;
|
|
3839
3848
|
let a = t;
|
|
3840
3849
|
typeof e == "object" && (a = e, e = a.id);
|
|
3841
3850
|
const {
|
|
3842
3851
|
values: s,
|
|
3843
|
-
locale: c =
|
|
3852
|
+
locale: c = ee(),
|
|
3844
3853
|
default: l
|
|
3845
3854
|
} = a;
|
|
3846
3855
|
if (c == null)
|
|
3847
3856
|
throw new Error(
|
|
3848
3857
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3849
3858
|
);
|
|
3850
|
-
let u =
|
|
3859
|
+
let u = xr(e, c);
|
|
3851
3860
|
if (!u)
|
|
3852
3861
|
u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
3853
3862
|
else if (typeof u != "string")
|
|
@@ -3858,7 +3867,7 @@ const we = (e, t) => {
|
|
|
3858
3867
|
return u;
|
|
3859
3868
|
let d = u;
|
|
3860
3869
|
try {
|
|
3861
|
-
d =
|
|
3870
|
+
d = go(u, c).format(s);
|
|
3862
3871
|
} catch (m) {
|
|
3863
3872
|
m instanceof Error && console.warn(
|
|
3864
3873
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3866,18 +3875,18 @@ const we = (e, t) => {
|
|
|
3866
3875
|
);
|
|
3867
3876
|
}
|
|
3868
3877
|
return d;
|
|
3869
|
-
},
|
|
3870
|
-
fe([pe], () => go);
|
|
3871
|
-
fe([pe], () => _o);
|
|
3878
|
+
}, yo = (e, t) => po(t).format(e), vo = (e, t) => fo(t).format(e), bo = (e, t) => mo(t).format(e), ko = (e, t = ee()) => xr(e, t), Eo = fe([pe, Ne], () => _o);
|
|
3872
3879
|
fe([pe], () => yo);
|
|
3873
|
-
fe([pe
|
|
3874
|
-
|
|
3875
|
-
|
|
3880
|
+
fe([pe], () => vo);
|
|
3881
|
+
fe([pe], () => bo);
|
|
3882
|
+
fe([pe, Ne], () => ko);
|
|
3883
|
+
function ot(e, t) {
|
|
3884
|
+
Tr(e, t);
|
|
3876
3885
|
}
|
|
3877
|
-
function
|
|
3886
|
+
function Co(e) {
|
|
3878
3887
|
pe.set(e);
|
|
3879
3888
|
}
|
|
3880
|
-
const
|
|
3889
|
+
const Gt = {
|
|
3881
3890
|
en: {
|
|
3882
3891
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
3883
3892
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -4449,18 +4458,18 @@ if (typeof window != "undefined") {
|
|
|
4449
4458
|
}
|
|
4450
4459
|
};
|
|
4451
4460
|
};
|
|
4452
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-
|
|
4461
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-DLWh0_Mr-87adb410.js'); }).then(({ default: t }) => {
|
|
4453
4462
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
4454
4463
|
});
|
|
4455
4464
|
}
|
|
4456
|
-
function
|
|
4465
|
+
function So(e) {
|
|
4457
4466
|
let t, r;
|
|
4458
4467
|
return {
|
|
4459
4468
|
c() {
|
|
4460
|
-
t =
|
|
4469
|
+
t = at("svg"), r = at("path"), k(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"), k(t, "xmlns", "http://www.w3.org/2000/svg"), k(t, "viewBox", "0 0 512 512");
|
|
4461
4470
|
},
|
|
4462
4471
|
m(n, i) {
|
|
4463
|
-
|
|
4472
|
+
z(n, t, i), S(t, r);
|
|
4464
4473
|
},
|
|
4465
4474
|
p: $,
|
|
4466
4475
|
i: $,
|
|
@@ -4470,34 +4479,34 @@ function Eo(e) {
|
|
|
4470
4479
|
}
|
|
4471
4480
|
};
|
|
4472
4481
|
}
|
|
4473
|
-
class
|
|
4482
|
+
class xo extends sr {
|
|
4474
4483
|
constructor(t) {
|
|
4475
|
-
super(),
|
|
4484
|
+
super(), ir(this, t, null, So, vt, {});
|
|
4476
4485
|
}
|
|
4477
4486
|
}
|
|
4478
|
-
customElements.define("circle-exclamation-icon",
|
|
4479
|
-
function
|
|
4480
|
-
|
|
4481
|
-
}
|
|
4482
|
-
function Gt(e, t, r) {
|
|
4483
|
-
const n = e.slice();
|
|
4484
|
-
return n[65] = t[r], n;
|
|
4487
|
+
customElements.define("circle-exclamation-icon", ar(xo, {}, [], [], !0));
|
|
4488
|
+
function wo(e) {
|
|
4489
|
+
un(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{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-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{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-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty: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-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{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, 10px);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-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{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-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{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-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
|
|
4485
4490
|
}
|
|
4486
4491
|
function Ft(e, t, r) {
|
|
4487
4492
|
const n = e.slice();
|
|
4488
|
-
return n[
|
|
4493
|
+
return n[66] = t[r], n;
|
|
4489
4494
|
}
|
|
4490
4495
|
function $t(e, t, r) {
|
|
4491
4496
|
const n = e.slice();
|
|
4492
|
-
return n[
|
|
4497
|
+
return n[63] = t[r], n[64] = t, n[65] = r, n;
|
|
4498
|
+
}
|
|
4499
|
+
function Vt(e, t, r) {
|
|
4500
|
+
const n = e.slice();
|
|
4501
|
+
return n[66] = t[r], n;
|
|
4493
4502
|
}
|
|
4494
|
-
function
|
|
4503
|
+
function To(e) {
|
|
4495
4504
|
let t, r, n = le(
|
|
4496
4505
|
/*playerConsents*/
|
|
4497
4506
|
e[9]
|
|
4498
4507
|
), i = [];
|
|
4499
4508
|
for (let o = 0; o < n.length; o += 1)
|
|
4500
|
-
i[o] =
|
|
4509
|
+
i[o] = Xt(Ft(e, n, o));
|
|
4501
4510
|
return {
|
|
4502
4511
|
c() {
|
|
4503
4512
|
t = T("div"), r = T("form");
|
|
@@ -4506,7 +4515,7 @@ function xo(e) {
|
|
|
4506
4515
|
k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
|
|
4507
4516
|
},
|
|
4508
4517
|
m(o, a) {
|
|
4509
|
-
|
|
4518
|
+
z(o, t, a), S(t, r);
|
|
4510
4519
|
for (let s = 0; s < i.length; s += 1)
|
|
4511
4520
|
i[s] && i[s].m(r, null);
|
|
4512
4521
|
e[32](r);
|
|
@@ -4520,8 +4529,8 @@ function xo(e) {
|
|
|
4520
4529
|
);
|
|
4521
4530
|
let s;
|
|
4522
4531
|
for (s = 0; s < n.length; s += 1) {
|
|
4523
|
-
const c =
|
|
4524
|
-
i[s] ? i[s].p(c, a) : (i[s] =
|
|
4532
|
+
const c = Ft(o, n, s);
|
|
4533
|
+
i[s] ? i[s].p(c, a) : (i[s] = Xt(c), i[s].c(), i[s].m(r, null));
|
|
4525
4534
|
}
|
|
4526
4535
|
for (; s < i.length; s += 1)
|
|
4527
4536
|
i[s].d(1);
|
|
@@ -4529,11 +4538,11 @@ function xo(e) {
|
|
|
4529
4538
|
}
|
|
4530
4539
|
},
|
|
4531
4540
|
d(o) {
|
|
4532
|
-
o && O(t),
|
|
4541
|
+
o && O(t), bt(i, o), e[32](null);
|
|
4533
4542
|
}
|
|
4534
4543
|
};
|
|
4535
4544
|
}
|
|
4536
|
-
function
|
|
4545
|
+
function Mo(e) {
|
|
4537
4546
|
let t = (
|
|
4538
4547
|
/*$_*/
|
|
4539
4548
|
e[16]("title") || /*$_*/
|
|
@@ -4541,40 +4550,40 @@ function wo(e) {
|
|
|
4541
4550
|
), r, n, i, o = (
|
|
4542
4551
|
/*$_*/
|
|
4543
4552
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
4544
|
-
), a, s, c, l, u, d = t &&
|
|
4553
|
+
), a, s, c, l, u, d = t && qt(e), m = le(
|
|
4545
4554
|
/*consentsCategories*/
|
|
4546
4555
|
e[8]
|
|
4547
4556
|
), y = [];
|
|
4548
4557
|
for (let p = 0; p < m.length; p += 1)
|
|
4549
|
-
y[p] =
|
|
4558
|
+
y[p] = Kt($t(e, m, p));
|
|
4550
4559
|
let g = (
|
|
4551
4560
|
/*errorMessage*/
|
|
4552
|
-
e[6] &&
|
|
4561
|
+
e[6] && er(e)
|
|
4553
4562
|
);
|
|
4554
4563
|
return {
|
|
4555
4564
|
c() {
|
|
4556
4565
|
d && d.c(), r = F();
|
|
4557
4566
|
for (let p = 0; p < y.length; p += 1)
|
|
4558
4567
|
y[p].c();
|
|
4559
|
-
n = F(), i = T("button"), s = F(), g && g.c(), c =
|
|
4568
|
+
n = F(), i = T("button"), s = F(), g && g.c(), c = mn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
|
|
4560
4569
|
e[14];
|
|
4561
4570
|
},
|
|
4562
|
-
m(p,
|
|
4563
|
-
d && d.m(p,
|
|
4571
|
+
m(p, C) {
|
|
4572
|
+
d && d.m(p, C), z(p, r, C);
|
|
4564
4573
|
for (let _ = 0; _ < y.length; _ += 1)
|
|
4565
|
-
y[_] && y[_].m(p,
|
|
4566
|
-
|
|
4574
|
+
y[_] && y[_].m(p, C);
|
|
4575
|
+
z(p, n, C), z(p, i, C), i.innerHTML = o, z(p, s, C), g && g.m(p, C), z(p, c, C), l || (u = Se(
|
|
4567
4576
|
i,
|
|
4568
4577
|
"click",
|
|
4569
4578
|
/*saveChanges*/
|
|
4570
4579
|
e[18]
|
|
4571
4580
|
), l = !0);
|
|
4572
4581
|
},
|
|
4573
|
-
p(p,
|
|
4574
|
-
if (
|
|
4582
|
+
p(p, C) {
|
|
4583
|
+
if (C[0] & /*$_*/
|
|
4575
4584
|
65536 && (t = /*$_*/
|
|
4576
4585
|
p[16]("title") || /*$_*/
|
|
4577
|
-
p[16]("description")), t ? d ? d.p(p,
|
|
4586
|
+
p[16]("description")), t ? d ? d.p(p, C) : (d = qt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
4578
4587
|
1719056) {
|
|
4579
4588
|
m = le(
|
|
4580
4589
|
/*consentsCategories*/
|
|
@@ -4582,40 +4591,40 @@ function wo(e) {
|
|
|
4582
4591
|
);
|
|
4583
4592
|
let _;
|
|
4584
4593
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
4585
|
-
const v =
|
|
4586
|
-
y[_] ? y[_].p(v,
|
|
4594
|
+
const v = $t(p, m, _);
|
|
4595
|
+
y[_] ? y[_].p(v, C) : (y[_] = Kt(v), y[_].c(), y[_].m(n.parentNode, n));
|
|
4587
4596
|
}
|
|
4588
4597
|
for (; _ < y.length; _ += 1)
|
|
4589
4598
|
y[_].d(1);
|
|
4590
4599
|
y.length = m.length;
|
|
4591
4600
|
}
|
|
4592
|
-
|
|
4601
|
+
C[0] & /*$_*/
|
|
4593
4602
|
65536 && o !== (o = /*$_*/
|
|
4594
|
-
(p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o),
|
|
4603
|
+
(p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
|
|
4595
4604
|
16384 && a !== (a = !/*isValid*/
|
|
4596
4605
|
p[14]) && (i.disabled = a), /*errorMessage*/
|
|
4597
|
-
p[6] ? g ? g.p(p,
|
|
4606
|
+
p[6] ? g ? g.p(p, C) : (g = er(p), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
|
|
4598
4607
|
},
|
|
4599
4608
|
d(p) {
|
|
4600
|
-
p && (O(r), O(n), O(i), O(s), O(c)), d && d.d(p),
|
|
4609
|
+
p && (O(r), O(n), O(i), O(s), O(c)), d && d.d(p), bt(y, p), g && g.d(p), l = !1, u();
|
|
4601
4610
|
}
|
|
4602
4611
|
};
|
|
4603
4612
|
}
|
|
4604
|
-
function
|
|
4613
|
+
function No(e) {
|
|
4605
4614
|
let t, r, n;
|
|
4606
4615
|
return {
|
|
4607
4616
|
c() {
|
|
4608
|
-
t = T("div"), r = T("strong"), n =
|
|
4617
|
+
t = T("div"), r = T("strong"), n = K(
|
|
4609
4618
|
/*fatalError*/
|
|
4610
4619
|
e[7]
|
|
4611
4620
|
), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
|
|
4612
4621
|
},
|
|
4613
4622
|
m(i, o) {
|
|
4614
|
-
|
|
4623
|
+
z(i, t, o), S(t, r), S(r, n);
|
|
4615
4624
|
},
|
|
4616
4625
|
p(i, o) {
|
|
4617
4626
|
o[0] & /*fatalError*/
|
|
4618
|
-
128 &&
|
|
4627
|
+
128 && Me(
|
|
4619
4628
|
n,
|
|
4620
4629
|
/*fatalError*/
|
|
4621
4630
|
i[7]
|
|
@@ -4626,21 +4635,21 @@ function To(e) {
|
|
|
4626
4635
|
}
|
|
4627
4636
|
};
|
|
4628
4637
|
}
|
|
4629
|
-
function
|
|
4638
|
+
function Ao(e) {
|
|
4630
4639
|
let t;
|
|
4631
4640
|
return {
|
|
4632
4641
|
c() {
|
|
4633
|
-
t = T("general-animation-loading"),
|
|
4642
|
+
t = T("general-animation-loading"), Y(
|
|
4634
4643
|
t,
|
|
4635
4644
|
"clientstyling",
|
|
4636
4645
|
/*clientstyling*/
|
|
4637
4646
|
e[1]
|
|
4638
|
-
),
|
|
4647
|
+
), Y(
|
|
4639
4648
|
t,
|
|
4640
4649
|
"clientstylingurl",
|
|
4641
4650
|
/*clientstylingurl*/
|
|
4642
4651
|
e[2]
|
|
4643
|
-
),
|
|
4652
|
+
), Y(
|
|
4644
4653
|
t,
|
|
4645
4654
|
"mbsource",
|
|
4646
4655
|
/*mbsource*/
|
|
@@ -4648,23 +4657,23 @@ function Mo(e) {
|
|
|
4648
4657
|
);
|
|
4649
4658
|
},
|
|
4650
4659
|
m(r, n) {
|
|
4651
|
-
|
|
4660
|
+
z(r, t, n);
|
|
4652
4661
|
},
|
|
4653
4662
|
p(r, n) {
|
|
4654
4663
|
n[0] & /*clientstyling*/
|
|
4655
|
-
2 &&
|
|
4664
|
+
2 && Y(
|
|
4656
4665
|
t,
|
|
4657
4666
|
"clientstyling",
|
|
4658
4667
|
/*clientstyling*/
|
|
4659
4668
|
r[1]
|
|
4660
4669
|
), n[0] & /*clientstylingurl*/
|
|
4661
|
-
4 &&
|
|
4670
|
+
4 && Y(
|
|
4662
4671
|
t,
|
|
4663
4672
|
"clientstylingurl",
|
|
4664
4673
|
/*clientstylingurl*/
|
|
4665
4674
|
r[2]
|
|
4666
4675
|
), n[0] & /*mbsource*/
|
|
4667
|
-
8 &&
|
|
4676
|
+
8 && Y(
|
|
4668
4677
|
t,
|
|
4669
4678
|
"mbsource",
|
|
4670
4679
|
/*mbsource*/
|
|
@@ -4676,161 +4685,161 @@ function Mo(e) {
|
|
|
4676
4685
|
}
|
|
4677
4686
|
};
|
|
4678
4687
|
}
|
|
4679
|
-
function
|
|
4688
|
+
function Xt(e) {
|
|
4680
4689
|
let t, r, n, i, o, a, s, c, l = (
|
|
4681
4690
|
/*translate*/
|
|
4682
4691
|
e[17](
|
|
4683
4692
|
`${/*consent*/
|
|
4684
|
-
e[
|
|
4693
|
+
e[66].tagCode}__description`,
|
|
4685
4694
|
/*consent*/
|
|
4686
|
-
e[
|
|
4695
|
+
e[66].friendlyName
|
|
4687
4696
|
) + ""
|
|
4688
4697
|
), u = (
|
|
4689
4698
|
/*consent*/
|
|
4690
|
-
e[
|
|
4691
|
-
), d, m, y, g, p,
|
|
4699
|
+
e[66].mustAccept ? " *" : ""
|
|
4700
|
+
), d, m, y, g, p, C, _, v, x;
|
|
4692
4701
|
function H(...E) {
|
|
4693
4702
|
return (
|
|
4694
4703
|
/*input_handler_1*/
|
|
4695
4704
|
e[31](
|
|
4696
4705
|
/*consent*/
|
|
4697
|
-
e[
|
|
4706
|
+
e[66],
|
|
4698
4707
|
...E
|
|
4699
4708
|
)
|
|
4700
4709
|
);
|
|
4701
4710
|
}
|
|
4702
4711
|
return {
|
|
4703
4712
|
c() {
|
|
4704
|
-
t = T("div"), r = T("input"), o = F(), a = T("label"), s = T("div"), c = new
|
|
4705
|
-
e[
|
|
4706
|
-
e[
|
|
4707
|
-
e[
|
|
4708
|
-
e[
|
|
4709
|
-
e[
|
|
4713
|
+
t = T("div"), r = T("input"), o = F(), a = T("label"), s = T("div"), c = new nr(!1), d = K(u), y = F(), g = T("small"), C = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4714
|
+
e[66].status === "1", k(r, "id", i = `${/*consent*/
|
|
4715
|
+
e[66].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
|
|
4716
|
+
e[66].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", p = "checkBoxError__" + /*consent*/
|
|
4717
|
+
e[66].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4718
|
+
e[66].tagCode + "__input svelte-etk3ty");
|
|
4710
4719
|
},
|
|
4711
|
-
m(E,
|
|
4712
|
-
|
|
4720
|
+
m(E, j) {
|
|
4721
|
+
z(E, t, j), S(t, r), S(t, o), S(t, a), S(a, s), c.m(l, s), S(s, d), S(t, y), S(t, g), S(t, C), v || (x = Se(r, "input", H), v = !0);
|
|
4713
4722
|
},
|
|
4714
|
-
p(E,
|
|
4715
|
-
e = E,
|
|
4723
|
+
p(E, j) {
|
|
4724
|
+
e = E, j[0] & /*playerConsents*/
|
|
4716
4725
|
512 && n !== (n = /*consent*/
|
|
4717
|
-
e[
|
|
4726
|
+
e[66].status === "1") && (r.checked = n), j[0] & /*playerConsents*/
|
|
4718
4727
|
512 && i !== (i = `${/*consent*/
|
|
4719
|
-
e[
|
|
4728
|
+
e[66].tagCode}__input`) && k(r, "id", i), j[0] & /*playerConsents*/
|
|
4720
4729
|
512 && l !== (l = /*translate*/
|
|
4721
4730
|
e[17](
|
|
4722
4731
|
`${/*consent*/
|
|
4723
|
-
e[
|
|
4732
|
+
e[66].tagCode}__description`,
|
|
4724
4733
|
/*consent*/
|
|
4725
|
-
e[
|
|
4726
|
-
) + "") && c.p(l),
|
|
4734
|
+
e[66].friendlyName
|
|
4735
|
+
) + "") && c.p(l), j[0] & /*playerConsents*/
|
|
4727
4736
|
512 && u !== (u = /*consent*/
|
|
4728
|
-
e[
|
|
4737
|
+
e[66].mustAccept ? " *" : "") && Me(d, u), j[0] & /*playerConsents*/
|
|
4729
4738
|
512 && m !== (m = `${/*consent*/
|
|
4730
|
-
e[
|
|
4739
|
+
e[66].tagCode}__input`) && k(a, "for", m), j[0] & /*playerConsents*/
|
|
4731
4740
|
512 && p !== (p = "checkBoxError__" + /*consent*/
|
|
4732
|
-
e[
|
|
4741
|
+
e[66].tagCode) && k(g, "id", p), j[0] & /*playerConsents*/
|
|
4733
4742
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4734
|
-
e[
|
|
4743
|
+
e[66].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
|
|
4735
4744
|
},
|
|
4736
4745
|
d(E) {
|
|
4737
|
-
E && O(t), v = !1,
|
|
4746
|
+
E && O(t), v = !1, x();
|
|
4738
4747
|
}
|
|
4739
4748
|
};
|
|
4740
4749
|
}
|
|
4741
|
-
function
|
|
4750
|
+
function qt(e) {
|
|
4742
4751
|
let t, r = (
|
|
4743
4752
|
/*$_*/
|
|
4744
4753
|
e[16]("title")
|
|
4745
4754
|
), n, i = (
|
|
4746
4755
|
/*$_*/
|
|
4747
4756
|
e[16]("description")
|
|
4748
|
-
), o = r &&
|
|
4757
|
+
), o = r && Wt(e), a = i && Zt(e);
|
|
4749
4758
|
return {
|
|
4750
4759
|
c() {
|
|
4751
4760
|
t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
|
|
4752
4761
|
},
|
|
4753
4762
|
m(s, c) {
|
|
4754
|
-
|
|
4763
|
+
z(s, t, c), o && o.m(t, null), S(t, n), a && a.m(t, null);
|
|
4755
4764
|
},
|
|
4756
4765
|
p(s, c) {
|
|
4757
4766
|
c[0] & /*$_*/
|
|
4758
4767
|
65536 && (r = /*$_*/
|
|
4759
|
-
s[16]("title")), r ? o ? o.p(s, c) : (o =
|
|
4768
|
+
s[16]("title")), r ? o ? o.p(s, c) : (o = Wt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), c[0] & /*$_*/
|
|
4760
4769
|
65536 && (i = /*$_*/
|
|
4761
|
-
s[16]("description")), i ? a ? a.p(s, c) : (a =
|
|
4770
|
+
s[16]("description")), i ? a ? a.p(s, c) : (a = Zt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4762
4771
|
},
|
|
4763
4772
|
d(s) {
|
|
4764
4773
|
s && O(t), o && o.d(), a && a.d();
|
|
4765
4774
|
}
|
|
4766
4775
|
};
|
|
4767
4776
|
}
|
|
4768
|
-
function
|
|
4777
|
+
function Wt(e) {
|
|
4769
4778
|
let t, r = (
|
|
4770
4779
|
/*$_*/
|
|
4771
4780
|
e[16]("title") + ""
|
|
4772
4781
|
), n;
|
|
4773
4782
|
return {
|
|
4774
4783
|
c() {
|
|
4775
|
-
t = T("h2"), n =
|
|
4784
|
+
t = T("h2"), n = K(r), k(t, "class", "PlayerConsentsTitle");
|
|
4776
4785
|
},
|
|
4777
4786
|
m(i, o) {
|
|
4778
|
-
|
|
4787
|
+
z(i, t, o), S(t, n);
|
|
4779
4788
|
},
|
|
4780
4789
|
p(i, o) {
|
|
4781
4790
|
o[0] & /*$_*/
|
|
4782
4791
|
65536 && r !== (r = /*$_*/
|
|
4783
|
-
i[16]("title") + "") &&
|
|
4792
|
+
i[16]("title") + "") && Me(n, r);
|
|
4784
4793
|
},
|
|
4785
4794
|
d(i) {
|
|
4786
4795
|
i && O(t);
|
|
4787
4796
|
}
|
|
4788
4797
|
};
|
|
4789
4798
|
}
|
|
4790
|
-
function
|
|
4799
|
+
function Zt(e) {
|
|
4791
4800
|
let t, r = (
|
|
4792
4801
|
/*$_*/
|
|
4793
4802
|
e[16]("description") + ""
|
|
4794
4803
|
), n;
|
|
4795
4804
|
return {
|
|
4796
4805
|
c() {
|
|
4797
|
-
t = T("p"), n =
|
|
4806
|
+
t = T("p"), n = K(r), k(t, "class", "PlayerConsentsDescription");
|
|
4798
4807
|
},
|
|
4799
4808
|
m(i, o) {
|
|
4800
|
-
|
|
4809
|
+
z(i, t, o), S(t, n);
|
|
4801
4810
|
},
|
|
4802
4811
|
p(i, o) {
|
|
4803
4812
|
o[0] & /*$_*/
|
|
4804
4813
|
65536 && r !== (r = /*$_*/
|
|
4805
|
-
i[16]("description") + "") &&
|
|
4814
|
+
i[16]("description") + "") && Me(n, r);
|
|
4806
4815
|
},
|
|
4807
4816
|
d(i) {
|
|
4808
4817
|
i && O(t);
|
|
4809
4818
|
}
|
|
4810
4819
|
};
|
|
4811
4820
|
}
|
|
4812
|
-
function
|
|
4821
|
+
function Jt(e) {
|
|
4813
4822
|
let t;
|
|
4814
4823
|
return {
|
|
4815
4824
|
c() {
|
|
4816
4825
|
t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
|
|
4817
4826
|
},
|
|
4818
4827
|
m(r, n) {
|
|
4819
|
-
|
|
4828
|
+
z(r, t, n);
|
|
4820
4829
|
},
|
|
4821
4830
|
d(r) {
|
|
4822
4831
|
r && O(t);
|
|
4823
4832
|
}
|
|
4824
4833
|
};
|
|
4825
4834
|
}
|
|
4826
|
-
function
|
|
4835
|
+
function Qt(e) {
|
|
4827
4836
|
let t, r = (
|
|
4828
4837
|
/*translate*/
|
|
4829
4838
|
e[17](
|
|
4830
4839
|
`${/*consent*/
|
|
4831
|
-
e[
|
|
4840
|
+
e[66].tagCode}__description`,
|
|
4832
4841
|
/*consent*/
|
|
4833
|
-
e[
|
|
4842
|
+
e[66].description
|
|
4834
4843
|
) + ""
|
|
4835
4844
|
);
|
|
4836
4845
|
return {
|
|
@@ -4838,16 +4847,16 @@ function Jt(e) {
|
|
|
4838
4847
|
t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
|
|
4839
4848
|
},
|
|
4840
4849
|
m(n, i) {
|
|
4841
|
-
|
|
4850
|
+
z(n, t, i), t.innerHTML = r;
|
|
4842
4851
|
},
|
|
4843
4852
|
p(n, i) {
|
|
4844
4853
|
i[0] & /*playerConsents, consentsCategories*/
|
|
4845
4854
|
768 && r !== (r = /*translate*/
|
|
4846
4855
|
n[17](
|
|
4847
4856
|
`${/*consent*/
|
|
4848
|
-
n[
|
|
4857
|
+
n[66].tagCode}__description`,
|
|
4849
4858
|
/*consent*/
|
|
4850
|
-
n[
|
|
4859
|
+
n[66].description
|
|
4851
4860
|
) + "") && (t.innerHTML = r);
|
|
4852
4861
|
},
|
|
4853
4862
|
d(n) {
|
|
@@ -4855,91 +4864,91 @@ function Jt(e) {
|
|
|
4855
4864
|
}
|
|
4856
4865
|
};
|
|
4857
4866
|
}
|
|
4858
|
-
function
|
|
4867
|
+
function Yt(e) {
|
|
4859
4868
|
let t, r, n, i, o = (
|
|
4860
4869
|
/*translate*/
|
|
4861
4870
|
e[17](
|
|
4862
4871
|
`${/*consent*/
|
|
4863
|
-
e[
|
|
4872
|
+
e[66].tagCode}__name`,
|
|
4864
4873
|
/*consent*/
|
|
4865
|
-
e[
|
|
4874
|
+
e[66].friendlyName
|
|
4866
4875
|
) + ""
|
|
4867
|
-
), a, s, c, l, u, d, m, y, g, p,
|
|
4876
|
+
), a, s, c, l, u, d, m, y, g, p, C, _ = (
|
|
4868
4877
|
/*consent*/
|
|
4869
|
-
e[
|
|
4878
|
+
e[66].mustAccept === !0 && Jt()
|
|
4870
4879
|
), v = (
|
|
4871
4880
|
/*displayconsentdescription*/
|
|
4872
|
-
e[4] === "true" &&
|
|
4881
|
+
e[4] === "true" && Qt(e)
|
|
4873
4882
|
);
|
|
4874
|
-
function
|
|
4883
|
+
function x(...H) {
|
|
4875
4884
|
return (
|
|
4876
4885
|
/*input_handler*/
|
|
4877
4886
|
e[30](
|
|
4878
4887
|
/*consent*/
|
|
4879
|
-
e[
|
|
4888
|
+
e[66],
|
|
4880
4889
|
...H
|
|
4881
4890
|
)
|
|
4882
4891
|
);
|
|
4883
4892
|
}
|
|
4884
4893
|
return {
|
|
4885
4894
|
c() {
|
|
4886
|
-
t = T("div"), r = T("div"), n = T("h4"), i = new
|
|
4887
|
-
e[
|
|
4895
|
+
t = T("div"), r = T("div"), n = T("h4"), i = new nr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = T("label"), u = T("input"), y = F(), g = T("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
|
|
4896
|
+
e[66].mustAccept === !0 && /*initialConsentsState*/
|
|
4888
4897
|
e[12][
|
|
4889
4898
|
/*consent*/
|
|
4890
|
-
e[
|
|
4899
|
+
e[66].tagCode
|
|
4891
4900
|
] === !0, u.checked = m = /*consentsState*/
|
|
4892
4901
|
e[13][
|
|
4893
4902
|
/*consent*/
|
|
4894
|
-
e[
|
|
4903
|
+
e[66].tagCode
|
|
4895
4904
|
], k(u, "class", "svelte-etk3ty"), k(g, "class", "Slider Round svelte-etk3ty"), k(l, "class", "ToggleSwitch svelte-etk3ty"), k(t, "class", "ConsentItem svelte-etk3ty");
|
|
4896
4905
|
},
|
|
4897
4906
|
m(H, E) {
|
|
4898
|
-
|
|
4907
|
+
z(H, t, E), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), v && v.m(r, null), S(t, c), S(t, l), S(l, u), S(l, y), S(l, g), p || (C = Se(u, "input", x), p = !0);
|
|
4899
4908
|
},
|
|
4900
4909
|
p(H, E) {
|
|
4901
4910
|
e = H, E[0] & /*playerConsents, consentsCategories*/
|
|
4902
4911
|
768 && o !== (o = /*translate*/
|
|
4903
4912
|
e[17](
|
|
4904
4913
|
`${/*consent*/
|
|
4905
|
-
e[
|
|
4914
|
+
e[66].tagCode}__name`,
|
|
4906
4915
|
/*consent*/
|
|
4907
|
-
e[
|
|
4916
|
+
e[66].friendlyName
|
|
4908
4917
|
) + "") && i.p(o), /*consent*/
|
|
4909
|
-
e[
|
|
4910
|
-
e[4] === "true" ? v ? v.p(e, E) : (v =
|
|
4918
|
+
e[66].mustAccept === !0 ? _ || (_ = Jt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
4919
|
+
e[4] === "true" ? v ? v.p(e, E) : (v = Qt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
4911
4920
|
4864 && d !== (d = /*consent*/
|
|
4912
|
-
e[
|
|
4921
|
+
e[66].mustAccept === !0 && /*initialConsentsState*/
|
|
4913
4922
|
e[12][
|
|
4914
4923
|
/*consent*/
|
|
4915
|
-
e[
|
|
4924
|
+
e[66].tagCode
|
|
4916
4925
|
] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
4917
4926
|
8960 && m !== (m = /*consentsState*/
|
|
4918
4927
|
e[13][
|
|
4919
4928
|
/*consent*/
|
|
4920
|
-
e[
|
|
4929
|
+
e[66].tagCode
|
|
4921
4930
|
]) && (u.checked = m);
|
|
4922
4931
|
},
|
|
4923
4932
|
d(H) {
|
|
4924
|
-
H && O(t), _ && _.d(), v && v.d(), p = !1,
|
|
4933
|
+
H && O(t), _ && _.d(), v && v.d(), p = !1, C();
|
|
4925
4934
|
}
|
|
4926
4935
|
};
|
|
4927
4936
|
}
|
|
4928
|
-
function
|
|
4937
|
+
function Kt(e) {
|
|
4929
4938
|
let t, r, n, i = (
|
|
4930
4939
|
/*translate*/
|
|
4931
4940
|
e[17](
|
|
4932
4941
|
`${/*category*/
|
|
4933
|
-
e[
|
|
4942
|
+
e[63].categoryTagCode}__category`,
|
|
4934
4943
|
/*category*/
|
|
4935
|
-
e[
|
|
4944
|
+
e[63].friendlyName
|
|
4936
4945
|
) + ""
|
|
4937
4946
|
), o, a, s, c, l, u, d, m, y;
|
|
4938
4947
|
function g() {
|
|
4939
4948
|
e[27].call(
|
|
4940
4949
|
s,
|
|
4941
4950
|
/*category*/
|
|
4942
|
-
e[
|
|
4951
|
+
e[63]
|
|
4943
4952
|
);
|
|
4944
4953
|
}
|
|
4945
4954
|
function p() {
|
|
@@ -4947,95 +4956,95 @@ function Yt(e) {
|
|
|
4947
4956
|
/*change_handler*/
|
|
4948
4957
|
e[28](
|
|
4949
4958
|
/*category*/
|
|
4950
|
-
e[
|
|
4959
|
+
e[63]
|
|
4951
4960
|
)
|
|
4952
4961
|
);
|
|
4953
4962
|
}
|
|
4954
|
-
function
|
|
4963
|
+
function C(...x) {
|
|
4955
4964
|
return (
|
|
4956
4965
|
/*func*/
|
|
4957
4966
|
e[29](
|
|
4958
4967
|
/*category*/
|
|
4959
|
-
e[
|
|
4960
|
-
...
|
|
4968
|
+
e[63],
|
|
4969
|
+
...x
|
|
4961
4970
|
)
|
|
4962
4971
|
);
|
|
4963
4972
|
}
|
|
4964
4973
|
let _ = le(
|
|
4965
4974
|
/*playerConsents*/
|
|
4966
|
-
e[9].filter(
|
|
4975
|
+
e[9].filter(C)
|
|
4967
4976
|
), v = [];
|
|
4968
|
-
for (let
|
|
4969
|
-
v[
|
|
4977
|
+
for (let x = 0; x < _.length; x += 1)
|
|
4978
|
+
v[x] = Yt(Vt(e, _, x));
|
|
4970
4979
|
return {
|
|
4971
4980
|
c() {
|
|
4972
4981
|
t = T("div"), r = T("div"), n = T("h3"), o = F(), a = T("label"), s = T("input"), c = F(), l = T("span"), u = F(), d = T("div");
|
|
4973
|
-
for (let
|
|
4974
|
-
v[
|
|
4982
|
+
for (let x = 0; x < v.length; x += 1)
|
|
4983
|
+
v[x].c();
|
|
4975
4984
|
k(s, "type", "checkbox"), k(s, "class", "svelte-etk3ty"), k(l, "class", "Slider Round svelte-etk3ty"), k(a, "class", "ToggleSwitch Big svelte-etk3ty"), k(r, "class", "AccordionHeader svelte-etk3ty"), k(d, "class", "AccordionContent svelte-etk3ty"), k(t, "class", "AccordionItem svelte-etk3ty");
|
|
4976
4985
|
},
|
|
4977
|
-
m(
|
|
4978
|
-
|
|
4986
|
+
m(x, H) {
|
|
4987
|
+
z(x, t, H), S(t, r), S(r, n), n.innerHTML = i, S(r, o), S(r, a), S(a, s), s.checked = /*categoryToggle*/
|
|
4979
4988
|
e[11][
|
|
4980
4989
|
/*category*/
|
|
4981
|
-
e[
|
|
4982
|
-
],
|
|
4990
|
+
e[63].categoryTagCode
|
|
4991
|
+
], S(a, c), S(a, l), S(t, u), S(t, d);
|
|
4983
4992
|
for (let E = 0; E < v.length; E += 1)
|
|
4984
4993
|
v[E] && v[E].m(d, null);
|
|
4985
4994
|
m || (y = [
|
|
4986
|
-
|
|
4987
|
-
|
|
4995
|
+
Se(s, "change", g),
|
|
4996
|
+
Se(s, "change", p)
|
|
4988
4997
|
], m = !0);
|
|
4989
4998
|
},
|
|
4990
|
-
p(
|
|
4991
|
-
if (e =
|
|
4999
|
+
p(x, H) {
|
|
5000
|
+
if (e = x, H[0] & /*consentsCategories*/
|
|
4992
5001
|
256 && i !== (i = /*translate*/
|
|
4993
5002
|
e[17](
|
|
4994
5003
|
`${/*category*/
|
|
4995
|
-
e[
|
|
5004
|
+
e[63].categoryTagCode}__category`,
|
|
4996
5005
|
/*category*/
|
|
4997
|
-
e[
|
|
5006
|
+
e[63].friendlyName
|
|
4998
5007
|
) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
|
|
4999
5008
|
2304 && (s.checked = /*categoryToggle*/
|
|
5000
5009
|
e[11][
|
|
5001
5010
|
/*category*/
|
|
5002
|
-
e[
|
|
5011
|
+
e[63].categoryTagCode
|
|
5003
5012
|
]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
|
|
5004
5013
|
1192720) {
|
|
5005
5014
|
_ = le(
|
|
5006
5015
|
/*playerConsents*/
|
|
5007
|
-
e[9].filter(
|
|
5016
|
+
e[9].filter(C)
|
|
5008
5017
|
);
|
|
5009
5018
|
let E;
|
|
5010
5019
|
for (E = 0; E < _.length; E += 1) {
|
|
5011
|
-
const
|
|
5012
|
-
v[E] ? v[E].p(
|
|
5020
|
+
const j = Vt(e, _, E);
|
|
5021
|
+
v[E] ? v[E].p(j, H) : (v[E] = Yt(j), v[E].c(), v[E].m(d, null));
|
|
5013
5022
|
}
|
|
5014
5023
|
for (; E < v.length; E += 1)
|
|
5015
5024
|
v[E].d(1);
|
|
5016
5025
|
v.length = _.length;
|
|
5017
5026
|
}
|
|
5018
5027
|
},
|
|
5019
|
-
d(
|
|
5020
|
-
|
|
5028
|
+
d(x) {
|
|
5029
|
+
x && O(t), bt(v, x), m = !1, me(y);
|
|
5021
5030
|
}
|
|
5022
5031
|
};
|
|
5023
5032
|
}
|
|
5024
|
-
function
|
|
5033
|
+
function er(e) {
|
|
5025
5034
|
let t, r, n, i, o;
|
|
5026
5035
|
return {
|
|
5027
5036
|
c() {
|
|
5028
|
-
t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o =
|
|
5037
|
+
t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = K(
|
|
5029
5038
|
/*errorMessage*/
|
|
5030
5039
|
e[6]
|
|
5031
|
-
),
|
|
5040
|
+
), Y(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
|
|
5032
5041
|
},
|
|
5033
5042
|
m(a, s) {
|
|
5034
|
-
|
|
5043
|
+
z(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
|
|
5035
5044
|
},
|
|
5036
5045
|
p(a, s) {
|
|
5037
5046
|
s[0] & /*errorMessage*/
|
|
5038
|
-
64 &&
|
|
5047
|
+
64 && Me(
|
|
5039
5048
|
o,
|
|
5040
5049
|
/*errorMessage*/
|
|
5041
5050
|
a[6]
|
|
@@ -5046,27 +5055,27 @@ function Kt(e) {
|
|
|
5046
5055
|
}
|
|
5047
5056
|
};
|
|
5048
5057
|
}
|
|
5049
|
-
function
|
|
5058
|
+
function Ho(e) {
|
|
5050
5059
|
let t, r;
|
|
5051
5060
|
function n(a, s) {
|
|
5052
5061
|
if (
|
|
5053
5062
|
/*isLoading*/
|
|
5054
5063
|
a[10]
|
|
5055
5064
|
)
|
|
5056
|
-
return
|
|
5065
|
+
return Ao;
|
|
5057
5066
|
if (
|
|
5058
5067
|
/*fatalError*/
|
|
5059
5068
|
a[7]
|
|
5060
5069
|
)
|
|
5061
|
-
return
|
|
5070
|
+
return No;
|
|
5062
5071
|
if (
|
|
5063
5072
|
/*session*/
|
|
5064
5073
|
a[0]
|
|
5065
5074
|
)
|
|
5066
|
-
return
|
|
5075
|
+
return Mo;
|
|
5067
5076
|
if (!/*session*/
|
|
5068
5077
|
a[0])
|
|
5069
|
-
return
|
|
5078
|
+
return To;
|
|
5070
5079
|
}
|
|
5071
5080
|
let i = n(e), o = i && i(e);
|
|
5072
5081
|
return {
|
|
@@ -5074,7 +5083,7 @@ function No(e) {
|
|
|
5074
5083
|
t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
|
|
5075
5084
|
},
|
|
5076
5085
|
m(a, s) {
|
|
5077
|
-
|
|
5086
|
+
z(a, t, s), S(t, r), o && o.m(r, null), e[33](r);
|
|
5078
5087
|
},
|
|
5079
5088
|
p(a, s) {
|
|
5080
5089
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
@@ -5086,46 +5095,46 @@ function No(e) {
|
|
|
5086
5095
|
}
|
|
5087
5096
|
};
|
|
5088
5097
|
}
|
|
5089
|
-
function
|
|
5098
|
+
function Po(e, t, r) {
|
|
5090
5099
|
let n;
|
|
5091
|
-
|
|
5092
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, p,
|
|
5100
|
+
cn(e, Eo, (h) => r(16, n = h));
|
|
5101
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, p, C, _ = !1, v = !1, x = "", H = "", E = "", j = "", te = [], _e = [], L = [], ye = !0, Ae = !0, V = {}, He = {}, J = {}, D = {}, ve, Pe, R = {
|
|
5093
5102
|
none: { key: "0", value: "None" },
|
|
5094
5103
|
accepted: { key: "1", value: "Accepted" },
|
|
5095
5104
|
expired: { key: "2", value: "Expired" },
|
|
5096
5105
|
denied: { key: "3", value: "Denied" },
|
|
5097
5106
|
suspended: { key: "4", value: "Suspended" }
|
|
5098
|
-
},
|
|
5099
|
-
Object.keys(
|
|
5100
|
-
|
|
5107
|
+
}, Be = !1;
|
|
5108
|
+
Object.keys(Gt).forEach((h) => {
|
|
5109
|
+
ot(h, Gt[h]);
|
|
5101
5110
|
});
|
|
5102
|
-
const
|
|
5103
|
-
|
|
5104
|
-
},
|
|
5111
|
+
const Br = () => {
|
|
5112
|
+
Co(u);
|
|
5113
|
+
}, Or = () => {
|
|
5105
5114
|
let h = new URL(m);
|
|
5106
5115
|
fetch(h.href).then((f) => f.json()).then((f) => {
|
|
5107
5116
|
Object.keys(f).forEach((w) => {
|
|
5108
|
-
|
|
5117
|
+
ot(w, f[w]);
|
|
5109
5118
|
});
|
|
5110
5119
|
}).catch((f) => {
|
|
5111
5120
|
console.log(f);
|
|
5112
5121
|
});
|
|
5113
|
-
},
|
|
5122
|
+
}, zr = (h, f) => {
|
|
5114
5123
|
const w = n(h);
|
|
5115
5124
|
return w !== h ? w : f;
|
|
5116
|
-
},
|
|
5117
|
-
i && (
|
|
5118
|
-
},
|
|
5119
|
-
f ? r(7,
|
|
5120
|
-
},
|
|
5125
|
+
}, jr = () => {
|
|
5126
|
+
i && (x = i, v = !0), o && (H = o);
|
|
5127
|
+
}, Oe = (h, f = !1) => {
|
|
5128
|
+
f ? r(7, j = h) : (Gr(), r(6, E = h));
|
|
5129
|
+
}, be = (h, f, w, b = !1) => re(this, null, function* () {
|
|
5121
5130
|
try {
|
|
5122
5131
|
const M = yield fetch(h, w);
|
|
5123
5132
|
if (!M.ok)
|
|
5124
5133
|
throw new Error(n(f));
|
|
5125
5134
|
const I = yield M.json();
|
|
5126
|
-
return
|
|
5135
|
+
return v ? I : I.filter((q) => q.showOnRegister === !0);
|
|
5127
5136
|
} catch (M) {
|
|
5128
|
-
throw
|
|
5137
|
+
throw Oe(
|
|
5129
5138
|
M instanceof TypeError ? n(f) : M.message,
|
|
5130
5139
|
b
|
|
5131
5140
|
), M;
|
|
@@ -5133,126 +5142,126 @@ function Ao(e, t, r) {
|
|
|
5133
5142
|
}), Lr = () => re(this, null, function* () {
|
|
5134
5143
|
try {
|
|
5135
5144
|
let h = [], f = [];
|
|
5136
|
-
if (
|
|
5137
|
-
let b =
|
|
5138
|
-
b || (b =
|
|
5145
|
+
if (v ? [h, f] = yield Ct() : h = yield Ct(), r(10, ye = !1), _e = [...h], r(8, te = Rr(_e).sort((w, b) => w.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Ur(te)), He = W({}, V), r(9, L = [...f]), _e.forEach((w) => {
|
|
5146
|
+
let b = L.find((M) => M.tagCode === w.tagCode);
|
|
5147
|
+
b || (b = Qe(W({}, w), {
|
|
5139
5148
|
status: R.denied.value
|
|
5140
|
-
}),
|
|
5149
|
+
}), L.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
|
|
5141
5150
|
}), y === "true") {
|
|
5142
|
-
if (r(9,
|
|
5151
|
+
if (r(9, L = L.filter((w) => w.status === R.expired.value)), L.length !== 0)
|
|
5143
5152
|
return;
|
|
5144
|
-
|
|
5153
|
+
Oe(n("wrongModalConfig"), !0);
|
|
5145
5154
|
}
|
|
5146
|
-
|
|
5155
|
+
Dr();
|
|
5147
5156
|
} catch (h) {
|
|
5148
|
-
throw r(10,
|
|
5157
|
+
throw r(10, ye = !1), Oe(
|
|
5149
5158
|
h instanceof TypeError ? n("invalidUrl") : h.message,
|
|
5150
5159
|
!0
|
|
5151
5160
|
), h;
|
|
5152
5161
|
}
|
|
5153
|
-
}),
|
|
5162
|
+
}), Ct = () => re(this, null, function* () {
|
|
5154
5163
|
const h = new URL(`${a}/api/v1/gm/consents`);
|
|
5155
|
-
if (h.searchParams.append("Status", "Active"), !
|
|
5156
|
-
return yield
|
|
5157
|
-
const f = new URL(`${a}/api/v1/gm/user-consents/${
|
|
5164
|
+
if (h.searchParams.append("Status", "Active"), !v)
|
|
5165
|
+
return yield be(h.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
5166
|
+
const f = new URL(`${a}/api/v1/gm/user-consents/${H}`);
|
|
5158
5167
|
return yield Promise.all([
|
|
5159
|
-
|
|
5160
|
-
|
|
5168
|
+
be(h.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
5169
|
+
be(f.href, "fetchPlayerConsentsError", {
|
|
5161
5170
|
method: "GET",
|
|
5162
5171
|
headers: {
|
|
5163
|
-
"X-SessionId":
|
|
5172
|
+
"X-SessionId": x,
|
|
5164
5173
|
"Content-Type": "application/json"
|
|
5165
5174
|
}
|
|
5166
5175
|
})
|
|
5167
5176
|
]);
|
|
5168
|
-
}),
|
|
5169
|
-
|
|
5177
|
+
}), Ir = () => {
|
|
5178
|
+
Be = !1;
|
|
5170
5179
|
const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
|
|
5171
5180
|
"Content-Type": "application/json",
|
|
5172
5181
|
Accept: "application/json"
|
|
5173
5182
|
}, w = { method: "GET", headers: f };
|
|
5174
|
-
fetch(h.href, w).then((b) => b.ok ? b.json() : (
|
|
5175
|
-
if (!
|
|
5176
|
-
if (
|
|
5183
|
+
fetch(h.href, w).then((b) => b.ok ? b.json() : (Be = !0, b.json().then((M) => (console.error(M), ze(M))))).then((b) => {
|
|
5184
|
+
if (!Be) {
|
|
5185
|
+
if (_e = b, localStorage.getItem("playerConsents")) {
|
|
5177
5186
|
try {
|
|
5178
|
-
r(9,
|
|
5187
|
+
r(9, L = JSON.parse(localStorage.getItem("playerConsents")));
|
|
5179
5188
|
} catch (M) {
|
|
5180
|
-
return console.error(M),
|
|
5189
|
+
return console.error(M), ze(M);
|
|
5181
5190
|
}
|
|
5182
5191
|
return;
|
|
5183
5192
|
}
|
|
5184
|
-
return r(9,
|
|
5193
|
+
return r(9, L = _e.map((M) => ({
|
|
5185
5194
|
id: M.id,
|
|
5186
5195
|
status: R.denied.key,
|
|
5187
5196
|
friendlyName: M.friendlyName,
|
|
5188
5197
|
tagCode: M.tagCode,
|
|
5189
5198
|
selected: null,
|
|
5190
5199
|
mustAccept: M.mustAccept
|
|
5191
|
-
}))), localStorage.setItem("playerConsents", JSON.stringify(
|
|
5200
|
+
}))), localStorage.setItem("playerConsents", JSON.stringify(L)), L;
|
|
5192
5201
|
}
|
|
5193
|
-
}).catch((b) => (console.error(b),
|
|
5194
|
-
r(10,
|
|
5202
|
+
}).catch((b) => (console.error(b), ze(b))).finally(() => {
|
|
5203
|
+
r(10, ye = !1);
|
|
5195
5204
|
});
|
|
5196
|
-
},
|
|
5205
|
+
}, Rr = (h) => {
|
|
5197
5206
|
const f = /* @__PURE__ */ new Map();
|
|
5198
5207
|
return h.forEach((w) => {
|
|
5199
5208
|
f.has(w.category.categoryTagCode) || f.set(w.category.categoryTagCode, w.category);
|
|
5200
5209
|
}), Array.from(f.values());
|
|
5201
|
-
},
|
|
5202
|
-
const f = localStorage.getItem("categoryToggle" +
|
|
5210
|
+
}, Ur = (h) => {
|
|
5211
|
+
const f = localStorage.getItem("categoryToggle" + H);
|
|
5203
5212
|
if (f === null) {
|
|
5204
5213
|
const w = h.reduce(
|
|
5205
5214
|
(b, M) => (b[M.categoryTagCode] = !1, b),
|
|
5206
5215
|
{}
|
|
5207
5216
|
);
|
|
5208
|
-
return localStorage.setItem("categoryToggle" +
|
|
5217
|
+
return localStorage.setItem("categoryToggle" + H, JSON.stringify(w)), w;
|
|
5209
5218
|
} else
|
|
5210
5219
|
return JSON.parse(f);
|
|
5211
|
-
}, Ur = () => {
|
|
5212
|
-
j.forEach((h) => {
|
|
5213
|
-
r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
|
|
5214
|
-
}), r(13, D = W({}, Q));
|
|
5215
5220
|
}, Dr = () => {
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5221
|
+
L.forEach((h) => {
|
|
5222
|
+
r(12, J[h.tagCode] = h.status === R.accepted.value, J);
|
|
5223
|
+
}), r(13, D = W({}, J));
|
|
5224
|
+
}, Gr = () => {
|
|
5225
|
+
r(13, D = W({}, J)), r(11, V = W({}, He));
|
|
5226
|
+
}, Fr = () => re(this, null, function* () {
|
|
5227
|
+
if (!Ae)
|
|
5219
5228
|
return;
|
|
5220
|
-
|
|
5229
|
+
Ae = !1;
|
|
5221
5230
|
const h = [], f = [];
|
|
5222
5231
|
if (Object.keys(D).forEach((b) => {
|
|
5223
|
-
const M =
|
|
5224
|
-
D[b] !==
|
|
5232
|
+
const M = L.find((I) => I.tagCode === b);
|
|
5233
|
+
D[b] !== J[b] && (M ? h.push({
|
|
5225
5234
|
tagCode: b,
|
|
5226
5235
|
status: D[b] ? R.accepted.value : R.denied.value
|
|
5227
5236
|
}) : f.push({
|
|
5228
5237
|
tagCode: b,
|
|
5229
5238
|
status: D[b] ? R.accepted.value : R.denied.value
|
|
5230
5239
|
}));
|
|
5231
|
-
}), !
|
|
5232
|
-
localStorage.setItem("categoryToggle" +
|
|
5240
|
+
}), !v) {
|
|
5241
|
+
localStorage.setItem("categoryToggle" + H, JSON.stringify(V)), He = W({}, V), window.postMessage(
|
|
5233
5242
|
{
|
|
5234
5243
|
type: "NewPlayerConsentData",
|
|
5235
5244
|
data: JSON.stringify(f)
|
|
5236
5245
|
},
|
|
5237
5246
|
window.location.href
|
|
5238
|
-
),
|
|
5247
|
+
), Ae = !0;
|
|
5239
5248
|
return;
|
|
5240
5249
|
}
|
|
5241
|
-
const w = new URL(`${a}/api/v1/gm/user-consents/${
|
|
5250
|
+
const w = new URL(`${a}/api/v1/gm/user-consents/${H}`);
|
|
5242
5251
|
try {
|
|
5243
5252
|
const b = yield Promise.allSettled([
|
|
5244
|
-
f.length > 0 &&
|
|
5253
|
+
f.length > 0 && be(w.href, "updateConsentsError", {
|
|
5245
5254
|
method: "POST",
|
|
5246
5255
|
headers: {
|
|
5247
|
-
"X-SessionId":
|
|
5256
|
+
"X-SessionId": x,
|
|
5248
5257
|
"Content-Type": "application/json"
|
|
5249
5258
|
},
|
|
5250
5259
|
body: JSON.stringify({ userConsents: f })
|
|
5251
5260
|
}),
|
|
5252
|
-
h.length > 0 &&
|
|
5261
|
+
h.length > 0 && be(w.href, "updateConsentsError", {
|
|
5253
5262
|
method: "PATCH",
|
|
5254
5263
|
headers: {
|
|
5255
|
-
"X-SessionId":
|
|
5264
|
+
"X-SessionId": x,
|
|
5256
5265
|
"Content-Type": "application/json"
|
|
5257
5266
|
},
|
|
5258
5267
|
body: JSON.stringify({ userConsents: h })
|
|
@@ -5261,17 +5270,17 @@ function Ao(e, t, r) {
|
|
|
5261
5270
|
b.forEach((M, I) => {
|
|
5262
5271
|
if (M.status === "rejected" || M.value.ok === !1) {
|
|
5263
5272
|
const q = I < f.length ? f[I] : h[I - f.length];
|
|
5264
|
-
r(13, D[q.tagCode] =
|
|
5273
|
+
r(13, D[q.tagCode] = J[q.tagCode], D);
|
|
5265
5274
|
}
|
|
5266
|
-
}), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" +
|
|
5275
|
+
}), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + H, JSON.stringify(V)), He = W({}, V), window.postMessage(
|
|
5267
5276
|
{
|
|
5268
5277
|
type: "PlayerConsentUpdated",
|
|
5269
5278
|
success: !0
|
|
5270
5279
|
},
|
|
5271
5280
|
window.location.href
|
|
5272
|
-
), r(12,
|
|
5281
|
+
), r(12, J = W({}, D)));
|
|
5273
5282
|
} catch (b) {
|
|
5274
|
-
|
|
5283
|
+
Oe(b instanceof TypeError ? n("saveChangesError") : b.message), window.postMessage(
|
|
5275
5284
|
{
|
|
5276
5285
|
type: "PlayerConsentUpdated",
|
|
5277
5286
|
success: !1
|
|
@@ -5279,14 +5288,14 @@ function Ao(e, t, r) {
|
|
|
5279
5288
|
window.location.href
|
|
5280
5289
|
);
|
|
5281
5290
|
} finally {
|
|
5282
|
-
|
|
5291
|
+
Ae = !0, r(14, ve = !1);
|
|
5283
5292
|
}
|
|
5284
|
-
}),
|
|
5293
|
+
}), $r = (h) => {
|
|
5285
5294
|
const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
|
|
5286
5295
|
"Content-Type": "application/json",
|
|
5287
5296
|
Accept: "application/json"
|
|
5288
5297
|
}, b = {
|
|
5289
|
-
playerConsents:
|
|
5298
|
+
playerConsents: L,
|
|
5290
5299
|
registrationId: h
|
|
5291
5300
|
}, M = {
|
|
5292
5301
|
method: "POST",
|
|
@@ -5294,30 +5303,30 @@ function Ao(e, t, r) {
|
|
|
5294
5303
|
headers: w
|
|
5295
5304
|
};
|
|
5296
5305
|
fetch(f.href, M).then((I) => {
|
|
5297
|
-
I.ok || (
|
|
5298
|
-
}).catch((I) => (console.error(I),
|
|
5299
|
-
r(10,
|
|
5306
|
+
I.ok || (Be = !0);
|
|
5307
|
+
}).catch((I) => (console.error(I), ze(I))).finally(() => {
|
|
5308
|
+
r(10, ye = !1);
|
|
5300
5309
|
});
|
|
5301
|
-
},
|
|
5302
|
-
|
|
5310
|
+
}, St = (h) => {
|
|
5311
|
+
L.filter((f) => f.category.categoryTagCode === h).forEach((f) => {
|
|
5303
5312
|
f.status = f.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[f.tagCode] = V[h] || !1, D);
|
|
5304
|
-
}), r(14,
|
|
5305
|
-
},
|
|
5306
|
-
const b =
|
|
5313
|
+
}), r(14, ve = xt());
|
|
5314
|
+
}, Ze = (h, f, w) => {
|
|
5315
|
+
const b = L.find((q) => q.id === w), M = f ? "value" : "key";
|
|
5307
5316
|
let I;
|
|
5308
5317
|
if (!f && b.mustAccept) {
|
|
5309
|
-
const q = Array.from(
|
|
5310
|
-
for (const
|
|
5311
|
-
if (I = Array.from(
|
|
5318
|
+
const q = Array.from(Pe.children);
|
|
5319
|
+
for (const ke of q)
|
|
5320
|
+
if (I = Array.from(ke.children).find((tn) => tn.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
|
|
5312
5321
|
break;
|
|
5313
5322
|
}
|
|
5314
5323
|
if (b.status === R.accepted[M] ? (b.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[M], I && (I.innerHTML = "")), f) {
|
|
5315
5324
|
r(13, D[b.tagCode] = !D[b.tagCode], D);
|
|
5316
|
-
const q =
|
|
5325
|
+
const q = L.filter((ke) => ke.category.categoryTagCode === f.categoryTagCode).every((ke) => ke.status !== R.denied.value);
|
|
5317
5326
|
r(11, V[f.categoryTagCode] = q, V);
|
|
5318
5327
|
}
|
|
5319
|
-
|
|
5320
|
-
},
|
|
5328
|
+
Vr();
|
|
5329
|
+
}, Vr = ((h, f) => {
|
|
5321
5330
|
let w;
|
|
5322
5331
|
return function(...b) {
|
|
5323
5332
|
const M = this;
|
|
@@ -5328,9 +5337,9 @@ function Ao(e, t, r) {
|
|
|
5328
5337
|
f
|
|
5329
5338
|
);
|
|
5330
5339
|
};
|
|
5331
|
-
})(() =>
|
|
5332
|
-
r(14,
|
|
5333
|
-
},
|
|
5340
|
+
})(() => Xr(), 500), Xr = () => {
|
|
5341
|
+
r(14, ve = xt()), i || (window.postMessage({ type: "isConsentsValid", isValid: ve }), localStorage.setItem("playerConsents", JSON.stringify(L)));
|
|
5342
|
+
}, xt = () => L.filter((f) => L.some((w) => f.tagCode === w.tagCode && w.mustAccept && (f.status === R.denied.key || f.status === R.denied.value))).length === 0, ze = (h) => {
|
|
5334
5343
|
window.postMessage(
|
|
5335
5344
|
{
|
|
5336
5345
|
type: "WidgetNotification",
|
|
@@ -5338,32 +5347,32 @@ function Ao(e, t, r) {
|
|
|
5338
5347
|
},
|
|
5339
5348
|
window.location.href
|
|
5340
5349
|
);
|
|
5341
|
-
},
|
|
5342
|
-
h.data && h.data.type !== "setUpPlayerConsents" ||
|
|
5350
|
+
}, qr = (h) => {
|
|
5351
|
+
h.data && h.data.type !== "setUpPlayerConsents" || $r(h.data.registerid);
|
|
5343
5352
|
};
|
|
5344
|
-
|
|
5353
|
+
_n(() => {
|
|
5345
5354
|
setTimeout(
|
|
5346
5355
|
() => {
|
|
5347
|
-
r(26,
|
|
5356
|
+
r(26, _ = !0);
|
|
5348
5357
|
},
|
|
5349
5358
|
50
|
|
5350
5359
|
);
|
|
5351
|
-
const h = (f) =>
|
|
5360
|
+
const h = (f) => qr(f);
|
|
5352
5361
|
return window.addEventListener("message", h), () => {
|
|
5353
|
-
window.removeEventListener("message", h);
|
|
5362
|
+
C && C.unsubscribe(), window.removeEventListener("message", h);
|
|
5354
5363
|
};
|
|
5355
5364
|
});
|
|
5356
|
-
function
|
|
5365
|
+
function Wr(h) {
|
|
5357
5366
|
V[h.categoryTagCode] = this.checked, r(11, V);
|
|
5358
5367
|
}
|
|
5359
|
-
const
|
|
5360
|
-
function
|
|
5361
|
-
|
|
5362
|
-
|
|
5368
|
+
const Zr = (h) => St(h.categoryTagCode), Jr = (h, f) => f.category.categoryTagCode === h.categoryTagCode, Qr = (h, f) => Ze(f, h.category, h.id), Yr = (h, f) => Ze(f, null, h.id);
|
|
5369
|
+
function Kr(h) {
|
|
5370
|
+
Ue[h ? "unshift" : "push"](() => {
|
|
5371
|
+
Pe = h, r(15, Pe);
|
|
5363
5372
|
});
|
|
5364
5373
|
}
|
|
5365
|
-
function
|
|
5366
|
-
|
|
5374
|
+
function en(h) {
|
|
5375
|
+
Ue[h ? "unshift" : "push"](() => {
|
|
5367
5376
|
g = h, r(5, g);
|
|
5368
5377
|
});
|
|
5369
5378
|
}
|
|
@@ -5371,13 +5380,14 @@ function Ao(e, t, r) {
|
|
|
5371
5380
|
"session" in h && r(0, i = h.session), "userid" in h && r(21, o = h.userid), "endpoint" in h && r(22, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(23, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(24, m = h.translationurl), "modalconsents" in h && r(25, y = h.modalconsents);
|
|
5372
5381
|
}, e.$$.update = () => {
|
|
5373
5382
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
5374
|
-
67108865 &&
|
|
5375
|
-
1 && (i ||
|
|
5376
|
-
34 && s && g &&
|
|
5377
|
-
36 && c && g &&
|
|
5378
|
-
40 && g &&
|
|
5379
|
-
8388608 && u &&
|
|
5380
|
-
16777216 && m &&
|
|
5383
|
+
67108865 && _ && i && (jr(), Lr()), e.$$.dirty[0] & /*session*/
|
|
5384
|
+
1 && (i || Ir()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5385
|
+
34 && s && g && Nn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5386
|
+
36 && c && g && An(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
5387
|
+
40 && g && Hn(g, `${l}.Style`, p), e.$$.dirty[0] & /*lang*/
|
|
5388
|
+
8388608 && u && Br(), e.$$.dirty[0] & /*translationurl*/
|
|
5389
|
+
16777216 && m && Or(), e.$$.dirty[0] & /*mbsource, translationurl*/
|
|
5390
|
+
16777224 && l && !m && (C = Mn(`${l}.Translation`, void 0, ot, !0));
|
|
5381
5391
|
}, [
|
|
5382
5392
|
i,
|
|
5383
5393
|
s,
|
|
@@ -5385,44 +5395,44 @@ function Ao(e, t, r) {
|
|
|
5385
5395
|
l,
|
|
5386
5396
|
d,
|
|
5387
5397
|
g,
|
|
5388
|
-
H,
|
|
5389
5398
|
E,
|
|
5390
|
-
z,
|
|
5391
5399
|
j,
|
|
5392
|
-
|
|
5400
|
+
te,
|
|
5401
|
+
L,
|
|
5402
|
+
ye,
|
|
5393
5403
|
V,
|
|
5394
|
-
|
|
5404
|
+
J,
|
|
5395
5405
|
D,
|
|
5396
|
-
|
|
5397
|
-
|
|
5406
|
+
ve,
|
|
5407
|
+
Pe,
|
|
5398
5408
|
n,
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5409
|
+
zr,
|
|
5410
|
+
Fr,
|
|
5411
|
+
St,
|
|
5412
|
+
Ze,
|
|
5403
5413
|
o,
|
|
5404
5414
|
a,
|
|
5405
5415
|
u,
|
|
5406
5416
|
m,
|
|
5407
5417
|
y,
|
|
5408
|
-
|
|
5409
|
-
qr,
|
|
5418
|
+
_,
|
|
5410
5419
|
Wr,
|
|
5411
5420
|
Zr,
|
|
5412
5421
|
Jr,
|
|
5413
5422
|
Qr,
|
|
5414
5423
|
Yr,
|
|
5415
|
-
Kr
|
|
5424
|
+
Kr,
|
|
5425
|
+
en
|
|
5416
5426
|
];
|
|
5417
5427
|
}
|
|
5418
|
-
class
|
|
5428
|
+
class Pr extends sr {
|
|
5419
5429
|
constructor(t) {
|
|
5420
|
-
super(),
|
|
5430
|
+
super(), ir(
|
|
5421
5431
|
this,
|
|
5422
5432
|
t,
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5433
|
+
Po,
|
|
5434
|
+
Ho,
|
|
5435
|
+
vt,
|
|
5426
5436
|
{
|
|
5427
5437
|
session: 0,
|
|
5428
5438
|
userid: 21,
|
|
@@ -5435,7 +5445,7 @@ class Hr extends ar {
|
|
|
5435
5445
|
translationurl: 24,
|
|
5436
5446
|
modalconsents: 25
|
|
5437
5447
|
},
|
|
5438
|
-
|
|
5448
|
+
wo,
|
|
5439
5449
|
[-1, -1, -1]
|
|
5440
5450
|
);
|
|
5441
5451
|
}
|
|
@@ -5500,25 +5510,25 @@ class Hr extends ar {
|
|
|
5500
5510
|
this.$$set({ modalconsents: t }), X();
|
|
5501
5511
|
}
|
|
5502
5512
|
}
|
|
5503
|
-
|
|
5504
|
-
const
|
|
5513
|
+
ar(Pr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
5514
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5505
5515
|
__proto__: null,
|
|
5506
|
-
default:
|
|
5516
|
+
default: Pr
|
|
5507
5517
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5508
5518
|
|
|
5509
|
-
exports.P =
|
|
5510
|
-
exports.S =
|
|
5511
|
-
exports.a =
|
|
5512
|
-
exports.b =
|
|
5513
|
-
exports.c =
|
|
5519
|
+
exports.P = jo;
|
|
5520
|
+
exports.S = sr;
|
|
5521
|
+
exports.a = un;
|
|
5522
|
+
exports.b = z;
|
|
5523
|
+
exports.c = Ue;
|
|
5514
5524
|
exports.d = O;
|
|
5515
5525
|
exports.e = T;
|
|
5516
5526
|
exports.f = X;
|
|
5517
|
-
exports.g =
|
|
5518
|
-
exports.h =
|
|
5519
|
-
exports.i =
|
|
5520
|
-
exports.j =
|
|
5521
|
-
exports.k =
|
|
5527
|
+
exports.g = Nn;
|
|
5528
|
+
exports.h = An;
|
|
5529
|
+
exports.i = ir;
|
|
5530
|
+
exports.j = Hn;
|
|
5531
|
+
exports.k = ar;
|
|
5522
5532
|
exports.n = $;
|
|
5523
|
-
exports.o =
|
|
5524
|
-
exports.s =
|
|
5533
|
+
exports.o = _n;
|
|
5534
|
+
exports.s = vt;
|