{"version":3,"file":"ProjectEnquiry.DEMWltAe.mjs","names":["useRef","useState","_Fragment","__esmMin","ie","init_ssg_sandbox_shims","navigator","_e","de","l","p","init_jsx_runtime","init_npm_react_18_3_1","ce","motion","AnimatePresence","init_framer_motion_DhsWWWsN","useReducedMotion","addPropertyControls","init_framer_BEr93sCn","ControlType","Drawing","reduce","DRAWINGS","index","active","ProjectEnquiry","props","order","plansFirst","heading","formRef","fileInput","step","setStep","direction","setDirection","types","setTypes","route","setRoute","files","setFiles","brief","setBrief","extras","setExtras","dragging","setDragging","details","setDetails","busy","setBusy","recording","setRecording","transcribing","setTranscribing","error","setError","receipt","setReceipt","voice","setVoice","voiceURL","setVoiceURL","micSupported","setMicSupported","recorder","stream","recordTimer","mounted","sending","t","url","update","old","key","value","addFiles","next","f","incoming","ACCEPT","MAX_FILE","x","n","MAX_TOTAL","go","record","audioStream","rec","chunks","transcribe","transcriptionEndpoint","controller","timer","data","response","result","submit","event","endpoint","payload","k","v","titles","notes","finishLabels","hideIntro","row","line","word","wi","ci","char","TYPES","i","EXTRAS","label","target","init_ProjectEnquiry"],"sources":["https:/framerusercontent.com/modules/8g0FPBCYu9pF9hYfBdG0/QVy6vIMlfxwRB9Rwl0aJ/ProjectEnquiry.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useId,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence,useReducedMotion}from\"framer-motion\";const MAX_FILE=25*1024*1024,MAX_TOTAL=75*1024*1024;const ACCEPT=/\\.(pdf|png|jpe?g|webp|dwg|dxf|xlsx|docx)$/i;const TYPES=[\"New build\",\"Extension\",\"Renovation\",\"Loft conversion\",\"Period restoration\",\"Commercial space\",\"Something else\",\"Exploring ideas\"];const EXTRAS=[\"Air conditioning\",\"Ventilation\",\"Smart home features\",\"Swimming pool\",\"Landscaping\"];const DRAWINGS=[\"M8 38V22L24 8l16 14v16H8M19 38V25h10v13M12 20h24\",\"M5 38V15h22v23M27 24l16-7v21H5M11 22h9m-9 7h9m13-3h5\",\"M8 40V14h32v26H8M15 14V8h18v6M15 22h6v7h-6m12-7h6v7h-6M20 40v-6h8v6\",\"M5 30L24 8l19 22H5M13 30v10h22V30M19 24v-7h10v7M24 8v32\",\"M8 40V20h10V12l6-8 6 8v8h10v20H8M18 20h12M21 40V29h6v11M11 24h4m18 0h4\",\"M7 40V10h34v30H7M14 17h6m8 0h6m-20 8h6m8 0h6M14 40V32h20v8\",\"M9 38L33 14l5 5-24 24H9v-5M29 18l5 5M9 8v12m-6-6h12\",\"M15 31c-11-12-4-26 9-26s20 14 9 26l-3 4H18l-3-4M18 40h12M21 45h6M24 11v8m-7-5 4 7m10-7-4 7\"];function Drawing({index=0,active=false}){const reduce=useReducedMotion();return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 64 64\",width:\"64\",height:\"64\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsxs(\"g\",{transform:\"translate(8 8)\",children:[/*#__PURE__*/_jsx(motion.path,{d:DRAWINGS[index%8],stroke:\"currentColor\",strokeWidth:\".9\",strokeLinecap:\"square\",strokeLinejoin:\"miter\",initial:reduce?false:{pathLength:0,opacity:0},whileInView:{pathLength:1,opacity:active?1:.75},viewport:{once:true},transition:{duration:reduce?0:1.1,delay:index*.025}}),/*#__PURE__*/_jsx(\"path\",{d:\"M1 46H47M3 44v4m42-4v4\",stroke:\"currentColor\",strokeWidth:\".45\",opacity:\".35\"})]})});}function JourneyGraphic({step}){const reduce=useReducedMotion();return /*#__PURE__*/_jsxs(\"svg\",{width:\"112\",height:\"88\",viewBox:\"0 0 112 88\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(motion.circle,{cx:\"56\",cy:\"44\",r:\"36\",fill:\"#b7c6a0\",initial:false,animate:{opacity:.09+step*.025,scale:1+step*.025}}),/*#__PURE__*/_jsx(motion.path,{d:\"M17 70H95M28 70V35L56 13 84 35V70M22 39L56 12 90 39M45 70V46H65V70M34 40H42M71 40H78\",stroke:\"#d7b98c\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\",initial:reduce?false:{pathLength:0},whileInView:{pathLength:1},viewport:{once:true},transition:{duration:reduce?0:1.2}}),/*#__PURE__*/_jsx(motion.path,{d:\"M29 36L56 15 83 36V69H29Z\",fill:\"#b7c6a0\",initial:false,animate:{opacity:.05+step*.04}}),/*#__PURE__*/_jsx(motion.path,{d:\"M90 16v12m-6-6h12\",stroke:\"#b7c6a0\",initial:reduce?false:{opacity:0,rotate:-45},animate:{opacity:1,rotate:0},transition:{duration:.4}})]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 720\n */export default function ProjectEnquiry(props){const{endpoint=\"\",transcriptionEndpoint=\"\",plansFirst=false,hideIntro=false}=props;const order=plansFirst?[1,0,2,3,4]:[0,1,2,3,4];const uid=useId(),reduce=useReducedMotion(),heading=useRef(null),formRef=useRef(null),fileInput=useRef(null);const[step,setStep]=useState(plansFirst?1:0),[direction,setDirection]=useState(1),[types,setTypes]=useState([]),[route,setRoute]=useState(plansFirst?\"plans\":\"\");const[files,setFiles]=useState([]),[brief,setBrief]=useState(\"\"),[extras,setExtras]=useState([]),[dragging,setDragging]=useState(false);const[details,setDetails]=useState({region:\"\",location:\"\",finish:\"unsure\",timing:\"\",architect:false,name:\"\",email:\"\",phone:\"\",website:\"\"});const[busy,setBusy]=useState(false),[recording,setRecording]=useState(false),[transcribing,setTranscribing]=useState(false),[error,setError]=useState(\"\"),[receipt,setReceipt]=useState(\"\");const[voice,setVoice]=useState(null),[voiceURL,setVoiceURL]=useState(\"\"),[micSupported,setMicSupported]=useState(false);const recorder=useRef(null),stream=useRef(null),recordTimer=useRef(null),mounted=useRef(true),sending=useRef(false);useEffect(()=>{mounted.current=true;setMicSupported(typeof MediaRecorder!==\"undefined\"&&!!navigator.mediaDevices?.getUserMedia);return()=>{mounted.current=false;if(recordTimer.current)clearTimeout(recordTimer.current);if(recorder.current?.state===\"recording\")recorder.current.stop();stream.current?.getTracks().forEach(t=>t.stop());};},[]);useEffect(()=>{if(!voice){setVoiceURL(\"\");return;}const url=URL.createObjectURL(voice);setVoiceURL(url);return()=>URL.revokeObjectURL(url);},[voice]);function update(key,value){setDetails(old=>({...old,[key]:value}));}function addFiles(incoming){setError(\"\");const next=[...files];for(const f of incoming){if(!ACCEPT.test(f.name)){setError(\"Please choose PDF, image, drawing, Word or Excel files.\");return;}if(!f.size||f.size>MAX_FILE){setError(\"Each file must be between 1 byte and 25 MB.\");return;}if(!next.some(x=>x.name===f.name&&x.size===f.size&&x.lastModified===f.lastModified))next.push(f);}if(next.length>10||next.reduce((n,f)=>n+f.size,0)>MAX_TOTAL){setError(\"Please keep this to 10 files and 75 MB in total. We can arrange a transfer for larger sets.\");return;}setFiles(next);}function go(next){if(busy||recording||transcribing)return;if(order.indexOf(next)>order.indexOf(step)){if(step===0&&!types.length){setError(\"Choose the kind of project you have in mind. Exploring ideas is fine too.\");return;}if(step===1&&(!route||route===\"plans\"&&!files.length)){setError(\"Add your plans or choose ‘Not yet’ to continue without them.\");return;}if(!formRef.current?.reportValidity())return;}setError(\"\");setDirection(order.indexOf(next)>order.indexOf(step)?1:-1);setStep(next);requestAnimationFrame(()=>{heading.current?.focus({preventScroll:true});if(heading.current&&heading.current.getBoundingClientRect().top<80)heading.current.scrollIntoView({block:\"center\",behavior:reduce?\"auto\":\"smooth\"});});}async function record(){if(recording){recorder.current?.stop();return;}setError(\"\");try{const audioStream=await navigator.mediaDevices.getUserMedia({audio:true});if(!mounted.current){audioStream.getTracks().forEach(t=>t.stop());return;}stream.current=audioStream;const rec=new MediaRecorder(audioStream);recorder.current=rec;const chunks=[];rec.ondataavailable=e=>{if(e.data.size)chunks.push(e.data);};rec.onstop=()=>{audioStream.getTracks().forEach(t=>t.stop());if(recordTimer.current)clearTimeout(recordTimer.current);if(!mounted.current)return;setRecording(false);setVoice(new Blob(chunks,{type:rec.mimeType||\"audio/webm\"}));};rec.start();setRecording(true);recordTimer.current=setTimeout(()=>{if(rec.state===\"recording\")rec.stop();},12e4);}catch{stream.current?.getTracks().forEach(t=>t.stop());setError(\"Microphone access is unavailable. You can type your brief instead.\");}}async function transcribe(){if(!voice)return;if(!transcriptionEndpoint){setError(\"Voice recording works in this preview. Transcription will be available when the service is connected; nothing has been sent.\");return;}setTranscribing(true);setError(\"\");const controller=new AbortController;const timer=setTimeout(()=>controller.abort(),45e3);try{const data=new FormData;data.append(\"audio\",voice,voice.type.includes(\"mp4\")?\"brief.m4a\":\"brief.webm\");const response=await fetch(transcriptionEndpoint,{method:\"POST\",body:data,signal:controller.signal});if(!response.ok)throw new Error;const result=await response.json();if(typeof result.text!==\"string\"||!result.text.trim())throw new Error;setBrief(old=>[old.trim(),result.text.trim()].filter(Boolean).join(\"\\n\\n\").slice(0,12e3));}catch{setError(\"We could not transcribe this recording. Your recording is still here. Please retry or type your brief.\");}finally{clearTimeout(timer);setTranscribing(false);}}async function submit(event){event.preventDefault();if(step<4){go(order[order.indexOf(step)+1]);return;}if(sending.current||busy||recording||transcribing)return;setError(\"\");if(!types.length||!route||!details.region||!details.location.trim()||!details.name.trim()||!details.email.trim()||route===\"plans\"&&!files.length){setError(\"Please check your project details before sending.\");return;}if(!endpoint){setError(\"This preview is not connected for submissions. Nothing has been sent.\");return;}const payload=new FormData;Object.entries(details).forEach(([k,v])=>{if(k!==\"architect\")payload.set(k,String(v));});if(details.architect)payload.set(\"architect\",\"requested\");payload.set(\"route\",route);payload.set(\"brief\",[\"Project: \"+types.join(\", \"),brief,extras.length?\"Optional extras to discuss: \"+extras.join(\", \"):\"\"].filter(Boolean).join(\"\\n\\n\"));if(route===\"plans\")files.forEach(f=>payload.append(\"plans\",f));sending.current=true;setBusy(true);const controller=new AbortController,timer=setTimeout(()=>controller.abort(),12e4);try{const response=await fetch(endpoint,{method:\"POST\",body:payload,signal:controller.signal});if(!response.ok)throw new Error;const result=await response.json();if(!result.reference)throw new Error;setReceipt(result.reference);}catch{setError(\"We could not confirm your submission. Your details are still here. Please retry or call 023 9422 7447.\");}finally{clearTimeout(timer);sending.current=false;setBusy(false);}}const titles=[\"Which best describes your project?\",plansFirst?\"Send us your plans.\":\"Do you have plans?\",\"Tell us a little more.\",\"Where can we reach you?\",\"Your project, at a glance.\"];const notes=[\"Select all that apply.\",\"Drawings are helpful. They are not a requirement to start.\",\"A few details help us understand the next step.\",\"So the right person from our team can get back to you.\",\"Take a moment to check your brief before sending it to our team.\"];const finishLabels={unsure:\"Not sure yet\",standard:\"High quality, standard finish\",high:\"High specification\",bespoke:\"Bespoke materials and finishes\"};return /*#__PURE__*/_jsxs(\"section\",{className:\"hx-journey\",style:{...props.style,position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n .hx-journey{--cream:#ECE7E0;--muted:#bdb4aa;--hair:rgba(236,231,224,.2);color:var(--cream);font-family:Inter,Arial,sans-serif}.hx-journey *{box-sizing:border-box}.hx-journey p{margin:0}.hx-journey button,.hx-journey input,.hx-journey select,.hx-journey textarea{font:inherit}.hx-journey button{cursor:pointer;color:inherit}.hx-journey button:disabled{opacity:.5;cursor:wait}.hx-journey :focus-visible{outline:2px solid #cab89c;outline-offset:5px}.hx-journey .layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,5vw,90px);align-items:start}.hx-journey .kicker{font-size:10px;letter-spacing:.23em;text-transform:uppercase;color:#b6a38b}.hx-journey .intro h2{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:clamp(34px,3.4vw,52px);line-height:1.15;margin:22px 0 28px}.hx-journey em{font-weight:400}.hx-journey .intro>p:not(.kicker){font-size:15px;color:var(--muted);line-height:1.8;max-width:370px}.hx-journey .promise{border-top:1px solid var(--hair);margin-top:36px;padding-top:23px;max-width:370px;font-size:12px;line-height:1.9;color:var(--muted)}.hx-journey .panel{border:1px solid var(--hair);border-radius:18px;background:linear-gradient(145deg,#211e19,#181613);padding:clamp(22px,3vw,42px);min-width:0;overflow:hidden}.hx-journey .topline{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}.hx-journey .track{height:3px;background:#37312a;margin:15px 0 30px;border-radius:4px;overflow:hidden}.hx-journey .track>div{height:100%;background:#c1ad91}.hx-journey h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(25px,2.5vw,34px);line-height:1.2;font-weight:400;margin:0 0 12px;outline:none}.hx-journey .note{font-size:12px;line-height:1.7;color:var(--muted)}.hx-journey .choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:27px}.hx-journey .choice{display:flex;text-align:left;align-items:center;gap:16px;border:1px solid var(--hair);border-radius:10px;background:transparent;padding:17px 14px;min-height:90px;position:relative;font-size:13px;line-height:1.4;transition:background .18s,border-color .18s}.hx-journey .choice svg{flex-shrink:0;color:#b8a48a}.hx-journey .choice:hover{background:rgba(236,231,224,.04);border-color:#8d7c66}.hx-journey .choice[aria-pressed=true]{background:#332d24;border-color:#c1ad91}.hx-journey .tick{position:absolute;right:9px;top:7px;color:#d3c1a5;font-size:12px}.hx-journey .fields{display:grid;gap:20px;margin-top:26px}.hx-journey .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hx-journey label{display:grid;gap:9px;font-size:12px;color:var(--muted)}.hx-journey input:not([type=checkbox]),.hx-journey select,.hx-journey textarea{width:100%;min-height:48px;background:#141210;border:1px solid var(--hair);border-radius:7px;color:var(--cream);padding:12px 13px;font-size:16px}.hx-journey textarea{min-height:110px;resize:vertical;line-height:1.6}.hx-journey input::placeholder,.hx-journey textarea::placeholder{color:#9c948a}.hx-journey select option{background:#141210}.hx-journey .drop{display:grid;gap:14px;place-items:center;text-align:center;width:100%;min-height:165px;border:1px dashed #8d7c66;background:#1b1814;border-radius:10px;color:var(--cream);padding:24px;margin-top:22px}.hx-journey .drop[data-drag=true]{background:#332d24;border-style:solid}.hx-journey .files{padding:0;list-style:none}.hx-journey .files li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--hair);font-size:12px}.hx-journey .files li span{flex:1;overflow-wrap:anywhere}.hx-journey .files button,.hx-journey .back,.hx-journey .edit{border:0;background:none;padding:12px 0;font-size:12px}.hx-journey .files button{padding:12px}.hx-journey .footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--hair);padding-top:24px;margin-top:30px}.hx-journey .next{display:flex;gap:30px;align-items:center;justify-content:space-between;background:var(--cream);color:#141210;border:0;border-radius:99px;padding:16px 23px;font-size:12px;min-height:48px;margin-left:auto}.hx-journey .extras{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.hx-journey .chip{min-height:44px;padding:10px 13px;border:1px solid var(--hair);border-radius:99px;background:transparent;font-size:11px}.hx-journey .chip[aria-pressed=true]{background:var(--cream);color:#141210}.hx-journey details{margin-top:22px}.hx-journey summary{cursor:pointer;font-size:12px;padding:12px 0;color:var(--cream)}.hx-journey .review{margin:24px 0 0;display:grid;gap:0}.hx-journey .review>div{border-bottom:1px solid var(--hair);padding:17px 0;display:grid;grid-template-columns:1fr auto;gap:6px 20px}.hx-journey dt{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.hx-journey dd{margin:0;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.hx-journey .edit{grid-row:1/3;grid-column:2;text-decoration:underline;text-underline-offset:5px}.hx-journey .error{font-size:13px;line-height:1.6;margin-top:20px;color:#e5cbb2}.hx-journey .check{display:block;margin:0 0 24px;color:#c1ad91}.hx-journey .success p{margin:16px 0;line-height:1.7}.hx-journey .choice:active,.hx-journey .next:active{transform:translateY(1px)}\n @media(max-width:809px){.hx-journey .layout{grid-template-columns:1fr;gap:28px}.hx-journey .promise{display:none}.hx-journey .intro h2{font-size:36px}.hx-journey .choice{padding:14px 10px;gap:9px;font-size:12px;min-height:90px}.hx-journey .choice svg{width:32px;height:32px}.hx-journey .row{grid-template-columns:1fr}.hx-journey .panel{padding:24px 18px}.hx-journey .intro>p:not(.kicker){max-width:none}}\n\n\n .hx-journey .layout{display:block;max-width:1000px;margin:auto}.hx-journey .intro{text-align:center;max-width:660px;margin:0 auto 76px}.hx-journey .intro h2{font-size:clamp(46px,5.4vw,76px);line-height:1.08;letter-spacing:-.035em;margin:24px 0 28px}.hx-journey .intro>p:not(.kicker){max-width:440px;margin:auto;font-size:15px;line-height:1.8}.hx-journey .promise{border:0;margin:22px auto 0;padding:0;max-width:420px;font-size:12px;line-height:1.8;color:#99948c}.hx-journey strong{font-weight:650;color:#e5dfd5}.hx-journey .panel{background:none;border:0;border-top:1px solid #ece7e026;border-radius:0;padding:24px 0 0;overflow:visible}.hx-journey .topline{font-size:9px;letter-spacing:.2em;color:#a69a89}.hx-journey .track{height:1px;border-radius:0;background:#ece7e017;margin:20px 0 54px}.hx-journey .track>div{background:#b8a88f;border-radius:0;box-shadow:none}.hx-journey .question{display:block;text-align:center;max-width:760px;margin:0 auto 40px}.hx-journey h3{font-size:clamp(25px,2.4vw,32px);line-height:1.3;letter-spacing:-.015em}.hx-journey .note{font-size:12px;color:#a7a199}.hx-journey .stage{min-height:380px;max-width:800px;margin:auto;padding-bottom:30px}.hx-journey .choices{column-gap:48px;row-gap:0;margin-top:0}.hx-journey .choice{border:0;border-bottom:1px solid #ece7e024;background:none;min-height:106px;padding:18px 12px 18px 0;border-radius:0;gap:22px;transition:background .15s,border-color .15s}.hx-journey .choice b{display:block;font-size:16px;font-weight:400;letter-spacing:.005em}.hx-journey .choice small{display:block;color:#958f86;font-size:11px;line-height:1.6;margin-top:6px}.hx-journey .choice:hover{background:#ece7e005;border-color:#a9987e;box-shadow:none}.hx-journey .choice[aria-pressed=true]{background:#ece7e009;border-color:#c4b59e}.hx-journey .choice svg{color:#b8a990;width:64px;height:64px}.hx-journey .tick{color:#ddd3c2;right:9px;top:22px;font-size:11px}.hx-journey .footer{background:none;border-top:1px solid #ece7e026;margin:18px 0 0;padding:26px 0 12px;border-radius:0;position:relative;gap:24px}.hx-journey .next{background:#e6e0d6;border-radius:0;color:#181612;font-weight:500;font-size:11px;letter-spacing:.09em;min-width:176px;border:1px solid #e6e0d6;padding:17px 24px;transition:background .15s,color .15s}.hx-journey .next:disabled{opacity:1;background:transparent;color:#746f66;border-color:#ece7e024;cursor:not-allowed}.hx-journey .next:not(:disabled):hover{background:#f3eee6}.hx-journey .success{padding-bottom:40px;text-align:center}.hx-journey .success .check{margin:20px auto}.hx-journey .fields{max-width:560px;margin:20px auto}.hx-journey .drop{border-color:#817566;background:transparent;border-radius:0}.hx-journey input:not([type=checkbox]),.hx-journey select,.hx-journey textarea{border-radius:0;background:#ece7e004}.hx-journey .error{max-width:800px;margin:0 auto 20px}.hx-journey .review{max-width:620px;margin:24px auto}.hx-journey .chip{border-radius:2px}.hx-journey .back{letter-spacing:.04em}\n @media(max-width:809px){.hx-journey .intro{margin-bottom:44px}.hx-journey .intro h2{font-size:48px}.hx-journey .promise{display:block;font-size:11px}.hx-journey .panel{padding:22px 0 0;border-radius:0}.hx-journey .question{margin-bottom:24px}.hx-journey h3{font-size:26px}.hx-journey .choices{grid-template-columns:1fr;gap:0}.hx-journey .choice{min-height:92px;padding:14px 10px 14px 0;gap:20px}.hx-journey .choice svg{width:56px;height:56px}.hx-journey .stage{min-height:280px}.hx-journey .footer{margin:14px 0 0;padding:22px 0 16px;gap:10px}.hx-journey .next{min-width:150px}.hx-journey .track{margin-bottom:34px}.hx-journey .footer>.note{font-size:10px;max-width:110px}}\n @media(prefers-reduced-motion:reduce){.hx-journey *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}\n @media(max-width:809px){.hx-journey h2{font-size:34px!important;line-height:1.2!important}.hx-journey h3{font-size:24px!important}}\n `}),/*#__PURE__*/_jsxs(\"div\",{className:\"layout\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"intro\",style:hideIntro?{display:\"none\"}:undefined,children:[/*#__PURE__*/_jsx(\"p\",{className:\"kicker\",children:\"Your next project\"}),/*#__PURE__*/_jsx(\"h2\",{\"aria-label\":\"What are you imagining?\",children:[\"What are you\",\"imagining?\"].map((line,row)=>/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontStyle:row?\"italic\":\"normal\"},\"aria-hidden\":\"true\",children:line.split(\" \").map((word,wi)=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-block\",whiteSpace:\"nowrap\"},children:[Array.from(word).map((char,ci)=>/*#__PURE__*/_jsx(motion.span,{style:{display:\"inline-block\",padding:\"0 .12em .22em\",margin:\"0 -.12em -.22em\",overflow:\"visible\"},initial:reduce?false:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:true,amount:.5},transition:{duration:1.1,delay:reduce?0:Math.min((row*12+wi*5+ci)*.018,.45),ease:[.16,1,.3,1]},children:char},ci)),wi<line.split(\" \").length-1?\"\\xa0\":\"\"]},wi))},line))}),/*#__PURE__*/_jsx(\"p\",{children:\"Share your plans, or tell us what you would like to create. We’ll help you understand what comes next.\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"promise\",children:[\"Our commercial team aims to return an itemised estimate within \",/*#__PURE__*/_jsx(\"strong\",{children:\"48 hours\"}),\" of receiving a complete brief.\"]})]}),receipt?/*#__PURE__*/_jsxs(\"div\",{className:\"panel success\",role:\"status\",children:[/*#__PURE__*/_jsxs(\"svg\",{className:\"check\",width:\"60\",height:\"60\",viewBox:\"0 0 60 60\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"30\",cy:\"30\",r:\"27\",stroke:\"currentColor\"}),/*#__PURE__*/_jsx(motion.path,{d:\"M17 30l9 9 18-20\",stroke:\"currentColor\",strokeWidth:\"1.5\",initial:{pathLength:reduce?1:0},animate:{pathLength:1}})]}),/*#__PURE__*/_jsx(\"h3\",{children:\"A good place to begin.\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Thank you. Your brief is with our team. We’ll review the details and be in touch to talk through the next step.\"}),/*#__PURE__*/_jsxs(\"p\",{className:\"note\",children:[\"Reference: \",receipt]})]}):/*#__PURE__*/_jsxs(\"form\",{ref:formRef,onSubmit:submit,className:\"panel\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"topline\",children:[/*#__PURE__*/_jsx(\"span\",{children:[\"The idea\",\"Your plans\",\"The details\",\"About you\",\"Ready to send\"][step]}),/*#__PURE__*/_jsxs(\"span\",{children:[\"0\",order.indexOf(step)+1,\" / 05\"]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"track\",role:\"progressbar\",\"aria-label\":\"Enquiry progress\",\"aria-valuemin\":1,\"aria-valuemax\":5,\"aria-valuenow\":order.indexOf(step)+1,children:/*#__PURE__*/_jsx(motion.div,{initial:false,animate:{width:`${(order.indexOf(step)+1)*20}%`},transition:{duration:reduce?0:.3}})}),/*#__PURE__*/_jsx(\"div\",{className:\"question\",children:/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h3\",{ref:heading,tabIndex:-1,children:titles[step]}),/*#__PURE__*/_jsx(\"p\",{className:\"note\",children:notes[step]})]})}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,mode:\"wait\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"stage\",initial:reduce?false:{opacity:0,x:direction*18},animate:{opacity:1,x:0},exit:reduce?{opacity:1}:{opacity:0,x:direction*-10},transition:{duration:reduce?0:.22,ease:[.16,1,.3,1]},children:[step===0&&/*#__PURE__*/_jsx(\"div\",{className:\"choices\",children:TYPES.map((t,i)=>/*#__PURE__*/_jsxs(motion.button,{type:\"button\",className:\"choice\",\"aria-pressed\":types.includes(t),initial:reduce?false:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.25,delay:reduce?0:i*.035},whileTap:reduce?{}:{scale:.985},onClick:()=>{setTypes(old=>old.includes(t)?old.filter(x=>x!==t):[...old,t]);setError(\"\");},children:[/*#__PURE__*/_jsx(Drawing,{index:i,active:types.includes(t)}),/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(\"b\",{children:t}),/*#__PURE__*/_jsx(\"small\",{children:[\"A new property\",\"Additional space\",\"An existing property\",\"Space within your roof\",\"Historic and listed buildings\",\"Hospitality, retail or workspace\",\"A different kind of project\",\"Advice on where to begin\"][i]})]}),types.includes(t)&&/*#__PURE__*/_jsx(motion.span,{className:\"tick\",initial:reduce?false:{scale:.6},animate:{scale:1},children:\"✓\"})]},t))}),step===1&&/*#__PURE__*/_jsxs(_Fragment,{children:[!plansFirst&&/*#__PURE__*/_jsxs(\"div\",{className:\"choices\",children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"choice\",\"aria-pressed\":route===\"plans\",onClick:()=>{setRoute(\"plans\");setError(\"\");},children:[/*#__PURE__*/_jsx(Drawing,{index:6}),/*#__PURE__*/_jsx(\"span\",{children:\"Yes, I have plans\"})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"choice\",\"aria-pressed\":route===\"idea\",onClick:()=>{setRoute(\"idea\");setError(\"\");},children:[/*#__PURE__*/_jsx(Drawing,{index:7}),/*#__PURE__*/_jsx(\"span\",{children:\"Not yet\"})]})]}),route===\"plans\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"input\",{ref:fileInput,type:\"file\",multiple:true,accept:\".pdf,.png,.jpg,.jpeg,.webp,.dwg,.dxf,.xlsx,.docx\",\"aria-label\":\"Choose your plans\",style:{display:\"none\"},onChange:e=>{addFiles(Array.from(e.target.files||[]));e.target.value=\"\";}}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"drop\",\"data-drag\":dragging,onClick:()=>fileInput.current?.click(),onDragOver:e=>{e.preventDefault();setDragging(true);},onDragLeave:()=>setDragging(false),onDrop:e=>{e.preventDefault();setDragging(false);addFiles(Array.from(e.dataTransfer.files));},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:26},children:\"↑\"}),/*#__PURE__*/_jsx(\"span\",{children:files.length?`${files.length} file${files.length===1?\"\":\"s\"} selected`:\"Drop your plans here, or choose files\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"note\",children:[\"PDF, drawings, images and schedules\",/*#__PURE__*/_jsx(\"br\",{}),\"Up to 25 MB each \\xb7 10 files \\xb7 75 MB total\"]})]}),/*#__PURE__*/_jsx(\"ul\",{className:\"files\",children:files.map((f,i)=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"span\",{children:f.name}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Remove \"+f.name,onClick:()=>setFiles(old=>old.filter((_,n)=>n!==i)),children:\"\\xd7\"})]},f.name+f.size+f.lastModified))}),/*#__PURE__*/_jsx(\"p\",{className:\"note\",children:\"Files stay on your device until you send your brief.\"})]}),plansFirst&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"back\",style:{marginTop:20},onClick:()=>{setRoute(route===\"plans\"?\"idea\":\"plans\");setError(\"\");},children:route===\"plans\"?\"No plans yet? Start with your idea\":\"I have plans to add\"}),route===\"idea\"&&/*#__PURE__*/_jsxs(\"div\",{className:\"fields\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"note\",children:\"There is plenty we can talk through before drawings. Tell us where you are starting from.\"}),/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"center\",gap:12},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:details.architect,onChange:e=>update(\"architect\",e.target.checked)}),\"I’d like help finding an architect.\"]})]})]}),step===2&&/*#__PURE__*/_jsxs(\"div\",{className:\"fields\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"row\",children:[/*#__PURE__*/_jsxs(\"label\",{children:[\"Project location\",/*#__PURE__*/_jsxs(\"select\",{value:details.region,required:true,onChange:e=>update(\"region\",e.target.value),children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Choose a region\"}),/*#__PURE__*/_jsx(\"option\",{value:\"south-coast\",children:\"Hampshire / South Coast\"}),/*#__PURE__*/_jsx(\"option\",{value:\"uk\",children:\"Elsewhere in the UK\"}),/*#__PURE__*/_jsx(\"option\",{value:\"guernsey\",children:\"Guernsey\"}),/*#__PURE__*/_jsx(\"option\",{value:\"other\",children:\"Elsewhere\"})]})]}),/*#__PURE__*/_jsxs(\"label\",{children:[\"Town or postcode\",/*#__PURE__*/_jsx(\"input\",{value:details.location,onChange:e=>update(\"location\",e.target.value),required:true,maxLength:180,autoComplete:\"postal-code\",placeholder:\"Where is the project?\"})]})]}),/*#__PURE__*/_jsxs(\"label\",{children:[\"Tell us a little about it (optional)\",/*#__PURE__*/_jsx(\"textarea\",{value:brief,onChange:e=>setBrief(e.target.value),maxLength:11e3,placeholder:\"What would you like to change? What matters most to you?\"})]}),/*#__PURE__*/_jsxs(\"details\",{children:[/*#__PURE__*/_jsx(\"summary\",{children:\"Finishes, timing and extras (optional)\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"fields\",children:[/*#__PURE__*/_jsxs(\"label\",{children:[\"Finish level\",/*#__PURE__*/_jsx(\"select\",{value:details.finish,onChange:e=>update(\"finish\",e.target.value),children:Object.entries(finishLabels).map(([k,v])=>/*#__PURE__*/_jsx(\"option\",{value:k,children:String(v)},k))})]}),/*#__PURE__*/_jsxs(\"label\",{children:[\"When would you like to start?\",/*#__PURE__*/_jsx(\"input\",{value:details.timing,onChange:e=>update(\"timing\",e.target.value),maxLength:180,placeholder:\"A date, or just exploring\"})]})]}),/*#__PURE__*/_jsx(\"p\",{className:\"note\",style:{marginTop:20},children:\"Anything else to include that is not already in your plans?\"}),/*#__PURE__*/_jsx(\"div\",{className:\"extras\",children:EXTRAS.map(x=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"chip\",\"aria-pressed\":extras.includes(x),onClick:()=>setExtras(old=>old.includes(x)?old.filter(v=>v!==x):[...old,x]),children:[extras.includes(x)?\"✓\":\"+\",\" \",x]},x))})]}),micSupported&&/*#__PURE__*/_jsxs(\"details\",{children:[/*#__PURE__*/_jsx(\"summary\",{children:\"Prefer to talk? Record a note\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"chip\",onClick:record,disabled:transcribing||busy,children:recording?\"Stop recording\":\"Record your idea\"}),/*#__PURE__*/_jsx(\"p\",{className:\"note\",style:{marginTop:12},children:recording?\"Recording, up to two minutes.\":\"Transcribe with our AI service, then check the text before sending.\"}),voiceURL&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gap:12,marginTop:14},children:[/*#__PURE__*/_jsx(\"audio\",{controls:true,src:voiceURL,style:{width:\"100%\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"chip\",disabled:transcribing||recording,onClick:transcribe,children:transcribing?\"Transcribing…\":\"Transcribe recording\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"back\",disabled:transcribing||recording,onClick:()=>setVoice(null),children:\"Discard recording\"})]})]})]}),step===3&&/*#__PURE__*/_jsxs(\"div\",{className:\"fields\",children:[/*#__PURE__*/_jsxs(\"label\",{children:[\"Your name\",/*#__PURE__*/_jsx(\"input\",{value:details.name,required:true,autoComplete:\"name\",maxLength:120,onChange:e=>update(\"name\",e.target.value)})]}),/*#__PURE__*/_jsxs(\"label\",{children:[\"Email address\",/*#__PURE__*/_jsx(\"input\",{value:details.email,required:true,type:\"email\",autoComplete:\"email\",maxLength:254,onChange:e=>update(\"email\",e.target.value)})]}),/*#__PURE__*/_jsxs(\"label\",{children:[\"Phone number (optional)\",/*#__PURE__*/_jsx(\"input\",{value:details.phone,type:\"tel\",autoComplete:\"tel\",maxLength:50,onChange:e=>update(\"phone\",e.target.value)})]}),/*#__PURE__*/_jsx(\"p\",{className:\"note\",children:\"We’ll use these details to respond to your project enquiry.\"})]}),step===4&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"dl\",{className:\"review\",children:[[\"Your project\",types.join(\", \"),0],[\"Plans\",route===\"plans\"?files.map(f=>f.name).join(\"\\n\"):\"No plans yet\"+(details.architect?\" \\xb7 Architect introduction requested\":\"\"),1],[\"Location\",details.location,2],[\"Brief\",[brief,details.finish!==\"unsure\"?finishLabels[details.finish]:\"\",details.timing,extras.join(\", \")].filter(Boolean).join(\"\\n\")||\"We’ll talk through the details together.\",2],[\"Your details\",[details.name,details.email,details.phone].filter(Boolean).join(\"\\n\"),3]].map(([label,value,target])=>/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"dt\",{children:label}),/*#__PURE__*/_jsx(\"dd\",{children:value}),/*#__PURE__*/_jsx(\"button\",{className:\"edit\",type:\"button\",onClick:()=>go(Number(target)),\"aria-label\":\"Edit \"+label,children:\"Edit\"})]},String(label)))}),/*#__PURE__*/_jsxs(\"p\",{className:\"note\",style:{marginTop:22},children:[\"Only send drawings and files you have permission to share. \",/*#__PURE__*/_jsx(\"a\",{href:\"/privacy-policy\",style:{color:\"inherit\",textUnderlineOffset:4},children:\"Privacy policy\"}),\".\"]})]})]},step)}),/*#__PURE__*/_jsx(\"input\",{name:\"website\",value:details.website,onChange:e=>update(\"website\",e.target.value),tabIndex:-1,autoComplete:\"off\",\"aria-hidden\":\"true\",style:{position:\"absolute\",left:-1e4,width:1,height:1}}),error&&/*#__PURE__*/_jsx(\"p\",{className:\"error\",role:\"alert\",children:error}),/*#__PURE__*/_jsxs(\"div\",{className:\"footer\",children:[order.indexOf(step)>0?/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"back\",disabled:busy||recording||transcribing,onClick:()=>go(order[order.indexOf(step)-1]),children:\"← Back\"}):/*#__PURE__*/_jsx(\"span\",{className:\"note\",children:\"A few details to begin.\"}),/*#__PURE__*/_jsxs(\"button\",{className:\"next\",type:\"submit\",disabled:busy||recording||transcribing||step===0&&!types.length||step===1&&(!route||route===\"plans\"&&!files.length),children:[busy?\"Sending…\":step===4?\"Send your brief\":step===3?\"Review your brief\":\"Continue\",/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"→\"})]})]})]})]})]});}addPropertyControls(ProjectEnquiry,{plansFirst:{type:ControlType.Boolean,title:\"Plans first\",defaultValue:false},hideIntro:{type:ControlType.Boolean,title:\"Hide intro\",defaultValue:false},endpoint:{type:ControlType.String,title:\"Enquiry endpoint\",defaultValue:\"\"},transcriptionEndpoint:{type:ControlType.String,title:\"Voice endpoint\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectEnquiry\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerIntrinsicHeight\":\"720\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectEnquiry.map"],"mappings":"A,2RAA8mC,SAASqB,EAAQ,CAAC,QAAM,EAAE,SAAO,IAAO,CAAC,IAAMC,EAAOL,EAAiB,EAAE,MAAoB,gBAAK,MAAM,CAAC,QAAQ,YAAY,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,cAAc,OAAO,SAAsB,gBAAM,IAAI,CAAC,UAAU,iBAAiB,SAAS,CAAc,gBAAKH,EAAO,KAAK,CAAC,EAAES,EAASC,EAAM,GAAG,OAAO,eAAe,YAAY,KAAK,cAAc,SAAS,eAAe,QAAQ,QAAQ,IAAa,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE,YAAY,CAAC,WAAW,EAAE,QAAQC,EAAO,EAAE,GAAG,EAAE,SAAS,CAAC,KAAK,EAAI,EAAE,WAAW,CAAC,SAASH,EAAO,EAAE,IAAI,MAAME,EAAM,IAAI,CAAC,CAAC,EAAe,gBAAK,OAAO,CAAC,EAAE,yBAAyB,OAAO,eAAe,YAAY,MAAM,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAKzwD,SAAwBE,EAAe,EAAM,CAA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