import{c as a,r as m}from"./index-26FXPGkN.js";function h(r,s){const t=a.c(4),i=s;let o,n;t[0]!==r||t[1]!==i?(o=()=>{const e=document.getElementById("root");if(!e)return;const l=window.innerWidth>document.documentElement.clientWidth?window.innerWidth-document.documentElement.clientWidth:0;{const c=e.style.overflow,d=e.style.paddingRight;return e.style.overflow="hidden",l&&(e.style.paddingRight=`${l}px`),()=>{e.style.overflow=c,e.style.paddingRight=d}}},n=[r,i],t[0]=r,t[1]=i,t[2]=o,t[3]=n):(o=t[2],n=t[3]),m.useEffect(o,n)}export{h as u};
