{"version":3,"file":"ChiliPiperEmbedStatic.JFuFljVH.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/rMbIa9tW3Xbvn1rZeqxW/43KWMrKZWNlYf9STuOFi/ChiliPiperEmbedStatic.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function ChiliPiperEmbed(props){const containerRef=useRef(null);useEffect(()=>{const container=containerRef.current;if(!container||!props.url)return;container.innerHTML=`\n            <iframe\n                src=\"${props.url}\"\n                style=\"width:100%; height:100%; border:none; border-radius:12px;\"\n                loading=\"lazy\"\n                allow=\"camera; microphone; fullscreen\">\n            </iframe>\n        `;},[props.url]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\"}});}addPropertyControls(ChiliPiperEmbed,{url:{type:ControlType.String,title:\"ChiliPiper URL\",placeholder:\"https://...\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ChiliPiperEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ChiliPiperEmbedStatic.map"],"mappings":"kLAAmI,SAAwB,EAAgB,EAAM,CAAC,IAAM,EAAaA,EAAO,IAAI,EAOvL,OAPyL,MAAc,CAAC,IAAM,EAAU,EAAa,QAAW,CAAC,GAAW,CAAC,EAAM,MAAW,EAAU,UAAU;;uBAEpS,EAAM,IAAI;;;;;UAKvB,EAAE,CAAC,EAAM,GAAG,CAAC,EAAsB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,CAAC,CAAC,CAAE,iBAPrE,IAAoC,IAAoD,EAOlB,EAAoB,EAAgB,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,YAAY,aAAa,CAAC,CAAC"}