@everymatrix/cashier-page 1.87.26 → 1.87.102
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/{CashierCarousel-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
- package/components/CashierCarousel-BhLbwlL5.js +5736 -0
- package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
- package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
- package/components/CashierError-BN1XW0cs.cjs +1 -0
- package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
- package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
- package/components/CashierError-CXcO-Kju.js +415 -0
- package/components/CashierError-CXwvUOLy.js +415 -0
- package/components/CashierError-D4Au4WNB.cjs +1 -0
- package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
- package/components/CashierHeader-BhGRQhkm.cjs +1 -0
- package/components/CashierHeader-C_Mz7ISU.js +397 -0
- package/components/CashierHeader-CaV1gcjZ.js +397 -0
- package/components/CashierHeader-CmAjJv-w.cjs +1 -0
- package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
- package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
- package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
- package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
- package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
- package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
- package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
- package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
- package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
- package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
- package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
- package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
- package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
- package/components/CashierMethodsList-B6tMxcnh.js +794 -0
- package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
- package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
- package/components/CashierMethodsList-DSq72RRw.js +809 -0
- package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
- package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
- package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
- package/components/CashierModal-C845c3D0.cjs +1 -0
- package/components/CashierModal-CTYxaPKG.js +366 -0
- package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
- package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
- package/components/CashierModal-ndVMjksn.js +382 -0
- package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
- package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/CashierNotifications-D4fUbROm.js +129 -0
- package/components/CashierNotifications-JNstA5Yb.js +129 -0
- package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
- package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
- package/components/CashierPage-4nTfbT_j.js +3994 -0
- package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
- package/components/CashierPage-Bd71Nhaq.js +4020 -0
- package/components/CashierPage-CHtYMgc0.cjs +1 -0
- package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
- package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
- package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
- package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
- package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
- package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
- package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
- package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
- package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
- package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
- package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
- package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
- package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
- package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
- package/components/CashierSpinner-C0P8ZCtD.js +78 -0
- package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/CashierSpinner-CikMZBzw.cjs +1 -0
- package/components/CashierSpinner-DJTUb5NI.js +78 -0
- package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/CashierStepUp-5um8gbUX.js +1068 -0
- package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
- package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
- package/components/CashierStepUp-CxawlCYf.cjs +1 -0
- package/components/CashierStepUp-CyO7gmgP.js +1107 -0
- package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
- package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
- package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
- package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
- package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
- package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
- package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
- package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
- package/components/CashierVerifications-BmZYiJaN.js +578 -0
- package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
- package/components/CashierVerifications-DkayuISY.cjs +1 -0
- package/components/CashierVerifications-hID6hjDs.js +582 -0
- package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
- package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
- package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
- package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
- package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
- package/components/TxnStatusIcon-VvYGYLio.js +142 -0
- package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
- package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/TxnTypeIcons-lKki7AUK.js +101 -0
- package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
- package/components/TxnTypeIcons-zM86UKOx.js +101 -0
- 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/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
- package/components/CashierError-BOmVvy3N.cjs +0 -1
- package/components/CashierHeader-B7XYr24D.cjs +0 -1
- package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
- package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
- package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-GM1WPyu3.cjs");if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){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"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-BhGRQhkm.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}function y(i,t){e.addMessages(i,t)}function j(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const C={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){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"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-CikMZBzw.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function q(i){e.append_styles(i,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}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;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}")}function v(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function L(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function D(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&L(i),c=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),c&&c.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,u){e.insert(r,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=L(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(n,"lang",r[0]),u&4&&e.set_custom_element_data(n,"translationurl",r[2]),u&128&&e.set_custom_element_data(n,"title",r[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),u&32&&e.set_custom_element_data(n,"clientstyling",r[5]),u&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?c?c.p(r,u):(c=k(r),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,r=!0;const u=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(C).forEach(l=>{y(l,C[l])});const S=()=>{j(s)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,r=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),H=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{H()}));const R=l=>w(l);function F(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&S(),i.$$.dirty&4&&m&&u(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`,c)},[s,f,m,d,h,g,_,o,a,r,M,w,R,F]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,O,D,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},q)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as U, i as Z, $ as G, S as P, b as J, f as b, c as K, s as Q, d as V, g as p, h as E, F as a, E as H, j as w, k, l as _, z as S, G as L, p as v, r as W, v as X, B as Y, C as x, D as $ } from "./CashierCarousel-BS_3salc.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let i = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,19 +11,19 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
14
|
+
customElements.define = i(customElements.define), import("./CashierHeader-CaV1gcjZ.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
|
|
18
|
+
function F(i, e) {
|
|
19
|
+
U(i, e);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
21
|
+
function ee(i) {
|
|
22
|
+
Z({
|
|
23
23
|
fallbackLocale: "en"
|
|
24
|
-
}),
|
|
24
|
+
}), G.set(i);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const R = {
|
|
27
27
|
en: {
|
|
28
28
|
redirectHeader: "Deposit redirect"
|
|
29
29
|
},
|
|
@@ -46,21 +46,21 @@ if (typeof window != "undefined") {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
49
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-C0P8ZCtD.js").then(({ default: e }) => {
|
|
50
50
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
53
|
+
function te(i) {
|
|
54
|
+
V(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}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;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}");
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function D(i) {
|
|
57
57
|
let e, t, n;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
60
|
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
61
61
|
},
|
|
62
|
-
m(f,
|
|
63
|
-
|
|
62
|
+
m(f, h) {
|
|
63
|
+
k(f, e, h), t || (n = S(
|
|
64
64
|
e,
|
|
65
65
|
"click",
|
|
66
66
|
/*close*/
|
|
@@ -69,7 +69,7 @@ function F(i) {
|
|
|
69
69
|
},
|
|
70
70
|
p: L,
|
|
71
71
|
d(f) {
|
|
72
|
-
f &&
|
|
72
|
+
f && v(e), t = !1, n();
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
}
|
|
@@ -79,8 +79,8 @@ function j(i) {
|
|
|
79
79
|
c() {
|
|
80
80
|
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
81
81
|
},
|
|
82
|
-
m(f,
|
|
83
|
-
|
|
82
|
+
m(f, h) {
|
|
83
|
+
k(f, e, h), t || (n = S(
|
|
84
84
|
e,
|
|
85
85
|
"click",
|
|
86
86
|
/*close*/
|
|
@@ -89,11 +89,11 @@ function j(i) {
|
|
|
89
89
|
},
|
|
90
90
|
p: L,
|
|
91
91
|
d(f) {
|
|
92
|
-
f &&
|
|
92
|
+
f && v(e), t = !1, n();
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function I(i) {
|
|
97
97
|
let e;
|
|
98
98
|
return {
|
|
99
99
|
c() {
|
|
@@ -115,7 +115,7 @@ function A(i) {
|
|
|
115
115
|
);
|
|
116
116
|
},
|
|
117
117
|
m(t, n) {
|
|
118
|
-
|
|
118
|
+
k(t, e, n);
|
|
119
119
|
},
|
|
120
120
|
p(t, n) {
|
|
121
121
|
n & /*clientstylingurl*/
|
|
@@ -139,22 +139,22 @@ function A(i) {
|
|
|
139
139
|
);
|
|
140
140
|
},
|
|
141
141
|
d(t) {
|
|
142
|
-
t &&
|
|
142
|
+
t && v(e);
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
let e, t, n, f,
|
|
146
|
+
function ie(i) {
|
|
147
|
+
let e, t, n, f, h, m, d, g, y, o = !!/*showbackbutton*/
|
|
148
148
|
i[3] && /*showbackbutton*/
|
|
149
|
-
i[3] !== "false" &&
|
|
149
|
+
i[3] !== "false" && D(i), r = (!/*showbackbutton*/
|
|
150
150
|
i[3] || /*showbackbutton*/
|
|
151
151
|
i[3] === "false") && j(i), c = (
|
|
152
152
|
/*isLoading*/
|
|
153
|
-
i[9] &&
|
|
153
|
+
i[9] && I(i)
|
|
154
154
|
);
|
|
155
155
|
return {
|
|
156
156
|
c() {
|
|
157
|
-
e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(),
|
|
157
|
+
e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), h = E(), m = p("iframe"), a(
|
|
158
158
|
t,
|
|
159
159
|
"lang",
|
|
160
160
|
/*lang*/
|
|
@@ -189,12 +189,12 @@ function te(i) {
|
|
|
189
189
|
"mbsource",
|
|
190
190
|
/*mbsource*/
|
|
191
191
|
i[4]
|
|
192
|
-
), H(
|
|
193
|
-
i[1]) || w(
|
|
192
|
+
), H(m.src, d = /*iframeurl*/
|
|
193
|
+
i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
194
194
|
},
|
|
195
195
|
m(l, u) {
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
k(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, h), _(e, m), i[13](e), g || (y = S(
|
|
197
|
+
m,
|
|
198
198
|
"load",
|
|
199
199
|
/*load_handler*/
|
|
200
200
|
i[12]
|
|
@@ -203,7 +203,7 @@ function te(i) {
|
|
|
203
203
|
p(l, [u]) {
|
|
204
204
|
/*showbackbutton*/
|
|
205
205
|
l[3] && /*showbackbutton*/
|
|
206
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
206
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = D(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
207
207
|
l[3] || /*showbackbutton*/
|
|
208
208
|
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
209
209
|
1 && a(
|
|
@@ -248,83 +248,83 @@ function te(i) {
|
|
|
248
248
|
/*mbsource*/
|
|
249
249
|
l[4]
|
|
250
250
|
), /*isLoading*/
|
|
251
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
252
|
-
2 && !H(
|
|
253
|
-
l[1]) && w(
|
|
251
|
+
l[9] ? c ? c.p(l, u) : (c = I(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
252
|
+
2 && !H(m.src, d = /*iframeurl*/
|
|
253
|
+
l[1]) && w(m, "src", d);
|
|
254
254
|
},
|
|
255
255
|
i: L,
|
|
256
256
|
o: L,
|
|
257
257
|
d(l) {
|
|
258
|
-
l &&
|
|
258
|
+
l && v(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl:
|
|
264
|
-
const
|
|
265
|
-
let s =
|
|
262
|
+
function ne(i, e, t) {
|
|
263
|
+
let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
|
|
264
|
+
const u = () => {
|
|
265
|
+
let s = h;
|
|
266
266
|
if (s)
|
|
267
267
|
return fetch(s).then((C) => C.json()).then((C) => {
|
|
268
268
|
Object.keys(C).forEach((B) => {
|
|
269
|
-
|
|
269
|
+
F(B, C[B]);
|
|
270
270
|
});
|
|
271
271
|
}).catch((C) => {
|
|
272
272
|
console.log(C);
|
|
273
273
|
});
|
|
274
274
|
};
|
|
275
|
-
Object.keys(
|
|
276
|
-
|
|
275
|
+
Object.keys(R).forEach((s) => {
|
|
276
|
+
F(s, R[s]);
|
|
277
277
|
});
|
|
278
|
-
const
|
|
279
|
-
|
|
280
|
-
},
|
|
278
|
+
const O = () => {
|
|
279
|
+
ee(n);
|
|
280
|
+
}, T = () => {
|
|
281
281
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
282
282
|
}, M = (s) => {
|
|
283
|
-
s.target.src && t(9,
|
|
284
|
-
},
|
|
285
|
-
|
|
286
|
-
|
|
283
|
+
s.target.src && t(9, l = !1);
|
|
284
|
+
}, z = () => window.postMessage({ type: "DisableScroll" }, window.location.href), A = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
285
|
+
W(() => (z(), () => {
|
|
286
|
+
A();
|
|
287
287
|
}));
|
|
288
|
-
const
|
|
288
|
+
const N = (s) => M(s);
|
|
289
289
|
function q(s) {
|
|
290
|
-
|
|
290
|
+
Y[s ? "unshift" : "push"](() => {
|
|
291
291
|
r = s, t(8, r);
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
294
|
return i.$$set = (s) => {
|
|
295
|
-
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2,
|
|
295
|
+
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = 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, o = s.title);
|
|
296
296
|
}, i.$$.update = () => {
|
|
297
297
|
i.$$.dirty & /*lang*/
|
|
298
|
-
1 && n &&
|
|
299
|
-
4 &&
|
|
300
|
-
288 && g && r &&
|
|
301
|
-
320 && y && r &&
|
|
302
|
-
272 && d && r &&
|
|
298
|
+
1 && n && O(), i.$$.dirty & /*translationurl*/
|
|
299
|
+
4 && h && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
300
|
+
288 && g && r && x(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
301
|
+
320 && y && r && $(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
302
|
+
272 && d && r && X(r, `${d}.Style`, c);
|
|
303
303
|
}, [
|
|
304
304
|
n,
|
|
305
305
|
f,
|
|
306
|
-
m,
|
|
307
306
|
h,
|
|
307
|
+
m,
|
|
308
308
|
d,
|
|
309
309
|
g,
|
|
310
310
|
y,
|
|
311
311
|
o,
|
|
312
312
|
r,
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
l,
|
|
314
|
+
T,
|
|
315
315
|
M,
|
|
316
|
-
|
|
316
|
+
N,
|
|
317
317
|
q
|
|
318
318
|
];
|
|
319
319
|
}
|
|
320
|
-
class
|
|
320
|
+
class se extends P {
|
|
321
321
|
constructor(e) {
|
|
322
|
-
super(),
|
|
322
|
+
super(), J(
|
|
323
323
|
this,
|
|
324
324
|
e,
|
|
325
|
+
ne,
|
|
325
326
|
ie,
|
|
326
|
-
|
|
327
|
-
J,
|
|
327
|
+
Q,
|
|
328
328
|
{
|
|
329
329
|
lang: 0,
|
|
330
330
|
iframeurl: 1,
|
|
@@ -335,7 +335,7 @@ class ne extends G {
|
|
|
335
335
|
clientstylingurl: 6,
|
|
336
336
|
title: 7
|
|
337
337
|
},
|
|
338
|
-
|
|
338
|
+
te
|
|
339
339
|
);
|
|
340
340
|
}
|
|
341
341
|
get lang() {
|
|
@@ -387,7 +387,7 @@ class ne extends G {
|
|
|
387
387
|
this.$$set({ title: e }), b();
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
|
|
390
|
+
K(se, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
391
391
|
export {
|
|
392
|
-
|
|
392
|
+
se as default
|
|
393
393
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-CfPrrhkY.cjs");if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){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"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-CmAjJv-w.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}function C(i,t){e.addMessages(i,t)}function H(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const p={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){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"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-ODmoTC6W.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function q(i){e.append_styles(i,"svelte-1ex0q4o",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}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;width:100%;height:100%}.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;fill:var(--emw--color-primary, #F9C405)}")}function L(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function v(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function R(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),r=(!i[3]||i[3]==="false")&&v(i),u=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),r&&r.c(),f=e.space(),u&&u.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(a,c){e.insert(a,t,c),e.append(t,n),o&&o.m(n,null),e.append(n,s),r&&r.m(n,null),e.append(t,f),u&&u.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(a,[c]){a[3]&&a[3]!=="false"?o?o.p(a,c):(o=L(a),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!a[3]||a[3]==="false"?r?r.p(a,c):(r=v(a),r.c(),r.m(n,null)):r&&(r.d(1),r=null),c&1&&e.set_custom_element_data(n,"lang",a[0]),c&4&&e.set_custom_element_data(n,"translationurl",a[2]),c&128&&e.set_custom_element_data(n,"title",a[7]),c&8&&e.set_custom_element_data(n,"showbackbutton",a[3]),c&64&&e.set_custom_element_data(n,"clientstylingurl",a[6]),c&32&&e.set_custom_element_data(n,"clientstyling",a[5]),c&16&&e.set_custom_element_data(n,"mbsource",a[4]),a[9]?u?u.p(a,c):(u=k(a),u.c(),u.m(t,m)):u&&(u.d(1),u=null),c&2&&!e.src_url_equal(d.src,h=a[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o&&o.d(),r&&r.d(),u&&u.d(),i[13](null),g=!1,_()}}}function j(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,r,u=!0;const a=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(y=>{C(y,b[y])})}).catch(b=>{console.log(b)})};Object.keys(p).forEach(l=>{C(l,p[l])});const c=()=>{H(s)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const S=l=>w(l);function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{r=l,n(8,r)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&c(),i.$$.dirty&4&&m&&a(),i.$$.dirty&288&&g&&r&&e.setClientStyling(r,g),i.$$.dirty&320&&_&&r&&e.setClientStylingURL(r,_),i.$$.dirty&272&&h&&r&&e.setStreamStyling(r,`${h}.Style`)},[s,f,m,d,h,g,_,o,r,u,M,w,S,B]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,j,R,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},q)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;
|