PageSourceSearch

https://arabia365.com/assets/ZenpayCryptoSeamless-DYOR0_F4.js

js arabia365.com collected 2026-09-25 12:45:43 UTC 3,045 bytes, 1 lines download raw bytes

1import{e as o,cH as A,j as e}from"./index-ePwWFRi3.js";import{A as d,b as u}from"./agpayKeywordMapping-DFDetvEU.js";import{C as S}from"./copy_icon-Cuy11dc5.js";import{T as v}from"./TabPanel-Bk-AkiHp.js";/* empty css               */import{a as P}from"./___vite-browser-external_commonjs-proxy-DwoBiO5t.js";import{S as k}from"./Select-TBBud7HU.js";import{M as C}from"./MenuItem-2Pij2dXD.js";import"./Menu-DsTeI-26.js";import"./debounce-DtXjJkxj.js";import"./Grow-DKPC3MwN.js";import"./OutlinedInput-LZ_Jpgpq.js";import"./useFormControl-CPUvMcaJ.js";import"./useControlled-DDD53nha.js";import"./createSvgIcon-DkzKZIln.js";const J=o.forwardRef(({index:p,providersList:m,setOnlinePaymentOption:h,tabValue:f,copyText:a,depositPaymentMethodsInfo:y,langData:s},E)=>{const i=y[A.ZENPAY],[l,j]=o.useState([]),[c,x]=o.useState({}),[_,I]=o.useState(""),[n,N]=o.useState("");o.useEffect(()=>{(i==null?void 0:i.length)>0&&h(i[0])},[i]);const w=async()=>{var r;try{const t=await d.get(u("jpcseamless","currencies"),{headers:{Authorization:sessionStorage.getItem("jwt_token")}});t.status===200&&j((r=t==null?void 0:t.data)==null?void 0:r.crypto_currency)}catch(t){console.log(t)}};o.useEffect(()=>{w()},[]);const b=async()=>{var r;try{const t=await d.post(u("jpcseamless","yuri","user-wallet-details"),{crypto_currency:c==null?void 0:c.crypto_currency,network_id:c==null?void 0:c.network_id},{headers:{Authorization:sessionStorage.getItem("jwt_token")}});t.status===200&&N((r=t==null?void 0:t.data)==null?void 0:r.address)}catch(t){console.log(t)}};return o.useEffect(()=>{(l==null?void 0:l.length)>0&&b()},[c]),e.jsx(v,{value:f,index:p,className:"zenpay-ctn",children:(m==null?void 0:m.length)>0?e.jsxs(e.Fragment,{children:[e.jsxs("form",{className:"account-inputs",children:[e.jsxs("div",{className:"select-template",children:[e.jsx("div",{className:"st-label",children:s==null?void 0:s.select_currency}),e.jsx(k,{value:c,disabled:!!_,onChange:r=>x(r.target.value),className:"select-compo",MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},getContentAnchorEl:null},children:l.map(r=>e.jsx(C,{value:r,children:r.crypto_currency+" ("+r.blockchain+")"},r.crypto_currency))})]}),e.jsx("div",{className:"note-msg",children:"Note : Minimum deposit amount is 1000 INR or 12 USDT"})]}),n?e.jsx(e.Fragment,{children:e.jsx("div",{className:"account-inputs",children:e.jsx("div",{className:"amount-and-wallet",children:e.jsxs("div",{className:"display-amount wallet-address",children:[e.jsxs("div",{className:"wallet-address-label",children:[s==null?void 0:s.wallet_address," : "," ",e.jsx("button",{className:"r-copy-btn-div",onClick:()=>a(n,s==null?void 0:s.wallet_address_copied_txt),children:e.jsx("img",{src:S,className:"r-copy-btn",height:28})})]}),e.jsx("div",{style:{cursor:"pointer",fontSize:P?12:"medium"},className:"highlight-figure",onClick:()=>a(n,s==null?void 0:s.wallet_address_copied_txt),children:n})]})})})}):null]}):e.jsx("div",{className:"no-data-available",children:s==null?void 0:s.providers_not_found_txt})})});export{J as default};

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.