PageSourceSearch

https://www.studyinbusan.com/assets/LeadForm-BAzeDck7.js

js studyinbusan.com collected 2026-10-09 22:03:25 UTC 2,570 bytes, 5 lines download raw bytes

1import{j as e,a as h}from"./index-Bs93fdv-.js";import{r as g}from"./vendor-react-Dtd81FAQ.js";import{I as d}from"./input-4YUanY95.js";import{u as i}from"./index-LMtcOaK8.js";import{S as x}from"./shield-CEJ5Ajpn.js";import"./vendor-router-CNUNTkSH.js";const L=({variant:s="inline",title:t,subtitle:n})=>{const[r,a]=g.useState({name:"",phone:"",studyLevel:""}),u=o=>{if(o.preventDefault(),!r.name.trim()||!r.phone.trim()||!r.studyLevel){i.error("Please fill in all fields");return}const c=`Hi! I'm interested in studying in Busan.
2
3*Name:* ${r.name}
4*Phone:* ${r.phone}
5*Study Level:* ${r.studyLevel}`,p=`https://wa.me/917825901901?text=${encodeURIComponent(c)}`;window.open(p,"_blank","noopener,noreferrer"),i.success("Redirecting you to WhatsApp!"),a({name:"",phone:"",studyLevel:""})},l=s==="hero",m=s==="section";return e.jsxs("div",{className:`${l?"bg-[rgba(255,255,255,0.95)] rounded-2xl p-6 md:p-8 shadow-card-hover":m?"bg-card rounded-2xl p-6 md:p-8 shadow-card border border-border":""}`,children:[t&&e.jsx("h3",{className:`font-bold mb-1 ${l?"text-xl text-foreground":"text-lg text-foreground"}`,children:t}),n&&e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:n}),e.jsxs("form",{onSubmit:u,className:"space-y-3",children:[e.jsx(d,{placeholder:"Your Name",value:r.name,onChange:o=>a({...r,name:o.target.value}),className:"h-11 bg-background border-border",maxLength:100}),e.jsx(d,{placeholder:"Phone Number",type:"tel",value:r.phone,onChange:o=>a({...r,phone:o.target.value}),className:"h-11 bg-background border-border",maxLength:20}),e.jsxs("select",{value:r.studyLevel,onChange:o=>a({...r,studyLevel:o.target.value}),className:"flex h-11 w-full rounded-md border border-border bg-background px-3 py-2 text-sm r
5ing-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-foreground","aria-label":"Study Level",children:[e.jsx("option",{value:"",disabled:!0,children:"Study Level"}),e.jsx("option",{value:"undergraduate",children:"Undergraduate"}),e.jsx("option",{value:"postgraduate",children:"Postgraduate"}),e.jsx("option",{value:"research",children:"Research / PhD"}),e.jsx("option",{value:"language",children:"Korean Language Course"})]}),e.jsx(h,{type:"submit",variant:"cta",size:"lg",className:"w-full",children:"Get Free Counselling"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 mt-3 text-xs text-muted-foreground",children:[e.jsx(x,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:"Your information is safe. No spam, ever."})]})]})};export{L 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.