{"version":3,"file":"GNRQ4s3k5.C8-Sd4v4.mjs","names":["Phosphor","Loading"],"sources":["https:/framerusercontent.com/modules/pcj2Odjw2JCct41os76r/RkDa2VaJ3qbW36cUsVD1/GNRQ4s3k5.js"],"sourcesContent":["// Generated by Framer (29550c4)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";import HubSpotForm from\"https://framerusercontent.com/modules/uGQZtcsxBzvxqsgxQ0Tz/b7VYVaGCWWNyhqVsgsiv/Hubspot.js\";import Loading from\"https://framerusercontent.com/modules/jO7FHTJHhwGKGEepkZX3/dDPfgSSi6cnMsZyC50cx/ceil9avu9.js\";const HubSpotFormFonts=getFonts(HubSpotForm);const PhosphorFonts=getFonts(Phosphor);const LoadingFonts=getFonts(Loading);const serializationHash=\"framer-sOfqX\";const variantClassNames={tJt1xo5p9:\"framer-v-b5v17k\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({clickX,height,id,showClose,width,...props})=>{return{...props,i_u7S2tTK:showClose??props.i_u7S2tTK??true,q8nBVm7T7:clickX??props.q8nBVm7T7};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,q8nBVm7T7,i_u7S2tTK,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"tJt1xo5p9\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onClickxph2tu=activeVariantCallback(async(...args)=>{if(q8nBVm7T7){const res=await q8nBVm7T7(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-b5v17k\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"tJt1xo5p9\",ref:refBinding,style:{backgroundColor:\"var(--token-f185e619-7ab0-4648-8fea-7397aa0c9ce6, rgb(255, 255, 255))\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,...style},children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-hvxf3j\",\"data-framer-name\":\"Hubspot Form\",layoutDependency:layoutDependency,layoutId:\"ZVk1CFjbB\",children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1ddjdm6-container\",\"data-framer-name\":\"Form - fleet app\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"IPX5Fqs6k-container\",name:\"Form - fleet app\",nodeId:\"IPX5Fqs6k\",rendersWithMotion:true,scopeId:\"GNRQ4s3k5\",children:/*#__PURE__*/_jsx(HubSpotForm,{advanced:true,formId:\"75f1a747-6852-42cd-bdf2-0a921d957683\",height:\"100%\",id:\"IPX5Fqs6k\",layoutId:\"IPX5Fqs6k\",name:\"Form - fleet app\",portalId:\"6474818\",region:\"eu1\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),i_u7S2tTK&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-4vi74r\",\"data-framer-name\":\"X Container\",layoutDependency:layoutDependency,layoutId:\"O2dLiYs5I\",style:{backgroundColor:\"rgb(255, 255, 255)\"},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1fglaqy-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"Pe86BJXgx-container\",nodeId:\"Pe86BJXgx\",rendersWithMotion:true,scopeId:\"GNRQ4s3k5\",children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-58160af2-89bb-429c-a9a3-ff2d715c3e7c, rgb(82, 92, 102))\",height:\"100%\",iconSearch:\"x\",iconSelection:\"House\",id:\"Pe86BJXgx\",layoutId:\"Pe86BJXgx\",mirrored:false,onClick:onClickxph2tu,selectByList:false,style:{height:\"100%\",width:\"100%\"},weight:\"bold\",width:\"100%\"})})})})]}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:20,width:\"20px\",y:(componentViewport?.y||0)+((componentViewport?.height||510)*.5000000000000002-10),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-sra9c8-container\",layoutDependency:layoutDependency,layoutId:\"RpCPXfuup-container\",nodeId:\"RpCPXfuup\",rendersWithMotion:true,scopeId:\"GNRQ4s3k5\",children:/*#__PURE__*/_jsx(Loading,{height:\"100%\",id:\"RpCPXfuup\",layoutId:\"RpCPXfuup\",style:{height:\"100%\",width:\"100%\"},variant:\"bXxXqFLum\",width:\"100%\"})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-sOfqX.framer-wz2v0e, .framer-sOfqX .framer-wz2v0e { display: block; }\",\".framer-sOfqX.framer-b5v17k { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: flex-start; overflow: auto; padding: 0px; position: relative; width: 700px; }\",\".framer-sOfqX .framer-hvxf3j { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-sOfqX .framer-1ddjdm6-container { flex: none; height: 510px; position: relative; width: 100%; }\",\".framer-sOfqX .framer-4vi74r { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: absolute; right: 12px; top: 12px; width: min-content; z-index: 1; }\",\".framer-sOfqX .framer-1fglaqy-container { cursor: pointer; flex: none; height: 32px; position: relative; width: 32px; }\",\".framer-sOfqX .framer-sra9c8-container { flex: none; height: 20px; left: calc(50.00000000000002% - 20px / 2); position: absolute; top: calc(50.00000000000002% - 20px / 2); width: 20px; z-index: 1; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 510\n * @framerIntrinsicWidth 700\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"q8nBVm7T7\":\"clickX\",\"i_u7S2tTK\":\"showClose\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerGNRQ4s3k5=withCSS(Component,css,\"framer-sOfqX\");export default FramerGNRQ4s3k5;FramerGNRQ4s3k5.displayName=\"Hubspot_Fleet_Before\";FramerGNRQ4s3k5.defaultProps={height:510,width:700};addPropertyControls(FramerGNRQ4s3k5,{q8nBVm7T7:{title:\"Click X\",type:ControlType.EventHandler},i_u7S2tTK:{defaultValue:true,title:\"Show Close\",type:ControlType.Boolean}});addFonts(FramerGNRQ4s3k5,[{explicitInter:true,fonts:[]},...HubSpotFormFonts,...PhosphorFonts,...LoadingFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerGNRQ4s3k5\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"700\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"q8nBVm7T7\\\":\\\"clickX\\\",\\\"i_u7S2tTK\\\":\\\"showClose\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"510\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GNRQ4s3k5.map"],"mappings":"i4BAYgX,AAXhX,GAAyD,IAAqN,IAAkE,IAA4B,CAA0B,GAA0H,IAAoH,IAAkH,CAAM,EAAiB,EAAS,EAAY,CAAO,EAAc,EAASA,EAAS,CAAO,EAAa,EAASC,EAAQ,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAkB,EAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAS,EAAO,EAAW,CAAC,CAAC,QAAM,WAAS,GAAG,CAAC,I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