import { isWebkit } from './chunk-ZW4THJEX.mjs';

// src/webkitVersion.ts
function webkitVersion() {
  if (typeof navigator === "undefined")
    return 0;
  return isWebkit() ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
}

export { webkitVersion };
