@everymatrix/cashier-method-details 1.94.65 → 1.94.67

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-BW7fp_3E.cjs +1 -0
  2. package/components/{CashierError-Ch3BevhM.js → CashierError-C8A2r_Ro.js} +355 -340
  3. package/components/{CashierError-3E_5fmN_.js → CashierError-tXXRpAFO.js} +360 -329
  4. package/components/{CashierMethodDetails-CQxxrnyv.cjs → CashierMethodDetails-BmcvIF4U.cjs} +1 -1
  5. package/components/{CashierMethodDetails-CPbxoMv0.js → CashierMethodDetails-CI2Mc7rX.js} +27 -27
  6. package/components/{CashierMethodDetails-DrHT2ktl.js → CashierMethodDetails-DX9fHh8u.js} +27 -27
  7. package/components/{CashierModal-B5rORhAV.js → CashierModal-B6PtDaZa.js} +22 -22
  8. package/components/{CashierModal-DXyPDItL.cjs → CashierModal-B98gvdau.cjs} +1 -1
  9. package/components/{CashierModal-DOQqzAhI.js → CashierModal-Dtd7LgPp.js} +22 -22
  10. package/components/{CashierNotifications-f1Z9s0_1.js → CashierNotifications-BwuQZD1X.js} +1 -1
  11. package/components/{CashierNotifications-BPNwQiJa.js → CashierNotifications-QmBh7YXs.js} +1 -1
  12. package/components/{CashierNotifications-C0s6Wi8Y.cjs → CashierNotifications-huik00d7.cjs} +1 -1
  13. package/components/{CashierReceiptPage-D7PwjtNx.js → CashierReceiptPage-BXfRTYxj.js} +1 -1
  14. package/components/{CashierReceiptPage-BCMfQqlr.cjs → CashierReceiptPage-JN9UCutk.cjs} +1 -1
  15. package/components/{CashierReceiptPage-YLdnRQoS.js → CashierReceiptPage-VCw8BmhT.js} +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-BNLYvs5X.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { o as ee, p as te, $ as ne, S as ie, i as re, s as ae, f as z, a as se, q as A, d as f, r as M, u as S, v as B, w as P, x as F, e as p, g as v, h as T, j as I, k as _, y as oe, z as le, A as O, b as C, t as D, l as de, m as ue, B as V, C as W, D as ce, E as me, F as ge, G as he, c as ke } from "./CashierMethodDetails-DrHT2ktl.js";
1
+ import { o as ie, p as re, $ as ae, S as se, i as oe, s as le, f as w, a as de, d as k, q as D, r as z, u as ue, e as f, h as y, k as E, v as ce, w as me, x as B, y as P, z as F, A as W, g as v, j as L, m as ge, B as x, b as A, t as M, l as he, C as N, D as O, E as ke, F as fe, G as pe, H as ve, I as be, c as ye } from "./CashierMethodDetails-DX9fHh8u.js";
2
2
  import "../stencil/ui-image-Ch-GHki1.js";
