@alma/widgets 4.0.8 → 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/widgets-wc.umd.js +13 -13
- package/dist/widgets-wc.umd.js.map +0 -1
- package/dist/widgets.css +1 -1
- package/dist/widgets.js +147 -147
- package/dist/widgets.min.css +1 -1
- package/dist/widgets.umd.js +13 -13
- package/dist/widgets.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/widgets.js
CHANGED
|
@@ -103,27 +103,27 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
|
|
|
103
103
|
}, c.prototype.remove = function() {
|
|
104
104
|
for (var g = 0, v = arguments.length, b = "", _ = this[" uCL"], x = _[" uCLp"]; g !== v; ++g) {
|
|
105
105
|
b = `${arguments[g]}`, a("remove", b);
|
|
106
|
-
for (var E = 0, N = x.length, y = "",
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
for (var E = 0, N = x.length, y = "", w = 0; E !== N; ++E)
|
|
107
|
+
w ? this[E - 1] = this[E] : this[E] !== b ? y += `${this[E]} ` : w = 1;
|
|
108
|
+
w && (delete this[N], x.length -= 1, x.value = y);
|
|
109
109
|
}
|
|
110
110
|
m = 1, _.className = x.value, m = 0;
|
|
111
111
|
}, r.DOMTokenList = c;
|
|
112
112
|
function d() {
|
|
113
113
|
const g = r.event, v = g.propertyName;
|
|
114
114
|
if (!m && (v === "className" || v === "classList" && !l)) {
|
|
115
|
-
const E = g.srcElement, N = E[" uCLp"], y = `${E[v]}`,
|
|
116
|
-
e: for (var b = 0, _ = N.length =
|
|
115
|
+
const E = g.srcElement, N = E[" uCLp"], y = `${E[v]}`, w = y.trim().split(t), z = E[v === "classList" ? " uCL" : "classList"], ge = N.length;
|
|
116
|
+
e: for (var b = 0, _ = N.length = w.length, x = 0; b !== _; ++b) {
|
|
117
117
|
for (let F = 0; F !== b; ++F)
|
|
118
|
-
if (
|
|
118
|
+
if (w[F] === w[b]) {
|
|
119
119
|
x++;
|
|
120
120
|
continue e;
|
|
121
121
|
}
|
|
122
|
-
z[b - x] =
|
|
122
|
+
z[b - x] = w[b];
|
|
123
123
|
}
|
|
124
124
|
for (let F = _ - x; F < ge; ++F) delete z[F];
|
|
125
125
|
if (v !== "classList") return;
|
|
126
|
-
m = 1, E.classList = z, E.className = y, m = 0, z.length =
|
|
126
|
+
m = 1, E.classList = z, E.className = y, m = 0, z.length = w.length - x;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
function p(g) {
|
|
@@ -138,8 +138,8 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
|
|
|
138
138
|
}
|
|
139
139
|
const b = v.prototype, _ = new v();
|
|
140
140
|
e: for (var x = g.className.trim().split(t), E = 0, N = x.length, y = 0; E !== N; ++E) {
|
|
141
|
-
for (let
|
|
142
|
-
if (x[
|
|
141
|
+
for (let w = 0; w !== E; ++w)
|
|
142
|
+
if (x[w] === x[E]) {
|
|
143
143
|
y++;
|
|
144
144
|
continue e;
|
|
145
145
|
}
|
|
@@ -152,9 +152,9 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
|
|
|
152
152
|
return _;
|
|
153
153
|
},
|
|
154
154
|
configurable: 0,
|
|
155
|
-
set(
|
|
156
|
-
m = 1, g.className = b.value =
|
|
157
|
-
const z =
|
|
155
|
+
set(w) {
|
|
156
|
+
m = 1, g.className = b.value = w += "", m = 0;
|
|
157
|
+
const z = w.trim().split(t), ge = b.length;
|
|
158
158
|
e: for (var F = 0, ee = b.length = z.length, Y = 0; F !== ee; ++F) {
|
|
159
159
|
for (let U = 0; U !== F; ++U)
|
|
160
160
|
if (z[U] === z[F]) {
|
|
@@ -244,7 +244,7 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
|
|
|
244
244
|
});
|
|
245
245
|
}(e.DOMTokenList.prototype, e.document.createElement("div").classList);
|
|
246
246
|
})(window);
|
|
247
|
-
var xt,
|
|
247
|
+
var xt, M, yr, ze, ca, _r, vr, br, Pn, mn, fn, Er, ht = {}, xr = [], oo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ct = Array.isArray;
|
|
248
248
|
function Ie(e, t) {
|
|
249
249
|
for (var n in t) e[n] = t[n];
|
|
250
250
|
return e;
|
|
@@ -260,7 +260,7 @@ function de(e, t, n) {
|
|
|
260
260
|
}
|
|
261
261
|
function ct(e, t, n, a, r) {
|
|
262
262
|
var i = { type: e, props: t, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: r == null ? ++yr : r, __i: -1, __u: 0 };
|
|
263
|
-
return r == null &&
|
|
263
|
+
return r == null && M.vnode != null && M.vnode(i), i;
|
|
264
264
|
}
|
|
265
265
|
function Cr() {
|
|
266
266
|
return { current: null };
|
|
@@ -287,10 +287,10 @@ function Sr(e) {
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
function dn(e) {
|
|
290
|
-
(!e.__d && (e.__d = !0) && ze.push(e) && !Wt.__r++ || ca !=
|
|
290
|
+
(!e.__d && (e.__d = !0) && ze.push(e) && !Wt.__r++ || ca != M.debounceRendering) && ((ca = M.debounceRendering) || _r)(Wt);
|
|
291
291
|
}
|
|
292
292
|
function Wt() {
|
|
293
|
-
for (var e, t, n, a, r, i, o, s = 1; ze.length; ) ze.length > s && ze.sort(vr), e = ze.shift(), s = ze.length, e.__d && (n = void 0, r = (a = (t = e).__v).__e, i = [], o = [], t.__P && ((n = Ie({}, a)).__v = a.__v + 1,
|
|
293
|
+
for (var e, t, n, a, r, i, o, s = 1; ze.length; ) ze.length > s && ze.sort(vr), e = ze.shift(), s = ze.length, e.__d && (n = void 0, r = (a = (t = e).__v).__e, i = [], o = [], t.__P && ((n = Ie({}, a)).__v = a.__v + 1, M.vnode && M.vnode(n), Ln(t.__P, n, a, t.__n, t.__P.namespaceURI, 32 & a.__u ? [r] : null, i, r == null ? et(a) : r, !!(32 & a.__u), o), n.__v = a.__v, n.__.__k[n.__i] = n, Ir(i, n, o), n.__e != r && Sr(n)));
|
|
294
294
|
Wt.__r = 0;
|
|
295
295
|
}
|
|
296
296
|
function Ar(e, t, n, a, r, i, o, s, l, u, m) {
|
|
@@ -301,7 +301,7 @@ function Ar(e, t, n, a, r, i, o, s, l, u, m) {
|
|
|
301
301
|
function so(e, t, n, a, r) {
|
|
302
302
|
var i, o, s, l, u, m = n.length, c = m, d = 0;
|
|
303
303
|
for (e.__k = new Array(r), i = 0; i < r; i++) (o = t[i]) != null && typeof o != "boolean" && typeof o != "function" ? (l = i + d, (o = e.__k[i] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? ct(null, o, null, null, null) : Ct(o) ? ct(pe, { children: o }, null, null, null) : o.constructor == null && o.__b > 0 ? ct(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, s = null, (u = o.__i = lo(o, n, l, c)) != -1 && (c--, (s = n[u]) && (s.__u |= 2)), s == null || s.__v == null ? (u == -1 && (r > m ? d-- : r < m && d++), typeof o.type != "function" && (o.__u |= 4)) : u != l && (u == l - 1 ? d-- : u == l + 1 ? d++ : (u > l ? d-- : d++, o.__u |= 4))) : e.__k[i] = null;
|
|
304
|
-
if (c) for (i = 0; i < m; i++) (s = n[i]) != null && !(2 & s.__u) && (s.__e == a && (a = et(s)),
|
|
304
|
+
if (c) for (i = 0; i < m; i++) (s = n[i]) != null && !(2 & s.__u) && (s.__e == a && (a = et(s)), Mr(s, s));
|
|
305
305
|
return a;
|
|
306
306
|
}
|
|
307
307
|
function Tr(e, t, n) {
|
|
@@ -363,14 +363,14 @@ function fa(e) {
|
|
|
363
363
|
var n = this.l[t.type + e];
|
|
364
364
|
if (t.t == null) t.t = Pn++;
|
|
365
365
|
else if (t.t < n.u) return;
|
|
366
|
-
return n(
|
|
366
|
+
return n(M.event ? M.event(t) : t);
|
|
367
367
|
}
|
|
368
368
|
};
|
|
369
369
|
}
|
|
370
370
|
function Ln(e, t, n, a, r, i, o, s, l, u) {
|
|
371
|
-
var m, c, d, p, g, v, b, _, x, E, N, y,
|
|
371
|
+
var m, c, d, p, g, v, b, _, x, E, N, y, w, z, ge, F, ee, Y = t.type;
|
|
372
372
|
if (t.constructor != null) return null;
|
|
373
|
-
128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (m =
|
|
373
|
+
128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (m = M.__b) && m(t);
|
|
374
374
|
e: if (typeof Y == "function") try {
|
|
375
375
|
if (_ = t.props, x = "prototype" in Y && Y.prototype.render, E = (m = Y.contextType) && a[m.__c], N = m ? E ? E.props.value : m.__ : a, n.__c ? b = (c = t.__c = n.__c).__ = c.__E : (x ? t.__c = c = new Y(_, N) : (t.__c = c = new Ee(_, N), c.constructor = Y, c.render = co), E && E.sub(c), c.props = _, c.state || (c.state = {}), c.context = N, c.__n = a, d = c.__d = !0, c.__h = [], c._sb = []), x && c.__s == null && (c.__s = c.state), x && Y.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ie({}, c.__s)), Ie(c.__s, Y.getDerivedStateFromProps(_, c.__s))), p = c.props, g = c.state, c.__v = t, d) x && Y.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), x && c.componentDidMount != null && c.__h.push(c.componentDidMount);
|
|
376
376
|
else {
|
|
@@ -385,38 +385,38 @@ function Ln(e, t, n, a, r, i, o, s, l, u) {
|
|
|
385
385
|
c.componentDidUpdate(p, g, v);
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
|
-
if (c.context = N, c.props = _, c.__P = e, c.__e = !1,
|
|
389
|
-
for (c.state = c.__s, c.__d = !1,
|
|
388
|
+
if (c.context = N, c.props = _, c.__P = e, c.__e = !1, w = M.__r, z = 0, x) {
|
|
389
|
+
for (c.state = c.__s, c.__d = !1, w && w(t), m = c.render(c.props, c.state, c.context), ge = 0; ge < c._sb.length; ge++) c.__h.push(c._sb[ge]);
|
|
390
390
|
c._sb = [];
|
|
391
391
|
} else do
|
|
392
|
-
c.__d = !1,
|
|
392
|
+
c.__d = !1, w && w(t), m = c.render(c.props, c.state, c.context), c.state = c.__s;
|
|
393
393
|
while (c.__d && ++z < 25);
|
|
394
|
-
c.state = c.__s, c.getChildContext != null && (a = Ie(Ie({}, a), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (v = c.getSnapshotBeforeUpdate(p, g)), F = m, m != null && m.type === pe && m.key == null && (F =
|
|
394
|
+
c.state = c.__s, c.getChildContext != null && (a = Ie(Ie({}, a), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (v = c.getSnapshotBeforeUpdate(p, g)), F = m, m != null && m.type === pe && m.key == null && (F = wr(m.props.children)), s = Ar(e, Ct(F) ? F : [F], t, n, a, r, i, o, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && o.push(c), b && (c.__E = c.__ = null);
|
|
395
395
|
} catch (U) {
|
|
396
396
|
if (t.__v = null, l || i != null) if (U.then) {
|
|
397
397
|
for (t.__u |= l ? 160 : 128; s && s.nodeType == 8 && s.nextSibling; ) s = s.nextSibling;
|
|
398
398
|
i[i.indexOf(s)] = null, t.__e = s;
|
|
399
399
|
} else for (ee = i.length; ee--; ) Rn(i[ee]);
|
|
400
400
|
else t.__e = n.__e, t.__k = n.__k;
|
|
401
|
-
|
|
401
|
+
M.__e(U, t, n);
|
|
402
402
|
}
|
|
403
403
|
else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = uo(n.__e, t, n, a, r, i, o, l, u);
|
|
404
|
-
return (m =
|
|
404
|
+
return (m = M.diffed) && m(t), 128 & t.__u ? void 0 : s;
|
|
405
405
|
}
|
|
406
406
|
function Ir(e, t, n) {
|
|
407
407
|
for (var a = 0; a < n.length; a++) Hn(n[a], n[++a], n[++a]);
|
|
408
|
-
|
|
408
|
+
M.__c && M.__c(t, e), e.some(function(r) {
|
|
409
409
|
try {
|
|
410
410
|
e = r.__h, r.__h = [], e.some(function(i) {
|
|
411
411
|
i.call(r);
|
|
412
412
|
});
|
|
413
413
|
} catch (i) {
|
|
414
|
-
|
|
414
|
+
M.__e(i, r.__v);
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(
|
|
418
|
+
function wr(e) {
|
|
419
|
+
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(wr) : Ie({}, e);
|
|
420
420
|
}
|
|
421
421
|
function uo(e, t, n, a, r, i, o, s, l) {
|
|
422
422
|
var u, m, c, d, p, g, v, b = n.props, _ = t.props, x = t.type;
|
|
@@ -428,7 +428,7 @@ function uo(e, t, n, a, r, i, o, s, l) {
|
|
|
428
428
|
}
|
|
429
429
|
if (e == null) {
|
|
430
430
|
if (x == null) return document.createTextNode(_);
|
|
431
|
-
e = document.createElementNS(r, x, _.is && _), s && (
|
|
431
|
+
e = document.createElementNS(r, x, _.is && _), s && (M.__m && M.__m(t, i), s = !1), i = null;
|
|
432
432
|
}
|
|
433
433
|
if (x == null) b === _ || s && e.data == _ || (e.data = _);
|
|
434
434
|
else {
|
|
@@ -454,20 +454,20 @@ function Hn(e, t, n) {
|
|
|
454
454
|
a && e.__u(), a && t == null || (e.__u = e(t));
|
|
455
455
|
} else e.current = t;
|
|
456
456
|
} catch (r) {
|
|
457
|
-
|
|
457
|
+
M.__e(r, n);
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function Mr(e, t, n) {
|
|
461
461
|
var a, r;
|
|
462
|
-
if (
|
|
462
|
+
if (M.unmount && M.unmount(e), (a = e.ref) && (a.current && a.current != e.__e || Hn(a, null, t)), (a = e.__c) != null) {
|
|
463
463
|
if (a.componentWillUnmount) try {
|
|
464
464
|
a.componentWillUnmount();
|
|
465
465
|
} catch (i) {
|
|
466
|
-
|
|
466
|
+
M.__e(i, t);
|
|
467
467
|
}
|
|
468
468
|
a.base = a.__P = null;
|
|
469
469
|
}
|
|
470
|
-
if (a = e.__k) for (r = 0; r < a.length; r++) a[r] &&
|
|
470
|
+
if (a = e.__k) for (r = 0; r < a.length; r++) a[r] && Mr(a[r], t, n || typeof e.type != "function");
|
|
471
471
|
n || Rn(e.__e), e.__c = e.__ = e.__e = void 0;
|
|
472
472
|
}
|
|
473
473
|
function co(e, t, n) {
|
|
@@ -475,7 +475,7 @@ function co(e, t, n) {
|
|
|
475
475
|
}
|
|
476
476
|
function gt(e, t, n) {
|
|
477
477
|
var a, r, i, o;
|
|
478
|
-
t == document && (t = document.documentElement),
|
|
478
|
+
t == document && (t = document.documentElement), M.__ && M.__(e, t), r = (a = typeof n == "function") ? null : n && n.__k || t.__k, i = [], o = [], Ln(t, e = (!a && n || t).__k = de(pe, null, [e]), r || ht, ht, t.namespaceURI, !a && n ? [n] : r ? null : t.firstChild ? xt.call(t.childNodes) : null, i, !a && n ? n : r ? r.__e : t.firstChild, a, o), Ir(i, e, o);
|
|
479
479
|
}
|
|
480
480
|
function Nr(e, t) {
|
|
481
481
|
gt(e, t, Nr);
|
|
@@ -508,7 +508,7 @@ function yt(e) {
|
|
|
508
508
|
return n.children(a);
|
|
509
509
|
}).contextType = t, t;
|
|
510
510
|
}
|
|
511
|
-
xt = xr.slice,
|
|
511
|
+
xt = xr.slice, M = { __e: function(e, t, n, a) {
|
|
512
512
|
for (var r, i, o; t = t.__; ) if ((r = t.__c) && !r.__) try {
|
|
513
513
|
if ((i = r.constructor) && i.getDerivedStateFromError != null && (r.setState(i.getDerivedStateFromError(e)), o = r.__d), r.componentDidCatch != null && (r.componentDidCatch(e, a || {}), o = r.__d), o) return r.__E = r;
|
|
514
514
|
} catch (s) {
|
|
@@ -523,7 +523,7 @@ xt = xr.slice, w = { __e: function(e, t, n, a) {
|
|
|
523
523
|
}, Ee.prototype.render = pe, ze = [], _r = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, vr = function(e, t) {
|
|
524
524
|
return e.__v.__b - t.__v.__b;
|
|
525
525
|
}, Wt.__r = 0, br = /(PointerCapture)$|Capture$/i, Pn = 0, mn = fa(!1), fn = fa(!0), Er = 0;
|
|
526
|
-
var Pe, $, Yt, da, tt = 0, Or = [], j =
|
|
526
|
+
var Pe, $, Yt, da, tt = 0, Or = [], j = M, pa = j.__b, ha = j.__r, ga = j.diffed, ya = j.__c, _a = j.unmount, va = j.__;
|
|
527
527
|
function qe(e, t) {
|
|
528
528
|
j.__h && j.__h($, e, tt || t), tt = 0;
|
|
529
529
|
var n = $.__H || ($.__H = { __: [], __h: [] });
|
|
@@ -748,8 +748,8 @@ function jn(e, t) {
|
|
|
748
748
|
(vt.prototype = new Ee()).isPureReactComponent = !0, vt.prototype.shouldComponentUpdate = function(e, t) {
|
|
749
749
|
return hn(this.props, e) || hn(this.state, t);
|
|
750
750
|
};
|
|
751
|
-
var Ea =
|
|
752
|
-
|
|
751
|
+
var Ea = M.__b;
|
|
752
|
+
M.__b = function(e) {
|
|
753
753
|
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Ea && Ea(e);
|
|
754
754
|
};
|
|
755
755
|
var go = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
@@ -768,14 +768,14 @@ var xa = function(e, t) {
|
|
|
768
768
|
var t = Oe(e);
|
|
769
769
|
if (t.length !== 1) throw "Children.only";
|
|
770
770
|
return t[0];
|
|
771
|
-
}, toArray: Oe }, yo =
|
|
772
|
-
|
|
771
|
+
}, toArray: Oe }, yo = M.__e;
|
|
772
|
+
M.__e = function(e, t, n, a) {
|
|
773
773
|
if (e.then) {
|
|
774
774
|
for (var r, i = t; i = i.__; ) if ((r = i.__c) && r.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), r.__c(e, t);
|
|
775
775
|
}
|
|
776
776
|
yo(e, t, n, a);
|
|
777
777
|
};
|
|
778
|
-
var Ca =
|
|
778
|
+
var Ca = M.unmount;
|
|
779
779
|
function Hr(e, t, n) {
|
|
780
780
|
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(a) {
|
|
781
781
|
typeof a.__c == "function" && a.__c();
|
|
@@ -811,7 +811,7 @@ function Fr(e) {
|
|
|
811
811
|
function Ye() {
|
|
812
812
|
this.i = null, this.l = null;
|
|
813
813
|
}
|
|
814
|
-
|
|
814
|
+
M.unmount = function(e) {
|
|
815
815
|
var t = e.__c;
|
|
816
816
|
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Ca && Ca(e);
|
|
817
817
|
}, (mt.prototype = new Ee()).__c = function(e, t) {
|
|
@@ -911,7 +911,7 @@ Ee.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
|
|
|
911
911
|
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
|
|
912
912
|
} });
|
|
913
913
|
});
|
|
914
|
-
var Aa =
|
|
914
|
+
var Aa = M.event;
|
|
915
915
|
function Ao() {
|
|
916
916
|
}
|
|
917
917
|
function To() {
|
|
@@ -920,13 +920,13 @@ function To() {
|
|
|
920
920
|
function Io() {
|
|
921
921
|
return this.defaultPrevented;
|
|
922
922
|
}
|
|
923
|
-
|
|
923
|
+
M.event = function(e) {
|
|
924
924
|
return Aa && (e = Aa(e)), e.persist = Ao, e.isPropagationStopped = To, e.isDefaultPrevented = Io, e.nativeEvent = e;
|
|
925
925
|
};
|
|
926
|
-
var qn,
|
|
926
|
+
var qn, wo = { enumerable: !1, configurable: !0, get: function() {
|
|
927
927
|
return this.class;
|
|
928
|
-
} }, Ta =
|
|
929
|
-
|
|
928
|
+
} }, Ta = M.vnode;
|
|
929
|
+
M.vnode = function(e) {
|
|
930
930
|
typeof e.type == "string" && function(t) {
|
|
931
931
|
var n = t.props, a = t.type, r = {}, i = a.indexOf("-") === -1;
|
|
932
932
|
for (var o in n) {
|
|
@@ -940,22 +940,22 @@ w.vnode = function(e) {
|
|
|
940
940
|
u.props.selected = r.value.indexOf(u.props.value) != -1;
|
|
941
941
|
})), a == "select" && r.defaultValue != null && (r.value = Oe(n.children).forEach(function(u) {
|
|
942
942
|
u.props.selected = r.multiple ? r.defaultValue.indexOf(u.props.value) != -1 : r.defaultValue == u.props.value;
|
|
943
|
-
})), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className",
|
|
943
|
+
})), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", wo)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
|
|
944
944
|
}(e), e.$$typeof = Ur, Ta && Ta(e);
|
|
945
945
|
};
|
|
946
|
-
var Ia =
|
|
947
|
-
|
|
946
|
+
var Ia = M.__r;
|
|
947
|
+
M.__r = function(e) {
|
|
948
948
|
Ia && Ia(e), qn = e.__c;
|
|
949
949
|
};
|
|
950
|
-
var
|
|
951
|
-
|
|
952
|
-
|
|
950
|
+
var wa = M.diffed;
|
|
951
|
+
M.diffed = function(e) {
|
|
952
|
+
wa && wa(e);
|
|
953
953
|
var t = e.props, n = e.__e;
|
|
954
954
|
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), qn = null;
|
|
955
955
|
};
|
|
956
956
|
var Gr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
957
957
|
return qn.__n[e.__c].props.value;
|
|
958
|
-
}, useCallback: _t, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect: K, useId: Fn, useImperativeHandle: Dn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: De, useReducer: Zt, useRef: ke, useState: Q, useSyncExternalStore: Un, useTransition: zn } } },
|
|
958
|
+
}, useCallback: _t, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect: K, useId: Fn, useImperativeHandle: Dn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: De, useReducer: Zt, useRef: ke, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, Mo = "18.3.1";
|
|
959
959
|
function zr(e) {
|
|
960
960
|
return de.bind(null, e);
|
|
961
961
|
}
|
|
@@ -1029,9 +1029,9 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1029
1029
|
useState: Q,
|
|
1030
1030
|
useSyncExternalStore: Un,
|
|
1031
1031
|
useTransition: zn,
|
|
1032
|
-
version:
|
|
1032
|
+
version: Mo
|
|
1033
1033
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1034
|
-
function
|
|
1034
|
+
function Ma(e) {
|
|
1035
1035
|
return {
|
|
1036
1036
|
// eslint-disable-next-line
|
|
1037
1037
|
render: function(t) {
|
|
@@ -3331,9 +3331,9 @@ var ls = (
|
|
|
3331
3331
|
return c;
|
|
3332
3332
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), y = c.val;
|
|
3333
3333
|
}
|
|
3334
|
-
var
|
|
3335
|
-
if (
|
|
3336
|
-
return
|
|
3334
|
+
var w = this.tryParsePluralOrSelectOptions(t, s, n, N);
|
|
3335
|
+
if (w.err)
|
|
3336
|
+
return w;
|
|
3337
3337
|
var g = this.tryParseArgumentClose(r);
|
|
3338
3338
|
if (g.err)
|
|
3339
3339
|
return g;
|
|
@@ -3342,7 +3342,7 @@ var ls = (
|
|
|
3342
3342
|
val: {
|
|
3343
3343
|
type: G.select,
|
|
3344
3344
|
value: a,
|
|
3345
|
-
options: Ha(
|
|
3345
|
+
options: Ha(w.val),
|
|
3346
3346
|
location: z
|
|
3347
3347
|
},
|
|
3348
3348
|
err: null
|
|
@@ -3350,7 +3350,7 @@ var ls = (
|
|
|
3350
3350
|
val: {
|
|
3351
3351
|
type: G.plural,
|
|
3352
3352
|
value: a,
|
|
3353
|
-
options: Ha(
|
|
3353
|
+
options: Ha(w.val),
|
|
3354
3354
|
offset: y,
|
|
3355
3355
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3356
3356
|
location: z
|
|
@@ -3556,10 +3556,10 @@ function fs(e, t) {
|
|
|
3556
3556
|
}
|
|
3557
3557
|
return t != null && t.captureLocation || xn(n.val), n.val;
|
|
3558
3558
|
}
|
|
3559
|
-
var
|
|
3559
|
+
var we;
|
|
3560
3560
|
(function(e) {
|
|
3561
3561
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3562
|
-
})(
|
|
3562
|
+
})(we || (we = {}));
|
|
3563
3563
|
var Fe = (
|
|
3564
3564
|
/** @class */
|
|
3565
3565
|
function(e) {
|
|
@@ -3577,7 +3577,7 @@ var Fe = (
|
|
|
3577
3577
|
function(e) {
|
|
3578
3578
|
_e(t, e);
|
|
3579
3579
|
function t(n, a, r, i) {
|
|
3580
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(a, '". Options are "').concat(Object.keys(r).join('", "'), '"'),
|
|
3580
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(a, '". Options are "').concat(Object.keys(r).join('", "'), '"'), we.INVALID_VALUE, i) || this;
|
|
3581
3581
|
}
|
|
3582
3582
|
return t;
|
|
3583
3583
|
}(Fe)
|
|
@@ -3586,7 +3586,7 @@ var Fe = (
|
|
|
3586
3586
|
function(e) {
|
|
3587
3587
|
_e(t, e);
|
|
3588
3588
|
function t(n, a, r) {
|
|
3589
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(a),
|
|
3589
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(a), we.INVALID_VALUE, r) || this;
|
|
3590
3590
|
}
|
|
3591
3591
|
return t;
|
|
3592
3592
|
}(Fe)
|
|
@@ -3595,7 +3595,7 @@ var Fe = (
|
|
|
3595
3595
|
function(e) {
|
|
3596
3596
|
_e(t, e);
|
|
3597
3597
|
function t(n, a) {
|
|
3598
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(a, '"'),
|
|
3598
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(a, '"'), we.MISSING_VALUE, a) || this;
|
|
3599
3599
|
}
|
|
3600
3600
|
return t;
|
|
3601
3601
|
}(Fe)
|
|
@@ -3698,7 +3698,7 @@ function zt(e, t, n, a, r, i, o) {
|
|
|
3698
3698
|
if (!Intl.PluralRules)
|
|
3699
3699
|
throw new Fe(`Intl.PluralRules is not available in this environment.
|
|
3700
3700
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3701
|
-
`,
|
|
3701
|
+
`, we.MISSING_INTL_API, o);
|
|
3702
3702
|
var N = n.getPluralRules(t, { type: m.pluralType }).select(d - (m.offset || 0));
|
|
3703
3703
|
E = m.options[N] || m.options.other;
|
|
3704
3704
|
}
|
|
@@ -4191,7 +4191,7 @@ function Is(e, t) {
|
|
|
4191
4191
|
}
|
|
4192
4192
|
return String(r);
|
|
4193
4193
|
}
|
|
4194
|
-
function
|
|
4194
|
+
function ws(e, t) {
|
|
4195
4195
|
for (var n = [], a = 2; a < arguments.length; a++)
|
|
4196
4196
|
n[a - 2] = arguments[a];
|
|
4197
4197
|
var r = n[0], i = n[1], o = i === void 0 ? {} : i, s = typeof r == "string" ? new Date(r || 0) : r;
|
|
@@ -4202,7 +4202,7 @@ function Ms(e, t) {
|
|
|
4202
4202
|
}
|
|
4203
4203
|
return [];
|
|
4204
4204
|
}
|
|
4205
|
-
function
|
|
4205
|
+
function Ms(e, t) {
|
|
4206
4206
|
for (var n = [], a = 2; a < arguments.length; a++)
|
|
4207
4207
|
n[a - 2] = arguments[a];
|
|
4208
4208
|
var r = n[0], i = n[1], o = i === void 0 ? {} : i, s = typeof r == "string" ? new Date(r || 0) : r;
|
|
@@ -4223,7 +4223,7 @@ function Os(e, t, n, a) {
|
|
|
4223
4223
|
var r = e.locale, i = e.onError, o = Intl.DisplayNames;
|
|
4224
4224
|
o || i(new Fe(`Intl.DisplayNames is not available in this environment.
|
|
4225
4225
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
4226
|
-
`,
|
|
4226
|
+
`, we.MISSING_INTL_API));
|
|
4227
4227
|
var s = Ze(a, Ns);
|
|
4228
4228
|
try {
|
|
4229
4229
|
return t(r, s).of(n);
|
|
@@ -4252,7 +4252,7 @@ function bi(e, t, n, a) {
|
|
|
4252
4252
|
var o = Intl.ListFormat;
|
|
4253
4253
|
o || i(new Fe(`Intl.ListFormat is not available in this environment.
|
|
4254
4254
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
4255
|
-
`,
|
|
4255
|
+
`, we.MISSING_INTL_API));
|
|
4256
4256
|
var s = Ze(a, Ps);
|
|
4257
4257
|
try {
|
|
4258
4258
|
var l = {}, u = n.map(function(m, c) {
|
|
@@ -4275,7 +4275,7 @@ function Ds(e, t, n, a) {
|
|
|
4275
4275
|
var r = e.locale, i = e.onError;
|
|
4276
4276
|
a === void 0 && (a = {}), Intl.PluralRules || i(new Fe(`Intl.PluralRules is not available in this environment.
|
|
4277
4277
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4278
|
-
`,
|
|
4278
|
+
`, we.MISSING_INTL_API));
|
|
4279
4279
|
var o = Ze(a, Hs);
|
|
4280
4280
|
try {
|
|
4281
4281
|
return t(r, o).select(n);
|
|
@@ -4296,7 +4296,7 @@ function Bs(e, t, n, a, r) {
|
|
|
4296
4296
|
var i = Intl.RelativeTimeFormat;
|
|
4297
4297
|
i || e.onError(new Fe(`Intl.RelativeTimeFormat is not available in this environment.
|
|
4298
4298
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
4299
|
-
`,
|
|
4299
|
+
`, we.MISSING_INTL_API));
|
|
4300
4300
|
try {
|
|
4301
4301
|
return Fs(e, t, r).format(n, a);
|
|
4302
4302
|
} catch (o) {
|
|
@@ -4371,10 +4371,10 @@ function js(e, t) {
|
|
|
4371
4371
|
formatNumberToParts: Gs.bind(null, a, n.getNumberFormat),
|
|
4372
4372
|
formatRelativeTime: Bs.bind(null, a, n.getRelativeTimeFormat),
|
|
4373
4373
|
formatDate: As.bind(null, a, n.getDateTimeFormat),
|
|
4374
|
-
formatDateToParts:
|
|
4374
|
+
formatDateToParts: ws.bind(null, a, n.getDateTimeFormat),
|
|
4375
4375
|
formatTime: Ts.bind(null, a, n.getDateTimeFormat),
|
|
4376
4376
|
formatDateTimeRange: Is.bind(null, a, n.getDateTimeFormat),
|
|
4377
|
-
formatTimeToParts:
|
|
4377
|
+
formatTimeToParts: Ms.bind(null, a, n.getDateTimeFormat),
|
|
4378
4378
|
formatPlural: Ds.bind(null, a, n.getPluralRules),
|
|
4379
4379
|
// @ts-expect-error TODO: will get to this later
|
|
4380
4380
|
formatMessage: Cn.bind(null, a, n),
|
|
@@ -4409,7 +4409,7 @@ function Sn(e, t) {
|
|
|
4409
4409
|
}
|
|
4410
4410
|
return !0;
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function wt(e) {
|
|
4413
4413
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4414
4414
|
}
|
|
4415
4415
|
function Si(e) {
|
|
@@ -4447,8 +4447,8 @@ function qs() {
|
|
|
4447
4447
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
4448
4448
|
function E(y) {
|
|
4449
4449
|
if (typeof y == "object" && y !== null) {
|
|
4450
|
-
var
|
|
4451
|
-
switch (
|
|
4450
|
+
var w = y.$$typeof;
|
|
4451
|
+
switch (w) {
|
|
4452
4452
|
case t:
|
|
4453
4453
|
switch (y = y.type, y) {
|
|
4454
4454
|
case l:
|
|
@@ -4467,11 +4467,11 @@ function qs() {
|
|
|
4467
4467
|
case o:
|
|
4468
4468
|
return y;
|
|
4469
4469
|
default:
|
|
4470
|
-
return
|
|
4470
|
+
return w;
|
|
4471
4471
|
}
|
|
4472
4472
|
}
|
|
4473
4473
|
case n:
|
|
4474
|
-
return
|
|
4474
|
+
return w;
|
|
4475
4475
|
}
|
|
4476
4476
|
}
|
|
4477
4477
|
}
|
|
@@ -4538,14 +4538,14 @@ var Tn;
|
|
|
4538
4538
|
(function(e) {
|
|
4539
4539
|
e.formatDate = "FormattedDateParts", e.formatTime = "FormattedTimeParts", e.formatNumber = "FormattedNumberParts", e.formatList = "FormattedListParts";
|
|
4540
4540
|
})(Tn || (Tn = {}));
|
|
4541
|
-
function
|
|
4541
|
+
function wi(e) {
|
|
4542
4542
|
var t = function(n) {
|
|
4543
4543
|
var a = he(), r = n.value, i = n.children, o = nt(n, ["value", "children"]), s = typeof r == "string" ? new Date(r || 0) : r, l = e === "formatDate" ? a.formatDateToParts(s, o) : a.formatTimeToParts(s, o);
|
|
4544
4544
|
return i(l);
|
|
4545
4545
|
};
|
|
4546
4546
|
return t.displayName = Tn[e], t;
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4548
|
+
function Mt(e) {
|
|
4549
4549
|
var t = function(n) {
|
|
4550
4550
|
var a = he(), r = n.value, i = n.children, o = nt(
|
|
4551
4551
|
n,
|
|
@@ -4558,7 +4558,7 @@ function wt(e) {
|
|
|
4558
4558
|
};
|
|
4559
4559
|
return t.displayName = An[e], t;
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Mi(e) {
|
|
4562
4562
|
return e && Object.keys(e).reduce(function(t, n) {
|
|
4563
4563
|
var a = e[n];
|
|
4564
4564
|
return t[n] = hi(a) ? Vs(a) : a, t;
|
|
@@ -4567,7 +4567,7 @@ function wi(e) {
|
|
|
4567
4567
|
var za = function(e, t, n, a) {
|
|
4568
4568
|
for (var r = [], i = 4; i < arguments.length; i++)
|
|
4569
4569
|
r[i - 4] = arguments[i];
|
|
4570
|
-
var o =
|
|
4570
|
+
var o = Mi(a), s = Cn.apply(void 0, ce([
|
|
4571
4571
|
e,
|
|
4572
4572
|
t,
|
|
4573
4573
|
n,
|
|
@@ -4575,7 +4575,7 @@ var za = function(e, t, n, a) {
|
|
|
4575
4575
|
], r, !1));
|
|
4576
4576
|
return Array.isArray(s) ? At.toArray(s) : s;
|
|
4577
4577
|
}, Wa = function(e, t) {
|
|
4578
|
-
var n = e.defaultRichTextElements, a = nt(e, ["defaultRichTextElements"]), r =
|
|
4578
|
+
var n = e.defaultRichTextElements, a = nt(e, ["defaultRichTextElements"]), r = Mi(n), i = js(C(C(C({}, Ci), a), { defaultRichTextElements: r }), t), o = {
|
|
4579
4579
|
locale: i.locale,
|
|
4580
4580
|
timeZone: i.timeZone,
|
|
4581
4581
|
fallbackOnEmptyString: i.fallbackOnEmptyString,
|
|
@@ -4649,13 +4649,13 @@ function Ni(e) {
|
|
|
4649
4649
|
Ni.displayName = "FormattedMessage";
|
|
4650
4650
|
var L = jn(Ni, tl);
|
|
4651
4651
|
L.displayName = "MemoizedFormattedMessage";
|
|
4652
|
-
var Oi =
|
|
4653
|
-
|
|
4654
|
-
var Te =
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4652
|
+
var Oi = Mt("formatDate");
|
|
4653
|
+
Mt("formatTime");
|
|
4654
|
+
var Te = Mt("formatNumber");
|
|
4655
|
+
Mt("formatList");
|
|
4656
|
+
Mt("formatDisplayName");
|
|
4657
|
+
wi("formatDate");
|
|
4658
|
+
wi("formatTime");
|
|
4659
4659
|
const nl = {
|
|
4660
4660
|
"accessibility.amex-card.aria-label": "American Express-Karte akzeptiert",
|
|
4661
4661
|
"accessibility.animation-control-instructions": "Automatische Animation der Zahlungspläne aktiv. Bewegen Sie den Mauszeiger über oder navigieren Sie mit den Pfeiltasten, um die Animation zu stoppen.",
|
|
@@ -5068,7 +5068,7 @@ const nl = {
|
|
|
5068
5068
|
),
|
|
5069
5069
|
0
|
|
5070
5070
|
).toString().replace("-", "A"), ml = (e) => Date.now() - e >= 36e5;
|
|
5071
|
-
var fl = { BUILD_VERSION: "v4.0.
|
|
5071
|
+
var fl = { BUILD_VERSION: "v4.0.10" };
|
|
5072
5072
|
const dl = () => ({
|
|
5073
5073
|
setCache: (i, o) => {
|
|
5074
5074
|
const s = Date.now();
|
|
@@ -5128,7 +5128,7 @@ const hl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
|
|
|
5128
5128
|
}) : e.filter(
|
|
5129
5129
|
(n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
|
|
5130
5130
|
);
|
|
5131
|
-
var _l = { BUILD_VERSION: "v4.0.
|
|
5131
|
+
var _l = { BUILD_VERSION: "v4.0.10" };
|
|
5132
5132
|
const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
|
|
5133
5133
|
var E, N;
|
|
5134
5134
|
const [o, s] = Q([]), [l, u] = Q(ue.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: p } = dl(), g = d({
|
|
@@ -5149,15 +5149,15 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
|
|
|
5149
5149
|
r && (y = {
|
|
5150
5150
|
country: r
|
|
5151
5151
|
});
|
|
5152
|
-
let
|
|
5153
|
-
i && (
|
|
5152
|
+
let w = null;
|
|
5153
|
+
i && (w = {
|
|
5154
5154
|
country: i
|
|
5155
5155
|
}), v && !_ && (s(v), u(ue.SUCCESS)), _ && p(), v || pl(
|
|
5156
5156
|
{
|
|
5157
5157
|
purchase_amount: e,
|
|
5158
5158
|
queries: x,
|
|
5159
5159
|
billing_address: y,
|
|
5160
|
-
shipping_address:
|
|
5160
|
+
shipping_address: w
|
|
5161
5161
|
},
|
|
5162
5162
|
{
|
|
5163
5163
|
Authorization: `Alma-Merchant-Auth ${n}`,
|
|
@@ -5306,8 +5306,8 @@ function Tl(e, t, n) {
|
|
|
5306
5306
|
function Il(e, t, n) {
|
|
5307
5307
|
return new Tl(e, t, n);
|
|
5308
5308
|
}
|
|
5309
|
-
var
|
|
5310
|
-
const
|
|
5309
|
+
var wl = Il;
|
|
5310
|
+
const Ml = /* @__PURE__ */ wt(wl);
|
|
5311
5311
|
var Nl = /[A-Z]/g, Ol = /^ms-/, rn = {};
|
|
5312
5312
|
function Pl(e) {
|
|
5313
5313
|
return "-" + e.toLowerCase();
|
|
@@ -5390,7 +5390,7 @@ function Hl() {
|
|
|
5390
5390
|
}
|
|
5391
5391
|
Hi.exports = Hl()();
|
|
5392
5392
|
var Qn = Hi.exports;
|
|
5393
|
-
const D = /* @__PURE__ */
|
|
5393
|
+
const D = /* @__PURE__ */ wt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
|
|
5394
5394
|
all: D.bool,
|
|
5395
5395
|
grid: D.bool,
|
|
5396
5396
|
aural: D.bool,
|
|
@@ -5468,7 +5468,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5468
5468
|
n !== r && a(r);
|
|
5469
5469
|
}, [e]), n;
|
|
5470
5470
|
}, Xl = (e, t) => {
|
|
5471
|
-
const n = () =>
|
|
5471
|
+
const n = () => Ml(e, t || {}, !!t), [a, r] = Q(n), i = ki();
|
|
5472
5472
|
return K(() => {
|
|
5473
5473
|
if (i) {
|
|
5474
5474
|
const o = n();
|
|
@@ -5534,7 +5534,7 @@ var Fi = { exports: {} };
|
|
|
5534
5534
|
})();
|
|
5535
5535
|
})(Fi);
|
|
5536
5536
|
var Yl = Fi.exports;
|
|
5537
|
-
const R = /* @__PURE__ */
|
|
5537
|
+
const R = /* @__PURE__ */ wt(Yl), Ql = "_loadingIndicator_1fdeg_1", eu = {
|
|
5538
5538
|
loadingIndicator: Ql
|
|
5539
5539
|
}, tu = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: R(eu.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement(
|
|
5540
5540
|
"svg",
|
|
@@ -5593,10 +5593,10 @@ var Bi = { exports: {} };
|
|
|
5593
5593
|
})();
|
|
5594
5594
|
})(Bi);
|
|
5595
5595
|
var nu = Bi.exports;
|
|
5596
|
-
const Qa = /* @__PURE__ */
|
|
5596
|
+
const Qa = /* @__PURE__ */ wt(nu);
|
|
5597
5597
|
var In = { exports: {} }, Ve = {};
|
|
5598
5598
|
const ea = /* @__PURE__ */ Si(No);
|
|
5599
|
-
var
|
|
5599
|
+
var wn = { exports: {} }, Ce = {}, Mn = { exports: {} };
|
|
5600
5600
|
(function(e, t) {
|
|
5601
5601
|
Object.defineProperty(t, "__esModule", {
|
|
5602
5602
|
value: !0
|
|
@@ -5651,8 +5651,8 @@ var Mn = { exports: {} }, Ce = {}, wn = { exports: {} };
|
|
|
5651
5651
|
return d.filter(u);
|
|
5652
5652
|
}
|
|
5653
5653
|
e.exports = t.default;
|
|
5654
|
-
})(
|
|
5655
|
-
var Ui =
|
|
5654
|
+
})(Mn, Mn.exports);
|
|
5655
|
+
var Ui = Mn.exports;
|
|
5656
5656
|
Object.defineProperty(Ce, "__esModule", {
|
|
5657
5657
|
value: !0
|
|
5658
5658
|
});
|
|
@@ -5791,8 +5791,8 @@ Se.log = Tu;
|
|
|
5791
5791
|
Se.assertNodeList = Gi;
|
|
5792
5792
|
Se.setElement = Iu;
|
|
5793
5793
|
Se.validateElement = ta;
|
|
5794
|
-
Se.hide =
|
|
5795
|
-
Se.show =
|
|
5794
|
+
Se.hide = wu;
|
|
5795
|
+
Se.show = Mu;
|
|
5796
5796
|
Se.documentNotReadyOrSSRTesting = Nu;
|
|
5797
5797
|
var Eu = hu, xu = Su(Eu), Cu = xe;
|
|
5798
5798
|
function Su(e) {
|
|
@@ -5824,7 +5824,7 @@ function ta(e) {
|
|
|
5824
5824
|
var t = e || ye;
|
|
5825
5825
|
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, xu.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
5826
5826
|
}
|
|
5827
|
-
function
|
|
5827
|
+
function wu(e) {
|
|
5828
5828
|
var t = !0, n = !1, a = void 0;
|
|
5829
5829
|
try {
|
|
5830
5830
|
for (var r = ta(e)[Symbol.iterator](), i; !(t = (i = r.next()).done); t = !0) {
|
|
@@ -5842,7 +5842,7 @@ function Mu(e) {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
}
|
|
5844
5844
|
}
|
|
5845
|
-
function
|
|
5845
|
+
function Mu(e) {
|
|
5846
5846
|
var t = !0, n = !1, a = void 0;
|
|
5847
5847
|
try {
|
|
5848
5848
|
for (var r = ta(e)[Symbol.iterator](), i; !(t = (i = r.next()).done); t = !0) {
|
|
@@ -6012,7 +6012,7 @@ $u.default.subscribe(ju);
|
|
|
6012
6012
|
function y(I) {
|
|
6013
6013
|
return I && I.__esModule ? I : { default: I };
|
|
6014
6014
|
}
|
|
6015
|
-
function
|
|
6015
|
+
function w(I, A) {
|
|
6016
6016
|
if (!(I instanceof A))
|
|
6017
6017
|
throw new TypeError("Cannot call a class as a function");
|
|
6018
6018
|
}
|
|
@@ -6033,10 +6033,10 @@ $u.default.subscribe(ju);
|
|
|
6033
6033
|
return A.code === "Tab" || A.keyCode === 9;
|
|
6034
6034
|
}, Y = function(A) {
|
|
6035
6035
|
return A.code === "Escape" || A.keyCode === 27;
|
|
6036
|
-
}, U = 0,
|
|
6036
|
+
}, U = 0, Me = function(I) {
|
|
6037
6037
|
ge(A, I);
|
|
6038
6038
|
function A(W) {
|
|
6039
|
-
|
|
6039
|
+
w(this, A);
|
|
6040
6040
|
var h = z(this, (A.__proto__ || Object.getPrototypeOf(A)).call(this, W));
|
|
6041
6041
|
return h.setOverlayRef = function(S) {
|
|
6042
6042
|
h.overlay = S, h.props.overlayRef && h.props.overlayRef(S);
|
|
@@ -6159,13 +6159,13 @@ $u.default.subscribe(ju);
|
|
|
6159
6159
|
}
|
|
6160
6160
|
}]), A;
|
|
6161
6161
|
}(i.Component);
|
|
6162
|
-
|
|
6162
|
+
Me.defaultProps = {
|
|
6163
6163
|
style: {
|
|
6164
6164
|
overlay: {},
|
|
6165
6165
|
content: {}
|
|
6166
6166
|
},
|
|
6167
6167
|
defaultStyles: {}
|
|
6168
|
-
},
|
|
6168
|
+
}, Me.propTypes = {
|
|
6169
6169
|
isOpen: s.default.bool.isRequired,
|
|
6170
6170
|
defaultStyles: s.default.shape({
|
|
6171
6171
|
content: s.default.object,
|
|
@@ -6202,9 +6202,9 @@ $u.default.subscribe(ju);
|
|
|
6202
6202
|
overlayElement: s.default.func,
|
|
6203
6203
|
contentElement: s.default.func,
|
|
6204
6204
|
testId: s.default.string
|
|
6205
|
-
}, t.default =
|
|
6206
|
-
})(
|
|
6207
|
-
var Vu =
|
|
6205
|
+
}, t.default = Me, e.exports = t.default;
|
|
6206
|
+
})(wn, wn.exports);
|
|
6207
|
+
var Vu = wn.exports;
|
|
6208
6208
|
function Wi() {
|
|
6209
6209
|
var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
6210
6210
|
e != null && this.setState(e);
|
|
@@ -6504,7 +6504,7 @@ Ve.default = Ot;
|
|
|
6504
6504
|
t.default = a.default, e.exports = t.default;
|
|
6505
6505
|
})(In, In.exports);
|
|
6506
6506
|
var lc = In.exports;
|
|
6507
|
-
const lr = /* @__PURE__ */
|
|
6507
|
+
const lr = /* @__PURE__ */ wt(lc);
|
|
6508
6508
|
function uc({ color: e = "#fff", className: t }) {
|
|
6509
6509
|
return /* @__PURE__ */ f.createElement(
|
|
6510
6510
|
"svg",
|
|
@@ -6602,7 +6602,7 @@ const cc = "_modal_1u882_1", mc = "_content_1u882_19", fc = "_contentScrollable_
|
|
|
6602
6602
|
)),
|
|
6603
6603
|
/* @__PURE__ */ f.createElement("div", { className: R(Xe.content, r, { [Xe.contentScrollable]: i }) }, e)
|
|
6604
6604
|
);
|
|
6605
|
-
}, yc = "
|
|
6605
|
+
}, yc = "_skipLinks_ki0vu_2", _c = "_skipLinksList_ki0vu_10", vc = "_skipLinkItem_ki0vu_16", bc = "_skipLink_ki0vu_2", Bt = {
|
|
6606
6606
|
skipLinks: yc,
|
|
6607
6607
|
skipLinksList: _c,
|
|
6608
6608
|
skipLinkItem: vc,
|
|
@@ -6664,11 +6664,11 @@ function Ic(e, t) {
|
|
|
6664
6664
|
Ac(e)
|
|
6665
6665
|
);
|
|
6666
6666
|
}
|
|
6667
|
-
function
|
|
6667
|
+
function wc(e) {
|
|
6668
6668
|
return e * xc;
|
|
6669
6669
|
}
|
|
6670
|
-
const
|
|
6671
|
-
openModalInfo:
|
|
6670
|
+
const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
6671
|
+
openModalInfo: Mc
|
|
6672
6672
|
}, Zi = (e) => {
|
|
6673
6673
|
const {
|
|
6674
6674
|
deferred_days: t,
|
|
@@ -6794,7 +6794,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6794
6794
|
dueDate: /* @__PURE__ */ f.createElement(
|
|
6795
6795
|
Oi,
|
|
6796
6796
|
{
|
|
6797
|
-
value:
|
|
6797
|
+
value: wc(l[0].due_date),
|
|
6798
6798
|
day: "numeric",
|
|
6799
6799
|
month: "long",
|
|
6800
6800
|
year: "numeric"
|
|
@@ -6908,7 +6908,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6908
6908
|
{ days: e.deferred_days }
|
|
6909
6909
|
)
|
|
6910
6910
|
}
|
|
6911
|
-
) : `${e.installments_count}x`, Rc = "
|
|
6911
|
+
) : `${e.installments_count}x`, Rc = "_buttons_146m2_1", Lc = "_active_146m2_54", Hc = "_textButton_146m2_60", ln = {
|
|
6912
6912
|
buttons: Rc,
|
|
6913
6913
|
active: Lc,
|
|
6914
6914
|
textButton: Hc
|
|
@@ -6980,7 +6980,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6980
6980
|
month: "long",
|
|
6981
6981
|
year: "numeric"
|
|
6982
6982
|
}
|
|
6983
|
-
)), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "
|
|
6983
|
+
)), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "_container_1jhi6_1", Wc = "_total_1jhi6_18", jc = "_creditInfo_1jhi6_25", Vc = "_creditInfoTitle_1jhi6_36", qc = "_fees_1jhi6_40", Zc = "_creditCost_1jhi6_50", Xc = "_creditInfoLegalText_1jhi6_54", Ue = {
|
|
6984
6984
|
container: zc,
|
|
6985
6985
|
total: Wc,
|
|
6986
6986
|
creditInfo: jc,
|
|
@@ -7291,7 +7291,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7291
7291
|
},
|
|
7292
7292
|
t.map((n) => /* @__PURE__ */ f.createElement("div", { key: n, className: fr.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ f.createElement(nm, null), n === "amex" && /* @__PURE__ */ f.createElement(tm, null), n === "mastercard" && /* @__PURE__ */ f.createElement(am, null), n === "visa" && /* @__PURE__ */ f.createElement(rm, null)))
|
|
7293
7293
|
);
|
|
7294
|
-
}, om = "
|
|
7294
|
+
}, om = "_list_u16f0_1", sm = "_listItem_u16f0_16", lm = "_bullet_u16f0_24", Re = {
|
|
7295
7295
|
list: om,
|
|
7296
7296
|
listItem: sm,
|
|
7297
7297
|
bullet: lm
|
|
@@ -7360,7 +7360,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7360
7360
|
}
|
|
7361
7361
|
))))
|
|
7362
7362
|
)
|
|
7363
|
-
), um = "
|
|
7363
|
+
), um = "_title_b7zxp_1", cm = {
|
|
7364
7364
|
title: um
|
|
7365
7365
|
}, Ji = ({
|
|
7366
7366
|
isSomePlanDeferred: e,
|
|
@@ -7409,7 +7409,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7409
7409
|
},
|
|
7410
7410
|
/* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left, X.leftSide]) }, /* @__PURE__ */ f.createElement(Ji, { isSomePlanDeferred: t, isCurrentPlanP1X: a }), /* @__PURE__ */ f.createElement(Ki, { id: "payment-info", isCurrentPlanP1X: a }), n && /* @__PURE__ */ f.createElement(Xi, { cards: n }), /* @__PURE__ */ f.createElement(aa, { className: ut.logo, width: "75" })),
|
|
7411
7411
|
/* @__PURE__ */ f.createElement("div", { className: R(ut.block, X.rightSide) }, e)
|
|
7412
|
-
), gm = "
|
|
7412
|
+
), gm = "_noEligibility_3lnq8_1", ym = "_loader_3lnq8_9", _m = "_scheduleArea_3lnq8_16", vm = "_verticalLine_3lnq8_20", $t = {
|
|
7413
7413
|
noEligibility: gm,
|
|
7414
7414
|
loader: ym,
|
|
7415
7415
|
scheduleArea: _m,
|
|
@@ -7553,7 +7553,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7553
7553
|
announce: a,
|
|
7554
7554
|
clearAnnouncement: r
|
|
7555
7555
|
};
|
|
7556
|
-
},
|
|
7556
|
+
}, wm = ({
|
|
7557
7557
|
status: e,
|
|
7558
7558
|
hasUserInteracted: t,
|
|
7559
7559
|
eligiblePlansCount: n,
|
|
@@ -7572,7 +7572,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7572
7572
|
return () => clearTimeout(l);
|
|
7573
7573
|
}
|
|
7574
7574
|
}, [e, t, n, r, i, a]);
|
|
7575
|
-
},
|
|
7575
|
+
}, Mm = (e, t) => {
|
|
7576
7576
|
const [n, a] = Q(0), [r, i] = Q(!0), [o, s] = Q(1), l = typeof window != "undefined" && window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches, u = t < 0 ? -1 : Math.max(t, 1e3);
|
|
7577
7577
|
return K(() => {
|
|
7578
7578
|
let m, c = !0;
|
|
@@ -7619,7 +7619,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7619
7619
|
paymentInfo: `${$e}-payment-info`,
|
|
7620
7620
|
activeOption: `${$e}-active-option`,
|
|
7621
7621
|
knowMoreAction: `${$e}-know-more-action`
|
|
7622
|
-
}, Om = "
|
|
7622
|
+
}, Om = "_widgetContainer_rusfw_1", Pm = "_primaryContainer_rusfw_13", Rm = "_paymentPlans_rusfw_19", Lm = "_plan_rusfw_28", Hm = "_planButton_rusfw_44", Dm = "_monochrome_rusfw_69", km = "_notEligible_rusfw_75", Fm = "_active_rusfw_89", Bm = "_hideBorder_rusfw_104", Um = "_infoContainer_rusfw_108", $m = "_info_rusfw_108", Gm = "_announceText_rusfw_123", zm = "_pending_rusfw_144", Wm = "_clickable_rusfw_148", jm = "_knowMore_rusfw_161", Z = {
|
|
7623
7623
|
widgetContainer: Om,
|
|
7624
7624
|
primaryContainer: Pm,
|
|
7625
7625
|
paymentPlans: Rm,
|
|
@@ -7661,7 +7661,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7661
7661
|
), b = Nm({
|
|
7662
7662
|
eligibilityPlans: p,
|
|
7663
7663
|
suggestedPaymentPlan: i != null ? i : 0
|
|
7664
|
-
}), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(),
|
|
7664
|
+
}), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(), w = () => E(!0), z = (O) => {
|
|
7665
7665
|
E(!1), c == null || c(O);
|
|
7666
7666
|
}, [ge, F] = Q(!1), ee = De(
|
|
7667
7667
|
() => p.reduce(
|
|
@@ -7669,7 +7669,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7669
7669
|
[]
|
|
7670
7670
|
),
|
|
7671
7671
|
[p]
|
|
7672
|
-
), Y = De(() => _ && !u ? -1 : u != null ? u : Vm, [u, _]), { current: U, onHover:
|
|
7672
|
+
), Y = De(() => _ && !u ? -1 : u != null ? u : Vm, [u, _]), { current: U, onHover: Me, onLeave: I } = Mm(ee, Y), A = ke([]);
|
|
7673
7673
|
K(() => {
|
|
7674
7674
|
A.current = A.current.slice(0, p.length);
|
|
7675
7675
|
}, [p.length]), K(() => {
|
|
@@ -7684,15 +7684,15 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7684
7684
|
y(q, 1e3);
|
|
7685
7685
|
}
|
|
7686
7686
|
}, [U, d, g, y]), K(() => {
|
|
7687
|
-
g === ue.SUCCESS && _ && (
|
|
7688
|
-
}, [g]),
|
|
7687
|
+
g === ue.SUCCESS && _ && (Me(b), I());
|
|
7688
|
+
}, [g]), wm({
|
|
7689
7689
|
status: g,
|
|
7690
7690
|
hasUserInteracted: ge,
|
|
7691
7691
|
eligiblePlansCount: v.length,
|
|
7692
7692
|
transitionDelay: u
|
|
7693
7693
|
});
|
|
7694
7694
|
const W = (O) => {
|
|
7695
|
-
F(!0),
|
|
7695
|
+
F(!0), Me(O);
|
|
7696
7696
|
}, h = () => {
|
|
7697
7697
|
ge || I();
|
|
7698
7698
|
}, S = (O, B) => {
|
|
@@ -7704,11 +7704,11 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7704
7704
|
if (me = q + 1, me >= ee.length) return;
|
|
7705
7705
|
} else if (me = q - 1, me < 0) return;
|
|
7706
7706
|
const te = ee[me];
|
|
7707
|
-
F(!0),
|
|
7707
|
+
F(!0), Me(te), (Pt = A.current[te]) == null || Pt.focus();
|
|
7708
7708
|
}, J = (O) => {
|
|
7709
7709
|
var q;
|
|
7710
7710
|
const B = O === "first" ? ee[0] : ee[ee.length - 1];
|
|
7711
|
-
F(!0),
|
|
7711
|
+
F(!0), Me(B), (q = A.current[B]) == null || q.focus();
|
|
7712
7712
|
}, ne = (O) => {
|
|
7713
7713
|
const B = ee.findIndex((q) => q === O);
|
|
7714
7714
|
return B === -1 ? 0 : B;
|
|
@@ -7718,7 +7718,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7718
7718
|
if (n && v.length === 0 || p.length === 0 || g === ue.FAILED)
|
|
7719
7719
|
return null;
|
|
7720
7720
|
const V = (O) => {
|
|
7721
|
-
O.preventDefault(), v.length > 0 &&
|
|
7721
|
+
O.preventDefault(), v.length > 0 && w();
|
|
7722
7722
|
};
|
|
7723
7723
|
return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
|
|
7724
7724
|
"main",
|
|
@@ -7805,7 +7805,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7805
7805
|
me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(), J("first")) : te.key === "End" && (te.preventDefault(), J("last")));
|
|
7806
7806
|
},
|
|
7807
7807
|
onClick: (te) => {
|
|
7808
|
-
te.stopPropagation(), me && (
|
|
7808
|
+
te.stopPropagation(), me && (Me(B), v.length > 0 && w());
|
|
7809
7809
|
},
|
|
7810
7810
|
className: R(Z.plan, Z.planButton, {
|
|
7811
7811
|
[R(Z.active, Le.activeOption)]: q,
|
|
@@ -7885,7 +7885,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7885
7885
|
onModalClose: b
|
|
7886
7886
|
} = n;
|
|
7887
7887
|
if (a) {
|
|
7888
|
-
const _ =
|
|
7888
|
+
const _ = Ma(a);
|
|
7889
7889
|
_.render(
|
|
7890
7890
|
/* @__PURE__ */ f.createElement(ja, { locale: g }, /* @__PURE__ */ f.createElement(
|
|
7891
7891
|
qm,
|
|
@@ -7923,7 +7923,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7923
7923
|
b && (b.unmount(), Je.delete(a)), d == null || d(v);
|
|
7924
7924
|
}, g = () => {
|
|
7925
7925
|
if (a) {
|
|
7926
|
-
const v =
|
|
7926
|
+
const v = Ma(a);
|
|
7927
7927
|
v.render(
|
|
7928
7928
|
/* @__PURE__ */ f.createElement(ja, { locale: l }, /* @__PURE__ */ f.createElement(
|
|
7929
7929
|
Cm,
|