@moneyto/components 0.0.16 → 0.0.18

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.
@@ -1,5 +1,5 @@
1
- import { c as ge, p as he, a as q, ar as Se, j as x, m as Lt, n as qt, i as G, e as O, f as It, v as Dt, g as me, h as D, k as kt, b as St, l as k, r as Tt, w as we, as as Te, s as tt, S as Me, q as Ie, u as Ut } from "./Styles-Zk7nSJeB.js";
2
- import { g as Ne, A as Mt, M as be, d as ve, G as _e } from "./google-play-CvltNTKq.js";
1
+ import { c as ge, p as he, a as q, as as Se, h as x, m as Lt, n as qt, i as G, e as O, f as It, v as Dt, g as me, k as kt, j as D, b as St, l as k, r as Tt, w as we, at as Te, s as tt, S as Me, q as Ie, u as Ut } from "./Styles-CRXvbsIv.js";
2
+ import { g as Ne, A as Mt, M as be, d as ve, G as _e } from "./google-play-BUSBdASg.js";
3
3
  const et = () => "ontouchstart" in window || navigator.maxTouchPoints > 0, Ft = () => !("MSStream" in window) && (/iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.userAgent.includes("Mac") && "ontouchend" in document);
4
4
  var H = {}, nt, zt;
5
5
  function Le() {
@@ -222,12 +222,12 @@ function Fe() {
222
222
  return o.isValid(t) ? parseInt(t, 10) : void 0;
223
223
  }, o.getPenaltyN1 = function(t) {
224
224
  const n = t.size;
225
- let s = 0, u = 0, a = 0, c = null, d = null;
226
- for (let m = 0; m < n; m++) {
227
- u = a = 0, c = d = null;
228
- for (let g = 0; g < n; g++) {
229
- let f = t.get(m, g);
230
- f === c ? u++ : (u >= 5 && (s += r.N1 + (u - 5)), c = f, u = 1), f = t.get(g, m), f === d ? a++ : (a >= 5 && (s += r.N1 + (a - 5)), d = f, a = 1);
225
+ let s = 0, u = 0, a = 0, f = null, c = null;
226
+ for (let y = 0; y < n; y++) {
227
+ u = a = 0, f = c = null;
228
+ for (let m = 0; m < n; m++) {
229
+ let d = t.get(y, m);
230
+ d === f ? u++ : (u >= 5 && (s += r.N1 + (u - 5)), f = d, u = 1), d = t.get(m, y), d === c ? a++ : (a >= 5 && (s += r.N1 + (a - 5)), c = d, a = 1);
231
231
  }
232
232
  u >= 5 && (s += r.N1 + (u - 5)), a >= 5 && (s += r.N1 + (a - 5));
233
233
  }
@@ -237,17 +237,17 @@ function Fe() {
237
237
  let s = 0;
238
238
  for (let u = 0; u < n - 1; u++)
239
239
  for (let a = 0; a < n - 1; a++) {
240
- const c = t.get(u, a) + t.get(u, a + 1) + t.get(u + 1, a) + t.get(u + 1, a + 1);
241
- (c === 4 || c === 0) && s++;
240
+ const f = t.get(u, a) + t.get(u, a + 1) + t.get(u + 1, a) + t.get(u + 1, a + 1);
241
+ (f === 4 || f === 0) && s++;
242
242
  }
243
243
  return s * r.N2;
244
244
  }, o.getPenaltyN3 = function(t) {
245
245
  const n = t.size;
246
246
  let s = 0, u = 0, a = 0;
247
- for (let c = 0; c < n; c++) {
247
+ for (let f = 0; f < n; f++) {
248
248
  u = a = 0;
249
- for (let d = 0; d < n; d++)
250
- u = u << 1 & 2047 | t.get(c, d), d >= 10 && (u === 1488 || u === 93) && s++, a = a << 1 & 2047 | t.get(d, c), d >= 10 && (a === 1488 || a === 93) && s++;
249
+ for (let c = 0; c < n; c++)
250
+ u = u << 1 & 2047 | t.get(f, c), c >= 10 && (u === 1488 || u === 93) && s++, a = a << 1 & 2047 | t.get(c, f), c >= 10 && (a === 1488 || a === 93) && s++;
251
251
  }
252
252
  return s * r.N3;
253
253
  }, o.getPenaltyN4 = function(t) {
@@ -286,10 +286,10 @@ function Fe() {
286
286
  }, o.getBestMask = function(t, n) {
287
287
  const s = Object.keys(o.Patterns).length;
288
288
  let u = 0, a = 1 / 0;
289
- for (let c = 0; c < s; c++) {
290
- n(c), o.applyMask(c, t);
291
- const d = o.getPenaltyN1(t) + o.getPenaltyN2(t) + o.getPenaltyN3(t) + o.getPenaltyN4(t);
292
- o.applyMask(c, t), d < a && (a = d, u = c);
289
+ for (let f = 0; f < s; f++) {
290
+ n(f), o.applyMask(f, t);
291
+ const c = o.getPenaltyN1(t) + o.getPenaltyN2(t) + o.getPenaltyN3(t) + o.getPenaltyN4(t);
292
+ o.applyMask(f, t), c < a && (a = c, u = f);
293
293
  }
294
294
  return u;
295
295
  };
@@ -815,65 +815,65 @@ var te;
815
815
  function He() {
816
816
  return te || (te = 1, (function(o) {
817
817
  const r = z(), i = pe(), e = Nt(), t = V(), n = ye(), s = 7973, u = r.getBCHDigit(s);
818
- function a(g, f, A) {
819
- for (let M = 1; M <= 40; M++)
820
- if (f <= o.getCapacity(M, A, g))
821
- return M;
818
+ function a(m, d, E) {
819
+ for (let S = 1; S <= 40; S++)
820
+ if (d <= o.getCapacity(S, E, m))
821
+ return S;
822
822
  }
823
- function c(g, f) {
824
- return t.getCharCountIndicator(g, f) + 4;
823
+ function f(m, d) {
824
+ return t.getCharCountIndicator(m, d) + 4;
825
825
  }
826
- function d(g, f) {
827
- let A = 0;
828
- return g.forEach(function(M) {
829
- const N = c(M.mode, f);
830
- A += N + M.getBitsLength();
831
- }), A;
826
+ function c(m, d) {
827
+ let E = 0;
828
+ return m.forEach(function(S) {
829
+ const N = f(S.mode, d);
830
+ E += N + S.getBitsLength();
831
+ }), E;
832
832
  }
833
- function m(g, f) {
834
- for (let A = 1; A <= 40; A++)
835
- if (d(g, A) <= o.getCapacity(A, f, t.MIXED))
836
- return A;
833
+ function y(m, d) {
834
+ for (let E = 1; E <= 40; E++)
835
+ if (c(m, E) <= o.getCapacity(E, d, t.MIXED))
836
+ return E;
837
837
  }
838
- o.from = function(f, A) {
839
- return n.isValid(f) ? parseInt(f, 10) : A;
840
- }, o.getCapacity = function(f, A, M) {
841
- if (!n.isValid(f))
838
+ o.from = function(d, E) {
839
+ return n.isValid(d) ? parseInt(d, 10) : E;
840
+ }, o.getCapacity = function(d, E, S) {
841
+ if (!n.isValid(d))
842
842
  throw new Error("Invalid QR Code version");
843
- typeof M > "u" && (M = t.BYTE);
844
- const N = r.getSymbolTotalCodewords(f), R = i.getTotalCodewordsCount(f, A), S = (N - R) * 8;
845
- if (M === t.MIXED) return S;
846
- const p = S - c(M, f);
847
- switch (M) {
843
+ typeof S > "u" && (S = t.BYTE);
844
+ const N = r.getSymbolTotalCodewords(d), P = i.getTotalCodewordsCount(d, E), M = (N - P) * 8;
845
+ if (S === t.MIXED) return M;
846
+ const C = M - f(S, d);
847
+ switch (S) {
848
848
  case t.NUMERIC:
849
- return Math.floor(p / 10 * 3);
849
+ return Math.floor(C / 10 * 3);
850
850
  case t.ALPHANUMERIC:
851
- return Math.floor(p / 11 * 2);
851
+ return Math.floor(C / 11 * 2);
852
852
  case t.KANJI:
853
- return Math.floor(p / 13);
853
+ return Math.floor(C / 13);
854
854
  case t.BYTE:
855
855
  default:
856
- return Math.floor(p / 8);
856
+ return Math.floor(C / 8);
857
857
  }
858
- }, o.getBestVersionForData = function(f, A) {
859
- let M;
860
- const N = e.from(A, e.M);
861
- if (Array.isArray(f)) {
862
- if (f.length > 1)
863
- return m(f, N);
864
- if (f.length === 0)
858
+ }, o.getBestVersionForData = function(d, E) {
859
+ let S;
860
+ const N = e.from(E, e.M);
861
+ if (Array.isArray(d)) {
862
+ if (d.length > 1)
863
+ return y(d, N);
864
+ if (d.length === 0)
865
865
  return 1;
866
- M = f[0];
866
+ S = d[0];
867
867
  } else
868
- M = f;
869
- return a(M.mode, M.getLength(), N);
870
- }, o.getEncodedBits = function(f) {
871
- if (!n.isValid(f) || f < 7)
868
+ S = d;
869
+ return a(S.mode, S.getLength(), N);
870
+ }, o.getEncodedBits = function(d) {
871
+ if (!n.isValid(d) || d < 7)
872
872
  throw new Error("Invalid QR Code version");
873
- let A = f << 12;
874
- for (; r.getBCHDigit(A) - u >= 0; )
875
- A ^= s << r.getBCHDigit(A) - u;
876
- return f << 12 | A;
873
+ let E = d << 12;
874
+ for (; r.getBCHDigit(E) - u >= 0; )
875
+ E ^= s << r.getBCHDigit(E) - u;
876
+ return d << 12 | E;
877
877
  };
878
878
  })(dt)), dt;
879
879
  }
@@ -1040,14 +1040,14 @@ function Ge() {
1040
1040
  s[e] = 0;
1041
1041
  var u = r.PriorityQueue.make();
1042
1042
  u.push(e, 0);
1043
- for (var a, c, d, m, g, f, A, M, N; !u.empty(); ) {
1044
- a = u.pop(), c = a.value, m = a.cost, g = i[c] || {};
1045
- for (d in g)
1046
- g.hasOwnProperty(d) && (f = g[d], A = m + f, M = s[d], N = typeof s[d] > "u", (N || M > A) && (s[d] = A, u.push(d, A), n[d] = c));
1043
+ for (var a, f, c, y, m, d, E, S, N; !u.empty(); ) {
1044
+ a = u.pop(), f = a.value, y = a.cost, m = i[f] || {};
1045
+ for (c in m)
1046
+ m.hasOwnProperty(c) && (d = m[c], E = y + d, S = s[c], N = typeof s[c] > "u", (N || S > E) && (s[c] = E, u.push(c, E), n[c] = f));
1047
1047
  }
1048
1048
  if (typeof t < "u" && typeof s[t] > "u") {
1049
- var R = ["Could not find a path from ", e, " to ", t, "."].join("");
1050
- throw new Error(R);
1049
+ var P = ["Could not find a path from ", e, " to ", t, "."].join("");
1050
+ throw new Error(P);
1051
1051
  }
1052
1052
  return n;
1053
1053
  },
@@ -1103,132 +1103,132 @@ var ae;
1103
1103
  function $e() {
1104
1104
  return ae || (ae = 1, (function(o) {
1105
1105
  const r = V(), i = je(), e = Oe(), t = Ye(), n = Qe(), s = Ce(), u = z(), a = Ge();
1106
- function c(R) {
1107
- return unescape(encodeURIComponent(R)).length;
1106
+ function f(P) {
1107
+ return unescape(encodeURIComponent(P)).length;
1108
1108
  }
1109
- function d(R, S, p) {
1110
- const B = [];
1109
+ function c(P, M, C) {
1110
+ const w = [];
1111
1111
  let b;
1112
- for (; (b = R.exec(p)) !== null; )
1113
- B.push({
1112
+ for (; (b = P.exec(C)) !== null; )
1113
+ w.push({
1114
1114
  data: b[0],
1115
1115
  index: b.index,
1116
- mode: S,
1116
+ mode: M,
1117
1117
  length: b[0].length
1118
1118
  });
1119
- return B;
1119
+ return w;
1120
1120
  }
1121
- function m(R) {
1122
- const S = d(s.NUMERIC, r.NUMERIC, R), p = d(s.ALPHANUMERIC, r.ALPHANUMERIC, R);
1123
- let B, b;
1124
- return u.isKanjiModeEnabled() ? (B = d(s.BYTE, r.BYTE, R), b = d(s.KANJI, r.KANJI, R)) : (B = d(s.BYTE_KANJI, r.BYTE, R), b = []), S.concat(p, B, b).sort(function(w, y) {
1125
- return w.index - y.index;
1126
- }).map(function(w) {
1121
+ function y(P) {
1122
+ const M = c(s.NUMERIC, r.NUMERIC, P), C = c(s.ALPHANUMERIC, r.ALPHANUMERIC, P);
1123
+ let w, b;
1124
+ return u.isKanjiModeEnabled() ? (w = c(s.BYTE, r.BYTE, P), b = c(s.KANJI, r.KANJI, P)) : (w = c(s.BYTE_KANJI, r.BYTE, P), b = []), M.concat(C, w, b).sort(function(l, p) {
1125
+ return l.index - p.index;
1126
+ }).map(function(l) {
1127
1127
  return {
1128
- data: w.data,
1129
- mode: w.mode,
1130
- length: w.length
1128
+ data: l.data,
1129
+ mode: l.mode,
1130
+ length: l.length
1131
1131
  };
1132
1132
  });
1133
1133
  }
1134
- function g(R, S) {
1135
- switch (S) {
1134
+ function m(P, M) {
1135
+ switch (M) {
1136
1136
  case r.NUMERIC:
1137
- return i.getBitsLength(R);
1137
+ return i.getBitsLength(P);
1138
1138
  case r.ALPHANUMERIC:
1139
- return e.getBitsLength(R);
1139
+ return e.getBitsLength(P);
1140
1140
  case r.KANJI:
1141
- return n.getBitsLength(R);
1141
+ return n.getBitsLength(P);
1142
1142
  case r.BYTE:
1143
- return t.getBitsLength(R);
1143
+ return t.getBitsLength(P);
1144
1144
  }
1145
1145
  }
1146
- function f(R) {
1147
- return R.reduce(function(S, p) {
1148
- const B = S.length - 1 >= 0 ? S[S.length - 1] : null;
1149
- return B && B.mode === p.mode ? (S[S.length - 1].data += p.data, S) : (S.push(p), S);
1146
+ function d(P) {
1147
+ return P.reduce(function(M, C) {
1148
+ const w = M.length - 1 >= 0 ? M[M.length - 1] : null;
1149
+ return w && w.mode === C.mode ? (M[M.length - 1].data += C.data, M) : (M.push(C), M);
1150
1150
  }, []);
1151
1151
  }
1152
- function A(R) {
1153
- const S = [];
1154
- for (let p = 0; p < R.length; p++) {
1155
- const B = R[p];
1156
- switch (B.mode) {
1152
+ function E(P) {
1153
+ const M = [];
1154
+ for (let C = 0; C < P.length; C++) {
1155
+ const w = P[C];
1156
+ switch (w.mode) {
1157
1157
  case r.NUMERIC:
1158
- S.push([
1159
- B,
1160
- { data: B.data, mode: r.ALPHANUMERIC, length: B.length },
1161
- { data: B.data, mode: r.BYTE, length: B.length }
1158
+ M.push([
1159
+ w,
1160
+ { data: w.data, mode: r.ALPHANUMERIC, length: w.length },
1161
+ { data: w.data, mode: r.BYTE, length: w.length }
1162
1162
  ]);
1163
1163
  break;
1164
1164
  case r.ALPHANUMERIC:
1165
- S.push([
1166
- B,
1167
- { data: B.data, mode: r.BYTE, length: B.length }
1165
+ M.push([
1166
+ w,
1167
+ { data: w.data, mode: r.BYTE, length: w.length }
1168
1168
  ]);
1169
1169
  break;
1170
1170
  case r.KANJI:
1171
- S.push([
1172
- B,
1173
- { data: B.data, mode: r.BYTE, length: c(B.data) }
1171
+ M.push([
1172
+ w,
1173
+ { data: w.data, mode: r.BYTE, length: f(w.data) }
1174
1174
  ]);
1175
1175
  break;
1176
1176
  case r.BYTE:
1177
- S.push([
1178
- { data: B.data, mode: r.BYTE, length: c(B.data) }
1177
+ M.push([
1178
+ { data: w.data, mode: r.BYTE, length: f(w.data) }
1179
1179
  ]);
1180
1180
  }
1181
1181
  }
1182
- return S;
1182
+ return M;
1183
1183
  }
1184
- function M(R, S) {
1185
- const p = {}, B = { start: {} };
1184
+ function S(P, M) {
1185
+ const C = {}, w = { start: {} };
1186
1186
  let b = ["start"];
1187
- for (let l = 0; l < R.length; l++) {
1188
- const w = R[l], y = [];
1189
- for (let h = 0; h < w.length; h++) {
1190
- const T = w[h], C = "" + l + h;
1191
- y.push(C), p[C] = { node: T, lastCount: 0 }, B[C] = {};
1192
- for (let P = 0; P < b.length; P++) {
1193
- const E = b[P];
1194
- p[E] && p[E].node.mode === T.mode ? (B[E][C] = g(p[E].lastCount + T.length, T.mode) - g(p[E].lastCount, T.mode), p[E].lastCount += T.length) : (p[E] && (p[E].lastCount = T.length), B[E][C] = g(T.length, T.mode) + 4 + r.getCharCountIndicator(T.mode, S));
1187
+ for (let h = 0; h < P.length; h++) {
1188
+ const l = P[h], p = [];
1189
+ for (let g = 0; g < l.length; g++) {
1190
+ const T = l[g], B = "" + h + g;
1191
+ p.push(B), C[B] = { node: T, lastCount: 0 }, w[B] = {};
1192
+ for (let R = 0; R < b.length; R++) {
1193
+ const A = b[R];
1194
+ C[A] && C[A].node.mode === T.mode ? (w[A][B] = m(C[A].lastCount + T.length, T.mode) - m(C[A].lastCount, T.mode), C[A].lastCount += T.length) : (C[A] && (C[A].lastCount = T.length), w[A][B] = m(T.length, T.mode) + 4 + r.getCharCountIndicator(T.mode, M));
1195
1195
  }
1196
1196
  }
1197
- b = y;
1197
+ b = p;
1198
1198
  }
1199
- for (let l = 0; l < b.length; l++)
1200
- B[b[l]].end = 0;
1201
- return { map: B, table: p };
1199
+ for (let h = 0; h < b.length; h++)
1200
+ w[b[h]].end = 0;
1201
+ return { map: w, table: C };
1202
1202
  }
1203
- function N(R, S) {
1204
- let p;
1205
- const B = r.getBestModeForData(R);
1206
- if (p = r.from(S, B), p !== r.BYTE && p.bit < B.bit)
1207
- throw new Error('"' + R + '" cannot be encoded with mode ' + r.toString(p) + `.
1208
- Suggested mode is: ` + r.toString(B));
1209
- switch (p === r.KANJI && !u.isKanjiModeEnabled() && (p = r.BYTE), p) {
1203
+ function N(P, M) {
1204
+ let C;
1205
+ const w = r.getBestModeForData(P);
1206
+ if (C = r.from(M, w), C !== r.BYTE && C.bit < w.bit)
1207
+ throw new Error('"' + P + '" cannot be encoded with mode ' + r.toString(C) + `.
1208
+ Suggested mode is: ` + r.toString(w));
1209
+ switch (C === r.KANJI && !u.isKanjiModeEnabled() && (C = r.BYTE), C) {
1210
1210
  case r.NUMERIC:
1211
- return new i(R);
1211
+ return new i(P);
1212
1212
  case r.ALPHANUMERIC:
1213
- return new e(R);
1213
+ return new e(P);
1214
1214
  case r.KANJI:
1215
- return new n(R);
1215
+ return new n(P);
1216
1216
  case r.BYTE:
1217
- return new t(R);
1217
+ return new t(P);
1218
1218
  }
1219
1219
  }
1220
- o.fromArray = function(S) {
1221
- return S.reduce(function(p, B) {
1222
- return typeof B == "string" ? p.push(N(B, null)) : B.data && p.push(N(B.data, B.mode)), p;
1220
+ o.fromArray = function(M) {
1221
+ return M.reduce(function(C, w) {
1222
+ return typeof w == "string" ? C.push(N(w, null)) : w.data && C.push(N(w.data, w.mode)), C;
1223
1223
  }, []);
1224
- }, o.fromString = function(S, p) {
1225
- const B = m(S, u.isKanjiModeEnabled()), b = A(B), l = M(b, p), w = a.find_path(l.map, "start", "end"), y = [];
1226
- for (let h = 1; h < w.length - 1; h++)
1227
- y.push(l.table[w[h]].node);
1228
- return o.fromArray(f(y));
1229
- }, o.rawSplit = function(S) {
1224
+ }, o.fromString = function(M, C) {
1225
+ const w = y(M, u.isKanjiModeEnabled()), b = E(w), h = S(b, C), l = a.find_path(h.map, "start", "end"), p = [];
1226
+ for (let g = 1; g < l.length - 1; g++)
1227
+ p.push(h.table[l[g]].node);
1228
+ return o.fromArray(d(p));
1229
+ }, o.rawSplit = function(M) {
1230
1230
  return o.fromArray(
1231
- m(S, u.isKanjiModeEnabled())
1231
+ y(M, u.isKanjiModeEnabled())
1232
1232
  );
1233
1233
  };
1234
1234
  })(wt)), wt;
@@ -1237,137 +1237,137 @@ var ue;
1237
1237
  function We() {
1238
1238
  if (ue) return rt;
1239
1239
  ue = 1;
1240
- const o = z(), r = Nt(), i = qe(), e = De(), t = ke(), n = Ue(), s = Fe(), u = pe(), a = Ke(), c = He(), d = Je(), m = V(), g = $e();
1241
- function f(l, w) {
1242
- const y = l.size, h = n.getPositions(w);
1243
- for (let T = 0; T < h.length; T++) {
1244
- const C = h[T][0], P = h[T][1];
1245
- for (let E = -1; E <= 7; E++)
1246
- if (!(C + E <= -1 || y <= C + E))
1240
+ const o = z(), r = Nt(), i = qe(), e = De(), t = ke(), n = Ue(), s = Fe(), u = pe(), a = Ke(), f = He(), c = Je(), y = V(), m = $e();
1241
+ function d(h, l) {
1242
+ const p = h.size, g = n.getPositions(l);
1243
+ for (let T = 0; T < g.length; T++) {
1244
+ const B = g[T][0], R = g[T][1];
1245
+ for (let A = -1; A <= 7; A++)
1246
+ if (!(B + A <= -1 || p <= B + A))
1247
1247
  for (let I = -1; I <= 7; I++)
1248
- P + I <= -1 || y <= P + I || (E >= 0 && E <= 6 && (I === 0 || I === 6) || I >= 0 && I <= 6 && (E === 0 || E === 6) || E >= 2 && E <= 4 && I >= 2 && I <= 4 ? l.set(C + E, P + I, !0, !0) : l.set(C + E, P + I, !1, !0));
1248
+ R + I <= -1 || p <= R + I || (A >= 0 && A <= 6 && (I === 0 || I === 6) || I >= 0 && I <= 6 && (A === 0 || A === 6) || A >= 2 && A <= 4 && I >= 2 && I <= 4 ? h.set(B + A, R + I, !0, !0) : h.set(B + A, R + I, !1, !0));
1249
1249
  }
1250
1250
  }
1251
- function A(l) {
1252
- const w = l.size;
1253
- for (let y = 8; y < w - 8; y++) {
1254
- const h = y % 2 === 0;
1255
- l.set(y, 6, h, !0), l.set(6, y, h, !0);
1251
+ function E(h) {
1252
+ const l = h.size;
1253
+ for (let p = 8; p < l - 8; p++) {
1254
+ const g = p % 2 === 0;
1255
+ h.set(p, 6, g, !0), h.set(6, p, g, !0);
1256
1256
  }
1257
1257
  }
1258
- function M(l, w) {
1259
- const y = t.getPositions(w);
1260
- for (let h = 0; h < y.length; h++) {
1261
- const T = y[h][0], C = y[h][1];
1262
- for (let P = -2; P <= 2; P++)
1263
- for (let E = -2; E <= 2; E++)
1264
- P === -2 || P === 2 || E === -2 || E === 2 || P === 0 && E === 0 ? l.set(T + P, C + E, !0, !0) : l.set(T + P, C + E, !1, !0);
1258
+ function S(h, l) {
1259
+ const p = t.getPositions(l);
1260
+ for (let g = 0; g < p.length; g++) {
1261
+ const T = p[g][0], B = p[g][1];
1262
+ for (let R = -2; R <= 2; R++)
1263
+ for (let A = -2; A <= 2; A++)
1264
+ R === -2 || R === 2 || A === -2 || A === 2 || R === 0 && A === 0 ? h.set(T + R, B + A, !0, !0) : h.set(T + R, B + A, !1, !0);
1265
1265
  }
1266
1266
  }
1267
- function N(l, w) {
1268
- const y = l.size, h = c.getEncodedBits(w);
1269
- let T, C, P;
1270
- for (let E = 0; E < 18; E++)
1271
- T = Math.floor(E / 3), C = E % 3 + y - 8 - 3, P = (h >> E & 1) === 1, l.set(T, C, P, !0), l.set(C, T, P, !0);
1267
+ function N(h, l) {
1268
+ const p = h.size, g = f.getEncodedBits(l);
1269
+ let T, B, R;
1270
+ for (let A = 0; A < 18; A++)
1271
+ T = Math.floor(A / 3), B = A % 3 + p - 8 - 3, R = (g >> A & 1) === 1, h.set(T, B, R, !0), h.set(B, T, R, !0);
1272
1272
  }
1273
- function R(l, w, y) {
1274
- const h = l.size, T = d.getEncodedBits(w, y);
1275
- let C, P;
1276
- for (C = 0; C < 15; C++)
1277
- P = (T >> C & 1) === 1, C < 6 ? l.set(C, 8, P, !0) : C < 8 ? l.set(C + 1, 8, P, !0) : l.set(h - 15 + C, 8, P, !0), C < 8 ? l.set(8, h - C - 1, P, !0) : C < 9 ? l.set(8, 15 - C - 1 + 1, P, !0) : l.set(8, 15 - C - 1, P, !0);
1278
- l.set(h - 8, 8, 1, !0);
1273
+ function P(h, l, p) {
1274
+ const g = h.size, T = c.getEncodedBits(l, p);
1275
+ let B, R;
1276
+ for (B = 0; B < 15; B++)
1277
+ R = (T >> B & 1) === 1, B < 6 ? h.set(B, 8, R, !0) : B < 8 ? h.set(B + 1, 8, R, !0) : h.set(g - 15 + B, 8, R, !0), B < 8 ? h.set(8, g - B - 1, R, !0) : B < 9 ? h.set(8, 15 - B - 1 + 1, R, !0) : h.set(8, 15 - B - 1, R, !0);
1278
+ h.set(g - 8, 8, 1, !0);
1279
1279
  }
1280
- function S(l, w) {
1281
- const y = l.size;
1282
- let h = -1, T = y - 1, C = 7, P = 0;
1283
- for (let E = y - 1; E > 0; E -= 2)
1284
- for (E === 6 && E--; ; ) {
1280
+ function M(h, l) {
1281
+ const p = h.size;
1282
+ let g = -1, T = p - 1, B = 7, R = 0;
1283
+ for (let A = p - 1; A > 0; A -= 2)
1284
+ for (A === 6 && A--; ; ) {
1285
1285
  for (let I = 0; I < 2; I++)
1286
- if (!l.isReserved(T, E - I)) {
1286
+ if (!h.isReserved(T, A - I)) {
1287
1287
  let U = !1;
1288
- P < w.length && (U = (w[P] >>> C & 1) === 1), l.set(T, E - I, U), C--, C === -1 && (P++, C = 7);
1288
+ R < l.length && (U = (l[R] >>> B & 1) === 1), h.set(T, A - I, U), B--, B === -1 && (R++, B = 7);
1289
1289
  }
1290
- if (T += h, T < 0 || y <= T) {
1291
- T -= h, h = -h;
1290
+ if (T += g, T < 0 || p <= T) {
1291
+ T -= g, g = -g;
1292
1292
  break;
1293
1293
  }
1294
1294
  }
1295
1295
  }
1296
- function p(l, w, y) {
1297
- const h = new i();
1298
- y.forEach(function(I) {
1299
- h.put(I.mode.bit, 4), h.put(I.getLength(), m.getCharCountIndicator(I.mode, l)), I.write(h);
1296
+ function C(h, l, p) {
1297
+ const g = new i();
1298
+ p.forEach(function(I) {
1299
+ g.put(I.mode.bit, 4), g.put(I.getLength(), y.getCharCountIndicator(I.mode, h)), I.write(g);
1300
1300
  });
1301
- const T = o.getSymbolTotalCodewords(l), C = u.getTotalCodewordsCount(l, w), P = (T - C) * 8;
1302
- for (h.getLengthInBits() + 4 <= P && h.put(0, 4); h.getLengthInBits() % 8 !== 0; )
1303
- h.putBit(0);
1304
- const E = (P - h.getLengthInBits()) / 8;
1305
- for (let I = 0; I < E; I++)
1306
- h.put(I % 2 ? 17 : 236, 8);
1307
- return B(h, l, w);
1301
+ const T = o.getSymbolTotalCodewords(h), B = u.getTotalCodewordsCount(h, l), R = (T - B) * 8;
1302
+ for (g.getLengthInBits() + 4 <= R && g.put(0, 4); g.getLengthInBits() % 8 !== 0; )
1303
+ g.putBit(0);
1304
+ const A = (R - g.getLengthInBits()) / 8;
1305
+ for (let I = 0; I < A; I++)
1306
+ g.put(I % 2 ? 17 : 236, 8);
1307
+ return w(g, h, l);
1308
1308
  }
1309
- function B(l, w, y) {
1310
- const h = o.getSymbolTotalCodewords(w), T = u.getTotalCodewordsCount(w, y), C = h - T, P = u.getBlocksCount(w, y), E = h % P, I = P - E, U = Math.floor(h / P), J = Math.floor(C / P), Ae = J + 1, bt = U - J, Re = new a(bt);
1309
+ function w(h, l, p) {
1310
+ const g = o.getSymbolTotalCodewords(l), T = u.getTotalCodewordsCount(l, p), B = g - T, R = u.getBlocksCount(l, p), A = g % R, I = R - A, U = Math.floor(g / R), J = Math.floor(B / R), Ae = J + 1, bt = U - J, Re = new a(bt);
1311
1311
  let $ = 0;
1312
- const Y = new Array(P), vt = new Array(P);
1312
+ const Y = new Array(R), vt = new Array(R);
1313
1313
  let W = 0;
1314
- const Pe = new Uint8Array(l.buffer);
1315
- for (let K = 0; K < P; K++) {
1314
+ const Pe = new Uint8Array(h.buffer);
1315
+ for (let K = 0; K < R; K++) {
1316
1316
  const X = K < I ? J : Ae;
1317
1317
  Y[K] = Pe.slice($, $ + X), vt[K] = Re.encode(Y[K]), $ += X, W = Math.max(W, X);
1318
1318
  }
1319
- const Z = new Uint8Array(h);
1319
+ const Z = new Uint8Array(g);
1320
1320
  let _t = 0, _, L;
1321
1321
  for (_ = 0; _ < W; _++)
1322
- for (L = 0; L < P; L++)
1322
+ for (L = 0; L < R; L++)
1323
1323
  _ < Y[L].length && (Z[_t++] = Y[L][_]);
1324
1324
  for (_ = 0; _ < bt; _++)
1325
- for (L = 0; L < P; L++)
1325
+ for (L = 0; L < R; L++)
1326
1326
  Z[_t++] = vt[L][_];
1327
1327
  return Z;
1328
1328
  }
1329
- function b(l, w, y, h) {
1329
+ function b(h, l, p, g) {
1330
1330
  let T;
1331
- if (Array.isArray(l))
1332
- T = g.fromArray(l);
1333
- else if (typeof l == "string") {
1334
- let U = w;
1331
+ if (Array.isArray(h))
1332
+ T = m.fromArray(h);
1333
+ else if (typeof h == "string") {
1334
+ let U = l;
1335
1335
  if (!U) {
1336
- const J = g.rawSplit(l);
1337
- U = c.getBestVersionForData(J, y);
1336
+ const J = m.rawSplit(h);
1337
+ U = f.getBestVersionForData(J, p);
1338
1338
  }
1339
- T = g.fromString(l, U || 40);
1339
+ T = m.fromString(h, U || 40);
1340
1340
  } else
1341
1341
  throw new Error("Invalid data");
1342
- const C = c.getBestVersionForData(T, y);
1343
- if (!C)
1342
+ const B = f.getBestVersionForData(T, p);
1343
+ if (!B)
1344
1344
  throw new Error("The amount of data is too big to be stored in a QR Code");
1345
- if (!w)
1346
- w = C;
1347
- else if (w < C)
1345
+ if (!l)
1346
+ l = B;
1347
+ else if (l < B)
1348
1348
  throw new Error(
1349
1349
  `
1350
1350
  The chosen QR Code version cannot contain this amount of data.
1351
- Minimum version required to store current data is: ` + C + `.
1351
+ Minimum version required to store current data is: ` + B + `.
1352
1352
  `
1353
1353
  );
1354
- const P = p(w, y, T), E = o.getSymbolSize(w), I = new e(E);
1355
- return f(I, w), A(I), M(I, w), R(I, y, 0), w >= 7 && N(I, w), S(I, P), isNaN(h) && (h = s.getBestMask(
1354
+ const R = C(l, p, T), A = o.getSymbolSize(l), I = new e(A);
1355
+ return d(I, l), E(I), S(I, l), P(I, p, 0), l >= 7 && N(I, l), M(I, R), isNaN(g) && (g = s.getBestMask(
1356
1356
  I,
1357
- R.bind(null, I, y)
1358
- )), s.applyMask(h, I), R(I, y, h), {
1357
+ P.bind(null, I, p)
1358
+ )), s.applyMask(g, I), P(I, p, g), {
1359
1359
  modules: I,
1360
- version: w,
1361
- errorCorrectionLevel: y,
1362
- maskPattern: h,
1360
+ version: l,
1361
+ errorCorrectionLevel: p,
1362
+ maskPattern: g,
1363
1363
  segments: T
1364
1364
  };
1365
1365
  }
1366
- return rt.create = function(w, y) {
1367
- if (typeof w > "u" || w === "")
1366
+ return rt.create = function(l, p) {
1367
+ if (typeof l > "u" || l === "")
1368
1368
  throw new Error("No input text");
1369
- let h = r.M, T, C;
1370
- return typeof y < "u" && (h = r.from(y.errorCorrectionLevel, r.M), T = c.from(y.version), C = s.from(y.maskPattern), y.toSJISFunc && o.setToSJISFunction(y.toSJISFunc)), b(w, T, h, C);
1369
+ let g = r.M, T, B;
1370
+ return typeof p < "u" && (g = r.from(p.errorCorrectionLevel, r.M), T = f.from(p.version), B = s.from(p.maskPattern), p.toSJISFunc && o.setToSJISFunction(p.toSJISFunc)), b(l, T, g, B);
1371
1371
  }, rt;
1372
1372
  }
1373
1373
  var At = {}, Rt = {}, ce;
@@ -1411,15 +1411,15 @@ function Ee() {
1411
1411
  const n = o.getScale(e, t);
1412
1412
  return Math.floor((e + t.margin * 2) * n);
1413
1413
  }, o.qrToImageData = function(e, t, n) {
1414
- const s = t.modules.size, u = t.modules.data, a = o.getScale(s, n), c = Math.floor((s + n.margin * 2) * a), d = n.margin * a, m = [n.color.light, n.color.dark];
1415
- for (let g = 0; g < c; g++)
1416
- for (let f = 0; f < c; f++) {
1417
- let A = (g * c + f) * 4, M = n.color.light;
1418
- if (g >= d && f >= d && g < c - d && f < c - d) {
1419
- const N = Math.floor((g - d) / a), R = Math.floor((f - d) / a);
1420
- M = m[u[N * s + R] ? 1 : 0];
1414
+ const s = t.modules.size, u = t.modules.data, a = o.getScale(s, n), f = Math.floor((s + n.margin * 2) * a), c = n.margin * a, y = [n.color.light, n.color.dark];
1415
+ for (let m = 0; m < f; m++)
1416
+ for (let d = 0; d < f; d++) {
1417
+ let E = (m * f + d) * 4, S = n.color.light;
1418
+ if (m >= c && d >= c && m < f - c && d < f - c) {
1419
+ const N = Math.floor((m - c) / a), P = Math.floor((d - c) / a);
1420
+ S = y[u[N * s + P] ? 1 : 0];
1421
1421
  }
1422
- e[A++] = M.r, e[A++] = M.g, e[A++] = M.b, e[A] = M.a;
1422
+ e[E++] = S.r, e[E++] = S.g, e[E++] = S.b, e[E] = S.a;
1423
1423
  }
1424
1424
  };
1425
1425
  })(Rt)), Rt;
@@ -1439,15 +1439,15 @@ function Ze() {
1439
1439
  }
1440
1440
  }
1441
1441
  o.render = function(n, s, u) {
1442
- let a = u, c = s;
1443
- typeof a > "u" && (!s || !s.getContext) && (a = s, s = void 0), s || (c = e()), a = r.getOptions(a);
1444
- const d = r.getImageWidth(n.modules.size, a), m = c.getContext("2d"), g = m.createImageData(d, d);
1445
- return r.qrToImageData(g.data, n, a), i(m, c, d), m.putImageData(g, 0, 0), c;
1442
+ let a = u, f = s;
1443
+ typeof a > "u" && (!s || !s.getContext) && (a = s, s = void 0), s || (f = e()), a = r.getOptions(a);
1444
+ const c = r.getImageWidth(n.modules.size, a), y = f.getContext("2d"), m = y.createImageData(c, c);
1445
+ return r.qrToImageData(m.data, n, a), i(y, f, c), y.putImageData(m, 0, 0), f;
1446
1446
  }, o.renderToDataURL = function(n, s, u) {
1447
1447
  let a = u;
1448
1448
  typeof a > "u" && (!s || !s.getContext) && (a = s, s = void 0), a || (a = {});
1449
- const c = o.render(n, s, a), d = a.type || "image/png", m = a.rendererOpts || {};
1450
- return c.toDataURL(d, m.quality);
1449
+ const f = o.render(n, s, a), c = a.type || "image/png", y = a.rendererOpts || {};
1450
+ return f.toDataURL(c, y.quality);
1451
1451
  };
1452
1452
  })(At)), At;
1453
1453
  }
@@ -1465,15 +1465,15 @@ function Xe() {
1465
1465
  return typeof s < "u" && (u += " " + s), u;
1466
1466
  }
1467
1467
  function e(t, n, s) {
1468
- let u = "", a = 0, c = !1, d = 0;
1469
- for (let m = 0; m < t.length; m++) {
1470
- const g = Math.floor(m % n), f = Math.floor(m / n);
1471
- !g && !c && (c = !0), t[m] ? (d++, m > 0 && g > 0 && t[m - 1] || (u += c ? i("M", g + s, 0.5 + f + s) : i("m", a, 0), a = 0, c = !1), g + 1 < n && t[m + 1] || (u += i("h", d), d = 0)) : a++;
1468
+ let u = "", a = 0, f = !1, c = 0;
1469
+ for (let y = 0; y < t.length; y++) {
1470
+ const m = Math.floor(y % n), d = Math.floor(y / n);
1471
+ !m && !f && (f = !0), t[y] ? (c++, y > 0 && m > 0 && t[y - 1] || (u += f ? i("M", m + s, 0.5 + d + s) : i("m", a, 0), a = 0, f = !1), m + 1 < n && t[y + 1] || (u += i("h", c), c = 0)) : a++;
1472
1472
  }
1473
1473
  return u;
1474
1474
  }
1475
1475
  return Pt.render = function(n, s, u) {
1476
- const a = o.getOptions(s), c = n.modules.size, d = n.modules.data, m = c + a.margin * 2, g = a.color.light.a ? "<path " + r(a.color.light, "fill") + ' d="M0 0h' + m + "v" + m + 'H0z"/>' : "", f = "<path " + r(a.color.dark, "stroke") + ' d="' + e(d, c, a.margin) + '"/>', A = 'viewBox="0 0 ' + m + " " + m + '"', N = '<svg xmlns="http://www.w3.org/2000/svg" ' + (a.width ? 'width="' + a.width + '" height="' + a.width + '" ' : "") + A + ' shape-rendering="crispEdges">' + g + f + `</svg>
1476
+ const a = o.getOptions(s), f = n.modules.size, c = n.modules.data, y = f + a.margin * 2, m = a.color.light.a ? "<path " + r(a.color.light, "fill") + ' d="M0 0h' + y + "v" + y + 'H0z"/>' : "", d = "<path " + r(a.color.dark, "stroke") + ' d="' + e(c, f, a.margin) + '"/>', E = 'viewBox="0 0 ' + y + " " + y + '"', N = '<svg xmlns="http://www.w3.org/2000/svg" ' + (a.width ? 'width="' + a.width + '" height="' + a.width + '" ' : "") + E + ' shape-rendering="crispEdges">' + m + d + `</svg>
1477
1477
  `;
1478
1478
  return typeof u == "function" && u(null, N), N;
1479
1479
  }, Pt;
@@ -1483,31 +1483,31 @@ function xe() {
1483
1483
  if (de) return H;
1484
1484
  de = 1;
1485
1485
  const o = Le(), r = We(), i = Ze(), e = Xe();
1486
- function t(n, s, u, a, c) {
1487
- const d = [].slice.call(arguments, 1), m = d.length, g = typeof d[m - 1] == "function";
1488
- if (!g && !o())
1486
+ function t(n, s, u, a, f) {
1487
+ const c = [].slice.call(arguments, 1), y = c.length, m = typeof c[y - 1] == "function";
1488
+ if (!m && !o())
1489
1489
  throw new Error("Callback required as last argument");
1490
- if (g) {
1491
- if (m < 2)
1490
+ if (m) {
1491
+ if (y < 2)
1492
1492
  throw new Error("Too few arguments provided");
1493
- m === 2 ? (c = u, u = s, s = a = void 0) : m === 3 && (s.getContext && typeof c > "u" ? (c = a, a = void 0) : (c = a, a = u, u = s, s = void 0));
1493
+ y === 2 ? (f = u, u = s, s = a = void 0) : y === 3 && (s.getContext && typeof f > "u" ? (f = a, a = void 0) : (f = a, a = u, u = s, s = void 0));
1494
1494
  } else {
1495
- if (m < 1)
1495
+ if (y < 1)
1496
1496
  throw new Error("Too few arguments provided");
1497
- return m === 1 ? (u = s, s = a = void 0) : m === 2 && !s.getContext && (a = u, u = s, s = void 0), new Promise(function(f, A) {
1497
+ return y === 1 ? (u = s, s = a = void 0) : y === 2 && !s.getContext && (a = u, u = s, s = void 0), new Promise(function(d, E) {
1498
1498
  try {
1499
- const M = r.create(u, a);
1500
- f(n(M, s, a));
1501
- } catch (M) {
1502
- A(M);
1499
+ const S = r.create(u, a);
1500
+ d(n(S, s, a));
1501
+ } catch (S) {
1502
+ E(S);
1503
1503
  }
1504
1504
  });
1505
1505
  }
1506
1506
  try {
1507
- const f = r.create(u, a);
1508
- c(null, n(f, s, a));
1509
- } catch (f) {
1510
- c(f);
1507
+ const d = r.create(u, a);
1508
+ f(null, n(d, s, a));
1509
+ } catch (d) {
1510
+ f(d);
1511
1511
  }
1512
1512
  }
1513
1513
  return H.create = r.create, H.toCanvas = t.bind(null, i.render), H.toDataURL = t.bind(null, i.renderToDataURL), H.toString = t.bind(null, function(n, s, u) {
@@ -1525,24 +1525,45 @@ function Be(o, r) {
1525
1525
  margin: 2,
1526
1526
  width: e(),
1527
1527
  color: { dark: c ? "#ffffff" : "#000000", light: "#0000" }
1528
- }), s = async (c, d) => {
1528
+ }), s = async (c, y) => {
1529
1529
  if (!c) return "Error";
1530
1530
  try {
1531
- return await en.toString(c, n(d));
1531
+ return await en.toString(c, n(y));
1532
1532
  } catch (m) {
1533
1533
  return console.error("Failed to generate QR code:", m), "Error";
1534
1534
  }
1535
1535
  };
1536
1536
  let u = kt(""), a = kt(!0);
1537
- return Se(() => {
1537
+ Se(() => {
1538
1538
  x(a, !0), s(t(), i()).then((c) => {
1539
1539
  x(u, c, !0), x(a, !1);
1540
1540
  });
1541
- }), Mt(o, {
1541
+ });
1542
+ var f = {
1542
1543
  get dark() {
1543
1544
  return i();
1544
1545
  },
1545
- children: (c, d) => {
1546
+ set dark(c = !1) {
1547
+ i(c), D();
1548
+ },
1549
+ get height() {
1550
+ return e();
1551
+ },
1552
+ set height(c = 60) {
1553
+ e(c), D();
1554
+ },
1555
+ get content() {
1556
+ return t();
1557
+ },
1558
+ set content(c) {
1559
+ t(c), D();
1560
+ }
1561
+ };
1562
+ return Mt(o, {
1563
+ get dark() {
1564
+ return i();
1565
+ },
1566
+ children: (c, y) => {
1546
1567
  be(c, {
1547
1568
  id: "modal-qr-code",
1548
1569
  htmlTitle: "Click to enlarge",
@@ -1550,179 +1571,158 @@ function Be(o, r) {
1550
1571
  get dark() {
1551
1572
  return i();
1552
1573
  },
1553
- content: (g) => {
1554
- var f = nn(), A = St(f);
1555
- Dt(A, () => k(u)), Tt(f), O(g, f);
1574
+ content: (d) => {
1575
+ var E = nn(), S = St(E);
1576
+ Dt(S, () => k(u)), Tt(E), O(d, E);
1556
1577
  },
1557
- children: (g, f) => {
1558
- var A = Lt(), M = qt(A);
1578
+ children: (d, E) => {
1579
+ var S = Lt(), N = qt(S);
1559
1580
  {
1560
- var N = (S) => {
1561
- var p = rn();
1562
- we(() => Te(p, `width: ${e() ?? ""}px; height: ${e() ?? ""}px;`)), O(S, p);
1563
- }, R = (S) => {
1564
- var p = Lt(), B = qt(p);
1565
- Dt(B, () => k(u)), O(S, p);
1581
+ var P = (C) => {
1582
+ var w = rn();
1583
+ we(() => Te(w, `width: ${e() ?? ""}px; height: ${e() ?? ""}px;`)), O(C, w);
1584
+ }, M = (C) => {
1585
+ var w = Lt(), b = qt(w);
1586
+ Dt(b, () => k(u)), O(C, w);
1566
1587
  };
1567
- G(M, (S) => {
1568
- k(a) ? S(N) : S(R, !1);
1588
+ G(N, (C) => {
1589
+ k(a) ? C(P) : C(M, !1);
1569
1590
  });
1570
1591
  }
1571
- O(g, A);
1592
+ O(d, S);
1572
1593
  },
1573
1594
  $$slots: { content: !0, default: !0 }
1574
1595
  });
1575
1596
  },
1576
1597
  $$slots: { default: !0 }
1577
- }), me({
1578
- get dark() {
1579
- return i();
1580
- },
1581
- set dark(c = !1) {
1582
- i(c), D();
1583
- },
1584
- get height() {
1585
- return e();
1586
- },
1587
- set height(c = 60) {
1588
- e(c), D();
1589
- },
1590
- get content() {
1591
- return t();
1592
- },
1593
- set content(c) {
1594
- t(c), D();
1595
- }
1596
- });
1598
+ }), me(f);
1597
1599
  }
1598
1600
  ge(Be, { dark: {}, height: {}, content: {} }, [], [], !0);
1599
1601
  var on = It("<main><div><!> <!> <!></div> <!></main>");
1600
1602
  function sn(o, r) {
1601
1603
  he(r, !0);
1602
1604
  const i = 200, e = 60;
1603
- let t = q(r, "theme", 7, "light"), n = q(r, "width", 7, i), s = q(r, "align", 7, "left"), u = q(r, "googlePlay", 7, "https://play.google.com/store/apps/details?id=com.ltech.moneyto"), a = q(r, "appStore", 7, "https://apps.apple.com/us/app/moneyto-money-transfer/id1418940675"), c = q(r, "qr", 7, "https://www.moneyto.co.uk/mobile-app"), d = Ut(() => t() === "dark"), m = Ut(() => n() * e / i);
1604
- var g = on(), f = St(g);
1605
- let A;
1606
- var M = St(f);
1605
+ let t = q(r, "theme", 7, "light"), n = q(r, "width", 7, i), s = q(r, "align", 7, "left"), u = q(r, "googlePlay", 7, "https://play.google.com/store/apps/details?id=com.ltech.moneyto"), a = q(r, "appStore", 7, "https://apps.apple.com/us/app/moneyto-money-transfer/id1418940675"), f = q(r, "qr", 7, "https://www.moneyto.co.uk/mobile-app"), c = Ut(() => t() === "dark"), y = Ut(() => n() * e / i);
1606
+ var m = {
1607
+ get theme() {
1608
+ return t();
1609
+ },
1610
+ set theme(l = "light") {
1611
+ t(l), D();
1612
+ },
1613
+ get width() {
1614
+ return n();
1615
+ },
1616
+ set width(l = i) {
1617
+ n(l), D();
1618
+ },
1619
+ get align() {
1620
+ return s();
1621
+ },
1622
+ set align(l = "left") {
1623
+ s(l), D();
1624
+ },
1625
+ get googlePlay() {
1626
+ return u();
1627
+ },
1628
+ set googlePlay(l = "https://play.google.com/store/apps/details?id=com.ltech.moneyto") {
1629
+ u(l), D();
1630
+ },
1631
+ get appStore() {
1632
+ return a();
1633
+ },
1634
+ set appStore(l = "https://apps.apple.com/us/app/moneyto-money-transfer/id1418940675") {
1635
+ a(l), D();
1636
+ },
1637
+ get qr() {
1638
+ return f();
1639
+ },
1640
+ set qr(l = "https://www.moneyto.co.uk/mobile-app") {
1641
+ f(l), D();
1642
+ }
1643
+ }, d = on(), E = St(d);
1644
+ let S;
1645
+ var N = St(E);
1607
1646
  {
1608
- var N = (l) => {
1647
+ var P = (l) => {
1609
1648
  Mt(l, {
1610
1649
  get dark() {
1611
- return k(d);
1650
+ return k(c);
1612
1651
  },
1613
1652
  get href() {
1614
1653
  return a();
1615
1654
  },
1616
1655
  name: "app-store",
1617
- children: (w, y) => {
1618
- ve(w, {
1656
+ children: (p, g) => {
1657
+ ve(p, {
1619
1658
  get width() {
1620
1659
  return n();
1621
1660
  },
1622
1661
  get height() {
1623
- return k(m);
1662
+ return k(y);
1624
1663
  }
1625
1664
  });
1626
1665
  },
1627
1666
  $$slots: { default: !0 }
1628
1667
  });
1629
1668
  };
1630
- G(M, (l) => {
1631
- (!et() || Ft()) && l(N);
1669
+ G(N, (l) => {
1670
+ (!et() || Ft()) && l(P);
1632
1671
  });
1633
1672
  }
1634
- var R = tt(M, 2);
1673
+ var M = tt(N, 2);
1635
1674
  {
1636
- var S = (l) => {
1675
+ var C = (l) => {
1637
1676
  Mt(l, {
1638
1677
  get dark() {
1639
- return k(d);
1678
+ return k(c);
1640
1679
  },
1641
1680
  get href() {
1642
1681
  return u();
1643
1682
  },
1644
1683
  name: "google-play",
1645
- children: (w, y) => {
1646
- _e(w, {
1684
+ children: (p, g) => {
1685
+ _e(p, {
1647
1686
  get width() {
1648
1687
  return n();
1649
1688
  },
1650
1689
  get height() {
1651
- return k(m);
1690
+ return k(y);
1652
1691
  }
1653
1692
  });
1654
1693
  },
1655
1694
  $$slots: { default: !0 }
1656
1695
  });
1657
1696
  };
1658
- G(R, (l) => {
1659
- (!et() || !Ft()) && l(S);
1697
+ G(M, (l) => {
1698
+ (!et() || !Ft()) && l(C);
1660
1699
  });
1661
1700
  }
1662
- var p = tt(R, 2);
1701
+ var w = tt(M, 2);
1663
1702
  {
1664
- var B = (l) => {
1703
+ var b = (l) => {
1665
1704
  Be(l, {
1666
1705
  get height() {
1667
- return k(m);
1706
+ return k(y);
1668
1707
  },
1669
1708
  get dark() {
1670
- return k(d);
1709
+ return k(c);
1671
1710
  },
1672
1711
  get content() {
1673
- return c();
1712
+ return f();
1674
1713
  }
1675
1714
  });
1676
1715
  };
1677
- G(p, (l) => {
1678
- et() || l(B);
1716
+ G(w, (l) => {
1717
+ et() || l(b);
1679
1718
  });
1680
1719
  }
1681
- Tt(f);
1682
- var b = tt(f, 2);
1683
- return Me(b, { host: r.$$host }), Tt(g), we((l) => A = Ie(f, 1, "flex flex-wrap gap-3", null, A, l), [
1684
- () => ({
1685
- "justify-center": s() === "center",
1686
- "justify-end": s() === "right"
1687
- })
1688
- ]), O(o, g), me({
1689
- get theme() {
1690
- return t();
1691
- },
1692
- set theme(l = "light") {
1693
- t(l), D();
1694
- },
1695
- get width() {
1696
- return n();
1697
- },
1698
- set width(l = i) {
1699
- n(l), D();
1700
- },
1701
- get align() {
1702
- return s();
1703
- },
1704
- set align(l = "left") {
1705
- s(l), D();
1706
- },
1707
- get googlePlay() {
1708
- return u();
1709
- },
1710
- set googlePlay(l = "https://play.google.com/store/apps/details?id=com.ltech.moneyto") {
1711
- u(l), D();
1712
- },
1713
- get appStore() {
1714
- return a();
1715
- },
1716
- set appStore(l = "https://apps.apple.com/us/app/moneyto-money-transfer/id1418940675") {
1717
- a(l), D();
1718
- },
1719
- get qr() {
1720
- return c();
1721
- },
1722
- set qr(l = "https://www.moneyto.co.uk/mobile-app") {
1723
- c(l), D();
1724
- }
1725
- });
1720
+ Tt(E);
1721
+ var h = tt(E, 2);
1722
+ return Me(h, { host: r.$$host }), Tt(d), we(() => S = Ie(E, 1, "flex flex-wrap gap-3", null, S, {
1723
+ "justify-center": s() === "center",
1724
+ "justify-end": s() === "right"
1725
+ })), O(o, d), me(m);
1726
1726
  }
1727
1727
  customElements.define("moneyto-mobile-apps", ge(
1728
1728
  sn,