@everymatrix/cashier-page 1.89.2 → 1.89.100

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 (80) hide show
  1. package/components/CashierCarousel-B-cM-nlR.js +5797 -0
  2. package/components/CashierCarousel-CXoovlrR.js +5835 -0
  3. package/components/CashierCarousel-DMrMmClP.cjs +23 -0
  4. package/components/{CashierError-Ojxcg-Ka.js → CashierError-BadEP4Hf.js} +272 -197
  5. package/components/{CashierError-B4wZJoy3.js → CashierError-CbEfmBWG.js} +272 -197
  6. package/components/CashierError-CfXNs5SO.cjs +1 -0
  7. package/components/CashierHeader-B7FnLv3f.js +397 -0
  8. package/components/CashierHeader-BbP0idUh.js +397 -0
  9. package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
  10. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
  11. package/components/{CashierIframeRedirect-D4_P5tea.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
  12. package/components/{CashierIframeRedirect-CweMc_nE.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
  13. package/components/CashierMethodDetails-Bpr9Q04a.cjs +85 -0
  14. package/components/CashierMethodDetails-C1YivsY0.js +11217 -0
  15. package/components/CashierMethodDetails-Dm0LrfPv.js +11177 -0
  16. package/components/CashierMethodsList-BQyTMxwJ.cjs +1 -0
  17. package/components/{CashierMethodsList-ZIeDaX82.js → CashierMethodsList-Becd-_0j.js} +276 -282
  18. package/components/{CashierMethodsList-DT2-Xs0d.js → CashierMethodsList-BgT8GtZO.js} +338 -345
  19. package/components/{CashierModal-auMot9uK.js → CashierModal-B1pfSpCs.js} +39 -40
  20. package/components/{CashierModal-1ob-ORdo.js → CashierModal-BsrmgnKi.js} +35 -36
  21. package/components/CashierModal-DF8meLAZ.cjs +1 -0
  22. package/components/CashierNotifications-B8bRZMac.cjs +1 -0
  23. package/components/{CashierNotifications-1zS4jTFr.js → CashierNotifications-BXxNDzMM.js} +3 -3
  24. package/components/{CashierNotifications-W-vKJfau.js → CashierNotifications-DbJuswYZ.js} +5 -5
  25. package/components/CashierPage-B-8PEr0a.js +4470 -0
  26. package/components/CashierPage-BvBfbCf3.cjs +1 -0
  27. package/components/CashierPage-DpttN4Et.js +4500 -0
  28. package/components/{CashierReceiptPage-BRnTuxiH.js → CashierReceiptPage-COp3NsUw.js} +541 -537
  29. package/components/{CashierReceiptPage-D_7vOvSQ.js → CashierReceiptPage-CQ6d-Cj-.js} +614 -570
  30. package/components/CashierReceiptPage-pHomkDwd.cjs +28 -0
  31. package/components/{CashierSessionExpirationModal-pj6DNvOs.js → CashierSessionExpirationModal-B4o06oWl.js} +267 -280
  32. package/components/CashierSessionExpirationModal-CwFxQe0o.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-CaUKhvg_.js → CashierSessionExpirationModal-v2UJ63eL.js} +254 -267
  34. package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
  35. package/components/{CashierSpinner-BWVLhGca.js → CashierSpinner-DMrM0bGx.js} +10 -11
  36. package/components/{CashierSpinner-N3hAvTEu.js → CashierSpinner-gJqeYU1n.js} +12 -13
  37. package/components/{CashierStepUp-CBhNhpVX.js → CashierStepUp-B530YrSp.js} +226 -227
  38. package/components/{CashierStepUp-Dlw2xvmv.js → CashierStepUp-BtmD9q4i.js} +300 -301
  39. package/components/CashierStepUp-DKytvkqu.cjs +1 -0
  40. package/components/{CashierTransactionHistory-D3VWhujp.js → CashierTransactionHistory-CsBXpcL2.js} +71 -71
  41. package/components/CashierTransactionHistory-DKbhA_Rk.cjs +1 -0
  42. package/components/{CashierTransactionHistory-B1-7-cnI.js → CashierTransactionHistory-d_VQTD25.js} +66 -66
  43. package/components/CashierVerifications-CaqLtBnF.cjs +1 -0
  44. package/components/{CashierVerifications-DG89tnTY.js → CashierVerifications-D7ImXlXI.js} +264 -269
  45. package/components/{CashierVerifications-Bqv3zHaE.js → CashierVerifications-DCEd6r59.js} +268 -273
  46. package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
  47. package/components/{TxnStatusIcon-f6MQV7GX.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
  48. package/components/{TxnStatusIcon-C6FZzOb5.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
  49. package/components/{TxnTypeIcons-C7BUNYMQ.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
  50. package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
  51. package/components/{TxnTypeIcons-DnwUM158.js → TxnTypeIcons-D37zQDwq.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-BoRWOAWM.js +0 -674
  57. package/components/CashierCarousel-DEYnlAHr.cjs +0 -1
  58. package/components/CashierCarousel-KMbJ36Hw.js +0 -671
  59. package/components/CashierError-DTpeCDrd.cjs +0 -1
  60. package/components/CashierHeader-70bDXUYr.js +0 -456
  61. package/components/CashierHeader-C3wqXw8i.js +0 -456
  62. package/components/CashierHeader-DTiQ2Uql.cjs +0 -1
  63. package/components/CashierIframeRedirect-LL9whfSj.cjs +0 -1
  64. package/components/CashierMethodDetails-BbgZJsGx.js +0 -10753
  65. package/components/CashierMethodDetails-C0EHnoEF.js +0 -10713
  66. package/components/CashierMethodDetails-DKWU_-EC.cjs +0 -85
  67. package/components/CashierMethodsList-BfeSUOP6.cjs +0 -1
  68. package/components/CashierModal-CGNr1dtp.cjs +0 -1
  69. package/components/CashierNotifications-DwpVx88o.cjs +0 -1
  70. package/components/CashierPage-CsT0xRQt.js +0 -9765
  71. package/components/CashierPage-Cz6Sy2lO.js +0 -9818
  72. package/components/CashierPage-D7cZXI1W.cjs +0 -23
  73. package/components/CashierReceiptPage-1gI7UF3o.cjs +0 -28
  74. package/components/CashierSessionExpirationModal-DUuiIJeI.cjs +0 -2
  75. package/components/CashierSpinner-BY_PNaky.cjs +0 -1
  76. package/components/CashierStepUp-10z4YQDr.cjs +0 -1
  77. package/components/CashierTransactionHistory-hd_XBwhR.cjs +0 -1
  78. package/components/CashierVerifications-B0qGbQ_e.cjs +0 -1
  79. package/components/TxnStatusIcon-Cp6DCnG3.cjs +0 -1
  80. package/components/TxnTypeIcons-BLR0KOZr.cjs +0 -1
@@ -1,14 +1,29 @@
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 H, o as w, k as v, l as _, z as E, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-Cz6Sy2lO.js";
2
- import { s as Y, a as x, b as $ } from "./CashierHeader-C3wqXw8i.js";
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, G as L, e as k, A as a, z as H, o as w, k as v, l as _, x as S, m as p, n as E, q as V, y as W, B as X, C as Y, D as x, E as $ } from "./CashierCarousel-CXoovlrR.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-BbP0idUh.js").then(({ default: e }) => {
15
+ !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
16
+ });
17
+ }
3
18
  function R(i, e) {
4
19
  U(i, e);
5
20
  }
6
21
  function ee(i) {
7
22
  Z({
8
23
  fallbackLocale: "en"
9
- }), J.set(i);
24
+ }), G.set(i);
10
25
  }
