{"version":3,"file":"CaseStudyEntry.VCtpW1A6.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","init_jsx_runtime","c","init_npm_react_18_3_1","ce","init_framer_BWFVvmND","RenderTarget","CaseStudyEntry","destination","paths","target","previous","home","init_CaseStudyEntry"],"sources":["https:/framerusercontent.com/modules/zQgEHXDuoDkErnypkoE2/UAv2GKIAPyjHO3SK25l6/CaseStudyEntry.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{RenderTarget}from\"framer\";const paths=new Set([\"/about\",\"/verdigris-ai\",\"/soundtransit-search\",\"/e-commerce-product-creation\"]);/**\n * Restores the gallery shell for direct visits. Embedded case studies stay untouched.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CaseStudyEntry(){React.useEffect(()=>{if(RenderTarget.current()!==RenderTarget.preview||window.top!==window.self)return;if(/(^|\\.)framer\\.com$|framercanvas\\.com$/.test(window.location.hostname))return;const destination=new URL(window.location.href);if(!paths.has(destination.pathname.replace(/\\/$/,\"\")))return;const target=destination.pathname+destination.search+destination.hash;try{const previous=history.state?.__caseStudySheet;if(previous)sessionStorage.setItem(\"__caseStudyResume\",JSON.stringify({target,scroll:history.state?.scrollPosition,sheetScroll:previous.scroll,bounds:previous.bounds}));}catch{}const home=new URL(\"/\",destination.origin);home.searchParams.set(\"case-study\",target);window.location.replace(home.href);},[]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:0,height:0,pointerEvents:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaseStudyEntry\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CaseStudyEntry.map"],"mappings":"A,kLAIG,SAAwBS,GAAgB,CAA+sB,OAA9sBH,MAAoB,CAAmF,GAA/EE,EAAa,QAAQ,IAAIA,EAAa,SAASN,EAAO,MAAMA,EAAO,MAAe,wCAAwC,KAAKA,EAAO,SAAS,QAAQ,EAAE,OAAO,IAAMQ,EAAY,IAAI,IAAIR,EAAO,SAAS,IAAI,EAAE,GAAG,CAACS,EAAM,IAAID,EAAY,SAAS,QAAQ,MAAM,EAAE,CAAC,EAAE,OAAO,IAAME,EAAOF,EAAY,SAASA,EAAY,OAAOA,EAAY,KAAK,GAAG,CAAC,IAAMG,EAAS,QAAQ,OAAO,iBAAoBA,GAAS,eAAe,QAAQ,oBAAoB,KAAK,UAAU,CAAC,SAAO,OAAO,QAAQ,OAAO,eAAe,YAAYA,EAAS,OAAO,OAAOA,EAAS,MAAM,CAAC,CAAC,CAAE,MAAM,CAAC,CAAC,IAAMC,EAAK,IAAI,IAAI,IAAIJ,EAAY,MAAM,EAAEI,EAAK,aAAa,IAAI,aAAaF,CAAM,EAAEV,EAAO,SAAS,QAAQY,EAAK,IAAI,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,cAAc,MAAM,CAAC,CAAC,CAAE,C,oDAJrwB,kBAAM,IAAI,IAAI,CAAC,SAAS,gBAAgB,uBAAuB,8BAA8B,CAAC,C"}