@everymatrix/cashier-iframe-redirect 1.94.36 → 1.94.38
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/CashierHeader-BV5k5voz.cjs +1 -0
- package/components/{CashierHeader-Bchlv4fD.js → CashierHeader-BnjmhKlL.js} +127 -106
- package/components/{CashierHeader-DVRZhEum.js → CashierHeader-V1vIoagX.js} +126 -105
- package/components/{CashierIframeRedirect-BBCfdOSQ.js → CashierIframeRedirect-CDwJQB56.js} +11 -2
- package/components/{CashierIframeRedirect-Bz2C76cq.js → CashierIframeRedirect-CRUP1rm1.js} +11 -2
- package/components/{CashierIframeRedirect-DgEZqtwf.cjs → CashierIframeRedirect-Dp-Oia-l.cjs} +1 -1
- package/components/{CashierSpinner-uPHnL4Gf.js → CashierSpinner-BMvR7X7u.js} +1 -1
- package/components/{CashierSpinner-B6I-tidO.js → CashierSpinner-D0F-BdIs.js} +1 -1
- package/components/{CashierSpinner-D_ZT0c91.cjs → CashierSpinner-DiZBjE5d.cjs} +1 -1
- package/es2015/cashier-iframe-redirect.cjs +1 -1
- package/es2015/cashier-iframe-redirect.js +1 -1
- package/esnext/cashier-iframe-redirect.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-C1ymud0r.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-Dp-Oia-l.cjs");function k(i,e){t.addMessages(i,e)}function I(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}},da:{header:{general:"Kasse",deposit:"Indbetaling",withdraw:"Udbetaling"}},de:{header:{general:"Kasse",deposit:"Einzahlung",withdraw:"Auszahlung"}},nl:{header:{general:"Kassa",deposit:"Storting",withdraw:"Opname"}}};function K(i){t.append_styles(i,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.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)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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)}")}const U=i=>({}),v=i=>({}),q=i=>({}),L=i=>({}),x=i=>({}),H=i=>({});function S(i){let e,n,o;return{c(){e=t.element("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>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function D(i){let e,n=i[1]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function P(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,h){t.insert(s,e,h),t.append(e,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function M(i){let e,n,o;return{c(){e=t.element("span"),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>',t.attr(e,"class","CashierHeaderRightButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[3]&&M(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n,o,s;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],H),r=m||D(i),w=i[16].title,g=t.create_slot(w,i,i[15],L),c=g||P(i),d=i[16].rightButton,_=t.create_slot(d,i,i[15],v),u=_||Z(i);return{c(){e=t.element("div"),r&&r.c(),n=t.space(),c&&c.c(),o=t.space(),u&&u.c(),t.attr(e,"class","CashierHeader")},m(l,f){t.insert(l,e,f),r&&r.m(e,null),t.append(e,n),c&&c.m(e,null),t.append(e,o),u&&u.m(e,null),i[17](e),s=!0},p(l,[f]){m?m.p&&(!s||f&32768)&&t.update_slot_base(m,h,l,l[15],s?t.get_slot_changes(h,l[15],f,x):t.get_all_dirty_from_scope(l[15]),H):r&&r.p&&(!s||f&2)&&r.p(l,s?f:-1),g?g.p&&(!s||f&32768)&&t.update_slot_base(g,w,l,l[15],s?t.get_slot_changes(w,l[15],f,q):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||f&20)&&c.p(l,s?f:-1),_?_.p&&(!s||f&32768)&&t.update_slot_base(_,d,l,l[15],s?t.get_slot_changes(d,l[15],f,U):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||f&8)&&u.p(l,s?f:-1)},i(l){s||(t.transition_in(r,l),t.transition_in(c,l),t.transition_in(u,l),s=!0)},o(l){t.transition_out(r,l),t.transition_out(c,l),t.transition_out(u,l),s=!1},d(l){l&&t.detach(e),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:g=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,{showclosebutton:_=""}=e,{mbsource:u=""}=e,l,f,b=!1,p,C=!1;const F=()=>{fetch(w).then(a=>a.json()).then(a=>{Object.keys(a).forEach(y=>{k(y,a[y])})}).catch(a=>{console.log(a)})};Object.keys(B).forEach(a=>{k(a,B[a])});const z=()=>{I(d)},R=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},j=()=>{window.postMessage({type:"BackCashier"},window.location.href)},A=()=>{n(1,b=!!g&&g!=="false")},N=()=>{n(3,C=!!_&&_!=="false")},O=()=>{n(2,p=c||"header.general")};t.onMount(()=>()=>{});function E(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,w=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,d=a.lang),"showclosebutton"in a&&n(13,_=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&d&&z(),i.$$.dirty&6144&&d&&c&&O(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&t.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&t.setStreamStyling(l,`${u}.Style`,f),i.$$.dirty&4608&&d&&w&&F(),i.$$.dirty&1024&&g&&A(),i.$$.dirty&8192&&_&&N()},[l,b,p,C,o,R,j,m,r,w,g,c,d,_,u,h,s,E]}class T extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,W,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},K)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as X, i as $, $ as tt, S as et, b as st, s as
|
|
1
|
+
import { a as X, i as $, $ as tt, S as et, b as st, s as nt, f as w, c as it, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as M, m as p, n as j, o as k, p as lt, q as at, r as U, v as ot, w as rt, x as ct, y as q, z as I, A as ut, B as ft, C as ht, D as gt, E as dt } from "./CashierIframeRedirect-CRUP1rm1.js";
|
|
2
2
|
function N(s, t) {
|
|
3
3
|
X(s, t);
|
|
4
4
|
}
|
|
@@ -28,47 +28,68 @@ const R = {
|
|
|
28
28
|
deposit: "Dépôt",
|
|
29
29
|
withdraw: "Retrait"
|
|
30
30
|
}
|
|
31
|
+
},
|
|
32
|
+
da: {
|
|
33
|
+
header: {
|
|
34
|
+
general: "Kasse",
|
|
35
|
+
deposit: "Indbetaling",
|
|
36
|
+
withdraw: "Udbetaling"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
de: {
|
|
40
|
+
header: {
|
|
41
|
+
general: "Kasse",
|
|
42
|
+
deposit: "Einzahlung",
|
|
43
|
+
withdraw: "Auszahlung"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
nl: {
|
|
47
|
+
header: {
|
|
48
|
+
general: "Kassa",
|
|
49
|
+
deposit: "Storting",
|
|
50
|
+
withdraw: "Opname"
|
|
51
|
+
}
|
|
31
52
|
}
|
|
32
53
|
};
|
|
33
54
|
function mt(s) {
|
|
34
|
-
|
|
55
|
+
it(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.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)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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)}");
|
|
35
56
|
}
|
|
36
|
-
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}),
|
|
37
|
-
function
|
|
57
|
+
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
|
|
58
|
+
function D(s) {
|
|
38
59
|
let t, e, l;
|
|
39
60
|
return {
|
|
40
61
|
c() {
|
|
41
62
|
t = p("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>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
63
|
},
|
|
43
|
-
m(
|
|
44
|
-
C(
|
|
64
|
+
m(n, f) {
|
|
65
|
+
C(n, t, f), e || (l = I(
|
|
45
66
|
t,
|
|
46
67
|
"click",
|
|
47
68
|
/*back*/
|
|
48
69
|
s[6]
|
|
49
70
|
), e = !0);
|
|
50
71
|
},
|
|
51
|
-
p:
|
|
52
|
-
d(
|
|
53
|
-
|
|
72
|
+
p: q,
|
|
73
|
+
d(n) {
|
|
74
|
+
n && b(t), e = !1, l();
|
|
54
75
|
}
|
|
55
76
|
};
|
|
56
77
|
}
|
|
57
78
|
function pt(s) {
|
|
58
79
|
let t, e = (
|
|
59
80
|
/*backButton*/
|
|
60
|
-
s[1] &&
|
|
81
|
+
s[1] && D(s)
|
|
61
82
|
);
|
|
62
83
|
return {
|
|
63
84
|
c() {
|
|
64
85
|
e && e.c(), t = U();
|
|
65
86
|
},
|
|
66
|
-
m(l,
|
|
67
|
-
e && e.m(l,
|
|
87
|
+
m(l, n) {
|
|
88
|
+
e && e.m(l, n), C(l, t, n);
|
|
68
89
|
},
|
|
69
|
-
p(l,
|
|
90
|
+
p(l, n) {
|
|
70
91
|
/*backButton*/
|
|
71
|
-
l[1] ? e ? e.p(l,
|
|
92
|
+
l[1] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
93
|
},
|
|
73
94
|
d(l) {
|
|
74
95
|
l && b(t), e && e.d(l);
|
|
@@ -87,57 +108,57 @@ function kt(s) {
|
|
|
87
108
|
c() {
|
|
88
109
|
t = p("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
|
|
89
110
|
},
|
|
90
|
-
m(
|
|
91
|
-
C(
|
|
111
|
+
m(n, f) {
|
|
112
|
+
C(n, t, f), M(t, l);
|
|
92
113
|
},
|
|
93
|
-
p(
|
|
114
|
+
p(n, f) {
|
|
94
115
|
f & /*$_, titleText*/
|
|
95
116
|
20 && e !== (e = /*$_*/
|
|
96
|
-
|
|
117
|
+
n[4](
|
|
97
118
|
/*titleText*/
|
|
98
|
-
|
|
99
|
-
) + "") &&
|
|
119
|
+
n[2]
|
|
120
|
+
) + "") && ot(l, e);
|
|
100
121
|
},
|
|
101
|
-
d(
|
|
102
|
-
|
|
122
|
+
d(n) {
|
|
123
|
+
n && b(t);
|
|
103
124
|
}
|
|
104
125
|
};
|
|
105
126
|
}
|
|
106
|
-
function
|
|
127
|
+
function K(s) {
|
|
107
128
|
let t, e, l;
|
|
108
129
|
return {
|
|
109
130
|
c() {
|
|
110
131
|
t = p("span"), 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>', k(t, "class", "CashierHeaderRightButton");
|
|
111
132
|
},
|
|
112
|
-
m(
|
|
113
|
-
C(
|
|
133
|
+
m(n, f) {
|
|
134
|
+
C(n, t, f), e || (l = I(
|
|
114
135
|
t,
|
|
115
136
|
"click",
|
|
116
137
|
/*close*/
|
|
117
138
|
s[5]
|
|
118
139
|
), e = !0);
|
|
119
140
|
},
|
|
120
|
-
p:
|
|
121
|
-
d(
|
|
122
|
-
|
|
141
|
+
p: q,
|
|
142
|
+
d(n) {
|
|
143
|
+
n && b(t), e = !1, l();
|
|
123
144
|
}
|
|
124
145
|
};
|
|
125
146
|
}
|
|
126
147
|
function yt(s) {
|
|
127
148
|
let t, e = (
|
|
128
149
|
/*closeButton*/
|
|
129
|
-
s[3] &&
|
|
150
|
+
s[3] && K(s)
|
|
130
151
|
);
|
|
131
152
|
return {
|
|
132
153
|
c() {
|
|
133
154
|
e && e.c(), t = U();
|
|
134
155
|
},
|
|
135
|
-
m(l,
|
|
136
|
-
e && e.m(l,
|
|
156
|
+
m(l, n) {
|
|
157
|
+
e && e.m(l, n), C(l, t, n);
|
|
137
158
|
},
|
|
138
|
-
p(l,
|
|
159
|
+
p(l, n) {
|
|
139
160
|
/*closeButton*/
|
|
140
|
-
l[3] ? e ? e.p(l,
|
|
161
|
+
l[3] ? e ? e.p(l, n) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
162
|
},
|
|
142
163
|
d(l) {
|
|
143
164
|
l && b(t), e && e.d(l);
|
|
@@ -145,7 +166,7 @@ function yt(s) {
|
|
|
145
166
|
};
|
|
146
167
|
}
|
|
147
168
|
function Bt(s) {
|
|
148
|
-
let t, e, l,
|
|
169
|
+
let t, e, l, n;
|
|
149
170
|
const f = (
|
|
150
171
|
/*#slots*/
|
|
151
172
|
s[16].leftButton
|
|
@@ -154,8 +175,8 @@ function Bt(s) {
|
|
|
154
175
|
s,
|
|
155
176
|
/*$$scope*/
|
|
156
177
|
s[15],
|
|
157
|
-
|
|
158
|
-
),
|
|
178
|
+
O
|
|
179
|
+
), o = _ || pt(s), m = (
|
|
159
180
|
/*#slots*/
|
|
160
181
|
s[16].title
|
|
161
182
|
), h = y(
|
|
@@ -163,7 +184,7 @@ function Bt(s) {
|
|
|
163
184
|
s,
|
|
164
185
|
/*$$scope*/
|
|
165
186
|
s[15],
|
|
166
|
-
|
|
187
|
+
E
|
|
167
188
|
), r = h || kt(s), g = (
|
|
168
189
|
/*#slots*/
|
|
169
190
|
s[16].rightButton
|
|
@@ -176,140 +197,140 @@ function Bt(s) {
|
|
|
176
197
|
), c = d || yt(s);
|
|
177
198
|
return {
|
|
178
199
|
c() {
|
|
179
|
-
t = p("div"),
|
|
200
|
+
t = p("div"), o && o.c(), e = j(), r && r.c(), l = j(), c && c.c(), k(t, "class", "CashierHeader");
|
|
180
201
|
},
|
|
181
|
-
m(
|
|
182
|
-
C(
|
|
202
|
+
m(i, u) {
|
|
203
|
+
C(i, t, u), o && o.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), n = !0;
|
|
183
204
|
},
|
|
184
|
-
p(
|
|
185
|
-
_ ? _.p && (!
|
|
205
|
+
p(i, [u]) {
|
|
206
|
+
_ ? _.p && (!n || u & /*$$scope*/
|
|
186
207
|
32768) && L(
|
|
187
208
|
_,
|
|
188
209
|
f,
|
|
189
|
-
|
|
210
|
+
i,
|
|
190
211
|
/*$$scope*/
|
|
191
|
-
|
|
192
|
-
|
|
212
|
+
i[15],
|
|
213
|
+
n ? S(
|
|
193
214
|
f,
|
|
194
215
|
/*$$scope*/
|
|
195
|
-
|
|
216
|
+
i[15],
|
|
196
217
|
u,
|
|
197
218
|
Ct
|
|
198
219
|
) : H(
|
|
199
220
|
/*$$scope*/
|
|
200
|
-
|
|
221
|
+
i[15]
|
|
201
222
|
),
|
|
202
|
-
|
|
203
|
-
) :
|
|
204
|
-
2) &&
|
|
223
|
+
O
|
|
224
|
+
) : o && o.p && (!n || u & /*backButton*/
|
|
225
|
+
2) && o.p(i, n ? u : -1), h ? h.p && (!n || u & /*$$scope*/
|
|
205
226
|
32768) && L(
|
|
206
227
|
h,
|
|
207
228
|
m,
|
|
208
|
-
|
|
229
|
+
i,
|
|
209
230
|
/*$$scope*/
|
|
210
|
-
|
|
211
|
-
|
|
231
|
+
i[15],
|
|
232
|
+
n ? S(
|
|
212
233
|
m,
|
|
213
234
|
/*$$scope*/
|
|
214
|
-
|
|
235
|
+
i[15],
|
|
215
236
|
u,
|
|
216
237
|
bt
|
|
217
238
|
) : H(
|
|
218
239
|
/*$$scope*/
|
|
219
|
-
|
|
240
|
+
i[15]
|
|
220
241
|
),
|
|
221
|
-
|
|
222
|
-
) : r && r.p && (!
|
|
223
|
-
20) && r.p(
|
|
242
|
+
E
|
|
243
|
+
) : r && r.p && (!n || u & /*$_, titleText*/
|
|
244
|
+
20) && r.p(i, n ? u : -1), d ? d.p && (!n || u & /*$$scope*/
|
|
224
245
|
32768) && L(
|
|
225
246
|
d,
|
|
226
247
|
g,
|
|
227
|
-
|
|
248
|
+
i,
|
|
228
249
|
/*$$scope*/
|
|
229
|
-
|
|
230
|
-
|
|
250
|
+
i[15],
|
|
251
|
+
n ? S(
|
|
231
252
|
g,
|
|
232
253
|
/*$$scope*/
|
|
233
|
-
|
|
254
|
+
i[15],
|
|
234
255
|
u,
|
|
235
256
|
wt
|
|
236
257
|
) : H(
|
|
237
258
|
/*$$scope*/
|
|
238
|
-
|
|
259
|
+
i[15]
|
|
239
260
|
),
|
|
240
261
|
x
|
|
241
|
-
) : c && c.p && (!
|
|
242
|
-
8) && c.p(
|
|
262
|
+
) : c && c.p && (!n || u & /*closeButton*/
|
|
263
|
+
8) && c.p(i, n ? u : -1);
|
|
243
264
|
},
|
|
244
|
-
i(
|
|
245
|
-
|
|
265
|
+
i(i) {
|
|
266
|
+
n || (v(o, i), v(r, i), v(c, i), n = !0);
|
|
246
267
|
},
|
|
247
|
-
o(
|
|
248
|
-
B(
|
|
268
|
+
o(i) {
|
|
269
|
+
B(o, i), B(r, i), B(c, i), n = !1;
|
|
249
270
|
},
|
|
250
|
-
d(
|
|
251
|
-
|
|
271
|
+
d(i) {
|
|
272
|
+
i && b(t), o && o.d(i), r && r.d(i), c && c.d(i), s[17](null);
|
|
252
273
|
}
|
|
253
274
|
};
|
|
254
275
|
}
|
|
255
276
|
function vt(s, t, e) {
|
|
256
277
|
let l;
|
|
257
|
-
lt(s, dt, (
|
|
258
|
-
let { $$slots:
|
|
259
|
-
const
|
|
260
|
-
fetch(m).then((
|
|
261
|
-
Object.keys(
|
|
262
|
-
N(
|
|
278
|
+
lt(s, dt, (a) => e(4, l = a));
|
|
279
|
+
let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, i, u, T = !1, F, z = !1;
|
|
280
|
+
const Z = () => {
|
|
281
|
+
fetch(m).then((a) => a.json()).then((a) => {
|
|
282
|
+
Object.keys(a).forEach((A) => {
|
|
283
|
+
N(A, a[A]);
|
|
263
284
|
});
|
|
264
|
-
}).catch((
|
|
265
|
-
console.log(
|
|
285
|
+
}).catch((a) => {
|
|
286
|
+
console.log(a);
|
|
266
287
|
});
|
|
267
288
|
};
|
|
268
|
-
Object.keys(R).forEach((
|
|
269
|
-
N(
|
|
289
|
+
Object.keys(R).forEach((a) => {
|
|
290
|
+
N(a, R[a]);
|
|
270
291
|
});
|
|
271
|
-
const
|
|
292
|
+
const P = () => {
|
|
272
293
|
_t(g);
|
|
273
|
-
},
|
|
294
|
+
}, W = () => {
|
|
274
295
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
-
},
|
|
296
|
+
}, Y = () => {
|
|
276
297
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
|
-
},
|
|
298
|
+
}, G = () => {
|
|
278
299
|
e(1, T = !!h && h !== "false");
|
|
279
|
-
},
|
|
280
|
-
e(3,
|
|
300
|
+
}, J = () => {
|
|
301
|
+
e(3, z = !!d && d !== "false");
|
|
281
302
|
}, Q = () => {
|
|
282
303
|
e(2, F = r || "header.general");
|
|
283
304
|
};
|
|
284
|
-
|
|
305
|
+
at(() => () => {
|
|
285
306
|
});
|
|
286
|
-
function V(
|
|
287
|
-
ct[
|
|
288
|
-
|
|
307
|
+
function V(a) {
|
|
308
|
+
ct[a ? "unshift" : "push"](() => {
|
|
309
|
+
i = a, e(0, i);
|
|
289
310
|
});
|
|
290
311
|
}
|
|
291
|
-
return s.$$set = (
|
|
292
|
-
"clientstyling" in
|
|
312
|
+
return s.$$set = (a) => {
|
|
313
|
+
"clientstyling" in a && e(7, _ = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, m = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
|
|
293
314
|
}, s.$$.update = () => {
|
|
294
315
|
s.$$.dirty & /*lang*/
|
|
295
|
-
4096 && g &&
|
|
316
|
+
4096 && g && P(), s.$$.dirty & /*lang, title*/
|
|
296
317
|
6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
-
129 && _ &&
|
|
298
|
-
257 &&
|
|
299
|
-
16385 && c &&
|
|
300
|
-
4608 && g && m &&
|
|
301
|
-
1024 && h &&
|
|
302
|
-
8192 && d &&
|
|
318
|
+
129 && _ && i && ut(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
319
|
+
257 && o && i && ft(i, o), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
320
|
+
16385 && c && i && ht(i, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
|
|
321
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
322
|
+
1024 && h && G(), s.$$.dirty & /*showclosebutton*/
|
|
323
|
+
8192 && d && J();
|
|
303
324
|
}, [
|
|
304
|
-
|
|
325
|
+
i,
|
|
305
326
|
T,
|
|
306
327
|
F,
|
|
307
|
-
|
|
328
|
+
z,
|
|
308
329
|
l,
|
|
330
|
+
W,
|
|
309
331
|
Y,
|
|
310
|
-
G,
|
|
311
332
|
_,
|
|
312
|
-
|
|
333
|
+
o,
|
|
313
334
|
m,
|
|
314
335
|
h,
|
|
315
336
|
r,
|
|
@@ -317,7 +338,7 @@ function vt(s, t, e) {
|
|
|
317
338
|
d,
|
|
318
339
|
c,
|
|
319
340
|
f,
|
|
320
|
-
|
|
341
|
+
n,
|
|
321
342
|
V
|
|
322
343
|
];
|
|
323
344
|
}
|
|
@@ -328,7 +349,7 @@ class Lt extends et {
|
|
|
328
349
|
t,
|
|
329
350
|
vt,
|
|
330
351
|
Bt,
|
|
331
|
-
|
|
352
|
+
nt,
|
|
332
353
|
{
|
|
333
354
|
clientstyling: 7,
|
|
334
355
|
clientstylingurl: 8,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as X, i as $, $ as tt, S as et, b as st, f as w, s as
|
|
1
|
+
import { a as X, i as $, $ as tt, S as et, b as st, f as w, s as nt, c as it, d as lt, e as y, g as b, t as B, h as v, u as L, j as H, k as S, l as C, m as M, n as p, o as j, p as k, q as at, r as ot, v as U, w as rt, x as ct, y as ut, z as q, A as I, B as ft, C as ht, D as gt, E as dt } from "./CashierIframeRedirect-CDwJQB56.js";
|
|
2
2
|
function N(s, t) {
|
|
3
3
|
X(s, t);
|
|
4
4
|
}
|
|
@@ -28,47 +28,68 @@ const R = {
|
|
|
28
28
|
deposit: "Dépôt",
|
|
29
29
|
withdraw: "Retrait"
|
|
30
30
|
}
|
|
31
|
+
},
|
|
32
|
+
da: {
|
|
33
|
+
header: {
|
|
34
|
+
general: "Kasse",
|
|
35
|
+
deposit: "Indbetaling",
|
|
36
|
+
withdraw: "Udbetaling"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
de: {
|
|
40
|
+
header: {
|
|
41
|
+
general: "Kasse",
|
|
42
|
+
deposit: "Einzahlung",
|
|
43
|
+
withdraw: "Auszahlung"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
nl: {
|
|
47
|
+
header: {
|
|
48
|
+
general: "Kassa",
|
|
49
|
+
deposit: "Storting",
|
|
50
|
+
withdraw: "Opname"
|
|
51
|
+
}
|
|
31
52
|
}
|
|
32
53
|
};
|
|
33
54
|
function mt(s) {
|
|
34
55
|
lt(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.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)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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)}");
|
|
35
56
|
}
|
|
36
|
-
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}),
|
|
37
|
-
function
|
|
57
|
+
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
|
|
58
|
+
function D(s) {
|
|
38
59
|
let t, e, l;
|
|
39
60
|
return {
|
|
40
61
|
c() {
|
|
41
62
|
t = p("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>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
63
|
},
|
|
43
|
-
m(
|
|
44
|
-
C(
|
|
64
|
+
m(n, f) {
|
|
65
|
+
C(n, t, f), e || (l = I(
|
|
45
66
|
t,
|
|
46
67
|
"click",
|
|
47
68
|
/*back*/
|
|
48
69
|
s[6]
|
|
49
70
|
), e = !0);
|
|
50
71
|
},
|
|
51
|
-
p:
|
|
52
|
-
d(
|
|
53
|
-
|
|
72
|
+
p: q,
|
|
73
|
+
d(n) {
|
|
74
|
+
n && b(t), e = !1, l();
|
|
54
75
|
}
|
|
55
76
|
};
|
|
56
77
|
}
|
|
57
78
|
function pt(s) {
|
|
58
79
|
let t, e = (
|
|
59
80
|
/*backButton*/
|
|
60
|
-
s[1] &&
|
|
81
|
+
s[1] && D(s)
|
|
61
82
|
);
|
|
62
83
|
return {
|
|
63
84
|
c() {
|
|
64
85
|
e && e.c(), t = U();
|
|
65
86
|
},
|
|
66
|
-
m(l,
|
|
67
|
-
e && e.m(l,
|
|
87
|
+
m(l, n) {
|
|
88
|
+
e && e.m(l, n), C(l, t, n);
|
|
68
89
|
},
|
|
69
|
-
p(l,
|
|
90
|
+
p(l, n) {
|
|
70
91
|
/*backButton*/
|
|
71
|
-
l[1] ? e ? e.p(l,
|
|
92
|
+
l[1] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
93
|
},
|
|
73
94
|
d(l) {
|
|
74
95
|
l && b(t), e && e.d(l);
|
|
@@ -87,57 +108,57 @@ function kt(s) {
|
|
|
87
108
|
c() {
|
|
88
109
|
t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
|
|
89
110
|
},
|
|
90
|
-
m(
|
|
91
|
-
C(
|
|
111
|
+
m(n, f) {
|
|
112
|
+
C(n, t, f), M(t, l);
|
|
92
113
|
},
|
|
93
|
-
p(
|
|
114
|
+
p(n, f) {
|
|
94
115
|
f & /*$_, titleText*/
|
|
95
116
|
20 && e !== (e = /*$_*/
|
|
96
|
-
|
|
117
|
+
n[4](
|
|
97
118
|
/*titleText*/
|
|
98
|
-
|
|
119
|
+
n[2]
|
|
99
120
|
) + "") && rt(l, e);
|
|
100
121
|
},
|
|
101
|
-
d(
|
|
102
|
-
|
|
122
|
+
d(n) {
|
|
123
|
+
n && b(t);
|
|
103
124
|
}
|
|
104
125
|
};
|
|
105
126
|
}
|
|
106
|
-
function
|
|
127
|
+
function K(s) {
|
|
107
128
|
let t, e, l;
|
|
108
129
|
return {
|
|
109
130
|
c() {
|
|
110
131
|
t = p("span"), 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>', k(t, "class", "CashierHeaderRightButton");
|
|
111
132
|
},
|
|
112
|
-
m(
|
|
113
|
-
C(
|
|
133
|
+
m(n, f) {
|
|
134
|
+
C(n, t, f), e || (l = I(
|
|
114
135
|
t,
|
|
115
136
|
"click",
|
|
116
137
|
/*close*/
|
|
117
138
|
s[5]
|
|
118
139
|
), e = !0);
|
|
119
140
|
},
|
|
120
|
-
p:
|
|
121
|
-
d(
|
|
122
|
-
|
|
141
|
+
p: q,
|
|
142
|
+
d(n) {
|
|
143
|
+
n && b(t), e = !1, l();
|
|
123
144
|
}
|
|
124
145
|
};
|
|
125
146
|
}
|
|
126
147
|
function yt(s) {
|
|
127
148
|
let t, e = (
|
|
128
149
|
/*closeButton*/
|
|
129
|
-
s[3] &&
|
|
150
|
+
s[3] && K(s)
|
|
130
151
|
);
|
|
131
152
|
return {
|
|
132
153
|
c() {
|
|
133
154
|
e && e.c(), t = U();
|
|
134
155
|
},
|
|
135
|
-
m(l,
|
|
136
|
-
e && e.m(l,
|
|
156
|
+
m(l, n) {
|
|
157
|
+
e && e.m(l, n), C(l, t, n);
|
|
137
158
|
},
|
|
138
|
-
p(l,
|
|
159
|
+
p(l, n) {
|
|
139
160
|
/*closeButton*/
|
|
140
|
-
l[3] ? e ? e.p(l,
|
|
161
|
+
l[3] ? e ? e.p(l, n) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
162
|
},
|
|
142
163
|
d(l) {
|
|
143
164
|
l && b(t), e && e.d(l);
|
|
@@ -145,7 +166,7 @@ function yt(s) {
|
|
|
145
166
|
};
|
|
146
167
|
}
|
|
147
168
|
function Bt(s) {
|
|
148
|
-
let t, e, l,
|
|
169
|
+
let t, e, l, n;
|
|
149
170
|
const f = (
|
|
150
171
|
/*#slots*/
|
|
151
172
|
s[16].leftButton
|
|
@@ -154,8 +175,8 @@ function Bt(s) {
|
|
|
154
175
|
s,
|
|
155
176
|
/*$$scope*/
|
|
156
177
|
s[15],
|
|
157
|
-
|
|
158
|
-
),
|
|
178
|
+
O
|
|
179
|
+
), o = _ || pt(s), m = (
|
|
159
180
|
/*#slots*/
|
|
160
181
|
s[16].title
|
|
161
182
|
), h = y(
|
|
@@ -163,7 +184,7 @@ function Bt(s) {
|
|
|
163
184
|
s,
|
|
164
185
|
/*$$scope*/
|
|
165
186
|
s[15],
|
|
166
|
-
|
|
187
|
+
E
|
|
167
188
|
), r = h || kt(s), g = (
|
|
168
189
|
/*#slots*/
|
|
169
190
|
s[16].rightButton
|
|
@@ -176,140 +197,140 @@ function Bt(s) {
|
|
|
176
197
|
), c = d || yt(s);
|
|
177
198
|
return {
|
|
178
199
|
c() {
|
|
179
|
-
t = p("div"),
|
|
200
|
+
t = p("div"), o && o.c(), e = j(), r && r.c(), l = j(), c && c.c(), k(t, "class", "CashierHeader");
|
|
180
201
|
},
|
|
181
|
-
m(
|
|
182
|
-
C(
|
|
202
|
+
m(i, u) {
|
|
203
|
+
C(i, t, u), o && o.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), n = !0;
|
|
183
204
|
},
|
|
184
|
-
p(
|
|
185
|
-
_ ? _.p && (!
|
|
205
|
+
p(i, [u]) {
|
|
206
|
+
_ ? _.p && (!n || u & /*$$scope*/
|
|
186
207
|
32768) && L(
|
|
187
208
|
_,
|
|
188
209
|
f,
|
|
189
|
-
|
|
210
|
+
i,
|
|
190
211
|
/*$$scope*/
|
|
191
|
-
|
|
192
|
-
|
|
212
|
+
i[15],
|
|
213
|
+
n ? S(
|
|
193
214
|
f,
|
|
194
215
|
/*$$scope*/
|
|
195
|
-
|
|
216
|
+
i[15],
|
|
196
217
|
u,
|
|
197
218
|
Ct
|
|
198
219
|
) : H(
|
|
199
220
|
/*$$scope*/
|
|
200
|
-
|
|
221
|
+
i[15]
|
|
201
222
|
),
|
|
202
|
-
|
|
203
|
-
) :
|
|
204
|
-
2) &&
|
|
223
|
+
O
|
|
224
|
+
) : o && o.p && (!n || u & /*backButton*/
|
|
225
|
+
2) && o.p(i, n ? u : -1), h ? h.p && (!n || u & /*$$scope*/
|
|
205
226
|
32768) && L(
|
|
206
227
|
h,
|
|
207
228
|
m,
|
|
208
|
-
|
|
229
|
+
i,
|
|
209
230
|
/*$$scope*/
|
|
210
|
-
|
|
211
|
-
|
|
231
|
+
i[15],
|
|
232
|
+
n ? S(
|
|
212
233
|
m,
|
|
213
234
|
/*$$scope*/
|
|
214
|
-
|
|
235
|
+
i[15],
|
|
215
236
|
u,
|
|
216
237
|
bt
|
|
217
238
|
) : H(
|
|
218
239
|
/*$$scope*/
|
|
219
|
-
|
|
240
|
+
i[15]
|
|
220
241
|
),
|
|
221
|
-
|
|
222
|
-
) : r && r.p && (!
|
|
223
|
-
20) && r.p(
|
|
242
|
+
E
|
|
243
|
+
) : r && r.p && (!n || u & /*$_, titleText*/
|
|
244
|
+
20) && r.p(i, n ? u : -1), d ? d.p && (!n || u & /*$$scope*/
|
|
224
245
|
32768) && L(
|
|
225
246
|
d,
|
|
226
247
|
g,
|
|
227
|
-
|
|
248
|
+
i,
|
|
228
249
|
/*$$scope*/
|
|
229
|
-
|
|
230
|
-
|
|
250
|
+
i[15],
|
|
251
|
+
n ? S(
|
|
231
252
|
g,
|
|
232
253
|
/*$$scope*/
|
|
233
|
-
|
|
254
|
+
i[15],
|
|
234
255
|
u,
|
|
235
256
|
wt
|
|
236
257
|
) : H(
|
|
237
258
|
/*$$scope*/
|
|
238
|
-
|
|
259
|
+
i[15]
|
|
239
260
|
),
|
|
240
261
|
x
|
|
241
|
-
) : c && c.p && (!
|
|
242
|
-
8) && c.p(
|
|
262
|
+
) : c && c.p && (!n || u & /*closeButton*/
|
|
263
|
+
8) && c.p(i, n ? u : -1);
|
|
243
264
|
},
|
|
244
|
-
i(
|
|
245
|
-
|
|
265
|
+
i(i) {
|
|
266
|
+
n || (v(o, i), v(r, i), v(c, i), n = !0);
|
|
246
267
|
},
|
|
247
|
-
o(
|
|
248
|
-
B(
|
|
268
|
+
o(i) {
|
|
269
|
+
B(o, i), B(r, i), B(c, i), n = !1;
|
|
249
270
|
},
|
|
250
|
-
d(
|
|
251
|
-
|
|
271
|
+
d(i) {
|
|
272
|
+
i && b(t), o && o.d(i), r && r.d(i), c && c.d(i), s[17](null);
|
|
252
273
|
}
|
|
253
274
|
};
|
|
254
275
|
}
|
|
255
276
|
function vt(s, t, e) {
|
|
256
277
|
let l;
|
|
257
|
-
|
|
258
|
-
let { $$slots:
|
|
259
|
-
const
|
|
260
|
-
fetch(m).then((
|
|
261
|
-
Object.keys(
|
|
262
|
-
N(
|
|
278
|
+
at(s, ft, (a) => e(4, l = a));
|
|
279
|
+
let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, i, u, T = !1, F, z = !1;
|
|
280
|
+
const Z = () => {
|
|
281
|
+
fetch(m).then((a) => a.json()).then((a) => {
|
|
282
|
+
Object.keys(a).forEach((A) => {
|
|
283
|
+
N(A, a[A]);
|
|
263
284
|
});
|
|
264
|
-
}).catch((
|
|
265
|
-
console.log(
|
|
285
|
+
}).catch((a) => {
|
|
286
|
+
console.log(a);
|
|
266
287
|
});
|
|
267
288
|
};
|
|
268
|
-
Object.keys(R).forEach((
|
|
269
|
-
N(
|
|
289
|
+
Object.keys(R).forEach((a) => {
|
|
290
|
+
N(a, R[a]);
|
|
270
291
|
});
|
|
271
|
-
const
|
|
292
|
+
const P = () => {
|
|
272
293
|
_t(g);
|
|
273
|
-
},
|
|
294
|
+
}, W = () => {
|
|
274
295
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
-
},
|
|
296
|
+
}, Y = () => {
|
|
276
297
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
|
-
},
|
|
298
|
+
}, G = () => {
|
|
278
299
|
e(1, T = !!h && h !== "false");
|
|
279
|
-
},
|
|
280
|
-
e(3,
|
|
300
|
+
}, J = () => {
|
|
301
|
+
e(3, z = !!d && d !== "false");
|
|
281
302
|
}, Q = () => {
|
|
282
303
|
e(2, F = r || "header.general");
|
|
283
304
|
};
|
|
284
|
-
|
|
305
|
+
ot(() => () => {
|
|
285
306
|
});
|
|
286
|
-
function V(
|
|
287
|
-
ut[
|
|
288
|
-
|
|
307
|
+
function V(a) {
|
|
308
|
+
ut[a ? "unshift" : "push"](() => {
|
|
309
|
+
i = a, e(0, i);
|
|
289
310
|
});
|
|
290
311
|
}
|
|
291
|
-
return s.$$set = (
|
|
292
|
-
"clientstyling" in
|
|
312
|
+
return s.$$set = (a) => {
|
|
313
|
+
"clientstyling" in a && e(7, _ = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, m = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
|
|
293
314
|
}, s.$$.update = () => {
|
|
294
315
|
s.$$.dirty & /*lang*/
|
|
295
|
-
4096 && g &&
|
|
316
|
+
4096 && g && P(), s.$$.dirty & /*lang, title*/
|
|
296
317
|
6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
-
129 && _ &&
|
|
298
|
-
257 &&
|
|
299
|
-
16385 && c &&
|
|
300
|
-
4608 && g && m &&
|
|
301
|
-
1024 && h &&
|
|
302
|
-
8192 && d &&
|
|
318
|
+
129 && _ && i && ht(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
319
|
+
257 && o && i && gt(i, o), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
320
|
+
16385 && c && i && dt(i, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
|
|
321
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
322
|
+
1024 && h && G(), s.$$.dirty & /*showclosebutton*/
|
|
323
|
+
8192 && d && J();
|
|
303
324
|
}, [
|
|
304
|
-
|
|
325
|
+
i,
|
|
305
326
|
T,
|
|
306
327
|
F,
|
|
307
|
-
|
|
328
|
+
z,
|
|
308
329
|
l,
|
|
330
|
+
W,
|
|
309
331
|
Y,
|
|
310
|
-
G,
|
|
311
332
|
_,
|
|
312
|
-
|
|
333
|
+
o,
|
|
313
334
|
m,
|
|
314
335
|
h,
|
|
315
336
|
r,
|
|
@@ -317,7 +338,7 @@ function vt(s, t, e) {
|
|
|
317
338
|
d,
|
|
318
339
|
c,
|
|
319
340
|
f,
|
|
320
|
-
|
|
341
|
+
n,
|
|
321
342
|
V
|
|
322
343
|
];
|
|
323
344
|
}
|
|
@@ -328,7 +349,7 @@ class Lt extends et {
|
|
|
328
349
|
t,
|
|
329
350
|
vt,
|
|
330
351
|
Bt,
|
|
331
|
-
|
|
352
|
+
nt,
|
|
332
353
|
{
|
|
333
354
|
clientstyling: 7,
|
|
334
355
|
clientstylingurl: 8,
|
|
@@ -391,7 +412,7 @@ class Lt extends et {
|
|
|
391
412
|
this.$$set({ mbsource: t }), w();
|
|
392
413
|
}
|
|
393
414
|
}
|
|
394
|
-
|
|
415
|
+
it(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
416
|
export {
|
|
396
417
|
Lt as default
|
|
397
418
|
};
|
|
@@ -3812,6 +3812,15 @@ const ht = {
|
|
|
3812
3812
|
},
|
|
3813
3813
|
fr: {
|
|
3814
3814
|
redirectHeader: "Redirection du dépôt"
|
|
3815
|
+
},
|
|
3816
|
+
da: {
|
|
3817
|
+
redirectHeader: "Indbetaling omdirigering"
|
|
3818
|
+
},
|
|
3819
|
+
de: {
|
|
3820
|
+
redirectHeader: "Einzahlungsweiterleitung"
|
|
3821
|
+
},
|
|
3822
|
+
nl: {
|
|
3823
|
+
redirectHeader: "Stortingsomleiding"
|
|
3815
3824
|
}
|
|
3816
3825
|
}, j = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3817
3826
|
function ii(e, t) {
|
|
@@ -3878,7 +3887,7 @@ if (typeof window < "u") {
|
|
|
3878
3887
|
}
|
|
3879
3888
|
};
|
|
3880
3889
|
};
|
|
3881
|
-
customElements.define = e(customElements.define), import("./CashierHeader-
|
|
3890
|
+
customElements.define = e(customElements.define), import("./CashierHeader-V1vIoagX.js").then(({ default: t }) => {
|
|
3882
3891
|
!customElements.get("cashier-header") && customElements.define("cashier-header", t.element);
|
|
3883
3892
|
});
|
|
3884
3893
|
}
|
|
@@ -3894,7 +3903,7 @@ if (typeof window < "u") {
|
|
|
3894
3903
|
}
|
|
3895
3904
|
};
|
|
3896
3905
|
};
|
|
3897
|
-
customElements.define = e(customElements.define), import("./CashierSpinner-
|
|
3906
|
+
customElements.define = e(customElements.define), import("./CashierSpinner-D0F-BdIs.js").then(({ default: t }) => {
|
|
3898
3907
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", t.element);
|
|
3899
3908
|
});
|
|
3900
3909
|
}
|
|
@@ -3849,6 +3849,15 @@ const pt = {
|
|
|
3849
3849
|
},
|
|
3850
3850
|
fr: {
|
|
3851
3851
|
redirectHeader: "Redirection du dépôt"
|
|
3852
|
+
},
|
|
3853
|
+
da: {
|
|
3854
|
+
redirectHeader: "Indbetaling omdirigering"
|
|
3855
|
+
},
|
|
3856
|
+
de: {
|
|
3857
|
+
redirectHeader: "Einzahlungsweiterleitung"
|
|
3858
|
+
},
|
|
3859
|
+
nl: {
|
|
3860
|
+
redirectHeader: "Stortingsomleiding"
|
|
3852
3861
|
}
|
|
3853
3862
|
}, k = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3854
3863
|
function bi(e, t) {
|
|
@@ -3915,7 +3924,7 @@ if (typeof window != "undefined") {
|
|
|
3915
3924
|
}
|
|
3916
3925
|
};
|
|
3917
3926
|
};
|
|
3918
|
-
customElements.define = e(customElements.define), import("./CashierHeader-
|
|
3927
|
+
customElements.define = e(customElements.define), import("./CashierHeader-BnjmhKlL.js").then(({ default: t }) => {
|
|
3919
3928
|
!customElements.get("cashier-header") && customElements.define("cashier-header", t.element);
|
|
3920
3929
|
});
|
|
3921
3930
|
}
|
|
@@ -3931,7 +3940,7 @@ if (typeof window != "undefined") {
|
|
|
3931
3940
|
}
|
|
3932
3941
|
};
|
|
3933
3942
|
};
|
|
3934
|
-
customElements.define = e(customElements.define), import("./CashierSpinner-
|
|
3943
|
+
customElements.define = e(customElements.define), import("./CashierSpinner-BMvR7X7u.js").then(({ default: t }) => {
|
|
3935
3944
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", t.element);
|
|
3936
3945
|
});
|
|
3937
3946
|
}
|
package/components/{CashierIframeRedirect-DgEZqtwf.cjs → CashierIframeRedirect-Dp-Oia-l.cjs}
RENAMED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,Z.MISSING_INTL_API,o);var U=r.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0));S=h.options[U]||h.options.other}if(!S)throw new ft(h.value,c,Object.keys(h.options),o);a.push.apply(a,me(S.value,t,r,n,i,c-(h.offset||0)));continue}}return Gn(a)}function jn(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=C(C({},e[n]),t[n]||{}),r},{})):e}function kn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=jn(e[n],t[n]),r},C({},e)):e}function Pe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Vn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ae(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Be([void 0],r,!1)))},{cache:Pe(e.number),strategy:Oe.variadic}),getDateTimeFormat:Ae(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Be([void 0],r,!1)))},{cache:Pe(e.dateTime),strategy:Oe.variadic}),getPluralRules:Ae(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Be([void 0],r,!1)))},{cache:Pe(e.pluralRules),strategy:Oe.variadic})}}var qt=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,c){return!f.length||c.type!==v.literal||typeof f[f.length-1]!="string"?f.push(c.value):f[f.length-1]+=c.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return me(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var a=Kr(o,["formatters"]);this.ast=e.__parse(t,C(C({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=kn(e.formats,n),this.formatters=i&&i.formatters||Vn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Rn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Xn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const M={},zn=(e,t,r)=>r&&(t in M||(M[t]={}),e in M[t]||(M[t][e]=r),r),Qt=(e,t)=>{if(t==null)return;if(t in M&&e in M[t])return M[t][e];const r=ae(t);for(let n=0;n<r.length;n++){const i=r[n],s=Zn(i,e);if(s)return zn(e,t,s)}};let ze;const oe=xe({});function Wn(e){return ze[e]||null}function Jt(e){return e in ze}function Zn(e,t){if(!Jt(e))return null;const r=Wn(e);return Xn(r,t)}function qn(e){if(e==null)return;const t=ae(e);for(let r=0;r<t.length;r++){const n=t[r];if(Jt(n))return n}}function We(e,...t){delete M[e],oe.update(r=>(r[e]=Yr.all([r[e]||{},...t]),r))}J([oe],([e])=>Object.keys(e));oe.subscribe(e=>ze=e);const de={};function Qn(e,t){de[e].delete(t),de[e].size===0&&delete de[e]}function Yt(e){return de[e]}function Jn(e){return ae(e).map(t=>{const r=Yt(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ge(e){return e==null?!1:ae(e).some(t=>{var r;return(r=Yt(t))==null?void 0:r.size})}function Yn(e,t){return Promise.all(t.map(n=>(Qn(e,n),n().then(i=>i.default||i)))).then(n=>We(e,...n))}const K={};function Kt(e){if(!ge(e))return e in K?K[e]:Promise.resolve();const t=Jn(e);return K[e]=Promise.all(t.map(([r,n])=>Yn(r,n))).then(()=>{if(ge(e))return Kt(e);delete K[e]}),K[e]}var ct=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable,ti=(e,t)=>{var r={};for(var n in e)Kn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ct)for(var n of ct(e))t.indexOf(n)<0&&ei.call(e,n)&&(r[n]=e[n]);return r};const ri={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function ni({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${ae(e).join('", "')}".${ge($())?`
|
|
4
4
|
|
|
5
|
-
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ii={fallbackLocale:null,loadingDelay:200,formats:ri,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ee=ii;function q(){return ee}function er(e){const t=e,{formats:r}=t,n=ti(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{qt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ni:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ee,n,{initialLocale:i}),r&&("number"in r&&Object.assign(ee.formats.number,r.number),"date"in r&&Object.assign(ee.formats.date,r.date),"time"in r&&Object.assign(ee.formats.time,r.time)),R.set(i)}const Le=xe(!1);var si=Object.defineProperty,oi=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,dt=(e,t,r)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,li=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&dt(e,r,t[r]);if(mt)for(var r of mt(t))hi.call(t,r)&&dt(e,r,t[r]);return e},fi=(e,t)=>oi(e,ai(t));let je;const ye=xe(null);function pt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ae(e,t=q().fallbackLocale){const r=pt(e);return t?[...new Set([...r,...pt(t)])]:r}function $(){return je!=null?je:void 0}ye.subscribe(e=>{je=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ci=e=>{if(e&&qn(e)&&ge(e)){const{loadingDelay:t}=q();let r;return typeof window!="undefined"&&$()!=null&&t?r=window.setTimeout(()=>Le.set(!0),t):Le.set(!0),Kt(e).then(()=>{ye.set(e)}).finally(()=>{clearTimeout(r),Le.set(!1)})}return ye.set(e)},R=fi(li({},ye),{set:ci}),Se=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var mi=Object.defineProperty,_e=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,bt=(e,t,r)=>t in e?mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&bt(e,r,t[r]);if(_e)for(var r of _e(t))rr.call(t,r)&&bt(e,r,t[r]);return e},Y=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_e)for(var n of _e(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const ie=(e,t)=>{const{formats:r}=q();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},di=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ie("number",n)),new Intl.NumberFormat(r,i)}),pi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ie("date",n):Object.keys(i).length===0&&(i=ie("date","short")),new Intl.DateTimeFormat(r,i)}),bi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ie("time",n):Object.keys(i).length===0&&(i=ie("time","short")),new Intl.DateTimeFormat(r,i)}),gi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return di(Ze({locale:r},n))},yi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return pi(Ze({locale:r},n))},_i=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return bi(Ze({locale:r},n))},Ei=Se((e,t=$())=>new qt(e,t,q().formats,{ignoreTag:q().ignoreTag})),xi=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=$(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Qt(e,l);if(!h)h=(s=(i=(n=(r=q()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let f=h;try{f=Ei(h,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},vi=(e,t)=>_i(t).format(e),Hi=(e,t)=>yi(t).format(e),Si=(e,t)=>gi(t).format(e),wi=(e,t=$())=>Qt(e,t),Ti=J([R,oe],()=>xi);J([R],()=>vi);J([R],()=>Hi);J([R],()=>Si);J([R,oe],()=>wi);function gt(e,t){We(e,t)}function Bi(e){er({fallbackLocale:"en"}),R.set(e)}const yt={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"}},V="__WIDGET_GLOBAL_STYLE_CACHE__";function nr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function ir(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function sr(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ai(e,t),r;window[V]||(window[V]={}),r=Oi(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[V][t]){const a=window[V][t];a.refCount>1?a.refCount=a.refCount-1:delete window[V][t]}s()};return r.unsubscribe=o,r}function Ai(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Oi(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[V];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){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"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-C1ymud0r.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){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"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-D_ZT0c91.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function Ci(e){wt(e,"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 _t(e){let t,r,n;return{c(){t=L("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>',A(t,"slot","leftButton"),A(t,"class","CashierHeaderLeftButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function Et(e){let t,r,n;return{c(){t=L("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>',A(t,"slot","rightButton"),A(t,"class","CashierHeaderRightButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function xt(e){let t;return{c(){t=L("cashier-spinner"),E(t,"clientstylingurl",e[6]),E(t,"clientstyling",e[5]),E(t,"mbsource",e[4])},m(r,n){Q(r,t,n)},p(r,n){n&64&&E(t,"clientstylingurl",r[6]),n&32&&E(t,"clientstyling",r[5]),n&16&&E(t,"mbsource",r[4])},d(r){r&&G(t)}}}function Pi(e){let t,r,n,i,s,o,a,l,u,h=!!e[3]&&e[3]!=="false"&&_t(e),f=(!e[3]||e[3]==="false")&&Et(e),c=e[9]&&xt(e);return{c(){t=L("div"),r=L("cashier-header"),h&&h.c(),n=le(),f&&f.c(),i=le(),c&&c.c(),s=le(),o=L("iframe"),E(r,"lang",e[0]),E(r,"translationurl",e[2]),E(r,"title",e[7]),E(r,"showbackbutton",e[3]),E(r,"clientstylingurl",e[6]),E(r,"clientstyling",e[5]),E(r,"mbsource",e[4]),tt(o.src,a=e[1])||A(o,"src",a),A(o,"frameborder","0"),A(t,"class","CashierRedirectIframe")},m(m,d){Q(m,t,d),D(t,r),h&&h.m(r,null),D(r,n),f&&f.m(r,null),D(t,i),c&&c.m(t,null),D(t,s),D(t,o),e[13](t),l||(u=Ee(o,"load",e[12]),l=!0)},p(m,[d]){m[3]&&m[3]!=="false"?h?h.p(m,d):(h=_t(m),h.c(),h.m(r,n)):h&&(h.d(1),h=null),!m[3]||m[3]==="false"?f?f.p(m,d):(f=Et(m),f.c(),f.m(r,null)):f&&(f.d(1),f=null),d&1&&E(r,"lang",m[0]),d&4&&E(r,"translationurl",m[2]),d&128&&E(r,"title",m[7]),d&8&&E(r,"showbackbutton",m[3]),d&64&&E(r,"clientstylingurl",m[6]),d&32&&E(r,"clientstyling",m[5]),d&16&&E(r,"mbsource",m[4]),m[9]?c?c.p(m,d):(c=xt(m),c.c(),c.m(t,s)):c&&(c.d(1),c=null),d&2&&!tt(o.src,a=m[1])&&A(o,"src",a)},i:H,o:H,d(m){m&&G(t),h&&h.d(),f&&f.d(),c&&c.d(),e[13](null),l=!1,u()}}}function Li(e,t,r){let{lang:n="en"}=t,{iframeurl:i}=t,{translationurl:s=""}=t,{showbackbutton:o=""}=t,{mbsource:a}=t,{clientstyling:l}=t,{clientstylingurl:u}=t,{title:h=""}=t,f,c,m=!0;const d=()=>{let b=s;if(b)return fetch(b).then(O=>O.json()).then(O=>{Object.keys(O).forEach(qe=>{gt(qe,O[qe])})}).catch(O=>{console.log(O)})};Object.keys(yt).forEach(b=>{gt(b,yt[b])});const x=()=>{Bi(n)},T=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},N=b=>{b.target.src&&r(9,m=!1)},I=()=>window.postMessage({type:"DisableScroll"},window.location.href),S=()=>window.postMessage({type:"EnableScroll"},window.location.href);Tt(()=>(I(),()=>{S()}));const U=b=>N(b);function P(b){pe[b?"unshift":"push"](()=>{f=b,r(8,f)})}return e.$$set=b=>{"lang"in b&&r(0,n=b.lang),"iframeurl"in b&&r(1,i=b.iframeurl),"translationurl"in b&&r(2,s=b.translationurl),"showbackbutton"in b&&r(3,o=b.showbackbutton),"mbsource"in b&&r(4,a=b.mbsource),"clientstyling"in b&&r(5,l=b.clientstyling),"clientstylingurl"in b&&r(6,u=b.clientstylingurl),"title"in b&&r(7,h=b.title)},e.$$.update=()=>{e.$$.dirty&1&&n&&x(),e.$$.dirty&4&&s&&d(),e.$$.dirty&288&&l&&f&&nr(f,l),e.$$.dirty&320&&u&&f&&ir(f,u),e.$$.dirty&272&&a&&f&&sr(f,`${a}.Style`,c)},[n,i,s,o,a,l,u,h,f,m,T,N,U,P]}class or extends Pt{constructor(t){super(),At(this,t,Li,Pi,Ve,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},Ci)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),B()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),B()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),B()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),B()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),B()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),B()}}Ct(or,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);const Ni=Object.freeze(Object.defineProperty({__proto__:null,default:or},Symbol.toStringTag,{value:"Module"}));exports.$format=Ti;exports.$locale=R;exports.CashierIframeRedirect_ce=Ni;exports.SvelteComponent=Pt;exports.addMessages=We;exports.append=D;exports.append_styles=wt;exports.attr=A;exports.binding_callbacks=pe;exports.component_subscribe=dr;exports.create_custom_element=Ct;exports.create_slot=pr;exports.detach=G;exports.element=L;exports.empty=xr;exports.flush=B;exports.get_all_dirty_from_scope=yr;exports.get_slot_changes=br;exports.init=er;exports.init$1=At;exports.insert=Q;exports.listen=Ee;exports.noop=H;exports.onMount=Tt;exports.safe_not_equal=Ve;exports.setClientStyling=nr;exports.setClientStylingURL=ir;exports.setStreamStyling=sr;exports.set_data=Hr;exports.space=le;exports.text=Xe;exports.transition_in=Bt;exports.transition_out=Pr;exports.update_slot_base=gr;
|
|
5
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ii={fallbackLocale:null,loadingDelay:200,formats:ri,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ee=ii;function q(){return ee}function er(e){const t=e,{formats:r}=t,n=ti(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{qt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ni:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ee,n,{initialLocale:i}),r&&("number"in r&&Object.assign(ee.formats.number,r.number),"date"in r&&Object.assign(ee.formats.date,r.date),"time"in r&&Object.assign(ee.formats.time,r.time)),R.set(i)}const Le=xe(!1);var si=Object.defineProperty,oi=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,dt=(e,t,r)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,li=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&dt(e,r,t[r]);if(mt)for(var r of mt(t))hi.call(t,r)&&dt(e,r,t[r]);return e},fi=(e,t)=>oi(e,ai(t));let je;const ye=xe(null);function pt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ae(e,t=q().fallbackLocale){const r=pt(e);return t?[...new Set([...r,...pt(t)])]:r}function $(){return je!=null?je:void 0}ye.subscribe(e=>{je=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ci=e=>{if(e&&qn(e)&&ge(e)){const{loadingDelay:t}=q();let r;return typeof window!="undefined"&&$()!=null&&t?r=window.setTimeout(()=>Le.set(!0),t):Le.set(!0),Kt(e).then(()=>{ye.set(e)}).finally(()=>{clearTimeout(r),Le.set(!1)})}return ye.set(e)},R=fi(li({},ye),{set:ci}),Se=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var mi=Object.defineProperty,_e=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,bt=(e,t,r)=>t in e?mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&bt(e,r,t[r]);if(_e)for(var r of _e(t))rr.call(t,r)&&bt(e,r,t[r]);return e},Y=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_e)for(var n of _e(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const ie=(e,t)=>{const{formats:r}=q();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},di=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ie("number",n)),new Intl.NumberFormat(r,i)}),pi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ie("date",n):Object.keys(i).length===0&&(i=ie("date","short")),new Intl.DateTimeFormat(r,i)}),bi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ie("time",n):Object.keys(i).length===0&&(i=ie("time","short")),new Intl.DateTimeFormat(r,i)}),gi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return di(Ze({locale:r},n))},yi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return pi(Ze({locale:r},n))},_i=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return bi(Ze({locale:r},n))},Ei=Se((e,t=$())=>new qt(e,t,q().formats,{ignoreTag:q().ignoreTag})),xi=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=$(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Qt(e,l);if(!h)h=(s=(i=(n=(r=q()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let f=h;try{f=Ei(h,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},vi=(e,t)=>_i(t).format(e),Hi=(e,t)=>yi(t).format(e),Si=(e,t)=>gi(t).format(e),wi=(e,t=$())=>Qt(e,t),Ti=J([R,oe],()=>xi);J([R],()=>vi);J([R],()=>Hi);J([R],()=>Si);J([R,oe],()=>wi);function gt(e,t){We(e,t)}function Bi(e){er({fallbackLocale:"en"}),R.set(e)}const yt={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"}},V="__WIDGET_GLOBAL_STYLE_CACHE__";function nr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function ir(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function sr(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ai(e,t),r;window[V]||(window[V]={}),r=Oi(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[V][t]){const a=window[V][t];a.refCount>1?a.refCount=a.refCount-1:delete window[V][t]}s()};return r.unsubscribe=o,r}function Ai(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Oi(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[V];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){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"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-BV5k5voz.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){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"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-DiZBjE5d.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function Ci(e){wt(e,"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 _t(e){let t,r,n;return{c(){t=L("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>',A(t,"slot","leftButton"),A(t,"class","CashierHeaderLeftButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function Et(e){let t,r,n;return{c(){t=L("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>',A(t,"slot","rightButton"),A(t,"class","CashierHeaderRightButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function xt(e){let t;return{c(){t=L("cashier-spinner"),E(t,"clientstylingurl",e[6]),E(t,"clientstyling",e[5]),E(t,"mbsource",e[4])},m(r,n){Q(r,t,n)},p(r,n){n&64&&E(t,"clientstylingurl",r[6]),n&32&&E(t,"clientstyling",r[5]),n&16&&E(t,"mbsource",r[4])},d(r){r&&G(t)}}}function Pi(e){let t,r,n,i,s,o,a,l,u,h=!!e[3]&&e[3]!=="false"&&_t(e),f=(!e[3]||e[3]==="false")&&Et(e),c=e[9]&&xt(e);return{c(){t=L("div"),r=L("cashier-header"),h&&h.c(),n=le(),f&&f.c(),i=le(),c&&c.c(),s=le(),o=L("iframe"),E(r,"lang",e[0]),E(r,"translationurl",e[2]),E(r,"title",e[7]),E(r,"showbackbutton",e[3]),E(r,"clientstylingurl",e[6]),E(r,"clientstyling",e[5]),E(r,"mbsource",e[4]),tt(o.src,a=e[1])||A(o,"src",a),A(o,"frameborder","0"),A(t,"class","CashierRedirectIframe")},m(m,d){Q(m,t,d),D(t,r),h&&h.m(r,null),D(r,n),f&&f.m(r,null),D(t,i),c&&c.m(t,null),D(t,s),D(t,o),e[13](t),l||(u=Ee(o,"load",e[12]),l=!0)},p(m,[d]){m[3]&&m[3]!=="false"?h?h.p(m,d):(h=_t(m),h.c(),h.m(r,n)):h&&(h.d(1),h=null),!m[3]||m[3]==="false"?f?f.p(m,d):(f=Et(m),f.c(),f.m(r,null)):f&&(f.d(1),f=null),d&1&&E(r,"lang",m[0]),d&4&&E(r,"translationurl",m[2]),d&128&&E(r,"title",m[7]),d&8&&E(r,"showbackbutton",m[3]),d&64&&E(r,"clientstylingurl",m[6]),d&32&&E(r,"clientstyling",m[5]),d&16&&E(r,"mbsource",m[4]),m[9]?c?c.p(m,d):(c=xt(m),c.c(),c.m(t,s)):c&&(c.d(1),c=null),d&2&&!tt(o.src,a=m[1])&&A(o,"src",a)},i:H,o:H,d(m){m&&G(t),h&&h.d(),f&&f.d(),c&&c.d(),e[13](null),l=!1,u()}}}function Li(e,t,r){let{lang:n="en"}=t,{iframeurl:i}=t,{translationurl:s=""}=t,{showbackbutton:o=""}=t,{mbsource:a}=t,{clientstyling:l}=t,{clientstylingurl:u}=t,{title:h=""}=t,f,c,m=!0;const d=()=>{let b=s;if(b)return fetch(b).then(O=>O.json()).then(O=>{Object.keys(O).forEach(qe=>{gt(qe,O[qe])})}).catch(O=>{console.log(O)})};Object.keys(yt).forEach(b=>{gt(b,yt[b])});const x=()=>{Bi(n)},T=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},N=b=>{b.target.src&&r(9,m=!1)},I=()=>window.postMessage({type:"DisableScroll"},window.location.href),S=()=>window.postMessage({type:"EnableScroll"},window.location.href);Tt(()=>(I(),()=>{S()}));const U=b=>N(b);function P(b){pe[b?"unshift":"push"](()=>{f=b,r(8,f)})}return e.$$set=b=>{"lang"in b&&r(0,n=b.lang),"iframeurl"in b&&r(1,i=b.iframeurl),"translationurl"in b&&r(2,s=b.translationurl),"showbackbutton"in b&&r(3,o=b.showbackbutton),"mbsource"in b&&r(4,a=b.mbsource),"clientstyling"in b&&r(5,l=b.clientstyling),"clientstylingurl"in b&&r(6,u=b.clientstylingurl),"title"in b&&r(7,h=b.title)},e.$$.update=()=>{e.$$.dirty&1&&n&&x(),e.$$.dirty&4&&s&&d(),e.$$.dirty&288&&l&&f&&nr(f,l),e.$$.dirty&320&&u&&f&&ir(f,u),e.$$.dirty&272&&a&&f&&sr(f,`${a}.Style`,c)},[n,i,s,o,a,l,u,h,f,m,T,N,U,P]}class or extends Pt{constructor(t){super(),At(this,t,Li,Pi,Ve,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},Ci)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),B()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),B()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),B()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),B()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),B()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),B()}}Ct(or,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);const Ni=Object.freeze(Object.defineProperty({__proto__:null,default:or},Symbol.toStringTag,{value:"Module"}));exports.$format=Ti;exports.$locale=R;exports.CashierIframeRedirect_ce=Ni;exports.SvelteComponent=Pt;exports.addMessages=We;exports.append=D;exports.append_styles=wt;exports.attr=A;exports.binding_callbacks=pe;exports.component_subscribe=dr;exports.create_custom_element=Ct;exports.create_slot=pr;exports.detach=G;exports.element=L;exports.empty=xr;exports.flush=B;exports.get_all_dirty_from_scope=yr;exports.get_slot_changes=br;exports.init=er;exports.init$1=At;exports.insert=Q;exports.listen=Ee;exports.noop=H;exports.onMount=Tt;exports.safe_not_equal=Ve;exports.setClientStyling=nr;exports.setClientStylingURL=ir;exports.setStreamStyling=sr;exports.set_data=Hr;exports.space=le;exports.text=Xe;exports.transition_in=Bt;exports.transition_out=Pr;exports.update_slot_base=gr;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as m, b as y, s as f, f as o, c as d, y as c, e as g, k as p, m as k, o as b, q as S, x, A as v, B as w, C, D as _ } from "./CashierIframeRedirect-
|
|
1
|
+
import { S as m, b as y, s as f, f as o, c as d, y as c, e as g, k as p, m as k, o as b, q as S, x, A as v, B as w, C, D as _ } from "./CashierIframeRedirect-CRUP1rm1.js";
|
|
2
2
|
function z(e) {
|
|
3
3
|
d(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as y, b as d, s as f, f as o, d as m, z as c, g, l as p, n as k, p as b, r as S, y as x, C as v, D as w, E as C, c as _ } from "./CashierIframeRedirect-
|
|
1
|
+
import { S as y, b as d, s as f, f as o, d as m, z as c, g, l as p, n as k, p as b, r as S, y as x, C as v, D as w, E as C, c as _ } from "./CashierIframeRedirect-CDwJQB56.js";
|
|
2
2
|
function z(e) {
|
|
3
3
|
m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-Dp-Oia-l.cjs");function d(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function f(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function y(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i,u;t.onMount(()=>()=>{});function h(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`,u)},[i,l,o,a,h]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,y,f,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},d)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-Dp-Oia-l.cjs")).then(e=>e.CashierIframeRedirect_ce).then(({default:e})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-CRUP1rm1.js").then((e) => e.F).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-DgEZqtwf.cjs");function k(i,e){t.addMessages(i,e)}function x(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}};function D(i){t.append_styles(i,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.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)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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)}")}const E=i=>({}),v=i=>({}),I=i=>({}),L=i=>({}),P=i=>({}),H=i=>({});function S(i){let e,n,o;return{c(){e=t.element("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>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function U(i){let e,n=i[1]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Z(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,h){t.insert(s,e,h),t.append(e,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function M(i){let e,n,o;return{c(){e=t.element("span"),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>',t.attr(e,"class","CashierHeaderRightButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function W(i){let e,n=i[3]&&M(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Y(i){let e,n,o,s;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],H),r=m||U(i),b=i[16].title,g=t.create_slot(b,i,i[15],L),c=g||Z(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],v),u=d||W(i);return{c(){e=t.element("div"),r&&r.c(),n=t.space(),c&&c.c(),o=t.space(),u&&u.c(),t.attr(e,"class","CashierHeader")},m(l,f){t.insert(l,e,f),r&&r.m(e,null),t.append(e,n),c&&c.m(e,null),t.append(e,o),u&&u.m(e,null),i[17](e),s=!0},p(l,[f]){m?m.p&&(!s||f&32768)&&t.update_slot_base(m,h,l,l[15],s?t.get_slot_changes(h,l[15],f,P):t.get_all_dirty_from_scope(l[15]),H):r&&r.p&&(!s||f&2)&&r.p(l,s?f:-1),g?g.p&&(!s||f&32768)&&t.update_slot_base(g,b,l,l[15],s?t.get_slot_changes(b,l[15],f,I):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||f&20)&&c.p(l,s?f:-1),d?d.p&&(!s||f&32768)&&t.update_slot_base(d,_,l,l[15],s?t.get_slot_changes(_,l[15],f,E):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||f&8)&&u.p(l,s?f:-1)},i(l){s||(t.transition_in(r,l),t.transition_in(c,l),t.transition_in(u,l),s=!0)},o(l){t.transition_out(r,l),t.transition_out(c,l),t.transition_out(u,l),s=!1},d(l){l&&t.detach(e),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function G(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:c="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:u=""}=e,l,f,w=!1,p,C=!1;const F=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(y=>{k(y,a[y])})}).catch(a=>{console.log(a)})};Object.keys(B).forEach(a=>{k(a,B[a])});const R=()=>{x(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,w=!!g&&g!=="false")},A=()=>{n(3,C=!!d&&d!=="false")},O=()=>{n(2,p=c||"header.general")};t.onMount(()=>()=>{});function q(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&R(),i.$$.dirty&6144&&_&&c&&O(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&t.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&t.setStreamStyling(l,`${u}.Style`,f),i.$$.dirty&4608&&_&&b&&F(),i.$$.dirty&1024&&g&&z(),i.$$.dirty&8192&&d&&A()},[l,w,p,C,o,j,N,m,r,b,g,c,_,d,u,h,s,q]}class T extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,G,Y,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},D)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
|