{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/CHjhxtZGnQZOi74ycLzV/2U3LuEnGwOCZZzjj7vSE/TestComponent.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function Parent(props){const{iframeSrc,dataSrc}=props;useEffect(()=>{var _document_getElementById;(_document_getElementById=document.getElementById(\"bokun_widget\"))===null||_document_getElementById===void 0?void 0:_document_getElementById.classList.add(\"bokunWidget\");// Dynamically load the script\nconst script=document.createElement(\"script\");script.src=iframeSrc;script.async=true;document.body.appendChild(script);// Cleanup script when component unmounts\nreturn()=>{document.body.removeChild(script);};},[]);// Empty dependency array to run only once on mount\nreturn /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"auto\"},id:\"bokun_widget\",className:\"bokunWidget\",\"data-src\":dataSrc});}Parent.defaultProps={iframeSrc:\"asd\",dataSrc:\"asdasd\"};addPropertyControls(Parent,{iframeSrc:{title:\"iframe-src\",type:ControlType.String},dataSrc:{title:\"data-src\",type:ControlType.String}})// import { addPropertyControls, ControlType } from \"framer\"\n// export function MyComponent(props) {\n//     return <div>{props.text}</div>\n// }\n// MyComponent.defaultProps = {\n//     text: \"Hello World!\",\n// }\n// addPropertyControls(MyComponent, {\n//     text: { type: ControlType.String, title: \"Hello World\" },\n// })\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Parent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TestComponent.map"],
  "mappings": "gGAA2I,SAARA,EAAwBC,EAAM,CAAC,GAAK,CAAC,UAAAC,EAAU,QAAAC,CAAO,EAAEF,EAAM,OAAAG,EAAU,IAAI,CAAC,IAAIC,GAA0BA,EAAyB,SAAS,eAAe,cAAc,KAAK,MAAMA,IAA2B,QAAcA,EAAyB,UAAU,IAAI,aAAa,EACrZ,IAAMC,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAIJ,EAAUI,EAAO,MAAM,GAAK,SAAS,KAAK,YAAYA,CAAM,EAC/G,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAC/BC,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,EAAE,GAAG,eAAe,UAAU,cAAc,WAAWJ,CAAO,CAAC,CAAE,CAACH,EAAO,aAAa,CAAC,UAAU,MAAM,QAAQ,QAAQ,EAAEQ,EAAoBR,EAAO,CAAC,UAAU,CAAC,MAAM,aAAa,KAAKS,EAAY,MAAM,EAAE,QAAQ,CAAC,MAAM,WAAW,KAAKA,EAAY,MAAM,CAAC,CAAC",
  "names": ["Parent", "props", "iframeSrc", "dataSrc", "ue", "_document_getElementById", "script", "p", "addPropertyControls", "ControlType"]
}
