{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/dyqenhKFK6LmzGw3G3Xh/trMJIt9wy5a6OlUfot3P/CustomHubspotForm.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState,useLayoutEffect,useRef}from\"react\";import{metaConversionAPICall,USERPILOT_EVENTS}from\"https://framerusercontent.com/modules/bht4YxYvS1EtDNlVwP8y/qeqnOuYKUCDgJgj0U10u/Hubspot_Events.js\";import{emailIsValid}from\"https://framerusercontent.com/modules/msoNJauJPf3u5kqVzgyR/TUXyCaX2uhVPmvOZ4tms/ShareData.js\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{emailIsValidWithExtension}from\"https://framerusercontent.com/modules/MTh2DgZ0IDZLVrDCHSw0/KKhKk53BhdBf7KEpOEtA/SignUpForm.js\";const phoneRegex=/^(?:\\+?\\d{1,3}[-.\\s]?)?(?:\\(?\\d{2,4}\\)?[-.\\s]?)?\\d{3,5}[-.\\s]?\\d{4,6}$/;const validatePhoneNumber=phoneNumber=>phoneRegex.test(phoneNumber);/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export const Loader=props=>{const{loaderWrapperStyle,loaderStyle}=props||{};return /*#__PURE__*/_jsx(\"div\",{className:\"loader-container absolute\",style:loaderWrapperStyle,children:/*#__PURE__*/_jsx(\"div\",{className:\"loader\",style:loaderStyle||{}})});};const LF_DEBUGGER_PARAM=\"lf_debugger\";export const LF_DEBUGGER=\"LF_DEBUGGER\";export const RESTRICTED_EMAILS=[\"imagine.io\",\"livefurnish.com\",\"taglineinfotech\",\"tagline\",\"algoworks\",\"zedinteractive\"];const HUBSPOT_FORM_KEYS={firstname:\"first_name\",lastname:\"last_name\",phone:\"phone_number\"};export const isDebuggingEnabled=()=>sessionStorage.getItem(LF_DEBUGGER)===\"true\";const getCookie=()=>{const cookies=window.document.cookie.split(\";\");let value=null;for(let i=0;i<cookies.length;i++){const cookie=cookies[i].trim();if(cookie.startsWith(\"hubspotutk=\")){const cookieValue=cookie.substring(\"hubspotutk=\".length);value=cookieValue;}}return value;};const getUniqueId=()=>window.crypto?.randomUUID()?.replace(/-/g,\"\");export default function CustomHubspotForm(props){const{portalId,formId}=props||{};const[loading,setLoading]=useState(true);const[formUniqueId,setFormUniqueId]=useState(null);const{trackBookAFreeDemoSubmit}=USERPILOT_EVENTS;useLayoutEffect(()=>{setFormUniqueId(getUniqueId());return()=>{setFormUniqueId(null);};},[]);const addMeetingScheduleScript=()=>{const script=document.createElement(\"script\");script.id=`meeting-schedule-script-${formUniqueId}`;script.charset=\"utf-8\";script.type=\"text/javascript\";script.src=\"//static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js\";document.body.appendChild(script);};const addScript=()=>{const script=document.createElement(\"script\");if(!portalId||!formId||!script)return;script.id=`custom-hubspot-form-script-${formUniqueId}`;script.charset=\"utf-8\";script.type=\"text/javascript\";script.src=\"//js.hsforms.net/forms/embed/v2.js\";document.body.appendChild(script);script.addEventListener(\"load\",()=>{hbspt.forms.create({region:\"na1\",portalId:portalId,formId:formId,target:`#custom-hubspot-form-${formUniqueId}`,onFormReady:()=>{setLoading(false);addMeetingScheduleScript();document.querySelector(`#custom-hubspot-form-${formUniqueId}`).style.display=\"block\";document.querySelector(`#meetings-iframe-container-${formUniqueId}`).style.display=\"none\"//remove()\n;},onFormSubmit:e=>{gtag_report_conversion?.({url:window.location.href,event_name:\"conversion\",send_to:\"AW-10868671574/_o-tCOOQkNUDENaIy74o\",price:0});fbq?.(\"track\",\"Lead\");metaConversionAPICall({event_name:\"Lead\"});const fields=Array.from(e?.querySelectorAll(`.hs-form-field`));const formInputs={};fields?.forEach(f=>{const input=f.querySelector(\"input\");if(input){console.log(input.name,input.value);const name=HUBSPOT_FORM_KEYS[input?.name]||input.nameS;const value=input.value;if(name&&value){formInputs[`form_${name}`]=value;}}});trackBookAFreeDemoSubmit({...formInputs});const hsForm=document.querySelector(`#custom-hubspot-form-${formUniqueId}`);const hsMeetingForm=document.querySelector(`#meetings-iframe-container-${formUniqueId}`);if(hsForm||hsMeetingForm){setTimeout(()=>{hsForm.style.display=\"none\";hsMeetingForm.style.display=\"block\";hsMeetingForm.querySelector(\"iframe\").style.height=\"auto\";},200);}}});});};const enableDisabledButton=({value=\"\",button=null,email=null})=>{if(!button||!email)return;const debugMessage=`<ul style=\"padding: 6px 2px\" class=\"no-list hs-error-msgs inputs-list\" role=\"alert\"><li><label class=\"hs-error-msg hs-main-font-element\">You are an internal user. To submit your email, please enable debugging mode by clicking <a href=\"${window.location.origin+window.location.pathname}?${LF_DEBUGGER_PARAM}=1\">here</a>.</label></li></ul>`;const isInternalUser=value&&RESTRICTED_EMAILS.some(a=>value?.includes(a));if(!isDebuggingEnabled()&&isInternalUser){button.disabled=true;button.style.opacity=.5;button.style.cursor=\"not-allowed\";if(email){email?.nextElementSibling?.remove();email.insertAdjacentHTML(\"afterend\",debugMessage);}}else{button.disabled=false;button.style.opacity=1;button.style.cursor=\"pointer\";email?.nextElementSibling?.remove();}};const preventFormSubmissionForInternalUsers=()=>{const iframes=document.querySelectorAll(\".hs-form-iframe\");iframes.forEach(iframe=>{const forms=iframe?.contentWindow?.document?.body?.querySelectorAll(\"form\");forms.forEach(form=>{const dataFormId=form.getAttribute(\"data-form-id\");if(form.id===`hsForm_${dataFormId}`){const email=form.querySelector(`#email-${dataFormId}`);const button=form.querySelector(\"input[type='submit']\");enableDisabledButton({value:email?.value,button,email});email.addEventListener(\"input\",e=>{const value=e.target.value;enableDisabledButton({value,button,email});});}});});};//   form submit via close button\nconst submitFormOnClose=()=>{const PORTAL_ID=portalId;const FORM_ID=formId;const closeButton=document.querySelector(\".overlay-close-button\");closeButton?.addEventListener(\"click\",e=>{const overlay=e.target.closest(\"#overlay\");const iframe=overlay.querySelector(\"iframe.hs-form-iframe\");const form=iframe?.contentWindow?.document?.body?.querySelector(`form[data-form-id=\"${FORM_ID}\"]`);if(form){const values={firstname:form?.querySelector('input[name=\"firstname\"]')?.value||\"NA\",lastname:form?.querySelector('input[name=\"lastname\"]')?.value||\"NA\",email:form?.querySelector('input[name=\"email\"]')?.value||\"NA\",company:form?.querySelector('input[name=\"company\"]')?.value||\"NA\",phone:form?.querySelector('input[name=\"phone\"]')?.value||\"NA\",country:form?.querySelector('select[name=\"country_01\"]')?.value||\"Other\",submit_by_close:\"Yes\"};console.log(\"DEBUG___submitFormViaCloseButton\",values);const validValues=Object.keys(values).filter(a=>![\"country\",\"submit_by_close\"].includes(a)).filter(a=>![\"NA\"].includes(values[a]));const isInternalUser=values?.email&&RESTRICTED_EMAILS.some(a=>values?.email?.includes(a));if(validValues.length===0||!isDebuggingEnabled()&&isInternalUser)return;const data={fields:[{name:\"firstname\",value:values?.firstname},{name:\"lastname\",value:values?.lastname},{name:\"email\",value:values?.email},{name:\"company\",value:values?.company},{name:\"phone\",value:values?.phone},{name:\"country_01\",value:values?.country},{name:\"submit_by_close\",value:values?.submit_by_close}],context:{hutk:getCookie(),pageUri:window.location.href,pageName:document.title}};const xhr=new XMLHttpRequest;xhr.open(\"POST\",`https://api.hsforms.com/submissions/v3/integration/submit/${PORTAL_ID}/${FORM_ID}`,true);xhr.setRequestHeader(\"Content-Type\",\"application/json\");xhr.onreadystatechange=function(){if(xhr.readyState===4&&xhr.status===200){console.log(\"Form submitted!\");}};xhr.send(JSON.stringify(data));}});};useEffect(()=>{addScript();return()=>{const script=document.querySelector(`#custom-hubspot-form-script-${formUniqueId}`);if(script){document.body.removeChild(script);}};},[portalId,formId,formUniqueId]);useEffect(()=>{const timerId=setTimeout(preventFormSubmissionForInternalUsers,2e3);const timerId2=setTimeout(submitFormOnClose,2e3);return()=>{if(timerId)clearTimeout(timerId);if(timerId2)clearTimeout(timerId2);};},[portalId,formId,loading,formUniqueId]);return /*#__PURE__*/_jsxs(\"div\",{id:`custom-hubspot-form-container-${formUniqueId}`,children:[loading?/*#__PURE__*/_jsx(Loader,{}):null,/*#__PURE__*/_jsx(\"div\",{id:`custom-hubspot-form-${formUniqueId}`}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"none\"},id:`meetings-iframe-container-${formUniqueId}`,class:\"meetings-iframe-container\",\"data-src\":\"https://meetings.hubspot.com/john1511/book-a-meeting?embed=true\"})]});}addPropertyControls(CustomHubspotForm,{portalId:{title:\"Portal Id\",type:ControlType.String},formId:{title:\"Form Id\",type:ControlType.String}});// form overrides\nconst MEETING_LINK_SLUG=\"gagandeep2/book-a-meeting\"// \"gagandeep2/testing-roud-robin-link\" // \"john1511/book-a-meeting\" // \"sachin-kumar5/round-robin-test\"\n;const INDIA_MEETING_LINK_SLUG=\"nikhil-saini/india\";const MEETING_AVAILIBITY_API=\"https://esox4mb3x7swrvx3zh5jlele3e0vkbgf.lambda-url.us-east-1.on.aws/\"// ROOT_API + \"/users/api/v3/get-hubspot-meeting-availability/\"\n;const BOOK_MEETING_API=\"https://sjgwafku6wivgmenb52ipcdmi40kmaes.lambda-url.us-east-1.on.aws/\"//  `${ROOT_API}/users/api/v3/book-hubspot-meeting/`\n;const getUserTimezone=()=>Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone||null;const TIMEZONE_COUNTRY_MAP={\"Australia/Sydney\":\"Australia\",\"Australia/Melbourne\":\"Australia\",\"Australia/Brisbane\":\"Australia\",\"Australia/Perth\":\"Australia\",\"Australia/Adelaide\":\"Australia\",\"Australia/Darwin\":\"Australia\",\"Australia/Hobart\":\"Australia\",\"America/Toronto\":\"Canada\",\"America/Vancouver\":\"Canada\",\"America/Montreal\":\"Canada\",\"America/Edmonton\":\"Canada\",\"America/Winnipeg\":\"Canada\",\"America/Halifax\":\"Canada\",\"America/St_Johns\":\"Canada\",\"Asia/Kolkata\":\"India\",\"Asia/Calcutta\":\"India\",\"Asia/New Delhi\":\"India\",\"Europe/London\":\"United Kingdom\",\"Europe/Belfast\":\"United Kingdom\",\"Europe/Jersey\":\"United Kingdom\",\"Europe/Guernsey\":\"United Kingdom\",\"Europe/Isle_of_Man\":\"United Kingdom\",\"America/New_York\":\"United States\",\"America/Chicago\":\"United States\",\"America/Denver\":\"United States\",\"America/Los_Angeles\":\"United States\",\"America/Phoenix\":\"United States\",\"America/Detroit\":\"United States\",\"America/Indianapolis\":\"United States\",\"America/Anchorage\":\"United States\",\"Pacific/Honolulu\":\"United States\",\"Europe/Rome\":\"Italy\",\"Europe/Vatican\":\"Italy\",\"Europe/San_Marino\":\"Italy\",\"America/Sao_Paulo\":\"Brazil\",\"America/Rio_Branco\":\"Brazil\",\"America/Fortaleza\":\"Brazil\",\"America/Belem\":\"Brazil\",\"America/Manaus\":\"Brazil\",\"America/Recife\":\"Brazil\",\"America/Cuiaba\":\"Brazil\",\"Europe/Copenhagen\":\"Denmark\",\"America/Danmarkshavn\":\"Denmark\",\"Atlantic/Faroe\":\"Denmark\",\"America/Scoresbysund\":\"Denmark\",\"Europe/Oslo\":\"Norway\",\"Arctic/Longyearbyen\":\"Norway\",\"Europe/Berlin\":\"Germany\",\"Europe/Frankfurt\":\"Germany\",\"Europe/Busingen\":\"Germany\",\"Europe/Paris\":\"France\",\"Europe/Monaco\":\"France\",\"Europe/Madrid\":\"Spain\",\"Atlantic/Canary\":\"Spain\",\"Europe/Ceuta\":\"Spain\",\"Europe/Helsinki\":\"Finland\",\"Europe/Mariehamn\":\"Finland\",\"Europe/Stockholm\":\"Sweden\",\"Pacific/Auckland\":\"New Zealand\",\"Pacific/Chatham\":\"New Zealand\",\"Europe/Dublin\":\"Ireland\",\"Europe/Amsterdam\":\"Netherlands\"};const initialStoreValues={uniqueId:null,email:null,success:false,selectedDate:null,timeOptions:[],availableTimeOptions:[],selectedTime:null,selectedTimezone:getUserTimezone(),selectedCountry:TIMEZONE_COUNTRY_MAP?.[getUserTimezone()]||\"Other\",formSubmitting:false,showForm:false};const useFormStore=createStore(initialStoreValues);const MONTH_MAPPING={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12};const getTodayDate=()=>new Date().toISOString().split(\"T\")[0]// Get today's date in YYYY-MM-DD format\n;const getTodayDateWithTimezone=(selectedTimezone=null)=>{// return new Date().toLocaleDateString(\"en-CA\", {\n//     timeZone: selectedTimezone,\n// }) // en-CA ensures YYYY-MM-DD format\nconst date=new Date// Convert seconds to milliseconds\n;return new Intl.DateTimeFormat(\"en-CA\",{timeZone:selectedTimezone,year:\"numeric\",month:\"2-digit\",day:\"2-digit\"}).format(date);};const getDateFromTimestamp=(timestamp=null)=>{if(!timestamp)return null;const date=new Date(timestamp);const year=date.getFullYear();const month=(date.getMonth()+1).toString().padStart(2,\"0\")// Months are 0-based\n;const day=date.getDate().toString().padStart(2,\"0\");const formattedDate=`${year}-${month}-${day}`;return formattedDate;};const getDateFromTimestampBasedOnTimezone=(timestamp=null,selectedTimezone=null)=>{if(!timestamp||!selectedTimezone)return null;// const start = new Date(timestamp)\n// const startTime = start.toLocaleDateString(\"en-CA\", {\n//     timeZone: selectedTimezone,\n// })\n// return startTime\nconst date=new Date(timestamp)// Convert seconds to milliseconds\n;return new Intl.DateTimeFormat(\"en-CA\",{timeZone:selectedTimezone,year:\"numeric\",month:\"2-digit\",day:\"2-digit\"}).format(date);};const getFullDate=(d=null)=>{if(!d)return null;const date=new Date(d);// Extract the local date parts\nconst year=date.getFullYear();const month=String(date.getMonth()+1).padStart(2,\"0\")// Ensure 2-digit month\n;const day=String(date.getDate()).padStart(2,\"0\")// Ensure 2-digit day\n;const formattedDate=`${year}-${month}-${day}`;console.log(formattedDate)// Output: 2025-02-27\n;return formattedDate;};function removeClassFromSiblings(element,className){// Remove from previous siblings\nlet prevSibling=element.previousElementSibling;while(prevSibling){prevSibling.classList.remove(className);prevSibling=prevSibling.previousElementSibling;}// Remove from next siblings\nlet nextSibling=element.nextElementSibling;while(nextSibling){nextSibling.classList.remove(className);nextSibling=nextSibling.nextElementSibling;}}const createMeeting=async({firstname=\"\",lastname=\"\",email,startTime,timezone=\"Asia/Calcutta\",callback=null,failedCallback=null,formTarget=null,isIndia=null,setStore})=>{if(!email||!startTime)return console.error(\"Missing email or startTime\");try{setStore(prev=>({...prev,formSubmitting:true}));const response=await fetch(BOOK_MEETING_API,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({duration:\"1800000\",firstName:firstname,lastName:lastname,email,startTime,slug:isIndia?INDIA_MEETING_LINK_SLUG:MEETING_LINK_SLUG,// likelyAvailableUserIds: [\"68159298\"],\ntimezone})});if(!response.ok){const result=await response.json();const message=result?.message&&typeof result?.message===\"string\"?result?.message:\"Unable to schedule the meeting. Please try again later!\";showErrorMessageText({target:formTarget,text:message});window?.getTimeOptions?.();failedCallback?.();setStore(prev=>({...prev,formSubmitting:false}));// throw new Error(`Meeting API Error: ${response.status}`)\nreturn;}callback?.();setStore(prev=>({...prev,formSubmitting:false}));return;}catch(error){console.error(error);failedCallback?.();// showErrorMessageText({\n//     target: formTarget,\n//     text: \"Unable to schedule the meeting. Please try again later!\",\n// })\n}};const sendDataToHubspot=async({values,portalId,formId,formTarget=null,callback=null,setStore,failedCallback=null,isIndia=null})=>{const{trackBookAFreeDemoSubmit}=USERPILOT_EVENTS;if(!values||!portalId||!formId)return console.error(\"Missing values, portalId / formId\");try{const{startTime,timezone,...rest}=values;const data={fields:Object.entries(rest).map(([name,value])=>({name,value})).filter(f=>f.value),context:{hutk:getCookie(),pageUri:location.href,pageName:document.title}};setStore(prev=>({...prev,formSubmitting:true}));const response=await fetch(`https://api.hsforms.com/submissions/v3/integration/submit/${portalId}/${formId}`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(data)});if(!response.ok){const result=await response.json();const message=result?.errors?.[0]?.message&&typeof result?.errors?.[0]?.message===\"string\"?result?.errors?.[0]?.message:result?.message&&typeof result?.message===\"string\"?result?.message:\"Unable to submit the form. Please try again later\";showErrorMessageText({target:formTarget,text:message});failedCallback?.();setStore(prev=>({...prev,formSubmitting:false}));// throw new Error(`HubSpot API Error: ${response.status}`)\nreturn;}console.log(\"HubSpot form submitted!\",await response.json());gtag_report_conversion?.({url:window.location.href,event_name:\"conversion\",send_to:\"AW-10868671574/_o-tCOOQkNUDENaIy74o\",price:0});gtag_report_conversion?.({url:window.location.href,event_name:\"conversion\",send_to:\"AW-10868671574/j01jCKfF_ZcYENaIy74o\",price:0});fbq?.(\"track\",\"Lead\");metaConversionAPICall({event_name:\"Lead\"});trackBookAFreeDemoSubmit({...values});if(startTime)await createMeeting({...rest,startTime,timezone,callback,failedCallback,formTarget,setStore,isIndia});else{showErrorMessageText({target:formTarget,text:\"Please select the meeting time\"});setStore(prev=>({...prev,formSubmitting:false}));window.bookADemoCaptchaChecked=false;window?.grecaptcha?.reset();}}catch(error){console.error(error);failedCallback?.();setStore(prev=>({...prev,formSubmitting:false}));showErrorMessageText({target:formTarget,text:\"Unable to submit the form. Please try again later\"});window.bookADemoCaptchaChecked=false;window?.grecaptcha?.reset();}};const toggleHubspotFormThankYouWrapper=({show=false,autoClose=false,autoCloseInSeconds=5e3,email=\"\",redirect=true})=>{if(redirect){window.location.replace(window.location.origin+`/book-demo-submitted?email=${email}`);return;}const wrapper=document.querySelector(\"#hubspot-form-thank-you-wrapper\");if(wrapper){if(show){wrapper.parentElement.style.display=\"block\";wrapper.style.display=\"flex\";wrapper?.classList?.add(\"show\");}else{wrapper.parentElement.style.display=\"none\";wrapper.style.display=\"none\";wrapper?.classList?.remove(\"show\");}if(autoClose){setTimeout(()=>{wrapper.parentElement.style.display=\"none\";wrapper.style.display=\"none\";wrapper?.classList?.remove(\"show\");},autoCloseInSeconds);}}};const toggleSubmitButtonText=({target=null,submitting=false})=>{if(!target){const btns=document.querySelector(\".hubspot-form-button\");if(btns?.length>0){btns.forEach(b=>{if(b.getAttribute(\"data-previous-text\")){b.querySelector(\".framer-text\").innerText=b.getAttribute(\"data-previous-text\");}});}return;}const btn=target?.querySelector(\".hubspot-form-button\");if(btn){if(submitting){btn.disabled=true;btn.querySelector(\".framer-text\").innerHTML=\"Submitting. Please wait...\";}else{btn.disabled=false;btn.querySelector(\".framer-text\").innerHTML=btn.getAttribute(\"data-previous-text\")||\"Book your meeting\";}}};const showErrorMessageText=({target=null,text=\"\"}={})=>{if(!target){const errorEle=document.querySelectorAll(\".hubspot-form-error\");errorEle.forEach(e=>{e.parentElement.style.display=\"none\";e.style.display=\"none\";e.querySelector(\".framer-text\").innerHTML=\"\";});return;}const ele=target.querySelector(\".hubspot-form-error\");if(ele){ele.parentElement.style.display=\"flex\";ele.style.display=\"flex\";ele.querySelector(\".framer-text\").innerHTML=text;setTimeout(()=>{ele.parentElement.style.display=\"none\";ele.style.display=\"none\";ele.querySelector(\".framer-text\").innerHTML=\"\";},1e4);if(!text){ele.parentElement.style.display=\"none\";ele.style.display=\"none\";}}};// Named handler so add/removeEventListener works correctly\nconst scrollSectionContentHandler=section=>event=>{if(!section)return;// Smooth scroll the section by deltaY pixels\n    if(event){section.scrollBy({top:event.deltaY,behavior:\"smooth\"});event.preventDefault();}};const toggleHubspotFormOverlay=({show=false})=>{const wrapper=document.querySelector(\"#hubspot-custom-form-overlay\");if(wrapper){toggleHubspotFormOverlay._handler=scrollSectionContentHandler(wrapper);if(show){wrapper.parentElement.style.display=\"block\";wrapper.style.display=\"flex\";wrapper?.classList?.add(\"show\");document.body.style.overflow=\"hidden\";if(window.location.pathname===\"/\"){// implementing the custom scrolling in section because we are getting the scrolling issue on home page only\ndocument.documentElement.style.overflow=\"hidden\";document.documentElement.style.height=\"100%\";document.documentElement.style.position=\"fixed\";window.addEventListener(\"wheel\",toggleHubspotFormOverlay._handler);}window?.getTimeOptions?.();}else{wrapper.parentElement.style.display=\"none\";wrapper.style.display=\"none\";wrapper?.classList?.remove(\"show\");document.body.style.overflow=\"\";document.documentElement.style.overflow=\"\";document.documentElement.style.height=\"\";document.documentElement.style.position=\"\";window.removeEventListener(\"wheel\",toggleHubspotFormOverlay._handler);}}};const toggleOtherCountryField=(country=\"\")=>{const input=document.querySelector(\".hubspot-form-other-country\");if(!input||!country)return;if(country?.trim()?.toLowerCase()===\"other\"){input.style.display=\"flex\";}else{input.style.display=\"none\";}};const CloseIcon=({style={},onClick=null})=>{return /*#__PURE__*/_jsx(\"div\",{className:\"framer-42rwv5\",style:{cursor:\"pointer\",width:\"48px\",height:\"48px\",backgroundColor:\"rgba(0, 0, 0, 0.2)\",borderRadius:\"100px\",opacity:1,position:\"fixed\",top:\"1.5rem\",right:\"1.5rem\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:1e4,...style},onClick:onClick,children:/*#__PURE__*/_jsx(\"div\",{className:\"framer-clljgz-container\",style:{width:\"32px\",height:\"32px\",opacity:1},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"contents\"},children:/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",focusable:\"false\",viewBox:\"0 0 24 24\",color:\"var(--token-792d9903-2669-4d32-aca9-4bf0750cf240, rgb(255, 255, 255))\",style:{userSelect:\"none\",width:\"100%\",height:\"100%\",display:\"inline-block\",fill:\"var(--token-792d9903-2669-4d32-aca9-4bf0750cf240, rgb(255, 255, 255))\",flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"})})})})});};export function withHubspotFormOverlay(Component){return props=>{const[store,setStore]=useFormStore();const{formSubmitting}=store||{};function handleOverlayClick(event,overlay){if(!event||!overlay||formSubmitting)return;// Prevent closing when clicking inside the form\nif(event?.target?.classList?.contains?.(\"hubspot-custom-form-inner-overlay\")||event?.target?.id===overlay?.id){toggleHubspotFormOverlay({show:false});window?.grecaptcha?.reset();const form=overlay.querySelector(\"form\");// Reset the form if it exists\nif(form){toggleSubmitButtonText({target:form,submitting:false});form.reset();const{uniqueId,selectedDate,selectedTimezone,...rest}=initialStoreValues||{};window?.datepicker?.setDate(getTodayDateWithTimezone(selectedTimezone))// Reset the input value to today's date\n;setTimeout(()=>{setStore(prev=>({selectedTimezone,...initialStoreValues}));},500);}}}useEffect(()=>{const overlay=document.getElementById(\"hubspot-custom-form-overlay\");if(overlay){overlay.addEventListener(\"click\",event=>handleOverlayClick(event,overlay));}return()=>{if(overlay){overlay.removeEventListener(\"click\",event=>handleOverlayClick(event,overlay));}};},[formSubmitting]);if(!props?.className?.includes(\"hubspot-custom-form-inner-overlay\")){props.className+=\" hubspot-custom-form-inner-overlay\";}return /*#__PURE__*/_jsx(\"div\",{id:\"hubspot-custom-form-overlay\",style:{position:\"fixed\",left:0,top:0,display:\"none\",alignItems:\"flex-start\",justifyContent:\"center\",width:\"100%\",height:\"100%\",zIndex:100,background:\"rgba(0, 0, 0, 0.5)\",overflow:\"auto\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withHubspotFormOverlayCloseButton(Component){return props=>{const[store,setStore]=useFormStore();const resetAllForms=()=>{const forms=Array.from(document.querySelectorAll(\".hubspot-custom-form\"));if(forms.length>0){forms.forEach(form=>{toggleSubmitButtonText({target:form,submitting:false});form.reset();const{uniqueId,selectedDate,selectedTimezone,...rest}=initialStoreValues||{};// resetting the store after sometime\n// setTimeout(() => {\n//     setStore((prev) => ({\n//         ...prev,\n//         ...rest,\n//     }))\n// }, 500)\nwindow?.datepicker?.setDate(getTodayDateWithTimezone(selectedTimezone))// Reset the input value to today's date\n;setTimeout(()=>{setStore(prev=>({selectedTimezone,...initialStoreValues}));},500);});}};return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{resetAllForms();toggleHubspotFormOverlay({show:false});window?.grecaptcha?.reset();}});};}export function withBookADemoButton(Component){return props=>{const[store,setStore]=useFormStore();const handleClick=e=>{const{trackBookAFreeDemoClicked}=USERPILOT_EVENTS;const today=getTodayDateWithTimezone(store?.selectedTimezone);setStore(prev=>({...prev,uniqueId:getUniqueId(),selectedDate:today,selectedCountry:TIMEZONE_COUNTRY_MAP[getUserTimezone()]||\"Other\",showForm:true}));toggleOtherCountryField(TIMEZONE_COUNTRY_MAP[getUserTimezone()]||\"\");toggleHubspotFormOverlay({show:true});fbq?.(\"trackCustom\",\"BookADemo\",{pageName:document.title,pageUrl:window.location.href,buttonName:e.target.innerText||\"Book a Demo\"});metaConversionAPICall({event_name:\"BookADemo\"});trackBookAFreeDemoClicked();};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function withHubspotFormAddClass(Component){return props=>{const[store,setStore]=useFormStore();const{selectedCountry,selectedTime,selectedTimezone,email,uniqueId,formSubmitting}=store||{};const selectedCountryRef=useRef(selectedCountry);useEffect(()=>{selectedCountryRef.current=selectedCountry;},[selectedCountry]);const afterSuccessCallback=(target,_email=\"\")=>{setStore(prev=>({...prev,success:true}));setTimeout(()=>toggleHubspotFormOverlay({show:false}),5);setTimeout(()=>toggleHubspotFormThankYouWrapper({show:true,autoClose:true,email:_email}),10);toggleSubmitButtonText({target,submitting:false});window.bookADemoCaptchaChecked=false;window?.grecaptcha?.reset();// window.location.reload()\n};const afterFailedCallback=target=>{toggleSubmitButtonText({target,submitting:false});window.bookADemoCaptchaChecked=false;window?.grecaptcha?.reset();// window.location.reload()\n};function handleFormSubmission(event){event?.preventDefault();event?.stopPropagation();showErrorMessageText();const formData=new FormData(this)// Capture form data\n;// Convert form data to an object\nlet formEntries=Object.fromEntries(formData.entries());console.log(formEntries)// Output: { name: \"John\", email: \"john@example.com\" }\n;const portalId=event?.target?.querySelector(\".hubspot-form-portal-id .framer-text\")?.innerText;const formId=event?.target?.querySelector(\".hubspot-form-id .framer-text\")?.innerText;setStore(prev=>({...prev,email:formEntries?.email}));if(!formEntries?.email){showErrorMessageText({target:event.target,text:\"Email is required!\"});return;}else if(!emailIsValid(formEntries?.email)){showErrorMessageText({target:event.target,text:\"Invalid Email!\"});return;}else if(!emailIsValidWithExtension(formEntries?.email)){showErrorMessageText({target:event.target,text:\"Use a business email only\"});return;}else if(!formEntries?.firstname){showErrorMessageText({target:event.target,text:\"First Name is required!\"});return;}else if(!formEntries?.lastname){showErrorMessageText({target:event.target,text:\"Last Name is required!\"});return;}else if(!formEntries?.company){showErrorMessageText({target:event.target,text:\"Company is required!\"});return;}else if(formEntries?.[\"country_01\"]?.trim()?.toLowerCase()===\"other\"&&!formEntries?.custom_country){showErrorMessageText({target:event.target,text:\"Country name is required!\"});return;}else if(!formEntries?.startTime){showErrorMessageText({target:event.target,text:\"Please select the meeting time.\"});return;}else if(!formEntries?.timezone){showErrorMessageText({target:event.target,text:\"Please select your timezone.\"});return;}else if(!window?.bookADemoCaptchaChecked){showErrorMessageText({target:event.target,text:\"Please fill the captcha.\"});return;}if(formEntries?.custom_country){formEntries[\"country_01\"]=formEntries.custom_country;delete formEntries.custom_country;}toggleSubmitButtonText({target:event?.target,submitting:true});showErrorMessageText({target:event?.target});const isIndia=formEntries?.[\"country_01\"]?.trim()?.toLowerCase()===\"india\"||selectedCountryRef.current?.trim()?.toLowerCase()===\"india\";sendDataToHubspot({values:formEntries,portalId,formId,formTarget:event?.target,setStore,callback:()=>afterSuccessCallback(event?.target,formEntries?.email),failedCallback:()=>afterFailedCallback(event?.target),isIndia});}const handleCountry=e=>{const c=e.target.value;toggleOtherCountryField(c);setStore(prev=>({...prev,selectedCountry:c}));};const updateFormAlignment=(form=null)=>{const overlay=document.getElementById(\"hubspot-custom-form-overlay\");if(!form)return;if(form?.clientHeight+100>window.innerHeight){overlay.style.alignItems=\"flex-start\";}else{overlay.style.alignItems=\"center\";}};useEffect(()=>{if(!uniqueId)return;const form=document.querySelector(`#hubspot-custom-form-${uniqueId}`);window.hubspotCustomFormElement=form;if(form){updateFormAlignment(form);form?.addEventListener(\"submit\",handleFormSubmission);form?.querySelector(\".hubspot-form-countries select\")?.addEventListener(\"change\",handleCountry);}window.addEventListener(\"resize\",()=>updateFormAlignment(form));return()=>{if(form){form?.removeEventListener(\"submit\",handleFormSubmission);form?.querySelector(\".hubspot-form-countries select\")?.removeEventListener(\"change\",handleCountry);window.removeEventListener(\"resize\",()=>updateFormAlignment(form));}};},[uniqueId]);if(!props?.className?.includes(\"hubspot-custom-form\")){props.className+=\" hubspot-custom-form\";}return /*#__PURE__*/_jsx(Component,{...props,id:`hubspot-custom-form-${uniqueId}`});};}export function withHubspotFormLoadPage(Component){return props=>{const[store,setStore]=useFormStore();const handleClick=e=>{const{trackBookAFreeDemoClicked}=USERPILOT_EVENTS;const today=getTodayDateWithTimezone(store?.selectedTimezone);setStore(prev=>({...prev,uniqueId:getUniqueId(),selectedDate:today,selectedCountry:TIMEZONE_COUNTRY_MAP[getUserTimezone()]||\"Other\",showForm:true}));toggleOtherCountryField(TIMEZONE_COUNTRY_MAP[getUserTimezone()]||\"\");toggleHubspotFormOverlay({show:true});fbq?.(\"trackCustom\",\"BookADemo\",{pageName:document.title,pageUrl:window.location.href,buttonName:e.target.innerText||\"Book a Demo\"});metaConversionAPICall({event_name:\"BookADemo\"});trackBookAFreeDemoClicked();};useEffect(()=>{const isDemo=window.location.search.replace(\"?\",\"\").split(\"&\")?.find(item=>item.startsWith(\"book-a-demo=\"))?.replace(\"book-a-demo=\",\"\")?.toString()===\"1\";if(isDemo){handleClick({target:null});}},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormFieldControlAddClass(Component){return props=>{if(!props?.className?.includes(\"hubspot-form-control\")){props.className+=\" hubspot-form-control\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormFieldLabelAddClass(Component){return props=>{const[store,setStore]=useFormStore();const{showForm}=store||{};useEffect(()=>{if(!showForm)return;const formLabels=Array.from(document.querySelectorAll(\".hubspot-form-label\"));if(formLabels?.length>0){formLabels.forEach(label=>{const ele=label?.querySelector(\".framer-text\");ele.setAttribute(\"data-previous\",ele.innerText);});}},[showForm]);if(!props?.className?.includes(\"hubspot-form-label\")){props.className+=\" hubspot-form-label\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormFieldInputAddClass(Component){return props=>{const[store,setStore]=useFormStore();const{showForm}=store||{};const handleValidation=e=>{const name=e.target.name;const value=e.target.value;const formControl=e.target.closest(\".hubspot-form-control\");const formInput=formControl?.querySelector(\".hubspot-form-input\");const targetLabel=formControl?.querySelector(\".hubspot-form-label .framer-text\");if(name===\"email\"){if(!value){targetLabel.innerText=\"Email is Required!\";targetLabel.style.color=\"#ff0000\";formInput.style.border=\"1px solid #ff0000\";}else if(!emailIsValid(value)){targetLabel.innerText=\"Invalid Email!\";targetLabel.style.color=\"#ff0000\";formInput.style.border=\"1px solid #ff0000\";}else if(!emailIsValidWithExtension(value)){targetLabel.innerText=\"Enter a valid business email (e.g., name@company.com)\";targetLabel.style.color=\"#ff0000\";formInput.style.border=\"1px solid #ff0000\";}else{targetLabel.innerText=targetLabel.getAttribute(\"data-previous\");targetLabel.style.color=\"rgb(39, 40, 40)\";formInput.style.border=\"1px solid rgba(187, 187, 187, 0.1)\";}}else if(name===\"phone\"){// if (!value) {\n//     targetLabel.innerText = \"Phone number is Required!\"\n//     targetLabel.style.color = \"#ff0000\"\n//     formInput.style.border = \"1px solid #ff0000\"\n// } else\nif(value&&!validatePhoneNumber(value)){targetLabel.innerText=\"Enter a valid mobile number (e.g., +1 123 456 7890)\";targetLabel.style.color=\"#ff0000\";formInput.style.border=\"1px solid #ff0000\";}else{targetLabel.innerText=targetLabel.getAttribute(\"data-previous\");targetLabel.style.color=\"rgb(39, 40, 40)\";formInput.style.border=\"1px solid rgba(187, 187, 187, 0.1)\";}}else if([\"firstname\",\"lastname\",\"company\"].includes(name)){const _label=name===\"firstname\"?\"First Name\":name===\"lastname\"?\"Last Name\":name===\"company\"?\"Company\":null;if(!_label)return;if(!value){targetLabel.innerText=`${_label} is Required!`;targetLabel.style.color=\"#ff0000\";formInput.style.border=\"1px solid #ff0000\";}else{targetLabel.innerText=targetLabel.getAttribute(\"data-previous\");targetLabel.style.color=\"rgb(39, 40, 40)\";formInput.style.border=\"1px solid rgba(187, 187, 187, 0.1)\";}}};useEffect(()=>{if(!showForm)return;const formFields=Array.from(document.querySelectorAll(\".hubspot-form-input\"));if(formFields?.length>0){formFields.forEach(field=>{const input=field.querySelector(\".framer-form-input\");if(input){input.addEventListener(\"input\",handleValidation);input.addEventListener(\"blur\",handleValidation);}});}return()=>{if(formFields?.length>0){formFields.forEach(field=>{const input=field.querySelector(\".framer-form-input\");if(input){input.addEventListener(\"input\",handleValidation);input.addEventListener(\"blur\",handleValidation);}});}};},[showForm]);if(!props?.className?.includes(\"hubspot-form-input\")){props.className+=\" hubspot-form-input\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormPortalIdAddClass(Component){return props=>{if(!props?.className?.includes(\"hubspot-form-portal-id\")){props.className+=\" hubspot-form-portal-id\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormIdAddClass(Component){return props=>{if(!props?.className?.includes(\"hubspot-form-id\")){props.className+=\" hubspot-form-id\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormButtonAddClass(Component){return props=>{useEffect(()=>{const btns=document.querySelectorAll(\".hubspot-form-button\");if(btns?.length>0){btns.forEach(b=>b.setAttribute(\"data-previous-text\",b?.querySelector(\".framer-text\")?.innerText));}},[]);if(!props?.className?.includes(\"hubspot-form-button\")){props.className+=\" hubspot-form-button\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotFormErrorTextAddClass(Component){return props=>{useEffect(()=>{const ele=document.querySelector(\".hubspot-form-error\");if(ele){ele.style.display=\"none\";ele.parentElement.style.display=\"none\";}},[]);if(!props?.className?.includes(\"hubspot-form-error\")){props.className+=\" hubspot-form-error\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotCountryFieldAddClass(Component){return props=>{const[store,setStore]=useFormStore();const{showForm}=store||{};useEffect(()=>{const userTimezone=getUserTimezone();const countryFields=Array.from(document.querySelectorAll(\".hubspot-form-countries\"));if(countryFields.length>0){const userCountry=TIMEZONE_COUNTRY_MAP[userTimezone];countryFields.forEach(field=>{const options=Array.from(field.querySelectorAll(\"select option\"));const existsCountry=options.find(a=>a.value?.trim()?.toLowerCase()===userCountry?.trim()?.toLowerCase());if(existsCountry&&userCountry){// if we get the userCountry then comes here, otherwise set the other country option\nexistsCountry.selected=true;setStore(prev=>({...prev,selectedCountry:existsCountry?.value}));}else{toggleOtherCountryField(\"Other\");options.find(a=>a.value?.trim()?.toLowerCase()===\"other\").selected=true;setStore(prev=>({...prev,selectedCountry:\"Other\"}));}});}},[showForm]);if(!props?.className?.includes(\"hubspot-form-countries\")){props.className+=\" hubspot-form-countries\";}return /*#__PURE__*/_jsx(Component,{...props});};}export function withHubspotCountryOtherFieldAddClass(Component){return props=>{const[store,setStore]=useFormStore();if(!props?.className?.includes(\"hubspot-form-other-country\")){props.className+=\" hubspot-form-other-country\";}return /*#__PURE__*/_jsx(Component,{...props,style:{display:\"none\"}});};}export function withHubspotFormDateAndTimeField(Component){return props=>{const selectedTimezoneRef=useRef();const[loading,setLoading]=useState(false);const[store,setStore]=useFormStore();const[APIPayload,setAPIPayload]=useState({hasMore:true,monthOffset:0});const{selectedDate,timeOptions,selectedCountry,availableTimeOptions,selectedTime,selectedTimezone,uniqueId,success}=store||{};useEffect(()=>{setStore(prev=>({...prev,uniqueId:getUniqueId()}));return()=>{// setUniqueId(null)\nwindow.datepicker=null;};},[])// uniqueId])\n;const addDatePickerStyle=()=>{// Remove existing styles if present\ndocument.querySelectorAll(`[id^=\"date-picker-style-\"]`).forEach(link=>link.remove());const link=document.createElement(\"link\");link.id=`date-picker-style-${uniqueId}`;link.rel=\"stylesheet\";// link.href =\n//     \"https://cdn.jsdelivr.net/npm/vanillajs-datepicker/dist/css/datepicker.css\"\nlink.href=\"https://cdn.jsdelivr.net/npm/vanillajs-datepicker@1.3.4/dist/css/datepicker.min.css\";document.head.appendChild(link);};function handleDate(event){event?.preventDefault();event?.stopPropagation();const today=getTodayDateWithTimezone(selectedTimezoneRef.current);const selectedDate=getDateFromTimestamp(event?.detail?.date)// getFullDate(event?.detail?.date)\n;// if (selectedDate === store.selectedDate) return // Prevent unnecessary updates\n// if (selectedDate < today) {\n//     window?.datepicker?.setDate(today) // Reset the input value to today's date\n//     // this.value = today // Reset the input value to today's date\n//     setStore((prev) => ({\n//         ...prev,\n//         selectedDate: today,\n//         selectedTime: null,\n//     }))\n// } else {\nsetStore(prev=>({...prev,selectedDate,selectedTime:null}));// }\n}const intializeCalendar=v=>{if(!v)return;const today=getTodayDateWithTimezone(v)// new Date()\n;// today.setHours(0, 0, 0, 0)\nconst target=document.getElementById(`datepicker-${uniqueId}`);if(target)target.innerHTML=\"\";// Initialize the inline datepicker\nconst datepicker=new Datepicker(target,{format:\"yyyy-mm-dd\",minDate:today,autohide:false});if(datepicker){window.datepicker=datepicker;datepicker?.setDate(today)// keeping the current date selected by default\n;setStore(prev=>({...prev,selectedDate:today,selectedTimezone:v}));}};const addDatePickerScript=()=>{addDatePickerStyle();// Remove existing script if present\ndocument.querySelectorAll(\".date-picker-script\").forEach(script=>script.remove());const script=document.createElement(\"script\");script.id=`date-picker-script-${uniqueId}`;script.className=\"date-picker-script\";// script.charset = \"utf-8\"\nscript.type=\"text/javascript\";// script.src =\n//     \"https://cdn.jsdelivr.net/npm/vanillajs-datepicker/dist/js/datepicker.js\"\nscript.src=\"https://cdn.jsdelivr.net/npm/vanillajs-datepicker@1.3.4/dist/js/datepicker.min.js\";document.body.appendChild(script);script.addEventListener(\"load\",()=>{const userTimezone=getUserTimezone()// Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone\n;selectedTimezoneRef.current=userTimezone;intializeCalendar(userTimezone);// Get today's date\n// const today = getTodayDateWithTimezone(selectedTimezone) // new Date()\n// // today.setHours(0, 0, 0, 0)\n// const target = document.getElementById(`datepicker-${uniqueId}`)\n// if (target) target.innerHTML = \"\"\n// // Initialize the inline datepicker\n// const datepicker = new Datepicker(target, {\n//     format: \"yyyy-mm-dd\",\n//     minDate: today, // Disable past dates\n//     autohide: false, // Keep it always visible (inline)\n// })\n// console.log(\"DEBUG___date_datepicker_intialise\", {\n//     today,\n//     datepicker,\n//     selectedTimezone,\n// })\n// if (datepicker) {\n//     window.datepicker = datepicker\n//     datepicker?.setDate(today) // keeping the current date selected by default\n//     setStore((prev) => ({\n//         ...prev,\n//         selectedDate: today, // getTodayDateWithTimezone(selectedTimezone),\n//     }))\n//     console.log(\"DEBUG___date_picker\", {\n//         today,\n//         selectedTimezone,\n//         store: store,\n//     })\n// }\n});};useEffect(()=>{if(uniqueId&&!window.datepicker){// Ensure it initializes only once\naddDatePickerScript();document.querySelector(`#datepicker-${uniqueId}`)?.addEventListener(\"changeDate\",function(event){handleDate(event);});}return()=>{document.querySelector(`#datepicker-${uniqueId}`)?.removeEventListener(\"changeDate\",function(event){handleDate(event);});};},[uniqueId]);const populateTimezone=()=>{if(typeof Intl.supportedValuesOf===\"function\"){const timezoneDropdown=document.querySelector(`#timezone-${uniqueId}`);if(timezoneDropdown)timezoneDropdown.innerHTML=\"\";const timezones=Intl.supportedValuesOf(\"timeZone\");const userTimezone=getUserTimezone()// Intl.DateTimeFormat().resolvedOptions().timeZone // Get user's current timezone\n;let initialSelectedTimezone=selectedTimezone||userTimezone// Use selectedTimezone if available, otherwise userTimezone\n;timezones?.forEach(tz=>{const option=document.createElement(\"option\");option.value=tz;option.textContent=tz;if(tz?.toLowerCase()===initialSelectedTimezone?.toLowerCase()){option.selected=true// Only select if it matches the initial selected timezone\n;}timezoneDropdown?.appendChild(option);});}else{console.error(\"Intl.supportedValuesOf is not supported in this browser.\");}};useEffect(()=>{if(uniqueId&&selectedDate)populateTimezone();},[uniqueId,selectedDate,availableTimeOptions]);const moveToNextAvailableDate=(availableTime=null)=>{if(!availableTime)return;const _selectedDate=getDateFromTimestampBasedOnTimezone(availableTime?.startMillisUtc,selectedTimezoneRef.current);// Set the datepicker to the next date\nwindow?.datepicker?.setDate(_selectedDate)// nextDate)\n;// Update the state/store with the next date\nsetStore(prev=>({...prev,selectedDate:_selectedDate,selectedTime:null}));};useEffect(()=>{if(timeOptions.length>0&&!loading)moveToNextAvailableDate(timeOptions?.[0]);},[loading,timeOptions]);const getTimeOptions=async({monthOffset=0}={})=>{if(loading)return;const isIndia=selectedCountry?.trim()?.toLowerCase()===\"india\";let options=[];// let monthOffset = 0\n// let hasMore = true\nsetLoading(true);// while (hasMore) {\n// const formdata = new FormData()\n// formdata.append(\n//     \"user_id\",\n//     encodeURIComponent(\n//         isIndia ? INDIA_MEETING_LINK_SLUG : MEETING_LINK_SLUG\n//     )\n// )\n// formdata.append(\n//     \"timezone\",\n//     selectedTimezone?.replaceAll(\"/\", \"%2F\")\n// ) // \"Asia/Calcutta\")\n// formdata.append(\"monthOffset\", monthOffset) // Incremental month offset\nconst requestOptions={method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({user_id:encodeURIComponent(isIndia?INDIA_MEETING_LINK_SLUG:MEETING_LINK_SLUG),timezone:selectedTimezone?.replaceAll(\"/\",\"%2F\"),monthOffset:monthOffset})};try{const response=await fetch(MEETING_AVAILIBITY_API,requestOptions);const results=await response.json();// const options = [];\n// hasMore = results?.linkAvailability?.hasMore\nsetAPIPayload(prev=>({...prev,monthOffset,hasMore:results?.linkAvailability?.hasMore}));const durations=results?.linkAvailability?.linkAvailabilityByDuration||{};Object.keys(durations).forEach(duration=>{options.push(...durations[duration]?.availabilities||[]);});// monthOffset++ // Increment for next request if needed\n}catch(error){console.error(\"Error during API fetch:\",error);setLoading(false);// break\n}// }\nsetLoading(false);const _options=monthOffset===0?options:[...store.timeOptions,...options];const availableOptions=[..._options]?.map(opt=>{// const start = new Date(opt?.startMillisUtc)\nif(selectedDate===getDateFromTimestampBasedOnTimezone(opt?.startMillisUtc,selectedTimezone))return opt;return null;})?.filter(Boolean);setStore(prev=>({...prev,availableTimeOptions:availableOptions,timeOptions:_options}));};useEffect(()=>{if(selectedTimezone&&!loading){// setAPIPayload({ hasMore: true, monthOffset: 0 })\ngetTimeOptions({monthOffset:0});window.getTimeOptions=getTimeOptions;}},[selectedTimezone,selectedCountry,success]);useEffect(()=>{if(APIPayload.monthOffset!==0&&!loading){getTimeOptions({monthOffset:APIPayload.monthOffset});window.getTimeOptions=getTimeOptions;}},[APIPayload.monthOffset]);// here, filtering the current date time from the available options\nconst updateTimeOptionsOnDateSelection=()=>{const availableOptions=timeOptions?.map(opt=>{// const start = new Date(opt?.startMillisUtc)\nif(selectedDate===getDateFromTimestampBasedOnTimezone(opt?.startMillisUtc,selectedTimezone))return opt;return null;})?.filter(Boolean);setStore(prev=>({...prev,availableTimeOptions:availableOptions}));};useEffect(()=>{if(selectedDate)updateTimeOptionsOnDateSelection();},[selectedDate,timeOptions,selectedTimezone]);// here, showing the only available dates by comparing the calender date and the timestamp getting in the hubspot meeting available api\nconst enableDisabledCalenderDate=(_options=[])=>{const options=_options.length===0?timeOptions:_options;const allAvailableDates=options.map(a=>getDateFromTimestampBasedOnTimezone(a?.startMillisUtc,selectedTimezone));// Convert to a Set to remove duplicates, then back to an array\nconst uniqueDates=[...new Set(allAvailableDates)];const uniqueMonths=[...new Set(uniqueDates?.map(a=>a.split(\"-\")[1]))].map(a=>Number(a?.replace(\"0\",\"\")));if(uniqueDates?.length===0)return;const datePicker=document.querySelector(`#datepicker-${uniqueId}`);const hasChildren=datePicker?.childElementCount!==0;if(datePicker&&hasChildren){const days=Array.from(datePicker?.querySelectorAll(\".datepicker-main .datepicker-grid .datepicker-cell.day\"));if(days.length>0){days.forEach(day=>{const timestamp=day?.getAttribute(\"data-date\");if(uniqueDates?.includes(getDateFromTimestamp(+timestamp))){day?.classList?.remove(\"disabled\");}else{day?.classList?.add(\"disabled\");}});}// enabling / disbaling month\nconst controls=datePicker?.querySelector(\".datepicker-header .datepicker-controls\");const selectedMonth=datePicker?.querySelector(\".datepicker-header .datepicker-controls .button.view-switch\")?.innerHTML?.split(\" \")?.[0];const selectedMonthNumber=MONTH_MAPPING[selectedMonth?.toLowerCase()];const nextMonthNumber=+selectedMonthNumber+1;// months\ncontrols.querySelector(\".view-switch\").disabled=true;if(APIPayload.hasMore||uniqueMonths.includes(nextMonthNumber)&&controls){controls.querySelector(\".next-button\").disabled=false;}else{controls.querySelector(\".next-button\").disabled=true;}}};const onMouseEnter=e=>e.target.querySelector(\".prev-button.prev-btn\").disabled=false;const onMouseLeave=e=>e.target.querySelector(\".prev-button.prev-btn\").disabled=true;const delayEnableDisabledCalenderDate=e=>{setTimeout(()=>enableDisabledCalenderDate(),500);};const getNextMonthData=()=>{if(!APIPayload.hasMore)return;setAPIPayload(prev=>({...prev,monthOffset:prev.monthOffset+1}));};useEffect(()=>{const timerId=setTimeout(()=>{enableDisabledCalenderDate(timeOptions);if(window.datepicker){const prevBtn=document.querySelector(\".datepicker-header .prev-button.prev-btn\");if(prevBtn)prevBtn.disabled=true;document.querySelector(\".datepicker-header\")?.addEventListener(\"mouseenter\",onMouseEnter);document.querySelector(\".datepicker-header\")?.addEventListener(\"mouseleave\",onMouseLeave);document.querySelector(\".datepicker-header .datepicker-controls button.next-button\")?.addEventListener(\"click\",getNextMonthData);Array.from(document.querySelectorAll(\".datepicker-header .datepicker-controls button\")).forEach(a=>a?.addEventListener(\"click\",delayEnableDisabledCalenderDate));}},500);return()=>{if(timerId)clearTimeout(timerId);// if (window.datepicker) {\ndocument.querySelector(\".datepicker-header\")?.removeEventListener(\"mouseenter\",onMouseEnter);document.querySelector(\".datepicker-header\")?.removeEventListener(\"mouseleave\",onMouseLeave);document.querySelector(\".datepicker-header .datepicker-controls button.next-button\")?.removeEventListener(\"click\",getNextMonthData);Array.from(document.querySelectorAll(\".datepicker-header .datepicker-controls button\"))?.forEach(a=>a?.removeEventListener(\"click\",delayEnableDisabledCalenderDate));// }\n};},[selectedDate,timeOptions,uniqueId,selectedTimezone]);if(!props?.className?.includes(\"hubspot-form-datepicker\")){props.className+=\" hubspot-form-datepicker\";}return /*#__PURE__*/_jsxs(Component,{...props,style:{...props?.style,height:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{id:`datepicker-${uniqueId}`}),/*#__PURE__*/_jsxs(\"div\",{className:\"time-section\",style:{position:\"relative\"},children:[loading?/*#__PURE__*/_jsx(Loader,{loaderStyle:{width:30,height:30,borderWidth:3}}):null,/*#__PURE__*/_jsx(\"div\",{className:\"framer-form-input-wrapper framer-form-select-wrapper\",children:/*#__PURE__*/_jsx(\"select\",{style:{marginBottom:\"1rem\",width:\"100%\",border:\"none\",outline:\"none\",padding:\"0.75rem\",fontSize:\"14px\",color:\"#000\",background:\"rgba(187, 187, 187, 0.1)\",borderRadius:\"5px\"},className:\"timezone\",id:`timezone-${uniqueId}`,onChange:e=>{selectedTimezoneRef.current=e.target.value;setStore(prev=>({...prev,selectedTimezone:e.target.value}));intializeCalendar(e.target.value);}})}),availableTimeOptions?.length>0?/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"div\",{id:`hubspot-form-time-options-${uniqueId}`,className:\"hubspot-form-time-options\",children:availableTimeOptions?.map((t,i)=>{const start=new Date(t?.startMillisUtc);const startTime=start.toLocaleTimeString(\"en-US\",{timeZone:selectedTimezone,hour:\"2-digit\",minute:\"2-digit\",hour12:true});return{date:getDateFromTimestampBasedOnTimezone(t?.startMillisUtc,selectedTimezone),startTime,startMillisUtc:t?.startMillisUtc};// if (\n//     selectedDate !==\n//     getDateFromTimestamp(start)\n// )\n//     return null\n}).filter(Boolean).sort((a,b)=>new Date(`${a?.date} ${a?.startTime}`).getTime()-new Date(`${b?.date} ${b?.startTime}`).getTime()).map((t,i)=>{return /*#__PURE__*/_jsx(\"span\",{className:`btn-time ${selectedTime===t?.startMillisUtc?\"selected\":\"\"}`,onClick:e=>{e?.stopPropagation();showErrorMessageText();setStore(prev=>({...prev,selectedTime:t?.startMillisUtc}));},children:t.startTime},`${i}__${t?.startMillisUtc}`);}).filter(Boolean)})}):null]}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"startTime\",value:selectedTime}),/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:\"timezone\",value:selectedTimezone})]});};}export function withHubspotFormThankYouWrapperAddClass(Component){return props=>{const[store,setStore]=useFormStore();const{email,success,uniqueId}=store||{};function handleOverlayClick(event,overlay){const form=document.querySelector(`#hubspot-custom-form-${uniqueId}`);if(!event||!overlay||!form)return;// Prevent closing when clicking inside the form\nif(event?.target?.classList?.contains?.(\"hubspot-form-thank-you-inner-wrapper\")||event?.target?.id===overlay?.id){overlay.style.display=\"none\"// Hide overlay\n;// Reset the form if it exists\nif(form){toggleSubmitButtonText({target:form,submitting:false});form.reset();const{uniqueId,selectedDate,selectedTimezone,...rest}=initialStoreValues||{};// resetting the store after sometime\n// setTimeout(() => {\n//     setStore((prev) => ({\n//         ...prev,\n//         ...rest,\n//     }))\n// }, 500)\nwindow?.datepicker?.setDate(getTodayDateWithTimezone(selectedTimezone))// Reset the input value to today's date\n;setTimeout(()=>{setStore(prev=>({selectedTimezone,...initialStoreValues}));},500);}}}useEffect(()=>{if(!uniqueId)return;const overlay=document.getElementById(\"hubspot-form-thank-you-wrapper\");if(overlay){overlay.addEventListener(\"click\",event=>handleOverlayClick(event,overlay));}return()=>{if(overlay){overlay.removeEventListener(\"click\",event=>handleOverlayClick(event,overlay));}};},[uniqueId,success]);const resetAllForms=()=>{const forms=Array.from(document.querySelectorAll(\".hubspot-custom-form\"));if(forms.length>0){forms.forEach(form=>{toggleSubmitButtonText({target:form,submitting:false});form.reset();const{uniqueId,selectedDate,selectedTimezone,...rest}=initialStoreValues||{};// resetting the store after sometime\n// setTimeout(() => {\n//     setStore((prev) => ({\n//         ...prev,\n//         ...rest,\n//     }))\n// }, 500)\nwindow?.datepicker?.setDate(getTodayDateWithTimezone(selectedTimezone))// Reset the input value to today's date\n;setTimeout(()=>{setStore(prev=>({selectedTimezone,...initialStoreValues}));},500);});}};useEffect(()=>{const wrapper=document.querySelector(\"#hubspot-form-thank-you-wrapper\");if(wrapper){wrapper.parentElement.style.display=\"none\";}},[]);if(!props?.className?.includes(\"hubspot-form-thank-you-inner-wrapper\")){props.className+=\" hubspot-form-thank-you-inner-wrapper\";}return /*#__PURE__*/_jsxs(\"div\",{id:\"hubspot-form-thank-you-wrapper\",style:{position:\"fixed\",left:0,top:0,display:\"none\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",zIndex:100,background:\"rgba(0, 0, 0, 0.5)\"},children:[/*#__PURE__*/_jsx(CloseIcon,{onClick:e=>{resetAllForms();toggleHubspotFormThankYouWrapper({show:false});}}),/*#__PURE__*/_jsx(Component,{...props,email:email})]});};}export function withHubspotFormEmailOnThankYouPage(Component){return props=>{useEffect(()=>{const setEmail=(email=\"\")=>{if(!email)return;const emailElements=Array.from(document.querySelectorAll(\".hubspot-form-thank-you-email\"));if(emailElements.length>0){emailElements.forEach(ele=>{ele.querySelector(\".framer-text\").innerHTML=email;});}};const _email=new URLSearchParams(window.location.search).get(\"email\");if(_email)setEmail(_email);else window.location.replace(window.location.origin);},[]);if(!props?.className?.includes(\"hubspot-form-thank-you-email\")){props.className+=\" hubspot-form-thank-you-email\";}return /*#__PURE__*/_jsx(Component,{...props});};}// captcha implementation\nexport function withFormCaptcha(Component){return props=>{const CAPTCHA_SITE_KEY=\"6LeMgDIrAAAAABPBNa13b8hvyNGT-YsFEMHRo31m\";useEffect(()=>{// Make callbacks globally accessible\nwindow.onRecaptchaSuccess=function(token){window.bookADemoCaptchaChecked=true;showErrorMessageText();};window.onExpiredCallback=function(){window.bookADemoCaptchaChecked=false;showErrorMessageText({target:window.hubspotCustomFormElement,text:\"Captcha is Expired. Please try again.\"});};window.onErrorCallback=function(){window.bookADemoCaptchaChecked=false;showErrorMessageText({target:window.hubspotCustomFormElement,text:\"Unable to load captcha. Please try again.\"});};const scriptId=\"recaptcha-script\";const scriptSrc=\"https://www.google.com/recaptcha/api.js\";// Check if script already exists\nconst existingScript=document.getElementById(scriptId);if(existingScript){// Remove existing script\nexistingScript.parentNode.removeChild(existingScript);}// Create new script\nconst script=document.createElement(\"script\");script.id=scriptId;script.src=scriptSrc;script.async=true;script.defer=true;document.body.appendChild(script);// Optional cleanup when component unmounts\nreturn()=>{const cleanupScript=document.getElementById(scriptId);if(cleanupScript){cleanupScript.parentNode.removeChild(cleanupScript);}delete window.onRecaptchaSuccess;delete window.onRecaptchaExpired;delete window.onRecaptchaError;};},[]);return /*#__PURE__*/_jsx(Component,{...props,children:/*#__PURE__*/_jsx(\"div\",{className:\"g-recaptcha\",\"data-sitekey\":CAPTCHA_SITE_KEY,\"data-callback\":\"onRecaptchaSuccess\",\"data-expired-callback\":\"onExpiredCallback\",\"data-error-callback\":\"onErrorCallback\"})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHubspotCountryOtherFieldAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotCountryOtherFieldAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFormCaptcha\":{\"type\":\"reactHoc\",\"name\":\"withFormCaptcha\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormLoadPage\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormLoadPage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormErrorTextAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormErrorTextAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESTRICTED_EMAILS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormIdAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormIdAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotCountryFieldAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotCountryFieldAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormThankYouWrapperAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormThankYouWrapperAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomHubspotForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormOverlay\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormPortalIdAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormPortalIdAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Loader\":{\"type\":\"variable\",\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"withHubspotFormButtonAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormButtonAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormFieldControlAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormFieldControlAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormDateAndTimeField\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormDateAndTimeField\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormFieldLabelAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormFieldLabelAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormOverlayCloseButton\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormOverlayCloseButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormFieldInputAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormFieldInputAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormEmailOnThankYouPage\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormEmailOnThankYouPage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHubspotFormAddClass\":{\"type\":\"reactHoc\",\"name\":\"withHubspotFormAddClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LF_DEBUGGER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isDebuggingEnabled\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBookADemoButton\":{\"type\":\"reactHoc\",\"name\":\"withBookADemoButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomHubspotForm.map"],
  "mappings": "uNAQU,IAAMA,EAAOC,GAAO,CAAC,GAAK,CAAC,mBAAAC,EAAmB,YAAAC,CAAW,EAAEF,GAAO,CAAC,EAAE,OAAoBG,EAAK,MAAM,CAAC,UAAU,4BAA4B,MAAMF,EAAmB,SAAsBE,EAAK,MAAM,CAAC,UAAU,SAAS,MAAMD,GAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,EAAQE,EAAkB,cAA2BC,EAAY,cAA2BC,EAAkB,CAAC,aAAa,kBAAkB,kBAAkB,UAAU,YAAY,gBAAgB,EAAQC,EAAkB,CAAC,UAAU,aAAa,SAAS,YAAY,MAAM,cAAc,EAAeC,EAAmB,IAAI,eAAe,QAAQH,CAAW,IAAI,OAAaI,EAAU,IAAI,CAAC,IAAMC,EAAQC,EAAO,SAAS,OAAO,MAAM,GAAG,EAAMC,EAAM,KAAK,QAAQC,EAAE,EAAEA,EAAEH,EAAQ,OAAOG,IAAI,CAAC,IAAMC,EAAOJ,EAAQG,CAAC,EAAE,KAAK,EAAKC,EAAO,WAAW,aAAa,IAA4DF,EAAvCE,EAAO,UAAU,EAAoB,EAAqB,CAAC,OAAOF,CAAM,EAAQG,EAAY,IAAIJ,EAAO,QAAQ,WAAW,GAAG,QAAQ,KAAK,EAAE,EAAiB,SAARK,EAAmChB,EAAM,CAAC,GAAK,CAAC,SAAAiB,EAAS,OAAAC,CAAM,EAAElB,GAAO,CAAC,EAAO,CAACmB,EAAQC,CAAU,EAAEC,EAAS,EAAI,EAAO,CAACC,EAAaC,CAAe,EAAEF,EAAS,IAAI,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,IAAGA,EAAM,WAAW,yCAA6DuB,EAAM,MAAM,CAAC,GAAG,iCAAiC,MAAM,CAAC,SAAS,QAAQ,KAAK,EAAE,IAAI,EAAE,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,OAAO,OAAO,OAAO,OAAO,IAAI,WAAW,oBAAoB,EAAE,SAAS,CAAcC,EAAKC,GAAU,CAAC,QAAQC,GAAG,CAACN,EAAc,EAAEO,EAAiC,CAAC,KAAK,EAAK,CAAC,CAAE,CAAC,CAAC,EAAeH,EAAKzB,EAAU,CAAC,GAAGC,EAAM,MAAMI,CAAK,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASwB,GAAmC7B,EAAU,CAAC,OAAOC,IAAQmB,EAAU,IAAI,CAAC,IAAMU,EAAS,CAACzB,EAAM,KAAK,CAAC,GAAG,CAACA,EAAM,OAAO,IAAM0B,EAAc,MAAM,KAAK,SAAS,iBAAiB,+BAA+B,CAAC,EAAKA,EAAc,OAAO,GAAGA,EAAc,QAAQC,GAAK,CAACA,EAAI,cAAc,cAAc,EAAE,UAAU3B,CAAM,CAAC,CAAG,EAAQ4B,EAAO,IAAI,gBAAgBhB,EAAO,SAAS,MAAM,EAAE,IAAI,OAAO,EAAKgB,EAAOH,EAASG,CAAM,EAAOhB,EAAO,SAAS,QAAQA,EAAO,SAAS,MAAM,CAAE,EAAE,CAAC,CAAC,EAAMhB,GAAO,WAAW,SAAS,8BAA8B,IAAGA,EAAM,WAAW,iCAAqDwB,EAAKzB,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI",
  "names": ["Loader", "props", "loaderWrapperStyle", "loaderStyle", "p", "LF_DEBUGGER_PARAM", "LF_DEBUGGER", "RESTRICTED_EMAILS", "HUBSPOT_FORM_KEYS", "isDebuggingEnabled", "getCookie", "cookies", "window", "value", "i", "cookie", "getUniqueId", "CustomHubspotForm", "portalId", "formId", "loading", "setLoading", "ye", "formUniqueId", "setFormUniqueId", "trackBookAFreeDemoSubmit", "USERPILOT_EVENTS", "fe", "addMeetingScheduleScript", "script", "addScript", "e", "metaConversionAPICall", "fields", "formInputs", "f", "input", "name", "hsForm", "hsMeetingForm", "enableDisabledButton", "button", "email", "debugMessage", "isInternalUser", "a", "preventFormSubmissionForInternalUsers", "iframe", "form", "dataFormId", "submitFormOnClose", "PORTAL_ID", "FORM_ID", "values", "validValues", "data", "xhr", "ue", "timerId", "timerId2", "u", "addPropertyControls", "ControlType", "getUserTimezone", "TIMEZONE_COUNTRY_MAP", "initialStoreValues", "useFormStore", "createStore", "getTodayDateWithTimezone", "selectedTimezone", "date", "toggleHubspotFormThankYouWrapper", "show", "autoClose", "autoCloseInSeconds", "email", "redirect", "window", "wrapper", "toggleSubmitButtonText", "target", "submitting", "btns", "b", "btn", "scrollSectionContentHandler", "section", "event", "toggleHubspotFormOverlay", "show", "wrapper", "window", "toggleOtherCountryField", "country", "input", "CloseIcon", "style", "onClick", "p", "withHubspotFormLoadPage", "Component", "props", "store", "setStore", "useFormStore", "handleClick", "e", "trackBookAFreeDemoClicked", "USERPILOT_EVENTS", "today", "getTodayDateWithTimezone", "prev", "getUniqueId", "TIMEZONE_COUNTRY_MAP", "getUserTimezone", "toggleOtherCountryField", "toggleHubspotFormOverlay", "window", "metaConversionAPICall", "ue", "item", "p", "withHubspotFormThankYouWrapperAddClass", "Component", "props", "store", "setStore", "useFormStore", "email", "success", "uniqueId", "handleOverlayClick", "event", "overlay", "form", "toggleSubmitButtonText", "selectedDate", "selectedTimezone", "rest", "initialStoreValues", "window", "getTodayDateWithTimezone", "prev", "ue", "resetAllForms", "forms", "wrapper", "u", "p", "CloseIcon", "e", "toggleHubspotFormThankYouWrapper", "withHubspotFormEmailOnThankYouPage", "setEmail", "emailElements", "ele", "_email"]
}
