@everymatrix/cashier-page 1.72.2 → 1.73.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-4RYp7Eiq.js → CashierConfirmModal-BCk4hvRj.js} +3 -3
- package/components/{CashierConfirmModal-untxGhsx.js → CashierConfirmModal-DXlKhIue.js} +3 -3
- package/components/{CashierError-Zu3Whx-d.js → CashierError-BydkW7s_.js} +2 -2
- package/components/{CashierError-DfpdiheS.cjs → CashierError-Dpt_Z7yL.cjs} +1 -1
- package/components/{CashierError-yts9rF-i.js → CashierError-Dz_HsnJl.js} +2 -2
- package/components/{CashierHeader-BX6LLGb8.js → CashierHeader-86wrgmgP.js} +2 -2
- package/components/{CashierHeader-B9cdsOYh.cjs → CashierHeader-BXKYku0i.cjs} +1 -1
- package/components/{CashierHeader-C9V5_NVw.js → CashierHeader-DtS_U-De.js} +2 -2
- package/components/CashierIframeRedirect-BARMuRTc.cjs +1 -0
- package/components/CashierIframeRedirect-CmqcfGcT.js +429 -0
- package/components/CashierIframeRedirect-Xzpx4Rjk.js +429 -0
- package/components/CashierMethodDetails-Cf6KUGlj.cjs +99 -0
- package/components/{CashierMethodDetails-DhkT1TEG.js → CashierMethodDetails-DaUlJ18Q.js} +3451 -2898
- package/components/{CashierMethodDetails-D1ZeLJFI.js → CashierMethodDetails-oVkmdGDk.js} +3542 -2989
- package/components/CashierMethodsList-BKtn4kYZ.js +859 -0
- package/components/CashierMethodsList-BmNbGD7c.cjs +1 -0
- package/components/{CashierMethodsList-z8dlFfeS.js → CashierMethodsList-bnXzA9E8.js} +397 -402
- package/components/CashierModal-B4b12-Am.js +229 -0
- package/components/CashierModal-C-yyjQ8m.cjs +1 -0
- package/components/CashierModal-DCgiaC4V.js +229 -0
- package/components/{CashierNotifications-dn6rnyK_.js → CashierNotifications-BZCaBrRm.js} +1 -1
- package/components/{CashierNotifications-C48iLynX.js → CashierNotifications-CWqwdi55.js} +1 -1
- package/components/{CashierPage-DagcI5W-.js → CashierPage-BhUYgsyn.js} +628 -475
- package/components/CashierPage-K6Sfcy3_.cjs +1 -0
- package/components/{CashierPage-BbiDGdpa.js → CashierPage-qGww6KeO.js} +629 -476
- package/components/CashierReceiptPage-B5GxOKJ9.cjs +1 -0
- package/components/CashierReceiptPage-BePAYhQV.js +1451 -0
- package/components/CashierReceiptPage-Hvc3tNuq.js +1453 -0
- package/components/CashierSessionExpirationModal-BCKPn-ln.cjs +2 -0
- package/components/CashierSessionExpirationModal-C24hf-_h.js +1205 -0
- package/components/CashierSessionExpirationModal-DfMX7unr.js +1205 -0
- package/components/CashierSpinner-BdeNFm1c.js +79 -0
- package/components/CashierSpinner-COjPdCUV.js +79 -0
- package/components/CashierSpinner-CpkB8Zoj.cjs +1 -0
- package/components/CashierTransactionHistory-BgDq7hN9.js +614 -0
- package/components/CashierTransactionHistory-BtkomNSc.js +614 -0
- package/components/CashierTransactionHistory-siYwxijY.cjs +1 -0
- package/components/{CashierVerifications-8ZmmqlLE.js → CashierVerifications-7QimQj7T.js} +324 -277
- package/components/CashierVerifications-CjEiYZ7G.cjs +1 -0
- package/components/{CashierVerifications-DJ8j0wXs.js → CashierVerifications-tYl7M23B.js} +332 -285
- package/components/{CashierVideoModal-CVDvqrcy.js → CashierVideoModal-CM_ySf75.js} +91 -94
- package/components/CashierVideoModal-CZSRGjh-.cjs +1 -0
- package/components/{CashierVideoModal-DHNu0BQz.js → CashierVideoModal-D4tXmX3D.js} +91 -94
- 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-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-BWJXFWH1.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-DIEeZy5u.js} +1 -1
- package/stencil/ui-skeleton-4-zrLsIW.js +11 -0
- package/stencil/ui-skeleton-9boHSjtG.js +29 -0
- package/stencil/ui-skeleton-_yJvAdAL.cjs +1 -0
- package/stencil/ui-skeleton-ae35c6f2-8tYGV8SR.js +155 -0
- package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +55 -0
- package/stencil/ui-skeleton-ae35c6f2-IN_dPA5_.js +155 -0
- package/components/CashierIframeRedirect-3Ttb1Wdk.js +0 -378
- package/components/CashierIframeRedirect-BIMJNSib.js +0 -378
- package/components/CashierIframeRedirect-NF0DKl7A.cjs +0 -1
- package/components/CashierMethodDetails-Cgu5TXSP.cjs +0 -84
- package/components/CashierMethodsList-Bd0awrSP.js +0 -864
- package/components/CashierMethodsList-D4ou6zMr.cjs +0 -1
- package/components/CashierModal-BrwIBn9a.js +0 -232
- package/components/CashierModal-BuM2Yq-y.cjs +0 -1
- package/components/CashierModal-ZfKvGxFq.js +0 -232
- package/components/CashierPage-eEO1eHcj.cjs +0 -1
- package/components/CashierReceiptPage--SlIuxeH.js +0 -1174
- package/components/CashierReceiptPage-Si7b2HWz.js +0 -1172
- package/components/CashierReceiptPage-dUPhckvS.cjs +0 -1
- package/components/CashierSessionExpirationModal-BmFSh_r0.js +0 -1208
- package/components/CashierSessionExpirationModal-CVnU7oKj.cjs +0 -2
- package/components/CashierSessionExpirationModal-QHzlcCYu.js +0 -1208
- package/components/CashierSpinner-BAfTKICK.js +0 -71
- package/components/CashierSpinner-BhmndmKG.cjs +0 -1
- package/components/CashierSpinner-y6HodxHT.js +0 -71
- package/components/CashierTransactionHistory-CBJrAtki.js +0 -569
- package/components/CashierTransactionHistory-DwYyVBtn.cjs +0 -1
- package/components/CashierTransactionHistory-LW9NA8-t.js +0 -569
- package/components/CashierVerifications-CYRbG7DV.cjs +0 -1
- package/components/CashierVideoModal-BZg_b6bd.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
import { S as q, b as N, s as F, f as b, c as P, n as L, e as v, D as a, C as R, v as w, m as k, o as _, B as M, p, q as E, F as Z, A as G, E as J } from "./CashierConfirmModal-BCk4hvRj.js";
|
|
2
|
+
import { a as K, i as Q, $ as V } from "./CashierError-BydkW7s_.js";
|
|
3
|
+
if (typeof window != "undefined") {
|
|
4
|
+
let i = function(e) {
|
|
5
|
+
return function(...t) {
|
|
6
|
+
try {
|
|
7
|
+
return e.apply(this, t);
|
|
8
|
+
} catch (n) {
|
|
9
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
10
|
+
return !1;
|
|
11
|
+
throw n;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
customElements.define = i(customElements.define), import("./CashierHeader-DtS_U-De.js").then(({ default: e }) => {
|
|
16
|
+
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
if (typeof window != "undefined") {
|
|
20
|
+
let i = function(e) {
|
|
21
|
+
return function(...t) {
|
|
22
|
+
try {
|
|
23
|
+
return e.apply(this, t);
|
|
24
|
+
} catch (n) {
|
|
25
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
26
|
+
return !1;
|
|
27
|
+
throw n;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-BdeNFm1c.js").then(({ default: e }) => {
|
|
32
|
+
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function W(i, e) {
|
|
36
|
+
if (i) {
|
|
37
|
+
const t = document.createElement("style");
|
|
38
|
+
t.innerHTML = e, i.appendChild(t);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function X(i, e) {
|
|
42
|
+
const t = new URL(e);
|
|
43
|
+
fetch(t.href).then((n) => n.text()).then((n) => {
|
|
44
|
+
const o = document.createElement("style");
|
|
45
|
+
o.innerHTML = n, i && i.appendChild(o);
|
|
46
|
+
}).catch((n) => {
|
|
47
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function Y(i, e, t) {
|
|
51
|
+
if (window.emMessageBus) {
|
|
52
|
+
const n = document.createElement("style");
|
|
53
|
+
window.emMessageBus.subscribe(e, (o) => {
|
|
54
|
+
n.innerHTML = o, i && i.appendChild(n);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function S(i, e) {
|
|
59
|
+
K(i, e);
|
|
60
|
+
}
|
|
61
|
+
function x(i) {
|
|
62
|
+
Q({
|
|
63
|
+
fallbackLocale: "en"
|
|
64
|
+
}), V.set(i);
|
|
65
|
+
}
|
|
66
|
+
const T = {
|
|
67
|
+
en: {
|
|
68
|
+
redirectHeader: "Deposit redirect"
|
|
69
|
+
},
|
|
70
|
+
"pt-br": {
|
|
71
|
+
redirectHeader: "Redirecionar depósito"
|
|
72
|
+
},
|
|
73
|
+
"es-mx": {
|
|
74
|
+
redirectHeader: "Redirigir depósito"
|
|
75
|
+
},
|
|
76
|
+
tr: {
|
|
77
|
+
redirectHeader: "Para yatırma yönlendirmesi"
|
|
78
|
+
},
|
|
79
|
+
"en-us": {
|
|
80
|
+
redirectHeader: "Deposit redirect"
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
function $(i) {
|
|
84
|
+
P(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
85
|
+
}
|
|
86
|
+
function D(i) {
|
|
87
|
+
let e, t, n;
|
|
88
|
+
return {
|
|
89
|
+
c() {
|
|
90
|
+
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
91
|
+
},
|
|
92
|
+
m(o, h) {
|
|
93
|
+
k(o, e, h), t || (n = M(
|
|
94
|
+
e,
|
|
95
|
+
"click",
|
|
96
|
+
/*close*/
|
|
97
|
+
i[10]
|
|
98
|
+
), t = !0);
|
|
99
|
+
},
|
|
100
|
+
p: L,
|
|
101
|
+
d(o) {
|
|
102
|
+
o && v(e), t = !1, n();
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function O(i) {
|
|
107
|
+
let e, t, n;
|
|
108
|
+
return {
|
|
109
|
+
c() {
|
|
110
|
+
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
111
|
+
},
|
|
112
|
+
m(o, h) {
|
|
113
|
+
k(o, e, h), t || (n = M(
|
|
114
|
+
e,
|
|
115
|
+
"click",
|
|
116
|
+
/*close*/
|
|
117
|
+
i[10]
|
|
118
|
+
), t = !0);
|
|
119
|
+
},
|
|
120
|
+
p: L,
|
|
121
|
+
d(o) {
|
|
122
|
+
o && v(e), t = !1, n();
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function j(i) {
|
|
127
|
+
let e;
|
|
128
|
+
return {
|
|
129
|
+
c() {
|
|
130
|
+
e = p("cashier-spinner"), a(
|
|
131
|
+
e,
|
|
132
|
+
"clientstylingurl",
|
|
133
|
+
/*clientstylingurl*/
|
|
134
|
+
i[6]
|
|
135
|
+
), a(
|
|
136
|
+
e,
|
|
137
|
+
"clientstyling",
|
|
138
|
+
/*clientstyling*/
|
|
139
|
+
i[5]
|
|
140
|
+
), a(
|
|
141
|
+
e,
|
|
142
|
+
"mbsource",
|
|
143
|
+
/*mbsource*/
|
|
144
|
+
i[4]
|
|
145
|
+
);
|
|
146
|
+
},
|
|
147
|
+
m(t, n) {
|
|
148
|
+
k(t, e, n);
|
|
149
|
+
},
|
|
150
|
+
p(t, n) {
|
|
151
|
+
n & /*clientstylingurl*/
|
|
152
|
+
64 && a(
|
|
153
|
+
e,
|
|
154
|
+
"clientstylingurl",
|
|
155
|
+
/*clientstylingurl*/
|
|
156
|
+
t[6]
|
|
157
|
+
), n & /*clientstyling*/
|
|
158
|
+
32 && a(
|
|
159
|
+
e,
|
|
160
|
+
"clientstyling",
|
|
161
|
+
/*clientstyling*/
|
|
162
|
+
t[5]
|
|
163
|
+
), n & /*mbsource*/
|
|
164
|
+
16 && a(
|
|
165
|
+
e,
|
|
166
|
+
"mbsource",
|
|
167
|
+
/*mbsource*/
|
|
168
|
+
t[4]
|
|
169
|
+
);
|
|
170
|
+
},
|
|
171
|
+
d(t) {
|
|
172
|
+
t && v(e);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
function ee(i) {
|
|
177
|
+
let e, t, n, o, h, m, d, g, y, c = !!/*showbackbutton*/
|
|
178
|
+
i[3] && /*showbackbutton*/
|
|
179
|
+
i[3] !== "false" && D(i), r = (!/*showbackbutton*/
|
|
180
|
+
i[3] || /*showbackbutton*/
|
|
181
|
+
i[3] === "false") && O(i), u = (
|
|
182
|
+
/*isLoading*/
|
|
183
|
+
i[9] && j(i)
|
|
184
|
+
);
|
|
185
|
+
return {
|
|
186
|
+
c() {
|
|
187
|
+
e = p("div"), t = p("cashier-header"), c && c.c(), n = E(), r && r.c(), o = E(), u && u.c(), h = E(), m = p("iframe"), a(
|
|
188
|
+
t,
|
|
189
|
+
"lang",
|
|
190
|
+
/*lang*/
|
|
191
|
+
i[0]
|
|
192
|
+
), a(
|
|
193
|
+
t,
|
|
194
|
+
"translationurl",
|
|
195
|
+
/*translationurl*/
|
|
196
|
+
i[2]
|
|
197
|
+
), a(
|
|
198
|
+
t,
|
|
199
|
+
"title",
|
|
200
|
+
/*title*/
|
|
201
|
+
i[7]
|
|
202
|
+
), a(
|
|
203
|
+
t,
|
|
204
|
+
"showbackbutton",
|
|
205
|
+
/*showbackbutton*/
|
|
206
|
+
i[3]
|
|
207
|
+
), a(
|
|
208
|
+
t,
|
|
209
|
+
"clientstylingurl",
|
|
210
|
+
/*clientstylingurl*/
|
|
211
|
+
i[6]
|
|
212
|
+
), a(
|
|
213
|
+
t,
|
|
214
|
+
"clientstyling",
|
|
215
|
+
/*clientstyling*/
|
|
216
|
+
i[5]
|
|
217
|
+
), a(
|
|
218
|
+
t,
|
|
219
|
+
"mbsource",
|
|
220
|
+
/*mbsource*/
|
|
221
|
+
i[4]
|
|
222
|
+
), R(m.src, d = /*iframeurl*/
|
|
223
|
+
i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
224
|
+
},
|
|
225
|
+
m(l, f) {
|
|
226
|
+
k(l, e, f), _(e, t), c && c.m(t, null), _(t, n), r && r.m(t, null), _(e, o), u && u.m(e, null), _(e, h), _(e, m), i[13](e), g || (y = M(
|
|
227
|
+
m,
|
|
228
|
+
"load",
|
|
229
|
+
/*load_handler*/
|
|
230
|
+
i[12]
|
|
231
|
+
), g = !0);
|
|
232
|
+
},
|
|
233
|
+
p(l, [f]) {
|
|
234
|
+
/*showbackbutton*/
|
|
235
|
+
l[3] && /*showbackbutton*/
|
|
236
|
+
l[3] !== "false" ? c ? c.p(l, f) : (c = D(l), c.c(), c.m(t, n)) : c && (c.d(1), c = null), !/*showbackbutton*/
|
|
237
|
+
l[3] || /*showbackbutton*/
|
|
238
|
+
l[3] === "false" ? r ? r.p(l, f) : (r = O(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
|
|
239
|
+
1 && a(
|
|
240
|
+
t,
|
|
241
|
+
"lang",
|
|
242
|
+
/*lang*/
|
|
243
|
+
l[0]
|
|
244
|
+
), f & /*translationurl*/
|
|
245
|
+
4 && a(
|
|
246
|
+
t,
|
|
247
|
+
"translationurl",
|
|
248
|
+
/*translationurl*/
|
|
249
|
+
l[2]
|
|
250
|
+
), f & /*title*/
|
|
251
|
+
128 && a(
|
|
252
|
+
t,
|
|
253
|
+
"title",
|
|
254
|
+
/*title*/
|
|
255
|
+
l[7]
|
|
256
|
+
), f & /*showbackbutton*/
|
|
257
|
+
8 && a(
|
|
258
|
+
t,
|
|
259
|
+
"showbackbutton",
|
|
260
|
+
/*showbackbutton*/
|
|
261
|
+
l[3]
|
|
262
|
+
), f & /*clientstylingurl*/
|
|
263
|
+
64 && a(
|
|
264
|
+
t,
|
|
265
|
+
"clientstylingurl",
|
|
266
|
+
/*clientstylingurl*/
|
|
267
|
+
l[6]
|
|
268
|
+
), f & /*clientstyling*/
|
|
269
|
+
32 && a(
|
|
270
|
+
t,
|
|
271
|
+
"clientstyling",
|
|
272
|
+
/*clientstyling*/
|
|
273
|
+
l[5]
|
|
274
|
+
), f & /*mbsource*/
|
|
275
|
+
16 && a(
|
|
276
|
+
t,
|
|
277
|
+
"mbsource",
|
|
278
|
+
/*mbsource*/
|
|
279
|
+
l[4]
|
|
280
|
+
), /*isLoading*/
|
|
281
|
+
l[9] ? u ? u.p(l, f) : (u = j(l), u.c(), u.m(e, h)) : u && (u.d(1), u = null), f & /*iframeurl*/
|
|
282
|
+
2 && !R(m.src, d = /*iframeurl*/
|
|
283
|
+
l[1]) && w(m, "src", d);
|
|
284
|
+
},
|
|
285
|
+
i: L,
|
|
286
|
+
o: L,
|
|
287
|
+
d(l) {
|
|
288
|
+
l && v(e), c && c.d(), r && r.d(), u && u.d(), i[13](null), g = !1, y();
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
function te(i, e, t) {
|
|
293
|
+
let { lang: n = "en" } = e, { iframeurl: o } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: c = "" } = e, r, u = !0;
|
|
294
|
+
const l = () => {
|
|
295
|
+
let s = h;
|
|
296
|
+
if (s)
|
|
297
|
+
return fetch(s).then((C) => C.json()).then((C) => {
|
|
298
|
+
Object.keys(C).forEach((B) => {
|
|
299
|
+
S(B, C[B]);
|
|
300
|
+
});
|
|
301
|
+
}).catch((C) => {
|
|
302
|
+
console.log(C);
|
|
303
|
+
});
|
|
304
|
+
};
|
|
305
|
+
Object.keys(T).forEach((s) => {
|
|
306
|
+
S(s, T[s]);
|
|
307
|
+
});
|
|
308
|
+
const f = () => {
|
|
309
|
+
x(n);
|
|
310
|
+
}, z = () => {
|
|
311
|
+
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
312
|
+
}, H = (s) => {
|
|
313
|
+
s.target.src && t(9, u = !1);
|
|
314
|
+
};
|
|
315
|
+
Z(() => () => {
|
|
316
|
+
});
|
|
317
|
+
const A = (s) => H(s);
|
|
318
|
+
function U(s) {
|
|
319
|
+
G[s ? "unshift" : "push"](() => {
|
|
320
|
+
r = s, t(8, r);
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
return i.$$set = (s) => {
|
|
324
|
+
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, o = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, c = s.title);
|
|
325
|
+
}, i.$$.update = () => {
|
|
326
|
+
i.$$.dirty & /*lang*/
|
|
327
|
+
1 && n && f(), i.$$.dirty & /*translationurl*/
|
|
328
|
+
4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
329
|
+
288 && g && r && W(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
330
|
+
320 && y && r && X(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
331
|
+
272 && d && r && Y(r, `${d}.Style`);
|
|
332
|
+
}, [
|
|
333
|
+
n,
|
|
334
|
+
o,
|
|
335
|
+
h,
|
|
336
|
+
m,
|
|
337
|
+
d,
|
|
338
|
+
g,
|
|
339
|
+
y,
|
|
340
|
+
c,
|
|
341
|
+
r,
|
|
342
|
+
u,
|
|
343
|
+
z,
|
|
344
|
+
H,
|
|
345
|
+
A,
|
|
346
|
+
U
|
|
347
|
+
];
|
|
348
|
+
}
|
|
349
|
+
class I extends q {
|
|
350
|
+
constructor(e) {
|
|
351
|
+
super(), N(
|
|
352
|
+
this,
|
|
353
|
+
e,
|
|
354
|
+
te,
|
|
355
|
+
ee,
|
|
356
|
+
F,
|
|
357
|
+
{
|
|
358
|
+
lang: 0,
|
|
359
|
+
iframeurl: 1,
|
|
360
|
+
translationurl: 2,
|
|
361
|
+
showbackbutton: 3,
|
|
362
|
+
mbsource: 4,
|
|
363
|
+
clientstyling: 5,
|
|
364
|
+
clientstylingurl: 6,
|
|
365
|
+
title: 7
|
|
366
|
+
},
|
|
367
|
+
$
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
get lang() {
|
|
371
|
+
return this.$$.ctx[0];
|
|
372
|
+
}
|
|
373
|
+
set lang(e) {
|
|
374
|
+
this.$$set({ lang: e }), b();
|
|
375
|
+
}
|
|
376
|
+
get iframeurl() {
|
|
377
|
+
return this.$$.ctx[1];
|
|
378
|
+
}
|
|
379
|
+
set iframeurl(e) {
|
|
380
|
+
this.$$set({ iframeurl: e }), b();
|
|
381
|
+
}
|
|
382
|
+
get translationurl() {
|
|
383
|
+
return this.$$.ctx[2];
|
|
384
|
+
}
|
|
385
|
+
set translationurl(e) {
|
|
386
|
+
this.$$set({ translationurl: e }), b();
|
|
387
|
+
}
|
|
388
|
+
get showbackbutton() {
|
|
389
|
+
return this.$$.ctx[3];
|
|
390
|
+
}
|
|
391
|
+
set showbackbutton(e) {
|
|
392
|
+
this.$$set({ showbackbutton: e }), b();
|
|
393
|
+
}
|
|
394
|
+
get mbsource() {
|
|
395
|
+
return this.$$.ctx[4];
|
|
396
|
+
}
|
|
397
|
+
set mbsource(e) {
|
|
398
|
+
this.$$set({ mbsource: e }), b();
|
|
399
|
+
}
|
|
400
|
+
get clientstyling() {
|
|
401
|
+
return this.$$.ctx[5];
|
|
402
|
+
}
|
|
403
|
+
set clientstyling(e) {
|
|
404
|
+
this.$$set({ clientstyling: e }), b();
|
|
405
|
+
}
|
|
406
|
+
get clientstylingurl() {
|
|
407
|
+
return this.$$.ctx[6];
|
|
408
|
+
}
|
|
409
|
+
set clientstylingurl(e) {
|
|
410
|
+
this.$$set({ clientstylingurl: e }), b();
|
|
411
|
+
}
|
|
412
|
+
get title() {
|
|
413
|
+
return this.$$.ctx[7];
|
|
414
|
+
}
|
|
415
|
+
set title(e) {
|
|
416
|
+
this.$$set({ title: e }), b();
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
J(I, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
420
|
+
const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
421
|
+
__proto__: null,
|
|
422
|
+
default: I
|
|
423
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
424
|
+
export {
|
|
425
|
+
se as C,
|
|
426
|
+
X as a,
|
|
427
|
+
Y as b,
|
|
428
|
+
W as s
|
|
429
|
+
};
|