@everymatrix/cashier-method-details 1.92.3 → 1.92.4

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 (20) hide show
  1. package/components/CashierError-5dDtryj5.cjs +1 -0
  2. package/components/{CashierError-CrvHbmc9.js → CashierError-64w0bFkx.js} +152 -148
  3. package/components/{CashierError-Bs9L1-OX.js → CashierError-lk1NRPRm.js} +157 -137
  4. package/components/{CashierMethodDetails-D6Hz1311.cjs → CashierMethodDetails-B4tukYFA.cjs} +9 -9
  5. package/components/{CashierMethodDetails-_TA2tIR5.js → CashierMethodDetails-CANUgxSm.js} +1757 -1756
  6. package/components/{CashierMethodDetails-C_L9hHNA.js → CashierMethodDetails-ChfVhFMG.js} +1577 -1576
  7. package/components/{CashierModal-B1KoqOss.js → CashierModal-CYDtgsjF.js} +1 -1
  8. package/components/{CashierModal-CmuOuAlF.cjs → CashierModal-Da-sk2zU.cjs} +1 -1
  9. package/components/{CashierModal-BdfIDZ2x.js → CashierModal-hyp7eD8X.js} +1 -1
  10. package/components/{CashierNotifications-DYYn7cjB.cjs → CashierNotifications-BNopxxhP.cjs} +1 -1
  11. package/components/{CashierNotifications-R15AhefH.js → CashierNotifications-DhexHttZ.js} +1 -1
  12. package/components/{CashierNotifications-DGaolu_U.js → CashierNotifications-WXql8dok.js} +1 -1
  13. package/components/{CashierReceiptPage-DH1sBCAk.js → CashierReceiptPage-4__w6DXp.js} +1 -1
  14. package/components/{CashierReceiptPage-CWsNRkLt.js → CashierReceiptPage-7dkH8ggq.js} +1 -1
  15. package/components/{CashierReceiptPage-BTkC3aRZ.cjs → CashierReceiptPage-B4y1ZCTx.cjs} +1 -1
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-C20XMR6e.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { o as Z, p as $, $ as ee, S as te, i as ie, s as ne, f as C, a as ae, q as I, d as h, r as P, u as W, v as x, w as O, x as S, e as v, g as b, h as k, j as D, k as T, y as re, z as oe, A as R, b as M, t as A, l as se, m as le, B as q, C as B, D as ue, E as ce, F as de, G as me, c as fe } from "./CashierMethodDetails-C_L9hHNA.js";
1
+ import { o as $, p as ee, $ as te, S as ie, i as ne, s as ae, f as T, a as re, q as A, d as h, r as I, u as P, v as W, w as x, x as O, e as v, g as b, h as k, j as L, k as C, y as oe, z as se, A as B, b as D, t as M, l as le, m as ue, B as R, C as S, D as ce, E as de, F as me, G as fe, c as pe } from "./CashierMethodDetails-ChfVhFMG.js";
2
2
  import "../stencil/ui-image-Ch-GHki1.js";
