{"version":3,"file":"TypeformPreloader.DTPn8LWh.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6VzlNPNSb0vjUMpY64r3/KHXHFd5jELWYGhZhfxzf/TypeformPreloader.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function TypeformPreloader({tfLive}){useEffect(()=>{const existingScript=document.querySelector(\"script[src='https://embed.typeform.com/next/embed.js']\");if(!existingScript){const script=document.createElement(\"script\");script.src=\"https://embed.typeform.com/next/embed.js\";script.async=true;document.body.appendChild(script);}},[]);return /*#__PURE__*/_jsx(\"div\",{\"data-tf-live\":tfLive,style:{position:\"absolute\",width:0,height:0,overflow:\"hidden\",pointerEvents:\"none\",opacity:0}});}addPropertyControls(TypeformPreloader,{tfLive:{type:ControlType.String,title:\"Typeform ID\",defaultValue:\"01JZ3FPP8RDAS2FY62DF4JVH31\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"TypeformPreloader\":{\"type\":\"reactComponent\",\"name\":\"TypeformPreloader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TypeformPreloader.map"],"mappings":"kQAA4H,SAAgB,EAAkB,CAAC,SAAO,CAAC,CAAyS,MAAxS,GAAU,IAAI,CAAC,IAAM,EAAe,SAAS,cAAc,yDAAyD,CAAC,IAAI,EAAe,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAyE,AAAxE,EAAO,IAAI,2CAA2C,EAAO,OAAM,EAAK,SAAS,KAAK,YAAY,EAAO,AAAE,CAAC,EAAC,CAAE,EAAC,CAAqB,EAAK,MAAM,CAAC,eAAe,EAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,OAAO,QAAQ,CAAE,CAAC,EAAC,AAAE,cAAA,AAAvmB,GAA2C,IAA6B,IAAoD,CAA2e,EAAoB,EAAkB,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,4BAA6B,CAAC,EAAC"}