PageSourceSearch

https://app.we-link.ai/assets/signup-CVUX4f5-.js

js we-link.ai collected 2026-10-05 13:18:27 UTC 4,786 bytes, 2 lines download raw bytes

1import{r as i,j as e}from"./react-CIxK7Ytf.js";import{B as S}from"./index-Bn-TEejP.js";import{I as w}from"./InputField-C4t4hNYn.js";import{M as j}from"./Modal-Cd9X-Yuw.js";import{u as v}from"./useRecaptcha-DsJ5v33J.js";import{u as T}from"./usePageMeta-nAH9IqQU.js";import{A as I}from"./AuthFormLayout-KBHJL4rh.js";import{c as C,a as E}from"./yup-CaBDzsyo.js";import{a as N}from"./axios-upsvKRUO.js";import{Q as M,b as R}from"./@tanstack-Cwtxfz9U.js";import{F,a as z}from"./formik-nsBbo8Pf.js";import{R as P}from"./react-google-recaptcha-DKWM9NDA.js";import{u as _}from"./react-redux-Ba2zKi24.js";import{u as p}from"./sonner-DP2LCZdN.js";import{a as q,b as B}from"./react-router-h1mnqiX1.js";import"./classnames-BvecX-wu.js";import"./react-dom-hYMYhjpN.js";import"./scheduler-CzFDRTuY.js";import"./@reduxjs-CoJy1jWf.js";import"./redux-DITMfSWq.js";import"./immer-DqxjFn0G.js";import"./redux-thunk-ClJT1hhx.js";import"./date-fns-DlrUdYzn.js";import"./redux-persist-BwI-ocgj.js";import"./redux-persist-transform-encrypt-BxgxdjQf.js";import"./crypto-js-C4s5gQtU.js";import"./json-stringify-safe-Ceg3X2jo.js";import"./js-cookie-Cz0CWeBA.js";import"./jwt-decode-VWaDGczM.js";import"./clsx-B-dksMZM.js";import"./framer-motion-tyukSy1E.js";import"./motion-utils-C_SlKRoS.js";import"./motion-dom-DWDx2Ux7.js";import"./react-router-dom-DNuzzO-f.js";import"./@remix-run-Dpdp2-eB.js";import"./use-sync-external-store-CfBJO5CP.js";import"./Header-DZbOleOH.js";import"./Background-CndVfmM1.js";import"./property-expr-DEi1ZLzV.js";import"./tiny-case-BJ7jYKNY.js";import"./toposort-BfAdQVTN.js";import"./deepmerge-DhIoniG1.js";import"./lodash-es-dVqQl90_.js";import"./react-fast-compare-CZbOeUrI.js";import"./hoist-non-react-statics-B8GYo8kq.js";import"./react-is-8JwjhRSi.js";import"./prop-types-MGImeh4_.js";import"./react-async-script--I2rhmVa.js";const U=C({email:E().email("Invalid Email Id").trim().matches(/^[a-zA-Z0-9](?!.*?\.\.)[a-zA-Z0-9._%+-]*[a-zA-Z0-9]@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/,"Invalid Email Format")}),W="https://api.we-link.ai",O=new M;async function Z(a){try{return(await N.post(`${W}/onboarding/sign_up`,a,{headers:{"Content-Type":"application/json"}})).data}catch(r){throw r}}function $(){return typeof window>"u"?null:(window.dataLayer=window.dataLayer||[],window.dataLayer)}function H(a="email"){var r;(r=$())==null||r.push({event:"sign_up",method:a})}function We(){T("Log in or sign up | We-Link","Log in to your We-Link account, or sign up to start automating LinkedIn from your agent or app. Free trial: 100 API calls, no card required.");const a=q(),r="6Lf1_CUqAAAAAGHtvzisAkyBNOzJ-2sWHTO2sgrw",{capchaToken:u,recaptchaRef:l,handleRecaptcha:d}=v(),[h,g]=i.useState(!1),[f,s]=i.useState(!1),[y,x]=i.useState(""),k=B(),n=new URLSearchParams(k.search).get("ref"),{darkMode:m}=_(t=>t.darkMode),b=()=>new URL("/assets/terms-Ce8Af6Ju.html",import.meta.url).href,{mutate:A,isPending:c}=R({mutationFn:Z,onSuccess:()=>{H("email"),O.invalidateQueries({queryKey:["users"],refetchType:"none"}),p.success("OTP sent to your email successfully!"),a("/otp",{state:{email:y}})},onError:t=>{p.error(`${t.response.data.message}`)}});return e.jsxs(e.Fragment,{children:[e.jsx(I,{title:"Create your account",subtitle:"Start free with 100 calls, no card required.",darkModeImageName:"bg-signup-dark",lightModeImageName:"bg-signup",authBgTitle:`LinkedIn outreach, minus
2the busywork`,authBgSubtitle:"Search, connect and message at scale, without the manual grind",accountLinkLabel:"Already have an account?",accountLinkTitle:"Sign in to We-Link",children:e.jsx(F,{initialValues:{email:""},validationSchema:U,onSubmit:t=>{const o={...t,...n?{referrer:n}:{}};A(o),x(t.email)},children:({isValid:t,dirty:o})=>e.jsxs(z,{noValidate:!0,children:[e.jsx(w,{label:"Email ",name:"email",type:"email",required:!0}),e.jsx("div",{className:"mx-auto mb-4 min-h-20",children:e.jsx(P,{ref:l,sitekey:r,theme:m?"dark":"light",onCh
2ange:d},m?"dark":"light")}),e.jsxs("div",{className:"mb-4 flex items-center justify-start",children:[e.jsx("input",{type:"checkbox",onChange:L=>g(!!L.target.checked),className:"h-4 w-4 cursor-pointer rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:border-gray-500 dark:focus:ring-blue-400"}),e.jsxs("span",{className:"p-2 text-sm text-gray-600 dark:text-gray-300",children:["I agree to the We-Link"," ",e.jsx("a",{className:"cursor-pointer text-blue-600 transition duration-300 ease-in-out hover:text-blue-700",onClick:()=>s(!0),children:"Terms of Service"})]})]}),e.jsx(S,{buttonText:"Start connecting",type:"submit",loading:c,disabled:!t||!o||!h||!u||c})]})})}),f&&e.jsx(j,{onClose:()=>s(!1),title:"Service Agreement",iconName:"userSettings",children:e.jsx("iframe",{src:b(),className:"w-full dark:invert",style:{minHeight:"80vh"}})})]})}export{We 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.