1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5384],{4361:(e,l,a)=>{"use strict";a.d(l,{A:()=>u});var n=a(3591),s=a(18543),i=a(26647),r=a(5531),t=a.n(r),d=a(66684),o=a(59662),c=a(87287);a(41672);let u=(0,s.memo)(e=>{var l,a;let{title:s,children:r}=e,u=(0,d.useRouter)(),m=(0,o.d4)(e=>e.authentication.decodedToken),p=(null==m?void 0:m.loginName)||(null==m?void 0:m.memberCode)||"",h=(null===c.qk||void 0===c.qk||null==(a=c.qk.LOGOSPECS)||null==(l=a.desktop)?void 0:l.link)||"/assets/whitelabel/".concat("lotus365club","/profair-header-logo.png"),b=(null===c.qk||void 0===c.qk?void 0:c.qk.APP_NAME)||"Profair";return(0,n.jsxs)("main",{className:"daimond-fullscreen-pay",children:[(0,n.jsxs)("header",{className:"daimond-fullscreen-pay__title",children:[(0,n.jsx)(t(),{href:"/",className:"daimond-fullscreen-pay__logo",title:"".concat(b," Home"),scroll:!1,children:(0,n.jsx)(i.default,{src:h,alt:b,width:120,height:36,className:"daimond-fullscreen-pay__logo-img",priority:!0})}),(0,n.jsx)("h1",{className:"daimond-fullscreen-pay__heading",children:s}),(0,n.jsxs)("div",{className:"daimond-fullscreen-pay__actions",children:[p?(0,n.jsx)("span",{className:"daimond-fullscreen-pay__account",children:p}):null,(0,n.jsx)("button",{type:"button",className:"daimond-fullscreen-pay__close",onClick:()=>u.push("/",{scroll:!1}),"aria-label":"Close",children:"\xd7"})]})]}),(0,n.jsx)("div",{className:"daimond-fullscreen-pay__body",children:r})]})})},25627:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>k});var n=a(3591),s=a(18543),i=a(79362),r=a(4361),t=a(63687),d=a(70858);let o=["1. Deposit money only in the below available accounts to get the fastest credits and avoid possible delays.","2. Deposits made 45 minutes after the account removal from the site are valid & will be added to their wallets.","3. Site is not responsible for money deposited to Old, Inactive or Closed accounts.","4. After deposit, add your UTR and amount to receive balance.","5. NEFT receiving time varies from 40 minutes to 2 hours.","6. In case of account modification: payment valid for 1 hour after changing account details in deposit page."],c=()=>(0,n.jsx)("div",{className:"rb-dep-card",children:(0,n.jsx)("div",{className:"rb-dep-notes",children:o.map(e=>(0,n.jsx)("p",{children:e},e))})});var u=a(87287);let m=()=>{let e=(0,i.mO)("amount"),l=(0,i.Ym)("amount"),a=(0,i.Ym)("depositSection"),r=(0,i.Ym)("paymentGatewayDetailsData"),o=(0,i.Ym)("utr"),u=(0,i.Ym)("file"),m=(0,i.Ym)("ruleAccepted"),{paymentGateways:p,paymentGatewaysLoading:h}=(0,t.A)(),{showToast:b}
1=(0,d.d)(),[v,x]=(0,s.useState)(!1),[N,j]=(0,s.useState)(!1),y=(null==p?void 0:p.overAllMinAmount)||0,f=(null==p?void 0:p.overAllMaxAmount)||1/0,g=(0,s.useMemo)(()=>v?!e||0>=Number(e)?"Amount is required.":y&&Number(e)<y?"Amount should be greater than ".concat(y,"."):f&&Number.isFinite(f)&&Number(e)>f?"Amount should be less than ".concat(f,"."):"":"",[e,y,f,v]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"rb-dep-card",children:(0,n.jsxs)("form",{id:"rb-amount-form",onSubmit:l=>{l.preventDefault(),x(!0);let n=Number(e);if(!n||n<=0)return void b({message:"Please enter amount",type:"error"});if(y&&n<y)return void b({message:"Amount should be greater than ".concat(y),type:"error"});if(f&&Number.isFinite(f)&&n>f)return void b({message:"Amount should be less than ".concat(f),type:"error"});let s=((null==p?void 0:p.allGateways)||[]).find(e=>{let{min:l,max:a}=function(e){return{min:Number(null==e?void 0:e.min)||0,max:Number(null==e?void 0:e.max)||1/0}}(e);return n>=l&&n<=a});if(!s)return void b({message:"No payment method available for this amount",type:"error"});j(!0),o(""),u(null),m(!1),r(s),a("SECOND"),j(!1)},children:[(0,n.jsx)("label",{className:"rb-dep-label",htmlFor:"rb-deposit-amount",children:"Amount"}),(0,n.jsxs)("div",{className:"rb-dep-amount-row",children:[(0,n.jsx)("input",{id:"rb-deposit-amount",className:"rb-dep-amount-input",type:"number",inputMode:"numeric",placeholder:"Enter amount",value:e?String(e):"",onChange:e=>{x(!0);let a=e.target.value;l(""===a?0:Number(a))},min:0}),(0,n.jsx)("button",{type:"submit",className:"rb-dep-submit-inline",disabled:N||h,children:N||h?(0,n.jsxs)(n.Fragment,{children:["LOADING",(0,n.jsx)("span",{className:"rb-dep-loader"})]}):"SUBMIT"})]}),g?(0,n.jsx)("div",{className:"rb-dep-error",children:g}):null]})}),(0,n.jsx)(c,{})]})};var p=a(79435),h=a(64632),b=a(48133),v=a(25696),x=a(59662);let N=e=>{let{value:l}=e,[a,i]=(0,s.useState)(!1);return l?(0,n.jsx)("button",{type:"button",className:"rb-dep-copy","aria-label":"Copy",onClick:()=>{(0,v.lW)(l),i(!0),setTimeout(()=>i(!1),1200)},children:a?"â":"â§"}):null},j=()=>{let e=(0,i.mO)("amount"),l=(0,i.Ym)("depositSection"),a=(0,i.mO)("paymentGatewayDetailsData"),r=(0,i.Ym)("paymentGatewayDetailsData"),d=(0,i.mO)("utr"),o=(0,i.Ym)("utr"),m=(0,i.mO)("file"),v=(0,i.Ym)("file"),j=(0,i.mO)("ruleAccepted"),y=(0,i.Ym)("ruleAccepted"),f=(0,i.Ym)("openTermsAndConditions"),g=(0,i.Ym)("openSuccessPopup"),k=(0,i.mO)("depReqLoader"),w=(0,i.mO)("generatedReqResponse"),{paymentGateways:A}=(0,t.A)(),{gateWayData:C}=(0,h.A)({id:null==a?void 0:a.id}),{countryDetails:{currency:D}}=(0,x.d4)(e=>e.globalCommonStates),S=(0,s.useRef)(null),[E,I]=(0,s.useState)(null),[_,q]=(0,s.useState)(""),O=(0,s.useMemo)(()=>(function(e,l){let a=[];for(let n of((null===u.qk||void 0===u.qk?void 0:u.qk.WA_LINK)&&a.push({key:"whatsapp",label:"WhatsApp Deposit",kind:"whatsapp"}),(e||[]).filter(e=>{let a=Number(null==e?void 0:e.min)||0,n=Number(null==e?void 0:e.max)||1/0;return l>=a&&l<=n}))){let e=function(e){let l="".concat((null==e?void 0:e.name)||""," ").concat((null==e?void 0:e.id)||"").toLowerCase();return l.includes("phonepe")||l.includes("phone pe")?{key:"phonepe-".concat(e.id),label:"PhonePe",icon:null==e?void 0:e.logo}:l.includes("paytm")?{key:"paytm-".concat(e.id),label:"Paytm",icon:null==e?void 0:e.logo}:l.includes("gpay")||l.includes("google pay")||l.includes("googlepay")?{key:"gpay-".concat(e.id),label:"GPay",icon:null==e?void 0:e.logo}:(null==e?void 0:e.isManual)&&!(null==e?void 0:e.isUPI)||l.includes("bank")||l.includes("account")||l.includes("imps")||l.includes("neft")?{key:"account-".concat(e.id),label:"Account",icon:null==e?void 0:e.logo}:(null==e?void 0:e.isUPI)?{key:"upi-".concat(e.id),label:(null==e?void 0:e.name)||"UPI",icon:null==e?void 0:e.logo}:{key:"gw-".concat(e.id),label:(null==e?void 0:e.name)||"Pay",icon:null==e?void 0:e.logo}}(n);a.push({...e,kind:"gateway",gateway:n})}return a})((null==A?void 0:A.allGateways)||[],Number(e)),[null==A?void 0:A.allGateways,e]);(0,s.useEffect)(()=>{if(!O.length||O.find(e=>e.key===_))return;let e=O.find(e=>{var l;return(null==(l=e.gateway)?void 0:l.id)===(null==a?void 0:a.id)})||O.find(e=>"gateway"===e.kind)||O[0];q(e.key),"gateway"===e.kind&&e.gateway&&r(e.gateway)},[O,_,null==a?void 0:a.id,r]);let P=O.find(e=>e.key===_);(0,s.useEffect)(()=>{(async()=>{var l;if(!C)return I(null);if(null==C?void 0:C.path)return I(C.path);if((null==C?void 0:C.isUPI)&&(null==C||null==(l=C.account)?void 0:l.acNo)){let l="upi://pay?pa=".concat(C.account.acNo,"&pn=").concat(C.account.name||"","&am=").concat(e,"&cu=").concat(D||"INR","&tn=").concat((null==w?void 0:w.txnCode)||"");I(await p.toDataURL(l));return}I(null)})()},[C,e,D,null==w?void 0:w.txnCode]);let T=C||a,F=(null==T?void 0:T.account)||(null==a?void 0:a.account),R=!!(null==T?void 0:T.isUPI),U=!!(null==T?void 0:T.isManual),L=!!T&&!R&&!U,M=((null==P?void 0:P.label)||(null==C?void 0:C.name)||(null==a?void 0:a.name)||"Payment").toUpperCase(),Y=L?!!j:!!(j&&d&&m),B=(0,n.jsxs)("div",{className:"rb-dep-detail
1s-box",children:[!R&&F?(0,n.jsxs)(n.Fragment,{children:[F.bankName?(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"Bank Name"}),(0,n.jsxs)("span",{className:"rb-dep-row-value",children:[": ",F.bankName]}),(0,n.jsx)(N,{value:F.bankName})]}):null,F.acNo?(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"A/C No"}),(0,n.jsxs)("span",{className:"rb-dep-row-value",children:[": ",F.acNo]}),(0,n.jsx)(N,{value:F.acNo})]}):null,F.IFSC?(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"IFSC Code"}),(0,n.jsxs)("span",{className:"rb-dep-row-value",children:[": ",F.IFSC]}),(0,n.jsx)(N,{value:F.IFSC})]}):null,F.name?(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"Account Name"}),(0,n.jsxs)("span",{className:"rb-dep-row-value",children:[": ",F.name]}),(0,n.jsx)(N,{value:F.name})]}):null]}):null,R&&F?(0,n.jsxs)(n.Fragment,{children:[F.name?(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"Name"}),(0,n.jsx)("span",{className:"rb-dep-row-value",children:F.name}),(0,n.jsx)(N,{value:F.name})]}):null,F.acNo?(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"Number"}),(0,n.jsx)("span",{className:"rb-dep-row-value",children:F.acNo}),(0,n.jsx)(N,{value:F.acNo})]}):null]}):null,(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"Min Amount"}),(0,n.jsxs)("span",{className:"rb-dep-row-value",children:[": ",(null==a?void 0:a.min)||(null==C?void 0:C.min)||"-"]})]}),(0,n.jsxs)("div",{className:"rb-dep-row",children:[(0,n.jsx)("span",{className:"rb-dep-row-label",children:"Max Amount"}),(0,n.jsxs)("span",{className:"rb-dep-row-value",children:[": ",(null==a?void 0:a.max)||(null==C?void 0:C.max)||"-"]})]}),E?(0,n.jsx)("div",{className:"rb-dep-qr",children:(0,n.jsx)("img",{src:E,alt:"Payment QR"})}):null]}),K=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("a",{className:"rb-dep-help-link",href:"https://upitobank.xyz/",target:"_blank",rel:"noreferrer",children:["HOW TO TRANSFER UPI TO BANK",(0,n.jsx)("br",{}),"CLICK HERE WWW.UPITOBANK.XYZ"]}),(null===u.qk||void 0===u.qk?void 0:u.qk.WA_LINK)?(0,n.jsxs)("a",{className:"rb-dep-wa-support",href:u.qk.WA_LINK,target:"_blank",rel:"noreferrer",children:["FOR PAYMENT RELATED ISSUES CLICK HERE",(0,n.jsx)("span",{"aria-hidden":!0,children:"\uD83D\uDFE2"})]}):null]}),W=(0,n.jsxs)(b.A,{className:"w-full",onSuccess:()=>g(!0),promoCodeMessage:"Please check the entered promo code.",children:[L?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"rb-dep-field",children:[(0,n.jsxs)("label",{children:["Unique Transaction Reference ",(0,n.jsx)("span",{className:"req",children:"*"})]}),(0,n.jsx)("input",{type:"text",placeholder:"6 to 12 Digit UTR Number",value:d||"",onChange:e=>{let l=e.target.value.replace(/[^a-zA-Z0-9]/g,"");l.length<=23&&o(l)}})]}),(0,n.jsxs)("div",{className:"rb-dep-field",children:[(0,n.jsxs)("label",{children:["Upload Your Payment Proof ",(0,n.jsx)("span",{className:"req",children:"[Required]"})]}),(0,n.jsxs)("div",{className:"rb-dep-file-row",children:[(0,n.jsx)("button",{type:"button",className:"rb-dep-file-btn",onClick:()=>{var e;return null==(e=S.current)?void 0:e.click()},children:"Choose File"}),(0,n.jsx)("span",{className:"rb-dep-file-name",children:m?m.name:"No file chosen"}),(0,n.jsx)("input",{ref:S,type:"file",accept:"image/*",hidden:!0,onChange:e=>{var l;v((null==(l=e.target.files)?void 0:l[0])||null)}})]})]})]}),(0,n.jsxs)("div",{className:"rb-dep-field",children:[(0,n.jsxs)("label",{children:["Amount ",(0,n.jsx)("span",{className:"req",children:"*"})]}),(0,n.jsx)("input",{className:"rb-dep-amount-locked",type:"number",value:e||"",disabled:!0,readOnly:!0})]}),(0,n.jsxs)("label",{className:"rb-dep-terms",children:[(0,n.jsx)("input",{type:"checkbox",checked:!!j,onChange:e=>y(e.target.checked)}),(0,n.jsxs)("span",{children:["I have read and agree with"," ",(0,n.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),f(!0)},children:"the terms of payment and withdrawal policy."})]})]}),(0,n.jsxs)("button",{type:"submit",className:"rb-dep-submit-green",disabled:k||!Y,children:[L?"PROCEED TO PAYMENT":"SUBMIT",k?(0,n.jsx)("span",{className:"rb-dep-loader"}):null]})]});return(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)("button",{type:"button",className:"rb-dep-back",onClick:()=>{l("FIRST"),o(""),v(null),y(!1)},children:"< BACK"}),(0,n.jsx)("div",{className:"rb-dep-tabs",role:"tablist",children:O.map(e=>(0,n.jsxs)("button",{type:"button",role:"tab",className:"rb-dep-tab".concat(_===e.key?" is-active":""),"aria-selected":_===e.key,onClick:()=>(e=>{if("whatsapp"===e.kind){let e=null===u.qk||void 0===u.qk?void 0:u.qk.WA_LINK;e&&window.open(e,"_blank");return}q(e.key),e.gateway&&(r(e.gateway),o(""),v(null),y(!1))})(e),children:[(0,n.jsx)("span",{children:e.label}),e.icon?(0,n.jsx)("img",{src:e.icon,alt:"",onError:e=>{e.target.style.display="none"}}):null]},e.key))}),(0,n.jsxs)("div",{className:"rb-dep-card",children:[(0,n.jsx)("h5",{className:"rb-dep-method-title",children:R?M:M.includes("ACCOUNT")?"BANK ACCOUNT":M}),(0,n.jsxs)("div",{className:"rb-dep-step2-grid".concat(L?" rb-dep-step2-grid--pg":""),children:[L?null:(0,n.jsxs)("div",{className:"rb-dep-step2-details",children:[B,K]}),(0,n.jsx)("div",{className:"rb-dep-step2-form",children:W})]})]}),(0,n.jsx)(c,{})]})};var y=a(40478),f=a(68564);let g=()=>{let{data:e,status:l}=(0,y.A)({activeTab:"deposit",filterOpt:{value:"all"}}),a=(0,s.useMemo)(()=>(e||[]).slice(0,10),[e]);return(0,n.jsxs)("div",{className:"rb-dep-card",children:[(0,n.jsx)("div",{className:"rb-dep-history-wrap",children:(0,n.jsxs)("table",{className:"rb-dep-history",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"Transaction No"}),(0,n.jsx)("th",{children:"Amount"}),(0,n.jsx)("th",{children:"Status"}),(0,n.jsx)("th",{children:"Date"}),(0,n.jsx)("th",{children:"Reason"})]})}),(0,n.jsx)("tbody",{children:a.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(null==e?void 0:e.requestId)||
1(null==e?void 0:e.utr)||"-"}),(0,n.jsx)("td",{children:Number((null==e?void 0:e.amount)||0).toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})}),(0,n.jsx)("td",{children:(0,n.jsx)("span",{className:"rb-dep-status ".concat((e=>{let l=(e||"").toLowerCase();return l.includes("approv")||l.includes("complete")||l.includes("success")?"":l.includes("fail")||l.includes("reject")||l.includes("cancel")?"is-failed":"is-pending"})(null==e?void 0:e.status)),children:((null==e?void 0:e.status)||"-").toUpperCase()})}),(0,n.jsx)("td",{children:(null==e?void 0:e.createdAt)?(0,n.jsx)(f.default,{date:e.createdAt,format:"dd-mm-yyyy hh:mm:ss a"}):"-"}),(0,n.jsx)("td",{children:(null==e?void 0:e.remark)||(null==e?void 0:e.reason)||"-"})]},(null==e?void 0:e.requestId)||(null==e?void 0:e.id)))})]})}),!a.length&&(0,n.jsx)("div",{className:"rb-dep-history-empty",children:"loading"===l?"Loading transactionsâ¦":"No deposits yet"})]})};a(84257);let k=(0,s.memo)(()=>{let e=(0,i.mO)("depositSection");return(0,n.jsx)(r.A,{title:"Deposit",children:(0,n.jsx)("div",{className:"rb-deposit rb-deposit-page-bg",children:(0,n.jsxs)("div",{className:"rb-dep-layout",children:[(0,n.jsx)("div",{className:"rb-dep-main",children:"SECOND"===e?(0,n.jsx)(j,{}):(0,n.jsx)(m,{})}),(0,n.jsx)("aside",{className:"rb-dep-sidebar","aria-label":"Deposit history",children:(0,n.jsx)(g,{})})]})})})})},28650:(e,l,a)=>{"use strict";a.d(l,{N:()=>o});var n=a(68691),s=a(20432),i=a(18543),r=a(59662);let t=(0,a(16657).Mz)([e=>e,(e,l)=>l,(e,l,a)=>a],(e,l,a)=>{var n;return{balanceData:null==e?void 0:e.result,isBalanceLoading:l,balanceError:a,lastActivityDate:null==e||null==(n=e.result)?void 0:n.lastActivityDate}}),d={current:void 0},o=e=>{var l;let{pollingInterval:a}=e,o=(0,r.d4)(e=>e.authentication.decodedToken),c=(0,r.wA)(),u=(0,s.K6)({memberCode:(null==o?void 0:o.memberCode)||""},{skip:!(null==o?void 0:o.memberCode),pollingInterval:a||void 0,selectFromResult:e=>{let{data:l,isLoading:a,error:n}=e;return t(l,a,n)}}),m=null==(l=(0,n.A)())?void 0:l.logout;(0,i.useEffect)(()=>{var e;if((null==u?void 0:u.balanceError)&&(null==u||null==(e=u.balanceError)?void 0:e.status)===403)try{c(s.Z4.util.resetApiState())}catch(e){console.error("Error resetting api state:",e)}finally{null==m||m()}},[null==u?void 0:u.balanceError]);let p=(0,i.useMemo)(()=>null==u?void 0:u.lastActivityDate,[null==u?void 0:u.lastActivityDate]);return(0,i.useEffect)(()=>{let e=d.current;null!=p&&null!=e&&p!==e&&(null==o?void 0:o.memberCode)&&c(s.Z4.util.invalidateTags(["OnBalanceChanges"])),null!=p&&(d.current=p)},[p,null==o?void 0:o.memberCode]),{balanceData:null==u?void 0:u.balanceData,isBalanceLoading:(null==u?void 0:u.isBalanceLoading)||!1,refetchBalance:null==u?void 0:u.refetch,lastActivityDate:p}}},41672:()=>{},84257:()=>{}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.