{"version":3,"file":"Game_Demo_Iframe.CMPscU-H.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/WE8UvXFNMEPkUWqQ9lD5/dPfIiqBH4P0mfWBYnUgD/Game_Demo_Iframe.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function GameDemoIframe(props){const{url,cornerRadius,title}=props;const resolvedUrl=useMemo(()=>{return url||\"https://example.com\";},[url]);return /*#__PURE__*/_jsx(\"iframe\",{title:title,src:resolvedUrl,allow:\"fullscreen\",allowFullScreen:true,style:{position:\"relative\",display:\"block\",width:\"100%\",height:\"100%\",border:\"none\",borderRadius:cornerRadius,background:\"transparent\"}});}addPropertyControls(GameDemoIframe,{url:{type:ControlType.Link,title:\"URL\",defaultValue:\"https://example.com\"},cornerRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:64,step:1,unit:\"px\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Solidicon game demo iframe\",placeholder:\"Accessible iframe title\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GameDemoIframe\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Game_Demo_Iframe.map"],"mappings":"0KAGG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,MAAI,eAAa,SAAO,EAAgF,OAAoB,EAAK,SAAS,CAAO,QAAM,IAAvGA,MAAoB,GAAK,sBAAwB,CAAC,CAAG,CAAgE,EAAE,MAAM,aAAa,gBAAgB,GAAK,MAAM,CAAC,SAAS,WAAW,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,aAAa,EAAa,WAAW,aAAa,CAAC,CAAC,CAAE,iBAHtW,IAAoD,IAA2B,EAGwR,EAAoB,EAAe,CAAC,IAAI,CAAC,KAAK,EAAY,KAAK,MAAM,MAAM,aAAa,qBAAqB,EAAE,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,6BAA6B,YAAY,yBAAyB,CAAC,CAAC"}