3
- function R(n, e) {
4
- ee(n, e);
3
+ function U(n, e) {
4
+ ie(n, e);
5
5
  }
6
- function fe(n) {
7
- te({
6
+ function Te(n) {
7
+ re({
8
8
  fallbackLocale: "en"
9
- }), ne.set(n);
9
+ }), ae.set(n);
10
10
  }
11
- const N = {
11
+ const H = {
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",
@@ -320,498 +320,529 @@ const N = {
320
320
  CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
321
321
  }
322
322
  };
323
- function pe(n) {
324
- se(n, "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}');
323
+ function we(n) {
324
+ de(n, "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}');
325
325
  }
326
- const ve = (n) => ({}), U = (n) => ({}), be = (n) => ({}), H = (n) => ({}), ye = (n) => ({}), j = (n) => ({}), Te = (n) => ({}), K = (n) => ({ class: "CashierErrorIcon" });
327
- function q(n) {
328
- let e, t;
326
+ const ze = (n) => ({}), j = (n) => ({}), Ee = (n) => ({}), K = (n) => ({}), _e = (n) => ({}), q = (n) => ({}), Ie = (n) => ({}), G = (n) => ({ class: "CashierErrorIcon" });
327
+ function J(n) {
328
+ let e, i, r, a, t;
329
+ const s = (
330
+ /*#slots*/
331
+ n[16].icon
332
+ ), l = B(
333
+ s,
334
+ n,
335
+ /*$$scope*/
336
+ n[15],
337
+ G
338
+ ), u = l || Ce(n), _ = (
339
+ /*#slots*/
340
+ n[16].title
341
+ ), m = B(
342
+ _,
343
+ n,
344
+ /*$$scope*/
345
+ n[15],
346
+ q
347
+ ), T = (
348
+ /*#slots*/
349
+ n[16].text
350
+ ), b = B(
351
+ T,
352
+ n,
353
+ /*$$scope*/
354
+ n[15],
355
+ K
356
+ ), g = b || Ae(n), p = (
357
+ /*#slots*/
358
+ n[16].button
359
+ ), I = B(
360
+ p,
361
+ n,
362
+ /*$$scope*/
363
+ n[15],
364
+ j
365
+ ), h = I || Me(n);
329
366
  return {
330
367
  c() {
331
- e = T("ui-image"), V(e.src, t = `${/*assetsurl*/
332
- n[0]}/error-general-icon.png`) || W(e, "src", t), W(e, "width", "300px"), W(e, "alt", "error");
368
+ e = y("div"), u && u.c(), i = L(), m && m.c(), r = L(), g && g.c(), a = L(), h && h.c(), E(e, "class", "CashierErrorContent");
333
369
  },
334
- m(a, s) {
335
- p(a, e, s);
370
+ m(o, c) {
371
+ f(o, e, c), u && u.m(e, null), v(e, i), m && m.m(e, null), v(e, r), g && g.m(e, null), v(e, a), h && h.m(e, null), t = !0;
336
372
  },
337
- p(a, s) {
338
- s & /*assetsurl*/
339
- 1 && !V(e.src, t = `${/*assetsurl*/
340
- a[0]}/error-general-icon.png`) && W(e, "src", t);
373
+ p(o, c) {
374
+ l ? l.p && (!t || c & /*$$scope*/
375
+ 32768) && P(
376
+ l,
377
+ s,
378
+ o,
379
+ /*$$scope*/
380
+ o[15],
381
+ t ? W(
382
+ s,
383
+ /*$$scope*/
384
+ o[15],
385
+ c,
386
+ Ie
387
+ ) : F(
388
+ /*$$scope*/
389
+ o[15]
390
+ ),
391
+ G
392
+ ) : u && u.p && (!t || c & /*assetsurl*/
393
+ 1) && u.p(o, t ? c : -1), m && m.p && (!t || c & /*$$scope*/
394
+ 32768) && P(
395
+ m,
396
+ _,
397
+ o,
398
+ /*$$scope*/
399
+ o[15],
400
+ t ? W(
401
+ _,
402
+ /*$$scope*/
403
+ o[15],
404
+ c,
405
+ _e
406
+ ) : F(
407
+ /*$$scope*/
408
+ o[15]
409
+ ),
410
+ q
411
+ ), b ? b.p && (!t || c & /*$$scope*/
412
+ 32768) && P(
413
+ b,
414
+ T,
415
+ o,
416
+ /*$$scope*/
417
+ o[15],
418
+ t ? W(
419
+ T,
420
+ /*$$scope*/
421
+ o[15],
422
+ c,
423
+ Ee
424
+ ) : F(
425
+ /*$$scope*/
426
+ o[15]
427
+ ),
428
+ K
429
+ ) : g && g.p && (!t || c & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage, shownError*/
430
+ 486) && g.p(o, t ? c : -1), I ? I.p && (!t || c & /*$$scope*/
431
+ 32768) && P(
432
+ I,
433
+ p,
434
+ o,
435
+ /*$$scope*/
436
+ o[15],
437
+ t ? W(
438
+ p,
439
+ /*$$scope*/
440
+ o[15],
441
+ c,
442
+ ze
443
+ ) : F(
444
+ /*$$scope*/
445
+ o[15]
446
+ ),
447
+ j
448
+ ) : h && h.p && (!t || c & /*$_*/
449
+ 256) && h.p(o, t ? c : -1);
341
450
  },
342
- d(a) {
343
- a && f(e);
451
+ i(o) {
452
+ t || (z(u, o), z(m, o), z(g, o), z(h, o), t = !0);
453
+ },
454
+ o(o) {
455
+ D(u, o), D(m, o), D(g, o), D(h, o), t = !1;
456
+ },
457
+ d(o) {
458
+ o && k(e), u && u.d(o), m && m.d(o), g && g.d(o), h && h.d(o);
344
459
  }
345
460
  };
346
461
  }
347
- function we(n) {
348
- let e, t = (
462
+ function Y(n) {
463
+ let e, i;
464
+ return {
465
+ c() {
466
+ e = y("ui-image"), N(e.src, i = `${/*assetsurl*/
467
+ n[0]}/error-general-icon.png`) || O(e, "src", i), O(e, "width", "300px"), O(e, "alt", "error");
468
+ },
469
+ m(r, a) {
470
+ f(r, e, a);
471
+ },
472
+ p(r, a) {
473
+ a & /*assetsurl*/
474
+ 1 && !N(e.src, i = `${/*assetsurl*/
475
+ r[0]}/error-general-icon.png`) && O(e, "src", i);
476
+ },
477
+ d(r) {
478
+ r && k(e);
479
+ }
480
+ };
481
+ }
482
+ function Ce(n) {
483
+ let e, i = (
349
484
  /*assetsurl*/
350
- n[0] && q(n)
485
+ n[0] && Y(n)
351
486
  );
352
487
  return {
353
488
  c() {
354
- t && t.c(), e = O();
489
+ i && i.c(), e = x();
355
490
  },
356
- m(a, s) {
357
- t && t.m(a, s), p(a, e, s);
491
+ m(r, a) {
492
+ i && i.m(r, a), f(r, e, a);
358
493
  },
359
- p(a, s) {
494
+ p(r, a) {
360
495
  /*assetsurl*/
361
- a[0] ? t ? t.p(a, s) : (t = q(a), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
496
+ r[0] ? i ? i.p(r, a) : (i = Y(r), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
362
497
  },
363
- d(a) {
364
- a && f(e), t && t.d(a);
498
+ d(r) {
499
+ r && k(e), i && i.d(r);
365
500
  }
366
501
  };
367
502
  }
368
- function G(n) {
503
+ function Z(n) {
369
504
  let e;
370
- function t(r, i) {
505
+ function i(t, s) {
371
506
  return (
372
507
  /*depositWageringAmount*/
373
- r[4] < 0 ? Ee : ze
508
+ t[5] < 0 ? Le : De
374
509
  );
375
510
  }
376
- let a = t(n), s = a(n);
511
+ let r = i(n), a = r(n);
377
512
  return {
378
513
  c() {
379
- s.c(), e = O();
514
+ a.c(), e = x();
380
515
  },
381
- m(r, i) {
382
- s.m(r, i), p(r, e, i);
516
+ m(t, s) {
517
+ a.m(t, s), f(t, e, s);
383
518
  },
384
- p(r, i) {
385
- a === (a = t(r)) && s ? s.p(r, i) : (s.d(1), s = a(r), s && (s.c(), s.m(e.parentNode, e)));
519
+ p(t, s) {
520
+ r === (r = i(t)) && a ? a.p(t, s) : (a.d(1), a = r(t), a && (a.c(), a.m(e.parentNode, e)));
386
521
  },
387
- d(r) {
388
- r && f(e), s.d(r);
522
+ d(t) {
523
+ t && k(e), a.d(t);
389
524
  }
390
525
  };
391
526
  }
392
- function ze(n) {
393
- let e, t = (
527
+ function De(n) {
528
+ let e, i = (
394
529
  /*$_*/
395
- n[6]("DepositWageringLimitText") + ""
396
- ), a, s, r = (
530
+ n[8]("DepositWageringLimitText") + ""
531
+ ), r, a, t = (
397
532
  /*depositWageringAmount*/
398
- n[4] > 0 && J(n)
533
+ n[5] > 0 && X(n)
399
534
  );
400
535
  return {
401
536
  c() {
402
- e = T("span"), a = D(t), s = I(), r && r.c(), _(e, "class", "CashierErrorText");
537
+ e = y("span"), r = M(i), a = L(), t && t.c(), E(e, "class", "CashierErrorText");
403
538
  },
404
- m(i, d) {
405
- p(i, e, d), v(e, a), v(e, s), r && r.m(e, null);
539
+ m(s, l) {
540
+ f(s, e, l), v(e, r), v(e, a), t && t.m(e, null);
406
541
  },
407
- p(i, d) {
408
- d & /*$_*/
409
- 64 && t !== (t = /*$_*/
410
- i[6]("DepositWageringLimitText") + "") && C(a, t), /*depositWageringAmount*/
411
- i[4] > 0 ? r ? r.p(i, d) : (r = J(i), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
542
+ p(s, l) {
543
+ l & /*$_*/
544
+ 256 && i !== (i = /*$_*/
545
+ s[8]("DepositWageringLimitText") + "") && A(r, i), /*depositWageringAmount*/
546
+ s[5] > 0 ? t ? t.p(s, l) : (t = X(s), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
412
547
  },
413
- d(i) {
414
- i && f(e), r && r.d();
548
+ d(s) {
549
+ s && k(e), t && t.d();
415
550
  }
416
551
  };
417
552
  }
418
- function Ee(n) {
419
- let e, t, a = (
553
+ function Le(n) {
554
+ let e, i, r = (
420
555
  /*$_*/
421
- n[6]("DepositWageringFetching") + ""
422
- ), s;
556
+ n[8]("DepositWageringFetching") + ""
557
+ ), a;
423
558
  return {
424
559
  c() {
425
- e = T("div"), t = T("span"), s = D(a), _(t, "class", "CashierErrorText LoadingText"), _(e, "class", "WageringFetch");
560
+ e = y("div"), i = y("span"), a = M(r), E(i, "class", "CashierErrorText LoadingText"), E(e, "class", "WageringFetch");
426
561
  },
427
- m(r, i) {
428
- p(r, e, i), v(e, t), v(t, s);
562
+ m(t, s) {
563
+ f(t, e, s), v(e, i), v(i, a);
429
564
  },
430
- p(r, i) {
431
- i & /*$_*/
432
- 64 && a !== (a = /*$_*/
433
- r[6]("DepositWageringFetching") + "") && C(s, a);
565
+ p(t, s) {
566
+ s & /*$_*/
567
+ 256 && r !== (r = /*$_*/
568
+ t[8]("DepositWageringFetching") + "") && A(a, r);
434
569
  },
435
- d(r) {
436
- r && f(e);
570
+ d(t) {
571
+ t && k(e);
437
572
  }
438
573
  };
439
574
  }
440
- function J(n) {
441
- let e, t, a;
575
+ function X(n) {
576
+ let e, i, r;
442
577
  return {
443
578
  c() {
444
- e = D(
579
+ e = M(
445
580
  /*depositWageringAmount*/
446
- n[4]
447
- ), t = I(), a = D(
448
- /*depositWageringCurrency*/
449
581
  n[5]
582
+ ), i = L(), r = M(
583
+ /*depositWageringCurrency*/
584
+ n[6]
450
585
  );
451
586
  },
452
- m(s, r) {
453
- p(s, e, r), p(s, t, r), p(s, a, r);
587
+ m(a, t) {
588
+ f(a, e, t), f(a, i, t), f(a, r, t);
454
589
  },
455
- p(s, r) {
456
- r & /*depositWageringAmount*/
457
- 16 && C(
590
+ p(a, t) {
591
+ t & /*depositWageringAmount*/
592
+ 32 && A(
458
593
  e,
459
594
  /*depositWageringAmount*/
460
- s[4]
461
- ), r & /*depositWageringCurrency*/
462
- 32 && C(
463
- a,
595
+ a[5]
596
+ ), t & /*depositWageringCurrency*/
597
+ 64 && A(
598
+ r,
464
599
  /*depositWageringCurrency*/
465
- s[5]
600
+ a[6]
466
601
  );
467
602
  },
468
- d(s) {
469
- s && (f(e), f(t), f(a));
603
+ d(a) {
604
+ a && (k(e), k(i), k(r));
470
605
  }
471
606
  };
472
607
  }
473
- function _e(n) {
474
- let e, t = (
608
+ function Ae(n) {
609
+ let e, i = (
475
610
  /*errormessage*/
476
611
  (n[2].length > 0 ? (
477
612
  /*errormessage*/
478
613
  n[2]
479
614
  ) : (
480
- /*$_*/
481
- n[6](`${/*errorcode*/
482
- n[1] || "errorGeneralText"}`)
615
+ /*shownError*/
616
+ n[7]
483
617
  )) + ""
484
- ), a, s, r, i = (
618
+ ), r, a, t, s = (
485
619
  /*errorcode*/
486
- n[1] == "DepositWageringLimit" && G(n)
620
+ n[1] == "DepositWageringLimit" && Z(n)
487
621
  );
488
622
  return {
489
623
  c() {
490
- e = T("span"), a = D(t), s = I(), i && i.c(), r = O(), _(e, "class", "CashierErrorText");
624
+ e = y("span"), r = M(i), a = L(), s && s.c(), t = x(), E(e, "class", "CashierErrorText");
491
625
  },
492
- m(d, c) {
493
- p(d, e, c), v(e, a), p(d, s, c), i && i.m(d, c), p(d, r, c);
626
+ m(l, u) {
627
+ f(l, e, u), v(e, r), f(l, a, u), s && s.m(l, u), f(l, t, u);
494
628
  },
495
- p(d, c) {
496
- c & /*errormessage, $_, errorcode*/
497
- 70 && t !== (t = /*errormessage*/
498
- (d[2].length > 0 ? (
629
+ p(l, u) {
630
+ u & /*errormessage, shownError*/
631
+ 132 && i !== (i = /*errormessage*/
632
+ (l[2].length > 0 ? (
499
633
  /*errormessage*/
500
- d[2]
634
+ l[2]
501
635
  ) : (
502
- /*$_*/
503
- d[6](`${/*errorcode*/
504
- d[1] || "errorGeneralText"}`)
505
- )) + "") && C(a, t), /*errorcode*/
506
- d[1] == "DepositWageringLimit" ? i ? i.p(d, c) : (i = G(d), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
507
- },
508
- d(d) {
509
- d && (f(e), f(s), f(r)), i && i.d(d);
636
+ /*shownError*/
637
+ l[7]
638
+ )) + "") && A(r, i), /*errorcode*/
639
+ l[1] == "DepositWageringLimit" ? s ? s.p(l, u) : (s = Z(l), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null);
640
+ },
641
+ d(l) {
642
+ l && (k(e), k(a), k(t)), s && s.d(l);
510
643
  }
511
644
  };
512
645
  }
513
- function Ie(n) {
514
- let e, t, a = (
646
+ function Me(n) {
647
+ let e, i, r = (
515
648
  /*$_*/
516
- n[6]("errorGeneralButton") + ""
517
- ), s, r, i;
649
+ n[8]("errorGeneralButton") + ""
650
+ ), a, t, s;
518
651
  return {
519
652
  c() {
520
- e = T("button"), t = T("span"), s = D(a), _(e, "class", "CashierErrorButton");
653
+ e = y("button"), i = y("span"), a = M(r), E(e, "class", "CashierErrorButton");
521
654
  },
522
- m(d, c) {
523
- p(d, e, c), v(e, t), v(t, s), r || (i = de(
655
+ m(l, u) {
656
+ f(l, e, u), v(e, i), v(i, a), t || (s = he(
524
657
  e,
525
658
  "click",
526
659
  /*close*/
527
- n[7]
528
- ), r = !0);
660
+ n[9]
661
+ ), t = !0);
529
662
  },
530
- p(d, c) {
531
- c & /*$_*/
532
- 64 && a !== (a = /*$_*/
533
- d[6]("errorGeneralButton") + "") && C(s, a);
663
+ p(l, u) {
664
+ u & /*$_*/
665
+ 256 && r !== (r = /*$_*/
666
+ l[8]("errorGeneralButton") + "") && A(a, r);
534
667
  },
535
- d(d) {
536
- d && f(e), r = !1, i();
668
+ d(l) {
669
+ l && k(e), t = !1, s();
537
670
  }
538
671
  };
539
672
  }
540
- function Ce(n) {
541
- let e, t, a, s, r, i;
542
- const d = (
543
- /*#slots*/
544
- n[14].icon
545
- ), c = A(
546
- d,
547
- n,
548
- /*$$scope*/
549
- n[13],
550
- K
551
- ), h = c || we(n), w = (
552
- /*#slots*/
553
- n[14].title
554
- ), g = A(
555
- w,
556
- n,
557
- /*$$scope*/
558
- n[13],
559
- j
560
- ), b = (
561
- /*#slots*/
562
- n[14].text
563
- ), y = A(
564
- b,
565
- n,
566
- /*$$scope*/
567
- n[13],
568
- H
569
- ), u = y || _e(n), L = (
570
- /*#slots*/
571
- n[14].button
572
- ), E = A(
573
- L,
574
- n,
575
- /*$$scope*/
576
- n[13],
577
- U
578
- ), k = E || Ie(n);
673
+ function Se(n) {
674
+ let e, i, r = !/*isLoading*/
675
+ n[4] && J(n);
579
676
  return {
580
677
  c() {
581
- e = T("div"), t = T("div"), h && h.c(), a = I(), g && g.c(), s = I(), u && u.c(), r = I(), k && k.c(), _(t, "class", "CashierErrorContent"), _(e, "class", "CashierError");
678
+ e = y("div"), r && r.c(), E(e, "class", "CashierError");
582
679
  },
583
- m(o, m) {
584
- p(o, e, m), v(e, t), h && h.m(t, null), v(t, a), g && g.m(t, null), v(t, s), u && u.m(t, null), v(t, r), k && k.m(t, null), n[15](e), i = !0;
680
+ m(a, t) {
681
+ f(a, e, t), r && r.m(e, null), n[17](e), i = !0;
585
682
  },
586
- p(o, [m]) {
587
- c ? c.p && (!i || m & /*$$scope*/
588
- 8192) && B(
589
- c,
590
- d,
591
- o,
592
- /*$$scope*/
593
- o[13],
594
- i ? F(
595
- d,
596
- /*$$scope*/
597
- o[13],
598
- m,
599
- Te
600
- ) : P(
601
- /*$$scope*/
602
- o[13]
603
- ),
604
- K
605
- ) : h && h.p && (!i || m & /*assetsurl*/
606
- 1) && h.p(o, i ? m : -1), g && g.p && (!i || m & /*$$scope*/
607
- 8192) && B(
608
- g,
609
- w,
610
- o,
611
- /*$$scope*/
612
- o[13],
613
- i ? F(
614
- w,
615
- /*$$scope*/
616
- o[13],
617
- m,
618
- ye
619
- ) : P(
620
- /*$$scope*/
621
- o[13]
622
- ),
623
- j
624
- ), y ? y.p && (!i || m & /*$$scope*/
625
- 8192) && B(
626
- y,
627
- b,
628
- o,
629
- /*$$scope*/
630
- o[13],
631
- i ? F(
632
- b,
633
- /*$$scope*/
634
- o[13],
635
- m,
636
- be
637
- ) : P(
638
- /*$$scope*/
639
- o[13]
640
- ),
641
- H
642
- ) : u && u.p && (!i || m & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage*/
643
- 118) && u.p(o, i ? m : -1), E ? E.p && (!i || m & /*$$scope*/
644
- 8192) && B(
645
- E,
646
- L,
647
- o,
648
- /*$$scope*/
649
- o[13],
650
- i ? F(
651
- L,
652
- /*$$scope*/
653
- o[13],
654
- m,
655
- ve
656
- ) : P(
657
- /*$$scope*/
658
- o[13]
659
- ),
660
- U
661
- ) : k && k.p && (!i || m & /*$_*/
662
- 64) && k.p(o, i ? m : -1);
683
+ p(a, [t]) {
684
+ /*isLoading*/
685
+ a[4] ? r && (ke(), D(r, 1, 1, () => {
686
+ r = null;
687
+ }), ue()) : r ? (r.p(a, t), t & /*isLoading*/
688
+ 16 && z(r, 1)) : (r = J(a), r.c(), z(r, 1), r.m(e, null));
663
689
  },
664
- i(o) {
665
- i || (S(h, o), S(g, o), S(u, o), S(k, o), i = !0);
690
+ i(a) {
691
+ i || (z(r), i = !0);
666
692
  },
667
- o(o) {
668
- M(h, o), M(g, o), M(u, o), M(k, o), i = !1;
693
+ o(a) {
694
+ D(r), i = !1;
669
695
  },
670
- d(o) {
671
- o && f(e), h && h.d(o), g && g.d(o), u && u.d(o), k && k.d(o), n[15](null);
696
+ d(a) {
697
+ a && k(e), r && r.d(), n[17](null);
672
698
  }
673
699
  };
674
700
  }
675
- function De(n, e, t) {
676
- let a;
677
- oe(n, ce, (l) => t(6, a = l));
678
- let { $$slots: s = {}, $$scope: r } = e, { assetsurl: i = "" } = e, { lang: d = "en" } = e, { errorcode: c = "" } = e, { errormessage: h = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: b = "" } = e, { mbsource: y = "" } = e, u, L, E = -1, k;
679
- const o = () => {
680
- fe(d);
681
- }, m = async () => {
682
- if (b)
683
- try {
684
- const l = await fetch(b);
685
- if (!l.ok)
686
- throw new Error(`HTTP error! status: ${l.status}`);
687
- const X = await l.json();
688
- Object.entries(X).forEach(([Q, $]) => {
689
- R(Q, $);
701
+ function Be(n, e, i) {
702
+ let r;
703
+ ce(n, fe, (d) => i(8, r = d));
704
+ let { $$slots: a = {}, $$scope: t } = e, { assetsurl: s = "" } = e, { lang: l = "en" } = e, { errorcode: u = "" } = e, { errormessage: _ = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: b = "" } = e, { mbsource: g = "" } = e, p, I, h = -1, o, c, S = !1;
705
+ const Q = () => {
706
+ Te(l);
707
+ }, $ = () => {
708
+ i(4, S = !0);
709
+ let d = b;
710
+ if (d)
711
+ return fetch(d).then((C) => C.json()).then((C) => {
712
+ Object.keys(C).forEach((R) => {
713
+ U(R, C[R]);
690
714
  });
691
- } catch (l) {
692
- console.error(l);
693
- }
715
+ }).catch((C) => {
716
+ console.log(C);
717
+ }).finally(() => {
718
+ i(4, S = !1);
719
+ });
694
720
  };
695
- Object.keys(N).forEach((l) => {
696
- R(l, N[l]);
721
+ Object.keys(H).forEach((d) => {
722
+ U(d, H[d]);
697
723
  });
698
- const Y = () => {
724
+ const ee = () => {
699
725
  window.postMessage({ type: "ErrorClose" }, window.location.href);
700
- }, x = (l) => {
701
- if (l.data)
702
- switch (l.data.type) {
726
+ }, V = (d) => {
727
+ if (d.data)
728
+ switch (d.data.type) {
703
729
  case "DepositWageringAmount":
704
- t(4, E = l.data.amount), t(5, k = l.data.currency);
730
+ i(5, h = d.data.amount), i(6, o = d.data.currency);
705
731
  break;
706
732
  }
733
+ }, te = () => {
734
+ i(7, c = r(`${u || "errorGeneralText"}`));
707
735
  };
708
- le(() => (window.addEventListener("message", x, !1), () => {
709
- window.removeEventListener("message", x);
736
+ me(() => (window.addEventListener("message", V, !1), () => {
737
+ window.removeEventListener("message", V);
710
738
  }));
711
- function Z(l) {
712
- ue[l ? "unshift" : "push"](() => {
713
- u = l, t(3, u);
739
+ function ne(d) {
740
+ ge[d ? "unshift" : "push"](() => {
741
+ p = d, i(3, p);
714
742
  });
715
743
  }
716
- return n.$$set = (l) => {
717
- "assetsurl" in l && t(0, i = l.assetsurl), "lang" in l && t(8, d = l.lang), "errorcode" in l && t(1, c = l.errorcode), "errormessage" in l && t(2, h = l.errormessage), "clientstyling" in l && t(9, w = l.clientstyling), "clientstylingurl" in l && t(10, g = l.clientstylingurl), "translationurl" in l && t(11, b = l.translationurl), "mbsource" in l && t(12, y = l.mbsource), "$$scope" in l && t(13, r = l.$$scope);
744
+ return n.$$set = (d) => {
745
+ "assetsurl" in d && i(0, s = d.assetsurl), "lang" in d && i(10, l = d.lang), "errorcode" in d && i(1, u = d.errorcode), "errormessage" in d && i(2, _ = d.errormessage), "clientstyling" in d && i(11, m = d.clientstyling), "clientstylingurl" in d && i(12, T = d.clientstylingurl), "translationurl" in d && i(13, b = d.translationurl), "mbsource" in d && i(14, g = d.mbsource), "$$scope" in d && i(15, t = d.$$scope);
718
746
  }, n.$$.update = () => {
719
747
  n.$$.dirty & /*lang*/
720
- 256 && d && o(), n.$$.dirty & /*clientstyling, customStylingContainer*/
721
- 520 && w && u && me(u, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
722
- 1032 && g && u && ge(u, g), n.$$.dirty & /*mbsource, customStylingContainer*/
723
- 4104 && y && u && he(u, `${y}.Style`, L), n.$$.dirty & /*translationurl*/
724
- 2048 && b && m();
748
+ 1024 && l && Q(), n.$$.dirty & /*clientstyling, customStylingContainer*/
749
+ 2056 && m && p && pe(p, m), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
750
+ 4104 && T && p && ve(p, T), n.$$.dirty & /*mbsource, customStylingContainer*/
751
+ 16392 && g && p && be(p, `${g}.Style`, I), n.$$.dirty & /*translationurl*/
752
+ 8192 && b && $(), n.$$.dirty & /*isLoading*/
753
+ 16 && !S && te();
725
754
  }, [
726
- i,
727
- c,
728
- h,
755
+ s,
729
756
  u,
730
- E,
731
- k,
732
- a,
733
- Y,
734
- d,
735
- w,
736
- g,
737
- b,
738
- y,
757
+ _,
758
+ p,
759
+ S,
760
+ h,
761
+ o,
762
+ c,
739
763
  r,
740
- s,
741
- Z
764
+ ee,
765
+ l,
766
+ m,
767
+ T,
768
+ b,
769
+ g,
770
+ t,
771
+ a,
772
+ ne
742
773
  ];
743
774
  }
744
- class Le extends ie {
775
+ class Pe extends se {
745
776
  constructor(e) {
746
- super(), re(
777
+ super(), oe(
747
778
  this,
748
779
  e,
749
- De,
750
- Ce,
751
- ae,
780
+ Be,
781
+ Se,
782
+ le,
752
783
  {
753
784
  assetsurl: 0,
754
- lang: 8,
785
+ lang: 10,
755
786
  errorcode: 1,
756
787
  errormessage: 2,
757
- clientstyling: 9,
758
- clientstylingurl: 10,
759
- translationurl: 11,
760
- mbsource: 12
788
+ clientstyling: 11,
789
+ clientstylingurl: 12,
790
+ translationurl: 13,
791
+ mbsource: 14
761
792
  },
762
- pe
793
+ we
763
794
  );
764
795
  }
765
796
  get assetsurl() {
766
797
  return this.$$.ctx[0];
767
798
  }
768
799
  set assetsurl(e) {
769
- this.$$set({ assetsurl: e }), z();
800
+ this.$$set({ assetsurl: e }), w();
770
801
  }
771
802
  get lang() {
772
- return this.$$.ctx[8];
803
+ return this.$$.ctx[10];
773
804
  }
774
805
  set lang(e) {
775
- this.$$set({ lang: e }), z();
806
+ this.$$set({ lang: e }), w();
776
807
  }
777
808
  get errorcode() {
778
809
  return this.$$.ctx[1];
779
810
  }
780
811
  set errorcode(e) {
781
- this.$$set({ errorcode: e }), z();
812
+ this.$$set({ errorcode: e }), w();
782
813
  }
783
814
  get errormessage() {
784
815
  return this.$$.ctx[2];
785
816
  }
786
817
  set errormessage(e) {
787
- this.$$set({ errormessage: e }), z();
818
+ this.$$set({ errormessage: e }), w();
788
819
  }
789
820
  get clientstyling() {
790
- return this.$$.ctx[9];
821
+ return this.$$.ctx[11];
791
822
  }
792
823
  set clientstyling(e) {
793
- this.$$set({ clientstyling: e }), z();
824
+ this.$$set({ clientstyling: e }), w();
794
825
  }
795
826
  get clientstylingurl() {
796
- return this.$$.ctx[10];
827
+ return this.$$.ctx[12];
797
828
  }
798
829
  set clientstylingurl(e) {
799
- this.$$set({ clientstylingurl: e }), z();
830
+ this.$$set({ clientstylingurl: e }), w();
800
831
  }
801
832
  get translationurl() {
802
- return this.$$.ctx[11];
833
+ return this.$$.ctx[13];
803
834
  }
804
835
  set translationurl(e) {
805
- this.$$set({ translationurl: e }), z();
836
+ this.$$set({ translationurl: e }), w();
806
837
  }
807
838
  get mbsource() {
808
- return this.$$.ctx[12];
839
+ return this.$$.ctx[14];
809
840
  }
810
841
  set mbsource(e) {
811
- this.$$set({ mbsource: e }), z();
842
+ this.$$set({ mbsource: e }), w();
812
843
  }
813
844
  }
814
- ke(Le, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
845
+ ye(Pe, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
815
846
  export {
816
- Le as default
847
+ Pe as default
817
848
  };