{"version":3,"file":"Overrides.BdcyPacV.mjs","names":["useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/1yMqzZDwCcEeGNjmXt4X/Wk8gOt1RIef58n66pj0f/Overrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function ShowOnMobileLandscape(){const[displayStyle,setDisplayStyle]=useState(\"none\");useEffect(()=>{const handleResize=()=>{const isLandscape=window.matchMedia(\"(orientation: landscape)\").matches;const isNarrow=window.innerWidth<=800// Adjust this value based on typical phone widths in landscape\n;const hasTouch=\"ontouchstart\"in window// Check for touch capability\n;const aspectRatio=window.innerWidth/window.innerHeight;const isPhoneAspectRatio=aspectRatio>=1.5// Phones tend to have a longer aspect ratio in landscape\n;const shouldDisplay=isLandscape&&isNarrow&&hasTouch&&isPhoneAspectRatio;setDisplayStyle(shouldDisplay?\"block\":\"none\");};window.addEventListener(\"resize\",handleResize);handleResize()// Initial check\n;return()=>{window.removeEventListener(\"resize\",handleResize);};},[]);return{style:{display:displayStyle}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withShowOnMobileLandscape(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowOnMobileLandscape(props)});};}withShowOnMobileLandscape.displayName=\"ShowOnMobileLandscape\";\nexport const __FramerMetadata__ = {\"exports\":{\"ShowOnMobileLandscape\":{\"type\":\"override\",\"name\":\"ShowOnMobileLandscape\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowOnMobileLandscape\":{\"type\":\"reactHoc\",\"name\":\"withShowOnMobileLandscape\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map"],"mappings":"2LAAiF,SAAgB,GAAuB,CAAC,GAAK,CAAC,EAAa,GAAiBA,EAAS,MAAM,EAItG,OAJwG,MAAc,CAAC,IAAM,MAAiB,CAAC,IAAM,EAAY,EAAO,WAAW,0BAA0B,CAAC,CAAC,QAAc,EAAS,EAAO,YAAY,IACxT,EAAS,iBAAiB,EAC6B,EAA3C,EAAO,WAAW,EAAO,aAAkD,IACrB,EAApD,GAAa,GAAU,GAAU,EAAiD,QAAQ,MAAM,CAAE,EACtH,OADwH,EAAO,iBAAiB,SAAS,CAAY,EAAE,EAAa,MAC1K,CAAC,EAAO,oBAAoB,SAAS,CAAY,CAAE,CAAE,EAAE,CAAC,CAAC,EAAQ,CAAC,MAAM,CAAC,QAAQ,CAAY,CAAC,CAAE,CAAoJ,SAAgB,EAA0B,EAAE,CAAC,MAAO,KAAQ,EAA+BC,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAsB,CAAK,CAAC,CAAC,EAAI,qBAJrZ,IAAsC,IAI8K,EAAkM,EAA0B,YAAY"}