@everymatrix/cashier-page 1.99.19 → 1.99.21

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.
Files changed (78) hide show
  1. package/components/CashierCarousel-BZ-i1EsX.js +732 -0
  2. package/components/CashierCarousel-CJAaHXXD.js +735 -0
  3. package/components/CashierCarousel-Cu_RNUHY.cjs +1 -0
  4. package/components/{CashierError-kl-Hjy3m.js → CashierError-4dP13hBI.js} +7 -6
  5. package/components/CashierError-D0mOIAnU.cjs +1 -0
  6. package/components/{CashierError-Dyxg1sq3.js → CashierError-GsEDSXtA.js} +7 -6
  7. package/components/CashierHeader-CK33wmWw.js +491 -0
  8. package/components/CashierHeader-DaUYq9lj.cjs +1 -0
  9. package/components/CashierHeader-gQMHuTqw.js +491 -0
  10. package/components/{CashierIframeRedirect-D5wLT4Ip.js → CashierIframeRedirect-BEsPx_Z8.js} +66 -81
  11. package/components/{CashierIframeRedirect-C_1-xORQ.js → CashierIframeRedirect-CKNMtdwW.js} +72 -87
  12. package/components/CashierIframeRedirect-D6UXTJnb.cjs +1 -0
  13. package/components/{CashierMethodDetails-BREpDnlu.js → CashierMethodDetails-6gecWa6-.js} +2845 -3270
  14. package/components/CashierMethodDetails-CSedTA6S.cjs +287 -0
  15. package/components/{CashierMethodDetails-Cob_AEyz.js → CashierMethodDetails-Di4M7A7s.js} +2982 -3407
  16. package/components/{CashierMethodsList-C1JyivW4.js → CashierMethodsList-CJqErGs4.js} +31 -31
  17. package/components/CashierMethodsList-Dd2UiVhS.cjs +1 -0
  18. package/components/{CashierMethodsList-DU64oEyD.js → CashierMethodsList-DxTcwp9y.js} +32 -32
  19. package/components/CashierModal-BAldCDjj.cjs +1 -0
  20. package/components/{CashierModal-Cpxd5bJQ.js → CashierModal-BmXXJZSw.js} +53 -52
  21. package/components/{CashierModal-C4PU5_PU.js → CashierModal-jptr1BjB.js} +35 -34
  22. package/components/CashierNotifications-BCksCjnd.cjs +1 -0
  23. package/components/{CashierNotifications-B-OQoaFK.js → CashierNotifications-DpUJKBKY.js} +27 -27
  24. package/components/{CashierNotifications-Bedwtk72.js → CashierNotifications-slqy0GL5.js} +29 -29
  25. package/components/CashierPage-9TlSv0Ys.js +10387 -0
  26. package/components/CashierPage-CRTe3srS.js +10334 -0
  27. package/components/CashierPage-GUVKpACj.cjs +23 -0
  28. package/components/{CashierReceiptPage-Bs1-A5oO.js → CashierReceiptPage-Bmki8Rgo.js} +87 -88
  29. package/components/{CashierReceiptPage-CKEro91e.js → CashierReceiptPage-CxEoywyO.js} +104 -105
  30. package/components/CashierReceiptPage-DU78zOm2.cjs +29 -0
  31. package/components/{CashierSessionExpirationModal-CePqbW5W.js → CashierSessionExpirationModal-0ZABOlrt.js} +82 -83
  32. package/components/{CashierSessionExpirationModal-CdSUe7hK.js → CashierSessionExpirationModal-DLzJHllv.js} +58 -59
  33. package/components/CashierSessionExpirationModal-ZVuwRFF3.cjs +2 -0
  34. package/components/{CashierSpinner-wvDbhkcq.js → CashierSpinner-Bic1yXPY.js} +15 -14
  35. package/components/CashierSpinner-D5xvgSGR.cjs +1 -0
  36. package/components/{CashierSpinner-D1qQLxEW.js → CashierSpinner-jlh3kLrw.js} +19 -18
  37. package/components/CashierStepUp-CitQkE0i.cjs +1 -0
  38. package/components/{CashierStepUp-8viDm0qd.js → CashierStepUp-g-G22Lc4.js} +105 -104
  39. package/components/{CashierStepUp-BJ3ojmDK.js → CashierStepUp-srh84KwL.js} +7 -6
  40. package/components/{CashierTransactionHistory-c3jwP7YJ.js → CashierTransactionHistory-CxMz_ono.js} +60 -61
  41. package/components/CashierTransactionHistory-CxxqOj18.cjs +1 -0
  42. package/components/{CashierTransactionHistory-C_HP2wr2.js → CashierTransactionHistory-yI8ncB6o.js} +60 -61
  43. package/components/CashierVerifications-BJloPP6f.cjs +1 -0
  44. package/components/{CashierVerifications-PeSLRi-g.js → CashierVerifications-CxFzWKAg.js} +137 -121
  45. package/components/{CashierVerifications-B8AtaT5B.js → CashierVerifications-DJsdsHJU.js} +141 -125
  46. package/components/{TxnStatusIcon-ipRjsjNx.js → TxnStatusIcon-B52lfQx_.js} +1 -1
  47. package/components/TxnStatusIcon-B_aOthN3.cjs +1 -0
  48. package/components/{TxnStatusIcon-CUxVvL_p.js → TxnStatusIcon-THzMx_aQ.js} +12 -12
  49. package/components/{TxnTypeIcons-B6Ue3pUq.js → TxnTypeIcons-BHrNWU9Q.js} +1 -1
  50. package/components/{TxnTypeIcons-CufWq1r7.js → TxnTypeIcons-DXAaJnwf.js} +1 -1
  51. package/components/TxnTypeIcons-NnRP_P64.cjs +1 -0
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-CUtNMhZV.js +0 -5858
  57. package/components/CashierCarousel-MBtvTbcb.cjs +0 -23
  58. package/components/CashierCarousel-Tx0f5-LG.js +0 -5896
  59. package/components/CashierError-C7eQzwUP.cjs +0 -1
  60. package/components/CashierHeader-BKcZqENP.js +0 -432
  61. package/components/CashierHeader-ByWJ_k92.cjs +0 -1
  62. package/components/CashierHeader-WI5T8myo.js +0 -432
  63. package/components/CashierIframeRedirect-EU2aPm8u.cjs +0 -1
  64. package/components/CashierMethodDetails-CYwLk7rR.cjs +0 -287
  65. package/components/CashierMethodsList-CcO-EerQ.cjs +0 -1
  66. package/components/CashierModal-BHWX0DmT.cjs +0 -1
  67. package/components/CashierNotifications-BRQYroR0.cjs +0 -1
  68. package/components/CashierPage-BgoraPRn.js +0 -4853
  69. package/components/CashierPage-BsAuSvEP.cjs +0 -1
  70. package/components/CashierPage-D9Eoq0xv.js +0 -4887
  71. package/components/CashierReceiptPage-DJG1aNbY.cjs +0 -29
  72. package/components/CashierSessionExpirationModal-ChfT0Imk.cjs +0 -2
  73. package/components/CashierSpinner-C1fzGsEh.cjs +0 -1
  74. package/components/CashierStepUp-V1DZKhrx.cjs +0 -1
  75. package/components/CashierTransactionHistory-Blt88-F-.cjs +0 -1
  76. package/components/CashierVerifications-CMRN3aAD.cjs +0 -1
  77. package/components/TxnStatusIcon-CL30ATPa.cjs +0 -1
  78. package/components/TxnTypeIcons-Cksp3nqd.cjs +0 -1
