@everymatrix/cashier-method-details 1.65.0 → 1.65.1

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 (42) hide show
  1. package/components/{CashierConfirmModal-BzyMG3UR.js → CashierConfirmModal-3pkCHAVZ.js} +33 -33
  2. package/components/{CashierConfirmModal-_hdnB5XT.js → CashierConfirmModal-CNzEOcOZ.js} +33 -33
  3. package/components/{CashierError-C1ZcvUYr.js → CashierError-Bisyjt8z.js} +622 -618
  4. package/components/{CashierError-CBebkrdZ.js → CashierError-DV-HLY8d.js} +621 -617
  5. package/components/{CashierError-qXbd3T4d.cjs → CashierError-GVInnLO0.cjs} +3 -16
  6. package/components/{CashierHeader-CXnHNYfs.js → CashierHeader-BmFLcvOn.js} +38 -38
  7. package/components/{CashierHeader-SSuALKdn.js → CashierHeader-D5rWgCkR.js} +38 -38
  8. package/components/{CashierHeader-BbnypQYS.cjs → CashierHeader-Dpm_m2-F.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-BeIzPkcY.js → CashierIframeRedirect-CplYaWdF.js} +30 -30
  10. package/components/{CashierIframeRedirect-BPh132E4.js → CashierIframeRedirect-YQyiKoBW.js} +32 -32
  11. package/components/{CashierIframeRedirect-CiJvxeWK.cjs → CashierIframeRedirect-w9WegkSw.cjs} +1 -1
  12. package/components/{CashierMethodDetails-CMWNeKZq.cjs → CashierMethodDetails-6Vq4Yp6x.cjs} +1 -1
  13. package/components/{CashierMethodDetails-BdPcAVmB.js → CashierMethodDetails-BVCH1FhZ.js} +54 -54
  14. package/components/{CashierMethodDetails-CJosBjV2.js → CashierMethodDetails-CN4u3_nM.js} +54 -54
  15. package/components/{CashierModal-cAadEtV9.js → CashierModal-Dv-7ZIuz.js} +34 -34
  16. package/components/{CashierModal-B2DUTbzl.js → CashierModal-PGQGrAgY.js} +34 -34
  17. package/components/{CashierNotifications-BqrU3g7B.js → CashierNotifications-BMYdcdkg.js} +19 -19
  18. package/components/{CashierNotifications-sCssNp8Z.js → CashierNotifications-Dy0g_QWG.js} +19 -19
  19. package/components/{CashierReceiptPage-BdonZ5wU.cjs → CashierReceiptPage-BZad_kGY.cjs} +1 -1
  20. package/components/{CashierReceiptPage-Ctdksnjs.js → CashierReceiptPage-CLiK3irL.js} +28 -28
  21. package/components/{CashierReceiptPage-24Lr_kLo.js → CashierReceiptPage-D0fllFek.js} +28 -28
  22. package/components/{CashierSpinner-FjymFjBK.js → CashierSpinner-C6y-LmOW.js} +17 -17
  23. package/components/{CashierSpinner-oZ2qOf5M.js → CashierSpinner-Yt2VnUjd.js} +17 -17
  24. package/es2015/cashier-method-details.cjs +1 -1
  25. package/es2015/cashier-method-details.js +1 -1
  26. package/esnext/cashier-method-details.js +1 -1
  27. package/package.json +1 -1
  28. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  29. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  30. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  31. package/stencil/{ui-image-DzutkFSv.cjs → ui-image-CMb1eK44.cjs} +1 -1
  32. package/stencil/{ui-image-BmTbGz5h.js → ui-image-CQQDA5b0.js} +1 -1
  33. package/stencil/{ui-image-CFddgpOe.js → ui-image-CmwNU-jf.js} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  37. package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-B56t6kXT.js} +2 -2
  38. package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-BncuYpLi.js} +2 -2
  39. package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  40. package/stencil/index-97d17652-BzQXAkmg.js +0 -558
  41. package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
  42. package/stencil/index-97d17652-mbOyENH9.js +0 -542
