{"version":3,"file":"HeroEmailCapture.7hDXwYf0.mjs","names":["useState","useRef","useCallback","useMemo","startTransition","__esmMin","ne","init_npm_react_18_3_1","te","pe","_e","de","init_jsx_runtime","p","ce","addPropertyControls","ControlType","init_framer_D1IzEvwH","qsCountries","qsCache","names","list","QS_DIAL_RAW","iso","a","b","top","c","i","qsFind","qsCountryName","qsPhone","t","raw","d","digits","HeroEmailCapture","firstName","setFirstName","lastName","setLastName","email","setEmail","phone","setPhone","dial","setDial","status","setStatus","message","setMessage","hovered","setHovered","focusedField","setFocusedField","containerRef","width","setWidth","ROW_MIN_WIDTH","el","check","ro","stacked","stackBreakpoint","handleSubmit","apiBaseUrl","contactCategory","successMessage","handleKeyDown","fieldBase","controlHeight","cornerRadius","fieldFill","fieldTextColor","fieldWithFocus","extra","name","buttonStyle","buttonFill","buttonTextColor","firstNameField","firstNamePlaceholder","lastNameField","lastNamePlaceholder","emailField","placeholder","button","buttonText","nameRow","emailRow","style","init_HeroEmailCapture"],"sources":["https:/framerusercontent.com/modules/ynhtWaxo4uYmCwVudCFT/P6eko1ayeJ4edLRRx6Jh/HeroEmailCapture.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useRef,useCallback,useEffect,useMemo,startTransition}from\"react\";// ── Mobile country code — shared copy, identical in every sign-up form ──\n// Imports between Framer code files do not resolve in this project, so this block is\n// inlined. Change one copy, change them all: QuroHostSocial, QuroHostSignupBar,\n// HostTileLink, QuroPreRegister, QuroStatusChip, QuroBottomBar, HeroEmailCapture.\n// Mobile is sent as E.164 (\"+61412345678\"); its code also gives the country name.\nconst QS_DIAL_RAW=\"AF93 AL355 DZ213 AD376 AO244 AG1 AR54 AM374 AW297 AU61 AT43 AZ994 BS1 BH973 BD880 BB1 BY375 BE32 BZ501 BJ229 BM1 BT975 BO591 BA387 BW267 BR55 BN673 BG359 BF226 BI257 KH855 CM237 CA1 CV238 KY1 CF236 TD235 CL56 CN86 CO57 KM269 CG242 CD243 CK682 CR506 CI225 HR385 CU53 CW599 CY357 CZ420 DK45 DJ253 DM1 DO1 EC593 EG20 SV503 GQ240 ER291 EE372 SZ268 ET251 FJ679 FI358 FR33 PF689 GA241 GM220 GE995 DE49 GH233 GI350 GR30 GL299 GD1 GU1 GT502 GN224 GW245 GY592 HT509 HN504 HK852 HU36 IS354 IN91 ID62 IR98 IQ964 IE353 IL972 IT39 JM1 JP81 JO962 KZ7 KE254 KI686 KW965 KG996 LA856 LV371 LB961 LS266 LR231 LY218 LI423 LT370 LU352 MO853 MG261 MW265 MY60 MV960 ML223 MT356 MH692 MR222 MU230 MX52 FM691 MD373 MC377 MN976 ME382 MA212 MZ258 MM95 NA264 NR674 NP977 NL31 NC687 NZ64 NI505 NE227 NG234 KP850 MK389 NO47 OM968 PK92 PW680 PS970 PA507 PG675 PY595 PE51 PH63 PL48 PT351 PR1 QA974 RO40 RU7 RW250 WS685 SM378 ST239 SA966 SN221 RS381 SC248 SL232 SG65 SK421 SI386 SB677 SO252 ZA27 KR82 SS211 ES34 LK94 KN1 LC1 VC1 SD249 SR597 SE46 CH41 SY963 TW886 TJ992 TZ255 TH66 TL670 TG228 TO676 TT1 TN216 TR90 TM993 TV688 UG256 UA380 AE971 GB44 US1 UY598 UZ998 VU678 VA39 VE58 VN84 YE967 ZM260 ZW263\";let qsCache=null;function qsCountries(){if(qsCache)return qsCache;let names=null;try{names=new Intl.DisplayNames([\"en\"],{type:\"region\"});}catch{names=null;}const list=QS_DIAL_RAW.split(\" \").map(t=>{const iso=t.slice(0,2);return{iso,dial:t.slice(2),name:names&&names.of(iso)||iso};});list.sort((a,b)=>a.name.localeCompare(b.name));// The four places most members come from sit at the top of both lists.\nconst top=[\"AU\",\"NZ\",\"GB\",\"US\"];const head=top.map(i=>list.find(c=>c.iso===i)).filter(Boolean);qsCache=[...head,...list.filter(c=>!top.includes(c.iso))];return qsCache;}function qsFind(iso){return qsCountries().find(c=>c.iso===iso);}function qsCountryName(iso){return qsFind(iso)?.name;}// Blank stays blank. A number typed with its own \"+\" is trusted as written; anything\n// else gets the picked code, minus the trunk 0 (\"0412…\" under +61 → \"+61412…\").\nfunction qsPhone(iso,raw){const t=(raw||\"\").trim();if(!t)return undefined;if(t.startsWith(\"+\")){const d=t.replace(/\\D/g,\"\");return d?\"+\"+d:undefined;}const digits=t.replace(/\\D/g,\"\").replace(/^0+/,\"\");if(!digits)return undefined;return\"+\"+(qsFind(iso)?.dial||\"61\")+digits;}// A native <select> laid invisibly over a label drawn in the form's own field style,\n// so it looks like the other boxes in every browser and still opens the phone's\n// own picker. `style` is the field's style; width and flex are set by `box`.\nfunction QsPicker(props){const c=qsFind(props.value);return /*#__PURE__*/_jsxs(\"span\",{style:{...props.style,position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:8,boxSizing:\"border-box\",whiteSpace:\"nowrap\",overflow:\"hidden\",cursor:\"pointer\",...props.box},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{overflow:\"hidden\",textOverflow:\"ellipsis\"},children:props.show(c)}),/*#__PURE__*/_jsx(\"svg\",{width:\"10\",height:\"6\",viewBox:\"0 0 10 6\",\"aria-hidden\":\"true\",style:{flex:\"0 0 auto\",opacity:.6},children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 1l4 4 4-4\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\"})}),/*#__PURE__*/_jsx(\"select\",{\"aria-label\":props.ariaLabel,value:props.value,onChange:e=>props.onChange(e.target.value),style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",opacity:0,cursor:\"pointer\",border:0,fontSize:16},children:qsCountries().map(o=>/*#__PURE__*/_jsx(\"option\",{value:o.iso,children:props.option(o)},o.iso))})]});}// The country's flag, built from its two-letter code (as on the Join page).\nfunction qsFlag(iso){return/^[A-Z]{2}$/.test(iso)?String.fromCodePoint(...[...iso].map(ch=>127462+ch.charCodeAt(0)-65)):\"\";}function QsDial(props){return /*#__PURE__*/_jsx(QsPicker,{value:props.value,onChange:props.onChange,style:props.style,box:{flex:\"0 0 auto\",width:\"auto\",minWidth:0},ariaLabel:\"Country code\",show:c=>c?qsFlag(c.iso)+\"  +\"+c.dial:\"+\",option:o=>qsFlag(o.iso)+\" \"+o.name+\" (+\"+o.dial+\")\"});}// ── end Mobile country code ──\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n *//**\n * User request: Restyle HeroEmailCapture to match QuroHostSignupBar (two-row pill layout,\n * cream fields, red CTA pill, matching typography and visual states), keep existing submission\n * logic and controls, preserve responsive stacking under stack breakpoint, and expose sensible\n * style knobs.\n *\n * HeroEmailCapture — the sign-up strip.\n *\n * Josh: \"You already know that we kept your first name, last name, and email.\n * I don't know why you've designed it differently, but fix that!\"\n *\n * So the form asks for exactly what HubSpot stores: first name, last name,\n * email. It used to ask for one \"Your name\" box and split it on the server,\n * which guessed wrong on any name that is not two words.\n *\n * It posts to our own endpoint, which writes the contact through HubSpot's CRM\n * API with the private token held server-side. That token must never reach this\n * file: a code component ships to every visitor's browser.\n */const colors={espresso:\"rgb(75, 9, 4)\",lobster:\"rgb(235, 57, 16)\",mango:\"rgb(255, 180, 35)\",oat:\"rgb(242, 237, 208)\",richBlack:\"rgb(10, 10, 10)\"};// Four controls on one line needs real width. Below this the names pair up on\n// one line with the email under them; below `stackBreakpoint` all four go one\n// per line.\nconst ROW_MIN_WIDTH=760;export default function HeroEmailCapture({apiBaseUrl=\"https://journeys.qurocollective.com\",firstNamePlaceholder=\"First name\",lastNamePlaceholder=\"Last name\",placeholder=\"Email address\",buttonText=\"JOIN THE WAITLIST\",successMessage=\"You're on the list.\",stackBreakpoint=400,contactCategory=\"\",fieldFill=\"#FAF8EA\",fieldTextColor=\"#4B0904\",buttonFill=\"#EB3910\",buttonTextColor=\"#FAF8EA\",cornerRadius=999,controlHeight=56,style}){const[firstName,setFirstName]=useState(\"\");const[lastName,setLastName]=useState(\"\");const[email,setEmail]=useState(\"\");// Optional: blank is a valid sign-up. No Country field (Josh, 2026-10-19: same\n// information twice): country is sent only with a mobile, read off its code.\nconst[phone,setPhone]=useState(\"\");const[dial,setDial]=useState(\"AU\");const[status,setStatus]=useState(\"idle\");const[message,setMessage]=useState(\"\");const[hovered,setHovered]=useState(false);const[focusedField,setFocusedField]=useState(null);const containerRef=useRef(null);const[width,setWidth]=useState(ROW_MIN_WIDTH);useEffect(()=>{const el=containerRef.current;if(!el)return;const check=()=>{startTransition(()=>setWidth(el.offsetWidth));};check();if(typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(check);ro.observe(el);return()=>ro.disconnect();},[]);const stacked=width<stackBreakpoint;const handleSubmit=useCallback(async()=>{if(status===\"loading\")return;const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!email||!emailRegex.test(email)||!firstName.trim()||!lastName.trim()){startTransition(()=>{setStatus(\"error\");setMessage(\"Please enter your first name, last name, and a valid email.\");});return;}startTransition(()=>{setStatus(\"loading\");setMessage(\"\");});try{const res=await fetch(`${apiBaseUrl.replace(/\\/$/,\"\")}/api/newsletter`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({firstname:firstName.trim(),lastname:lastName.trim(),email:email.trim(),phone:qsPhone(dial,phone),country:phone.trim()?qsCountryName(dial):undefined,category:contactCategory||undefined})});if(res.ok){startTransition(()=>{setStatus(\"success\");setMessage(successMessage);setFirstName(\"\");setLastName(\"\");setEmail(\"\");setPhone(\"\");});}else{startTransition(()=>{setStatus(\"error\");setMessage(\"Something went wrong. Please try again.\");});}}catch{startTransition(()=>{setStatus(\"error\");setMessage(\"Something went wrong. Please try again.\");});}},[firstName,lastName,email,phone,dial,status,apiBaseUrl,contactCategory,successMessage]);const handleKeyDown=useCallback(e=>{if(e.key===\"Enter\"){e.preventDefault();handleSubmit();}},[handleSubmit]);const fieldBase=useMemo(()=>({minWidth:0,height:controlHeight,minHeight:controlHeight,padding:\"0 24px\",border:\"1.5px solid rgba(75,9,4,0.18)\",borderRadius:cornerRadius,outline:\"none\",background:fieldFill,color:fieldTextColor,fontFamily:\"'Filson Pro', 'Helvetica Neue', Arial, sans-serif\",fontSize:16,fontWeight:500,letterSpacing:\"-0.01em\",boxSizing:\"border-box\",transition:\"box-shadow 0.2s ease, border-color 0.2s ease\"}),[controlHeight,cornerRadius,fieldFill,fieldTextColor]);const fieldWithFocus=useCallback((name,extra)=>({...fieldBase,...extra,borderColor:focusedField===name?\"rgba(75,9,4,0.55)\":\"rgba(75,9,4,0.18)\",boxShadow:focusedField===name?\"0 0 0 3px rgba(235,57,16,0.14)\":\"inset 0 0 0 1px rgba(255,255,255,0.28)\"}),[fieldBase,focusedField]);const buttonStyle=useMemo(()=>({flexShrink:0,height:controlHeight,minHeight:controlHeight,width:stacked?\"100%\":undefined,padding:\"0 38px\",border:\"none\",borderRadius:cornerRadius,cursor:status===\"loading\"?\"default\":\"pointer\",background:buttonFill,color:buttonTextColor,fontFamily:\"'Filson Pro', 'Helvetica Neue', Arial, sans-serif\",fontSize:14,fontWeight:800,letterSpacing:\"0.14em\",textTransform:\"uppercase\",opacity:status===\"loading\"?.8:1,filter:hovered&&status!==\"loading\"?\"brightness(0.94)\":\"none\",transition:\"filter 0.18s ease, opacity 0.18s ease\"}),[controlHeight,stacked,cornerRadius,status,buttonFill,buttonTextColor,hovered]);const firstNameField=/*#__PURE__*/_jsx(\"input\",{type:\"text\",autoComplete:\"given-name\",value:firstName,onChange:e=>{startTransition(()=>{setFirstName(e.target.value);if(status===\"error\"){setStatus(\"idle\");setMessage(\"\");}});},onKeyDown:handleKeyDown,onFocus:()=>startTransition(()=>setFocusedField(\"first\")),onBlur:()=>startTransition(()=>setFocusedField(null)),placeholder:firstNamePlaceholder,\"aria-label\":firstNamePlaceholder,style:fieldWithFocus(\"first\",{flex:stacked?undefined:\"1 1 180px\",width:stacked?\"100%\":undefined})});const lastNameField=/*#__PURE__*/_jsx(\"input\",{type:\"text\",autoComplete:\"family-name\",value:lastName,onChange:e=>{startTransition(()=>{setLastName(e.target.value);if(status===\"error\"){setStatus(\"idle\");setMessage(\"\");}});},onKeyDown:handleKeyDown,onFocus:()=>startTransition(()=>setFocusedField(\"last\")),onBlur:()=>startTransition(()=>setFocusedField(null)),placeholder:lastNamePlaceholder,\"aria-label\":lastNamePlaceholder,style:fieldWithFocus(\"last\",{flex:stacked?undefined:\"1 1 180px\",width:stacked?\"100%\":undefined})});const phoneField=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8,flex:stacked?undefined:\"1 1 180px\",width:stacked?\"100%\":undefined,minWidth:0},children:[/*#__PURE__*/_jsx(QsDial,{value:dial,onChange:setDial,style:fieldBase}),/*#__PURE__*/_jsx(\"input\",{type:\"tel\",autoComplete:\"tel-national\",value:phone,onChange:e=>{startTransition(()=>setPhone(e.target.value));},onKeyDown:handleKeyDown,onFocus:()=>startTransition(()=>setFocusedField(\"phone\")),onBlur:()=>startTransition(()=>setFocusedField(null)),placeholder:\"Mobile (optional)\",\"aria-label\":\"Mobile (optional)\",style:fieldWithFocus(\"phone\",{flex:1,minWidth:0})})]});const emailField=/*#__PURE__*/_jsx(\"input\",{type:\"email\",autoComplete:\"email\",value:email,onChange:e=>{startTransition(()=>{setEmail(e.target.value);if(status===\"error\"){setStatus(\"idle\");setMessage(\"\");}});},onKeyDown:handleKeyDown,onFocus:()=>startTransition(()=>setFocusedField(\"email\")),onBlur:()=>startTransition(()=>setFocusedField(null)),placeholder:placeholder,\"aria-label\":placeholder,style:fieldWithFocus(\"email\",{flex:stacked?undefined:1,width:stacked?\"100%\":undefined})});const button=/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleSubmit,onMouseEnter:()=>startTransition(()=>setHovered(true)),onMouseLeave:()=>startTransition(()=>setHovered(false)),disabled:status===\"loading\",style:buttonStyle,children:status===\"loading\"?\"…\":buttonText});const nameRow={display:\"flex\",flexDirection:stacked?\"column\":\"row\",width:\"100%\",gap:12};const emailRow={display:\"flex\",flexDirection:stacked?\"column\":\"row\",alignItems:stacked?\"stretch\":\"center\",width:\"100%\",gap:12};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{...style,position:\"relative\",display:\"flex\",flexDirection:\"column\",width:\"100%\",gap:10,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:nameRow,children:[firstNameField,lastNameField]}),/*#__PURE__*/_jsxs(\"div\",{style:emailRow,children:[emailField,button]}),message?/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:\"'Filson Pro', 'Helvetica Neue', Arial, sans-serif\",fontSize:13,fontWeight:500,color:status===\"success\"?fieldTextColor:status===\"error\"?buttonFill:fieldTextColor},children:message}):null]});}addPropertyControls(HeroEmailCapture,{apiBaseUrl:{type:ControlType.String,title:\"Endpoint\",defaultValue:\"https://journeys.qurocollective.com\",description:\"Where the sign-up is sent. The HubSpot token lives there, never here.\"},firstNamePlaceholder:{type:ControlType.String,title:\"First Name Placeholder\",defaultValue:\"First name\"},lastNamePlaceholder:{type:ControlType.String,title:\"Last Name Placeholder\",defaultValue:\"Last name\"},placeholder:{type:ControlType.String,title:\"Email Placeholder\",defaultValue:\"Email address\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"JOIN THE WAITLIST\"},successMessage:{type:ControlType.String,title:\"Success Message\",defaultValue:\"You're on the list.\"},stackBreakpoint:{type:ControlType.Number,title:\"Stack Below\",defaultValue:400,min:200,max:600,unit:\"px\"},contactCategory:{type:ControlType.String,title:\"Contact Category\",defaultValue:\"\",description:\"Hidden field value for HubSpot contact_category property\"},fieldFill:{type:ControlType.Color,title:\"Field Fill\",defaultValue:\"#FAF8EA\"},fieldTextColor:{type:ControlType.Color,title:\"Field Text\",defaultValue:\"#4B0904\"},buttonFill:{type:ControlType.Color,title:\"Button Fill\",defaultValue:\"#EB3910\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#FAF8EA\"},cornerRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:999,min:8,max:999},controlHeight:{type:ControlType.Number,title:\"Height\",defaultValue:56,min:36,max:80,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroEmailCapture\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroEmailCapture.map"],"mappings":"A,oNAKwrC,SAASkB,GAAa,CAAC,GAAGC,EAAQ,OAAOA,EAAQ,IAAIC,EAAM,KAAK,GAAG,CAAC,EAAM,IAAI,KAAK,aAAa,CAAC,IAAI,EAAE,CAAC,KAAK,QAAQ,CAAC,CAAE,MAAM,CAAC,EAAM,IAAK,CAAC,IAAMC,EAAKC,EAAY,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,IAAMC,EAAI,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,MAAI,KAAK,EAAE,MAAM,CAAC,EAAE,KAAKH,GAAOA,EAAM,GAAGG,CAAG,GAAGA,CAAG,CAAE,CAAC,EAAEF,EAAK,MAAM,EAAE,IAAIG,EAAE,KAAK,cAAcC,EAAE,IAAI,CAAC,EAC/+C,IAAMC,EAAI,CAAC,KAAK,KAAK,KAAK,IAAI,EAA2H,MAA1D,GAAQ,CAAC,GAA7DA,EAAI,IAAI,GAAGL,EAAK,KAAK,GAAGM,EAAE,MAAMC,CAAC,CAAC,CAAC,CAAC,OAAO,OAAwB,EAAE,GAAGP,EAAK,OAAO,GAAG,CAACK,EAAI,SAASC,EAAE,GAAG,CAAC,CAAC,EAASR,CAAQ,CAAC,SAASU,EAAO,EAAI,CAAC,OAAOX,EAAY,CAAC,CAAC,KAAK,GAAGS,EAAE,MAAMJ,CAAG,CAAE,CAAC,SAASO,EAAc,EAAI,CAAC,OAAOD,EAAON,CAAG,CAAC,EAAE,IAAK,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