{"version":3,"file":"shared.DOk1fWNB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/jIIZTK6P9hxZ2zpV87cF/QbftaUi6GgyBJ8Ns9PMx/Redirect.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Redirect(props){const{href}=props;// On considère qu'on est dans l’éditeur si la page est dans une iframe\nconst isInEditor=window!==window.parent;useEffect(()=>{if(!isInEditor){window.location.href=href;}},[href,isInEditor]);return isInEditor?/*#__PURE__*/_jsxs(\"p\",{children:[\"Redirecting to \",href]}):/*#__PURE__*/_jsx(\"div\",{});}addPropertyControls(Redirect,{href:{title:\"href\",type:ControlType.String,defaultValue:\"/\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Redirect\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Redirect.map"],"mappings":"+LAIG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,QAAM,EACjD,EAAW,IAAS,EAAO,OAAsF,OAA/E,MAAc,CAAK,IAAY,EAAO,SAAS,KAAK,IAAQ,CAAC,EAAK,EAAW,CAAC,CAAQ,EAAwB,EAAM,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAK,CAAC,CAAC,CAAc,EAAK,MAAM,EAAE,CAAC,sBAJvK,IAA6B,IAAoD,CAIwF,EAAoB,EAAS,CAAC,KAAK,CAAC,MAAM,OAAO,KAAK,EAAY,OAAO,aAAa,IAAI,CAAC,CAAC"}