{"version":3,"file":"Example.fkYM3VHx.mjs","names":[],"sources":["https:/framerusercontent.com/modules/05B5K0pCl9oc4uJEto2N/BJPpejUDWWaYUUJXIIag/Example.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType,addPropertyControls,RenderTarget}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Example({platform=\"react\",id}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:!isCanvas&&/*#__PURE__*/_jsx(\"iframe\",{loading:\"lazy\",src:`https://examples.motion.dev/${platform}/${id}?utm_source=embed`,style:iframeStyle,allow:\"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking; clipboard-write;\",sandbox:\"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation allow-top-navigation-by-user-activation\"})});}addPropertyControls(Example,{platform:{type:ControlType.Enum,defaultValue:\"react\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\",options:[\"react\",\"js\",\"vue\"],optionTitles:[\"React\",\"JavaScript\",\"Vue\"]},id:{title:\"ID\",type:ControlType.String}});// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={width:\"100%\",paddingBottom:\"75%\",position:\"relative\"};const iframeStyle={width:\"100%\",height:\"100%\",border:0,position:\"absolute\",top:0,left:0};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Example\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Example.map"],"mappings":"mPAMG,SAAwB,EAAQ,CAAC,WAAS,QAAQ,KAAG,CAAC,CAAC,IAAM,EAAS,EAAa,SAAS,GAAG,EAAa,OAAO,MAAoB,GAAK,MAAM,CAAC,MAAM,EAAe,UAAU,GAAuB,EAAK,SAAS,CAAC,QAAQ,OAAO,KAAK,8BAA8B,EAAS,GAAG,EAAG,mBAAmB,MAAM,EAAY,MAAM,uKAAuK,QAAQ,uJAAwJ,EAAC,AAAC,EAAC,AAAE,kBAEjkB,AARlF,GAA2C,IAAiE,CAMuiB,EAAoB,EAAQ,CAAC,SAAS,CAAC,KAAK,EAAY,KAAK,aAAa,QAAQ,yBAAwB,EAAK,0BAA0B,WAAW,QAAQ,CAAC,QAAQ,KAAK,KAAM,EAAC,aAAa,CAAC,QAAQ,aAAa,KAAM,CAAC,EAAC,GAAG,CAAC,MAAM,KAAK,KAAK,EAAY,MAAO,CAAC,EAAC,CAEl5B,EAAe,CAAC,MAAM,OAAO,cAAc,MAAM,SAAS,UAAW,EAAO,EAAY,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,EAAE,SAAS,WAAW,IAAI,EAAE,KAAK,CAAE"}