@everymatrix/cashier-page 1.60.1 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierConfirmModal-B0WZGuf5.js → CashierConfirmModal-D-5CwHBA.js} +35 -35
- package/components/{CashierConfirmModal-BErwh2fQ.js → CashierConfirmModal-sI8AKckC.js} +35 -35
- package/components/{CashierError-Dyf5BWS1.js → CashierError-CMvzpPvw.js} +373 -370
- package/components/{CashierError-DoHJAf67.js → CashierError-DxG_sfiC.js} +373 -370
- package/components/CashierError-yvWn4Rrm.cjs +18 -0
- package/components/{CashierHeader-B-wIMGOV.cjs → CashierHeader-65_-6ha4.cjs} +1 -1
- package/components/{CashierHeader-Dm79zFE4.js → CashierHeader-Bi1lAG0w.js} +38 -38
- package/components/{CashierHeader-C8XVzyv9.js → CashierHeader-CwLLWXNY.js} +36 -36
- package/components/{CashierIframeRedirect-D7qTJ1C9.js → CashierIframeRedirect-BaiG-Pfc.js} +32 -32
- package/components/{CashierIframeRedirect-CXErmVjw.cjs → CashierIframeRedirect-DUw_YsXh.cjs} +1 -1
- package/components/{CashierIframeRedirect-B_5Lg8hb.js → CashierIframeRedirect-TY4DGRu8.js} +39 -39
- package/components/{CashierMethodDetails-T4mbzimW.js → CashierMethodDetails-B-r9Ig3J.js} +673 -672
- package/components/{CashierMethodDetails-C6upoqd2.js → CashierMethodDetails-B7a0xUnu.js} +677 -676
- package/components/CashierMethodDetails-DCSscnEO.cjs +18 -0
- package/components/{CashierMethodsList-DIrmr3Ce.js → CashierMethodsList-0NisHAHn.js} +69 -69
- package/components/{CashierMethodsList-CumBXWty.cjs → CashierMethodsList-CFWwntIr.cjs} +1 -1
- package/components/{CashierMethodsList-BrVrodk4.js → CashierMethodsList-D1A8PhkD.js} +69 -69
- package/components/{CashierModal-CpN2LT2L.js → CashierModal-6CTryAQJ.js} +38 -38
- package/components/{CashierModal-DB1wg0l3.js → CashierModal-BoglqxPv.js} +34 -34
- package/components/{CashierNotifications-B5qfr68o.js → CashierNotifications-BFj3fQud.js} +18 -18
- package/components/{CashierNotifications-BmAkkuzD.js → CashierNotifications-GwlCZVnm.js} +19 -19
- package/components/{CashierPage-DBt7A-ce.js → CashierPage-BZcZChsH.js} +166 -161
- package/components/{CashierPage-RAOHqYUI.js → CashierPage-BrqHVjEo.js} +164 -159
- package/components/CashierPage-Dj0zbO0E.cjs +1 -0
- package/components/{CashierReceiptPage-BOTRblW6.js → CashierReceiptPage-8Zj85gPN.js} +28 -28
- package/components/{CashierReceiptPage-BH5T05dg.cjs → CashierReceiptPage-D1pqLJ0U.cjs} +1 -1
- package/components/{CashierReceiptPage-BsbiLGZK.js → CashierReceiptPage-s6fGCleK.js} +28 -28
- package/components/{CashierSessionExpirationModal-CxpesQtf.cjs → CashierSessionExpirationModal-By_rsR04.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-V8MYd-oY.js → CashierSessionExpirationModal-DdHcfR-h.js} +47 -56
- package/components/{CashierSessionExpirationModal-DZgsGvVp.js → CashierSessionExpirationModal-TGqUfe5V.js} +47 -56
- package/components/{CashierSpinner-FzCMnj7X.js → CashierSpinner-DO1yLcR1.js} +28 -28
- package/components/{CashierSpinner-BI29nSq_.js → CashierSpinner-bxbp3WK6.js} +27 -27
- package/components/{CashierTransactionHistory-D_tggKNB.cjs → CashierTransactionHistory-CYbYlycE.cjs} +1 -1
- package/components/{CashierTransactionHistory-5jT7HEE-.js → CashierTransactionHistory-C_Svrrcp.js} +100 -100
- package/components/{CashierTransactionHistory-CyxhjzqM.js → CashierTransactionHistory-DYO3OXaR.js} +100 -100
- package/components/{CashierVerifications-BXTVbpjh.cjs → CashierVerifications-CZwRcnKQ.cjs} +1 -1
- package/components/{CashierVerifications-qhXfC9Fa.js → CashierVerifications-D0UNVx7t.js} +26 -26
- package/components/{CashierVerifications-BOYrzIos.js → CashierVerifications-DUvGJeeG.js} +72 -72
- package/components/{CashierVideoModal-DGBQZz-C.js → CashierVideoModal-BGKXfmt9.js} +37 -37
- package/components/{CashierVideoModal-DPG12DK0.js → CashierVideoModal-CVEk7pqo.js} +39 -39
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CashierError-YmV_PQP8.cjs +0 -18
- package/components/CashierMethodDetails-Ba0LNaer.cjs +0 -18
- package/components/CashierPage-CzAwa_Je.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as Ce, b as _e,
|
|
2
|
-
import { a as qe, i as xe, $ as Ee, b as Fe } from "./CashierError-
|
|
3
|
-
import { d as
|
|
4
|
-
function
|
|
1
|
+
import { S as Ce, b as _e, s as Se, f as b, c as Ae, n as G, e as C, J as O, l as _, o as w, q as V, v as Oe, K as Y, L as Te, C as D, p as A, z as Me, m as k, A as H, x as Be, y as Le, E as Ie } from "./CashierConfirmModal-D-5CwHBA.js";
|
|
2
|
+
import { a as qe, i as xe, $ as Ee, b as Fe } from "./CashierError-CMvzpPvw.js";
|
|
3
|
+
import { d as J, u as ze } from "./CashierMethodDetails-B7a0xUnu.js";
|
|
4
|
+
function Z(t, i) {
|
|
5
5
|
qe(t, i);
|
|
6
6
|
}
|
|
7
7
|
function Ue(t) {
|
|
@@ -70,26 +70,26 @@ if (typeof window < "u") {
|
|
|
70
70
|
return function(...r) {
|
|
71
71
|
try {
|
|
72
72
|
return i.apply(this, r);
|
|
73
|
-
} catch (
|
|
74
|
-
if (
|
|
73
|
+
} catch (s) {
|
|
74
|
+
if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
75
75
|
return !1;
|
|
76
|
-
throw
|
|
76
|
+
throw s;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
-
customElements.define = t(customElements.define), import("./CashierVideoModal-
|
|
80
|
+
customElements.define = t(customElements.define), import("./CashierVideoModal-CVEk7pqo.js").then(({ default: i }) => {
|
|
81
81
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
function Re(t) {
|
|
85
|
-
|
|
85
|
+
Ae(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
86
86
|
}
|
|
87
87
|
function Q(t, i, r) {
|
|
88
|
-
const
|
|
89
|
-
return
|
|
88
|
+
const s = t.slice();
|
|
89
|
+
return s[49] = i[r], s[51] = r, s;
|
|
90
90
|
}
|
|
91
91
|
function $(t) {
|
|
92
|
-
let i, r,
|
|
92
|
+
let i, r, s, c, f = Y(
|
|
93
93
|
/*displayMessages*/
|
|
94
94
|
t[4]
|
|
95
95
|
), d = [];
|
|
@@ -104,7 +104,7 @@ function $(t) {
|
|
|
104
104
|
i = w("div");
|
|
105
105
|
for (let a = 0; a < d.length; a += 1)
|
|
106
106
|
d[a].c();
|
|
107
|
-
r = A(), h && h.c(),
|
|
107
|
+
r = A(), h && h.c(), s = A(), c = w("cashier-video-modal"), V(i, "class", "CashierVerificationsWrapper"), D(
|
|
108
108
|
c,
|
|
109
109
|
"clientstylingurl",
|
|
110
110
|
/*clientstylingurl*/
|
|
@@ -127,10 +127,10 @@ function $(t) {
|
|
|
127
127
|
);
|
|
128
128
|
},
|
|
129
129
|
m(a, u) {
|
|
130
|
-
|
|
131
|
-
for (let
|
|
132
|
-
d[
|
|
133
|
-
|
|
130
|
+
_(a, i, u);
|
|
131
|
+
for (let n = 0; n < d.length; n += 1)
|
|
132
|
+
d[n] && d[n].m(i, null);
|
|
133
|
+
_(a, r, u), h && h.m(a, u), _(a, s, u), _(a, c, u);
|
|
134
134
|
},
|
|
135
135
|
p(a, u) {
|
|
136
136
|
if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
@@ -139,17 +139,17 @@ function $(t) {
|
|
|
139
139
|
/*displayMessages*/
|
|
140
140
|
a[4]
|
|
141
141
|
);
|
|
142
|
-
let
|
|
143
|
-
for (
|
|
144
|
-
const y = Q(a, f,
|
|
145
|
-
d[
|
|
142
|
+
let n;
|
|
143
|
+
for (n = 0; n < f.length; n += 1) {
|
|
144
|
+
const y = Q(a, f, n);
|
|
145
|
+
d[n] ? d[n].p(y, u) : (d[n] = ie(y), d[n].c(), d[n].m(i, null));
|
|
146
146
|
}
|
|
147
|
-
for (;
|
|
148
|
-
d[
|
|
147
|
+
for (; n < d.length; n += 1)
|
|
148
|
+
d[n].d(1);
|
|
149
149
|
d.length = f.length;
|
|
150
150
|
}
|
|
151
151
|
/*videoExists*/
|
|
152
|
-
a[7] ? h ? h.p(a, u) : (h = te(a), h.c(), h.m(
|
|
152
|
+
a[7] ? h ? h.p(a, u) : (h = te(a), h.c(), h.m(s.parentNode, s)) : h && (h.d(1), h = null), u[0] & /*clientstylingurl*/
|
|
153
153
|
2 && D(
|
|
154
154
|
c,
|
|
155
155
|
"clientstylingurl",
|
|
@@ -176,12 +176,12 @@ function $(t) {
|
|
|
176
176
|
);
|
|
177
177
|
},
|
|
178
178
|
d(a) {
|
|
179
|
-
a && (
|
|
179
|
+
a && (C(i), C(r), C(s), C(c)), Te(d, a), h && h.d(a);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
function ee(t) {
|
|
184
|
-
let i, r,
|
|
184
|
+
let i, r, s;
|
|
185
185
|
function c(...f) {
|
|
186
186
|
return (
|
|
187
187
|
/*click_handler*/
|
|
@@ -197,21 +197,21 @@ function ee(t) {
|
|
|
197
197
|
i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', V(i, "class", "CashierVerificationChevron");
|
|
198
198
|
},
|
|
199
199
|
m(f, d) {
|
|
200
|
-
|
|
200
|
+
_(f, i, d), r || (s = H(i, "click", c), r = !0);
|
|
201
201
|
},
|
|
202
202
|
p(f, d) {
|
|
203
203
|
t = f;
|
|
204
204
|
},
|
|
205
205
|
d(f) {
|
|
206
|
-
f &&
|
|
206
|
+
f && C(i), r = !1, s();
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
210
|
function ie(t) {
|
|
211
|
-
let i, r,
|
|
211
|
+
let i, r, s, c, f = (
|
|
212
212
|
/*message*/
|
|
213
213
|
t[49] + ""
|
|
214
|
-
), d, h, a, u,
|
|
214
|
+
), d, h, a, u, n = (
|
|
215
215
|
/*displayMessages*/
|
|
216
216
|
t[4].length > 1 && /*index*/
|
|
217
217
|
t[51] === 0 && ee(t)
|
|
@@ -228,7 +228,7 @@ function ie(t) {
|
|
|
228
228
|
}
|
|
229
229
|
return {
|
|
230
230
|
c() {
|
|
231
|
-
i = w("div"), r = w("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',
|
|
231
|
+
i = w("div"), r = w("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', s = A(), c = w("p"), d = A(), n && n.c(), h = A(), V(r, "class", "IconVerification"), V(c, "class", "text"), V(i, "class", "CashierVerificationMessage"), O(
|
|
232
232
|
i,
|
|
233
233
|
"ShowAll",
|
|
234
234
|
/*allVerificationsVisible*/
|
|
@@ -236,14 +236,14 @@ function ie(t) {
|
|
|
236
236
|
);
|
|
237
237
|
},
|
|
238
238
|
m(m, P) {
|
|
239
|
-
|
|
239
|
+
_(m, i, P), k(i, r), k(i, s), k(i, c), c.innerHTML = f, k(i, d), n && n.m(i, null), k(i, h), a || (u = H(i, "click", y), a = !0);
|
|
240
240
|
},
|
|
241
241
|
p(m, P) {
|
|
242
242
|
t = m, P[0] & /*displayMessages*/
|
|
243
243
|
16 && f !== (f = /*message*/
|
|
244
244
|
t[49] + "") && (c.innerHTML = f), /*displayMessages*/
|
|
245
245
|
t[4].length > 1 && /*index*/
|
|
246
|
-
t[51] === 0 ?
|
|
246
|
+
t[51] === 0 ? n ? n.p(t, P) : (n = ee(t), n.c(), n.m(i, h)) : n && (n.d(1), n = null), P[0] & /*allVerificationsVisible*/
|
|
247
247
|
32 && O(
|
|
248
248
|
i,
|
|
249
249
|
"ShowAll",
|
|
@@ -252,36 +252,36 @@ function ie(t) {
|
|
|
252
252
|
);
|
|
253
253
|
},
|
|
254
254
|
d(m) {
|
|
255
|
-
m &&
|
|
255
|
+
m && C(i), n && n.d(), a = !1, u();
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
function te(t) {
|
|
260
|
-
let i, r,
|
|
260
|
+
let i, r, s, c, f = (
|
|
261
261
|
/*$_*/
|
|
262
262
|
t[9]("verification.video.how-to") + ""
|
|
263
263
|
), d, h, a;
|
|
264
264
|
return {
|
|
265
265
|
c() {
|
|
266
|
-
i = w("div"), r = w("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',
|
|
266
|
+
i = w("div"), r = w("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', s = A(), c = w("div"), d = Le(f), V(r, "class", "IconVideo"), V(c, "class", "CashierVerificationVideoLink"), O(
|
|
267
267
|
c,
|
|
268
268
|
"CashierVerificationVideoLinkDesktop",
|
|
269
269
|
/*desktopView*/
|
|
270
270
|
t[6]
|
|
271
271
|
), V(i, "class", "CashierVerificationVideo");
|
|
272
272
|
},
|
|
273
|
-
m(u,
|
|
274
|
-
|
|
273
|
+
m(u, n) {
|
|
274
|
+
_(u, i, n), k(i, r), k(i, s), k(i, c), k(c, d), h || (a = H(
|
|
275
275
|
c,
|
|
276
276
|
"click",
|
|
277
277
|
/*click_handler_2*/
|
|
278
278
|
t[20]
|
|
279
279
|
), h = !0);
|
|
280
280
|
},
|
|
281
|
-
p(u,
|
|
282
|
-
|
|
281
|
+
p(u, n) {
|
|
282
|
+
n[0] & /*$_*/
|
|
283
283
|
512 && f !== (f = /*$_*/
|
|
284
|
-
u[9]("verification.video.how-to") + "") &&
|
|
284
|
+
u[9]("verification.video.how-to") + "") && Be(d, f), n[0] & /*desktopView*/
|
|
285
285
|
64 && O(
|
|
286
286
|
c,
|
|
287
287
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -290,7 +290,7 @@ function te(t) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(u) {
|
|
293
|
-
u &&
|
|
293
|
+
u && C(i), h = !1, a();
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -308,31 +308,31 @@ function He(t) {
|
|
|
308
308
|
t[6]
|
|
309
309
|
);
|
|
310
310
|
},
|
|
311
|
-
m(
|
|
312
|
-
|
|
311
|
+
m(s, c) {
|
|
312
|
+
_(s, i, c), r && r.m(i, null), t[21](i);
|
|
313
313
|
},
|
|
314
|
-
p(
|
|
314
|
+
p(s, c) {
|
|
315
315
|
/*displayMessages*/
|
|
316
|
-
|
|
316
|
+
s[4] ? r ? r.p(s, c) : (r = $(s), r.c(), r.m(i, null)) : r && (r.d(1), r = null), c[0] & /*desktopView*/
|
|
317
317
|
64 && O(
|
|
318
318
|
i,
|
|
319
319
|
"CashierVerificationsDesktop",
|
|
320
320
|
/*desktopView*/
|
|
321
|
-
|
|
321
|
+
s[6]
|
|
322
322
|
);
|
|
323
323
|
},
|
|
324
324
|
i: G,
|
|
325
325
|
o: G,
|
|
326
|
-
d(
|
|
327
|
-
|
|
326
|
+
d(s) {
|
|
327
|
+
s && C(i), r && r.d(), t[21](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
331
|
const je = "verification_explanation_video_widgets.MP4", Ne = "700px", Ke = "500px";
|
|
332
332
|
function We(t, i, r) {
|
|
333
|
-
let
|
|
334
|
-
|
|
335
|
-
let { endpoint: c } = i, { lang: f = "en" } = i, { translationurl: d = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: a = "" } = i, { session: u = "" } = i, { customerid:
|
|
333
|
+
let s;
|
|
334
|
+
Oe(t, Fe, (e) => r(9, s = e)), J.extend(ze);
|
|
335
|
+
let { endpoint: c } = i, { lang: f = "en" } = i, { translationurl: d = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: a = "" } = i, { session: u = "" } = i, { customerid: n = "" } = i, { ismobileview: y = "" } = i, m, P = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), B, L, I, q = !0, x = !0, E = !1, F = "";
|
|
336
336
|
var T;
|
|
337
337
|
(function(e) {
|
|
338
338
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
@@ -358,18 +358,18 @@ function We(t, i, r) {
|
|
|
358
358
|
if (e)
|
|
359
359
|
return fetch(e).then((o) => o.json()).then((o) => {
|
|
360
360
|
Object.keys(o).forEach((l) => {
|
|
361
|
-
|
|
361
|
+
Z(l, o[l]);
|
|
362
362
|
});
|
|
363
363
|
}).catch((o) => {
|
|
364
364
|
console.log(o);
|
|
365
365
|
});
|
|
366
366
|
};
|
|
367
367
|
Object.keys(X).forEach((e) => {
|
|
368
|
-
|
|
368
|
+
Z(e, X[e]);
|
|
369
369
|
});
|
|
370
|
-
const
|
|
370
|
+
const se = () => {
|
|
371
371
|
Ue(f);
|
|
372
|
-
},
|
|
372
|
+
}, ne = () => {
|
|
373
373
|
let e = document.createElement("style");
|
|
374
374
|
e.innerHTML = h, m.appendChild(e);
|
|
375
375
|
}, ae = () => {
|
|
@@ -387,7 +387,7 @@ function We(t, i, r) {
|
|
|
387
387
|
if (!e)
|
|
388
388
|
return;
|
|
389
389
|
const l = new URL(`${c}/v1/player/verification/GetKYCStatus`), g = new Headers();
|
|
390
|
-
g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp",
|
|
390
|
+
g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp", J.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
391
391
|
const R = {
|
|
392
392
|
method: "POST",
|
|
393
393
|
headers: g,
|
|
@@ -409,7 +409,7 @@ function We(t, i, r) {
|
|
|
409
409
|
let o = JSON.parse(atob(e));
|
|
410
410
|
return {
|
|
411
411
|
merchantId: o?.mid,
|
|
412
|
-
customerId: `${o?.mid}~${
|
|
412
|
+
customerId: `${o?.mid}~${n}`
|
|
413
413
|
};
|
|
414
414
|
}
|
|
415
415
|
return { merchantId: null, customerId: null };
|
|
@@ -452,19 +452,19 @@ function We(t, i, r) {
|
|
|
452
452
|
e.push(pe(o));
|
|
453
453
|
}), e;
|
|
454
454
|
case p.Referred:
|
|
455
|
-
return [
|
|
455
|
+
return [s("verification.idenfy.referred-awaiting")];
|
|
456
456
|
case p.Failed:
|
|
457
|
-
return [
|
|
457
|
+
return [s("verification.message.failed")];
|
|
458
458
|
}
|
|
459
459
|
}, pe = (e) => {
|
|
460
460
|
const o = B.VerificationStatuses.filter((l) => l.Vendor === e);
|
|
461
461
|
if (e === T.ShuftiPro)
|
|
462
462
|
return ge(o);
|
|
463
463
|
{
|
|
464
|
-
const l =
|
|
464
|
+
const l = s("verification.idenfy.link-name"), g = {
|
|
465
465
|
link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
|
|
466
466
|
};
|
|
467
|
-
return
|
|
467
|
+
return s("verification.idenfy.in-progress", { values: g });
|
|
468
468
|
}
|
|
469
469
|
}, ge = (e) => {
|
|
470
470
|
const o = [], l = {}, g = [
|
|
@@ -476,8 +476,8 @@ function We(t, i, r) {
|
|
|
476
476
|
g.includes(v.Type) && (o.push(v.Type), l[v.Type] = ve(v, we(v.Type)));
|
|
477
477
|
});
|
|
478
478
|
let R = o.every((v) => j.has(v)), S = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
|
|
479
|
-
return R ?
|
|
480
|
-
}, ve = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, we = (e) =>
|
|
479
|
+
return R ? s("verification.shuftipro.validations-started") : s(S, { values: l });
|
|
480
|
+
}, ve = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, we = (e) => s(`verification.shuftipro.link-name.${e}`), U = (e, o) => {
|
|
481
481
|
if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
|
|
482
482
|
if (e.target.closest(".verificationLink")) {
|
|
483
483
|
const l = e.target.className.split(" ")[1];
|
|
@@ -507,18 +507,18 @@ function We(t, i, r) {
|
|
|
507
507
|
);
|
|
508
508
|
}, Ve = (e, o) => U(o, e), Pe = (e, o) => U(o, e), be = () => W();
|
|
509
509
|
function De(e) {
|
|
510
|
-
|
|
510
|
+
Me[e ? "unshift" : "push"](() => {
|
|
511
511
|
m = e, r(3, m);
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
return t.$$set = (e) => {
|
|
515
|
-
"endpoint" in e && r(12, c = e.endpoint), "lang" in e && r(13, f = e.lang), "translationurl" in e && r(14, d = e.translationurl), "clientstyling" in e && r(0, h = e.clientstyling), "clientstylingurl" in e && r(1, a = e.clientstylingurl), "session" in e && r(15, u = e.session), "customerid" in e && r(16,
|
|
515
|
+
"endpoint" in e && r(12, c = e.endpoint), "lang" in e && r(13, f = e.lang), "translationurl" in e && r(14, d = e.translationurl), "clientstyling" in e && r(0, h = e.clientstyling), "clientstylingurl" in e && r(1, a = e.clientstylingurl), "session" in e && r(15, u = e.session), "customerid" in e && r(16, n = e.customerid), "ismobileview" in e && r(2, y = e.ismobileview);
|
|
516
516
|
}, t.$$.update = () => {
|
|
517
517
|
t.$$.dirty[0] & /*lang*/
|
|
518
|
-
8192 && f &&
|
|
518
|
+
8192 && f && se(), t.$$.dirty[0] & /*endpoint, session*/
|
|
519
519
|
36864 && c && u && le(), t.$$.dirty[0] & /*translationurl*/
|
|
520
520
|
16384 && d && oe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
521
|
-
9 && h && m &&
|
|
521
|
+
9 && h && m && ne(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
522
522
|
10 && a && m && ae(), t.$$.dirty[0] & /*ismobileview*/
|
|
523
523
|
4 && y && ye(), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
524
524
|
131072 && L && ke();
|
|
@@ -532,14 +532,14 @@ function We(t, i, r) {
|
|
|
532
532
|
x,
|
|
533
533
|
E,
|
|
534
534
|
F,
|
|
535
|
-
|
|
535
|
+
s,
|
|
536
536
|
U,
|
|
537
537
|
W,
|
|
538
538
|
c,
|
|
539
539
|
f,
|
|
540
540
|
d,
|
|
541
541
|
u,
|
|
542
|
-
|
|
542
|
+
n,
|
|
543
543
|
L,
|
|
544
544
|
Ve,
|
|
545
545
|
Pe,
|
|
@@ -554,7 +554,7 @@ class Ge extends Ce {
|
|
|
554
554
|
i,
|
|
555
555
|
We,
|
|
556
556
|
He,
|
|
557
|
-
|
|
557
|
+
Se,
|
|
558
558
|
{
|
|
559
559
|
endpoint: 12,
|
|
560
560
|
lang: 13,
|
|
@@ -618,7 +618,7 @@ class Ge extends Ce {
|
|
|
618
618
|
this.$$set({ ismobileview: i }), b();
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
Ie(Ge, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
622
622
|
export {
|
|
623
623
|
Ge as default
|
|
624
624
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as T, b as N, s as R, f as C, c as U, n as m, e as v, m as _, x as Z, H as j, C as b, v as n, J as k, o as p, p as g, q as V, A, B as H, N as w, E as F } from "./CashierConfirmModal-sI8AKckC.js";
|
|
2
|
+
function J(s) {
|
|
3
|
+
U(s, "svelte-kll10v", ".CashierVideoWrapper{position:absolute;width:100%;height:500px;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoWrapperDesktop{height:700px}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
4
4
|
}
|
|
5
5
|
function M(s) {
|
|
6
6
|
let e, i, t, o, r, f, u, c = !/*desktopView*/
|
|
@@ -10,8 +10,8 @@ function M(s) {
|
|
|
10
10
|
);
|
|
11
11
|
return {
|
|
12
12
|
c() {
|
|
13
|
-
e =
|
|
14
|
-
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"),
|
|
13
|
+
e = g("div"), c && c.c(), i = V(), t = g("div"), l && l.c(), o = V(), r = g("video"), f = g("source"), b(f.src, u = /*videosrc*/
|
|
14
|
+
s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), k(
|
|
15
15
|
e,
|
|
16
16
|
"CashierVideoWrapperDesktop",
|
|
17
17
|
/*desktopView*/
|
|
@@ -19,15 +19,15 @@ function M(s) {
|
|
|
19
19
|
);
|
|
20
20
|
},
|
|
21
21
|
m(d, h) {
|
|
22
|
-
|
|
22
|
+
_(d, e, h), c && c.m(e, null), p(e, i), p(e, t), l && l.m(t, null), p(t, o), p(t, r), p(r, f), s[10](e);
|
|
23
23
|
},
|
|
24
24
|
p(d, h) {
|
|
25
25
|
/*desktopView*/
|
|
26
26
|
d[2] ? c && (c.d(1), c = null) : c ? c.p(d, h) : (c = x(d), c.c(), c.m(e, i)), /*desktopView*/
|
|
27
27
|
d[2] ? l ? l.p(d, h) : (l = S(d), l.c(), l.m(t, o)) : l && (l.d(1), l = null), h & /*videosrc*/
|
|
28
|
-
1 && !
|
|
28
|
+
1 && !b(f.src, u = /*videosrc*/
|
|
29
29
|
d[0]) && n(f, "src", u), h & /*desktopView*/
|
|
30
|
-
4 &&
|
|
30
|
+
4 && k(
|
|
31
31
|
e,
|
|
32
32
|
"CashierVideoWrapperDesktop",
|
|
33
33
|
/*desktopView*/
|
|
@@ -35,7 +35,7 @@ function M(s) {
|
|
|
35
35
|
);
|
|
36
36
|
},
|
|
37
37
|
d(d) {
|
|
38
|
-
d &&
|
|
38
|
+
d && v(e), c && c.d(), l && l.d(), s[10](null);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -43,10 +43,10 @@ function x(s) {
|
|
|
43
43
|
let e, i, t, o, r;
|
|
44
44
|
return {
|
|
45
45
|
c() {
|
|
46
|
-
e =
|
|
46
|
+
e = g("div"), i = w("svg"), t = w("path"), n(t, "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"), n(t, "fill", "#111111"), n(i, "xmlns", "http://www.w3.org/2000/svg"), n(i, "width", "13"), n(i, "height", "13"), n(i, "viewBox", "0 0 13 13"), n(i, "fill", "none"), n(e, "class", "CashierVideoHeader");
|
|
47
47
|
},
|
|
48
48
|
m(f, u) {
|
|
49
|
-
|
|
49
|
+
_(f, e, u), p(e, i), p(i, t), o || (r = H(
|
|
50
50
|
i,
|
|
51
51
|
"click",
|
|
52
52
|
/*click_handler*/
|
|
@@ -55,7 +55,7 @@ function x(s) {
|
|
|
55
55
|
},
|
|
56
56
|
p: m,
|
|
57
57
|
d(f) {
|
|
58
|
-
f &&
|
|
58
|
+
f && v(e), o = !1, r();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -66,7 +66,7 @@ function S(s) {
|
|
|
66
66
|
e = w("svg"), i = w("path"), n(i, "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"), n(i, "fill", "#111111"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "13"), n(e, "height", "13"), n(e, "viewBox", "0 0 13 13"), n(e, "fill", "none");
|
|
67
67
|
},
|
|
68
68
|
m(r, f) {
|
|
69
|
-
|
|
69
|
+
_(r, e, f), p(e, i), t || (o = H(
|
|
70
70
|
e,
|
|
71
71
|
"click",
|
|
72
72
|
/*click_handler_1*/
|
|
@@ -75,21 +75,21 @@ function S(s) {
|
|
|
75
75
|
},
|
|
76
76
|
p: m,
|
|
77
77
|
d(r) {
|
|
78
|
-
r &&
|
|
78
|
+
r && v(e), t = !1, o();
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function G(s) {
|
|
83
83
|
let e, i = (
|
|
84
84
|
/*show*/
|
|
85
85
|
s[3] && M(s)
|
|
86
86
|
);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
i && i.c(), e =
|
|
89
|
+
i && i.c(), e = Z();
|
|
90
90
|
},
|
|
91
91
|
m(t, o) {
|
|
92
|
-
i && i.m(t, o),
|
|
92
|
+
i && i.m(t, o), _(t, e, o);
|
|
93
93
|
},
|
|
94
94
|
p(t, [o]) {
|
|
95
95
|
/*show*/
|
|
@@ -98,22 +98,22 @@ function N(s) {
|
|
|
98
98
|
i: m,
|
|
99
99
|
o: m,
|
|
100
100
|
d(t) {
|
|
101
|
-
t &&
|
|
101
|
+
t && v(e), i && i.d(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function I(s, e, i) {
|
|
106
106
|
let { clientstyling: t = "" } = e, { clientstylingurl: o = "" } = e, { ismobileview: r } = e, { videosrc: f } = e, u = !0, c = !1, l;
|
|
107
107
|
const d = () => {
|
|
108
108
|
i(3, c = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
109
109
|
}, h = (a) => {
|
|
110
110
|
a.data.type == "ShowCashierVideoModal" && (i(3, c = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), a.data.type == "HideCashierVideoModal" && d();
|
|
111
|
-
},
|
|
111
|
+
}, E = () => {
|
|
112
112
|
i(2, u = r === "false");
|
|
113
113
|
}, z = () => {
|
|
114
114
|
let a = document.createElement("style");
|
|
115
115
|
a.innerHTML = t, l.appendChild(a);
|
|
116
|
-
},
|
|
116
|
+
}, D = () => {
|
|
117
117
|
let a = new URL(o), L = document.createElement("style");
|
|
118
118
|
fetch(a.href).then((y) => y.text()).then((y) => {
|
|
119
119
|
L.innerHTML = y, setTimeout(
|
|
@@ -124,12 +124,12 @@ function O(s, e, i) {
|
|
|
124
124
|
);
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
|
-
|
|
127
|
+
j(() => (window.addEventListener("message", h, !1), () => {
|
|
128
128
|
window.removeEventListener("message", h);
|
|
129
129
|
}));
|
|
130
|
-
const W = () => d(),
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
const W = () => d(), q = () => d();
|
|
131
|
+
function B(a) {
|
|
132
|
+
A[a ? "unshift" : "push"](() => {
|
|
133
133
|
l = a, i(1, l);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -137,9 +137,9 @@ function O(s, e, i) {
|
|
|
137
137
|
"clientstyling" in a && i(5, t = a.clientstyling), "clientstylingurl" in a && i(6, o = a.clientstylingurl), "ismobileview" in a && i(7, r = a.ismobileview), "videosrc" in a && i(0, f = a.videosrc);
|
|
138
138
|
}, s.$$.update = () => {
|
|
139
139
|
s.$$.dirty & /*ismobileview*/
|
|
140
|
-
128 && r &&
|
|
140
|
+
128 && r && E(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
141
141
|
34 && t && l && z(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
142
|
-
66 && o && l &&
|
|
142
|
+
66 && o && l && D();
|
|
143
143
|
}, [
|
|
144
144
|
f,
|
|
145
145
|
l,
|
|
@@ -150,25 +150,25 @@ function O(s, e, i) {
|
|
|
150
150
|
o,
|
|
151
151
|
r,
|
|
152
152
|
W,
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
q,
|
|
154
|
+
B
|
|
155
155
|
];
|
|
156
156
|
}
|
|
157
|
-
class
|
|
157
|
+
class K extends T {
|
|
158
158
|
constructor(e) {
|
|
159
|
-
super(),
|
|
159
|
+
super(), N(
|
|
160
160
|
this,
|
|
161
161
|
e,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
I,
|
|
163
|
+
G,
|
|
164
|
+
R,
|
|
165
165
|
{
|
|
166
166
|
clientstyling: 5,
|
|
167
167
|
clientstylingurl: 6,
|
|
168
168
|
ismobileview: 7,
|
|
169
169
|
videosrc: 0
|
|
170
170
|
},
|
|
171
|
-
|
|
171
|
+
J
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
174
|
get clientstyling() {
|
|
@@ -196,7 +196,7 @@ class J extends q {
|
|
|
196
196
|
this.$$set({ videosrc: e }), C();
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
F(K, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
|
|
200
200
|
export {
|
|
201
|
-
|
|
201
|
+
K as default
|
|
202
202
|
};
|