{"version":3,"file":"IframeC.DFlFlHKc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/hFfvBIINn9CMW2RnRxVO/VC7oA817DvcKx07qjs8D/IframeC.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function IframeC(props){const{url,lang,tab}=props;const getIframeSrc=()=>{const trimmedUrl=url.replace(/\\/$/,\"\");if(lang===\"ko\"){return`${trimmedUrl}?tab=${tab}`;}else{return`${url}?lang=${lang}&tab=${tab}`;}};if(!url)return null;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100dvh\",maxWidth:\"600px\",margin:\"0 auto\",display:\"flex\",flexDirection:\"column\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"iframe\",{allow:\"payment; geolocation\",sandbox:\"allow-scripts allow-same-origin allow-popups allow-forms allow-top-navigation allow-top-navigation-by-user-activation allow-popups-to-escape-sandbox allow-navigation allow-pointer-lock\",src:getIframeSrc(),style:{width:\"100%\",height:\"100%\",flex:\"1\",border:\"none\"}})});}addPropertyControls(IframeC,{url:{title:\"URL\",type:ControlType.String,defaultValue:\"\"},lang:{title:\"Language\",type:ControlType.String,defaultValue:\"ko\"},tab:{title:\"Tab\",type:ControlType.String,defaultValue:\"home\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"IframeC\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IframeC.map"],"mappings":"iOAA+F,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,MAAI,OAAK,MAAI,CAAC,EAAY,EAAa,IAAI,CAAC,IAAM,EAAW,EAAI,QAAQ,MAAM,GAAG,CAAwD,OAApD,IAAO,QAAe,EAAW,OAAO,OAAqB,EAAI,QAAQ,EAAK,OAAO,GAAQ,EAAqB,OAAhB,EAAoC,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,SAAS,SAAS,QAAQ,OAAO,SAAS,QAAQ,OAAO,cAAc,SAAS,SAAS,QAAS,EAAC,SAAsB,EAAK,SAAS,CAAC,MAAM,uBAAuB,QAAQ,2LAA2L,IAAI,GAAc,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,KAAK,IAAI,OAAO,MAAO,CAAC,EAAC,AAAC,EAAC,CAAxf,IAA0f,cAAA,AAAz0B,GAA2C,IAAoD,CAA0uB,EAAoB,EAAQ,CAAC,IAAI,CAAC,MAAM,MAAM,KAAK,EAAY,OAAO,aAAa,EAAG,EAAC,KAAK,CAAC,MAAM,WAAW,KAAK,EAAY,OAAO,aAAa,IAAK,EAAC,IAAI,CAAC,MAAM,MAAM,KAAK,EAAY,OAAO,aAAa,MAAO,CAAC,EAAC"}