@everymatrix/cashier-verifications 1.77.4 → 1.77.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierModal-CHmM89CT.js → CashierModal-B9HfOFVh.js} +5 -5
- package/components/{CashierModal-D8ju6JdY.js → CashierModal-BBr5f1Xn.js} +117 -117
- package/components/CashierModal-gaj-xNES.cjs +4 -0
- package/components/{CashierVerifications-BhF3sA5X.js → CashierVerifications-CYOQVUPO.js} +1135 -1135
- package/components/{CashierVerifications-Cpeq4Ouc.js → CashierVerifications-DrLknRQF.js} +1223 -1215
- package/components/CashierVerifications-riPZ4FPC.cjs +20 -0
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierModal-znf84wun.cjs +0 -4
- package/components/CashierVerifications-DB9NfFLv.cjs +0 -20
|
@@ -731,7 +731,7 @@ function rt(t, { delay: e = 0, duration: n = 400, easing: i = ut } = {}) {
|
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
733
|
function le(t) {
|
|
734
|
-
St(t, "svelte-
|
|
734
|
+
St(t, "svelte-mmccwr", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;right:0;top:0;margin:20px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
|
|
735
735
|
}
|
|
736
736
|
const ue = (t) => ({}), ot = (t) => ({});
|
|
737
737
|
function ct(t) {
|
|
@@ -1010,10 +1010,10 @@ export {
|
|
|
1010
1010
|
O as r,
|
|
1011
1011
|
bt as s,
|
|
1012
1012
|
me as t,
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1013
|
+
M as u,
|
|
1014
|
+
Ot as v,
|
|
1015
|
+
$e as w,
|
|
1016
1016
|
Z as x,
|
|
1017
|
-
|
|
1017
|
+
et as y,
|
|
1018
1018
|
$t as z
|
|
1019
1019
|
};
|
|
@@ -11,21 +11,21 @@ var V = (e, t, n) => t in e ? Et(e, t, { enumerable: !0, configurable: !0, writa
|
|
|
11
11
|
return e;
|
|
12
12
|
}, st = (e, t) => Lt(e, Mt(t));
|
|
13
13
|
var p = (e, t, n) => (V(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
-
var
|
|
14
|
+
var rt = (e, t, n) => new Promise((i, r) => {
|
|
15
15
|
var s = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
o(n.next(u));
|
|
18
18
|
} catch (l) {
|
|
19
|
-
|
|
19
|
+
r(l);
|
|
20
20
|
}
|
|
21
21
|
}, c = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
o(n.throw(u));
|
|
24
24
|
} catch (l) {
|
|
25
|
-
|
|
25
|
+
r(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, o = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(s, c);
|
|
28
|
+
o((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function v() {
|
|
31
31
|
}
|
|
@@ -41,7 +41,7 @@ function jt(e, t) {
|
|
|
41
41
|
function gt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ot() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function A(e) {
|
|
@@ -70,8 +70,8 @@ function ve(e, t, n) {
|
|
|
70
70
|
}
|
|
71
71
|
function zt(e, t, n, i) {
|
|
72
72
|
if (e) {
|
|
73
|
-
const
|
|
74
|
-
return e[0](
|
|
73
|
+
const r = _t(e, t, n, i);
|
|
74
|
+
return e[0](r);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function _t(e, t, n, i) {
|
|
@@ -79,23 +79,23 @@ function _t(e, t, n, i) {
|
|
|
79
79
|
}
|
|
80
80
|
function Bt(e, t, n, i) {
|
|
81
81
|
if (e[2] && i) {
|
|
82
|
-
const
|
|
82
|
+
const r = e[2](i(n));
|
|
83
83
|
if (t.dirty === void 0)
|
|
84
|
-
return
|
|
85
|
-
if (typeof
|
|
86
|
-
const s = [], c = Math.max(t.dirty.length,
|
|
87
|
-
for (let
|
|
88
|
-
s[
|
|
84
|
+
return r;
|
|
85
|
+
if (typeof r == "object") {
|
|
86
|
+
const s = [], c = Math.max(t.dirty.length, r.length);
|
|
87
|
+
for (let o = 0; o < c; o += 1)
|
|
88
|
+
s[o] = t.dirty[o] | r[o];
|
|
89
89
|
return s;
|
|
90
90
|
}
|
|
91
|
-
return t.dirty |
|
|
91
|
+
return t.dirty | r;
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function Pt(e, t, n, i,
|
|
96
|
-
if (
|
|
95
|
+
function Pt(e, t, n, i, r, s) {
|
|
96
|
+
if (r) {
|
|
97
97
|
const c = _t(t, n, i, s);
|
|
98
|
-
e.p(c,
|
|
98
|
+
e.p(c, r);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
function Rt(e) {
|
|
@@ -132,8 +132,8 @@ function S(e, t) {
|
|
|
132
132
|
function Dt(e, t, n) {
|
|
133
133
|
const i = et(e);
|
|
134
134
|
if (!i.getElementById(t)) {
|
|
135
|
-
const
|
|
136
|
-
|
|
135
|
+
const r = C("style");
|
|
136
|
+
r.id = t, r.textContent = n, bt(i, r);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
function et(e) {
|
|
@@ -218,9 +218,9 @@ function Jt(e, t) {
|
|
|
218
218
|
"style",
|
|
219
219
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
220
220
|
), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
|
|
221
|
-
const
|
|
221
|
+
const r = qt();
|
|
222
222
|
let s;
|
|
223
|
-
return
|
|
223
|
+
return r ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = K(
|
|
224
224
|
window,
|
|
225
225
|
"message",
|
|
226
226
|
/** @param {MessageEvent} event */
|
|
@@ -230,7 +230,7 @@ function Jt(e, t) {
|
|
|
230
230
|
)) : (i.src = "about:blank", i.onload = () => {
|
|
231
231
|
s = K(i.contentWindow, "resize", t), t();
|
|
232
232
|
}), S(e, i), () => {
|
|
233
|
-
(
|
|
233
|
+
(r || s && i.contentWindow) && s(), E(i);
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
function ke(e, t, n) {
|
|
@@ -260,7 +260,7 @@ function Kt(e, t) {
|
|
|
260
260
|
const n = { stylesheet: It(t), rules: {} };
|
|
261
261
|
return U.set(e, n), n;
|
|
262
262
|
}
|
|
263
|
-
function lt(e, t, n, i,
|
|
263
|
+
function lt(e, t, n, i, r, s, c, o = 0) {
|
|
264
264
|
const u = 16.666 / i;
|
|
265
265
|
let l = `{
|
|
266
266
|
`;
|
|
@@ -270,17 +270,17 @@ function lt(e, t, n, i, o, s, c, r = 0) {
|
|
|
270
270
|
`;
|
|
271
271
|
}
|
|
272
272
|
const m = l + `100% {${c(n, 1 - n)}}
|
|
273
|
-
}`, f = `__svelte_${Gt(m)}_${
|
|
273
|
+
}`, f = `__svelte_${Gt(m)}_${o}`, h = et(e), { stylesheet: $, rules: a } = U.get(h) || Kt(h, e);
|
|
274
274
|
a[f] || (a[f] = !0, $.insertRule(`@keyframes ${f} ${m}`, $.cssRules.length));
|
|
275
275
|
const y = e.style.animation || "";
|
|
276
|
-
return e.style.animation = `${y ? `${y}, ` : ""}${f} ${i}ms linear ${
|
|
276
|
+
return e.style.animation = `${y ? `${y}, ` : ""}${f} ${i}ms linear ${r}ms 1 both`, W += 1, f;
|
|
277
277
|
}
|
|
278
278
|
function Qt(e, t) {
|
|
279
279
|
const n = (e.style.animation || "").split(", "), i = n.filter(
|
|
280
280
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
281
281
|
// remove all Svelte animations
|
|
282
|
-
),
|
|
283
|
-
|
|
282
|
+
), r = n.length - i.length;
|
|
283
|
+
r && (e.style.animation = i.join(", "), W -= r, W || Xt());
|
|
284
284
|
}
|
|
285
285
|
function Xt() {
|
|
286
286
|
tt(() => {
|
|
@@ -351,7 +351,7 @@ function se(e) {
|
|
|
351
351
|
j.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), j = t;
|
|
352
352
|
}
|
|
353
353
|
let z;
|
|
354
|
-
function
|
|
354
|
+
function re() {
|
|
355
355
|
return z || (z = Promise.resolve(), z.then(() => {
|
|
356
356
|
z = null;
|
|
357
357
|
})), z;
|
|
@@ -361,7 +361,7 @@ function G(e, t, n) {
|
|
|
361
361
|
}
|
|
362
362
|
const D = /* @__PURE__ */ new Set();
|
|
363
363
|
let w;
|
|
364
|
-
function
|
|
364
|
+
function oe() {
|
|
365
365
|
w = {
|
|
366
366
|
r: 0,
|
|
367
367
|
c: [],
|
|
@@ -387,7 +387,7 @@ function X(e, t, n, i) {
|
|
|
387
387
|
}
|
|
388
388
|
const le = { duration: 0 };
|
|
389
389
|
function ft(e, t, n, i) {
|
|
390
|
-
let s = t(e, n, { direction: "both" }), c = i ? 0 : 1,
|
|
390
|
+
let s = t(e, n, { direction: "both" }), c = i ? 0 : 1, o = null, u = null, l = null, m;
|
|
391
391
|
function f() {
|
|
392
392
|
l && Qt(e, l);
|
|
393
393
|
}
|
|
@@ -418,34 +418,34 @@ function ft(e, t, n, i) {
|
|
|
418
418
|
b: a
|
|
419
419
|
};
|
|
420
420
|
a || (J.group = w, w.r += 1), "inert" in e && (a ? m !== void 0 && (e.inert = m) : (m = /** @type {HTMLElement} */
|
|
421
|
-
e.inert, e.inert = !0)),
|
|
422
|
-
if (u && T > u.start && (
|
|
421
|
+
e.inert, e.inert = !0)), o || u ? u = J : (d && (f(), l = lt(e, c, a, _, y, x, d)), a && N(0, 1), o = h(J, _), O(() => G(e, a, "start")), Ht((T) => {
|
|
422
|
+
if (u && T > u.start && (o = h(u, _), u = null, G(e, o.b, "start"), d && (f(), l = lt(
|
|
423
423
|
e,
|
|
424
424
|
c,
|
|
425
|
-
|
|
426
|
-
|
|
425
|
+
o.b,
|
|
426
|
+
o.duration,
|
|
427
427
|
0,
|
|
428
428
|
x,
|
|
429
429
|
s.css
|
|
430
|
-
))),
|
|
431
|
-
if (T >=
|
|
432
|
-
N(c =
|
|
433
|
-
else if (T >=
|
|
434
|
-
const vt = T -
|
|
435
|
-
c =
|
|
430
|
+
))), o) {
|
|
431
|
+
if (T >= o.end)
|
|
432
|
+
N(c = o.b, 1 - c), G(e, o.b, "end"), u || (o.b ? f() : --o.group.r || A(o.group.c)), o = null;
|
|
433
|
+
else if (T >= o.start) {
|
|
434
|
+
const vt = T - o.start;
|
|
435
|
+
c = o.a + o.d * x(vt / o.duration), N(c, 1 - c);
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
return !!(
|
|
438
|
+
return !!(o || u);
|
|
439
439
|
}));
|
|
440
440
|
}
|
|
441
441
|
return {
|
|
442
442
|
run(a) {
|
|
443
|
-
Y(s) ?
|
|
443
|
+
Y(s) ? re().then(() => {
|
|
444
444
|
s = s({ direction: a ? "in" : "out" }), $(a);
|
|
445
445
|
}) : $(a);
|
|
446
446
|
},
|
|
447
447
|
end() {
|
|
448
|
-
f(),
|
|
448
|
+
f(), o = u = null;
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
}
|
|
@@ -453,11 +453,11 @@ function Se(e) {
|
|
|
453
453
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
454
454
|
}
|
|
455
455
|
function ue(e, t, n) {
|
|
456
|
-
const { fragment: i, after_update:
|
|
456
|
+
const { fragment: i, after_update: r } = e.$$;
|
|
457
457
|
i && i.m(t, n), O(() => {
|
|
458
458
|
const s = e.$$.on_mount.map(gt).filter(Y);
|
|
459
459
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : A(s), e.$$.on_mount = [];
|
|
460
|
-
}),
|
|
460
|
+
}), r.forEach(O);
|
|
461
461
|
}
|
|
462
462
|
function fe(e, t) {
|
|
463
463
|
const n = e.$$;
|
|
@@ -466,7 +466,7 @@ function fe(e, t) {
|
|
|
466
466
|
function ae(e, t) {
|
|
467
467
|
e.$$.dirty[0] === -1 && (M.push(e), ne(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
468
468
|
}
|
|
469
|
-
function de(e, t, n, i,
|
|
469
|
+
function de(e, t, n, i, r, s, c = null, o = [-1]) {
|
|
470
470
|
const u = R;
|
|
471
471
|
B(e);
|
|
472
472
|
const l = e.$$ = {
|
|
@@ -475,8 +475,8 @@ function de(e, t, n, i, o, s, c = null, r = [-1]) {
|
|
|
475
475
|
// state
|
|
476
476
|
props: s,
|
|
477
477
|
update: v,
|
|
478
|
-
not_equal:
|
|
479
|
-
bound:
|
|
478
|
+
not_equal: r,
|
|
479
|
+
bound: ot(),
|
|
480
480
|
// lifecycle
|
|
481
481
|
on_mount: [],
|
|
482
482
|
on_destroy: [],
|
|
@@ -485,8 +485,8 @@ function de(e, t, n, i, o, s, c = null, r = [-1]) {
|
|
|
485
485
|
after_update: [],
|
|
486
486
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
487
487
|
// everything else
|
|
488
|
-
callbacks:
|
|
489
|
-
dirty:
|
|
488
|
+
callbacks: ot(),
|
|
489
|
+
dirty: o,
|
|
490
490
|
skip_bound: !1,
|
|
491
491
|
root: t.target || u.$$.root
|
|
492
492
|
};
|
|
@@ -494,7 +494,7 @@ function de(e, t, n, i, o, s, c = null, r = [-1]) {
|
|
|
494
494
|
let m = !1;
|
|
495
495
|
if (l.ctx = n ? n(e, t.props || {}, (f, h, ...$) => {
|
|
496
496
|
const a = $.length ? $[0] : h;
|
|
497
|
-
return l.ctx &&
|
|
497
|
+
return l.ctx && r(l.ctx[f], l.ctx[f] = a) && (!l.skip_bound && l.bound[f] && l.bound[f](a), m && ae(e, f)), h;
|
|
498
498
|
}) : [], l.update(), m = !0, A(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
|
|
499
499
|
if (t.hydrate) {
|
|
500
500
|
const f = Ft(t.target);
|
|
@@ -531,19 +531,19 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
531
531
|
}
|
|
532
532
|
addEventListener(t, n, i) {
|
|
533
533
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
534
|
-
const
|
|
535
|
-
this.$$l_u.set(n,
|
|
534
|
+
const r = this.$$c.$on(t, n);
|
|
535
|
+
this.$$l_u.set(n, r);
|
|
536
536
|
}
|
|
537
537
|
super.addEventListener(t, n, i);
|
|
538
538
|
}
|
|
539
539
|
removeEventListener(t, n, i) {
|
|
540
540
|
if (super.removeEventListener(t, n, i), this.$$c) {
|
|
541
|
-
const
|
|
542
|
-
|
|
541
|
+
const r = this.$$l_u.get(n);
|
|
542
|
+
r && (r(), this.$$l_u.delete(n));
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
connectedCallback() {
|
|
546
|
-
return
|
|
546
|
+
return rt(this, null, function* () {
|
|
547
547
|
if (this.$$cn = !0, !this.$$c) {
|
|
548
548
|
let t = function(s) {
|
|
549
549
|
return () => {
|
|
@@ -585,7 +585,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
585
585
|
}
|
|
586
586
|
})
|
|
587
587
|
});
|
|
588
|
-
const
|
|
588
|
+
const r = () => {
|
|
589
589
|
this.$$r = !0;
|
|
590
590
|
for (const s in this.$$p_d)
|
|
591
591
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
@@ -599,11 +599,11 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
599
599
|
}
|
|
600
600
|
this.$$r = !1;
|
|
601
601
|
};
|
|
602
|
-
this.$$c.$$.after_update.push(
|
|
602
|
+
this.$$c.$$.after_update.push(r), r();
|
|
603
603
|
for (const s in this.$$l)
|
|
604
604
|
for (const c of this.$$l[s]) {
|
|
605
|
-
const
|
|
606
|
-
this.$$l_u.set(c,
|
|
605
|
+
const o = this.$$c.$on(s, c);
|
|
606
|
+
this.$$l_u.set(c, o);
|
|
607
607
|
}
|
|
608
608
|
this.$$l = {};
|
|
609
609
|
}
|
|
@@ -612,8 +612,8 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
612
612
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
613
613
|
// and setting attributes through setAttribute etc, this is helpful
|
|
614
614
|
attributeChangedCallback(t, n, i) {
|
|
615
|
-
var
|
|
616
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = I(t, i, this.$$p_d, "toProp"), (
|
|
615
|
+
var r;
|
|
616
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = I(t, i, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
|
|
617
617
|
}
|
|
618
618
|
disconnectedCallback() {
|
|
619
619
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -628,11 +628,11 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
628
628
|
});
|
|
629
629
|
function I(e, t, n, i) {
|
|
630
630
|
var s;
|
|
631
|
-
const
|
|
632
|
-
if (t =
|
|
631
|
+
const r = (s = n[e]) == null ? void 0 : s.type;
|
|
632
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
|
|
633
633
|
return t;
|
|
634
634
|
if (i === "toAttribute")
|
|
635
|
-
switch (
|
|
635
|
+
switch (r) {
|
|
636
636
|
case "Object":
|
|
637
637
|
case "Array":
|
|
638
638
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -644,7 +644,7 @@ function I(e, t, n, i) {
|
|
|
644
644
|
return t;
|
|
645
645
|
}
|
|
646
646
|
else
|
|
647
|
-
switch (
|
|
647
|
+
switch (r) {
|
|
648
648
|
case "Object":
|
|
649
649
|
case "Array":
|
|
650
650
|
return t && JSON.parse(t);
|
|
@@ -656,32 +656,32 @@ function I(e, t, n, i) {
|
|
|
656
656
|
return t;
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
function he(e, t, n, i,
|
|
659
|
+
function he(e, t, n, i, r, s) {
|
|
660
660
|
let c = class extends xt {
|
|
661
661
|
constructor() {
|
|
662
|
-
super(e, n,
|
|
662
|
+
super(e, n, r), this.$$p_d = t;
|
|
663
663
|
}
|
|
664
664
|
static get observedAttributes() {
|
|
665
665
|
return Object.keys(t).map(
|
|
666
|
-
(
|
|
666
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
667
667
|
);
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
|
-
return Object.keys(t).forEach((
|
|
671
|
-
Object.defineProperty(c.prototype,
|
|
670
|
+
return Object.keys(t).forEach((o) => {
|
|
671
|
+
Object.defineProperty(c.prototype, o, {
|
|
672
672
|
get() {
|
|
673
|
-
return this.$$c &&
|
|
673
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
674
674
|
},
|
|
675
675
|
set(u) {
|
|
676
676
|
var l;
|
|
677
|
-
u = I(
|
|
677
|
+
u = I(o, u, t), this.$$d[o] = u, (l = this.$$c) == null || l.$set({ [o]: u });
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
|
-
}), i.forEach((
|
|
681
|
-
Object.defineProperty(c.prototype,
|
|
680
|
+
}), i.forEach((o) => {
|
|
681
|
+
Object.defineProperty(c.prototype, o, {
|
|
682
682
|
get() {
|
|
683
683
|
var u;
|
|
684
|
-
return (u = this.$$c) == null ? void 0 : u[
|
|
684
|
+
return (u = this.$$c) == null ? void 0 : u[o];
|
|
685
685
|
}
|
|
686
686
|
});
|
|
687
687
|
}), e.element = /** @type {any} */
|
|
@@ -721,8 +721,8 @@ class $e {
|
|
|
721
721
|
return v;
|
|
722
722
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
723
723
|
return i.push(n), () => {
|
|
724
|
-
const
|
|
725
|
-
|
|
724
|
+
const r = i.indexOf(n);
|
|
725
|
+
r !== -1 && i.splice(r, 1);
|
|
726
726
|
};
|
|
727
727
|
}
|
|
728
728
|
/**
|
|
@@ -744,8 +744,8 @@ function ge(e, t) {
|
|
|
744
744
|
function _e(e, t) {
|
|
745
745
|
const n = new URL(t);
|
|
746
746
|
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
747
|
-
const
|
|
748
|
-
|
|
747
|
+
const r = document.createElement("style");
|
|
748
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
749
749
|
}).catch((i) => {
|
|
750
750
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
751
751
|
});
|
|
@@ -753,26 +753,26 @@ function _e(e, t) {
|
|
|
753
753
|
function ye(e, t, n) {
|
|
754
754
|
if (window.emMessageBus) {
|
|
755
755
|
const i = document.createElement("style");
|
|
756
|
-
window.emMessageBus.subscribe(t, (
|
|
757
|
-
i.innerHTML =
|
|
756
|
+
window.emMessageBus.subscribe(t, (r) => {
|
|
757
|
+
i.innerHTML = r, e && e.appendChild(i);
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
function at(e, { delay: t = 0, duration: n = 400, easing: i = mt } = {}) {
|
|
762
|
-
const
|
|
762
|
+
const r = +getComputedStyle(e).opacity;
|
|
763
763
|
return {
|
|
764
764
|
delay: t,
|
|
765
765
|
duration: n,
|
|
766
766
|
easing: i,
|
|
767
|
-
css: (s) => `opacity: ${s *
|
|
767
|
+
css: (s) => `opacity: ${s * r}`
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
770
|
function pe(e) {
|
|
771
|
-
Dt(e, "svelte-
|
|
771
|
+
Dt(e, "svelte-mmccwr", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;right:0;top:0;margin:20px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
|
|
772
772
|
}
|
|
773
773
|
const be = (e) => ({}), dt = (e) => ({});
|
|
774
774
|
function ht(e) {
|
|
775
|
-
let t, n, i,
|
|
775
|
+
let t, n, i, r, s, c, o, u, l = (
|
|
776
776
|
/*modaltype*/
|
|
777
777
|
e[3] !== "error" && $t(e)
|
|
778
778
|
);
|
|
@@ -788,14 +788,14 @@ function ht(e) {
|
|
|
788
788
|
);
|
|
789
789
|
return {
|
|
790
790
|
c() {
|
|
791
|
-
t = C("div"), n = C("div"), i = C("div"), l && l.c(),
|
|
791
|
+
t = C("div"), n = C("div"), i = C("div"), l && l.c(), r = Ut(), f && f.c(), g(i, "class", "ModalContainer"), g(i, "style", s = /*modaltype*/
|
|
792
792
|
e[3] === "video" ? "height: 70%" : "height: auto"), g(n, "id", "Modal"), O(() => (
|
|
793
793
|
/*div1_elementresize_handler*/
|
|
794
794
|
e[14].call(n)
|
|
795
795
|
));
|
|
796
796
|
},
|
|
797
797
|
m(h, $) {
|
|
798
|
-
q(h, t, $), S(t, n), S(n, i), l && l.m(i, null), S(i,
|
|
798
|
+
q(h, t, $), S(t, n), S(n, i), l && l.m(i, null), S(i, r), f && f.m(i, null), e[13](n), c = Jt(
|
|
799
799
|
n,
|
|
800
800
|
/*div1_elementresize_handler*/
|
|
801
801
|
e[14].bind(n)
|
|
@@ -803,7 +803,7 @@ function ht(e) {
|
|
|
803
803
|
},
|
|
804
804
|
p(h, $) {
|
|
805
805
|
e = h, /*modaltype*/
|
|
806
|
-
e[3] !== "error" ? l ? l.p(e, $) : (l = $t(e), l.c(), l.m(i,
|
|
806
|
+
e[3] !== "error" ? l ? l.p(e, $) : (l = $t(e), l.c(), l.m(i, r)) : l && (l.d(1), l = null), f && f.p && (!u || $ & /*$$scope*/
|
|
807
807
|
2048) && Pt(
|
|
808
808
|
f,
|
|
809
809
|
m,
|
|
@@ -827,37 +827,37 @@ function ht(e) {
|
|
|
827
827
|
},
|
|
828
828
|
i(h) {
|
|
829
829
|
u || (P(f, h), h && O(() => {
|
|
830
|
-
u && (
|
|
830
|
+
u && (o || (o = ft(
|
|
831
831
|
n,
|
|
832
832
|
at,
|
|
833
833
|
/*duration*/
|
|
834
834
|
e[4],
|
|
835
835
|
!0
|
|
836
|
-
)),
|
|
836
|
+
)), o.run(1));
|
|
837
837
|
}), u = !0);
|
|
838
838
|
},
|
|
839
839
|
o(h) {
|
|
840
|
-
X(f, h), h && (
|
|
840
|
+
X(f, h), h && (o || (o = ft(
|
|
841
841
|
n,
|
|
842
842
|
at,
|
|
843
843
|
/*duration*/
|
|
844
844
|
e[4],
|
|
845
845
|
!1
|
|
846
|
-
)),
|
|
846
|
+
)), o.run(0)), u = !1;
|
|
847
847
|
},
|
|
848
848
|
d(h) {
|
|
849
|
-
h && E(t), l && l.d(), f && f.d(h), e[13](null), c(), h &&
|
|
849
|
+
h && E(t), l && l.d(), f && f.d(h), e[13](null), c(), h && o && o.end(), e[15](null);
|
|
850
850
|
}
|
|
851
851
|
};
|
|
852
852
|
}
|
|
853
853
|
function $t(e) {
|
|
854
|
-
let t, n, i,
|
|
854
|
+
let t, n, i, r;
|
|
855
855
|
return {
|
|
856
856
|
c() {
|
|
857
857
|
t = ct("svg"), n = ct("path"), g(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), g(n, "fill", "#111111"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "13"), g(t, "height", "13"), g(t, "viewBox", "0 0 13 13"), g(t, "fill", "none"), g(t, "class", "CloseButton");
|
|
858
858
|
},
|
|
859
859
|
m(s, c) {
|
|
860
|
-
q(s, t, c), S(t, n), i || (
|
|
860
|
+
q(s, t, c), S(t, n), i || (r = K(
|
|
861
861
|
t,
|
|
862
862
|
"click",
|
|
863
863
|
/*closeModal*/
|
|
@@ -866,7 +866,7 @@ function $t(e) {
|
|
|
866
866
|
},
|
|
867
867
|
p: v,
|
|
868
868
|
d(s) {
|
|
869
|
-
s && E(t), i = !1,
|
|
869
|
+
s && E(t), i = !1, r();
|
|
870
870
|
}
|
|
871
871
|
};
|
|
872
872
|
}
|
|
@@ -879,29 +879,29 @@ function we(e) {
|
|
|
879
879
|
c() {
|
|
880
880
|
i && i.c(), t = Wt();
|
|
881
881
|
},
|
|
882
|
-
m(
|
|
883
|
-
i && i.m(
|
|
882
|
+
m(r, s) {
|
|
883
|
+
i && i.m(r, s), q(r, t, s), n = !0;
|
|
884
884
|
},
|
|
885
|
-
p(
|
|
885
|
+
p(r, [s]) {
|
|
886
886
|
/*show*/
|
|
887
|
-
|
|
888
|
-
4 && P(i, 1)) : (i = ht(
|
|
887
|
+
r[2] === "true" ? i ? (i.p(r, s), s & /*show*/
|
|
888
|
+
4 && P(i, 1)) : (i = ht(r), i.c(), P(i, 1), i.m(t.parentNode, t)) : i && (oe(), X(i, 1, 1, () => {
|
|
889
889
|
i = null;
|
|
890
890
|
}), ce());
|
|
891
891
|
},
|
|
892
|
-
i(
|
|
892
|
+
i(r) {
|
|
893
893
|
n || (P(i), n = !0);
|
|
894
894
|
},
|
|
895
|
-
o(
|
|
895
|
+
o(r) {
|
|
896
896
|
X(i), n = !1;
|
|
897
897
|
},
|
|
898
|
-
d(
|
|
899
|
-
|
|
898
|
+
d(r) {
|
|
899
|
+
r && E(t), i && i.d(r);
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
function xe(e, t, n) {
|
|
904
|
-
let { $$slots: i = {}, $$scope:
|
|
904
|
+
let { $$slots: i = {}, $$scope: r } = t, { mbsource: s } = t, { clientstyling: c } = t, { clientstylingurl: o } = t, { show: u } = t, { modaltype: l = "" } = t, { duration: m = 200 } = t, { width: f } = t, { height: h } = t, $, a;
|
|
905
905
|
const y = () => {
|
|
906
906
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
907
907
|
};
|
|
@@ -921,11 +921,11 @@ function xe(e, t, n) {
|
|
|
921
921
|
});
|
|
922
922
|
}
|
|
923
923
|
return e.$$set = (d) => {
|
|
924
|
-
"mbsource" in d && n(8, s = d.mbsource), "clientstyling" in d && n(9, c = d.clientstyling), "clientstylingurl" in d && n(10,
|
|
924
|
+
"mbsource" in d && n(8, s = d.mbsource), "clientstyling" in d && n(9, c = d.clientstyling), "clientstylingurl" in d && n(10, o = d.clientstylingurl), "show" in d && n(2, u = d.show), "modaltype" in d && n(3, l = d.modaltype), "duration" in d && n(4, m = d.duration), "width" in d && n(0, f = d.width), "height" in d && n(1, h = d.height), "$$scope" in d && n(11, r = d.$$scope);
|
|
925
925
|
}, e.$$.update = () => {
|
|
926
926
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
927
927
|
544 && c && a && ge(a, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
928
|
-
1056 &&
|
|
928
|
+
1056 && o && a && _e(a, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
929
929
|
288 && s && a && ye(a, `${s}.Style`);
|
|
930
930
|
}, [
|
|
931
931
|
f,
|
|
@@ -938,8 +938,8 @@ function xe(e, t, n) {
|
|
|
938
938
|
y,
|
|
939
939
|
s,
|
|
940
940
|
c,
|
|
941
|
-
r,
|
|
942
941
|
o,
|
|
942
|
+
r,
|
|
943
943
|
i,
|
|
944
944
|
_,
|
|
945
945
|
x,
|
|
@@ -1047,10 +1047,10 @@ export {
|
|
|
1047
1047
|
A as r,
|
|
1048
1048
|
Ot as s,
|
|
1049
1049
|
ke as t,
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1050
|
+
S as u,
|
|
1051
|
+
Ut as v,
|
|
1052
|
+
Me as w,
|
|
1053
1053
|
K as x,
|
|
1054
|
-
|
|
1054
|
+
ct as y,
|
|
1055
1055
|
wt as z
|
|
1056
1056
|
};
|