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