@everymatrix/player-account-controller 1.45.14 → 1.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/components/{PlayerAccountController-C-FdiNqV.js → PlayerAccountController-DcH3apKb.js} +308 -278
  2. package/components/PlayerAccountController-YWVJPVwG.cjs +1 -0
  3. package/components/PlayerAccountGamingLimitsPage2Gm16-ChyIWofJ.cjs +21 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-CbzKE9TQ.js → PlayerAccountGamingLimitsPage2Gm16-Db8AA-bx.js} +873 -827
  5. package/components/{PlayerAccountGamingLimitsWrapper2-D2efWlKY.js → PlayerAccountGamingLimitsWrapper2-BQHfy5Y8.js} +189 -170
  6. package/components/PlayerAccountGamingLimitsWrapper2-Da9RcHDD.cjs +1 -0
  7. package/components/{PlayerAccountSelfExclusion-zuKOJE1A.js → PlayerAccountSelfExclusion-BWE1SMeK.js} +204 -194
  8. package/components/{PlayerAccountSelfExclusion-DVLlbxoJ.cjs → PlayerAccountSelfExclusion-CdrtOxUR.cjs} +56 -56
  9. package/components/{PlayerBonusHistory-D8sz17Ry.js → PlayerBonusHistory-BQgWbJ_2.js} +1 -1
  10. package/components/{PlayerBonusHistory-CTTBqeCR.cjs → PlayerBonusHistory-Bh48Jrco.cjs} +1 -1
  11. package/components/{PlayerGamingHistory-TcfH2pYz.cjs → PlayerGamingHistory-D1bYL_JW.cjs} +1 -1
  12. package/components/{PlayerGamingHistory-1wUzXwQ1.js → PlayerGamingHistory-gYZx3djE.js} +1 -1
  13. package/es2015/player-account-controller.cjs +1 -1
  14. package/es2015/player-account-controller.js +1 -1
  15. package/package.json +1 -1
  16. package/components/PlayerAccountController-BygXTc2y.cjs +0 -1
  17. package/components/PlayerAccountGamingLimitsPage2Gm16-DXYDoggP.cjs +0 -21
  18. package/components/PlayerAccountGamingLimitsWrapper2-kQ4ae-zo.cjs +0 -1
@@ -1,16 +1,16 @@
1
- var ii = Object.defineProperty;
1
+ var ai = Object.defineProperty;
2
2
  var Oe = Object.getOwnPropertySymbols;
