@everymatrix/player-account-gaming-limits-wrapper-2 1.72.2 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsHistory2-GArV24bp.js → PlayerAccountGamingLimitsHistory2-BrvcJhDU.js} +253 -182
- package/components/{PlayerAccountGamingLimitsHistory2-DRH0naic.cjs → PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-DrjkyFQ_.js → PlayerAccountGamingLimitsHistory2-tiPu2kbl.js} +320 -249
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BIxnPl1x.js → PlayerAccountGamingLimitsPage2Gm16-C-muj-z7.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B0tKRDH8.cjs → PlayerAccountGamingLimitsPage2Gm16-C5wynaFd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-rvltfIXZ.js → PlayerAccountGamingLimitsPage2Gm16-CQl4VHEF.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-C_SM1HFt.cjs → PlayerAccountGamingLimitsWrapper2-BlLuFal0.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DosXBTob.js → PlayerAccountGamingLimitsWrapper2-DQp4rXQI.js} +141 -143
- package/components/{PlayerAccountGamingLimitsWrapper2-Cb5_sI9g.js → PlayerAccountGamingLimitsWrapper2-duFNYW5j.js} +251 -251
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
|
@@ -86,7 +86,7 @@ function x(e, t) {
|
|
|
86
86
|
function Fr(e, t, r) {
|
|
87
87
|
const i = jr(e);
|
|
88
88
|
if (!i.getElementById(t)) {
|
|
89
|
-
const n =
|
|
89
|
+
const n = A("style");
|
|
90
90
|
n.id = t, n.textContent = r, kr(i, n);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -107,30 +107,30 @@ function kr(e, t) {
|
|
|
107
107
|
t
|
|
108
108
|
), t.sheet;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function V(e, t, r) {
|
|
111
111
|
e.insertBefore(t, r || null);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function F(e) {
|
|
114
114
|
e.parentNode && e.parentNode.removeChild(e);
|
|
115
115
|
}
|
|
116
116
|
function Vr(e, t) {
|
|
117
117
|
for (let r = 0; r < e.length; r += 1)
|
|
118
118
|
e[r] && e[r].d(t);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function A(e) {
|
|
121
121
|
return document.createElement(e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function _e(e) {
|
|
124
124
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function R(e) {
|
|
127
127
|
return document.createTextNode(e);
|
|
128
128
|
}
|
|
129
129
|
function Ze() {
|
|
130
|
-
return
|
|
130
|
+
return R(" ");
|
|
131
131
|
}
|
|
132
132
|
function Ho() {
|
|
133
|
-
return
|
|
133
|
+
return R("");
|
|
134
134
|
}
|
|
135
135
|
function Wr(e, t, r, i) {
|
|
136
136
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
@@ -148,7 +148,7 @@ function Io(e) {
|
|
|
148
148
|
function Xr(e) {
|
|
149
149
|
return Array.from(e.childNodes);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function k(e, t) {
|
|
152
152
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
153
153
|
t);
|
|
154
154
|
}
|
|
@@ -168,13 +168,83 @@ function No(e, t, r) {
|
|
|
168
168
|
}
|
|
169
169
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Mo(e) {
|
|
172
172
|
const t = e.querySelector(":checked");
|
|
173
173
|
return t && t.__value;
|
|
174
174
|
}
|
|
175
175
|
function ge(e, t, r) {
|
|
176
176
|
e.classList.toggle(t, !!r);
|
|
177
177
|
}
|
|
178
|
+
class Ro {
|
|
179
|
+
/**
|
|
180
|
+
* @private
|
|
181
|
+
* @default false
|
|
182
|
+
*/
|
|
183
|
+
is_svg = !1;
|
|
184
|
+
/** parent for creating node */
|
|
185
|
+
e = void 0;
|
|
186
|
+
/** html tag nodes */
|
|
187
|
+
n = void 0;
|
|
188
|
+
/** target */
|
|
189
|
+
t = void 0;
|
|
190
|
+
/** anchor */
|
|
191
|
+
a = void 0;
|
|
192
|
+
constructor(t = !1) {
|
|
193
|
+
this.is_svg = t, this.e = this.n = null;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @param {string} html
|
|
197
|
+
* @returns {void}
|
|
198
|
+
*/
|
|
199
|
+
c(t) {
|
|
200
|
+
this.h(t);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @param {string} html
|
|
204
|
+
* @param {HTMLElement | SVGElement} target
|
|
205
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
206
|
+
* @returns {void}
|
|
207
|
+
*/
|
|
208
|
+
m(t, r, i = null) {
|
|
209
|
+
this.e || (this.is_svg ? this.e = _e(
|
|
210
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
211
|
+
r.nodeName
|
|
212
|
+
) : this.e = A(
|
|
213
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
214
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
215
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
216
|
+
/** @type {HTMLTemplateElement} */
|
|
217
|
+
r.content
|
|
218
|
+
), this.c(t)), this.i(i);
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* @param {string} html
|
|
222
|
+
* @returns {void}
|
|
223
|
+
*/
|
|
224
|
+
h(t) {
|
|
225
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
226
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @returns {void} */
|
|
231
|
+
i(t) {
|
|
232
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
233
|
+
V(this.t, this.n[r], t);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @param {string} html
|
|
237
|
+
* @returns {void}
|
|
238
|
+
*/
|
|
239
|
+
p(t) {
|
|
240
|
+
this.d(), this.h(t), this.i(this.a);
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @returns {void} */
|
|
244
|
+
d() {
|
|
245
|
+
this.n.forEach(F);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
178
248
|
function zr(e) {
|
|
179
249
|
const t = {};
|
|
180
250
|
return e.childNodes.forEach(
|
|
@@ -196,7 +266,7 @@ function Zr() {
|
|
|
196
266
|
function Qr(e) {
|
|
197
267
|
Zr().$$.on_mount.push(e);
|
|
198
268
|
}
|
|
199
|
-
const Y = [],
|
|
269
|
+
const Y = [], we = [];
|
|
200
270
|
let J = [];
|
|
201
271
|
const bt = [], Yr = /* @__PURE__ */ Promise.resolve();
|
|
202
272
|
let Qe = !1;
|
|
@@ -221,8 +291,8 @@ function B() {
|
|
|
221
291
|
} catch (t) {
|
|
222
292
|
throw Y.length = 0, Z = 0, t;
|
|
223
293
|
}
|
|
224
|
-
for (ue(null), Y.length = 0, Z = 0;
|
|
225
|
-
|
|
294
|
+
for (ue(null), Y.length = 0, Z = 0; we.length; )
|
|
295
|
+
we.pop()();
|
|
226
296
|
for (let t = 0; t < J.length; t += 1) {
|
|
227
297
|
const r = J[t];
|
|
228
298
|
$e.has(r) || ($e.add(r), r());
|
|
@@ -244,28 +314,28 @@ function Kr(e) {
|
|
|
244
314
|
const t = [], r = [];
|
|
245
315
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
246
316
|
}
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
function
|
|
250
|
-
|
|
317
|
+
const Ee = /* @__PURE__ */ new Set();
|
|
318
|
+
let X;
|
|
319
|
+
function Do() {
|
|
320
|
+
X = {
|
|
251
321
|
r: 0,
|
|
252
322
|
c: [],
|
|
253
|
-
p:
|
|
323
|
+
p: X
|
|
254
324
|
// parent group
|
|
255
325
|
};
|
|
256
326
|
}
|
|
257
|
-
function
|
|
258
|
-
|
|
327
|
+
function Uo() {
|
|
328
|
+
X.r || re(X.c), X = X.p;
|
|
259
329
|
}
|
|
260
330
|
function ei(e, t) {
|
|
261
|
-
e && e.i && (
|
|
331
|
+
e && e.i && (Ee.delete(e), e.i(t));
|
|
262
332
|
}
|
|
263
|
-
function
|
|
333
|
+
function $o(e, t, r, i) {
|
|
264
334
|
if (e && e.o) {
|
|
265
|
-
if (
|
|
335
|
+
if (Ee.has(e))
|
|
266
336
|
return;
|
|
267
|
-
|
|
268
|
-
|
|
337
|
+
Ee.add(e), X.c.push(() => {
|
|
338
|
+
Ee.delete(e), i && (r && e.d(1), i());
|
|
269
339
|
}), e.o(t);
|
|
270
340
|
} else
|
|
271
341
|
i && i();
|
|
@@ -319,7 +389,7 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
319
389
|
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
320
390
|
if (t.hydrate) {
|
|
321
391
|
const c = Xr(t.target);
|
|
322
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
392
|
+
u.fragment && u.fragment.l(c), c.forEach(F);
|
|
323
393
|
} else
|
|
324
394
|
u.fragment && u.fragment.c();
|
|
325
395
|
t.intro && ei(e.$$.fragment), ti(e, t.target, t.anchor), B();
|
|
@@ -369,17 +439,17 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
369
439
|
let o;
|
|
370
440
|
return {
|
|
371
441
|
c: function() {
|
|
372
|
-
o =
|
|
442
|
+
o = A("slot"), n !== "default" && E(o, "name", n);
|
|
373
443
|
},
|
|
374
444
|
/**
|
|
375
445
|
* @param {HTMLElement} target
|
|
376
446
|
* @param {HTMLElement} [anchor]
|
|
377
447
|
*/
|
|
378
448
|
m: function(h, u) {
|
|
379
|
-
|
|
449
|
+
V(h, o, u);
|
|
380
450
|
},
|
|
381
451
|
d: function(h) {
|
|
382
|
-
h &&
|
|
452
|
+
h && F(o);
|
|
383
453
|
}
|
|
384
454
|
};
|
|
385
455
|
};
|
|
@@ -391,7 +461,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
391
461
|
n in r && (t[n] = [e(n)]);
|
|
392
462
|
for (const n of this.attributes) {
|
|
393
463
|
const o = this.$$g_p(n.name);
|
|
394
|
-
o in this.$$d || (this.$$d[o] =
|
|
464
|
+
o in this.$$d || (this.$$d[o] = xe(o, n.value, this.$$p_d, "toProp"));
|
|
395
465
|
}
|
|
396
466
|
for (const n in this.$$p_d)
|
|
397
467
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -409,7 +479,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
409
479
|
this.$$r = !0;
|
|
410
480
|
for (const n in this.$$p_d)
|
|
411
481
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
412
|
-
const o =
|
|
482
|
+
const o = xe(
|
|
413
483
|
n,
|
|
414
484
|
this.$$d[n],
|
|
415
485
|
this.$$p_d,
|
|
@@ -431,7 +501,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
431
501
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
432
502
|
// and setting attributes through setAttribute etc, this is helpful
|
|
433
503
|
attributeChangedCallback(e, t, r) {
|
|
434
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
504
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
435
505
|
}
|
|
436
506
|
disconnectedCallback() {
|
|
437
507
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -444,7 +514,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
444
514
|
) || e;
|
|
445
515
|
}
|
|
446
516
|
});
|
|
447
|
-
function
|
|
517
|
+
function xe(e, t, r, i) {
|
|
448
518
|
const n = r[e]?.type;
|
|
449
519
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
450
520
|
return t;
|
|
@@ -490,7 +560,7 @@ function oi(e, t, r, i, n, o) {
|
|
|
490
560
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
491
561
|
},
|
|
492
562
|
set(h) {
|
|
493
|
-
h =
|
|
563
|
+
h = xe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
494
564
|
}
|
|
495
565
|
});
|
|
496
566
|
}), i.forEach((s) => {
|
|
@@ -641,7 +711,7 @@ function tt(e, t) {
|
|
|
641
711
|
0 <= r && e.splice(r, 1);
|
|
642
712
|
}
|
|
643
713
|
}
|
|
644
|
-
var
|
|
714
|
+
var Oe = function() {
|
|
645
715
|
function e(t) {
|
|
646
716
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
647
717
|
}
|
|
@@ -731,9 +801,9 @@ var He = function() {
|
|
|
731
801
|
var t = new e();
|
|
732
802
|
return t.closed = !0, t;
|
|
733
803
|
}(), e;
|
|
734
|
-
}(), Qt =
|
|
804
|
+
}(), Qt = Oe.EMPTY;
|
|
735
805
|
function Yt(e) {
|
|
736
|
-
return e instanceof
|
|
806
|
+
return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
737
807
|
}
|
|
738
808
|
function _t(e) {
|
|
739
809
|
G(e) ? e() : e.unsubscribe();
|
|
@@ -758,7 +828,7 @@ function hi(e) {
|
|
|
758
828
|
}
|
|
759
829
|
function Et() {
|
|
760
830
|
}
|
|
761
|
-
function
|
|
831
|
+
function Te(e) {
|
|
762
832
|
e();
|
|
763
833
|
}
|
|
764
834
|
var Jt = function(e) {
|
|
@@ -792,7 +862,7 @@ var Jt = function(e) {
|
|
|
792
862
|
this.unsubscribe();
|
|
793
863
|
}
|
|
794
864
|
}, t;
|
|
795
|
-
}(
|
|
865
|
+
}(Oe), ci = function() {
|
|
796
866
|
function e(t) {
|
|
797
867
|
this.partialObserver = t;
|
|
798
868
|
}
|
|
@@ -868,7 +938,7 @@ var xt = function() {
|
|
|
868
938
|
return r.source = this, r.operator = t, r;
|
|
869
939
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
870
940
|
var n = this, o = bi(t) ? t : new rt(t, r, i);
|
|
871
|
-
return
|
|
941
|
+
return Te(function() {
|
|
872
942
|
var a = n, s = a.operator, h = a.source;
|
|
873
943
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
874
944
|
}), o;
|
|
@@ -947,7 +1017,7 @@ var vi = Zt(function(e) {
|
|
|
947
1017
|
throw new vi();
|
|
948
1018
|
}, t.prototype.next = function(r) {
|
|
949
1019
|
var i = this;
|
|
950
|
-
|
|
1020
|
+
Te(function() {
|
|
951
1021
|
var n, o;
|
|
952
1022
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
953
1023
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
@@ -970,7 +1040,7 @@ var vi = Zt(function(e) {
|
|
|
970
1040
|
});
|
|
971
1041
|
}, t.prototype.error = function(r) {
|
|
972
1042
|
var i = this;
|
|
973
|
-
|
|
1043
|
+
Te(function() {
|
|
974
1044
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
975
1045
|
i.hasError = i.isStopped = !0, i.thrownError = r;
|
|
976
1046
|
for (var n = i.observers; n.length; )
|
|
@@ -979,7 +1049,7 @@ var vi = Zt(function(e) {
|
|
|
979
1049
|
});
|
|
980
1050
|
}, t.prototype.complete = function() {
|
|
981
1051
|
var r = this;
|
|
982
|
-
|
|
1052
|
+
Te(function() {
|
|
983
1053
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
984
1054
|
r.isStopped = !0;
|
|
985
1055
|
for (var i = r.observers; i.length; )
|
|
@@ -1001,7 +1071,7 @@ var vi = Zt(function(e) {
|
|
|
1001
1071
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1002
1072
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1003
1073
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1004
|
-
return o || a ? Qt : (this.currentObservers = null, s.push(r), new
|
|
1074
|
+
return o || a ? Qt : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1005
1075
|
i.currentObservers = null, tt(s, r);
|
|
1006
1076
|
}));
|
|
1007
1077
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -1070,10 +1140,10 @@ const St = [], wt = {}, Ei = (e, t = 0) => {
|
|
|
1070
1140
|
}, Q = [];
|
|
1071
1141
|
function xi(e, t) {
|
|
1072
1142
|
return {
|
|
1073
|
-
subscribe:
|
|
1143
|
+
subscribe: Ie(e, t).subscribe
|
|
1074
1144
|
};
|
|
1075
1145
|
}
|
|
1076
|
-
function
|
|
1146
|
+
function Ie(e, t = I) {
|
|
1077
1147
|
let r;
|
|
1078
1148
|
const i = /* @__PURE__ */ new Set();
|
|
1079
1149
|
function n(s) {
|
|
@@ -1182,7 +1252,7 @@ function er(e, t) {
|
|
|
1182
1252
|
function Ni(e, t) {
|
|
1183
1253
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1184
1254
|
}
|
|
1185
|
-
function
|
|
1255
|
+
function Mi(e, t, r) {
|
|
1186
1256
|
var i = {};
|
|
1187
1257
|
return r.isMergeableObject(e) && At(e).forEach(function(n) {
|
|
1188
1258
|
i[n] = he(e[n], r);
|
|
@@ -1193,7 +1263,7 @@ function Ri(e, t, r) {
|
|
|
1193
1263
|
function q(e, t, r) {
|
|
1194
1264
|
r = r || {}, r.arrayMerge = r.arrayMerge || Ii, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = he;
|
|
1195
1265
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1196
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
1266
|
+
return o ? i ? r.arrayMerge(e, t, r) : Mi(e, t, r) : he(t, r);
|
|
1197
1267
|
}
|
|
1198
1268
|
q.all = function(t, r) {
|
|
1199
1269
|
if (!Array.isArray(t))
|
|
@@ -1202,7 +1272,7 @@ q.all = function(t, r) {
|
|
|
1202
1272
|
return q(i, n, r);
|
|
1203
1273
|
}, {});
|
|
1204
1274
|
};
|
|
1205
|
-
var
|
|
1275
|
+
var Ri = q, Di = Ri;
|
|
1206
1276
|
const Ui = /* @__PURE__ */ Ti(Di);
|
|
1207
1277
|
var it = function(e, t) {
|
|
1208
1278
|
return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
@@ -1212,7 +1282,7 @@ var it = function(e, t) {
|
|
|
1212
1282
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
1213
1283
|
}, it(e, t);
|
|
1214
1284
|
};
|
|
1215
|
-
function
|
|
1285
|
+
function Be(e, t) {
|
|
1216
1286
|
if (typeof t != "function" && t !== null)
|
|
1217
1287
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1218
1288
|
it(e, t);
|
|
@@ -1221,15 +1291,15 @@ function Ie(e, t) {
|
|
|
1221
1291
|
}
|
|
1222
1292
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1223
1293
|
}
|
|
1224
|
-
var
|
|
1225
|
-
return
|
|
1294
|
+
var M = function() {
|
|
1295
|
+
return M = Object.assign || function(t) {
|
|
1226
1296
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1227
1297
|
r = arguments[i];
|
|
1228
1298
|
for (var o in r)
|
|
1229
1299
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1230
1300
|
}
|
|
1231
1301
|
return t;
|
|
1232
|
-
},
|
|
1302
|
+
}, M.apply(this, arguments);
|
|
1233
1303
|
};
|
|
1234
1304
|
function $i(e, t) {
|
|
1235
1305
|
var r = {};
|
|
@@ -1294,15 +1364,15 @@ var Vi = function() {
|
|
|
1294
1364
|
}
|
|
1295
1365
|
}, ke = {
|
|
1296
1366
|
variadic: ki
|
|
1297
|
-
},
|
|
1298
|
-
return
|
|
1367
|
+
}, Ae = function() {
|
|
1368
|
+
return Ae = Object.assign || function(t) {
|
|
1299
1369
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1300
1370
|
r = arguments[i];
|
|
1301
1371
|
for (var o in r)
|
|
1302
1372
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1303
1373
|
}
|
|
1304
1374
|
return t;
|
|
1305
|
-
},
|
|
1375
|
+
}, Ae.apply(this, arguments);
|
|
1306
1376
|
};
|
|
1307
1377
|
var b;
|
|
1308
1378
|
(function(e) {
|
|
@@ -3467,7 +3537,7 @@ var vn = (
|
|
|
3467
3537
|
case "select": {
|
|
3468
3538
|
var S = this.clonePosition();
|
|
3469
3539
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3470
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S,
|
|
3540
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Ae({}, S)));
|
|
3471
3541
|
this.bumpSpace();
|
|
3472
3542
|
var D = this.parseIdentifierIfPossible(), N = 0;
|
|
3473
3543
|
if (s !== "select" && D.value === "offset") {
|
|
@@ -3485,13 +3555,13 @@ var vn = (
|
|
|
3485
3555
|
var y = this.tryParseArgumentClose(n);
|
|
3486
3556
|
if (y.err)
|
|
3487
3557
|
return y;
|
|
3488
|
-
var
|
|
3558
|
+
var W = _(n, this.clonePosition());
|
|
3489
3559
|
return s === "select" ? {
|
|
3490
3560
|
val: {
|
|
3491
3561
|
type: L.select,
|
|
3492
3562
|
value: i,
|
|
3493
3563
|
options: Ct(U.val),
|
|
3494
|
-
location:
|
|
3564
|
+
location: W
|
|
3495
3565
|
},
|
|
3496
3566
|
err: null
|
|
3497
3567
|
} : {
|
|
@@ -3501,7 +3571,7 @@ var vn = (
|
|
|
3501
3571
|
options: Ct(U.val),
|
|
3502
3572
|
offset: N,
|
|
3503
3573
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3504
|
-
location:
|
|
3574
|
+
location: W
|
|
3505
3575
|
},
|
|
3506
3576
|
err: null
|
|
3507
3577
|
};
|
|
@@ -3697,7 +3767,7 @@ function lt(e) {
|
|
|
3697
3767
|
});
|
|
3698
3768
|
}
|
|
3699
3769
|
function Tn(e, t) {
|
|
3700
|
-
t === void 0 && (t = {}), t =
|
|
3770
|
+
t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3701
3771
|
var r = new vn(e, t).parse();
|
|
3702
3772
|
if (r.err) {
|
|
3703
3773
|
var i = SyntaxError(b[r.err.kind]);
|
|
@@ -3709,10 +3779,10 @@ var ee;
|
|
|
3709
3779
|
(function(e) {
|
|
3710
3780
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3711
3781
|
})(ee || (ee = {}));
|
|
3712
|
-
var
|
|
3782
|
+
var Ce = (
|
|
3713
3783
|
/** @class */
|
|
3714
3784
|
function(e) {
|
|
3715
|
-
|
|
3785
|
+
Be(t, e);
|
|
3716
3786
|
function t(r, i, n) {
|
|
3717
3787
|
var o = e.call(this, r) || this;
|
|
3718
3788
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3721,33 +3791,33 @@ var Be = (
|
|
|
3721
3791
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3722
3792
|
}, t;
|
|
3723
3793
|
}(Error)
|
|
3724
|
-
),
|
|
3794
|
+
), Mt = (
|
|
3725
3795
|
/** @class */
|
|
3726
3796
|
function(e) {
|
|
3727
|
-
|
|
3797
|
+
Be(t, e);
|
|
3728
3798
|
function t(r, i, n, o) {
|
|
3729
3799
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3730
3800
|
}
|
|
3731
3801
|
return t;
|
|
3732
|
-
}(
|
|
3802
|
+
}(Ce)
|
|
3733
3803
|
), Ln = (
|
|
3734
3804
|
/** @class */
|
|
3735
3805
|
function(e) {
|
|
3736
|
-
|
|
3806
|
+
Be(t, e);
|
|
3737
3807
|
function t(r, i, n) {
|
|
3738
3808
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
|
|
3739
3809
|
}
|
|
3740
3810
|
return t;
|
|
3741
|
-
}(
|
|
3811
|
+
}(Ce)
|
|
3742
3812
|
), Sn = (
|
|
3743
3813
|
/** @class */
|
|
3744
3814
|
function(e) {
|
|
3745
|
-
|
|
3815
|
+
Be(t, e);
|
|
3746
3816
|
function t(r, i) {
|
|
3747
3817
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
|
|
3748
3818
|
}
|
|
3749
3819
|
return t;
|
|
3750
|
-
}(
|
|
3820
|
+
}(Ce)
|
|
3751
3821
|
), O;
|
|
3752
3822
|
(function(e) {
|
|
3753
3823
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3761,7 +3831,7 @@ function wn(e) {
|
|
|
3761
3831
|
function An(e) {
|
|
3762
3832
|
return typeof e == "function";
|
|
3763
3833
|
}
|
|
3764
|
-
function
|
|
3834
|
+
function Le(e, t, r, i, n, o, a) {
|
|
3765
3835
|
if (e.length === 1 && Pt(e[0]))
|
|
3766
3836
|
return [
|
|
3767
3837
|
{
|
|
@@ -3824,7 +3894,7 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3824
3894
|
var y = l.children, d = l.value, v = n[d];
|
|
3825
3895
|
if (!An(v))
|
|
3826
3896
|
throw new Ln(d, "function", a);
|
|
3827
|
-
var H =
|
|
3897
|
+
var H = Le(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3828
3898
|
return N.value;
|
|
3829
3899
|
}));
|
|
3830
3900
|
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
@@ -3837,37 +3907,37 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3837
3907
|
if (sr(l)) {
|
|
3838
3908
|
var S = l.options[f] || l.options.other;
|
|
3839
3909
|
if (!S)
|
|
3840
|
-
throw new
|
|
3841
|
-
s.push.apply(s,
|
|
3910
|
+
throw new Mt(l.value, f, Object.keys(l.options), a);
|
|
3911
|
+
s.push.apply(s, Le(S.value, t, r, i, n));
|
|
3842
3912
|
continue;
|
|
3843
3913
|
}
|
|
3844
3914
|
if (ar(l)) {
|
|
3845
3915
|
var S = l.options["=".concat(f)];
|
|
3846
3916
|
if (!S) {
|
|
3847
3917
|
if (!Intl.PluralRules)
|
|
3848
|
-
throw new
|
|
3918
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3849
3919
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3850
3920
|
`, ee.MISSING_INTL_API, a);
|
|
3851
3921
|
var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3852
3922
|
S = l.options[D] || l.options.other;
|
|
3853
3923
|
}
|
|
3854
3924
|
if (!S)
|
|
3855
|
-
throw new
|
|
3856
|
-
s.push.apply(s,
|
|
3925
|
+
throw new Mt(l.value, f, Object.keys(l.options), a);
|
|
3926
|
+
s.push.apply(s, Le(S.value, t, r, i, n, f - (l.offset || 0)));
|
|
3857
3927
|
continue;
|
|
3858
3928
|
}
|
|
3859
3929
|
}
|
|
3860
3930
|
return wn(s);
|
|
3861
3931
|
}
|
|
3862
3932
|
function Pn(e, t) {
|
|
3863
|
-
return t ?
|
|
3864
|
-
return r[i] =
|
|
3933
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3934
|
+
return r[i] = M(M({}, e[i]), t[i] || {}), r;
|
|
3865
3935
|
}, {})) : e;
|
|
3866
3936
|
}
|
|
3867
3937
|
function Hn(e, t) {
|
|
3868
3938
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3869
3939
|
return r[i] = Pn(e[i], t[i]), r;
|
|
3870
|
-
},
|
|
3940
|
+
}, M({}, e)) : e;
|
|
3871
3941
|
}
|
|
3872
3942
|
function We(e) {
|
|
3873
3943
|
return {
|
|
@@ -3934,7 +4004,7 @@ var In = (
|
|
|
3934
4004
|
}, []);
|
|
3935
4005
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3936
4006
|
}, this.formatToParts = function(h) {
|
|
3937
|
-
return
|
|
4007
|
+
return Le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3938
4008
|
}, this.resolvedOptions = function() {
|
|
3939
4009
|
var h;
|
|
3940
4010
|
return {
|
|
@@ -3948,7 +4018,7 @@ var In = (
|
|
|
3948
4018
|
var a = n || {};
|
|
3949
4019
|
a.formatters;
|
|
3950
4020
|
var s = $i(a, ["formatters"]);
|
|
3951
|
-
this.ast = e.__parse(t,
|
|
4021
|
+
this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
|
|
3952
4022
|
} else
|
|
3953
4023
|
this.ast = t;
|
|
3954
4024
|
if (!Array.isArray(this.ast))
|
|
@@ -4048,36 +4118,36 @@ function Bn(e, t) {
|
|
|
4048
4118
|
i = void 0;
|
|
4049
4119
|
return i;
|
|
4050
4120
|
}
|
|
4051
|
-
const
|
|
4121
|
+
const j = {}, Cn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), gr = (e, t) => {
|
|
4052
4122
|
if (t == null)
|
|
4053
4123
|
return;
|
|
4054
|
-
if (t in
|
|
4055
|
-
return
|
|
4056
|
-
const r =
|
|
4124
|
+
if (t in j && e in j[t])
|
|
4125
|
+
return j[t][e];
|
|
4126
|
+
const r = Ne(t);
|
|
4057
4127
|
for (let i = 0; i < r.length; i++) {
|
|
4058
|
-
const n = r[i], o =
|
|
4128
|
+
const n = r[i], o = Mn(n, e);
|
|
4059
4129
|
if (o)
|
|
4060
4130
|
return Cn(e, t, o);
|
|
4061
4131
|
}
|
|
4062
4132
|
};
|
|
4063
4133
|
let mt;
|
|
4064
|
-
const me =
|
|
4134
|
+
const me = Ie({});
|
|
4065
4135
|
function Nn(e) {
|
|
4066
4136
|
return mt[e] || null;
|
|
4067
4137
|
}
|
|
4068
4138
|
function br(e) {
|
|
4069
4139
|
return e in mt;
|
|
4070
4140
|
}
|
|
4071
|
-
function
|
|
4141
|
+
function Mn(e, t) {
|
|
4072
4142
|
if (!br(e))
|
|
4073
4143
|
return null;
|
|
4074
4144
|
const r = Nn(e);
|
|
4075
4145
|
return Bn(r, t);
|
|
4076
4146
|
}
|
|
4077
|
-
function
|
|
4147
|
+
function Rn(e) {
|
|
4078
4148
|
if (e == null)
|
|
4079
4149
|
return;
|
|
4080
|
-
const t =
|
|
4150
|
+
const t = Ne(e);
|
|
4081
4151
|
for (let r = 0; r < t.length; r++) {
|
|
4082
4152
|
const i = t[r];
|
|
4083
4153
|
if (br(i))
|
|
@@ -4085,28 +4155,28 @@ function Mn(e) {
|
|
|
4085
4155
|
}
|
|
4086
4156
|
}
|
|
4087
4157
|
function vr(e, ...t) {
|
|
4088
|
-
delete
|
|
4158
|
+
delete j[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4089
4159
|
}
|
|
4090
4160
|
ie(
|
|
4091
4161
|
[me],
|
|
4092
4162
|
([e]) => Object.keys(e)
|
|
4093
4163
|
);
|
|
4094
4164
|
me.subscribe((e) => mt = e);
|
|
4095
|
-
const
|
|
4165
|
+
const Se = {};
|
|
4096
4166
|
function Dn(e, t) {
|
|
4097
|
-
|
|
4167
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4098
4168
|
}
|
|
4099
4169
|
function _r(e) {
|
|
4100
|
-
return
|
|
4170
|
+
return Se[e];
|
|
4101
4171
|
}
|
|
4102
4172
|
function Un(e) {
|
|
4103
|
-
return
|
|
4173
|
+
return Ne(e).map((t) => {
|
|
4104
4174
|
const r = _r(t);
|
|
4105
4175
|
return [t, r ? [...r] : []];
|
|
4106
4176
|
}).filter(([, t]) => t.length > 0);
|
|
4107
4177
|
}
|
|
4108
4178
|
function ht(e) {
|
|
4109
|
-
return e == null ? !1 :
|
|
4179
|
+
return e == null ? !1 : Ne(e).some(
|
|
4110
4180
|
(t) => {
|
|
4111
4181
|
var r;
|
|
4112
4182
|
return (r = _r(t)) == null ? void 0 : r.size;
|
|
@@ -4173,66 +4243,66 @@ const Gn = {
|
|
|
4173
4243
|
function te() {
|
|
4174
4244
|
return jn;
|
|
4175
4245
|
}
|
|
4176
|
-
const Xe =
|
|
4177
|
-
var kn = Object.defineProperty, Vn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors,
|
|
4246
|
+
const Xe = Ie(!1);
|
|
4247
|
+
var kn = Object.defineProperty, Vn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zn = (e, t) => {
|
|
4178
4248
|
for (var r in t || (t = {}))
|
|
4179
4249
|
Xn.call(t, r) && Dt(e, r, t[r]);
|
|
4180
|
-
if (
|
|
4181
|
-
for (var r of
|
|
4250
|
+
if (Rt)
|
|
4251
|
+
for (var r of Rt(t))
|
|
4182
4252
|
zn.call(t, r) && Dt(e, r, t[r]);
|
|
4183
4253
|
return e;
|
|
4184
4254
|
}, Qn = (e, t) => Vn(e, Wn(t));
|
|
4185
4255
|
let ct;
|
|
4186
|
-
const
|
|
4256
|
+
const Pe = Ie(null);
|
|
4187
4257
|
function Ut(e) {
|
|
4188
4258
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4189
4259
|
}
|
|
4190
|
-
function
|
|
4260
|
+
function Ne(e, t = te().fallbackLocale) {
|
|
4191
4261
|
const r = Ut(e);
|
|
4192
4262
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4193
4263
|
}
|
|
4194
4264
|
function z() {
|
|
4195
4265
|
return ct ?? void 0;
|
|
4196
4266
|
}
|
|
4197
|
-
|
|
4267
|
+
Pe.subscribe((e) => {
|
|
4198
4268
|
ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4199
4269
|
});
|
|
4200
4270
|
const Yn = (e) => {
|
|
4201
|
-
if (e &&
|
|
4271
|
+
if (e && Rn(e) && ht(e)) {
|
|
4202
4272
|
const { loadingDelay: t } = te();
|
|
4203
4273
|
let r;
|
|
4204
4274
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4205
4275
|
() => Xe.set(!0),
|
|
4206
4276
|
t
|
|
4207
4277
|
) : Xe.set(!0), Er(e).then(() => {
|
|
4208
|
-
|
|
4278
|
+
Pe.set(e);
|
|
4209
4279
|
}).finally(() => {
|
|
4210
4280
|
clearTimeout(r), Xe.set(!1);
|
|
4211
4281
|
});
|
|
4212
4282
|
}
|
|
4213
|
-
return
|
|
4214
|
-
}, ne = Qn(Zn({},
|
|
4283
|
+
return Pe.set(e);
|
|
4284
|
+
}, ne = Qn(Zn({}, Pe), {
|
|
4215
4285
|
set: Yn
|
|
4216
|
-
}),
|
|
4286
|
+
}), Me = (e) => {
|
|
4217
4287
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4218
4288
|
return (i) => {
|
|
4219
4289
|
const n = JSON.stringify(i);
|
|
4220
4290
|
return n in t ? t[n] : t[n] = e(i);
|
|
4221
4291
|
};
|
|
4222
4292
|
};
|
|
4223
|
-
var Jn = Object.defineProperty,
|
|
4293
|
+
var Jn = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
4224
4294
|
for (var r in t || (t = {}))
|
|
4225
4295
|
xr.call(t, r) && $t(e, r, t[r]);
|
|
4226
|
-
if (
|
|
4227
|
-
for (var r of
|
|
4296
|
+
if (He)
|
|
4297
|
+
for (var r of He(t))
|
|
4228
4298
|
Tr.call(t, r) && $t(e, r, t[r]);
|
|
4229
4299
|
return e;
|
|
4230
4300
|
}, oe = (e, t) => {
|
|
4231
4301
|
var r = {};
|
|
4232
4302
|
for (var i in e)
|
|
4233
4303
|
xr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4234
|
-
if (e != null &&
|
|
4235
|
-
for (var i of
|
|
4304
|
+
if (e != null && He)
|
|
4305
|
+
for (var i of He(e))
|
|
4236
4306
|
t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
|
|
4237
4307
|
return r;
|
|
4238
4308
|
};
|
|
@@ -4241,21 +4311,21 @@ const ce = (e, t) => {
|
|
|
4241
4311
|
if (e in r && t in r[e])
|
|
4242
4312
|
return r[e][t];
|
|
4243
4313
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4244
|
-
}, qn =
|
|
4314
|
+
}, qn = Me(
|
|
4245
4315
|
(e) => {
|
|
4246
4316
|
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4247
4317
|
if (r == null)
|
|
4248
4318
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4249
4319
|
return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
|
|
4250
4320
|
}
|
|
4251
|
-
), Kn =
|
|
4321
|
+
), Kn = Me(
|
|
4252
4322
|
(e) => {
|
|
4253
4323
|
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4254
4324
|
if (r == null)
|
|
4255
4325
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4256
4326
|
return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4257
4327
|
}
|
|
4258
|
-
), eo =
|
|
4328
|
+
), eo = Me(
|
|
4259
4329
|
(e) => {
|
|
4260
4330
|
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4261
4331
|
if (r == null)
|
|
@@ -4285,7 +4355,7 @@ const ce = (e, t) => {
|
|
|
4285
4355
|
"locale"
|
|
4286
4356
|
]);
|
|
4287
4357
|
return eo(pt({ locale: r }, i));
|
|
4288
|
-
}, no =
|
|
4358
|
+
}, no = Me(
|
|
4289
4359
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4290
4360
|
(e, t = z()) => new In(e, t, te().formats, {
|
|
4291
4361
|
ignoreTag: te().ignoreTag
|
|
@@ -4328,7 +4398,7 @@ ie([ne], () => ao);
|
|
|
4328
4398
|
ie([ne], () => uo);
|
|
4329
4399
|
ie([ne, me], () => lo);
|
|
4330
4400
|
window.emWidgets = { topic: Ei };
|
|
4331
|
-
const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),
|
|
4401
|
+
const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Go = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4332
4402
|
function fo(e, t) {
|
|
4333
4403
|
if (e) {
|
|
4334
4404
|
const r = document.createElement("style");
|
|
@@ -4628,7 +4698,7 @@ function bo(e) {
|
|
|
4628
4698
|
d[v] = jt(Ft(e, y, v));
|
|
4629
4699
|
return {
|
|
4630
4700
|
c() {
|
|
4631
|
-
t =
|
|
4701
|
+
t = A("div"), r = A("div"), i = A("button"), o = R(n), a = Ze(), s = _e("svg"), h = _e("path"), u = _e("path"), l = Ze(), c = A("div");
|
|
4632
4702
|
for (let v = 0; v < d.length; v += 1)
|
|
4633
4703
|
d[v].c();
|
|
4634
4704
|
E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-19ml84y"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-19ml84y"), E(s, "class", "ExpandArrow svelte-19ml84y"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), E(s, "fill", "#999"), ge(
|
|
@@ -4645,7 +4715,7 @@ function bo(e) {
|
|
|
4645
4715
|
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), E(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4646
4716
|
},
|
|
4647
4717
|
m(v, H) {
|
|
4648
|
-
|
|
4718
|
+
V(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
|
|
4649
4719
|
for (let g = 0; g < d.length; g += 1)
|
|
4650
4720
|
d[g] && d[g].m(c, null);
|
|
4651
4721
|
f || (p = Wr(
|
|
@@ -4658,7 +4728,7 @@ function bo(e) {
|
|
|
4658
4728
|
p(v, H) {
|
|
4659
4729
|
if (H[0] & /*$_*/
|
|
4660
4730
|
512 && n !== (n = /*$_*/
|
|
4661
|
-
v[9]("expandLimits") + "") &&
|
|
4731
|
+
v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
|
|
4662
4732
|
256 && ge(
|
|
4663
4733
|
s,
|
|
4664
4734
|
"extended",
|
|
@@ -4688,7 +4758,7 @@ function bo(e) {
|
|
|
4688
4758
|
);
|
|
4689
4759
|
},
|
|
4690
4760
|
d(v) {
|
|
4691
|
-
v &&
|
|
4761
|
+
v && F(t), Vr(d, v), f = !1, p();
|
|
4692
4762
|
}
|
|
4693
4763
|
};
|
|
4694
4764
|
}
|
|
@@ -4705,10 +4775,10 @@ function _o(e) {
|
|
|
4705
4775
|
), i;
|
|
4706
4776
|
return {
|
|
4707
4777
|
c() {
|
|
4708
|
-
t =
|
|
4778
|
+
t = A("p"), i = R(r), E(t, "class", "svelte-19ml84y");
|
|
4709
4779
|
},
|
|
4710
4780
|
m(n, o) {
|
|
4711
|
-
|
|
4781
|
+
V(n, t, o), x(t, i);
|
|
4712
4782
|
},
|
|
4713
4783
|
p(n, o) {
|
|
4714
4784
|
o[0] & /*lang, $_*/
|
|
@@ -4716,10 +4786,10 @@ function _o(e) {
|
|
|
4716
4786
|
(n[0] ? (
|
|
4717
4787
|
/*$_*/
|
|
4718
4788
|
n[9]("error")
|
|
4719
|
-
) : "500 Server Error") + "") &&
|
|
4789
|
+
) : "500 Server Error") + "") && k(i, r);
|
|
4720
4790
|
},
|
|
4721
4791
|
d(n) {
|
|
4722
|
-
n &&
|
|
4792
|
+
n && F(t);
|
|
4723
4793
|
}
|
|
4724
4794
|
};
|
|
4725
4795
|
}
|
|
@@ -4736,22 +4806,22 @@ function Eo(e) {
|
|
|
4736
4806
|
), c;
|
|
4737
4807
|
return {
|
|
4738
4808
|
c() {
|
|
4739
|
-
t =
|
|
4809
|
+
t = A("div"), r = A("span"), i = A("span"), o = R(n), a = A("span"), h = R(s), u = A("span"), c = R(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
|
|
4740
4810
|
},
|
|
4741
4811
|
m(f, p) {
|
|
4742
|
-
|
|
4812
|
+
V(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4743
4813
|
},
|
|
4744
4814
|
p(f, p) {
|
|
4745
4815
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4746
4816
|
128 && n !== (n = /*history*/
|
|
4747
|
-
f[37].type + "") &&
|
|
4817
|
+
f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
|
|
4748
4818
|
128 && s !== (s = /*history*/
|
|
4749
|
-
f[37].amount + "") &&
|
|
4819
|
+
f[37].amount + "") && k(h, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4750
4820
|
128 && l !== (l = /*history*/
|
|
4751
|
-
f[37].date + "") &&
|
|
4821
|
+
f[37].date + "") && k(c, l);
|
|
4752
4822
|
},
|
|
4753
4823
|
d(f) {
|
|
4754
|
-
f &&
|
|
4824
|
+
f && F(t);
|
|
4755
4825
|
}
|
|
4756
4826
|
};
|
|
4757
4827
|
}
|
|
@@ -4768,22 +4838,22 @@ function xo(e) {
|
|
|
4768
4838
|
), c;
|
|
4769
4839
|
return {
|
|
4770
4840
|
c() {
|
|
4771
|
-
t =
|
|
4841
|
+
t = A("div"), r = A("span"), i = A("span"), o = R(n), a = A("span"), h = R(s), u = A("span"), c = R(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
|
|
4772
4842
|
},
|
|
4773
4843
|
m(f, p) {
|
|
4774
|
-
|
|
4844
|
+
V(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4775
4845
|
},
|
|
4776
4846
|
p(f, p) {
|
|
4777
4847
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4778
4848
|
128 && n !== (n = /*history*/
|
|
4779
|
-
f[37].type + "") &&
|
|
4849
|
+
f[37].type + "") && k(o, n), p[0] & /*$_*/
|
|
4780
4850
|
512 && s !== (s = /*$_*/
|
|
4781
|
-
f[9]("limitRemoved") + "") &&
|
|
4851
|
+
f[9]("limitRemoved") + "") && k(h, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4782
4852
|
128 && l !== (l = /*history*/
|
|
4783
|
-
f[37].date + "") &&
|
|
4853
|
+
f[37].date + "") && k(c, l);
|
|
4784
4854
|
},
|
|
4785
4855
|
d(f) {
|
|
4786
|
-
f &&
|
|
4856
|
+
f && F(t);
|
|
4787
4857
|
}
|
|
4788
4858
|
};
|
|
4789
4859
|
}
|
|
@@ -4808,14 +4878,14 @@ function jt(e) {
|
|
|
4808
4878
|
);
|
|
4809
4879
|
return {
|
|
4810
4880
|
c() {
|
|
4811
|
-
t =
|
|
4881
|
+
t = A("div"), s.c(), r = Ze(), E(t, "class", i = gt(
|
|
4812
4882
|
/*index*/
|
|
4813
4883
|
e[39] > +/*numberofentries*/
|
|
4814
4884
|
e[1] ? "LimitContainer" : ""
|
|
4815
4885
|
) + " svelte-19ml84y");
|
|
4816
4886
|
},
|
|
4817
4887
|
m(l, c) {
|
|
4818
|
-
|
|
4888
|
+
V(l, t, c), s.m(t, null), x(t, r), h();
|
|
4819
4889
|
},
|
|
4820
4890
|
p(l, c) {
|
|
4821
4891
|
e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
|
|
@@ -4828,7 +4898,7 @@ function jt(e) {
|
|
|
4828
4898
|
e[39], h());
|
|
4829
4899
|
},
|
|
4830
4900
|
d(l) {
|
|
4831
|
-
l &&
|
|
4901
|
+
l && F(t), s.d(), u();
|
|
4832
4902
|
}
|
|
4833
4903
|
};
|
|
4834
4904
|
}
|
|
@@ -4846,10 +4916,10 @@ function To(e) {
|
|
|
4846
4916
|
let i = r(e), n = i(e);
|
|
4847
4917
|
return {
|
|
4848
4918
|
c() {
|
|
4849
|
-
t =
|
|
4919
|
+
t = A("div"), n.c(), E(t, "class", "svelte-19ml84y");
|
|
4850
4920
|
},
|
|
4851
4921
|
m(o, a) {
|
|
4852
|
-
|
|
4922
|
+
V(o, t, a), n.m(t, null), e[23](t);
|
|
4853
4923
|
},
|
|
4854
4924
|
p(o, a) {
|
|
4855
4925
|
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
@@ -4857,14 +4927,14 @@ function To(e) {
|
|
|
4857
4927
|
i: I,
|
|
4858
4928
|
o: I,
|
|
4859
4929
|
d(o) {
|
|
4860
|
-
o &&
|
|
4930
|
+
o && F(t), n.d(), e[23](null);
|
|
4861
4931
|
}
|
|
4862
4932
|
};
|
|
4863
4933
|
}
|
|
4864
4934
|
function Lo(e, t, r) {
|
|
4865
4935
|
let i;
|
|
4866
4936
|
Gr(e, ho, (m) => r(9, i = m));
|
|
4867
|
-
let n = window.navigator.userAgent, o = !co(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), D = parseInt(c, 10), N = !1, U = !0,
|
|
4937
|
+
let n = window.navigator.userAgent, o = !co(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), D = parseInt(c, 10), N = !1, U = !0, W = [], pe = [], de = !0, Re = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4868
4938
|
const Sr = () => {
|
|
4869
4939
|
fetch(H).then((T) => T.json()).then((T) => {
|
|
4870
4940
|
Object.keys(T).forEach((C) => {
|
|
@@ -4884,21 +4954,21 @@ function Lo(e, t, r) {
|
|
|
4884
4954
|
method: "GET",
|
|
4885
4955
|
headers: { "X-SessionID": h }
|
|
4886
4956
|
};
|
|
4887
|
-
fetch(T.href, C).then((
|
|
4888
|
-
if (
|
|
4957
|
+
fetch(T.href, C).then((P) => {
|
|
4958
|
+
if (P.status >= 300)
|
|
4889
4959
|
throw r(4, U = !1), r(6, N = !0), new Error("There was an error fetching the limits");
|
|
4890
|
-
return
|
|
4960
|
+
return P.json();
|
|
4891
4961
|
}).then(
|
|
4892
|
-
(
|
|
4893
|
-
|
|
4962
|
+
(P) => {
|
|
4963
|
+
P.length && (W = Ar(P), r(7, pe = W.slice(0, D))), r(4, U = !1);
|
|
4894
4964
|
},
|
|
4895
|
-
(
|
|
4896
|
-
console.error("There was an error",
|
|
4965
|
+
(P) => {
|
|
4966
|
+
console.error("There was an error", P), r(6, N = !0);
|
|
4897
4967
|
}
|
|
4898
4968
|
);
|
|
4899
4969
|
}, Ar = (m) => {
|
|
4900
4970
|
const T = !!ze[a];
|
|
4901
|
-
return m.map((
|
|
4971
|
+
return m.map((P) => {
|
|
4902
4972
|
let $ = {
|
|
4903
4973
|
amount: "",
|
|
4904
4974
|
currency: "",
|
|
@@ -4907,7 +4977,7 @@ function Lo(e, t, r) {
|
|
|
4907
4977
|
type: "",
|
|
4908
4978
|
removed: !1
|
|
4909
4979
|
};
|
|
4910
|
-
return $.amount = Pr(
|
|
4980
|
+
return $.amount = Pr(P), $.currency = T ? se[P.limitCurrencyCode] : P.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), $.period = i(`${P.limitPeriod.toLowerCase()}`), $.type = l === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), $.removed = P.limitAmount === -1, $;
|
|
4911
4981
|
});
|
|
4912
4982
|
}, Pr = (m) => {
|
|
4913
4983
|
let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
@@ -4916,20 +4986,20 @@ function Lo(e, t, r) {
|
|
|
4916
4986
|
return `${T}${Dr}`;
|
|
4917
4987
|
}
|
|
4918
4988
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4919
|
-
const C = T.match(/\{(\d+)decimals\}/),
|
|
4920
|
-
let ye = parseFloat(m.limitAmount).toFixed(
|
|
4921
|
-
const [
|
|
4922
|
-
let [
|
|
4923
|
-
return
|
|
4989
|
+
const C = T.match(/\{(\d+)decimals\}/), P = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4990
|
+
let ye = parseFloat(m.limitAmount).toFixed(P);
|
|
4991
|
+
const [Mr, De] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4992
|
+
let [Ue, Rr] = ye.split(".");
|
|
4993
|
+
return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, Mr), ye = `${Ue}${De}${Rr}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(De)[0]).replace(
|
|
4924
4994
|
$,
|
|
4925
|
-
ye.split(
|
|
4995
|
+
ye.split(De)[1]
|
|
4926
4996
|
), T;
|
|
4927
4997
|
}, Hr = () => {
|
|
4928
4998
|
r(5, de = !de), r(8, Re = !Re);
|
|
4929
4999
|
};
|
|
4930
5000
|
let dt = new IntersectionObserver((m) => {
|
|
4931
5001
|
m.forEach((T) => {
|
|
4932
|
-
T.isIntersecting && (D += parseInt(c, 10) || 10, pe.length <
|
|
5002
|
+
T.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, D)));
|
|
4933
5003
|
});
|
|
4934
5004
|
});
|
|
4935
5005
|
const Or = () => {
|
|
@@ -4949,12 +5019,12 @@ function Lo(e, t, r) {
|
|
|
4949
5019
|
dt.unobserve(S[S.length - 1]);
|
|
4950
5020
|
});
|
|
4951
5021
|
function Cr(m, T) {
|
|
4952
|
-
|
|
5022
|
+
we[m ? "unshift" : "push"](() => {
|
|
4953
5023
|
S[T] = m, r(3, S);
|
|
4954
5024
|
});
|
|
4955
5025
|
}
|
|
4956
5026
|
function Nr(m) {
|
|
4957
|
-
|
|
5027
|
+
we[m ? "unshift" : "push"](() => {
|
|
4958
5028
|
g = m, r(2, g);
|
|
4959
5029
|
});
|
|
4960
5030
|
}
|
|
@@ -5097,7 +5167,7 @@ class Lr extends si {
|
|
|
5097
5167
|
}
|
|
5098
5168
|
}
|
|
5099
5169
|
oi(Lr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5100
|
-
const
|
|
5170
|
+
const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5101
5171
|
__proto__: null,
|
|
5102
5172
|
default: Lr
|
|
5103
5173
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -5106,32 +5176,33 @@ export {
|
|
|
5106
5176
|
Ho as A,
|
|
5107
5177
|
No as B,
|
|
5108
5178
|
Ye as C,
|
|
5109
|
-
|
|
5179
|
+
_e as D,
|
|
5110
5180
|
Co as E,
|
|
5111
5181
|
ho as F,
|
|
5112
5182
|
fo as G,
|
|
5113
5183
|
mo as H,
|
|
5114
5184
|
po as I,
|
|
5115
|
-
|
|
5185
|
+
$o as J,
|
|
5116
5186
|
ei as K,
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5187
|
+
Uo as L,
|
|
5188
|
+
Go as M,
|
|
5189
|
+
Do as N,
|
|
5120
5190
|
Oo as O,
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5191
|
+
Ro as P,
|
|
5192
|
+
So as Q,
|
|
5193
|
+
Ao as R,
|
|
5124
5194
|
si as S,
|
|
5125
|
-
|
|
5126
|
-
|
|
5195
|
+
Po as T,
|
|
5196
|
+
wo as U,
|
|
5197
|
+
Fo as V,
|
|
5127
5198
|
vr as a,
|
|
5128
5199
|
Fr as b,
|
|
5129
5200
|
oi as c,
|
|
5130
|
-
|
|
5131
|
-
|
|
5201
|
+
F as d,
|
|
5202
|
+
V as e,
|
|
5132
5203
|
B as f,
|
|
5133
5204
|
x as g,
|
|
5134
|
-
|
|
5205
|
+
A as h,
|
|
5135
5206
|
ni as i,
|
|
5136
5207
|
Ze as j,
|
|
5137
5208
|
Gr as k,
|
|
@@ -5139,15 +5210,15 @@ export {
|
|
|
5139
5210
|
E as m,
|
|
5140
5211
|
I as n,
|
|
5141
5212
|
Qr as o,
|
|
5142
|
-
|
|
5143
|
-
|
|
5213
|
+
Mo as p,
|
|
5214
|
+
we as q,
|
|
5144
5215
|
vt as r,
|
|
5145
5216
|
Vt as s,
|
|
5146
5217
|
Io as t,
|
|
5147
5218
|
Vr as u,
|
|
5148
5219
|
re as v,
|
|
5149
|
-
|
|
5220
|
+
k as w,
|
|
5150
5221
|
Bo as x,
|
|
5151
5222
|
Wr as y,
|
|
5152
|
-
|
|
5223
|
+
R as z
|
|
5153
5224
|
};
|