@everymatrix/general-registration 1.90.25 → 1.90.27
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/{PlayerConsents-Duni8Aqx-1d0f4f21.js → PlayerConsents-uUnB_ySd-c7d5a465.js} +1360 -1226
- package/dist/cjs/checkbox-group-input_15.cjs.entry.js +268 -258
- package/dist/cjs/general-registration.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/general-registration/general-registration.js +32 -4
- package/dist/esm/{PlayerConsents-Duni8Aqx-dd7cf325.js → PlayerConsents-uUnB_ySd-8a92900a.js} +1360 -1211
- package/dist/esm/checkbox-group-input_15.entry.js +268 -258
- package/dist/esm/general-registration.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/general-registration/PlayerConsents-uUnB_ySd-8a92900a.js +1 -0
- package/dist/general-registration/checkbox-group-input_15.entry.js +4 -4
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/general-registration/general-registration.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/cjs/GeneralAnimationLoading-lTLzF5jR-8645dd28.js +0 -86
- package/dist/esm/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +0 -84
- package/dist/general-registration/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +0 -1
- package/dist/general-registration/PlayerConsents-Duni8Aqx-dd7cf325.js +0 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
package/dist/cjs/{PlayerConsents-Duni8Aqx-1d0f4f21.js → PlayerConsents-uUnB_ySd-c7d5a465.js}
RENAMED
|
@@ -1,77 +1,80 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
if (
|
|
11
|
-
for (var
|
|
12
|
-
|
|
3
|
+
var V = Object.defineProperty, q$1 = Object.defineProperties;
|
|
4
|
+
var K = Object.getOwnPropertyDescriptors;
|
|
5
|
+
var M = Object.getOwnPropertySymbols;
|
|
6
|
+
var W = Object.prototype.hasOwnProperty, Y$1 = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var L = (e, t, n) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P$1 = (e, t) => {
|
|
8
|
+
for (var n in t || (t = {}))
|
|
9
|
+
W.call(t, n) && L(e, n, t[n]);
|
|
10
|
+
if (M)
|
|
11
|
+
for (var n of M(t))
|
|
12
|
+
Y$1.call(t, n) && L(e, n, t[n]);
|
|
13
13
|
return e;
|
|
14
|
-
},
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
14
|
+
}, B$1 = (e, t) => q$1(e, K(t));
|
|
15
|
+
var f = (e, t, n) => (L(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
16
|
+
var H = (e, t, n) => new Promise((s, c) => {
|
|
17
|
+
var i = (u) => {
|
|
18
18
|
try {
|
|
19
|
-
|
|
20
|
-
} catch (
|
|
21
|
-
|
|
19
|
+
l(n.next(u));
|
|
20
|
+
} catch (o) {
|
|
21
|
+
c(o);
|
|
22
22
|
}
|
|
23
|
-
},
|
|
23
|
+
}, r = (u) => {
|
|
24
24
|
try {
|
|
25
|
-
|
|
26
|
-
} catch (
|
|
27
|
-
|
|
25
|
+
l(n.throw(u));
|
|
26
|
+
} catch (o) {
|
|
27
|
+
c(o);
|
|
28
28
|
}
|
|
29
|
-
},
|
|
30
|
-
|
|
29
|
+
}, l = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, r);
|
|
30
|
+
l((n = n.apply(e, t)).next());
|
|
31
31
|
});
|
|
32
|
-
function
|
|
32
|
+
function h() {
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function G(e) {
|
|
35
35
|
return e();
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function R() {
|
|
38
38
|
return /* @__PURE__ */ Object.create(null);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
e.forEach(
|
|
40
|
+
function S(e) {
|
|
41
|
+
e.forEach(G);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function U(e) {
|
|
44
44
|
return typeof e == "function";
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Q(e, t) {
|
|
47
47
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function X(e) {
|
|
50
50
|
return Object.keys(e).length === 0;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Z$1(e, ...t) {
|
|
53
53
|
if (e == null) {
|
|
54
|
-
for (const
|
|
55
|
-
|
|
56
|
-
return
|
|
54
|
+
for (const s of t)
|
|
55
|
+
s(void 0);
|
|
56
|
+
return h;
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
return
|
|
58
|
+
const n = e.subscribe(...t);
|
|
59
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
e.$$.on_destroy.push(
|
|
61
|
+
function jt$1(e, t, n) {
|
|
62
|
+
e.$$.on_destroy.push(Z$1(t, n));
|
|
63
|
+
}
|
|
64
|
+
function kt$1(e) {
|
|
65
|
+
return e;
|
|
63
66
|
}
|
|
64
|
-
function
|
|
67
|
+
function tt(e, t) {
|
|
65
68
|
e.appendChild(t);
|
|
66
69
|
}
|
|
67
|
-
function
|
|
68
|
-
const
|
|
69
|
-
if (!
|
|
70
|
-
const
|
|
71
|
-
|
|
70
|
+
function et(e, t, n) {
|
|
71
|
+
const s = nt$1(e);
|
|
72
|
+
if (!s.getElementById(t)) {
|
|
73
|
+
const c = E("style");
|
|
74
|
+
c.id = t, c.textContent = n, st$1(s, c);
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
|
-
function
|
|
77
|
+
function nt$1(e) {
|
|
75
78
|
if (!e)
|
|
76
79
|
return document;
|
|
77
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,70 +84,70 @@ function un(e) {
|
|
|
81
84
|
t
|
|
82
85
|
) : e.ownerDocument;
|
|
83
86
|
}
|
|
84
|
-
function
|
|
85
|
-
return
|
|
87
|
+
function st$1(e, t) {
|
|
88
|
+
return tt(
|
|
86
89
|
/** @type {Document} */
|
|
87
90
|
e.head || e,
|
|
88
91
|
t
|
|
89
92
|
), t.sheet;
|
|
90
93
|
}
|
|
91
|
-
function
|
|
92
|
-
e.insertBefore(t,
|
|
94
|
+
function N$1(e, t, n) {
|
|
95
|
+
e.insertBefore(t, n || null);
|
|
93
96
|
}
|
|
94
|
-
function
|
|
97
|
+
function x(e) {
|
|
95
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
99
|
}
|
|
97
|
-
function
|
|
98
|
-
for (let
|
|
99
|
-
e[
|
|
100
|
+
function Ot$1(e, t) {
|
|
101
|
+
for (let n = 0; n < e.length; n += 1)
|
|
102
|
+
e[n] && e[n].d(t);
|
|
100
103
|
}
|
|
101
|
-
function
|
|
104
|
+
function E(e) {
|
|
102
105
|
return document.createElement(e);
|
|
103
106
|
}
|
|
104
107
|
function it(e) {
|
|
105
108
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
106
109
|
}
|
|
107
|
-
function
|
|
110
|
+
function z(e) {
|
|
108
111
|
return document.createTextNode(e);
|
|
109
112
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
113
|
+
function Mt$1() {
|
|
114
|
+
return z(" ");
|
|
112
115
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
116
|
+
function Pt$1() {
|
|
117
|
+
return z("");
|
|
115
118
|
}
|
|
116
|
-
function
|
|
117
|
-
return e.addEventListener(t,
|
|
119
|
+
function Bt$1(e, t, n, s) {
|
|
120
|
+
return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
|
|
118
121
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
122
|
+
function I(e, t, n) {
|
|
123
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
121
124
|
}
|
|
122
|
-
function
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
+
function Ht$1(e, t, n) {
|
|
126
|
+
const s = t.toLowerCase();
|
|
127
|
+
s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : I(e, t, n);
|
|
125
128
|
}
|
|
126
|
-
function
|
|
129
|
+
function ct$1(e) {
|
|
127
130
|
return Array.from(e.childNodes);
|
|
128
131
|
}
|
|
129
|
-
function
|
|
132
|
+
function Rt(e, t) {
|
|
130
133
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
131
134
|
t);
|
|
132
135
|
}
|
|
133
|
-
class
|
|
136
|
+
class Dt {
|
|
134
137
|
constructor(t = !1) {
|
|
135
138
|
/**
|
|
136
139
|
* @private
|
|
137
140
|
* @default false
|
|
138
141
|
*/
|
|
139
|
-
|
|
142
|
+
f(this, "is_svg", !1);
|
|
140
143
|
/** parent for creating node */
|
|
141
|
-
|
|
144
|
+
f(this, "e");
|
|
142
145
|
/** html tag nodes */
|
|
143
|
-
|
|
146
|
+
f(this, "n");
|
|
144
147
|
/** target */
|
|
145
|
-
|
|
148
|
+
f(this, "t");
|
|
146
149
|
/** anchor */
|
|
147
|
-
|
|
150
|
+
f(this, "a");
|
|
148
151
|
this.is_svg = t, this.e = this.n = null;
|
|
149
152
|
}
|
|
150
153
|
/**
|
|
@@ -160,17 +163,17 @@ class rr {
|
|
|
160
163
|
* @param {HTMLElement | SVGElement} anchor
|
|
161
164
|
* @returns {void}
|
|
162
165
|
*/
|
|
163
|
-
m(t,
|
|
166
|
+
m(t, n, s = null) {
|
|
164
167
|
this.e || (this.is_svg ? this.e = it(
|
|
165
168
|
/** @type {keyof SVGElementTagNameMap} */
|
|
166
|
-
|
|
167
|
-
) : this.e =
|
|
169
|
+
n.nodeName
|
|
170
|
+
) : this.e = E(
|
|
168
171
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
169
|
-
|
|
170
|
-
), this.t =
|
|
172
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
173
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
171
174
|
/** @type {HTMLTemplateElement} */
|
|
172
|
-
|
|
173
|
-
), this.c(t)), this.i(
|
|
175
|
+
n.content
|
|
176
|
+
), this.c(t)), this.i(s);
|
|
174
177
|
}
|
|
175
178
|
/**
|
|
176
179
|
* @param {string} html
|
|
@@ -184,8 +187,8 @@ class rr {
|
|
|
184
187
|
/**
|
|
185
188
|
* @returns {void} */
|
|
186
189
|
i(t) {
|
|
187
|
-
for (let
|
|
188
|
-
|
|
190
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
191
|
+
N$1(this.t, this.n[n], t);
|
|
189
192
|
}
|
|
190
193
|
/**
|
|
191
194
|
* @param {string} html
|
|
@@ -197,237 +200,237 @@ class rr {
|
|
|
197
200
|
/**
|
|
198
201
|
* @returns {void} */
|
|
199
202
|
d() {
|
|
200
|
-
this.n.forEach(
|
|
203
|
+
this.n.forEach(x);
|
|
201
204
|
}
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function rt$1(e) {
|
|
204
207
|
const t = {};
|
|
205
208
|
return e.childNodes.forEach(
|
|
206
209
|
/** @param {Element} node */
|
|
207
|
-
(
|
|
208
|
-
t[
|
|
210
|
+
(n) => {
|
|
211
|
+
t[n.slot || "default"] = !0;
|
|
209
212
|
}
|
|
210
213
|
), t;
|
|
211
214
|
}
|
|
212
|
-
let
|
|
213
|
-
function
|
|
214
|
-
|
|
215
|
+
let g;
|
|
216
|
+
function p(e) {
|
|
217
|
+
g = e;
|
|
215
218
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!
|
|
219
|
+
function ot() {
|
|
220
|
+
if (!g)
|
|
218
221
|
throw new Error("Function called outside component initialization");
|
|
219
|
-
return
|
|
222
|
+
return g;
|
|
220
223
|
}
|
|
221
|
-
function
|
|
222
|
-
|
|
224
|
+
function lt$1(e) {
|
|
225
|
+
ot().$$.on_mount.push(e);
|
|
223
226
|
}
|
|
224
|
-
const
|
|
225
|
-
let
|
|
226
|
-
const
|
|
227
|
-
let
|
|
228
|
-
function
|
|
229
|
-
|
|
227
|
+
const $$1 = [], v = [];
|
|
228
|
+
let _ = [];
|
|
229
|
+
const D$1 = [], ut = /* @__PURE__ */ Promise.resolve();
|
|
230
|
+
let A = !1;
|
|
231
|
+
function ft$1() {
|
|
232
|
+
A || (A = !0, ut.then(b));
|
|
230
233
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
234
|
+
function T(e) {
|
|
235
|
+
_.push(e);
|
|
233
236
|
}
|
|
234
|
-
const
|
|
235
|
-
let
|
|
236
|
-
function
|
|
237
|
-
if (
|
|
237
|
+
const C = /* @__PURE__ */ new Set();
|
|
238
|
+
let a = 0;
|
|
239
|
+
function b() {
|
|
240
|
+
if (a !== 0)
|
|
238
241
|
return;
|
|
239
|
-
const e =
|
|
242
|
+
const e = g;
|
|
240
243
|
do {
|
|
241
244
|
try {
|
|
242
|
-
for (;
|
|
243
|
-
const t =
|
|
244
|
-
|
|
245
|
+
for (; a < $$1.length; ) {
|
|
246
|
+
const t = $$1[a];
|
|
247
|
+
a++, p(t), dt$1(t.$$);
|
|
245
248
|
}
|
|
246
249
|
} catch (t) {
|
|
247
|
-
throw
|
|
250
|
+
throw $$1.length = 0, a = 0, t;
|
|
248
251
|
}
|
|
249
|
-
for (
|
|
250
|
-
|
|
251
|
-
for (let t = 0; t <
|
|
252
|
-
const
|
|
253
|
-
|
|
252
|
+
for (p(null), $$1.length = 0, a = 0; v.length; )
|
|
253
|
+
v.pop()();
|
|
254
|
+
for (let t = 0; t < _.length; t += 1) {
|
|
255
|
+
const n = _[t];
|
|
256
|
+
C.has(n) || (C.add(n), n());
|
|
254
257
|
}
|
|
255
|
-
|
|
256
|
-
} while (
|
|
257
|
-
for (;
|
|
258
|
-
|
|
259
|
-
|
|
258
|
+
_.length = 0;
|
|
259
|
+
} while ($$1.length);
|
|
260
|
+
for (; D$1.length; )
|
|
261
|
+
D$1.pop()();
|
|
262
|
+
A = !1, C.clear(), p(e);
|
|
260
263
|
}
|
|
261
|
-
function
|
|
264
|
+
function dt$1(e) {
|
|
262
265
|
if (e.fragment !== null) {
|
|
263
|
-
e.update(),
|
|
266
|
+
e.update(), S(e.before_update);
|
|
264
267
|
const t = e.dirty;
|
|
265
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
268
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(T);
|
|
266
269
|
}
|
|
267
270
|
}
|
|
268
|
-
function
|
|
269
|
-
const t = [],
|
|
270
|
-
|
|
271
|
+
function ht(e) {
|
|
272
|
+
const t = [], n = [];
|
|
273
|
+
_.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), _ = t;
|
|
271
274
|
}
|
|
272
|
-
const
|
|
273
|
-
function
|
|
274
|
-
e && e.i && (
|
|
275
|
+
const at = /* @__PURE__ */ new Set();
|
|
276
|
+
function $t$1(e, t) {
|
|
277
|
+
e && e.i && (at.delete(e), e.i(t));
|
|
275
278
|
}
|
|
276
|
-
function
|
|
279
|
+
function Gt(e) {
|
|
277
280
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
278
281
|
}
|
|
279
|
-
function
|
|
280
|
-
const { fragment:
|
|
281
|
-
|
|
282
|
-
const
|
|
283
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
284
|
-
}),
|
|
282
|
+
function mt$1(e, t, n) {
|
|
283
|
+
const { fragment: s, after_update: c } = e.$$;
|
|
284
|
+
s && s.m(t, n), T(() => {
|
|
285
|
+
const i = e.$$.on_mount.map(G).filter(U);
|
|
286
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : S(i), e.$$.on_mount = [];
|
|
287
|
+
}), c.forEach(T);
|
|
285
288
|
}
|
|
286
|
-
function
|
|
287
|
-
const
|
|
288
|
-
|
|
289
|
+
function _t$1(e, t) {
|
|
290
|
+
const n = e.$$;
|
|
291
|
+
n.fragment !== null && (ht(n.after_update), S(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
289
292
|
}
|
|
290
|
-
function
|
|
291
|
-
e.$$.dirty[0] === -1 && (
|
|
293
|
+
function pt$1(e, t) {
|
|
294
|
+
e.$$.dirty[0] === -1 && ($$1.push(e), ft$1(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
292
295
|
}
|
|
293
|
-
function
|
|
294
|
-
const
|
|
295
|
-
|
|
296
|
-
const
|
|
296
|
+
function bt$1(e, t, n, s, c, i, r = null, l = [-1]) {
|
|
297
|
+
const u = g;
|
|
298
|
+
p(e);
|
|
299
|
+
const o = e.$$ = {
|
|
297
300
|
fragment: null,
|
|
298
301
|
ctx: [],
|
|
299
302
|
// state
|
|
300
|
-
props:
|
|
301
|
-
update:
|
|
302
|
-
not_equal:
|
|
303
|
-
bound:
|
|
303
|
+
props: i,
|
|
304
|
+
update: h,
|
|
305
|
+
not_equal: c,
|
|
306
|
+
bound: R(),
|
|
304
307
|
// lifecycle
|
|
305
308
|
on_mount: [],
|
|
306
309
|
on_destroy: [],
|
|
307
310
|
on_disconnect: [],
|
|
308
311
|
before_update: [],
|
|
309
312
|
after_update: [],
|
|
310
|
-
context: new Map(t.context || (
|
|
313
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
311
314
|
// everything else
|
|
312
|
-
callbacks:
|
|
313
|
-
dirty:
|
|
315
|
+
callbacks: R(),
|
|
316
|
+
dirty: l,
|
|
314
317
|
skip_bound: !1,
|
|
315
|
-
root: t.target ||
|
|
318
|
+
root: t.target || u.$$.root
|
|
316
319
|
};
|
|
317
|
-
|
|
318
|
-
let
|
|
319
|
-
if (
|
|
320
|
-
const
|
|
321
|
-
return
|
|
322
|
-
}) : [],
|
|
320
|
+
r && r(o.root);
|
|
321
|
+
let y = !1;
|
|
322
|
+
if (o.ctx = n ? n(e, t.props || {}, (d, j, ...k) => {
|
|
323
|
+
const O = k.length ? k[0] : j;
|
|
324
|
+
return o.ctx && c(o.ctx[d], o.ctx[d] = O) && (!o.skip_bound && o.bound[d] && o.bound[d](O), y && pt$1(e, d)), j;
|
|
325
|
+
}) : [], o.update(), y = !0, S(o.before_update), o.fragment = s ? s(o.ctx) : !1, t.target) {
|
|
323
326
|
if (t.hydrate) {
|
|
324
|
-
const d =
|
|
325
|
-
|
|
327
|
+
const d = ct$1(t.target);
|
|
328
|
+
o.fragment && o.fragment.l(d), d.forEach(x);
|
|
326
329
|
} else
|
|
327
|
-
|
|
328
|
-
t.intro &&
|
|
330
|
+
o.fragment && o.fragment.c();
|
|
331
|
+
t.intro && $t$1(e.$$.fragment), mt$1(e, t.target, t.anchor), b();
|
|
329
332
|
}
|
|
330
|
-
|
|
333
|
+
p(u);
|
|
331
334
|
}
|
|
332
|
-
let
|
|
333
|
-
typeof HTMLElement == "function" && (
|
|
334
|
-
constructor(t,
|
|
335
|
+
let F;
|
|
336
|
+
typeof HTMLElement == "function" && (F = class extends HTMLElement {
|
|
337
|
+
constructor(t, n, s) {
|
|
335
338
|
super();
|
|
336
339
|
/** The Svelte component constructor */
|
|
337
|
-
|
|
340
|
+
f(this, "$$ctor");
|
|
338
341
|
/** Slots */
|
|
339
|
-
|
|
342
|
+
f(this, "$$s");
|
|
340
343
|
/** The Svelte component instance */
|
|
341
|
-
|
|
344
|
+
f(this, "$$c");
|
|
342
345
|
/** Whether or not the custom element is connected */
|
|
343
|
-
|
|
346
|
+
f(this, "$$cn", !1);
|
|
344
347
|
/** Component props data */
|
|
345
|
-
|
|
348
|
+
f(this, "$$d", {});
|
|
346
349
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
347
|
-
|
|
350
|
+
f(this, "$$r", !1);
|
|
348
351
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
349
|
-
|
|
352
|
+
f(this, "$$p_d", {});
|
|
350
353
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
351
|
-
|
|
354
|
+
f(this, "$$l", {});
|
|
352
355
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
353
|
-
|
|
354
|
-
this.$$ctor = t, this.$$s =
|
|
356
|
+
f(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
357
|
+
this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
|
|
355
358
|
}
|
|
356
|
-
addEventListener(t,
|
|
357
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
358
|
-
const
|
|
359
|
-
this.$$l_u.set(
|
|
359
|
+
addEventListener(t, n, s) {
|
|
360
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
361
|
+
const c = this.$$c.$on(t, n);
|
|
362
|
+
this.$$l_u.set(n, c);
|
|
360
363
|
}
|
|
361
|
-
super.addEventListener(t,
|
|
364
|
+
super.addEventListener(t, n, s);
|
|
362
365
|
}
|
|
363
|
-
removeEventListener(t,
|
|
364
|
-
if (super.removeEventListener(t,
|
|
365
|
-
const
|
|
366
|
-
|
|
366
|
+
removeEventListener(t, n, s) {
|
|
367
|
+
if (super.removeEventListener(t, n, s), this.$$c) {
|
|
368
|
+
const c = this.$$l_u.get(n);
|
|
369
|
+
c && (c(), this.$$l_u.delete(n));
|
|
367
370
|
}
|
|
368
371
|
}
|
|
369
372
|
connectedCallback() {
|
|
370
|
-
return
|
|
373
|
+
return H(this, null, function* () {
|
|
371
374
|
if (this.$$cn = !0, !this.$$c) {
|
|
372
|
-
let t = function(
|
|
375
|
+
let t = function(i) {
|
|
373
376
|
return () => {
|
|
374
|
-
let
|
|
377
|
+
let r;
|
|
375
378
|
return {
|
|
376
379
|
c: function() {
|
|
377
|
-
|
|
380
|
+
r = E("slot"), i !== "default" && I(r, "name", i);
|
|
378
381
|
},
|
|
379
382
|
/**
|
|
380
383
|
* @param {HTMLElement} target
|
|
381
384
|
* @param {HTMLElement} [anchor]
|
|
382
385
|
*/
|
|
383
|
-
m: function(
|
|
384
|
-
|
|
386
|
+
m: function(o, y) {
|
|
387
|
+
N$1(o, r, y);
|
|
385
388
|
},
|
|
386
|
-
d: function(
|
|
387
|
-
|
|
389
|
+
d: function(o) {
|
|
390
|
+
o && x(r);
|
|
388
391
|
}
|
|
389
392
|
};
|
|
390
393
|
};
|
|
391
394
|
};
|
|
392
395
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
393
396
|
return;
|
|
394
|
-
const
|
|
395
|
-
for (const
|
|
396
|
-
|
|
397
|
-
for (const
|
|
398
|
-
const
|
|
399
|
-
|
|
397
|
+
const n = {}, s = rt$1(this);
|
|
398
|
+
for (const i of this.$$s)
|
|
399
|
+
i in s && (n[i] = [t(i)]);
|
|
400
|
+
for (const i of this.attributes) {
|
|
401
|
+
const r = this.$$g_p(i.name);
|
|
402
|
+
r in this.$$d || (this.$$d[r] = w$1(r, i.value, this.$$p_d, "toProp"));
|
|
400
403
|
}
|
|
401
|
-
for (const
|
|
402
|
-
!(
|
|
404
|
+
for (const i in this.$$p_d)
|
|
405
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
403
406
|
this.$$c = new this.$$ctor({
|
|
404
407
|
target: this.shadowRoot || this,
|
|
405
|
-
props:
|
|
406
|
-
$$slots:
|
|
408
|
+
props: B$1(P$1({}, this.$$d), {
|
|
409
|
+
$$slots: n,
|
|
407
410
|
$$scope: {
|
|
408
411
|
ctx: []
|
|
409
412
|
}
|
|
410
413
|
})
|
|
411
414
|
});
|
|
412
|
-
const
|
|
415
|
+
const c = () => {
|
|
413
416
|
this.$$r = !0;
|
|
414
|
-
for (const
|
|
415
|
-
if (this.$$d[
|
|
416
|
-
const
|
|
417
|
-
|
|
418
|
-
this.$$d[
|
|
417
|
+
for (const i in this.$$p_d)
|
|
418
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
419
|
+
const r = w$1(
|
|
420
|
+
i,
|
|
421
|
+
this.$$d[i],
|
|
419
422
|
this.$$p_d,
|
|
420
423
|
"toAttribute"
|
|
421
424
|
);
|
|
422
|
-
|
|
425
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
423
426
|
}
|
|
424
427
|
this.$$r = !1;
|
|
425
428
|
};
|
|
426
|
-
this.$$c.$$.after_update.push(
|
|
427
|
-
for (const
|
|
428
|
-
for (const
|
|
429
|
-
const
|
|
430
|
-
this.$$l_u.set(
|
|
429
|
+
this.$$c.$$.after_update.push(c), c();
|
|
430
|
+
for (const i in this.$$l)
|
|
431
|
+
for (const r of this.$$l[i]) {
|
|
432
|
+
const l = this.$$c.$on(i, r);
|
|
433
|
+
this.$$l_u.set(r, l);
|
|
431
434
|
}
|
|
432
435
|
this.$$l = {};
|
|
433
436
|
}
|
|
@@ -435,9 +438,9 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
435
438
|
}
|
|
436
439
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
437
440
|
// and setting attributes through setAttribute etc, this is helpful
|
|
438
|
-
attributeChangedCallback(t,
|
|
439
|
-
var
|
|
440
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
441
|
+
attributeChangedCallback(t, n, s) {
|
|
442
|
+
var c;
|
|
443
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = w$1(t, s, this.$$p_d, "toProp"), (c = this.$$c) == null || c.$set({ [t]: this.$$d[t] }));
|
|
441
444
|
}
|
|
442
445
|
disconnectedCallback() {
|
|
443
446
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -446,17 +449,17 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
446
449
|
}
|
|
447
450
|
$$g_p(t) {
|
|
448
451
|
return Object.keys(this.$$p_d).find(
|
|
449
|
-
(
|
|
452
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
|
450
453
|
) || t;
|
|
451
454
|
}
|
|
452
455
|
});
|
|
453
|
-
function
|
|
454
|
-
var
|
|
455
|
-
const
|
|
456
|
-
if (t =
|
|
456
|
+
function w$1(e, t, n, s) {
|
|
457
|
+
var i;
|
|
458
|
+
const c = (i = n[e]) == null ? void 0 : i.type;
|
|
459
|
+
if (t = c === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
|
|
457
460
|
return t;
|
|
458
|
-
if (
|
|
459
|
-
switch (
|
|
461
|
+
if (s === "toAttribute")
|
|
462
|
+
switch (c) {
|
|
460
463
|
case "Object":
|
|
461
464
|
case "Array":
|
|
462
465
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -468,7 +471,7 @@ function Le(e, t, r, n) {
|
|
|
468
471
|
return t;
|
|
469
472
|
}
|
|
470
473
|
else
|
|
471
|
-
switch (
|
|
474
|
+
switch (c) {
|
|
472
475
|
case "Object":
|
|
473
476
|
case "Array":
|
|
474
477
|
return t && JSON.parse(t);
|
|
@@ -480,38 +483,38 @@ function Le(e, t, r, n) {
|
|
|
480
483
|
return t;
|
|
481
484
|
}
|
|
482
485
|
}
|
|
483
|
-
function
|
|
484
|
-
let
|
|
486
|
+
function gt$1(e, t, n, s, c, i) {
|
|
487
|
+
let r = class extends F {
|
|
485
488
|
constructor() {
|
|
486
|
-
super(e,
|
|
489
|
+
super(e, n, c), this.$$p_d = t;
|
|
487
490
|
}
|
|
488
491
|
static get observedAttributes() {
|
|
489
492
|
return Object.keys(t).map(
|
|
490
|
-
(
|
|
493
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
491
494
|
);
|
|
492
495
|
}
|
|
493
496
|
};
|
|
494
|
-
return Object.keys(t).forEach((
|
|
495
|
-
Object.defineProperty(
|
|
497
|
+
return Object.keys(t).forEach((l) => {
|
|
498
|
+
Object.defineProperty(r.prototype, l, {
|
|
496
499
|
get() {
|
|
497
|
-
return this.$$c &&
|
|
500
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
498
501
|
},
|
|
499
|
-
set(
|
|
500
|
-
var
|
|
501
|
-
|
|
502
|
+
set(u) {
|
|
503
|
+
var o;
|
|
504
|
+
u = w$1(l, u, t), this.$$d[l] = u, (o = this.$$c) == null || o.$set({ [l]: u });
|
|
502
505
|
}
|
|
503
506
|
});
|
|
504
|
-
}),
|
|
505
|
-
Object.defineProperty(
|
|
507
|
+
}), s.forEach((l) => {
|
|
508
|
+
Object.defineProperty(r.prototype, l, {
|
|
506
509
|
get() {
|
|
507
|
-
var
|
|
508
|
-
return (
|
|
510
|
+
var u;
|
|
511
|
+
return (u = this.$$c) == null ? void 0 : u[l];
|
|
509
512
|
}
|
|
510
513
|
});
|
|
511
514
|
}), e.element = /** @type {any} */
|
|
512
|
-
|
|
515
|
+
r, r;
|
|
513
516
|
}
|
|
514
|
-
class
|
|
517
|
+
class yt$1 {
|
|
515
518
|
constructor() {
|
|
516
519
|
/**
|
|
517
520
|
* ### PRIVATE API
|
|
@@ -520,7 +523,7 @@ class ar {
|
|
|
520
523
|
*
|
|
521
524
|
* @type {any}
|
|
522
525
|
*/
|
|
523
|
-
|
|
526
|
+
f(this, "$$");
|
|
524
527
|
/**
|
|
525
528
|
* ### PRIVATE API
|
|
526
529
|
*
|
|
@@ -528,11 +531,11 @@ class ar {
|
|
|
528
531
|
*
|
|
529
532
|
* @type {any}
|
|
530
533
|
*/
|
|
531
|
-
|
|
534
|
+
f(this, "$$set");
|
|
532
535
|
}
|
|
533
536
|
/** @returns {void} */
|
|
534
537
|
$destroy() {
|
|
535
|
-
|
|
538
|
+
_t$1(this, 1), this.$destroy = h;
|
|
536
539
|
}
|
|
537
540
|
/**
|
|
538
541
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -540,13 +543,13 @@ class ar {
|
|
|
540
543
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
541
544
|
* @returns {() => void}
|
|
542
545
|
*/
|
|
543
|
-
$on(t,
|
|
544
|
-
if (!
|
|
545
|
-
return
|
|
546
|
-
const
|
|
547
|
-
return
|
|
548
|
-
const
|
|
549
|
-
|
|
546
|
+
$on(t, n) {
|
|
547
|
+
if (!U(n))
|
|
548
|
+
return h;
|
|
549
|
+
const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
550
|
+
return s.push(n), () => {
|
|
551
|
+
const c = s.indexOf(n);
|
|
552
|
+
c !== -1 && s.splice(c, 1);
|
|
550
553
|
};
|
|
551
554
|
}
|
|
552
555
|
/**
|
|
@@ -554,229 +557,379 @@ class ar {
|
|
|
554
557
|
* @returns {void}
|
|
555
558
|
*/
|
|
556
559
|
$set(t) {
|
|
557
|
-
this.$$set && !
|
|
560
|
+
this.$$set && !X(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
558
561
|
}
|
|
559
562
|
}
|
|
560
|
-
const
|
|
561
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
562
|
-
const
|
|
563
|
-
function
|
|
563
|
+
const wt$1 = "4";
|
|
564
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wt$1);
|
|
565
|
+
const m = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
566
|
+
function St$1(e, t) {
|
|
564
567
|
if (e) {
|
|
565
|
-
const
|
|
566
|
-
|
|
568
|
+
const n = document.createElement("style");
|
|
569
|
+
n.innerHTML = t, e.appendChild(n);
|
|
567
570
|
}
|
|
568
571
|
}
|
|
569
|
-
function
|
|
572
|
+
function xt$1(e, t) {
|
|
570
573
|
if (!e || !t)
|
|
571
574
|
return;
|
|
572
|
-
const
|
|
573
|
-
fetch(
|
|
574
|
-
const
|
|
575
|
-
|
|
576
|
-
}).catch((
|
|
577
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
575
|
+
const n = new URL(t);
|
|
576
|
+
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
577
|
+
const c = document.createElement("style");
|
|
578
|
+
c.innerHTML = s, e && e.appendChild(c);
|
|
579
|
+
}).catch((s) => {
|
|
580
|
+
console.error("There was an error while trying to load client styling from URL", s);
|
|
578
581
|
});
|
|
579
582
|
}
|
|
580
|
-
function
|
|
583
|
+
function Et$1(e, t, n, s = !1) {
|
|
581
584
|
if (!window.emMessageBus)
|
|
582
585
|
return;
|
|
583
|
-
if (!("adoptedStyleSheets" in Document.prototype) || !
|
|
584
|
-
return
|
|
585
|
-
window[
|
|
586
|
-
const
|
|
587
|
-
if (window[
|
|
588
|
-
const
|
|
589
|
-
|
|
586
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !s)
|
|
587
|
+
return n = Lt$1(e, t), n;
|
|
588
|
+
window[m] || (window[m] = {}), n = Ct$1(e, t);
|
|
589
|
+
const i = n.unsubscribe.bind(n), r = () => {
|
|
590
|
+
if (window[m][t]) {
|
|
591
|
+
const l = window[m][t];
|
|
592
|
+
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[m][t];
|
|
590
593
|
}
|
|
591
|
-
|
|
594
|
+
i();
|
|
592
595
|
};
|
|
593
|
-
return
|
|
596
|
+
return n.unsubscribe = r, n;
|
|
594
597
|
}
|
|
595
|
-
function
|
|
596
|
-
const
|
|
597
|
-
return window.emMessageBus.subscribe(t, (
|
|
598
|
-
e && (
|
|
598
|
+
function Lt$1(e, t) {
|
|
599
|
+
const n = document.createElement("style");
|
|
600
|
+
return window.emMessageBus.subscribe(t, (s) => {
|
|
601
|
+
e && (n.innerHTML = s, e.appendChild(n));
|
|
599
602
|
});
|
|
600
603
|
}
|
|
601
|
-
function
|
|
602
|
-
return window.emMessageBus.subscribe(t, (
|
|
604
|
+
function Ct$1(e, t) {
|
|
605
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
603
606
|
if (!e)
|
|
604
607
|
return;
|
|
605
|
-
const
|
|
606
|
-
let
|
|
607
|
-
|
|
608
|
-
sheet:
|
|
608
|
+
const s = e.getRootNode(), c = window[m];
|
|
609
|
+
let i = c[t] && c[t].sheet;
|
|
610
|
+
i ? c[t].refCount = c[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), c[t] = {
|
|
611
|
+
sheet: i,
|
|
609
612
|
refCount: 1
|
|
610
613
|
});
|
|
611
|
-
const
|
|
612
|
-
|
|
614
|
+
const r = s.adoptedStyleSheets || [];
|
|
615
|
+
r.includes(i) || (s.adoptedStyleSheets = [...r, i]);
|
|
613
616
|
});
|
|
614
617
|
}
|
|
615
|
-
|
|
616
|
-
function
|
|
618
|
+
function vt$1(e) {
|
|
619
|
+
et(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
620
|
+
}
|
|
621
|
+
function At$1(e) {
|
|
622
|
+
let t;
|
|
617
623
|
return {
|
|
618
|
-
|
|
624
|
+
c() {
|
|
625
|
+
t = E("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
626
|
+
},
|
|
627
|
+
m(n, s) {
|
|
628
|
+
N$1(n, t, s), e[4](t);
|
|
629
|
+
},
|
|
630
|
+
p: h,
|
|
631
|
+
i: h,
|
|
632
|
+
o: h,
|
|
633
|
+
d(n) {
|
|
634
|
+
n && x(t), e[4](null);
|
|
635
|
+
}
|
|
619
636
|
};
|
|
620
637
|
}
|
|
621
|
-
function
|
|
638
|
+
function Tt$1(e, t, n) {
|
|
639
|
+
let { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: i } = t, r, l;
|
|
640
|
+
lt$1(() => () => {
|
|
641
|
+
});
|
|
642
|
+
function u(o) {
|
|
643
|
+
v[o ? "unshift" : "push"](() => {
|
|
644
|
+
r = o, n(0, r);
|
|
645
|
+
});
|
|
646
|
+
}
|
|
647
|
+
return e.$$set = (o) => {
|
|
648
|
+
"clientstyling" in o && n(1, s = o.clientstyling), "clientstylingurl" in o && n(2, c = o.clientstylingurl), "mbsource" in o && n(3, i = o.mbsource);
|
|
649
|
+
}, e.$$.update = () => {
|
|
650
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
651
|
+
3 && s && r && St$1(r, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
652
|
+
5 && c && r && xt$1(r, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
653
|
+
9 && i && r && Et$1(r, `${i}.Style`, l);
|
|
654
|
+
}, [
|
|
655
|
+
r,
|
|
656
|
+
s,
|
|
657
|
+
c,
|
|
658
|
+
i,
|
|
659
|
+
u
|
|
660
|
+
];
|
|
661
|
+
}
|
|
662
|
+
class J extends yt$1 {
|
|
663
|
+
constructor(t) {
|
|
664
|
+
super(), bt$1(
|
|
665
|
+
this,
|
|
666
|
+
t,
|
|
667
|
+
Tt$1,
|
|
668
|
+
At$1,
|
|
669
|
+
Q,
|
|
670
|
+
{
|
|
671
|
+
clientstyling: 1,
|
|
672
|
+
clientstylingurl: 2,
|
|
673
|
+
mbsource: 3
|
|
674
|
+
},
|
|
675
|
+
vt$1
|
|
676
|
+
);
|
|
677
|
+
}
|
|
678
|
+
get clientstyling() {
|
|
679
|
+
return this.$$.ctx[1];
|
|
680
|
+
}
|
|
681
|
+
set clientstyling(t) {
|
|
682
|
+
this.$$set({ clientstyling: t }), b();
|
|
683
|
+
}
|
|
684
|
+
get clientstylingurl() {
|
|
685
|
+
return this.$$.ctx[2];
|
|
686
|
+
}
|
|
687
|
+
set clientstylingurl(t) {
|
|
688
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
689
|
+
}
|
|
690
|
+
get mbsource() {
|
|
691
|
+
return this.$$.ctx[3];
|
|
692
|
+
}
|
|
693
|
+
set mbsource(t) {
|
|
694
|
+
this.$$set({ mbsource: t }), b();
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
gt$1(J, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
698
|
+
const Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
699
|
+
__proto__: null,
|
|
700
|
+
default: J
|
|
701
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
702
|
+
|
|
703
|
+
const GeneralAnimationLoadingC1pQ_j2M = /*#__PURE__*/Object.freeze({
|
|
704
|
+
__proto__: null,
|
|
705
|
+
A: kt$1,
|
|
706
|
+
B: St$1,
|
|
707
|
+
C: xt$1,
|
|
708
|
+
D: Et$1,
|
|
709
|
+
G: Ut,
|
|
710
|
+
H: Dt,
|
|
711
|
+
S: yt$1,
|
|
712
|
+
a: Z$1,
|
|
713
|
+
b: bt$1,
|
|
714
|
+
c: gt$1,
|
|
715
|
+
d: x,
|
|
716
|
+
e: N$1,
|
|
717
|
+
f: tt,
|
|
718
|
+
g: it,
|
|
719
|
+
h: I,
|
|
720
|
+
i: U,
|
|
721
|
+
j: b,
|
|
722
|
+
k: et,
|
|
723
|
+
l: E,
|
|
724
|
+
m: jt$1,
|
|
725
|
+
n: h,
|
|
726
|
+
o: lt$1,
|
|
727
|
+
p: v,
|
|
728
|
+
q: Ht$1,
|
|
729
|
+
r: S,
|
|
730
|
+
s: Q,
|
|
731
|
+
t: Rt,
|
|
732
|
+
u: z,
|
|
733
|
+
v: Gt,
|
|
734
|
+
w: Ot$1,
|
|
735
|
+
x: Bt$1,
|
|
736
|
+
y: Mt$1,
|
|
737
|
+
z: Pt$1
|
|
738
|
+
});
|
|
739
|
+
|
|
740
|
+
var jr = Object.defineProperty, Lr = Object.defineProperties;
|
|
741
|
+
var Rr = Object.getOwnPropertyDescriptors;
|
|
742
|
+
var st = Object.getOwnPropertySymbols;
|
|
743
|
+
var Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
|
|
744
|
+
var lt = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Z = (e, t) => {
|
|
745
|
+
for (var r in t || (t = {}))
|
|
746
|
+
Ur.call(t, r) && lt(e, r, t[r]);
|
|
747
|
+
if (st)
|
|
748
|
+
for (var r of st(t))
|
|
749
|
+
Dr.call(t, r) && lt(e, r, t[r]);
|
|
750
|
+
return e;
|
|
751
|
+
}, ct = (e, t) => Lr(e, Rr(t));
|
|
752
|
+
var me = (e, t, r) => new Promise((n, i) => {
|
|
753
|
+
var o = (h) => {
|
|
754
|
+
try {
|
|
755
|
+
s(r.next(h));
|
|
756
|
+
} catch (u) {
|
|
757
|
+
i(u);
|
|
758
|
+
}
|
|
759
|
+
}, a = (h) => {
|
|
760
|
+
try {
|
|
761
|
+
s(r.throw(h));
|
|
762
|
+
} catch (u) {
|
|
763
|
+
i(u);
|
|
764
|
+
}
|
|
765
|
+
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
766
|
+
s((r = r.apply(e, t)).next());
|
|
767
|
+
});
|
|
768
|
+
const ee = [];
|
|
769
|
+
function Kr(e, t) {
|
|
770
|
+
return {
|
|
771
|
+
subscribe: Be(e, t).subscribe
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
function Be(e, t = h) {
|
|
622
775
|
let r;
|
|
623
776
|
const n = /* @__PURE__ */ new Set();
|
|
624
777
|
function i(s) {
|
|
625
|
-
if (
|
|
626
|
-
const
|
|
627
|
-
for (const
|
|
628
|
-
|
|
629
|
-
if (
|
|
630
|
-
for (let
|
|
631
|
-
|
|
632
|
-
|
|
778
|
+
if (Q(e, s) && (e = s, r)) {
|
|
779
|
+
const h = !ee.length;
|
|
780
|
+
for (const u of n)
|
|
781
|
+
u[1](), ee.push(u, e);
|
|
782
|
+
if (h) {
|
|
783
|
+
for (let u = 0; u < ee.length; u += 2)
|
|
784
|
+
ee[u][0](ee[u + 1]);
|
|
785
|
+
ee.length = 0;
|
|
633
786
|
}
|
|
634
787
|
}
|
|
635
788
|
}
|
|
636
789
|
function o(s) {
|
|
637
790
|
i(s(e));
|
|
638
791
|
}
|
|
639
|
-
function a(s,
|
|
640
|
-
const
|
|
641
|
-
return n.add(
|
|
642
|
-
n.delete(
|
|
792
|
+
function a(s, h$1 = h) {
|
|
793
|
+
const u = [s, h$1];
|
|
794
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || h), s(e), () => {
|
|
795
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
643
796
|
};
|
|
644
797
|
}
|
|
645
798
|
return { set: i, update: o, subscribe: a };
|
|
646
799
|
}
|
|
647
|
-
function
|
|
800
|
+
function ae(e, t, r) {
|
|
648
801
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
649
802
|
if (!i.every(Boolean))
|
|
650
803
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
651
804
|
const o = t.length < 2;
|
|
652
|
-
return
|
|
653
|
-
let
|
|
654
|
-
const
|
|
655
|
-
let
|
|
805
|
+
return Kr(r, (a, s) => {
|
|
806
|
+
let h$1 = !1;
|
|
807
|
+
const u = [];
|
|
808
|
+
let c = 0, d = h;
|
|
656
809
|
const m = () => {
|
|
657
|
-
if (
|
|
810
|
+
if (c)
|
|
658
811
|
return;
|
|
659
812
|
d();
|
|
660
|
-
const
|
|
661
|
-
o ? a(
|
|
813
|
+
const f = t(n ? u[0] : u, a, s);
|
|
814
|
+
o ? a(f) : d = U(f) ? f : h;
|
|
662
815
|
}, y = i.map(
|
|
663
|
-
(
|
|
664
|
-
|
|
816
|
+
(f, g) => Z$1(
|
|
817
|
+
f,
|
|
665
818
|
(S) => {
|
|
666
|
-
|
|
819
|
+
u[g] = S, c &= ~(1 << g), h$1 && m();
|
|
667
820
|
},
|
|
668
821
|
() => {
|
|
669
|
-
|
|
822
|
+
c |= 1 << g;
|
|
670
823
|
}
|
|
671
824
|
)
|
|
672
825
|
);
|
|
673
|
-
return
|
|
674
|
-
|
|
826
|
+
return h$1 = !0, m(), function() {
|
|
827
|
+
S(y), d(), h$1 = !1;
|
|
675
828
|
};
|
|
676
829
|
});
|
|
677
830
|
}
|
|
678
|
-
function
|
|
831
|
+
function $r(e) {
|
|
679
832
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
680
833
|
}
|
|
681
|
-
var
|
|
682
|
-
return
|
|
834
|
+
var en = function(t) {
|
|
835
|
+
return tn(t) && !rn(t);
|
|
683
836
|
};
|
|
684
|
-
function
|
|
837
|
+
function tn(e) {
|
|
685
838
|
return !!e && typeof e == "object";
|
|
686
839
|
}
|
|
687
|
-
function
|
|
840
|
+
function rn(e) {
|
|
688
841
|
var t = Object.prototype.toString.call(e);
|
|
689
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
842
|
+
return t === "[object RegExp]" || t === "[object Date]" || an(e);
|
|
690
843
|
}
|
|
691
|
-
var
|
|
692
|
-
function
|
|
693
|
-
return e.$$typeof ===
|
|
844
|
+
var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
|
|
845
|
+
function an(e) {
|
|
846
|
+
return e.$$typeof === on;
|
|
694
847
|
}
|
|
695
|
-
function
|
|
848
|
+
function sn(e) {
|
|
696
849
|
return Array.isArray(e) ? [] : {};
|
|
697
850
|
}
|
|
698
|
-
function
|
|
699
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
851
|
+
function fe(e, t) {
|
|
852
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(sn(e), e, t) : e;
|
|
700
853
|
}
|
|
701
|
-
function
|
|
854
|
+
function ln(e, t, r) {
|
|
702
855
|
return e.concat(t).map(function(n) {
|
|
703
|
-
return
|
|
856
|
+
return fe(n, r);
|
|
704
857
|
});
|
|
705
858
|
}
|
|
706
|
-
function
|
|
859
|
+
function cn(e, t) {
|
|
707
860
|
if (!t.customMerge)
|
|
708
|
-
return
|
|
861
|
+
return re;
|
|
709
862
|
var r = t.customMerge(e);
|
|
710
|
-
return typeof r == "function" ? r :
|
|
863
|
+
return typeof r == "function" ? r : re;
|
|
711
864
|
}
|
|
712
|
-
function
|
|
865
|
+
function un(e) {
|
|
713
866
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
714
867
|
return Object.propertyIsEnumerable.call(e, t);
|
|
715
868
|
}) : [];
|
|
716
869
|
}
|
|
717
|
-
function
|
|
718
|
-
return Object.keys(e).concat(
|
|
870
|
+
function dt(e) {
|
|
871
|
+
return Object.keys(e).concat(un(e));
|
|
719
872
|
}
|
|
720
|
-
function
|
|
873
|
+
function Vt(e, t) {
|
|
721
874
|
try {
|
|
722
875
|
return t in e;
|
|
723
876
|
} catch (r) {
|
|
724
877
|
return !1;
|
|
725
878
|
}
|
|
726
879
|
}
|
|
727
|
-
function
|
|
728
|
-
return
|
|
880
|
+
function hn(e, t) {
|
|
881
|
+
return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
729
882
|
}
|
|
730
|
-
function
|
|
883
|
+
function dn(e, t, r) {
|
|
731
884
|
var n = {};
|
|
732
|
-
return r.isMergeableObject(e) &&
|
|
733
|
-
n[i] =
|
|
734
|
-
}),
|
|
735
|
-
|
|
885
|
+
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
|
886
|
+
n[i] = fe(e[i], r);
|
|
887
|
+
}), dt(t).forEach(function(i) {
|
|
888
|
+
hn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
|
|
736
889
|
}), n;
|
|
737
890
|
}
|
|
738
|
-
function
|
|
739
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
891
|
+
function re(e, t, r) {
|
|
892
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = fe;
|
|
740
893
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
741
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
894
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : fe(t, r);
|
|
742
895
|
}
|
|
743
|
-
|
|
896
|
+
re.all = function(t, r) {
|
|
744
897
|
if (!Array.isArray(t))
|
|
745
898
|
throw new Error("first argument should be an array");
|
|
746
899
|
return t.reduce(function(n, i) {
|
|
747
|
-
return
|
|
900
|
+
return re(n, i, r);
|
|
748
901
|
}, {});
|
|
749
902
|
};
|
|
750
|
-
var
|
|
751
|
-
const
|
|
752
|
-
var
|
|
753
|
-
return
|
|
903
|
+
var mn = re, pn = mn;
|
|
904
|
+
const gn = /* @__PURE__ */ $r(pn);
|
|
905
|
+
var Xe = function(e, t) {
|
|
906
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
754
907
|
r.__proto__ = n;
|
|
755
908
|
} || function(r, n) {
|
|
756
909
|
for (var i in n)
|
|
757
910
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
758
|
-
},
|
|
911
|
+
}, Xe(e, t);
|
|
759
912
|
};
|
|
760
|
-
function
|
|
913
|
+
function Oe(e, t) {
|
|
761
914
|
if (typeof t != "function" && t !== null)
|
|
762
915
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
763
|
-
|
|
916
|
+
Xe(e, t);
|
|
764
917
|
function r() {
|
|
765
918
|
this.constructor = e;
|
|
766
919
|
}
|
|
767
920
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
768
921
|
}
|
|
769
|
-
var
|
|
770
|
-
return
|
|
922
|
+
var q = function() {
|
|
923
|
+
return q = Object.assign || function(t) {
|
|
771
924
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
772
925
|
r = arguments[n];
|
|
773
926
|
for (var o in r)
|
|
774
927
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
775
928
|
}
|
|
776
929
|
return t;
|
|
777
|
-
},
|
|
930
|
+
}, q.apply(this, arguments);
|
|
778
931
|
};
|
|
779
|
-
function
|
|
932
|
+
function fn(e, t) {
|
|
780
933
|
var r = {};
|
|
781
934
|
for (var n in e)
|
|
782
935
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -785,43 +938,43 @@ function Zn(e, t) {
|
|
|
785
938
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
786
939
|
return r;
|
|
787
940
|
}
|
|
788
|
-
function
|
|
941
|
+
function Re(e, t, r) {
|
|
789
942
|
if (r || arguments.length === 2)
|
|
790
943
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
791
944
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
792
945
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
793
946
|
}
|
|
794
|
-
function
|
|
795
|
-
var r = t && t.cache ? t.cache :
|
|
947
|
+
function Ue(e, t) {
|
|
948
|
+
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : vn;
|
|
796
949
|
return i(e, {
|
|
797
950
|
cache: r,
|
|
798
951
|
serializer: n
|
|
799
952
|
});
|
|
800
953
|
}
|
|
801
|
-
function
|
|
954
|
+
function _n(e) {
|
|
802
955
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
803
956
|
}
|
|
804
|
-
function
|
|
805
|
-
var i =
|
|
957
|
+
function yn(e, t, r, n) {
|
|
958
|
+
var i = _n(n) ? n : r(n), o = t.get(i);
|
|
806
959
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
807
960
|
}
|
|
808
|
-
function
|
|
961
|
+
function Xt(e, t, r) {
|
|
809
962
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
810
963
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
811
964
|
}
|
|
812
|
-
function
|
|
965
|
+
function qt(e, t, r, n, i) {
|
|
813
966
|
return r.bind(t, e, n, i);
|
|
814
967
|
}
|
|
815
|
-
function
|
|
816
|
-
var r = e.length === 1 ?
|
|
817
|
-
return
|
|
968
|
+
function vn(e, t) {
|
|
969
|
+
var r = e.length === 1 ? yn : Xt;
|
|
970
|
+
return qt(e, this, r, t.cache.create(), t.serializer);
|
|
818
971
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
972
|
+
function kn(e, t) {
|
|
973
|
+
return qt(e, this, Xt, t.cache.create(), t.serializer);
|
|
821
974
|
}
|
|
822
|
-
var
|
|
975
|
+
var bn = function() {
|
|
823
976
|
return JSON.stringify(arguments);
|
|
824
|
-
},
|
|
977
|
+
}, En = (
|
|
825
978
|
/** @class */
|
|
826
979
|
function() {
|
|
827
980
|
function e() {
|
|
@@ -833,71 +986,71 @@ var ei = function() {
|
|
|
833
986
|
this.cache[t] = r;
|
|
834
987
|
}, e;
|
|
835
988
|
}()
|
|
836
|
-
),
|
|
989
|
+
), Cn = {
|
|
837
990
|
create: function() {
|
|
838
|
-
return new
|
|
991
|
+
return new En();
|
|
839
992
|
}
|
|
840
|
-
},
|
|
841
|
-
variadic:
|
|
842
|
-
},
|
|
843
|
-
return
|
|
993
|
+
}, De = {
|
|
994
|
+
variadic: kn
|
|
995
|
+
}, Ae = function() {
|
|
996
|
+
return Ae = Object.assign || function(t) {
|
|
844
997
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
845
998
|
r = arguments[n];
|
|
846
999
|
for (var o in r)
|
|
847
1000
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
848
1001
|
}
|
|
849
1002
|
return t;
|
|
850
|
-
},
|
|
1003
|
+
}, Ae.apply(this, arguments);
|
|
851
1004
|
};
|
|
852
|
-
var
|
|
1005
|
+
var w;
|
|
853
1006
|
(function(e) {
|
|
854
1007
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
855
|
-
})(
|
|
1008
|
+
})(w || (w = {}));
|
|
856
1009
|
var P;
|
|
857
1010
|
(function(e) {
|
|
858
1011
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
859
1012
|
})(P || (P = {}));
|
|
860
|
-
var
|
|
1013
|
+
var ne;
|
|
861
1014
|
(function(e) {
|
|
862
1015
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
863
|
-
})(
|
|
864
|
-
function
|
|
1016
|
+
})(ne || (ne = {}));
|
|
1017
|
+
function mt(e) {
|
|
865
1018
|
return e.type === P.literal;
|
|
866
1019
|
}
|
|
867
|
-
function
|
|
1020
|
+
function Sn(e) {
|
|
868
1021
|
return e.type === P.argument;
|
|
869
1022
|
}
|
|
870
|
-
function
|
|
1023
|
+
function Wt(e) {
|
|
871
1024
|
return e.type === P.number;
|
|
872
1025
|
}
|
|
873
|
-
function
|
|
1026
|
+
function Zt(e) {
|
|
874
1027
|
return e.type === P.date;
|
|
875
1028
|
}
|
|
876
|
-
function
|
|
1029
|
+
function Jt(e) {
|
|
877
1030
|
return e.type === P.time;
|
|
878
1031
|
}
|
|
879
|
-
function
|
|
1032
|
+
function Qt(e) {
|
|
880
1033
|
return e.type === P.select;
|
|
881
1034
|
}
|
|
882
|
-
function
|
|
1035
|
+
function Yt(e) {
|
|
883
1036
|
return e.type === P.plural;
|
|
884
1037
|
}
|
|
885
|
-
function
|
|
1038
|
+
function xn(e) {
|
|
886
1039
|
return e.type === P.pound;
|
|
887
1040
|
}
|
|
888
|
-
function
|
|
1041
|
+
function Kt(e) {
|
|
889
1042
|
return e.type === P.tag;
|
|
890
1043
|
}
|
|
891
|
-
function
|
|
892
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1044
|
+
function $t(e) {
|
|
1045
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
893
1046
|
}
|
|
894
|
-
function
|
|
895
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1047
|
+
function qe(e) {
|
|
1048
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
896
1049
|
}
|
|
897
|
-
var
|
|
898
|
-
function
|
|
1050
|
+
var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
|
|
1051
|
+
function Mn(e) {
|
|
899
1052
|
var t = {};
|
|
900
|
-
return e.replace(
|
|
1053
|
+
return e.replace(Tn, function(r) {
|
|
901
1054
|
var n = r.length;
|
|
902
1055
|
switch (r[0]) {
|
|
903
1056
|
case "G":
|
|
@@ -996,36 +1149,36 @@ var B = function() {
|
|
|
996
1149
|
return t;
|
|
997
1150
|
}, B.apply(this, arguments);
|
|
998
1151
|
};
|
|
999
|
-
var
|
|
1000
|
-
function
|
|
1152
|
+
var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1153
|
+
function Nn(e) {
|
|
1001
1154
|
if (e.length === 0)
|
|
1002
1155
|
throw new Error("Number skeleton cannot be empty");
|
|
1003
|
-
for (var t = e.split(
|
|
1156
|
+
for (var t = e.split(wn).filter(function(m) {
|
|
1004
1157
|
return m.length > 0;
|
|
1005
1158
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1006
1159
|
var o = i[n], a = o.split("/");
|
|
1007
1160
|
if (a.length === 0)
|
|
1008
1161
|
throw new Error("Invalid number skeleton");
|
|
1009
|
-
for (var s = a[0],
|
|
1010
|
-
var d = u
|
|
1162
|
+
for (var s = a[0], h = a.slice(1), u = 0, c = h; u < c.length; u++) {
|
|
1163
|
+
var d = c[u];
|
|
1011
1164
|
if (d.length === 0)
|
|
1012
1165
|
throw new Error("Invalid number skeleton");
|
|
1013
1166
|
}
|
|
1014
|
-
r.push({ stem: s, options:
|
|
1167
|
+
r.push({ stem: s, options: h });
|
|
1015
1168
|
}
|
|
1016
1169
|
return r;
|
|
1017
1170
|
}
|
|
1018
|
-
function
|
|
1171
|
+
function An(e) {
|
|
1019
1172
|
return e.replace(/^(.*?)-/, "");
|
|
1020
1173
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
1174
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
|
|
1175
|
+
function gt(e) {
|
|
1023
1176
|
var t = {};
|
|
1024
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1177
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
|
|
1025
1178
|
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
1179
|
}), t;
|
|
1027
1180
|
}
|
|
1028
|
-
function
|
|
1181
|
+
function nr(e) {
|
|
1029
1182
|
switch (e) {
|
|
1030
1183
|
case "sign-auto":
|
|
1031
1184
|
return {
|
|
@@ -1065,7 +1218,7 @@ function br(e) {
|
|
|
1065
1218
|
};
|
|
1066
1219
|
}
|
|
1067
1220
|
}
|
|
1068
|
-
function
|
|
1221
|
+
function Pn(e) {
|
|
1069
1222
|
var t;
|
|
1070
1223
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1071
1224
|
notation: "engineering"
|
|
@@ -1073,17 +1226,17 @@ function hi(e) {
|
|
|
1073
1226
|
notation: "scientific"
|
|
1074
1227
|
}, e = e.slice(1)), t) {
|
|
1075
1228
|
var r = e.slice(0, 2);
|
|
1076
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1229
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
|
|
1077
1230
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1078
1231
|
t.minimumIntegerDigits = e.length;
|
|
1079
1232
|
}
|
|
1080
1233
|
return t;
|
|
1081
1234
|
}
|
|
1082
|
-
function
|
|
1083
|
-
var t = {}, r =
|
|
1235
|
+
function ft(e) {
|
|
1236
|
+
var t = {}, r = nr(e);
|
|
1084
1237
|
return r || t;
|
|
1085
1238
|
}
|
|
1086
|
-
function
|
|
1239
|
+
function Bn(e) {
|
|
1087
1240
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1088
1241
|
var i = n[r];
|
|
1089
1242
|
switch (i.stem) {
|
|
@@ -1107,7 +1260,7 @@ function di(e) {
|
|
|
1107
1260
|
continue;
|
|
1108
1261
|
case "measure-unit":
|
|
1109
1262
|
case "unit":
|
|
1110
|
-
t.style = "unit", t.unit =
|
|
1263
|
+
t.style = "unit", t.unit = An(i.options[0]);
|
|
1111
1264
|
continue;
|
|
1112
1265
|
case "compact-short":
|
|
1113
1266
|
case "K":
|
|
@@ -1118,13 +1271,13 @@ function di(e) {
|
|
|
1118
1271
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1119
1272
|
continue;
|
|
1120
1273
|
case "scientific":
|
|
1121
|
-
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1122
|
-
return B(B({},
|
|
1274
|
+
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1275
|
+
return B(B({}, h), ft(u));
|
|
1123
1276
|
}, {}));
|
|
1124
1277
|
continue;
|
|
1125
1278
|
case "engineering":
|
|
1126
|
-
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1127
|
-
return B(B({},
|
|
1279
|
+
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1280
|
+
return B(B({}, h), ft(u));
|
|
1128
1281
|
}, {}));
|
|
1129
1282
|
continue;
|
|
1130
1283
|
case "notation-simple":
|
|
@@ -1169,9 +1322,9 @@ function di(e) {
|
|
|
1169
1322
|
case "integer-width":
|
|
1170
1323
|
if (i.options.length > 1)
|
|
1171
1324
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1172
|
-
i.options[0].replace(
|
|
1173
|
-
if (
|
|
1174
|
-
t.minimumIntegerDigits =
|
|
1325
|
+
i.options[0].replace(Hn, function(h, u, c, d, m, y) {
|
|
1326
|
+
if (u)
|
|
1327
|
+
t.minimumIntegerDigits = c.length;
|
|
1175
1328
|
else {
|
|
1176
1329
|
if (d && m)
|
|
1177
1330
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1182,32 +1335,32 @@ function di(e) {
|
|
|
1182
1335
|
});
|
|
1183
1336
|
continue;
|
|
1184
1337
|
}
|
|
1185
|
-
if (
|
|
1338
|
+
if (rr.test(i.stem)) {
|
|
1186
1339
|
t.minimumIntegerDigits = i.stem.length;
|
|
1187
1340
|
continue;
|
|
1188
1341
|
}
|
|
1189
|
-
if (
|
|
1342
|
+
if (pt.test(i.stem)) {
|
|
1190
1343
|
if (i.options.length > 1)
|
|
1191
1344
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1192
|
-
i.stem.replace(
|
|
1193
|
-
return
|
|
1345
|
+
i.stem.replace(pt, function(h, u, c, d, m, y) {
|
|
1346
|
+
return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1194
1347
|
});
|
|
1195
1348
|
var o = i.options[0];
|
|
1196
|
-
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t),
|
|
1349
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), gt(o)));
|
|
1197
1350
|
continue;
|
|
1198
1351
|
}
|
|
1199
|
-
if (
|
|
1200
|
-
t = B(B({}, t),
|
|
1352
|
+
if (tr.test(i.stem)) {
|
|
1353
|
+
t = B(B({}, t), gt(i.stem));
|
|
1201
1354
|
continue;
|
|
1202
1355
|
}
|
|
1203
|
-
var a =
|
|
1356
|
+
var a = nr(i.stem);
|
|
1204
1357
|
a && (t = B(B({}, t), a));
|
|
1205
|
-
var s =
|
|
1358
|
+
var s = Pn(i.stem);
|
|
1206
1359
|
s && (t = B(B({}, t), s));
|
|
1207
1360
|
}
|
|
1208
1361
|
return t;
|
|
1209
1362
|
}
|
|
1210
|
-
var
|
|
1363
|
+
var Me = {
|
|
1211
1364
|
"001": [
|
|
1212
1365
|
"H",
|
|
1213
1366
|
"h"
|
|
@@ -2622,23 +2775,23 @@ var ze = {
|
|
|
2622
2775
|
"h"
|
|
2623
2776
|
]
|
|
2624
2777
|
};
|
|
2625
|
-
function
|
|
2778
|
+
function On(e, t) {
|
|
2626
2779
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2627
2780
|
var i = e.charAt(n);
|
|
2628
2781
|
if (i === "j") {
|
|
2629
2782
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2630
2783
|
o++, n++;
|
|
2631
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1),
|
|
2632
|
-
for ((
|
|
2633
|
-
r +=
|
|
2784
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = zn(t);
|
|
2785
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2786
|
+
r += h;
|
|
2634
2787
|
for (; a-- > 0; )
|
|
2635
|
-
r =
|
|
2788
|
+
r = u + r;
|
|
2636
2789
|
} else
|
|
2637
2790
|
i === "J" ? r += "H" : r += i;
|
|
2638
2791
|
}
|
|
2639
2792
|
return r;
|
|
2640
2793
|
}
|
|
2641
|
-
function
|
|
2794
|
+
function zn(e) {
|
|
2642
2795
|
var t = e.hourCycle;
|
|
2643
2796
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2644
2797
|
e.hourCycles && // @ts-ignore
|
|
@@ -2657,23 +2810,23 @@ function fi(e) {
|
|
|
2657
2810
|
}
|
|
2658
2811
|
var r = e.language, n;
|
|
2659
2812
|
r !== "root" && (n = e.maximize().region);
|
|
2660
|
-
var i =
|
|
2813
|
+
var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
|
|
2661
2814
|
return i[0];
|
|
2662
2815
|
}
|
|
2663
|
-
var
|
|
2664
|
-
function
|
|
2816
|
+
var Ge, In = new RegExp("^".concat(er.source, "*")), jn = new RegExp("".concat(er.source, "*$"));
|
|
2817
|
+
function N(e, t) {
|
|
2665
2818
|
return { start: e, end: t };
|
|
2666
2819
|
}
|
|
2667
|
-
var
|
|
2820
|
+
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
|
|
2668
2821
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2669
|
-
},
|
|
2822
|
+
}, We = !0;
|
|
2670
2823
|
try {
|
|
2671
|
-
var
|
|
2672
|
-
|
|
2824
|
+
var qn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2825
|
+
We = ((Ge = qn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
2673
2826
|
} catch (e) {
|
|
2674
|
-
|
|
2827
|
+
We = !1;
|
|
2675
2828
|
}
|
|
2676
|
-
var
|
|
2829
|
+
var _t = Ln ? (
|
|
2677
2830
|
// Native
|
|
2678
2831
|
function(t, r, n) {
|
|
2679
2832
|
return t.startsWith(r, n);
|
|
@@ -2683,7 +2836,7 @@ var Pt = _i ? (
|
|
|
2683
2836
|
function(t, r, n) {
|
|
2684
2837
|
return t.slice(n, n + r.length) === r;
|
|
2685
2838
|
}
|
|
2686
|
-
),
|
|
2839
|
+
), Ze = Rn ? String.fromCodePoint : (
|
|
2687
2840
|
// IE11
|
|
2688
2841
|
function() {
|
|
2689
2842
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2695,9 +2848,9 @@ var Pt = _i ? (
|
|
|
2695
2848
|
}
|
|
2696
2849
|
return n;
|
|
2697
2850
|
}
|
|
2698
|
-
),
|
|
2851
|
+
), yt = (
|
|
2699
2852
|
// native
|
|
2700
|
-
|
|
2853
|
+
Un ? Object.fromEntries : (
|
|
2701
2854
|
// Ponyfill
|
|
2702
2855
|
function(t) {
|
|
2703
2856
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2707,7 +2860,7 @@ var Pt = _i ? (
|
|
|
2707
2860
|
return r;
|
|
2708
2861
|
}
|
|
2709
2862
|
)
|
|
2710
|
-
),
|
|
2863
|
+
), ir = Dn ? (
|
|
2711
2864
|
// Native
|
|
2712
2865
|
function(t, r) {
|
|
2713
2866
|
return t.codePointAt(r);
|
|
@@ -2721,7 +2874,7 @@ var Pt = _i ? (
|
|
|
2721
2874
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2722
2875
|
}
|
|
2723
2876
|
}
|
|
2724
|
-
),
|
|
2877
|
+
), Wn = Gn ? (
|
|
2725
2878
|
// Native
|
|
2726
2879
|
function(t) {
|
|
2727
2880
|
return t.trimStart();
|
|
@@ -2729,9 +2882,9 @@ var Pt = _i ? (
|
|
|
2729
2882
|
) : (
|
|
2730
2883
|
// Ponyfill
|
|
2731
2884
|
function(t) {
|
|
2732
|
-
return t.replace(
|
|
2885
|
+
return t.replace(In, "");
|
|
2733
2886
|
}
|
|
2734
|
-
),
|
|
2887
|
+
), Zn = Fn ? (
|
|
2735
2888
|
// Native
|
|
2736
2889
|
function(t) {
|
|
2737
2890
|
return t.trimEnd();
|
|
@@ -2739,32 +2892,32 @@ var Pt = _i ? (
|
|
|
2739
2892
|
) : (
|
|
2740
2893
|
// Ponyfill
|
|
2741
2894
|
function(t) {
|
|
2742
|
-
return t.replace(
|
|
2895
|
+
return t.replace(jn, "");
|
|
2743
2896
|
}
|
|
2744
2897
|
);
|
|
2745
|
-
function
|
|
2898
|
+
function or(e, t) {
|
|
2746
2899
|
return new RegExp(e, t);
|
|
2747
2900
|
}
|
|
2748
|
-
var
|
|
2749
|
-
if (
|
|
2750
|
-
var
|
|
2751
|
-
|
|
2901
|
+
var Je;
|
|
2902
|
+
if (We) {
|
|
2903
|
+
var vt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2904
|
+
Je = function(t, r) {
|
|
2752
2905
|
var n;
|
|
2753
|
-
|
|
2754
|
-
var i =
|
|
2906
|
+
vt.lastIndex = r;
|
|
2907
|
+
var i = vt.exec(t);
|
|
2755
2908
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2756
2909
|
};
|
|
2757
2910
|
} else
|
|
2758
|
-
|
|
2911
|
+
Je = function(t, r) {
|
|
2759
2912
|
for (var n = []; ; ) {
|
|
2760
|
-
var i =
|
|
2761
|
-
if (i === void 0 ||
|
|
2913
|
+
var i = ir(t, r);
|
|
2914
|
+
if (i === void 0 || ar(i) || Kn(i))
|
|
2762
2915
|
break;
|
|
2763
2916
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2764
2917
|
}
|
|
2765
|
-
return
|
|
2918
|
+
return Ze.apply(void 0, n);
|
|
2766
2919
|
};
|
|
2767
|
-
var
|
|
2920
|
+
var Jn = (
|
|
2768
2921
|
/** @class */
|
|
2769
2922
|
function() {
|
|
2770
2923
|
function e(t, r) {
|
|
@@ -2789,13 +2942,13 @@ var Mi = (
|
|
|
2789
2942
|
var s = this.clonePosition();
|
|
2790
2943
|
this.bump(), i.push({
|
|
2791
2944
|
type: P.pound,
|
|
2792
|
-
location:
|
|
2945
|
+
location: N(s, this.clonePosition())
|
|
2793
2946
|
});
|
|
2794
2947
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2795
2948
|
if (n)
|
|
2796
2949
|
break;
|
|
2797
|
-
return this.error(
|
|
2798
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2950
|
+
return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
|
|
2951
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
|
2799
2952
|
var a = this.parseTag(t, r);
|
|
2800
2953
|
if (a.err)
|
|
2801
2954
|
return a;
|
|
@@ -2818,7 +2971,7 @@ var Mi = (
|
|
|
2818
2971
|
val: {
|
|
2819
2972
|
type: P.literal,
|
|
2820
2973
|
value: "<".concat(i, "/>"),
|
|
2821
|
-
location:
|
|
2974
|
+
location: N(n, this.clonePosition())
|
|
2822
2975
|
},
|
|
2823
2976
|
err: null
|
|
2824
2977
|
};
|
|
@@ -2828,25 +2981,25 @@ var Mi = (
|
|
|
2828
2981
|
return o;
|
|
2829
2982
|
var a = o.val, s = this.clonePosition();
|
|
2830
2983
|
if (this.bumpIf("</")) {
|
|
2831
|
-
if (this.isEOF() || !
|
|
2832
|
-
return this.error(
|
|
2833
|
-
var
|
|
2834
|
-
return i !==
|
|
2984
|
+
if (this.isEOF() || !Qe(this.char()))
|
|
2985
|
+
return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
|
|
2986
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
2987
|
+
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2835
2988
|
val: {
|
|
2836
2989
|
type: P.tag,
|
|
2837
2990
|
value: i,
|
|
2838
2991
|
children: a,
|
|
2839
|
-
location:
|
|
2992
|
+
location: N(n, this.clonePosition())
|
|
2840
2993
|
},
|
|
2841
2994
|
err: null
|
|
2842
|
-
} : this.error(
|
|
2995
|
+
} : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
|
|
2843
2996
|
} else
|
|
2844
|
-
return this.error(
|
|
2997
|
+
return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
|
|
2845
2998
|
} else
|
|
2846
|
-
return this.error(
|
|
2999
|
+
return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
|
|
2847
3000
|
}, e.prototype.parseTagName = function() {
|
|
2848
3001
|
var t = this.offset();
|
|
2849
|
-
for (this.bump(); !this.isEOF() &&
|
|
3002
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
2850
3003
|
this.bump();
|
|
2851
3004
|
return this.message.slice(t, this.offset());
|
|
2852
3005
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2868,14 +3021,14 @@ var Mi = (
|
|
|
2868
3021
|
}
|
|
2869
3022
|
break;
|
|
2870
3023
|
}
|
|
2871
|
-
var
|
|
3024
|
+
var h = N(n, this.clonePosition());
|
|
2872
3025
|
return {
|
|
2873
|
-
val: { type: P.literal, value: i, location:
|
|
3026
|
+
val: { type: P.literal, value: i, location: h },
|
|
2874
3027
|
err: null
|
|
2875
3028
|
};
|
|
2876
3029
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2877
3030
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2878
|
-
!
|
|
3031
|
+
!Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2879
3032
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2880
3033
|
if (this.isEOF() || this.char() !== 39)
|
|
2881
3034
|
return null;
|
|
@@ -2909,23 +3062,23 @@ var Mi = (
|
|
|
2909
3062
|
r.push(n);
|
|
2910
3063
|
this.bump();
|
|
2911
3064
|
}
|
|
2912
|
-
return
|
|
3065
|
+
return Ze.apply(void 0, r);
|
|
2913
3066
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2914
3067
|
if (this.isEOF())
|
|
2915
3068
|
return null;
|
|
2916
3069
|
var n = this.char();
|
|
2917
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3070
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
2918
3071
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2919
3072
|
var n = this.clonePosition();
|
|
2920
3073
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2921
|
-
return this.error(
|
|
3074
|
+
return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
|
|
2922
3075
|
if (this.char() === 125)
|
|
2923
|
-
return this.bump(), this.error(
|
|
3076
|
+
return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
|
|
2924
3077
|
var i = this.parseIdentifierIfPossible().value;
|
|
2925
3078
|
if (!i)
|
|
2926
|
-
return this.error(
|
|
3079
|
+
return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
|
|
2927
3080
|
if (this.bumpSpace(), this.isEOF())
|
|
2928
|
-
return this.error(
|
|
3081
|
+
return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
|
|
2929
3082
|
switch (this.char()) {
|
|
2930
3083
|
case 125:
|
|
2931
3084
|
return this.bump(), {
|
|
@@ -2933,66 +3086,66 @@ var Mi = (
|
|
|
2933
3086
|
type: P.argument,
|
|
2934
3087
|
// value does not include the opening and closing braces.
|
|
2935
3088
|
value: i,
|
|
2936
|
-
location:
|
|
3089
|
+
location: N(n, this.clonePosition())
|
|
2937
3090
|
},
|
|
2938
3091
|
err: null
|
|
2939
3092
|
};
|
|
2940
3093
|
case 44:
|
|
2941
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3094
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2942
3095
|
default:
|
|
2943
|
-
return this.error(
|
|
3096
|
+
return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
|
|
2944
3097
|
}
|
|
2945
3098
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2946
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3099
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
2947
3100
|
this.bumpTo(i);
|
|
2948
|
-
var o = this.clonePosition(), a =
|
|
3101
|
+
var o = this.clonePosition(), a = N(t, o);
|
|
2949
3102
|
return { value: n, location: a };
|
|
2950
3103
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2951
|
-
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value,
|
|
3104
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2952
3105
|
switch (s) {
|
|
2953
3106
|
case "":
|
|
2954
|
-
return this.error(
|
|
3107
|
+
return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
|
|
2955
3108
|
case "number":
|
|
2956
3109
|
case "date":
|
|
2957
3110
|
case "time": {
|
|
2958
3111
|
this.bumpSpace();
|
|
2959
|
-
var
|
|
3112
|
+
var u = null;
|
|
2960
3113
|
if (this.bumpIf(",")) {
|
|
2961
3114
|
this.bumpSpace();
|
|
2962
|
-
var
|
|
3115
|
+
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
2963
3116
|
if (d.err)
|
|
2964
3117
|
return d;
|
|
2965
|
-
var m =
|
|
3118
|
+
var m = Zn(d.val);
|
|
2966
3119
|
if (m.length === 0)
|
|
2967
|
-
return this.error(
|
|
2968
|
-
var y =
|
|
2969
|
-
|
|
3120
|
+
return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
|
|
3121
|
+
var y = N(c, this.clonePosition());
|
|
3122
|
+
u = { style: m, styleLocation: y };
|
|
2970
3123
|
}
|
|
2971
|
-
var
|
|
2972
|
-
if (
|
|
2973
|
-
return
|
|
2974
|
-
var
|
|
2975
|
-
if (
|
|
2976
|
-
var S =
|
|
3124
|
+
var f = this.tryParseArgumentClose(i);
|
|
3125
|
+
if (f.err)
|
|
3126
|
+
return f;
|
|
3127
|
+
var g = N(i, this.clonePosition());
|
|
3128
|
+
if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
|
|
3129
|
+
var S = Wn(u.style.slice(2));
|
|
2977
3130
|
if (s === "number") {
|
|
2978
|
-
var d = this.parseNumberSkeletonFromString(S,
|
|
3131
|
+
var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
2979
3132
|
return d.err ? d : {
|
|
2980
|
-
val: { type: P.number, value: n, location:
|
|
3133
|
+
val: { type: P.number, value: n, location: g, style: d.val },
|
|
2981
3134
|
err: null
|
|
2982
3135
|
};
|
|
2983
3136
|
} else {
|
|
2984
3137
|
if (S.length === 0)
|
|
2985
|
-
return this.error(
|
|
3138
|
+
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
2986
3139
|
var _ = S;
|
|
2987
|
-
this.locale && (_ =
|
|
3140
|
+
this.locale && (_ = On(S, this.locale));
|
|
2988
3141
|
var m = {
|
|
2989
|
-
type:
|
|
3142
|
+
type: ne.dateTime,
|
|
2990
3143
|
pattern: _,
|
|
2991
|
-
location:
|
|
2992
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3144
|
+
location: u.styleLocation,
|
|
3145
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(_) : {}
|
|
2993
3146
|
}, v = s === "date" ? P.date : P.time;
|
|
2994
3147
|
return {
|
|
2995
|
-
val: { type: v, value: n, location:
|
|
3148
|
+
val: { type: v, value: n, location: g, style: m },
|
|
2996
3149
|
err: null
|
|
2997
3150
|
};
|
|
2998
3151
|
}
|
|
@@ -3001,8 +3154,8 @@ var Mi = (
|
|
|
3001
3154
|
val: {
|
|
3002
3155
|
type: s === "number" ? P.number : s === "date" ? P.date : P.time,
|
|
3003
3156
|
value: n,
|
|
3004
|
-
location:
|
|
3005
|
-
style: (o =
|
|
3157
|
+
location: g,
|
|
3158
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3006
3159
|
},
|
|
3007
3160
|
err: null
|
|
3008
3161
|
};
|
|
@@ -3012,30 +3165,30 @@ var Mi = (
|
|
|
3012
3165
|
case "select": {
|
|
3013
3166
|
var C = this.clonePosition();
|
|
3014
3167
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3015
|
-
return this.error(
|
|
3168
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, Ae({}, C)));
|
|
3016
3169
|
this.bumpSpace();
|
|
3017
3170
|
var H = this.parseIdentifierIfPossible(), E = 0;
|
|
3018
3171
|
if (s !== "select" && H.value === "offset") {
|
|
3019
3172
|
if (!this.bumpIf(":"))
|
|
3020
|
-
return this.error(
|
|
3173
|
+
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
|
|
3021
3174
|
this.bumpSpace();
|
|
3022
|
-
var d = this.tryParseDecimalInteger(
|
|
3175
|
+
var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3023
3176
|
if (d.err)
|
|
3024
3177
|
return d;
|
|
3025
3178
|
this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
|
|
3026
3179
|
}
|
|
3027
|
-
var
|
|
3028
|
-
if (
|
|
3029
|
-
return
|
|
3030
|
-
var
|
|
3031
|
-
if (
|
|
3032
|
-
return
|
|
3033
|
-
var J =
|
|
3180
|
+
var O = this.tryParsePluralOrSelectOptions(t, s, r, H);
|
|
3181
|
+
if (O.err)
|
|
3182
|
+
return O;
|
|
3183
|
+
var f = this.tryParseArgumentClose(i);
|
|
3184
|
+
if (f.err)
|
|
3185
|
+
return f;
|
|
3186
|
+
var J = N(i, this.clonePosition());
|
|
3034
3187
|
return s === "select" ? {
|
|
3035
3188
|
val: {
|
|
3036
3189
|
type: P.select,
|
|
3037
3190
|
value: n,
|
|
3038
|
-
options:
|
|
3191
|
+
options: yt(O.val),
|
|
3039
3192
|
location: J
|
|
3040
3193
|
},
|
|
3041
3194
|
err: null
|
|
@@ -3043,7 +3196,7 @@ var Mi = (
|
|
|
3043
3196
|
val: {
|
|
3044
3197
|
type: P.plural,
|
|
3045
3198
|
value: n,
|
|
3046
|
-
options:
|
|
3199
|
+
options: yt(O.val),
|
|
3047
3200
|
offset: E,
|
|
3048
3201
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3049
3202
|
location: J
|
|
@@ -3052,10 +3205,10 @@ var Mi = (
|
|
|
3052
3205
|
};
|
|
3053
3206
|
}
|
|
3054
3207
|
default:
|
|
3055
|
-
return this.error(
|
|
3208
|
+
return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
|
|
3056
3209
|
}
|
|
3057
3210
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3058
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3211
|
+
return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3059
3212
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3060
3213
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3061
3214
|
var n = this.char();
|
|
@@ -3064,7 +3217,7 @@ var Mi = (
|
|
|
3064
3217
|
this.bump();
|
|
3065
3218
|
var i = this.clonePosition();
|
|
3066
3219
|
if (!this.bumpUntil("'"))
|
|
3067
|
-
return this.error(
|
|
3220
|
+
return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
|
|
3068
3221
|
this.bump();
|
|
3069
3222
|
break;
|
|
3070
3223
|
}
|
|
@@ -3094,52 +3247,52 @@ var Mi = (
|
|
|
3094
3247
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3095
3248
|
var n = [];
|
|
3096
3249
|
try {
|
|
3097
|
-
n =
|
|
3250
|
+
n = Nn(t);
|
|
3098
3251
|
} catch (i) {
|
|
3099
|
-
return this.error(
|
|
3252
|
+
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
3100
3253
|
}
|
|
3101
3254
|
return {
|
|
3102
3255
|
val: {
|
|
3103
|
-
type:
|
|
3256
|
+
type: ne.number,
|
|
3104
3257
|
tokens: n,
|
|
3105
3258
|
location: r,
|
|
3106
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3259
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
|
|
3107
3260
|
},
|
|
3108
3261
|
err: null
|
|
3109
3262
|
};
|
|
3110
3263
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3111
|
-
for (var o, a = !1, s = [],
|
|
3112
|
-
if (
|
|
3264
|
+
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
|
|
3265
|
+
if (u.length === 0) {
|
|
3113
3266
|
var d = this.clonePosition();
|
|
3114
3267
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3115
|
-
var m = this.tryParseDecimalInteger(
|
|
3268
|
+
var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3116
3269
|
if (m.err)
|
|
3117
3270
|
return m;
|
|
3118
|
-
|
|
3271
|
+
c = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
3119
3272
|
} else
|
|
3120
3273
|
break;
|
|
3121
3274
|
}
|
|
3122
|
-
if (
|
|
3123
|
-
return this.error(r === "select" ?
|
|
3124
|
-
|
|
3275
|
+
if (h.has(u))
|
|
3276
|
+
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3277
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3125
3278
|
var y = this.clonePosition();
|
|
3126
3279
|
if (!this.bumpIf("{"))
|
|
3127
|
-
return this.error(r === "select" ?
|
|
3128
|
-
var
|
|
3280
|
+
return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
|
|
3281
|
+
var f = this.parseMessage(t + 1, r, n);
|
|
3282
|
+
if (f.err)
|
|
3283
|
+
return f;
|
|
3284
|
+
var g = this.tryParseArgumentClose(y);
|
|
3129
3285
|
if (g.err)
|
|
3130
3286
|
return g;
|
|
3131
|
-
var p = this.tryParseArgumentClose(y);
|
|
3132
|
-
if (p.err)
|
|
3133
|
-
return p;
|
|
3134
3287
|
s.push([
|
|
3135
|
-
|
|
3288
|
+
u,
|
|
3136
3289
|
{
|
|
3137
|
-
value:
|
|
3138
|
-
location:
|
|
3290
|
+
value: f.val,
|
|
3291
|
+
location: N(y, this.clonePosition())
|
|
3139
3292
|
}
|
|
3140
|
-
]),
|
|
3293
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3141
3294
|
}
|
|
3142
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3295
|
+
return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3143
3296
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3144
3297
|
var n = 1, i = this.clonePosition();
|
|
3145
3298
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3150,8 +3303,8 @@ var Mi = (
|
|
|
3150
3303
|
else
|
|
3151
3304
|
break;
|
|
3152
3305
|
}
|
|
3153
|
-
var
|
|
3154
|
-
return o ? (a *= n,
|
|
3306
|
+
var h = N(i, this.clonePosition());
|
|
3307
|
+
return o ? (a *= n, Xn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3155
3308
|
}, e.prototype.offset = function() {
|
|
3156
3309
|
return this.position.offset;
|
|
3157
3310
|
}, e.prototype.isEOF = function() {
|
|
@@ -3166,7 +3319,7 @@ var Mi = (
|
|
|
3166
3319
|
var t = this.position.offset;
|
|
3167
3320
|
if (t >= this.message.length)
|
|
3168
3321
|
throw Error("out of bound");
|
|
3169
|
-
var r =
|
|
3322
|
+
var r = ir(this.message, t);
|
|
3170
3323
|
if (r === void 0)
|
|
3171
3324
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3172
3325
|
return r;
|
|
@@ -3185,7 +3338,7 @@ var Mi = (
|
|
|
3185
3338
|
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
3339
|
}
|
|
3187
3340
|
}, e.prototype.bumpIf = function(t) {
|
|
3188
|
-
if (
|
|
3341
|
+
if (_t(this.message, t, this.offset())) {
|
|
3189
3342
|
for (var r = 0; r < t.length; r++)
|
|
3190
3343
|
this.bump();
|
|
3191
3344
|
return !0;
|
|
@@ -3207,7 +3360,7 @@ var Mi = (
|
|
|
3207
3360
|
break;
|
|
3208
3361
|
}
|
|
3209
3362
|
}, e.prototype.bumpSpace = function() {
|
|
3210
|
-
for (; !this.isEOF() &&
|
|
3363
|
+
for (; !this.isEOF() && ar(this.char()); )
|
|
3211
3364
|
this.bump();
|
|
3212
3365
|
}, e.prototype.peek = function() {
|
|
3213
3366
|
if (this.isEOF())
|
|
@@ -3217,47 +3370,47 @@ var Mi = (
|
|
|
3217
3370
|
}, e;
|
|
3218
3371
|
}()
|
|
3219
3372
|
);
|
|
3220
|
-
function
|
|
3373
|
+
function Qe(e) {
|
|
3221
3374
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3222
3375
|
}
|
|
3223
|
-
function
|
|
3224
|
-
return
|
|
3376
|
+
function Qn(e) {
|
|
3377
|
+
return Qe(e) || e === 47;
|
|
3225
3378
|
}
|
|
3226
|
-
function
|
|
3379
|
+
function Yn(e) {
|
|
3227
3380
|
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
3381
|
}
|
|
3229
|
-
function
|
|
3382
|
+
function ar(e) {
|
|
3230
3383
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3231
3384
|
}
|
|
3232
|
-
function
|
|
3385
|
+
function Kn(e) {
|
|
3233
3386
|
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
3387
|
}
|
|
3235
|
-
function
|
|
3388
|
+
function Ye(e) {
|
|
3236
3389
|
e.forEach(function(t) {
|
|
3237
|
-
if (delete t.location,
|
|
3390
|
+
if (delete t.location, Qt(t) || Yt(t))
|
|
3238
3391
|
for (var r in t.options)
|
|
3239
|
-
delete t.options[r].location,
|
|
3392
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3240
3393
|
else
|
|
3241
|
-
|
|
3394
|
+
Wt(t) && $t(t.style) || (Zt(t) || Jt(t)) && qe(t.style) ? delete t.style.location : Kt(t) && Ye(t.children);
|
|
3242
3395
|
});
|
|
3243
3396
|
}
|
|
3244
|
-
function
|
|
3245
|
-
t === void 0 && (t = {}), t =
|
|
3246
|
-
var r = new
|
|
3397
|
+
function $n(e, t) {
|
|
3398
|
+
t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3399
|
+
var r = new Jn(e, t).parse();
|
|
3247
3400
|
if (r.err) {
|
|
3248
|
-
var n = SyntaxError(
|
|
3401
|
+
var n = SyntaxError(w[r.err.kind]);
|
|
3249
3402
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3250
3403
|
}
|
|
3251
|
-
return t != null && t.captureLocation ||
|
|
3404
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3252
3405
|
}
|
|
3253
|
-
var
|
|
3406
|
+
var ie;
|
|
3254
3407
|
(function(e) {
|
|
3255
3408
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3256
|
-
})(
|
|
3257
|
-
var
|
|
3409
|
+
})(ie || (ie = {}));
|
|
3410
|
+
var ze = (
|
|
3258
3411
|
/** @class */
|
|
3259
3412
|
function(e) {
|
|
3260
|
-
|
|
3413
|
+
Oe(t, e);
|
|
3261
3414
|
function t(r, n, i) {
|
|
3262
3415
|
var o = e.call(this, r) || this;
|
|
3263
3416
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3266,155 +3419,155 @@ var Ve = (
|
|
|
3266
3419
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3267
3420
|
}, t;
|
|
3268
3421
|
}(Error)
|
|
3269
|
-
),
|
|
3422
|
+
), kt = (
|
|
3270
3423
|
/** @class */
|
|
3271
3424
|
function(e) {
|
|
3272
|
-
|
|
3425
|
+
Oe(t, e);
|
|
3273
3426
|
function t(r, n, i, o) {
|
|
3274
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3427
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3275
3428
|
}
|
|
3276
3429
|
return t;
|
|
3277
|
-
}(
|
|
3278
|
-
),
|
|
3430
|
+
}(ze)
|
|
3431
|
+
), ei = (
|
|
3279
3432
|
/** @class */
|
|
3280
3433
|
function(e) {
|
|
3281
|
-
|
|
3434
|
+
Oe(t, e);
|
|
3282
3435
|
function t(r, n, i) {
|
|
3283
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3436
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3284
3437
|
}
|
|
3285
3438
|
return t;
|
|
3286
|
-
}(
|
|
3287
|
-
),
|
|
3439
|
+
}(ze)
|
|
3440
|
+
), ti = (
|
|
3288
3441
|
/** @class */
|
|
3289
3442
|
function(e) {
|
|
3290
|
-
|
|
3443
|
+
Oe(t, e);
|
|
3291
3444
|
function t(r, n) {
|
|
3292
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3445
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3293
3446
|
}
|
|
3294
3447
|
return t;
|
|
3295
|
-
}(
|
|
3296
|
-
),
|
|
3448
|
+
}(ze)
|
|
3449
|
+
), D;
|
|
3297
3450
|
(function(e) {
|
|
3298
3451
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3299
|
-
})(
|
|
3300
|
-
function
|
|
3452
|
+
})(D || (D = {}));
|
|
3453
|
+
function ri(e) {
|
|
3301
3454
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3302
3455
|
var n = t[t.length - 1];
|
|
3303
|
-
return !n || n.type !==
|
|
3456
|
+
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
3304
3457
|
}, []);
|
|
3305
3458
|
}
|
|
3306
|
-
function
|
|
3459
|
+
function ni(e) {
|
|
3307
3460
|
return typeof e == "function";
|
|
3308
3461
|
}
|
|
3309
|
-
function
|
|
3310
|
-
if (e.length === 1 &&
|
|
3462
|
+
function we(e, t, r, n, i, o, a) {
|
|
3463
|
+
if (e.length === 1 && mt(e[0]))
|
|
3311
3464
|
return [
|
|
3312
3465
|
{
|
|
3313
|
-
type:
|
|
3466
|
+
type: D.literal,
|
|
3314
3467
|
value: e[0].value
|
|
3315
3468
|
}
|
|
3316
3469
|
];
|
|
3317
|
-
for (var s = [],
|
|
3318
|
-
var
|
|
3319
|
-
if (
|
|
3470
|
+
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3471
|
+
var c = u[h];
|
|
3472
|
+
if (mt(c)) {
|
|
3320
3473
|
s.push({
|
|
3321
|
-
type:
|
|
3322
|
-
value:
|
|
3474
|
+
type: D.literal,
|
|
3475
|
+
value: c.value
|
|
3323
3476
|
});
|
|
3324
3477
|
continue;
|
|
3325
3478
|
}
|
|
3326
|
-
if (
|
|
3479
|
+
if (xn(c)) {
|
|
3327
3480
|
typeof o == "number" && s.push({
|
|
3328
|
-
type:
|
|
3481
|
+
type: D.literal,
|
|
3329
3482
|
value: r.getNumberFormat(t).format(o)
|
|
3330
3483
|
});
|
|
3331
3484
|
continue;
|
|
3332
3485
|
}
|
|
3333
|
-
var d =
|
|
3486
|
+
var d = c.value;
|
|
3334
3487
|
if (!(i && d in i))
|
|
3335
|
-
throw new
|
|
3488
|
+
throw new ti(d, a);
|
|
3336
3489
|
var m = i[d];
|
|
3337
|
-
if (
|
|
3490
|
+
if (Sn(c)) {
|
|
3338
3491
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3339
|
-
type: typeof m == "string" ?
|
|
3492
|
+
type: typeof m == "string" ? D.literal : D.object,
|
|
3340
3493
|
value: m
|
|
3341
3494
|
});
|
|
3342
3495
|
continue;
|
|
3343
3496
|
}
|
|
3344
|
-
if (
|
|
3345
|
-
var y = typeof
|
|
3497
|
+
if (Zt(c)) {
|
|
3498
|
+
var y = typeof c.style == "string" ? n.date[c.style] : qe(c.style) ? c.style.parsedOptions : void 0;
|
|
3346
3499
|
s.push({
|
|
3347
|
-
type:
|
|
3500
|
+
type: D.literal,
|
|
3348
3501
|
value: r.getDateTimeFormat(t, y).format(m)
|
|
3349
3502
|
});
|
|
3350
3503
|
continue;
|
|
3351
3504
|
}
|
|
3352
|
-
if (
|
|
3353
|
-
var y = typeof
|
|
3505
|
+
if (Jt(c)) {
|
|
3506
|
+
var y = typeof c.style == "string" ? n.time[c.style] : qe(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3354
3507
|
s.push({
|
|
3355
|
-
type:
|
|
3508
|
+
type: D.literal,
|
|
3356
3509
|
value: r.getDateTimeFormat(t, y).format(m)
|
|
3357
3510
|
});
|
|
3358
3511
|
continue;
|
|
3359
3512
|
}
|
|
3360
|
-
if (
|
|
3361
|
-
var y = typeof
|
|
3513
|
+
if (Wt(c)) {
|
|
3514
|
+
var y = typeof c.style == "string" ? n.number[c.style] : $t(c.style) ? c.style.parsedOptions : void 0;
|
|
3362
3515
|
y && y.scale && (m = m * (y.scale || 1)), s.push({
|
|
3363
|
-
type:
|
|
3516
|
+
type: D.literal,
|
|
3364
3517
|
value: r.getNumberFormat(t, y).format(m)
|
|
3365
3518
|
});
|
|
3366
3519
|
continue;
|
|
3367
3520
|
}
|
|
3368
|
-
if (
|
|
3369
|
-
var
|
|
3370
|
-
if (!
|
|
3371
|
-
throw new
|
|
3372
|
-
var _ =
|
|
3521
|
+
if (Kt(c)) {
|
|
3522
|
+
var f = c.children, g = c.value, S = i[g];
|
|
3523
|
+
if (!ni(S))
|
|
3524
|
+
throw new ei(g, "function", a);
|
|
3525
|
+
var _ = we(f, t, r, n, i, o), v = S(_.map(function(E) {
|
|
3373
3526
|
return E.value;
|
|
3374
3527
|
}));
|
|
3375
3528
|
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
|
|
3376
3529
|
return {
|
|
3377
|
-
type: typeof E == "string" ?
|
|
3530
|
+
type: typeof E == "string" ? D.literal : D.object,
|
|
3378
3531
|
value: E
|
|
3379
3532
|
};
|
|
3380
3533
|
}));
|
|
3381
3534
|
}
|
|
3382
|
-
if (
|
|
3383
|
-
var C =
|
|
3535
|
+
if (Qt(c)) {
|
|
3536
|
+
var C = c.options[m] || c.options.other;
|
|
3384
3537
|
if (!C)
|
|
3385
|
-
throw new
|
|
3386
|
-
s.push.apply(s,
|
|
3538
|
+
throw new kt(c.value, m, Object.keys(c.options), a);
|
|
3539
|
+
s.push.apply(s, we(C.value, t, r, n, i));
|
|
3387
3540
|
continue;
|
|
3388
3541
|
}
|
|
3389
|
-
if (
|
|
3390
|
-
var C =
|
|
3542
|
+
if (Yt(c)) {
|
|
3543
|
+
var C = c.options["=".concat(m)];
|
|
3391
3544
|
if (!C) {
|
|
3392
3545
|
if (!Intl.PluralRules)
|
|
3393
|
-
throw new
|
|
3546
|
+
throw new ze(`Intl.PluralRules is not available in this environment.
|
|
3394
3547
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3395
|
-
`,
|
|
3396
|
-
var H = r.getPluralRules(t, { type:
|
|
3397
|
-
C =
|
|
3548
|
+
`, ie.MISSING_INTL_API, a);
|
|
3549
|
+
var H = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
|
|
3550
|
+
C = c.options[H] || c.options.other;
|
|
3398
3551
|
}
|
|
3399
3552
|
if (!C)
|
|
3400
|
-
throw new
|
|
3401
|
-
s.push.apply(s,
|
|
3553
|
+
throw new kt(c.value, m, Object.keys(c.options), a);
|
|
3554
|
+
s.push.apply(s, we(C.value, t, r, n, i, m - (c.offset || 0)));
|
|
3402
3555
|
continue;
|
|
3403
3556
|
}
|
|
3404
3557
|
}
|
|
3405
|
-
return
|
|
3558
|
+
return ri(s);
|
|
3406
3559
|
}
|
|
3407
|
-
function
|
|
3408
|
-
return t ?
|
|
3409
|
-
return r[n] =
|
|
3560
|
+
function ii(e, t) {
|
|
3561
|
+
return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3562
|
+
return r[n] = q(q({}, e[n]), t[n] || {}), r;
|
|
3410
3563
|
}, {})) : e;
|
|
3411
3564
|
}
|
|
3412
|
-
function
|
|
3565
|
+
function oi(e, t) {
|
|
3413
3566
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3414
|
-
return r[n] =
|
|
3415
|
-
},
|
|
3567
|
+
return r[n] = ii(e[n], t[n]), r;
|
|
3568
|
+
}, q({}, e)) : e;
|
|
3416
3569
|
}
|
|
3417
|
-
function
|
|
3570
|
+
function Fe(e) {
|
|
3418
3571
|
return {
|
|
3419
3572
|
create: function() {
|
|
3420
3573
|
return {
|
|
@@ -3428,39 +3581,39 @@ function rt(e) {
|
|
|
3428
3581
|
}
|
|
3429
3582
|
};
|
|
3430
3583
|
}
|
|
3431
|
-
function
|
|
3584
|
+
function ai(e) {
|
|
3432
3585
|
return e === void 0 && (e = {
|
|
3433
3586
|
number: {},
|
|
3434
3587
|
dateTime: {},
|
|
3435
3588
|
pluralRules: {}
|
|
3436
3589
|
}), {
|
|
3437
|
-
getNumberFormat:
|
|
3590
|
+
getNumberFormat: Ue(function() {
|
|
3438
3591
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3439
3592
|
r[n] = arguments[n];
|
|
3440
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3593
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
3441
3594
|
}, {
|
|
3442
|
-
cache:
|
|
3443
|
-
strategy:
|
|
3595
|
+
cache: Fe(e.number),
|
|
3596
|
+
strategy: De.variadic
|
|
3444
3597
|
}),
|
|
3445
|
-
getDateTimeFormat:
|
|
3598
|
+
getDateTimeFormat: Ue(function() {
|
|
3446
3599
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3447
3600
|
r[n] = arguments[n];
|
|
3448
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3601
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
3449
3602
|
}, {
|
|
3450
|
-
cache:
|
|
3451
|
-
strategy:
|
|
3603
|
+
cache: Fe(e.dateTime),
|
|
3604
|
+
strategy: De.variadic
|
|
3452
3605
|
}),
|
|
3453
|
-
getPluralRules:
|
|
3606
|
+
getPluralRules: Ue(function() {
|
|
3454
3607
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3455
3608
|
r[n] = arguments[n];
|
|
3456
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3609
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
3457
3610
|
}, {
|
|
3458
|
-
cache:
|
|
3459
|
-
strategy:
|
|
3611
|
+
cache: Fe(e.pluralRules),
|
|
3612
|
+
strategy: De.variadic
|
|
3460
3613
|
})
|
|
3461
3614
|
};
|
|
3462
3615
|
}
|
|
3463
|
-
var
|
|
3616
|
+
var si = (
|
|
3464
3617
|
/** @class */
|
|
3465
3618
|
function() {
|
|
3466
3619
|
function e(t, r, n, i) {
|
|
@@ -3470,20 +3623,20 @@ var Ui = (
|
|
|
3470
3623
|
number: {},
|
|
3471
3624
|
dateTime: {},
|
|
3472
3625
|
pluralRules: {}
|
|
3473
|
-
}, this.format = function(
|
|
3474
|
-
var
|
|
3475
|
-
if (
|
|
3476
|
-
return
|
|
3477
|
-
var
|
|
3478
|
-
return !d.length || m.type !==
|
|
3626
|
+
}, this.format = function(h) {
|
|
3627
|
+
var u = o.formatToParts(h);
|
|
3628
|
+
if (u.length === 1)
|
|
3629
|
+
return u[0].value;
|
|
3630
|
+
var c = u.reduce(function(d, m) {
|
|
3631
|
+
return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
|
|
3479
3632
|
}, []);
|
|
3480
|
-
return
|
|
3481
|
-
}, this.formatToParts = function(
|
|
3482
|
-
return
|
|
3633
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3634
|
+
}, this.formatToParts = function(h) {
|
|
3635
|
+
return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3483
3636
|
}, this.resolvedOptions = function() {
|
|
3484
|
-
var
|
|
3637
|
+
var h;
|
|
3485
3638
|
return {
|
|
3486
|
-
locale: ((
|
|
3639
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3487
3640
|
};
|
|
3488
3641
|
}, this.getAst = function() {
|
|
3489
3642
|
return o.ast;
|
|
@@ -3491,13 +3644,13 @@ var Ui = (
|
|
|
3491
3644
|
if (this.message = t, !e.__parse)
|
|
3492
3645
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3493
3646
|
var a = i || {};
|
|
3494
|
-
var s =
|
|
3495
|
-
this.ast = e.__parse(t,
|
|
3647
|
+
var s = fn(a, ["formatters"]);
|
|
3648
|
+
this.ast = e.__parse(t, q(q({}, s), { locale: this.resolvedLocale }));
|
|
3496
3649
|
} else
|
|
3497
3650
|
this.ast = t;
|
|
3498
3651
|
if (!Array.isArray(this.ast))
|
|
3499
3652
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3500
|
-
this.formats =
|
|
3653
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
|
|
3501
3654
|
}
|
|
3502
3655
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3503
3656
|
get: function() {
|
|
@@ -3510,7 +3663,7 @@ var Ui = (
|
|
|
3510
3663
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3511
3664
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3512
3665
|
}
|
|
3513
|
-
}, e.__parse =
|
|
3666
|
+
}, e.__parse = $n, e.formats = {
|
|
3514
3667
|
number: {
|
|
3515
3668
|
integer: {
|
|
3516
3669
|
maximumFractionDigits: 0
|
|
@@ -3571,7 +3724,7 @@ var Ui = (
|
|
|
3571
3724
|
}, e;
|
|
3572
3725
|
}()
|
|
3573
3726
|
);
|
|
3574
|
-
function
|
|
3727
|
+
function li(e, t) {
|
|
3575
3728
|
if (t == null)
|
|
3576
3729
|
return;
|
|
3577
3730
|
if (t in e)
|
|
@@ -3592,92 +3745,92 @@ function Di(e, t) {
|
|
|
3592
3745
|
n = void 0;
|
|
3593
3746
|
return n;
|
|
3594
3747
|
}
|
|
3595
|
-
const Y = {},
|
|
3748
|
+
const Y = {}, ci = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), sr = (e, t) => {
|
|
3596
3749
|
if (t == null)
|
|
3597
3750
|
return;
|
|
3598
3751
|
if (t in Y && e in Y[t])
|
|
3599
3752
|
return Y[t][e];
|
|
3600
|
-
const r =
|
|
3753
|
+
const r = Ie(t);
|
|
3601
3754
|
for (let n = 0; n < r.length; n++) {
|
|
3602
|
-
const i = r[n], o =
|
|
3755
|
+
const i = r[n], o = hi(i, e);
|
|
3603
3756
|
if (o)
|
|
3604
|
-
return
|
|
3757
|
+
return ci(e, t, o);
|
|
3605
3758
|
}
|
|
3606
3759
|
};
|
|
3607
|
-
let
|
|
3608
|
-
const
|
|
3609
|
-
function
|
|
3610
|
-
return
|
|
3760
|
+
let rt;
|
|
3761
|
+
const ke = Be({});
|
|
3762
|
+
function ui(e) {
|
|
3763
|
+
return rt[e] || null;
|
|
3611
3764
|
}
|
|
3612
|
-
function
|
|
3613
|
-
return e in
|
|
3765
|
+
function lr(e) {
|
|
3766
|
+
return e in rt;
|
|
3614
3767
|
}
|
|
3615
|
-
function
|
|
3616
|
-
if (!
|
|
3768
|
+
function hi(e, t) {
|
|
3769
|
+
if (!lr(e))
|
|
3617
3770
|
return null;
|
|
3618
|
-
const r =
|
|
3619
|
-
return
|
|
3771
|
+
const r = ui(e);
|
|
3772
|
+
return li(r, t);
|
|
3620
3773
|
}
|
|
3621
|
-
function
|
|
3774
|
+
function di(e) {
|
|
3622
3775
|
if (e == null)
|
|
3623
3776
|
return;
|
|
3624
|
-
const t =
|
|
3777
|
+
const t = Ie(e);
|
|
3625
3778
|
for (let r = 0; r < t.length; r++) {
|
|
3626
3779
|
const n = t[r];
|
|
3627
|
-
if (
|
|
3780
|
+
if (lr(n))
|
|
3628
3781
|
return n;
|
|
3629
3782
|
}
|
|
3630
3783
|
}
|
|
3631
|
-
function
|
|
3632
|
-
delete Y[e],
|
|
3784
|
+
function cr(e, ...t) {
|
|
3785
|
+
delete Y[e], ke.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
|
|
3633
3786
|
}
|
|
3634
|
-
|
|
3635
|
-
[
|
|
3787
|
+
ae(
|
|
3788
|
+
[ke],
|
|
3636
3789
|
([e]) => Object.keys(e)
|
|
3637
3790
|
);
|
|
3638
|
-
|
|
3639
|
-
const
|
|
3640
|
-
function
|
|
3641
|
-
|
|
3791
|
+
ke.subscribe((e) => rt = e);
|
|
3792
|
+
const Ne = {};
|
|
3793
|
+
function mi(e, t) {
|
|
3794
|
+
Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
|
|
3642
3795
|
}
|
|
3643
|
-
function
|
|
3644
|
-
return
|
|
3796
|
+
function ur(e) {
|
|
3797
|
+
return Ne[e];
|
|
3645
3798
|
}
|
|
3646
|
-
function
|
|
3647
|
-
return
|
|
3648
|
-
const r =
|
|
3799
|
+
function pi(e) {
|
|
3800
|
+
return Ie(e).map((t) => {
|
|
3801
|
+
const r = ur(t);
|
|
3649
3802
|
return [t, r ? [...r] : []];
|
|
3650
3803
|
}).filter(([, t]) => t.length > 0);
|
|
3651
3804
|
}
|
|
3652
|
-
function
|
|
3653
|
-
return e == null ? !1 :
|
|
3805
|
+
function Ke(e) {
|
|
3806
|
+
return e == null ? !1 : Ie(e).some(
|
|
3654
3807
|
(t) => {
|
|
3655
3808
|
var r;
|
|
3656
|
-
return (r =
|
|
3809
|
+
return (r = ur(t)) == null ? void 0 : r.size;
|
|
3657
3810
|
}
|
|
3658
3811
|
);
|
|
3659
3812
|
}
|
|
3660
|
-
function
|
|
3813
|
+
function gi(e, t) {
|
|
3661
3814
|
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
|
|
3815
|
+
t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
|
|
3816
|
+
).then((n) => cr(e, ...n));
|
|
3817
|
+
}
|
|
3818
|
+
const pe = {};
|
|
3819
|
+
function hr(e) {
|
|
3820
|
+
if (!Ke(e))
|
|
3821
|
+
return e in pe ? pe[e] : Promise.resolve();
|
|
3822
|
+
const t = pi(e);
|
|
3823
|
+
return pe[e] = Promise.all(
|
|
3671
3824
|
t.map(
|
|
3672
|
-
([r, n]) =>
|
|
3825
|
+
([r, n]) => gi(r, n)
|
|
3673
3826
|
)
|
|
3674
3827
|
).then(() => {
|
|
3675
|
-
if (
|
|
3676
|
-
return
|
|
3677
|
-
delete
|
|
3678
|
-
}),
|
|
3828
|
+
if (Ke(e))
|
|
3829
|
+
return hr(e);
|
|
3830
|
+
delete pe[e];
|
|
3831
|
+
}), pe[e];
|
|
3679
3832
|
}
|
|
3680
|
-
const
|
|
3833
|
+
const fi = {
|
|
3681
3834
|
number: {
|
|
3682
3835
|
scientific: { notation: "scientific" },
|
|
3683
3836
|
engineering: { notation: "engineering" },
|
|
@@ -3706,159 +3859,159 @@ const Zi = {
|
|
|
3706
3859
|
timeZoneName: "short"
|
|
3707
3860
|
}
|
|
3708
3861
|
}
|
|
3709
|
-
},
|
|
3862
|
+
}, _i = {
|
|
3710
3863
|
fallbackLocale: null,
|
|
3711
3864
|
loadingDelay: 200,
|
|
3712
|
-
formats:
|
|
3865
|
+
formats: fi,
|
|
3713
3866
|
warnOnMissingMessages: !0,
|
|
3714
3867
|
handleMissingMessage: void 0,
|
|
3715
3868
|
ignoreTag: !0
|
|
3716
|
-
},
|
|
3717
|
-
function
|
|
3718
|
-
return
|
|
3869
|
+
}, yi = _i;
|
|
3870
|
+
function oe() {
|
|
3871
|
+
return yi;
|
|
3719
3872
|
}
|
|
3720
|
-
const
|
|
3721
|
-
var
|
|
3873
|
+
const Ve = Be(!1);
|
|
3874
|
+
var vi = Object.defineProperty, ki = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
|
|
3722
3875
|
for (var r in t || (t = {}))
|
|
3723
|
-
|
|
3724
|
-
if (
|
|
3725
|
-
for (var r of
|
|
3726
|
-
|
|
3876
|
+
Ei.call(t, r) && Et(e, r, t[r]);
|
|
3877
|
+
if (bt)
|
|
3878
|
+
for (var r of bt(t))
|
|
3879
|
+
Ci.call(t, r) && Et(e, r, t[r]);
|
|
3727
3880
|
return e;
|
|
3728
|
-
},
|
|
3729
|
-
let
|
|
3730
|
-
const
|
|
3731
|
-
function
|
|
3881
|
+
}, xi = (e, t) => ki(e, bi(t));
|
|
3882
|
+
let $e;
|
|
3883
|
+
const He = Be(null);
|
|
3884
|
+
function Ct(e) {
|
|
3732
3885
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3733
3886
|
}
|
|
3734
|
-
function
|
|
3735
|
-
const r =
|
|
3736
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3887
|
+
function Ie(e, t = oe().fallbackLocale) {
|
|
3888
|
+
const r = Ct(e);
|
|
3889
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
3737
3890
|
}
|
|
3738
|
-
function
|
|
3739
|
-
return
|
|
3891
|
+
function $() {
|
|
3892
|
+
return $e != null ? $e : void 0;
|
|
3740
3893
|
}
|
|
3741
|
-
|
|
3742
|
-
|
|
3894
|
+
He.subscribe((e) => {
|
|
3895
|
+
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3743
3896
|
});
|
|
3744
|
-
const
|
|
3745
|
-
if (e &&
|
|
3746
|
-
const { loadingDelay: t } =
|
|
3897
|
+
const Ti = (e) => {
|
|
3898
|
+
if (e && di(e) && Ke(e)) {
|
|
3899
|
+
const { loadingDelay: t } = oe();
|
|
3747
3900
|
let r;
|
|
3748
|
-
return typeof window != "undefined" &&
|
|
3749
|
-
() =>
|
|
3901
|
+
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
|
3902
|
+
() => Ve.set(!0),
|
|
3750
3903
|
t
|
|
3751
|
-
) :
|
|
3752
|
-
|
|
3904
|
+
) : Ve.set(!0), hr(e).then(() => {
|
|
3905
|
+
He.set(e);
|
|
3753
3906
|
}).finally(() => {
|
|
3754
|
-
clearTimeout(r),
|
|
3907
|
+
clearTimeout(r), Ve.set(!1);
|
|
3755
3908
|
});
|
|
3756
3909
|
}
|
|
3757
|
-
return
|
|
3758
|
-
},
|
|
3759
|
-
set:
|
|
3760
|
-
}),
|
|
3910
|
+
return He.set(e);
|
|
3911
|
+
}, se = xi(Si({}, He), {
|
|
3912
|
+
set: Ti
|
|
3913
|
+
}), je = (e) => {
|
|
3761
3914
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3762
3915
|
return (n) => {
|
|
3763
3916
|
const i = JSON.stringify(n);
|
|
3764
3917
|
return i in t ? t[i] : t[i] = e(n);
|
|
3765
3918
|
};
|
|
3766
3919
|
};
|
|
3767
|
-
var
|
|
3920
|
+
var Mi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
3768
3921
|
for (var r in t || (t = {}))
|
|
3769
|
-
|
|
3770
|
-
if (
|
|
3771
|
-
for (var r of
|
|
3772
|
-
|
|
3922
|
+
dr.call(t, r) && St(e, r, t[r]);
|
|
3923
|
+
if (Pe)
|
|
3924
|
+
for (var r of Pe(t))
|
|
3925
|
+
mr.call(t, r) && St(e, r, t[r]);
|
|
3773
3926
|
return e;
|
|
3774
|
-
},
|
|
3927
|
+
}, le = (e, t) => {
|
|
3775
3928
|
var r = {};
|
|
3776
3929
|
for (var n in e)
|
|
3777
|
-
|
|
3778
|
-
if (e != null &&
|
|
3779
|
-
for (var n of
|
|
3780
|
-
t.indexOf(n) < 0 &&
|
|
3930
|
+
dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3931
|
+
if (e != null && Pe)
|
|
3932
|
+
for (var n of Pe(e))
|
|
3933
|
+
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
3781
3934
|
return r;
|
|
3782
3935
|
};
|
|
3783
|
-
const
|
|
3784
|
-
const { formats: r } =
|
|
3936
|
+
const _e = (e, t) => {
|
|
3937
|
+
const { formats: r } = oe();
|
|
3785
3938
|
if (e in r && t in r[e])
|
|
3786
3939
|
return r[e][t];
|
|
3787
3940
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3788
|
-
},
|
|
3941
|
+
}, wi = je(
|
|
3789
3942
|
(e) => {
|
|
3790
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3943
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
3791
3944
|
if (r == null)
|
|
3792
3945
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3793
|
-
return n && (i =
|
|
3946
|
+
return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
|
|
3794
3947
|
}
|
|
3795
|
-
),
|
|
3948
|
+
), Ni = je(
|
|
3796
3949
|
(e) => {
|
|
3797
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3950
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
3798
3951
|
if (r == null)
|
|
3799
3952
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3800
|
-
return n ? i =
|
|
3953
|
+
return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3801
3954
|
}
|
|
3802
|
-
),
|
|
3955
|
+
), Ai = je(
|
|
3803
3956
|
(e) => {
|
|
3804
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3957
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
3805
3958
|
if (r == null)
|
|
3806
3959
|
throw new Error(
|
|
3807
3960
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3808
3961
|
);
|
|
3809
|
-
return n ? i =
|
|
3962
|
+
return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3810
3963
|
}
|
|
3811
|
-
),
|
|
3964
|
+
), Hi = (e = {}) => {
|
|
3812
3965
|
var t = e, {
|
|
3813
|
-
locale: r =
|
|
3814
|
-
} = t, n =
|
|
3966
|
+
locale: r = $()
|
|
3967
|
+
} = t, n = le(t, [
|
|
3815
3968
|
"locale"
|
|
3816
3969
|
]);
|
|
3817
|
-
return
|
|
3818
|
-
},
|
|
3970
|
+
return wi(nt({ locale: r }, n));
|
|
3971
|
+
}, Pi = (e = {}) => {
|
|
3819
3972
|
var t = e, {
|
|
3820
|
-
locale: r =
|
|
3821
|
-
} = t, n =
|
|
3973
|
+
locale: r = $()
|
|
3974
|
+
} = t, n = le(t, [
|
|
3822
3975
|
"locale"
|
|
3823
3976
|
]);
|
|
3824
|
-
return
|
|
3825
|
-
},
|
|
3977
|
+
return Ni(nt({ locale: r }, n));
|
|
3978
|
+
}, Bi = (e = {}) => {
|
|
3826
3979
|
var t = e, {
|
|
3827
|
-
locale: r =
|
|
3828
|
-
} = t, n =
|
|
3980
|
+
locale: r = $()
|
|
3981
|
+
} = t, n = le(t, [
|
|
3829
3982
|
"locale"
|
|
3830
3983
|
]);
|
|
3831
|
-
return
|
|
3832
|
-
},
|
|
3984
|
+
return Ai(nt({ locale: r }, n));
|
|
3985
|
+
}, Oi = je(
|
|
3833
3986
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3834
|
-
(e, t =
|
|
3835
|
-
ignoreTag:
|
|
3987
|
+
(e, t = $()) => new si(e, t, oe().formats, {
|
|
3988
|
+
ignoreTag: oe().ignoreTag
|
|
3836
3989
|
})
|
|
3837
|
-
),
|
|
3990
|
+
), zi = (e, t = {}) => {
|
|
3838
3991
|
var r, n, i, o;
|
|
3839
3992
|
let a = t;
|
|
3840
3993
|
typeof e == "object" && (a = e, e = a.id);
|
|
3841
3994
|
const {
|
|
3842
3995
|
values: s,
|
|
3843
|
-
locale:
|
|
3844
|
-
default:
|
|
3996
|
+
locale: h = $(),
|
|
3997
|
+
default: u
|
|
3845
3998
|
} = a;
|
|
3846
|
-
if (
|
|
3999
|
+
if (h == null)
|
|
3847
4000
|
throw new Error(
|
|
3848
4001
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3849
4002
|
);
|
|
3850
|
-
let
|
|
3851
|
-
if (!
|
|
3852
|
-
|
|
3853
|
-
else if (typeof
|
|
4003
|
+
let c = sr(e, h);
|
|
4004
|
+
if (!c)
|
|
4005
|
+
c = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4006
|
+
else if (typeof c != "string")
|
|
3854
4007
|
return console.warn(
|
|
3855
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3856
|
-
),
|
|
4008
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4009
|
+
), c;
|
|
3857
4010
|
if (!s)
|
|
3858
|
-
return
|
|
3859
|
-
let d =
|
|
4011
|
+
return c;
|
|
4012
|
+
let d = c;
|
|
3860
4013
|
try {
|
|
3861
|
-
d =
|
|
4014
|
+
d = Oi(c, h).format(s);
|
|
3862
4015
|
} catch (m) {
|
|
3863
4016
|
m instanceof Error && console.warn(
|
|
3864
4017
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3866,18 +4019,18 @@ const we = (e, t) => {
|
|
|
3866
4019
|
);
|
|
3867
4020
|
}
|
|
3868
4021
|
return d;
|
|
3869
|
-
},
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
function
|
|
3875
|
-
|
|
3876
|
-
}
|
|
3877
|
-
function
|
|
3878
|
-
|
|
3879
|
-
}
|
|
3880
|
-
const
|
|
4022
|
+
}, Ii = (e, t) => Bi(t).format(e), ji = (e, t) => Pi(t).format(e), Li = (e, t) => Hi(t).format(e), Ri = (e, t = $()) => sr(e, t), Ui = ae([se, ke], () => zi);
|
|
4023
|
+
ae([se], () => Ii);
|
|
4024
|
+
ae([se], () => ji);
|
|
4025
|
+
ae([se], () => Li);
|
|
4026
|
+
ae([se, ke], () => Ri);
|
|
4027
|
+
function xt(e, t) {
|
|
4028
|
+
cr(e, t);
|
|
4029
|
+
}
|
|
4030
|
+
function Di(e) {
|
|
4031
|
+
se.set(e);
|
|
4032
|
+
}
|
|
4033
|
+
const Tt = {
|
|
3881
4034
|
en: {
|
|
3882
4035
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
3883
4036
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -4449,64 +4602,64 @@ if (typeof window != "undefined") {
|
|
|
4449
4602
|
}
|
|
4450
4603
|
};
|
|
4451
4604
|
};
|
|
4452
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return
|
|
4605
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingC1pQ_j2M; }).then((t) => t.G).then(({ default: t }) => {
|
|
4453
4606
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
4454
4607
|
});
|
|
4455
4608
|
}
|
|
4456
|
-
function
|
|
4609
|
+
function Gi(e) {
|
|
4457
4610
|
let t, r;
|
|
4458
4611
|
return {
|
|
4459
4612
|
c() {
|
|
4460
|
-
t = it("svg"), r = it("path"),
|
|
4613
|
+
t = it("svg"), r = it("path"), I(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"), I(t, "xmlns", "http://www.w3.org/2000/svg"), I(t, "viewBox", "0 0 512 512");
|
|
4461
4614
|
},
|
|
4462
4615
|
m(n, i) {
|
|
4463
|
-
|
|
4616
|
+
N$1(n, t, i), tt(t, r);
|
|
4464
4617
|
},
|
|
4465
|
-
p:
|
|
4466
|
-
i:
|
|
4467
|
-
o:
|
|
4618
|
+
p: h,
|
|
4619
|
+
i: h,
|
|
4620
|
+
o: h,
|
|
4468
4621
|
d(n) {
|
|
4469
|
-
n &&
|
|
4622
|
+
n && x(t);
|
|
4470
4623
|
}
|
|
4471
4624
|
};
|
|
4472
4625
|
}
|
|
4473
|
-
class
|
|
4626
|
+
class Fi extends yt$1 {
|
|
4474
4627
|
constructor(t) {
|
|
4475
|
-
super(),
|
|
4628
|
+
super(), bt$1(this, t, null, Gi, Q, {});
|
|
4476
4629
|
}
|
|
4477
4630
|
}
|
|
4478
|
-
customElements.define("circle-exclamation-icon",
|
|
4479
|
-
function
|
|
4480
|
-
|
|
4631
|
+
customElements.define("circle-exclamation-icon", gt$1(Fi, {}, [], [], !0));
|
|
4632
|
+
function Vi(e) {
|
|
4633
|
+
et(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}');
|
|
4481
4634
|
}
|
|
4482
|
-
function
|
|
4635
|
+
function Mt(e, t, r) {
|
|
4483
4636
|
const n = e.slice();
|
|
4484
4637
|
return n[65] = t[r], n;
|
|
4485
4638
|
}
|
|
4486
|
-
function
|
|
4639
|
+
function wt(e, t, r) {
|
|
4487
4640
|
const n = e.slice();
|
|
4488
4641
|
return n[62] = t[r], n[63] = t, n[64] = r, n;
|
|
4489
4642
|
}
|
|
4490
|
-
function
|
|
4643
|
+
function Nt(e, t, r) {
|
|
4491
4644
|
const n = e.slice();
|
|
4492
4645
|
return n[65] = t[r], n;
|
|
4493
4646
|
}
|
|
4494
|
-
function
|
|
4495
|
-
let t, r, n =
|
|
4647
|
+
function Xi(e) {
|
|
4648
|
+
let t, r, n = Gt(
|
|
4496
4649
|
/*playerConsents*/
|
|
4497
4650
|
e[9]
|
|
4498
4651
|
), i = [];
|
|
4499
4652
|
for (let o = 0; o < n.length; o += 1)
|
|
4500
|
-
i[o] =
|
|
4653
|
+
i[o] = At(Mt(e, n, o));
|
|
4501
4654
|
return {
|
|
4502
4655
|
c() {
|
|
4503
|
-
t =
|
|
4656
|
+
t = E("div"), r = E("form");
|
|
4504
4657
|
for (let o = 0; o < i.length; o += 1)
|
|
4505
4658
|
i[o].c();
|
|
4506
|
-
|
|
4659
|
+
I(r, "class", "checkbox svelte-etk3ty"), I(t, "class", "legacyStyle");
|
|
4507
4660
|
},
|
|
4508
4661
|
m(o, a) {
|
|
4509
|
-
|
|
4662
|
+
N$1(o, t, a), tt(t, r);
|
|
4510
4663
|
for (let s = 0; s < i.length; s += 1)
|
|
4511
4664
|
i[s] && i[s].m(r, null);
|
|
4512
4665
|
e[32](r);
|
|
@@ -4514,14 +4667,14 @@ function xo(e) {
|
|
|
4514
4667
|
p(o, a) {
|
|
4515
4668
|
if (a[0] & /*playerConsents, translate, handleInput*/
|
|
4516
4669
|
1180160) {
|
|
4517
|
-
n =
|
|
4670
|
+
n = Gt(
|
|
4518
4671
|
/*playerConsents*/
|
|
4519
4672
|
o[9]
|
|
4520
4673
|
);
|
|
4521
4674
|
let s;
|
|
4522
4675
|
for (s = 0; s < n.length; s += 1) {
|
|
4523
|
-
const
|
|
4524
|
-
i[s] ? i[s].p(
|
|
4676
|
+
const h = Mt(o, n, s);
|
|
4677
|
+
i[s] ? i[s].p(h, a) : (i[s] = At(h), i[s].c(), i[s].m(r, null));
|
|
4525
4678
|
}
|
|
4526
4679
|
for (; s < i.length; s += 1)
|
|
4527
4680
|
i[s].d(1);
|
|
@@ -4529,11 +4682,11 @@ function xo(e) {
|
|
|
4529
4682
|
}
|
|
4530
4683
|
},
|
|
4531
4684
|
d(o) {
|
|
4532
|
-
o &&
|
|
4685
|
+
o && x(t), Ot$1(i, o), e[32](null);
|
|
4533
4686
|
}
|
|
4534
4687
|
};
|
|
4535
4688
|
}
|
|
4536
|
-
function
|
|
4689
|
+
function qi(e) {
|
|
4537
4690
|
let t = (
|
|
4538
4691
|
/*$_*/
|
|
4539
4692
|
e[16]("title") || /*$_*/
|
|
@@ -4541,49 +4694,49 @@ function wo(e) {
|
|
|
4541
4694
|
), r, n, i, o = (
|
|
4542
4695
|
/*$_*/
|
|
4543
4696
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
4544
|
-
), a, s,
|
|
4697
|
+
), a, s, h, u, c, d = t && Ht(e), m = Gt(
|
|
4545
4698
|
/*consentsCategories*/
|
|
4546
4699
|
e[8]
|
|
4547
4700
|
), y = [];
|
|
4548
|
-
for (let
|
|
4549
|
-
y[
|
|
4550
|
-
let
|
|
4701
|
+
for (let g = 0; g < m.length; g += 1)
|
|
4702
|
+
y[g] = jt(wt(e, m, g));
|
|
4703
|
+
let f = (
|
|
4551
4704
|
/*errorMessage*/
|
|
4552
|
-
e[6] &&
|
|
4705
|
+
e[6] && Lt(e)
|
|
4553
4706
|
);
|
|
4554
4707
|
return {
|
|
4555
4708
|
c() {
|
|
4556
|
-
d && d.c(), r =
|
|
4557
|
-
for (let
|
|
4558
|
-
y[
|
|
4559
|
-
n =
|
|
4709
|
+
d && d.c(), r = Mt$1();
|
|
4710
|
+
for (let g = 0; g < y.length; g += 1)
|
|
4711
|
+
y[g].c();
|
|
4712
|
+
n = Mt$1(), i = E("button"), s = Mt$1(), f && f.c(), h = Pt$1(), I(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
|
|
4560
4713
|
e[14];
|
|
4561
4714
|
},
|
|
4562
|
-
m(
|
|
4563
|
-
d && d.m(
|
|
4715
|
+
m(g, S) {
|
|
4716
|
+
d && d.m(g, S), N$1(g, r, S);
|
|
4564
4717
|
for (let _ = 0; _ < y.length; _ += 1)
|
|
4565
|
-
y[_] && y[_].m(
|
|
4566
|
-
|
|
4718
|
+
y[_] && y[_].m(g, S);
|
|
4719
|
+
N$1(g, n, S), N$1(g, i, S), i.innerHTML = o, N$1(g, s, S), f && f.m(g, S), N$1(g, h, S), u || (c = Bt$1(
|
|
4567
4720
|
i,
|
|
4568
4721
|
"click",
|
|
4569
4722
|
/*saveChanges*/
|
|
4570
4723
|
e[18]
|
|
4571
|
-
),
|
|
4724
|
+
), u = !0);
|
|
4572
4725
|
},
|
|
4573
|
-
p(
|
|
4726
|
+
p(g, S) {
|
|
4574
4727
|
if (S[0] & /*$_*/
|
|
4575
4728
|
65536 && (t = /*$_*/
|
|
4576
|
-
|
|
4577
|
-
|
|
4729
|
+
g[16]("title") || /*$_*/
|
|
4730
|
+
g[16]("description")), t ? d ? d.p(g, S) : (d = Ht(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
4578
4731
|
1719056) {
|
|
4579
|
-
m =
|
|
4732
|
+
m = Gt(
|
|
4580
4733
|
/*consentsCategories*/
|
|
4581
|
-
|
|
4734
|
+
g[8]
|
|
4582
4735
|
);
|
|
4583
4736
|
let _;
|
|
4584
4737
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
4585
|
-
const v =
|
|
4586
|
-
y[_] ? y[_].p(v, S) : (y[_] =
|
|
4738
|
+
const v = wt(g, m, _);
|
|
4739
|
+
y[_] ? y[_].p(v, S) : (y[_] = jt(v), y[_].c(), y[_].m(n.parentNode, n));
|
|
4587
4740
|
}
|
|
4588
4741
|
for (; _ < y.length; _ += 1)
|
|
4589
4742
|
y[_].d(1);
|
|
@@ -4591,56 +4744,56 @@ function wo(e) {
|
|
|
4591
4744
|
}
|
|
4592
4745
|
S[0] & /*$_*/
|
|
4593
4746
|
65536 && o !== (o = /*$_*/
|
|
4594
|
-
(
|
|
4747
|
+
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
|
|
4595
4748
|
16384 && a !== (a = !/*isValid*/
|
|
4596
|
-
|
|
4597
|
-
|
|
4749
|
+
g[14]) && (i.disabled = a), /*errorMessage*/
|
|
4750
|
+
g[6] ? f ? f.p(g, S) : (f = Lt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
4598
4751
|
},
|
|
4599
|
-
d(
|
|
4600
|
-
|
|
4752
|
+
d(g) {
|
|
4753
|
+
g && (x(r), x(n), x(i), x(s), x(h)), d && d.d(g), Ot$1(y, g), f && f.d(g), u = !1, c();
|
|
4601
4754
|
}
|
|
4602
4755
|
};
|
|
4603
4756
|
}
|
|
4604
|
-
function
|
|
4757
|
+
function Wi(e) {
|
|
4605
4758
|
let t, r, n;
|
|
4606
4759
|
return {
|
|
4607
4760
|
c() {
|
|
4608
|
-
t =
|
|
4761
|
+
t = E("div"), r = E("strong"), n = z(
|
|
4609
4762
|
/*fatalError*/
|
|
4610
4763
|
e[7]
|
|
4611
|
-
),
|
|
4764
|
+
), I(r, "class", "ErrorMessage svelte-etk3ty"), I(t, "class", "ContainerCenter svelte-etk3ty");
|
|
4612
4765
|
},
|
|
4613
4766
|
m(i, o) {
|
|
4614
|
-
|
|
4767
|
+
N$1(i, t, o), tt(t, r), tt(r, n);
|
|
4615
4768
|
},
|
|
4616
4769
|
p(i, o) {
|
|
4617
4770
|
o[0] & /*fatalError*/
|
|
4618
|
-
128 &&
|
|
4771
|
+
128 && Rt(
|
|
4619
4772
|
n,
|
|
4620
4773
|
/*fatalError*/
|
|
4621
4774
|
i[7]
|
|
4622
4775
|
);
|
|
4623
4776
|
},
|
|
4624
4777
|
d(i) {
|
|
4625
|
-
i &&
|
|
4778
|
+
i && x(t);
|
|
4626
4779
|
}
|
|
4627
4780
|
};
|
|
4628
4781
|
}
|
|
4629
|
-
function
|
|
4782
|
+
function Zi(e) {
|
|
4630
4783
|
let t;
|
|
4631
4784
|
return {
|
|
4632
4785
|
c() {
|
|
4633
|
-
t =
|
|
4786
|
+
t = E("general-animation-loading"), Ht$1(
|
|
4634
4787
|
t,
|
|
4635
4788
|
"clientstyling",
|
|
4636
4789
|
/*clientstyling*/
|
|
4637
4790
|
e[1]
|
|
4638
|
-
),
|
|
4791
|
+
), Ht$1(
|
|
4639
4792
|
t,
|
|
4640
4793
|
"clientstylingurl",
|
|
4641
4794
|
/*clientstylingurl*/
|
|
4642
4795
|
e[2]
|
|
4643
|
-
),
|
|
4796
|
+
), Ht$1(
|
|
4644
4797
|
t,
|
|
4645
4798
|
"mbsource",
|
|
4646
4799
|
/*mbsource*/
|
|
@@ -4648,23 +4801,23 @@ function Mo(e) {
|
|
|
4648
4801
|
);
|
|
4649
4802
|
},
|
|
4650
4803
|
m(r, n) {
|
|
4651
|
-
|
|
4804
|
+
N$1(r, t, n);
|
|
4652
4805
|
},
|
|
4653
4806
|
p(r, n) {
|
|
4654
4807
|
n[0] & /*clientstyling*/
|
|
4655
|
-
2 &&
|
|
4808
|
+
2 && Ht$1(
|
|
4656
4809
|
t,
|
|
4657
4810
|
"clientstyling",
|
|
4658
4811
|
/*clientstyling*/
|
|
4659
4812
|
r[1]
|
|
4660
4813
|
), n[0] & /*clientstylingurl*/
|
|
4661
|
-
4 &&
|
|
4814
|
+
4 && Ht$1(
|
|
4662
4815
|
t,
|
|
4663
4816
|
"clientstylingurl",
|
|
4664
4817
|
/*clientstylingurl*/
|
|
4665
4818
|
r[2]
|
|
4666
4819
|
), n[0] & /*mbsource*/
|
|
4667
|
-
8 &&
|
|
4820
|
+
8 && Ht$1(
|
|
4668
4821
|
t,
|
|
4669
4822
|
"mbsource",
|
|
4670
4823
|
/*mbsource*/
|
|
@@ -4672,12 +4825,12 @@ function Mo(e) {
|
|
|
4672
4825
|
);
|
|
4673
4826
|
},
|
|
4674
4827
|
d(r) {
|
|
4675
|
-
r &&
|
|
4828
|
+
r && x(t);
|
|
4676
4829
|
}
|
|
4677
4830
|
};
|
|
4678
4831
|
}
|
|
4679
|
-
function
|
|
4680
|
-
let t, r, n, i, o, a, s,
|
|
4832
|
+
function At(e) {
|
|
4833
|
+
let t, r, n, i, o, a, s, h, u = (
|
|
4681
4834
|
/*translate*/
|
|
4682
4835
|
e[17](
|
|
4683
4836
|
`${/*consent*/
|
|
@@ -4685,10 +4838,10 @@ function Vt(e) {
|
|
|
4685
4838
|
/*consent*/
|
|
4686
4839
|
e[65].friendlyName
|
|
4687
4840
|
) + ""
|
|
4688
|
-
),
|
|
4841
|
+
), c = (
|
|
4689
4842
|
/*consent*/
|
|
4690
4843
|
e[65].mustAccept ? " *" : ""
|
|
4691
|
-
), d, m, y,
|
|
4844
|
+
), d, m, y, f, g, S, _, v, C;
|
|
4692
4845
|
function H(...E) {
|
|
4693
4846
|
return (
|
|
4694
4847
|
/*input_handler_1*/
|
|
@@ -4701,129 +4854,129 @@ function Vt(e) {
|
|
|
4701
4854
|
}
|
|
4702
4855
|
return {
|
|
4703
4856
|
c() {
|
|
4704
|
-
t =
|
|
4705
|
-
e[65].status === "1",
|
|
4706
|
-
e[65].tagCode}__input`),
|
|
4707
|
-
e[65].tagCode}__input`),
|
|
4708
|
-
e[65].tagCode),
|
|
4857
|
+
t = E("div"), r = E("input"), o = Mt$1(), a = E("label"), s = E("div"), h = new Dt(!1), d = z(c), y = Mt$1(), f = E("small"), S = Mt$1(), I(r, "class", "checkbox__input svelte-etk3ty"), I(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4858
|
+
e[65].status === "1", I(r, "id", i = `${/*consent*/
|
|
4859
|
+
e[65].tagCode}__input`), h.a = d, I(s, "class", "checkbox__label-text svelte-etk3ty"), I(a, "class", "checkbox__label svelte-etk3ty"), I(a, "for", m = `${/*consent*/
|
|
4860
|
+
e[65].tagCode}__input`), I(f, "class", "checkbox__error-message svelte-etk3ty"), I(f, "id", g = "checkBoxError__" + /*consent*/
|
|
4861
|
+
e[65].tagCode), I(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4709
4862
|
e[65].tagCode + "__input svelte-etk3ty");
|
|
4710
4863
|
},
|
|
4711
|
-
m(E,
|
|
4712
|
-
|
|
4864
|
+
m(E, O) {
|
|
4865
|
+
N$1(E, t, O), tt(t, r), tt(t, o), tt(t, a), tt(a, s), h.m(u, s), tt(s, d), tt(t, y), tt(t, f), tt(t, S), v || (C = Bt$1(r, "input", H), v = !0);
|
|
4713
4866
|
},
|
|
4714
|
-
p(E,
|
|
4715
|
-
e = E,
|
|
4867
|
+
p(E, O) {
|
|
4868
|
+
e = E, O[0] & /*playerConsents*/
|
|
4716
4869
|
512 && n !== (n = /*consent*/
|
|
4717
|
-
e[65].status === "1") && (r.checked = n),
|
|
4870
|
+
e[65].status === "1") && (r.checked = n), O[0] & /*playerConsents*/
|
|
4718
4871
|
512 && i !== (i = `${/*consent*/
|
|
4719
|
-
e[65].tagCode}__input`) &&
|
|
4720
|
-
512 &&
|
|
4872
|
+
e[65].tagCode}__input`) && I(r, "id", i), O[0] & /*playerConsents*/
|
|
4873
|
+
512 && u !== (u = /*translate*/
|
|
4721
4874
|
e[17](
|
|
4722
4875
|
`${/*consent*/
|
|
4723
4876
|
e[65].tagCode}__description`,
|
|
4724
4877
|
/*consent*/
|
|
4725
4878
|
e[65].friendlyName
|
|
4726
|
-
) + "") &&
|
|
4727
|
-
512 &&
|
|
4728
|
-
e[65].mustAccept ? " *" : "") &&
|
|
4879
|
+
) + "") && h.p(u), O[0] & /*playerConsents*/
|
|
4880
|
+
512 && c !== (c = /*consent*/
|
|
4881
|
+
e[65].mustAccept ? " *" : "") && Rt(d, c), O[0] & /*playerConsents*/
|
|
4729
4882
|
512 && m !== (m = `${/*consent*/
|
|
4730
|
-
e[65].tagCode}__input`) &&
|
|
4731
|
-
512 &&
|
|
4732
|
-
e[65].tagCode) &&
|
|
4883
|
+
e[65].tagCode}__input`) && I(a, "for", m), O[0] & /*playerConsents*/
|
|
4884
|
+
512 && g !== (g = "checkBoxError__" + /*consent*/
|
|
4885
|
+
e[65].tagCode) && I(f, "id", g), O[0] & /*playerConsents*/
|
|
4733
4886
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4734
|
-
e[65].tagCode + "__input svelte-etk3ty") &&
|
|
4887
|
+
e[65].tagCode + "__input svelte-etk3ty") && I(t, "class", _);
|
|
4735
4888
|
},
|
|
4736
4889
|
d(E) {
|
|
4737
|
-
E &&
|
|
4890
|
+
E && x(t), v = !1, C();
|
|
4738
4891
|
}
|
|
4739
4892
|
};
|
|
4740
4893
|
}
|
|
4741
|
-
function
|
|
4894
|
+
function Ht(e) {
|
|
4742
4895
|
let t, r = (
|
|
4743
4896
|
/*$_*/
|
|
4744
4897
|
e[16]("title")
|
|
4745
4898
|
), n, i = (
|
|
4746
4899
|
/*$_*/
|
|
4747
4900
|
e[16]("description")
|
|
4748
|
-
), o = r &&
|
|
4901
|
+
), o = r && Pt(e), a = i && Bt(e);
|
|
4749
4902
|
return {
|
|
4750
4903
|
c() {
|
|
4751
|
-
t =
|
|
4904
|
+
t = E("div"), o && o.c(), n = Mt$1(), a && a.c(), I(t, "class", "PlayerConsentsHeader svelte-etk3ty");
|
|
4752
4905
|
},
|
|
4753
|
-
m(s,
|
|
4754
|
-
|
|
4906
|
+
m(s, h) {
|
|
4907
|
+
N$1(s, t, h), o && o.m(t, null), tt(t, n), a && a.m(t, null);
|
|
4755
4908
|
},
|
|
4756
|
-
p(s,
|
|
4757
|
-
|
|
4909
|
+
p(s, h) {
|
|
4910
|
+
h[0] & /*$_*/
|
|
4758
4911
|
65536 && (r = /*$_*/
|
|
4759
|
-
s[16]("title")), r ? o ? o.p(s,
|
|
4912
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = Pt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
4760
4913
|
65536 && (i = /*$_*/
|
|
4761
|
-
s[16]("description")), i ? a ? a.p(s,
|
|
4914
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = Bt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4762
4915
|
},
|
|
4763
4916
|
d(s) {
|
|
4764
|
-
s &&
|
|
4917
|
+
s && x(t), o && o.d(), a && a.d();
|
|
4765
4918
|
}
|
|
4766
4919
|
};
|
|
4767
4920
|
}
|
|
4768
|
-
function
|
|
4921
|
+
function Pt(e) {
|
|
4769
4922
|
let t, r = (
|
|
4770
4923
|
/*$_*/
|
|
4771
4924
|
e[16]("title") + ""
|
|
4772
4925
|
), n;
|
|
4773
4926
|
return {
|
|
4774
4927
|
c() {
|
|
4775
|
-
t =
|
|
4928
|
+
t = E("h2"), n = z(r), I(t, "class", "PlayerConsentsTitle");
|
|
4776
4929
|
},
|
|
4777
4930
|
m(i, o) {
|
|
4778
|
-
|
|
4931
|
+
N$1(i, t, o), tt(t, n);
|
|
4779
4932
|
},
|
|
4780
4933
|
p(i, o) {
|
|
4781
4934
|
o[0] & /*$_*/
|
|
4782
4935
|
65536 && r !== (r = /*$_*/
|
|
4783
|
-
i[16]("title") + "") &&
|
|
4936
|
+
i[16]("title") + "") && Rt(n, r);
|
|
4784
4937
|
},
|
|
4785
4938
|
d(i) {
|
|
4786
|
-
i &&
|
|
4939
|
+
i && x(t);
|
|
4787
4940
|
}
|
|
4788
4941
|
};
|
|
4789
4942
|
}
|
|
4790
|
-
function
|
|
4943
|
+
function Bt(e) {
|
|
4791
4944
|
let t, r = (
|
|
4792
4945
|
/*$_*/
|
|
4793
4946
|
e[16]("description") + ""
|
|
4794
4947
|
), n;
|
|
4795
4948
|
return {
|
|
4796
4949
|
c() {
|
|
4797
|
-
t =
|
|
4950
|
+
t = E("p"), n = z(r), I(t, "class", "PlayerConsentsDescription");
|
|
4798
4951
|
},
|
|
4799
4952
|
m(i, o) {
|
|
4800
|
-
|
|
4953
|
+
N$1(i, t, o), tt(t, n);
|
|
4801
4954
|
},
|
|
4802
4955
|
p(i, o) {
|
|
4803
4956
|
o[0] & /*$_*/
|
|
4804
4957
|
65536 && r !== (r = /*$_*/
|
|
4805
|
-
i[16]("description") + "") &&
|
|
4958
|
+
i[16]("description") + "") && Rt(n, r);
|
|
4806
4959
|
},
|
|
4807
4960
|
d(i) {
|
|
4808
|
-
i &&
|
|
4961
|
+
i && x(t);
|
|
4809
4962
|
}
|
|
4810
4963
|
};
|
|
4811
4964
|
}
|
|
4812
|
-
function
|
|
4965
|
+
function Ot(e) {
|
|
4813
4966
|
let t;
|
|
4814
4967
|
return {
|
|
4815
4968
|
c() {
|
|
4816
|
-
t =
|
|
4969
|
+
t = E("sup"), t.textContent = "*", I(t, "class", "ConsentRequired svelte-etk3ty");
|
|
4817
4970
|
},
|
|
4818
4971
|
m(r, n) {
|
|
4819
|
-
|
|
4972
|
+
N$1(r, t, n);
|
|
4820
4973
|
},
|
|
4821
4974
|
d(r) {
|
|
4822
|
-
r &&
|
|
4975
|
+
r && x(t);
|
|
4823
4976
|
}
|
|
4824
4977
|
};
|
|
4825
4978
|
}
|
|
4826
|
-
function
|
|
4979
|
+
function zt(e) {
|
|
4827
4980
|
let t, r = (
|
|
4828
4981
|
/*translate*/
|
|
4829
4982
|
e[17](
|
|
@@ -4835,10 +4988,10 @@ function Jt(e) {
|
|
|
4835
4988
|
);
|
|
4836
4989
|
return {
|
|
4837
4990
|
c() {
|
|
4838
|
-
t =
|
|
4991
|
+
t = E("p"), I(t, "class", "ConsentDescription svelte-etk3ty");
|
|
4839
4992
|
},
|
|
4840
4993
|
m(n, i) {
|
|
4841
|
-
|
|
4994
|
+
N$1(n, t, i), t.innerHTML = r;
|
|
4842
4995
|
},
|
|
4843
4996
|
p(n, i) {
|
|
4844
4997
|
i[0] & /*playerConsents, consentsCategories*/
|
|
@@ -4851,11 +5004,11 @@ function Jt(e) {
|
|
|
4851
5004
|
) + "") && (t.innerHTML = r);
|
|
4852
5005
|
},
|
|
4853
5006
|
d(n) {
|
|
4854
|
-
n &&
|
|
5007
|
+
n && x(t);
|
|
4855
5008
|
}
|
|
4856
5009
|
};
|
|
4857
5010
|
}
|
|
4858
|
-
function
|
|
5011
|
+
function It(e) {
|
|
4859
5012
|
let t, r, n, i, o = (
|
|
4860
5013
|
/*translate*/
|
|
4861
5014
|
e[17](
|
|
@@ -4864,12 +5017,12 @@ function Qt(e) {
|
|
|
4864
5017
|
/*consent*/
|
|
4865
5018
|
e[65].friendlyName
|
|
4866
5019
|
) + ""
|
|
4867
|
-
), a, s,
|
|
5020
|
+
), a, s, h, u, c, d, m, y, f, g, S, _ = (
|
|
4868
5021
|
/*consent*/
|
|
4869
|
-
e[65].mustAccept === !0 &&
|
|
5022
|
+
e[65].mustAccept === !0 && Ot()
|
|
4870
5023
|
), v = (
|
|
4871
5024
|
/*displayconsentdescription*/
|
|
4872
|
-
e[4] === "true" &&
|
|
5025
|
+
e[4] === "true" && zt(e)
|
|
4873
5026
|
);
|
|
4874
5027
|
function C(...H) {
|
|
4875
5028
|
return (
|
|
@@ -4883,19 +5036,19 @@ function Qt(e) {
|
|
|
4883
5036
|
}
|
|
4884
5037
|
return {
|
|
4885
5038
|
c() {
|
|
4886
|
-
t =
|
|
5039
|
+
t = E("div"), r = E("div"), n = E("h4"), i = new Dt(!1), a = Mt$1(), _ && _.c(), s = Mt$1(), v && v.c(), h = Mt$1(), u = E("label"), c = E("input"), y = Mt$1(), f = E("span"), i.a = a, I(n, "class", "ConsentName svelte-etk3ty"), I(r, "class", "ConsentContent"), I(c, "type", "checkbox"), c.disabled = d = /*consent*/
|
|
4887
5040
|
e[65].mustAccept === !0 && /*initialConsentsState*/
|
|
4888
5041
|
e[12][
|
|
4889
5042
|
/*consent*/
|
|
4890
5043
|
e[65].tagCode
|
|
4891
|
-
] === !0,
|
|
5044
|
+
] === !0, c.checked = m = /*consentsState*/
|
|
4892
5045
|
e[13][
|
|
4893
5046
|
/*consent*/
|
|
4894
5047
|
e[65].tagCode
|
|
4895
|
-
],
|
|
5048
|
+
], I(c, "class", "svelte-etk3ty"), I(f, "class", "Slider Round svelte-etk3ty"), I(u, "class", "ToggleSwitch svelte-etk3ty"), I(t, "class", "ConsentItem svelte-etk3ty");
|
|
4896
5049
|
},
|
|
4897
5050
|
m(H, E) {
|
|
4898
|
-
|
|
5051
|
+
N$1(H, t, E), tt(t, r), tt(r, n), i.m(o, n), tt(n, a), _ && _.m(n, null), tt(r, s), v && v.m(r, null), tt(t, h), tt(t, u), tt(u, c), tt(u, y), tt(u, f), g || (S = Bt$1(c, "input", C), g = !0);
|
|
4899
5052
|
},
|
|
4900
5053
|
p(H, E) {
|
|
4901
5054
|
e = H, E[0] & /*playerConsents, consentsCategories*/
|
|
@@ -4906,26 +5059,26 @@ function Qt(e) {
|
|
|
4906
5059
|
/*consent*/
|
|
4907
5060
|
e[65].friendlyName
|
|
4908
5061
|
) + "") && i.p(o), /*consent*/
|
|
4909
|
-
e[65].mustAccept === !0 ? _ || (_ =
|
|
4910
|
-
e[4] === "true" ? v ? v.p(e, E) : (v =
|
|
5062
|
+
e[65].mustAccept === !0 ? _ || (_ = Ot(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
5063
|
+
e[4] === "true" ? v ? v.p(e, E) : (v = zt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
4911
5064
|
4864 && d !== (d = /*consent*/
|
|
4912
5065
|
e[65].mustAccept === !0 && /*initialConsentsState*/
|
|
4913
5066
|
e[12][
|
|
4914
5067
|
/*consent*/
|
|
4915
5068
|
e[65].tagCode
|
|
4916
|
-
] === !0) && (
|
|
5069
|
+
] === !0) && (c.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
4917
5070
|
8960 && m !== (m = /*consentsState*/
|
|
4918
5071
|
e[13][
|
|
4919
5072
|
/*consent*/
|
|
4920
5073
|
e[65].tagCode
|
|
4921
|
-
]) && (
|
|
5074
|
+
]) && (c.checked = m);
|
|
4922
5075
|
},
|
|
4923
5076
|
d(H) {
|
|
4924
|
-
H &&
|
|
5077
|
+
H && x(t), _ && _.d(), v && v.d(), g = !1, S();
|
|
4925
5078
|
}
|
|
4926
5079
|
};
|
|
4927
5080
|
}
|
|
4928
|
-
function
|
|
5081
|
+
function jt(e) {
|
|
4929
5082
|
let t, r, n, i = (
|
|
4930
5083
|
/*translate*/
|
|
4931
5084
|
e[17](
|
|
@@ -4934,15 +5087,15 @@ function Yt(e) {
|
|
|
4934
5087
|
/*category*/
|
|
4935
5088
|
e[62].friendlyName
|
|
4936
5089
|
) + ""
|
|
4937
|
-
), o, a, s,
|
|
4938
|
-
function
|
|
5090
|
+
), o, a, s, h, u, c, d, m, y;
|
|
5091
|
+
function f() {
|
|
4939
5092
|
e[27].call(
|
|
4940
5093
|
s,
|
|
4941
5094
|
/*category*/
|
|
4942
5095
|
e[62]
|
|
4943
5096
|
);
|
|
4944
5097
|
}
|
|
4945
|
-
function
|
|
5098
|
+
function g() {
|
|
4946
5099
|
return (
|
|
4947
5100
|
/*change_handler*/
|
|
4948
5101
|
e[28](
|
|
@@ -4951,7 +5104,7 @@ function Yt(e) {
|
|
|
4951
5104
|
)
|
|
4952
5105
|
);
|
|
4953
5106
|
}
|
|
4954
|
-
function S(...C) {
|
|
5107
|
+
function S$1(...C) {
|
|
4955
5108
|
return (
|
|
4956
5109
|
/*func*/
|
|
4957
5110
|
e[29](
|
|
@@ -4961,30 +5114,30 @@ function Yt(e) {
|
|
|
4961
5114
|
)
|
|
4962
5115
|
);
|
|
4963
5116
|
}
|
|
4964
|
-
let _ =
|
|
5117
|
+
let _ = Gt(
|
|
4965
5118
|
/*playerConsents*/
|
|
4966
|
-
e[9].filter(S)
|
|
5119
|
+
e[9].filter(S$1)
|
|
4967
5120
|
), v = [];
|
|
4968
5121
|
for (let C = 0; C < _.length; C += 1)
|
|
4969
|
-
v[C] =
|
|
5122
|
+
v[C] = It(Nt(e, _, C));
|
|
4970
5123
|
return {
|
|
4971
5124
|
c() {
|
|
4972
|
-
t =
|
|
5125
|
+
t = E("div"), r = E("div"), n = E("h3"), o = Mt$1(), a = E("label"), s = E("input"), h = Mt$1(), u = E("span"), c = Mt$1(), d = E("div");
|
|
4973
5126
|
for (let C = 0; C < v.length; C += 1)
|
|
4974
5127
|
v[C].c();
|
|
4975
|
-
|
|
5128
|
+
I(s, "type", "checkbox"), I(s, "class", "svelte-etk3ty"), I(u, "class", "Slider Round svelte-etk3ty"), I(a, "class", "ToggleSwitch Big svelte-etk3ty"), I(r, "class", "AccordionHeader svelte-etk3ty"), I(d, "class", "AccordionContent svelte-etk3ty"), I(t, "class", "AccordionItem svelte-etk3ty");
|
|
4976
5129
|
},
|
|
4977
5130
|
m(C, H) {
|
|
4978
|
-
|
|
5131
|
+
N$1(C, t, H), tt(t, r), tt(r, n), n.innerHTML = i, tt(r, o), tt(r, a), tt(a, s), s.checked = /*categoryToggle*/
|
|
4979
5132
|
e[11][
|
|
4980
5133
|
/*category*/
|
|
4981
5134
|
e[62].categoryTagCode
|
|
4982
|
-
],
|
|
5135
|
+
], tt(a, h), tt(a, u), tt(t, c), tt(t, d);
|
|
4983
5136
|
for (let E = 0; E < v.length; E += 1)
|
|
4984
5137
|
v[E] && v[E].m(d, null);
|
|
4985
5138
|
m || (y = [
|
|
4986
|
-
|
|
4987
|
-
|
|
5139
|
+
Bt$1(s, "change", f),
|
|
5140
|
+
Bt$1(s, "change", g)
|
|
4988
5141
|
], m = !0);
|
|
4989
5142
|
},
|
|
4990
5143
|
p(C, H) {
|
|
@@ -5002,14 +5155,14 @@ function Yt(e) {
|
|
|
5002
5155
|
e[62].categoryTagCode
|
|
5003
5156
|
]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
|
|
5004
5157
|
1192720) {
|
|
5005
|
-
_ =
|
|
5158
|
+
_ = Gt(
|
|
5006
5159
|
/*playerConsents*/
|
|
5007
|
-
e[9].filter(S)
|
|
5160
|
+
e[9].filter(S$1)
|
|
5008
5161
|
);
|
|
5009
5162
|
let E;
|
|
5010
5163
|
for (E = 0; E < _.length; E += 1) {
|
|
5011
|
-
const
|
|
5012
|
-
v[E] ? v[E].p(
|
|
5164
|
+
const O = Nt(e, _, E);
|
|
5165
|
+
v[E] ? v[E].p(O, H) : (v[E] = It(O), v[E].c(), v[E].m(d, null));
|
|
5013
5166
|
}
|
|
5014
5167
|
for (; E < v.length; E += 1)
|
|
5015
5168
|
v[E].d(1);
|
|
@@ -5017,261 +5170,261 @@ function Yt(e) {
|
|
|
5017
5170
|
}
|
|
5018
5171
|
},
|
|
5019
5172
|
d(C) {
|
|
5020
|
-
C &&
|
|
5173
|
+
C && x(t), Ot$1(v, C), m = !1, S(y);
|
|
5021
5174
|
}
|
|
5022
5175
|
};
|
|
5023
5176
|
}
|
|
5024
|
-
function
|
|
5177
|
+
function Lt(e) {
|
|
5025
5178
|
let t, r, n, i, o;
|
|
5026
5179
|
return {
|
|
5027
5180
|
c() {
|
|
5028
|
-
t =
|
|
5181
|
+
t = E("div"), r = E("circle-exclamation-icon"), n = Mt$1(), i = E("strong"), o = z(
|
|
5029
5182
|
/*errorMessage*/
|
|
5030
5183
|
e[6]
|
|
5031
|
-
),
|
|
5184
|
+
), Ht$1(r, "class", "svelte-etk3ty"), I(i, "class", "ErrorMessage svelte-etk3ty"), I(t, "class", "ConsentErrorContainer svelte-etk3ty");
|
|
5032
5185
|
},
|
|
5033
5186
|
m(a, s) {
|
|
5034
|
-
|
|
5187
|
+
N$1(a, t, s), tt(t, r), tt(t, n), tt(t, i), tt(i, o);
|
|
5035
5188
|
},
|
|
5036
5189
|
p(a, s) {
|
|
5037
5190
|
s[0] & /*errorMessage*/
|
|
5038
|
-
64 &&
|
|
5191
|
+
64 && Rt(
|
|
5039
5192
|
o,
|
|
5040
5193
|
/*errorMessage*/
|
|
5041
5194
|
a[6]
|
|
5042
5195
|
);
|
|
5043
5196
|
},
|
|
5044
5197
|
d(a) {
|
|
5045
|
-
a &&
|
|
5198
|
+
a && x(t);
|
|
5046
5199
|
}
|
|
5047
5200
|
};
|
|
5048
5201
|
}
|
|
5049
|
-
function
|
|
5202
|
+
function Ji(e) {
|
|
5050
5203
|
let t, r;
|
|
5051
5204
|
function n(a, s) {
|
|
5052
5205
|
if (
|
|
5053
5206
|
/*isLoading*/
|
|
5054
5207
|
a[10]
|
|
5055
5208
|
)
|
|
5056
|
-
return
|
|
5209
|
+
return Zi;
|
|
5057
5210
|
if (
|
|
5058
5211
|
/*fatalError*/
|
|
5059
5212
|
a[7]
|
|
5060
5213
|
)
|
|
5061
|
-
return
|
|
5214
|
+
return Wi;
|
|
5062
5215
|
if (
|
|
5063
5216
|
/*session*/
|
|
5064
5217
|
a[0]
|
|
5065
5218
|
)
|
|
5066
|
-
return
|
|
5219
|
+
return qi;
|
|
5067
5220
|
if (!/*session*/
|
|
5068
5221
|
a[0])
|
|
5069
|
-
return
|
|
5222
|
+
return Xi;
|
|
5070
5223
|
}
|
|
5071
5224
|
let i = n(e), o = i && i(e);
|
|
5072
5225
|
return {
|
|
5073
5226
|
c() {
|
|
5074
|
-
t =
|
|
5227
|
+
t = E("div"), r = E("div"), o && o.c(), I(r, "class", "ConsentsContainer svelte-etk3ty"), I(t, "class", kt$1("") + " svelte-etk3ty");
|
|
5075
5228
|
},
|
|
5076
5229
|
m(a, s) {
|
|
5077
|
-
|
|
5230
|
+
N$1(a, t, s), tt(t, r), o && o.m(r, null), e[33](r);
|
|
5078
5231
|
},
|
|
5079
5232
|
p(a, s) {
|
|
5080
5233
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
5081
5234
|
},
|
|
5082
|
-
i:
|
|
5083
|
-
o:
|
|
5235
|
+
i: h,
|
|
5236
|
+
o: h,
|
|
5084
5237
|
d(a) {
|
|
5085
|
-
a &&
|
|
5238
|
+
a && x(t), o && o.d(), e[33](null);
|
|
5086
5239
|
}
|
|
5087
5240
|
};
|
|
5088
5241
|
}
|
|
5089
|
-
function
|
|
5242
|
+
function Qi(e, t, r) {
|
|
5090
5243
|
let n;
|
|
5091
|
-
|
|
5092
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl:
|
|
5244
|
+
jt$1(e, Ui, (l) => r(16, n = l));
|
|
5245
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: c = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, f, g, S = !1, _ = !1, v$1 = "", C = "", H = "", E = "", O = [], J = [], z = [], ce = !0, be = !0, F = {}, Ee = {}, Q = {}, U = {}, ue, Ce, R = {
|
|
5093
5246
|
none: { key: "0", value: "None" },
|
|
5094
5247
|
accepted: { key: "1", value: "Accepted" },
|
|
5095
5248
|
expired: { key: "2", value: "Expired" },
|
|
5096
5249
|
denied: { key: "3", value: "Denied" },
|
|
5097
5250
|
suspended: { key: "4", value: "Suspended" }
|
|
5098
|
-
},
|
|
5099
|
-
Object.keys(
|
|
5100
|
-
|
|
5251
|
+
}, Se = !1;
|
|
5252
|
+
Object.keys(Tt).forEach((l) => {
|
|
5253
|
+
xt(l, Tt[l]);
|
|
5101
5254
|
});
|
|
5102
|
-
const
|
|
5103
|
-
|
|
5104
|
-
},
|
|
5105
|
-
let
|
|
5106
|
-
fetch(
|
|
5107
|
-
Object.keys(
|
|
5108
|
-
|
|
5255
|
+
const pr = () => {
|
|
5256
|
+
Di(c);
|
|
5257
|
+
}, gr = () => {
|
|
5258
|
+
let l = new URL(m);
|
|
5259
|
+
fetch(l.href).then((p) => p.json()).then((p) => {
|
|
5260
|
+
Object.keys(p).forEach((x) => {
|
|
5261
|
+
xt(x, p[x]);
|
|
5109
5262
|
});
|
|
5110
|
-
}).catch((
|
|
5111
|
-
console.log(
|
|
5263
|
+
}).catch((p) => {
|
|
5264
|
+
console.log(p);
|
|
5112
5265
|
});
|
|
5113
|
-
},
|
|
5114
|
-
const
|
|
5115
|
-
return
|
|
5116
|
-
},
|
|
5117
|
-
i && (v = i, _ = !0), o && (C = o);
|
|
5118
|
-
},
|
|
5119
|
-
|
|
5120
|
-
},
|
|
5266
|
+
}, fr = (l, p) => {
|
|
5267
|
+
const x = n(l);
|
|
5268
|
+
return x !== l ? x : p;
|
|
5269
|
+
}, _r = () => {
|
|
5270
|
+
i && (v$1 = i, _ = !0), o && (C = o);
|
|
5271
|
+
}, xe = (l, p = !1) => {
|
|
5272
|
+
p ? r(7, E = l) : (Cr(), r(6, H = l));
|
|
5273
|
+
}, he = (l, p, x, k = !1) => me(this, null, function* () {
|
|
5121
5274
|
try {
|
|
5122
|
-
const M = yield fetch(
|
|
5275
|
+
const M = yield fetch(l, x);
|
|
5123
5276
|
if (!M.ok)
|
|
5124
|
-
throw new Error(n(
|
|
5277
|
+
throw new Error(n(p));
|
|
5125
5278
|
const I = yield M.json();
|
|
5126
|
-
return _ ? I : I.filter((
|
|
5279
|
+
return _ ? I : I.filter((V) => V.showOnRegister === !0);
|
|
5127
5280
|
} catch (M) {
|
|
5128
|
-
throw
|
|
5129
|
-
M instanceof TypeError ? n(
|
|
5130
|
-
|
|
5281
|
+
throw xe(
|
|
5282
|
+
M instanceof TypeError ? n(p) : M.message,
|
|
5283
|
+
k
|
|
5131
5284
|
), M;
|
|
5132
5285
|
}
|
|
5133
|
-
}),
|
|
5286
|
+
}), yr = () => me(this, null, function* () {
|
|
5134
5287
|
try {
|
|
5135
|
-
let
|
|
5136
|
-
if (_ ? [
|
|
5137
|
-
let
|
|
5138
|
-
|
|
5288
|
+
let l = [], p = [];
|
|
5289
|
+
if (_ ? [l, p] = yield it() : l = yield it(), r(10, ce = !1), J = [...l], r(8, O = kr(J).sort((x, k) => x.categoryTagCode.localeCompare(k.categoryTagCode))), r(11, F = br(O)), Ee = Z({}, F), r(9, z = [...p]), J.forEach((x) => {
|
|
5290
|
+
let k = z.find((M) => M.tagCode === x.tagCode);
|
|
5291
|
+
k || (k = ct(Z({}, x), {
|
|
5139
5292
|
status: R.denied.value
|
|
5140
|
-
}),
|
|
5293
|
+
}), z.push(k)), k.description = x.description, k.orderNumber = x.orderNumber;
|
|
5141
5294
|
}), y === "true") {
|
|
5142
|
-
if (r(9,
|
|
5295
|
+
if (r(9, z = z.filter((x) => x.status === R.expired.value)), z.length !== 0)
|
|
5143
5296
|
return;
|
|
5144
|
-
|
|
5297
|
+
xe(n("wrongModalConfig"), !0);
|
|
5145
5298
|
}
|
|
5146
|
-
|
|
5147
|
-
} catch (
|
|
5148
|
-
throw r(10,
|
|
5149
|
-
|
|
5299
|
+
Er();
|
|
5300
|
+
} catch (l) {
|
|
5301
|
+
throw r(10, ce = !1), xe(
|
|
5302
|
+
l instanceof TypeError ? n("invalidUrl") : l.message,
|
|
5150
5303
|
!0
|
|
5151
|
-
),
|
|
5304
|
+
), l;
|
|
5152
5305
|
}
|
|
5153
|
-
}),
|
|
5154
|
-
const
|
|
5155
|
-
if (
|
|
5156
|
-
return yield
|
|
5157
|
-
const
|
|
5306
|
+
}), it = () => me(this, null, function* () {
|
|
5307
|
+
const l = new URL(`${a}/api/v1/gm/consents`);
|
|
5308
|
+
if (l.searchParams.append("Status", "Active"), !_)
|
|
5309
|
+
return yield he(l.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
5310
|
+
const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
5158
5311
|
return yield Promise.all([
|
|
5159
|
-
|
|
5160
|
-
|
|
5312
|
+
he(l.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
5313
|
+
he(p.href, "fetchPlayerConsentsError", {
|
|
5161
5314
|
method: "GET",
|
|
5162
5315
|
headers: {
|
|
5163
|
-
"X-SessionId": v,
|
|
5316
|
+
"X-SessionId": v$1,
|
|
5164
5317
|
"Content-Type": "application/json"
|
|
5165
5318
|
}
|
|
5166
5319
|
})
|
|
5167
5320
|
]);
|
|
5168
|
-
}),
|
|
5169
|
-
|
|
5170
|
-
const
|
|
5321
|
+
}), vr = () => {
|
|
5322
|
+
Se = !1;
|
|
5323
|
+
const l = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
5171
5324
|
"Content-Type": "application/json",
|
|
5172
5325
|
Accept: "application/json"
|
|
5173
|
-
},
|
|
5174
|
-
fetch(
|
|
5175
|
-
if (!
|
|
5176
|
-
if (J =
|
|
5326
|
+
}, x = { method: "GET", headers: p };
|
|
5327
|
+
fetch(l.href, x).then((k) => k.ok ? k.json() : (Se = !0, k.json().then((M) => (console.error(M), Te(M))))).then((k) => {
|
|
5328
|
+
if (!Se) {
|
|
5329
|
+
if (J = k, localStorage.getItem("playerConsents")) {
|
|
5177
5330
|
try {
|
|
5178
|
-
r(9,
|
|
5331
|
+
r(9, z = JSON.parse(localStorage.getItem("playerConsents")));
|
|
5179
5332
|
} catch (M) {
|
|
5180
|
-
return console.error(M),
|
|
5333
|
+
return console.error(M), Te(M);
|
|
5181
5334
|
}
|
|
5182
5335
|
return;
|
|
5183
5336
|
}
|
|
5184
|
-
return r(9,
|
|
5337
|
+
return r(9, z = J.map((M) => ({
|
|
5185
5338
|
id: M.id,
|
|
5186
5339
|
status: R.denied.key,
|
|
5187
5340
|
friendlyName: M.friendlyName,
|
|
5188
5341
|
tagCode: M.tagCode,
|
|
5189
5342
|
selected: null,
|
|
5190
5343
|
mustAccept: M.mustAccept
|
|
5191
|
-
}))), localStorage.setItem("playerConsents", JSON.stringify(
|
|
5344
|
+
}))), localStorage.setItem("playerConsents", JSON.stringify(z)), z;
|
|
5192
5345
|
}
|
|
5193
|
-
}).catch((
|
|
5194
|
-
r(10,
|
|
5346
|
+
}).catch((k) => (console.error(k), Te(k))).finally(() => {
|
|
5347
|
+
r(10, ce = !1);
|
|
5195
5348
|
});
|
|
5196
|
-
},
|
|
5197
|
-
const
|
|
5198
|
-
return
|
|
5199
|
-
|
|
5200
|
-
}), Array.from(
|
|
5201
|
-
},
|
|
5202
|
-
const
|
|
5203
|
-
if (
|
|
5204
|
-
const
|
|
5205
|
-
(
|
|
5349
|
+
}, kr = (l) => {
|
|
5350
|
+
const p = /* @__PURE__ */ new Map();
|
|
5351
|
+
return l.forEach((x) => {
|
|
5352
|
+
p.has(x.category.categoryTagCode) || p.set(x.category.categoryTagCode, x.category);
|
|
5353
|
+
}), Array.from(p.values());
|
|
5354
|
+
}, br = (l) => {
|
|
5355
|
+
const p = localStorage.getItem("categoryToggle" + C);
|
|
5356
|
+
if (p === null) {
|
|
5357
|
+
const x = l.reduce(
|
|
5358
|
+
(k, M) => (k[M.categoryTagCode] = !1, k),
|
|
5206
5359
|
{}
|
|
5207
5360
|
);
|
|
5208
|
-
return localStorage.setItem("categoryToggle" + C, JSON.stringify(
|
|
5361
|
+
return localStorage.setItem("categoryToggle" + C, JSON.stringify(x)), x;
|
|
5209
5362
|
} else
|
|
5210
|
-
return JSON.parse(
|
|
5211
|
-
},
|
|
5212
|
-
|
|
5213
|
-
r(12, Q[
|
|
5214
|
-
}), r(13,
|
|
5215
|
-
},
|
|
5216
|
-
r(13,
|
|
5217
|
-
},
|
|
5218
|
-
if (!
|
|
5363
|
+
return JSON.parse(p);
|
|
5364
|
+
}, Er = () => {
|
|
5365
|
+
z.forEach((l) => {
|
|
5366
|
+
r(12, Q[l.tagCode] = l.status === R.accepted.value, Q);
|
|
5367
|
+
}), r(13, U = Z({}, Q));
|
|
5368
|
+
}, Cr = () => {
|
|
5369
|
+
r(13, U = Z({}, Q)), r(11, F = Z({}, Ee));
|
|
5370
|
+
}, Sr = () => me(this, null, function* () {
|
|
5371
|
+
if (!be)
|
|
5219
5372
|
return;
|
|
5220
|
-
|
|
5221
|
-
const
|
|
5222
|
-
if (Object.keys(
|
|
5223
|
-
const M =
|
|
5224
|
-
|
|
5225
|
-
tagCode:
|
|
5226
|
-
status:
|
|
5227
|
-
}) :
|
|
5228
|
-
tagCode:
|
|
5229
|
-
status:
|
|
5373
|
+
be = !1;
|
|
5374
|
+
const l = [], p = [];
|
|
5375
|
+
if (Object.keys(U).forEach((k) => {
|
|
5376
|
+
const M = z.find((I) => I.tagCode === k);
|
|
5377
|
+
U[k] !== Q[k] && (M ? l.push({
|
|
5378
|
+
tagCode: k,
|
|
5379
|
+
status: U[k] ? R.accepted.value : R.denied.value
|
|
5380
|
+
}) : p.push({
|
|
5381
|
+
tagCode: k,
|
|
5382
|
+
status: U[k] ? R.accepted.value : R.denied.value
|
|
5230
5383
|
}));
|
|
5231
5384
|
}), !_) {
|
|
5232
|
-
localStorage.setItem("categoryToggle" + C, JSON.stringify(
|
|
5385
|
+
localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), Ee = Z({}, F), window.postMessage(
|
|
5233
5386
|
{
|
|
5234
5387
|
type: "NewPlayerConsentData",
|
|
5235
|
-
data: JSON.stringify(
|
|
5388
|
+
data: JSON.stringify(p)
|
|
5236
5389
|
},
|
|
5237
5390
|
window.location.href
|
|
5238
|
-
),
|
|
5391
|
+
), be = !0;
|
|
5239
5392
|
return;
|
|
5240
5393
|
}
|
|
5241
|
-
const
|
|
5394
|
+
const x = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
5242
5395
|
try {
|
|
5243
|
-
const
|
|
5244
|
-
|
|
5396
|
+
const k = yield Promise.allSettled([
|
|
5397
|
+
p.length > 0 && he(x.href, "updateConsentsError", {
|
|
5245
5398
|
method: "POST",
|
|
5246
5399
|
headers: {
|
|
5247
|
-
"X-SessionId": v,
|
|
5400
|
+
"X-SessionId": v$1,
|
|
5248
5401
|
"Content-Type": "application/json"
|
|
5249
5402
|
},
|
|
5250
|
-
body: JSON.stringify({ userConsents:
|
|
5403
|
+
body: JSON.stringify({ userConsents: p })
|
|
5251
5404
|
}),
|
|
5252
|
-
|
|
5405
|
+
l.length > 0 && he(x.href, "updateConsentsError", {
|
|
5253
5406
|
method: "PATCH",
|
|
5254
5407
|
headers: {
|
|
5255
|
-
"X-SessionId": v,
|
|
5408
|
+
"X-SessionId": v$1,
|
|
5256
5409
|
"Content-Type": "application/json"
|
|
5257
5410
|
},
|
|
5258
|
-
body: JSON.stringify({ userConsents:
|
|
5411
|
+
body: JSON.stringify({ userConsents: l })
|
|
5259
5412
|
})
|
|
5260
5413
|
]);
|
|
5261
|
-
|
|
5414
|
+
k.forEach((M, I) => {
|
|
5262
5415
|
if (M.status === "rejected" || M.value.ok === !1) {
|
|
5263
|
-
const
|
|
5264
|
-
r(13,
|
|
5416
|
+
const V = I < p.length ? p[I] : l[I - p.length];
|
|
5417
|
+
r(13, U[V.tagCode] = Q[V.tagCode], U);
|
|
5265
5418
|
}
|
|
5266
|
-
}),
|
|
5419
|
+
}), k.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), Ee = Z({}, F), window.postMessage(
|
|
5267
5420
|
{
|
|
5268
5421
|
type: "PlayerConsentUpdated",
|
|
5269
5422
|
success: !0
|
|
5270
5423
|
},
|
|
5271
5424
|
window.location.href
|
|
5272
|
-
), r(12, Q =
|
|
5273
|
-
} catch (
|
|
5274
|
-
|
|
5425
|
+
), r(12, Q = Z({}, U)));
|
|
5426
|
+
} catch (k) {
|
|
5427
|
+
xe(k instanceof TypeError ? n("saveChangesError") : k.message), window.postMessage(
|
|
5275
5428
|
{
|
|
5276
5429
|
type: "PlayerConsentUpdated",
|
|
5277
5430
|
success: !1
|
|
@@ -5279,150 +5432,150 @@ function Ao(e, t, r) {
|
|
|
5279
5432
|
window.location.href
|
|
5280
5433
|
);
|
|
5281
5434
|
} finally {
|
|
5282
|
-
|
|
5435
|
+
be = !0, r(14, ue = !1);
|
|
5283
5436
|
}
|
|
5284
|
-
}),
|
|
5285
|
-
const
|
|
5437
|
+
}), xr = (l) => {
|
|
5438
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), x = {
|
|
5286
5439
|
"Content-Type": "application/json",
|
|
5287
5440
|
Accept: "application/json"
|
|
5288
|
-
},
|
|
5289
|
-
playerConsents:
|
|
5290
|
-
registrationId:
|
|
5441
|
+
}, k = {
|
|
5442
|
+
playerConsents: z,
|
|
5443
|
+
registrationId: l
|
|
5291
5444
|
}, M = {
|
|
5292
5445
|
method: "POST",
|
|
5293
|
-
body: JSON.stringify(
|
|
5294
|
-
headers:
|
|
5446
|
+
body: JSON.stringify(k),
|
|
5447
|
+
headers: x
|
|
5295
5448
|
};
|
|
5296
|
-
fetch(
|
|
5297
|
-
I.ok || (
|
|
5298
|
-
}).catch((I) => (console.error(I),
|
|
5299
|
-
r(10,
|
|
5449
|
+
fetch(p.href, M).then((I) => {
|
|
5450
|
+
I.ok || (Se = !0);
|
|
5451
|
+
}).catch((I) => (console.error(I), Te(I))).finally(() => {
|
|
5452
|
+
r(10, ce = !1);
|
|
5300
5453
|
});
|
|
5301
|
-
},
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
}), r(14,
|
|
5305
|
-
},
|
|
5306
|
-
const
|
|
5454
|
+
}, ot = (l) => {
|
|
5455
|
+
z.filter((p) => p.category.categoryTagCode === l).forEach((p) => {
|
|
5456
|
+
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[l] || !1, U);
|
|
5457
|
+
}), r(14, ue = at());
|
|
5458
|
+
}, Le = (l, p, x) => {
|
|
5459
|
+
const k = z.find((V) => V.id === x), M = p ? "value" : "key";
|
|
5307
5460
|
let I;
|
|
5308
|
-
if (!
|
|
5309
|
-
const
|
|
5310
|
-
for (const
|
|
5311
|
-
if (I = Array.from(
|
|
5461
|
+
if (!p && k.mustAccept) {
|
|
5462
|
+
const V = Array.from(Ce.children);
|
|
5463
|
+
for (const de of V)
|
|
5464
|
+
if (I = Array.from(de.children).find((Ir) => Ir.getAttribute("id") === `checkBoxError__${k.tagCode}`), I)
|
|
5312
5465
|
break;
|
|
5313
5466
|
}
|
|
5314
|
-
if (
|
|
5315
|
-
r(13,
|
|
5316
|
-
const
|
|
5317
|
-
r(11,
|
|
5467
|
+
if (k.status === R.accepted[M] ? (k.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (k.status = R.accepted[M], I && (I.innerHTML = "")), p) {
|
|
5468
|
+
r(13, U[k.tagCode] = !U[k.tagCode], U);
|
|
5469
|
+
const V = z.filter((de) => de.category.categoryTagCode === p.categoryTagCode).every((de) => de.status !== R.denied.value);
|
|
5470
|
+
r(11, F[p.categoryTagCode] = V, F);
|
|
5318
5471
|
}
|
|
5319
|
-
|
|
5320
|
-
},
|
|
5321
|
-
let
|
|
5322
|
-
return function(...
|
|
5472
|
+
Tr();
|
|
5473
|
+
}, Tr = ((l, p) => {
|
|
5474
|
+
let x;
|
|
5475
|
+
return function(...k) {
|
|
5323
5476
|
const M = this;
|
|
5324
|
-
clearTimeout(
|
|
5477
|
+
clearTimeout(x), x = setTimeout(
|
|
5325
5478
|
() => {
|
|
5326
|
-
|
|
5479
|
+
l.apply(M, k);
|
|
5327
5480
|
},
|
|
5328
|
-
|
|
5481
|
+
p
|
|
5329
5482
|
);
|
|
5330
5483
|
};
|
|
5331
|
-
})(() =>
|
|
5332
|
-
r(14,
|
|
5333
|
-
},
|
|
5484
|
+
})(() => Mr(), 500), Mr = () => {
|
|
5485
|
+
r(14, ue = at()), i || (window.postMessage({ type: "isConsentsValid", isValid: ue }), localStorage.setItem("playerConsents", JSON.stringify(z)));
|
|
5486
|
+
}, at = () => z.filter((p) => z.some((x) => p.tagCode === x.tagCode && x.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Te = (l) => {
|
|
5334
5487
|
window.postMessage(
|
|
5335
5488
|
{
|
|
5336
5489
|
type: "WidgetNotification",
|
|
5337
|
-
data: { type: "error", message:
|
|
5490
|
+
data: { type: "error", message: l }
|
|
5338
5491
|
},
|
|
5339
5492
|
window.location.href
|
|
5340
5493
|
);
|
|
5341
|
-
},
|
|
5342
|
-
|
|
5494
|
+
}, wr = (l) => {
|
|
5495
|
+
l.data && l.data.type !== "setUpPlayerConsents" || xr(l.data.registerid);
|
|
5343
5496
|
};
|
|
5344
|
-
|
|
5497
|
+
lt$1(() => {
|
|
5345
5498
|
setTimeout(
|
|
5346
5499
|
() => {
|
|
5347
5500
|
r(26, S = !0);
|
|
5348
5501
|
},
|
|
5349
5502
|
50
|
|
5350
5503
|
);
|
|
5351
|
-
const
|
|
5352
|
-
return window.addEventListener("message",
|
|
5353
|
-
window.removeEventListener("message",
|
|
5504
|
+
const l = (p) => wr(p);
|
|
5505
|
+
return window.addEventListener("message", l), () => {
|
|
5506
|
+
window.removeEventListener("message", l);
|
|
5354
5507
|
};
|
|
5355
5508
|
});
|
|
5356
|
-
function
|
|
5357
|
-
|
|
5509
|
+
function Nr(l) {
|
|
5510
|
+
F[l.categoryTagCode] = this.checked, r(11, F);
|
|
5358
5511
|
}
|
|
5359
|
-
const
|
|
5360
|
-
function
|
|
5361
|
-
|
|
5362
|
-
|
|
5512
|
+
const Ar = (l) => ot(l.categoryTagCode), Hr = (l, p) => p.category.categoryTagCode === l.categoryTagCode, Pr = (l, p) => Le(p, l.category, l.id), Br = (l, p) => Le(p, null, l.id);
|
|
5513
|
+
function Or(l) {
|
|
5514
|
+
v[l ? "unshift" : "push"](() => {
|
|
5515
|
+
Ce = l, r(15, Ce);
|
|
5363
5516
|
});
|
|
5364
5517
|
}
|
|
5365
|
-
function
|
|
5366
|
-
|
|
5367
|
-
|
|
5518
|
+
function zr(l) {
|
|
5519
|
+
v[l ? "unshift" : "push"](() => {
|
|
5520
|
+
f = l, r(5, f);
|
|
5368
5521
|
});
|
|
5369
5522
|
}
|
|
5370
|
-
return e.$$set = (
|
|
5371
|
-
"session" in
|
|
5523
|
+
return e.$$set = (l) => {
|
|
5524
|
+
"session" in l && r(0, i = l.session), "userid" in l && r(21, o = l.userid), "endpoint" in l && r(22, a = l.endpoint), "clientstyling" in l && r(1, s = l.clientstyling), "clientstylingurl" in l && r(2, h = l.clientstylingurl), "mbsource" in l && r(3, u = l.mbsource), "lang" in l && r(23, c = l.lang), "displayconsentdescription" in l && r(4, d = l.displayconsentdescription), "translationurl" in l && r(24, m = l.translationurl), "modalconsents" in l && r(25, y = l.modalconsents);
|
|
5372
5525
|
}, e.$$.update = () => {
|
|
5373
5526
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
5374
|
-
67108865 && S && i && (
|
|
5375
|
-
1 && (i ||
|
|
5376
|
-
34 && s &&
|
|
5377
|
-
36 &&
|
|
5378
|
-
40 &&
|
|
5379
|
-
8388608 &&
|
|
5380
|
-
16777216 && m &&
|
|
5527
|
+
67108865 && S && i && (_r(), yr()), e.$$.dirty[0] & /*session*/
|
|
5528
|
+
1 && (i || vr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5529
|
+
34 && s && f && St$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5530
|
+
36 && h && f && xt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
5531
|
+
40 && f && Et$1(f, `${u}.Style`, g), e.$$.dirty[0] & /*lang*/
|
|
5532
|
+
8388608 && c && pr(), e.$$.dirty[0] & /*translationurl*/
|
|
5533
|
+
16777216 && m && gr();
|
|
5381
5534
|
}, [
|
|
5382
5535
|
i,
|
|
5383
5536
|
s,
|
|
5384
|
-
|
|
5385
|
-
|
|
5537
|
+
h,
|
|
5538
|
+
u,
|
|
5386
5539
|
d,
|
|
5387
|
-
|
|
5540
|
+
f,
|
|
5388
5541
|
H,
|
|
5389
5542
|
E,
|
|
5543
|
+
O,
|
|
5390
5544
|
z,
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
V,
|
|
5545
|
+
ce,
|
|
5546
|
+
F,
|
|
5394
5547
|
Q,
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5548
|
+
U,
|
|
5549
|
+
ue,
|
|
5550
|
+
Ce,
|
|
5398
5551
|
n,
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5552
|
+
fr,
|
|
5553
|
+
Sr,
|
|
5554
|
+
ot,
|
|
5555
|
+
Le,
|
|
5403
5556
|
o,
|
|
5404
5557
|
a,
|
|
5405
|
-
|
|
5558
|
+
c,
|
|
5406
5559
|
m,
|
|
5407
5560
|
y,
|
|
5408
5561
|
S,
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5562
|
+
Nr,
|
|
5563
|
+
Ar,
|
|
5564
|
+
Hr,
|
|
5565
|
+
Pr,
|
|
5566
|
+
Br,
|
|
5567
|
+
Or,
|
|
5568
|
+
zr
|
|
5416
5569
|
];
|
|
5417
5570
|
}
|
|
5418
|
-
class
|
|
5571
|
+
class Yi extends yt$1 {
|
|
5419
5572
|
constructor(t) {
|
|
5420
|
-
super(),
|
|
5573
|
+
super(), bt$1(
|
|
5421
5574
|
this,
|
|
5422
5575
|
t,
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5576
|
+
Qi,
|
|
5577
|
+
Ji,
|
|
5578
|
+
Q,
|
|
5426
5579
|
{
|
|
5427
5580
|
session: 0,
|
|
5428
5581
|
userid: 21,
|
|
@@ -5435,7 +5588,7 @@ class Hr extends ar {
|
|
|
5435
5588
|
translationurl: 24,
|
|
5436
5589
|
modalconsents: 25
|
|
5437
5590
|
},
|
|
5438
|
-
|
|
5591
|
+
Vi,
|
|
5439
5592
|
[-1, -1, -1]
|
|
5440
5593
|
);
|
|
5441
5594
|
}
|
|
@@ -5443,82 +5596,63 @@ class Hr extends ar {
|
|
|
5443
5596
|
return this.$$.ctx[0];
|
|
5444
5597
|
}
|
|
5445
5598
|
set session(t) {
|
|
5446
|
-
this.$$set({ session: t }),
|
|
5599
|
+
this.$$set({ session: t }), b();
|
|
5447
5600
|
}
|
|
5448
5601
|
get userid() {
|
|
5449
5602
|
return this.$$.ctx[21];
|
|
5450
5603
|
}
|
|
5451
5604
|
set userid(t) {
|
|
5452
|
-
this.$$set({ userid: t }),
|
|
5605
|
+
this.$$set({ userid: t }), b();
|
|
5453
5606
|
}
|
|
5454
5607
|
get endpoint() {
|
|
5455
5608
|
return this.$$.ctx[22];
|
|
5456
5609
|
}
|
|
5457
5610
|
set endpoint(t) {
|
|
5458
|
-
this.$$set({ endpoint: t }),
|
|
5611
|
+
this.$$set({ endpoint: t }), b();
|
|
5459
5612
|
}
|
|
5460
5613
|
get clientstyling() {
|
|
5461
5614
|
return this.$$.ctx[1];
|
|
5462
5615
|
}
|
|
5463
5616
|
set clientstyling(t) {
|
|
5464
|
-
this.$$set({ clientstyling: t }),
|
|
5617
|
+
this.$$set({ clientstyling: t }), b();
|
|
5465
5618
|
}
|
|
5466
5619
|
get clientstylingurl() {
|
|
5467
5620
|
return this.$$.ctx[2];
|
|
5468
5621
|
}
|
|
5469
5622
|
set clientstylingurl(t) {
|
|
5470
|
-
this.$$set({ clientstylingurl: t }),
|
|
5623
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
5471
5624
|
}
|
|
5472
5625
|
get mbsource() {
|
|
5473
5626
|
return this.$$.ctx[3];
|
|
5474
5627
|
}
|
|
5475
5628
|
set mbsource(t) {
|
|
5476
|
-
this.$$set({ mbsource: t }),
|
|
5629
|
+
this.$$set({ mbsource: t }), b();
|
|
5477
5630
|
}
|
|
5478
5631
|
get lang() {
|
|
5479
5632
|
return this.$$.ctx[23];
|
|
5480
5633
|
}
|
|
5481
5634
|
set lang(t) {
|
|
5482
|
-
this.$$set({ lang: t }),
|
|
5635
|
+
this.$$set({ lang: t }), b();
|
|
5483
5636
|
}
|
|
5484
5637
|
get displayconsentdescription() {
|
|
5485
5638
|
return this.$$.ctx[4];
|
|
5486
5639
|
}
|
|
5487
5640
|
set displayconsentdescription(t) {
|
|
5488
|
-
this.$$set({ displayconsentdescription: t }),
|
|
5641
|
+
this.$$set({ displayconsentdescription: t }), b();
|
|
5489
5642
|
}
|
|
5490
5643
|
get translationurl() {
|
|
5491
5644
|
return this.$$.ctx[24];
|
|
5492
5645
|
}
|
|
5493
5646
|
set translationurl(t) {
|
|
5494
|
-
this.$$set({ translationurl: t }),
|
|
5647
|
+
this.$$set({ translationurl: t }), b();
|
|
5495
5648
|
}
|
|
5496
5649
|
get modalconsents() {
|
|
5497
5650
|
return this.$$.ctx[25];
|
|
5498
5651
|
}
|
|
5499
5652
|
set modalconsents(t) {
|
|
5500
|
-
this.$$set({ modalconsents: t }),
|
|
5653
|
+
this.$$set({ modalconsents: t }), b();
|
|
5501
5654
|
}
|
|
5502
5655
|
}
|
|
5503
|
-
|
|
5504
|
-
const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5505
|
-
__proto__: null,
|
|
5506
|
-
default: Hr
|
|
5507
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
5656
|
+
gt$1(Yi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
5508
5657
|
|
|
5509
|
-
exports
|
|
5510
|
-
exports.S = ar;
|
|
5511
|
-
exports.a = cn;
|
|
5512
|
-
exports.b = L;
|
|
5513
|
-
exports.c = Re;
|
|
5514
|
-
exports.d = O;
|
|
5515
|
-
exports.e = T;
|
|
5516
|
-
exports.f = X;
|
|
5517
|
-
exports.g = Tn;
|
|
5518
|
-
exports.h = Mn;
|
|
5519
|
-
exports.i = nr;
|
|
5520
|
-
exports.j = Nn;
|
|
5521
|
-
exports.k = or;
|
|
5522
|
-
exports.n = $;
|
|
5523
|
-
exports.o = gn;
|
|
5524
|
-
exports.s = _t;
|
|
5658
|
+
exports['default'] = Yi;
|