PageSourceSearch

https://dashboard.velocity.in/assets/index-rdkW98hm.js

js velocity.in collected 2026-10-01 11:32:57 UTC 4,122 bytes, 1 lines download raw bytes

1import{b as P,d1 as k,d as K,r as l,aB as T,j as e,c as E,ak as _,W as I,n as L,a4 as V,a1 as v,Y as h,a5 as W}from"./index-BYjmYzu-.js";import{D as R}from"./download_app_modal-BnXy4aeF.js";import{a as Y,c as B,b as G}from"./index-m16DZvkM.js";import{s as M}from"./utils-YKEFnWja.js";import"./modal_component-CgKrFsb7.js";import"./modal_header-su8lU-Gk.js";import"./index-BNQX9KrA.js";import"./DialogWrap-BcWh8mEF.js";import"./Portal-BnIU9h3K.js";import"./getScrollBarSize-BX5bDlpW.js";import"./useId-CCfbXMy0.js";import"./use_is_mobile-DqL4BDQM.js";const O=[{label:"One view for all payables",description:"Visual cash flow management systems allow you to see all your payables in one place, separated by due date and vendors"},{label:"Pay via Credit cards",description:"You can take advantage of your 45-day free credit cycle to make any business payments, or you can pay instantly through RTGS, NEFT, and IMPS."},{label:"Whatsapp and email-based invoice management",description:"Invoices can be added through multiple channels, including WhatsApp and email, and all of them appear in a single dashboard"}],F=[{description:"Click on the link below to get the app download link on Whatsapp"},{description:"Download the app and sign in using your phone number"},{description:"Complete your KYC on the app"},{description:"You are ready to use Velocity Pay"}],H=s=>s?O:F,U=s=>s?"An all-in-one payments solution that allows you to manage all your invoices and payables in one place.":"An all-in-one payments solution that allows you to manage all your invoices and payables in one place. Complete your KYC on our App and get started now!",q="_stepContainer_ywvlv_10",z="_step_ywvlv_10",J="_stepNumber_ywvlv_18",Q="_stepLabel_ywvlv_37",X="_stepDescription_ywvlv_53",Z="_heroImage_ywvlv_58",$="_getStartedButton_ywvlv_62",ee="_container_ywvlv_66",te="_headingPrefix_ywvlv_71",ne="_heading_ywvlv_71",ae="_description_ywvlv_81",se="_nonKycDescription_ywvlv_86",oe="_content_ywvlv_89",ie="_nonKycContent_ywvlv_92",t={stepContainer:q,step:z,stepNumber:J,stepLabel:Q,stepDescription:X,heroImage:Z,getStartedButton:$,container:ee,headingPrefix:te,heading:ne,description:ae,nonKycDescription:se,content:oe,nonKycContent:ie},fe=()=>{const s=P(),{mutate:i}=k(),{profile:c}=K(),{vaDetails:g,isLoading:w}=Y(),[f,p]=l.useState(!1),[b,d]=l.useState(!1),{applications:m}=c,n=m.some(a=>a.status==="active"),x=m.some(a=>a.application_type==="payments"),y=T(g)&&x;l.useEffect(()=>{y&&s("/payments/invoices?tab=pending")},[y]);const D=async()=>{const{ok:a}=await M();if(!a)return;if(V("App's download link has been sent to your Whatsapp.","Download link sent"),!n){p(!0);return}const{ok:o,data:r}=await B({company_uuid:c.company.uuid,full_name:c.full_name});if(!o){v((r==null?void 0:r.message)||"Error while creating account");return}d(!0);const{ok:u}=await G();d(!1),u||v("Application not created"),u&&await i(h.root.getProfile,i),await W(h.payments.getVaDetails,i),s("/payments/invoices?tab=pending")};if(w)return e.jsx(E,{});const j=H(n),C=U(n),N=n?"Velocity Pay":"Velocity Pay !",S=n?"Introducing":"Welcome To",A=n?"payments_get_started_kyc_1.png":"payments_get_started_non_kyc.png";return e.jsxs(e.Fragment,{children:[f&&e.jsx(R,{onClose:()=>p(!1)}),e.jsxs("div",{className:t.container,children:[e.jsxs("div",{className:_(t.content,n?void 0:t.nonKycContent),children:[e.jsx("div",{className:t.headingPrefix,children:S}),e.jsx("div",{className:t.heading,children:e.jsx("b",{children:N})}),e.jsx("div",{className:t.description,children:C}),e.jsx("div",{children:e.jsx("div",{className:t.stepContainer,children:j.map((a,o)=>e.jsxs("div",{className:t.step,children:[e.jsx("div",{className:t.stepNumber,children:e.jsxs("span",{children:["0",o+1]})}),e.jsxs("div",{className:t.stepLabel,children:[a.label,e.jsx("div",{className:_(t.stepDescription,n?void 0:t.nonKycDescription),children:a.description})]})]},o))})}),e.jsx("div",{children:e.jsx(I,{onClick:D,className:t.getStartedButton,loading:b,children:"Get Started"})})]}),e.jsx("div",{className:t.heroImage,children:e.jsx("img",{src:L(A),alt:"payments app"})})]})]})};export{fe as Component};

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.