1import{d as c,f as o,h as i,L as d,a as f,o as u,D as _,b as p,V as v,_ as m}from"./Ck57IufR.js";const b=c({__name:"AScrollbar",props:{withWrap:{type:Boolean,default:!0}},setup(a){const n=a,l=o(null),s=o(),t=()=>{const e=s.value;e&&(e.scrollLeft>0?e.classList.add("is-blurred-left"):e.classList.remove("is-blurred-left"),e.scrollLeft<e.scrollWidth-e.clientWidth?e.classList.add("is-blurred-right"):e.classList.remove("is-blurred-right"))};return i(()=>{var r;const e=(r=l.value)==null?void 0:r.firstElementChild;e&&(s.value=e,e.classList.add("a-scrollbar__inner"),e.addEventListener("scroll",t),t())}),d(()=>{s.value&&s.value.removeEventListener("scroll",t)}),(e,r)=>(u(),f("div",{class:_(["a-scrollbar",{"with-wrap":n.withWrap}])},[p("div",{ref_key:"slotContentRef",ref:l,class:"a-scrollbar__content"},[v(e.$slots,"default",{ref:"slotRef"},void 0,!0)],512)],2))}}),L=m(b,[["__scopeId","data-v-9d27c2e9"]]);export{L as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.