Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);let e=require(`overlayscrollbars`);var t={name:`dt-scrollbar-directive`,install(t){e.OverlayScrollbars.plugin(e.ClickScrollPlugin);let n=new WeakMap;t.directive(`dt-scrollbar`,{mounted(t,r){let i=(0,e.OverlayScrollbars)({target:t,elements:{viewport:t.children[0]}},{scrollbars:{autoHide:`${r.arg||`leave`}`,clickScroll:!0,autoHideDelay:`${!r.arg||r.arg===`leave`?0:1300}`}});t.setAttribute(`data-overlayscrollbars-initialize`,!0),t.classList.add(`d-scrollbar`),n.set(t,i)},unmounted(e){n.get(e).destroy()}})}};exports.DtScrollbarDirective=t,exports.default=t;
//# sourceMappingURL=scrollbar.cjs.map