@alma/widgets 4.0.10 → 4.0.11
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 +9 -9
- package/dist/widgets-wc.umd.js.map +1 -0
- package/dist/widgets.css +1 -1
- package/dist/widgets.js +233 -234
- package/dist/widgets.js.map +1 -1
- package/dist/widgets.min.css +1 -1
- package/dist/widgets.umd.js +9 -9
- 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 = "", M = 0; E !== N; ++E)
|
|
107
|
+
M ? this[E - 1] = this[E] : this[E] !== b ? y += `${this[E]} ` : M = 1;
|
|
108
|
+
M && (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]}`, M = y.trim().split(t), z = E[v === "classList" ? " uCL" : "classList"], ge = N.length;
|
|
116
|
+
e: for (var b = 0, _ = N.length = M.length, x = 0; b !== _; ++b) {
|
|
117
117
|
for (let F = 0; F !== b; ++F)
|
|
118
|
-
if (
|
|
118
|
+
if (M[F] === M[b]) {
|
|
119
119
|
x++;
|
|
120
120
|
continue e;
|
|
121
121
|
}
|
|
122
|
-
z[b - x] =
|
|
122
|
+
z[b - x] = M[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 = M.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 M = 0; M !== E; ++M)
|
|
142
|
+
if (x[M] === 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(M) {
|
|
156
|
+
m = 1, g.className = b.value = M += "", m = 0;
|
|
157
|
+
const z = M.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, w, 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 && w.vnode != null && w.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 != w.debounceRendering) && ((ca = w.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, w.vnode && w.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)), wr(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(w.event ? w.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, M, 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 = w.__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, M = w.__r, z = 0, x) {
|
|
389
|
+
for (c.state = c.__s, c.__d = !1, M && M(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, M && M(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 = Mr(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
|
+
w.__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 = w.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
|
+
w.__c && w.__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
|
+
w.__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 Mr(e) {
|
|
419
|
+
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(Mr) : 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 && (w.__m && w.__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
|
+
w.__e(r, n);
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function wr(e, t, n) {
|
|
461
461
|
var a, r;
|
|
462
|
-
if (
|
|
462
|
+
if (w.unmount && w.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
|
+
w.__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] && wr(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), w.__ && w.__(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, w = { __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, M = { __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 = w, 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: [] });
|
|
@@ -566,7 +566,7 @@ function Zt(e, t, n) {
|
|
|
566
566
|
}
|
|
567
567
|
return a.__N || a.__;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function X(e, t) {
|
|
570
570
|
var n = qe(Pe++, 3);
|
|
571
571
|
!j.__s && Bn(n.__H, t) && (n.__ = e, n.u = t, $.__H.__h.push(n));
|
|
572
572
|
}
|
|
@@ -707,7 +707,7 @@ function Un(e, t) {
|
|
|
707
707
|
var n = t(), a = Q({ t: { __: n, u: t } }), r = a[0].t, i = a[1];
|
|
708
708
|
return it(function() {
|
|
709
709
|
r.__ = n, r.u = t, Qt(r) && i({ t: r });
|
|
710
|
-
}, [e, n, t]),
|
|
710
|
+
}, [e, n, t]), X(function() {
|
|
711
711
|
return Qt(r) && i({ t: r }), e(function() {
|
|
712
712
|
Qt(r) && i({ t: r });
|
|
713
713
|
});
|
|
@@ -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 = w.__b;
|
|
752
|
+
w.__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 = w.__e;
|
|
772
|
+
w.__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 = w.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
|
+
w.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 = w.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
|
+
w.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, Mo = { enumerable: !1, configurable: !0, get: function() {
|
|
927
927
|
return this.class;
|
|
928
|
-
} }, Ta =
|
|
929
|
-
|
|
928
|
+
} }, Ta = w.vnode;
|
|
929
|
+
w.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 @@ M.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", Mo)) : (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 = w.__r;
|
|
947
|
+
w.__r = function(e) {
|
|
948
948
|
Ia && Ia(e), qn = e.__c;
|
|
949
949
|
};
|
|
950
|
-
var
|
|
951
|
-
|
|
952
|
-
|
|
950
|
+
var Ma = w.diffed;
|
|
951
|
+
w.diffed = function(e) {
|
|
952
|
+
Ma && Ma(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:
|
|
958
|
+
}, useCallback: _t, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect: X, useId: Fn, useImperativeHandle: Dn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: De, useReducer: Zt, useRef: ke, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, wo = "18.3.1";
|
|
959
959
|
function zr(e) {
|
|
960
960
|
return de.bind(null, e);
|
|
961
961
|
}
|
|
@@ -981,7 +981,7 @@ var Zr = function(e, t) {
|
|
|
981
981
|
return e(t);
|
|
982
982
|
}, Xr = function(e, t) {
|
|
983
983
|
return e(t);
|
|
984
|
-
}, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect:
|
|
984
|
+
}, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect: X, useLayoutEffect: it, useInsertionEffect: Wn, useTransition: zn, useDeferredValue: Gn, useSyncExternalStore: Un, startTransition: $n, useRef: ke, useImperativeHandle: Dn, useMemo: De, useCallback: _t, useContext: St, useDebugValue: kn, version: "18.3.1", Children: At, render: Vn, hydrate: $r, unmountComponentAtNode: Zn, createPortal: Br, createElement: de, createContext: yt, createFactory: zr, cloneElement: Vr, createRef: Cr, Fragment: pe, isValidElement: Tt, isElement: Jr, isFragment: Wr, isMemo: jr, findDOMNode: qr, Component: Ee, PureComponent: vt, memo: jn, forwardRef: Lr, flushSync: Xr, unstable_batchedUpdates: Zr, StrictMode: Kr, Suspense: mt, SuspenseList: Ye, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Gr };
|
|
985
985
|
const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
986
986
|
__proto__: null,
|
|
987
987
|
Children: At,
|
|
@@ -1017,7 +1017,7 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1017
1017
|
useContext: St,
|
|
1018
1018
|
useDebugValue: kn,
|
|
1019
1019
|
useDeferredValue: Gn,
|
|
1020
|
-
useEffect:
|
|
1020
|
+
useEffect: X,
|
|
1021
1021
|
useErrorBoundary: fo,
|
|
1022
1022
|
useId: Fn,
|
|
1023
1023
|
useImperativeHandle: Dn,
|
|
@@ -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: wo
|
|
1033
1033
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1034
|
-
function
|
|
1034
|
+
function wa(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 M = this.tryParsePluralOrSelectOptions(t, s, n, N);
|
|
3335
|
+
if (M.err)
|
|
3336
|
+
return M;
|
|
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(M.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(M.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 Me;
|
|
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
|
+
})(Me || (Me = {}));
|
|
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('", "'), '"'), Me.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), Me.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, '"'), Me.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
|
+
`, Me.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 Ms(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 ws(e, t) {
|
|
|
4202
4202
|
}
|
|
4203
4203
|
return [];
|
|
4204
4204
|
}
|
|
4205
|
-
function
|
|
4205
|
+
function ws(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
|
+
`, Me.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
|
+
`, Me.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
|
+
`, Me.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
|
+
`, Me.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: Ms.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: ws.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 Mt(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 M = y.$$typeof;
|
|
4451
|
+
switch (M) {
|
|
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 M;
|
|
4471
4471
|
}
|
|
4472
4472
|
}
|
|
4473
4473
|
case n:
|
|
4474
|
-
return
|
|
4474
|
+
return M;
|
|
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 Mi(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 wt(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 Mt(e) {
|
|
|
4558
4558
|
};
|
|
4559
4559
|
return t.displayName = An[e], t;
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function wi(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 Mi(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 = wi(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 = wi(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 = wt("formatDate");
|
|
4653
|
+
wt("formatTime");
|
|
4654
|
+
var Te = wt("formatNumber");
|
|
4655
|
+
wt("formatList");
|
|
4656
|
+
wt("formatDisplayName");
|
|
4657
|
+
Mi("formatDate");
|
|
4658
|
+
Mi("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.11" };
|
|
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.11" };
|
|
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({
|
|
@@ -5143,21 +5143,21 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
|
|
|
5143
5143
|
deferred_days: y == null ? void 0 : y.deferredDays,
|
|
5144
5144
|
deferred_months: y == null ? void 0 : y.deferredMonths
|
|
5145
5145
|
}));
|
|
5146
|
-
return
|
|
5146
|
+
return X(() => {
|
|
5147
5147
|
if (l === ue.PENDING) {
|
|
5148
5148
|
let y = null;
|
|
5149
5149
|
r && (y = {
|
|
5150
5150
|
country: r
|
|
5151
5151
|
});
|
|
5152
|
-
let
|
|
5153
|
-
i && (
|
|
5152
|
+
let M = null;
|
|
5153
|
+
i && (M = {
|
|
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: M
|
|
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 Ml = Il;
|
|
5310
|
+
const wl = /* @__PURE__ */ Mt(Ml);
|
|
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__ */ Mt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
|
|
5394
5394
|
all: D.bool,
|
|
5395
5395
|
grid: D.bool,
|
|
5396
5396
|
aural: D.bool,
|
|
@@ -5416,7 +5416,7 @@ const D = /* @__PURE__ */ wt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
|
|
|
5416
5416
|
monochrome: D.bool,
|
|
5417
5417
|
resolution: oe,
|
|
5418
5418
|
type: Object.keys(Di)
|
|
5419
|
-
}, ua = Dl, { type:
|
|
5419
|
+
}, ua = Dl, { type: Jm } = ua, kl = Lt(ua, ["type"]), Fl = Ne({
|
|
5420
5420
|
minAspectRatio: D.string,
|
|
5421
5421
|
maxAspectRatio: D.string,
|
|
5422
5422
|
minDeviceAspectRatio: D.string,
|
|
@@ -5452,24 +5452,24 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5452
5452
|
}), zl(t);
|
|
5453
5453
|
}, jl = yt(void 0), Vl = (e) => e.query || Wl(e), Ya = (e) => e ? Object.keys(e).reduce((n, a) => (n[Li(a)] = e[a], n), {}) : void 0, ki = () => {
|
|
5454
5454
|
const e = ke(!1);
|
|
5455
|
-
return
|
|
5455
|
+
return X(() => {
|
|
5456
5456
|
e.current = !0;
|
|
5457
5457
|
}, []), e.current;
|
|
5458
5458
|
}, ql = (e) => {
|
|
5459
5459
|
const t = St(jl), n = () => Ya(e) || Ya(t), [a, r] = Q(n);
|
|
5460
|
-
return
|
|
5460
|
+
return X(() => {
|
|
5461
5461
|
const i = n();
|
|
5462
5462
|
Rl(a, i) || r(i);
|
|
5463
5463
|
}, [e, t]), a;
|
|
5464
5464
|
}, Zl = (e) => {
|
|
5465
5465
|
const t = () => Vl(e), [n, a] = Q(t);
|
|
5466
|
-
return
|
|
5466
|
+
return X(() => {
|
|
5467
5467
|
const r = t();
|
|
5468
5468
|
n !== r && a(r);
|
|
5469
5469
|
}, [e]), n;
|
|
5470
5470
|
}, Xl = (e, t) => {
|
|
5471
|
-
const n = () =>
|
|
5472
|
-
return
|
|
5471
|
+
const n = () => wl(e, t || {}, !!t), [a, r] = Q(n), i = ki();
|
|
5472
|
+
return X(() => {
|
|
5473
5473
|
if (i) {
|
|
5474
5474
|
const o = n();
|
|
5475
5475
|
return r(o), () => {
|
|
@@ -5479,7 +5479,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5479
5479
|
}, [e, t]), a;
|
|
5480
5480
|
}, Kl = (e) => {
|
|
5481
5481
|
const [t, n] = Q(e.matches);
|
|
5482
|
-
return
|
|
5482
|
+
return X(() => {
|
|
5483
5483
|
const a = (r) => {
|
|
5484
5484
|
n(r.matches);
|
|
5485
5485
|
};
|
|
@@ -5492,8 +5492,8 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5492
5492
|
if (!r)
|
|
5493
5493
|
throw new Error("Invalid or missing MediaQuery!");
|
|
5494
5494
|
const i = Xl(r, a), o = Kl(i);
|
|
5495
|
-
return ki(),
|
|
5496
|
-
}, [o]),
|
|
5495
|
+
return ki(), X(() => {
|
|
5496
|
+
}, [o]), X(() => () => {
|
|
5497
5497
|
i && i.dispose();
|
|
5498
5498
|
}, []), o;
|
|
5499
5499
|
};
|
|
@@ -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__ */ Mt(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__ */ Mt(nu);
|
|
5597
5597
|
var In = { exports: {} }, Ve = {};
|
|
5598
5598
|
const ea = /* @__PURE__ */ Si(No);
|
|
5599
|
-
var
|
|
5599
|
+
var Mn = { exports: {} }, Ce = {}, wn = { exports: {} };
|
|
5600
5600
|
(function(e, t) {
|
|
5601
5601
|
Object.defineProperty(t, "__esModule", {
|
|
5602
5602
|
value: !0
|
|
@@ -5651,8 +5651,8 @@ var wn = { exports: {} }, Ce = {}, Mn = { exports: {} };
|
|
|
5651
5651
|
return d.filter(u);
|
|
5652
5652
|
}
|
|
5653
5653
|
e.exports = t.default;
|
|
5654
|
-
})(
|
|
5655
|
-
var Ui =
|
|
5654
|
+
})(wn, wn.exports);
|
|
5655
|
+
var Ui = wn.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 = Mu;
|
|
5795
|
+
Se.show = wu;
|
|
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 Mu(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 wu(e) {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
}
|
|
5844
5844
|
}
|
|
5845
|
-
function
|
|
5845
|
+
function wu(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 M(I, A) {
|
|
6016
6016
|
if (!(I instanceof A))
|
|
6017
6017
|
throw new TypeError("Cannot call a class as a function");
|
|
6018
6018
|
}
|
|
@@ -6033,18 +6033,18 @@ $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, we = function(I) {
|
|
6037
6037
|
ge(A, I);
|
|
6038
6038
|
function A(W) {
|
|
6039
|
-
|
|
6039
|
+
M(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);
|
|
6043
6043
|
}, h.setContentRef = function(S) {
|
|
6044
6044
|
h.content = S, h.props.contentRef && h.props.contentRef(S);
|
|
6045
6045
|
}, h.afterClose = function() {
|
|
6046
|
-
var S = h.props,
|
|
6047
|
-
O && v.remove(q.body, O), V && v.remove(q.getElementsByTagName("html")[0], V), ne && U > 0 && (U -= 1, U === 0 && p.show(
|
|
6046
|
+
var S = h.props, K = S.appElement, ne = S.ariaHideApp, V = S.htmlOpenClassName, O = S.bodyOpenClassName, B = S.parentSelector, q = B && B().ownerDocument || document;
|
|
6047
|
+
O && v.remove(q.body, O), V && v.remove(q.getElementsByTagName("html")[0], V), ne && U > 0 && (U -= 1, U === 0 && p.show(K)), h.props.shouldFocusAfterRender && (h.props.shouldReturnFocusAfterClose ? (u.returnFocus(h.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), h.props.onAfterClose && h.props.onAfterClose(), E.default.deregister(h);
|
|
6048
6048
|
}, h.open = function() {
|
|
6049
6049
|
h.beforeOpen(), h.state.afterOpen && h.state.beforeClose ? (clearTimeout(h.closeTimer), h.setState({ beforeClose: !1 })) : (h.props.shouldFocusAfterRender && (u.setupScopedFocus(h.node), u.markForFocusLater()), h.setState({ isOpen: !0 }, function() {
|
|
6050
6050
|
h.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6090,16 +6090,16 @@ $u.default.subscribe(ju);
|
|
|
6090
6090
|
return !h.state.isOpen && !h.state.beforeClose;
|
|
6091
6091
|
}, h.contentHasFocus = function() {
|
|
6092
6092
|
return document.activeElement === h.content || h.content.contains(document.activeElement);
|
|
6093
|
-
}, h.buildClassName = function(S,
|
|
6094
|
-
var ne = (typeof
|
|
6093
|
+
}, h.buildClassName = function(S, K) {
|
|
6094
|
+
var ne = (typeof K == "undefined" ? "undefined" : a(K)) === "object" ? K : {
|
|
6095
6095
|
base: F[S],
|
|
6096
6096
|
afterOpen: F[S] + "--after-open",
|
|
6097
6097
|
beforeClose: F[S] + "--before-close"
|
|
6098
6098
|
}, V = ne.base;
|
|
6099
|
-
return h.state.afterOpen && (V = V + " " + ne.afterOpen), h.state.beforeClose && (V = V + " " + ne.beforeClose), typeof
|
|
6100
|
-
}, h.attributesFromObject = function(S,
|
|
6101
|
-
return Object.keys(
|
|
6102
|
-
return ne[S + "-" + V] =
|
|
6099
|
+
return h.state.afterOpen && (V = V + " " + ne.afterOpen), h.state.beforeClose && (V = V + " " + ne.beforeClose), typeof K == "string" && K ? V + " " + K : V;
|
|
6100
|
+
}, h.attributesFromObject = function(S, K) {
|
|
6101
|
+
return Object.keys(K).reduce(function(ne, V) {
|
|
6102
|
+
return ne[S + "-" + V] = K[V], ne;
|
|
6103
6103
|
}, {});
|
|
6104
6104
|
}, h.state = {
|
|
6105
6105
|
afterOpen: !1,
|
|
@@ -6124,14 +6124,14 @@ $u.default.subscribe(ju);
|
|
|
6124
6124
|
}, {
|
|
6125
6125
|
key: "beforeOpen",
|
|
6126
6126
|
value: function() {
|
|
6127
|
-
var h = this.props, S = h.appElement,
|
|
6128
|
-
V && v.add(B.body, V), ne && v.add(B.getElementsByTagName("html")[0], ne),
|
|
6127
|
+
var h = this.props, S = h.appElement, K = h.ariaHideApp, ne = h.htmlOpenClassName, V = h.bodyOpenClassName, O = h.parentSelector, B = O && O().ownerDocument || document;
|
|
6128
|
+
V && v.add(B.body, V), ne && v.add(B.getElementsByTagName("html")[0], ne), K && (U += 1, p.hide(S)), E.default.register(this);
|
|
6129
6129
|
}
|
|
6130
6130
|
// Don't steal focus from inner elements
|
|
6131
6131
|
}, {
|
|
6132
6132
|
key: "render",
|
|
6133
6133
|
value: function() {
|
|
6134
|
-
var h = this.props, S = h.id,
|
|
6134
|
+
var h = this.props, S = h.id, K = h.className, ne = h.overlayClassName, V = h.defaultStyles, O = h.children, B = K ? {} : V.content, q = ne ? {} : V.overlay;
|
|
6135
6135
|
if (this.shouldBeClosed())
|
|
6136
6136
|
return null;
|
|
6137
6137
|
var me = {
|
|
@@ -6144,7 +6144,7 @@ $u.default.subscribe(ju);
|
|
|
6144
6144
|
id: S,
|
|
6145
6145
|
ref: this.setContentRef,
|
|
6146
6146
|
style: n({}, B, this.props.style.content),
|
|
6147
|
-
className: this.buildClassName("content",
|
|
6147
|
+
className: this.buildClassName("content", K),
|
|
6148
6148
|
tabIndex: "-1",
|
|
6149
6149
|
onKeyDown: this.handleKeyDown,
|
|
6150
6150
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -6159,13 +6159,13 @@ $u.default.subscribe(ju);
|
|
|
6159
6159
|
}
|
|
6160
6160
|
}]), A;
|
|
6161
6161
|
}(i.Component);
|
|
6162
|
-
|
|
6162
|
+
we.defaultProps = {
|
|
6163
6163
|
style: {
|
|
6164
6164
|
overlay: {},
|
|
6165
6165
|
content: {}
|
|
6166
6166
|
},
|
|
6167
6167
|
defaultStyles: {}
|
|
6168
|
-
},
|
|
6168
|
+
}, we.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 = we, e.exports = t.default;
|
|
6206
|
+
})(Mn, Mn.exports);
|
|
6207
|
+
var Vu = Mn.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__ */ Mt(lc);
|
|
6508
6508
|
function uc({ color: e = "#fff", className: t }) {
|
|
6509
6509
|
return /* @__PURE__ */ f.createElement(
|
|
6510
6510
|
"svg",
|
|
@@ -6527,14 +6527,14 @@ function uc({ color: e = "#fff", className: t }) {
|
|
|
6527
6527
|
)
|
|
6528
6528
|
);
|
|
6529
6529
|
}
|
|
6530
|
-
const cc = "
|
|
6530
|
+
const cc = "_modal_n41z8_1", mc = "_content_n41z8_19", fc = "_contentScrollable_n41z8_25", dc = "_overlay_n41z8_31", pc = "_header_n41z8_44", hc = "_closeButton_n41z8_53", Xe = {
|
|
6531
6531
|
modal: cc,
|
|
6532
6532
|
content: mc,
|
|
6533
6533
|
contentScrollable: fc,
|
|
6534
6534
|
overlay: dc,
|
|
6535
6535
|
header: pc,
|
|
6536
6536
|
closeButton: hc
|
|
6537
|
-
}, ae = "alma-eligibility-modal",
|
|
6537
|
+
}, ae = "alma-eligibility-modal", Z = {
|
|
6538
6538
|
desktopModal: `${ae}-desktop-modal`,
|
|
6539
6539
|
mobileModal: `${ae}-mobile-modal`,
|
|
6540
6540
|
leftSide: `${ae}-left-side`,
|
|
@@ -6591,7 +6591,7 @@ const cc = "_modal_1u882_1", mc = "_content_1u882_19", fc = "_contentScrollable_
|
|
|
6591
6591
|
{
|
|
6592
6592
|
type: "button",
|
|
6593
6593
|
onClick: n,
|
|
6594
|
-
className: R(Xe.closeButton,
|
|
6594
|
+
className: R(Xe.closeButton, Z.closeButton),
|
|
6595
6595
|
"data-testid": "modal-close-button",
|
|
6596
6596
|
"aria-label": u.formatMessage({
|
|
6597
6597
|
id: "accessibility.close-button.aria-label",
|
|
@@ -6664,11 +6664,11 @@ function Ic(e, t) {
|
|
|
6664
6664
|
Ac(e)
|
|
6665
6665
|
);
|
|
6666
6666
|
}
|
|
6667
|
-
function
|
|
6667
|
+
function Mc(e) {
|
|
6668
6668
|
return e * xc;
|
|
6669
6669
|
}
|
|
6670
|
-
const
|
|
6671
|
-
openModalInfo:
|
|
6670
|
+
const wc = "_openModalInfo_a4893_1", Nc = {
|
|
6671
|
+
openModalInfo: wc
|
|
6672
6672
|
}, Zi = (e) => {
|
|
6673
6673
|
const {
|
|
6674
6674
|
deferred_days: t,
|
|
@@ -6794,7 +6794,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6794
6794
|
dueDate: /* @__PURE__ */ f.createElement(
|
|
6795
6795
|
Oi,
|
|
6796
6796
|
{
|
|
6797
|
-
value:
|
|
6797
|
+
value: Mc(l[0].due_date),
|
|
6798
6798
|
day: "numeric",
|
|
6799
6799
|
month: "long",
|
|
6800
6800
|
year: "numeric"
|
|
@@ -6908,15 +6908,15 @@ const Mc = "_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_1oh6v_1", Lc = "_active_1oh6v_56", Hc = "_textButton_1oh6v_62", ln = {
|
|
6912
6912
|
buttons: Rc,
|
|
6913
6913
|
active: Lc,
|
|
6914
6914
|
textButton: Hc
|
|
6915
6915
|
}, Dc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n, id: a }) => {
|
|
6916
6916
|
const r = he(), i = ke([]), o = ke(!1);
|
|
6917
|
-
|
|
6917
|
+
X(() => {
|
|
6918
6918
|
i.current = i.current.slice(0, e.length);
|
|
6919
|
-
}, [e.length]),
|
|
6919
|
+
}, [e.length]), X(() => {
|
|
6920
6920
|
var l;
|
|
6921
6921
|
o.current && i.current[t] && ((l = i.current[t]) == null || l.focus(), o.current = !1);
|
|
6922
6922
|
}, [t]);
|
|
@@ -6933,7 +6933,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6933
6933
|
"div",
|
|
6934
6934
|
{
|
|
6935
6935
|
id: a,
|
|
6936
|
-
className: R(ln.buttons,
|
|
6936
|
+
className: R(ln.buttons, Z.eligibilityOptions),
|
|
6937
6937
|
role: "group",
|
|
6938
6938
|
"aria-labelledby": "payment-plans-title"
|
|
6939
6939
|
},
|
|
@@ -6943,7 +6943,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6943
6943
|
type: "button",
|
|
6944
6944
|
key: `p${l.installments_count}x-d+${l.deferred_days}-m+${l.deferred_months}`,
|
|
6945
6945
|
className: R({
|
|
6946
|
-
[R(ln.active,
|
|
6946
|
+
[R(ln.active, Z.activeOption)]: u === t
|
|
6947
6947
|
}),
|
|
6948
6948
|
onClick: () => n(u),
|
|
6949
6949
|
onKeyDown: (m) => {
|
|
@@ -7008,11 +7008,11 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7008
7008
|
)), /* @__PURE__ */ f.createElement(
|
|
7009
7009
|
"div",
|
|
7010
7010
|
{
|
|
7011
|
-
className: R(Ue.container,
|
|
7011
|
+
className: R(Ue.container, Z.summary),
|
|
7012
7012
|
"data-testid": "modal-summary"
|
|
7013
7013
|
},
|
|
7014
|
-
/* @__PURE__ */ f.createElement("p", { className: R(Ue.total,
|
|
7015
|
-
/* @__PURE__ */ f.createElement("p", { className: R(Ue.fees,
|
|
7014
|
+
/* @__PURE__ */ f.createElement("p", { className: R(Ue.total, Z.scheduleTotal) }, /* @__PURE__ */ f.createElement(L, { tagName: "span", id: "installments.total-amount", defaultMessage: "Total" }), /* @__PURE__ */ f.createElement(Te, { value: n || 0, style: "currency", currency: "EUR" })),
|
|
7015
|
+
/* @__PURE__ */ f.createElement("p", { className: R(Ue.fees, Z.scheduleCredit) }, o ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
|
|
7016
7016
|
L,
|
|
7017
7017
|
{
|
|
7018
7018
|
id: "credit-features.total-credit-cost",
|
|
@@ -7093,7 +7093,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7093
7093
|
/* @__PURE__ */ f.createElement("div", { id: "payment-schedule-description" }, /* @__PURE__ */ f.createElement(
|
|
7094
7094
|
"ul",
|
|
7095
7095
|
{
|
|
7096
|
-
className: R(un.schedule,
|
|
7096
|
+
className: R(un.schedule, Z.scheduleDetails),
|
|
7097
7097
|
"data-testid": "modal-installments-element"
|
|
7098
7098
|
},
|
|
7099
7099
|
((e == null ? void 0 : e.payment_plan) || []).map((n, a) => /* @__PURE__ */ f.createElement("li", { key: n.due_date * 1e3, className: un.scheduleItem }, /* @__PURE__ */ f.createElement(Gc, { installment: n, index: a })))
|
|
@@ -7287,7 +7287,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7287
7287
|
"div",
|
|
7288
7288
|
{
|
|
7289
7289
|
"data-testid": "card-logos",
|
|
7290
|
-
className: R(fr.cardContainer,
|
|
7290
|
+
className: R(fr.cardContainer, Z.cardContainer)
|
|
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
|
);
|
|
@@ -7301,7 +7301,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7301
7301
|
"div",
|
|
7302
7302
|
{
|
|
7303
7303
|
id: t,
|
|
7304
|
-
className: R(Re.list,
|
|
7304
|
+
className: R(Re.list, Z.info),
|
|
7305
7305
|
"data-testid": "modal-info-element",
|
|
7306
7306
|
role: "region",
|
|
7307
7307
|
"aria-labelledby": "payment-info-title",
|
|
@@ -7316,7 +7316,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7316
7316
|
}
|
|
7317
7317
|
)),
|
|
7318
7318
|
" ",
|
|
7319
|
-
/* @__PURE__ */ f.createElement("ol", { className: Re.listContainer, id: "payment-info-description" }, /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet,
|
|
7319
|
+
/* @__PURE__ */ f.createElement("ol", { className: Re.listContainer, id: "payment-info-description" }, /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "1"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
|
|
7320
7320
|
L,
|
|
7321
7321
|
{
|
|
7322
7322
|
id: "eligibility-modal.p1x-bullet-1",
|
|
@@ -7330,7 +7330,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7330
7330
|
defaultMessage: "Choisissez <strong>Alma</strong> au moment du paiement.",
|
|
7331
7331
|
values: { strong: Ke }
|
|
7332
7332
|
}
|
|
7333
|
-
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet,
|
|
7333
|
+
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "2"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
|
|
7334
7334
|
L,
|
|
7335
7335
|
{
|
|
7336
7336
|
id: "eligibility-modal.p1x-bullet-2",
|
|
@@ -7344,7 +7344,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7344
7344
|
defaultMessage: "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",
|
|
7345
7345
|
values: { strong: Ke }
|
|
7346
7346
|
}
|
|
7347
|
-
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet,
|
|
7347
|
+
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "3"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
|
|
7348
7348
|
L,
|
|
7349
7349
|
{
|
|
7350
7350
|
id: "eligibility-modal.p1x-bullet-3",
|
|
@@ -7369,7 +7369,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7369
7369
|
"h2",
|
|
7370
7370
|
{
|
|
7371
7371
|
id: "modal-title",
|
|
7372
|
-
className: R(cm.title,
|
|
7372
|
+
className: R(cm.title, Z.title),
|
|
7373
7373
|
"data-testid": "modal-title-element"
|
|
7374
7374
|
},
|
|
7375
7375
|
e && /* @__PURE__ */ f.createElement(
|
|
@@ -7401,14 +7401,14 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7401
7401
|
}, hm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: a }) => /* @__PURE__ */ f.createElement(
|
|
7402
7402
|
"div",
|
|
7403
7403
|
{
|
|
7404
|
-
className: R(ut.container,
|
|
7404
|
+
className: R(ut.container, Z.desktopModal),
|
|
7405
7405
|
"data-testid": "modal-container",
|
|
7406
7406
|
role: "dialog",
|
|
7407
7407
|
"aria-modal": "true",
|
|
7408
7408
|
"aria-labelledby": "modal-title"
|
|
7409
7409
|
},
|
|
7410
|
-
/* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left,
|
|
7411
|
-
/* @__PURE__ */ f.createElement("div", { className: R(ut.block,
|
|
7410
|
+
/* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left, Z.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
|
+
/* @__PURE__ */ f.createElement("div", { className: R(ut.block, Z.rightSide) }, e)
|
|
7412
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,
|
|
@@ -7420,7 +7420,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7420
7420
|
}, xm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: a }) => /* @__PURE__ */ f.createElement(
|
|
7421
7421
|
"div",
|
|
7422
7422
|
{
|
|
7423
|
-
className: R(dr.container,
|
|
7423
|
+
className: R(dr.container, Z.mobileModal),
|
|
7424
7424
|
"data-testid": "modal-container",
|
|
7425
7425
|
role: "dialog",
|
|
7426
7426
|
"aria-modal": "true",
|
|
@@ -7543,7 +7543,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7543
7543
|
}, []), r = _t(() => {
|
|
7544
7544
|
n.current && (clearTimeout(n.current), n.current = null), t("");
|
|
7545
7545
|
}, []);
|
|
7546
|
-
return
|
|
7546
|
+
return X(
|
|
7547
7547
|
() => () => {
|
|
7548
7548
|
n.current && clearTimeout(n.current);
|
|
7549
7549
|
},
|
|
@@ -7553,14 +7553,14 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7553
7553
|
announce: a,
|
|
7554
7554
|
clearAnnouncement: r
|
|
7555
7555
|
};
|
|
7556
|
-
},
|
|
7556
|
+
}, Mm = ({
|
|
7557
7557
|
status: e,
|
|
7558
7558
|
hasUserInteracted: t,
|
|
7559
7559
|
eligiblePlansCount: n,
|
|
7560
7560
|
transitionDelay: a
|
|
7561
7561
|
}) => {
|
|
7562
7562
|
const r = he(), { announce: i } = Qi();
|
|
7563
|
-
|
|
7563
|
+
X(() => {
|
|
7564
7564
|
if (e === ue.SUCCESS && !t && n > 1 && // If transitionDelay is -1, animation is disabled, so no need to announce instructions
|
|
7565
7565
|
a !== -1) {
|
|
7566
7566
|
const s = r.formatMessage({
|
|
@@ -7572,9 +7572,9 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7572
7572
|
return () => clearTimeout(l);
|
|
7573
7573
|
}
|
|
7574
7574
|
}, [e, t, n, r, i, a]);
|
|
7575
|
-
},
|
|
7575
|
+
}, wm = (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
|
-
return
|
|
7577
|
+
return X(() => {
|
|
7578
7578
|
let m, c = !0;
|
|
7579
7579
|
if (!(u === -1 || l))
|
|
7580
7580
|
return e.length !== 0 && (!e.includes(n) && r && a(e[0]), o === e.length + 1 && i(!1), m = setTimeout(() => {
|
|
@@ -7619,23 +7619,22 @@ const Mc = "_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_1dfil_1", Pm = "_primaryContainer_1dfil_13", Rm = "_paymentPlans_1dfil_19", Lm = "_planButton_1dfil_29", Hm = "_monochrome_1dfil_81", Dm = "_notEligible_1dfil_87", km = "_active_1dfil_101", Fm = "_hideBorder_1dfil_116", Bm = "_infoContainer_1dfil_120", Um = "_info_1dfil_120", $m = "_announceText_1dfil_135", Gm = "_pending_1dfil_156", zm = "_clickable_1dfil_160", Wm = "_knowMore_1dfil_173", J = {
|
|
7623
7623
|
widgetContainer: Om,
|
|
7624
7624
|
primaryContainer: Pm,
|
|
7625
7625
|
paymentPlans: Rm,
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
}, Vm = 5500, qm = ({
|
|
7626
|
+
planButton: Lm,
|
|
7627
|
+
monochrome: Hm,
|
|
7628
|
+
notEligible: Dm,
|
|
7629
|
+
active: km,
|
|
7630
|
+
hideBorder: Fm,
|
|
7631
|
+
infoContainer: Bm,
|
|
7632
|
+
info: Um,
|
|
7633
|
+
announceText: $m,
|
|
7634
|
+
pending: Gm,
|
|
7635
|
+
clickable: zm,
|
|
7636
|
+
knowMore: Wm
|
|
7637
|
+
}, jm = 5500, Vm = ({
|
|
7639
7638
|
apiData: e,
|
|
7640
7639
|
configPlans: t,
|
|
7641
7640
|
hideIfNotEligible: n,
|
|
@@ -7661,7 +7660,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7661
7660
|
), b = Nm({
|
|
7662
7661
|
eligibilityPlans: p,
|
|
7663
7662
|
suggestedPaymentPlan: i != null ? i : 0
|
|
7664
|
-
}), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(),
|
|
7663
|
+
}), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(), M = () => E(!0), z = (O) => {
|
|
7665
7664
|
E(!1), c == null || c(O);
|
|
7666
7665
|
}, [ge, F] = Q(!1), ee = De(
|
|
7667
7666
|
() => p.reduce(
|
|
@@ -7669,10 +7668,10 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7669
7668
|
[]
|
|
7670
7669
|
),
|
|
7671
7670
|
[p]
|
|
7672
|
-
), Y = De(() => _ && !u ? -1 : u != null ? u :
|
|
7673
|
-
|
|
7671
|
+
), Y = De(() => _ && !u ? -1 : u != null ? u : jm, [u, _]), { current: U, onHover: we, onLeave: I } = wm(ee, Y), A = ke([]);
|
|
7672
|
+
X(() => {
|
|
7674
7673
|
A.current = A.current.slice(0, p.length);
|
|
7675
|
-
}, [p.length]),
|
|
7674
|
+
}, [p.length]), X(() => {
|
|
7676
7675
|
if (p[U] && g === ue.SUCCESS) {
|
|
7677
7676
|
const O = p[U], B = mr(O, d), q = d.formatMessage(
|
|
7678
7677
|
{
|
|
@@ -7683,16 +7682,16 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7683
7682
|
);
|
|
7684
7683
|
y(q, 1e3);
|
|
7685
7684
|
}
|
|
7686
|
-
}, [U, d, g, y]),
|
|
7687
|
-
g === ue.SUCCESS && _ && (
|
|
7688
|
-
}, [g]),
|
|
7685
|
+
}, [U, d, g, y]), X(() => {
|
|
7686
|
+
g === ue.SUCCESS && _ && (we(b), I());
|
|
7687
|
+
}, [g]), Mm({
|
|
7689
7688
|
status: g,
|
|
7690
7689
|
hasUserInteracted: ge,
|
|
7691
7690
|
eligiblePlansCount: v.length,
|
|
7692
7691
|
transitionDelay: u
|
|
7693
7692
|
});
|
|
7694
7693
|
const W = (O) => {
|
|
7695
|
-
F(!0),
|
|
7694
|
+
F(!0), we(O);
|
|
7696
7695
|
}, h = () => {
|
|
7697
7696
|
ge || I();
|
|
7698
7697
|
}, S = (O, B) => {
|
|
@@ -7704,21 +7703,21 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7704
7703
|
if (me = q + 1, me >= ee.length) return;
|
|
7705
7704
|
} else if (me = q - 1, me < 0) return;
|
|
7706
7705
|
const te = ee[me];
|
|
7707
|
-
F(!0),
|
|
7708
|
-
},
|
|
7706
|
+
F(!0), we(te), (Pt = A.current[te]) == null || Pt.focus();
|
|
7707
|
+
}, K = (O) => {
|
|
7709
7708
|
var q;
|
|
7710
7709
|
const B = O === "first" ? ee[0] : ee[ee.length - 1];
|
|
7711
|
-
F(!0),
|
|
7710
|
+
F(!0), we(B), (q = A.current[B]) == null || q.focus();
|
|
7712
7711
|
}, ne = (O) => {
|
|
7713
7712
|
const B = ee.findIndex((q) => q === O);
|
|
7714
7713
|
return B === -1 ? 0 : B;
|
|
7715
7714
|
};
|
|
7716
7715
|
if (g === ue.PENDING)
|
|
7717
|
-
return /* @__PURE__ */ f.createElement("div", { className: R(
|
|
7716
|
+
return /* @__PURE__ */ f.createElement("div", { className: R(J.widgetContainer, J.pending) }, /* @__PURE__ */ f.createElement(Im, null));
|
|
7718
7717
|
if (n && v.length === 0 || p.length === 0 || g === ue.FAILED)
|
|
7719
7718
|
return null;
|
|
7720
7719
|
const V = (O) => {
|
|
7721
|
-
O.preventDefault(), v.length > 0 &&
|
|
7720
|
+
O.preventDefault(), v.length > 0 && M();
|
|
7722
7721
|
};
|
|
7723
7722
|
return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
|
|
7724
7723
|
"main",
|
|
@@ -7729,10 +7728,10 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7729
7728
|
defaultMessage: "Sélection des options de paiement Alma"
|
|
7730
7729
|
}),
|
|
7731
7730
|
className: R(
|
|
7732
|
-
|
|
7731
|
+
J.widgetContainer,
|
|
7733
7732
|
{
|
|
7734
|
-
[
|
|
7735
|
-
[
|
|
7733
|
+
[J.hideBorder]: m,
|
|
7734
|
+
[J.monochrome]: a
|
|
7736
7735
|
},
|
|
7737
7736
|
Le.container
|
|
7738
7737
|
),
|
|
@@ -7742,7 +7741,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7742
7741
|
"section",
|
|
7743
7742
|
{
|
|
7744
7743
|
"aria-labelledby": "payment-plans-title",
|
|
7745
|
-
className: R(
|
|
7744
|
+
className: R(J.primaryContainer, Le.eligibilityLine)
|
|
7746
7745
|
},
|
|
7747
7746
|
/* @__PURE__ */ f.createElement("h2", { id: "payment-plans-title", className: "sr-only" }, d.formatMessage({
|
|
7748
7747
|
id: "accessibility.payment-plans.section-title",
|
|
@@ -7757,9 +7756,9 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7757
7756
|
(O.key === "Enter" || O.key === " ") && (O.preventDefault(), V(O));
|
|
7758
7757
|
},
|
|
7759
7758
|
className: R(
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
{ [
|
|
7759
|
+
J.knowMore,
|
|
7760
|
+
J.clickable,
|
|
7761
|
+
{ [J.monochrome]: a },
|
|
7763
7762
|
Le.knowMoreAction
|
|
7764
7763
|
),
|
|
7765
7764
|
"aria-label": d.formatMessage({
|
|
@@ -7773,7 +7772,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7773
7772
|
aa,
|
|
7774
7773
|
{
|
|
7775
7774
|
"data-testid": "Alma-Logo",
|
|
7776
|
-
className:
|
|
7775
|
+
className: J.logo,
|
|
7777
7776
|
color: a ? "var(--off-black)" : void 0
|
|
7778
7777
|
}
|
|
7779
7778
|
)
|
|
@@ -7781,7 +7780,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7781
7780
|
/* @__PURE__ */ f.createElement(
|
|
7782
7781
|
"div",
|
|
7783
7782
|
{
|
|
7784
|
-
className: R(
|
|
7783
|
+
className: R(J.paymentPlans, Le.eligibilityOptions),
|
|
7785
7784
|
role: "listbox",
|
|
7786
7785
|
"aria-label": d.formatMessage({
|
|
7787
7786
|
id: "accessibility.payment-options.listbox.aria-label",
|
|
@@ -7802,15 +7801,15 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7802
7801
|
onTouchEnd: h,
|
|
7803
7802
|
onFocus: me ? () => W(B) : void 0,
|
|
7804
7803
|
onKeyDown: (te) => {
|
|
7805
|
-
me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(),
|
|
7804
|
+
me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(), K("first")) : te.key === "End" && (te.preventDefault(), K("last")));
|
|
7806
7805
|
},
|
|
7807
7806
|
onClick: (te) => {
|
|
7808
|
-
te.stopPropagation(), me && (
|
|
7807
|
+
te.stopPropagation(), me && (we(B), v.length > 0 && M());
|
|
7809
7808
|
},
|
|
7810
|
-
className: R(
|
|
7811
|
-
[R(
|
|
7812
|
-
[
|
|
7813
|
-
[R(
|
|
7809
|
+
className: R(J.planButton, {
|
|
7810
|
+
[R(J.active, Le.activeOption)]: q,
|
|
7811
|
+
[J.monochrome]: a && q,
|
|
7812
|
+
[R(J.notEligible, Le.notEligibleOption)]: !me
|
|
7814
7813
|
}),
|
|
7815
7814
|
role: "option",
|
|
7816
7815
|
"aria-selected": q,
|
|
@@ -7835,16 +7834,16 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7835
7834
|
})
|
|
7836
7835
|
)
|
|
7837
7836
|
),
|
|
7838
|
-
/* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className:
|
|
7837
|
+
/* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className: J.infoContainer }, /* @__PURE__ */ f.createElement("h3", { id: "payment-info-title", className: "sr-only" }, d.formatMessage({
|
|
7839
7838
|
id: "accessibility.payment-info.section-title",
|
|
7840
7839
|
defaultMessage: "Informations sur le plan de paiement sélectionné"
|
|
7841
7840
|
})), /* @__PURE__ */ f.createElement(
|
|
7842
7841
|
"div",
|
|
7843
7842
|
{
|
|
7844
7843
|
className: R(
|
|
7845
|
-
|
|
7844
|
+
J.info,
|
|
7846
7845
|
{
|
|
7847
|
-
[R(
|
|
7846
|
+
[R(J.notEligible, Le.notEligibleOption)]: p[U] && !p[U].eligible
|
|
7848
7847
|
},
|
|
7849
7848
|
Le.paymentInfo
|
|
7850
7849
|
),
|
|
@@ -7861,8 +7860,8 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7861
7860
|
status: g,
|
|
7862
7861
|
cards: o
|
|
7863
7862
|
}
|
|
7864
|
-
), /* @__PURE__ */ f.createElement("div", { role: "alert", "aria-live": "assertive", className:
|
|
7865
|
-
}, Je = /* @__PURE__ */ new Map(),
|
|
7863
|
+
), /* @__PURE__ */ f.createElement("div", { role: "alert", "aria-live": "assertive", className: J.announceText }, N));
|
|
7864
|
+
}, Je = /* @__PURE__ */ new Map(), qm = (e, t, n) => {
|
|
7866
7865
|
var r;
|
|
7867
7866
|
const a = document.querySelector(n.container);
|
|
7868
7867
|
if (a) {
|
|
@@ -7885,10 +7884,10 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7885
7884
|
onModalClose: b
|
|
7886
7885
|
} = n;
|
|
7887
7886
|
if (a) {
|
|
7888
|
-
const _ =
|
|
7887
|
+
const _ = wa(a);
|
|
7889
7888
|
_.render(
|
|
7890
7889
|
/* @__PURE__ */ f.createElement(ja, { locale: g }, /* @__PURE__ */ f.createElement(
|
|
7891
|
-
|
|
7890
|
+
Vm,
|
|
7892
7891
|
{
|
|
7893
7892
|
apiData: e,
|
|
7894
7893
|
configPlans: o,
|
|
@@ -7923,7 +7922,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7923
7922
|
b && (b.unmount(), Je.delete(a)), d == null || d(v);
|
|
7924
7923
|
}, g = () => {
|
|
7925
7924
|
if (a) {
|
|
7926
|
-
const v =
|
|
7925
|
+
const v = wa(a);
|
|
7927
7926
|
v.render(
|
|
7928
7927
|
/* @__PURE__ */ f.createElement(ja, { locale: l }, /* @__PURE__ */ f.createElement(
|
|
7929
7928
|
Cm,
|
|
@@ -7945,13 +7944,13 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7945
7944
|
close: p
|
|
7946
7945
|
};
|
|
7947
7946
|
}
|
|
7948
|
-
},
|
|
7949
|
-
add: (t, n) =>
|
|
7947
|
+
}, Zm = (e) => ({
|
|
7948
|
+
add: (t, n) => qm(e, t, n)
|
|
7950
7949
|
});
|
|
7951
|
-
var
|
|
7950
|
+
var Xm = /* @__PURE__ */ ((e) => (e.LIVE = "https://api.getalma.eu", e.TEST = "https://api.sandbox.getalma.eu", e))(Xm || {}), pr;
|
|
7952
7951
|
((e) => {
|
|
7953
7952
|
function t(n, a) {
|
|
7954
|
-
return
|
|
7953
|
+
return Zm({ domain: a, merchantId: n });
|
|
7955
7954
|
}
|
|
7956
7955
|
e.initialize = t, e.PaymentPlans = pt.PaymentPlans, e.Modal = pt.Modal;
|
|
7957
7956
|
})(pr || (pr = {}));
|
|
@@ -7960,7 +7959,7 @@ var hr;
|
|
|
7960
7959
|
e.priceToCents = ao, e.priceFromCents = fe, e.formatCents = ro;
|
|
7961
7960
|
})(hr || (hr = {}));
|
|
7962
7961
|
export {
|
|
7963
|
-
|
|
7962
|
+
Xm as ApiMode,
|
|
7964
7963
|
hr as Utils,
|
|
7965
7964
|
pr as Widgets
|
|
7966
7965
|
};
|