{"version":3,"file":"HubSpotForm.COOaeyEl.mjs","names":["useRef","useState","useId","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","ie","window","de","init_jsx_runtime","p","ce","_e","addPropertyControls","RenderTarget","init_framer_Bf4_tcb2","useTracking","ControlType","HubSpotForm","props","ref","formReady","setFormReady","hasHeight","setHasHeight","submitted","setSubmitted","pendingPdf","setPendingPdf","formats","setFormats","formatsRef","toggleFormat","current","format","f","ready","track","onCanvas","container","portalId","formId","stopListening","listen","isOurs","detail","frame","createFormFrame","region","loadEmbedScript","observer","MIN_FORM_HEIGHT","timer","SIZE_FALLBACK_MS","trackingId","redirectUrl","timers","cancelled","pdfUrl","ticked","wantPdf","wantWord","now","trackDownload","saveFile","fileName","REDIRECT_DELAY_MS","target","resolveRedirect","planField","plan","planFromUrl","form","findForm","setHiddenValue","style","emptyStyle","hasChoice","revealed","FormatChoice","hiddenUntilChosen","skeletonHeight","Skeleton","skeletonColor","trim","useFormatStyles","id","option","value","onToggle","label","formatRowStyle","spaced","formatLabelStyle","formatTrackStyle","FORMAT_STYLE_ID","FORMAT_CSS","useSkeletonStyles","fields","color","i","src","script","match","url","DOWNLOAD_FILE","file","w","clean","ext","name","baseName","response","href","link","onEvent","handler","event","instanceId","key","takeRememberedPlan","PLAN_LABELS","field","STYLE_ID","SKELETON_CSS","warmUp","DEFAULT_REGION","DEFAULT_PORTAL","APP","HARBOUR_BLUE","init_HubSpotForm"],"sources":["https:/framerusercontent.com/modules/R4YXuXYikDZWglXeJoF5/8v6m0gucYFtgucwVWolM/HubSpotForm.js"],"sourcesContent":["// HubSpotForm.tsx\n// Faster HubSpot form embed with a skeleton loader.\n// Loads HubSpot's direct embed script (skipping the legacy v2.js and form-definition hops the\n// built-in Framer component goes through), reserves the form's height so nothing below jumps, and\n// shows placeholder fields until HubSpot reports the form is ready, then fades the form in.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useId,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useTracking}from\"framer\";const DEFAULT_PORTAL=\"48064735\";const DEFAULT_REGION=\"eu1\";// Gives analytics (PostHog, Framer) a moment to send before the page navigates away.\nconst REDIRECT_DELAY_MS=500;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 480\n * @framerIntrinsicHeight 600\n */export default function HubSpotForm(props){const{portalId,formId,region,trackingId,skeletonHeight,fields,skeletonColor,trim=0,planField,pdfUrl,fileName,redirectUrl,style}=props;const ref=useRef(null);const[formReady,setFormReady]=useState(false);const[hasHeight,setHasHeight]=useState(false);const[submitted,setSubmitted]=useState(false);const[pendingPdf,setPendingPdf]=useState(null);// Nothing is ticked at first: the email field only appears once the visitor ticks Word doc, PDF or both,\n// a small first step that draws them in (Ollie, 19 Nov 2026).\nconst[formats,setFormats]=useState([]);// Read by the submit listener, so a change of mind just before sending still counts.\nconst formatsRef=useRef(formats);formatsRef.current=formats;const toggleFormat=format=>setFormats(current=>current.includes(format)?current.filter(f=>f!==format):[...current,format]);// HubSpot's ready event fires a moment before the iframe is sized, so wait for both.\nconst ready=formReady&&hasHeight;const track=useTracking();const onCanvas=RenderTarget.current()===RenderTarget.canvas;useEffect(()=>{const container=ref.current;if(onCanvas||!container||!portalId||!formId)return;const stopListening=listen(\"hs-form-event:on-ready\",detail=>{if(isOurs(ref.current,formId,detail))setFormReady(true);});// Add the form element after mount rather than rendering it: on an in-site navigation\n// HubSpot's script, already loaded, misses a frame that arrives with the page's React\n// render, but picks up one appended afterwards.\nconst frame=createFormFrame(region,portalId,formId);container.appendChild(frame);loadEmbedScript(region,portalId);return()=>{stopListening();frame.remove();};},[onCanvas,portalId,formId,region]);useEffect(()=>{const container=ref.current;if(onCanvas||!container)return;const observer=new ResizeObserver(()=>{if(container.offsetHeight>MIN_FORM_HEIGHT)setHasHeight(true);});observer.observe(container);return()=>observer.disconnect();},[onCanvas]);// Never leave the form hidden behind the skeleton if the iframe is slow to report its size.\nuseEffect(()=>{if(!formReady)return;const timer=setTimeout(()=>setHasHeight(true),SIZE_FALLBACK_MS);return()=>clearTimeout(timer);},[formReady]);useEffect(()=>{if(onCanvas||!trackingId)return;return listen(\"hs-form-event:on-submission:success\",detail=>{if(isOurs(ref.current,formId,detail))track(trackingId);});},[onCanvas,formId,trackingId]);// After a successful submit, send the visitor on (a confirmation page, the white paper). Gated guide downloads\n// with a PDF option save the ticked files instead. Done here, not in the HubSpot form's own thank-you setting,\n// so it works the same in the embed.\nuseEffect(()=>{if(onCanvas||!redirectUrl)return;const timers=[];let cancelled=false;const stopListening=listen(\"hs-form-event:on-submission:success\",detail=>{if(!isOurs(ref.current,formId,detail))return;if(pdfUrl){const ticked=formatsRef.current;const wantPdf=ticked.includes(\"pdf\");const wantWord=!wantPdf||ticked.includes(\"word\");// A page may start one download on its own, but a second makes the browser ask \"Download multiple\n// files?\", and Block would lose the PDF. So with both ticked, save the Word doc now and offer the PDF\n// as a button: a click is allowed to download.\nconst now=wantWord?redirectUrl:pdfUrl;if(wantWord&&wantPdf)setPendingPdf(pdfUrl);// These downloads don't come from a link, so the site's download tracker can't see them.\ntrackDownload(now);timers.push(setTimeout(()=>{if(!cancelled)void saveFile(now,fileName);},REDIRECT_DELAY_MS));return;}const target=resolveRedirect(redirectUrl);if(!target)return;timers.push(setTimeout(()=>window.location.assign(target),REDIRECT_DELAY_MS));});return()=>{cancelled=true;stopListening();timers.forEach(clearTimeout);};},[onCanvas,formId,redirectUrl,pdfUrl,fileName]);// Records the plan chosen on /pricing (?plan=coach or ?plan=secure) in a hidden HubSpot field.\nuseEffect(()=>{if(onCanvas||!planField)return;const plan=planFromUrl();if(!plan)return;return listen(\"hs-form-event:on-ready\",detail=>{if(!isOurs(ref.current,formId,detail))return;const form=findForm(formId,detail);if(form)void setHiddenValue(form,planField,plan);});},[onCanvas,formId,planField]);// Gated downloads with a PDF option: once the form is sent, the format choice has done its job, so hide it.\nuseEffect(()=>{if(onCanvas||!pdfUrl)return;return listen(\"hs-form-event:on-submission:success\",detail=>{if(isOurs(ref.current,formId,detail))setSubmitted(true);});},[onCanvas,formId,pdfUrl]);if(!portalId||!formId){return /*#__PURE__*/_jsx(\"div\",{style:{...style,...emptyStyle},children:\"Set a portal ID and form ID.\"});}const hasChoice=Boolean(pdfUrl&&redirectUrl);// The form loads straight away but stays hidden (and out of the tab order) until a format is picked,\n// so it appears instantly. The canvas always shows it, so the card stays editable.\nconst revealed=!hasChoice||formats.length>0||onCanvas;return /*#__PURE__*/_jsxs(\"div\",{style:style,children:[hasChoice&&!submitted&&/*#__PURE__*/_jsx(FormatChoice,{value:formats,onToggle:toggleFormat,spaced:revealed}),/*#__PURE__*/_jsx(\"div\",{className:hasChoice&&revealed&&!onCanvas?\"voop-hs-reveal\":undefined,style:revealed?undefined:hiddenUntilChosen,children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",minHeight:ready?undefined:skeletonHeight},children:[!ready&&/*#__PURE__*/_jsx(Skeleton,{fields:fields,color:skeletonColor}),!onCanvas&&/*#__PURE__*/_jsx(\"div\",{ref:ref,style:{opacity:ready?1:0,transition:\"opacity 0.2s ease\",// While loading, sit over the skeleton at the form's own height, so the\n// resize observer sees the iframe grow.\nposition:ready?\"relative\":\"absolute\",top:0,left:0,right:0,// HubSpot pads the form inside its iframe, and its style panel can't turn\n// that off. A negative margin pulls the padding outside our box, so the\n// fields line up with the text around the form.\nmargin:trim?-trim:undefined}})]})}),hasChoice&&!onCanvas&&// Announced when it appears. Lifted above the form's box, which trim pulls up underneath it.\n/*#__PURE__*/_jsx(\"div\",{\"aria-live\":\"polite\",style:{position:\"relative\",zIndex:1},children:pendingPdf&&/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"voop-hs-pdf\",onClick:()=>{trackDownload(pendingPdf);void saveFile(pendingPdf,fileName);},children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m7 10 5 5 5-5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 15V3\"})]}),\"Download the PDF\"]})})]});}addPropertyControls(HubSpotForm,{portalId:{title:\"Portal\",type:ControlType.String,defaultValue:DEFAULT_PORTAL},formId:{title:\"Form\",type:ControlType.String,placeholder:\"Form ID\"},region:{title:\"Region\",type:ControlType.Enum,options:[\"eu1\",\"na1\",\"na2\"],defaultValue:DEFAULT_REGION},trackingId:{title:\"Tracking\",type:ControlType.TrackingId},redirectUrl:{title:\"Redirect\",type:ControlType.String,placeholder:\"/path or https://…\",description:\"Where to send the visitor after a successful submit. Leave empty to stay on the page.\"},skeletonHeight:{title:\"Loading height\",type:ControlType.Number,defaultValue:600,min:0,step:10,unit:\"px\",description:\"Space kept for the form while it loads. Match the loaded form's height.\"},fields:{title:\"Loading fields\",type:ControlType.Number,defaultValue:5,min:1,max:12},skeletonColor:{title:\"Loading colour\",type:ControlType.Color,defaultValue:\"rgba(26, 64, 87, 0.08)\"},trim:{title:\"Trim padding\",type:ControlType.Number,defaultValue:0,min:0,max:80,step:1,unit:\"px\",description:\"Cancels HubSpot's own padding inside the form, so fields line up with the page.\"},pdfUrl:{title:\"PDF option\",type:ControlType.String,placeholder:\"https://….pdf\",description:\"Gated downloads: adds Word doc and PDF tick boxes above the form, and the email field shows once one is ticked. Word doc downloads the Redirect file, PDF this one. Leave empty for no choice.\"},fileName:{title:\"File name\",type:ControlType.String,placeholder:\"voop-…\",description:\"Gated downloads: the name the files save as, without .docx or .pdf. Leave empty to keep Framer's file names.\"},planField:{title:\"Plan field\",type:ControlType.String,placeholder:\"0-1/voop_plan\",description:\"Hidden HubSpot field that gets the plan from ?plan= in the link (coach or secure). Leave empty to skip.\"}});const MIN_FORM_HEIGHT=50;const SIZE_FALLBACK_MS=1e3;const STYLE_ID=\"voop-hubspot-skeleton\";const SKELETON_CSS=`\n@keyframes voop-hs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }\n.voop-hs-bone { animation: voop-hs-pulse 1.4s ease-in-out infinite; border-radius: 8px; }\n@media (prefers-reduced-motion: reduce) { .voop-hs-bone { animation: none; } }\n`;// The Word doc and PDF tick boxes above a gated download's form: tick one or both. They follow the web component\n// library's checkbox field (Figma 1️⃣ Web - component library, node 27518:351598): the app's checkbox inside a box\n// styled like the text field above it (sunken fill, 2px Border/Default edge, 4px corners), with a Label M label\n// above. Sized up for the web to match HubSpot's email field below them: 48px fields (36 in the app), a 24px box\n// (20), 3px box corners, Skandia Bold 16 text (14), the two fields sharing the row (Ollie, 19 Nov 2026). Ticked,\n// the field's edge turns Primary, as in the app's choice card. Real checkboxes, so keyboards and screen readers work.\nfunction FormatChoice({value,onToggle,spaced}){useFormatStyles();const id=useId();const option=(format,label)=>/*#__PURE__*/_jsxs(\"label\",{className:value.includes(format)?\"voop-hs-format is-checked\":\"voop-hs-format\",children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",value:format,checked:value.includes(format),onChange:()=>onToggle(format)}),/*#__PURE__*/_jsx(\"span\",{className:\"voop-hs-box\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6 9 17l-5-5\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),label]});return(// Trim pulls the form's box up under this row, so it sits above the iframe or the iframe takes the clicks.\n/*#__PURE__*/_jsxs(\"div\",{role:\"group\",\"aria-labelledby\":id+\"-label\",style:{...formatRowStyle,marginBottom:spaced?16:0},children:[/*#__PURE__*/_jsx(\"span\",{id:id+\"-label\",style:formatLabelStyle,children:\"Download as\"}),/*#__PURE__*/_jsxs(\"span\",{style:formatTrackStyle,children:[option(\"word\",\"Word doc\"),option(\"pdf\",\"PDF\")]})]}));}const DEEP=\"var(--token-f9c411b2-3d14-4a6c-88d5-f2aa6f33b4b1, rgb(26, 64, 87))\";// The app's light-theme checkbox tokens (patronus shared-ui), resolved to values.\nconst APP={borderStrong:\"rgb(119, 135, 146)\",field:\"rgba(16, 34, 59, 0.03)\",fillPrimary:\"rgb(42, 117, 160)\",lifted:\"0 2px 8px -1px rgba(10, 18, 26, 0.08)\",hover:\"rgba(26, 35, 41, 0.05)\",active:\"rgba(26, 35, 41, 0.1)\",onPrimaryHover:\"rgba(10, 22, 31, 0.09)\",onPrimaryActive:\"rgba(10, 22, 31, 0.14)\",focus:\"rgb(45, 112, 156)\",borderDefault:\"rgb(226, 230, 233)\",// Surface/Sunken over white, so the fields match HubSpot's white-backed email field on the pale card.\nfieldOnWhite:\"rgb(248, 248, 249)\",ink:\"rgb(11, 17, 22)\"};// Outlined secondary button (DESIGN.md), in Harbour Blue for AA contrast on the pale gate cards.\nconst HARBOUR_BLUE=\"var(--token-b070050c-d2c3-4139-ae67-f801bb0ade6e, rgb(41, 101, 135))\";const formatRowStyle={position:\"relative\",zIndex:1,display:\"flex\",flexDirection:\"column\",gap:10};const hiddenUntilChosen={height:0,overflow:\"hidden\",visibility:\"hidden\"};// Label M, sized up like HubSpot's \"Email\" label below it.\nconst formatLabelStyle={fontFamily:'\"SN Skandia Bold\", \"SN Skandia Bold Placeholder\", sans-serif',fontWeight:700,fontSize:16,lineHeight:1.25,color:\"rgb(11, 17, 22)\"};const formatTrackStyle={display:\"flex\",gap:12};const FORMAT_STYLE_ID=\"voop-hubspot-format\";const FORMAT_CSS=`\n.voop-hs-format { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 48px; padding: 0 12px; border: 2px solid ${APP.borderDefault}; border-radius: 4px; background-color: ${APP.fieldOnWhite}; cursor: pointer; color: ${APP.ink}; font-family: \"SN Skandia Bold\", \"SN Skandia Bold Placeholder\", sans-serif; font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; transition: border-color 0.2s ease-out; }\n.voop-hs-format.is-checked { border-color: ${APP.fillPrimary}; }\n.voop-hs-format input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }\n.voop-hs-box { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; width: 24px; height: 24px; border: 2px solid ${APP.borderStrong}; border-radius: 3px; background-color: ${APP.field}; color: #fff; transition: background-color 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out; }\n.voop-hs-box::before { content: \"\"; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; pointer-events: none; transition: background-color 0.2s ease-out; }\n.voop-hs-box svg { opacity: 0; transition: opacity 0.2s ease-out; }\n.voop-hs-format:hover .voop-hs-box::before { background-color: ${APP.hover}; }\n.voop-hs-format:active .voop-hs-box::before { background-color: ${APP.active}; transition-duration: 75ms; }\n.voop-hs-format input:checked + .voop-hs-box { border-color: ${APP.fillPrimary}; background-color: ${APP.fillPrimary}; box-shadow: ${APP.lifted}; }\n.voop-hs-format input:checked + .voop-hs-box svg { opacity: 1; }\n.voop-hs-format:hover input:checked + .voop-hs-box::before { background-color: ${APP.onPrimaryHover}; }\n.voop-hs-format:active input:checked + .voop-hs-box::before { background-color: ${APP.onPrimaryActive}; }\n.voop-hs-format input:focus-visible + .voop-hs-box { outline: 3px solid ${APP.focus}; outline-offset: 1px; }\n.voop-hs-pdf { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; height: 48px; margin-top: 12px; padding: 0 20px; border: 2px solid ${HARBOUR_BLUE}; border-radius: 4px; background-color: #fff; color: ${HARBOUR_BLUE}; font-family: \"SN Skandia Bold\", \"SN Skandia Bold Placeholder\", sans-serif; font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer; transition: background-color 0.2s ease-out; }\n.voop-hs-pdf:hover { background-color: rgb(243, 249, 252); }\n.voop-hs-pdf:active { background-color: rgb(231, 240, 247); }\n.voop-hs-pdf:focus-visible { outline: 3px solid ${APP.focus}; outline-offset: 2px; }\n.voop-hs-reveal { animation: voop-hs-reveal 0.24s cubic-bezier(0.16, 1, 0.3, 1); }\n@keyframes voop-hs-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }\n@media (prefers-reduced-motion: reduce) { .voop-hs-pdf, .voop-hs-format, .voop-hs-box, .voop-hs-box::before, .voop-hs-box svg { transition: none; } .voop-hs-reveal { animation: none; } }\n`;function useFormatStyles(){useEffect(()=>{if(document.getElementById(FORMAT_STYLE_ID))return;const style=document.createElement(\"style\");style.id=FORMAT_STYLE_ID;style.textContent=FORMAT_CSS;document.head.appendChild(style);},[]);}const emptyStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:200,background:\"rgba(136, 85, 255, 0.1)\",color:\"#8855FF\",fontSize:14};function Skeleton({fields,color}){useSkeletonStyles();return /*#__PURE__*/_jsxs(\"div\",{\"aria-busy\":\"true\",\"aria-label\":\"Loading form\",style:{display:\"flex\",flexDirection:\"column\",gap:24},children:[Array.from({length:fields},(_,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(\"div\",{className:\"voop-hs-bone\",style:{background:color,height:14,width:`${30+i*17%30}%`}}),/*#__PURE__*/_jsx(\"div\",{className:\"voop-hs-bone\",style:{background:color,height:44}})]},i)),/*#__PURE__*/_jsx(\"div\",{className:\"voop-hs-bone\",style:{background:color,height:48,width:140,borderRadius:999}})]});}// HubSpot's per-portal embed script renders every .hs-form-frame on the page, including ones\n// added later, so one script tag serves every form.\nfunction createFormFrame(region,portalId,formId){const frame=document.createElement(\"div\");frame.className=\"hs-form-frame\";frame.dataset.region=region;frame.dataset.formId=formId;frame.dataset.portalId=portalId;return frame;}function loadEmbedScript(region,portalId){const src=`https://js-${region}.hsforms.net/forms/embed/${portalId}.js`;if(document.querySelector(`script[src=\"${src}\"]`))return;const script=document.createElement(\"script\");script.src=src;script.defer=true;document.head.appendChild(script);}// Logs a gated download the way the site's \"PostHog Download and Form Tracker\" snippet logs link clicks, so\n// \"Guide Downloaded\" counts both, plus gated: true. Meta's GuideDownload goes too, but only once the Pixel has\n// loaded, which needs marketing-cookie consent. File details only: never the email.\nconst DOWNLOAD_FILE=/^https:\\/\\/(framerusercontent\\.com\\/assets\\/|downloads\\.voop\\.com\\/)[^?#]+\\.(pdf|docx?|xlsx?|pptx?)(\\?|#|$)/i;function trackDownload(url){try{const match=url.match(DOWNLOAD_FILE);if(!match)return;const file=url.split(/[?#]/)[0];const props={file_name:file.split(\"/\").pop(),file_type:match[2].toLowerCase(),file_url:file,link_text:\"Gated form\",download_page:window.location.pathname,gated:true};const w=window;w.posthog=w.posthog||[];if(typeof w.posthog.capture===\"function\")w.posthog.capture(\"Guide Downloaded\",props,{transport:\"sendBeacon\"});else w.posthog.push([\"capture\",\"Guide Downloaded\",props]);if(typeof w.fbq===\"function\")w.fbq(\"trackCustom\",\"GuideDownload\",{file_name:props.file_name,page:props.download_page});}catch{// Analytics must never stop the download.\n}}// Framer serves files from framerusercontent.com. A link or redirect there opens a PDF in the tab instead of\n// saving it, and browsers ignore the download attribute on another site's files. Framer allows fetching them\n// (Access-Control-Allow-Origin: *), so fetch the file and save a local copy, under a readable name. If that\n// fails, open the file as before.\nasync function saveFile(url,baseName){const clean=url.split(/[?#]/)[0];const ext=(clean.match(/\\.([a-z0-9]+)$/i)?.[1]??\"\").toLowerCase();const name=baseName?baseName+(ext?\".\"+ext:\"\"):clean.split(\"/\").pop()||\"download\";try{const response=await fetch(url,{mode:\"cors\"});if(!response.ok)throw new Error(String(response.status));const href=URL.createObjectURL(await response.blob());const link=document.createElement(\"a\");link.href=href;link.download=name;link.style.display=\"none\";document.body.appendChild(link);link.click();link.remove();setTimeout(()=>URL.revokeObjectURL(href),6e4);}catch{window.location.assign(url);}}function listen(name,handler){const onEvent=event=>handler(event.detail??{});window.addEventListener(name,onEvent);return()=>window.removeEventListener(name,onEvent);}// Events are global, so match on this instance's iframe when there is one, else on the form ID.\nfunction isOurs(container,formId,detail){if(!container||detail.formId!==formId)return false;const src=container.querySelector(\"iframe\")?.getAttribute(\"src\");const instanceId=src?new URL(src).searchParams.get(\"_hsInstanceId\"):null;return!instanceId||!detail.instanceId||instanceId===detail.instanceId;}const PLAN_LABELS={coach:\"Voop Coach\",secure:\"Voop Secure\"};// The plan from ?plan= in the link, or else the one remembered by PlanChoice on /pricing.\nfunction planFromUrl(){const key=(new URLSearchParams(window.location.search).get(\"plan\")??takeRememberedPlan())?.toLowerCase();return key?PLAN_LABELS[key]??null:null;}function takeRememberedPlan(){try{const plan=sessionStorage.getItem(\"voop:plan\");sessionStorage.removeItem(\"voop:plan\");return plan;}catch{return null;}}function findForm(formId,detail){const forms=window.HubSpotFormsV4?.getForms?.()??[];return forms.find(form=>detail.instanceId?form.getInstanceId()===detail.instanceId:form.getFormId()===formId);}// Only sets the field if the form has it, so the link parameter is harmless until HubSpot adds it.\nasync function setHiddenValue(form,field,value){try{const fields=await form.getFormFieldValues();if(fields.some(f=>f.name===field))form.setFieldValue(field,value);}catch{// HubSpot's API changed or the form isn't ready; the plan just isn't recorded\n}}function useSkeletonStyles(){useEffect(()=>{if(document.getElementById(STYLE_ID))return;const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=SKELETON_CSS;document.head.appendChild(style);},[]);}// Start loading HubSpot's embed script when this module loads, instead of after the component\n// hydrates and its effect runs. Only the default portal and region are warmed up; any other\n// values still load through loadEmbedScript when the form mounts.\nfunction warmUp(){if(typeof document===\"undefined\"||RenderTarget.current()===RenderTarget.canvas)return;loadEmbedScript(DEFAULT_REGION,DEFAULT_PORTAL);}warmUp();// Accepts a full URL or a site path. A site path keeps the visitor in their locale, so someone on\n// /en-us/ stays on /en-us/. Anything that isn't http(s) or a path is ignored.\nfunction resolveRedirect(value){const url=value.trim();if(!url)return null;if(/^https?:\\/\\//i.test(url))return url;if(!url.startsWith(\"/\")||url.startsWith(\"//\"))return null;const inUS=/^\\/en-us(\\/|$)/i.test(window.location.pathname);return inUS&&!/^\\/en-us(\\/|$)/i.test(url)?\"/en-us\"+url:url;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubSpotForm\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"480\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HubSpotForm.map"],"mappings":"A,+NAWG,SAAwBkB,EAAY,EAAM,CAAC,GAAK,CAAC,WAAS,SAAO,SAAO,aAAW,iBAAe,SAAO,gBAAc,OAAK,EAAE,YAAU,SAAO,WAAS,cAAY,SAAOC,EAAYC,EAAIpB,EAAO,IAAI,EAAO,CAACqB,EAAUC,GAAcrB,EAAS,EAAK,EAAO,CAACsB,EAAUC,GAAcvB,EAAS,EAAK,EAAO,CAACwB,EAAUC,GAAczB,EAAS,EAAK,EAAO,CAAC0B,EAAWC,GAAe3B,EAAS,IAAI,EAE7X,CAAC4B,EAAQC,GAAY7B,EAAS,CAAC,CAAC,EAC/B8B,EAAW/B,EAAO6B,CAAO,EAAE,EAAW,QAAQA,EAAQ,IAAMG,EAAa,GAAQF,EAAW,GAASG,EAAQ,SAASC,CAAM,EAAED,EAAQ,OAAO,GAAGE,IAAID,CAAM,EAAE,CAAC,GAAGD,EAAQC,CAAM,CAAC,EAC/KE,EAAMf,GAAWE,EAAgBc,GAAMrB,EAAY,EAAQsB,EAASxB,EAAa,QAAQ,IAAIA,EAAa,OAa+E,GAbxEH,MAAc,CAAC,IAAM4B,EAAUnB,EAAI,QAAQ,GAAGkB,GAAU,CAACC,GAAW,CAACC,GA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