{"version":3,"file":"shared-lib.CVCAmi5F.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/QiuA1yPQMsoMczUB1kvU/RxMyq8lDbzLD2rUhr2tc/Scroll.js","https:/framerusercontent.com/modules/zyEnopntQhtfYOorPiBY/KCQBFs6OmsAUeLaBR92O/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{motionValue}from\"framer-motion\";const scrollOffset=motionValue(0);export function withScrollToggledVariant(Component){const thresholdY=80;return props=>{const[isPastThreshold,setIsPastThreshold]=useState(false);const[isDesktop,setIsDesktop]=useState(true);useEffect(()=>{const checkWidth=()=>setIsDesktop(window.innerWidth>1199);checkWidth();window.addEventListener(\"resize\",checkWidth);return()=>window.removeEventListener(\"resize\",checkWidth);},[]);useEffect(()=>scrollOffset.onChange(latest=>setIsPastThreshold(latest>thresholdY)),[]);if(!isDesktop){return /*#__PURE__*/_jsx(Component,{...props});}return /*#__PURE__*/_jsx(Component,{...props,variant:isPastThreshold?\"Shadow\":\"Default\"});};}export function withScroll(Component){return props=>{useEffect(()=>{const onScroll=()=>{scrollOffset.set(window.scrollY);};window.addEventListener(\"scroll\",onScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",onScroll);},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withScroll\":{\"type\":\"reactHoc\",\"name\":\"withScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollToggledVariant\":{\"type\":\"reactHoc\",\"name\":\"withScrollToggledVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scroll.map","// Generated by Framer (eaac66a)\nexport default function metadata(params,activeLocale){return{description:\"Soft, Seductive, and oh so Soothing.\",favicon:\"https://framerusercontent.com/assets/eEmRumddtUYmqsh8tWzaJ5QVGc.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/3tITqh074uXaHGNWuTMssBPZhl4.png\",title:\"VAllure - EN AVtuber Agency\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mLAA0J,SAAgB,EAAyB,EAAU,CAAqB,MAAO,IAAO,CAAC,GAAK,CAAC,EAAgB,GAAoBA,EAAS,GAAM,CAAM,CAAC,EAAU,GAAcA,EAAS,GAAK,CAA0V,OAAzV,MAAc,CAAC,IAAM,MAAe,EAAa,EAAO,WAAW,KAAK,CAA2D,OAA1D,GAAY,CAAC,EAAO,iBAAiB,SAAS,EAAW,KAAW,EAAO,oBAAoB,SAAS,EAAW,EAAG,EAAE,CAAC,CAAC,MAAc,EAAa,SAAS,GAAQ,EAAmB,EAAO,GAAW,CAAC,CAAC,EAAE,CAAC,CAAK,EAA+E,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAgB,SAAS,UAAU,CAAC,CAArH,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,EAA+F,SAAgB,EAAW,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,MAAa,CAAC,EAAa,IAAI,EAAO,QAAQ,EAA6D,OAA1D,EAAO,iBAAiB,SAAS,EAAS,CAAC,QAAQ,GAAK,CAAC,KAAW,EAAO,oBAAoB,SAAS,EAAS,EAAG,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,yBAApgC,IAAsC,IAAuC,CAAM,EAAa,EAAY,EAAE,ICCzJ,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,YAAY,uCAAuC,QAAQ,sEAAsE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,8BAA8B"}