PageSourceSearch

https://www.swell.is/_next/static/chunks/1141-feb2dca8c02de652.js

js swell.is collected 2026-10-02 03:40:42 UTC 8,605 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1141],{3293:(e,t,a)=>{a.d(t,{F:()=>l,io:()=>i,s_:()=>s});let l=[{value:"1k_to_5k",label:"$1,000 – $5,000"},{value:"5k_to_10k",label:"$5,000 – $10,000"},{value:"10k_to_20k",label:"$10,000 – $20,000"},{value:"20k_to_50k",label:"$20,000 – $50,000"},{value:"50k_to_100k",label:"$50,000 – $100,000"},{value:"100k_plus",label:"$100,000+"}];function n(e){let t="string"==typeof e&&e.match(/^(\d+)k/);return t?1e3*Number(t[1]):null}function s(e){let t=n(e);return null===t?null:"$".concat(t.toLocaleString("en-US"))}function i(e){let t=n(e);return null===t?null:"$".concat(t/1e3,"K")}},16258:(e,t,a)=>{a.d(t,{A:()=>u});var l=a(94513),n=a(94285),s=a(62955),i=a(23689),r=a(23727);function o(e){let{label:t,required:a,children:n}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsxs)("label",{className:"text-[14px] font-500 text-white",children:[t,a&&(0,l.jsx)("span",{className:"ml-1 text-[#D9503F]",children:"*"})]}),n]})}let c="w-full rounded-[8px] border border-[#2E2E2E] bg-[#1A1A1A] px-4 py-3 text-[14px] text-white placeholder:text-[#737373] outline-none focus:border-[#4B4B4B] transition-colors";function u(e){let{isOpen:t,onClose:a,partnerName:u}=e,d=r.env.NEXT_PUBLIC_HUBSPOT_PORTAL_ID||"6971921",m=r.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY,[h,p]=(0,n.useState)({firstname:"",lastname:"",email:"",phone:"",company:"",website:"",message:""}
1),[x,v]=(0,n.useState)(!1),[f,g]=(0,n.useState)(!1),[b,y]=(0,n.useState)(""),[w,j]=(0,n.useState)(!1),[k,N]=(0,n.useState)(null),_=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>"Escape"===e.key&&a();return document.addEventListener("keydown",e),document.body.style.overflow=t?"hidden":"",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[a,t]);let C=e=>{let{name:t,value:a}=e.target;p(e=>({...e,[t]:a}))},A=async e=>{if(e.preventDefault(),m&&!k)return void y("Please complete the reCAPTCHA.");if(!w)return void y("Please accept the terms to continue.");v(!0),y("");try{var t,a,l;let e=[{name:"firstname",value:h.firstname},{name:"lastname",value:h.lastname},{name:"email",value:h.email},{name:"phone",value:h.phone},{name:"company",value:h.company},{name:"website",value:h.website},{name:"message",value:h.message},{name:"form_submitted",value:u?"Contact ".concat(u):"Agency Match Request"}],n=await fetch("https://api.hsforms.com/submissions/v3/integration/submit/".concat(d,"/").concat("efba5b4c-f16a-4244-a3d7-e703c7c285df"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:e,context:{pageUri:window.location.href,pageName:document.title}})});if(n.ok)g(!0),null==(t=_.current)||t.reset(),N(null);else{let e=await n.json();y((null==(l=e.errors)||null==(a=l[0])?void 0:a.message)||"Something went wrong.")}}catch(e){y("Something went wrong. Please try again.")}finally{v(!1)}};return(0,l.jsxs)("div",{className:"fixed inset-0 z-[10000] flex items-center justify-center p-4 transition-opacity duration-150 ".concat(t?"opacity-100":"pointer-events-none opacity-0"),children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-black/70",onClick:a}),(0,l.jsxs)("div",{className:"relative max-h-[90vh] w-full max-w-[580px] overflow-y-auto rounded-[8px] border border-[#4B4B4B] bg-black p-6",children:[(0,l.jsx)("button",{onClick:a,className:"absolute right-6 top-6 flex h-6 w-6 items-center justify-center text-white opacity-60 transition-opacity hover:opacity-100","aria-label":"Close",children:(0,l.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:(0,l.jsx)("path",{d:"M1 1L11 11M11 1L1 11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),f?(0,l.jsxs)("div",{className:"flex flex-col gap-4 py-10 text-center",children:[(0,l.jsx)("p",{className:"text-[24px] font-500 text-white",children:"We'll be in touch!"}),(0,l.jsx)("p",{className:"text-[14px] text-[#737373]",children:"Our team will reach out to match you with the right partner shortly."}),(0,l.jsx)(i.A,{variant:"secondary",onClick:a,className:"mx-auto mt-4",children:"Close"})]}):(0,l.jsxs)("form",{onSubmit:A,className:"flex flex-col gap-5",children:[(0,l.jsx)("div",{className:"flex flex-col gap-3",children:(0,l.jsx)("h2",{className:"text-[34px] font-500 leading-tight text-white",children:u?"Contact ".concat(u):"Get matched with the right partner"})}),(0,l.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,l.jsx)(o,{label:"First name",required:!0,children:(0,l.jsx)("input",{type:"text",name:"firstname",value:h.firstname,onChange:C,required:!0,className:c,placeholder:"Your first name"})}),(0,l.jsx)(o,{label:"Last name",required:!0,children:(0,l.jsx)("input",{type:"text",name:"lastname",value:h.lastname,onChange:C,required:!0,className:c,placeholder:"Your last name"})})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,l.jsx)(o,{label:"Email",required:!0,children:(0,l.jsx)("input",{type:"email",name:"email",value:h.email,onChange:C,required:!0,className:c,placeholder:"Your email address"})}),(0,l.jsx)(o,{label:"Phone number",children:(0,l.jsx)("input",{type:"tel",name:"phone",value:h.phone,onChange:C,className:c,placeholder:"Your phone number"})})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,l.jsx)(o,{label:"Company",required:!0,children:(0,l.jsx)("input",{type:"text",name:"company",value:h.company,onChange:C,required:!0,className:c,placeholder:"Your company name"})}),(0,l.jsx)(o,{label:"Company website",children:(0,l.jsx)("input",{type:"text",name:"website",value:h.website,onChange:C,className:c,placeholder:"Your company website"})})]}),(0,l.jsx)(o,{label:"Comments",required:!0,children:(0,l.jsx)("textarea",{name:"message",value:h.message,onChange:C,required:!0,rows:5,className:"".concat(c," resize-none"),placeholder:"Additional details like what you need help with, expected timelines, preferred communication method, etc."})})]}),m&&(0,l.jsx)(s.A,{ref:_,sitekey:m,theme:"dark",onChange:e=>N(e),onExpired:()=>N(null)}),(0,l.jsxs)("label",{className:"flex cursor-pointer items-start gap-[10px]",children:[(0,l.jsxs)("div",{className:"relative mt-[2px] flex h-[18px] w-[18px] flex-shrink-0 items-center justify-center",children:[(0,l.jsx)("input",{type:"checkbox",checked:w,onChange:e=>j(e.target.checked),className:"absolute inset-0 h-full w-full cursor-pointer appearance-none rounded-[4px] border border-[#3A3A3A] bg-transparent checked:border-v5-blue checked:bg-v5-blue"}),w&&(0,l.jsx)("svg",{className:"pointer-events-none relative z-10",width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",children:(0,l.jsx)("path",{d:"M1 4L3.5 6.5L9 1",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,l.jsxs)("span",{className:"text-[14px] font-400 text-[#A3A3A3]",children:["I agree to the Swell"," ",(0,l.jsx)("a",{href:"/terms",className:"font-400 text-v5-purple hover:underline",children:"Terms of Service"})," ","and"," ",(0,l.jsx)("a",{href:"/privacy",className:"font-400 text-v5-purple hover:underline",children:"Privacy Policy"}),", and to Swell sharing my details with"," ",u?"this partner":"partners in its network"," so they can respond to my request."]})]}),b&&(0,l.jsx)("p",{className:"text-[12px] text-red-400",children:b}),(0,l.jsx)(i.A,{type:"submit",variant:"secondary",disabled:x,className:"mt-5 w-full disabled:opacity-50",children:x?"Submitting…":"Send message"})]})]})]})}},32896:(e,t,a)=>{a.d(t,{UM:()=>l,XZ:()=>i,d9:()=>n,t4:()=>s});let l=[{value:"northAmerica",title:"North America"},{value:"southAmerica",title:"South America"},{value:"americas",title:"Americas"},{value:"europe",title:"Europe"},{value:"asia",title:"Asia"},{value:"africa",title:"Africa"},{value:"oceania",title:"Oceania"},{value:"global",title:"Global"}],n=[{value:"web_design",title:"Web design"},{value:"web_development",title:"Web development"},{value:"full_service_agency",title:"Full service agency"},{value:"integration_solutions",title:"Integration solutions"},{value:"ecommerce_consultant",title:"Ecommerce consultant"},{value:"email_marketing",title:"Email marketing"},{value:"freelancer",title:"Freelancer"},{value:"seo",title:"SEO/SEM"},{value:"brand",title:"Brand"},{value:"digital",title:"Digital"},{value:"other",title:"Other"}],s=[{value:"partners",title:"Partners",active:!0},{value:"customers",title:"Customers"},{value:"product",title:"Product"},{value:"news",title:"News",active:!0},{value:"developers",title:"Developers",active:!0}],i=(e,t)=>t?e.reduce((e,a)=>(t[a.value]&&e.push(a.title),e),[]):[]}}]);

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.