@@ -1,5 +1,5 @@
1
- import { Q as F, S as U, b as D, f as g, c as G, a as N, d as Q, x as A, k as L, t as m, p, q as I, v as H, G as J, e as K, g as y, j as h, F as M, l as v, R as O, u as P, m as V, o as X, T as k, B as Y, C as x } from "./CashierConfirmModal-_hdnB5XT.js";
2
- function S(n, { delay: t = 0, duration: e = 400, easing: i = F } = {}) {
1
+ import { Q as U, S as q, b as A, s as D, f as g, c as N, e as H, t as p, g as m, k as Q, l as G, m as L, x as I, H as J, d as K, R as C, F as v, u as O, h as P, j as V, o as k, T as X, p as y, v as h, A as x, E as Y } from "./CashierConfirmModal-3pkCHAVZ.js";
2
+ function S(n, { delay: t = 0, duration: e = 400, easing: i = U } = {}) {
3
3
  const o = +getComputedStyle(n).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,10 +9,10 @@ function S(n, { delay: t = 0, duration: e = 400, easing: i = F } = {}) {
9
9
  };
10
10
  }
11
11
  function Z(n) {
12
- Q(n, "svelte-pil2bm", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
12
+ N(n, "svelte-pil2bm", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
13
13
  }
14
- const $ = (n) => ({}), z = (n) => ({});
15
- function E(n) {
14
+ const $ = (n) => ({}), E = (n) => ({});
15
+ function z(n) {
16
16
  let t, e, i, o, l, d;
17
17
  const f = (
18
18
  /*#slots*/
@@ -22,17 +22,17 @@ function E(n) {
22
22
  n,
23
23
  /*$$scope*/
24
24
  n[8],
25
- z
25
+ E
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = y("div"), e = y("div"), i = y("div"), r && r.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), M(() => (
29
+ t = y("div"), e = y("div"), i = y("div"), r && r.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), v(() => (
30
30
  /*div1_elementresize_handler*/
31
31
  n[11].call(e)
32
32
  )), h(t, "part", "CustomStylingContainer");
33
33
  },
34
34
  m(a, c) {
35
- L(a, t, c), v(t, e), v(e, i), r && r.m(i, null), n[10](e), o = O(
35
+ L(a, t, c), k(t, e), k(e, i), r && r.m(i, null), n[10](e), o = X(
36
36
  e,
37
37
  /*div1_elementresize_handler*/
38
38
  n[11].bind(e)
@@ -40,28 +40,28 @@ function E(n) {
40
40
  },
41
41
  p(a, c) {
42
42
  n = a, r && r.p && (!d || c & /*$$scope*/
43
- 256) && P(
43
+ 256) && O(
44
44
  r,
45
45
  f,
46
46
  n,
47
47
  /*$$scope*/
48
48
  n[8],
49
- d ? X(
49
+ d ? V(
50
50
  f,
51
51
  /*$$scope*/
52
52
  n[8],
53
53
  c,
54
54
  $
55
- ) : V(
55
+ ) : P(
56
56
  /*$$scope*/
57
57
  n[8]
58
58
  ),
59
- z
59
+ E
60
60
  );
61
61
  },
62
62
  i(a) {
63
- d || (m(r, a), a && M(() => {
64
- d && (l || (l = k(
63
+ d || (m(r, a), a && v(() => {
64
+ d && (l || (l = C(
65
65
  e,
66
66
  S,
67
67
  /*duration*/
@@ -71,7 +71,7 @@ function E(n) {
71
71
  }), d = !0);
72
72
  },
73
73
  o(a) {
74
- p(r, a), a && (l || (l = k(
74
+ p(r, a), a && (l || (l = C(
75
75
  e,
76
76
  S,
77
77
  /*duration*/
@@ -87,11 +87,11 @@ function E(n) {
87
87
  function tt(n) {
88
88
  let t, e, i = (
89
89
  /*show*/
90
- n[5] && E(n)
90
+ n[5] && z(n)
91
91
  );
92
92
  return {
93
93
  c() {
94
- i && i.c(), t = A();
94
+ i && i.c(), t = I();
95
95
  },
96
96
  m(o, l) {
97
97
  i && i.m(o, l), L(o, t, l), e = !0;
@@ -99,9 +99,9 @@ function tt(n) {
99
99
  p(o, [l]) {
100
100
  /*show*/
101
101
  o[5] ? i ? (i.p(o, l), l & /*show*/
102
- 32 && m(i, 1)) : (i = E(o), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Y(), p(i, 1, 1, () => {
102
+ 32 && m(i, 1)) : (i = z(o), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Q(), p(i, 1, 1, () => {
103
103
  i = null;
104
- }), I());
104
+ }), G());
105
105
  },
106
106
  i(o) {
107
107
  e || (m(i), e = !0);
@@ -120,15 +120,15 @@ function et(n, t, e) {
120
120
  e(5, w = !1), window.postMessage({ type: "ClosedCashierModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
121
121
  }, b = (s) => {
122
122
  s.data.type == "ShowCashierModal" && (e(5, w = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), s.data.type == "HideCashierModal" && W();
123
- }, B = () => {
123
+ }, T = () => {
124
124
  let s = document.createElement("style");
125
125
  s.innerHTML = l, u.appendChild(s);
126
- }, T = () => {
127
- let s = new URL(d), C = document.createElement("style");
126
+ }, j = () => {
127
+ let s = new URL(d), M = document.createElement("style");
128
128
  fetch(s.href).then((_) => _.text()).then((_) => {
129
- C.innerHTML = _, setTimeout(
129
+ M.innerHTML = _, setTimeout(
130
130
  () => {
131
- u.appendChild(C);
131
+ u.appendChild(M);
132
132
  },
133
133
  1
134
134
  );
@@ -137,7 +137,7 @@ function et(n, t, e) {
137
137
  J(() => (window.addEventListener("message", b, !1), () => {
138
138
  window.removeEventListener("message", b);
139
139
  }));
140
- function j(s) {
140
+ function B(s) {
141
141
  x[s ? "unshift" : "push"](() => {
142
142
  c = s, e(4, c);
143
143
  });
@@ -145,7 +145,7 @@ function et(n, t, e) {
145
145
  function R() {
146
146
  r = this.clientWidth, a = this.clientHeight, e(0, r), e(1, a);
147
147
  }
148
- function q(s) {
148
+ function F(s) {
149
149
  x[s ? "unshift" : "push"](() => {
150
150
  u = s, e(3, u);
151
151
  });
@@ -154,8 +154,8 @@ function et(n, t, e) {
154
154
  "clientstyling" in s && e(6, l = s.clientstyling), "clientstylingurl" in s && e(7, d = s.clientstylingurl), "duration" in s && e(2, f = s.duration), "width" in s && e(0, r = s.width), "height" in s && e(1, a = s.height), "$$scope" in s && e(8, o = s.$$scope);
155
155
  }, n.$$.update = () => {
156
156
  n.$$.dirty & /*clientstyling, customStylingContainer*/
157
- 72 && l && u && B(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
158
- 136 && d && u && T();
157
+ 72 && l && u && T(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
158
+ 136 && d && u && j();
159
159
  }, [
160
160
  r,
161
161
  a,
@@ -167,19 +167,19 @@ function et(n, t, e) {
167
167
  d,
168
168
  o,
169
169
  i,
170
- j,
170
+ B,
171
171
  R,
172
- q
172
+ F
173
173
  ];
174
174
  }
175
- class nt extends U {
175
+ class nt extends q {
176
176
  constructor(t) {
177
- super(), D(
177
+ super(), A(
178
178
  this,
179
179
  t,
180
180
  et,
181
181
  tt,
182
- N,
182
+ D,
183
183
  {
184
184
  clientstyling: 6,
185
185
  clientstylingurl: 7,
@@ -221,7 +221,7 @@ class nt extends U {
221
221
  this.$$set({ height: t }), g();
222
222
  }
223
223
  }
224
- G(nt, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
224
+ Y(nt, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
225
225
  export {
226
226
  nt as default
227
227
  };
@@ -1,5 +1,5 @@
1
- import { Q as F, S as U, b as D, f as g, c as G, a as N, d as Q, x as A, k as L, t as m, p, q as I, v as H, G as J, e as K, g as y, j as h, F as M, l as v, R as O, u as P, m as V, o as X, T as k, B as Y, C as x } from "./CashierConfirmModal-BzyMG3UR.js";
2
- function S(n, { delay: t = 0, duration: e = 400, easing: i = F } = {}) {
1
+ import { Q as U, S as q, b as A, s as D, f as g, c as N, e as H, t as p, g as m, k as Q, l as G, m as L, x as I, H as J, d as K, R as C, F as v, u as O, h as P, j as V, o as k, T as X, p as y, v as h, A as x, E as Y } from "./CashierConfirmModal-CNzEOcOZ.js";
2
+ function S(n, { delay: t = 0, duration: e = 400, easing: i = U } = {}) {
3
3
  const o = +getComputedStyle(n).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,10 +9,10 @@ function S(n, { delay: t = 0, duration: e = 400, easing: i = F } = {}) {
9
9
  };
10
10
  }
11
11
  function Z(n) {
12
- Q(n, "svelte-pil2bm", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
12
+ N(n, "svelte-pil2bm", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
13
13
  }
14
- const $ = (n) => ({}), z = (n) => ({});
15
- function E(n) {
14
+ const $ = (n) => ({}), E = (n) => ({});
15
+ function z(n) {
16
16
  let t, e, i, o, l, d;
17
17
  const f = (
18
18
  /*#slots*/
@@ -22,17 +22,17 @@ function E(n) {
22
22
  n,
23
23
  /*$$scope*/
24
24
  n[8],
25
- z
25
+ E
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = y("div"), e = y("div"), i = y("div"), r && r.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), M(() => (
29
+ t = y("div"), e = y("div"), i = y("div"), r && r.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), v(() => (
30
30
  /*div1_elementresize_handler*/
31
31
  n[11].call(e)
32
32
  )), h(t, "part", "CustomStylingContainer");
33
33
  },
34
34
  m(a, c) {
35
- L(a, t, c), v(t, e), v(e, i), r && r.m(i, null), n[10](e), o = O(
35
+ L(a, t, c), k(t, e), k(e, i), r && r.m(i, null), n[10](e), o = X(
36
36
  e,
37
37
  /*div1_elementresize_handler*/
38
38
  n[11].bind(e)
@@ -40,28 +40,28 @@ function E(n) {
40
40
  },
41
41
  p(a, c) {
42
42
  n = a, r && r.p && (!d || c & /*$$scope*/
43
- 256) && P(
43
+ 256) && O(
44
44
  r,
45
45
  f,
46
46
  n,
47
47
  /*$$scope*/
48
48
  n[8],
49
- d ? X(
49
+ d ? V(
50
50
  f,
51
51
  /*$$scope*/
52
52
  n[8],
53
53
  c,
54
54
  $
55
- ) : V(
55
+ ) : P(
56
56
  /*$$scope*/
57
57
  n[8]
58
58
  ),
59
- z
59
+ E
60
60
  );
61
61
  },
62
62
  i(a) {
63
- d || (m(r, a), a && M(() => {
64
- d && (l || (l = k(
63
+ d || (m(r, a), a && v(() => {
64
+ d && (l || (l = C(
65
65
  e,
66
66
  S,
67
67
  /*duration*/
@@ -71,7 +71,7 @@ function E(n) {
71
71
  }), d = !0);
72
72
  },
73
73
  o(a) {
74
- p(r, a), a && (l || (l = k(
74
+ p(r, a), a && (l || (l = C(
75
75
  e,
76
76
  S,
77
77
  /*duration*/
@@ -87,11 +87,11 @@ function E(n) {
87
87
  function tt(n) {
88
88
  let t, e, i = (
89
89
  /*show*/
90
- n[5] && E(n)
90
+ n[5] && z(n)
91
91
  );
92
92
  return {
93
93
  c() {
94
- i && i.c(), t = A();
94
+ i && i.c(), t = I();
95
95
  },
96
96
  m(o, l) {
97
97
  i && i.m(o, l), L(o, t, l), e = !0;
@@ -99,9 +99,9 @@ function tt(n) {
99
99
  p(o, [l]) {
100
100
  /*show*/
101
101
  o[5] ? i ? (i.p(o, l), l & /*show*/
102
- 32 && m(i, 1)) : (i = E(o), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Y(), p(i, 1, 1, () => {
102
+ 32 && m(i, 1)) : (i = z(o), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Q(), p(i, 1, 1, () => {
103
103
  i = null;
104
- }), I());
104
+ }), G());
105
105
  },
106
106
  i(o) {
107
107
  e || (m(i), e = !0);
@@ -120,15 +120,15 @@ function et(n, t, e) {
120
120
  e(5, w = !1), window.postMessage({ type: "ClosedCashierModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
121
121
  }, b = (s) => {
122
122
  s.data.type == "ShowCashierModal" && (e(5, w = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), s.data.type == "HideCashierModal" && W();
123
- }, B = () => {
123
+ }, T = () => {
124
124
  let s = document.createElement("style");
125
125
  s.innerHTML = l, u.appendChild(s);
126
- }, T = () => {
127
- let s = new URL(d), C = document.createElement("style");
126
+ }, j = () => {
127
+ let s = new URL(d), M = document.createElement("style");
128
128
  fetch(s.href).then((_) => _.text()).then((_) => {
129
- C.innerHTML = _, setTimeout(
129
+ M.innerHTML = _, setTimeout(
130
130
  () => {
131
- u.appendChild(C);
131
+ u.appendChild(M);
132
132
  },
133
133
  1
134
134
  );
@@ -137,7 +137,7 @@ function et(n, t, e) {
137
137
  J(() => (window.addEventListener("message", b, !1), () => {
138
138
  window.removeEventListener("message", b);
139
139
  }));
140
- function j(s) {
140
+ function B(s) {
141
141
  x[s ? "unshift" : "push"](() => {
142
142
  c = s, e(4, c);
143
143
  });
@@ -145,7 +145,7 @@ function et(n, t, e) {
145
145
  function R() {
146
146
  r = this.clientWidth, a = this.clientHeight, e(0, r), e(1, a);
147
147
  }
148
- function q(s) {
148
+ function F(s) {
149
149
  x[s ? "unshift" : "push"](() => {
150
150
  u = s, e(3, u);
151
151
  });
@@ -154,8 +154,8 @@ function et(n, t, e) {
154
154
  "clientstyling" in s && e(6, l = s.clientstyling), "clientstylingurl" in s && e(7, d = s.clientstylingurl), "duration" in s && e(2, f = s.duration), "width" in s && e(0, r = s.width), "height" in s && e(1, a = s.height), "$$scope" in s && e(8, o = s.$$scope);
155
155
  }, n.$$.update = () => {
156
156
  n.$$.dirty & /*clientstyling, customStylingContainer*/
157
- 72 && l && u && B(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
158
- 136 && d && u && T();
157
+ 72 && l && u && T(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
158
+ 136 && d && u && j();
159
159
  }, [
160
160
  r,
161
161
  a,
@@ -167,19 +167,19 @@ function et(n, t, e) {
167
167
  d,
168
168
  o,
169
169
  i,
170
- j,
170
+ B,
171
171
  R,
172
- q
172
+ F
173
173
  ];
174
174
  }
175
- class nt extends U {
175
+ class nt extends q {
176
176
  constructor(t) {
177
- super(), D(
177
+ super(), A(
178
178
  this,
179
179
  t,
180
180
  et,
181
181
  tt,
182
- N,
182
+ D,
183
183
  {
184
184
  clientstyling: 6,
185
185
  clientstylingurl: 7,
@@ -221,7 +221,7 @@ class nt extends U {
221
221
  this.$$set({ height: t }), g();
222
222
  }
223
223
  }
224
- G(nt, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
224
+ Y(nt, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
225
225
  export {
226
226
  nt as default
227
227
  };
@@ -1,21 +1,21 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, y as b, h as z, j as S, k as E, l as f, A as L, z as p, n as x, v as M, C as T } from "./CashierConfirmModal-BzyMG3UR.js";
2
- function H(n) {
1
+ import { S as C, b as v, s as _, f as d, c as N, n as b, e as k, y as p, m as z, o as f, B as E, p as h, z as x, q as S, v as L, A as M, E as T } from "./CashierConfirmModal-3pkCHAVZ.js";
2
+ function q(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function R(n) {
5
+ function B(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = S(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), S(t, "class", "CashierNotifications");
15
+ ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,14 +35,14 @@ function R(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && k(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function U(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -61,7 +61,7 @@ function U(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- T[e ? "unshift" : "push"](() => {
64
+ M[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -81,21 +81,21 @@ function U(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class j extends C {
84
+ class R extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- U,
90
- R,
91
- k,
89
+ H,
90
+ B,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- H
98
+ q
99
99
  );
100
100
  }
101
101
  get text() {
@@ -123,7 +123,7 @@ class j extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- j as default
128
+ R as default
129
129
  };
@@ -1,21 +1,21 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, y as b, h as z, j as S, k as E, l as f, A as L, z as p, n as x, v as M, C as T } from "./CashierConfirmModal-_hdnB5XT.js";
2
- function H(n) {
1
+ import { S as C, b as v, s as _, f as d, c as N, n as b, e as k, y as p, m as z, o as f, B as E, p as h, z as x, q as S, v as L, A as M, E as T } from "./CashierConfirmModal-CNzEOcOZ.js";
2
+ function q(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function R(n) {
5
+ function B(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = S(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), S(t, "class", "CashierNotifications");
15
+ ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,14 +35,14 @@ function R(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && k(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function U(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -61,7 +61,7 @@ function U(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- T[e ? "unshift" : "push"](() => {
64
+ M[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -81,21 +81,21 @@ function U(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class j extends C {
84
+ class R extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- U,
90
- R,
91
- k,
89
+ H,
90
+ B,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- H
98
+ q
99
99
  );
100
100
  }
101
101
  get text() {
@@ -123,7 +123,7 @@ class j extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- j as default
128
+ R as default
129
129
  };