{"version":3,"file":"HubSpot_Reusable.BgtAI_5W.mjs","names":["p","React.useState","React.useMemo","e"],"sources":["https:/framerusercontent.com/modules/SIvbl7584RULAV5gE6Dq/zLcX5j8wy6v9C4zCHAbf/HubSpot_Reusable.js"],"sourcesContent":["// HubSpotForm.tsx\n// ----------------------------------------------------------------------------\n// Reusable, low-config HubSpot form for Framer.\n//\n// Why this exists:\n//   The site uses native Framer forms instead of HubSpot embeds. This\n//   component talks directly to HubSpot's /submissions/v3 endpoint and is\n//   shaped to be reused across many forms with different field schemas —\n//   without code changes.\n//\n// Key design choices:\n//   1. Fields are a dynamic Array of typed entries (text / email / textarea /\n//      checkbox). Add, remove, reorder in the property panel. No code edits.\n//   2. Settings are grouped into ControlType.Object controls. Each group\n//      expands into a detail view in Framer, keeping the top-level panel\n//      to ~9 entries instead of ~100.\n//   3. Layout is flex-wrap-driven — any two consecutive `width: \"half\"`\n//      fields share a row; full-width / textarea / checkbox always span 100%.\n//\n// Submission contract preserved from the previous component:\n//   - same endpoint, region routing, payload shape (fields[] + context)\n//   - URL → cookie fallback UTM attribution (HubSpot field names configurable)\n//   - `hubspotutk` cookie passed through `context`\n//   - manual redirect → HubSpot redirect → success state (priority order)\n//   - test mode short-circuits the network call\n// ----------------------------------------------------------------------------\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ── Helpers ────────────────────────────────────────────────────────────────\nfunction regionBase(region){return region===\"eu1\"?\"https://api-eu1.hsforms.com\":\"https://api.hsforms.com\";}function resolveFramerLink(link){if(!link)return\"\";if(typeof link===\"string\")return link;if(typeof link===\"object\"){if(typeof link.url===\"string\")return link.url;if(typeof link.href===\"string\")return link.href;if(typeof link.link===\"string\")return link.link;if(typeof link.pathname===\"string\")return link.pathname;}return\"\";}function isValidEmail(v){return/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(v.trim());}function getCookie(name){if(typeof document===\"undefined\")return null;const match=document.cookie.match(new RegExp(\"(^| )\"+name+\"=([^;]+)\"));return match?decodeURIComponent(match[2]):null;}// URL params take precedence as a complete set; cookie is the fallback for\n// cross-page persistence (set by the site-wide capture script in <head>).\n//\n// Each UTM's HubSpot field name is configurable so the same component works\n// across forms where standard properties get renamed (e.g. `utm_source__c`\n// after a Salesforce sync). An empty HubSpot name skips that UTM entirely.\nfunction getUtmFields(config){if(!config||!config.enabled)return[];if(typeof window===\"undefined\")return[];// Pairs of [URL param key, HubSpot field name]. Order is fixed; HS names\n// come from config and can be remapped or blanked out per form.\nconst mapping=[[\"utm_source\",config.utmSource],[\"utm_medium\",config.utmMedium],[\"utm_campaign\",config.utmCampaign],[\"utm_term\",config.utmTerm],[\"utm_content\",config.utmContent]];const urlParams=new URLSearchParams(window.location.search);const fields=[];// First pass: URL. If anything is found, return URL data without mixing\n// in cookie data — fresh URL attribution overrides stale cookie values.\nlet urlHadAny=false;for(const[paramName,hsName]of mapping){if(!hsName)continue;const v=urlParams.get(paramName);if(v){urlHadAny=true;fields.push({name:hsName,value:v});}}if(urlHadAny)return fields;// Second pass: cookie fallback.\nif(!config.cookieName)return[];const stored=getCookie(config.cookieName);if(!stored)return[];try{const parsed=JSON.parse(stored);for(const[paramName,hsName]of mapping){if(!hsName)continue;const v=parsed[paramName];if(v){fields.push({name:hsName,value:String(v)});}}}catch{// malformed cookie — ignore\n}return fields;}function Spinner({color,size,stroke}){const s=Math.max(8,Math.round(size));const b=Math.max(1,Math.round(stroke));return /*#__PURE__*/_jsx(\"div\",{\"aria-label\":\"Loading\",style:{width:s,height:s,borderRadius:999,border:`${b}px solid ${color}`,borderTopColor:\"transparent\",animation:\"hsfSpin 0.8s linear infinite\",pointerEvents:\"none\"}});}// ── Component ──────────────────────────────────────────────────────────────\nexport default function HubSpotForm(p){const fields=Array.isArray(p.fields)?p.fields:[];const[values,setValues]=React.useState({});const[status,setStatus]=React.useState(\"idle\");const[err,setErr]=React.useState(\"\");const[focused,setFocused]=React.useState(null);const endpoint=React.useMemo(()=>{const base=regionBase(p.hubspot.region);return`${base}/submissions/v3/integration/submit/${encodeURIComponent(p.hubspot.portalId)}/${encodeURIComponent(p.hubspot.formGuid)}`;},[p.hubspot.region,p.hubspot.portalId,p.hubspot.formGuid]);const manualRedirectUrl=React.useMemo(()=>resolveFramerLink(p.redirect.manualLink),[p.redirect.manualLink]);const useManualRedirect=Boolean(p.redirect.enableManual&&manualRedirectUrl);const busy=status===\"loading\";const showSuccess=status===\"success\"&&p.success.show;function setFieldValue(name,value){setValues(prev=>({...prev,[name]:value}));}function getFieldValue(field){const v=values[field.hubspotName];if(field.type===\"checkbox\")return Boolean(v);return v==null?\"\":String(v);}function validate(){for(const field of fields){if(!field||!field.hubspotName)continue;const value=values[field.hubspotName];if(field.required){if(field.type===\"checkbox\"){if(!value)return p.consentErrorText;}else{const str=String(value||\"\").trim();if(!str)return`${field.label} is required.`;}}if(field.type===\"email\"){const str=String(value||\"\").trim();if(str&&!isValidEmail(str)){return\"Please enter a valid email address.\";}}}return null;}// Centralised post-success behaviour.\n// Redirect priority: manual override → HubSpot response.redirectUri → success/reset.\nfunction handleSuccess(responseBody){let target=null;if(useManualRedirect){target=manualRedirectUrl;}else if(p.redirect.useHubSpotRedirect&&responseBody&&typeof responseBody===\"object\"&&typeof responseBody.redirectUri===\"string\"&&responseBody.redirectUri){target=responseBody.redirectUri;}if(target&&typeof window!==\"undefined\"){const delay=Math.max(0,p.redirect.delayMs||0);const url=target;window.setTimeout(()=>{window.location.href=url;},delay);return;}if(p.success.show){setStatus(\"success\");}else{setStatus(\"idle\");setValues({});}}async function submit(e){e.preventDefault();if(busy)return;setErr(\"\");const validationError=validate();if(validationError){setStatus(\"error\");setErr(validationError);return;}setStatus(\"loading\");// Build payload from current field schema.\nconst payloadFields=[];for(const field of fields){if(!field||!field.hubspotName)continue;const raw=values[field.hubspotName];if(field.type===\"checkbox\"){if(raw){payloadFields.push({name:field.hubspotName,value:\"true\"});}}else{const str=String(raw||\"\").trim();if(str){payloadFields.push({name:field.hubspotName,value:str});}}}// Attribution — append UTM fields from URL (or cookie fallback).\nconst utmFields=getUtmFields(p.utms);for(const f of utmFields)payloadFields.push(f);const context={pageUri:typeof window!==\"undefined\"?window.location.href:\"\",pageName:typeof document!==\"undefined\"&&document.title?document.title:\"HubSpot Form\"};const hutk=getCookie(\"hubspotutk\");if(hutk)context.hutk=hutk;const payload={fields:payloadFields,context};// Only send manual redirectUri to HubSpot when manual redirect is on.\n// When useHubSpotRedirect is on, we let HubSpot return its configured URL.\nif(useManualRedirect)payload.redirectUri=manualRedirectUrl;// ── TEST MODE ────────────────────────────────────────────────\nif(p.hubspot.testMode){// eslint-disable-next-line no-console\nconsole.log(\"[HubSpotForm] TEST MODE — submission skipped.\\n\"+\"Endpoint that would be hit:\\n  \"+endpoint+\"\\nPayload that would be sent:\",payload);await new Promise(r=>setTimeout(r,600));handleSuccess(null);return;}try{const res=await fetch(endpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(payload)});const text=await res.text();let body=null;try{body=text?JSON.parse(text):null;}catch{body=text||null;}if(!res.ok){const msg=body&&(body.message||body?.errors?.[0]?.message)||`Request failed (${res.status})`;throw new Error(msg);}handleSuccess(body);}catch(e){setStatus(\"error\");setErr(e?.message||p.errorText||\"Something went wrong. Please try again.\");}}// ── Style helpers ──────────────────────────────────────────────────\nconst s=p.style;const inputBaseStyle={width:\"100%\",boxSizing:\"border-box\",minHeight:s.inputMinHeight,borderRadius:s.inputRadius,border:`1px solid ${s.inputBorderColor}`,background:s.inputBg,color:s.inputTextColor,fontFamily:s.fontFamily,fontSize:s.inputFontSize,padding:`${s.inputPaddingY}px ${s.inputPaddingX}px`,outline:\"none\",appearance:\"none\",WebkitAppearance:\"none\",MozAppearance:\"none\",opacity:busy?.7:1,transition:\"border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease\",margin:0};function getInputStyle(name,extra){const isFocused=focused===name;return{...inputBaseStyle,borderColor:isFocused?s.inputFocusBorderColor:s.inputBorderColor,boxShadow:isFocused?`0 0 0 4px ${s.inputFocusRingColor}`:\"none\",...extra};}const focusHandlers=name=>({onFocus:()=>{if(!busy)setFocused(name);},onBlur:()=>setFocused(null)});const buttonStyle={width:p.submit.width===\"Fill\"?\"100%\":\"auto\",alignSelf:p.submit.width===\"Fit\"?p.submit.align===\"Start\"?\"flex-start\":p.submit.align===\"End\"?\"flex-end\":\"center\":\"auto\",minHeight:p.submit.minHeight,boxSizing:\"border-box\",borderRadius:p.submit.radius,border:`1px solid ${p.submit.borderColor}`,background:p.submit.bg,color:p.submit.textColor,fontFamily:s.fontFamily,fontSize:p.submit.fontSize,fontWeight:p.submit.fontWeight,boxShadow:p.submit.insetShadow,cursor:busy?\"not-allowed\":\"pointer\",transition:\"background 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:`${p.submit.paddingY}px ${p.submit.paddingX}px`,appearance:\"none\",WebkitAppearance:\"none\",MozAppearance:\"none\",whiteSpace:\"nowrap\",margin:0};function FieldLabel({text,required,htmlFor}){return /*#__PURE__*/_jsxs(\"label\",{htmlFor:htmlFor,style:{display:\"block\",fontFamily:s.fontFamily,fontSize:s.labelSize,fontWeight:s.labelWeight,color:s.labelColor,marginBottom:s.labelGap,lineHeight:1.3},children:[text,required&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{color:s.accentColor,marginLeft:4},children:\"*\"})]});}// ── Field renderers ────────────────────────────────────────────────\nfunction renderField(field,index){if(!field)return null;const id=`hsf-${field.hubspotName||\"f\"}-${index}`;const value=getFieldValue(field);const focusName=`${field.hubspotName}-${index}`;// Layout rule: textareas + checkboxes always span full width;\n// half-width text/email fields share rows via flex-wrap.\nconst wrapperStyle={flex:field.type===\"textarea\"||field.type===\"checkbox\"?\"1 1 100%\":field.width===\"half\"?`1 1 ${p.layout.halfMinWidth}px`:\"1 1 100%\",minWidth:0};if(field.type===\"checkbox\"){return /*#__PURE__*/_jsx(\"div\",{style:wrapperStyle,children:/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:12,cursor:busy?\"not-allowed\":\"pointer\",fontFamily:s.fontFamily,fontSize:s.labelSize,fontWeight:400,color:s.checkboxLabelColor,lineHeight:1.5,userSelect:\"none\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:Boolean(value),disabled:busy,onChange:e=>setFieldValue(field.hubspotName,e.target.checked),style:{position:\"absolute\",opacity:0,pointerEvents:\"none\",width:0,height:0,margin:0}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{flexShrink:0,width:s.checkboxSize,height:s.checkboxSize,borderRadius:s.checkboxRadius,border:`1px solid ${value?s.checkboxCheckedBorderColor:s.checkboxBorderColor}`,background:value?s.checkboxCheckedBg:s.checkboxBg,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"background 0.15s ease, border-color 0.15s ease\",marginTop:2,boxSizing:\"border-box\"},children:value&&/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 16 16\",width:Math.round(s.checkboxSize*.7),height:Math.round(s.checkboxSize*.7),fill:\"none\",stroke:s.checkboxCheckColor,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"3 8.5 6.5 12 13 4.5\"})})}),/*#__PURE__*/_jsxs(\"span\",{children:[field.label,field.required&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{color:s.accentColor,marginLeft:4},children:\"*\"})]})]})},id);}if(field.type===\"textarea\"){return /*#__PURE__*/_jsxs(\"div\",{style:wrapperStyle,children:[/*#__PURE__*/_jsx(FieldLabel,{text:field.label,required:field.required,htmlFor:id}),/*#__PURE__*/_jsx(\"textarea\",{id:id,value:value,disabled:busy,onChange:e=>setFieldValue(field.hubspotName,e.target.value),placeholder:field.placeholder,rows:Math.max(1,field.rows||5),autoComplete:field.autoComplete||undefined,...focusHandlers(focusName),style:getInputStyle(focusName,{minHeight:s.textareaMinHeight,resize:\"vertical\",lineHeight:1.5})})]},id);}// text + email\nreturn /*#__PURE__*/_jsxs(\"div\",{style:wrapperStyle,children:[/*#__PURE__*/_jsx(FieldLabel,{text:field.label,required:field.required,htmlFor:id}),/*#__PURE__*/_jsx(\"input\",{id:id,type:field.type===\"email\"?\"email\":\"text\",value:value,disabled:busy,onChange:e=>setFieldValue(field.hubspotName,e.target.value),placeholder:field.placeholder,autoComplete:field.autoComplete||undefined,...focusHandlers(focusName),style:getInputStyle(focusName)})]},id);}// ── Render ─────────────────────────────────────────────────────────\nreturn /*#__PURE__*/_jsxs(\"div\",{\"data-framer-component\":\"HubSpotForm\",style:{width:\"100%\"},children:[!showSuccess&&/*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,style:{display:\"flex\",flexDirection:\"column\",gap:p.layout.rowGap,width:\"100%\",margin:0},children:[p.hubspot.testMode&&/*#__PURE__*/_jsx(\"div\",{style:{alignSelf:\"flex-start\",fontFamily:s.fontFamily,fontSize:11,fontWeight:700,letterSpacing:.6,textTransform:\"uppercase\",color:\"rgb(146, 64, 14)\",background:\"rgba(251, 191, 36, 0.18)\",border:\"1px solid rgba(251, 191, 36, 0.4)\",padding:\"5px 10px\",borderRadius:6},children:\"Test mode \\xb7 no submission to HubSpot\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",rowGap:p.layout.rowGap,columnGap:p.layout.columnGap,width:\"100%\"},children:fields.map((field,i)=>renderField(field,i))}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:busy,style:buttonStyle,children:busy?/*#__PURE__*/_jsx(Spinner,{color:p.submit.textColor,size:p.submit.spinnerSize,stroke:p.submit.spinnerStroke}):p.submit.text})]}),showSuccess&&/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",borderRadius:p.success.radius,padding:`${p.success.paddingY}px ${p.success.paddingX}px`,fontFamily:s.fontFamily,background:p.success.bg,border:`1px solid ${p.success.borderColor}`,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:p.success.titleWeight,fontSize:p.success.titleSize,color:p.success.titleColor,lineHeight:1.3},children:p.success.title}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:p.success.gap,fontSize:p.success.bodySize,color:p.success.bodyColor,lineHeight:1.5},children:p.success.body})]}),status===\"error\"&&!busy&&/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{marginTop:12,fontFamily:s.fontFamily,fontSize:13,lineHeight:\"16px\",color:p.errorColor},children:err||p.errorText}),/*#__PURE__*/_jsx(\"style\",{children:`\n              [data-framer-component=\"HubSpotForm\"] input::placeholder,\n              [data-framer-component=\"HubSpotForm\"] textarea::placeholder {\n                color: ${s.placeholderColor};\n              }\n              [data-framer-component=\"HubSpotForm\"] button:hover:not(:disabled) {\n                background: ${p.submit.hoverBg} !important;\n              }\n              @keyframes hsfSpin {\n                to { transform: rotate(360deg); }\n              }\n            `})]});}// ── Property controls ──────────────────────────────────────────────────────\nconst sizeRange={min:0,max:800,step:1};addPropertyControls(HubSpotForm,{// ── HubSpot connection ───────────────────────────────────────────────\nhubspot:{type:ControlType.Object,title:\"HubSpot\",controls:{portalId:{type:ControlType.String,title:\"Portal ID\",defaultValue:\"\"},formGuid:{type:ControlType.String,title:\"Form GUID\",defaultValue:\"\"},region:{type:ControlType.Enum,title:\"Region\",options:[\"eu1\",\"na1\",\"na2\",\"ap1\"],optionTitles:[\"EU (eu1)\",\"NA (na1)\",\"NA (na2)\",\"AP (ap1)\"],defaultValue:\"eu1\"},testMode:{type:ControlType.Boolean,title:\"Test Mode\",defaultValue:false,description:\"Logs payload to console; no request sent to HubSpot.\"}}},// ── Fields (dynamic) ─────────────────────────────────────────────────\nfields:{type:ControlType.Array,title:\"Fields\",control:{type:ControlType.Object,controls:{type:{type:ControlType.Enum,title:\"Type\",options:[\"text\",\"email\",\"textarea\",\"checkbox\"],optionTitles:[\"Text\",\"Email\",\"Textarea\",\"Checkbox\"],defaultValue:\"text\"},hubspotName:{type:ControlType.String,title:\"HS Name\",defaultValue:\"\",description:\"Internal field name on the HubSpot form.\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"\",displayTextArea:true},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"\",hidden:i=>i.type===\"checkbox\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:true},width:{type:ControlType.Enum,title:\"Width\",options:[\"full\",\"half\"],optionTitles:[\"Full\",\"Half\"],defaultValue:\"full\",displaySegmentedControl:true,hidden:i=>i.type===\"textarea\"||i.type===\"checkbox\"},rows:{type:ControlType.Number,title:\"Rows\",defaultValue:5,min:1,max:20,step:1,hidden:i=>i.type!==\"textarea\"},autoComplete:{type:ControlType.String,title:\"Autocomplete\",defaultValue:\"\",description:\"e.g. given-name, family-name, email, organization\",hidden:i=>i.type===\"checkbox\"}}},defaultValue:[{type:\"text\",hubspotName:\"firstname\",label:\"First Name\",placeholder:\"\",required:true,width:\"half\",rows:5,autoComplete:\"given-name\"},{type:\"text\",hubspotName:\"lastname\",label:\"Last Name\",placeholder:\"\",required:true,width:\"half\",rows:5,autoComplete:\"family-name\"},{type:\"text\",hubspotName:\"company\",label:\"Company\",placeholder:\"\",required:true,width:\"full\",rows:5,autoComplete:\"organization\"},{type:\"email\",hubspotName:\"email\",label:\"Company email\",placeholder:\"\",required:true,width:\"full\",rows:5,autoComplete:\"email\"},{type:\"text\",hubspotName:\"jobtitle\",label:\"Job title\",placeholder:\"\",required:true,width:\"full\",rows:5,autoComplete:\"organization-title\"},{type:\"textarea\",hubspotName:\"i_m_looking_to__c\",label:\"What do you want to get from a demo?\",placeholder:\"\",required:true,width:\"full\",rows:5,autoComplete:\"\"},{type:\"checkbox\",hubspotName:\"consent_communications\",label:\"I agree to receive other communications.\",placeholder:\"\",required:true,width:\"full\",rows:5,autoComplete:\"\"}]},// ── Layout ───────────────────────────────────────────────────────────\nlayout:{type:ControlType.Object,title:\"Layout\",controls:{rowGap:{type:ControlType.Number,title:\"Row Gap\",defaultValue:20,...sizeRange},columnGap:{type:ControlType.Number,title:\"Column Gap\",defaultValue:16,...sizeRange},halfMinWidth:{type:ControlType.Number,title:\"Half Min W\",defaultValue:200,...sizeRange,description:\"Half-width fields stack below this container width.\"}}},// ── Style ────────────────────────────────────────────────────────────\nstyle:{type:ControlType.Object,title:\"Style\",controls:{fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:`\"Manrope\", \"Manrope Placeholder\", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif`},// Labels\nlabelSize:{type:ControlType.Number,title:\"Label Size\",defaultValue:16,min:8,max:120,step:1},labelWeight:{type:ControlType.Number,title:\"Label Weight\",defaultValue:500,min:100,max:900,step:100},labelColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"rgb(20, 22, 36)\"},labelGap:{type:ControlType.Number,title:\"Label Gap\",defaultValue:10,min:0,max:64,step:1},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(231, 106, 74)\",description:\"Required asterisk color.\"},// Inputs\ninputMinHeight:{type:ControlType.Number,title:\"Input H\",defaultValue:56,...sizeRange},textareaMinHeight:{type:ControlType.Number,title:\"Textarea H\",defaultValue:140,...sizeRange},inputFontSize:{type:ControlType.Number,title:\"Input Size\",defaultValue:16,min:8,max:120,step:1},inputPaddingX:{type:ControlType.Number,title:\"Input PadX\",defaultValue:18,...sizeRange},inputPaddingY:{type:ControlType.Number,title:\"Input PadY\",defaultValue:14,...sizeRange},inputRadius:{type:ControlType.Number,title:\"Input Rad\",defaultValue:16,min:0,max:800,step:1},inputBg:{type:ControlType.Color,title:\"Input BG\",defaultValue:\"rgba(255,255,255,0)\"},inputTextColor:{type:ControlType.Color,title:\"Input Text\",defaultValue:\"rgb(20, 22, 36)\"},placeholderColor:{type:ControlType.Color,title:\"Placeholder\",defaultValue:\"rgba(20, 22, 36, 0.5)\"},inputBorderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgb(220, 220, 222)\"},inputFocusBorderColor:{type:ControlType.Color,title:\"Focus Border\",defaultValue:\"rgba(20, 22, 36, 0.6)\"},inputFocusRingColor:{type:ControlType.Color,title:\"Focus Ring\",defaultValue:\"rgba(20, 22, 36, 0.08)\"},// Checkbox\ncheckboxSize:{type:ControlType.Number,title:\"Box Size\",defaultValue:22,min:12,max:64,step:1},checkboxRadius:{type:ControlType.Number,title:\"Box Rad\",defaultValue:4,min:0,max:32,step:1},checkboxBg:{type:ControlType.Color,title:\"Box BG\",defaultValue:\"rgba(255,255,255,0)\"},checkboxBorderColor:{type:ControlType.Color,title:\"Box Border\",defaultValue:\"rgb(180, 180, 184)\"},checkboxCheckedBg:{type:ControlType.Color,title:\"Checked BG\",defaultValue:\"rgb(20, 22, 36)\"},checkboxCheckedBorderColor:{type:ControlType.Color,title:\"Checked Border\",defaultValue:\"rgb(20, 22, 36)\"},checkboxCheckColor:{type:ControlType.Color,title:\"Check Color\",defaultValue:\"#ffffff\"},checkboxLabelColor:{type:ControlType.Color,title:\"Consent Color\",defaultValue:\"rgb(20, 22, 36)\"}}},// ── Submit ───────────────────────────────────────────────────────────\nsubmit:{type:ControlType.Object,title:\"Submit\",controls:{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Submit\"},width:{type:ControlType.Enum,title:\"Width\",options:[\"Fill\",\"Fit\"],optionTitles:[\"Fill\",\"Fit\"],defaultValue:\"Fill\",displaySegmentedControl:true},align:{type:ControlType.Enum,title:\"Align\",options:[\"Start\",\"Center\",\"End\"],optionTitles:[\"Start\",\"Center\",\"End\"],defaultValue:\"Start\",displaySegmentedControl:true,hidden:o=>o.width===\"Fill\"},minHeight:{type:ControlType.Number,title:\"Min H\",defaultValue:60,...sizeRange},paddingX:{type:ControlType.Number,title:\"Pad X\",defaultValue:24,...sizeRange},paddingY:{type:ControlType.Number,title:\"Pad Y\",defaultValue:0,...sizeRange},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:120,step:1},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:600,min:100,max:900,step:100},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:80,min:0,max:800,step:1},bg:{type:ControlType.Color,title:\"BG\",defaultValue:\"rgb(20, 22, 36)\"},hoverBg:{type:ControlType.Color,title:\"Hover BG\",defaultValue:\"rgb(36, 38, 56)\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#ffffff\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgba(255,255,255,0)\"},insetShadow:{type:ControlType.String,title:\"Inset Shadow\",defaultValue:\"rgba(255, 255, 255, 0.15) 1px 2px 2px 0px inset\"},spinnerSize:{type:ControlType.Number,title:\"Spinner Size\",defaultValue:18,min:8,max:120,step:1},spinnerStroke:{type:ControlType.Number,title:\"Spinner Stroke\",defaultValue:2,min:1,max:12,step:1}}},// ── Success ──────────────────────────────────────────────────────────\nsuccess:{type:ControlType.Object,title:\"Success\",controls:{show:{type:ControlType.Boolean,title:\"Show\",defaultValue:true},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Thanks — we'll be in touch.\",hidden:o=>!o.show},body:{type:ControlType.String,title:\"Body\",defaultValue:\"We'll be in touch within one business day.\",displayTextArea:true,hidden:o=>!o.show},bg:{type:ControlType.Color,title:\"BG\",defaultValue:\"rgba(141, 43, 252, 0.08)\",hidden:o=>!o.show},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgba(255,255,255,0)\",hidden:o=>!o.show},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"rgb(20, 22, 36)\",hidden:o=>!o.show},bodyColor:{type:ControlType.Color,title:\"Body Color\",defaultValue:\"rgba(20, 22, 36, 0.75)\",hidden:o=>!o.show},titleSize:{type:ControlType.Number,title:\"Title Size\",defaultValue:18,min:8,max:120,step:1,hidden:o=>!o.show},titleWeight:{type:ControlType.Number,title:\"Title Weight\",defaultValue:700,min:100,max:900,step:100,hidden:o=>!o.show},bodySize:{type:ControlType.Number,title:\"Body Size\",defaultValue:14,min:8,max:120,step:1,hidden:o=>!o.show},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:64,step:1,hidden:o=>!o.show},paddingX:{type:ControlType.Number,title:\"Pad X\",defaultValue:18,...sizeRange,hidden:o=>!o.show},paddingY:{type:ControlType.Number,title:\"Pad Y\",defaultValue:16,...sizeRange,hidden:o=>!o.show},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:800,step:1,hidden:o=>!o.show}}},// ── Redirect ─────────────────────────────────────────────────────────\nredirect:{type:ControlType.Object,title:\"Redirect\",controls:{enableManual:{type:ControlType.Boolean,title:\"Manual\",defaultValue:false,description:\"Override HubSpot redirect with a Framer link.\"},manualLink:{type:ControlType.Link,title:\"Link\",hidden:o=>!o.enableManual},useHubSpotRedirect:{type:ControlType.Boolean,title:\"HS Redirect\",defaultValue:false,description:\"Use the redirect URL configured in HubSpot.\",hidden:o=>o.enableManual},delayMs:{type:ControlType.Number,title:\"Delay (ms)\",defaultValue:0,min:0,max:5e3,step:50,hidden:o=>!o.enableManual&&!o.useHubSpotRedirect}}},// ── UTMs ─────────────────────────────────────────────────────────────\nutms:{type:ControlType.Object,title:\"UTMs\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true,description:\"Sends UTM params from the URL (with cookie fallback) as HubSpot fields.\"},cookieName:{type:ControlType.String,title:\"Cookie\",defaultValue:\"gs_utm\",description:\"Cookie set by the site-wide capture script. Used when the URL has no UTMs.\",hidden:o=>!o.enabled},utmSource:{type:ControlType.String,title:\"utm_source\",defaultValue:\"utm_source\",description:\"HubSpot field name. Leave empty to skip.\",hidden:o=>!o.enabled},utmMedium:{type:ControlType.String,title:\"utm_medium\",defaultValue:\"utm_medium\",hidden:o=>!o.enabled},utmCampaign:{type:ControlType.String,title:\"utm_campaign\",defaultValue:\"utm_campaign\",hidden:o=>!o.enabled},utmTerm:{type:ControlType.String,title:\"utm_term\",defaultValue:\"utm_term\",hidden:o=>!o.enabled},utmContent:{type:ControlType.String,title:\"utm_content\",defaultValue:\"utm_content\",hidden:o=>!o.enabled}}},// ── Errors (top-level loose props) ───────────────────────────────────\nerrorText:{type:ControlType.String,title:\"Error Text\",defaultValue:\"Something went wrong. Please try again.\"},consentErrorText:{type:ControlType.String,title:\"Consent Error\",defaultValue:\"Please tick the consent checkbox to continue.\"},errorColor:{type:ControlType.Color,title:\"Error Color\",defaultValue:\"rgba(220, 38, 38, 0.95)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubSpotForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HubSpot_Reusable.map"],"mappings":"uMA2BA,SAAS,EAAW,EAAO,CAAC,OAAO,IAAS,MAAM,8BAA8B,0BAA2B,SAAS,EAAkB,EAAK,CAAC,GAAG,CAAC,EAAK,MAAM,GAAG,GAAG,OAAO,GAAO,SAAS,OAAO,EAAK,GAAG,OAAO,GAAO,SAAS,CAAC,GAAG,OAAO,EAAK,KAAM,SAAS,OAAO,EAAK,IAAI,GAAG,OAAO,EAAK,MAAO,SAAS,OAAO,EAAK,KAAK,GAAG,OAAO,EAAK,MAAO,SAAS,OAAO,EAAK,KAAK,GAAG,OAAO,EAAK,UAAW,SAAS,OAAO,EAAK,SAAU,MAAM,GAAI,SAAS,EAAa,EAAE,CAAC,MAAM,6BAA6B,KAAK,EAAE,MAAM,CAAC,CAAE,SAAS,EAAU,EAAK,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,KAAK,IAAM,EAAM,SAAS,OAAO,MAAU,OAAO,QAAQ,EAAK,WAAW,CAAC,CAAC,OAAO,EAAM,mBAAmB,EAAM,GAAG,CAAC,KAMnrB,SAAS,EAAa,EAAO,CAAsC,GAAlC,CAAC,GAAQ,CAAC,EAAO,SAA2B,IAAS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