{"version":3,"file":"Redirect.OSSOkVWI.mjs","names":[],"sources":["https:/framerusercontent.com/modules/PC19YMQzOzg5UGnFpFrL/TW3omJBg8VGmi0waIFUt/Redirect.js"],"sourcesContent":["// Forwarding page body: used on old addresses until the Framer plan allows real redirects. Sends the visitor on\n// immediately (replace, so Back still works), and renders the destination as a link for anyone with scripts off.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{T,useFonts}from\"https://framerusercontent.com/modules/T2A8xoQSYzwCHK2nxkTO/uO1IOPMp0RFunTn9sulQ/BeautiData.js\";/**\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 320\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Redirect(props){const{to=\"/\",label=\"This page has moved.\"}=props;useFonts();useEffect(()=>{if(typeof window===\"undefined\"||!to)return;try{const target=new URL(to,window.location.origin);if(target.pathname!==window.location.pathname)window.location.replace(target.toString());}catch{}},[to]);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,width:\"100%\",minHeight:320,display:\"grid\",placeItems:\"center\",padding:\"120px 24px\",boxSizing:\"border-box\",background:T.ivory,textAlign:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:T.display,fontWeight:600,fontSize:30,lineHeight:1.1,color:T.navy,margin:\"0 0 12px\"},children:label}),/*#__PURE__*/_jsxs(\"a\",{href:to,style:{fontFamily:T.sans,fontSize:16,color:T.navy},children:[\"Continue to \",to]})]})});}addPropertyControls(Redirect,{to:{type:ControlType.String,title:\"To\",defaultValue:\"/\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"This page has moved.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Redirect\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicHeight\":\"320\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"uPAOG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,KAAG,IAAI,QAAM,wBAAwB,EAAwO,OAAlO,EAAS,EAAE,MAAc,CAAI,KAAO,IAAS,QAAa,CAAC,GAAU,GAAG,CAAC,IAAM,EAAO,IAAI,IAAI,EAAG,EAAO,SAAS,MAAM,EAAK,EAAO,WAAW,EAAO,SAAS,UAAS,EAAO,SAAS,QAAQ,EAAO,SAAS,CAAC,CAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAE,CAAC,EAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,OAAO,UAAU,IAAI,QAAQ,OAAO,WAAW,SAAS,QAAQ,aAAa,UAAU,aAAa,WAAW,EAAE,MAAM,UAAU,QAAQ,EAAE,SAAsB,EAAM,MAAM,CAAC,SAAS,CAAc,EAAK,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,WAAW,IAAI,SAAS,GAAG,WAAW,IAAI,MAAM,EAAE,KAAK,OAAO,UAAU,EAAE,SAAS,CAAK,CAAC,EAAe,EAAM,IAAI,CAAC,KAAK,EAAG,MAAM,CAAC,WAAW,EAAE,KAAK,SAAS,GAAG,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,eAAe,CAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,qBAL/vB,IAA6B,IAAoD,IAAsH,EAKyjB,EAAoB,EAAS,CAAC,GAAG,CAAC,KAAK,EAAY,OAAO,MAAM,KAAK,aAAa,GAAG,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,sBAAsB,CAAC,CAAC"}