{"version":3,"file":"IframeOverrides.CL_MGAwq.mjs","names":[],"sources":["https:/framerusercontent.com/modules/cvnAgqA6ktA6ZKLoSCbB/jVnPMcV2i2qGRjbo0Hd1/IframeOverrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";function isRunningInIframe(){try{return window.self!==window.top;}catch(e){return true// cross-origin\n;}}/**\n * iframe 안에서는 렌더링하지 않음 (null)\n * iframe 밖에서는 정상 렌더링\n */export function withoutRenderInIframe(Component){return /*#__PURE__*/forwardRef((props,ref)=>{if(isRunningInIframe())return null;return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withoutRenderInIframe\":{\"type\":\"reactHoc\",\"name\":\"withoutRenderInIframe\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IframeOverrides.map"],"mappings":"gIAAyE,SAAS,GAAmB,CAAC,GAAG,CAAC,OAAO,EAAO,OAAO,EAAO,SAAa,CAAC,MAAO,IAIxJ,SAAgB,EAAsB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAU,GAAmB,CAAQ,KAAyB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,CAAC,CAAG,sBAJlJ,IAA8B"}