"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(e,t=0,l=100){return Math.max(t,Math.min(e,l))}function o(e,t){const l=t==="horizontal"?"Left":"Top",i=t==="horizontal"?"Width":"Height";return{totalSize:e[`scroll${i}`],visibleSize:e[`offset${i}`],distance:e[`scroll${l}`],topOrLeft:l,widthOrHeight:i}}function r(e,t){const{totalSize:l,visibleSize:i}=o(e,t);return l>i}exports.ensureRangeValue=n;exports.getScrollable=o;exports.isScrollable=r;