@@ -1,29 +1,14 @@
1
- import { a as U, i as Z, $ as G, S as P, b as J, s as K, f as b, c as Q, I as L, d as k, C as a, B, l as w, j as v, r as _, A as S, k as p, v as E, o as V, w as W, D as X, E as Y, F as x, G as $ } from "./CashierCarousel-Tx0f5-LG.js";
2
- if (typeof window != "undefined") {
3
- let i = function(e) {
4
- return function(...t) {
5
- try {
6
- return e.apply(this, t);
7
- } catch (n) {
8
- 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"))
9
- return !1;
10
- throw n;
11
- }
12
- };
13
- };
14
- customElements.define = i(customElements.define), import("./CashierHeader-WI5T8myo.js").then(({ default: e }) => {
15
- !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
16
- });
17
- }
18
- function D(i, e) {
1
+ import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as B, o as w, k as v, l as _, z as H, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-9TlSv0Ys.js";
2
+ import { s as Y, a as x, b as $ } from "./CashierHeader-gQMHuTqw.js";
3
+ function R(i, e) {
19
4
  U(i, e);
20
5
  }
21
6
  function ee(i) {
22
7
  Z({
23
8
  fallbackLocale: "en"
24
- }), G.set(i);
9
+ }), J.set(i);
25
10
  }