3
- var ai = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable;
4
- var Be = (i, e, t) => e in i ? ii(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, be = (i, e) => {
3
+ var oi = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable;
4
+ var We = (i, e, t) => e in i ? ai(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, we = (i, e) => {
5
5
  for (var t in e || (e = {}))
6
- ai.call(e, t) && Be(i, t, e[t]);
6
+ oi.call(e, t) && We(i, t, e[t]);
7
7
  if (Oe)
8
8
  for (var t of Oe(e))
9
- oi.call(e, t) && Be(i, t, e[t]);
9
+ ni.call(e, t) && We(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- import { a as ni, $ as si, S as ri, i as li, f as Y, c as mi, s as ui, b as pi, e as b, d as F, g as L, l as u, k as z, o as re, p as M, q as di, V as ci, B as Li, O as Re, P as st, x as qe, t as N, D as rt, m as $, n as V, M as me, Q as ke, N as _e, r as Me, R as lt, T as we, y as gi, w as x, X as ve } from "./GeneralLogout-DR-XxT8N.js";
13
- const U = {
12
+ import { a as si, $ as ri, S as li, i as mi, f as H, c as ui, s as pi, b as di, e as _, d as N, g as L, l as p, k as x, o as re, p as E, q as ci, V as Li, B as gi, O as Re, P as nt, x as Be, t as U, D as st, m as ee, n as F, M as me, Q as ve, N as Se, r as Me, R as rt, T as _e, y as fi, w as C, X as he } from "./GeneralLogout-DR-XxT8N.js";
13
+ const z = {
14
14
  lugas: {
15
15
  title: "Deposit Limit",
16
16
  value: "lugas",
@@ -54,13 +54,13 @@ const U = {
54
54
  callValue16: "cumulativeSession"
55
55
  }
56
56
  };
57
- function Ge(i, e) {
58
- ni(i, e);
57
+ function qe(i, e) {
58
+ si(i, e);
59
59
  }
60
- function fi(i) {
61
- si.set(i);
60
+ function yi(i) {
61
+ ri.set(i);
62
62
  }
63
- const he = {
63
+ const ye = {
64
64
  en: {
65
65
  loadingText: "Loading, please wait...",
66
66
  Monthly: "per month",
@@ -113,10 +113,11 @@ const he = {
113
113
  popupImmediateUpdate: "Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",
114
114
  popupTitle: "Limit changed",
115
115
  popupSuccess: "Successful",
116
- popupError: "Es ist ein Fehler aufgetreten.",
116
+ popupError: "An error has occurred.",
117
117
  popupUpdateLimitException: "You can change your self-limiting settings after the specified limitation period has expired.",
118
118
  popupRemoveLimitException: "You can change your self-limiting settings after the specified limitation period has expired.",
119
119
  notFoundException: "Limit does not exist",
120
+ sessionExpiredException: "Your session has expired",
120
121
  popup3: `Thank you!
121
122
  We have transmited your desired limit to Lugas
122
123
  Please be aware that the limit will only come into effect after 8 days at the latest.`,
@@ -198,6 +199,7 @@ const he = {
198
199
  popupUpdateLimit: "Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",
199
200
  popupUpdateLimitException: "Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",
200
201
  popupRemoveLimitException: "Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",
202
+ sessionExpiredException: "A munkamenet lejárt",
201
203
  "dataLayer-sports": "Sportfogadás",
202
204
  "dataLayer-casino": "Kaszinó",
203
205
  "dataLayer-all": "Minden",
@@ -270,6 +272,7 @@ const he = {
270
272
  invalidInputMessageLimitMax: "Der eingegebene Wert muss höher sein als {maxValue} {currency}.",
271
273
  unableToUpdatePendingRequest: "We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",
272
274
  internalServerError: "Beim Festlegen Ihres LUGAS-Einzahlungslimits ist leider ein Fehler aufgetreten. Bitte versuchen Sie es erneut oder wenden Sie sich an unseren Kundenservice unter <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",
275
+ sessionExpiredException: "Ihre Sitzung ist abgelaufen",
273
276
  docsRequired: "Documents required!",
274
277
  okButton: "OK",
275
278
  complianceText: "As an authorized operator, it applies the necessary limits imposed by the government",
@@ -349,6 +352,7 @@ const he = {
349
352
  popupError: "Došlo je do greške.",
350
353
  popupUpdateLimitException: "Postavke samoograničenja možete promijeniti nakon isteka navedenog roka ograničenja.",
351
354
  popupRemoveLimitException: "Postavke samoograničenja možete promijeniti nakon isteka navedenog roka ograničenja.",
355
+ sessionExpiredException: "Vaša sesija je istekla",
352
356
  notFoundException: "Ograničenje ne postoji",
353
357
  complianceText: "Kao ovlašteni operater, primjenjuje potrebna ograničenja koja nameće vlada",
354
358
  unableToUpdatePendingRequest: "Nismo uspjeli ažurirati vaše ograničenje jer je drugo ažuriranje već na čekanju. Molimo pokušajte ponovno nakon primjene trenutnog ažuriranja.",
@@ -420,6 +424,7 @@ const he = {
420
424
  closeButton: "CLOSE",
421
425
  invalidInputMessageLimitMin: "Vrednost, ki jo vnesete, mora biti manjša od {minValue} {currency}.",
422
426
  invalidInputMessageLimitMax: "Vrednost, ki jo vnesete, mora biti višja od {maxValue} {currency}.",
427
+ sessionExpiredException: "Vaša seja je potekla",
423
428
  docsRequired: "Documents required!",
424
429
  okButton: "OK",
425
430
  complianceText: "As an authorized operator, it applies the necessary limits imposed by the government",
@@ -491,6 +496,7 @@ const he = {
491
496
  closeButton: "CLOSE",
492
497
  invalidInputMessageLimitMin: "Wprowadzona wartość musi być niższa niż {minValue} {currency}.",
493
498
  invalidInputMessageLimitMax: "Wprowadzona wartość musi być wyższa niż {maxValue} {currency}.",
499
+ sessionExpiredException: "Twoja sesja wygasła",
494
500
  docsRequired: "Documents required!",
495
501
  okButton: "OK",
496
502
  "dataLayer-sports": "Sport",
@@ -536,6 +542,7 @@ const he = {
536
542
  okButton: "OK",
537
543
  invalidInputMessageLimitMin: "The value entered must be less then {minValue} {currency}.",
538
544
  invalidInputMessageLimitMax: "The value entered must be higher than {maxValue} {currency}.",
545
+ sessionExpiredException: "Votre session a expiré",
539
546
  setLimit: "Définir une nouvelle limite",
540
547
  "dataLayer-sports": "Sports",
541
548
  "dataLayer-casino": "Casino",
@@ -613,6 +620,7 @@ const he = {
613
620
  okButton: "OK",
614
621
  invalidInputMessageLimitMin: "Valoarea introdusa trebuie sa fie mai mica decat {minValue} {currency}.",
615
622
  invalidInputMessageLimitMax: "Valoarea introdusa trebuie sa fie mai mare decat {maxValue} {currency}.",
623
+ sessionExpiredException: "Sesiunea dvs. a expirat",
616
624
  "dataLayer-sports": "Sporturi",
617
625
  "dataLayer-casino": "Cazino",
618
626
  "dataLayer-wager": "Pariu",
@@ -682,6 +690,7 @@ const he = {
682
690
  closeButton: "CERRAR",
683
691
  invalidInputMessageLimitMin: "El valor ingresado debe ser menor que {minValue} {currency}.",
684
692
  invalidInputMessageLimitMax: "El valor ingresado debe ser mayor que {maxValue} {currency}.",
693
+ sessionExpiredException: "Su sesión ha expirado",
685
694
  unableToUpdatePendingRequest: "No pudimos actualizar tu límite porque ya hay otra actualización pendiente. Vuelve a intentarlo después de haberse aplicado la actualización actual.",
686
695
  docsRequired: "Documentos requeridos!",
687
696
  kyc2: "Para el límite seleccionado",
@@ -703,6 +712,7 @@ const he = {
703
712
  newMonthlyLimit: "Novo limite mensal",
704
713
  invalidInputMessageLimitMin: "The value entered must be less then {minValue} {currency}.",
705
714
  invalidInputMessageLimitMax: "The value entered must be higher than {maxValue} {currency}.",
715
+ sessionExpiredException: "A sua sessão expirou",
706
716
  setLimit: "Definir novo limite",
707
717
  "dataLayer-sports": "Esportes",
708
718
  "dataLayer-wager": "Aposta",
@@ -779,6 +789,7 @@ const he = {
779
789
  invalidInputMessageLimitMax: "O valor inserido deve ser menor que {maxValue} {currency}.",
780
790
  unableToUpdatePendingRequest: "Não foi possível atualizar seu limite porque já há outra atualização pendente. Tente novamente assim que a atualização pendente for aplicada.",
781
791
  internalServerError: "Infelizmente,' Ocorreu um erro ao definir seu limite LEGAS. Por favor, tente novamente ou entre em contato com nosso suporte ao cliente em <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.'",
792
+ sessionExpiredException: "Sua sessão expirou",
782
793
  docsRequired: "Documentos requeridos",
783
794
  okButton: "OK",
784
795
  complianceText: "Como operador autorizado, Aplicam-se limites impostos pelo governo.",
@@ -846,6 +857,7 @@ const he = {
846
857
  popupError: "Ha ocurrido un error",
847
858
  popupUpdateLimitException: "Puede cambiar sus ajustes de auto-límites una vez que concluya el periodo de límite especificado.",
848
859
  popupRemoveLimitException: "Puede cambiar sus ajustes de auto-límites una vez que concluya el periodo de límite especificado.",
860
+ sessionExpiredException: "Su sesión ha expirado",
849
861
  notFoundException: "El límite no existe",
850
862
  popup3: "Gracias! Hemos transmitido su límite deseado a Lugas Por favor tome en cuenta que va a entrar en efecto a más tardar después de 8 días.",
851
863
  popup2_a: "Pudimos fijar su límite mensual de depósito a",
@@ -923,6 +935,7 @@ const he = {
923
935
  popupError: "Bu bir Fehler'dir.",
924
936
  popupUpdateLimitException: "Belirlenen sınırlama süresi dolduktan sonra kendi kendini sınırlayan ayarlarınızı değiştirebilirsiniz.",
925
937
  popupRemoveLimitException: "Belirlenen sınırlama süresi dolduktan sonra kendi kendini sınırlayan ayarlarınızı değiştirebilirsiniz.",
938
+ sessionExpiredException: "Oturum süreniz doldu",
926
939
  notFoundException: "Sınır mevcut değil",
927
940
  popup3: "Teşekkür ederim! İstediğiniz limiti Lugas'a ilettik Limitin ancak en geç 8 gün sonra yürürlüğe gireceğini lütfen unutmayın.",
928
941
  popup2_a: "Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",
@@ -946,540 +959,540 @@ const he = {
946
959
  "dataLayer-weekly": "Haftalık",
947
960
  "dataLayer-monthly": "Aylık"
948
961
  }
949
- }, { document: yi } = Li;
950
- function hi(i) {
951
- pi(i, "svelte-lcjkv6", ':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-color-black, #000000)}.PendingLimit{color:var(--emfe-w-color-black, #000000)}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1.3rem;color:var(--emfe-w-color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-black, #000000);font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
962
+ }, { document: hi } = gi;
963
+ function vi(i) {
964
+ di(i, "svelte-lcjkv6", ':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-color-black, #000000)}.PendingLimit{color:var(--emfe-w-color-black, #000000)}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1.3rem;color:var(--emfe-w-color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-black, #000000);font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
965
+ }
966
+ function Ge(i, e, t) {
967
+ const a = i.slice();
968
+ return a[111] = e[t], a;
952
969
  }
953
970
  function Ke(i, e, t) {
954
971
  const a = i.slice();
955
- return a[110] = e[t], a;
972
+ return a[114] = e[t], a[116] = t, a;
956
973
  }
957
974
  function He(i, e, t) {
958
975
  const a = i.slice();
959
- return a[113] = e[t], a[115] = t, a;
976
+ return a[114] = e[t], a;
960
977
  }
961
978
  function Ye(i, e, t) {
962
979
  const a = i.slice();
963
- return a[113] = e[t], a;
964
- }
965
- function Xe(i, e, t) {
966
- const a = i.slice();
967
- return a[118] = e[t], a;
980
+ return a[119] = e[t], a;
968
981
  }
969
- function Ze(i) {
982
+ function Xe(i) {
970
983
  let e, t, a;
971
- function n(p, f) {
984
+ function n(d, f) {
972
985
  return (
973
986
  /*popupReady*/
974
- p[20] ? vi : ki
987
+ d[20] ? ki : bi
975
988
  );
976
989
  }
977
990
  let s = n(i), r = s(i);
978
991
  return {
979
992
  c() {
980
- e = b("div"), t = b("div"), r.c(), L(t, "class", a = "PopupContainer " + /*popupClass*/
993
+ e = _("div"), t = _("div"), r.c(), L(t, "class", a = "PopupContainer " + /*popupClass*/
981
994
  i[22] + " " + /*isDesktop*/
982
995
  (i[26] ? "Desktop" : "")), L(e, "class", "PopupOverlay");
983
996
  },
984
- m(p, f) {
985
- z(p, e, f), u(e, t), r.m(t, null);
997
+ m(d, f) {
998
+ x(d, e, f), p(e, t), r.m(t, null);
986
999
  },
987
- p(p, f) {
988
- s === (s = n(p)) && r ? r.p(p, f) : (r.d(1), r = s(p), r && (r.c(), r.m(t, null))), f[0] & /*popupClass*/
1000
+ p(d, f) {
1001
+ s === (s = n(d)) && r ? r.p(d, f) : (r.d(1), r = s(d), r && (r.c(), r.m(t, null))), f[0] & /*popupClass*/
989
1002
  4194304 && a !== (a = "PopupContainer " + /*popupClass*/
990
- p[22] + " " + /*isDesktop*/
991
- (p[26] ? "Desktop" : "")) && L(t, "class", a);
1003
+ d[22] + " " + /*isDesktop*/
1004
+ (d[26] ? "Desktop" : "")) && L(t, "class", a);
992
1005
  },
993
- d(p) {
994
- p && M(e), r.d();
1006
+ d(d) {
1007
+ d && E(e), r.d();
995
1008
  }
996
1009
  };
997
1010
  }
998
- function vi(i) {
1011
+ function ki(i) {
999
1012
  let e, t, a = (
1000
1013
  /*$_*/
1001
1014
  i[25]("popupTitle") + ""
1002
- ), n, s, r, p, f, m, d, y, P, h, _, A, W;
1003
- function q(w, C) {
1015
+ ), n, s, r, d, f, u, c, y, M, h, S, j, V;
1016
+ function R(v, A) {
1004
1017
  return (
1005
1018
  /*popupErrorDisplay*/
1006
- w[18] ? _i : (
1019
+ v[18] ? Si : (
1007
1020
  /*popupVariant*/
1008
- w[23] == 2 ? wi : bi
1021
+ v[23] == 2 ? _i : wi
1009
1022
  )
1010
1023
  );
1011
1024
  }
1012
- let K = q(i), O = K(i);
1013
- function G(w, C) {
1025
+ let G = R(i), W = G(i);
1026
+ function Y(v, A) {
1014
1027
  return (
1015
1028
  /*popupErrorDisplay*/
1016
- w[18] ? Ti : (
1029
+ v[18] ? ji : (
1017
1030
  /*popupVariant*/
1018
- w[23] == 2 ? Di : Si
1031
+ v[23] == 2 ? Ti : Di
1019
1032
  )
1020
1033
  );
1021
1034
  }
1022
- let ee = G(i), X = ee(i);
1023
- function E(w, C) {
1035
+ let q = Y(i), X = q(i);
1036
+ function te(v, A) {
1024
1037
  return (
1025
1038
  /*popupVariant*/
1026
- w[23] == 2 ? Ai : ji
1039
+ v[23] == 2 ? Ei : Ai
1027
1040
  );
1028
1041
  }
1029
- let k = E(i), S = k(i);
1042
+ let T = te(i), b = T(i);
1030
1043
  return {
1031
1044
  c() {
1032
- e = b("div"), t = b("span"), n = N(a), s = F(), r = b("button"), r.textContent = "X", p = F(), f = b("div"), m = b("div"), O.c(), d = F(), X.c(), y = F(), P = b("p"), h = F(), S.c(), _ = rt(), L(t, "class", "PopupTitle"), L(r, "class", "ClosePopup"), L(e, "class", "PopupTitleWrapper"), L(m, "class", "ResultIconWrapper"), L(P, "class", "DescriptionParagraph"), L(f, "class", "DescriptionWrapper");
1045
+ e = _("div"), t = _("span"), n = U(a), s = N(), r = _("button"), r.textContent = "X", d = N(), f = _("div"), u = _("div"), W.c(), c = N(), X.c(), y = N(), M = _("p"), h = N(), b.c(), S = st(), L(t, "class", "PopupTitle"), L(r, "class", "ClosePopup"), L(e, "class", "PopupTitleWrapper"), L(u, "class", "ResultIconWrapper"), L(M, "class", "DescriptionParagraph"), L(f, "class", "DescriptionWrapper");
1033
1046
  },
1034
- m(w, C) {
1035
- z(w, e, C), u(e, t), u(t, n), u(e, s), u(e, r), z(w, p, C), z(w, f, C), u(f, m), O.m(m, null), u(m, d), X.m(m, null), u(f, y), u(f, P), P.innerHTML = /*popupContent*/
1036
- i[21], z(w, h, C), S.m(w, C), z(w, _, C), A || (W = $(
1047
+ m(v, A) {
1048
+ x(v, e, A), p(e, t), p(t, n), p(e, s), p(e, r), x(v, d, A), x(v, f, A), p(f, u), W.m(u, null), p(u, c), X.m(u, null), p(f, y), p(f, M), M.innerHTML = /*popupContent*/
1049
+ i[21], x(v, h, A), b.m(v, A), x(v, S, A), j || (V = ee(
1037
1050
  r,
1038
1051
  "click",
1039
1052
  /*closePopup*/
1040
- i[34]
1041
- ), A = !0);
1053
+ i[35]
1054
+ ), j = !0);
1042
1055
  },
1043
- p(w, C) {
1044
- C[0] & /*$_*/
1056
+ p(v, A) {
1057
+ A[0] & /*$_*/
1045
1058
  33554432 && a !== (a = /*$_*/
1046
- w[25]("popupTitle") + "") && V(n, a), K !== (K = q(w)) && (O.d(1), O = K(w), O && (O.c(), O.m(m, d))), ee === (ee = G(w)) && X ? X.p(w, C) : (X.d(1), X = ee(w), X && (X.c(), X.m(m, null))), C[0] & /*popupContent*/
1047
- 2097152 && (P.innerHTML = /*popupContent*/
1048
- w[21]), k === (k = E(w)) && S ? S.p(w, C) : (S.d(1), S = k(w), S && (S.c(), S.m(_.parentNode, _)));
1059
+ v[25]("popupTitle") + "") && F(n, a), G !== (G = R(v)) && (W.d(1), W = G(v), W && (W.c(), W.m(u, c))), q === (q = Y(v)) && X ? X.p(v, A) : (X.d(1), X = q(v), X && (X.c(), X.m(u, null))), A[0] & /*popupContent*/
1060
+ 2097152 && (M.innerHTML = /*popupContent*/
1061
+ v[21]), T === (T = te(v)) && b ? b.p(v, A) : (b.d(1), b = T(v), b && (b.c(), b.m(S.parentNode, S)));
1049
1062
  },
1050
- d(w) {
1051
- w && (M(e), M(p), M(f), M(h), M(_)), O.d(), X.d(), S.d(w), A = !1, W();
1063
+ d(v) {
1064
+ v && (E(e), E(d), E(f), E(h), E(S)), W.d(), X.d(), b.d(v), j = !1, V();
1052
1065
  }
1053
1066
  };
1054
1067
  }
1055
- function ki(i) {
1068
+ function bi(i) {
1056
1069
  let e;
1057
1070
  return {
1058
1071
  c() {
1059
- e = b("div"), L(e, "class", "LoadingIndicator");
1072
+ e = _("div"), L(e, "class", "LoadingIndicator");
1060
1073
  },
1061
1074
  m(t, a) {
1062
- z(t, e, a);
1075
+ x(t, e, a);
1063
1076
  },
1064
1077
  p: re,
1065
1078
  d(t) {
1066
- t && M(e);
1079
+ t && E(e);
1067
1080
  }
1068
1081
  };
1069
1082
  }
1070
- function bi(i) {
1083
+ function wi(i) {
1071
1084
  let e, t, a, n, s, r;
1072
1085
  return {
1073
1086
  c() {
1074
- e = x("svg"), t = x("defs"), a = x("style"), n = N(`.fil0 {fill:black;fill-rule:nonzero}
1075
- `), s = x("g"), r = x("polygon"), L(a, "type", "text/css"), L(r, "class", "fil0"), L(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "xml:space", "preserve"), L(e, "version", "1.1"), ve(e, "shape-rendering", "geometricPrecision"), ve(e, "text-rendering", "geometricPrecision"), ve(e, "image-rendering", "optimizeQuality"), L(e, "viewBox", "0 0 90 69"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "fill-rule", "evenodd"), L(e, "clip-rule", "evenodd");
1087
+ e = C("svg"), t = C("defs"), a = C("style"), n = U(`.fil0 {fill:black;fill-rule:nonzero}
1088
+ `), s = C("g"), r = C("polygon"), L(a, "type", "text/css"), L(r, "class", "fil0"), L(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "xml:space", "preserve"), L(e, "version", "1.1"), he(e, "shape-rendering", "geometricPrecision"), he(e, "text-rendering", "geometricPrecision"), he(e, "image-rendering", "optimizeQuality"), L(e, "viewBox", "0 0 90 69"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "fill-rule", "evenodd"), L(e, "clip-rule", "evenodd");
1076
1089
  },
1077
- m(p, f) {
1078
- z(p, e, f), u(e, t), u(t, a), u(a, n), u(e, s), u(s, r);
1090
+ m(d, f) {
1091
+ x(d, e, f), p(e, t), p(t, a), p(a, n), p(e, s), p(s, r);
1079
1092
  },
1080
- d(p) {
1081
- p && M(e);
1093
+ d(d) {
1094
+ d && E(e);
1082
1095
  }
1083
1096
  };
1084
1097
  }
1085
- function wi(i) {
1098
+ function _i(i) {
1086
1099
  let e, t, a;
1087
1100
  return {
1088
1101
  c() {
1089
- e = x("svg"), t = x("g"), a = x("path"), L(a, "id", "XMLID_6_"), L(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
1102
+ e = C("svg"), t = C("g"), a = C("path"), L(a, "id", "XMLID_6_"), L(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
1090
1103
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
1091
1104
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
1092
- h256.5v-82.1H429v366.5H429.9z`), L(t, "id", "XMLID_1_"), L(e, "version", "1.1"), L(e, "id", "Layer_1"), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "viewBox", "0 0 512 512"), ve(e, "enable-background", "new 0 0 512 512"), L(e, "xml:space", "preserve");
1105
+ h256.5v-82.1H429v366.5H429.9z`), L(t, "id", "XMLID_1_"), L(e, "version", "1.1"), L(e, "id", "Layer_1"), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "viewBox", "0 0 512 512"), he(e, "enable-background", "new 0 0 512 512"), L(e, "xml:space", "preserve");
1093
1106
  },
1094
1107
  m(n, s) {
1095
- z(n, e, s), u(e, t), u(t, a);
1108
+ x(n, e, s), p(e, t), p(t, a);
1096
1109
  },
1097
1110
  d(n) {
1098
- n && M(e);
1111
+ n && E(e);
1099
1112
  }
1100
1113
  };
1101
1114
  }
1102
- function _i(i) {
1103
- let e, t, a, n, s, r, p, f, m, d, y, P, h, _, A, W, q, K, O;
1115
+ function Si(i) {
1116
+ let e, t, a, n, s, r, d, f, u, c, y, M, h, S, j, V, R, G, W;
1104
1117
  return {
1105
1118
  c() {
1106
- e = x("svg"), t = x("g"), a = x("path"), n = x("path"), s = x("g"), r = x("g"), p = x("g"), f = x("g"), m = x("g"), d = x("g"), y = x("g"), P = x("g"), h = x("g"), _ = x("g"), A = x("g"), W = x("g"), q = x("g"), K = x("g"), O = x("g"), L(a, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
1119
+ e = C("svg"), t = C("g"), a = C("path"), n = C("path"), s = C("g"), r = C("g"), d = C("g"), f = C("g"), u = C("g"), c = C("g"), y = C("g"), M = C("g"), h = C("g"), S = C("g"), j = C("g"), V = C("g"), R = C("g"), G = C("g"), W = C("g"), L(a, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
1107
1120
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), L(n, "d", `M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
1108
1121
  s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
1109
1122
  s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
1110
- c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`), L(e, "version", "1.1"), L(e, "id", "Capa_1"), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "viewBox", "0 0 52 52"), ve(e, "enable-background", "new 0 0 52 52"), L(e, "xml:space", "preserve");
1123
+ c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`), L(e, "version", "1.1"), L(e, "id", "Capa_1"), L(e, "xmlns", "http://www.w3.org/2000/svg"), L(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), L(e, "x", "0px"), L(e, "y", "0px"), L(e, "viewBox", "0 0 52 52"), he(e, "enable-background", "new 0 0 52 52"), L(e, "xml:space", "preserve");
1111
1124
  },
1112
- m(G, ee) {
1113
- z(G, e, ee), u(e, t), u(t, a), u(t, n), u(e, s), u(e, r), u(e, p), u(e, f), u(e, m), u(e, d), u(e, y), u(e, P), u(e, h), u(e, _), u(e, A), u(e, W), u(e, q), u(e, K), u(e, O);
1125
+ m(Y, q) {
1126
+ x(Y, e, q), p(e, t), p(t, a), p(t, n), p(e, s), p(e, r), p(e, d), p(e, f), p(e, u), p(e, c), p(e, y), p(e, M), p(e, h), p(e, S), p(e, j), p(e, V), p(e, R), p(e, G), p(e, W);
1114
1127
  },
1115
- d(G) {
1116
- G && M(e);
1128
+ d(Y) {
1129
+ Y && E(e);
1117
1130
  }
1118
1131
  };
1119
1132
  }
1120
- function Si(i) {
1133
+ function Di(i) {
1121
1134
  let e, t = (
1122
1135
  /*$_*/
1123
1136
  i[25]("popupSuccess") + ""
1124
1137
  ), a;
1125
1138
  return {
1126
1139
  c() {
1127
- e = b("p"), a = N(t);
1140
+ e = _("p"), a = U(t);
1128
1141
  },
1129
1142
  m(n, s) {
1130
- z(n, e, s), u(e, a);
1143
+ x(n, e, s), p(e, a);
1131
1144
  },
1132
1145
  p(n, s) {
1133
1146
  s[0] & /*$_*/
1134
1147
  33554432 && t !== (t = /*$_*/
1135
- n[25]("popupSuccess") + "") && V(a, t);
1148
+ n[25]("popupSuccess") + "") && F(a, t);
1136
1149
  },
1137
1150
  d(n) {
1138
- n && M(e);
1151
+ n && E(e);
1139
1152
  }
1140
1153
  };
1141
1154
  }
1142
- function Di(i) {
1155
+ function Ti(i) {
1143
1156
  let e, t = (
1144
1157
  /*$_*/
1145
1158
  i[25]("docsRequired") + ""
1146
1159
  ), a;
1147
1160
  return {
1148
1161
  c() {
1149
- e = b("p"), a = N(t);
1162
+ e = _("p"), a = U(t);
1150
1163
  },
1151
1164
  m(n, s) {
1152
- z(n, e, s), u(e, a);
1165
+ x(n, e, s), p(e, a);
1153
1166
  },
1154
1167
  p(n, s) {
1155
1168
  s[0] & /*$_*/
1156
1169
  33554432 && t !== (t = /*$_*/
1157
- n[25]("docsRequired") + "") && V(a, t);
1170
+ n[25]("docsRequired") + "") && F(a, t);
1158
1171
  },
1159
1172
  d(n) {
1160
- n && M(e);
1173
+ n && E(e);
1161
1174
  }
1162
1175
  };
1163
1176
  }
1164
- function Ti(i) {
1177
+ function ji(i) {
1165
1178
  let e, t = (
1166
1179
  /*$_*/
1167
1180
  i[25]("popupError") + ""
1168
1181
  ), a;
1169
1182
  return {
1170
1183
  c() {
1171
- e = b("p"), a = N(t);
1184
+ e = _("p"), a = U(t);
1172
1185
  },
1173
1186
  m(n, s) {
1174
- z(n, e, s), u(e, a);
1187
+ x(n, e, s), p(e, a);
1175
1188
  },
1176
1189
  p(n, s) {
1177
1190
  s[0] & /*$_*/
1178
1191
  33554432 && t !== (t = /*$_*/
1179
- n[25]("popupError") + "") && V(a, t);
1192
+ n[25]("popupError") + "") && F(a, t);
1180
1193
  },
1181
1194
  d(n) {
1182
- n && M(e);
1195
+ n && E(e);
1183
1196
  }
1184
1197
  };
1185
1198
  }
1186
- function ji(i) {
1199
+ function Ai(i) {
1187
1200
  let e, t = (
1188
1201
  /*$_*/
1189
1202
  i[25]("okButton") + ""
1190
1203
  ), a, n, s;
1191
1204
  return {
1192
1205
  c() {
1193
- e = b("button"), a = N(t), L(e, "class", "ConfirmButton");
1206
+ e = _("button"), a = U(t), L(e, "class", "ConfirmButton");
1194
1207
  },
1195
- m(r, p) {
1196
- z(r, e, p), u(e, a), n || (s = $(
1208
+ m(r, d) {
1209
+ x(r, e, d), p(e, a), n || (s = ee(
1197
1210
  e,
1198
1211
  "click",
1199
1212
  /*closePopup*/
1200
- i[34]
1213
+ i[35]
1201
1214
  ), n = !0);
1202
1215
  },
1203
- p(r, p) {
1204
- p[0] & /*$_*/
1216
+ p(r, d) {
1217
+ d[0] & /*$_*/
1205
1218
  33554432 && t !== (t = /*$_*/
1206
- r[25]("okButton") + "") && V(a, t);
1219
+ r[25]("okButton") + "") && F(a, t);
1207
1220
  },
1208
1221
  d(r) {
1209
- r && M(e), n = !1, s();
1222
+ r && E(e), n = !1, s();
1210
1223
  }
1211
1224
  };
1212
1225
  }
1213
- function Ai(i) {
1226
+ function Ei(i) {
1214
1227
  let e, t = (
1215
1228
  /*$_*/
1216
1229
  i[25]("uploadDocumentsButton") + ""
1217
1230
  ), a, n, s = (
1218
1231
  /*$_*/
1219
1232
  i[25]("closeButton") + ""
1220
- ), r, p, f;
1233
+ ), r, d, f;
1221
1234
  return {
1222
1235
  c() {
1223
- e = b("button"), a = F(), n = b("button"), r = N(s), L(e, "class", "ConfirmButton"), L(n, "class", "CloseButton");
1236
+ e = _("button"), a = N(), n = _("button"), r = U(s), L(e, "class", "ConfirmButton"), L(n, "class", "CloseButton");
1224
1237
  },
1225
- m(m, d) {
1226
- z(m, e, d), e.innerHTML = t, z(m, a, d), z(m, n, d), u(n, r), p || (f = [
1227
- $(
1238
+ m(u, c) {
1239
+ x(u, e, c), e.innerHTML = t, x(u, a, c), x(u, n, c), p(n, r), d || (f = [
1240
+ ee(
1228
1241
  e,
1229
1242
  "click",
1230
1243
  /*uploadDocumentsTrigger*/
1231
- i[35]
1244
+ i[36]
1232
1245
  ),
1233
- $(
1246
+ ee(
1234
1247
  n,
1235
1248
  "click",
1236
1249
  /*closePopup*/
1237
- i[34]
1250
+ i[35]
1238
1251
  )
1239
- ], p = !0);
1252
+ ], d = !0);
1240
1253
  },
1241
- p(m, d) {
1242
- d[0] & /*$_*/
1254
+ p(u, c) {
1255
+ c[0] & /*$_*/
1243
1256
  33554432 && t !== (t = /*$_*/
1244
- m[25]("uploadDocumentsButton") + "") && (e.innerHTML = t), d[0] & /*$_*/
1257
+ u[25]("uploadDocumentsButton") + "") && (e.innerHTML = t), c[0] & /*$_*/
1245
1258
  33554432 && s !== (s = /*$_*/
1246
- m[25]("closeButton") + "") && V(r, s);
1259
+ u[25]("closeButton") + "") && F(r, s);
1247
1260
  },
1248
- d(m) {
1249
- m && (M(e), M(a), M(n)), p = !1, Me(f);
1261
+ d(u) {
1262
+ u && (E(e), E(a), E(n)), d = !1, Me(f);
1250
1263
  }
1251
1264
  };
1252
1265
  }
1253
1266
  function Mi(i) {
1254
- let e, t, a, n, s, r, p, f, m, d, y = (
1267
+ let e, t, a, n, s, r, d, f, u, c, y = (
1255
1268
  /*multiplePeriods*/
1256
1269
  i[15] ? `${/*$_*/
1257
1270
  i[25]("amount")}` : `${/*$_*/
1258
1271
  i[25](`new${/*selectedPeriod*/
1259
1272
  i[8]}Limit`)}`
1260
- ), P, h, _, A, W, q, K = (
1273
+ ), M, h, S, j, V, R, G = (
1261
1274
  /*$_*/
1262
1275
  i[25]("setLimit") + ""
1263
- ), O, G, ee, X, E = me(
1276
+ ), W, Y, q, X, te = me(
1264
1277
  /*availableLimits*/
1265
1278
  i[6]
1266
- ), k = [];
1267
- for (let D = 0; D < E.length; D += 1)
1268
- k[D] = $e(Ye(i, E, D));
1269
- let S = (
1279
+ ), T = [];
1280
+ for (let k = 0; k < te.length; k += 1)
1281
+ T[k] = Je(He(i, te, k));
1282
+ let b = (
1270
1283
  /*enablecompliancetext*/
1271
- i[1] === "true" && et(i)
1272
- ), w = (
1284
+ i[1] === "true" && $e(i)
1285
+ ), v = (
1273
1286
  /*multipleLimits*/
1274
- i[14] && tt(i)
1275
- ), C = (
1287
+ i[14] && et(i)
1288
+ ), A = (
1276
1289
  /*multiplePeriods*/
1277
- i[15] && at(i)
1278
- ), j = (
1290
+ i[15] && it(i)
1291
+ ), O = (
1279
1292
  /*invalidInput*/
1280
- i[24] && nt(i)
1293
+ i[24] && ot(i)
1281
1294
  );
1282
1295
  return {
1283
1296
  c() {
1284
- e = b("div"), t = b("div"), a = b("div");
1285
- for (let D = 0; D < k.length; D += 1)
1286
- k[D].c();
1287
- n = F(), s = b("form"), S && S.c(), r = F(), w && w.c(), p = F(), C && C.c(), f = F(), m = b("label"), d = b("span"), P = N(y), h = F(), _ = b("input"), A = F(), j && j.c(), W = F(), q = b("button"), O = N(K), L(a, "class", "LimitsList " + /*isDesktop*/
1288
- (i[26] ? "Desktop" : "")), L(d, "class", "LimitInputText"), L(_, "type", "number"), L(_, "pattern", "[0-9]*"), L(m, "class", "LimitAmountInputWrapper"), L(q, "class", "LimitSubmitButton"), L(q, "type", "button"), q.disabled = !0, L(s, "class", "LimitsInteractionArea " + /*isDesktop*/
1289
- (i[26] ? "Desktop" : "")), L(t, "class", "LimitsPageContainer"), L(e, "class", G = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1297
+ e = _("div"), t = _("div"), a = _("div");
1298
+ for (let k = 0; k < T.length; k += 1)
1299
+ T[k].c();
1300
+ n = N(), s = _("form"), b && b.c(), r = N(), v && v.c(), d = N(), A && A.c(), f = N(), u = _("label"), c = _("span"), M = U(y), h = N(), S = _("input"), j = N(), O && O.c(), V = N(), R = _("button"), W = U(G), L(a, "class", "LimitsList " + /*isDesktop*/
1301
+ (i[26] ? "Desktop" : "")), L(c, "class", "LimitInputText"), L(S, "type", "number"), L(S, "pattern", "[0-9]*"), L(u, "class", "LimitAmountInputWrapper"), L(R, "class", "LimitSubmitButton"), L(R, "type", "button"), R.disabled = !0, L(s, "class", "LimitsInteractionArea " + /*isDesktop*/
1302
+ (i[26] ? "Desktop" : "")), L(t, "class", "LimitsPageContainer"), L(e, "class", Y = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1290
1303
  i[3]));
1291
1304
  },
1292
- m(D, B) {
1293
- z(D, e, B), u(e, t), u(t, a);
1294
- for (let I = 0; I < k.length; I += 1)
1295
- k[I] && k[I].m(a, null);
1296
- u(t, n), u(t, s), S && S.m(s, null), u(s, r), w && w.m(s, null), u(s, p), C && C.m(s, null), u(s, f), u(s, m), u(m, d), u(d, P), u(m, h), u(m, _), ke(
1297
- _,
1305
+ m(k, B) {
1306
+ x(k, e, B), p(e, t), p(t, a);
1307
+ for (let I = 0; I < T.length; I += 1)
1308
+ T[I] && T[I].m(a, null);
1309
+ p(t, n), p(t, s), b && b.m(s, null), p(s, r), v && v.m(s, null), p(s, d), A && A.m(s, null), p(s, f), p(s, u), p(u, c), p(c, M), p(u, h), p(u, S), ve(
1310
+ S,
1298
1311
  /*inputAmount*/
1299
1312
  i[10]
1300
- ), u(m, A), j && j.m(m, null), u(s, W), u(s, q), u(q, O), i[54](q), ee || (X = [
1301
- $(
1302
- _,
1313
+ ), p(u, j), O && O.m(u, null), p(s, V), p(s, R), p(R, W), i[56](R), q || (X = [
1314
+ ee(
1315
+ S,
1303
1316
  "input",
1304
1317
  /*input_input_handler*/
1305
- i[53]
1318
+ i[55]
1306
1319
  ),
1307
- $(
1308
- _,
1320
+ ee(
1321
+ S,
1309
1322
  "keydown",
1310
1323
  /*preventEnterSubmit*/
1311
- i[36]
1324
+ i[37]
1312
1325
  ),
1313
- $(
1314
- _,
1326
+ ee(
1327
+ S,
1315
1328
  "keyup",
1316
1329
  /*updateInputValue*/
1317
1330
  i[30]
1318
1331
  ),
1319
- $(
1320
- q,
1332
+ ee(
1333
+ R,
1321
1334
  "click",
1322
1335
  /*updateLimitsSwitch*/
1323
1336
  i[29]
1324
1337
  ),
1325
- $(
1338
+ ee(
1326
1339
  s,
1327
1340
  "submit",
1328
1341
  /*updateLimitsSwitch*/
1329
1342
  i[29]
1330
1343
  )
1331
- ], ee = !0);
1344
+ ], q = !0);
1332
1345
  },
1333
- p(D, B) {
1346
+ p(k, B) {
1334
1347
  if (B[0] & /*isDesktop, $_, availableLimits, deletelimit*/
1335
- 100663364 | B[1] & /*removeLimitSwitch, determineLimitName*/
1336
- 6) {
1337
- E = me(
1348
+ 100663364 | B[1] & /*removeLimitSwitch, getFormatedAmount, determineLimitName*/
1349
+ 14) {
1350
+ te = me(
1338
1351
  /*availableLimits*/
1339
- D[6]
1352
+ k[6]
1340
1353
  );
1341
1354
  let I;
1342
- for (I = 0; I < E.length; I += 1) {
1343
- const ue = Ye(D, E, I);
1344
- k[I] ? k[I].p(ue, B) : (k[I] = $e(ue), k[I].c(), k[I].m(a, null));
1355
+ for (I = 0; I < te.length; I += 1) {
1356
+ const oe = He(k, te, I);
1357
+ T[I] ? T[I].p(oe, B) : (T[I] = Je(oe), T[I].c(), T[I].m(a, null));
1345
1358
  }
1346
- for (; I < k.length; I += 1)
1347
- k[I].d(1);
1348
- k.length = E.length;
1359
+ for (; I < T.length; I += 1)
1360
+ T[I].d(1);
1361
+ T.length = te.length;
1349
1362
  }
1350
1363
  /*enablecompliancetext*/
1351
- D[1] === "true" ? S ? S.p(D, B) : (S = et(D), S.c(), S.m(s, r)) : S && (S.d(1), S = null), /*multipleLimits*/
1352
- D[14] ? w ? w.p(D, B) : (w = tt(D), w.c(), w.m(s, p)) : w && (w.d(1), w = null), /*multiplePeriods*/
1353
- D[15] ? C ? C.p(D, B) : (C = at(D), C.c(), C.m(s, f)) : C && (C.d(1), C = null), B[0] & /*multiplePeriods, $_, selectedPeriod*/
1364
+ k[1] === "true" ? b ? b.p(k, B) : (b = $e(k), b.c(), b.m(s, r)) : b && (b.d(1), b = null), /*multipleLimits*/
1365
+ k[14] ? v ? v.p(k, B) : (v = et(k), v.c(), v.m(s, d)) : v && (v.d(1), v = null), /*multiplePeriods*/
1366
+ k[15] ? A ? A.p(k, B) : (A = it(k), A.c(), A.m(s, f)) : A && (A.d(1), A = null), B[0] & /*multiplePeriods, $_, selectedPeriod*/
1354
1367
  33587456 && y !== (y = /*multiplePeriods*/
1355
- D[15] ? `${/*$_*/
1356
- D[25]("amount")}` : `${/*$_*/
1357
- D[25](`new${/*selectedPeriod*/
1358
- D[8]}Limit`)}`) && V(P, y), B[0] & /*inputAmount*/
1359
- 1024 && st(_.value) !== /*inputAmount*/
1360
- D[10] && ke(
1361
- _,
1368
+ k[15] ? `${/*$_*/
1369
+ k[25]("amount")}` : `${/*$_*/
1370
+ k[25](`new${/*selectedPeriod*/
1371
+ k[8]}Limit`)}`) && F(M, y), B[0] & /*inputAmount*/
1372
+ 1024 && nt(S.value) !== /*inputAmount*/
1373
+ k[10] && ve(
1374
+ S,
1362
1375
  /*inputAmount*/
1363
- D[10]
1376
+ k[10]
1364
1377
  ), /*invalidInput*/
1365
- D[24] ? j ? j.p(D, B) : (j = nt(D), j.c(), j.m(m, null)) : j && (j.d(1), j = null), B[0] & /*$_*/
1366
- 33554432 && K !== (K = /*$_*/
1367
- D[25]("setLimit") + "") && V(O, K), B[0] & /*limittabindex*/
1368
- 8 && G !== (G = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1369
- D[3])) && L(e, "class", G);
1370
- },
1371
- d(D) {
1372
- D && M(e), _e(k, D), S && S.d(), w && w.d(), C && C.d(), j && j.d(), i[54](null), ee = !1, Me(X);
1378
+ k[24] ? O ? O.p(k, B) : (O = ot(k), O.c(), O.m(u, null)) : O && (O.d(1), O = null), B[0] & /*$_*/
1379
+ 33554432 && G !== (G = /*$_*/
1380
+ k[25]("setLimit") + "") && F(W, G), B[0] & /*limittabindex*/
1381
+ 8 && Y !== (Y = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1382
+ k[3])) && L(e, "class", Y);
1383
+ },
1384
+ d(k) {
1385
+ k && E(e), Se(T, k), b && b.d(), v && v.d(), A && A.d(), O && O.d(), i[56](null), q = !1, Me(X);
1373
1386
  }
1374
1387
  };
1375
1388
  }
1376
- function Pi(i) {
1389
+ function xi(i) {
1377
1390
  let e;
1378
1391
  return {
1379
1392
  c() {
1380
- e = b("p"), e.textContent = "500 Server error";
1393
+ e = _("p"), e.textContent = "500 Server error";
1381
1394
  },
1382
1395
  m(t, a) {
1383
- z(t, e, a);
1396
+ x(t, e, a);
1384
1397
  },
1385
1398
  p: re,
1386
1399
  d(t) {
1387
- t && M(e);
1400
+ t && E(e);
1388
1401
  }
1389
1402
  };
1390
1403
  }
1391
- function zi(i) {
1404
+ function Pi(i) {
1392
1405
  return { c: re, m: re, p: re, d: re };
1393
1406
  }
1394
- function Ci(i) {
1407
+ function zi(i) {
1395
1408
  let e;
1396
1409
  return {
1397
1410
  c() {
1398
- e = b("div"), L(e, "class", "LoadingIndicator");
1411
+ e = _("div"), L(e, "class", "LoadingIndicator");
1399
1412
  },
1400
1413
  m(t, a) {
1401
- z(t, e, a);
1414
+ x(t, e, a);
1402
1415
  },
1403
1416
  p: re,
1404
1417
  d(t) {
1405
- t && M(e);
1418
+ t && E(e);
1406
1419
  }
1407
1420
  };
1408
1421
  }
1409
- function Ei(i) {
1422
+ function Ci(i) {
1410
1423
  let e, t, a, n = (
1411
1424
  /*$_*/
1412
1425
  i[25]("noLimitText") + ""
1413
1426
  ), s;
1414
1427
  return {
1415
1428
  c() {
1416
- e = b("div"), t = b("div"), a = b("div"), s = N(n), L(a, "class", "LimitDetailsTextWrapper"), L(t, "class", "LimitDetailsWrapper"), L(e, "class", "LimitDetails");
1429
+ e = _("div"), t = _("div"), a = _("div"), s = U(n), L(a, "class", "LimitDetailsTextWrapper"), L(t, "class", "LimitDetailsWrapper"), L(e, "class", "LimitDetails");
1417
1430
  },
1418
- m(r, p) {
1419
- z(r, e, p), u(e, t), u(t, a), u(a, s);
1431
+ m(r, d) {
1432
+ x(r, e, d), p(e, t), p(t, a), p(a, s);
1420
1433
  },
1421
- p(r, p) {
1422
- p[0] & /*$_*/
1434
+ p(r, d) {
1435
+ d[0] & /*$_*/
1423
1436
  33554432 && n !== (n = /*$_*/
1424
- r[25]("noLimitText") + "") && V(s, n);
1437
+ r[25]("noLimitText") + "") && F(s, n);
1425
1438
  },
1426
1439
  d(r) {
1427
- r && M(e);
1440
+ r && E(e);
1428
1441
  }
1429
1442
  };
1430
1443
  }
1431
- function xi(i) {
1444
+ function Ii(i) {
1432
1445
  let e, t, a, n = (
1433
1446
  /*$_*/
1434
1447
  i[25]("lugasPrivacy") + ""
1435
1448
  ), s;
1436
1449
  return {
1437
1450
  c() {
1438
- e = b("div"), t = b("div"), a = b("div"), s = N(n), L(a, "class", "LimitDetailsTextWrapper"), L(t, "class", "LimitDetailsWrapper"), L(e, "class", "LimitDetails");
1451
+ e = _("div"), t = _("div"), a = _("div"), s = U(n), L(a, "class", "LimitDetailsTextWrapper"), L(t, "class", "LimitDetailsWrapper"), L(e, "class", "LimitDetails");
1439
1452
  },
1440
- m(r, p) {
1441
- z(r, e, p), u(e, t), u(t, a), u(a, s);
1453
+ m(r, d) {
1454
+ x(r, e, d), p(e, t), p(t, a), p(a, s);
1442
1455
  },
1443
- p(r, p) {
1444
- p[0] & /*$_*/
1456
+ p(r, d) {
1457
+ d[0] & /*$_*/
1445
1458
  33554432 && n !== (n = /*$_*/
1446
- r[25]("lugasPrivacy") + "") && V(s, n);
1459
+ r[25]("lugasPrivacy") + "") && F(s, n);
1447
1460
  },
1448
1461
  d(r) {
1449
- r && M(e);
1462
+ r && E(e);
1450
1463
  }
1451
1464
  };
1452
1465
  }
1453
1466
  function Ui(i) {
1454
1467
  let e, t = me(
1455
1468
  /*limit*/
1456
- i[113].currentLimits
1469
+ i[114].currentLimits
1457
1470
  ), a = [];
1458
1471
  for (let n = 0; n < t.length; n += 1)
1459
- a[n] = Je(Xe(i, t, n));
1472
+ a[n] = Qe(Ye(i, t, n));
1460
1473
  return {
1461
1474
  c() {
1462
1475
  for (let n = 0; n < a.length; n += 1)
1463
1476
  a[n].c();
1464
- e = rt();
1477
+ e = st();
1465
1478
  },
1466
1479
  m(n, s) {
1467
1480
  for (let r = 0; r < a.length; r += 1)
1468
1481
  a[r] && a[r].m(n, s);
1469
- z(n, e, s);
1482
+ x(n, e, s);
1470
1483
  },
1471
1484
  p(n, s) {
1472
1485
  if (s[0] & /*availableLimits, $_, deletelimit*/
1473
- 33554500 | s[1] & /*removeLimitSwitch*/
1474
- 2) {
1486
+ 33554500 | s[1] & /*removeLimitSwitch, getFormatedAmount*/
1487
+ 10) {
1475
1488
  t = me(
1476
1489
  /*limit*/
1477
- n[113].currentLimits
1490
+ n[114].currentLimits
1478
1491
  );
1479
1492
  let r;
1480
1493
  for (r = 0; r < t.length; r += 1) {
1481
- const p = Xe(n, t, r);
1482
- a[r] ? a[r].p(p, s) : (a[r] = Je(p), a[r].c(), a[r].m(e.parentNode, e));
1494
+ const d = Ye(n, t, r);
1495
+ a[r] ? a[r].p(d, s) : (a[r] = Qe(d), a[r].c(), a[r].m(e.parentNode, e));
1483
1496
  }
1484
1497
  for (; r < a.length; r += 1)
1485
1498
  a[r].d(1);
@@ -1487,95 +1500,99 @@ function Ui(i) {
1487
1500
  }
1488
1501
  },
1489
1502
  d(n) {
1490
- n && M(e), _e(a, n);
1503
+ n && E(e), Se(a, n);
1491
1504
  }
1492
1505
  };
1493
1506
  }
1494
- function Ii(i) {
1507
+ function Ni(i) {
1495
1508
  let e, t, a, n = (
1496
1509
  /*$_*/
1497
1510
  i[25]("lugasPrivacy") + ""
1498
1511
  ), s;
1499
1512
  return {
1500
1513
  c() {
1501
- e = b("div"), t = b("div"), a = b("div"), s = N(n), L(a, "class", "LimitDetailsTextWrapper"), L(t, "class", "LimitDetailsWrapper"), L(e, "class", "LimitDetails");
1514
+ e = _("div"), t = _("div"), a = _("div"), s = U(n), L(a, "class", "LimitDetailsTextWrapper"), L(t, "class", "LimitDetailsWrapper"), L(e, "class", "LimitDetails");
1502
1515
  },
1503
- m(r, p) {
1504
- z(r, e, p), u(e, t), u(t, a), u(a, s);
1516
+ m(r, d) {
1517
+ x(r, e, d), p(e, t), p(t, a), p(a, s);
1505
1518
  },
1506
- p(r, p) {
1507
- p[0] & /*$_*/
1519
+ p(r, d) {
1520
+ d[0] & /*$_*/
1508
1521
  33554432 && n !== (n = /*$_*/
1509
- r[25]("lugasPrivacy") + "") && V(s, n);
1522
+ r[25]("lugasPrivacy") + "") && F(s, n);
1510
1523
  },
1511
1524
  d(r) {
1512
- r && M(e);
1525
+ r && E(e);
1513
1526
  }
1514
1527
  };
1515
1528
  }
1516
- function Ni(i) {
1529
+ function Fi(i) {
1517
1530
  let e, t = `${/*$_*/
1518
1531
  i[25]("removedLimitText")} ${/*currentLimit*/
1519
- i[118].expiryDate}`, a;
1532
+ i[119].expiryDate}`, a;
1520
1533
  return {
1521
1534
  c() {
1522
- e = b("div"), a = N(t), L(e, "class", "PendingLimit");
1535
+ e = _("div"), a = U(t), L(e, "class", "PendingLimit");
1523
1536
  },
1524
1537
  m(n, s) {
1525
- z(n, e, s), u(e, a);
1538
+ x(n, e, s), p(e, a);
1526
1539
  },
1527
1540
  p(n, s) {
1528
1541
  s[0] & /*$_, availableLimits*/
1529
1542
  33554496 && t !== (t = `${/*$_*/
1530
1543
  n[25]("removedLimitText")} ${/*currentLimit*/
1531
- n[118].expiryDate}`) && V(a, t);
1544
+ n[119].expiryDate}`) && F(a, t);
1532
1545
  },
1533
1546
  d(n) {
1534
- n && M(e);
1547
+ n && E(e);
1535
1548
  }
1536
1549
  };
1537
1550
  }
1538
- function Fi(i) {
1539
- let e, t = `${/*currentLimit*/
1540
- i[118].updateAmount}${/*currentLimit*/
1541
- i[118].currency} ${/*currentLimit*/
1542
- i[118].period !== "None" || /*currentLimit*/
1543
- i[118].value !== "cumulativeSession" ? " " : (
1551
+ function Vi(i) {
1552
+ let e, t = `${/*getFormatedAmount*/
1553
+ i[34](
1554
+ /*currentLimit*/
1555
+ i[119]
1556
+ )} ${/*currentLimit*/
1557
+ i[119].period !== "None" || /*currentLimit*/
1558
+ i[119].value !== "cumulativeSession" ? " " : (
1544
1559
  /*$_*/
1545
1560
  i[25]("per")
1546
1561
  )} ${/*$_*/
1547
1562
  i[25](`${/*currentLimit*/
1548
- i[118].period}`)} ${/*$_*/
1563
+ i[119].period}`)} ${/*$_*/
1549
1564
  i[25]("updateText")} ${/*currentLimit*/
1550
- i[118].expiryDate}`, a;
1565
+ i[119].expiryDate}`, a;
1551
1566
  return {
1552
1567
  c() {
1553
- e = b("div"), a = N(t), L(e, "class", "PendingLimit");
1568
+ e = _("div"), a = U(t), L(e, "class", "PendingLimit");
1554
1569
  },
1555
1570
  m(n, s) {
1556
- z(n, e, s), u(e, a);
1571
+ x(n, e, s), p(e, a);
1557
1572
  },
1558
1573
  p(n, s) {
1559
1574
  s[0] & /*availableLimits, $_*/
1560
- 33554496 && t !== (t = `${/*currentLimit*/
1561
- n[118].updateAmount}${/*currentLimit*/
1562
- n[118].currency} ${/*currentLimit*/
1563
- n[118].period !== "None" || /*currentLimit*/
1564
- n[118].value !== "cumulativeSession" ? " " : (
1575
+ 33554496 && t !== (t = `${/*getFormatedAmount*/
1576
+ n[34](
1577
+ /*currentLimit*/
1578
+ n[119]
1579
+ )} ${/*currentLimit*/
1580
+ n[119].period !== "None" || /*currentLimit*/
1581
+ n[119].value !== "cumulativeSession" ? " " : (
1565
1582
  /*$_*/
1566
1583
  n[25]("per")
1567
1584
  )} ${/*$_*/
1568
1585
  n[25](`${/*currentLimit*/
1569
- n[118].period}`)} ${/*$_*/
1586
+ n[119].period}`)} ${/*$_*/
1570
1587
  n[25]("updateText")} ${/*currentLimit*/
1571
- n[118].expiryDate}`) && V(a, t);
1588
+ n[119].expiryDate}`) && F(a, t);
1572
1589
  },
1573
1590
  d(n) {
1574
- n && M(e);
1591
+ n && E(e);
1575
1592
  }
1576
1593
  };
1577
1594
  }
1578
- function Qe(i) {
1595
+ function Ze(i) {
1579
1596
  let e, t = (
1580
1597
  /*$_*/
1581
1598
  i[25]("removeLimit") + ""
@@ -1583,302 +1600,306 @@ function Qe(i) {
1583
1600
  function r() {
1584
1601
  return (
1585
1602
  /*click_handler*/
1586
- i[49](
1603
+ i[51](
1587
1604
  /*currentLimit*/
1588
- i[118]
1605
+ i[119]
1589
1606
  )
1590
1607
  );
1591
1608
  }
1592
1609
  return {
1593
1610
  c() {
1594
- e = b("button"), a = N(t), L(e, "class", "RemoveLimitButton");
1611
+ e = _("button"), a = U(t), L(e, "class", "RemoveLimitButton");
1595
1612
  },
1596
- m(p, f) {
1597
- z(p, e, f), u(e, a), n || (s = $(e, "click", r), n = !0);
1613
+ m(d, f) {
1614
+ x(d, e, f), p(e, a), n || (s = ee(e, "click", r), n = !0);
1598
1615
  },
1599
- p(p, f) {
1600
- i = p, f[0] & /*$_*/
1616
+ p(d, f) {
1617
+ i = d, f[0] & /*$_*/
1601
1618
  33554432 && t !== (t = /*$_*/
1602
- i[25]("removeLimit") + "") && V(a, t);
1619
+ i[25]("removeLimit") + "") && F(a, t);
1603
1620
  },
1604
- d(p) {
1605
- p && M(e), n = !1, s();
1621
+ d(d) {
1622
+ d && E(e), n = !1, s();
1606
1623
  }
1607
1624
  };
1608
1625
  }
1609
- function Je(i) {
1610
- let e, t, a, n = `${/*currentLimit*/
1611
- i[118].amount}${/*currentLimit*/
1612
- i[118].currency} ${/*currentLimit*/
1613
- i[118].period !== "None" || /*currentLimit*/
1614
- i[118].value !== "cumulativeSession" ? " " : (
1626
+ function Qe(i) {
1627
+ let e, t, a, n = `${/*getFormatedAmount*/
1628
+ i[34](
1629
+ /*currentLimit*/
1630
+ i[119]
1631
+ )} ${/*currentLimit*/
1632
+ i[119].period !== "None" || /*currentLimit*/
1633
+ i[119].value !== "cumulativeSession" ? " " : (
1615
1634
  /*$_*/
1616
1635
  i[25]("per")
1617
1636
  )} ${/*$_*/
1618
1637
  i[25](`${/*currentLimit*/
1619
- i[118].period}`)}`, s, r, p, f, m = !/*currentLimit*/
1620
- i[118].isModified && /*deletelimit*/
1638
+ i[119].period}`)}`, s, r, d, f, u = !/*currentLimit*/
1639
+ i[119].isModified && /*deletelimit*/
1621
1640
  i[2].indexOf(
1622
1641
  /*limit*/
1623
- i[113].value
1624
- ) > -1, d;
1625
- function y(A, W) {
1626
- if (W[0] & /*availableLimits*/
1627
- 64 && (p = null), p == null && (p = !!/*currentLimit*/
1628
- (A[118].isModified && +/*currentLimit*/
1629
- A[118].updateAmount.replaceAll(",", "") > 0)), p) return Fi;
1642
+ i[114].value
1643
+ ) > -1, c;
1644
+ function y(j, V) {
1645
+ if (V[0] & /*availableLimits*/
1646
+ 64 && (d = null), d == null && (d = !!/*currentLimit*/
1647
+ (j[119].isModified && +/*currentLimit*/
1648
+ j[119].updateAmount.replaceAll(",", "") > 0)), d) return Vi;
1630
1649
  if (
1631
1650
  /*currentLimit*/
1632
- A[118].isModified
1633
- ) return Ni;
1651
+ j[119].isModified
1652
+ ) return Fi;
1634
1653
  }
1635
- let P = y(i, [-1, -1, -1, -1]), h = P && P(i), _ = m && Qe(i);
1654
+ let M = y(i, [-1, -1, -1, -1]), h = M && M(i), S = u && Ze(i);
1636
1655
  return {
1637
1656
  c() {
1638
- e = b("div"), t = b("div"), a = b("div"), s = N(n), r = F(), h && h.c(), f = F(), _ && _.c(), d = F(), L(a, "class", "CurrentLimit"), L(t, "class", "LimitDetailsTextWrapper"), L(e, "class", "LimitDetails");
1639
- },
1640
- m(A, W) {
1641
- z(A, e, W), u(e, t), u(t, a), u(a, s), u(t, r), h && h.m(t, null), u(e, f), _ && _.m(e, null), u(e, d);
1642
- },
1643
- p(A, W) {
1644
- W[0] & /*availableLimits, $_*/
1645
- 33554496 && n !== (n = `${/*currentLimit*/
1646
- A[118].amount}${/*currentLimit*/
1647
- A[118].currency} ${/*currentLimit*/
1648
- A[118].period !== "None" || /*currentLimit*/
1649
- A[118].value !== "cumulativeSession" ? " " : (
1657
+ e = _("div"), t = _("div"), a = _("div"), s = U(n), r = N(), h && h.c(), f = N(), S && S.c(), c = N(), L(a, "class", "CurrentLimit"), L(t, "class", "LimitDetailsTextWrapper"), L(e, "class", "LimitDetails");
1658
+ },
1659
+ m(j, V) {
1660
+ x(j, e, V), p(e, t), p(t, a), p(a, s), p(t, r), h && h.m(t, null), p(e, f), S && S.m(e, null), p(e, c);
1661
+ },
1662
+ p(j, V) {
1663
+ V[0] & /*availableLimits, $_*/
1664
+ 33554496 && n !== (n = `${/*getFormatedAmount*/
1665
+ j[34](
1666
+ /*currentLimit*/
1667
+ j[119]
1668
+ )} ${/*currentLimit*/
1669
+ j[119].period !== "None" || /*currentLimit*/
1670
+ j[119].value !== "cumulativeSession" ? " " : (
1650
1671
  /*$_*/
1651
- A[25]("per")
1672
+ j[25]("per")
1652
1673
  )} ${/*$_*/
1653
- A[25](`${/*currentLimit*/
1654
- A[118].period}`)}`) && V(s, n), P === (P = y(A, W)) && h ? h.p(A, W) : (h && h.d(1), h = P && P(A), h && (h.c(), h.m(t, null))), W[0] & /*availableLimits, deletelimit*/
1655
- 68 && (m = !/*currentLimit*/
1656
- A[118].isModified && /*deletelimit*/
1657
- A[2].indexOf(
1674
+ j[25](`${/*currentLimit*/
1675
+ j[119].period}`)}`) && F(s, n), M === (M = y(j, V)) && h ? h.p(j, V) : (h && h.d(1), h = M && M(j), h && (h.c(), h.m(t, null))), V[0] & /*availableLimits, deletelimit*/
1676
+ 68 && (u = !/*currentLimit*/
1677
+ j[119].isModified && /*deletelimit*/
1678
+ j[2].indexOf(
1658
1679
  /*limit*/
1659
- A[113].value
1660
- ) > -1), m ? _ ? _.p(A, W) : (_ = Qe(A), _.c(), _.m(e, d)) : _ && (_.d(1), _ = null);
1680
+ j[114].value
1681
+ ) > -1), u ? S ? S.p(j, V) : (S = Ze(j), S.c(), S.m(e, c)) : S && (S.d(1), S = null);
1661
1682
  },
1662
- d(A) {
1663
- A && M(e), h && h.d(), _ && _.d();
1683
+ d(j) {
1684
+ j && E(e), h && h.d(), S && S.d();
1664
1685
  }
1665
1686
  };
1666
1687
  }
1667
- function $e(i) {
1688
+ function Je(i) {
1668
1689
  let e, t, a = (
1669
1690
  /*determineLimitName*/
1670
1691
  i[33](
1671
1692
  /*limit*/
1672
- i[113]
1693
+ i[114]
1673
1694
  ) + ""
1674
1695
  ), n, s, r;
1675
- function p(d, y) {
1696
+ function d(c, y) {
1676
1697
  return (
1677
1698
  /*limit*/
1678
- d[113].value === "lugas" ? Ii : (
1699
+ c[114].value === "lugas" ? Ni : (
1679
1700
  /*limit*/
1680
- d[113].currentLimits.length > 0 ? Ui : (
1701
+ c[114].currentLimits.length > 0 ? Ui : (
1681
1702
  /*limit*/
1682
- d[113].value === "lugas" ? xi : Ei
1703
+ c[114].value === "lugas" ? Ii : Ci
1683
1704
  )
1684
1705
  )
1685
1706
  );
1686
1707
  }
1687
- let f = p(i), m = f(i);
1708
+ let f = d(i), u = f(i);
1688
1709
  return {
1689
1710
  c() {
1690
- e = b("div"), t = b("p"), n = N(a), s = F(), m.c(), r = F(), L(t, "class", "LimitTitle"), L(e, "class", "LimitWrapper " + /*isDesktop*/
1711
+ e = _("div"), t = _("p"), n = U(a), s = N(), u.c(), r = N(), L(t, "class", "LimitTitle"), L(e, "class", "LimitWrapper " + /*isDesktop*/
1691
1712
  (i[26] ? "Desktop" : ""));
1692
1713
  },
1693
- m(d, y) {
1694
- z(d, e, y), u(e, t), u(t, n), u(e, s), m.m(e, null), u(e, r);
1714
+ m(c, y) {
1715
+ x(c, e, y), p(e, t), p(t, n), p(e, s), u.m(e, null), p(e, r);
1695
1716
  },
1696
- p(d, y) {
1717
+ p(c, y) {
1697
1718
  y[0] & /*availableLimits*/
1698
1719
  64 && a !== (a = /*determineLimitName*/
1699
- d[33](
1720
+ c[33](
1700
1721
  /*limit*/
1701
- d[113]
1702
- ) + "") && V(n, a), f === (f = p(d)) && m ? m.p(d, y) : (m.d(1), m = f(d), m && (m.c(), m.m(e, r)));
1722
+ c[114]
1723
+ ) + "") && F(n, a), f === (f = d(c)) && u ? u.p(c, y) : (u.d(1), u = f(c), u && (u.c(), u.m(e, r)));
1703
1724
  },
1704
- d(d) {
1705
- d && M(e), m.d();
1725
+ d(c) {
1726
+ c && E(e), u.d();
1706
1727
  }
1707
1728
  };
1708
1729
  }
1709
- function et(i) {
1730
+ function $e(i) {
1710
1731
  let e, t, a = (
1711
1732
  /*$_*/
1712
1733
  i[25]("complianceText") + ""
1713
1734
  ), n;
1714
1735
  return {
1715
1736
  c() {
1716
- e = b("div"), t = b("p"), n = N(a), L(t, "class", "LimitComplianceText"), L(e, "class", "LimitCompliance");
1737
+ e = _("div"), t = _("p"), n = U(a), L(t, "class", "LimitComplianceText"), L(e, "class", "LimitCompliance");
1717
1738
  },
1718
1739
  m(s, r) {
1719
- z(s, e, r), u(e, t), u(t, n);
1740
+ x(s, e, r), p(e, t), p(t, n);
1720
1741
  },
1721
1742
  p(s, r) {
1722
1743
  r[0] & /*$_*/
1723
1744
  33554432 && a !== (a = /*$_*/
1724
- s[25]("complianceText") + "") && V(n, a);
1745
+ s[25]("complianceText") + "") && F(n, a);
1725
1746
  },
1726
1747
  d(s) {
1727
- s && M(e);
1748
+ s && E(e);
1728
1749
  }
1729
1750
  };
1730
1751
  }
1731
- function tt(i) {
1752
+ function et(i) {
1732
1753
  let e, t, a = (
1733
1754
  /*$_*/
1734
1755
  i[25]("limitType") + ""
1735
- ), n, s, r, p, f, m = me(
1756
+ ), n, s, r, d, f, u = me(
1736
1757
  /*availableLimits*/
1737
1758
  i[6]
1738
- ), d = [];
1739
- for (let y = 0; y < m.length; y += 1)
1740
- d[y] = it(He(i, m, y));
1759
+ ), c = [];
1760
+ for (let y = 0; y < u.length; y += 1)
1761
+ c[y] = tt(Ke(i, u, y));
1741
1762
  return {
1742
1763
  c() {
1743
- e = b("label"), t = b("span"), n = N(a), s = F(), r = b("select");
1744
- for (let y = 0; y < d.length; y += 1)
1745
- d[y].c();
1764
+ e = _("label"), t = _("span"), n = U(a), s = N(), r = _("select");
1765
+ for (let y = 0; y < c.length; y += 1)
1766
+ c[y].c();
1746
1767
  L(t, "class", "LimitSelectText"), L(r, "name", ""), L(r, "id", ""), /*selectedIndex*/
1747
- i[9] === void 0 && lt(() => (
1768
+ i[9] === void 0 && rt(() => (
1748
1769
  /*select_change_handler*/
1749
- i[50].call(r)
1770
+ i[52].call(r)
1750
1771
  )), L(e, "class", "LimitTypeDropdownWrapper");
1751
1772
  },
1752
- m(y, P) {
1753
- z(y, e, P), u(e, t), u(t, n), u(e, s), u(e, r);
1754
- for (let h = 0; h < d.length; h += 1)
1755
- d[h] && d[h].m(r, null);
1756
- we(
1773
+ m(y, M) {
1774
+ x(y, e, M), p(e, t), p(t, n), p(e, s), p(e, r);
1775
+ for (let h = 0; h < c.length; h += 1)
1776
+ c[h] && c[h].m(r, null);
1777
+ _e(
1757
1778
  r,
1758
1779
  /*selectedIndex*/
1759
1780
  i[9],
1760
1781
  !0
1761
- ), p || (f = [
1762
- $(
1782
+ ), d || (f = [
1783
+ ee(
1763
1784
  r,
1764
1785
  "change",
1765
1786
  /*select_change_handler*/
1766
- i[50]
1787
+ i[52]
1767
1788
  ),
1768
- $(
1789
+ ee(
1769
1790
  r,
1770
1791
  "change",
1771
1792
  /*change_handler*/
1772
- i[51]
1793
+ i[53]
1773
1794
  )
1774
- ], p = !0);
1795
+ ], d = !0);
1775
1796
  },
1776
- p(y, P) {
1777
- if (P[0] & /*$_*/
1797
+ p(y, M) {
1798
+ if (M[0] & /*$_*/
1778
1799
  33554432 && a !== (a = /*$_*/
1779
- y[25]("limitType") + "") && V(n, a), P[0] & /*availableLimits*/
1780
- 64 | P[1] & /*determineLimitName*/
1800
+ y[25]("limitType") + "") && F(n, a), M[0] & /*availableLimits*/
1801
+ 64 | M[1] & /*determineLimitName*/
1781
1802
  4) {
1782
- m = me(
1803
+ u = me(
1783
1804
  /*availableLimits*/
1784
1805
  y[6]
1785
1806
  );
1786
1807
  let h;
1787
- for (h = 0; h < m.length; h += 1) {
1788
- const _ = He(y, m, h);
1789
- d[h] ? d[h].p(_, P) : (d[h] = it(_), d[h].c(), d[h].m(r, null));
1808
+ for (h = 0; h < u.length; h += 1) {
1809
+ const S = Ke(y, u, h);
1810
+ c[h] ? c[h].p(S, M) : (c[h] = tt(S), c[h].c(), c[h].m(r, null));
1790
1811
  }
1791
- for (; h < d.length; h += 1)
1792
- d[h].d(1);
1793
- d.length = m.length;
1812
+ for (; h < c.length; h += 1)
1813
+ c[h].d(1);
1814
+ c.length = u.length;
1794
1815
  }
1795
- P[0] & /*selectedIndex*/
1796
- 512 && we(
1816
+ M[0] & /*selectedIndex*/
1817
+ 512 && _e(
1797
1818
  r,
1798
1819
  /*selectedIndex*/
1799
1820
  y[9]
1800
1821
  );
1801
1822
  },
1802
1823
  d(y) {
1803
- y && M(e), _e(d, y), p = !1, Me(f);
1824
+ y && E(e), Se(c, y), d = !1, Me(f);
1804
1825
  }
1805
1826
  };
1806
1827
  }
1807
- function it(i) {
1828
+ function tt(i) {
1808
1829
  let e, t = (
1809
1830
  /*determineLimitName*/
1810
1831
  i[33](
1811
1832
  /*limit*/
1812
- i[113]
1833
+ i[114]
1813
1834
  ) + ""
1814
1835
  ), a;
1815
1836
  return {
1816
1837
  c() {
1817
- e = b("option"), a = N(t), e.__value = /*i*/
1818
- i[115], ke(e, e.__value);
1838
+ e = _("option"), a = U(t), e.__value = /*i*/
1839
+ i[116], ve(e, e.__value);
1819
1840
  },
1820
1841
  m(n, s) {
1821
- z(n, e, s), u(e, a);
1842
+ x(n, e, s), p(e, a);
1822
1843
  },
1823
1844
  p(n, s) {
1824
1845
  s[0] & /*availableLimits*/
1825
1846
  64 && t !== (t = /*determineLimitName*/
1826
1847
  n[33](
1827
1848
  /*limit*/
1828
- n[113]
1829
- ) + "") && V(a, t);
1849
+ n[114]
1850
+ ) + "") && F(a, t);
1830
1851
  },
1831
1852
  d(n) {
1832
- n && M(e);
1853
+ n && E(e);
1833
1854
  }
1834
1855
  };
1835
1856
  }
1836
- function at(i) {
1857
+ function it(i) {
1837
1858
  let e, t, a = (
1838
1859
  /*$_*/
1839
1860
  i[25]("period") + ""
1840
- ), n, s, r, p, f, m = me(
1861
+ ), n, s, r, d, f, u = me(
1841
1862
  /*limitsConfig*/
1842
1863
  i[5][
1843
1864
  /*selectedLimit*/
1844
1865
  i[7]
1845
1866
  ].periods
1846
- ), d = [];
1847
- for (let y = 0; y < m.length; y += 1)
1848
- d[y] = ot(Ke(i, m, y));
1867
+ ), c = [];
1868
+ for (let y = 0; y < u.length; y += 1)
1869
+ c[y] = at(Ge(i, u, y));
1849
1870
  return {
1850
1871
  c() {
1851
- e = b("label"), t = b("span"), n = N(a), s = F(), r = b("select");
1852
- for (let y = 0; y < d.length; y += 1)
1853
- d[y].c();
1872
+ e = _("label"), t = _("span"), n = U(a), s = N(), r = _("select");
1873
+ for (let y = 0; y < c.length; y += 1)
1874
+ c[y].c();
1854
1875
  L(t, "class", "PeriodSelectText"), L(r, "name", ""), L(r, "id", ""), /*selectedPeriod*/
1855
- i[8] === void 0 && lt(() => (
1876
+ i[8] === void 0 && rt(() => (
1856
1877
  /*select_change_handler_1*/
1857
- i[52].call(r)
1878
+ i[54].call(r)
1858
1879
  )), L(e, "class", "LimitPeriodDropdownWrapper");
1859
1880
  },
1860
- m(y, P) {
1861
- z(y, e, P), u(e, t), u(t, n), u(e, s), u(e, r);
1862
- for (let h = 0; h < d.length; h += 1)
1863
- d[h] && d[h].m(r, null);
1864
- we(
1881
+ m(y, M) {
1882
+ x(y, e, M), p(e, t), p(t, n), p(e, s), p(e, r);
1883
+ for (let h = 0; h < c.length; h += 1)
1884
+ c[h] && c[h].m(r, null);
1885
+ _e(
1865
1886
  r,
1866
1887
  /*selectedPeriod*/
1867
1888
  i[8],
1868
1889
  !0
1869
- ), p || (f = $(
1890
+ ), d || (f = ee(
1870
1891
  r,
1871
1892
  "change",
1872
1893
  /*select_change_handler_1*/
1873
- i[52]
1874
- ), p = !0);
1894
+ i[54]
1895
+ ), d = !0);
1875
1896
  },
1876
- p(y, P) {
1877
- if (P[0] & /*$_*/
1897
+ p(y, M) {
1898
+ if (M[0] & /*$_*/
1878
1899
  33554432 && a !== (a = /*$_*/
1879
- y[25]("period") + "") && V(n, a), P[0] & /*limitsConfig, selectedLimit, $_*/
1900
+ y[25]("period") + "") && F(n, a), M[0] & /*limitsConfig, selectedLimit, $_*/
1880
1901
  33554592) {
1881
- m = me(
1902
+ u = me(
1882
1903
  /*limitsConfig*/
1883
1904
  y[5][
1884
1905
  /*selectedLimit*/
@@ -1886,58 +1907,58 @@ function at(i) {
1886
1907
  ].periods
1887
1908
  );
1888
1909
  let h;
1889
- for (h = 0; h < m.length; h += 1) {
1890
- const _ = Ke(y, m, h);
1891
- d[h] ? d[h].p(_, P) : (d[h] = ot(_), d[h].c(), d[h].m(r, null));
1910
+ for (h = 0; h < u.length; h += 1) {
1911
+ const S = Ge(y, u, h);
1912
+ c[h] ? c[h].p(S, M) : (c[h] = at(S), c[h].c(), c[h].m(r, null));
1892
1913
  }
1893
- for (; h < d.length; h += 1)
1894
- d[h].d(1);
1895
- d.length = m.length;
1914
+ for (; h < c.length; h += 1)
1915
+ c[h].d(1);
1916
+ c.length = u.length;
1896
1917
  }
1897
- P[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
1898
- 416 && we(
1918
+ M[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
1919
+ 416 && _e(
1899
1920
  r,
1900
1921
  /*selectedPeriod*/
1901
1922
  y[8]
1902
1923
  );
1903
1924
  },
1904
1925
  d(y) {
1905
- y && M(e), _e(d, y), p = !1, f();
1926
+ y && E(e), Se(c, y), d = !1, f();
1906
1927
  }
1907
1928
  };
1908
1929
  }
1909
- function ot(i) {
1930
+ function at(i) {
1910
1931
  let e, t = (
1911
1932
  /*$_*/
1912
1933
  i[25](
1913
1934
  /*period*/
1914
- i[110]
1935
+ i[111]
1915
1936
  ) + ""
1916
1937
  ), a, n;
1917
1938
  return {
1918
1939
  c() {
1919
- e = b("option"), a = N(t), e.__value = n = /*period*/
1920
- i[110], ke(e, e.__value), e.selected = !0;
1940
+ e = _("option"), a = U(t), e.__value = n = /*period*/
1941
+ i[111], ve(e, e.__value), e.selected = !0;
1921
1942
  },
1922
1943
  m(s, r) {
1923
- z(s, e, r), u(e, a);
1944
+ x(s, e, r), p(e, a);
1924
1945
  },
1925
1946
  p(s, r) {
1926
1947
  r[0] & /*$_, limitsConfig, selectedLimit*/
1927
1948
  33554592 && t !== (t = /*$_*/
1928
1949
  s[25](
1929
1950
  /*period*/
1930
- s[110]
1931
- ) + "") && V(a, t), r[0] & /*limitsConfig, selectedLimit*/
1951
+ s[111]
1952
+ ) + "") && F(a, t), r[0] & /*limitsConfig, selectedLimit*/
1932
1953
  160 && n !== (n = /*period*/
1933
- s[110]) && (e.__value = n, ke(e, e.__value));
1954
+ s[111]) && (e.__value = n, ve(e, e.__value));
1934
1955
  },
1935
1956
  d(s) {
1936
- s && M(e);
1957
+ s && E(e);
1937
1958
  }
1938
1959
  };
1939
1960
  }
1940
- function nt(i) {
1961
+ function ot(i) {
1941
1962
  let e, t = (
1942
1963
  /*inputAmount*/
1943
1964
  i[10] < /*minLimit*/
@@ -1969,10 +1990,10 @@ function nt(i) {
1969
1990
  ), a;
1970
1991
  return {
1971
1992
  c() {
1972
- e = b("p"), a = N(t), L(e, "class", "InvalidInput");
1993
+ e = _("p"), a = U(t), L(e, "class", "InvalidInput");
1973
1994
  },
1974
1995
  m(n, s) {
1975
- z(n, e, s), u(e, a);
1996
+ x(n, e, s), p(e, a);
1976
1997
  },
1977
1998
  p(n, s) {
1978
1999
  s[0] & /*inputAmount, minLimit, $_, currency, maxLimit*/
@@ -2002,380 +2023,374 @@ function nt(i) {
2002
2023
  n[0]
2003
2024
  )
2004
2025
  }
2005
- })}`) && V(a, t);
2026
+ })}`) && F(a, t);
2006
2027
  },
2007
2028
  d(n) {
2008
- n && M(e);
2029
+ n && E(e);
2009
2030
  }
2010
2031
  };
2011
2032
  }
2012
- function Vi(i) {
2033
+ function Oi(i) {
2013
2034
  let e, t, a, n, s = (
2014
2035
  /*popupVisible*/
2015
- i[19] && Ze(i)
2036
+ i[19] && Xe(i)
2016
2037
  );
2017
- function r(m, d) {
2038
+ function r(u, c) {
2018
2039
  return (
2019
2040
  /*isLoading*/
2020
- m[16] && !/*popupVisible*/
2021
- m[19] ? Ci : (
2041
+ u[16] && !/*popupVisible*/
2042
+ u[19] ? zi : (
2022
2043
  /*isLoading*/
2023
- m[16] ? zi : (
2044
+ u[16] ? Pi : (
2024
2045
  /*hasErrors*/
2025
- m[17] ? Pi : Mi
2046
+ u[17] ? xi : Mi
2026
2047
  )
2027
2048
  )
2028
2049
  );
2029
2050
  }
2030
- let p = r(i), f = p(i);
2051
+ let d = r(i), f = d(i);
2031
2052
  return {
2032
2053
  c() {
2033
- e = b("meta"), t = F(), a = b("div"), s && s.c(), n = F(), f.c(), L(e, "name", "viewport"), L(e, "content", "width=device-width, initial-scale=1");
2054
+ e = _("meta"), t = N(), a = _("div"), s && s.c(), n = N(), f.c(), L(e, "name", "viewport"), L(e, "content", "width=device-width, initial-scale=1");
2034
2055
  },
2035
- m(m, d) {
2036
- u(yi.head, e), z(m, t, d), z(m, a, d), s && s.m(a, null), u(a, n), f.m(a, null), i[55](a);
2056
+ m(u, c) {
2057
+ p(hi.head, e), x(u, t, c), x(u, a, c), s && s.m(a, null), p(a, n), f.m(a, null), i[57](a);
2037
2058
  },
2038
- p(m, d) {
2059
+ p(u, c) {
2039
2060
  /*popupVisible*/
2040
- m[19] ? s ? s.p(m, d) : (s = Ze(m), s.c(), s.m(a, n)) : s && (s.d(1), s = null), p === (p = r(m)) && f ? f.p(m, d) : (f.d(1), f = p(m), f && (f.c(), f.m(a, null)));
2061
+ u[19] ? s ? s.p(u, c) : (s = Xe(u), s.c(), s.m(a, n)) : s && (s.d(1), s = null), d === (d = r(u)) && f ? f.p(u, c) : (f.d(1), f = d(u), f && (f.c(), f.m(a, null)));
2041
2062
  },
2042
2063
  i: re,
2043
2064
  o: re,
2044
- d(m) {
2045
- m && (M(t), M(a)), M(e), s && s.d(), f.d(), i[55](null);
2065
+ d(u) {
2066
+ u && (E(t), E(a)), E(e), s && s.d(), f.d(), i[57](null);
2046
2067
  }
2047
2068
  };
2048
2069
  }
2049
2070
  function Wi(i, e, t) {
2050
2071
  let a;
2051
- di(i, gi, (o) => t(25, a = o));
2052
- let { lang: n = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: p = "" } = e, { userid: f = "" } = e, { endpoint: m = "" } = e, { apiversion: d = "" } = e, { customcurrencysymbols: y = "" } = e, { enablecompliancetext: P = "" } = e, { deletelimit: h = "" } = e, { amountsconfig: _ = "" } = e, { periodsconfig: A = "" } = e, { limittabindex: W = "" } = e, { clientstyling: q = "" } = e, { clientstylingurl: K = "" } = e, { translationurl: O = "" } = e, G, ee = window.navigator.userAgent, X = !ci(ee), E = [], k = "", S = "", w = "", C = 0, j, D, B = "", I = "", ue = "", ae = {}, Pe = !1, Se = !1, Z = !0, Q = !1, De = !1, pe = !1, oe = !1, te = "", ce = "", H = [], Le, ze, ge = !1, mt = {}, Te = !1, Ce = "", de = { EUR: "€", RON: " lei", USD: "$" };
2053
- const Ee = {
2054
- wager: "wagering",
2055
- loss: "loss",
2056
- deposit: "deposit",
2057
- cumulativeSession: "cumulativeSession",
2058
- sessionLimit: "session"
2059
- }, xe = {
2072
+ ci(i, fi, (o) => t(25, a = o));
2073
+ let { lang: n = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: d = "" } = e, { userid: f = "" } = e, { endpoint: u = "" } = e, { apiversion: c = "" } = e, { customcurrencysymbols: y = "" } = e, { enablecompliancetext: M = "" } = e, { deletelimit: h = "" } = e, { amountsconfig: S = "" } = e, { periodsconfig: j = "" } = e, { limittabindex: V = "" } = e, { limitformat: R = "" } = e, { clientstyling: G = "" } = e, { clientstylingurl: W = "" } = e, { translationurl: Y = "" } = e, q, X = window.navigator.userAgent, te = !Li(X), T = [], b = "", v = "", A = "", O = 0, k, B, I = "", oe = "", ke = "", ae = {}, xe = !1, De = !1, Z = !0, Q = !1, Te = !1, ue = !1, ne = !1, J = "", de = "", K = [], ce, Pe, Le = !1, lt = {}, je = !1, pe = { EUR: "€", RON: " lei", USD: "$" };
2074
+ const ze = {
2060
2075
  unableToUpdatePendingRequest: ["SYS_1037", "SYS_1142", "SYS_1140"],
2061
2076
  internalServerError: ["F0004", "F0006"]
2062
- }, ut = () => {
2063
- fetch(O).then((l) => l.json()).then((l) => {
2064
- Object.keys(l).forEach((c) => {
2065
- Ge(c, l[c]);
2077
+ }, mt = () => {
2078
+ fetch(Y).then((l) => l.json()).then((l) => {
2079
+ Object.keys(l).forEach((m) => {
2080
+ qe(m, l[m]);
2066
2081
  });
2067
2082
  }).catch((l) => {
2068
2083
  console.log(l);
2069
2084
  });
2070
2085
  };
2071
- Object.keys(he).forEach((o) => {
2072
- Ge(o, he[o]);
2086
+ Object.keys(ye).forEach((o) => {
2087
+ qe(o, ye[o]);
2073
2088
  });
2074
- const je = (o) => `dataLayer-${o}`, J = (o, l) => {
2089
+ const Ae = (o) => `dataLayer-${o}`, $ = (o, l) => {
2075
2090
  typeof gtag == "function" && gtag({
2076
2091
  event: o,
2077
- limit_category: he[n][je(w.toLowerCase())] || w,
2078
- limit_type: he[n][je(k.toLowerCase())] || k,
2079
- limit_period: he[n][je(S.toLowerCase())] || S,
2080
- limit_amount: j || l
2092
+ limit_category: ye[n][Ae(A.toLowerCase())] || A,
2093
+ limit_type: ye[n][Ae(b.toLowerCase())] || b,
2094
+ limit_period: ye[n][Ae(v.toLowerCase())] || v,
2095
+ limit_amount: k || l
2081
2096
  });
2082
- }, pt = () => {
2083
- var v;
2084
- const o = _.split(",").map((g) => g.split(":")), l = A.split(",").map((g) => g.split(":"));
2085
- for (let [g, T] of o.entries())
2086
- if (T[0] !== l[g][0])
2087
- throw new Error(`Limit config mismatch: "${T[0]}" does not match "${l[g][0]}"`);
2088
- const c = o.reduce(
2089
- (g, T, R) => {
2090
- const se = T[0].slice(T[0].indexOf("(") + 1, T[0].indexOf(")")), Jt = T[0].slice(0, T[0].indexOf("(")), $t = T[1], ei = l[R][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), ti = {
2091
- value: se,
2092
- product: Jt,
2093
- minMax: $t,
2094
- periods: ei,
2095
- callValue: U[se].callValue,
2096
- callValue16: U[se].callValue16,
2097
- title: U[se].title
2097
+ }, ut = () => {
2098
+ var w;
2099
+ const o = S.split(",").map((g) => g.split(":")), l = j.split(",").map((g) => g.split(":"));
2100
+ for (let [g, D] of o.entries())
2101
+ if (D[0] !== l[g][0])
2102
+ throw new Error(`Limit config mismatch: "${D[0]}" does not match "${l[g][0]}"`);
2103
+ const m = o.reduce(
2104
+ (g, D, P) => {
2105
+ const be = D[0].slice(D[0].indexOf("(") + 1, D[0].indexOf(")")), $t = D[0].slice(0, D[0].indexOf("(")), ei = D[1], ti = l[P][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), ii = {
2106
+ value: be,
2107
+ product: $t,
2108
+ minMax: ei,
2109
+ periods: ti,
2110
+ callValue: z[be].callValue,
2111
+ callValue16: z[be].callValue16,
2112
+ title: z[be].title
2098
2113
  };
2099
- return g.push(ti), g;
2114
+ return g.push(ii), g;
2100
2115
  },
2101
2116
  []
2102
2117
  );
2103
- for (let g = 0; g < c.length; g++)
2104
- t(6, E[g].product = c[g].product, E), t(6, E[g].min = parseInt(c[g].minMax.split("-")[0], 10), E), t(6, E[g].max = parseInt(c[g].minMax.split("-")[1], 10), E), t(5, U[c[g].value].periods = c[g].periods, U);
2105
- ue = (v = E[0]) == null ? void 0 : v.value, E.forEach((g) => {
2106
- ae[g.value] = { min: g.min, max: g.max }, mt[g.value] = g.product;
2107
- }), ae && (ae[ue] ? (t(12, B = ae[ue].min), t(13, I = ae[ue].max)) : (t(12, B = 1), t(13, I = 9999999)));
2108
- }, dt = () => {
2118
+ for (let g = 0; g < m.length; g++)
2119
+ t(6, T[g].product = m[g].product, T), t(6, T[g].min = parseInt(m[g].minMax.split("-")[0], 10), T), t(6, T[g].max = parseInt(m[g].minMax.split("-")[1], 10), T), t(5, z[m[g].value].periods = m[g].periods, z);
2120
+ ke = (w = T[0]) == null ? void 0 : w.value, T.forEach((g) => {
2121
+ ae[g.value] = { min: g.min, max: g.max }, lt[g.value] = g.product;
2122
+ }), ae && (ae[ke] ? (t(12, I = ae[ke].min), t(13, oe = ae[ke].max)) : (t(12, I = 1), t(13, oe = 9999999)));
2123
+ }, pt = () => {
2109
2124
  const o = /\(([^)]+)\)/g;
2110
- return [..._.matchAll(o)].flat().filter((c) => !c.includes("("));
2111
- }, ct = () => {
2112
- dt().forEach((l) => {
2113
- U[l] ? E.push(be({}, U[l])) : console.error(`Unknown limit: ${l}`);
2114
- }), pt(), t(7, k = E[0].value), t(8, S = U[k].periods[0]), w = E[0].product, t(14, Pe = E.length > 1), t(15, Se = U[k].periods.length > 1);
2115
- }, Ue = () => {
2116
- t(7, k = E[C].value), t(8, S = U[k].periods[0]), t(15, Se = U[k].periods.length > 1);
2125
+ return [...S.matchAll(o)].flat().filter((m) => !m.includes("("));
2126
+ }, dt = () => {
2127
+ pt().forEach((l) => {
2128
+ z[l] ? T.push(we({}, z[l])) : console.error(`Unknown limit: ${l}`);
2129
+ }), ut(), t(7, b = T[0].value), t(8, v = z[b].periods[0]), A = T[0].product, t(14, xe = T.length > 1), t(15, De = z[b].periods.length > 1);
2130
+ }, Ce = () => {
2131
+ t(7, b = T[O].value), t(8, v = z[b].periods[0]), t(15, De = z[b].periods.length > 1);
2117
2132
  }, Ie = () => {
2118
- w = E[C].product;
2133
+ A = T[O].product;
2119
2134
  }, ie = (o) => {
2120
2135
  if (o.status >= 300)
2121
- Lt(o);
2136
+ ct(o);
2122
2137
  else
2123
- return t(18, De = !1), o.json();
2124
- }, Lt = (o) => {
2138
+ return t(18, Te = !1), o.json();
2139
+ }, ct = (o) => {
2125
2140
  t(17, Q = !0);
2126
2141
  let l;
2127
- throw o.json().then((c) => {
2128
- for (const v in xe)
2129
- if (xe[v].some((g) => c.error.includes(g))) {
2130
- l = v;
2142
+ throw o.json().then((m) => {
2143
+ for (const w in ze)
2144
+ if (ze[w].some((g) => m.error.includes(g))) {
2145
+ l = w;
2131
2146
  break;
2132
2147
  }
2133
- console.error("errType", l), !l && ye(c);
2148
+ console.error("errType", l), !l && fe(m);
2134
2149
  }).finally(() => {
2135
- l && ye(l), t(17, Q = !1), t(16, Z = !1);
2150
+ l && fe(l), t(17, Q = !1), t(16, Z = !1);
2136
2151
  }), new Error("An error occured during the fetch request");
2137
- }, gt = () => {
2138
- if (!(j > 0)) return;
2152
+ }, Lt = () => {
2153
+ if (!(k > 0)) return;
2139
2154
  le(), t(16, Z = !0);
2140
- let o = new URL(`/v2/player/${f}/limits`, m), l = {};
2141
- k === "sessionLimit" ? l = {
2142
- sessionLimit: j,
2155
+ let o = new URL(`/v2/player/${f}/limits`, u), l = {};
2156
+ b === "sessionLimit" ? l = {
2157
+ sessionLimit: k,
2143
2158
  sessionLimitUnit: "minute"
2144
- } : k === "cumulativeSession" ? l[U[k].callValue] = [
2159
+ } : b === "cumulativeSession" ? l[z[b].callValue] = [
2145
2160
  {
2146
- period: S,
2147
- minutes: j
2161
+ period: v,
2162
+ minutes: k
2148
2163
  }
2149
- ] : l[U[k].callValue] = [
2164
+ ] : l[z[b].callValue] = [
2150
2165
  {
2151
- period: U[k].periods[0] === "None" ? null : S,
2152
- amount: j,
2166
+ period: z[b].periods[0] === "None" ? null : v,
2167
+ amount: k,
2153
2168
  currency: s
2154
2169
  }
2155
2170
  ];
2156
- let c = {
2171
+ let m = {
2157
2172
  method: "PUT",
2158
2173
  headers: {
2159
- "X-SessionID": p,
2174
+ "X-SessionID": d,
2160
2175
  "Content-Type": "application/json",
2161
2176
  Accept: "application/json"
2162
2177
  },
2163
2178
  body: JSON.stringify(l)
2164
2179
  };
2165
- fetch(o.href, c).then((v) => ie(v)).then((v) => {
2166
- J("self_limitation_success"), ne();
2167
- }).catch((v) => {
2168
- console.error(v), t(17, Q = !0);
2180
+ fetch(o.href, m).then((w) => ie(w)).then((w) => {
2181
+ $("self_limitation_success"), se();
2182
+ }).catch((w) => {
2183
+ console.error(w), t(17, Q = !0);
2169
2184
  });
2170
- }, ft = () => {
2171
- if (j <= 0) return;
2185
+ }, gt = () => {
2186
+ if (k <= 0) return;
2172
2187
  le(), t(16, Z = !0);
2173
- const l = E[C].currentLimits.filter((R) => R.period === S)[0], c = new URL(`/v1/player/${f}/limits/monetary/${l ? l.id : ""}`, m), v = l ? "PUT" : "POST", g = l ? { amount: j, skipCoolOff: !1 } : {
2174
- amount: j,
2188
+ const l = T[O].currentLimits.filter((P) => P.period === v)[0], m = new URL(`/v1/player/${f}/limits/monetary/${l ? l.id : ""}`, u), w = l ? "PUT" : "POST", g = l ? { amount: k, skipCoolOff: !1 } : {
2189
+ amount: k,
2175
2190
  currency: s,
2176
2191
  // certain limits have a "None" period which corresponds to one day from a functionality PoV, but is differentiated in the API from "Daily" and need to be sent as null when POSTed
2177
- period: U[k].periods[0] === "None" ? null : S,
2178
- type: U[k].callValue16,
2179
- products: [w != null ? w : "All"],
2192
+ period: z[b].periods[0] === "None" ? null : v,
2193
+ type: z[b].callValue16,
2194
+ products: [A != null ? A : "All"],
2180
2195
  walletTypes: ["All"]
2181
2196
  };
2182
- let T = {
2183
- method: v,
2197
+ let D = {
2198
+ method: w,
2184
2199
  headers: {
2185
- "X-SessionID": p,
2200
+ "X-SessionID": d,
2186
2201
  "Content-Type": "application/json",
2187
2202
  Accept: "application/json"
2188
2203
  },
2189
2204
  body: JSON.stringify(g)
2190
2205
  };
2191
- fetch(c.href, T).then((R) => ie(R)).then((R) => {
2192
- J("self_limitation_success"), ne();
2193
- }).catch((R) => {
2194
- console.log(R), t(17, Q = !0);
2206
+ fetch(m.href, D).then((P) => ie(P)).then((P) => {
2207
+ $("self_limitation_success"), se();
2208
+ }).catch((P) => {
2209
+ console.log(P), t(17, Q = !0);
2195
2210
  });
2196
- }, yt = () => {
2197
- if (!(j > 0)) return;
2211
+ }, ft = () => {
2212
+ if (!(k > 0)) return;
2198
2213
  le(), t(16, Z = !0);
2199
- const o = new URL(`/v1/player/${f}/limits/session/`, m);
2200
- let v = {
2214
+ const o = new URL(`/v1/player/${f}/limits/session/`, u);
2215
+ let w = {
2201
2216
  method: "PUT",
2202
2217
  headers: {
2203
- "X-SessionID": p,
2218
+ "X-SessionID": d,
2204
2219
  "Content-Type": "application/json",
2205
2220
  Accept: "application/json"
2206
2221
  },
2207
2222
  body: JSON.stringify({
2208
- sessionLimit: j,
2223
+ sessionLimit: k,
2209
2224
  sessionLimitUnit: "minute"
2210
2225
  })
2211
2226
  };
2212
- fetch(o.href, v).then((g) => ie(g)).then((g) => {
2213
- J("self_limitation_success"), ne();
2227
+ fetch(o.href, w).then((g) => ie(g)).then((g) => {
2228
+ $("self_limitation_success"), se();
2214
2229
  }).catch((g) => {
2215
2230
  console.log(g), t(17, Q = !0);
2216
2231
  });
2217
- }, ht = () => {
2218
- if (!(j > 0)) return;
2232
+ }, yt = () => {
2233
+ if (!(k > 0)) return;
2219
2234
  le(), t(16, Z = !0);
2220
- const o = new URL(`/v1/player/${f}/limits/session/`, m);
2221
- let v = {
2235
+ const o = new URL(`/v1/player/${f}/limits/session/`, u);
2236
+ let w = {
2222
2237
  method: "PUT",
2223
2238
  headers: {
2224
- "X-SessionID": p,
2239
+ "X-SessionID": d,
2225
2240
  "Content-Type": "application/json",
2226
2241
  Accept: "application/json"
2227
2242
  },
2228
2243
  body: JSON.stringify({
2229
2244
  cumulativeSessionLimits: [
2230
2245
  {
2231
- period: S,
2232
- minutes: j
2246
+ period: v,
2247
+ minutes: k
2233
2248
  }
2234
2249
  ]
2235
2250
  })
2236
2251
  };
2237
- fetch(o.href, v).then((g) => ie(g)).then((g) => {
2238
- J("self_limitation_success"), ne();
2252
+ fetch(o.href, w).then((g) => ie(g)).then((g) => {
2253
+ $("self_limitation_success"), se();
2239
2254
  }).catch((g) => {
2240
2255
  console.log(g), t(17, Q = !0);
2241
2256
  });
2242
- }, vt = () => {
2243
- if (!(j > 0)) return;
2257
+ }, ht = () => {
2258
+ if (!(k > 0)) return;
2244
2259
  le(), t(16, Z = !0);
2245
- const o = new URL(`/v2/player/${f}/limit/lugas`, m);
2246
- let v = {
2260
+ const o = new URL(`/v2/player/${f}/limit/lugas`, u);
2261
+ let w = {
2247
2262
  method: "POST",
2248
2263
  headers: {
2249
- "X-SessionID": p,
2264
+ "X-SessionID": d,
2250
2265
  "Content-Type": "application/json",
2251
2266
  Accept: "application/json"
2252
2267
  },
2253
2268
  body: JSON.stringify({
2254
- amount: j,
2269
+ amount: k,
2255
2270
  roleLimitAmount: 0,
2256
2271
  softMigration: !1,
2257
2272
  keepLimit: !1
2258
2273
  })
2259
2274
  };
2260
- fetch(o.href, v).then((g) => ie(g)).then((g) => {
2261
- t(23, Le = g.popup), g.operatorDepositLimitAmount, ze = g.regulatorDepositLimitAmount, J("self_limitation_success"), ne();
2275
+ fetch(o.href, w).then((g) => ie(g)).then((g) => {
2276
+ t(23, ce = g.popup), g.operatorDepositLimitAmount, Pe = g.regulatorDepositLimitAmount, $("self_limitation_success"), se();
2262
2277
  }).catch((g) => {
2263
2278
  console.log(g), t(17, Q = !0);
2264
2279
  });
2265
- }, kt = () => {
2266
- switch (d) {
2280
+ }, vt = () => {
2281
+ switch (c) {
2267
2282
  case "gmcore":
2268
- gt();
2283
+ Lt();
2269
2284
  break;
2270
2285
  case "gm16":
2271
- Te = !1, k === "lugas" ? vt() : k === "sessionLimit" ? yt() : k === "cumulativeSession" ? ht() : ft();
2286
+ je = !1, b === "lugas" ? ht() : b === "sessionLimit" ? ft() : b === "cumulativeSession" ? yt() : gt();
2272
2287
  break;
2273
2288
  default:
2274
- throw Error(`Invalid apiversion attribute: ${d}`);
2289
+ throw Error(`Invalid apiversion attribute: ${c}`);
2275
2290
  }
2276
- J("self_limitation_request");
2277
- }, ne = () => {
2278
- switch (d) {
2291
+ $("self_limitation_request");
2292
+ }, se = () => {
2293
+ switch (c) {
2279
2294
  case "gmcore":
2280
- bt();
2295
+ kt();
2281
2296
  break;
2282
2297
  case "gm16":
2283
- wt();
2298
+ bt();
2284
2299
  break;
2285
2300
  }
2286
- }, bt = () => {
2301
+ }, kt = () => {
2287
2302
  t(16, Z = !0);
2288
- let o = new URL(`/v2/player/${f}/limits`, m), l = {
2303
+ let o = new URL(`/v2/player/${f}/limits`, u), l = {
2289
2304
  method: "GET",
2290
2305
  headers: {
2291
- "X-SessionID": p,
2306
+ "X-SessionID": d,
2292
2307
  "Content-Type": "application/json",
2293
2308
  Accept: "application/json"
2294
2309
  }
2295
2310
  };
2296
- fetch(o.href, l).then((c) => ie(c)).then((c) => {
2297
- H = c, pe && ye(), Ne(H), _t(H), t(10, j = null);
2298
- }).catch((c) => {
2299
- console.error("Error LimitsWidget: ", c), t(17, Q = !0);
2311
+ fetch(o.href, l).then((m) => ie(m)).then((m) => {
2312
+ K = m, ue && fe(), Ue(K), wt(K), t(10, k = null);
2313
+ }).catch((m) => {
2314
+ console.error("Error LimitsWidget: ", m), t(17, Q = !0);
2300
2315
  }).finally(() => {
2301
2316
  t(16, Z = !1);
2302
2317
  });
2303
- }, wt = () => {
2304
- t(16, Z = !0), H = [];
2305
- let o = new URL(`/v1/player/${f}/limits/monetary`, m), l = new URL(`/v1/player/${f}/limits/session`, m), c = !1, v = {
2318
+ }, bt = () => {
2319
+ t(16, Z = !0), K = [];
2320
+ let o = new URL(`/v1/player/${f}/limits/monetary`, u), l = new URL(`/v1/player/${f}/limits/session`, u), m = !1, w = {
2306
2321
  method: "GET",
2307
2322
  headers: {
2308
- "X-SessionID": p,
2323
+ "X-SessionID": d,
2309
2324
  "Content-Type": "application/json",
2310
2325
  Accept: "application/json"
2311
2326
  }
2312
2327
  };
2313
- fetch(o.href, v).then((g) => ie(g)).then((g) => {
2314
- H.push(g), pe && ye(), d === "gmcore" && Ne(H), d === "gm16" && St(H), t(10, j = null);
2328
+ fetch(o.href, w).then((g) => ie(g)).then((g) => {
2329
+ K.push(g), ue && fe(), c === "gmcore" && Ue(K), c === "gm16" && _t(K), t(10, k = null);
2315
2330
  }).catch((g) => {
2316
2331
  console.error("Error LimitsWidget: ", g), t(17, Q = !0);
2317
2332
  }).finally(() => {
2318
- c && t(16, Z = !1), c = !0;
2319
- }), fetch(l.href, v).then((g) => ie(g)).then((g) => {
2320
- H.push(g), pe && ye(), d === "gm16" && Dt(H), d === "gm16" && Tt(H), t(10, j = null);
2333
+ m && t(16, Z = !1), m = !0;
2334
+ }), fetch(l.href, w).then((g) => ie(g)).then((g) => {
2335
+ K.push(g), ue && fe(), c === "gm16" && St(K), c === "gm16" && Dt(K), t(10, k = null);
2321
2336
  }).catch((g) => {
2322
2337
  console.error("Error LimitsWidget: ", g), t(17, Q = !0);
2323
2338
  }).finally(() => {
2324
- c && t(16, Z = !1), c = !0;
2339
+ m && t(16, Z = !1), m = !0;
2325
2340
  });
2326
- }, Ne = (o) => {
2327
- E.forEach((l) => {
2341
+ }, Ue = (o) => {
2342
+ T.forEach((l) => {
2328
2343
  l.currentLimits = [];
2329
- const c = Array.isArray(o[U[l.value].callValue]) ? o[U[l.value].callValue] : [o[U[l.value].callValue]];
2330
- c.length === 0 || c[0] === void 0 || (c.forEach((v, g) => {
2331
- var R;
2332
- const T = o[U[l.value].callValue][g];
2333
- l.currentLimits.push({}), l.currentLimits[g].limitType = l.value, l.currentLimits[g].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(T.amount), l.currentLimits[g].currency = (R = de[T.currency]) != null ? R : T.currency, l.currentLimits[g].period = T.period, l.currentLimits[g].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(T.updateAmount), l.currentLimits[g].isModified = T.isModified, l.currentLimits[g].expiryDate = `${new Date(T.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
2334
- }), l.currentLimits = fe(l.currentLimits));
2344
+ const m = Array.isArray(o[z[l.value].callValue]) ? o[z[l.value].callValue] : [o[z[l.value].callValue]];
2345
+ m.length === 0 || m[0] === void 0 || (m.forEach((w, g) => {
2346
+ var P;
2347
+ const D = o[z[l.value].callValue][g];
2348
+ l.currentLimits.push({}), l.currentLimits[g].limitType = l.value, l.currentLimits[g].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.amount), l.currentLimits[g].currency = (P = pe[D.currency]) != null ? P : D.currency, l.currentLimits[g].period = D.period, l.currentLimits[g].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.updateAmount), l.currentLimits[g].isModified = D.isModified, l.currentLimits[g].expiryDate = `${new Date(D.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
2349
+ }), l.currentLimits = ge(l.currentLimits));
2335
2350
  });
2336
- }, _t = (o) => {
2351
+ }, wt = (o) => {
2337
2352
  const l = a("minutes");
2338
- E.filter((c) => c.value === "sessionLimit" || c.value === "cumulativeSession").forEach((c) => {
2339
- var v;
2340
- c.currentLimits = [], (v = o[U[c.value].callValue]) == null || v.forEach((g, T) => {
2341
- const R = o[U[c.value].callValue][T];
2342
- c.currentLimits.push({
2343
- limitType: c.value,
2344
- amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(R.minutes),
2353
+ T.filter((m) => m.value === "sessionLimit" || m.value === "cumulativeSession").forEach((m) => {
2354
+ var w;
2355
+ m.currentLimits = [], (w = o[z[m.value].callValue]) == null || w.forEach((g, D) => {
2356
+ const P = o[z[m.value].callValue][D];
2357
+ m.currentLimits.push({
2358
+ limitType: m.value,
2359
+ amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(P.minutes),
2345
2360
  currency: l,
2346
- isModified: R.isModified,
2347
- period: c.value === "cumulativeSession" ? R.period : "None",
2348
- updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(R.updateMinutes),
2349
- expiryDate: `${new Date(R.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
2361
+ isModified: P.isModified,
2362
+ period: m.value === "cumulativeSession" ? P.period : "None",
2363
+ updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(P.updateMinutes),
2364
+ expiryDate: `${new Date(P.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
2350
2365
  });
2351
- }), c.currentLimits = fe(c.currentLimits);
2366
+ }), m.currentLimits = ge(m.currentLimits);
2352
2367
  });
2353
- }, St = (o) => {
2368
+ }, _t = (o) => {
2354
2369
  var l;
2355
- (l = o[0]) != null && l.limits && E.forEach((c) => {
2356
- var v;
2357
- c.currentLimits = [];
2370
+ (l = o[0]) != null && l.limits && T.forEach((m) => {
2371
+ var w;
2372
+ m.currentLimits = [];
2358
2373
  for (const g of o[0].limits)
2359
- if (g.type === c.callValue16 && g.products.includes(c.product)) {
2360
- const T = g;
2361
- c.currentLimits.push({
2362
- limitType: c.value,
2363
- amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(T.amount),
2364
- currency: (v = de[T.currency]) != null ? v : T.currency,
2365
- isModified: T.schedules.length > 0,
2366
- period: T.period,
2367
- product: T.products[0],
2368
- updateAmount: T.schedules.length > 0 ? Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(T.schedules[0].updateAmount) : "",
2369
- expiryDate: T.schedules.length > 0 ? `${new Date(T.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
2370
- id: T.id
2374
+ if (g.type === m.callValue16 && g.products.includes(m.product)) {
2375
+ const D = g;
2376
+ m.currentLimits.push({
2377
+ limitType: m.value,
2378
+ amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.amount),
2379
+ currency: (w = pe[D.currency]) != null ? w : D.currency,
2380
+ isModified: D.schedules.length > 0,
2381
+ period: D.period,
2382
+ product: D.products[0],
2383
+ updateAmount: D.schedules.length > 0 ? Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(D.schedules[0].updateAmount) : "",
2384
+ expiryDate: D.schedules.length > 0 ? `${new Date(D.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
2385
+ id: D.id
2371
2386
  });
2372
2387
  }
2373
- c.currentLimits = fe(c.currentLimits);
2388
+ m.currentLimits = ge(m.currentLimits);
2374
2389
  });
2375
- }, Dt = (o) => {
2390
+ }, St = (o) => {
2376
2391
  var l;
2377
- (l = o[1]) != null && l.sessionLimit && E.filter((c) => c.value === "sessionLimit").forEach((c) => {
2378
- c.currentLimits.push({
2392
+ (l = o[1]) != null && l.sessionLimit && T.filter((m) => m.value === "sessionLimit").forEach((m) => {
2393
+ m.currentLimits.push({
2379
2394
  limitType: "sessionLimit",
2380
2395
  amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o[1].sessionLimit.minutes),
2381
2396
  currency: a("minutes"),
@@ -2383,124 +2398,137 @@ function Wi(i, e, t) {
2383
2398
  period: "None",
2384
2399
  updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o[1].sessionLimit.updateMinutes),
2385
2400
  expiryDate: o[1].sessionLimit.expiryDate
2386
- }), c.currentLimits = fe(c.currentLimits);
2401
+ }), m.currentLimits = ge(m.currentLimits);
2387
2402
  });
2388
- }, Tt = (o) => {
2403
+ }, Dt = (o) => {
2389
2404
  var l;
2390
- (l = o[1]) != null && l.cumulativeSessionLimits && E.filter((c) => c.value === "cumulativeSession").forEach((c) => {
2391
- for (const v of o[1].cumulativeSessionLimits)
2392
- c.currentLimits.push({
2405
+ (l = o[1]) != null && l.cumulativeSessionLimits && T.filter((m) => m.value === "cumulativeSession").forEach((m) => {
2406
+ for (const w of o[1].cumulativeSessionLimits)
2407
+ m.currentLimits.push({
2393
2408
  limitType: "cumulativeSession",
2394
- amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.minutes),
2409
+ amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(w.minutes),
2395
2410
  currency: a("minutes"),
2396
- isModified: v.isModified,
2397
- period: v.period,
2398
- updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.updateMinutes),
2399
- expiryDate: v.expiryDate
2411
+ isModified: w.isModified,
2412
+ period: w.period,
2413
+ updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(w.updateMinutes),
2414
+ expiryDate: w.expiryDate
2400
2415
  });
2401
- c.currentLimits = fe(c.currentLimits);
2416
+ m.currentLimits = ge(m.currentLimits);
2402
2417
  });
2403
- }, fe = (o) => {
2418
+ }, ge = (o) => {
2404
2419
  const l = { Daily: 0, Weekly: 1, Monthly: 2 };
2405
- return o.sort((c, v) => l[c.period] - l[v.period]), o;
2420
+ return o.sort((m, w) => l[m.period] - l[w.period]), o;
2421
+ }, Tt = () => {
2422
+ const o = k - Math.floor(k) === 0;
2423
+ k >= I && k <= oe && o ? (t(24, Le = !1), B.removeAttribute("disabled")) : (t(24, Le = !0), B.setAttribute("disabled", "true"));
2424
+ }, Ne = () => {
2425
+ t(24, Le = !1), ae != null && ae[b] ? (t(12, I = ae[b].min), t(13, oe = ae[b].max)) : (t(12, I = 1), t(13, oe = 9999999));
2406
2426
  }, jt = () => {
2407
- const o = j - Math.floor(j) === 0;
2408
- j >= B && j <= I && o ? (t(24, ge = !1), D.removeAttribute("disabled")) : (t(24, ge = !0), D.setAttribute("disabled", "true"));
2409
- }, Fe = () => {
2410
- t(24, ge = !1), ae != null && ae[k] ? (t(12, B = ae[k].min), t(13, I = ae[k].max)) : (t(12, B = 1), t(13, I = 9999999));
2411
- }, At = () => {
2412
- if (H) {
2413
- const o = H[U[k].callValue].filter((v) => v.period === S)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount);
2414
- let c = a("popupImmediateUpdate").replace("{selectedLimit}", Ae()).replace("{updatedAmount}", l).replace("{currency}", de[o.currency] || o.currency).replace("{selectedPeriod}", a(`${S}`));
2415
- t(21, te = o.isModified ? `${a("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : c);
2427
+ if (K) {
2428
+ const o = K[z[b].callValue].filter((w) => w.period === v)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount);
2429
+ let m = a("popupImmediateUpdate").replace("{selectedLimit}", Ee()).replace("{updatedAmount}", l).replace("{currency}", pe[o.currency] || o.currency).replace("{selectedPeriod}", a(`${v}`));
2430
+ t(21, J = o.isModified ? `${a("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : m);
2416
2431
  }
2417
- t(20, oe = !0);
2418
- }, Mt = () => {
2419
- var R;
2420
- const o = ((R = H[0]) == null ? void 0 : R.limits) || H.limits;
2432
+ t(20, ne = !0);
2433
+ }, At = () => {
2434
+ var m;
2435
+ const o = ((m = K[0]) == null ? void 0 : m.limits) || K.limits;
2421
2436
  let l = null;
2422
- if (!H) {
2423
- t(20, oe = !0);
2424
- return;
2437
+ if (K) {
2438
+ je ? l = o.filter((P) => P.type && (P.period || P.period === "None") && P.products[0])[0] : l = o.filter((P) => P.type === z[b].callValue16 && (P.period || P.period === "None") && P.products[0])[0];
2439
+ const w = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(l.amount), g = l.schedules.length > 0 ? `${new Date(l.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
2440
+ let D = a("popupImmediateUpdate").replace("{selectedLimit}", Ee()).replace("{updatedAmount}", w).replace("{currency}", pe[l.currency] || l.currency).replace("{selectedPeriod}", a(`${v}`));
2441
+ t(21, J = l.schedules.length > 0 ? `${a("popupPendingUpdate")} ${g}` : D);
2425
2442
  }
2426
- const c = Te ? Ce : S;
2427
- l = o.find((se) => se.type.toLowerCase() === Ee[k].toLowerCase() && (se.period === c || se.period === "None") && se.products[0] === w);
2428
- const v = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(l.amount), g = l.schedules.length > 0 ? `${new Date(l.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
2429
- let T = a("popupImmediateUpdate").replace("{selectedLimit}", Ae()).replace("{updatedAmount}", v).replace("{currency}", de[l.currency] || l.currency).replace("{selectedPeriod}", a(`${S}`));
2430
- t(21, te = l.schedules.length > 0 ? `${a("popupPendingUpdate")} ${g}` : T), t(20, oe = !0);
2431
- }, Pt = () => {
2432
- Le == 1 && t(22, ce = "PopupKyc"), Le == 2 && (t(21, te = `${a("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(ze)} ${s} ${a("popup2_b")}`), t(22, ce = "PopupKyc2")), Le == 3 && (t(21, te = a("popup3")), t(22, ce = "PopupSuccess")), t(20, oe = !0);
2433
- }, zt = () => {
2434
- t(21, te = a("sessionLimitUpdated")), t(20, oe = !0);
2435
- }, Ct = () => {
2436
- if (H) {
2437
- const o = H[U[k].callValue].filter((v) => (v.period === S || S === "None") && v.products[0] === w)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.minutes);
2438
- let c = a("popupImmediateUpdate").replace("{selectedLimit}", a(`${k}`)).replace("{updatedAmount}", l).replace("{currency}", a("minutes")).replace("{selectedPeriod}", a(`${S}`));
2439
- t(21, te = o.isModified ? `${a("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : c);
2443
+ t(20, ne = !0);
2444
+ }, Et = () => {
2445
+ ce == 1 && t(22, de = "PopupKyc"), ce == 2 && (t(21, J = `${a("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Pe)} ${s} ${a("popup2_b")}`), t(22, de = "PopupKyc2")), ce == 3 && (t(21, J = a("popup3")), t(22, de = "PopupSuccess")), t(20, ne = !0);
2446
+ }, Mt = () => {
2447
+ t(21, J = a("sessionLimitUpdated")), t(20, ne = !0);
2448
+ }, xt = () => {
2449
+ if (K) {
2450
+ const o = K[z[b].callValue].filter((w) => (w.period === v || v === "None") && w.products[0] === A)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.minutes);
2451
+ let m = a("popupImmediateUpdate").replace("{selectedLimit}", a(`${b}`)).replace("{updatedAmount}", l).replace("{currency}", a("minutes")).replace("{selectedPeriod}", a(`${v}`));
2452
+ t(21, J = o.isModified ? `${a("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : m);
2440
2453
  }
2441
- t(20, oe = !0);
2442
- }, Et = (o) => {
2454
+ t(20, ne = !0);
2455
+ }, Pt = (o) => {
2443
2456
  var l;
2444
2457
  return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("Limit update is not permitted due to LimitUpdateControl");
2445
- }, xt = (o) => {
2458
+ }, zt = (o) => {
2446
2459
  var l;
2447
2460
  return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("Limit remove is not permitted due to LimitUpdateControl");
2448
- }, Ut = (o) => {
2461
+ }, Ct = (o) => {
2449
2462
  var l;
2450
2463
  return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("[NotFoundException] Limit does not exist");
2451
- }, ye = (o) => {
2464
+ }, It = (o) => {
2465
+ var l;
2466
+ return (l = o.error) == null ? void 0 : l.includes("Invalid Session");
2467
+ }, fe = (o) => {
2452
2468
  if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), Q) {
2453
- t(18, De = !0), o && !o.thirdPartyResponse && t(21, te = a(`${o}`)), o && o.thirdPartyResponse && t(21, te = o.thirdPartyResponse.message), o && Et(o) && t(21, te = a("popupUpdateLimitException")), o && xt(o) && t(21, te = a("popupRemoveLimitException")), o && Ut(o) && t(21, te = a("notFoundException")), t(20, oe = !0);
2469
+ if (t(18, Te = !0), !o) {
2470
+ t(20, ne = !0);
2471
+ return;
2472
+ }
2473
+ o.thirdPartyResponse || t(21, J = a(`${o}`)), o.thirdPartyResponse && t(21, J = o.thirdPartyResponse.message), Pt(o) && t(21, J = a("popupUpdateLimitException")), zt(o) && t(21, J = a("popupRemoveLimitException")), Ct(o) && t(21, J = a("notFoundException")), It(o) && t(21, J = a("sessionExpiredException")), t(20, ne = !0);
2454
2474
  return;
2455
2475
  }
2456
- switch (d) {
2476
+ switch (c) {
2457
2477
  case "gmcore":
2458
- k === "sessionLimit" || k === "cumulativeSession" ? Ct() : At();
2478
+ b === "sessionLimit" || b === "cumulativeSession" ? xt() : jt();
2459
2479
  break;
2460
2480
  case "gm16":
2461
- k === "lugas" ? Pt() : k === "sessionLimit" || k === "cumulativeSession" ? zt() : Mt();
2481
+ b === "lugas" ? Et() : b === "sessionLimit" || b === "cumulativeSession" ? Mt() : At();
2462
2482
  break;
2463
2483
  default:
2464
- throw new Error(`Invalid apiversion attribute: ${d}`);
2484
+ throw new Error(`Invalid apiversion attribute: ${c}`);
2465
2485
  }
2466
2486
  }, le = () => {
2467
- t(19, pe = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
2468
- }, It = (o) => {
2469
- t(7, k = o.limitType), t(8, S = o.period), le(), t(16, Z = !0);
2470
- let l = new URL(`/v2/player/${f}/limits/${Ee[o.limitType]}`, m);
2471
- o.limitType !== "sessionLimit" && l.searchParams.append("periods", o.period);
2472
- let c = {
2487
+ t(19, ue = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
2488
+ }, Ut = (o) => {
2489
+ t(7, b = o.limitType), t(8, v = o.period);
2490
+ const l = {
2491
+ wager: "wagering",
2492
+ loss: "loss",
2493
+ deposit: "deposit",
2494
+ cumulativeSession: "cumulativeSession",
2495
+ sessionLimit: "session"
2496
+ };
2497
+ le(), t(16, Z = !0);
2498
+ let m = new URL(`/v2/player/${f}/limits/${l[o.limitType]}`, u);
2499
+ o.limitType !== "sessionLimit" && m.searchParams.append("periods", o.period);
2500
+ let w = {
2473
2501
  method: "DELETE",
2474
2502
  headers: {
2475
- "X-SessionID": p,
2503
+ "X-SessionID": d,
2476
2504
  "Content-Type": "application/json",
2477
2505
  Accept: "application/json"
2478
2506
  }
2479
2507
  };
2480
- fetch(l.href, c).then((v) => ie(v)).then((v) => {
2481
- J("self_limitation_cancel_success", o.amount), ne();
2482
- }).catch((v) => {
2483
- J("self_limitation_cancel_failed", o.amount), console.log(v), t(17, Q = !0);
2508
+ fetch(m.href, w).then((g) => ie(g)).then((g) => {
2509
+ $("self_limitation_cancel_success", o.amount), se();
2510
+ }).catch((g) => {
2511
+ $("self_limitation_cancel_failed", o.amount), console.log(g), t(17, Q = !0);
2484
2512
  });
2485
- }, Ve = (o) => {
2486
- switch (Ce = o.period, d) {
2513
+ }, Fe = (o) => {
2514
+ switch (c) {
2487
2515
  case "gmcore":
2488
- It(o);
2516
+ Ut(o);
2489
2517
  break;
2490
2518
  case "gm16":
2491
- Te = !0, o.limitType === "sessionLimit" || o.limitType === "cumulativeSession" ? Nt(o) : Ft(o);
2519
+ je = !0, o.limitType === "sessionLimit" || o.limitType === "cumulativeSession" ? Nt(o) : Ft(o);
2492
2520
  break;
2493
2521
  }
2494
- J("self_limitation_cancel_request", o.amount);
2522
+ $("self_limitation_cancel_request", o.amount);
2495
2523
  }, Nt = (o) => {
2496
- const l = new URL(`/v1/player/${f}/limits/session/session`, m), c = new URL(`/v1/player/${f}/limits/session/cumulativeSession?periods=${o.period}`, m);
2497
- let v;
2524
+ const l = new URL(`/v1/player/${f}/limits/session/session`, u), m = new URL(`/v1/player/${f}/limits/session/cumulativeSession?periods=${o.period}`, u);
2525
+ let w;
2498
2526
  switch (o.limitType) {
2499
2527
  case "sessionLimit":
2500
- v = l;
2528
+ w = l;
2501
2529
  break;
2502
2530
  case "cumulativeSession":
2503
- v = c;
2531
+ w = m;
2504
2532
  break;
2505
2533
  default:
2506
2534
  throw Error(`Unknown limit.limitType: ${o.limitType}`);
@@ -2509,286 +2537,304 @@ function Wi(i, e, t) {
2509
2537
  let g = {
2510
2538
  method: "DELETE",
2511
2539
  headers: {
2512
- "X-SessionID": p,
2540
+ "X-SessionID": d,
2513
2541
  "Content-Type": "application/json",
2514
2542
  Accept: "application/json"
2515
2543
  }
2516
2544
  };
2517
- fetch(v.href, g).then((T) => ie(T)).then((T) => {
2518
- J("self_limitation_cancel_success", o.amount), ne();
2519
- }).catch((T) => {
2520
- J("self_limitation_cancel_failed", o.amount), console.log(T), t(17, Q = !0);
2545
+ fetch(w.href, g).then((D) => ie(D)).then((D) => {
2546
+ $("self_limitation_cancel_success", o.amount), se();
2547
+ }).catch((D) => {
2548
+ $("self_limitation_cancel_failed", o.amount), console.log(D), t(17, Q = !0);
2521
2549
  });
2522
2550
  }, Ft = (o) => {
2523
- const l = new URL(`/v1/player/${f}/limits/monetary/${o.id}`, m);
2551
+ const l = new URL(`/v1/player/${f}/limits/monetary/${o.id}`, u);
2524
2552
  le(), t(16, Z = !0);
2525
- let c = {
2553
+ let m = {
2526
2554
  method: "DELETE",
2527
2555
  headers: {
2528
- "X-SessionID": p,
2556
+ "X-SessionID": d,
2529
2557
  "Content-Type": "application/json",
2530
2558
  Accept: "application/json"
2531
2559
  }
2532
2560
  };
2533
- fetch(l.href, c).then((v) => ie(v)).then((v) => {
2534
- J("self_limitation_cancel_success", o.amount), ne();
2535
- }).catch((v) => {
2536
- J("self_limitation_cancel_failed", o.amount), console.log(v), t(17, Q = !0);
2561
+ fetch(l.href, m).then((w) => ie(w)).then((w) => {
2562
+ $("self_limitation_cancel_success", o.amount), se();
2563
+ }).catch((w) => {
2564
+ $("self_limitation_cancel_failed", o.amount), console.log(w), t(17, Q = !0);
2537
2565
  });
2538
- }, Ae = (o) => {
2566
+ }, Ee = (o) => {
2539
2567
  let l;
2540
- return o ? l = a(o.value + o.product) : l = a(k), l;
2541
- }, We = () => {
2542
- t(20, oe = t(19, pe = !1)), t(22, ce = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
2543
- }, Vt = () => {
2544
- window.postMessage({ type: "uploadDocuments" }, window.location.href), We();
2545
- }, Wt = (o) => {
2546
- o.keyCode === 13 && ge && o.preventDefault();
2568
+ return o ? l = a(o.value + o.product) : l = a(b), l;
2569
+ }, Vt = (o) => {
2570
+ if (!R)
2571
+ return `${o.amount}${o.currency}`;
2572
+ let l = R;
2573
+ const m = l.match(/\{(\d+)decimals\}/), w = m ? parseInt(m[1], 10) : 2, g = m ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}", D = parseFloat(o.amount).toFixed(w);
2574
+ return l = l.replace("{currency}", o.currency).replace("{amount}", D.split(".")[0]).replace(
2575
+ g,
2576
+ D.split(".")[1]
2577
+ ), l;
2578
+ }, Ve = () => {
2579
+ t(20, ne = t(19, ue = !1)), t(22, de = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
2547
2580
  }, Ot = () => {
2581
+ window.postMessage({ type: "uploadDocuments" }, window.location.href), Ve();
2582
+ }, Wt = (o) => {
2583
+ o.keyCode === 13 && Le && o.preventDefault();
2584
+ }, Rt = () => {
2548
2585
  if (!y) return;
2549
2586
  let o = {};
2550
2587
  y.split(",").forEach((l) => {
2551
- let c = l.split(":");
2552
- o[c[0].trim()] = c[1].trim();
2553
- }), de = be(be({}, de), o);
2588
+ let m = l.split(":");
2589
+ o[m[0].trim()] = m[1].trim();
2590
+ }), pe = we(we({}, pe), o);
2554
2591
  }, Bt = () => {
2555
- fi(n);
2556
- }, Rt = () => {
2557
- let o = document.createElement("style");
2558
- o.innerHTML = q, G.appendChild(o);
2592
+ yi(n);
2559
2593
  }, qt = () => {
2560
- let o = new URL(K), l = document.createElement("style");
2561
- fetch(o.href).then((c) => c.text()).then((c) => {
2562
- l.innerHTML = c, setTimeout(
2594
+ let o = document.createElement("style");
2595
+ o.innerHTML = G, q.appendChild(o);
2596
+ }, Gt = () => {
2597
+ let o = new URL(W), l = document.createElement("style");
2598
+ fetch(o.href).then((m) => m.text()).then((m) => {
2599
+ l.innerHTML = m, setTimeout(
2563
2600
  () => {
2564
- G.appendChild(l);
2601
+ q.appendChild(l);
2565
2602
  },
2566
2603
  1
2567
2604
  );
2568
2605
  });
2569
- }, Gt = (o) => Ve(o);
2570
- function Kt() {
2571
- C = Re(this), t(9, C);
2606
+ }, Kt = (o) => Fe(o);
2607
+ function Ht() {
2608
+ O = Re(this), t(9, O);
2572
2609
  }
2573
- const Ht = () => {
2574
- Ie(), Ue(), Fe();
2610
+ const Yt = () => {
2611
+ Ie(), Ce(), Ne();
2575
2612
  };
2576
- function Yt() {
2577
- S = Re(this), t(8, S), t(5, U), t(7, k);
2578
- }
2579
2613
  function Xt() {
2580
- j = st(this.value), t(10, j);
2614
+ v = Re(this), t(8, v), t(5, z), t(7, b);
2581
2615
  }
2582
- function Zt(o) {
2583
- qe[o ? "unshift" : "push"](() => {
2584
- D = o, t(11, D);
2585
- });
2616
+ function Zt() {
2617
+ k = nt(this.value), t(10, k);
2586
2618
  }
2587
2619
  function Qt(o) {
2588
- qe[o ? "unshift" : "push"](() => {
2589
- G = o, t(4, G);
2620
+ Be[o ? "unshift" : "push"](() => {
2621
+ B = o, t(11, B);
2622
+ });
2623
+ }
2624
+ function Jt(o) {
2625
+ Be[o ? "unshift" : "push"](() => {
2626
+ q = o, t(4, q);
2590
2627
  });
2591
2628
  }
2592
2629
  return i.$$set = (o) => {
2593
- "lang" in o && t(37, n = o.lang), "currency" in o && t(0, s = o.currency), "limits" in o && t(38, r = o.limits), "session" in o && t(39, p = o.session), "userid" in o && t(40, f = o.userid), "endpoint" in o && t(41, m = o.endpoint), "apiversion" in o && t(42, d = o.apiversion), "customcurrencysymbols" in o && t(43, y = o.customcurrencysymbols), "enablecompliancetext" in o && t(1, P = o.enablecompliancetext), "deletelimit" in o && t(2, h = o.deletelimit), "amountsconfig" in o && t(44, _ = o.amountsconfig), "periodsconfig" in o && t(45, A = o.periodsconfig), "limittabindex" in o && t(3, W = o.limittabindex), "clientstyling" in o && t(46, q = o.clientstyling), "clientstylingurl" in o && t(47, K = o.clientstylingurl), "translationurl" in o && t(48, O = o.translationurl);
2630
+ "lang" in o && t(38, n = o.lang), "currency" in o && t(0, s = o.currency), "limits" in o && t(39, r = o.limits), "session" in o && t(40, d = o.session), "userid" in o && t(41, f = o.userid), "endpoint" in o && t(42, u = o.endpoint), "apiversion" in o && t(43, c = o.apiversion), "customcurrencysymbols" in o && t(44, y = o.customcurrencysymbols), "enablecompliancetext" in o && t(1, M = o.enablecompliancetext), "deletelimit" in o && t(2, h = o.deletelimit), "amountsconfig" in o && t(45, S = o.amountsconfig), "periodsconfig" in o && t(46, j = o.periodsconfig), "limittabindex" in o && t(3, V = o.limittabindex), "limitformat" in o && t(47, R = o.limitformat), "clientstyling" in o && t(48, G = o.clientstyling), "clientstylingurl" in o && t(49, W = o.clientstylingurl), "translationurl" in o && t(50, Y = o.translationurl);
2594
2631
  }, i.$$.update = () => {
2595
2632
  i.$$.dirty[1] & /*customcurrencysymbols*/
2596
- 4096 && y && Ot(), i.$$.dirty[1] & /*periodsconfig, amountsconfig*/
2597
- 24576 && A && _ && ct(), i.$$.dirty[1] & /*lang*/
2598
- 64 && n && Bt(), i.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
2599
- 3904 && f && p && m && d && n && ne(), i.$$.dirty[0] & /*customStylingContainer*/
2633
+ 8192 && y && Rt(), i.$$.dirty[1] & /*periodsconfig, amountsconfig*/
2634
+ 49152 && j && S && dt(), i.$$.dirty[1] & /*lang*/
2635
+ 128 && n && Bt(), i.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
2636
+ 7808 && f && d && u && c && n && se(), i.$$.dirty[0] & /*customStylingContainer*/
2600
2637
  16 | i.$$.dirty[1] & /*clientstylingurl*/
2601
- 65536 && K && G && qt(), i.$$.dirty[0] & /*customStylingContainer*/
2638
+ 262144 && W && q && Gt(), i.$$.dirty[0] & /*customStylingContainer*/
2602
2639
  16 | i.$$.dirty[1] & /*clientstyling*/
2603
- 32768 && q && G && Rt(), i.$$.dirty[1] & /*translationurl*/
2604
- 131072 && O && ut();
2640
+ 131072 && G && q && qt(), i.$$.dirty[1] & /*translationurl*/
2641
+ 524288 && Y && mt();
2605
2642
  }, [
2606
2643
  s,
2607
- P,
2644
+ M,
2608
2645
  h,
2609
- W,
2610
- G,
2611
- U,
2612
- E,
2646
+ V,
2647
+ q,
2648
+ z,
2649
+ T,
2650
+ b,
2651
+ v,
2652
+ O,
2613
2653
  k,
2614
- S,
2615
- C,
2616
- j,
2617
- D,
2618
2654
  B,
2619
2655
  I,
2620
- Pe,
2621
- Se,
2656
+ oe,
2657
+ xe,
2658
+ De,
2622
2659
  Z,
2623
2660
  Q,
2624
- De,
2625
- pe,
2626
- oe,
2627
- te,
2661
+ Te,
2662
+ ue,
2663
+ ne,
2664
+ J,
2665
+ de,
2628
2666
  ce,
2629
2667
  Le,
2630
- ge,
2631
2668
  a,
2632
- X,
2633
- Ue,
2669
+ te,
2670
+ Ce,
2634
2671
  Ie,
2635
- kt,
2636
- jt,
2672
+ vt,
2673
+ Tt,
2674
+ Ne,
2637
2675
  Fe,
2638
- Ve,
2639
- Ae,
2640
- We,
2676
+ Ee,
2641
2677
  Vt,
2678
+ Ve,
2679
+ Ot,
2642
2680
  Wt,
2643
2681
  n,
2644
2682
  r,
2645
- p,
2646
- f,
2647
- m,
2648
2683
  d,
2684
+ f,
2685
+ u,
2686
+ c,
2649
2687
  y,
2650
- _,
2651
- A,
2652
- q,
2653
- K,
2654
- O,
2655
- Gt,
2688
+ S,
2689
+ j,
2690
+ R,
2691
+ G,
2692
+ W,
2693
+ Y,
2656
2694
  Kt,
2657
2695
  Ht,
2658
2696
  Yt,
2659
2697
  Xt,
2660
2698
  Zt,
2661
- Qt
2699
+ Qt,
2700
+ Jt
2662
2701
  ];
2663
2702
  }
2664
- class Oi extends ri {
2703
+ class Ri extends li {
2665
2704
  constructor(e) {
2666
- super(), li(
2705
+ super(), mi(
2667
2706
  this,
2668
2707
  e,
2669
2708
  Wi,
2670
- Vi,
2671
- ui,
2709
+ Oi,
2710
+ pi,
2672
2711
  {
2673
- lang: 37,
2712
+ lang: 38,
2674
2713
  currency: 0,
2675
- limits: 38,
2676
- session: 39,
2677
- userid: 40,
2678
- endpoint: 41,
2679
- apiversion: 42,
2680
- customcurrencysymbols: 43,
2714
+ limits: 39,
2715
+ session: 40,
2716
+ userid: 41,
2717
+ endpoint: 42,
2718
+ apiversion: 43,
2719
+ customcurrencysymbols: 44,
2681
2720
  enablecompliancetext: 1,
2682
2721
  deletelimit: 2,
2683
- amountsconfig: 44,
2684
- periodsconfig: 45,
2722
+ amountsconfig: 45,
2723
+ periodsconfig: 46,
2685
2724
  limittabindex: 3,
2686
- clientstyling: 46,
2687
- clientstylingurl: 47,
2688
- translationurl: 48
2725
+ limitformat: 47,
2726
+ clientstyling: 48,
2727
+ clientstylingurl: 49,
2728
+ translationurl: 50
2689
2729
  },
2690
- hi,
2730
+ vi,
2691
2731
  [-1, -1, -1, -1]
2692
2732
  );
2693
2733
  }
2694
2734
  get lang() {
2695
- return this.$$.ctx[37];
2735
+ return this.$$.ctx[38];
2696
2736
  }
2697
2737
  set lang(e) {
2698
- this.$$set({ lang: e }), Y();
2738
+ this.$$set({ lang: e }), H();
2699
2739
  }
2700
2740
  get currency() {
2701
2741
  return this.$$.ctx[0];
2702
2742
  }
2703
2743
  set currency(e) {
2704
- this.$$set({ currency: e }), Y();
2744
+ this.$$set({ currency: e }), H();
2705
2745
  }
2706
2746
  get limits() {
2707
- return this.$$.ctx[38];
2747
+ return this.$$.ctx[39];
2708
2748
  }
2709
2749
  set limits(e) {
2710
- this.$$set({ limits: e }), Y();
2750
+ this.$$set({ limits: e }), H();
2711
2751
  }
2712
2752
  get session() {
2713
- return this.$$.ctx[39];
2753
+ return this.$$.ctx[40];
2714
2754
  }
2715
2755
  set session(e) {
2716
- this.$$set({ session: e }), Y();
2756
+ this.$$set({ session: e }), H();
2717
2757
  }
2718
2758
  get userid() {
2719
- return this.$$.ctx[40];
2759
+ return this.$$.ctx[41];
2720
2760
  }
2721
2761
  set userid(e) {
2722
- this.$$set({ userid: e }), Y();
2762
+ this.$$set({ userid: e }), H();
2723
2763
  }
2724
2764
  get endpoint() {
2725
- return this.$$.ctx[41];
2765
+ return this.$$.ctx[42];
2726
2766
  }
2727
2767
  set endpoint(e) {
2728
- this.$$set({ endpoint: e }), Y();
2768
+ this.$$set({ endpoint: e }), H();
2729
2769
  }
2730
2770
  get apiversion() {
2731
- return this.$$.ctx[42];
2771
+ return this.$$.ctx[43];
2732
2772
  }
2733
2773
  set apiversion(e) {
2734
- this.$$set({ apiversion: e }), Y();
2774
+ this.$$set({ apiversion: e }), H();
2735
2775
  }
2736
2776
  get customcurrencysymbols() {
2737
- return this.$$.ctx[43];
2777
+ return this.$$.ctx[44];
2738
2778
  }
2739
2779
  set customcurrencysymbols(e) {
2740
- this.$$set({ customcurrencysymbols: e }), Y();
2780
+ this.$$set({ customcurrencysymbols: e }), H();
2741
2781
  }
2742
2782
  get enablecompliancetext() {
2743
2783
  return this.$$.ctx[1];
2744
2784
  }
2745
2785
  set enablecompliancetext(e) {
2746
- this.$$set({ enablecompliancetext: e }), Y();
2786
+ this.$$set({ enablecompliancetext: e }), H();
2747
2787
  }
2748
2788
  get deletelimit() {
2749
2789
  return this.$$.ctx[2];
2750
2790
  }
2751
2791
  set deletelimit(e) {
2752
- this.$$set({ deletelimit: e }), Y();
2792
+ this.$$set({ deletelimit: e }), H();
2753
2793
  }
2754
2794
  get amountsconfig() {
2755
- return this.$$.ctx[44];
2795
+ return this.$$.ctx[45];
2756
2796
  }
2757
2797
  set amountsconfig(e) {
2758
- this.$$set({ amountsconfig: e }), Y();
2798
+ this.$$set({ amountsconfig: e }), H();
2759
2799
  }
2760
2800
  get periodsconfig() {
2761
- return this.$$.ctx[45];
2801
+ return this.$$.ctx[46];
2762
2802
  }
2763
2803
  set periodsconfig(e) {
2764
- this.$$set({ periodsconfig: e }), Y();
2804
+ this.$$set({ periodsconfig: e }), H();
2765
2805
  }
2766
2806
  get limittabindex() {
2767
2807
  return this.$$.ctx[3];
2768
2808
  }
2769
2809
  set limittabindex(e) {
2770
- this.$$set({ limittabindex: e }), Y();
2810
+ this.$$set({ limittabindex: e }), H();
2811
+ }
2812
+ get limitformat() {
2813
+ return this.$$.ctx[47];
2814
+ }
2815
+ set limitformat(e) {
2816
+ this.$$set({ limitformat: e }), H();
2771
2817
  }
2772
2818
  get clientstyling() {
2773
- return this.$$.ctx[46];
2819
+ return this.$$.ctx[48];
2774
2820
  }
2775
2821
  set clientstyling(e) {
2776
- this.$$set({ clientstyling: e }), Y();
2822
+ this.$$set({ clientstyling: e }), H();
2777
2823
  }
2778
2824
  get clientstylingurl() {
2779
- return this.$$.ctx[47];
2825
+ return this.$$.ctx[49];
2780
2826
  }
2781
2827
  set clientstylingurl(e) {
2782
- this.$$set({ clientstylingurl: e }), Y();
2828
+ this.$$set({ clientstylingurl: e }), H();
2783
2829
  }
2784
2830
  get translationurl() {
2785
- return this.$$.ctx[48];
2831
+ return this.$$.ctx[50];
2786
2832
  }
2787
2833
  set translationurl(e) {
2788
- this.$$set({ translationurl: e }), Y();
2834
+ this.$$set({ translationurl: e }), H();
2789
2835
  }
2790
2836
  }
2791
- mi(Oi, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, customcurrencysymbols: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, limittabindex: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
2837
+ ui(Ri, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, customcurrencysymbols: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, limittabindex: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
2792
2838
  export {
2793
- Oi as default
2839
+ Ri as default
2794
2840
  };