@everymatrix/cashier-method-details 1.64.7 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/{CashierConfirmModal-3pkCHAVZ.js → CashierConfirmModal-BzyMG3UR.js} +33 -33
  2. package/components/{CashierConfirmModal-CNzEOcOZ.js → CashierConfirmModal-_hdnB5XT.js} +33 -33
  3. package/components/{CashierError-Bisyjt8z.js → CashierError-C1ZcvUYr.js} +618 -622
  4. package/components/{CashierError-DV-HLY8d.js → CashierError-CBebkrdZ.js} +617 -621
  5. package/components/{CashierError-GVInnLO0.cjs → CashierError-qXbd3T4d.cjs} +16 -3
  6. package/components/{CashierHeader-Dpm_m2-F.cjs → CashierHeader-BbnypQYS.cjs} +1 -1
  7. package/components/{CashierHeader-BmFLcvOn.js → CashierHeader-CXnHNYfs.js} +38 -38
  8. package/components/{CashierHeader-D5rWgCkR.js → CashierHeader-SSuALKdn.js} +38 -38
  9. package/components/{CashierIframeRedirect-BeJ3BjdP.js → CashierIframeRedirect-BPh132E4.js} +32 -32
  10. package/components/{CashierIframeRedirect-UyIC5nCY.js → CashierIframeRedirect-BeIzPkcY.js} +30 -30
  11. package/components/{CashierIframeRedirect-OIn1YaZR.cjs → CashierIframeRedirect-CiJvxeWK.cjs} +1 -1
  12. package/components/{CashierMethodDetails-CbIHNNA7.js → CashierMethodDetails-BdPcAVmB.js} +54 -54
  13. package/components/{CashierMethodDetails-rb98ADfQ.js → CashierMethodDetails-CJosBjV2.js} +54 -54
  14. package/components/{CashierMethodDetails-HB5kpaqd.cjs → CashierMethodDetails-CMWNeKZq.cjs} +1 -1
  15. package/components/{CashierModal-PGQGrAgY.js → CashierModal-B2DUTbzl.js} +34 -34
  16. package/components/{CashierModal-Dv-7ZIuz.js → CashierModal-cAadEtV9.js} +34 -34
  17. package/components/{CashierNotifications-BMYdcdkg.js → CashierNotifications-BqrU3g7B.js} +19 -19
  18. package/components/{CashierNotifications-Dy0g_QWG.js → CashierNotifications-sCssNp8Z.js} +19 -19
  19. package/components/{CashierReceiptPage-CEUHu1XU.js → CashierReceiptPage-24Lr_kLo.js} +28 -28
  20. package/components/{CashierReceiptPage-DQdoyQtR.cjs → CashierReceiptPage-BdonZ5wU.cjs} +1 -1
  21. package/components/{CashierReceiptPage-Cy6AVN3x.js → CashierReceiptPage-Ctdksnjs.js} +28 -28
  22. package/components/CashierSpinner-BdCzICuN.cjs +1 -0
  23. package/components/CashierSpinner-FjymFjBK.js +71 -0
  24. package/components/CashierSpinner-oZ2qOf5M.js +71 -0
  25. package/es2015/cashier-method-details.cjs +1 -1
  26. package/es2015/cashier-method-details.js +1 -1
  27. package/esnext/cashier-method-details.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-BzQXAkmg.js +558 -0
  30. package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
  31. package/stencil/index-97d17652-mbOyENH9.js +542 -0
  32. package/stencil/{ui-image-CQQDA5b0.js → ui-image-BmTbGz5h.js} +1 -1
  33. package/stencil/{ui-image-CmwNU-jf.js → ui-image-CFddgpOe.js} +1 -1
  34. package/stencil/{ui-image-CMb1eK44.cjs → ui-image-DzutkFSv.cjs} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-7wF4sIlr.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DQE3WxuL.cjs} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-kIlLPkYB.js} +1 -1
  38. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CJHJWEhi.cjs} +1 -1
  39. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Db7N7hzA.js} +2 -2
  40. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-oohpKuRS.js} +2 -2
  41. package/components/CashierSpinner-Cxbw-HyX.cjs +0 -1
  42. package/components/CashierSpinner-D30EfqMz.js +0 -71
  43. package/components/CashierSpinner-Dq2vgm_x.js +0 -71
  44. package/stencil/index-97d17652-BEnqZAxL.js +0 -558
  45. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
  46. package/stencil/index-97d17652-WK_DbPS4.js +0 -542
