{"version":3,"file":"TypeformEmbed_1.CBU9g5TO.mjs","names":["React.useMemo"],"sources":["https:/framerusercontent.com/modules/oEFRcPfK7CtCIieKbAs2/uLondGynIFj2qFG6gZ8R/TypeformEmbed_1.js"],"sourcesContent":["// Instructions: Create a Framer component that follows the Framer component rules and achieves the user's goal.\n// Goal: Embed this Typeform in Framer: https://form.typeform.com/to/x4Ntc2VC\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Typeform Embed\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 700\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TypeformEmbed(props){const{url,title,background,borderRadius,borderColor,borderWidth,allow,allowFullScreen,loading,style}=props;const safeUrl=React.useMemo(()=>{const trimmed=(url||\"\").trim();if(!trimmed)return\"https://form.typeform.com/to/x4Ntc2VC\";return trimmed;},[url]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",background,borderRadius,border:`${borderWidth}px solid ${borderColor}`,...style},children:/*#__PURE__*/_jsx(\"iframe\",{title:title,src:safeUrl,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0},loading:loading,allow:allow,allowFullScreen:allowFullScreen})});}addPropertyControls(TypeformEmbed,{url:{type:ControlType.String,title:\"URL\",defaultValue:\"https://form.typeform.com/to/x4Ntc2VC\",placeholder:\"https://form.typeform.com/to/...\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Typeform\"},loading:{type:ControlType.Enum,title:\"Loading\",defaultValue:\"lazy\",options:[\"lazy\",\"eager\"],optionTitles:[\"Lazy\",\"Eager\"],displaySegmentedControl:true},allowFullScreen:{type:ControlType.Boolean,title:\"Fullscreen\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},allow:{type:ControlType.String,title:\"Allow\",defaultValue:\"camera; microphone; autoplay; encrypted-media; fullscreen; picture-in-picture\",displayTextArea:true},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#EEEEEE\"},borderWidth:{type:ControlType.Number,title:\"Border W\",defaultValue:0,min:0,max:20,step:1,unit:\"px\"},borderRadius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"0px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TypeformEmbed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"700\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TypeformEmbed_1.map"],"mappings":"0KAUG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,MAAI,QAAM,aAAW,eAAa,cAAY,cAAY,QAAM,kBAAgB,UAAQ,SAAO,EAAY,EAAQA,OAAkC,GAAK,GAAA,CAAI,KAAW,GAAc,wCAAyD,CAAC,CAAG,CAAC,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,aAAW,eAAa,OAAO,GAAG,EAAY,WAAW,IAAc,GAAG,CAAK,EAAE,SAAsB,EAAK,SAAS,CAAO,QAAM,IAAI,EAAQ,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,CAAC,EAAU,UAAc,QAAsB,iBAAe,CAAC,CAAC,CAAC,CAAE,iBARjoB,IAA4B,IAAoD,EAQkjB,EAAoB,EAAc,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,MAAM,aAAa,wCAAwC,YAAY,kCAAkC,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAA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