{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/q0g5E0tXREL5Ai3xECep/pPfS0HNwW6gq095QSZkw/AuthRedirect.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";function isFramerEditor(){// Framer Canvas runs in an iframe, and sets window.framer\nreturn typeof window!==\"undefined\"&&(window.location.hostname.endsWith(\"framer.app\")||window.location.hostname===\"localhost\"||\"framer\"in window||window.parent!==window)// running in an iframe\n;}export default function AuthRedirect(){useEffect(()=>{if(isFramerEditor())return;// Don't redirect in editor/canvas\nconst isSignedIn=localStorage.getItem(\"userSignedIn\");if(isSignedIn!==\"true\"){// Store the current path before redirecting\nlocalStorage.setItem(\"postSignInRedirect\",window.location.pathname+window.location.search);setTimeout(()=>{window.location.replace(\"/sign-in-to-kai\");},200)// 200ms delay\n;}},[]);// Render an invisible div so Framer can drag it\nreturn /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AuthRedirect\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AuthRedirect.map"],
  "mappings": "qGAAAA,IAAwE,SAASC,GAAgB,CACjG,OAAO,OAAO,OAAS,MAAc,OAAO,SAAS,SAAS,SAAS,YAAY,GAAG,OAAO,SAAS,WAAW,aAAa,WAAW,QAAQ,OAAO,SAAS,OAChK,CAAgB,SAARC,GAA+B,CAAC,OAAAC,EAAU,IAAI,CAAC,GAAGF,EAAe,EAAE,OAC3D,aAAa,QAAQ,cAAc,IAAkB,SACtE,aAAa,QAAQ,qBAAqB,OAAO,SAAS,SAAS,OAAO,SAAS,MAAM,EAAE,WAAW,IAAI,CAAC,OAAO,SAAS,QAAQ,iBAAiB,CAAE,EAAE,GAAG,EACzJ,EAAE,CAAC,CAAC,EACcG,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAE",
  "names": ["init_ssg_sandbox_shims", "isFramerEditor", "AuthRedirect", "ue", "p"]
}