@@ -1,5 +1,5 @@
1
- import { S as N, b as U, s as Z, f as C, c as F, n as v, e as k, D as c, C as R, v as b, m as E, o as L, B, p as y, q as H, A as P, E as G } from "./CashierConfirmModal-CNzEOcOZ.js";
2
- import { a as J, i as K, $ as Q } from "./CashierError-Bisyjt8z.js";
1
+ import { S as U, b as q, f as C, c as Z, a as F, d as P, g as y, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-_hdnB5XT.js";
2
+ import { a as J, i as K, $ as Q } from "./CashierError-C1ZcvUYr.js";
3
3
  function T(i, e) {
4
4
  J(i, e);
5
5
  }
@@ -37,7 +37,7 @@ if (typeof window != "undefined") {
37
37
  }
38
38
  };
39
39
  };
40
- customElements.define = i(customElements.define), import("./CashierHeader-D5rWgCkR.js").then(({ default: e }) => {
40
+ customElements.define = i(customElements.define), import("./CashierHeader-SSuALKdn.js").then(({ default: e }) => {
41
41
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
42
42
  });
43
43
  }
@@ -53,12 +53,12 @@ if (typeof window != "undefined") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = i(customElements.define), import("./CashierSpinner-Dq2vgm_x.js").then(({ default: e }) => {
56
+ customElements.define = i(customElements.define), import("./CashierSpinner-FjymFjBK.js").then(({ default: e }) => {
57
57
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
58
58
  });
59
59
  }
60
60
  function W(i) {
61
- F(i, "svelte-10xutbi", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
61
+ P(i, "svelte-10xutbi", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
62
62
  }
63
63
  function S(i) {
64
64
  let e, t, l;
@@ -67,7 +67,7 @@ function S(i) {
67
67
  e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', b(e, "slot", "leftButton"), b(e, "class", "CashierHeaderLeftButton");
68
68
  },
69
69
  m(u, h) {
70
- E(u, e, h), t || (l = B(
70
+ k(u, e, h), t || (l = M(
71
71
  e,
72
72
  "click",
73
73
  /*close*/
@@ -76,18 +76,18 @@ function S(i) {
76
76
  },
77
77
  p: v,
78
78
  d(u) {
79
- u && k(e), t = !1, l();
79
+ u && E(e), t = !1, l();
80
80
  }
81
81
  };
82
82
  }
83
- function I(i) {
83
+ function j(i) {
84
84
  let e, t, l;
85
85
  return {
86
86
  c() {
87
87
  e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', b(e, "slot", "rightButton"), b(e, "class", "CashierHeaderRightButton");
88
88
  },
89
89
  m(u, h) {
90
- E(u, e, h), t || (l = B(
90
+ k(u, e, h), t || (l = M(
91
91
  e,
92
92
  "click",
93
93
  /*close*/
@@ -96,11 +96,11 @@ function I(i) {
96
96
  },
97
97
  p: v,
98
98
  d(u) {
99
- u && k(e), t = !1, l();
99
+ u && E(e), t = !1, l();
100
100
  }
101
101
  };
102
102
  }
103
- function O(i) {
103
+ function I(i) {
104
104
  let e;
105
105
  return {
106
106
  c() {
@@ -117,7 +117,7 @@ function O(i) {
117
117
  );
118
118
  },
119
119
  m(t, l) {
120
- E(t, e, l);
120
+ k(t, e, l);
121
121
  },
122
122
  p(t, l) {
123
123
  l & /*clientstylingurl*/
@@ -135,7 +135,7 @@ function O(i) {
135
135
  );
136
136
  },
137
137
  d(t) {
138
- t && k(e);
138
+ t && E(e);
139
139
  }
140
140
  };
141
141
  }
@@ -144,9 +144,9 @@ function X(i) {
144
144
  i[3] && /*showbackbutton*/
145
145
  i[3] !== "false" && S(i), r = (!/*showbackbutton*/
146
146
  i[3] || /*showbackbutton*/
147
- i[3] === "false") && I(i), o = (
147
+ i[3] === "false") && j(i), o = (
148
148
  /*isLoading*/
149
- i[8] && O(i)
149
+ i[8] && I(i)
150
150
  );
151
151
  return {
152
152
  c() {
@@ -184,7 +184,7 @@ function X(i) {
184
184
  i[1]) || b(d, "src", g), b(d, "frameborder", "0"), b(e, "class", "CashierRedirectIframe");
185
185
  },
186
186
  m(s, f) {
187
- E(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = B(
187
+ k(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = M(
188
188
  d,
189
189
  "load",
190
190
  /*load_handler*/
@@ -196,7 +196,7 @@ function X(i) {
196
196
  s[3] && /*showbackbutton*/
197
197
  s[3] !== "false" ? a ? a.p(s, f) : (a = S(s), a.c(), a.m(t, l)) : a && (a.d(1), a = null), !/*showbackbutton*/
198
198
  s[3] || /*showbackbutton*/
199
- s[3] === "false" ? r ? r.p(s, f) : (r = I(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
199
+ s[3] === "false" ? r ? r.p(s, f) : (r = j(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
200
200
  1 && c(
201
201
  t,
202
202
  "lang",
@@ -233,14 +233,14 @@ function X(i) {
233
233
  /*clientstyling*/
234
234
  s[4]
235
235
  ), /*isLoading*/
236
- s[8] ? o ? o.p(s, f) : (o = O(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
236
+ s[8] ? o ? o.p(s, f) : (o = I(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
237
237
  2 && !R(d.src, g = /*iframeurl*/
238
238
  s[1]) && b(d, "src", g);
239
239
  },
240
240
  i: v,
241
241
  o: v,
242
242
  d(s) {
243
- s && k(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
243
+ s && E(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
244
244
  }
245
245
  };
246
246
  }
@@ -265,7 +265,7 @@ function Y(i, e, t) {
265
265
  }, f = () => {
266
266
  let n = document.createElement("style");
267
267
  n.innerHTML = g, r.appendChild(n);
268
- }, j = () => {
268
+ }, O = () => {
269
269
  let n = new URL(w), m = document.createElement("style");
270
270
  fetch(n.href).then((p) => p.text()).then((p) => {
271
271
  m.innerHTML = p, setTimeout(
@@ -277,11 +277,11 @@ function Y(i, e, t) {
277
277
  });
278
278
  }, A = () => {
279
279
  window.postMessage({ type: "CloseIframe" }, window.location.href);
280
- }, M = (n) => {
280
+ }, B = (n) => {
281
281
  n.target.src && t(8, a = !1);
282
- }, q = (n) => M(n);
283
- function z(n) {
284
- P[n ? "unshift" : "push"](() => {
282
+ }, z = (n) => B(n);
283
+ function N(n) {
284
+ G[n ? "unshift" : "push"](() => {
285
285
  r = n, t(7, r);
286
286
  });
287
287
  }
@@ -292,7 +292,7 @@ function Y(i, e, t) {
292
292
  1 && l && s(), i.$$.dirty & /*translationurl*/
293
293
  4 && h && o(), i.$$.dirty & /*clientstyling, customStylingContainer*/
294
294
  144 && g && r && f(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
295
- 160 && w && r && j();
295
+ 160 && w && r && O();
296
296
  }, [
297
297
  l,
298
298
  u,
@@ -304,19 +304,19 @@ function Y(i, e, t) {
304
304
  r,
305
305
  a,
306
306
  A,
307
- M,
308
- q,
309
- z
307
+ B,
308
+ z,
309
+ N
310
310
  ];
311
311
  }
312
- class x extends N {
312
+ class x extends U {
313
313
  constructor(e) {
314
- super(), U(
314
+ super(), q(
315
315
  this,
316
316
  e,
317
317
  Y,
318
318
  X,
319
- Z,
319
+ F,
320
320
  {
321
321
  lang: 0,
322
322
  iframeurl: 1,
@@ -372,7 +372,7 @@ class x extends N {
372
372
  this.$$set({ title: e }), C();
373
373
  }
374
374
  }
375
- G(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
375
+ Z(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
376
376
  export {
377
377
  x as default
378
378
  };
@@ -1,5 +1,5 @@
1
- import { S as N, b as U, f as C, s as Z, E as F, c as P, n as v, e as k, D as c, C as R, v as b, m as E, o as L, B, p as y, q as H, A as G } from "./CashierConfirmModal-3pkCHAVZ.js";
2
- import { a as J, i as K, $ as Q } from "./CashierError-DV-HLY8d.js";
1
+ import { S as U, b as q, f as C, c as Z, a as F, d as P, g as y, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-BzyMG3UR.js";
2
+ import { a as J, i as K, $ as Q } from "./CashierError-CBebkrdZ.js";
3
3
  function T(i, e) {
4
4
  J(i, e);
5
5
  }
@@ -37,7 +37,7 @@ if (typeof window < "u") {
37
37
  }
38
38
  };
39
39
  };
40
- customElements.define = i(customElements.define), import("./CashierHeader-BmFLcvOn.js").then(({ default: e }) => {
40
+ customElements.define = i(customElements.define), import("./CashierHeader-CXnHNYfs.js").then(({ default: e }) => {
41
41
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
42
42
  });
43
43
  }
@@ -53,7 +53,7 @@ if (typeof window < "u") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = i(customElements.define), import("./CashierSpinner-D30EfqMz.js").then(({ default: e }) => {
56
+ customElements.define = i(customElements.define), import("./CashierSpinner-oZ2qOf5M.js").then(({ default: e }) => {
57
57
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
58
58
  });
59
59
  }
@@ -67,7 +67,7 @@ function S(i) {
67
67
  e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', b(e, "slot", "leftButton"), b(e, "class", "CashierHeaderLeftButton");
68
68
  },
69
69
  m(u, h) {
70
- E(u, e, h), t || (l = B(
70
+ k(u, e, h), t || (l = M(
71
71
  e,
72
72
  "click",
73
73
  /*close*/
@@ -76,18 +76,18 @@ function S(i) {
76
76
  },
77
77
  p: v,
78
78
  d(u) {
79
- u && k(e), t = !1, l();
79
+ u && E(e), t = !1, l();
80
80
  }
81
81
  };
82
82
  }
83
- function I(i) {
83
+ function j(i) {
84
84
  let e, t, l;
85
85
  return {
86
86
  c() {
87
87
  e = y("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', b(e, "slot", "rightButton"), b(e, "class", "CashierHeaderRightButton");
88
88
  },
89
89
  m(u, h) {
90
- E(u, e, h), t || (l = B(
90
+ k(u, e, h), t || (l = M(
91
91
  e,
92
92
  "click",
93
93
  /*close*/
@@ -96,11 +96,11 @@ function I(i) {
96
96
  },
97
97
  p: v,
98
98
  d(u) {
99
- u && k(e), t = !1, l();
99
+ u && E(e), t = !1, l();
100
100
  }
101
101
  };
102
102
  }
103
- function O(i) {
103
+ function I(i) {
104
104
  let e;
105
105
  return {
106
106
  c() {
@@ -117,7 +117,7 @@ function O(i) {
117
117
  );
118
118
  },
119
119
  m(t, l) {
120
- E(t, e, l);
120
+ k(t, e, l);
121
121
  },
122
122
  p(t, l) {
123
123
  l & /*clientstylingurl*/
@@ -135,7 +135,7 @@ function O(i) {
135
135
  );
136
136
  },
137
137
  d(t) {
138
- t && k(e);
138
+ t && E(e);
139
139
  }
140
140
  };
141
141
  }
@@ -144,9 +144,9 @@ function X(i) {
144
144
  i[3] && /*showbackbutton*/
145
145
  i[3] !== "false" && S(i), r = (!/*showbackbutton*/
146
146
  i[3] || /*showbackbutton*/
147
- i[3] === "false") && I(i), o = (
147
+ i[3] === "false") && j(i), o = (
148
148
  /*isLoading*/
149
- i[8] && O(i)
149
+ i[8] && I(i)
150
150
  );
151
151
  return {
152
152
  c() {
@@ -184,7 +184,7 @@ function X(i) {
184
184
  i[1]) || b(d, "src", g), b(d, "frameborder", "0"), b(e, "class", "CashierRedirectIframe");
185
185
  },
186
186
  m(s, f) {
187
- E(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = B(
187
+ k(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = M(
188
188
  d,
189
189
  "load",
190
190
  /*load_handler*/
@@ -196,7 +196,7 @@ function X(i) {
196
196
  s[3] && /*showbackbutton*/
197
197
  s[3] !== "false" ? a ? a.p(s, f) : (a = S(s), a.c(), a.m(t, l)) : a && (a.d(1), a = null), !/*showbackbutton*/
198
198
  s[3] || /*showbackbutton*/
199
- s[3] === "false" ? r ? r.p(s, f) : (r = I(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
199
+ s[3] === "false" ? r ? r.p(s, f) : (r = j(s), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
200
200
  1 && c(
201
201
  t,
202
202
  "lang",
@@ -233,14 +233,14 @@ function X(i) {
233
233
  /*clientstyling*/
234
234
  s[4]
235
235
  ), /*isLoading*/
236
- s[8] ? o ? o.p(s, f) : (o = O(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
236
+ s[8] ? o ? o.p(s, f) : (o = I(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
237
237
  2 && !R(d.src, g = /*iframeurl*/
238
238
  s[1]) && b(d, "src", g);
239
239
  },
240
240
  i: v,
241
241
  o: v,
242
242
  d(s) {
243
- s && k(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
243
+ s && E(e), a && a.d(), r && r.d(), o && o.d(), i[12](null), w = !1, _();
244
244
  }
245
245
  };
246
246
  }
@@ -265,7 +265,7 @@ function Y(i, e, t) {
265
265
  }, f = () => {
266
266
  let n = document.createElement("style");
267
267
  n.innerHTML = g, r.appendChild(n);
268
- }, j = () => {
268
+ }, O = () => {
269
269
  let n = new URL(w), m = document.createElement("style");
270
270
  fetch(n.href).then((p) => p.text()).then((p) => {
271
271
  m.innerHTML = p, setTimeout(
@@ -277,10 +277,10 @@ function Y(i, e, t) {
277
277
  });
278
278
  }, A = () => {
279
279
  window.postMessage({ type: "CloseIframe" }, window.location.href);
280
- }, M = (n) => {
280
+ }, B = (n) => {
281
281
  n.target.src && t(8, a = !1);
282
- }, q = (n) => M(n);
283
- function z(n) {
282
+ }, z = (n) => B(n);
283
+ function N(n) {
284
284
  G[n ? "unshift" : "push"](() => {
285
285
  r = n, t(7, r);
286
286
  });
@@ -292,7 +292,7 @@ function Y(i, e, t) {
292
292
  1 && l && s(), i.$$.dirty & /*translationurl*/
293
293
  4 && h && o(), i.$$.dirty & /*clientstyling, customStylingContainer*/
294
294
  144 && g && r && f(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
295
- 160 && w && r && j();
295
+ 160 && w && r && O();
296
296
  }, [
297
297
  l,
298
298
  u,
@@ -304,19 +304,19 @@ function Y(i, e, t) {
304
304
  r,
305
305
  a,
306
306
  A,
307
- M,
308
- q,
309
- z
307
+ B,
308
+ z,
309
+ N
310
310
  ];
311
311
  }
312
- class x extends N {
312
+ class x extends U {
313
313
  constructor(e) {
314
- super(), U(
314
+ super(), q(
315
315
  this,
316
316
  e,
317
317
  Y,
318
318
  X,
319
- Z,
319
+ F,
320
320
  {
321
321
  lang: 0,
322
322
  iframeurl: 1,
@@ -372,7 +372,7 @@ class x extends N {
372
372
  this.$$set({ title: e }), C();
373
373
  }
374
374
  }
375
- F(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
375
+ Z(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
376
376
  export {
377
377
  x as default
378
378
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CiWxBakF.cjs"),C=require("./CashierError-GVInnLO0.cjs");function y(i,e){C.addMessages(i,e)}function S(i){C.init({fallbackLocale:"en"}),C.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-Dpm_m2-F.cjs")).then(({default:e})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",e.element)})}if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-Cxbw-HyX.cjs")).then(({default:e})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",e.element)})}function q(i){t.append_styles(i,"svelte-10xutbi",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}function v(i){let e,n,s;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" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"slot","leftButton"),t.attr(e,"class","CashierHeaderLeftButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function k(i){let e,n,s;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"slot","rightButton"),t.attr(e,"class","CashierHeaderRightButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function E(i){let e;return{c(){e=t.element("cashier-spinner"),t.set_custom_element_data(e,"clientstylingurl",i[5]),t.set_custom_element_data(e,"clientstyling",i[4])},m(n,s){t.insert(n,e,s)},p(n,s){s&32&&t.set_custom_element_data(e,"clientstylingurl",n[5]),s&16&&t.set_custom_element_data(e,"clientstyling",n[4])},d(n){n&&t.detach(e)}}}function D(i){let e,n,s,f,m,d,g,_,w,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[8]&&E(i);return{c(){e=t.element("div"),n=t.element("cashier-header"),o&&o.c(),s=t.space(),a&&a.c(),f=t.space(),c&&c.c(),m=t.space(),d=t.element("iframe"),t.set_custom_element_data(n,"lang",i[0]),t.set_custom_element_data(n,"translationurl",i[2]),t.set_custom_element_data(n,"title",i[6]),t.set_custom_element_data(n,"showbackbutton",i[3]),t.set_custom_element_data(n,"clientstylingurl",i[5]),t.set_custom_element_data(n,"clientstyling",i[4]),t.src_url_equal(d.src,g=i[1])||t.attr(d,"src",g),t.attr(d,"frameborder","0"),t.attr(e,"class","CashierRedirectIframe")},m(r,u){t.insert(r,e,u),t.append(e,n),o&&o.m(n,null),t.append(n,s),a&&a.m(n,null),t.append(e,f),c&&c.m(e,null),t.append(e,m),t.append(e,d),i[12](e),_||(w=t.listen(d,"load",i[11]),_=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&t.set_custom_element_data(n,"lang",r[0]),u&4&&t.set_custom_element_data(n,"translationurl",r[2]),u&64&&t.set_custom_element_data(n,"title",r[6]),u&8&&t.set_custom_element_data(n,"showbackbutton",r[3]),u&32&&t.set_custom_element_data(n,"clientstylingurl",r[5]),u&16&&t.set_custom_element_data(n,"clientstyling",r[4]),r[8]?c?c.p(r,u):(c=E(r),c.c(),c.m(e,m)):c&&(c.d(1),c=null),u&2&&!t.src_url_equal(d.src,g=r[1])&&t.attr(d,"src",g)},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o&&o.d(),a&&a.d(),c&&c.d(),i[12](null),_=!1,w()}}}function O(i,e,n){let{lang:s="en"}=e,{iframeurl:f}=e,{translationurl:m=""}=e,{showbackbutton:d=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{title:w=""}=e,o=!0,a;const c=()=>{let l=m;if(l)return fetch(l).then(h=>h.json()).then(h=>{Object.keys(h).forEach(p=>{y(p,h[p])})}).catch(h=>{console.log(h)})};Object.keys(L).forEach(l=>{y(l,L[l])});const r=()=>{S(s)},u=()=>{let l=document.createElement("style");l.innerHTML=g,a.appendChild(l)},M=()=>{let l=new URL(_),h=document.createElement("style");fetch(l.href).then(p=>p.text()).then(p=>{h.innerHTML=p,setTimeout(()=>{a.appendChild(h)},1)})},B=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},b=l=>{l.target.src&&n(8,o=!1)},R=l=>b(l);function T(l){t.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(7,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"clientstyling"in l&&n(4,g=l.clientstyling),"clientstylingurl"in l&&n(5,_=l.clientstylingurl),"title"in l&&n(6,w=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&r(),i.$$.dirty&4&&m&&c(),i.$$.dirty&144&&g&&a&&u(),i.$$.dirty&160&&_&&a&&M()},[s,f,m,d,g,_,w,a,o,B,b,R,T]}class H extends t.SvelteComponent{constructor(e){super(),t.init(this,e,O,D,t.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,clientstyling:4,clientstylingurl:5,title:6},q)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(e){this.$$set({iframeurl:e}),t.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get title(){return this.$$.ctx[6]}set title(e){this.$$set({title:e}),t.flush()}}t.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-CiWxBakF.cjs"),C=require("./CashierError-qXbd3T4d.cjs");function y(i,e){C.addMessages(i,e)}function S(i){C.init({fallbackLocale:"en"}),C.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-BbnypQYS.cjs")).then(({default:e})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",e.element)})}if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-BdCzICuN.cjs")).then(({default:e})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",e.element)})}function q(i){t.append_styles(i,"svelte-10xutbi",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}function v(i){let e,n,s;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" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"slot","leftButton"),t.attr(e,"class","CashierHeaderLeftButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function k(i){let e,n,s;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"slot","rightButton"),t.attr(e,"class","CashierHeaderRightButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function E(i){let e;return{c(){e=t.element("cashier-spinner"),t.set_custom_element_data(e,"clientstylingurl",i[5]),t.set_custom_element_data(e,"clientstyling",i[4])},m(n,s){t.insert(n,e,s)},p(n,s){s&32&&t.set_custom_element_data(e,"clientstylingurl",n[5]),s&16&&t.set_custom_element_data(e,"clientstyling",n[4])},d(n){n&&t.detach(e)}}}function D(i){let e,n,s,f,m,d,g,_,w,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[8]&&E(i);return{c(){e=t.element("div"),n=t.element("cashier-header"),o&&o.c(),s=t.space(),a&&a.c(),f=t.space(),c&&c.c(),m=t.space(),d=t.element("iframe"),t.set_custom_element_data(n,"lang",i[0]),t.set_custom_element_data(n,"translationurl",i[2]),t.set_custom_element_data(n,"title",i[6]),t.set_custom_element_data(n,"showbackbutton",i[3]),t.set_custom_element_data(n,"clientstylingurl",i[5]),t.set_custom_element_data(n,"clientstyling",i[4]),t.src_url_equal(d.src,g=i[1])||t.attr(d,"src",g),t.attr(d,"frameborder","0"),t.attr(e,"class","CashierRedirectIframe")},m(r,u){t.insert(r,e,u),t.append(e,n),o&&o.m(n,null),t.append(n,s),a&&a.m(n,null),t.append(e,f),c&&c.m(e,null),t.append(e,m),t.append(e,d),i[12](e),_||(w=t.listen(d,"load",i[11]),_=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&t.set_custom_element_data(n,"lang",r[0]),u&4&&t.set_custom_element_data(n,"translationurl",r[2]),u&64&&t.set_custom_element_data(n,"title",r[6]),u&8&&t.set_custom_element_data(n,"showbackbutton",r[3]),u&32&&t.set_custom_element_data(n,"clientstylingurl",r[5]),u&16&&t.set_custom_element_data(n,"clientstyling",r[4]),r[8]?c?c.p(r,u):(c=E(r),c.c(),c.m(e,m)):c&&(c.d(1),c=null),u&2&&!t.src_url_equal(d.src,g=r[1])&&t.attr(d,"src",g)},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o&&o.d(),a&&a.d(),c&&c.d(),i[12](null),_=!1,w()}}}function O(i,e,n){let{lang:s="en"}=e,{iframeurl:f}=e,{translationurl:m=""}=e,{showbackbutton:d=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{title:w=""}=e,o=!0,a;const c=()=>{let l=m;if(l)return fetch(l).then(h=>h.json()).then(h=>{Object.keys(h).forEach(p=>{y(p,h[p])})}).catch(h=>{console.log(h)})};Object.keys(L).forEach(l=>{y(l,L[l])});const r=()=>{S(s)},u=()=>{let l=document.createElement("style");l.innerHTML=g,a.appendChild(l)},M=()=>{let l=new URL(_),h=document.createElement("style");fetch(l.href).then(p=>p.text()).then(p=>{h.innerHTML=p,setTimeout(()=>{a.appendChild(h)},1)})},B=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},b=l=>{l.target.src&&n(8,o=!1)},R=l=>b(l);function T(l){t.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(7,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"clientstyling"in l&&n(4,g=l.clientstyling),"clientstylingurl"in l&&n(5,_=l.clientstylingurl),"title"in l&&n(6,w=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&r(),i.$$.dirty&4&&m&&c(),i.$$.dirty&144&&g&&a&&u(),i.$$.dirty&160&&_&&a&&M()},[s,f,m,d,g,_,w,a,o,B,b,R,T]}class H extends t.SvelteComponent{constructor(e){super(),t.init(this,e,O,D,t.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,clientstyling:4,clientstylingurl:5,title:6},q)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(e){this.$$set({iframeurl:e}),t.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get title(){return this.$$.ctx[6]}set title(e){this.$$set({title:e}),t.flush()}}t.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;