@everymatrix/player-account-controller-nd 1.54.0 → 1.54.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-BtWyed39.js → GeneralLogout-3tCkYOBy.js} +1094 -1131
- package/components/{PlayerAccountBettingHistory-jlr-NObV.js → PlayerAccountBettingHistory-DAOgOPGf.js} +34 -35
- package/components/{PlayerAccountBiometrics-C54a7r-9.js → PlayerAccountBiometrics-sCg1trpD.js} +1 -1
- package/components/{PlayerAccountClosureNd-BDFuLumd.js → PlayerAccountClosureNd-De5JqWgf.js} +1 -1
- package/components/{PlayerAccountControllerNd-C-2tav1W.js → PlayerAccountControllerNd-COEYGY9w.js} +400 -417
- package/components/{PlayerAccountGamingLimits-11hMW47h.js → PlayerAccountGamingLimits-CqTz7Ici.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D-CsaFkg.js → PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CGnoaPKg.js → PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BEobV_rb.js → PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js} +122 -133
- package/components/{PlayerAccountGamingLimitsInfoCard-BKjqkeZR.js → PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-S0iDe8or.js → PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js} +843 -874
- package/components/{PlayerAccountGamingLimitsPopup-gmuszZSb.js → PlayerAccountGamingLimitsPopup-Df_x-yrG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DLlx2k_P.js → PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js} +111 -117
- package/components/{PlayerAccountGeneralConfirmationModal-B_nnNCCl.js → PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js} +1 -1
- package/components/{PlayerAccountMenuNd-t6hDlobb.js → PlayerAccountMenuNd-z4P33Khe.js} +68 -69
- package/components/{PlayerAccountModal-0zGW_PaL.js → PlayerAccountModal-BvKEdvD_.js} +1 -1
- package/components/{PlayerAccountNotifications-CnakmgwG.js → PlayerAccountNotifications-BFv2Nw_e.js} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D1bSwsQ2.js → PlayerAccountSelfExclusionNd-D0XYPrl9.js} +1488 -1572
- package/components/{PlayerAccountTimeout-BrmadDVi.js → PlayerAccountTimeout-rttX6IYz.js} +4 -4
- package/components/{PlayerActiveBonuses-DuRJuBww.js → PlayerActiveBonuses-LfCU2WnE.js} +119 -120
- package/components/{PlayerBonusCard-Cs7krVbC.js → PlayerBonusCard-CbzYE1Iz.js} +2 -2
- package/components/{PlayerBonusHistory-Dw5CWQDm.js → PlayerBonusHistory-D61Y7LPQ.js} +53 -53
- package/components/{PlayerChangePassword-BkjAcj4x.js → PlayerChangePassword-CtlTmVcf.js} +1 -1
- package/components/{PlayerDeposit-D5fEWazq.js → PlayerDeposit-_rTfbSEr.js} +1 -1
- package/components/{PlayerGamingHistory-DaDCBXVi.js → PlayerGamingHistory-szc4XDy6.js} +375 -388
- package/components/{PlayerPendingWithdrawals--vyYysmT.js → PlayerPendingWithdrawals-BhEz708_.js} +1 -1
- package/components/{PlayerProfileInfo-CjhfS-zh.js → PlayerProfileInfo-BbyV3TvC.js} +532 -549
- package/components/{PlayerRealityCheck-BVS-ZwGk.js → PlayerRealityCheck-DMRjX5t_.js} +175 -191
- package/components/{PlayerTransactionHistory-Dd5Xk8dK.js → PlayerTransactionHistory-C4ne-FLe.js} +1 -1
- package/components/{PlayerWithdrawal-ZUk_jlsP.js → PlayerWithdrawal-Bn5jvB2N.js} +1 -1
- package/esnext/player-account-controller-nd.js +14 -0
- package/package.json +11 -31
- package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
- package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
- package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
- package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
- package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
- package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
- package/stencil/player-change-password-gm2-sVfmFhoT.js +7 -0
- package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
- package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
- package/components/PlayerAccountClosureNd-BOdzF3ZS.cjs +0 -1
- package/components/PlayerAccountControllerNd-BZinIfCX.cjs +0 -1
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2Nd-ieMEHssX.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C_v3NfIe.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-_Ze6bW4r.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
- package/components/PlayerAccountMenuNd-B8H3so10.cjs +0 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-B5wR57a_.cjs +0 -3828
- package/components/PlayerAccountTimeout-E-jDJfAE.cjs +0 -1
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
- package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
- package/components/PlayerBonusHistory-DDWO5PPl.cjs +0 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
- package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
- package/components/PlayerGamingHistory-CJOG_M6n.cjs +0 -1
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
- package/es2015/player-account-controller-nd.cjs +0 -1
- package/es2015/player-account-controller-nd.js +0 -16
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
- package/stencil/general-input-fzGwoSoE.cjs +0 -1
- package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
- package/stencil/index-Dyvby5gX.cjs +0 -1
- package/stencil/locale-B5abSHU_.cjs +0 -1
- package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
- package/stencil/player-change-password-gm2-Cer2RaBb.cjs +0 -1
- package/stencil/player-change-password-gm2-Do4_2F3u.js +0 -25
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var ft = Object.prototype.hasOwnProperty, gt = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var Ze = (t, e, i) => e in t ? Lt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, Ce = (t, e) => {
|
|
5
|
-
for (var i in e || (e = {}))
|
|
6
|
-
ft.call(e, i) && Ze(t, i, e[i]);
|
|
7
|
-
if (Xe)
|
|
8
|
-
for (var i of Xe(e))
|
|
9
|
-
gt.call(e, i) && Ze(t, i, e[i]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { a as yt, $ as ht, S as vt, i as bt, f as ae, c as kt, s as wt, b as _t, e as v, d as V, g as f, l as u, k as A, o as pe, p as _, q as St, T as At, W as Tt, M as Je, N as gi, x as Qe, t as I, B as yi, m as se, n as N, K as Le, O as Te, L as De, r as je, P as hi, Q as Ee, y as Ct, w as F, U as Ae } from "./GeneralLogout-BtWyed39.js";
|
|
13
|
-
const W = {
|
|
1
|
+
import { a as ut, $ as dt, S as pt, i as ct, f as ae, c as Lt, s as ft, b as gt, e as h, d as O, g as f, l as u, k as A, o as de, p as _, q as yt, T as ht, W as vt, M as Ye, N as ci, x as Xe, t as P, B as Li, m as ne, n as U, K as ce, O as Ae, L as Ce, r as Ee, P as fi, Q as Te, y as bt, w as W, U as Se } from "./GeneralLogout-3tCkYOBy.js";
|
|
2
|
+
const V = {
|
|
14
3
|
lugas: {
|
|
15
4
|
title: "Deposit Limit",
|
|
16
5
|
value: "lugas",
|
|
@@ -54,13 +43,13 @@ const W = {
|
|
|
54
43
|
callValue16: "cumulativeSession"
|
|
55
44
|
}
|
|
56
45
|
};
|
|
57
|
-
function
|
|
58
|
-
|
|
46
|
+
function Ze(t, e) {
|
|
47
|
+
ut(t, e);
|
|
59
48
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
49
|
+
function kt(t) {
|
|
50
|
+
dt.set(t);
|
|
62
51
|
}
|
|
63
|
-
const
|
|
52
|
+
const pe = {
|
|
64
53
|
en: {
|
|
65
54
|
loadingText: "Loading, please wait...",
|
|
66
55
|
Monthly: "per month",
|
|
@@ -1074,390 +1063,390 @@ const ce = {
|
|
|
1074
1063
|
"dataLayer-weekly": "Haftalık",
|
|
1075
1064
|
"dataLayer-monthly": "Aylık"
|
|
1076
1065
|
}
|
|
1077
|
-
}, { document:
|
|
1078
|
-
function
|
|
1079
|
-
|
|
1066
|
+
}, { document: wt } = vt;
|
|
1067
|
+
function _t(t) {
|
|
1068
|
+
gt(t, "svelte-4s70if", ':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:var(--emw--font-size-large, 20px)}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;padding:10px 15px;margin:12px 0;border-radius:var(--emw--border-radius-large, 20px);box-shadow:none;font-size:var(--emw--font-size-x-large, 24px);border:1px solid var(---emw--color-gray-150, #a9b6ce);background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-typography-contrast, #444444)}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.LimitPeriodDropdownWrapper.Mobile,.LimitAmountInputWrapper.Mobile{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-bold, 700)}select{width:100%;padding:10px 18px;margin:12px 0;border-radius:var(--emw--border-radius-large, 20px);box-shadow:none;font-size:var(--emw--font-size-large, 20px);cursor:pointer;color:var(--emw--color-typography-contrast, #444444);border:1px solid var(---emw--color-gray-150, #a9b6ce);appearance:none;background:url("../assets/arrow-down.svg") no-repeat;background-color:var(--emw--color-white, #FFFFFF);background-size:20px 20px;background-position:calc(100% - 15px)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.Mobile input,.Mobile select{font-size:var(--emw--font-size-small, 14px);padding:5px 15px;background-size:15px 15px}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(--emw--color-typography-contrast, #444444)}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px;color:var(--emw--color-typography-contrast, #444444);width:320px;padding:0 12px;float:left}.LimitsInteractionArea.Mobile{padding:0}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-small, 14px);padding:6px 0px;margin-bottom:6px}.LimitsList{display:flex;flex-direction:column;z-index:0}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:var(--emw--font-size-small, 14px)}.LimitsPageContainer{position:relative;z-index:90}.LimitsPageContainer .LimitWrapper{font-size:var(--emw--font-size-large, 20px);width:90%;margin:12px 0;background:var(--emw--color-typography, #fff);border:5px solid transparent;background-clip:padding-box;padding:8px 12px;border-radius:var(--emw--border-radius-large, 20px);position:relative}.LimitsPageContainer .LimitWrapper::after{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%), var(--emw--color-secondary, #E1A749), color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, white 20%));border-radius:var(--emw--border-radius-large, 20px);position:absolute;top:-10px;bottom:-10px;left:-10px;right:-10px;content:"";z-index:-1}.LimitsPageContainer .LimitWrapper:not(:first-child){margin-top:12px}.LimitsPageContainer .LimitWrapper.Mobile{width:100%}.LimitsPageContainer .LimitWrapper.Mobile::after{top:-7px;bottom:-7px;left:-7px;right:-7px}.LimitSubmitButton,.ConfirmButton{margin-top:20px;background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.LimitSubmitButton.Mobile,.ConfirmButton.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:var(--emw--color-grey-150, #C0CBC3);border:2px solid color-mix(in srgb, var(--emw--color-grey-150, #C0CBC3) 90%, black 10%);cursor:not-allowed}.CloseButton{background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:8px 4px 8px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{display:flex;justify-content:space-between;align-items:center;font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-grey-150, #C0CBC3);padding-bottom:16px;border-bottom:1px solid var(--emw--color-grey-150, #C0CBC3);gap:10px}.LimitDetailsTextWrapper .PendingLimit{color:var(--emw--color-grey-150, #C0CBC3);padding-left:4px}.LimitDetailsTextWrapper .CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.LimitDetailsTextWrapper .CurrentLimit span,.LimitDetailsTextWrapper .PendingLimit span{color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.LimitDetailsTextWrapper.Mobile{gap:20px;flex-direction:column;font-size:var(--emw--font-size-small, 14px)}.LimitDetails:last-child .LimitDetailsTextWrapper{border-bottom:none;padding-bottom:0px}.PendingLimit{color:var(--emw--color-typography-contrast, #444444)}.LimitTitle{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E);text-align:left;font-weight:600;margin:25px 0 10px}.LimitTitle.Mobile{font-size:var(--emw--font-size-medium, 16px)}.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{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);display:flex;flex-direction:column;justify-content:space-between;width:30vw}.PopupContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:103%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.PopupContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.PopupContainer.Mobile{width:85vw;border-radius:var(--emw--border-radius-large, 20px)}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:var(--emw--font-size-large, 20px)}.PopupTitleWrapper button{background:transparent;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-x-large, 24px);border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:var(--emw--font-size-large, 20px);padding:12px}.DescriptionParagraph.Mobile{font-size:var(--emw--font-size-small, 14px)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px;fill:var(--emw--color-typography, #fff)}.LimitDetails{display:flex;flex-direction:column}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ContainerLimitActions.Mobile{width:100%;gap:20px;align-items:flex-start;justify-content:flex-start}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{font-size:var(--emw--font-size-medium, 16px);width:100%;max-width:150px;background:transparent;color:var(--emw--color-error, #E91D1D);border:1px solid var(--emw--color-error, #E91D1D);border-radius:var(--emw--button-border-radius, 50px);padding:10px 29px;cursor:pointer;position:relative;white-space:nowrap}.ReloadLimitButton.Mobile,.RemoveLimitButton.Mobile,.ConfirmLimitButton.Mobile,.CancelLimitButton.Mobile{padding:10px 10px;font-size:var(--emw--font-size-x-small, 12px)}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-error, #E91D1D);color:var(--emw--color-white, #FFFFFF)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #E6E6E6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #E6E6E6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@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}');
|
|
1080
1069
|
}
|
|
1081
|
-
function
|
|
1070
|
+
function Je(t, e, i) {
|
|
1082
1071
|
const a = t.slice();
|
|
1083
1072
|
return a[120] = e[i], a;
|
|
1084
1073
|
}
|
|
1085
|
-
function
|
|
1074
|
+
function Qe(t, e, i) {
|
|
1086
1075
|
const a = t.slice();
|
|
1087
1076
|
return a[123] = e[i], a[125] = i, a;
|
|
1088
1077
|
}
|
|
1089
|
-
function
|
|
1078
|
+
function $e(t, e, i) {
|
|
1090
1079
|
const a = t.slice();
|
|
1091
1080
|
return a[123] = e[i], a;
|
|
1092
1081
|
}
|
|
1093
|
-
function
|
|
1082
|
+
function ei(t, e, i) {
|
|
1094
1083
|
const a = t.slice();
|
|
1095
1084
|
return a[128] = e[i], a;
|
|
1096
1085
|
}
|
|
1097
|
-
function
|
|
1086
|
+
function ii(t) {
|
|
1098
1087
|
let e, i, a;
|
|
1099
|
-
function
|
|
1088
|
+
function o(p, c) {
|
|
1100
1089
|
return (
|
|
1101
1090
|
/*popupReady*/
|
|
1102
|
-
|
|
1091
|
+
p[20] ? St : At
|
|
1103
1092
|
);
|
|
1104
1093
|
}
|
|
1105
|
-
let s =
|
|
1094
|
+
let s = o(t), r = s(t);
|
|
1106
1095
|
return {
|
|
1107
1096
|
c() {
|
|
1108
|
-
e =
|
|
1097
|
+
e = h("div"), i = h("div"), r.c(), f(i, "class", a = "PopupContainer " + /*popupClass*/
|
|
1109
1098
|
t[22] + " " + (/*isDesktop*/
|
|
1110
1099
|
t[27] ? "" : "Mobile")), f(e, "class", "PopupOverlay");
|
|
1111
1100
|
},
|
|
1112
|
-
m(
|
|
1113
|
-
A(
|
|
1101
|
+
m(p, c) {
|
|
1102
|
+
A(p, e, c), u(e, i), r.m(i, null);
|
|
1114
1103
|
},
|
|
1115
|
-
p(
|
|
1116
|
-
s === (s =
|
|
1104
|
+
p(p, c) {
|
|
1105
|
+
s === (s = o(p)) && r ? r.p(p, c) : (r.d(1), r = s(p), r && (r.c(), r.m(i, null))), c[0] & /*popupClass*/
|
|
1117
1106
|
4194304 && a !== (a = "PopupContainer " + /*popupClass*/
|
|
1118
|
-
|
|
1119
|
-
|
|
1107
|
+
p[22] + " " + (/*isDesktop*/
|
|
1108
|
+
p[27] ? "" : "Mobile")) && f(i, "class", a);
|
|
1120
1109
|
},
|
|
1121
|
-
d(
|
|
1122
|
-
|
|
1110
|
+
d(p) {
|
|
1111
|
+
p && _(e), r.d();
|
|
1123
1112
|
}
|
|
1124
1113
|
};
|
|
1125
1114
|
}
|
|
1126
|
-
function
|
|
1115
|
+
function St(t) {
|
|
1127
1116
|
let e, i, a = (
|
|
1128
1117
|
/*$_*/
|
|
1129
1118
|
t[26]("popupTitle") + ""
|
|
1130
|
-
),
|
|
1131
|
-
function Z(k,
|
|
1119
|
+
), o, s, r, p, c, m, L, y, j, b, x, H, q;
|
|
1120
|
+
function Z(k, B) {
|
|
1132
1121
|
return (
|
|
1133
1122
|
/*popupErrorDisplay*/
|
|
1134
|
-
k[18] ?
|
|
1123
|
+
k[18] ? Et : (
|
|
1135
1124
|
/*popupVariant*/
|
|
1136
|
-
k[23] == 2 ?
|
|
1125
|
+
k[23] == 2 ? Ct : Tt
|
|
1137
1126
|
)
|
|
1138
1127
|
);
|
|
1139
1128
|
}
|
|
1140
|
-
let
|
|
1141
|
-
function
|
|
1129
|
+
let N = Z(t), M = N(t);
|
|
1130
|
+
function R(k, B) {
|
|
1142
1131
|
return (
|
|
1143
1132
|
/*popupErrorDisplay*/
|
|
1144
|
-
k[18] ?
|
|
1133
|
+
k[18] ? Mt : (
|
|
1145
1134
|
/*popupVariant*/
|
|
1146
|
-
k[23] == 2 ?
|
|
1135
|
+
k[23] == 2 ? jt : Dt
|
|
1147
1136
|
)
|
|
1148
1137
|
);
|
|
1149
1138
|
}
|
|
1150
|
-
let D =
|
|
1151
|
-
function S(k,
|
|
1139
|
+
let D = R(t), I = D(t);
|
|
1140
|
+
function S(k, B) {
|
|
1152
1141
|
return (
|
|
1153
1142
|
/*popupVariant*/
|
|
1154
|
-
k[23] == 2 ?
|
|
1143
|
+
k[23] == 2 ? zt : xt
|
|
1155
1144
|
);
|
|
1156
1145
|
}
|
|
1157
1146
|
let T = S(t), w = T(t);
|
|
1158
1147
|
return {
|
|
1159
1148
|
c() {
|
|
1160
|
-
e =
|
|
1149
|
+
e = h("div"), i = h("span"), o = P(a), s = O(), r = h("button"), r.textContent = "X", p = O(), c = h("div"), m = h("div"), M.c(), L = O(), I.c(), y = O(), j = h("p"), b = O(), w.c(), x = Li(), f(i, "class", "PopupTitle"), f(r, "class", "ClosePopup"), f(e, "class", "PopupTitleWrapper"), f(m, "class", "ResultIconWrapper"), f(j, "class", "DescriptionParagraph " + (/*isDesktop*/
|
|
1161
1150
|
t[27] ? "" : "Mobile")), f(c, "class", "DescriptionWrapper");
|
|
1162
1151
|
},
|
|
1163
|
-
m(k,
|
|
1164
|
-
A(k, e,
|
|
1165
|
-
t[21], A(k, b,
|
|
1152
|
+
m(k, B) {
|
|
1153
|
+
A(k, e, B), u(e, i), u(i, o), u(e, s), u(e, r), A(k, p, B), A(k, c, B), u(c, m), M.m(m, null), u(m, L), I.m(m, null), u(c, y), u(c, j), j.innerHTML = /*popupContent*/
|
|
1154
|
+
t[21], A(k, b, B), w.m(k, B), A(k, x, B), H || (q = ne(
|
|
1166
1155
|
r,
|
|
1167
1156
|
"click",
|
|
1168
1157
|
/*closePopup*/
|
|
1169
1158
|
t[39]
|
|
1170
1159
|
), H = !0);
|
|
1171
1160
|
},
|
|
1172
|
-
p(k,
|
|
1173
|
-
|
|
1161
|
+
p(k, B) {
|
|
1162
|
+
B[0] & /*$_*/
|
|
1174
1163
|
67108864 && a !== (a = /*$_*/
|
|
1175
|
-
k[26]("popupTitle") + "") &&
|
|
1164
|
+
k[26]("popupTitle") + "") && U(o, a), N !== (N = Z(k)) && (M.d(1), M = N(k), M && (M.c(), M.m(m, L))), D === (D = R(k)) && I ? I.p(k, B) : (I.d(1), I = D(k), I && (I.c(), I.m(m, null))), B[0] & /*popupContent*/
|
|
1176
1165
|
2097152 && (j.innerHTML = /*popupContent*/
|
|
1177
|
-
k[21]), T === (T = S(k)) && w ? w.p(k,
|
|
1166
|
+
k[21]), T === (T = S(k)) && w ? w.p(k, B) : (w.d(1), w = T(k), w && (w.c(), w.m(x.parentNode, x)));
|
|
1178
1167
|
},
|
|
1179
1168
|
d(k) {
|
|
1180
|
-
k && (_(e), _(
|
|
1169
|
+
k && (_(e), _(p), _(c), _(b), _(x)), M.d(), I.d(), w.d(k), H = !1, q();
|
|
1181
1170
|
}
|
|
1182
1171
|
};
|
|
1183
1172
|
}
|
|
1184
|
-
function
|
|
1173
|
+
function At(t) {
|
|
1185
1174
|
let e;
|
|
1186
1175
|
return {
|
|
1187
1176
|
c() {
|
|
1188
|
-
e =
|
|
1177
|
+
e = h("div"), f(e, "class", "LoadingIndicator");
|
|
1189
1178
|
},
|
|
1190
1179
|
m(i, a) {
|
|
1191
1180
|
A(i, e, a);
|
|
1192
1181
|
},
|
|
1193
|
-
p:
|
|
1182
|
+
p: de,
|
|
1194
1183
|
d(i) {
|
|
1195
1184
|
i && _(e);
|
|
1196
1185
|
}
|
|
1197
1186
|
};
|
|
1198
1187
|
}
|
|
1199
|
-
function
|
|
1200
|
-
let e, i, a,
|
|
1188
|
+
function Tt(t) {
|
|
1189
|
+
let e, i, a, o, s, r;
|
|
1201
1190
|
return {
|
|
1202
1191
|
c() {
|
|
1203
|
-
e =
|
|
1204
|
-
`), s =
|
|
1192
|
+
e = W("svg"), i = W("defs"), a = W("style"), o = P(`.fil0 {fill:black;fill-rule:nonzero}
|
|
1193
|
+
`), s = W("g"), r = W("polygon"), f(a, "type", "text/css"), f(r, "class", "fil0"), f(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "xml:space", "preserve"), f(e, "version", "1.1"), Se(e, "shape-rendering", "geometricPrecision"), Se(e, "text-rendering", "geometricPrecision"), Se(e, "image-rendering", "optimizeQuality"), f(e, "viewBox", "0 0 90 69"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "fill-rule", "evenodd"), f(e, "clip-rule", "evenodd");
|
|
1205
1194
|
},
|
|
1206
|
-
m(
|
|
1207
|
-
A(
|
|
1195
|
+
m(p, c) {
|
|
1196
|
+
A(p, e, c), u(e, i), u(i, a), u(a, o), u(e, s), u(s, r);
|
|
1208
1197
|
},
|
|
1209
|
-
d(
|
|
1210
|
-
|
|
1198
|
+
d(p) {
|
|
1199
|
+
p && _(e);
|
|
1211
1200
|
}
|
|
1212
1201
|
};
|
|
1213
1202
|
}
|
|
1214
|
-
function
|
|
1203
|
+
function Ct(t) {
|
|
1215
1204
|
let e, i, a;
|
|
1216
1205
|
return {
|
|
1217
1206
|
c() {
|
|
1218
|
-
e =
|
|
1207
|
+
e = W("svg"), i = W("g"), a = W("path"), f(a, "id", "XMLID_6_"), f(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
|
|
1219
1208
|
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
|
|
1220
1209
|
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
|
|
1221
|
-
h256.5v-82.1H429v366.5H429.9z`), f(i, "id", "XMLID_1_"), f(e, "version", "1.1"), f(e, "id", "Layer_1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "viewBox", "0 0 512 512"),
|
|
1210
|
+
h256.5v-82.1H429v366.5H429.9z`), f(i, "id", "XMLID_1_"), f(e, "version", "1.1"), f(e, "id", "Layer_1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "viewBox", "0 0 512 512"), Se(e, "enable-background", "new 0 0 512 512"), f(e, "xml:space", "preserve");
|
|
1222
1211
|
},
|
|
1223
|
-
m(
|
|
1224
|
-
A(
|
|
1212
|
+
m(o, s) {
|
|
1213
|
+
A(o, e, s), u(e, i), u(i, a);
|
|
1225
1214
|
},
|
|
1226
|
-
d(
|
|
1227
|
-
|
|
1215
|
+
d(o) {
|
|
1216
|
+
o && _(e);
|
|
1228
1217
|
}
|
|
1229
1218
|
};
|
|
1230
1219
|
}
|
|
1231
|
-
function
|
|
1232
|
-
let e, i, a,
|
|
1220
|
+
function Et(t) {
|
|
1221
|
+
let e, i, a, o, s, r, p, c, m, L, y, j, b, x, H, q, Z, N, M;
|
|
1233
1222
|
return {
|
|
1234
1223
|
c() {
|
|
1235
|
-
e =
|
|
1236
|
-
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), f(
|
|
1224
|
+
e = W("svg"), i = W("g"), a = W("path"), o = W("path"), s = W("g"), r = W("g"), p = W("g"), c = W("g"), m = W("g"), L = W("g"), y = W("g"), j = W("g"), b = W("g"), x = W("g"), H = W("g"), q = W("g"), Z = W("g"), N = W("g"), M = W("g"), f(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
|
|
1225
|
+
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), f(o, "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
|
|
1237
1226
|
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
|
|
1238
1227
|
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
|
|
1239
|
-
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`), f(e, "version", "1.1"), f(e, "id", "Capa_1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "viewBox", "0 0 52 52"),
|
|
1228
|
+
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`), f(e, "version", "1.1"), f(e, "id", "Capa_1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "viewBox", "0 0 52 52"), Se(e, "enable-background", "new 0 0 52 52"), f(e, "xml:space", "preserve");
|
|
1240
1229
|
},
|
|
1241
|
-
m(
|
|
1242
|
-
A(
|
|
1230
|
+
m(R, D) {
|
|
1231
|
+
A(R, e, D), u(e, i), u(i, a), u(i, o), u(e, s), u(e, r), u(e, p), u(e, c), u(e, m), u(e, L), u(e, y), u(e, j), u(e, b), u(e, x), u(e, H), u(e, q), u(e, Z), u(e, N), u(e, M);
|
|
1243
1232
|
},
|
|
1244
|
-
d(
|
|
1245
|
-
|
|
1233
|
+
d(R) {
|
|
1234
|
+
R && _(e);
|
|
1246
1235
|
}
|
|
1247
1236
|
};
|
|
1248
1237
|
}
|
|
1249
|
-
function
|
|
1238
|
+
function Dt(t) {
|
|
1250
1239
|
let e, i = (
|
|
1251
1240
|
/*$_*/
|
|
1252
1241
|
t[26]("popupSuccess") + ""
|
|
1253
1242
|
), a;
|
|
1254
1243
|
return {
|
|
1255
1244
|
c() {
|
|
1256
|
-
e =
|
|
1245
|
+
e = h("p"), a = P(i);
|
|
1257
1246
|
},
|
|
1258
|
-
m(
|
|
1259
|
-
A(
|
|
1247
|
+
m(o, s) {
|
|
1248
|
+
A(o, e, s), u(e, a);
|
|
1260
1249
|
},
|
|
1261
|
-
p(
|
|
1250
|
+
p(o, s) {
|
|
1262
1251
|
s[0] & /*$_*/
|
|
1263
1252
|
67108864 && i !== (i = /*$_*/
|
|
1264
|
-
|
|
1253
|
+
o[26]("popupSuccess") + "") && U(a, i);
|
|
1265
1254
|
},
|
|
1266
|
-
d(
|
|
1267
|
-
|
|
1255
|
+
d(o) {
|
|
1256
|
+
o && _(e);
|
|
1268
1257
|
}
|
|
1269
1258
|
};
|
|
1270
1259
|
}
|
|
1271
|
-
function
|
|
1260
|
+
function jt(t) {
|
|
1272
1261
|
let e, i = (
|
|
1273
1262
|
/*$_*/
|
|
1274
1263
|
t[26]("docsRequired") + ""
|
|
1275
1264
|
), a;
|
|
1276
1265
|
return {
|
|
1277
1266
|
c() {
|
|
1278
|
-
e =
|
|
1267
|
+
e = h("p"), a = P(i);
|
|
1279
1268
|
},
|
|
1280
|
-
m(
|
|
1281
|
-
A(
|
|
1269
|
+
m(o, s) {
|
|
1270
|
+
A(o, e, s), u(e, a);
|
|
1282
1271
|
},
|
|
1283
|
-
p(
|
|
1272
|
+
p(o, s) {
|
|
1284
1273
|
s[0] & /*$_*/
|
|
1285
1274
|
67108864 && i !== (i = /*$_*/
|
|
1286
|
-
|
|
1275
|
+
o[26]("docsRequired") + "") && U(a, i);
|
|
1287
1276
|
},
|
|
1288
|
-
d(
|
|
1289
|
-
|
|
1277
|
+
d(o) {
|
|
1278
|
+
o && _(e);
|
|
1290
1279
|
}
|
|
1291
1280
|
};
|
|
1292
1281
|
}
|
|
1293
|
-
function
|
|
1282
|
+
function Mt(t) {
|
|
1294
1283
|
let e, i = (
|
|
1295
1284
|
/*$_*/
|
|
1296
1285
|
t[26]("popupError") + ""
|
|
1297
1286
|
), a;
|
|
1298
1287
|
return {
|
|
1299
1288
|
c() {
|
|
1300
|
-
e =
|
|
1289
|
+
e = h("p"), a = P(i);
|
|
1301
1290
|
},
|
|
1302
|
-
m(
|
|
1303
|
-
A(
|
|
1291
|
+
m(o, s) {
|
|
1292
|
+
A(o, e, s), u(e, a);
|
|
1304
1293
|
},
|
|
1305
|
-
p(
|
|
1294
|
+
p(o, s) {
|
|
1306
1295
|
s[0] & /*$_*/
|
|
1307
1296
|
67108864 && i !== (i = /*$_*/
|
|
1308
|
-
|
|
1297
|
+
o[26]("popupError") + "") && U(a, i);
|
|
1309
1298
|
},
|
|
1310
|
-
d(
|
|
1311
|
-
|
|
1299
|
+
d(o) {
|
|
1300
|
+
o && _(e);
|
|
1312
1301
|
}
|
|
1313
1302
|
};
|
|
1314
1303
|
}
|
|
1315
|
-
function
|
|
1304
|
+
function xt(t) {
|
|
1316
1305
|
let e, i = (
|
|
1317
1306
|
/*$_*/
|
|
1318
1307
|
t[26]("okButton") + ""
|
|
1319
|
-
), a,
|
|
1308
|
+
), a, o, s;
|
|
1320
1309
|
return {
|
|
1321
1310
|
c() {
|
|
1322
|
-
e =
|
|
1311
|
+
e = h("button"), a = P(i), f(e, "class", "ConfirmButton " + (/*isDesktop*/
|
|
1323
1312
|
t[27] ? "" : "Mobile"));
|
|
1324
1313
|
},
|
|
1325
|
-
m(r,
|
|
1326
|
-
A(r, e,
|
|
1314
|
+
m(r, p) {
|
|
1315
|
+
A(r, e, p), u(e, a), o || (s = ne(
|
|
1327
1316
|
e,
|
|
1328
1317
|
"click",
|
|
1329
1318
|
/*closePopup*/
|
|
1330
1319
|
t[39]
|
|
1331
|
-
),
|
|
1320
|
+
), o = !0);
|
|
1332
1321
|
},
|
|
1333
|
-
p(r,
|
|
1334
|
-
|
|
1322
|
+
p(r, p) {
|
|
1323
|
+
p[0] & /*$_*/
|
|
1335
1324
|
67108864 && i !== (i = /*$_*/
|
|
1336
|
-
r[26]("okButton") + "") &&
|
|
1325
|
+
r[26]("okButton") + "") && U(a, i);
|
|
1337
1326
|
},
|
|
1338
1327
|
d(r) {
|
|
1339
|
-
r && _(e),
|
|
1328
|
+
r && _(e), o = !1, s();
|
|
1340
1329
|
}
|
|
1341
1330
|
};
|
|
1342
1331
|
}
|
|
1343
|
-
function
|
|
1332
|
+
function zt(t) {
|
|
1344
1333
|
let e, i = (
|
|
1345
1334
|
/*$_*/
|
|
1346
1335
|
t[26]("uploadDocumentsButton") + ""
|
|
1347
|
-
), a,
|
|
1336
|
+
), a, o, s = (
|
|
1348
1337
|
/*$_*/
|
|
1349
1338
|
t[26]("closeButton") + ""
|
|
1350
|
-
), r,
|
|
1339
|
+
), r, p, c;
|
|
1351
1340
|
return {
|
|
1352
1341
|
c() {
|
|
1353
|
-
e =
|
|
1342
|
+
e = h("button"), a = O(), o = h("button"), r = P(s), f(e, "class", "ConfirmButton"), f(o, "class", "CloseButton");
|
|
1354
1343
|
},
|
|
1355
1344
|
m(m, L) {
|
|
1356
|
-
A(m, e, L), e.innerHTML = i, A(m, a, L), A(m,
|
|
1357
|
-
|
|
1345
|
+
A(m, e, L), e.innerHTML = i, A(m, a, L), A(m, o, L), u(o, r), p || (c = [
|
|
1346
|
+
ne(
|
|
1358
1347
|
e,
|
|
1359
1348
|
"click",
|
|
1360
1349
|
/*uploadDocumentsTrigger*/
|
|
1361
1350
|
t[40]
|
|
1362
1351
|
),
|
|
1363
|
-
|
|
1364
|
-
|
|
1352
|
+
ne(
|
|
1353
|
+
o,
|
|
1365
1354
|
"click",
|
|
1366
1355
|
/*closePopup*/
|
|
1367
1356
|
t[39]
|
|
1368
1357
|
)
|
|
1369
|
-
],
|
|
1358
|
+
], p = !0);
|
|
1370
1359
|
},
|
|
1371
1360
|
p(m, L) {
|
|
1372
1361
|
L[0] & /*$_*/
|
|
1373
1362
|
67108864 && i !== (i = /*$_*/
|
|
1374
1363
|
m[26]("uploadDocumentsButton") + "") && (e.innerHTML = i), L[0] & /*$_*/
|
|
1375
1364
|
67108864 && s !== (s = /*$_*/
|
|
1376
|
-
m[26]("closeButton") + "") &&
|
|
1365
|
+
m[26]("closeButton") + "") && U(r, s);
|
|
1377
1366
|
},
|
|
1378
1367
|
d(m) {
|
|
1379
|
-
m && (_(e), _(a), _(
|
|
1368
|
+
m && (_(e), _(a), _(o)), p = !1, Ee(c);
|
|
1380
1369
|
}
|
|
1381
1370
|
};
|
|
1382
1371
|
}
|
|
1383
|
-
function
|
|
1384
|
-
let e, i, a,
|
|
1372
|
+
function Pt(t) {
|
|
1373
|
+
let e, i, a, o, s, r, p = (
|
|
1385
1374
|
/*$_*/
|
|
1386
1375
|
t[26]("setLimit") + ""
|
|
1387
|
-
), c, m, L,
|
|
1376
|
+
), c, m, L, y, j, b, x, H = (
|
|
1388
1377
|
/*multiplePeriods*/
|
|
1389
1378
|
t[15] ? `${/*$_*/
|
|
1390
1379
|
t[26]("amount")}` : `${/*$_*/
|
|
1391
1380
|
t[26](`new${/*selectedPeriod*/
|
|
1392
1381
|
t[8]}Limit`)}`
|
|
1393
|
-
),
|
|
1382
|
+
), q, Z, N, M, R, D, I = (
|
|
1394
1383
|
/*$_*/
|
|
1395
1384
|
t[26]("setLimit") + ""
|
|
1396
|
-
), S, T, w, k,
|
|
1385
|
+
), S, T, w, k, B = ce(
|
|
1397
1386
|
/*availableLimits*/
|
|
1398
1387
|
t[6]
|
|
1399
|
-
),
|
|
1400
|
-
for (let C = 0; C <
|
|
1401
|
-
|
|
1388
|
+
), G = [];
|
|
1389
|
+
for (let C = 0; C < B.length; C += 1)
|
|
1390
|
+
G[C] = si($e(t, B, C));
|
|
1402
1391
|
let E = (
|
|
1403
1392
|
/*enablecompliancetext*/
|
|
1404
|
-
t[1] === "true" &&
|
|
1393
|
+
t[1] === "true" && ri(t)
|
|
1405
1394
|
), J = (
|
|
1406
1395
|
/*multipleLimits*/
|
|
1407
|
-
t[14] &&
|
|
1396
|
+
t[14] && li(t)
|
|
1408
1397
|
), Y = (
|
|
1409
1398
|
/*multiplePeriods*/
|
|
1410
|
-
t[15] &&
|
|
1399
|
+
t[15] && ui(t)
|
|
1411
1400
|
), X = (
|
|
1412
1401
|
/*invalidInput*/
|
|
1413
|
-
t[24] &&
|
|
1402
|
+
t[24] && pi(t)
|
|
1414
1403
|
);
|
|
1415
1404
|
return {
|
|
1416
1405
|
c() {
|
|
1417
|
-
e =
|
|
1418
|
-
for (let C = 0; C <
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
t[27] ? "" : "Mobile")), f(
|
|
1406
|
+
e = h("div"), i = h("div"), a = h("div");
|
|
1407
|
+
for (let C = 0; C < G.length; C += 1)
|
|
1408
|
+
G[C].c();
|
|
1409
|
+
o = O(), s = h("form"), r = h("p"), c = P(p), m = O(), E && E.c(), L = O(), J && J.c(), y = O(), Y && Y.c(), j = O(), b = h("label"), x = h("span"), q = P(H), Z = O(), N = h("input"), M = O(), X && X.c(), R = O(), D = h("button"), S = P(I), f(a, "class", "LimitsList"), f(r, "class", "LimitTitle " + (/*isDesktop*/
|
|
1410
|
+
t[27] ? "" : "Mobile")), f(x, "class", "LimitInputText"), f(N, "type", "number"), f(N, "pattern", "[0-9]*"), f(b, "class", "LimitAmountInputWrapper " + (/*isDesktop*/
|
|
1422
1411
|
t[27] ? "" : "Mobile")), f(D, "class", "LimitSubmitButton " + (/*isDesktop*/
|
|
1423
1412
|
t[27] ? "" : "Mobile")), f(D, "type", "button"), D.disabled = !0, f(s, "class", "LimitsInteractionArea " + (/*isDesktop*/
|
|
1424
1413
|
t[27] ? "" : "Mobile")), f(i, "class", "LimitsPageContainer"), f(e, "class", T = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
1425
1414
|
t[3]));
|
|
1426
1415
|
},
|
|
1427
|
-
m(C,
|
|
1428
|
-
A(C, e,
|
|
1429
|
-
for (let Q = 0; Q <
|
|
1430
|
-
|
|
1431
|
-
u(i,
|
|
1432
|
-
|
|
1416
|
+
m(C, K) {
|
|
1417
|
+
A(C, e, K), u(e, i), u(i, a);
|
|
1418
|
+
for (let Q = 0; Q < G.length; Q += 1)
|
|
1419
|
+
G[Q] && G[Q].m(a, null);
|
|
1420
|
+
u(i, o), u(i, s), u(s, r), u(r, c), u(s, m), E && E.m(s, null), u(s, L), J && J.m(s, null), u(s, y), Y && Y.m(s, null), u(s, j), u(s, b), u(b, x), u(x, q), u(b, Z), u(b, N), Ae(
|
|
1421
|
+
N,
|
|
1433
1422
|
/*inputAmount*/
|
|
1434
1423
|
t[10]
|
|
1435
|
-
), u(b,
|
|
1436
|
-
|
|
1437
|
-
|
|
1424
|
+
), u(b, M), X && X.m(b, null), u(s, R), u(s, D), u(D, S), t[63](D), w || (k = [
|
|
1425
|
+
ne(
|
|
1426
|
+
N,
|
|
1438
1427
|
"input",
|
|
1439
1428
|
/*input_input_handler*/
|
|
1440
1429
|
t[62]
|
|
1441
1430
|
),
|
|
1442
|
-
|
|
1443
|
-
|
|
1431
|
+
ne(
|
|
1432
|
+
N,
|
|
1444
1433
|
"keydown",
|
|
1445
1434
|
/*preventEnterSubmit*/
|
|
1446
1435
|
t[41]
|
|
1447
1436
|
),
|
|
1448
|
-
|
|
1449
|
-
|
|
1437
|
+
ne(
|
|
1438
|
+
N,
|
|
1450
1439
|
"keyup",
|
|
1451
1440
|
/*updateInputValue*/
|
|
1452
1441
|
t[32]
|
|
1453
1442
|
),
|
|
1454
|
-
|
|
1443
|
+
ne(
|
|
1455
1444
|
D,
|
|
1456
1445
|
"click",
|
|
1457
1446
|
/*updateLimitsSwitch*/
|
|
1458
1447
|
t[30]
|
|
1459
1448
|
),
|
|
1460
|
-
|
|
1449
|
+
ne(
|
|
1461
1450
|
s,
|
|
1462
1451
|
"submit",
|
|
1463
1452
|
/*updateLimitsSwitch*/
|
|
@@ -1465,195 +1454,195 @@ function Vt(t) {
|
|
|
1465
1454
|
)
|
|
1466
1455
|
], w = !0);
|
|
1467
1456
|
},
|
|
1468
|
-
p(C,
|
|
1469
|
-
if (
|
|
1470
|
-
234881092 |
|
|
1457
|
+
p(C, K) {
|
|
1458
|
+
if (K[0] & /*isDesktop, $_, availableLimits, deletelimit, acknowledgedLimits*/
|
|
1459
|
+
234881092 | K[1] & /*cancelLimitSwitch, confirmLimitSwitch, removeLimitSwitch, readLimitsSwitch, getFormatedAmount, determineLimitName*/
|
|
1471
1460
|
249) {
|
|
1472
|
-
|
|
1461
|
+
B = ce(
|
|
1473
1462
|
/*availableLimits*/
|
|
1474
1463
|
C[6]
|
|
1475
1464
|
);
|
|
1476
1465
|
let Q;
|
|
1477
|
-
for (Q = 0; Q <
|
|
1478
|
-
const
|
|
1479
|
-
|
|
1466
|
+
for (Q = 0; Q < B.length; Q += 1) {
|
|
1467
|
+
const Le = $e(C, B, Q);
|
|
1468
|
+
G[Q] ? G[Q].p(Le, K) : (G[Q] = si(Le), G[Q].c(), G[Q].m(a, null));
|
|
1480
1469
|
}
|
|
1481
|
-
for (; Q <
|
|
1482
|
-
|
|
1483
|
-
|
|
1470
|
+
for (; Q < G.length; Q += 1)
|
|
1471
|
+
G[Q].d(1);
|
|
1472
|
+
G.length = B.length;
|
|
1484
1473
|
}
|
|
1485
|
-
|
|
1486
|
-
67108864 &&
|
|
1487
|
-
C[26]("setLimit") + "") &&
|
|
1488
|
-
C[1] === "true" ? E ? E.p(C,
|
|
1489
|
-
C[14] ? J ? J.p(C,
|
|
1490
|
-
C[15] ? Y ? Y.p(C,
|
|
1474
|
+
K[0] & /*$_*/
|
|
1475
|
+
67108864 && p !== (p = /*$_*/
|
|
1476
|
+
C[26]("setLimit") + "") && U(c, p), /*enablecompliancetext*/
|
|
1477
|
+
C[1] === "true" ? E ? E.p(C, K) : (E = ri(C), E.c(), E.m(s, L)) : E && (E.d(1), E = null), /*multipleLimits*/
|
|
1478
|
+
C[14] ? J ? J.p(C, K) : (J = li(C), J.c(), J.m(s, y)) : J && (J.d(1), J = null), /*multiplePeriods*/
|
|
1479
|
+
C[15] ? Y ? Y.p(C, K) : (Y = ui(C), Y.c(), Y.m(s, j)) : Y && (Y.d(1), Y = null), K[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
1491
1480
|
67141888 && H !== (H = /*multiplePeriods*/
|
|
1492
1481
|
C[15] ? `${/*$_*/
|
|
1493
1482
|
C[26]("amount")}` : `${/*$_*/
|
|
1494
1483
|
C[26](`new${/*selectedPeriod*/
|
|
1495
|
-
C[8]}Limit`)}`) &&
|
|
1496
|
-
1024 &&
|
|
1497
|
-
C[10] &&
|
|
1498
|
-
|
|
1484
|
+
C[8]}Limit`)}`) && U(q, H), K[0] & /*inputAmount*/
|
|
1485
|
+
1024 && ci(N.value) !== /*inputAmount*/
|
|
1486
|
+
C[10] && Ae(
|
|
1487
|
+
N,
|
|
1499
1488
|
/*inputAmount*/
|
|
1500
1489
|
C[10]
|
|
1501
1490
|
), /*invalidInput*/
|
|
1502
|
-
C[24] ? X ? X.p(C,
|
|
1503
|
-
67108864 &&
|
|
1504
|
-
C[26]("setLimit") + "") &&
|
|
1491
|
+
C[24] ? X ? X.p(C, K) : (X = pi(C), X.c(), X.m(b, null)) : X && (X.d(1), X = null), K[0] & /*$_*/
|
|
1492
|
+
67108864 && I !== (I = /*$_*/
|
|
1493
|
+
C[26]("setLimit") + "") && U(S, I), K[0] & /*limittabindex*/
|
|
1505
1494
|
8 && T !== (T = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
1506
1495
|
C[3])) && f(e, "class", T);
|
|
1507
1496
|
},
|
|
1508
1497
|
d(C) {
|
|
1509
|
-
C && _(e),
|
|
1498
|
+
C && _(e), Ce(G, C), E && E.d(), J && J.d(), Y && Y.d(), X && X.d(), t[63](null), w = !1, Ee(k);
|
|
1510
1499
|
}
|
|
1511
1500
|
};
|
|
1512
1501
|
}
|
|
1513
|
-
function
|
|
1502
|
+
function It(t) {
|
|
1514
1503
|
let e;
|
|
1515
1504
|
return {
|
|
1516
1505
|
c() {
|
|
1517
|
-
e =
|
|
1506
|
+
e = h("p"), e.textContent = "500 Server error";
|
|
1518
1507
|
},
|
|
1519
1508
|
m(i, a) {
|
|
1520
1509
|
A(i, e, a);
|
|
1521
1510
|
},
|
|
1522
|
-
p:
|
|
1511
|
+
p: de,
|
|
1523
1512
|
d(i) {
|
|
1524
1513
|
i && _(e);
|
|
1525
1514
|
}
|
|
1526
1515
|
};
|
|
1527
1516
|
}
|
|
1528
|
-
function
|
|
1529
|
-
return { c:
|
|
1517
|
+
function Ut(t) {
|
|
1518
|
+
return { c: de, m: de, p: de, d: de };
|
|
1530
1519
|
}
|
|
1531
|
-
function
|
|
1520
|
+
function Nt(t) {
|
|
1532
1521
|
let e;
|
|
1533
1522
|
return {
|
|
1534
1523
|
c() {
|
|
1535
|
-
e =
|
|
1524
|
+
e = h("div"), f(e, "class", "LoadingIndicator");
|
|
1536
1525
|
},
|
|
1537
1526
|
m(i, a) {
|
|
1538
1527
|
A(i, e, a);
|
|
1539
1528
|
},
|
|
1540
|
-
p:
|
|
1529
|
+
p: de,
|
|
1541
1530
|
d(i) {
|
|
1542
1531
|
i && _(e);
|
|
1543
1532
|
}
|
|
1544
1533
|
};
|
|
1545
1534
|
}
|
|
1546
|
-
function
|
|
1547
|
-
let e, i, a,
|
|
1535
|
+
function Rt(t) {
|
|
1536
|
+
let e, i, a, o = (
|
|
1548
1537
|
/*$_*/
|
|
1549
1538
|
t[26]("noLimitText") + ""
|
|
1550
1539
|
), s;
|
|
1551
1540
|
return {
|
|
1552
1541
|
c() {
|
|
1553
|
-
e =
|
|
1542
|
+
e = h("div"), i = h("div"), a = h("div"), s = P(o), f(a, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
1554
1543
|
t[27] ? "" : "Mobile")), f(i, "class", "LimitDetailsWrapper"), f(e, "class", "LimitDetails");
|
|
1555
1544
|
},
|
|
1556
|
-
m(r,
|
|
1557
|
-
A(r, e,
|
|
1545
|
+
m(r, p) {
|
|
1546
|
+
A(r, e, p), u(e, i), u(i, a), u(a, s);
|
|
1558
1547
|
},
|
|
1559
|
-
p(r,
|
|
1560
|
-
|
|
1561
|
-
67108864 &&
|
|
1562
|
-
r[26]("noLimitText") + "") &&
|
|
1548
|
+
p(r, p) {
|
|
1549
|
+
p[0] & /*$_*/
|
|
1550
|
+
67108864 && o !== (o = /*$_*/
|
|
1551
|
+
r[26]("noLimitText") + "") && U(s, o);
|
|
1563
1552
|
},
|
|
1564
1553
|
d(r) {
|
|
1565
1554
|
r && _(e);
|
|
1566
1555
|
}
|
|
1567
1556
|
};
|
|
1568
1557
|
}
|
|
1569
|
-
function
|
|
1570
|
-
let e, i, a,
|
|
1558
|
+
function Bt(t) {
|
|
1559
|
+
let e, i, a, o = (
|
|
1571
1560
|
/*$_*/
|
|
1572
1561
|
t[26]("lugasPrivacy") + ""
|
|
1573
1562
|
), s;
|
|
1574
1563
|
return {
|
|
1575
1564
|
c() {
|
|
1576
|
-
e =
|
|
1565
|
+
e = h("div"), i = h("div"), a = h("div"), s = P(o), f(a, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
1577
1566
|
t[27] ? "" : "Mobile")), f(i, "class", "LimitDetailsWrapper"), f(e, "class", "LimitDetails");
|
|
1578
1567
|
},
|
|
1579
|
-
m(r,
|
|
1580
|
-
A(r, e,
|
|
1568
|
+
m(r, p) {
|
|
1569
|
+
A(r, e, p), u(e, i), u(i, a), u(a, s);
|
|
1581
1570
|
},
|
|
1582
|
-
p(r,
|
|
1583
|
-
|
|
1584
|
-
67108864 &&
|
|
1585
|
-
r[26]("lugasPrivacy") + "") &&
|
|
1571
|
+
p(r, p) {
|
|
1572
|
+
p[0] & /*$_*/
|
|
1573
|
+
67108864 && o !== (o = /*$_*/
|
|
1574
|
+
r[26]("lugasPrivacy") + "") && U(s, o);
|
|
1586
1575
|
},
|
|
1587
1576
|
d(r) {
|
|
1588
1577
|
r && _(e);
|
|
1589
1578
|
}
|
|
1590
1579
|
};
|
|
1591
1580
|
}
|
|
1592
|
-
function
|
|
1593
|
-
let e, i =
|
|
1581
|
+
function Ot(t) {
|
|
1582
|
+
let e, i = ce(
|
|
1594
1583
|
/*limit*/
|
|
1595
1584
|
t[123].currentLimits
|
|
1596
1585
|
), a = [];
|
|
1597
|
-
for (let
|
|
1598
|
-
a[
|
|
1586
|
+
for (let o = 0; o < i.length; o += 1)
|
|
1587
|
+
a[o] = ni(ei(t, i, o));
|
|
1599
1588
|
return {
|
|
1600
1589
|
c() {
|
|
1601
|
-
for (let
|
|
1602
|
-
a[
|
|
1603
|
-
e =
|
|
1590
|
+
for (let o = 0; o < a.length; o += 1)
|
|
1591
|
+
a[o].c();
|
|
1592
|
+
e = Li();
|
|
1604
1593
|
},
|
|
1605
|
-
m(
|
|
1594
|
+
m(o, s) {
|
|
1606
1595
|
for (let r = 0; r < a.length; r += 1)
|
|
1607
|
-
a[r] && a[r].m(
|
|
1608
|
-
A(
|
|
1596
|
+
a[r] && a[r].m(o, s);
|
|
1597
|
+
A(o, e, s);
|
|
1609
1598
|
},
|
|
1610
|
-
p(
|
|
1599
|
+
p(o, s) {
|
|
1611
1600
|
if (s[0] & /*isDesktop, availableLimits, $_, deletelimit, acknowledgedLimits*/
|
|
1612
1601
|
234881092 | s[1] & /*cancelLimitSwitch, confirmLimitSwitch, removeLimitSwitch, readLimitsSwitch, getFormatedAmount*/
|
|
1613
1602
|
185) {
|
|
1614
|
-
i =
|
|
1603
|
+
i = ce(
|
|
1615
1604
|
/*limit*/
|
|
1616
|
-
|
|
1605
|
+
o[123].currentLimits
|
|
1617
1606
|
);
|
|
1618
1607
|
let r;
|
|
1619
1608
|
for (r = 0; r < i.length; r += 1) {
|
|
1620
|
-
const
|
|
1621
|
-
a[r] ? a[r].p(
|
|
1609
|
+
const p = ei(o, i, r);
|
|
1610
|
+
a[r] ? a[r].p(p, s) : (a[r] = ni(p), a[r].c(), a[r].m(e.parentNode, e));
|
|
1622
1611
|
}
|
|
1623
1612
|
for (; r < a.length; r += 1)
|
|
1624
1613
|
a[r].d(1);
|
|
1625
1614
|
a.length = i.length;
|
|
1626
1615
|
}
|
|
1627
1616
|
},
|
|
1628
|
-
d(
|
|
1629
|
-
|
|
1617
|
+
d(o) {
|
|
1618
|
+
o && _(e), Ce(a, o);
|
|
1630
1619
|
}
|
|
1631
1620
|
};
|
|
1632
1621
|
}
|
|
1633
|
-
function
|
|
1634
|
-
let e, i, a,
|
|
1622
|
+
function Vt(t) {
|
|
1623
|
+
let e, i, a, o = (
|
|
1635
1624
|
/*$_*/
|
|
1636
1625
|
t[26]("lugasPrivacy") + ""
|
|
1637
1626
|
), s;
|
|
1638
1627
|
return {
|
|
1639
1628
|
c() {
|
|
1640
|
-
e =
|
|
1629
|
+
e = h("div"), i = h("div"), a = h("div"), s = P(o), f(a, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
1641
1630
|
t[27] ? "" : "Mobile")), f(i, "class", "LimitDetailsWrapper"), f(e, "class", "LimitDetails");
|
|
1642
1631
|
},
|
|
1643
|
-
m(r,
|
|
1644
|
-
A(r, e,
|
|
1632
|
+
m(r, p) {
|
|
1633
|
+
A(r, e, p), u(e, i), u(i, a), u(a, s);
|
|
1645
1634
|
},
|
|
1646
|
-
p(r,
|
|
1647
|
-
|
|
1648
|
-
67108864 &&
|
|
1649
|
-
r[26]("lugasPrivacy") + "") &&
|
|
1635
|
+
p(r, p) {
|
|
1636
|
+
p[0] & /*$_*/
|
|
1637
|
+
67108864 && o !== (o = /*$_*/
|
|
1638
|
+
r[26]("lugasPrivacy") + "") && U(s, o);
|
|
1650
1639
|
},
|
|
1651
1640
|
d(r) {
|
|
1652
1641
|
r && _(e);
|
|
1653
1642
|
}
|
|
1654
1643
|
};
|
|
1655
1644
|
}
|
|
1656
|
-
function
|
|
1645
|
+
function Wt(t) {
|
|
1657
1646
|
let e, i = `${/*getFormatedAmount*/
|
|
1658
1647
|
t[38](
|
|
1659
1648
|
/*currentLimit*/
|
|
@@ -1661,25 +1650,25 @@ function Xt(t) {
|
|
|
1661
1650
|
)}`, a;
|
|
1662
1651
|
return {
|
|
1663
1652
|
c() {
|
|
1664
|
-
e =
|
|
1653
|
+
e = h("span"), a = P(i);
|
|
1665
1654
|
},
|
|
1666
|
-
m(
|
|
1667
|
-
A(
|
|
1655
|
+
m(o, s) {
|
|
1656
|
+
A(o, e, s), u(e, a);
|
|
1668
1657
|
},
|
|
1669
|
-
p(
|
|
1658
|
+
p(o, s) {
|
|
1670
1659
|
s[0] & /*availableLimits*/
|
|
1671
1660
|
64 && i !== (i = `${/*getFormatedAmount*/
|
|
1672
|
-
|
|
1661
|
+
o[38](
|
|
1673
1662
|
/*currentLimit*/
|
|
1674
|
-
|
|
1675
|
-
)}`) &&
|
|
1663
|
+
o[128]
|
|
1664
|
+
)}`) && U(a, i);
|
|
1676
1665
|
},
|
|
1677
|
-
d(
|
|
1678
|
-
|
|
1666
|
+
d(o) {
|
|
1667
|
+
o && _(e);
|
|
1679
1668
|
}
|
|
1680
1669
|
};
|
|
1681
1670
|
}
|
|
1682
|
-
function
|
|
1671
|
+
function Ft(t) {
|
|
1683
1672
|
let e, i = `${/*getFormatedAmount*/
|
|
1684
1673
|
t[38](
|
|
1685
1674
|
/*currentLimit*/
|
|
@@ -1688,45 +1677,45 @@ function Zt(t) {
|
|
|
1688
1677
|
)}`, a;
|
|
1689
1678
|
return {
|
|
1690
1679
|
c() {
|
|
1691
|
-
e =
|
|
1680
|
+
e = h("span"), a = P(i);
|
|
1692
1681
|
},
|
|
1693
|
-
m(
|
|
1694
|
-
A(
|
|
1682
|
+
m(o, s) {
|
|
1683
|
+
A(o, e, s), u(e, a);
|
|
1695
1684
|
},
|
|
1696
|
-
p(
|
|
1685
|
+
p(o, s) {
|
|
1697
1686
|
s[0] & /*availableLimits*/
|
|
1698
1687
|
64 && i !== (i = `${/*getFormatedAmount*/
|
|
1699
|
-
|
|
1688
|
+
o[38](
|
|
1700
1689
|
/*currentLimit*/
|
|
1701
|
-
|
|
1690
|
+
o[128],
|
|
1702
1691
|
!0
|
|
1703
|
-
)}`) &&
|
|
1692
|
+
)}`) && U(a, i);
|
|
1704
1693
|
},
|
|
1705
|
-
d(
|
|
1706
|
-
|
|
1694
|
+
d(o) {
|
|
1695
|
+
o && _(e);
|
|
1707
1696
|
}
|
|
1708
1697
|
};
|
|
1709
1698
|
}
|
|
1710
|
-
function
|
|
1699
|
+
function qt(t) {
|
|
1711
1700
|
let e, i, a = `${/*getFormatedAmount*/
|
|
1712
1701
|
t[38](
|
|
1713
1702
|
/*currentLimit*/
|
|
1714
1703
|
t[128],
|
|
1715
1704
|
!0
|
|
1716
|
-
)}`,
|
|
1705
|
+
)}`, o, s;
|
|
1717
1706
|
function r(m, L) {
|
|
1718
1707
|
return (
|
|
1719
1708
|
/*currentLimit*/
|
|
1720
|
-
m[128].isCoolOffCompleted ?
|
|
1709
|
+
m[128].isCoolOffCompleted ? Xt : Yt
|
|
1721
1710
|
);
|
|
1722
1711
|
}
|
|
1723
|
-
let
|
|
1712
|
+
let p = r(t), c = p(t);
|
|
1724
1713
|
return {
|
|
1725
1714
|
c() {
|
|
1726
|
-
e =
|
|
1715
|
+
e = h("div"), i = h("span"), o = P(a), s = O(), c.c(), f(e, "class", "PendingLimit");
|
|
1727
1716
|
},
|
|
1728
1717
|
m(m, L) {
|
|
1729
|
-
A(m, e, L), u(e, i), u(i,
|
|
1718
|
+
A(m, e, L), u(e, i), u(i, o), u(e, s), c.m(e, null);
|
|
1730
1719
|
},
|
|
1731
1720
|
p(m, L) {
|
|
1732
1721
|
L[0] & /*availableLimits*/
|
|
@@ -1735,76 +1724,76 @@ function Jt(t) {
|
|
|
1735
1724
|
/*currentLimit*/
|
|
1736
1725
|
m[128],
|
|
1737
1726
|
!0
|
|
1738
|
-
)}`) &&
|
|
1727
|
+
)}`) && U(o, a), p === (p = r(m)) && c ? c.p(m, L) : (c.d(1), c = p(m), c && (c.c(), c.m(e, null)));
|
|
1739
1728
|
},
|
|
1740
1729
|
d(m) {
|
|
1741
1730
|
m && _(e), c.d();
|
|
1742
1731
|
}
|
|
1743
1732
|
};
|
|
1744
1733
|
}
|
|
1745
|
-
function
|
|
1734
|
+
function Gt(t) {
|
|
1746
1735
|
let e, i = `${/*$_*/
|
|
1747
1736
|
t[26]("removedLimitText")} ${/*currentLimit*/
|
|
1748
1737
|
t[128].expiryDate}`, a;
|
|
1749
1738
|
return {
|
|
1750
1739
|
c() {
|
|
1751
|
-
e =
|
|
1740
|
+
e = h("div"), a = P(i), f(e, "class", "PendingLimit");
|
|
1752
1741
|
},
|
|
1753
|
-
m(
|
|
1754
|
-
A(
|
|
1742
|
+
m(o, s) {
|
|
1743
|
+
A(o, e, s), u(e, a);
|
|
1755
1744
|
},
|
|
1756
|
-
p(
|
|
1745
|
+
p(o, s) {
|
|
1757
1746
|
s[0] & /*$_, availableLimits*/
|
|
1758
1747
|
67108928 && i !== (i = `${/*$_*/
|
|
1759
|
-
|
|
1760
|
-
|
|
1748
|
+
o[26]("removedLimitText")} ${/*currentLimit*/
|
|
1749
|
+
o[128].expiryDate}`) && U(a, i);
|
|
1761
1750
|
},
|
|
1762
|
-
d(
|
|
1763
|
-
|
|
1751
|
+
d(o) {
|
|
1752
|
+
o && _(e);
|
|
1764
1753
|
}
|
|
1765
1754
|
};
|
|
1766
1755
|
}
|
|
1767
|
-
function
|
|
1756
|
+
function Kt(t) {
|
|
1768
1757
|
let e, i = `${/*$_*/
|
|
1769
1758
|
t[26]("removeAfterConfirm")}`, a;
|
|
1770
1759
|
return {
|
|
1771
1760
|
c() {
|
|
1772
|
-
e =
|
|
1761
|
+
e = h("div"), a = P(i), f(e, "class", "PendingLimit");
|
|
1773
1762
|
},
|
|
1774
|
-
m(
|
|
1775
|
-
A(
|
|
1763
|
+
m(o, s) {
|
|
1764
|
+
A(o, e, s), u(e, a);
|
|
1776
1765
|
},
|
|
1777
|
-
p(
|
|
1766
|
+
p(o, s) {
|
|
1778
1767
|
s[0] & /*$_*/
|
|
1779
1768
|
67108864 && i !== (i = `${/*$_*/
|
|
1780
|
-
|
|
1769
|
+
o[26]("removeAfterConfirm")}`) && U(a, i);
|
|
1781
1770
|
},
|
|
1782
|
-
d(
|
|
1783
|
-
|
|
1771
|
+
d(o) {
|
|
1772
|
+
o && _(e);
|
|
1784
1773
|
}
|
|
1785
1774
|
};
|
|
1786
1775
|
}
|
|
1787
|
-
function
|
|
1776
|
+
function Ht(t) {
|
|
1788
1777
|
let e, i = `${/*$_*/
|
|
1789
1778
|
t[26]("acknowledgedLimit")}`, a;
|
|
1790
1779
|
return {
|
|
1791
1780
|
c() {
|
|
1792
|
-
e =
|
|
1781
|
+
e = h("div"), a = P(i), f(e, "class", "PendingLimit");
|
|
1793
1782
|
},
|
|
1794
|
-
m(
|
|
1795
|
-
A(
|
|
1783
|
+
m(o, s) {
|
|
1784
|
+
A(o, e, s), u(e, a);
|
|
1796
1785
|
},
|
|
1797
|
-
p(
|
|
1786
|
+
p(o, s) {
|
|
1798
1787
|
s[0] & /*$_*/
|
|
1799
1788
|
67108864 && i !== (i = `${/*$_*/
|
|
1800
|
-
|
|
1789
|
+
o[26]("acknowledgedLimit")}`) && U(a, i);
|
|
1801
1790
|
},
|
|
1802
|
-
d(
|
|
1803
|
-
|
|
1791
|
+
d(o) {
|
|
1792
|
+
o && _(e);
|
|
1804
1793
|
}
|
|
1805
1794
|
};
|
|
1806
1795
|
}
|
|
1807
|
-
function
|
|
1796
|
+
function Yt(t) {
|
|
1808
1797
|
let e = `${/*currentLimit*/
|
|
1809
1798
|
t[128].period !== "None" || /*currentLimit*/
|
|
1810
1799
|
t[128].value !== "cumulativeSession" ? " " : (
|
|
@@ -1817,13 +1806,13 @@ function ia(t) {
|
|
|
1817
1806
|
t[128].expiryDate}`, i;
|
|
1818
1807
|
return {
|
|
1819
1808
|
c() {
|
|
1820
|
-
i =
|
|
1809
|
+
i = P(e);
|
|
1821
1810
|
},
|
|
1822
|
-
m(a,
|
|
1823
|
-
A(a, i,
|
|
1811
|
+
m(a, o) {
|
|
1812
|
+
A(a, i, o);
|
|
1824
1813
|
},
|
|
1825
|
-
p(a,
|
|
1826
|
-
|
|
1814
|
+
p(a, o) {
|
|
1815
|
+
o[0] & /*availableLimits, $_*/
|
|
1827
1816
|
67108928 && e !== (e = `${/*currentLimit*/
|
|
1828
1817
|
a[128].period !== "None" || /*currentLimit*/
|
|
1829
1818
|
a[128].value !== "cumulativeSession" ? " " : (
|
|
@@ -1833,14 +1822,14 @@ function ia(t) {
|
|
|
1833
1822
|
a[26](`${/*currentLimit*/
|
|
1834
1823
|
a[128].period}`)} ${/*$_*/
|
|
1835
1824
|
a[26]("updateText")} ${/*currentLimit*/
|
|
1836
|
-
a[128].expiryDate}`) &&
|
|
1825
|
+
a[128].expiryDate}`) && U(i, e);
|
|
1837
1826
|
},
|
|
1838
1827
|
d(a) {
|
|
1839
1828
|
a && _(i);
|
|
1840
1829
|
}
|
|
1841
1830
|
};
|
|
1842
1831
|
}
|
|
1843
|
-
function
|
|
1832
|
+
function Xt(t) {
|
|
1844
1833
|
let e = `${/*currentLimit*/
|
|
1845
1834
|
t[128].period !== "None" || /*currentLimit*/
|
|
1846
1835
|
t[128].value !== "cumulativeSession" ? " " : (
|
|
@@ -1852,13 +1841,13 @@ function ta(t) {
|
|
|
1852
1841
|
t[26]("updateAfterConfirm")}`, i;
|
|
1853
1842
|
return {
|
|
1854
1843
|
c() {
|
|
1855
|
-
i =
|
|
1844
|
+
i = P(e);
|
|
1856
1845
|
},
|
|
1857
|
-
m(a,
|
|
1858
|
-
A(a, i,
|
|
1846
|
+
m(a, o) {
|
|
1847
|
+
A(a, i, o);
|
|
1859
1848
|
},
|
|
1860
|
-
p(a,
|
|
1861
|
-
|
|
1849
|
+
p(a, o) {
|
|
1850
|
+
o[0] & /*availableLimits, $_*/
|
|
1862
1851
|
67108928 && e !== (e = `${/*currentLimit*/
|
|
1863
1852
|
a[128].period !== "None" || /*currentLimit*/
|
|
1864
1853
|
a[128].value !== "cumulativeSession" ? " " : (
|
|
@@ -1867,24 +1856,24 @@ function ta(t) {
|
|
|
1867
1856
|
)} ${/*$_*/
|
|
1868
1857
|
a[26](`${/*currentLimit*/
|
|
1869
1858
|
a[128].period}`)} ${/*$_*/
|
|
1870
|
-
a[26]("updateAfterConfirm")}`) &&
|
|
1859
|
+
a[26]("updateAfterConfirm")}`) && U(i, e);
|
|
1871
1860
|
},
|
|
1872
1861
|
d(a) {
|
|
1873
1862
|
a && _(i);
|
|
1874
1863
|
}
|
|
1875
1864
|
};
|
|
1876
1865
|
}
|
|
1877
|
-
function
|
|
1866
|
+
function ti(t) {
|
|
1878
1867
|
let e, i, a = (
|
|
1879
1868
|
/*acknowledgedLimits*/
|
|
1880
1869
|
t[25][
|
|
1881
1870
|
/*currentLimit*/
|
|
1882
1871
|
t[128].scheduleId
|
|
1883
1872
|
].timer + ""
|
|
1884
|
-
),
|
|
1873
|
+
), o, s, r, p;
|
|
1885
1874
|
return {
|
|
1886
1875
|
c() {
|
|
1887
|
-
e =
|
|
1876
|
+
e = h("div"), i = h("button"), o = P(a), f(i, "class", s = "ReloadLimitButton " + (/*isDesktop*/
|
|
1888
1877
|
t[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
1889
1878
|
(t[25][
|
|
1890
1879
|
/*currentLimit*/
|
|
@@ -1893,7 +1882,7 @@ function ni(t) {
|
|
|
1893
1882
|
t[27] ? "" : "Mobile"));
|
|
1894
1883
|
},
|
|
1895
1884
|
m(c, m) {
|
|
1896
|
-
A(c, e, m), u(e, i), u(i,
|
|
1885
|
+
A(c, e, m), u(e, i), u(i, o), r || (p = ne(
|
|
1897
1886
|
i,
|
|
1898
1887
|
"click",
|
|
1899
1888
|
/*click_handler*/
|
|
@@ -1906,7 +1895,7 @@ function ni(t) {
|
|
|
1906
1895
|
c[25][
|
|
1907
1896
|
/*currentLimit*/
|
|
1908
1897
|
c[128].scheduleId
|
|
1909
|
-
].timer + "") &&
|
|
1898
|
+
].timer + "") && U(o, a), m[0] & /*acknowledgedLimits, availableLimits*/
|
|
1910
1899
|
33554496 && s !== (s = "ReloadLimitButton " + (/*isDesktop*/
|
|
1911
1900
|
c[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
1912
1901
|
(c[25][
|
|
@@ -1915,16 +1904,16 @@ function ni(t) {
|
|
|
1915
1904
|
].timerStopped ? "" : "disabled")) && f(i, "class", s);
|
|
1916
1905
|
},
|
|
1917
1906
|
d(c) {
|
|
1918
|
-
c && _(e), r = !1,
|
|
1907
|
+
c && _(e), r = !1, p();
|
|
1919
1908
|
}
|
|
1920
1909
|
};
|
|
1921
1910
|
}
|
|
1922
|
-
function
|
|
1911
|
+
function ai(t) {
|
|
1923
1912
|
let e, i, a = (
|
|
1924
1913
|
/*$_*/
|
|
1925
1914
|
t[26]("removeLimit") + ""
|
|
1926
|
-
),
|
|
1927
|
-
function
|
|
1915
|
+
), o, s, r;
|
|
1916
|
+
function p() {
|
|
1928
1917
|
return (
|
|
1929
1918
|
/*click_handler_1*/
|
|
1930
1919
|
t[56](
|
|
@@ -1935,32 +1924,32 @@ function si(t) {
|
|
|
1935
1924
|
}
|
|
1936
1925
|
return {
|
|
1937
1926
|
c() {
|
|
1938
|
-
e =
|
|
1927
|
+
e = h("div"), i = h("button"), o = P(a), f(i, "class", "RemoveLimitButton " + (/*isDesktop*/
|
|
1939
1928
|
t[27] ? "" : "Mobile")), f(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1940
1929
|
t[27] ? "" : "Mobile"));
|
|
1941
1930
|
},
|
|
1942
1931
|
m(c, m) {
|
|
1943
|
-
A(c, e, m), u(e, i), u(i,
|
|
1932
|
+
A(c, e, m), u(e, i), u(i, o), s || (r = ne(i, "click", p), s = !0);
|
|
1944
1933
|
},
|
|
1945
1934
|
p(c, m) {
|
|
1946
1935
|
t = c, m[0] & /*$_*/
|
|
1947
1936
|
67108864 && a !== (a = /*$_*/
|
|
1948
|
-
t[26]("removeLimit") + "") &&
|
|
1937
|
+
t[26]("removeLimit") + "") && U(o, a);
|
|
1949
1938
|
},
|
|
1950
1939
|
d(c) {
|
|
1951
1940
|
c && _(e), s = !1, r();
|
|
1952
1941
|
}
|
|
1953
1942
|
};
|
|
1954
1943
|
}
|
|
1955
|
-
function
|
|
1944
|
+
function oi(t) {
|
|
1956
1945
|
let e, i, a = (
|
|
1957
1946
|
/*$_*/
|
|
1958
1947
|
t[26]("confirmUpdateLimit") + ""
|
|
1959
|
-
),
|
|
1948
|
+
), o, s, r, p = (
|
|
1960
1949
|
/*$_*/
|
|
1961
1950
|
t[26]("cancelUpdateLimit") + ""
|
|
1962
1951
|
), c, m, L;
|
|
1963
|
-
function
|
|
1952
|
+
function y() {
|
|
1964
1953
|
return (
|
|
1965
1954
|
/*click_handler_2*/
|
|
1966
1955
|
t[57](
|
|
@@ -1980,90 +1969,90 @@ function ri(t) {
|
|
|
1980
1969
|
}
|
|
1981
1970
|
return {
|
|
1982
1971
|
c() {
|
|
1983
|
-
e =
|
|
1972
|
+
e = h("div"), i = h("button"), o = P(a), s = O(), r = h("button"), c = P(p), f(i, "class", "ConfirmLimitButton " + (/*isDesktop*/
|
|
1984
1973
|
t[27] ? "" : "Mobile")), f(r, "class", "CancelLimitButton " + (/*isDesktop*/
|
|
1985
1974
|
t[27] ? "" : "Mobile")), f(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
1986
1975
|
t[27] ? "" : "Mobile"));
|
|
1987
1976
|
},
|
|
1988
|
-
m(b,
|
|
1989
|
-
A(b, e,
|
|
1990
|
-
|
|
1991
|
-
|
|
1977
|
+
m(b, x) {
|
|
1978
|
+
A(b, e, x), u(e, i), u(i, o), u(e, s), u(e, r), u(r, c), m || (L = [
|
|
1979
|
+
ne(i, "click", y),
|
|
1980
|
+
ne(r, "click", j)
|
|
1992
1981
|
], m = !0);
|
|
1993
1982
|
},
|
|
1994
|
-
p(b,
|
|
1995
|
-
t = b,
|
|
1983
|
+
p(b, x) {
|
|
1984
|
+
t = b, x[0] & /*$_*/
|
|
1996
1985
|
67108864 && a !== (a = /*$_*/
|
|
1997
|
-
t[26]("confirmUpdateLimit") + "") &&
|
|
1998
|
-
67108864 &&
|
|
1999
|
-
t[26]("cancelUpdateLimit") + "") &&
|
|
1986
|
+
t[26]("confirmUpdateLimit") + "") && U(o, a), x[0] & /*$_*/
|
|
1987
|
+
67108864 && p !== (p = /*$_*/
|
|
1988
|
+
t[26]("cancelUpdateLimit") + "") && U(c, p);
|
|
2000
1989
|
},
|
|
2001
1990
|
d(b) {
|
|
2002
|
-
b && _(e), m = !1,
|
|
1991
|
+
b && _(e), m = !1, Ee(L);
|
|
2003
1992
|
}
|
|
2004
1993
|
};
|
|
2005
1994
|
}
|
|
2006
|
-
function
|
|
2007
|
-
let e, i, a,
|
|
1995
|
+
function ni(t) {
|
|
1996
|
+
let e, i, a, o, s, r = `${/*currentLimit*/
|
|
2008
1997
|
t[128].period !== "None" || /*currentLimit*/
|
|
2009
1998
|
t[128].value !== "cumulativeSession" ? " " : (
|
|
2010
1999
|
/*$_*/
|
|
2011
2000
|
t[26]("per")
|
|
2012
2001
|
)} ${/*$_*/
|
|
2013
2002
|
t[26](`${/*currentLimit*/
|
|
2014
|
-
t[128].period}`)}`,
|
|
2003
|
+
t[128].period}`)}`, p, c, m, L, y = !/*currentLimit*/
|
|
2015
2004
|
t[128].isModified && /*deletelimit*/
|
|
2016
2005
|
t[2].indexOf(
|
|
2017
2006
|
/*limit*/
|
|
2018
2007
|
t[123].value
|
|
2019
2008
|
) > -1, j, b;
|
|
2020
|
-
function
|
|
2009
|
+
function x(S, T) {
|
|
2021
2010
|
return (
|
|
2022
2011
|
/*currentLimit*/
|
|
2023
|
-
S[128].acknowledgedLimit ?
|
|
2012
|
+
S[128].acknowledgedLimit ? Ft : Wt
|
|
2024
2013
|
);
|
|
2025
2014
|
}
|
|
2026
|
-
let H =
|
|
2015
|
+
let H = x(t), q = H(t);
|
|
2027
2016
|
function Z(S, T) {
|
|
2028
2017
|
if (
|
|
2029
2018
|
/*currentLimit*/
|
|
2030
2019
|
S[128].acknowledgedLimit
|
|
2031
|
-
) return
|
|
2020
|
+
) return Ht;
|
|
2032
2021
|
if (
|
|
2033
2022
|
/*currentLimit*/
|
|
2034
2023
|
S[128].isModified && /*currentLimit*/
|
|
2035
2024
|
S[128].updateAmount == 0 && /*currentLimit*/
|
|
2036
2025
|
S[128].isCoolOffCompleted
|
|
2037
|
-
) return
|
|
2026
|
+
) return Kt;
|
|
2038
2027
|
if (
|
|
2039
2028
|
/*currentLimit*/
|
|
2040
2029
|
S[128].isModified && /*currentLimit*/
|
|
2041
2030
|
S[128].updateAmount == 0 && !/*currentLimit*/
|
|
2042
2031
|
S[128].isCoolOffCompleted
|
|
2043
|
-
) return
|
|
2032
|
+
) return Gt;
|
|
2044
2033
|
if (
|
|
2045
2034
|
/*currentLimit*/
|
|
2046
2035
|
S[128].isModified
|
|
2047
|
-
) return
|
|
2036
|
+
) return qt;
|
|
2048
2037
|
}
|
|
2049
|
-
let
|
|
2038
|
+
let N = Z(t), M = N && N(t), R = (
|
|
2050
2039
|
/*currentLimit*/
|
|
2051
|
-
t[128].acknowledgedLimit &&
|
|
2052
|
-
), D =
|
|
2040
|
+
t[128].acknowledgedLimit && ti(t)
|
|
2041
|
+
), D = y && ai(t), I = (
|
|
2053
2042
|
/*currentLimit*/
|
|
2054
2043
|
t[128].isCoolOffCompleted & !/*currentLimit*/
|
|
2055
|
-
t[128].acknowledgedLimit &&
|
|
2044
|
+
t[128].acknowledgedLimit && oi(t)
|
|
2056
2045
|
);
|
|
2057
2046
|
return {
|
|
2058
2047
|
c() {
|
|
2059
|
-
e =
|
|
2048
|
+
e = h("div"), i = h("div"), a = h("div"), o = h("div"), q.c(), s = O(), p = P(r), c = O(), M && M.c(), m = O(), R && R.c(), L = O(), D && D.c(), j = O(), I && I.c(), b = O(), f(o, "class", "CurrentLimit"), f(a, "class", "CurrentLimitContainer"), f(i, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
2060
2049
|
t[27] ? "" : "Mobile")), f(e, "class", "LimitDetails");
|
|
2061
2050
|
},
|
|
2062
2051
|
m(S, T) {
|
|
2063
|
-
A(S, e, T), u(e, i), u(i, a), u(a,
|
|
2052
|
+
A(S, e, T), u(e, i), u(i, a), u(a, o), q.m(o, null), u(o, s), u(o, p), u(a, c), M && M.m(a, null), u(i, m), R && R.m(i, null), u(i, L), D && D.m(i, null), u(i, j), I && I.m(i, null), u(e, b);
|
|
2064
2053
|
},
|
|
2065
2054
|
p(S, T) {
|
|
2066
|
-
H === (H =
|
|
2055
|
+
H === (H = x(S)) && q ? q.p(S, T) : (q.d(1), q = H(S), q && (q.c(), q.m(o, s))), T[0] & /*availableLimits, $_*/
|
|
2067
2056
|
67108928 && r !== (r = `${/*currentLimit*/
|
|
2068
2057
|
S[128].period !== "None" || /*currentLimit*/
|
|
2069
2058
|
S[128].value !== "cumulativeSession" ? " " : (
|
|
@@ -2071,165 +2060,165 @@ function li(t) {
|
|
|
2071
2060
|
S[26]("per")
|
|
2072
2061
|
)} ${/*$_*/
|
|
2073
2062
|
S[26](`${/*currentLimit*/
|
|
2074
|
-
S[128].period}`)}`) &&
|
|
2075
|
-
S[128].acknowledgedLimit ?
|
|
2076
|
-
68 && (
|
|
2063
|
+
S[128].period}`)}`) && U(p, r), N === (N = Z(S)) && M ? M.p(S, T) : (M && M.d(1), M = N && N(S), M && (M.c(), M.m(a, null))), /*currentLimit*/
|
|
2064
|
+
S[128].acknowledgedLimit ? R ? R.p(S, T) : (R = ti(S), R.c(), R.m(i, L)) : R && (R.d(1), R = null), T[0] & /*availableLimits, deletelimit*/
|
|
2065
|
+
68 && (y = !/*currentLimit*/
|
|
2077
2066
|
S[128].isModified && /*deletelimit*/
|
|
2078
2067
|
S[2].indexOf(
|
|
2079
2068
|
/*limit*/
|
|
2080
2069
|
S[123].value
|
|
2081
|
-
) > -1),
|
|
2070
|
+
) > -1), y ? D ? D.p(S, T) : (D = ai(S), D.c(), D.m(i, j)) : D && (D.d(1), D = null), /*currentLimit*/
|
|
2082
2071
|
S[128].isCoolOffCompleted & !/*currentLimit*/
|
|
2083
|
-
S[128].acknowledgedLimit ?
|
|
2072
|
+
S[128].acknowledgedLimit ? I ? I.p(S, T) : (I = oi(S), I.c(), I.m(i, null)) : I && (I.d(1), I = null);
|
|
2084
2073
|
},
|
|
2085
2074
|
d(S) {
|
|
2086
|
-
S && _(e),
|
|
2075
|
+
S && _(e), q.d(), M && M.d(), R && R.d(), D && D.d(), I && I.d();
|
|
2087
2076
|
}
|
|
2088
2077
|
};
|
|
2089
2078
|
}
|
|
2090
|
-
function
|
|
2079
|
+
function si(t) {
|
|
2091
2080
|
let e, i = (
|
|
2092
2081
|
/*determineLimitName*/
|
|
2093
2082
|
t[37](
|
|
2094
2083
|
/*limit*/
|
|
2095
2084
|
t[123]
|
|
2096
2085
|
) + ""
|
|
2097
|
-
), a,
|
|
2098
|
-
function
|
|
2086
|
+
), a, o, s, r;
|
|
2087
|
+
function p(L, y) {
|
|
2099
2088
|
return (
|
|
2100
2089
|
/*limit*/
|
|
2101
|
-
L[123].value === "lugas" ?
|
|
2090
|
+
L[123].value === "lugas" ? Vt : (
|
|
2102
2091
|
/*limit*/
|
|
2103
|
-
L[123].currentLimits.length > 0 ?
|
|
2092
|
+
L[123].currentLimits.length > 0 ? Ot : (
|
|
2104
2093
|
/*limit*/
|
|
2105
|
-
L[123].value === "lugas" ?
|
|
2094
|
+
L[123].value === "lugas" ? Bt : Rt
|
|
2106
2095
|
)
|
|
2107
2096
|
)
|
|
2108
2097
|
);
|
|
2109
2098
|
}
|
|
2110
|
-
let c =
|
|
2099
|
+
let c = p(t), m = c(t);
|
|
2111
2100
|
return {
|
|
2112
2101
|
c() {
|
|
2113
|
-
e =
|
|
2102
|
+
e = h("p"), a = P(i), o = O(), s = h("div"), m.c(), r = O(), f(e, "class", "LimitTitle " + (/*isDesktop*/
|
|
2114
2103
|
t[27] ? "" : "Mobile")), f(s, "class", "LimitWrapper " + (/*isDesktop*/
|
|
2115
2104
|
t[27] ? "" : "Mobile"));
|
|
2116
2105
|
},
|
|
2117
|
-
m(L,
|
|
2118
|
-
A(L, e,
|
|
2106
|
+
m(L, y) {
|
|
2107
|
+
A(L, e, y), u(e, a), A(L, o, y), A(L, s, y), m.m(s, null), u(s, r);
|
|
2119
2108
|
},
|
|
2120
|
-
p(L,
|
|
2121
|
-
|
|
2109
|
+
p(L, y) {
|
|
2110
|
+
y[0] & /*availableLimits*/
|
|
2122
2111
|
64 && i !== (i = /*determineLimitName*/
|
|
2123
2112
|
L[37](
|
|
2124
2113
|
/*limit*/
|
|
2125
2114
|
L[123]
|
|
2126
|
-
) + "") &&
|
|
2115
|
+
) + "") && U(a, i), c === (c = p(L)) && m ? m.p(L, y) : (m.d(1), m = c(L), m && (m.c(), m.m(s, r)));
|
|
2127
2116
|
},
|
|
2128
2117
|
d(L) {
|
|
2129
|
-
L && (_(e), _(
|
|
2118
|
+
L && (_(e), _(o), _(s)), m.d();
|
|
2130
2119
|
}
|
|
2131
2120
|
};
|
|
2132
2121
|
}
|
|
2133
|
-
function
|
|
2122
|
+
function ri(t) {
|
|
2134
2123
|
let e, i, a = (
|
|
2135
2124
|
/*$_*/
|
|
2136
2125
|
t[26]("complianceText") + ""
|
|
2137
|
-
),
|
|
2126
|
+
), o;
|
|
2138
2127
|
return {
|
|
2139
2128
|
c() {
|
|
2140
|
-
e =
|
|
2129
|
+
e = h("div"), i = h("p"), o = P(a), f(i, "class", "LimitComplianceText"), f(e, "class", "LimitCompliance");
|
|
2141
2130
|
},
|
|
2142
2131
|
m(s, r) {
|
|
2143
|
-
A(s, e, r), u(e, i), u(i,
|
|
2132
|
+
A(s, e, r), u(e, i), u(i, o);
|
|
2144
2133
|
},
|
|
2145
2134
|
p(s, r) {
|
|
2146
2135
|
r[0] & /*$_*/
|
|
2147
2136
|
67108864 && a !== (a = /*$_*/
|
|
2148
|
-
s[26]("complianceText") + "") &&
|
|
2137
|
+
s[26]("complianceText") + "") && U(o, a);
|
|
2149
2138
|
},
|
|
2150
2139
|
d(s) {
|
|
2151
2140
|
s && _(e);
|
|
2152
2141
|
}
|
|
2153
2142
|
};
|
|
2154
2143
|
}
|
|
2155
|
-
function
|
|
2144
|
+
function li(t) {
|
|
2156
2145
|
let e, i, a = (
|
|
2157
2146
|
/*$_*/
|
|
2158
2147
|
t[26]("limitType") + ""
|
|
2159
|
-
),
|
|
2148
|
+
), o, s, r, p, c, m = ce(
|
|
2160
2149
|
/*availableLimits*/
|
|
2161
2150
|
t[6]
|
|
2162
2151
|
), L = [];
|
|
2163
|
-
for (let
|
|
2164
|
-
L[
|
|
2152
|
+
for (let y = 0; y < m.length; y += 1)
|
|
2153
|
+
L[y] = mi(Qe(t, m, y));
|
|
2165
2154
|
return {
|
|
2166
2155
|
c() {
|
|
2167
|
-
e =
|
|
2168
|
-
for (let
|
|
2169
|
-
L[
|
|
2156
|
+
e = h("label"), i = h("span"), o = P(a), s = O(), r = h("select");
|
|
2157
|
+
for (let y = 0; y < L.length; y += 1)
|
|
2158
|
+
L[y].c();
|
|
2170
2159
|
f(i, "class", "LimitSelectText"), f(r, "name", ""), f(r, "id", ""), /*selectedIndex*/
|
|
2171
|
-
t[9] === void 0 &&
|
|
2160
|
+
t[9] === void 0 && fi(() => (
|
|
2172
2161
|
/*select_change_handler*/
|
|
2173
2162
|
t[59].call(r)
|
|
2174
2163
|
)), f(e, "class", "LimitTypeDropdownWrapper " + (/*isDesktop*/
|
|
2175
2164
|
t[27] ? "" : "Mobile"));
|
|
2176
2165
|
},
|
|
2177
|
-
m(
|
|
2178
|
-
A(
|
|
2166
|
+
m(y, j) {
|
|
2167
|
+
A(y, e, j), u(e, i), u(i, o), u(e, s), u(e, r);
|
|
2179
2168
|
for (let b = 0; b < L.length; b += 1)
|
|
2180
2169
|
L[b] && L[b].m(r, null);
|
|
2181
|
-
|
|
2170
|
+
Te(
|
|
2182
2171
|
r,
|
|
2183
2172
|
/*selectedIndex*/
|
|
2184
2173
|
t[9],
|
|
2185
2174
|
!0
|
|
2186
|
-
),
|
|
2187
|
-
|
|
2175
|
+
), p || (c = [
|
|
2176
|
+
ne(
|
|
2188
2177
|
r,
|
|
2189
2178
|
"change",
|
|
2190
2179
|
/*select_change_handler*/
|
|
2191
2180
|
t[59]
|
|
2192
2181
|
),
|
|
2193
|
-
|
|
2182
|
+
ne(
|
|
2194
2183
|
r,
|
|
2195
2184
|
"change",
|
|
2196
2185
|
/*change_handler*/
|
|
2197
2186
|
t[60]
|
|
2198
2187
|
)
|
|
2199
|
-
],
|
|
2188
|
+
], p = !0);
|
|
2200
2189
|
},
|
|
2201
|
-
p(
|
|
2190
|
+
p(y, j) {
|
|
2202
2191
|
if (j[0] & /*$_*/
|
|
2203
2192
|
67108864 && a !== (a = /*$_*/
|
|
2204
|
-
|
|
2193
|
+
y[26]("limitType") + "") && U(o, a), j[0] & /*availableLimits*/
|
|
2205
2194
|
64 | j[1] & /*determineLimitName*/
|
|
2206
2195
|
64) {
|
|
2207
|
-
m =
|
|
2196
|
+
m = ce(
|
|
2208
2197
|
/*availableLimits*/
|
|
2209
|
-
|
|
2198
|
+
y[6]
|
|
2210
2199
|
);
|
|
2211
2200
|
let b;
|
|
2212
2201
|
for (b = 0; b < m.length; b += 1) {
|
|
2213
|
-
const
|
|
2214
|
-
L[b] ? L[b].p(
|
|
2202
|
+
const x = Qe(y, m, b);
|
|
2203
|
+
L[b] ? L[b].p(x, j) : (L[b] = mi(x), L[b].c(), L[b].m(r, null));
|
|
2215
2204
|
}
|
|
2216
2205
|
for (; b < L.length; b += 1)
|
|
2217
2206
|
L[b].d(1);
|
|
2218
2207
|
L.length = m.length;
|
|
2219
2208
|
}
|
|
2220
2209
|
j[0] & /*selectedIndex*/
|
|
2221
|
-
512 &&
|
|
2210
|
+
512 && Te(
|
|
2222
2211
|
r,
|
|
2223
2212
|
/*selectedIndex*/
|
|
2224
|
-
|
|
2213
|
+
y[9]
|
|
2225
2214
|
);
|
|
2226
2215
|
},
|
|
2227
|
-
d(
|
|
2228
|
-
|
|
2216
|
+
d(y) {
|
|
2217
|
+
y && _(e), Ce(L, y), p = !1, Ee(c);
|
|
2229
2218
|
}
|
|
2230
2219
|
};
|
|
2231
2220
|
}
|
|
2232
|
-
function
|
|
2221
|
+
function mi(t) {
|
|
2233
2222
|
let e, i = (
|
|
2234
2223
|
/*determineLimitName*/
|
|
2235
2224
|
t[37](
|
|
@@ -2239,111 +2228,111 @@ function pi(t) {
|
|
|
2239
2228
|
), a;
|
|
2240
2229
|
return {
|
|
2241
2230
|
c() {
|
|
2242
|
-
e =
|
|
2243
|
-
t[125],
|
|
2231
|
+
e = h("option"), a = P(i), e.__value = /*i*/
|
|
2232
|
+
t[125], Ae(e, e.__value);
|
|
2244
2233
|
},
|
|
2245
|
-
m(
|
|
2246
|
-
A(
|
|
2234
|
+
m(o, s) {
|
|
2235
|
+
A(o, e, s), u(e, a);
|
|
2247
2236
|
},
|
|
2248
|
-
p(
|
|
2237
|
+
p(o, s) {
|
|
2249
2238
|
s[0] & /*availableLimits*/
|
|
2250
2239
|
64 && i !== (i = /*determineLimitName*/
|
|
2251
|
-
|
|
2240
|
+
o[37](
|
|
2252
2241
|
/*limit*/
|
|
2253
|
-
|
|
2254
|
-
) + "") &&
|
|
2242
|
+
o[123]
|
|
2243
|
+
) + "") && U(a, i);
|
|
2255
2244
|
},
|
|
2256
|
-
d(
|
|
2257
|
-
|
|
2245
|
+
d(o) {
|
|
2246
|
+
o && _(e);
|
|
2258
2247
|
}
|
|
2259
2248
|
};
|
|
2260
2249
|
}
|
|
2261
|
-
function
|
|
2250
|
+
function ui(t) {
|
|
2262
2251
|
let e, i, a = (
|
|
2263
2252
|
/*$_*/
|
|
2264
2253
|
t[26]("period") + ""
|
|
2265
|
-
),
|
|
2254
|
+
), o, s, r, p, c, m = ce(
|
|
2266
2255
|
/*limitsConfig*/
|
|
2267
2256
|
t[5][
|
|
2268
2257
|
/*selectedLimit*/
|
|
2269
2258
|
t[7]
|
|
2270
2259
|
].periods
|
|
2271
2260
|
), L = [];
|
|
2272
|
-
for (let
|
|
2273
|
-
L[
|
|
2261
|
+
for (let y = 0; y < m.length; y += 1)
|
|
2262
|
+
L[y] = di(Je(t, m, y));
|
|
2274
2263
|
return {
|
|
2275
2264
|
c() {
|
|
2276
|
-
e =
|
|
2277
|
-
for (let
|
|
2278
|
-
L[
|
|
2265
|
+
e = h("label"), i = h("span"), o = P(a), s = O(), r = h("select");
|
|
2266
|
+
for (let y = 0; y < L.length; y += 1)
|
|
2267
|
+
L[y].c();
|
|
2279
2268
|
f(i, "class", "PeriodSelectText"), f(r, "name", ""), f(r, "id", ""), /*selectedPeriod*/
|
|
2280
|
-
t[8] === void 0 &&
|
|
2269
|
+
t[8] === void 0 && fi(() => (
|
|
2281
2270
|
/*select_change_handler_1*/
|
|
2282
2271
|
t[61].call(r)
|
|
2283
2272
|
)), f(e, "class", "LimitPeriodDropdownWrapper " + (/*isDesktop*/
|
|
2284
2273
|
t[27] ? "" : "Mobile"));
|
|
2285
2274
|
},
|
|
2286
|
-
m(
|
|
2287
|
-
A(
|
|
2275
|
+
m(y, j) {
|
|
2276
|
+
A(y, e, j), u(e, i), u(i, o), u(e, s), u(e, r);
|
|
2288
2277
|
for (let b = 0; b < L.length; b += 1)
|
|
2289
2278
|
L[b] && L[b].m(r, null);
|
|
2290
|
-
|
|
2279
|
+
Te(
|
|
2291
2280
|
r,
|
|
2292
2281
|
/*selectedPeriod*/
|
|
2293
2282
|
t[8],
|
|
2294
2283
|
!0
|
|
2295
|
-
),
|
|
2284
|
+
), p || (c = ne(
|
|
2296
2285
|
r,
|
|
2297
2286
|
"change",
|
|
2298
2287
|
/*select_change_handler_1*/
|
|
2299
2288
|
t[61]
|
|
2300
|
-
),
|
|
2289
|
+
), p = !0);
|
|
2301
2290
|
},
|
|
2302
|
-
p(
|
|
2291
|
+
p(y, j) {
|
|
2303
2292
|
if (j[0] & /*$_*/
|
|
2304
2293
|
67108864 && a !== (a = /*$_*/
|
|
2305
|
-
|
|
2294
|
+
y[26]("period") + "") && U(o, a), j[0] & /*limitsConfig, selectedLimit, $_*/
|
|
2306
2295
|
67109024) {
|
|
2307
|
-
m =
|
|
2296
|
+
m = ce(
|
|
2308
2297
|
/*limitsConfig*/
|
|
2309
|
-
|
|
2298
|
+
y[5][
|
|
2310
2299
|
/*selectedLimit*/
|
|
2311
|
-
|
|
2300
|
+
y[7]
|
|
2312
2301
|
].periods
|
|
2313
2302
|
);
|
|
2314
2303
|
let b;
|
|
2315
2304
|
for (b = 0; b < m.length; b += 1) {
|
|
2316
|
-
const
|
|
2317
|
-
L[b] ? L[b].p(
|
|
2305
|
+
const x = Je(y, m, b);
|
|
2306
|
+
L[b] ? L[b].p(x, j) : (L[b] = di(x), L[b].c(), L[b].m(r, null));
|
|
2318
2307
|
}
|
|
2319
2308
|
for (; b < L.length; b += 1)
|
|
2320
2309
|
L[b].d(1);
|
|
2321
2310
|
L.length = m.length;
|
|
2322
2311
|
}
|
|
2323
2312
|
j[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
|
|
2324
|
-
416 &&
|
|
2313
|
+
416 && Te(
|
|
2325
2314
|
r,
|
|
2326
2315
|
/*selectedPeriod*/
|
|
2327
|
-
|
|
2316
|
+
y[8]
|
|
2328
2317
|
);
|
|
2329
2318
|
},
|
|
2330
|
-
d(
|
|
2331
|
-
|
|
2319
|
+
d(y) {
|
|
2320
|
+
y && _(e), Ce(L, y), p = !1, c();
|
|
2332
2321
|
}
|
|
2333
2322
|
};
|
|
2334
2323
|
}
|
|
2335
|
-
function
|
|
2324
|
+
function di(t) {
|
|
2336
2325
|
let e, i = (
|
|
2337
2326
|
/*$_*/
|
|
2338
2327
|
t[26](
|
|
2339
2328
|
/*period*/
|
|
2340
2329
|
t[120]
|
|
2341
2330
|
) + ""
|
|
2342
|
-
), a,
|
|
2331
|
+
), a, o;
|
|
2343
2332
|
return {
|
|
2344
2333
|
c() {
|
|
2345
|
-
e =
|
|
2346
|
-
t[120],
|
|
2334
|
+
e = h("option"), a = P(i), e.__value = o = /*period*/
|
|
2335
|
+
t[120], Ae(e, e.__value), e.selected = !0;
|
|
2347
2336
|
},
|
|
2348
2337
|
m(s, r) {
|
|
2349
2338
|
A(s, e, r), u(e, a);
|
|
@@ -2354,16 +2343,16 @@ function Li(t) {
|
|
|
2354
2343
|
s[26](
|
|
2355
2344
|
/*period*/
|
|
2356
2345
|
s[120]
|
|
2357
|
-
) + "") &&
|
|
2358
|
-
160 &&
|
|
2359
|
-
s[120]) && (e.__value =
|
|
2346
|
+
) + "") && U(a, i), r[0] & /*limitsConfig, selectedLimit*/
|
|
2347
|
+
160 && o !== (o = /*period*/
|
|
2348
|
+
s[120]) && (e.__value = o, Ae(e, e.__value));
|
|
2360
2349
|
},
|
|
2361
2350
|
d(s) {
|
|
2362
2351
|
s && _(e);
|
|
2363
2352
|
}
|
|
2364
2353
|
};
|
|
2365
2354
|
}
|
|
2366
|
-
function
|
|
2355
|
+
function pi(t) {
|
|
2367
2356
|
let e, i = (
|
|
2368
2357
|
/*inputAmount*/
|
|
2369
2358
|
t[10] < /*minLimit*/
|
|
@@ -2395,238 +2384,237 @@ function fi(t) {
|
|
|
2395
2384
|
), a;
|
|
2396
2385
|
return {
|
|
2397
2386
|
c() {
|
|
2398
|
-
e =
|
|
2387
|
+
e = h("p"), a = P(i), f(e, "class", "InvalidInput");
|
|
2399
2388
|
},
|
|
2400
|
-
m(
|
|
2401
|
-
A(
|
|
2389
|
+
m(o, s) {
|
|
2390
|
+
A(o, e, s), u(e, a);
|
|
2402
2391
|
},
|
|
2403
|
-
p(
|
|
2392
|
+
p(o, s) {
|
|
2404
2393
|
s[0] & /*inputAmount, minLimit, $_, currency, maxLimit*/
|
|
2405
2394
|
67122177 && i !== (i = /*inputAmount*/
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2395
|
+
o[10] < /*minLimit*/
|
|
2396
|
+
o[12] ? `${/*$_*/
|
|
2397
|
+
o[26]("invalidInputMessageLimitMin", {
|
|
2409
2398
|
values: {
|
|
2410
2399
|
minValue: (
|
|
2411
2400
|
/*minLimit*/
|
|
2412
|
-
|
|
2401
|
+
o[12]
|
|
2413
2402
|
),
|
|
2414
2403
|
currency: (
|
|
2415
2404
|
/*currency*/
|
|
2416
|
-
|
|
2405
|
+
o[0]
|
|
2417
2406
|
)
|
|
2418
2407
|
}
|
|
2419
2408
|
})}` : `${/*$_*/
|
|
2420
|
-
|
|
2409
|
+
o[26]("invalidInputMessageLimitMax", {
|
|
2421
2410
|
values: {
|
|
2422
2411
|
maxValue: (
|
|
2423
2412
|
/*maxLimit*/
|
|
2424
|
-
|
|
2413
|
+
o[13]
|
|
2425
2414
|
),
|
|
2426
2415
|
currency: (
|
|
2427
2416
|
/*currency*/
|
|
2428
|
-
|
|
2417
|
+
o[0]
|
|
2429
2418
|
)
|
|
2430
2419
|
}
|
|
2431
|
-
})}`) &&
|
|
2420
|
+
})}`) && U(a, i);
|
|
2432
2421
|
},
|
|
2433
|
-
d(
|
|
2434
|
-
|
|
2422
|
+
d(o) {
|
|
2423
|
+
o && _(e);
|
|
2435
2424
|
}
|
|
2436
2425
|
};
|
|
2437
2426
|
}
|
|
2438
|
-
function
|
|
2439
|
-
let e, i, a,
|
|
2427
|
+
function Zt(t) {
|
|
2428
|
+
let e, i, a, o, s = (
|
|
2440
2429
|
/*popupVisible*/
|
|
2441
|
-
t[19] &&
|
|
2430
|
+
t[19] && ii(t)
|
|
2442
2431
|
);
|
|
2443
2432
|
function r(m, L) {
|
|
2444
2433
|
return (
|
|
2445
2434
|
/*isLoading*/
|
|
2446
2435
|
m[16] && !/*popupVisible*/
|
|
2447
|
-
m[19] ?
|
|
2436
|
+
m[19] ? Nt : (
|
|
2448
2437
|
/*isLoading*/
|
|
2449
|
-
m[16] ?
|
|
2438
|
+
m[16] ? Ut : (
|
|
2450
2439
|
/*hasErrors*/
|
|
2451
|
-
m[17] ?
|
|
2440
|
+
m[17] ? It : Pt
|
|
2452
2441
|
)
|
|
2453
2442
|
)
|
|
2454
2443
|
);
|
|
2455
2444
|
}
|
|
2456
|
-
let
|
|
2445
|
+
let p = r(t), c = p(t);
|
|
2457
2446
|
return {
|
|
2458
2447
|
c() {
|
|
2459
|
-
e =
|
|
2448
|
+
e = h("meta"), i = O(), a = h("div"), s && s.c(), o = O(), c.c(), f(e, "name", "viewport"), f(e, "content", "width=device-width, initial-scale=1");
|
|
2460
2449
|
},
|
|
2461
2450
|
m(m, L) {
|
|
2462
|
-
u(
|
|
2451
|
+
u(wt.head, e), A(m, i, L), A(m, a, L), s && s.m(a, null), u(a, o), c.m(a, null), t[64](a);
|
|
2463
2452
|
},
|
|
2464
2453
|
p(m, L) {
|
|
2465
2454
|
/*popupVisible*/
|
|
2466
|
-
m[19] ? s ? s.p(m, L) : (s =
|
|
2455
|
+
m[19] ? s ? s.p(m, L) : (s = ii(m), s.c(), s.m(a, o)) : s && (s.d(1), s = null), p === (p = r(m)) && c ? c.p(m, L) : (c.d(1), c = p(m), c && (c.c(), c.m(a, null)));
|
|
2467
2456
|
},
|
|
2468
|
-
i:
|
|
2469
|
-
o:
|
|
2457
|
+
i: de,
|
|
2458
|
+
o: de,
|
|
2470
2459
|
d(m) {
|
|
2471
2460
|
m && (_(i), _(a)), _(e), s && s.d(), c.d(), t[64](null);
|
|
2472
2461
|
}
|
|
2473
2462
|
};
|
|
2474
2463
|
}
|
|
2475
|
-
function
|
|
2464
|
+
function Jt(t, e, i) {
|
|
2476
2465
|
let a;
|
|
2477
|
-
|
|
2478
|
-
let { lang:
|
|
2479
|
-
const
|
|
2466
|
+
yt(t, bt, (n) => i(26, a = n));
|
|
2467
|
+
let { lang: o = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: p = "" } = e, { userid: c = "" } = e, { endpoint: m = "" } = e, { apiversion: L = "" } = e, { customcurrencysymbols: y = "" } = e, { enablecompliancetext: j = "" } = e, { deletelimit: b = "" } = e, { amountsconfig: x = "" } = e, { periodsconfig: H = "" } = e, { limittabindex: q = "" } = e, { limitformat: Z = "" } = e, { clientstyling: N = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: R = "" } = e, D, I = window.navigator.userAgent, S = !ht(I), T = [], w = "", k = "", B = "", G = 0, E, J, Y = "", X = "", C = "", K = {}, Q = !1, Le = !1, $ = !0, ee = !1, De = !1, fe = !1, me = !1, se = "", ye = "", ie = [], he, Ie, ve = !1, gi = {}, je = !1, Ue = "", ge = { EUR: "€", RON: " lei", USD: "$" }, oe = {};
|
|
2468
|
+
const Ne = {
|
|
2480
2469
|
wager: "wagering",
|
|
2481
2470
|
loss: "loss",
|
|
2482
2471
|
deposit: "deposit",
|
|
2483
2472
|
cumulativeSession: "cumulativeSession",
|
|
2484
2473
|
sessionLimit: "session"
|
|
2485
|
-
},
|
|
2474
|
+
}, Re = {
|
|
2486
2475
|
unableToUpdatePendingRequest: ["SYS_1037", "SYS_1142", "SYS_1140"],
|
|
2487
2476
|
internalServerError: ["F0004", "F0006"]
|
|
2488
|
-
},
|
|
2489
|
-
fetch(
|
|
2490
|
-
Object.keys(l).forEach((
|
|
2491
|
-
|
|
2477
|
+
}, yi = () => {
|
|
2478
|
+
fetch(R).then((l) => l.json()).then((l) => {
|
|
2479
|
+
Object.keys(l).forEach((d) => {
|
|
2480
|
+
Ze(d, l[d]);
|
|
2492
2481
|
});
|
|
2493
2482
|
}).catch((l) => {
|
|
2494
2483
|
console.log(l);
|
|
2495
2484
|
});
|
|
2496
2485
|
};
|
|
2497
|
-
Object.keys(
|
|
2498
|
-
|
|
2486
|
+
Object.keys(pe).forEach((n) => {
|
|
2487
|
+
Ze(n, pe[n]);
|
|
2499
2488
|
});
|
|
2500
|
-
const
|
|
2489
|
+
const Me = (n) => `dataLayer-${n}`, te = (n, l) => {
|
|
2501
2490
|
typeof gtag == "function" && gtag({
|
|
2502
|
-
event:
|
|
2503
|
-
limit_category:
|
|
2504
|
-
limit_type:
|
|
2505
|
-
limit_period:
|
|
2491
|
+
event: n,
|
|
2492
|
+
limit_category: pe[o][Me(B.toLowerCase())] || B,
|
|
2493
|
+
limit_type: pe[o][Me(w.toLowerCase())] || w,
|
|
2494
|
+
limit_period: pe[o][Me(k.toLowerCase())] || k,
|
|
2506
2495
|
limit_amount: E || l
|
|
2507
2496
|
});
|
|
2508
|
-
},
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
title: W[ne].title
|
|
2497
|
+
}, hi = () => {
|
|
2498
|
+
const n = x.split(",").map((g) => g.split(":")), l = H.split(",").map((g) => g.split(":"));
|
|
2499
|
+
for (let [g, v] of n.entries())
|
|
2500
|
+
if (v[0] !== l[g][0])
|
|
2501
|
+
throw new Error(`Limit config mismatch: "${v[0]}" does not match "${l[g][0]}"`);
|
|
2502
|
+
const d = n.reduce(
|
|
2503
|
+
(g, v, z) => {
|
|
2504
|
+
const F = v[0].slice(v[0].indexOf("(") + 1, v[0].indexOf(")")), ze = v[0].slice(0, v[0].indexOf("(")), we = v[1], _e = l[z][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), Pe = {
|
|
2505
|
+
value: F,
|
|
2506
|
+
product: ze,
|
|
2507
|
+
minMax: we,
|
|
2508
|
+
periods: _e,
|
|
2509
|
+
callValue: V[F].callValue,
|
|
2510
|
+
callValue16: V[F].callValue16,
|
|
2511
|
+
title: V[F].title
|
|
2524
2512
|
};
|
|
2525
|
-
return g.push(
|
|
2513
|
+
return g.push(Pe), g;
|
|
2526
2514
|
},
|
|
2527
2515
|
[]
|
|
2528
2516
|
);
|
|
2529
|
-
for (let g = 0; g <
|
|
2530
|
-
i(6, T[g].product =
|
|
2531
|
-
C =
|
|
2532
|
-
|
|
2533
|
-
}),
|
|
2534
|
-
},
|
|
2535
|
-
const
|
|
2536
|
-
return [...
|
|
2537
|
-
},
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
}),
|
|
2517
|
+
for (let g = 0; g < d.length; g++)
|
|
2518
|
+
i(6, T[g].product = d[g].product, T), i(6, T[g].min = parseInt(d[g].minMax.split("-")[0], 10), T), i(6, T[g].max = parseInt(d[g].minMax.split("-")[1], 10), T), i(5, V[d[g].value].periods = d[g].periods, V);
|
|
2519
|
+
C = T[0]?.value, T.forEach((g) => {
|
|
2520
|
+
K[g.value] = { min: g.min, max: g.max }, gi[g.value] = g.product;
|
|
2521
|
+
}), K[C] ? (i(12, Y = K[C].min), i(13, X = K[C].max)) : (i(12, Y = 1), i(13, X = 9999999));
|
|
2522
|
+
}, vi = () => {
|
|
2523
|
+
const n = /\(([^)]+)\)/g;
|
|
2524
|
+
return [...x.matchAll(n)].flat().filter((d) => !d.includes("("));
|
|
2525
|
+
}, bi = () => {
|
|
2526
|
+
vi().forEach((l) => {
|
|
2527
|
+
V[l] ? T.push({ ...V[l] }) : console.error(`Unknown limit: ${l}`);
|
|
2528
|
+
}), hi(), i(7, w = T[0].value), i(8, k = V[w].periods[0]), B = T[0].product, i(14, Q = T.length > 1), i(15, Le = V[w].periods.length > 1);
|
|
2529
|
+
}, Be = () => {
|
|
2530
|
+
i(7, w = T[G].value), i(8, k = V[w].periods[0]), i(15, Le = V[w].periods.length > 1);
|
|
2541
2531
|
}, Oe = () => {
|
|
2542
|
-
|
|
2543
|
-
},
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
if (o.status >= 300)
|
|
2547
|
-
Si(o);
|
|
2532
|
+
B = T[G].product;
|
|
2533
|
+
}, re = (n) => {
|
|
2534
|
+
if (n.status >= 300)
|
|
2535
|
+
ki(n);
|
|
2548
2536
|
else
|
|
2549
|
-
return i(18,
|
|
2550
|
-
},
|
|
2537
|
+
return i(18, De = !1), n.status !== 204 ? n.json() : n;
|
|
2538
|
+
}, ki = (n) => {
|
|
2551
2539
|
i(17, ee = !0);
|
|
2552
2540
|
let l;
|
|
2553
|
-
throw
|
|
2554
|
-
for (const
|
|
2555
|
-
if (
|
|
2556
|
-
l =
|
|
2541
|
+
throw n.json().then((d) => {
|
|
2542
|
+
for (const g in Re)
|
|
2543
|
+
if (Re[g].some((v) => d.error.includes(v))) {
|
|
2544
|
+
l = g;
|
|
2557
2545
|
break;
|
|
2558
2546
|
}
|
|
2559
|
-
console.error("errType", l), !l &&
|
|
2547
|
+
console.error("errType", l), !l && ke(d);
|
|
2560
2548
|
}).finally(() => {
|
|
2561
|
-
l &&
|
|
2549
|
+
l && ke(l), i(17, ee = !1), i(16, $ = !1);
|
|
2562
2550
|
}), new Error("An error occured during the fetch request");
|
|
2563
|
-
},
|
|
2551
|
+
}, wi = () => {
|
|
2564
2552
|
if (!(E > 0)) return;
|
|
2565
|
-
|
|
2566
|
-
let
|
|
2553
|
+
ue(), i(16, $ = !0);
|
|
2554
|
+
let n = new URL(`/v2/player/${c}/limits`, m), l = {};
|
|
2567
2555
|
w === "sessionLimit" ? l = {
|
|
2568
2556
|
sessionLimit: E,
|
|
2569
2557
|
sessionLimitUnit: "minute"
|
|
2570
|
-
} : w === "cumulativeSession" ? l[
|
|
2558
|
+
} : w === "cumulativeSession" ? l[V[w].callValue] = [
|
|
2571
2559
|
{
|
|
2572
2560
|
period: k,
|
|
2573
2561
|
minutes: E
|
|
2574
2562
|
}
|
|
2575
|
-
] : l[
|
|
2563
|
+
] : l[V[w].callValue] = [
|
|
2576
2564
|
{
|
|
2577
|
-
period:
|
|
2565
|
+
period: V[w].periods[0] === "None" ? null : k,
|
|
2578
2566
|
amount: E,
|
|
2579
2567
|
currency: s
|
|
2580
2568
|
}
|
|
2581
2569
|
];
|
|
2582
|
-
let
|
|
2570
|
+
let d = {
|
|
2583
2571
|
method: "PUT",
|
|
2584
2572
|
headers: {
|
|
2585
|
-
"X-SessionID":
|
|
2573
|
+
"X-SessionID": p,
|
|
2586
2574
|
"Content-Type": "application/json",
|
|
2587
2575
|
Accept: "application/json"
|
|
2588
2576
|
},
|
|
2589
2577
|
body: JSON.stringify(l)
|
|
2590
2578
|
};
|
|
2591
|
-
fetch(
|
|
2592
|
-
te("self_limitation_success"),
|
|
2593
|
-
}).catch((
|
|
2594
|
-
console.error(
|
|
2579
|
+
fetch(n.href, d).then((g) => re(g)).then((g) => {
|
|
2580
|
+
te("self_limitation_success"), le();
|
|
2581
|
+
}).catch((g) => {
|
|
2582
|
+
console.error(g), i(17, ee = !0);
|
|
2595
2583
|
});
|
|
2596
|
-
},
|
|
2584
|
+
}, _i = () => {
|
|
2597
2585
|
if (E <= 0) return;
|
|
2598
|
-
|
|
2599
|
-
const l = T[
|
|
2586
|
+
ue(), i(16, $ = !0);
|
|
2587
|
+
const l = T[G].currentLimits.filter((F) => F.period === k)[0], d = new URL(`/v1/player/${c}/limits/monetary/${l ? l.id : ""}`, m), g = l ? "PUT" : "POST", v = l ? { amount: E, skipCoolOff: !1 } : {
|
|
2600
2588
|
amount: E,
|
|
2601
2589
|
currency: s,
|
|
2602
2590
|
// 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
|
|
2603
|
-
period:
|
|
2604
|
-
type:
|
|
2605
|
-
products: [
|
|
2606
|
-
walletTypes:
|
|
2591
|
+
period: V[w].periods[0] === "None" ? null : k,
|
|
2592
|
+
type: V[w].callValue16,
|
|
2593
|
+
products: [B ?? "All"],
|
|
2594
|
+
walletTypes: V[w].callValue16 === "Deposit" ? ["All"] : ["RealCash"]
|
|
2607
2595
|
};
|
|
2608
|
-
let
|
|
2609
|
-
method:
|
|
2596
|
+
let z = {
|
|
2597
|
+
method: g,
|
|
2610
2598
|
headers: {
|
|
2611
|
-
"X-SessionID":
|
|
2599
|
+
"X-SessionID": p,
|
|
2612
2600
|
"Content-Type": "application/json",
|
|
2613
2601
|
Accept: "application/json"
|
|
2614
2602
|
},
|
|
2615
|
-
body: JSON.stringify(
|
|
2603
|
+
body: JSON.stringify(v)
|
|
2616
2604
|
};
|
|
2617
|
-
fetch(
|
|
2618
|
-
te("self_limitation_success"),
|
|
2619
|
-
}).catch((
|
|
2620
|
-
console.log(
|
|
2605
|
+
fetch(d.href, z).then((F) => re(F)).then((F) => {
|
|
2606
|
+
te("self_limitation_success"), le();
|
|
2607
|
+
}).catch((F) => {
|
|
2608
|
+
console.log(F), i(17, ee = !0);
|
|
2621
2609
|
});
|
|
2622
|
-
},
|
|
2610
|
+
}, Si = () => {
|
|
2623
2611
|
if (!(E > 0)) return;
|
|
2624
|
-
|
|
2625
|
-
const
|
|
2626
|
-
let
|
|
2612
|
+
ue(), i(16, $ = !0);
|
|
2613
|
+
const n = new URL(`/v1/player/${c}/limits/session/`, m);
|
|
2614
|
+
let g = {
|
|
2627
2615
|
method: "PUT",
|
|
2628
2616
|
headers: {
|
|
2629
|
-
"X-SessionID":
|
|
2617
|
+
"X-SessionID": p,
|
|
2630
2618
|
"Content-Type": "application/json",
|
|
2631
2619
|
Accept: "application/json"
|
|
2632
2620
|
},
|
|
@@ -2635,19 +2623,19 @@ function oa(t, e, i) {
|
|
|
2635
2623
|
sessionLimitUnit: "minute"
|
|
2636
2624
|
})
|
|
2637
2625
|
};
|
|
2638
|
-
fetch(
|
|
2639
|
-
te("self_limitation_success"),
|
|
2640
|
-
}).catch((
|
|
2641
|
-
console.log(
|
|
2626
|
+
fetch(n.href, g).then((v) => re(v)).then((v) => {
|
|
2627
|
+
te("self_limitation_success"), le();
|
|
2628
|
+
}).catch((v) => {
|
|
2629
|
+
console.log(v), i(17, ee = !0);
|
|
2642
2630
|
});
|
|
2643
|
-
},
|
|
2631
|
+
}, Ai = () => {
|
|
2644
2632
|
if (!(E > 0)) return;
|
|
2645
|
-
|
|
2646
|
-
const
|
|
2647
|
-
let
|
|
2633
|
+
ue(), i(16, $ = !0);
|
|
2634
|
+
const n = new URL(`/v1/player/${c}/limits/session/`, m);
|
|
2635
|
+
let g = {
|
|
2648
2636
|
method: "PUT",
|
|
2649
2637
|
headers: {
|
|
2650
|
-
"X-SessionID":
|
|
2638
|
+
"X-SessionID": p,
|
|
2651
2639
|
"Content-Type": "application/json",
|
|
2652
2640
|
Accept: "application/json"
|
|
2653
2641
|
},
|
|
@@ -2660,19 +2648,19 @@ function oa(t, e, i) {
|
|
|
2660
2648
|
]
|
|
2661
2649
|
})
|
|
2662
2650
|
};
|
|
2663
|
-
fetch(
|
|
2664
|
-
te("self_limitation_success"),
|
|
2665
|
-
}).catch((
|
|
2666
|
-
console.log(
|
|
2651
|
+
fetch(n.href, g).then((v) => re(v)).then((v) => {
|
|
2652
|
+
te("self_limitation_success"), le();
|
|
2653
|
+
}).catch((v) => {
|
|
2654
|
+
console.log(v), i(17, ee = !0);
|
|
2667
2655
|
});
|
|
2668
|
-
},
|
|
2656
|
+
}, Ti = () => {
|
|
2669
2657
|
if (!(E > 0)) return;
|
|
2670
|
-
|
|
2671
|
-
const
|
|
2672
|
-
let
|
|
2658
|
+
ue(), i(16, $ = !0);
|
|
2659
|
+
const n = new URL(`/v2/player/${c}/limit/lugas`, m);
|
|
2660
|
+
let g = {
|
|
2673
2661
|
method: "POST",
|
|
2674
2662
|
headers: {
|
|
2675
|
-
"X-SessionID":
|
|
2663
|
+
"X-SessionID": p,
|
|
2676
2664
|
"Content-Type": "application/json",
|
|
2677
2665
|
Accept: "application/json"
|
|
2678
2666
|
},
|
|
@@ -2683,490 +2671,471 @@ function oa(t, e, i) {
|
|
|
2683
2671
|
keepLimit: !1
|
|
2684
2672
|
})
|
|
2685
2673
|
};
|
|
2686
|
-
fetch(
|
|
2687
|
-
i(23,
|
|
2688
|
-
}).catch((
|
|
2689
|
-
console.log(
|
|
2674
|
+
fetch(n.href, g).then((v) => re(v)).then((v) => {
|
|
2675
|
+
i(23, he = v.popup), v.operatorDepositLimitAmount, Ie = v.regulatorDepositLimitAmount, te("self_limitation_success"), le();
|
|
2676
|
+
}).catch((v) => {
|
|
2677
|
+
console.log(v), i(17, ee = !0);
|
|
2690
2678
|
});
|
|
2691
|
-
},
|
|
2679
|
+
}, Ci = () => {
|
|
2692
2680
|
switch (L) {
|
|
2693
2681
|
case "gmcore":
|
|
2694
|
-
|
|
2682
|
+
wi();
|
|
2695
2683
|
break;
|
|
2696
2684
|
case "gm16":
|
|
2697
|
-
|
|
2685
|
+
je = !1, w === "lugas" ? Ti() : w === "sessionLimit" ? Si() : w === "cumulativeSession" ? Ai() : _i();
|
|
2698
2686
|
break;
|
|
2699
2687
|
default:
|
|
2700
2688
|
throw Error(`Invalid apiversion attribute: ${L}`);
|
|
2701
2689
|
}
|
|
2702
2690
|
te("self_limitation_request");
|
|
2703
|
-
},
|
|
2691
|
+
}, le = () => {
|
|
2704
2692
|
switch (L) {
|
|
2705
2693
|
case "gmcore":
|
|
2706
|
-
|
|
2694
|
+
Ei();
|
|
2707
2695
|
break;
|
|
2708
2696
|
case "gm16":
|
|
2709
|
-
|
|
2697
|
+
Di();
|
|
2710
2698
|
break;
|
|
2711
2699
|
}
|
|
2712
|
-
},
|
|
2700
|
+
}, Ei = () => {
|
|
2713
2701
|
i(16, $ = !0);
|
|
2714
|
-
let
|
|
2702
|
+
let n = new URL(`/v2/player/${c}/limits`, m), l = {
|
|
2715
2703
|
method: "GET",
|
|
2716
2704
|
headers: {
|
|
2717
|
-
"X-SessionID":
|
|
2705
|
+
"X-SessionID": p,
|
|
2718
2706
|
"Content-Type": "application/json",
|
|
2719
2707
|
Accept: "application/json"
|
|
2720
2708
|
}
|
|
2721
2709
|
};
|
|
2722
|
-
fetch(
|
|
2723
|
-
ie =
|
|
2724
|
-
}).catch((
|
|
2725
|
-
console.error("Error LimitsWidget: ",
|
|
2710
|
+
fetch(n.href, l).then((d) => re(d)).then((d) => {
|
|
2711
|
+
ie = d, fe && ke(), Ve(ie), ji(ie), i(10, E = null);
|
|
2712
|
+
}).catch((d) => {
|
|
2713
|
+
console.error("Error LimitsWidget: ", d), i(17, ee = !0);
|
|
2726
2714
|
}).finally(() => {
|
|
2727
2715
|
i(16, $ = !1);
|
|
2728
2716
|
});
|
|
2729
|
-
},
|
|
2717
|
+
}, Di = () => {
|
|
2730
2718
|
i(16, $ = !0), ie = [];
|
|
2731
|
-
let
|
|
2719
|
+
let n = new URL(`/v1/player/${c}/limits/monetary`, m), l = new URL(`/v1/player/${c}/limits/session`, m), d = !1, g = {
|
|
2732
2720
|
method: "GET",
|
|
2733
2721
|
headers: {
|
|
2734
|
-
"X-SessionID":
|
|
2722
|
+
"X-SessionID": p,
|
|
2735
2723
|
"Content-Type": "application/json",
|
|
2736
2724
|
Accept: "application/json"
|
|
2737
2725
|
}
|
|
2738
2726
|
};
|
|
2739
|
-
fetch(
|
|
2740
|
-
ie.push(
|
|
2741
|
-
}).catch((
|
|
2742
|
-
console.error("Error LimitsWidget: ",
|
|
2727
|
+
fetch(n.href, g).then((v) => re(v)).then((v) => {
|
|
2728
|
+
ie.push(v), fe && ke(), L === "gmcore" && Ve(ie), L === "gm16" && Mi(ie), i(10, E = null);
|
|
2729
|
+
}).catch((v) => {
|
|
2730
|
+
console.error("Error LimitsWidget: ", v), i(17, ee = !0);
|
|
2743
2731
|
}).finally(() => {
|
|
2744
|
-
|
|
2745
|
-
}), fetch(l.href,
|
|
2746
|
-
ie.push(
|
|
2747
|
-
}).catch((
|
|
2748
|
-
console.error("Error LimitsWidget: ",
|
|
2732
|
+
d && i(16, $ = !1), d = !0;
|
|
2733
|
+
}), fetch(l.href, g).then((v) => re(v)).then((v) => {
|
|
2734
|
+
ie.push(v), fe && ke(), L === "gm16" && xi(ie), L === "gm16" && zi(ie), i(10, E = null);
|
|
2735
|
+
}).catch((v) => {
|
|
2736
|
+
console.error("Error LimitsWidget: ", v), i(17, ee = !0);
|
|
2749
2737
|
}).finally(() => {
|
|
2750
|
-
|
|
2738
|
+
d && i(16, $ = !1), d = !0;
|
|
2751
2739
|
});
|
|
2752
|
-
},
|
|
2740
|
+
}, Ve = (n) => {
|
|
2753
2741
|
T.forEach((l) => {
|
|
2754
2742
|
l.currentLimits = [];
|
|
2755
|
-
const
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
}), l.currentLimits = we(l.currentLimits));
|
|
2743
|
+
const d = Array.isArray(n[V[l.value].callValue]) ? n[V[l.value].callValue] : [n[V[l.value].callValue]];
|
|
2744
|
+
d.length === 0 || d[0] === void 0 || (d.forEach((g, v) => {
|
|
2745
|
+
const z = n[V[l.value].callValue][v];
|
|
2746
|
+
l.currentLimits.push({}), l.currentLimits[v].limitType = l.value, l.currentLimits[v].amount = Z ? z.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.amount), l.currentLimits[v].currency = ge[z.currency] ?? z.currency, l.currentLimits[v].period = z.period, l.currentLimits[v].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateAmount), l.currentLimits[v].isModified = z.isModified, l.currentLimits[v].expiryDate = `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
2747
|
+
}), l.currentLimits = be(l.currentLimits));
|
|
2761
2748
|
});
|
|
2762
|
-
},
|
|
2749
|
+
}, ji = (n) => {
|
|
2763
2750
|
const l = a("minutes");
|
|
2764
|
-
T.filter((
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(x.minutes),
|
|
2751
|
+
T.filter((d) => d.value === "sessionLimit" || d.value === "cumulativeSession").forEach((d) => {
|
|
2752
|
+
d.currentLimits = [], n[V[d.value].callValue]?.forEach((g, v) => {
|
|
2753
|
+
const z = n[V[d.value].callValue][v];
|
|
2754
|
+
d.currentLimits.push({
|
|
2755
|
+
limitType: d.value,
|
|
2756
|
+
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.minutes),
|
|
2771
2757
|
currency: l,
|
|
2772
|
-
isModified:
|
|
2773
|
-
period:
|
|
2774
|
-
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2775
|
-
expiryDate: `${new Date(
|
|
2758
|
+
isModified: z.isModified,
|
|
2759
|
+
period: d.value === "cumulativeSession" ? z.period : "None",
|
|
2760
|
+
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateMinutes),
|
|
2761
|
+
expiryDate: `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
|
|
2776
2762
|
});
|
|
2777
|
-
}),
|
|
2763
|
+
}), d.currentLimits = be(d.currentLimits);
|
|
2778
2764
|
});
|
|
2779
|
-
},
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
}), p.currentLimits.forEach((ne) => {
|
|
2800
|
-
ne.acknowledgedLimit = Object.keys(oe).some((fe) => ne.scheduleId === fe);
|
|
2765
|
+
}, Mi = (n) => {
|
|
2766
|
+
n[0]?.limits && T.forEach((l) => {
|
|
2767
|
+
l.currentLimits = [];
|
|
2768
|
+
for (const d of n[0].limits)
|
|
2769
|
+
if (d.type === l.callValue16 && d.products.includes(l.product)) {
|
|
2770
|
+
let g = 0, v = d.schedules.length > 0 ? d.schedules.find((z) => z.id) : {};
|
|
2771
|
+
d.schedules.length > 0 && (g = Z ? v.updateAmount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.updateAmount)), l.currentLimits.push({
|
|
2772
|
+
limitType: l.value,
|
|
2773
|
+
amount: Z ? d.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.amount),
|
|
2774
|
+
currency: ge[d.currency] ?? d.currency,
|
|
2775
|
+
isModified: d.schedules.length > 0,
|
|
2776
|
+
period: d.period,
|
|
2777
|
+
product: d.products[0],
|
|
2778
|
+
updateAmount: g,
|
|
2779
|
+
isCoolOffCompleted: v ? v.isCoolOffCompleted : !1,
|
|
2780
|
+
scheduleId: v ? v.id : null,
|
|
2781
|
+
expiryDate: d.schedules.length > 0 ? `${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
|
|
2782
|
+
id: d.id
|
|
2783
|
+
}), l.currentLimits.forEach((z) => {
|
|
2784
|
+
z.acknowledgedLimit = Object.keys(oe).some((F) => z.scheduleId === F);
|
|
2801
2785
|
});
|
|
2802
2786
|
}
|
|
2803
|
-
|
|
2787
|
+
l.currentLimits = be(l.currentLimits);
|
|
2804
2788
|
});
|
|
2805
|
-
},
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
p.currentLimits.push({
|
|
2789
|
+
}, xi = (n) => {
|
|
2790
|
+
n[1]?.sessionLimit && T.filter((l) => l.value === "sessionLimit").forEach((l) => {
|
|
2791
|
+
l.currentLimits.push({
|
|
2809
2792
|
limitType: "sessionLimit",
|
|
2810
|
-
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2793
|
+
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n[1].sessionLimit.minutes),
|
|
2811
2794
|
currency: a("minutes"),
|
|
2812
|
-
isModified:
|
|
2795
|
+
isModified: n[1].sessionLimit.isModified,
|
|
2813
2796
|
period: "None",
|
|
2814
|
-
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2815
|
-
expiryDate:
|
|
2816
|
-
}),
|
|
2797
|
+
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n[1].sessionLimit.updateMinutes),
|
|
2798
|
+
expiryDate: n[1].sessionLimit.expiryDate
|
|
2799
|
+
}), l.currentLimits = be(l.currentLimits);
|
|
2817
2800
|
});
|
|
2818
|
-
},
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
p.currentLimits.push({
|
|
2801
|
+
}, zi = (n) => {
|
|
2802
|
+
n[1]?.cumulativeSessionLimits && T.filter((l) => l.value === "cumulativeSession").forEach((l) => {
|
|
2803
|
+
for (const d of n[1].cumulativeSessionLimits)
|
|
2804
|
+
l.currentLimits.push({
|
|
2823
2805
|
limitType: "cumulativeSession",
|
|
2824
|
-
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2806
|
+
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.minutes),
|
|
2825
2807
|
currency: a("minutes"),
|
|
2826
|
-
isModified:
|
|
2827
|
-
period:
|
|
2828
|
-
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
2829
|
-
expiryDate:
|
|
2808
|
+
isModified: d.isModified,
|
|
2809
|
+
period: d.period,
|
|
2810
|
+
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.updateMinutes),
|
|
2811
|
+
expiryDate: d.expiryDate
|
|
2830
2812
|
});
|
|
2831
|
-
|
|
2813
|
+
l.currentLimits = be(l.currentLimits);
|
|
2832
2814
|
});
|
|
2833
|
-
},
|
|
2815
|
+
}, be = (n) => {
|
|
2834
2816
|
const l = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
2835
|
-
return
|
|
2836
|
-
},
|
|
2837
|
-
const
|
|
2838
|
-
E >= Y && E <= X &&
|
|
2839
|
-
},
|
|
2840
|
-
i(24,
|
|
2841
|
-
},
|
|
2817
|
+
return n.sort((d, g) => l[d.period] - l[g.period]), n;
|
|
2818
|
+
}, Pi = () => {
|
|
2819
|
+
const n = E - Math.floor(E) === 0;
|
|
2820
|
+
E >= Y && E <= X && n ? (i(24, ve = !1), J.removeAttribute("disabled")) : (i(24, ve = !0), J.setAttribute("disabled", "true"));
|
|
2821
|
+
}, We = () => {
|
|
2822
|
+
i(24, ve = !1), K?.[w] ? (i(12, Y = K[w].min), i(13, X = K[w].max)) : (i(12, Y = 1), i(13, X = 9999999));
|
|
2823
|
+
}, Ii = () => {
|
|
2842
2824
|
if (ie) {
|
|
2843
|
-
const
|
|
2844
|
-
let
|
|
2845
|
-
i(21,
|
|
2825
|
+
const n = ie[V[w].callValue].filter((g) => g.period === k)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount);
|
|
2826
|
+
let d = a("popupImmediateUpdate").replace("{selectedLimit}", xe()).replace("{updatedAmount}", l).replace("{currency}", ge[n.currency] || n.currency).replace("{selectedPeriod}", a(`${k}`));
|
|
2827
|
+
i(21, se = n.isModified ? `${a("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : d);
|
|
2846
2828
|
}
|
|
2847
|
-
i(20,
|
|
2848
|
-
},
|
|
2849
|
-
|
|
2850
|
-
const o = ((x = ie[0]) == null ? void 0 : x.limits) || ie.limits;
|
|
2829
|
+
i(20, me = !0);
|
|
2830
|
+
}, Ui = () => {
|
|
2831
|
+
const n = ie[0]?.limits || ie.limits;
|
|
2851
2832
|
let l = null;
|
|
2852
2833
|
if (!ie) {
|
|
2853
|
-
i(20,
|
|
2834
|
+
i(20, me = !0);
|
|
2854
2835
|
return;
|
|
2855
2836
|
}
|
|
2856
|
-
const
|
|
2857
|
-
l =
|
|
2858
|
-
const
|
|
2859
|
-
let
|
|
2860
|
-
l.schedules.length > 0 && oe[l.schedules[0].id] ? i(21,
|
|
2861
|
-
},
|
|
2862
|
-
|
|
2863
|
-
},
|
|
2864
|
-
i(21,
|
|
2865
|
-
},
|
|
2837
|
+
const d = je ? Ue : k;
|
|
2838
|
+
l = n.find((F) => F.type.toLowerCase() === Ne[w].toLowerCase() && (F.period === d || F.period === "None") && F.products[0] === B), l.schedules.length > 0 && oe[l.schedules[0].id] && (l.amount = l.schedules[0].updateAmount);
|
|
2839
|
+
const g = Ke(l) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(l.amount), v = l.schedules.length > 0 ? `${new Date(l.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
|
|
2840
|
+
let z = a("popupImmediateUpdate").replace("{selectedLimit}", xe()).replace("{updatedAmount}", g).replace("{selectedPeriod}", a(`${k}`));
|
|
2841
|
+
l.schedules.length > 0 && oe[l.schedules[0].id] ? i(21, se = z) : i(21, se = l.schedules.length > 0 ? `${a("popupPendingUpdate")} ${v}` : z), i(20, me = !0);
|
|
2842
|
+
}, Ni = () => {
|
|
2843
|
+
he == 1 && i(22, ye = "PopupKyc"), he == 2 && (i(21, se = `${a("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ie)} ${s} ${a("popup2_b")}`), i(22, ye = "PopupKyc2")), he == 3 && (i(21, se = a("popup3")), i(22, ye = "PopupSuccess")), i(20, me = !0);
|
|
2844
|
+
}, Ri = () => {
|
|
2845
|
+
i(21, se = a("sessionLimitUpdated")), i(20, me = !0);
|
|
2846
|
+
}, Bi = () => {
|
|
2866
2847
|
if (ie) {
|
|
2867
|
-
const
|
|
2868
|
-
let
|
|
2869
|
-
i(21,
|
|
2848
|
+
const n = ie[V[w].callValue].filter((g) => (g.period === k || k === "None") && g.products[0] === B)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.minutes);
|
|
2849
|
+
let d = a("popupImmediateUpdate").replace("{selectedLimit}", a(`${w}`)).replace("{updatedAmount}", l).replace("{currency}", a("minutes")).replace("{selectedPeriod}", a(`${k}`));
|
|
2850
|
+
i(21, se = n.isModified ? `${a("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : d);
|
|
2870
2851
|
}
|
|
2871
|
-
i(20,
|
|
2872
|
-
}, Fi = (
|
|
2873
|
-
var l;
|
|
2874
|
-
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("Limit update is not permitted due to LimitUpdateControl");
|
|
2875
|
-
}, qi = (o) => {
|
|
2876
|
-
var l;
|
|
2877
|
-
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("Limit remove is not permitted due to LimitUpdateControl");
|
|
2878
|
-
}, Gi = (o) => {
|
|
2879
|
-
var l;
|
|
2880
|
-
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("[NotFoundException] Limit does not exist");
|
|
2881
|
-
}, Ki = (o) => {
|
|
2882
|
-
var l;
|
|
2883
|
-
return (l = o.error) == null ? void 0 : l.includes("Invalid Session");
|
|
2884
|
-
}, _e = (o) => {
|
|
2852
|
+
i(20, me = !0);
|
|
2853
|
+
}, Oi = (n) => n?.error?.includes("Limit update is not permitted due to LimitUpdateControl"), Vi = (n) => n?.error?.includes("Limit remove is not permitted due to LimitUpdateControl"), Wi = (n) => n?.error?.includes("[NotFoundException] Limit does not exist"), Fi = (n) => n.error?.includes("Invalid Session"), ke = (n) => {
|
|
2885
2854
|
if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), ee) {
|
|
2886
|
-
if (i(18,
|
|
2887
|
-
i(20,
|
|
2855
|
+
if (i(18, De = !0), !n) {
|
|
2856
|
+
i(20, me = !0);
|
|
2888
2857
|
return;
|
|
2889
2858
|
}
|
|
2890
|
-
|
|
2859
|
+
n.thirdPartyResponse || i(21, se = a(`${n}`)), n.thirdPartyResponse && i(21, se = n.thirdPartyResponse.message), Oi(n) && i(21, se = a("popupUpdateLimitException")), Vi(n) && i(21, se = a("popupRemoveLimitException")), Wi(n) && i(21, se = a("notFoundException")), Fi(n) && i(21, se = a("sessionExpiredException")), i(20, me = !0);
|
|
2891
2860
|
return;
|
|
2892
2861
|
}
|
|
2893
2862
|
switch (L) {
|
|
2894
2863
|
case "gmcore":
|
|
2895
|
-
w === "sessionLimit" || w === "cumulativeSession" ?
|
|
2864
|
+
w === "sessionLimit" || w === "cumulativeSession" ? Bi() : Ii();
|
|
2896
2865
|
break;
|
|
2897
2866
|
case "gm16":
|
|
2898
|
-
w === "lugas" ?
|
|
2867
|
+
w === "lugas" ? Ni() : w === "sessionLimit" || w === "cumulativeSession" ? Ri() : Ui();
|
|
2899
2868
|
break;
|
|
2900
2869
|
default:
|
|
2901
2870
|
throw new Error(`Invalid apiversion attribute: ${L}`);
|
|
2902
2871
|
}
|
|
2903
|
-
},
|
|
2904
|
-
i(19,
|
|
2905
|
-
},
|
|
2906
|
-
i(7, w =
|
|
2907
|
-
let l = new URL(`/v2/player/${c}/limits/${
|
|
2908
|
-
|
|
2909
|
-
let
|
|
2872
|
+
}, ue = () => {
|
|
2873
|
+
i(19, fe = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
2874
|
+
}, qi = (n) => {
|
|
2875
|
+
i(7, w = n.limitType), i(8, k = n.period), ue(), i(16, $ = !0);
|
|
2876
|
+
let l = new URL(`/v2/player/${c}/limits/${Ne[n.limitType]}`, m);
|
|
2877
|
+
n.limitType !== "sessionLimit" && l.searchParams.append("periods", n.period);
|
|
2878
|
+
let d = {
|
|
2910
2879
|
method: "DELETE",
|
|
2911
2880
|
headers: {
|
|
2912
|
-
"X-SessionID":
|
|
2881
|
+
"X-SessionID": p,
|
|
2913
2882
|
"Content-Type": "application/json",
|
|
2914
2883
|
Accept: "application/json"
|
|
2915
2884
|
}
|
|
2916
2885
|
};
|
|
2917
|
-
fetch(l.href,
|
|
2918
|
-
te("self_limitation_cancel_success",
|
|
2919
|
-
}).catch((
|
|
2920
|
-
te("self_limitation_cancel_failed",
|
|
2886
|
+
fetch(l.href, d).then((g) => re(g)).then((g) => {
|
|
2887
|
+
te("self_limitation_cancel_success", n.amount), le();
|
|
2888
|
+
}).catch((g) => {
|
|
2889
|
+
te("self_limitation_cancel_failed", n.amount), console.log(g), i(17, ee = !0);
|
|
2921
2890
|
});
|
|
2922
|
-
},
|
|
2923
|
-
switch (
|
|
2891
|
+
}, Fe = (n) => {
|
|
2892
|
+
switch (Ue = n.period, L) {
|
|
2924
2893
|
case "gmcore":
|
|
2925
|
-
|
|
2894
|
+
qi(n);
|
|
2926
2895
|
break;
|
|
2927
2896
|
case "gm16":
|
|
2928
|
-
|
|
2897
|
+
je = !0, n.limitType === "sessionLimit" || n.limitType === "cumulativeSession" ? Gi(n) : Ki(n);
|
|
2929
2898
|
break;
|
|
2930
2899
|
}
|
|
2931
|
-
te("self_limitation_cancel_request",
|
|
2932
|
-
},
|
|
2933
|
-
const l = new URL(`/v1/player/${c}/limits/session/session`, m),
|
|
2934
|
-
let
|
|
2935
|
-
switch (
|
|
2900
|
+
te("self_limitation_cancel_request", n.amount);
|
|
2901
|
+
}, Gi = (n) => {
|
|
2902
|
+
const l = new URL(`/v1/player/${c}/limits/session/session`, m), d = new URL(`/v1/player/${c}/limits/session/cumulativeSession?periods=${n.period}`, m);
|
|
2903
|
+
let g;
|
|
2904
|
+
switch (n.limitType) {
|
|
2936
2905
|
case "sessionLimit":
|
|
2937
|
-
|
|
2906
|
+
g = l;
|
|
2938
2907
|
break;
|
|
2939
2908
|
case "cumulativeSession":
|
|
2940
|
-
|
|
2909
|
+
g = d;
|
|
2941
2910
|
break;
|
|
2942
2911
|
default:
|
|
2943
|
-
throw Error(`Unknown limit.limitType: ${
|
|
2912
|
+
throw Error(`Unknown limit.limitType: ${n.limitType}`);
|
|
2944
2913
|
}
|
|
2945
|
-
|
|
2946
|
-
let
|
|
2914
|
+
ue(), i(16, $ = !0);
|
|
2915
|
+
let v = {
|
|
2947
2916
|
method: "DELETE",
|
|
2948
2917
|
headers: {
|
|
2949
|
-
"X-SessionID":
|
|
2918
|
+
"X-SessionID": p,
|
|
2950
2919
|
"Content-Type": "application/json",
|
|
2951
2920
|
Accept: "application/json"
|
|
2952
2921
|
}
|
|
2953
2922
|
};
|
|
2954
|
-
fetch(
|
|
2955
|
-
te("self_limitation_cancel_success",
|
|
2956
|
-
}).catch((
|
|
2957
|
-
te("self_limitation_cancel_failed",
|
|
2923
|
+
fetch(g.href, v).then((z) => re(z)).then((z) => {
|
|
2924
|
+
te("self_limitation_cancel_success", n.amount), le();
|
|
2925
|
+
}).catch((z) => {
|
|
2926
|
+
te("self_limitation_cancel_failed", n.amount), console.log(z), i(17, ee = !0);
|
|
2958
2927
|
});
|
|
2959
|
-
},
|
|
2960
|
-
const l = new URL(`/v1/player/${c}/limits/monetary/${
|
|
2961
|
-
|
|
2962
|
-
let
|
|
2928
|
+
}, Ki = (n) => {
|
|
2929
|
+
const l = new URL(`/v1/player/${c}/limits/monetary/${n.id}`, m);
|
|
2930
|
+
ue(), i(16, $ = !0);
|
|
2931
|
+
let d = {
|
|
2963
2932
|
method: "DELETE",
|
|
2964
2933
|
headers: {
|
|
2965
|
-
"X-SessionID":
|
|
2934
|
+
"X-SessionID": p,
|
|
2966
2935
|
"Content-Type": "application/json",
|
|
2967
2936
|
Accept: "application/json"
|
|
2968
2937
|
}
|
|
2969
2938
|
};
|
|
2970
|
-
fetch(l.href,
|
|
2971
|
-
te("self_limitation_cancel_success",
|
|
2972
|
-
}).catch((
|
|
2973
|
-
te("self_limitation_cancel_failed",
|
|
2939
|
+
fetch(l.href, d).then((g) => re(g)).then((g) => {
|
|
2940
|
+
te("self_limitation_cancel_success", n.amount), le();
|
|
2941
|
+
}).catch((g) => {
|
|
2942
|
+
te("self_limitation_cancel_failed", n.amount), console.log(g), i(17, ee = !0);
|
|
2974
2943
|
});
|
|
2975
|
-
},
|
|
2976
|
-
const l = new URL(`/v1/player/${c}/limits/schedule/${
|
|
2977
|
-
|
|
2978
|
-
let
|
|
2944
|
+
}, qe = (n) => {
|
|
2945
|
+
const l = new URL(`/v1/player/${c}/limits/schedule/${n.scheduleId}`, m);
|
|
2946
|
+
ue(), i(16, $ = !0);
|
|
2947
|
+
let d = {
|
|
2979
2948
|
method: "DELETE",
|
|
2980
2949
|
headers: {
|
|
2981
|
-
"X-SessionID":
|
|
2950
|
+
"X-SessionID": p,
|
|
2982
2951
|
"Content-Type": "application/json",
|
|
2983
2952
|
Accept: "application/json"
|
|
2984
2953
|
}
|
|
2985
2954
|
};
|
|
2986
|
-
fetch(l.href,
|
|
2987
|
-
te("self_limitation_cancel_success",
|
|
2988
|
-
}).catch((
|
|
2989
|
-
te("self_limitation_cancel_failed",
|
|
2955
|
+
fetch(l.href, d).then((g) => re(g)).then((g) => {
|
|
2956
|
+
te("self_limitation_cancel_success", n.updateAmount), le();
|
|
2957
|
+
}).catch((g) => {
|
|
2958
|
+
te("self_limitation_cancel_failed", n.updateAmount), console.log(g), i(17, ee = !0);
|
|
2990
2959
|
});
|
|
2991
|
-
},
|
|
2992
|
-
const l = new URL(`v1/player/${c}/limits/schedule/acknowledge/${
|
|
2993
|
-
|
|
2994
|
-
let
|
|
2960
|
+
}, Ge = (n) => {
|
|
2961
|
+
const l = new URL(`v1/player/${c}/limits/schedule/acknowledge/${n.scheduleId}`, m);
|
|
2962
|
+
ue(), i(16, $ = !0);
|
|
2963
|
+
let d = {
|
|
2995
2964
|
method: "PATCH",
|
|
2996
2965
|
headers: {
|
|
2997
|
-
"X-SessionID":
|
|
2966
|
+
"X-SessionID": p,
|
|
2998
2967
|
"Content-Type": "application/json",
|
|
2999
2968
|
Accept: "application/json"
|
|
3000
2969
|
}
|
|
3001
2970
|
};
|
|
3002
|
-
fetch(l.href,
|
|
3003
|
-
|
|
3004
|
-
}).catch((
|
|
3005
|
-
te("self_limitation_confirm_failed",
|
|
2971
|
+
fetch(l.href, d).then((g) => re(g)).then((g) => {
|
|
2972
|
+
Hi(n), te("self_limitation_confirm_success", n.amount), le();
|
|
2973
|
+
}).catch((g) => {
|
|
2974
|
+
te("self_limitation_confirm_failed", n.amount), console.log(g), i(17, ee = !0);
|
|
3006
2975
|
});
|
|
3007
|
-
},
|
|
2976
|
+
}, Hi = (n) => {
|
|
3008
2977
|
let l = 60;
|
|
3009
|
-
i(25, oe[
|
|
3010
|
-
let
|
|
3011
|
-
() => l === 0 ? (window.clearInterval(
|
|
2978
|
+
i(25, oe[n.scheduleId] = {}, oe), i(25, oe[n.scheduleId].timer = `${l} ${pe[o].seconds}`, oe), i(25, oe[n.scheduleId].timerStopped = !1, oe);
|
|
2979
|
+
let d = window.setInterval(
|
|
2980
|
+
() => l === 0 ? (window.clearInterval(d), i(25, oe[n.scheduleId].timerStopped = !0, oe), i(25, oe[n.scheduleId].timer = pe[o].reloadLimitsButton, oe)) : i(25, oe[n.scheduleId].timer = `${--l} ${pe[o].seconds}`, oe),
|
|
3012
2981
|
1e3
|
|
3013
2982
|
);
|
|
3014
|
-
},
|
|
2983
|
+
}, xe = (n) => {
|
|
3015
2984
|
let l;
|
|
3016
|
-
return
|
|
3017
|
-
},
|
|
2985
|
+
return n ? l = a(n.value + n.product) : l = a(w), l;
|
|
2986
|
+
}, Ke = (n, l = !1) => {
|
|
3018
2987
|
if (!Z)
|
|
3019
|
-
return l ? `${
|
|
3020
|
-
let
|
|
3021
|
-
const
|
|
3022
|
-
let
|
|
3023
|
-
|
|
3024
|
-
const [
|
|
3025
|
-
let [
|
|
3026
|
-
return
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
),
|
|
3030
|
-
},
|
|
3031
|
-
i(20,
|
|
2988
|
+
return l ? `${n.updateAmount}${n.currency}` : `${n.amount}${n.currency}`;
|
|
2989
|
+
let d = Z;
|
|
2990
|
+
const g = d.match(/\{(\d+)decimals\}/), v = g ? parseInt(g[1], 10) : 2, z = g ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
2991
|
+
let F = l ? n.updateAmount : n.amount;
|
|
2992
|
+
F = parseInt(F).toFixed(v);
|
|
2993
|
+
const [ze, we] = Z.includes(".") ? [",", "."] : [".", ","];
|
|
2994
|
+
let [_e, Pe] = F.split(".");
|
|
2995
|
+
return _e = _e.replace(/\B(?=(\d{3})+(?!\d))/g, ze), F = `${_e}${we}${Pe}`, d = d.replace("{currency}", ge[n.currency] || n.currency).replace("{amount}", F.split(we)[0]).replace(
|
|
2996
|
+
z,
|
|
2997
|
+
F.split(we)[1]
|
|
2998
|
+
), d;
|
|
2999
|
+
}, He = () => {
|
|
3000
|
+
i(20, me = i(19, fe = !1)), i(22, ye = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
3001
|
+
}, Yi = () => {
|
|
3002
|
+
window.postMessage({ type: "uploadDocuments" }, window.location.href), He();
|
|
3003
|
+
}, Xi = (n) => {
|
|
3004
|
+
n.keyCode === 13 && ve && n.preventDefault();
|
|
3005
|
+
}, Zi = () => {
|
|
3006
|
+
if (!y) return;
|
|
3007
|
+
let n = {};
|
|
3008
|
+
y.split(",").forEach((l) => {
|
|
3009
|
+
let d = l.split(":");
|
|
3010
|
+
n[d[0].trim()] = d[1].trim();
|
|
3011
|
+
}), ge = { ...ge, ...n };
|
|
3032
3012
|
}, Ji = () => {
|
|
3033
|
-
|
|
3034
|
-
}, Qi = (
|
|
3035
|
-
|
|
3013
|
+
kt(o);
|
|
3014
|
+
}, Qi = () => {
|
|
3015
|
+
let n = document.createElement("style");
|
|
3016
|
+
n.innerHTML = N, D.appendChild(n);
|
|
3036
3017
|
}, $i = () => {
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
let p = l.split(":");
|
|
3041
|
-
o[p[0].trim()] = p[1].trim();
|
|
3042
|
-
}), he = Ce(Ce({}, he), o);
|
|
3043
|
-
}, et = () => {
|
|
3044
|
-
Et(n);
|
|
3045
|
-
}, it = () => {
|
|
3046
|
-
let o = document.createElement("style");
|
|
3047
|
-
o.innerHTML = B, D.appendChild(o);
|
|
3048
|
-
}, tt = () => {
|
|
3049
|
-
let o = new URL(z), l = document.createElement("style");
|
|
3050
|
-
fetch(o.href).then((p) => p.text()).then((p) => {
|
|
3051
|
-
l.innerHTML = p, setTimeout(
|
|
3018
|
+
let n = new URL(M), l = document.createElement("style");
|
|
3019
|
+
fetch(n.href).then((d) => d.text()).then((d) => {
|
|
3020
|
+
l.innerHTML = d, setTimeout(
|
|
3052
3021
|
() => {
|
|
3053
3022
|
D.appendChild(l);
|
|
3054
3023
|
},
|
|
3055
3024
|
1
|
|
3056
3025
|
);
|
|
3057
3026
|
});
|
|
3058
|
-
},
|
|
3059
|
-
function
|
|
3060
|
-
|
|
3027
|
+
}, et = () => le(), it = (n) => Fe(n), tt = (n) => Ge(n), at = (n) => qe(n);
|
|
3028
|
+
function ot() {
|
|
3029
|
+
G = Ye(this), i(9, G);
|
|
3061
3030
|
}
|
|
3062
|
-
const
|
|
3063
|
-
|
|
3031
|
+
const nt = () => {
|
|
3032
|
+
Oe(), Be(), We();
|
|
3064
3033
|
};
|
|
3065
|
-
function
|
|
3066
|
-
k =
|
|
3034
|
+
function st() {
|
|
3035
|
+
k = Ye(this), i(8, k), i(5, V), i(7, w);
|
|
3067
3036
|
}
|
|
3068
|
-
function
|
|
3069
|
-
E =
|
|
3037
|
+
function rt() {
|
|
3038
|
+
E = ci(this.value), i(10, E);
|
|
3070
3039
|
}
|
|
3071
|
-
function
|
|
3072
|
-
|
|
3073
|
-
J =
|
|
3040
|
+
function lt(n) {
|
|
3041
|
+
Xe[n ? "unshift" : "push"](() => {
|
|
3042
|
+
J = n, i(11, J);
|
|
3074
3043
|
});
|
|
3075
3044
|
}
|
|
3076
|
-
function
|
|
3077
|
-
|
|
3078
|
-
D =
|
|
3045
|
+
function mt(n) {
|
|
3046
|
+
Xe[n ? "unshift" : "push"](() => {
|
|
3047
|
+
D = n, i(4, D);
|
|
3079
3048
|
});
|
|
3080
3049
|
}
|
|
3081
|
-
return t.$$set = (
|
|
3082
|
-
"lang" in
|
|
3050
|
+
return t.$$set = (n) => {
|
|
3051
|
+
"lang" in n && i(42, o = n.lang), "currency" in n && i(0, s = n.currency), "limits" in n && i(43, r = n.limits), "session" in n && i(44, p = n.session), "userid" in n && i(45, c = n.userid), "endpoint" in n && i(46, m = n.endpoint), "apiversion" in n && i(47, L = n.apiversion), "customcurrencysymbols" in n && i(48, y = n.customcurrencysymbols), "enablecompliancetext" in n && i(1, j = n.enablecompliancetext), "deletelimit" in n && i(2, b = n.deletelimit), "amountsconfig" in n && i(49, x = n.amountsconfig), "periodsconfig" in n && i(50, H = n.periodsconfig), "limittabindex" in n && i(3, q = n.limittabindex), "limitformat" in n && i(51, Z = n.limitformat), "clientstyling" in n && i(52, N = n.clientstyling), "clientstylingurl" in n && i(53, M = n.clientstylingurl), "translationurl" in n && i(54, R = n.translationurl);
|
|
3083
3052
|
}, t.$$.update = () => {
|
|
3084
3053
|
t.$$.dirty[1] & /*customcurrencysymbols*/
|
|
3085
|
-
131072 &&
|
|
3086
|
-
786432 && H &&
|
|
3087
|
-
2048 &&
|
|
3088
|
-
124928 && c &&
|
|
3054
|
+
131072 && y && Zi(), t.$$.dirty[1] & /*periodsconfig, amountsconfig*/
|
|
3055
|
+
786432 && H && x && bi(), t.$$.dirty[1] & /*lang*/
|
|
3056
|
+
2048 && o && Ji(), t.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
|
|
3057
|
+
124928 && c && p && m && L && o && le(), t.$$.dirty[0] & /*customStylingContainer*/
|
|
3089
3058
|
16 | t.$$.dirty[1] & /*clientstylingurl*/
|
|
3090
|
-
4194304 &&
|
|
3059
|
+
4194304 && M && D && $i(), t.$$.dirty[0] & /*customStylingContainer*/
|
|
3091
3060
|
16 | t.$$.dirty[1] & /*clientstyling*/
|
|
3092
|
-
2097152 &&
|
|
3093
|
-
8388608 &&
|
|
3061
|
+
2097152 && N && D && Qi(), t.$$.dirty[1] & /*translationurl*/
|
|
3062
|
+
8388608 && R && yi();
|
|
3094
3063
|
}, [
|
|
3095
3064
|
s,
|
|
3096
3065
|
j,
|
|
3097
3066
|
b,
|
|
3098
|
-
|
|
3067
|
+
q,
|
|
3099
3068
|
D,
|
|
3100
|
-
|
|
3069
|
+
V,
|
|
3101
3070
|
T,
|
|
3102
3071
|
w,
|
|
3103
3072
|
k,
|
|
3104
|
-
|
|
3073
|
+
G,
|
|
3105
3074
|
E,
|
|
3106
3075
|
J,
|
|
3107
3076
|
Y,
|
|
3108
3077
|
X,
|
|
3109
3078
|
Q,
|
|
3110
|
-
|
|
3079
|
+
Le,
|
|
3111
3080
|
$,
|
|
3112
3081
|
ee,
|
|
3113
|
-
|
|
3082
|
+
De,
|
|
3083
|
+
fe,
|
|
3084
|
+
me,
|
|
3085
|
+
se,
|
|
3114
3086
|
ye,
|
|
3115
|
-
|
|
3116
|
-
re,
|
|
3087
|
+
he,
|
|
3117
3088
|
ve,
|
|
3118
|
-
be,
|
|
3119
|
-
ke,
|
|
3120
3089
|
oe,
|
|
3121
3090
|
a,
|
|
3122
3091
|
S,
|
|
3092
|
+
Be,
|
|
3123
3093
|
Oe,
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3094
|
+
Ci,
|
|
3095
|
+
le,
|
|
3096
|
+
Pi,
|
|
3097
|
+
We,
|
|
3128
3098
|
Fe,
|
|
3129
3099
|
qe,
|
|
3130
3100
|
Ge,
|
|
3101
|
+
xe,
|
|
3131
3102
|
Ke,
|
|
3132
|
-
Pe,
|
|
3133
3103
|
He,
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
n,
|
|
3104
|
+
Yi,
|
|
3105
|
+
Xi,
|
|
3106
|
+
o,
|
|
3138
3107
|
r,
|
|
3139
|
-
|
|
3108
|
+
p,
|
|
3140
3109
|
c,
|
|
3141
3110
|
m,
|
|
3142
3111
|
L,
|
|
3143
|
-
|
|
3144
|
-
|
|
3112
|
+
y,
|
|
3113
|
+
x,
|
|
3145
3114
|
H,
|
|
3146
3115
|
Z,
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3116
|
+
N,
|
|
3117
|
+
M,
|
|
3118
|
+
R,
|
|
3119
|
+
et,
|
|
3120
|
+
it,
|
|
3121
|
+
tt,
|
|
3150
3122
|
at,
|
|
3151
3123
|
ot,
|
|
3152
3124
|
nt,
|
|
3153
3125
|
st,
|
|
3154
3126
|
rt,
|
|
3155
3127
|
lt,
|
|
3156
|
-
mt
|
|
3157
|
-
ut,
|
|
3158
|
-
dt,
|
|
3159
|
-
pt
|
|
3128
|
+
mt
|
|
3160
3129
|
];
|
|
3161
3130
|
}
|
|
3162
|
-
class
|
|
3131
|
+
class Qt extends pt {
|
|
3163
3132
|
constructor(e) {
|
|
3164
|
-
super(),
|
|
3133
|
+
super(), ct(
|
|
3165
3134
|
this,
|
|
3166
3135
|
e,
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3136
|
+
Jt,
|
|
3137
|
+
Zt,
|
|
3138
|
+
ft,
|
|
3170
3139
|
{
|
|
3171
3140
|
lang: 42,
|
|
3172
3141
|
currency: 0,
|
|
@@ -3186,7 +3155,7 @@ class na extends vt {
|
|
|
3186
3155
|
clientstylingurl: 53,
|
|
3187
3156
|
translationurl: 54
|
|
3188
3157
|
},
|
|
3189
|
-
|
|
3158
|
+
_t,
|
|
3190
3159
|
[-1, -1, -1, -1, -1]
|
|
3191
3160
|
);
|
|
3192
3161
|
}
|
|
@@ -3293,7 +3262,7 @@ class na extends vt {
|
|
|
3293
3262
|
this.$$set({ translationurl: e }), ae();
|
|
3294
3263
|
}
|
|
3295
3264
|
}
|
|
3296
|
-
|
|
3265
|
+
Lt(Qt, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, customcurrencysymbols: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, limittabindex: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
3297
3266
|
export {
|
|
3298
|
-
|
|
3267
|
+
Qt as default
|
|
3299
3268
|
};
|