26
- const F = {
11
+ const z = {
27
12
  en: {
28
13
  redirectHeader: "Deposit redirect"
29
14
  },
@@ -54,28 +39,28 @@ if (typeof window != "undefined") {
54
39
  return function(...t) {
55
40
  try {
56
41
  return e.apply(this, t);
57
- } catch (n) {
58
- 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"))
42
+ } catch (s) {
43
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
59
44
  return !1;
60
- throw n;
45
+ throw s;
61
46
  }
62
47
  };
63
48
  };
64
- customElements.define = i(customElements.define), import("./CashierSpinner-wvDbhkcq.js").then(({ default: e }) => {
49
+ customElements.define = i(customElements.define), import("./CashierSpinner-jlh3kLrw.js").then(({ default: e }) => {
65
50
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
66
51
  });
67
52
  }
68
53
  function te(i) {
69
54
  Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
70
55
  }
71
- function R(i) {
72
- let e, t, n;
56
+ function F(i) {
57
+ let e, t, s;
73
58
  return {
74
59
  c() {
75
60
  e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
76
61
  },
77
62
  m(f, d) {
78
- v(f, e, d), t || (n = S(
63
+ v(f, e, d), t || (s = H(
79
64
  e,
80
65
  "click",
81
66
  /*close*/
@@ -84,18 +69,18 @@ function R(i) {
84
69
  },
85
70
  p: L,
86
71
  d(f) {
87
- f && k(e), t = !1, n();
72
+ f && k(e), t = !1, s();
88
73
  }
89
74
  };
90
75
  }
91
76
  function I(i) {
92
- let e, t, n;
77
+ let e, t, s;
93
78
  return {
94
79
  c() {
95
80
  e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
96
81
  },
97
82
  m(f, d) {
98
- v(f, e, d), t || (n = S(
83
+ v(f, e, d), t || (s = H(
99
84
  e,
100
85
  "click",
101
86
  /*close*/
@@ -104,7 +89,7 @@ function I(i) {
104
89
  },
105
90
  p: L,
106
91
  d(f) {
107
- f && k(e), t = !1, n();
92
+ f && k(e), t = !1, s();
108
93
  }
109
94
  };
110
95
  }
@@ -129,23 +114,23 @@ function j(i) {
129
114
  i[4]
130
115
  );
131
116
  },
132
- m(t, n) {
133
- v(t, e, n);
117
+ m(t, s) {
118
+ v(t, e, s);
134
119
  },
135
- p(t, n) {
136
- n & /*clientstylingurl*/
120
+ p(t, s) {
121
+ s & /*clientstylingurl*/
137
122
  64 && a(
138
123
  e,
139
124
  "clientstylingurl",
140
125
  /*clientstylingurl*/
141
126
  t[6]
142
- ), n & /*clientstyling*/
127
+ ), s & /*clientstyling*/
143
128
  32 && a(
144
129
  e,
145
130
  "clientstyling",
146
131
  /*clientstyling*/
147
132
  t[5]
148
- ), n & /*mbsource*/
133
+ ), s & /*mbsource*/
149
134
  16 && a(
150
135
  e,
151
136
  "mbsource",
@@ -159,9 +144,9 @@ function j(i) {
159
144
  };
160
145
  }
161
146
  function ie(i) {
162
- let e, t, n, f, d, m, h, g, y, o = !!/*showbackbutton*/
147
+ let e, t, s, f, d, g, m, h, y, o = !!/*showbackbutton*/
163
148
  i[3] && /*showbackbutton*/
164
- i[3] !== "false" && R(i), r = (!/*showbackbutton*/
149
+ i[3] !== "false" && F(i), r = (!/*showbackbutton*/
165
150
  i[3] || /*showbackbutton*/
166
151
  i[3] === "false") && I(i), c = (
167
152
  /*isLoading*/
@@ -169,7 +154,7 @@ function ie(i) {
169
154
  );
170
155
  return {
171
156
  c() {
172
- e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), d = E(), m = p("iframe"), a(
157
+ e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
173
158
  t,
174
159
  "lang",
175
160
  /*lang*/
@@ -204,21 +189,21 @@ function ie(i) {
204
189
  "mbsource",
205
190
  /*mbsource*/
206
191
  i[4]
207
- ), B(m.src, h = /*iframeurl*/
208
- i[1]) || w(m, "src", h), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
192
+ ), B(g.src, m = /*iframeurl*/
193
+ i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
209
194
  },
210
195
  m(l, u) {
211
- v(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, m), i[13](e), g || (y = S(
212
- m,
196
+ v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (y = H(
197
+ g,
213
198
  "load",
214
199
  /*load_handler*/
215
200
  i[12]
216
- ), g = !0);
201
+ ), h = !0);
217
202
  },
218
203
  p(l, [u]) {
219
204
  /*showbackbutton*/
220
205
  l[3] && /*showbackbutton*/
221
- l[3] !== "false" ? o ? o.p(l, u) : (o = R(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
206
+ l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
222
207
  l[3] || /*showbackbutton*/
223
208
  l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
224
209
  1 && a(
@@ -264,77 +249,77 @@ function ie(i) {
264
249
  l[4]
265
250
  ), /*isLoading*/
266
251
  l[9] ? c ? c.p(l, u) : (c = j(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
267
- 2 && !B(m.src, h = /*iframeurl*/
268
- l[1]) && w(m, "src", h);
252
+ 2 && !B(g.src, m = /*iframeurl*/
253
+ l[1]) && w(g, "src", m);
269
254
  },
270
255
  i: L,
271
256
  o: L,
272
257
  d(l) {
273
- l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
258
+ l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, y();
274
259
  }
275
260
  };
276
261
  }
277
262
  function ne(i, e, t) {
278
- let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: m = "" } = e, { mbsource: h } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
263
+ let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
279
264
  const u = () => {
280
- let s = d;
281
- if (s)
282
- return fetch(s).then((C) => C.json()).then((C) => {
265
+ let n = d;
266
+ if (n)
267
+ return fetch(n).then((C) => C.json()).then((C) => {
283
268
  Object.keys(C).forEach((M) => {
284
- D(M, C[M]);
269
+ R(M, C[M]);
285
270
  });
286
271
  }).catch((C) => {
287
272
  console.log(C);
288
273
  });
289
274
  };
290
- Object.keys(F).forEach((s) => {
291
- D(s, F[s]);
275
+ Object.keys(z).forEach((n) => {
276
+ R(n, z[n]);
292
277
  });
293
- const z = () => {
294
- ee(n);
295
- }, A = () => {
278
+ const A = () => {
279
+ ee(s);
280
+ }, D = () => {
296
281
  window.postMessage({ type: "CloseIframe" }, window.location.href);
297
- }, H = (s) => {
298
- s.target.src && t(9, l = !1);
282
+ }, E = (n) => {
283
+ n.target.src && t(9, l = !1);
299
284
  }, O = () => window.postMessage({ type: "DisableScroll" }, window.location.href), T = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
300
285
  V(() => (O(), () => {
301
286
  T();
302
287
  }));
303
- const N = (s) => H(s);
304
- function q(s) {
305
- W[s ? "unshift" : "push"](() => {
306
- r = s, t(8, r);
288
+ const q = (n) => E(n);
289
+ function N(n) {
290
+ W[n ? "unshift" : "push"](() => {
291
+ r = n, t(8, r);
307
292
  });
308
293
  }
309
- return i.$$set = (s) => {
310
- "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, d = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, h = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
294
+ return i.$$set = (n) => {
295
+ "lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, y = n.clientstylingurl), "title" in n && t(7, o = n.title);
311
296
  }, i.$$.update = () => {
312
297
  i.$$.dirty & /*lang*/
313
- 1 && n && z(), i.$$.dirty & /*translationurl*/
298
+ 1 && s && A(), i.$$.dirty & /*translationurl*/
314
299
  4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
315
- 288 && g && r && X(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
316
- 320 && y && r && Y(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
317
- 272 && h && r && x(r, `${h}.Style`, c);
300
+ 288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
301
+ 320 && y && r && x(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
302
+ 272 && m && r && $(r, `${m}.Style`, c);
318
303
  }, [
319
- n,
304
+ s,
320
305
  f,
321
306
  d,
307
+ g,
322
308
  m,
323
309
  h,
324
- g,
325
310
  y,
326
311
  o,
327
312
  r,
328
313
  l,
329
- A,
330
- H,
331
- N,
332
- q
314
+ D,
315
+ E,
316
+ q,
317
+ N
333
318
  ];
334
319
  }
335
- class se extends P {
320
+ class le extends P {
336
321
  constructor(e) {
337
- super(), J(
322
+ super(), G(
338
323
  this,
339
324
  e,
340
325
  ne,
@@ -402,7 +387,7 @@ class se extends P {
402
387
  this.$$set({ title: e }), b();
403
388
  }
404
389
  }
405
- $(se, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
390
+ X(le, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
406
391
  export {
407
- se as default
392
+ le as default
408
393
  };
@@ -1,29 +1,14 @@
1
- import { a as U, i as Z, $ as G, S as P, b as J, s as K, f as b, c as Q, I as L, d as k, B as a, A as B, k as w, h as v, q as _, z as S, j as p, r as E, o as V, v as W, D as X, E as Y, F as x, G as $ } from "./CashierCarousel-CUtNMhZV.js";
2
- if (typeof window < "u") {
3
- let i = function(e) {
4
- return function(...t) {
5
- try {
6
- return e.apply(this, t);
7
- } catch (n) {
8
- 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"))
9
- return !1;
10
- throw n;
11
- }
12
- };
13
- };
14
- customElements.define = i(customElements.define), import("./CashierHeader-BKcZqENP.js").then(({ default: e }) => {
15
- !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
16
- });
17
- }
18
- function D(i, e) {
1
+ import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as B, p as w, l as v, m as _, A as H, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-CRTe3srS.js";
2
+ import { s as Y, a as x, b as $ } from "./CashierHeader-CK33wmWw.js";
3
+ function R(i, e) {
19
4
  U(i, e);
20
5
  }
21
6
  function ee(i) {
22
7
  Z({
23
8
  fallbackLocale: "en"
24
- }), G.set(i);
9
+ }), J.set(i);
25
10
  }
26
- const F = {
11
+ const z = {
27
12
  en: {
28
13
  redirectHeader: "Deposit redirect"
29
14
  },
@@ -54,28 +39,28 @@ if (typeof window < "u") {
54
39
  return function(...t) {
55
40
  try {
56
41
  return e.apply(this, t);
57
- } catch (n) {
58
- 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"))
42
+ } catch (s) {
43
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
59
44
  return !1;
60
- throw n;
45
+ throw s;
61
46
  }
62
47
  };
63
48
  };
64
- customElements.define = i(customElements.define), import("./CashierSpinner-D1qQLxEW.js").then(({ default: e }) => {
49
+ customElements.define = i(customElements.define), import("./CashierSpinner-Bic1yXPY.js").then(({ default: e }) => {
65
50
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
66
51
  });
67
52
  }
68
53
  function te(i) {
69
54
  Q(i, "svelte-14e65vo", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
70
55
  }
71
- function R(i) {
72
- let e, t, n;
56
+ function F(i) {
57
+ let e, t, s;
73
58
  return {
74
59
  c() {
75
60
  e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
76
61
  },
77
62
  m(f, d) {
78
- v(f, e, d), t || (n = S(
63
+ v(f, e, d), t || (s = H(
79
64
  e,
80
65
  "click",
81
66
  /*close*/
@@ -84,18 +69,18 @@ function R(i) {
84
69
  },
85
70
  p: L,
86
71
  d(f) {
87
- f && k(e), t = !1, n();
72
+ f && k(e), t = !1, s();
88
73
  }
89
74
  };
90
75
  }
91
- function z(i) {
92
- let e, t, n;
76
+ function I(i) {
77
+ let e, t, s;
93
78
  return {
94
79
  c() {
95
80
  e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
96
81
  },
97
82
  m(f, d) {
98
- v(f, e, d), t || (n = S(
83
+ v(f, e, d), t || (s = H(
99
84
  e,
100
85
  "click",
101
86
  /*close*/
@@ -104,11 +89,11 @@ function z(i) {
104
89
  },
105
90
  p: L,
106
91
  d(f) {
107
- f && k(e), t = !1, n();
92
+ f && k(e), t = !1, s();
108
93
  }
109
94
  };
110
95
  }
111
- function I(i) {
96
+ function j(i) {
112
97
  let e;
113
98
  return {
114
99
  c() {
@@ -129,23 +114,23 @@ function I(i) {
129
114
  i[4]
130
115
  );
131
116
  },
132
- m(t, n) {
133
- v(t, e, n);
117
+ m(t, s) {
118
+ v(t, e, s);
134
119
  },
135
- p(t, n) {
136
- n & /*clientstylingurl*/
120
+ p(t, s) {
121
+ s & /*clientstylingurl*/
137
122
  64 && a(
138
123
  e,
139
124
  "clientstylingurl",
140
125
  /*clientstylingurl*/
141
126
  t[6]
142
- ), n & /*clientstyling*/
127
+ ), s & /*clientstyling*/
143
128
  32 && a(
144
129
  e,
145
130
  "clientstyling",
146
131
  /*clientstyling*/
147
132
  t[5]
148
- ), n & /*mbsource*/
133
+ ), s & /*mbsource*/
149
134
  16 && a(
150
135
  e,
151
136
  "mbsource",
@@ -159,17 +144,17 @@ function I(i) {
159
144
  };
160
145
  }
161
146
  function ie(i) {
162
- let e, t, n, f, d, m, h, g, y, o = !!/*showbackbutton*/
147
+ let e, t, s, f, d, g, m, h, y, o = !!/*showbackbutton*/
163
148
  i[3] && /*showbackbutton*/
164
- i[3] !== "false" && R(i), r = (!/*showbackbutton*/
149
+ i[3] !== "false" && F(i), r = (!/*showbackbutton*/
165
150
  i[3] || /*showbackbutton*/
166
- i[3] === "false") && z(i), c = (
151
+ i[3] === "false") && I(i), c = (
167
152
  /*isLoading*/
168
- i[9] && I(i)
153
+ i[9] && j(i)
169
154
  );
170
155
  return {
171
156
  c() {
172
- e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), d = E(), m = p("iframe"), a(
157
+ e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
173
158
  t,
174
159
  "lang",
175
160
  /*lang*/
@@ -204,23 +189,23 @@ function ie(i) {
204
189
  "mbsource",
205
190
  /*mbsource*/
206
191
  i[4]
207
- ), B(m.src, h = /*iframeurl*/
208
- i[1]) || w(m, "src", h), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
192
+ ), B(g.src, m = /*iframeurl*/
193
+ i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
209
194
  },
210
195
  m(l, u) {
211
- v(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, m), i[13](e), g || (y = S(
212
- m,
196
+ v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (y = H(
197
+ g,
213
198
  "load",
214
199
  /*load_handler*/
215
200
  i[12]
216
- ), g = !0);
201
+ ), h = !0);
217
202
  },
218
203
  p(l, [u]) {
219
204
  /*showbackbutton*/
220
205
  l[3] && /*showbackbutton*/
221
- l[3] !== "false" ? o ? o.p(l, u) : (o = R(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
206
+ l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
222
207
  l[3] || /*showbackbutton*/
223
- l[3] === "false" ? r ? r.p(l, u) : (r = z(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
208
+ l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
224
209
  1 && a(
225
210
  t,
226
211
  "lang",
@@ -263,78 +248,78 @@ function ie(i) {
263
248
  /*mbsource*/
264
249
  l[4]
265
250
  ), /*isLoading*/
266
- l[9] ? c ? c.p(l, u) : (c = I(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
267
- 2 && !B(m.src, h = /*iframeurl*/
268
- l[1]) && w(m, "src", h);
251
+ l[9] ? c ? c.p(l, u) : (c = j(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
252
+ 2 && !B(g.src, m = /*iframeurl*/
253
+ l[1]) && w(g, "src", m);
269
254
  },
270
255
  i: L,
271
256
  o: L,
272
257
  d(l) {
273
- l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
258
+ l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, y();
274
259
  }
275
260
  };
276
261
  }
277
262
  function ne(i, e, t) {
278
- let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: m = "" } = e, { mbsource: h } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
263
+ let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
279
264
  const u = () => {
280
- let s = d;
281
- if (s)
282
- return fetch(s).then((C) => C.json()).then((C) => {
265
+ let n = d;
266
+ if (n)
267
+ return fetch(n).then((C) => C.json()).then((C) => {
283
268
  Object.keys(C).forEach((M) => {
284
- D(M, C[M]);
269
+ R(M, C[M]);
285
270
  });
286
271
  }).catch((C) => {
287
272
  console.log(C);
288
273
  });
289
274
  };
290
- Object.keys(F).forEach((s) => {
291
- D(s, F[s]);
275
+ Object.keys(z).forEach((n) => {
276
+ R(n, z[n]);
292
277
  });
293
- const j = () => {
294
- ee(n);
295
- }, A = () => {
278
+ const A = () => {
279
+ ee(s);
280
+ }, D = () => {
296
281
  window.postMessage({ type: "CloseIframe" }, window.location.href);
297
- }, H = (s) => {
298
- s.target.src && t(9, l = !1);
282
+ }, E = (n) => {
283
+ n.target.src && t(9, l = !1);
299
284
  }, O = () => window.postMessage({ type: "DisableScroll" }, window.location.href), T = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
300
285
  V(() => (O(), () => {
301
286
  T();
302
287
  }));
303
- const q = (s) => H(s);
304
- function N(s) {
305
- W[s ? "unshift" : "push"](() => {
306
- r = s, t(8, r);
288
+ const N = (n) => E(n);
289
+ function q(n) {
290
+ W[n ? "unshift" : "push"](() => {
291
+ r = n, t(8, r);
307
292
  });
308
293
  }
309
- return i.$$set = (s) => {
310
- "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, d = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, h = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
294
+ return i.$$set = (n) => {
295
+ "lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, y = n.clientstylingurl), "title" in n && t(7, o = n.title);
311
296
  }, i.$$.update = () => {
312
297
  i.$$.dirty & /*lang*/
313
- 1 && n && j(), i.$$.dirty & /*translationurl*/
298
+ 1 && s && A(), i.$$.dirty & /*translationurl*/
314
299
  4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
315
- 288 && g && r && X(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
316
- 320 && y && r && Y(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
317
- 272 && h && r && x(r, `${h}.Style`, c);
300
+ 288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
301
+ 320 && y && r && x(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
302
+ 272 && m && r && $(r, `${m}.Style`, c);
318
303
  }, [
319
- n,
304
+ s,
320
305
  f,
321
306
  d,
307
+ g,
322
308
  m,
323
309
  h,
324
- g,
325
310
  y,
326
311
  o,
327
312
  r,
328
313
  l,
329
- A,
330
- H,
331
- q,
332
- N
314
+ D,
315
+ E,
316
+ N,
317
+ q
333
318
  ];
334
319
  }
335
- class se extends P {
320
+ class le extends P {
336
321
  constructor(e) {
337
- super(), J(
322
+ super(), G(
338
323
  this,
339
324
  e,
340
325
  ne,
@@ -402,7 +387,7 @@ class se extends P {
402
387
  this.$$set({ title: e }), b();
403
388
  }
404
389
  }
405
- $(se, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
390
+ X(le, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
406
391
  export {
407
- se as default
392
+ le as default
408
393
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-GUVKpACj.cjs"),w=require("./CashierHeader-DaUYq9lj.cjs");function y(n,t){e.addMessages(n,t)}function q(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const v={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"},ru:{redirectHeader:"Перенаправление депозита"},az:{redirectHeader:"Depozit yönləndirməsi"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-D5xvgSGR.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function z(n){e.append_styles(n,"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 L(n){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(m,f){e.insert(m,t,f),i||(r=e.listen(t,"click",n[10]),i=!0)},p:e.noop,d(m){m&&e.detach(t),i=!1,r()}}}function k(n){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(m,f){e.insert(m,t,f),i||(r=e.listen(t,"click",n[10]),i=!0)},p:e.noop,d(m){m&&e.detach(t),i=!1,r()}}}function S(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[6]),e.set_custom_element_data(t,"clientstyling",n[5]),e.set_custom_element_data(t,"mbsource",n[4])},m(i,r){e.insert(i,t,r)},p(i,r){r&64&&e.set_custom_element_data(t,"clientstylingurl",i[6]),r&32&&e.set_custom_element_data(t,"clientstyling",i[5]),r&16&&e.set_custom_element_data(t,"mbsource",i[4])},d(i){i&&e.detach(t)}}}function I(n){let t,i,r,m,f,d,h,g,_,o=!!n[3]&&n[3]!=="false"&&L(n),a=(!n[3]||n[3]==="false")&&k(n),c=n[9]&&S(n);return{c(){t=e.element("div"),i=e.element("cashier-header"),o&&o.c(),r=e.space(),a&&a.c(),m=e.space(),c&&c.c(),f=e.space(),d=e.element("iframe"),e.set_custom_element_data(i,"lang",n[0]),e.set_custom_element_data(i,"translationurl",n[2]),e.set_custom_element_data(i,"title",n[7]),e.set_custom_element_data(i,"showbackbutton",n[3]),e.set_custom_element_data(i,"clientstylingurl",n[6]),e.set_custom_element_data(i,"clientstyling",n[5]),e.set_custom_element_data(i,"mbsource",n[4]),e.src_url_equal(d.src,h=n[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(s,u){e.insert(s,t,u),e.append(t,i),o&&o.m(i,null),e.append(i,r),a&&a.m(i,null),e.append(t,m),c&&c.m(t,null),e.append(t,f),e.append(t,d),n[13](t),g||(_=e.listen(d,"load",n[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(i,r)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?a?a.p(s,u):(a=k(s),a.c(),a.m(i,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(i,"lang",s[0]),u&4&&e.set_custom_element_data(i,"translationurl",s[2]),u&128&&e.set_custom_element_data(i,"title",s[7]),u&8&&e.set_custom_element_data(i,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(i,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(i,"clientstyling",s[5]),u&16&&e.set_custom_element_data(i,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,f)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),n[13](null),g=!1,_()}}}function T(n,t,i){let{lang:r="en"}=t,{iframeurl:m}=t,{translationurl:f=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,s=!0;const u=()=>{let l=f;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{y(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(v).forEach(l=>{y(l,v[l])});const E=()=>{q(r)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},p=l=>{l.target.src&&i(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>p(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,i(8,a)})}return n.$$set=l=>{"lang"in l&&i(0,r=l.lang),"iframeurl"in l&&i(1,m=l.iframeurl),"translationurl"in l&&i(2,f=l.translationurl),"showbackbutton"in l&&i(3,d=l.showbackbutton),"mbsource"in l&&i(4,h=l.mbsource),"clientstyling"in l&&i(5,g=l.clientstyling),"clientstylingurl"in l&&i(6,_=l.clientstylingurl),"title"in l&&i(7,o=l.title)},n.$$.update=()=>{n.$$.dirty&1&&r&&E(),n.$$.dirty&4&&f&&u(),n.$$.dirty&288&&g&&a&&w.setClientStyling(a,g),n.$$.dirty&320&&_&&a&&w.setClientStylingURL(a,_),n.$$.dirty&272&&h&&a&&w.setStreamStyling(a,`${h}.Style`,c)},[r,m,f,d,h,g,_,o,a,s,M,p,F,j]}class H extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,T,I,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},z)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;