@everymatrix/casino-404 1.53.11 → 1.54.0
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.
@@ -1,46 +1,75 @@
|
|
1
|
-
|
1
|
+
var Dt = Object.defineProperty, Ut = Object.defineProperties;
|
2
|
+
var jt = Object.getOwnPropertyDescriptors;
|
3
|
+
var Ve = Object.getOwnPropertySymbols;
|
4
|
+
var kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
|
5
|
+
var ge = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
6
|
+
for (var r in t || (t = {}))
|
7
|
+
kt.call(t, r) && ge(e, r, t[r]);
|
8
|
+
if (Ve)
|
9
|
+
for (var r of Ve(t))
|
10
|
+
Vt.call(t, r) && ge(e, r, t[r]);
|
11
|
+
return e;
|
12
|
+
}, ze = (e, t) => Ut(e, jt(t));
|
13
|
+
var S = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
+
var Ze = (e, t, r) => new Promise((n, i) => {
|
15
|
+
var o = (h) => {
|
16
|
+
try {
|
17
|
+
u(r.next(h));
|
18
|
+
} catch (s) {
|
19
|
+
i(s);
|
20
|
+
}
|
21
|
+
}, a = (h) => {
|
22
|
+
try {
|
23
|
+
u(r.throw(h));
|
24
|
+
} catch (s) {
|
25
|
+
i(s);
|
26
|
+
}
|
27
|
+
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
28
|
+
u((r = r.apply(e, t)).next());
|
29
|
+
});
|
30
|
+
function w() {
|
2
31
|
}
|
3
|
-
function
|
32
|
+
function ft(e) {
|
4
33
|
return e();
|
5
34
|
}
|
6
|
-
function
|
35
|
+
function We() {
|
7
36
|
return /* @__PURE__ */ Object.create(null);
|
8
37
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
38
|
+
function te(e) {
|
39
|
+
e.forEach(ft);
|
11
40
|
}
|
12
|
-
function
|
41
|
+
function Re(e) {
|
13
42
|
return typeof e == "function";
|
14
43
|
}
|
15
|
-
function
|
44
|
+
function ct(e, t) {
|
16
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
46
|
}
|
18
|
-
function
|
47
|
+
function Xt(e) {
|
19
48
|
return Object.keys(e).length === 0;
|
20
49
|
}
|
21
|
-
function
|
50
|
+
function mt(e, ...t) {
|
22
51
|
if (e == null) {
|
23
52
|
for (const n of t)
|
24
53
|
n(void 0);
|
25
|
-
return
|
54
|
+
return w;
|
26
55
|
}
|
27
56
|
const r = e.subscribe(...t);
|
28
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
58
|
}
|
30
|
-
function
|
31
|
-
e.$$.on_destroy.push(
|
59
|
+
function zt(e, t, r) {
|
60
|
+
e.$$.on_destroy.push(mt(t, r));
|
32
61
|
}
|
33
62
|
function H(e, t) {
|
34
63
|
e.appendChild(t);
|
35
64
|
}
|
36
|
-
function
|
37
|
-
const n =
|
65
|
+
function Zt(e, t, r) {
|
66
|
+
const n = Wt(e);
|
38
67
|
if (!n.getElementById(t)) {
|
39
|
-
const i =
|
40
|
-
i.id = t, i.textContent = r,
|
68
|
+
const i = C("style");
|
69
|
+
i.id = t, i.textContent = r, Qt(n, i);
|
41
70
|
}
|
42
71
|
}
|
43
|
-
function
|
72
|
+
function Wt(e) {
|
44
73
|
if (!e) return document;
|
45
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
46
75
|
return t && /** @type {ShadowRoot} */
|
@@ -49,45 +78,45 @@ function Rt(e) {
|
|
49
78
|
t
|
50
79
|
) : e.ownerDocument;
|
51
80
|
}
|
52
|
-
function
|
81
|
+
function Qt(e, t) {
|
53
82
|
return H(
|
54
83
|
/** @type {Document} */
|
55
84
|
e.head || e,
|
56
85
|
t
|
57
86
|
), t.sheet;
|
58
87
|
}
|
59
|
-
function
|
88
|
+
function pt(e, t, r) {
|
60
89
|
e.insertBefore(t, r || null);
|
61
90
|
}
|
62
|
-
function
|
91
|
+
function Fe(e) {
|
63
92
|
e.parentNode && e.parentNode.removeChild(e);
|
64
93
|
}
|
65
|
-
function
|
94
|
+
function C(e) {
|
66
95
|
return document.createElement(e);
|
67
96
|
}
|
68
|
-
function
|
97
|
+
function I(e) {
|
69
98
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
70
99
|
}
|
71
|
-
function
|
100
|
+
function ie(e) {
|
72
101
|
return document.createTextNode(e);
|
73
102
|
}
|
74
|
-
function
|
75
|
-
return
|
103
|
+
function de() {
|
104
|
+
return ie(" ");
|
76
105
|
}
|
77
|
-
function
|
106
|
+
function qt(e, t, r, n) {
|
78
107
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
79
108
|
}
|
80
109
|
function x(e, t, r) {
|
81
110
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
82
111
|
}
|
83
|
-
function
|
112
|
+
function Jt(e) {
|
84
113
|
return Array.from(e.childNodes);
|
85
114
|
}
|
86
|
-
function
|
115
|
+
function be(e, t) {
|
87
116
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
88
117
|
t);
|
89
118
|
}
|
90
|
-
function
|
119
|
+
function Yt(e) {
|
91
120
|
const t = {};
|
92
121
|
return e.childNodes.forEach(
|
93
122
|
/** @param {Element} node */
|
@@ -96,234 +125,238 @@ function Ut(e) {
|
|
96
125
|
}
|
97
126
|
), t;
|
98
127
|
}
|
99
|
-
let
|
100
|
-
function
|
101
|
-
|
128
|
+
let Ge;
|
129
|
+
function Y(e) {
|
130
|
+
Ge = e;
|
102
131
|
}
|
103
|
-
const
|
104
|
-
let
|
105
|
-
const
|
106
|
-
let
|
107
|
-
function
|
108
|
-
|
132
|
+
const D = [], Pe = [];
|
133
|
+
let j = [];
|
134
|
+
const Qe = [], Kt = /* @__PURE__ */ Promise.resolve();
|
135
|
+
let Ne = !1;
|
136
|
+
function er() {
|
137
|
+
Ne || (Ne = !0, Kt.then(U));
|
109
138
|
}
|
110
|
-
function
|
111
|
-
|
139
|
+
function Ae(e) {
|
140
|
+
j.push(e);
|
112
141
|
}
|
113
|
-
const
|
114
|
-
let
|
115
|
-
function
|
116
|
-
if (
|
142
|
+
const xe = /* @__PURE__ */ new Set();
|
143
|
+
let F = 0;
|
144
|
+
function U() {
|
145
|
+
if (F !== 0)
|
117
146
|
return;
|
118
|
-
const e =
|
147
|
+
const e = Ge;
|
119
148
|
do {
|
120
149
|
try {
|
121
|
-
for (;
|
122
|
-
const t =
|
123
|
-
|
150
|
+
for (; F < D.length; ) {
|
151
|
+
const t = D[F];
|
152
|
+
F++, Y(t), tr(t.$$);
|
124
153
|
}
|
125
154
|
} catch (t) {
|
126
|
-
throw
|
155
|
+
throw D.length = 0, F = 0, t;
|
127
156
|
}
|
128
|
-
for (
|
129
|
-
for (let t = 0; t <
|
130
|
-
const r =
|
131
|
-
|
157
|
+
for (Y(null), D.length = 0, F = 0; Pe.length; ) Pe.pop()();
|
158
|
+
for (let t = 0; t < j.length; t += 1) {
|
159
|
+
const r = j[t];
|
160
|
+
xe.has(r) || (xe.add(r), r());
|
132
161
|
}
|
133
|
-
|
134
|
-
} while (
|
135
|
-
for (;
|
136
|
-
|
137
|
-
|
162
|
+
j.length = 0;
|
163
|
+
} while (D.length);
|
164
|
+
for (; Qe.length; )
|
165
|
+
Qe.pop()();
|
166
|
+
Ne = !1, xe.clear(), Y(e);
|
138
167
|
}
|
139
|
-
function
|
168
|
+
function tr(e) {
|
140
169
|
if (e.fragment !== null) {
|
141
|
-
e.update(),
|
170
|
+
e.update(), te(e.before_update);
|
142
171
|
const t = e.dirty;
|
143
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
172
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
|
144
173
|
}
|
145
174
|
}
|
146
|
-
function
|
175
|
+
function rr(e) {
|
147
176
|
const t = [], r = [];
|
148
|
-
|
177
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
149
178
|
}
|
150
|
-
const
|
151
|
-
function
|
152
|
-
e && e.i && (
|
179
|
+
const nr = /* @__PURE__ */ new Set();
|
180
|
+
function ir(e, t) {
|
181
|
+
e && e.i && (nr.delete(e), e.i(t));
|
153
182
|
}
|
154
|
-
function
|
183
|
+
function or(e, t, r) {
|
155
184
|
const { fragment: n, after_update: i } = e.$$;
|
156
|
-
n && n.m(t, r),
|
157
|
-
const o = e.$$.on_mount.map(
|
158
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
159
|
-
}), i.forEach(
|
185
|
+
n && n.m(t, r), Ae(() => {
|
186
|
+
const o = e.$$.on_mount.map(ft).filter(Re);
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
188
|
+
}), i.forEach(Ae);
|
160
189
|
}
|
161
|
-
function
|
190
|
+
function ar(e, t) {
|
162
191
|
const r = e.$$;
|
163
|
-
r.fragment !== null && (
|
192
|
+
r.fragment !== null && (rr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
164
193
|
}
|
165
|
-
function
|
166
|
-
e.$$.dirty[0] === -1 && (
|
194
|
+
function sr(e, t) {
|
195
|
+
e.$$.dirty[0] === -1 && (D.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
167
196
|
}
|
168
|
-
function
|
169
|
-
const
|
170
|
-
|
197
|
+
function ur(e, t, r, n, i, o, a = null, u = [-1]) {
|
198
|
+
const h = Ge;
|
199
|
+
Y(e);
|
171
200
|
const s = e.$$ = {
|
172
201
|
fragment: null,
|
173
202
|
ctx: [],
|
174
203
|
// state
|
175
204
|
props: o,
|
176
|
-
update:
|
205
|
+
update: w,
|
177
206
|
not_equal: i,
|
178
|
-
bound:
|
207
|
+
bound: We(),
|
179
208
|
// lifecycle
|
180
209
|
on_mount: [],
|
181
210
|
on_destroy: [],
|
182
211
|
on_disconnect: [],
|
183
212
|
before_update: [],
|
184
213
|
after_update: [],
|
185
|
-
context: new Map(t.context || (
|
214
|
+
context: new Map(t.context || (h ? h.$$.context : [])),
|
186
215
|
// everything else
|
187
|
-
callbacks:
|
188
|
-
dirty:
|
216
|
+
callbacks: We(),
|
217
|
+
dirty: u,
|
189
218
|
skip_bound: !1,
|
190
|
-
root: t.target ||
|
219
|
+
root: t.target || h.$$.root
|
191
220
|
};
|
192
|
-
|
193
|
-
let
|
221
|
+
a && a(s.root);
|
222
|
+
let l = !1;
|
194
223
|
if (s.ctx = r(e, t.props || {}, (c, f, ...b) => {
|
195
224
|
const y = b.length ? b[0] : f;
|
196
|
-
return s.ctx && i(s.ctx[c], s.ctx[c] = y) && (!s.skip_bound && s.bound[c] && s.bound[c](y),
|
197
|
-
}), s.update(),
|
225
|
+
return s.ctx && i(s.ctx[c], s.ctx[c] = y) && (!s.skip_bound && s.bound[c] && s.bound[c](y), l && sr(e, c)), f;
|
226
|
+
}), s.update(), l = !0, te(s.before_update), s.fragment = n(s.ctx), t.target) {
|
198
227
|
if (t.hydrate) {
|
199
|
-
const c =
|
200
|
-
s.fragment && s.fragment.l(c), c.forEach(
|
228
|
+
const c = Jt(t.target);
|
229
|
+
s.fragment && s.fragment.l(c), c.forEach(Fe);
|
201
230
|
} else
|
202
231
|
s.fragment && s.fragment.c();
|
203
|
-
t.intro &&
|
232
|
+
t.intro && ir(e.$$.fragment), or(e, t.target, t.anchor), U();
|
204
233
|
}
|
205
|
-
|
206
|
-
}
|
207
|
-
let
|
208
|
-
typeof HTMLElement == "function" && (
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
234
|
+
Y(h);
|
235
|
+
}
|
236
|
+
let gt;
|
237
|
+
typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
238
|
+
constructor(t, r, n) {
|
239
|
+
super();
|
240
|
+
/** The Svelte component constructor */
|
241
|
+
S(this, "$$ctor");
|
242
|
+
/** Slots */
|
243
|
+
S(this, "$$s");
|
244
|
+
/** The Svelte component instance */
|
245
|
+
S(this, "$$c");
|
246
|
+
/** Whether or not the custom element is connected */
|
247
|
+
S(this, "$$cn", !1);
|
248
|
+
/** Component props data */
|
249
|
+
S(this, "$$d", {});
|
250
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
251
|
+
S(this, "$$r", !1);
|
252
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
253
|
+
S(this, "$$p_d", {});
|
254
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
255
|
+
S(this, "$$l", {});
|
256
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
257
|
+
S(this, "$$l_u", /* @__PURE__ */ new Map());
|
258
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
229
259
|
}
|
230
|
-
addEventListener(
|
231
|
-
if (this.$$l[
|
232
|
-
const
|
233
|
-
this.$$l_u.set(
|
260
|
+
addEventListener(t, r, n) {
|
261
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
262
|
+
const i = this.$$c.$on(t, r);
|
263
|
+
this.$$l_u.set(r, i);
|
234
264
|
}
|
235
|
-
super.addEventListener(
|
265
|
+
super.addEventListener(t, r, n);
|
236
266
|
}
|
237
|
-
removeEventListener(
|
238
|
-
if (super.removeEventListener(
|
239
|
-
const
|
240
|
-
|
267
|
+
removeEventListener(t, r, n) {
|
268
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
269
|
+
const i = this.$$l_u.get(r);
|
270
|
+
i && (i(), this.$$l_u.delete(r));
|
241
271
|
}
|
242
272
|
}
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
273
|
+
connectedCallback() {
|
274
|
+
return Ze(this, null, function* () {
|
275
|
+
if (this.$$cn = !0, !this.$$c) {
|
276
|
+
let t = function(o) {
|
277
|
+
return () => {
|
278
|
+
let a;
|
279
|
+
return {
|
280
|
+
c: function() {
|
281
|
+
a = C("slot"), o !== "default" && x(a, "name", o);
|
282
|
+
},
|
283
|
+
/**
|
284
|
+
* @param {HTMLElement} target
|
285
|
+
* @param {HTMLElement} [anchor]
|
286
|
+
*/
|
287
|
+
m: function(s, l) {
|
288
|
+
pt(s, a, l);
|
289
|
+
},
|
290
|
+
d: function(s) {
|
291
|
+
s && Fe(a);
|
292
|
+
}
|
293
|
+
};
|
262
294
|
};
|
263
295
|
};
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
o in this.$$d || (this.$$d[o] = ie(o, i.value, this.$$p_d, "toProp"));
|
273
|
-
}
|
274
|
-
for (const i in this.$$p_d)
|
275
|
-
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
276
|
-
this.$$c = new this.$$ctor({
|
277
|
-
target: this.shadowRoot || this,
|
278
|
-
props: {
|
279
|
-
...this.$$d,
|
280
|
-
$$slots: t,
|
281
|
-
$$scope: {
|
282
|
-
ctx: []
|
283
|
-
}
|
296
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
297
|
+
return;
|
298
|
+
const r = {}, n = Yt(this);
|
299
|
+
for (const o of this.$$s)
|
300
|
+
o in n && (r[o] = [t(o)]);
|
301
|
+
for (const o of this.attributes) {
|
302
|
+
const a = this.$$g_p(o.name);
|
303
|
+
a in this.$$d || (this.$$d[a] = oe(a, o.value, this.$$p_d, "toProp"));
|
284
304
|
}
|
285
|
-
|
286
|
-
|
287
|
-
this.$$
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
305
|
+
for (const o in this.$$p_d)
|
306
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
307
|
+
this.$$c = new this.$$ctor({
|
308
|
+
target: this.shadowRoot || this,
|
309
|
+
props: ze(Xe({}, this.$$d), {
|
310
|
+
$$slots: r,
|
311
|
+
$$scope: {
|
312
|
+
ctx: []
|
313
|
+
}
|
314
|
+
})
|
315
|
+
});
|
316
|
+
const i = () => {
|
317
|
+
this.$$r = !0;
|
318
|
+
for (const o in this.$$p_d)
|
319
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
320
|
+
const a = oe(
|
321
|
+
o,
|
322
|
+
this.$$d[o],
|
323
|
+
this.$$p_d,
|
324
|
+
"toAttribute"
|
325
|
+
);
|
326
|
+
a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
|
327
|
+
}
|
328
|
+
this.$$r = !1;
|
329
|
+
};
|
330
|
+
this.$$c.$$.after_update.push(i), i();
|
331
|
+
for (const o in this.$$l)
|
332
|
+
for (const a of this.$$l[o]) {
|
333
|
+
const u = this.$$c.$on(o, a);
|
334
|
+
this.$$l_u.set(a, u);
|
297
335
|
}
|
298
|
-
this.$$
|
299
|
-
}
|
300
|
-
|
301
|
-
for (const i in this.$$l)
|
302
|
-
for (const o of this.$$l[i]) {
|
303
|
-
const u = this.$$c.$on(i, o);
|
304
|
-
this.$$l_u.set(o, u);
|
305
|
-
}
|
306
|
-
this.$$l = {};
|
307
|
-
}
|
336
|
+
this.$$l = {};
|
337
|
+
}
|
338
|
+
});
|
308
339
|
}
|
309
340
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
310
341
|
// and setting attributes through setAttribute etc, this is helpful
|
311
|
-
attributeChangedCallback(
|
312
|
-
|
342
|
+
attributeChangedCallback(t, r, n) {
|
343
|
+
var i;
|
344
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = oe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
313
345
|
}
|
314
346
|
disconnectedCallback() {
|
315
347
|
this.$$cn = !1, Promise.resolve().then(() => {
|
316
348
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
317
349
|
});
|
318
350
|
}
|
319
|
-
$$g_p(
|
351
|
+
$$g_p(t) {
|
320
352
|
return Object.keys(this.$$p_d).find(
|
321
|
-
(
|
322
|
-
) ||
|
353
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
354
|
+
) || t;
|
323
355
|
}
|
324
356
|
});
|
325
|
-
function
|
326
|
-
|
357
|
+
function oe(e, t, r, n) {
|
358
|
+
var o;
|
359
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
327
360
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
328
361
|
return t;
|
329
362
|
if (n === "toAttribute")
|
@@ -334,7 +367,7 @@ function ie(e, t, r, n) {
|
|
334
367
|
case "Boolean":
|
335
368
|
return t ? "" : null;
|
336
369
|
case "Number":
|
337
|
-
return t
|
370
|
+
return t == null ? null : t;
|
338
371
|
default:
|
339
372
|
return t;
|
340
373
|
}
|
@@ -351,55 +384,59 @@ function ie(e, t, r, n) {
|
|
351
384
|
return t;
|
352
385
|
}
|
353
386
|
}
|
354
|
-
function
|
355
|
-
let
|
387
|
+
function hr(e, t, r, n, i, o) {
|
388
|
+
let a = class extends gt {
|
356
389
|
constructor() {
|
357
390
|
super(e, r, i), this.$$p_d = t;
|
358
391
|
}
|
359
392
|
static get observedAttributes() {
|
360
393
|
return Object.keys(t).map(
|
361
|
-
(
|
394
|
+
(u) => (t[u].attribute || u).toLowerCase()
|
362
395
|
);
|
363
396
|
}
|
364
397
|
};
|
365
|
-
return Object.keys(t).forEach((
|
366
|
-
Object.defineProperty(
|
398
|
+
return Object.keys(t).forEach((u) => {
|
399
|
+
Object.defineProperty(a.prototype, u, {
|
367
400
|
get() {
|
368
|
-
return this.$$c &&
|
401
|
+
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
369
402
|
},
|
370
|
-
set(
|
371
|
-
|
403
|
+
set(h) {
|
404
|
+
var s;
|
405
|
+
h = oe(u, h, t), this.$$d[u] = h, (s = this.$$c) == null || s.$set({ [u]: h });
|
372
406
|
}
|
373
407
|
});
|
374
|
-
}), n.forEach((
|
375
|
-
Object.defineProperty(
|
408
|
+
}), n.forEach((u) => {
|
409
|
+
Object.defineProperty(a.prototype, u, {
|
376
410
|
get() {
|
377
|
-
|
411
|
+
var h;
|
412
|
+
return (h = this.$$c) == null ? void 0 : h[u];
|
378
413
|
}
|
379
414
|
});
|
380
415
|
}), e.element = /** @type {any} */
|
381
|
-
|
382
|
-
}
|
383
|
-
class
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
416
|
+
a, a;
|
417
|
+
}
|
418
|
+
class lr {
|
419
|
+
constructor() {
|
420
|
+
/**
|
421
|
+
* ### PRIVATE API
|
422
|
+
*
|
423
|
+
* Do not use, may change at any time
|
424
|
+
*
|
425
|
+
* @type {any}
|
426
|
+
*/
|
427
|
+
S(this, "$$");
|
428
|
+
/**
|
429
|
+
* ### PRIVATE API
|
430
|
+
*
|
431
|
+
* Do not use, may change at any time
|
432
|
+
*
|
433
|
+
* @type {any}
|
434
|
+
*/
|
435
|
+
S(this, "$$set");
|
436
|
+
}
|
400
437
|
/** @returns {void} */
|
401
438
|
$destroy() {
|
402
|
-
|
439
|
+
ar(this, 1), this.$destroy = w;
|
403
440
|
}
|
404
441
|
/**
|
405
442
|
* @template {Extract<keyof Events, string>} K
|
@@ -408,8 +445,8 @@ class Kt {
|
|
408
445
|
* @returns {() => void}
|
409
446
|
*/
|
410
447
|
$on(t, r) {
|
411
|
-
if (!
|
412
|
-
return
|
448
|
+
if (!Re(r))
|
449
|
+
return w;
|
413
450
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
414
451
|
return n.push(r), () => {
|
415
452
|
const i = n.indexOf(r);
|
@@ -421,159 +458,159 @@ class Kt {
|
|
421
458
|
* @returns {void}
|
422
459
|
*/
|
423
460
|
$set(t) {
|
424
|
-
this.$$set && !
|
461
|
+
this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
425
462
|
}
|
426
463
|
}
|
427
|
-
const
|
428
|
-
typeof window
|
429
|
-
const
|
430
|
-
function
|
464
|
+
const fr = "4";
|
465
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
|
466
|
+
const G = [];
|
467
|
+
function cr(e, t) {
|
431
468
|
return {
|
432
|
-
subscribe:
|
469
|
+
subscribe: le(e, t).subscribe
|
433
470
|
};
|
434
471
|
}
|
435
|
-
function
|
472
|
+
function le(e, t = w) {
|
436
473
|
let r;
|
437
474
|
const n = /* @__PURE__ */ new Set();
|
438
|
-
function i(
|
439
|
-
if (
|
440
|
-
const
|
475
|
+
function i(u) {
|
476
|
+
if (ct(e, u) && (e = u, r)) {
|
477
|
+
const h = !G.length;
|
441
478
|
for (const s of n)
|
442
|
-
s[1](),
|
443
|
-
if (
|
444
|
-
for (let s = 0; s <
|
445
|
-
|
446
|
-
|
479
|
+
s[1](), G.push(s, e);
|
480
|
+
if (h) {
|
481
|
+
for (let s = 0; s < G.length; s += 2)
|
482
|
+
G[s][0](G[s + 1]);
|
483
|
+
G.length = 0;
|
447
484
|
}
|
448
485
|
}
|
449
486
|
}
|
450
|
-
function o(
|
451
|
-
i(
|
487
|
+
function o(u) {
|
488
|
+
i(u(e));
|
452
489
|
}
|
453
|
-
function u
|
454
|
-
const s = [
|
455
|
-
return n.add(s), n.size === 1 && (r = t(i, o) ||
|
490
|
+
function a(u, h = w) {
|
491
|
+
const s = [u, h];
|
492
|
+
return n.add(s), n.size === 1 && (r = t(i, o) || w), u(e), () => {
|
456
493
|
n.delete(s), n.size === 0 && r && (r(), r = null);
|
457
494
|
};
|
458
495
|
}
|
459
|
-
return { set: i, update: o, subscribe:
|
496
|
+
return { set: i, update: o, subscribe: a };
|
460
497
|
}
|
461
|
-
function
|
498
|
+
function Z(e, t, r) {
|
462
499
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
463
500
|
if (!i.every(Boolean))
|
464
501
|
throw new Error("derived() expects stores as input, got a falsy value");
|
465
502
|
const o = t.length < 2;
|
466
|
-
return
|
467
|
-
let
|
503
|
+
return cr(r, (a, u) => {
|
504
|
+
let h = !1;
|
468
505
|
const s = [];
|
469
|
-
let
|
506
|
+
let l = 0, c = w;
|
470
507
|
const f = () => {
|
471
|
-
if (
|
508
|
+
if (l)
|
472
509
|
return;
|
473
510
|
c();
|
474
|
-
const y = t(n ? s[0] : s,
|
475
|
-
o ?
|
511
|
+
const y = t(n ? s[0] : s, a, u);
|
512
|
+
o ? a(y) : c = Re(y) ? y : w;
|
476
513
|
}, b = i.map(
|
477
|
-
(y, _) =>
|
514
|
+
(y, _) => mt(
|
478
515
|
y,
|
479
516
|
(m) => {
|
480
|
-
s[_] = m,
|
517
|
+
s[_] = m, l &= ~(1 << _), h && f();
|
481
518
|
},
|
482
519
|
() => {
|
483
|
-
|
520
|
+
l |= 1 << _;
|
484
521
|
}
|
485
522
|
)
|
486
523
|
);
|
487
|
-
return
|
488
|
-
|
524
|
+
return h = !0, f(), function() {
|
525
|
+
te(b), c(), h = !1;
|
489
526
|
};
|
490
527
|
});
|
491
528
|
}
|
492
|
-
function
|
529
|
+
function mr(e) {
|
493
530
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
494
531
|
}
|
495
|
-
var
|
496
|
-
return
|
532
|
+
var pr = function(t) {
|
533
|
+
return gr(t) && !dr(t);
|
497
534
|
};
|
498
|
-
function
|
535
|
+
function gr(e) {
|
499
536
|
return !!e && typeof e == "object";
|
500
537
|
}
|
501
|
-
function
|
538
|
+
function dr(e) {
|
502
539
|
var t = Object.prototype.toString.call(e);
|
503
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
540
|
+
return t === "[object RegExp]" || t === "[object Date]" || yr(e);
|
504
541
|
}
|
505
|
-
var
|
506
|
-
function
|
507
|
-
return e.$$typeof ===
|
542
|
+
var br = typeof Symbol == "function" && Symbol.for, xr = br ? Symbol.for("react.element") : 60103;
|
543
|
+
function yr(e) {
|
544
|
+
return e.$$typeof === xr;
|
508
545
|
}
|
509
|
-
function
|
546
|
+
function Er(e) {
|
510
547
|
return Array.isArray(e) ? [] : {};
|
511
548
|
}
|
512
|
-
function
|
513
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
549
|
+
function K(e, t) {
|
550
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(Er(e), e, t) : e;
|
514
551
|
}
|
515
|
-
function
|
552
|
+
function vr(e, t, r) {
|
516
553
|
return e.concat(t).map(function(n) {
|
517
|
-
return
|
554
|
+
return K(n, r);
|
518
555
|
});
|
519
556
|
}
|
520
|
-
function
|
557
|
+
function _r(e, t) {
|
521
558
|
if (!t.customMerge)
|
522
|
-
return
|
559
|
+
return k;
|
523
560
|
var r = t.customMerge(e);
|
524
|
-
return typeof r == "function" ? r :
|
561
|
+
return typeof r == "function" ? r : k;
|
525
562
|
}
|
526
|
-
function
|
563
|
+
function Hr(e) {
|
527
564
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
528
565
|
return Object.propertyIsEnumerable.call(e, t);
|
529
566
|
}) : [];
|
530
567
|
}
|
531
|
-
function
|
532
|
-
return Object.keys(e).concat(
|
568
|
+
function qe(e) {
|
569
|
+
return Object.keys(e).concat(Hr(e));
|
533
570
|
}
|
534
|
-
function
|
571
|
+
function dt(e, t) {
|
535
572
|
try {
|
536
573
|
return t in e;
|
537
|
-
} catch {
|
574
|
+
} catch (r) {
|
538
575
|
return !1;
|
539
576
|
}
|
540
577
|
}
|
541
|
-
function
|
542
|
-
return
|
578
|
+
function Tr(e, t) {
|
579
|
+
return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
543
580
|
}
|
544
|
-
function
|
581
|
+
function Pr(e, t, r) {
|
545
582
|
var n = {};
|
546
|
-
return r.isMergeableObject(e) &&
|
547
|
-
n[i] =
|
548
|
-
}),
|
549
|
-
|
583
|
+
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
584
|
+
n[i] = K(e[i], r);
|
585
|
+
}), qe(t).forEach(function(i) {
|
586
|
+
Tr(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _r(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
550
587
|
}), n;
|
551
588
|
}
|
552
|
-
function
|
553
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
589
|
+
function k(e, t, r) {
|
590
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = K;
|
554
591
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
555
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
592
|
+
return o ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) : K(t, r);
|
556
593
|
}
|
557
|
-
|
594
|
+
k.all = function(t, r) {
|
558
595
|
if (!Array.isArray(t))
|
559
596
|
throw new Error("first argument should be an array");
|
560
597
|
return t.reduce(function(n, i) {
|
561
|
-
return
|
598
|
+
return k(n, i, r);
|
562
599
|
}, {});
|
563
600
|
};
|
564
|
-
var
|
565
|
-
const
|
566
|
-
var
|
567
|
-
return
|
601
|
+
var Nr = k, Ar = Nr;
|
602
|
+
const Sr = /* @__PURE__ */ mr(Ar);
|
603
|
+
var Se = function(e, t) {
|
604
|
+
return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
568
605
|
r.__proto__ = n;
|
569
606
|
} || function(r, n) {
|
570
607
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
571
|
-
},
|
608
|
+
}, Se(e, t);
|
572
609
|
};
|
573
|
-
function
|
610
|
+
function fe(e, t) {
|
574
611
|
if (typeof t != "function" && t !== null)
|
575
612
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
576
|
-
|
613
|
+
Se(e, t);
|
577
614
|
function r() {
|
578
615
|
this.constructor = e;
|
579
616
|
}
|
@@ -588,7 +625,7 @@ var d = function() {
|
|
588
625
|
return t;
|
589
626
|
}, d.apply(this, arguments);
|
590
627
|
};
|
591
|
-
function
|
628
|
+
function Br(e, t) {
|
592
629
|
var r = {};
|
593
630
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
594
631
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -596,45 +633,45 @@ function xr(e, t) {
|
|
596
633
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
597
634
|
return r;
|
598
635
|
}
|
599
|
-
function
|
636
|
+
function ye(e, t, r) {
|
600
637
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
601
638
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
602
639
|
return e.concat(o || Array.prototype.slice.call(t));
|
603
640
|
}
|
604
|
-
function
|
605
|
-
var r = t && t.cache ? t.cache :
|
641
|
+
function Ee(e, t) {
|
642
|
+
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Or;
|
606
643
|
return i(e, {
|
607
644
|
cache: r,
|
608
645
|
serializer: n
|
609
646
|
});
|
610
647
|
}
|
611
|
-
function
|
648
|
+
function wr(e) {
|
612
649
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
613
650
|
}
|
614
|
-
function
|
615
|
-
var i =
|
616
|
-
return typeof o
|
651
|
+
function bt(e, t, r, n) {
|
652
|
+
var i = wr(n) ? n : r(n), o = t.get(i);
|
653
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
617
654
|
}
|
618
|
-
function
|
655
|
+
function xt(e, t, r) {
|
619
656
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
620
|
-
return typeof o
|
657
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
621
658
|
}
|
622
|
-
function
|
659
|
+
function De(e, t, r, n, i) {
|
623
660
|
return r.bind(t, e, n, i);
|
624
661
|
}
|
625
|
-
function
|
626
|
-
var r = e.length === 1 ?
|
627
|
-
return
|
662
|
+
function Or(e, t) {
|
663
|
+
var r = e.length === 1 ? bt : xt;
|
664
|
+
return De(e, this, r, t.cache.create(), t.serializer);
|
628
665
|
}
|
629
|
-
function
|
630
|
-
return
|
666
|
+
function Ir(e, t) {
|
667
|
+
return De(e, this, xt, t.cache.create(), t.serializer);
|
631
668
|
}
|
632
|
-
function
|
633
|
-
return
|
669
|
+
function Mr(e, t) {
|
670
|
+
return De(e, this, bt, t.cache.create(), t.serializer);
|
634
671
|
}
|
635
|
-
var
|
672
|
+
var Lr = function() {
|
636
673
|
return JSON.stringify(arguments);
|
637
|
-
},
|
674
|
+
}, Cr = (
|
638
675
|
/** @class */
|
639
676
|
function() {
|
640
677
|
function e() {
|
@@ -646,13 +683,13 @@ var Hr = function() {
|
|
646
683
|
this.cache[t] = r;
|
647
684
|
}, e;
|
648
685
|
}()
|
649
|
-
),
|
686
|
+
), $r = {
|
650
687
|
create: function() {
|
651
|
-
return new
|
688
|
+
return new Cr();
|
652
689
|
}
|
653
|
-
},
|
654
|
-
variadic:
|
655
|
-
monadic:
|
690
|
+
}, ve = {
|
691
|
+
variadic: Ir,
|
692
|
+
monadic: Mr
|
656
693
|
}, p;
|
657
694
|
(function(e) {
|
658
695
|
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";
|
@@ -661,47 +698,47 @@ var E;
|
|
661
698
|
(function(e) {
|
662
699
|
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";
|
663
700
|
})(E || (E = {}));
|
664
|
-
var
|
701
|
+
var V;
|
665
702
|
(function(e) {
|
666
703
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
667
|
-
})(
|
668
|
-
function
|
704
|
+
})(V || (V = {}));
|
705
|
+
function Je(e) {
|
669
706
|
return e.type === E.literal;
|
670
707
|
}
|
671
|
-
function
|
708
|
+
function Rr(e) {
|
672
709
|
return e.type === E.argument;
|
673
710
|
}
|
674
|
-
function
|
711
|
+
function yt(e) {
|
675
712
|
return e.type === E.number;
|
676
713
|
}
|
677
|
-
function
|
714
|
+
function Et(e) {
|
678
715
|
return e.type === E.date;
|
679
716
|
}
|
680
|
-
function
|
717
|
+
function vt(e) {
|
681
718
|
return e.type === E.time;
|
682
719
|
}
|
683
|
-
function
|
720
|
+
function _t(e) {
|
684
721
|
return e.type === E.select;
|
685
722
|
}
|
686
|
-
function
|
723
|
+
function Ht(e) {
|
687
724
|
return e.type === E.plural;
|
688
725
|
}
|
689
|
-
function
|
726
|
+
function Fr(e) {
|
690
727
|
return e.type === E.pound;
|
691
728
|
}
|
692
|
-
function
|
729
|
+
function Tt(e) {
|
693
730
|
return e.type === E.tag;
|
694
731
|
}
|
695
|
-
function
|
696
|
-
return !!(e && typeof e == "object" && e.type ===
|
732
|
+
function Pt(e) {
|
733
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
697
734
|
}
|
698
|
-
function
|
699
|
-
return !!(e && typeof e == "object" && e.type ===
|
735
|
+
function Be(e) {
|
736
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
700
737
|
}
|
701
|
-
var
|
702
|
-
function
|
738
|
+
var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
|
739
|
+
function Dr(e) {
|
703
740
|
var t = {};
|
704
|
-
return e.replace(
|
741
|
+
return e.replace(Gr, function(r) {
|
705
742
|
var n = r.length;
|
706
743
|
switch (r[0]) {
|
707
744
|
case "G":
|
@@ -790,36 +827,36 @@ function Br(e) {
|
|
790
827
|
return "";
|
791
828
|
}), t;
|
792
829
|
}
|
793
|
-
var
|
794
|
-
function
|
830
|
+
var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
831
|
+
function jr(e) {
|
795
832
|
if (e.length === 0)
|
796
833
|
throw new Error("Number skeleton cannot be empty");
|
797
|
-
for (var t = e.split(
|
834
|
+
for (var t = e.split(Ur).filter(function(f) {
|
798
835
|
return f.length > 0;
|
799
836
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
800
|
-
var o = i[n],
|
801
|
-
if (
|
837
|
+
var o = i[n], a = o.split("/");
|
838
|
+
if (a.length === 0)
|
802
839
|
throw new Error("Invalid number skeleton");
|
803
|
-
for (var
|
804
|
-
var c =
|
840
|
+
for (var u = a[0], h = a.slice(1), s = 0, l = h; s < l.length; s++) {
|
841
|
+
var c = l[s];
|
805
842
|
if (c.length === 0)
|
806
843
|
throw new Error("Invalid number skeleton");
|
807
844
|
}
|
808
|
-
r.push({ stem:
|
845
|
+
r.push({ stem: u, options: h });
|
809
846
|
}
|
810
847
|
return r;
|
811
848
|
}
|
812
|
-
function
|
849
|
+
function kr(e) {
|
813
850
|
return e.replace(/^(.*?)-/, "");
|
814
851
|
}
|
815
|
-
var
|
816
|
-
function
|
852
|
+
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, At = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, St = /^(0+)$/;
|
853
|
+
function Ke(e) {
|
817
854
|
var t = {};
|
818
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
855
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(At, function(r, n, i) {
|
819
856
|
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)), "";
|
820
857
|
}), t;
|
821
858
|
}
|
822
|
-
function
|
859
|
+
function Bt(e) {
|
823
860
|
switch (e) {
|
824
861
|
case "sign-auto":
|
825
862
|
return {
|
@@ -859,7 +896,7 @@ function Ht(e) {
|
|
859
896
|
};
|
860
897
|
}
|
861
898
|
}
|
862
|
-
function
|
899
|
+
function Xr(e) {
|
863
900
|
var t;
|
864
901
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
865
902
|
notation: "engineering"
|
@@ -867,17 +904,17 @@ function Lr(e) {
|
|
867
904
|
notation: "scientific"
|
868
905
|
}, e = e.slice(1)), t) {
|
869
906
|
var r = e.slice(0, 2);
|
870
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
907
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !St.test(e))
|
871
908
|
throw new Error("Malformed concise eng/scientific notation");
|
872
909
|
t.minimumIntegerDigits = e.length;
|
873
910
|
}
|
874
911
|
return t;
|
875
912
|
}
|
876
|
-
function
|
877
|
-
var t = {}, r =
|
913
|
+
function et(e) {
|
914
|
+
var t = {}, r = Bt(e);
|
878
915
|
return r || t;
|
879
916
|
}
|
880
|
-
function
|
917
|
+
function zr(e) {
|
881
918
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
882
919
|
var i = n[r];
|
883
920
|
switch (i.stem) {
|
@@ -901,7 +938,7 @@ function Cr(e) {
|
|
901
938
|
continue;
|
902
939
|
case "measure-unit":
|
903
940
|
case "unit":
|
904
|
-
t.style = "unit", t.unit =
|
941
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
905
942
|
continue;
|
906
943
|
case "compact-short":
|
907
944
|
case "K":
|
@@ -912,13 +949,13 @@ function Cr(e) {
|
|
912
949
|
t.notation = "compact", t.compactDisplay = "long";
|
913
950
|
continue;
|
914
951
|
case "scientific":
|
915
|
-
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(
|
916
|
-
return d(d({},
|
952
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, s) {
|
953
|
+
return d(d({}, h), et(s));
|
917
954
|
}, {}));
|
918
955
|
continue;
|
919
956
|
case "engineering":
|
920
|
-
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(
|
921
|
-
return d(d({},
|
957
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, s) {
|
958
|
+
return d(d({}, h), et(s));
|
922
959
|
}, {}));
|
923
960
|
continue;
|
924
961
|
case "notation-simple":
|
@@ -963,9 +1000,9 @@ function Cr(e) {
|
|
963
1000
|
case "integer-width":
|
964
1001
|
if (i.options.length > 1)
|
965
1002
|
throw new RangeError("integer-width stems only accept a single optional option");
|
966
|
-
i.options[0].replace(
|
1003
|
+
i.options[0].replace(Vr, function(h, s, l, c, f, b) {
|
967
1004
|
if (s)
|
968
|
-
t.minimumIntegerDigits =
|
1005
|
+
t.minimumIntegerDigits = l.length;
|
969
1006
|
else {
|
970
1007
|
if (c && f)
|
971
1008
|
throw new Error("We currently do not support maximum integer digits");
|
@@ -976,32 +1013,32 @@ function Cr(e) {
|
|
976
1013
|
});
|
977
1014
|
continue;
|
978
1015
|
}
|
979
|
-
if (
|
1016
|
+
if (St.test(i.stem)) {
|
980
1017
|
t.minimumIntegerDigits = i.stem.length;
|
981
1018
|
continue;
|
982
1019
|
}
|
983
|
-
if (
|
1020
|
+
if (Ye.test(i.stem)) {
|
984
1021
|
if (i.options.length > 1)
|
985
1022
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
986
|
-
i.stem.replace(
|
987
|
-
return
|
1023
|
+
i.stem.replace(Ye, function(h, s, l, c, f, b) {
|
1024
|
+
return l === "*" ? t.minimumFractionDigits = s.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
|
988
1025
|
});
|
989
1026
|
var o = i.options[0];
|
990
|
-
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t),
|
1027
|
+
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), Ke(o)));
|
991
1028
|
continue;
|
992
1029
|
}
|
993
|
-
if (
|
994
|
-
t = d(d({}, t),
|
1030
|
+
if (At.test(i.stem)) {
|
1031
|
+
t = d(d({}, t), Ke(i.stem));
|
995
1032
|
continue;
|
996
1033
|
}
|
997
|
-
var
|
998
|
-
u && (t = d(d({}, t), u));
|
999
|
-
var a = Lr(i.stem);
|
1034
|
+
var a = Bt(i.stem);
|
1000
1035
|
a && (t = d(d({}, t), a));
|
1036
|
+
var u = Xr(i.stem);
|
1037
|
+
u && (t = d(d({}, t), u));
|
1001
1038
|
}
|
1002
1039
|
return t;
|
1003
1040
|
}
|
1004
|
-
var
|
1041
|
+
var ne = {
|
1005
1042
|
"001": [
|
1006
1043
|
"H",
|
1007
1044
|
"h"
|
@@ -2416,22 +2453,22 @@ var re = {
|
|
2416
2453
|
"h"
|
2417
2454
|
]
|
2418
2455
|
};
|
2419
|
-
function
|
2456
|
+
function Zr(e, t) {
|
2420
2457
|
for (var r = "", n = 0; n < e.length; n++) {
|
2421
2458
|
var i = e.charAt(n);
|
2422
2459
|
if (i === "j") {
|
2423
2460
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2424
2461
|
o++, n++;
|
2425
|
-
var
|
2426
|
-
for ((s == "H" || s == "k") && (
|
2427
|
-
r +=
|
2428
|
-
for (;
|
2462
|
+
var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", s = Wr(t);
|
2463
|
+
for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
|
2464
|
+
r += h;
|
2465
|
+
for (; a-- > 0; )
|
2429
2466
|
r = s + r;
|
2430
2467
|
} else i === "J" ? r += "H" : r += i;
|
2431
2468
|
}
|
2432
2469
|
return r;
|
2433
2470
|
}
|
2434
|
-
function
|
2471
|
+
function Wr(e) {
|
2435
2472
|
var t = e.hourCycle;
|
2436
2473
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2437
2474
|
e.hourCycles && // @ts-ignore
|
@@ -2450,23 +2487,23 @@ function Rr(e) {
|
|
2450
2487
|
}
|
2451
2488
|
var r = e.language, n;
|
2452
2489
|
r !== "root" && (n = e.maximize().region);
|
2453
|
-
var i =
|
2490
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2454
2491
|
return i[0];
|
2455
2492
|
}
|
2456
|
-
var
|
2493
|
+
var _e, Qr = new RegExp("^".concat(Nt.source, "*")), qr = new RegExp("".concat(Nt.source, "*$"));
|
2457
2494
|
function g(e, t) {
|
2458
2495
|
return { start: e, end: t };
|
2459
2496
|
}
|
2460
|
-
var
|
2497
|
+
var Jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, on = nn ? Number.isSafeInteger : function(e) {
|
2461
2498
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2462
|
-
},
|
2499
|
+
}, we = !0;
|
2463
2500
|
try {
|
2464
|
-
var
|
2465
|
-
|
2466
|
-
} catch {
|
2467
|
-
|
2501
|
+
var an = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2502
|
+
we = ((_e = an.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
2503
|
+
} catch (e) {
|
2504
|
+
we = !1;
|
2468
2505
|
}
|
2469
|
-
var
|
2506
|
+
var tt = Jr ? (
|
2470
2507
|
// Native
|
2471
2508
|
function(t, r, n) {
|
2472
2509
|
return t.startsWith(r, n);
|
@@ -2476,31 +2513,31 @@ var Qe = Dr ? (
|
|
2476
2513
|
function(t, r, n) {
|
2477
2514
|
return t.slice(n, n + r.length) === r;
|
2478
2515
|
}
|
2479
|
-
),
|
2516
|
+
), Oe = Yr ? String.fromCodePoint : (
|
2480
2517
|
// IE11
|
2481
2518
|
function() {
|
2482
2519
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2483
2520
|
t[r] = arguments[r];
|
2484
|
-
for (var n = "", i = t.length, o = 0,
|
2485
|
-
if (
|
2486
|
-
throw RangeError(
|
2487
|
-
n +=
|
2521
|
+
for (var n = "", i = t.length, o = 0, a; i > o; ) {
|
2522
|
+
if (a = t[o++], a > 1114111)
|
2523
|
+
throw RangeError(a + " is not a valid code point");
|
2524
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
2488
2525
|
}
|
2489
2526
|
return n;
|
2490
2527
|
}
|
2491
|
-
),
|
2528
|
+
), rt = (
|
2492
2529
|
// native
|
2493
|
-
|
2530
|
+
Kr ? Object.fromEntries : (
|
2494
2531
|
// Ponyfill
|
2495
2532
|
function(t) {
|
2496
2533
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2497
|
-
var o = i[n],
|
2498
|
-
r[
|
2534
|
+
var o = i[n], a = o[0], u = o[1];
|
2535
|
+
r[a] = u;
|
2499
2536
|
}
|
2500
2537
|
return r;
|
2501
2538
|
}
|
2502
2539
|
)
|
2503
|
-
),
|
2540
|
+
), wt = en ? (
|
2504
2541
|
// Native
|
2505
2542
|
function(t, r) {
|
2506
2543
|
return t.codePointAt(r);
|
@@ -2514,7 +2551,7 @@ var Qe = Dr ? (
|
|
2514
2551
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2515
2552
|
}
|
2516
2553
|
}
|
2517
|
-
),
|
2554
|
+
), sn = tn ? (
|
2518
2555
|
// Native
|
2519
2556
|
function(t) {
|
2520
2557
|
return t.trimStart();
|
@@ -2522,9 +2559,9 @@ var Qe = Dr ? (
|
|
2522
2559
|
) : (
|
2523
2560
|
// Ponyfill
|
2524
2561
|
function(t) {
|
2525
|
-
return t.replace(
|
2562
|
+
return t.replace(Qr, "");
|
2526
2563
|
}
|
2527
|
-
),
|
2564
|
+
), un = rn ? (
|
2528
2565
|
// Native
|
2529
2566
|
function(t) {
|
2530
2567
|
return t.trimEnd();
|
@@ -2532,32 +2569,32 @@ var Qe = Dr ? (
|
|
2532
2569
|
) : (
|
2533
2570
|
// Ponyfill
|
2534
2571
|
function(t) {
|
2535
|
-
return t.replace(
|
2572
|
+
return t.replace(qr, "");
|
2536
2573
|
}
|
2537
2574
|
);
|
2538
|
-
function
|
2575
|
+
function Ot(e, t) {
|
2539
2576
|
return new RegExp(e, t);
|
2540
2577
|
}
|
2541
|
-
var
|
2542
|
-
if (
|
2543
|
-
var
|
2544
|
-
|
2578
|
+
var Ie;
|
2579
|
+
if (we) {
|
2580
|
+
var nt = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2581
|
+
Ie = function(t, r) {
|
2545
2582
|
var n;
|
2546
|
-
|
2547
|
-
var i =
|
2583
|
+
nt.lastIndex = r;
|
2584
|
+
var i = nt.exec(t);
|
2548
2585
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2549
2586
|
};
|
2550
2587
|
} else
|
2551
|
-
|
2588
|
+
Ie = function(t, r) {
|
2552
2589
|
for (var n = []; ; ) {
|
2553
|
-
var i =
|
2554
|
-
if (i === void 0 ||
|
2590
|
+
var i = wt(t, r);
|
2591
|
+
if (i === void 0 || It(i) || cn(i))
|
2555
2592
|
break;
|
2556
2593
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2557
2594
|
}
|
2558
|
-
return
|
2595
|
+
return Oe.apply(void 0, n);
|
2559
2596
|
};
|
2560
|
-
var
|
2597
|
+
var hn = (
|
2561
2598
|
/** @class */
|
2562
2599
|
function() {
|
2563
2600
|
function e(t, r) {
|
@@ -2571,33 +2608,33 @@ var Jr = (
|
|
2571
2608
|
for (var i = []; !this.isEOF(); ) {
|
2572
2609
|
var o = this.char();
|
2573
2610
|
if (o === 123) {
|
2574
|
-
var
|
2575
|
-
if (
|
2576
|
-
return
|
2577
|
-
i.push(
|
2611
|
+
var a = this.parseArgument(t, n);
|
2612
|
+
if (a.err)
|
2613
|
+
return a;
|
2614
|
+
i.push(a.val);
|
2578
2615
|
} else {
|
2579
2616
|
if (o === 125 && t > 0)
|
2580
2617
|
break;
|
2581
2618
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2582
|
-
var
|
2619
|
+
var u = this.clonePosition();
|
2583
2620
|
this.bump(), i.push({
|
2584
2621
|
type: E.pound,
|
2585
|
-
location: g(
|
2622
|
+
location: g(u, this.clonePosition())
|
2586
2623
|
});
|
2587
2624
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2588
2625
|
if (n)
|
2589
2626
|
break;
|
2590
2627
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2591
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2592
|
-
var
|
2593
|
-
if (
|
2594
|
-
return
|
2595
|
-
i.push(
|
2628
|
+
} else if (o === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
2629
|
+
var a = this.parseTag(t, r);
|
2630
|
+
if (a.err)
|
2631
|
+
return a;
|
2632
|
+
i.push(a.val);
|
2596
2633
|
} else {
|
2597
|
-
var
|
2598
|
-
if (
|
2599
|
-
return
|
2600
|
-
i.push(
|
2634
|
+
var a = this.parseLiteral(t, r);
|
2635
|
+
if (a.err)
|
2636
|
+
return a;
|
2637
|
+
i.push(a.val);
|
2601
2638
|
}
|
2602
2639
|
}
|
2603
2640
|
}
|
@@ -2619,27 +2656,27 @@ var Jr = (
|
|
2619
2656
|
var o = this.parseMessage(t + 1, r, !0);
|
2620
2657
|
if (o.err)
|
2621
2658
|
return o;
|
2622
|
-
var
|
2659
|
+
var a = o.val, u = this.clonePosition();
|
2623
2660
|
if (this.bumpIf("</")) {
|
2624
|
-
if (this.isEOF() || !
|
2625
|
-
return this.error(p.INVALID_TAG, g(
|
2626
|
-
var
|
2627
|
-
return i !== s ? this.error(p.UNMATCHED_CLOSING_TAG, g(
|
2661
|
+
if (this.isEOF() || !Me(this.char()))
|
2662
|
+
return this.error(p.INVALID_TAG, g(u, this.clonePosition()));
|
2663
|
+
var h = this.clonePosition(), s = this.parseTagName();
|
2664
|
+
return i !== s ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2628
2665
|
val: {
|
2629
2666
|
type: E.tag,
|
2630
2667
|
value: i,
|
2631
|
-
children:
|
2668
|
+
children: a,
|
2632
2669
|
location: g(n, this.clonePosition())
|
2633
2670
|
},
|
2634
2671
|
err: null
|
2635
|
-
} : this.error(p.INVALID_TAG, g(
|
2672
|
+
} : this.error(p.INVALID_TAG, g(u, this.clonePosition())));
|
2636
2673
|
} else
|
2637
2674
|
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
2638
2675
|
} else
|
2639
2676
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2640
2677
|
}, e.prototype.parseTagName = function() {
|
2641
2678
|
var t = this.offset();
|
2642
|
-
for (this.bump(); !this.isEOF() &&
|
2679
|
+
for (this.bump(); !this.isEOF() && fn(this.char()); )
|
2643
2680
|
this.bump();
|
2644
2681
|
return this.message.slice(t, this.offset());
|
2645
2682
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2649,26 +2686,26 @@ var Jr = (
|
|
2649
2686
|
i += o;
|
2650
2687
|
continue;
|
2651
2688
|
}
|
2652
|
-
var
|
2653
|
-
if (u) {
|
2654
|
-
i += u;
|
2655
|
-
continue;
|
2656
|
-
}
|
2657
|
-
var a = this.tryParseLeftAngleBracket();
|
2689
|
+
var a = this.tryParseUnquoted(t, r);
|
2658
2690
|
if (a) {
|
2659
2691
|
i += a;
|
2660
2692
|
continue;
|
2661
2693
|
}
|
2694
|
+
var u = this.tryParseLeftAngleBracket();
|
2695
|
+
if (u) {
|
2696
|
+
i += u;
|
2697
|
+
continue;
|
2698
|
+
}
|
2662
2699
|
break;
|
2663
2700
|
}
|
2664
|
-
var
|
2701
|
+
var h = g(n, this.clonePosition());
|
2665
2702
|
return {
|
2666
|
-
val: { type: E.literal, value: i, location:
|
2703
|
+
val: { type: E.literal, value: i, location: h },
|
2667
2704
|
err: null
|
2668
2705
|
};
|
2669
2706
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2670
2707
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2671
|
-
!
|
2708
|
+
!ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2672
2709
|
}, e.prototype.tryParseQuote = function(t) {
|
2673
2710
|
if (this.isEOF() || this.char() !== 39)
|
2674
2711
|
return null;
|
@@ -2702,12 +2739,12 @@ var Jr = (
|
|
2702
2739
|
r.push(n);
|
2703
2740
|
this.bump();
|
2704
2741
|
}
|
2705
|
-
return
|
2742
|
+
return Oe.apply(void 0, r);
|
2706
2743
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2707
2744
|
if (this.isEOF())
|
2708
2745
|
return null;
|
2709
2746
|
var n = this.char();
|
2710
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2747
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
|
2711
2748
|
}, e.prototype.parseArgument = function(t, r) {
|
2712
2749
|
var n = this.clonePosition();
|
2713
2750
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2736,15 +2773,15 @@ var Jr = (
|
|
2736
2773
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2737
2774
|
}
|
2738
2775
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2739
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2776
|
+
var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
|
2740
2777
|
this.bumpTo(i);
|
2741
|
-
var o = this.clonePosition(),
|
2742
|
-
return { value: n, location:
|
2778
|
+
var o = this.clonePosition(), a = g(t, o);
|
2779
|
+
return { value: n, location: a };
|
2743
2780
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2744
|
-
var o,
|
2745
|
-
switch (
|
2781
|
+
var o, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
2782
|
+
switch (u) {
|
2746
2783
|
case "":
|
2747
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE, g(
|
2784
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(a, h));
|
2748
2785
|
case "number":
|
2749
2786
|
case "date":
|
2750
2787
|
case "time": {
|
@@ -2752,22 +2789,22 @@ var Jr = (
|
|
2752
2789
|
var s = null;
|
2753
2790
|
if (this.bumpIf(",")) {
|
2754
2791
|
this.bumpSpace();
|
2755
|
-
var
|
2792
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2756
2793
|
if (c.err)
|
2757
2794
|
return c;
|
2758
|
-
var f =
|
2795
|
+
var f = un(c.val);
|
2759
2796
|
if (f.length === 0)
|
2760
2797
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2761
|
-
var b = g(
|
2798
|
+
var b = g(l, this.clonePosition());
|
2762
2799
|
s = { style: f, styleLocation: b };
|
2763
2800
|
}
|
2764
2801
|
var y = this.tryParseArgumentClose(i);
|
2765
2802
|
if (y.err)
|
2766
2803
|
return y;
|
2767
2804
|
var _ = g(i, this.clonePosition());
|
2768
|
-
if (s &&
|
2769
|
-
var m =
|
2770
|
-
if (
|
2805
|
+
if (s && tt(s == null ? void 0 : s.style, "::", 0)) {
|
2806
|
+
var m = sn(s.style.slice(2));
|
2807
|
+
if (u === "number") {
|
2771
2808
|
var c = this.parseNumberSkeletonFromString(m, s.styleLocation);
|
2772
2809
|
return c.err ? c : {
|
2773
2810
|
val: { type: E.number, value: n, location: _, style: c.val },
|
@@ -2777,13 +2814,13 @@ var Jr = (
|
|
2777
2814
|
if (m.length === 0)
|
2778
2815
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, _);
|
2779
2816
|
var v = m;
|
2780
|
-
this.locale && (v =
|
2817
|
+
this.locale && (v = Zr(m, this.locale));
|
2781
2818
|
var f = {
|
2782
|
-
type:
|
2819
|
+
type: V.dateTime,
|
2783
2820
|
pattern: v,
|
2784
2821
|
location: s.styleLocation,
|
2785
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2786
|
-
}, T =
|
2822
|
+
parsedOptions: this.shouldParseSkeletons ? Dr(v) : {}
|
2823
|
+
}, T = u === "date" ? E.date : E.time;
|
2787
2824
|
return {
|
2788
2825
|
val: { type: T, value: n, location: _, style: f },
|
2789
2826
|
err: null
|
@@ -2792,10 +2829,10 @@ var Jr = (
|
|
2792
2829
|
}
|
2793
2830
|
return {
|
2794
2831
|
val: {
|
2795
|
-
type:
|
2832
|
+
type: u === "number" ? E.number : u === "date" ? E.date : E.time,
|
2796
2833
|
value: n,
|
2797
2834
|
location: _,
|
2798
|
-
style: (o = s
|
2835
|
+
style: (o = s == null ? void 0 : s.style) !== null && o !== void 0 ? o : null
|
2799
2836
|
},
|
2800
2837
|
err: null
|
2801
2838
|
};
|
@@ -2807,45 +2844,45 @@ var Jr = (
|
|
2807
2844
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2808
2845
|
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(N, d({}, N)));
|
2809
2846
|
this.bumpSpace();
|
2810
|
-
var
|
2811
|
-
if (
|
2847
|
+
var B = this.parseIdentifierIfPossible(), A = 0;
|
2848
|
+
if (u !== "select" && B.value === "offset") {
|
2812
2849
|
if (!this.bumpIf(":"))
|
2813
2850
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2814
2851
|
this.bumpSpace();
|
2815
2852
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2816
2853
|
if (c.err)
|
2817
2854
|
return c;
|
2818
|
-
this.bumpSpace(),
|
2855
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), A = c.val;
|
2819
2856
|
}
|
2820
|
-
var
|
2821
|
-
if (
|
2822
|
-
return
|
2857
|
+
var O = this.tryParsePluralOrSelectOptions(t, u, r, B);
|
2858
|
+
if (O.err)
|
2859
|
+
return O;
|
2823
2860
|
var y = this.tryParseArgumentClose(i);
|
2824
2861
|
if (y.err)
|
2825
2862
|
return y;
|
2826
|
-
var
|
2827
|
-
return
|
2863
|
+
var R = g(i, this.clonePosition());
|
2864
|
+
return u === "select" ? {
|
2828
2865
|
val: {
|
2829
2866
|
type: E.select,
|
2830
2867
|
value: n,
|
2831
|
-
options:
|
2832
|
-
location:
|
2868
|
+
options: rt(O.val),
|
2869
|
+
location: R
|
2833
2870
|
},
|
2834
2871
|
err: null
|
2835
2872
|
} : {
|
2836
2873
|
val: {
|
2837
2874
|
type: E.plural,
|
2838
2875
|
value: n,
|
2839
|
-
options:
|
2876
|
+
options: rt(O.val),
|
2840
2877
|
offset: A,
|
2841
|
-
pluralType:
|
2842
|
-
location:
|
2878
|
+
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
2879
|
+
location: R
|
2843
2880
|
},
|
2844
2881
|
err: null
|
2845
2882
|
};
|
2846
2883
|
}
|
2847
2884
|
default:
|
2848
|
-
return this.error(p.INVALID_ARGUMENT_TYPE, g(
|
2885
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(a, h));
|
2849
2886
|
}
|
2850
2887
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2851
2888
|
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -2887,34 +2924,34 @@ var Jr = (
|
|
2887
2924
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2888
2925
|
var n = [];
|
2889
2926
|
try {
|
2890
|
-
n =
|
2891
|
-
} catch {
|
2927
|
+
n = jr(t);
|
2928
|
+
} catch (i) {
|
2892
2929
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2893
2930
|
}
|
2894
2931
|
return {
|
2895
2932
|
val: {
|
2896
|
-
type:
|
2933
|
+
type: V.number,
|
2897
2934
|
tokens: n,
|
2898
2935
|
location: r,
|
2899
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2936
|
+
parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
|
2900
2937
|
},
|
2901
2938
|
err: null
|
2902
2939
|
};
|
2903
2940
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2904
|
-
for (var o,
|
2941
|
+
for (var o, a = !1, u = [], h = /* @__PURE__ */ new Set(), s = i.value, l = i.location; ; ) {
|
2905
2942
|
if (s.length === 0) {
|
2906
2943
|
var c = this.clonePosition();
|
2907
2944
|
if (r !== "select" && this.bumpIf("=")) {
|
2908
2945
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2909
2946
|
if (f.err)
|
2910
2947
|
return f;
|
2911
|
-
|
2948
|
+
l = g(c, this.clonePosition()), s = this.message.slice(c.offset, this.offset());
|
2912
2949
|
} else
|
2913
2950
|
break;
|
2914
2951
|
}
|
2915
|
-
if (
|
2916
|
-
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
2917
|
-
s === "other" && (
|
2952
|
+
if (h.has(s))
|
2953
|
+
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
2954
|
+
s === "other" && (a = !0), this.bumpSpace();
|
2918
2955
|
var b = this.clonePosition();
|
2919
2956
|
if (!this.bumpIf("{"))
|
2920
2957
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
@@ -2924,27 +2961,27 @@ var Jr = (
|
|
2924
2961
|
var _ = this.tryParseArgumentClose(b);
|
2925
2962
|
if (_.err)
|
2926
2963
|
return _;
|
2927
|
-
|
2964
|
+
u.push([
|
2928
2965
|
s,
|
2929
2966
|
{
|
2930
2967
|
value: y.val,
|
2931
2968
|
location: g(b, this.clonePosition())
|
2932
2969
|
}
|
2933
|
-
]),
|
2970
|
+
]), h.add(s), this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = o.value, l = o.location;
|
2934
2971
|
}
|
2935
|
-
return
|
2972
|
+
return u.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
2936
2973
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2937
2974
|
var n = 1, i = this.clonePosition();
|
2938
2975
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
2939
|
-
for (var o = !1,
|
2940
|
-
var
|
2941
|
-
if (
|
2942
|
-
o = !0,
|
2976
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
2977
|
+
var u = this.char();
|
2978
|
+
if (u >= 48 && u <= 57)
|
2979
|
+
o = !0, a = a * 10 + (u - 48), this.bump();
|
2943
2980
|
else
|
2944
2981
|
break;
|
2945
2982
|
}
|
2946
|
-
var
|
2947
|
-
return o ? (
|
2983
|
+
var h = g(i, this.clonePosition());
|
2984
|
+
return o ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
2948
2985
|
}, e.prototype.offset = function() {
|
2949
2986
|
return this.position.offset;
|
2950
2987
|
}, e.prototype.isEOF = function() {
|
@@ -2959,7 +2996,7 @@ var Jr = (
|
|
2959
2996
|
var t = this.position.offset;
|
2960
2997
|
if (t >= this.message.length)
|
2961
2998
|
throw Error("out of bound");
|
2962
|
-
var r =
|
2999
|
+
var r = wt(this.message, t);
|
2963
3000
|
if (r === void 0)
|
2964
3001
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2965
3002
|
return r;
|
@@ -2978,7 +3015,7 @@ var Jr = (
|
|
2978
3015
|
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);
|
2979
3016
|
}
|
2980
3017
|
}, e.prototype.bumpIf = function(t) {
|
2981
|
-
if (
|
3018
|
+
if (tt(this.message, t, this.offset())) {
|
2982
3019
|
for (var r = 0; r < t.length; r++)
|
2983
3020
|
this.bump();
|
2984
3021
|
return !0;
|
@@ -3000,56 +3037,56 @@ var Jr = (
|
|
3000
3037
|
break;
|
3001
3038
|
}
|
3002
3039
|
}, e.prototype.bumpSpace = function() {
|
3003
|
-
for (; !this.isEOF() &&
|
3040
|
+
for (; !this.isEOF() && It(this.char()); )
|
3004
3041
|
this.bump();
|
3005
3042
|
}, e.prototype.peek = function() {
|
3006
3043
|
if (this.isEOF())
|
3007
3044
|
return null;
|
3008
3045
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
3009
|
-
return n
|
3046
|
+
return n != null ? n : null;
|
3010
3047
|
}, e;
|
3011
3048
|
}()
|
3012
3049
|
);
|
3013
|
-
function
|
3050
|
+
function Me(e) {
|
3014
3051
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3015
3052
|
}
|
3016
|
-
function
|
3017
|
-
return
|
3053
|
+
function ln(e) {
|
3054
|
+
return Me(e) || e === 47;
|
3018
3055
|
}
|
3019
|
-
function
|
3056
|
+
function fn(e) {
|
3020
3057
|
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;
|
3021
3058
|
}
|
3022
|
-
function
|
3059
|
+
function It(e) {
|
3023
3060
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3024
3061
|
}
|
3025
|
-
function
|
3062
|
+
function cn(e) {
|
3026
3063
|
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;
|
3027
3064
|
}
|
3028
|
-
function
|
3065
|
+
function Le(e) {
|
3029
3066
|
e.forEach(function(t) {
|
3030
|
-
if (delete t.location,
|
3067
|
+
if (delete t.location, _t(t) || Ht(t))
|
3031
3068
|
for (var r in t.options)
|
3032
|
-
delete t.options[r].location,
|
3033
|
-
else
|
3069
|
+
delete t.options[r].location, Le(t.options[r].value);
|
3070
|
+
else yt(t) && Pt(t.style) || (Et(t) || vt(t)) && Be(t.style) ? delete t.style.location : Tt(t) && Le(t.children);
|
3034
3071
|
});
|
3035
3072
|
}
|
3036
|
-
function
|
3073
|
+
function mn(e, t) {
|
3037
3074
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3038
|
-
var r = new
|
3075
|
+
var r = new hn(e, t).parse();
|
3039
3076
|
if (r.err) {
|
3040
3077
|
var n = SyntaxError(p[r.err.kind]);
|
3041
3078
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3042
3079
|
}
|
3043
|
-
return t
|
3080
|
+
return t != null && t.captureLocation || Le(r.val), r.val;
|
3044
3081
|
}
|
3045
|
-
var
|
3082
|
+
var X;
|
3046
3083
|
(function(e) {
|
3047
3084
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3048
|
-
})(
|
3049
|
-
var
|
3085
|
+
})(X || (X = {}));
|
3086
|
+
var ce = (
|
3050
3087
|
/** @class */
|
3051
3088
|
function(e) {
|
3052
|
-
|
3089
|
+
fe(t, e);
|
3053
3090
|
function t(r, n, i) {
|
3054
3091
|
var o = e.call(this, r) || this;
|
3055
3092
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3058,155 +3095,155 @@ var fe = (
|
|
3058
3095
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3059
3096
|
}, t;
|
3060
3097
|
}(Error)
|
3061
|
-
),
|
3098
|
+
), it = (
|
3062
3099
|
/** @class */
|
3063
3100
|
function(e) {
|
3064
|
-
|
3101
|
+
fe(t, e);
|
3065
3102
|
function t(r, n, i, o) {
|
3066
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3103
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
3067
3104
|
}
|
3068
3105
|
return t;
|
3069
|
-
}(
|
3070
|
-
),
|
3106
|
+
}(ce)
|
3107
|
+
), pn = (
|
3071
3108
|
/** @class */
|
3072
3109
|
function(e) {
|
3073
|
-
|
3110
|
+
fe(t, e);
|
3074
3111
|
function t(r, n, i) {
|
3075
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3112
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
3076
3113
|
}
|
3077
3114
|
return t;
|
3078
|
-
}(
|
3079
|
-
),
|
3115
|
+
}(ce)
|
3116
|
+
), gn = (
|
3080
3117
|
/** @class */
|
3081
3118
|
function(e) {
|
3082
|
-
|
3119
|
+
fe(t, e);
|
3083
3120
|
function t(r, n) {
|
3084
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3121
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
3085
3122
|
}
|
3086
3123
|
return t;
|
3087
|
-
}(
|
3124
|
+
}(ce)
|
3088
3125
|
), P;
|
3089
3126
|
(function(e) {
|
3090
3127
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3091
3128
|
})(P || (P = {}));
|
3092
|
-
function
|
3129
|
+
function dn(e) {
|
3093
3130
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3094
3131
|
var n = t[t.length - 1];
|
3095
3132
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
3096
3133
|
}, []);
|
3097
3134
|
}
|
3098
|
-
function
|
3135
|
+
function bn(e) {
|
3099
3136
|
return typeof e == "function";
|
3100
3137
|
}
|
3101
|
-
function
|
3102
|
-
if (e.length === 1 &&
|
3138
|
+
function ae(e, t, r, n, i, o, a) {
|
3139
|
+
if (e.length === 1 && Je(e[0]))
|
3103
3140
|
return [
|
3104
3141
|
{
|
3105
3142
|
type: P.literal,
|
3106
3143
|
value: e[0].value
|
3107
3144
|
}
|
3108
3145
|
];
|
3109
|
-
for (var
|
3110
|
-
var
|
3111
|
-
if (
|
3112
|
-
|
3146
|
+
for (var u = [], h = 0, s = e; h < s.length; h++) {
|
3147
|
+
var l = s[h];
|
3148
|
+
if (Je(l)) {
|
3149
|
+
u.push({
|
3113
3150
|
type: P.literal,
|
3114
|
-
value:
|
3151
|
+
value: l.value
|
3115
3152
|
});
|
3116
3153
|
continue;
|
3117
3154
|
}
|
3118
|
-
if (
|
3119
|
-
typeof o == "number" &&
|
3155
|
+
if (Fr(l)) {
|
3156
|
+
typeof o == "number" && u.push({
|
3120
3157
|
type: P.literal,
|
3121
3158
|
value: r.getNumberFormat(t).format(o)
|
3122
3159
|
});
|
3123
3160
|
continue;
|
3124
3161
|
}
|
3125
|
-
var c =
|
3162
|
+
var c = l.value;
|
3126
3163
|
if (!(i && c in i))
|
3127
|
-
throw new
|
3164
|
+
throw new gn(c, a);
|
3128
3165
|
var f = i[c];
|
3129
|
-
if (
|
3130
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
3166
|
+
if (Rr(l)) {
|
3167
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
3131
3168
|
type: typeof f == "string" ? P.literal : P.object,
|
3132
3169
|
value: f
|
3133
3170
|
});
|
3134
3171
|
continue;
|
3135
3172
|
}
|
3136
|
-
if (
|
3137
|
-
var b = typeof
|
3138
|
-
|
3173
|
+
if (Et(l)) {
|
3174
|
+
var b = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
|
3175
|
+
u.push({
|
3139
3176
|
type: P.literal,
|
3140
3177
|
value: r.getDateTimeFormat(t, b).format(f)
|
3141
3178
|
});
|
3142
3179
|
continue;
|
3143
3180
|
}
|
3144
|
-
if (
|
3145
|
-
var b = typeof
|
3146
|
-
|
3181
|
+
if (vt(l)) {
|
3182
|
+
var b = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
|
3183
|
+
u.push({
|
3147
3184
|
type: P.literal,
|
3148
3185
|
value: r.getDateTimeFormat(t, b).format(f)
|
3149
3186
|
});
|
3150
3187
|
continue;
|
3151
3188
|
}
|
3152
|
-
if (
|
3153
|
-
var b = typeof
|
3154
|
-
b && b.scale && (f = f * (b.scale || 1)),
|
3189
|
+
if (yt(l)) {
|
3190
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Pt(l.style) ? l.style.parsedOptions : void 0;
|
3191
|
+
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
3155
3192
|
type: P.literal,
|
3156
3193
|
value: r.getNumberFormat(t, b).format(f)
|
3157
3194
|
});
|
3158
3195
|
continue;
|
3159
3196
|
}
|
3160
|
-
if (
|
3161
|
-
var y =
|
3162
|
-
if (!
|
3163
|
-
throw new
|
3164
|
-
var v =
|
3197
|
+
if (Tt(l)) {
|
3198
|
+
var y = l.children, _ = l.value, m = i[_];
|
3199
|
+
if (!bn(m))
|
3200
|
+
throw new pn(_, "function", a);
|
3201
|
+
var v = ae(y, t, r, n, i, o), T = m(v.map(function(A) {
|
3165
3202
|
return A.value;
|
3166
3203
|
}));
|
3167
|
-
Array.isArray(T) || (T = [T]),
|
3204
|
+
Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
|
3168
3205
|
return {
|
3169
3206
|
type: typeof A == "string" ? P.literal : P.object,
|
3170
3207
|
value: A
|
3171
3208
|
};
|
3172
3209
|
}));
|
3173
3210
|
}
|
3174
|
-
if (
|
3175
|
-
var N =
|
3211
|
+
if (_t(l)) {
|
3212
|
+
var N = l.options[f] || l.options.other;
|
3176
3213
|
if (!N)
|
3177
|
-
throw new
|
3178
|
-
|
3214
|
+
throw new it(l.value, f, Object.keys(l.options), a);
|
3215
|
+
u.push.apply(u, ae(N.value, t, r, n, i));
|
3179
3216
|
continue;
|
3180
3217
|
}
|
3181
|
-
if (
|
3182
|
-
var N =
|
3218
|
+
if (Ht(l)) {
|
3219
|
+
var N = l.options["=".concat(f)];
|
3183
3220
|
if (!N) {
|
3184
3221
|
if (!Intl.PluralRules)
|
3185
|
-
throw new
|
3222
|
+
throw new ce(`Intl.PluralRules is not available in this environment.
|
3186
3223
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3187
|
-
`,
|
3188
|
-
var
|
3189
|
-
N =
|
3224
|
+
`, X.MISSING_INTL_API, a);
|
3225
|
+
var B = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
3226
|
+
N = l.options[B] || l.options.other;
|
3190
3227
|
}
|
3191
3228
|
if (!N)
|
3192
|
-
throw new
|
3193
|
-
|
3229
|
+
throw new it(l.value, f, Object.keys(l.options), a);
|
3230
|
+
u.push.apply(u, ae(N.value, t, r, n, i, f - (l.offset || 0)));
|
3194
3231
|
continue;
|
3195
3232
|
}
|
3196
3233
|
}
|
3197
|
-
return
|
3234
|
+
return dn(u);
|
3198
3235
|
}
|
3199
|
-
function
|
3236
|
+
function xn(e, t) {
|
3200
3237
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3201
3238
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3202
3239
|
}, {})) : e;
|
3203
3240
|
}
|
3204
|
-
function
|
3241
|
+
function yn(e, t) {
|
3205
3242
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3206
|
-
return r[n] =
|
3243
|
+
return r[n] = xn(e[n], t[n]), r;
|
3207
3244
|
}, d({}, e)) : e;
|
3208
3245
|
}
|
3209
|
-
function
|
3246
|
+
function He(e) {
|
3210
3247
|
return {
|
3211
3248
|
create: function() {
|
3212
3249
|
return {
|
@@ -3220,39 +3257,39 @@ function ve(e) {
|
|
3220
3257
|
}
|
3221
3258
|
};
|
3222
3259
|
}
|
3223
|
-
function
|
3260
|
+
function En(e) {
|
3224
3261
|
return e === void 0 && (e = {
|
3225
3262
|
number: {},
|
3226
3263
|
dateTime: {},
|
3227
3264
|
pluralRules: {}
|
3228
3265
|
}), {
|
3229
|
-
getNumberFormat:
|
3266
|
+
getNumberFormat: Ee(function() {
|
3230
3267
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3231
3268
|
r[n] = arguments[n];
|
3232
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3269
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
3233
3270
|
}, {
|
3234
|
-
cache:
|
3235
|
-
strategy:
|
3271
|
+
cache: He(e.number),
|
3272
|
+
strategy: ve.variadic
|
3236
3273
|
}),
|
3237
|
-
getDateTimeFormat:
|
3274
|
+
getDateTimeFormat: Ee(function() {
|
3238
3275
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3239
3276
|
r[n] = arguments[n];
|
3240
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3277
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
3241
3278
|
}, {
|
3242
|
-
cache:
|
3243
|
-
strategy:
|
3279
|
+
cache: He(e.dateTime),
|
3280
|
+
strategy: ve.variadic
|
3244
3281
|
}),
|
3245
|
-
getPluralRules:
|
3282
|
+
getPluralRules: Ee(function() {
|
3246
3283
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3247
3284
|
r[n] = arguments[n];
|
3248
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3285
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
3249
3286
|
}, {
|
3250
|
-
cache:
|
3251
|
-
strategy:
|
3287
|
+
cache: He(e.pluralRules),
|
3288
|
+
strategy: ve.variadic
|
3252
3289
|
})
|
3253
3290
|
};
|
3254
3291
|
}
|
3255
|
-
var
|
3292
|
+
var vn = (
|
3256
3293
|
/** @class */
|
3257
3294
|
function() {
|
3258
3295
|
function e(t, r, n, i) {
|
@@ -3262,35 +3299,35 @@ var ln = (
|
|
3262
3299
|
number: {},
|
3263
3300
|
dateTime: {},
|
3264
3301
|
pluralRules: {}
|
3265
|
-
}, this.format = function(
|
3266
|
-
var s = o.formatToParts(
|
3302
|
+
}, this.format = function(h) {
|
3303
|
+
var s = o.formatToParts(h);
|
3267
3304
|
if (s.length === 1)
|
3268
3305
|
return s[0].value;
|
3269
|
-
var
|
3306
|
+
var l = s.reduce(function(c, f) {
|
3270
3307
|
return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3271
3308
|
}, []);
|
3272
|
-
return
|
3273
|
-
}, this.formatToParts = function(
|
3274
|
-
return
|
3309
|
+
return l.length <= 1 ? l[0] || "" : l;
|
3310
|
+
}, this.formatToParts = function(h) {
|
3311
|
+
return ae(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
3275
3312
|
}, this.resolvedOptions = function() {
|
3276
|
-
var
|
3313
|
+
var h;
|
3277
3314
|
return {
|
3278
|
-
locale: ((
|
3315
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
3279
3316
|
};
|
3280
3317
|
}, this.getAst = function() {
|
3281
3318
|
return o.ast;
|
3282
3319
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3283
3320
|
if (this.message = t, !e.__parse)
|
3284
3321
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3285
|
-
var
|
3286
|
-
|
3287
|
-
var
|
3288
|
-
this.ast = e.__parse(t, d(d({},
|
3322
|
+
var a = i || {};
|
3323
|
+
a.formatters;
|
3324
|
+
var u = Br(a, ["formatters"]);
|
3325
|
+
this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
|
3289
3326
|
} else
|
3290
3327
|
this.ast = t;
|
3291
3328
|
if (!Array.isArray(this.ast))
|
3292
3329
|
throw new TypeError("A message must be provided as a String or AST.");
|
3293
|
-
this.formats =
|
3330
|
+
this.formats = yn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
|
3294
3331
|
}
|
3295
3332
|
return Object.defineProperty(e, "defaultLocale", {
|
3296
3333
|
get: function() {
|
@@ -3299,11 +3336,11 @@ var ln = (
|
|
3299
3336
|
enumerable: !1,
|
3300
3337
|
configurable: !0
|
3301
3338
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
3302
|
-
if (
|
3339
|
+
if (typeof Intl.Locale != "undefined") {
|
3303
3340
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3304
3341
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3305
3342
|
}
|
3306
|
-
}, e.__parse =
|
3343
|
+
}, e.__parse = mn, e.formats = {
|
3307
3344
|
number: {
|
3308
3345
|
integer: {
|
3309
3346
|
maximumFractionDigits: 0
|
@@ -3364,7 +3401,7 @@ var ln = (
|
|
3364
3401
|
}, e;
|
3365
3402
|
}()
|
3366
3403
|
);
|
3367
|
-
function
|
3404
|
+
function _n(e, t) {
|
3368
3405
|
if (t == null)
|
3369
3406
|
return;
|
3370
3407
|
if (t in e)
|
@@ -3385,92 +3422,92 @@ function fn(e, t) {
|
|
3385
3422
|
n = void 0;
|
3386
3423
|
return n;
|
3387
3424
|
}
|
3388
|
-
const
|
3425
|
+
const M = {}, Hn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Mt = (e, t) => {
|
3389
3426
|
if (t == null)
|
3390
3427
|
return;
|
3391
|
-
if (t in
|
3392
|
-
return
|
3393
|
-
const r =
|
3428
|
+
if (t in M && e in M[t])
|
3429
|
+
return M[t][e];
|
3430
|
+
const r = me(t);
|
3394
3431
|
for (let n = 0; n < r.length; n++) {
|
3395
|
-
const i = r[n], o =
|
3432
|
+
const i = r[n], o = Pn(i, e);
|
3396
3433
|
if (o)
|
3397
|
-
return
|
3434
|
+
return Hn(e, t, o);
|
3398
3435
|
}
|
3399
3436
|
};
|
3400
|
-
let
|
3401
|
-
const
|
3402
|
-
function
|
3403
|
-
return
|
3437
|
+
let Ue;
|
3438
|
+
const re = le({});
|
3439
|
+
function Tn(e) {
|
3440
|
+
return Ue[e] || null;
|
3404
3441
|
}
|
3405
|
-
function
|
3406
|
-
return e in
|
3442
|
+
function Lt(e) {
|
3443
|
+
return e in Ue;
|
3407
3444
|
}
|
3408
|
-
function
|
3409
|
-
if (!
|
3445
|
+
function Pn(e, t) {
|
3446
|
+
if (!Lt(e))
|
3410
3447
|
return null;
|
3411
|
-
const r =
|
3412
|
-
return
|
3448
|
+
const r = Tn(e);
|
3449
|
+
return _n(r, t);
|
3413
3450
|
}
|
3414
|
-
function
|
3451
|
+
function Nn(e) {
|
3415
3452
|
if (e == null)
|
3416
3453
|
return;
|
3417
|
-
const t =
|
3454
|
+
const t = me(e);
|
3418
3455
|
for (let r = 0; r < t.length; r++) {
|
3419
3456
|
const n = t[r];
|
3420
|
-
if (
|
3457
|
+
if (Lt(n))
|
3421
3458
|
return n;
|
3422
3459
|
}
|
3423
3460
|
}
|
3424
|
-
function
|
3425
|
-
delete
|
3461
|
+
function Ct(e, ...t) {
|
3462
|
+
delete M[e], re.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
|
3426
3463
|
}
|
3427
|
-
|
3428
|
-
[
|
3464
|
+
Z(
|
3465
|
+
[re],
|
3429
3466
|
([e]) => Object.keys(e)
|
3430
3467
|
);
|
3431
|
-
|
3432
|
-
const
|
3433
|
-
function
|
3434
|
-
|
3468
|
+
re.subscribe((e) => Ue = e);
|
3469
|
+
const se = {};
|
3470
|
+
function An(e, t) {
|
3471
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3435
3472
|
}
|
3436
|
-
function
|
3437
|
-
return
|
3473
|
+
function $t(e) {
|
3474
|
+
return se[e];
|
3438
3475
|
}
|
3439
|
-
function
|
3440
|
-
return
|
3441
|
-
const r =
|
3476
|
+
function Sn(e) {
|
3477
|
+
return me(e).map((t) => {
|
3478
|
+
const r = $t(t);
|
3442
3479
|
return [t, r ? [...r] : []];
|
3443
3480
|
}).filter(([, t]) => t.length > 0);
|
3444
3481
|
}
|
3445
|
-
function
|
3446
|
-
return e == null ? !1 :
|
3482
|
+
function Ce(e) {
|
3483
|
+
return e == null ? !1 : me(e).some(
|
3447
3484
|
(t) => {
|
3448
3485
|
var r;
|
3449
|
-
return (r =
|
3486
|
+
return (r = $t(t)) == null ? void 0 : r.size;
|
3450
3487
|
}
|
3451
3488
|
);
|
3452
3489
|
}
|
3453
|
-
function
|
3490
|
+
function Bn(e, t) {
|
3454
3491
|
return Promise.all(
|
3455
|
-
t.map((n) => (
|
3456
|
-
).then((n) =>
|
3457
|
-
}
|
3458
|
-
const
|
3459
|
-
function
|
3460
|
-
if (!
|
3461
|
-
return e in
|
3462
|
-
const t =
|
3463
|
-
return
|
3492
|
+
t.map((n) => (An(e, n), n().then((i) => i.default || i)))
|
3493
|
+
).then((n) => Ct(e, ...n));
|
3494
|
+
}
|
3495
|
+
const J = {};
|
3496
|
+
function Rt(e) {
|
3497
|
+
if (!Ce(e))
|
3498
|
+
return e in J ? J[e] : Promise.resolve();
|
3499
|
+
const t = Sn(e);
|
3500
|
+
return J[e] = Promise.all(
|
3464
3501
|
t.map(
|
3465
|
-
([r, n]) =>
|
3502
|
+
([r, n]) => Bn(r, n)
|
3466
3503
|
)
|
3467
3504
|
).then(() => {
|
3468
|
-
if (
|
3469
|
-
return
|
3470
|
-
delete
|
3471
|
-
}),
|
3505
|
+
if (Ce(e))
|
3506
|
+
return Rt(e);
|
3507
|
+
delete J[e];
|
3508
|
+
}), J[e];
|
3472
3509
|
}
|
3473
|
-
const
|
3510
|
+
const wn = {
|
3474
3511
|
number: {
|
3475
3512
|
scientific: { notation: "scientific" },
|
3476
3513
|
engineering: { notation: "engineering" },
|
@@ -3499,159 +3536,159 @@ const yn = {
|
|
3499
3536
|
timeZoneName: "short"
|
3500
3537
|
}
|
3501
3538
|
}
|
3502
|
-
},
|
3539
|
+
}, On = {
|
3503
3540
|
fallbackLocale: null,
|
3504
3541
|
loadingDelay: 200,
|
3505
|
-
formats:
|
3542
|
+
formats: wn,
|
3506
3543
|
warnOnMissingMessages: !0,
|
3507
3544
|
handleMissingMessage: void 0,
|
3508
3545
|
ignoreTag: !0
|
3509
|
-
},
|
3510
|
-
function
|
3511
|
-
return
|
3546
|
+
}, In = On;
|
3547
|
+
function z() {
|
3548
|
+
return In;
|
3512
3549
|
}
|
3513
|
-
const
|
3514
|
-
var
|
3550
|
+
const Te = le(!1);
|
3551
|
+
var Mn = Object.defineProperty, Ln = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
|
3515
3552
|
for (var r in t)
|
3516
|
-
|
3517
|
-
if (
|
3518
|
-
for (var r of
|
3519
|
-
|
3553
|
+
$n.call(t, r) && at(e, r, t[r]);
|
3554
|
+
if (ot)
|
3555
|
+
for (var r of ot(t))
|
3556
|
+
Rn.call(t, r) && at(e, r, t[r]);
|
3520
3557
|
return e;
|
3521
|
-
},
|
3522
|
-
let
|
3523
|
-
const
|
3524
|
-
function
|
3558
|
+
}, Gn = (e, t) => Ln(e, Cn(t));
|
3559
|
+
let $e;
|
3560
|
+
const ue = le(null);
|
3561
|
+
function st(e) {
|
3525
3562
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3526
3563
|
}
|
3527
|
-
function
|
3528
|
-
const r =
|
3529
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3564
|
+
function me(e, t = z().fallbackLocale) {
|
3565
|
+
const r = st(e);
|
3566
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
|
3530
3567
|
}
|
3531
|
-
function
|
3532
|
-
return
|
3568
|
+
function $() {
|
3569
|
+
return $e != null ? $e : void 0;
|
3533
3570
|
}
|
3534
|
-
|
3535
|
-
|
3571
|
+
ue.subscribe((e) => {
|
3572
|
+
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3536
3573
|
});
|
3537
|
-
const
|
3538
|
-
if (e &&
|
3539
|
-
const { loadingDelay: t } =
|
3574
|
+
const Dn = (e) => {
|
3575
|
+
if (e && Nn(e) && Ce(e)) {
|
3576
|
+
const { loadingDelay: t } = z();
|
3540
3577
|
let r;
|
3541
|
-
return typeof window
|
3542
|
-
() =>
|
3578
|
+
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
3579
|
+
() => Te.set(!0),
|
3543
3580
|
t
|
3544
|
-
) :
|
3545
|
-
|
3581
|
+
) : Te.set(!0), Rt(e).then(() => {
|
3582
|
+
ue.set(e);
|
3546
3583
|
}).finally(() => {
|
3547
|
-
clearTimeout(r),
|
3584
|
+
clearTimeout(r), Te.set(!1);
|
3548
3585
|
});
|
3549
3586
|
}
|
3550
|
-
return
|
3551
|
-
},
|
3552
|
-
set:
|
3553
|
-
}),
|
3587
|
+
return ue.set(e);
|
3588
|
+
}, W = Gn(Fn({}, ue), {
|
3589
|
+
set: Dn
|
3590
|
+
}), pe = (e) => {
|
3554
3591
|
const t = /* @__PURE__ */ Object.create(null);
|
3555
3592
|
return (n) => {
|
3556
3593
|
const i = JSON.stringify(n);
|
3557
3594
|
return i in t ? t[i] : t[i] = e(n);
|
3558
3595
|
};
|
3559
3596
|
};
|
3560
|
-
var
|
3597
|
+
var Un = Object.defineProperty, he = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
3561
3598
|
for (var r in t || (t = {}))
|
3562
|
-
|
3563
|
-
if (
|
3564
|
-
for (var r of
|
3565
|
-
|
3599
|
+
Ft.call(t, r) && ut(e, r, t[r]);
|
3600
|
+
if (he)
|
3601
|
+
for (var r of he(t))
|
3602
|
+
Gt.call(t, r) && ut(e, r, t[r]);
|
3566
3603
|
return e;
|
3567
|
-
},
|
3604
|
+
}, Q = (e, t) => {
|
3568
3605
|
var r = {};
|
3569
3606
|
for (var n in e)
|
3570
|
-
|
3571
|
-
if (e != null &&
|
3572
|
-
for (var n of
|
3573
|
-
t.indexOf(n) < 0 &&
|
3607
|
+
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3608
|
+
if (e != null && he)
|
3609
|
+
for (var n of he(e))
|
3610
|
+
t.indexOf(n) < 0 && Gt.call(e, n) && (r[n] = e[n]);
|
3574
3611
|
return r;
|
3575
3612
|
};
|
3576
|
-
const
|
3577
|
-
const { formats: r } =
|
3613
|
+
const ee = (e, t) => {
|
3614
|
+
const { formats: r } = z();
|
3578
3615
|
if (e in r && t in r[e])
|
3579
3616
|
return r[e][t];
|
3580
3617
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3581
|
-
},
|
3618
|
+
}, jn = pe(
|
3582
3619
|
(e) => {
|
3583
|
-
var t = e, { locale: r, format: n } = t, i =
|
3620
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
3584
3621
|
if (r == null)
|
3585
3622
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3586
|
-
return n && (i =
|
3623
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3587
3624
|
}
|
3588
|
-
),
|
3625
|
+
), kn = pe(
|
3589
3626
|
(e) => {
|
3590
|
-
var t = e, { locale: r, format: n } = t, i =
|
3627
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
3591
3628
|
if (r == null)
|
3592
3629
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3593
|
-
return n ? i =
|
3630
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3594
3631
|
}
|
3595
|
-
),
|
3632
|
+
), Vn = pe(
|
3596
3633
|
(e) => {
|
3597
|
-
var t = e, { locale: r, format: n } = t, i =
|
3634
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
3598
3635
|
if (r == null)
|
3599
3636
|
throw new Error(
|
3600
3637
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3601
3638
|
);
|
3602
|
-
return n ? i =
|
3639
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3603
3640
|
}
|
3604
|
-
),
|
3641
|
+
), Xn = (e = {}) => {
|
3605
3642
|
var t = e, {
|
3606
|
-
locale: r =
|
3607
|
-
} = t, n =
|
3643
|
+
locale: r = $()
|
3644
|
+
} = t, n = Q(t, [
|
3608
3645
|
"locale"
|
3609
3646
|
]);
|
3610
|
-
return
|
3611
|
-
},
|
3647
|
+
return jn(je({ locale: r }, n));
|
3648
|
+
}, zn = (e = {}) => {
|
3612
3649
|
var t = e, {
|
3613
|
-
locale: r =
|
3614
|
-
} = t, n =
|
3650
|
+
locale: r = $()
|
3651
|
+
} = t, n = Q(t, [
|
3615
3652
|
"locale"
|
3616
3653
|
]);
|
3617
|
-
return
|
3618
|
-
},
|
3654
|
+
return kn(je({ locale: r }, n));
|
3655
|
+
}, Zn = (e = {}) => {
|
3619
3656
|
var t = e, {
|
3620
|
-
locale: r =
|
3621
|
-
} = t, n =
|
3657
|
+
locale: r = $()
|
3658
|
+
} = t, n = Q(t, [
|
3622
3659
|
"locale"
|
3623
3660
|
]);
|
3624
|
-
return
|
3625
|
-
},
|
3661
|
+
return Vn(je({ locale: r }, n));
|
3662
|
+
}, Wn = pe(
|
3626
3663
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3627
|
-
(e, t =
|
3628
|
-
ignoreTag:
|
3664
|
+
(e, t = $()) => new vn(e, t, z().formats, {
|
3665
|
+
ignoreTag: z().ignoreTag
|
3629
3666
|
})
|
3630
|
-
),
|
3667
|
+
), Qn = (e, t = {}) => {
|
3631
3668
|
var r, n, i, o;
|
3632
|
-
let
|
3633
|
-
typeof e == "object" && (
|
3669
|
+
let a = t;
|
3670
|
+
typeof e == "object" && (a = e, e = a.id);
|
3634
3671
|
const {
|
3635
|
-
values:
|
3636
|
-
locale:
|
3672
|
+
values: u,
|
3673
|
+
locale: h = $(),
|
3637
3674
|
default: s
|
3638
|
-
} =
|
3639
|
-
if (
|
3675
|
+
} = a;
|
3676
|
+
if (h == null)
|
3640
3677
|
throw new Error(
|
3641
3678
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3642
3679
|
);
|
3643
|
-
let
|
3644
|
-
if (!
|
3645
|
-
|
3646
|
-
else if (typeof
|
3680
|
+
let l = Mt(e, h);
|
3681
|
+
if (!l)
|
3682
|
+
l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
|
3683
|
+
else if (typeof l != "string")
|
3647
3684
|
return console.warn(
|
3648
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3649
|
-
),
|
3650
|
-
if (!
|
3651
|
-
return
|
3652
|
-
let c =
|
3685
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3686
|
+
), l;
|
3687
|
+
if (!u)
|
3688
|
+
return l;
|
3689
|
+
let c = l;
|
3653
3690
|
try {
|
3654
|
-
c =
|
3691
|
+
c = Wn(l, h).format(u);
|
3655
3692
|
} catch (f) {
|
3656
3693
|
f instanceof Error && console.warn(
|
3657
3694
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3659,18 +3696,18 @@ const K = (e, t) => {
|
|
3659
3696
|
);
|
3660
3697
|
}
|
3661
3698
|
return c;
|
3662
|
-
},
|
3663
|
-
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3667
|
-
function
|
3668
|
-
|
3669
|
-
}
|
3670
|
-
function
|
3671
|
-
|
3672
|
-
}
|
3673
|
-
const
|
3699
|
+
}, qn = (e, t) => Zn(t).format(e), Jn = (e, t) => zn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = $()) => Mt(e, t), ei = Z([W, re], () => Qn);
|
3700
|
+
Z([W], () => qn);
|
3701
|
+
Z([W], () => Jn);
|
3702
|
+
Z([W], () => Yn);
|
3703
|
+
Z([W, re], () => Kn);
|
3704
|
+
function ht(e, t) {
|
3705
|
+
Ct(e, t);
|
3706
|
+
}
|
3707
|
+
function ti(e) {
|
3708
|
+
W.set(e);
|
3709
|
+
}
|
3710
|
+
const lt = {
|
3674
3711
|
en: {
|
3675
3712
|
pageNotFound: "Page not found",
|
3676
3713
|
pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
|
@@ -3762,150 +3799,150 @@ const it = {
|
|
3762
3799
|
home: "Go to homepage"
|
3763
3800
|
}
|
3764
3801
|
};
|
3765
|
-
function
|
3766
|
-
|
3802
|
+
function ri(e) {
|
3803
|
+
Zt(e, "svelte-3g8nw6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}');
|
3767
3804
|
}
|
3768
|
-
function
|
3769
|
-
let t, r, n, i, o,
|
3805
|
+
function ni(e) {
|
3806
|
+
let t, r, n, i, o, a, u, h, s, l, c, f, b = (
|
3770
3807
|
/*$_*/
|
3771
3808
|
e[1]("pageNotFound") + ""
|
3772
3809
|
), y, _, m, v = (
|
3773
3810
|
/*$_*/
|
3774
3811
|
e[1]("pageNotFoundMessage") + ""
|
3775
|
-
), T, N,
|
3812
|
+
), T, N, B, A = (
|
3776
3813
|
/*$_*/
|
3777
3814
|
e[1]("home") + ""
|
3778
|
-
),
|
3815
|
+
), O, R, ke;
|
3779
3816
|
return {
|
3780
3817
|
c() {
|
3781
|
-
t =
|
3818
|
+
t = C("div"), r = C("div"), n = I("svg"), i = I("g"), o = I("path"), a = I("path"), u = I("path"), h = I("path"), s = I("path"), l = I("path"), c = de(), f = C("p"), y = ie(b), _ = de(), m = C("p"), T = ie(v), N = de(), B = C("button"), O = ie(A), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(a, "class", "a"), x(a, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(a, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(s, "class", "a"), x(s, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(s, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(f, "class", "PageTitle"), x(m, "class", "PageContent"), x(B, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3782
3819
|
},
|
3783
|
-
m(
|
3784
|
-
|
3785
|
-
|
3820
|
+
m(L, q) {
|
3821
|
+
pt(L, t, q), H(t, r), H(r, n), H(n, i), H(i, o), H(i, a), H(i, u), H(i, h), H(i, s), H(i, l), H(r, c), H(r, f), H(f, y), H(r, _), H(r, m), H(m, T), H(r, N), H(r, B), H(B, O), e[8](t), R || (ke = qt(
|
3822
|
+
B,
|
3786
3823
|
"click",
|
3787
3824
|
/*click_handler*/
|
3788
3825
|
e[7]
|
3789
|
-
),
|
3826
|
+
), R = !0);
|
3790
3827
|
},
|
3791
|
-
p(
|
3792
|
-
|
3828
|
+
p(L, [q]) {
|
3829
|
+
q & /*$_*/
|
3793
3830
|
2 && b !== (b = /*$_*/
|
3794
|
-
|
3831
|
+
L[1]("pageNotFound") + "") && be(y, b), q & /*$_*/
|
3795
3832
|
2 && v !== (v = /*$_*/
|
3796
|
-
|
3833
|
+
L[1]("pageNotFoundMessage") + "") && be(T, v), q & /*$_*/
|
3797
3834
|
2 && A !== (A = /*$_*/
|
3798
|
-
|
3835
|
+
L[1]("home") + "") && be(O, A);
|
3799
3836
|
},
|
3800
|
-
i:
|
3801
|
-
o:
|
3802
|
-
d(
|
3803
|
-
|
3837
|
+
i: w,
|
3838
|
+
o: w,
|
3839
|
+
d(L) {
|
3840
|
+
L && Fe(t), e[8](null), R = !1, ke();
|
3804
3841
|
}
|
3805
3842
|
};
|
3806
3843
|
}
|
3807
|
-
function
|
3844
|
+
function ii(e, t, r) {
|
3808
3845
|
let n;
|
3809
|
-
|
3810
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl:
|
3846
|
+
zt(e, ei, (m) => r(1, n = m));
|
3847
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: u = "" } = t, h;
|
3811
3848
|
const s = () => {
|
3812
|
-
fetch(
|
3849
|
+
fetch(u).then((v) => v.json()).then((v) => {
|
3813
3850
|
Object.keys(v).forEach((T) => {
|
3814
|
-
|
3851
|
+
ht(T, v[T]);
|
3815
3852
|
});
|
3816
3853
|
}).catch((v) => {
|
3817
3854
|
console.log(v);
|
3818
3855
|
});
|
3819
3856
|
};
|
3820
|
-
Object.keys(
|
3821
|
-
|
3857
|
+
Object.keys(lt).forEach((m) => {
|
3858
|
+
ht(m, lt[m]);
|
3822
3859
|
});
|
3823
|
-
const
|
3860
|
+
const l = () => {
|
3824
3861
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3825
3862
|
}, c = () => {
|
3826
|
-
|
3863
|
+
ti(i);
|
3827
3864
|
}, f = () => {
|
3828
3865
|
let m = document.createElement("style");
|
3829
|
-
m.innerHTML = o,
|
3866
|
+
m.innerHTML = o, h.appendChild(m);
|
3830
3867
|
}, b = () => {
|
3831
|
-
let m = new URL(
|
3868
|
+
let m = new URL(a), v = document.createElement("style");
|
3832
3869
|
fetch(m.href).then((T) => T.text()).then((T) => {
|
3833
3870
|
v.innerHTML = T, setTimeout(
|
3834
3871
|
() => {
|
3835
|
-
|
3872
|
+
h.appendChild(v);
|
3836
3873
|
},
|
3837
3874
|
1
|
3838
3875
|
);
|
3839
3876
|
});
|
3840
|
-
}, y = () =>
|
3877
|
+
}, y = () => l();
|
3841
3878
|
function _(m) {
|
3842
|
-
|
3843
|
-
|
3879
|
+
Pe[m ? "unshift" : "push"](() => {
|
3880
|
+
h = m, r(0, h);
|
3844
3881
|
});
|
3845
3882
|
}
|
3846
3883
|
return e.$$set = (m) => {
|
3847
|
-
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5,
|
3884
|
+
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, a = m.clientstylingurl), "translationurl" in m && r(6, u = m.translationurl);
|
3848
3885
|
}, e.$$.update = () => {
|
3849
3886
|
e.$$.dirty & /*lang*/
|
3850
3887
|
8 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3851
|
-
17 && o &&
|
3852
|
-
33 &&
|
3853
|
-
64 &&
|
3888
|
+
17 && o && h && f(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3889
|
+
33 && a && h && b(), e.$$.dirty & /*translationurl*/
|
3890
|
+
64 && u && s();
|
3854
3891
|
}, [
|
3855
|
-
l,
|
3856
|
-
n,
|
3857
3892
|
h,
|
3893
|
+
n,
|
3894
|
+
l,
|
3858
3895
|
i,
|
3859
3896
|
o,
|
3860
|
-
u,
|
3861
3897
|
a,
|
3898
|
+
u,
|
3862
3899
|
y,
|
3863
3900
|
_
|
3864
3901
|
];
|
3865
3902
|
}
|
3866
|
-
class
|
3903
|
+
class oi extends lr {
|
3867
3904
|
constructor(t) {
|
3868
|
-
super(),
|
3905
|
+
super(), ur(
|
3869
3906
|
this,
|
3870
3907
|
t,
|
3871
|
-
|
3872
|
-
|
3873
|
-
|
3908
|
+
ii,
|
3909
|
+
ni,
|
3910
|
+
ct,
|
3874
3911
|
{
|
3875
3912
|
lang: 3,
|
3876
3913
|
clientstyling: 4,
|
3877
3914
|
clientstylingurl: 5,
|
3878
3915
|
translationurl: 6
|
3879
3916
|
},
|
3880
|
-
|
3917
|
+
ri
|
3881
3918
|
);
|
3882
3919
|
}
|
3883
3920
|
get lang() {
|
3884
3921
|
return this.$$.ctx[3];
|
3885
3922
|
}
|
3886
3923
|
set lang(t) {
|
3887
|
-
this.$$set({ lang: t }),
|
3924
|
+
this.$$set({ lang: t }), U();
|
3888
3925
|
}
|
3889
3926
|
get clientstyling() {
|
3890
3927
|
return this.$$.ctx[4];
|
3891
3928
|
}
|
3892
3929
|
set clientstyling(t) {
|
3893
|
-
this.$$set({ clientstyling: t }),
|
3930
|
+
this.$$set({ clientstyling: t }), U();
|
3894
3931
|
}
|
3895
3932
|
get clientstylingurl() {
|
3896
3933
|
return this.$$.ctx[5];
|
3897
3934
|
}
|
3898
3935
|
set clientstylingurl(t) {
|
3899
|
-
this.$$set({ clientstylingurl: t }),
|
3936
|
+
this.$$set({ clientstylingurl: t }), U();
|
3900
3937
|
}
|
3901
3938
|
get translationurl() {
|
3902
3939
|
return this.$$.ctx[6];
|
3903
3940
|
}
|
3904
3941
|
set translationurl(t) {
|
3905
|
-
this.$$set({ translationurl: t }),
|
3942
|
+
this.$$set({ translationurl: t }), U();
|
3906
3943
|
}
|
3907
3944
|
}
|
3908
|
-
|
3945
|
+
hr(oi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
3909
3946
|
export {
|
3910
|
-
|
3947
|
+
oi as default
|
3911
3948
|
};
|