/*!
 * (C) Gasco https://gasco-web-component.herokuapp.com/ - MIT License
 */
import{a as o}from"./p-86e917d2.js";const s=o=>o&&"GASCO-CONTENT"===o.tagName,t=o=>o.querySelector(".gasco-content-scroll-host")||o.querySelector("gasco-content, .gasco-content-scroll-host"),c=o=>o.closest("gasco-content, .gasco-content-scroll-host"),n=s=>o(s,"gasco-content"),a=o=>{if(s(o)){const s=o.scrollY;return o.scrollY=!1,s}return o.style.setProperty("overflow","hidden"),!0},e=(o,t)=>{s(o)?o.scrollY=t:o.style.removeProperty("overflow")};export{c as a,a as d,t as f,n as p,e as r}