{"version":3,"file":"LenisInstance.Cyv97d1l.mjs","names":["Lenis"],"sources":["https:/framerusercontent.com/modules/2jJP0ql4nGbL3ahxG6y0/UHQ7yrbmfi86eqDQWxJl/LenisInstance.js"],"sourcesContent":["import Lenis from\"@studio-freight/lenis\";export function getLenis(){if(typeof window===\"undefined\")return null;if(window.__lenis)return window.__lenis;if(window.__lenisCreating)return null;window.__lenisCreating=true;if(window.__lenisRaf){cancelAnimationFrame(window.__lenisRaf);window.__lenisRaf=null;}if(window.__lenis){window.__lenis.destroy();window.__lenis=null;}const lenis=new Lenis({duration:1.2,smoothWheel:true});window.__lenis=lenis;const raf=time=>{const instance=window.__lenis;if(!instance){if(window.__lenisRaf){cancelAnimationFrame(window.__lenisRaf);window.__lenisRaf=null;}return;}instance.raf(time);window.__lenisRaf=requestAnimationFrame(raf);};window.__lenisRaf=requestAnimationFrame(raf);window.__lenisCreating=false;return lenis;}export function destroyLenis(){if(typeof window===\"undefined\")return;window.__lenisCreating=false;if(window.__lenisRaf){cancelAnimationFrame(window.__lenisRaf);window.__lenisRaf=null;}if(window.__lenis){window.__lenis.destroy();window.__lenis=null;}}let isDraggingGlobal=false;export function setDragging(value){isDraggingGlobal=value;}export function getDragging(){return isDraggingGlobal;}\nexport const __FramerMetadata__ = {\"exports\":{\"getLenis\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setDragging\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"destroyLenis\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDragging\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LenisInstance.map"],"mappings":"2JAAyC,SAAgB,GAAU,CAAC,GAAU,IAAS,OAAY,OAAO,KAAK,GAAG,EAAO,QAAQ,OAAO,EAAO,QAAQ,GAAG,EAAO,gBAAgB,OAAO,KAAK,EAAO,gBAAgB,GAAK,AAA8D,EAAO,cAA/C,qBAAqB,EAAO,WAAW,CAAmB,MAAM,AAA4C,EAAO,WAAhC,EAAO,QAAQ,SAAS,CAAgB,MAAM,IAAM,EAAM,IAAIA,EAAM,CAAC,SAAS,IAAI,YAAY,GAAK,CAAC,CAAC,EAAO,QAAQ,EAAM,IAAM,EAAI,GAAM,CAAC,IAAM,EAAS,EAAO,QAAQ,GAAG,CAAC,EAAS,CAAC,AAA8D,EAAO,cAA/C,qBAAqB,EAAO,WAAW,CAAmB,MAAM,OAAQ,EAAS,IAAI,EAAK,CAAC,EAAO,WAAW,sBAAsB,EAAI,EAA6E,MAA1E,GAAO,WAAW,sBAAsB,EAAI,CAAC,EAAO,gBAAgB,GAAa,EAAO,SAAgB,GAAc,CAAW,IAAS,SAAmB,EAAO,gBAAgB,GAAM,AAA8D,EAAO,cAA/C,qBAAqB,EAAO,WAAW,CAAmB,MAAM,AAA4C,EAAO,WAAhC,EAAO,QAAQ,SAAS,CAAgB,4BAA37B"}