{"version":3,"file":"Example.Dc-Rq0RH.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":"oKAMG,SAAwB,EAAQ,CAAC,WAAS,QAAQ,MAAI,CAA6D,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAe,SAAlG,EAAa,SAAS,GAAG,EAAa,QAA6F,EAAK,SAAS,CAAC,QAAQ,OAAO,IAAI,+BAA+B,EAAS,GAAG,EAAG,mBAAmB,MAAM,EAAY,MAAM,uKAAuK,QAAQ,wJAAwJ,CAAC,CAAC,CAAC,sBANtmB,IAAiE,CAMuiB,EAAoB,EAAQ,CAAC,SAAS,CAAC,KAAK,EAAY,KAAK,aAAa,QAAQ,wBAAwB,GAAK,0BAA0B,WAAW,QAAQ,CAAC,QAAQ,KAAK,MAAM,CAAC,aAAa,CAAC,QAAQ,aAAa,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,KAAK,KAAK,EAAY,OAAO,CAAC,CAAC,CAEl5B,EAAe,CAAC,MAAM,OAAO,cAAc,MAAM,SAAS,WAAW,CAAO,EAAY,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,EAAE,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,CACvJ,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,iBAAiB,KAAO,UAAU,MAAQ,EAAE,CAAC,YAAc,CAAC,2BAA6B,OAAO,sBAAwB,IAAI,4BAA8B,OAAO,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAC"}