"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function getThumbRatio(viewportSize, contentSize) {
  const ratio = viewportSize / contentSize;
  return Number.isNaN(ratio) ? 0 : ratio;
}
exports.getThumbRatio = getThumbRatio;
