{"version":3,"file":"shared-lib.BVloDXJu.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/Dmlf1edWbbkpGL2EBrkq/Gky7mtnsahnkKNIq4oxF/GzsLhMlAa.js","https:/framerusercontent.com/modules/1ZkqnINd0zFRetwe29jN/BsV0KK37cD2pnv0XB3Om/Overrides.js","https:/framerusercontent.com/modules/3ayQqST7DAUG4J6be1l5/zkYNBd5pbeXCwy4866HJ/siteMetadata.js"],"sourcesContent":["// Generated by Framer (5fe4912)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;STK Bureau Sans Book\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"STK Bureau Sans Book\",source:\"custom\",uiFamilyName:\"STK Bureau Sans Book\",url:\"https://framerusercontent.com/assets/XGrOEFg6V5kM9DQcfPGlX3X6lnQ.woff2\"}]}];export const css=['.framer-a4EaD .framer-styles-preset-1he0aw8:not(.rich-text-wrapper), .framer-a4EaD .framer-styles-preset-1he0aw8.rich-text-wrapper p { --framer-font-family: \"STK Bureau Sans Book\", \"STK Bureau Sans Book Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-9c544569-f15a-487c-bda6-3e8b4e31fe35, #000000); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-a4EaD\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{RenderTarget,motion,useIsStaticRenderer,useScroll,useTransform}from\"framer\";import{forwardRef,useEffect,useRef,useState}from\"react\";export function withHoverVariant(Component){return({...props})=>{const[variant,setVariant]=useState(\"default\");useEffect(()=>{const hasHover=window.matchMedia(\"(hover: hover)\").matches;setVariant(hasHover?\"mobile\":\"default\");},[]);return /*#__PURE__*/_jsx(Component,{...props,variant:variant});};}export function withParallax(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{style,...rest}=props;const scrollRef=useRef(null);const isStaticRenderer=useIsStaticRenderer();const{scrollYProgress}=useScroll({target:scrollRef,offset:[\"start end\",\"end start\"]});const y=useTransform(scrollYProgress,[0,1],[\"-10%\",\"10%\"]);if(isStaticRenderer){return /*#__PURE__*/_jsx(Component,{...props});}return /*#__PURE__*/_jsx(motion.div,{ref:scrollRef,style:{y,scale:1.2,width:\"100%\",height:\"100%\",...style},children:/*#__PURE__*/_jsx(Component,{...rest,style:{width:\"100%\",height:\"100%\"}})});});}export function withSVH(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,height:\"auto\",minHeight:\"100svh\"}});});}/*\nexport function withHairlineHeight(Component): ComponentType {\n    return forwardRef((props, ref) => {\n        return (\n            <Component\n                ref={ref}\n                {...props}\n                style={{\n                    ...props.style,\n                    height: \"0.5px\",\n                }}\n            />\n        )\n    })\n}\n*/export function withFullWidth(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,width:\"100%\"}});});}export function withFullHeight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,height:\"100%\"}});});}export function withBlurBrightness(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const filter=`brightness(150%) blur(10px)`;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,WebkitBackdropFilter:filter,backdropFilter:filter}});});}export function withHeroTitleOffset(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,marginLeft:\"-0.4em\"}});});}export function withMarginAuto(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,margin:\"auto\"}});});}export function withMarginTopAuto(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,marginTop:\"auto\"}});});}export function withNegativeMarginTop(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,marginTop:\"-1px\"}});});}export function withIntro(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const isStaticRenderer=useIsStaticRenderer();const[visible,setVisible]=useState(undefined);useEffect(()=>{const query=window.matchMedia(`(min-width: 1200px)`);setVisible(query.matches);/* const onChange = (e: MediaQueryListEvent) => setVisible(e.matches)\n            query.addEventListener(\"change\", onChange)\n\n            return () => query.removeEventListener(\"change\", onChange)*/},[]);return visible?/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,opacity:isStaticRenderer?0:1}}):null;});}export function withSwiperSlide(Component){return props=>{return /*#__PURE__*/_jsx(\"swiper-slide\",{style:props.style,children:props.children});};}export function withEscClick(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{onTap}=props;useEffect(()=>{if(!onTap)return;const onKeyDown=e=>{if(e.key===\"Escape\"){onTap();}};document.addEventListener(\"keydown\",onKeyDown);return()=>document.addEventListener(\"keydown\",onKeyDown);},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}// Used on page kaufen on \"main\" Frame\nexport function withCaptureScrollPosition(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{/*\n            const setScrollPosition = () => {\n                sessionStorage.setItem(\n                    \"scrollPosition\",\n                    JSON.stringify({ x: 0, y: window.scrollY })\n                )\n            }\n\n            window.addEventListener(\"scroll\", setScrollPosition, {\n                passive: true,\n            })\n\n            return () => {\n                window.removeEventListener(\"scroll\", setScrollPosition)\n            }\n            */},[]);return /*#__PURE__*/_jsx(Component,{...props});});}export function withHistoryBack(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{/*const restoreScrollPosition = () => {\n                const savedPosition = sessionStorage.getItem(\"scrollPosition\")\n\n                if (savedPosition) {\n                    const { x, y } = JSON.parse(savedPosition)\n                    console.log(\"Restoring to position: \", { x, y })\n\n                    setTimeout(() => window.scrollTo(x, y), 100)\n                }\n            }\n\n            window.addEventListener(\"popstate\", restoreScrollPosition)\n\n            return () => {\n                window.removeEventListener(\"popstate\", restoreScrollPosition)\n            }*/},[]);const onClick=e=>{e.preventDefault();// history.scrollRestoration = \"manual\"\nhistory.back();};return /*#__PURE__*/_jsx(Component,{ref:ref,onClick:onClick,...props});});}export function withHeroProgress(Component){return props=>{const ref=useRef(null);const[headerElement,setHeaderElement]=useState(null);const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});useEffect(()=>{const header=document.querySelector(\"header\");if(header){setHeaderElement(header);}},[]);useEffect(()=>{if(!headerElement)return;headerElement.setAttribute(\"data-header\",\"false\");const unsubscribe=scrollYProgress.on(\"change\",value=>{headerElement.setAttribute(\"data-header\",value>.95?\"true\":\"false\");});return unsubscribe;},[scrollYProgress,headerElement]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});};}export function withAriaHidden(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{\"aria-hidden\":\"true\",...props});});}export function withRenderedLive(Component){return props=>{return RenderTarget.current()!==RenderTarget.canvas?/*#__PURE__*/_jsx(Component,{...props}):null;};}\nexport const __FramerMetadata__ = {\"exports\":{\"withFullWidth\":{\"type\":\"reactHoc\",\"name\":\"withFullWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHistoryBack\":{\"type\":\"reactHoc\",\"name\":\"withHistoryBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroProgress\":{\"type\":\"reactHoc\",\"name\":\"withHeroProgress\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAriaHidden\":{\"type\":\"reactHoc\",\"name\":\"withAriaHidden\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBlurBrightness\":{\"type\":\"reactHoc\",\"name\":\"withBlurBrightness\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSVH\":{\"type\":\"reactHoc\",\"name\":\"withSVH\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withParallax\":{\"type\":\"reactHoc\",\"name\":\"withParallax\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroTitleOffset\":{\"type\":\"reactHoc\",\"name\":\"withHeroTitleOffset\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIntro\":{\"type\":\"reactHoc\",\"name\":\"withIntro\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRenderedLive\":{\"type\":\"reactHoc\",\"name\":\"withRenderedLive\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNegativeMarginTop\":{\"type\":\"reactHoc\",\"name\":\"withNegativeMarginTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFullHeight\":{\"type\":\"reactHoc\",\"name\":\"withFullHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverVariant\":{\"type\":\"reactHoc\",\"name\":\"withHoverVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMarginTopAuto\":{\"type\":\"reactHoc\",\"name\":\"withMarginTopAuto\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEscClick\":{\"type\":\"reactHoc\",\"name\":\"withEscClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCaptureScrollPosition\":{\"type\":\"reactHoc\",\"name\":\"withCaptureScrollPosition\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMarginAuto\":{\"type\":\"reactHoc\",\"name\":\"withMarginAuto\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSwiperSlide\":{\"type\":\"reactHoc\",\"name\":\"withSwiperSlide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map","// Generated by Framer (a1faaee)\nconst valuesByLocaleId={};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{description:\"Wir verstehen uns als Immobilien-Boutique und als Alternative zu den grossen Maklerunternehmen.\",favicon:\"https://framerusercontent.com/assets/EdYBdIQ0ga9NJQsW99YybFKe4nI.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/PEdvswEnDk1y9PeFlxV9Zyr58.jpg\",title:\"Moser Anlageimmobilien\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"qSAC8B,GAAU,UAAU,CAAC,8BAA8B,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,uBAAuB,OAAO,SAAS,aAAa,uBAAuB,IAAI,yEAAyE,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,kuBAAkuB,CAAc,EAAU,kBCD1lB,SAAgB,EAAa,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,QAAM,GAAG,GAAM,EAAY,EAAUA,EAAO,KAAK,CAAO,EAAiB,GAAqB,CAAM,CAAC,mBAAiB,EAAU,CAAC,OAAO,EAAU,OAAO,CAAC,YAAY,YAAY,CAAC,CAAC,CAAO,EAAE,EAAa,EAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,MAAM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