3
- function F(i, e) {
4
- Z(i, e);
3
+ function N(i, e) {
4
+ $(i, e);
5
5
  }
6
- function pe(i) {
7
- $({
6
+ function ye(i) {
7
+ ee({
8
8
  fallbackLocale: "en"
9
- }), ee.set(i);
9
+ }), te.set(i);
10
10
  }
11
- const U = {
11
+ const q = {
12
12
  en: {
13
13
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
14
14
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -155,63 +155,63 @@ const U = {
155
155
  DuplicatePaymentAccount: "Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."
156
156
  }
157
157
  };
158
- function ye(i) {
159
- ae(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
158
+ function ge(i) {
159
+ re(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
160
160
  }
161
- const ge = (i) => ({}), H = (i) => ({}), he = (i) => ({}), K = (i) => ({}), ve = (i) => ({}), G = (i) => ({}), be = (i) => ({}), j = (i) => ({ class: "CashierErrorIcon" });
162
- function Y(i) {
161
+ const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}), U = (i) => ({}), be = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
162
+ function G(i) {
163
163
  let e, t;
164
164
  return {
165
165
  c() {
166
- e = k("ui-image"), q(e.src, t = `${/*assetsurl*/
167
- i[0]}/error-general-icon.png`) || B(e, "src", t), B(e, "width", "300px"), B(e, "alt", "error");
166
+ e = k("ui-image"), R(e.src, t = `${/*assetsurl*/
167
+ i[0]}/error-general-icon.png`) || S(e, "src", t), S(e, "width", "300px"), S(e, "alt", "error");
168
168
  },
169
169
  m(r, o) {
170
170
  v(r, e, o);
171
171
  },
172
172
  p(r, o) {
173
173
  o & /*assetsurl*/
174
- 1 && !q(e.src, t = `${/*assetsurl*/
175
- r[0]}/error-general-icon.png`) && B(e, "src", t);
174
+ 1 && !R(e.src, t = `${/*assetsurl*/
175
+ r[0]}/error-general-icon.png`) && S(e, "src", t);
176
176
  },
177
177
  d(r) {
178
178
  r && h(e);
179
179
  }
180
180
  };
181
181
  }
182
- function ke(i) {
182
+ function _e(i) {
183
183
  let e, t = (
184
184
  /*assetsurl*/
185
- i[0] && Y(i)
185
+ i[0] && G(i)
186
186
  );
187
187
  return {
188
188
  c() {
189
- t && t.c(), e = R();
189
+ t && t.c(), e = B();
190
190
  },
191
191
  m(r, o) {
192
192
  t && t.m(r, o), v(r, e, o);
193
193
  },
194
194
  p(r, o) {
195
195
  /*assetsurl*/
196
- r[0] ? t ? t.p(r, o) : (t = Y(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
196
+ r[0] ? t ? t.p(r, o) : (t = G(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
197
197
  },
198
198
  d(r) {
199
199
  r && h(e), t && t.d(r);
200
200
  }
201
201
  };
202
202
  }
203
- function J(i) {
203
+ function j(i) {
204
204
  let e;
205
205
  function t(a, n) {
206
206
  return (
207
207
  /*depositWageringAmount*/
208
- a[3] < 0 ? ze : _e
208
+ a[3] < 0 ? Ee : ze
209
209
  );
210
210
  }
211
211
  let r = t(i), o = r(i);
212
212
  return {
213
213
  c() {
214
- o.c(), e = R();
214
+ o.c(), e = B();
215
215
  },
216
216
  m(a, n) {
217
217
  o.m(a, n), v(a, e, n);
@@ -224,40 +224,40 @@ function J(i) {
224
224
  }
225
225
  };
226
226
  }
227
- function _e(i) {
227
+ function ze(i) {
228
228
  let e, t = (
229
229
  /*$_*/
230
230
  i[5]("DepositWageringLimitText") + ""
231
231
  ), r, o, a = (
232
232
  /*depositWageringAmount*/
233
- i[3] > 0 && X(i)
233
+ i[3] > 0 && Y(i)
234
234
  );
235
235
  return {
236
236
  c() {
237
- e = k("span"), r = A(t), o = D(), a && a.c(), T(e, "class", "CashierErrorText");
237
+ e = k("span"), r = M(t), o = L(), a && a.c(), C(e, "class", "CashierErrorText");
238
238
  },
239
- m(n, l) {
240
- v(n, e, l), b(e, r), b(e, o), a && a.m(e, null);
239
+ m(n, u) {
240
+ v(n, e, u), b(e, r), b(e, o), a && a.m(e, null);
241
241
  },
242
- p(n, l) {
243
- l & /*$_*/
242
+ p(n, u) {
243
+ u & /*$_*/
244
244
  32 && t !== (t = /*$_*/
245
- n[5]("DepositWageringLimitText") + "") && M(r, t), /*depositWageringAmount*/
246
- n[3] > 0 ? a ? a.p(n, l) : (a = X(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
245
+ n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
246
+ n[3] > 0 ? a ? a.p(n, u) : (a = Y(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
247
247
  },
248
248
  d(n) {
249
249
  n && h(e), a && a.d();
250
250
  }
251
251
  };
252
252
  }
253
- function ze(i) {
253
+ function Ee(i) {
254
254
  let e, t, r = (
255
255
  /*$_*/
256
256
  i[5]("DepositWageringFetching") + ""
257
257
  ), o;
258
258
  return {
259
259
  c() {
260
- e = k("div"), t = k("span"), o = A(r), T(t, "class", "CashierErrorText LoadingText"), T(e, "class", "WageringFetch");
260
+ e = k("div"), t = k("span"), o = M(r), C(t, "class", "CashierErrorText LoadingText"), C(e, "class", "WageringFetch");
261
261
  },
262
262
  m(a, n) {
263
263
  v(a, e, n), b(e, t), b(t, o);
@@ -265,21 +265,21 @@ function ze(i) {
265
265
  p(a, n) {
266
266
  n & /*$_*/
267
267
  32 && r !== (r = /*$_*/
268
- a[5]("DepositWageringFetching") + "") && M(o, r);
268
+ a[5]("DepositWageringFetching") + "") && D(o, r);
269
269
  },
270
270
  d(a) {
271
271
  a && h(e);
272
272
  }
273
273
  };
274
274
  }
275
- function X(i) {
275
+ function Y(i) {
276
276
  let e, t, r;
277
277
  return {
278
278
  c() {
279
- e = A(
279
+ e = M(
280
280
  /*depositWageringAmount*/
281
281
  i[3]
282
- ), t = D(), r = A(
282
+ ), t = L(), r = M(
283
283
  /*depositWageringCurrency*/
284
284
  i[4]
285
285
  );
@@ -289,12 +289,12 @@ function X(i) {
289
289
  },
290
290
  p(o, a) {
291
291
  a & /*depositWageringAmount*/
292
- 8 && M(
292
+ 8 && D(
293
293
  e,
294
294
  /*depositWageringAmount*/
295
295
  o[3]
296
296
  ), a & /*depositWageringCurrency*/
297
- 16 && M(
297
+ 16 && D(
298
298
  r,
299
299
  /*depositWageringCurrency*/
300
300
  o[4]
@@ -305,31 +305,31 @@ function X(i) {
305
305
  }
306
306
  };
307
307
  }
308
- function Ee(i) {
308
+ function Te(i) {
309
309
  let e, t = (
310
310
  /*$_*/
311
311
  i[5](`${/*errorcode*/
312
312
  i[1] || "errorGeneralText"}`) + ""
313
313
  ), r, o, a, n = (
314
314
  /*errorcode*/
315
- i[1] == "DepositWageringLimit" && J(i)
315
+ i[1] == "DepositWageringLimit" && j(i)
316
316
  );
317
317
  return {
318
318
  c() {
319
- e = k("span"), r = A(t), o = D(), n && n.c(), a = R(), T(e, "class", "CashierErrorText");
319
+ e = k("span"), r = M(t), o = L(), n && n.c(), a = B(), C(e, "class", "CashierErrorText");
320
320
  },
321
- m(l, c) {
322
- v(l, e, c), b(e, r), v(l, o, c), n && n.m(l, c), v(l, a, c);
321
+ m(u, c) {
322
+ v(u, e, c), b(e, r), v(u, o, c), n && n.m(u, c), v(u, a, c);
323
323
  },
324
- p(l, c) {
324
+ p(u, c) {
325
325
  c & /*$_, errorcode*/
326
326
  34 && t !== (t = /*$_*/
327
- l[5](`${/*errorcode*/
328
- l[1] || "errorGeneralText"}`) + "") && M(r, t), /*errorcode*/
329
- l[1] == "DepositWageringLimit" ? n ? n.p(l, c) : (n = J(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
327
+ u[5](`${/*errorcode*/
328
+ u[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
329
+ u[1] == "DepositWageringLimit" ? n ? n.p(u, c) : (n = j(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
330
330
  },
331
- d(l) {
332
- l && (h(e), h(o), h(a)), n && n.d(l);
331
+ d(u) {
332
+ u && (h(e), h(o), h(a)), n && n.d(u);
333
333
  }
334
334
  };
335
335
  }
@@ -340,207 +340,211 @@ function Ce(i) {
340
340
  ), o, a, n;
341
341
  return {
342
342
  c() {
343
- e = k("button"), t = k("span"), o = A(r), T(e, "class", "CashierErrorButton");
343
+ e = k("button"), t = k("span"), o = M(r), C(e, "class", "CashierErrorButton");
344
344
  },
345
- m(l, c) {
346
- v(l, e, c), b(e, t), b(t, o), a || (n = se(
345
+ m(u, c) {
346
+ v(u, e, c), b(e, t), b(t, o), a || (n = le(
347
347
  e,
348
348
  "click",
349
349
  /*close*/
350
350
  i[6]
351
351
  ), a = !0);
352
352
  },
353
- p(l, c) {
353
+ p(u, c) {
354
354
  c & /*$_*/
355
355
  32 && r !== (r = /*$_*/
356
- l[5]("errorGeneralButton") + "") && M(o, r);
356
+ u[5]("errorGeneralButton") + "") && D(o, r);
357
357
  },
358
- d(l) {
359
- l && h(e), a = !1, n();
358
+ d(u) {
359
+ u && h(e), a = !1, n();
360
360
  }
361
361
  };
362
362
  }
363
- function Te(i) {
363
+ function we(i) {
364
364
  let e, t, r, o, a, n;
365
- const l = (
365
+ const u = (
366
366
  /*#slots*/
367
367
  i[13].icon
368
- ), c = I(
369
- l,
368
+ ), c = A(
369
+ u,
370
370
  i,
371
371
  /*$$scope*/
372
372
  i[12],
373
- j
374
- ), m = c || ke(i), _ = (
373
+ K
374
+ ), f = c || _e(i), _ = (
375
375
  /*#slots*/
376
376
  i[13].title
377
- ), f = I(
377
+ ), m = A(
378
378
  _,
379
379
  i,
380
380
  /*$$scope*/
381
381
  i[12],
382
- G
382
+ H
383
383
  ), z = (
384
384
  /*#slots*/
385
385
  i[13].text
386
- ), p = I(
386
+ ), p = A(
387
387
  z,
388
388
  i,
389
389
  /*$$scope*/
390
390
  i[12],
391
- K
392
- ), y = p || Ee(i), w = (
391
+ U
392
+ ), y = p || Te(i), w = (
393
393
  /*#slots*/
394
394
  i[13].button
395
- ), E = I(
395
+ ), E = A(
396
396
  w,
397
397
  i,
398
398
  /*$$scope*/
399
399
  i[12],
400
- H
400
+ F
401
401
  ), g = E || Ce(i);
402
402
  return {
403
403
  c() {
404
- e = k("div"), t = k("div"), m && m.c(), r = D(), f && f.c(), o = D(), y && y.c(), a = D(), g && g.c(), T(t, "class", "CashierErrorContent"), T(e, "class", "CashierError");
404
+ e = k("div"), t = k("div"), f && f.c(), r = L(), m && m.c(), o = L(), y && y.c(), a = L(), g && g.c(), C(t, "class", "CashierErrorContent"), C(e, "class", "CashierError");
405
405
  },
406
406
  m(s, d) {
407
- v(s, e, d), b(e, t), m && m.m(t, null), b(t, r), f && f.m(t, null), b(t, o), y && y.m(t, null), b(t, a), g && g.m(t, null), i[14](e), n = !0;
407
+ v(s, e, d), b(e, t), f && f.m(t, null), b(t, r), m && m.m(t, null), b(t, o), y && y.m(t, null), b(t, a), g && g.m(t, null), i[14](e), n = !0;
408
408
  },
409
409
  p(s, [d]) {
410
410
  c ? c.p && (!n || d & /*$$scope*/
411
- 4096) && x(
411
+ 4096) && W(
412
412
  c,
413
- l,
413
+ u,
414
414
  s,
415
415
  /*$$scope*/
416
416
  s[12],
417
- n ? S(
418
- l,
417
+ n ? O(
418
+ u,
419
419
  /*$$scope*/
420
420
  s[12],
421
421
  d,
422
- be
423
- ) : O(
422
+ ke
423
+ ) : x(
424
424
  /*$$scope*/
425
425
  s[12]
426
426
  ),
427
- j
428
- ) : m && m.p && (!n || d & /*assetsurl*/
429
- 1) && m.p(s, n ? d : -1), f && f.p && (!n || d & /*$$scope*/
430
- 4096) && x(
431
- f,
427
+ K
428
+ ) : f && f.p && (!n || d & /*assetsurl*/
429
+ 1) && f.p(s, n ? d : -1), m && m.p && (!n || d & /*$$scope*/
430
+ 4096) && W(
431
+ m,
432
432
  _,
433
433
  s,
434
434
  /*$$scope*/
435
435
  s[12],
436
- n ? S(
436
+ n ? O(
437
437
  _,
438
438
  /*$$scope*/
439
439
  s[12],
440
440
  d,
441
- ve
442
- ) : O(
441
+ be
442
+ ) : x(
443
443
  /*$$scope*/
444
444
  s[12]
445
445
  ),
446
- G
446
+ H
447
447
  ), p ? p.p && (!n || d & /*$$scope*/
448
- 4096) && x(
448
+ 4096) && W(
449
449
  p,
450
450
  z,
451
451
  s,
452
452
  /*$$scope*/
453
453
  s[12],
454
- n ? S(
454
+ n ? O(
455
455
  z,
456
456
  /*$$scope*/
457
457
  s[12],
458
458
  d,
459
- he
460
- ) : O(
459
+ ve
460
+ ) : x(
461
461
  /*$$scope*/
462
462
  s[12]
463
463
  ),
464
- K
464
+ U
465
465
  ) : y && y.p && (!n || d & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
466
466
  58) && y.p(s, n ? d : -1), E ? E.p && (!n || d & /*$$scope*/
467
- 4096) && x(
467
+ 4096) && W(
468
468
  E,
469
469
  w,
470
470
  s,
471
471
  /*$$scope*/
472
472
  s[12],
473
- n ? S(
473
+ n ? O(
474
474
  w,
475
475
  /*$$scope*/
476
476
  s[12],
477
477
  d,
478
- ge
479
- ) : O(
478
+ he
479
+ ) : x(
480
480
  /*$$scope*/
481
481
  s[12]
482
482
  ),
483
- H
483
+ F
484
484
  ) : g && g.p && (!n || d & /*$_*/
485
485
  32) && g.p(s, n ? d : -1);
486
486
  },
487
487
  i(s) {
488
- n || (W(m, s), W(f, s), W(y, s), W(g, s), n = !0);
488
+ n || (P(f, s), P(m, s), P(y, s), P(g, s), n = !0);
489
489
  },
490
490
  o(s) {
491
- P(m, s), P(f, s), P(y, s), P(g, s), n = !1;
491
+ I(f, s), I(m, s), I(y, s), I(g, s), n = !1;
492
492
  },
493
493
  d(s) {
494
- s && h(e), m && m.d(s), f && f.d(s), y && y.d(s), g && g.d(s), i[14](null);
494
+ s && h(e), f && f.d(s), m && m.d(s), y && y.d(s), g && g.d(s), i[14](null);
495
495
  }
496
496
  };
497
497
  }
498
- function we(i, e, t) {
498
+ function Le(i, e, t) {
499
499
  let r;
500
- re(i, ue, (u) => t(5, r = u));
501
- let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: c = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, E;
500
+ oe(i, ce, (l) => t(5, r = l));
501
+ let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: u = "en" } = e, { errorcode: c = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: m = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, E;
502
502
  const g = () => {
503
- pe(l);
504
- }, s = () => {
505
- let u = new URL(f);
506
- fetch(u).then((L) => L.json()).then((L) => {
507
- Object.keys(L).forEach((N) => {
508
- F(N, L[N]);
509
- });
510
- }).catch((L) => {
511
- console.error(L);
512
- });
503
+ ye(u);
504
+ }, s = async () => {
505
+ if (m)
506
+ try {
507
+ const l = await fetch(m);
508
+ if (!l.ok)
509
+ throw new Error(`HTTP error! status: ${l.status}`);
510
+ const X = await l.json();
511
+ Object.entries(X).forEach(([Q, Z]) => {
512
+ N(Q, Z);
513
+ });
514
+ } catch (l) {
515
+ console.error(l);
516
+ }
513
517
  };
514
- Object.keys(U).forEach((u) => {
515
- F(u, U[u]);
518
+ Object.keys(q).forEach((l) => {
519
+ N(l, q[l]);
516
520
  });
517
521
  const d = () => {
518
522
  window.postMessage({ type: "ErrorClose" }, window.location.href);
519
- }, V = (u) => {
520
- if (u.data)
521
- switch (u.data.type) {
523
+ }, V = (l) => {
524
+ if (l.data)
525
+ switch (l.data.type) {
522
526
  case "DepositWageringAmount":
523
- t(3, w = u.data.amount), t(4, E = u.data.currency);
527
+ t(3, w = l.data.amount), t(4, E = l.data.currency);
524
528
  break;
525
529
  }
526
530
  };
527
- oe(() => (window.addEventListener("message", V, !1), () => {
531
+ se(() => (window.addEventListener("message", V, !1), () => {
528
532
  window.removeEventListener("message", V);
529
533
  }));
530
- function Q(u) {
531
- le[u ? "unshift" : "push"](() => {
532
- p = u, t(2, p);
534
+ function J(l) {
535
+ ue[l ? "unshift" : "push"](() => {
536
+ p = l, t(2, p);
533
537
  });
534
538
  }
535
- return i.$$set = (u) => {
536
- "assetsurl" in u && t(0, n = u.assetsurl), "lang" in u && t(7, l = u.lang), "errorcode" in u && t(1, c = u.errorcode), "clientstyling" in u && t(8, m = u.clientstyling), "clientstylingurl" in u && t(9, _ = u.clientstylingurl), "translationurl" in u && t(10, f = u.translationurl), "mbsource" in u && t(11, z = u.mbsource), "$$scope" in u && t(12, a = u.$$scope);
539
+ return i.$$set = (l) => {
540
+ "assetsurl" in l && t(0, n = l.assetsurl), "lang" in l && t(7, u = l.lang), "errorcode" in l && t(1, c = l.errorcode), "clientstyling" in l && t(8, f = l.clientstyling), "clientstylingurl" in l && t(9, _ = l.clientstylingurl), "translationurl" in l && t(10, m = l.translationurl), "mbsource" in l && t(11, z = l.mbsource), "$$scope" in l && t(12, a = l.$$scope);
537
541
  }, i.$$.update = () => {
538
542
  i.$$.dirty & /*lang*/
539
- 128 && l && g(), i.$$.dirty & /*clientstyling, customStylingContainer*/
540
- 260 && m && p && ce(p, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
541
- 516 && _ && p && de(p, _), i.$$.dirty & /*mbsource, customStylingContainer*/
542
- 2052 && z && p && me(p, `${z}.Style`, y), i.$$.dirty & /*translationurl*/
543
- 1024 && f && s();
543
+ 128 && u && g(), i.$$.dirty & /*clientstyling, customStylingContainer*/
544
+ 260 && f && p && de(p, f), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
545
+ 516 && _ && p && me(p, _), i.$$.dirty & /*mbsource, customStylingContainer*/
546
+ 2052 && z && p && fe(p, `${z}.Style`, y), i.$$.dirty & /*translationurl*/
547
+ 1024 && m && s();
544
548
  }, [
545
549
  n,
546
550
  c,
@@ -549,24 +553,24 @@ function we(i, e, t) {
549
553
  E,
550
554
  r,
551
555
  d,
552
- l,
553
- m,
554
- _,
556
+ u,
555
557
  f,
558
+ _,
559
+ m,
556
560
  z,
557
561
  a,
558
562
  o,
559
- Q
563
+ J
560
564
  ];
561
565
  }
562
- class Le extends te {
566
+ class De extends ie {
563
567
  constructor(e) {
564
- super(), ie(
568
+ super(), ne(
565
569
  this,
566
570
  e,
571
+ Le,
567
572
  we,
568
- Te,
569
- ne,
573
+ ae,
570
574
  {
571
575
  assetsurl: 0,
572
576
  lang: 7,
@@ -576,53 +580,53 @@ class Le extends te {
576
580
  translationurl: 10,
577
581
  mbsource: 11
578
582
  },
579
- ye
583
+ ge
580
584
  );
581
585
  }
582
586
  get assetsurl() {
583
587
  return this.$$.ctx[0];
584
588
  }
585
589
  set assetsurl(e) {
586
- this.$$set({ assetsurl: e }), C();
590
+ this.$$set({ assetsurl: e }), T();
587
591
  }
588
592
  get lang() {
589
593
  return this.$$.ctx[7];
590
594
  }
591
595
  set lang(e) {
592
- this.$$set({ lang: e }), C();
596
+ this.$$set({ lang: e }), T();
593
597
  }
594
598
  get errorcode() {
595
599
  return this.$$.ctx[1];
596
600
  }
597
601
  set errorcode(e) {
598
- this.$$set({ errorcode: e }), C();
602
+ this.$$set({ errorcode: e }), T();
599
603
  }
600
604
  get clientstyling() {
601
605
  return this.$$.ctx[8];
602
606
  }
603
607
  set clientstyling(e) {
604
- this.$$set({ clientstyling: e }), C();
608
+ this.$$set({ clientstyling: e }), T();
605
609
  }
606
610
  get clientstylingurl() {
607
611
  return this.$$.ctx[9];
608
612
  }
609
613
  set clientstylingurl(e) {
610
- this.$$set({ clientstylingurl: e }), C();
614
+ this.$$set({ clientstylingurl: e }), T();
611
615
  }
612
616
  get translationurl() {
613
617
  return this.$$.ctx[10];
614
618
  }
615
619
  set translationurl(e) {
616
- this.$$set({ translationurl: e }), C();
620
+ this.$$set({ translationurl: e }), T();
617
621
  }
618
622
  get mbsource() {
619
623
  return this.$$.ctx[11];
620
624
  }
621
625
  set mbsource(e) {
622
- this.$$set({ mbsource: e }), C();
626
+ this.$$set({ mbsource: e }), T();
623
627
  }
624
628
  }
625
- fe(Le, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
629
+ pe(De, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
626
630
  export {
627
- Le as default
631
+ De as default
628
632
  };