11
- const F = {
26
+ const D = {
12
27
  en: {
13
28
  redirectHeader: "Deposit redirect"
14
29
  },
@@ -24,28 +39,28 @@ if (typeof window != "undefined") {
24
39
  return function(...t) {
25
40
  try {
26
41
  return e.apply(this, t);
27
- } catch (s) {
28
- 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"))
42
+ } catch (n) {
43
+ 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"))
29
44
  return !1;
30
- throw s;
45
+ throw n;
31
46
  }
32
47
  };
33
48
  };
34
- customElements.define = i(customElements.define), import("./CashierSpinner-BWVLhGca.js").then(({ default: e }) => {
49
+ customElements.define = i(customElements.define), import("./CashierSpinner-DMrM0bGx.js").then(({ default: e }) => {
35
50
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
36
51
  });
37
52
  }
38
53
  function te(i) {
39
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)}");
40
55
  }
41
- function j(i) {
42
- let e, t, s;
56
+ function F(i) {
57
+ let e, t, n;
43
58
  return {
44
59
  c() {
45
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");
46
61
  },
47
- m(u, h) {
48
- v(u, e, h), t || (s = E(
62
+ m(f, m) {
63
+ v(f, e, m), t || (n = S(
49
64
  e,
50
65
  "click",
51
66
  /*close*/
@@ -53,19 +68,19 @@ function j(i) {
53
68
  ), t = !0);
54
69
  },
55
70
  p: L,
56
- d(u) {
57
- u && k(e), t = !1, s();
71
+ d(f) {
72
+ f && k(e), t = !1, n();
58
73
  }
59
74
  };
60
75
  }
61
- function A(i) {
62
- let e, t, s;
76
+ function j(i) {
77
+ let e, t, n;
63
78
  return {
64
79
  c() {
65
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");
66
81
  },
67
- m(u, h) {
68
- v(u, e, h), t || (s = E(
82
+ m(f, m) {
83
+ v(f, e, m), t || (n = S(
69
84
  e,
70
85
  "click",
71
86
  /*close*/
@@ -73,12 +88,12 @@ function A(i) {
73
88
  ), t = !0);
74
89
  },
75
90
  p: L,
76
- d(u) {
77
- u && k(e), t = !1, s();
91
+ d(f) {
92
+ f && k(e), t = !1, n();
78
93
  }
79
94
  };
80
95
  }
81
- function I(i) {
96
+ function A(i) {
82
97
  let e;
83
98
  return {
84
99
  c() {
@@ -99,23 +114,23 @@ function I(i) {
99
114
  i[4]
100
115
  );
101
116
  },
102
- m(t, s) {
103
- v(t, e, s);
117
+ m(t, n) {
118
+ v(t, e, n);
104
119
  },
105
- p(t, s) {
106
- s & /*clientstylingurl*/
120
+ p(t, n) {
121
+ n & /*clientstylingurl*/
107
122
  64 && a(
108
123
  e,
109
124
  "clientstylingurl",
110
125
  /*clientstylingurl*/
111
126
  t[6]
112
- ), s & /*clientstyling*/
127
+ ), n & /*clientstyling*/
113
128
  32 && a(
114
129
  e,
115
130
  "clientstyling",
116
131
  /*clientstyling*/
117
132
  t[5]
118
- ), s & /*mbsource*/
133
+ ), n & /*mbsource*/
119
134
  16 && a(
120
135
  e,
121
136
  "mbsource",
@@ -129,17 +144,17 @@ function I(i) {
129
144
  };
130
145
  }
131
146
  function ie(i) {
132
- let e, t, s, u, h, m, g, d, C, o = !!/*showbackbutton*/
147
+ let e, t, n, f, m, h, d, g, y, o = !!/*showbackbutton*/
133
148
  i[3] && /*showbackbutton*/
134
- i[3] !== "false" && j(i), r = (!/*showbackbutton*/
149
+ i[3] !== "false" && F(i), r = (!/*showbackbutton*/
135
150
  i[3] || /*showbackbutton*/
136
- i[3] === "false") && A(i), c = (
151
+ i[3] === "false") && j(i), c = (
137
152
  /*isLoading*/
138
- i[9] && I(i)
153
+ i[9] && A(i)
139
154
  );
140
155
  return {
141
156
  c() {
142
- e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), u = S(), c && c.c(), h = S(), m = p("iframe"), a(
157
+ e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), m = E(), h = p("iframe"), a(
143
158
  t,
144
159
  "lang",
145
160
  /*lang*/
@@ -174,137 +189,137 @@ function ie(i) {
174
189
  "mbsource",
175
190
  /*mbsource*/
176
191
  i[4]
177
- ), H(m.src, g = /*iframeurl*/
178
- i[1]) || w(m, "src", g), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
192
+ ), H(h.src, d = /*iframeurl*/
193
+ i[1]) || w(h, "src", d), w(h, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
179
194
  },
180
- m(l, f) {
181
- v(l, e, f), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, u), c && c.m(e, null), _(e, h), _(e, m), i[13](e), d || (C = E(
182
- m,
195
+ m(l, u) {
196
+ 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, m), _(e, h), i[13](e), g || (y = S(
197
+ h,
183
198
  "load",
184
199
  /*load_handler*/
185
200
  i[12]
186
- ), d = !0);
201
+ ), g = !0);
187
202
  },
188
- p(l, [f]) {
203
+ p(l, [u]) {
189
204
  /*showbackbutton*/
190
205
  l[3] && /*showbackbutton*/
191
- l[3] !== "false" ? o ? o.p(l, f) : (o = j(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
206
+ l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
192
207
  l[3] || /*showbackbutton*/
193
- l[3] === "false" ? r ? r.p(l, f) : (r = A(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
208
+ l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
194
209
  1 && a(
195
210
  t,
196
211
  "lang",
197
212
  /*lang*/
198
213
  l[0]
199
- ), f & /*translationurl*/
214
+ ), u & /*translationurl*/
200
215
  4 && a(
201
216
  t,
202
217
  "translationurl",
203
218
  /*translationurl*/
204
219
  l[2]
205
- ), f & /*title*/
220
+ ), u & /*title*/
206
221
  128 && a(
207
222
  t,
208
223
  "title",
209
224
  /*title*/
210
225
  l[7]
211
- ), f & /*showbackbutton*/
226
+ ), u & /*showbackbutton*/
212
227
  8 && a(
213
228
  t,
214
229
  "showbackbutton",
215
230
  /*showbackbutton*/
216
231
  l[3]
217
- ), f & /*clientstylingurl*/
232
+ ), u & /*clientstylingurl*/
218
233
  64 && a(
219
234
  t,
220
235
  "clientstylingurl",
221
236
  /*clientstylingurl*/
222
237
  l[6]
223
- ), f & /*clientstyling*/
238
+ ), u & /*clientstyling*/
224
239
  32 && a(
225
240
  t,
226
241
  "clientstyling",
227
242
  /*clientstyling*/
228
243
  l[5]
229
- ), f & /*mbsource*/
244
+ ), u & /*mbsource*/
230
245
  16 && a(
231
246
  t,
232
247
  "mbsource",
233
248
  /*mbsource*/
234
249
  l[4]
235
250
  ), /*isLoading*/
236
- l[9] ? c ? c.p(l, f) : (c = I(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), f & /*iframeurl*/
237
- 2 && !H(m.src, g = /*iframeurl*/
238
- l[1]) && w(m, "src", g);
251
+ l[9] ? c ? c.p(l, u) : (c = A(l), c.c(), c.m(e, m)) : c && (c.d(1), c = null), u & /*iframeurl*/
252
+ 2 && !H(h.src, d = /*iframeurl*/
253
+ l[1]) && w(h, "src", d);
239
254
  },
240
255
  i: L,
241
256
  o: L,
242
257
  d(l) {
243
- l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), d = !1, C();
258
+ l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
244
259
  }
245
260
  };
246
261
  }
247
262
  function ne(i, e, t) {
248
- let { lang: s = "en" } = e, { iframeurl: u } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: g } = e, { clientstyling: d } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c, l = !0;
249
- const f = () => {
250
- let n = h;
251
- if (n)
252
- return fetch(n).then((y) => y.json()).then((y) => {
253
- Object.keys(y).forEach((B) => {
254
- R(B, y[B]);
263
+ let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: m = "" } = e, { showbackbutton: h = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
264
+ const u = () => {
265
+ let s = m;
266
+ if (s)
267
+ return fetch(s).then((C) => C.json()).then((C) => {
268
+ Object.keys(C).forEach((B) => {
269
+ R(B, C[B]);
255
270
  });
256
- }).catch((y) => {
257
- console.log(y);
271
+ }).catch((C) => {
272
+ console.log(C);
258
273
  });
259
274
  };
260
- Object.keys(F).forEach((n) => {
261
- R(n, F[n]);
275
+ Object.keys(D).forEach((s) => {
276
+ R(s, D[s]);
262
277
  });
263
- const O = () => {
264
- ee(s);
265
- }, T = () => {
278
+ const I = () => {
279
+ ee(n);
280
+ }, O = () => {
266
281
  window.postMessage({ type: "CloseIframe" }, window.location.href);
267
- }, M = (n) => {
268
- n.target.src && t(9, l = !1);
269
- }, z = () => window.postMessage({ type: "DisableScroll" }, window.location.href), D = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
270
- V(() => (z(), () => {
271
- D();
282
+ }, M = (s) => {
283
+ s.target.src && t(9, l = !1);
284
+ }, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href), z = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
285
+ V(() => (T(), () => {
286
+ z();
272
287
  }));
273
- const q = (n) => M(n);
274
- function N(n) {
275
- W[n ? "unshift" : "push"](() => {
276
- r = n, t(8, r);
288
+ const q = (s) => M(s);
289
+ function N(s) {
290
+ W[s ? "unshift" : "push"](() => {
291
+ r = s, t(8, r);
277
292
  });
278
293
  }
279
- return i.$$set = (n) => {
280
- "lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, u = n.iframeurl), "translationurl" in n && t(2, h = n.translationurl), "showbackbutton" in n && t(3, m = n.showbackbutton), "mbsource" in n && t(4, g = n.mbsource), "clientstyling" in n && t(5, d = n.clientstyling), "clientstylingurl" in n && t(6, C = n.clientstylingurl), "title" in n && t(7, o = n.title);
294
+ return i.$$set = (s) => {
295
+ "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, m = s.translationurl), "showbackbutton" in s && t(3, h = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
281
296
  }, i.$$.update = () => {
282
297
  i.$$.dirty & /*lang*/
283
- 1 && s && O(), i.$$.dirty & /*translationurl*/
284
- 4 && h && f(), i.$$.dirty & /*clientstyling, customStylingContainer*/
285
- 288 && d && r && Y(r, d), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
286
- 320 && C && r && x(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
287
- 272 && g && r && $(r, `${g}.Style`, c);
298
+ 1 && n && I(), i.$$.dirty & /*translationurl*/
299
+ 4 && m && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
300
+ 288 && g && r && X(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
301
+ 320 && y && r && Y(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
302
+ 272 && d && r && x(r, `${d}.Style`, c);
288
303
  }, [
289
- s,
290
- u,
291
- h,
304
+ n,
305
+ f,
292
306
  m,
293
- g,
307
+ h,
294
308
  d,
295
- C,
309
+ g,
310
+ y,
296
311
  o,
297
312
  r,
298
313
  l,
299
- T,
314
+ O,
300
315
  M,
301
316
  q,
302
317
  N
303
318
  ];
304
319
  }
305
- class le extends P {
320
+ class se extends P {
306
321
  constructor(e) {
307
- super(), G(
322
+ super(), J(
308
323
  this,
309
324
  e,
310
325
  ne,
@@ -372,7 +387,7 @@ class le extends P {
372
387
  this.$$set({ title: e }), b();
373
388
  }
374
389
  }
375
- X(le, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
390
+ $(se, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
376
391
  export {
377
- le as default
392
+ se as default
378
393
  };