import { getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
import { __require as requireDist } from './dist/index.mjs';
import { __require as requireLib } from './lib/index.mjs';

function isNodeLT(tar) {
  tar = (Array.isArray(tar) ? tar : tar.split('.')).map(Number);
  let i = 0,
    src = process.versions.node.split('.').map(Number);
  for (; i < tar.length; i++) {
    if (src[i] > tar[i]) return false;
    if (tar[i] > src[i]) return true;
  }
  return false;
}
var prompts = isNodeLT('8.6.0') ? requireDist() : requireLib();
const prompts$1 = /*@__PURE__*/getDefaultExportFromCjs(prompts);

export { prompts$1 as default };
