{"version":3,"file":"banner.cjs","names":["readFileSync","gradients","colors","divider"],"sources":["../../src/utils/banner.ts"],"sourcesContent":["import { readFileSync } from \"node:fs\";\nimport { colors, divider, gradients } from \"./theme\";\n\nconst pkg = JSON.parse(readFileSync(new URL(\"../../package.json\", import.meta.url), \"utf-8\")) as {\n  version: string;\n};\n\nconst ASCII_BOS = `\n  ██████╗  ██████╗ ███████╗\n  ██╔══██╗██╔═══██╗██╔════╝\n  ██████╔╝██║   ██║███████╗\n  ██╔══██╗██║   ██║╚════██║\n  ██████╔╝╚██████╔╝███████║\n  ╚═════╝  ╚═════╝ ╚══════╝`;\n\nexport function printBanner(title = \"everything-dev\", version = pkg.version) {\n  console.log(gradients.cyber(ASCII_BOS));\n  console.log();\n  console.log(colors.dim(`  ${title} ${colors.cyan(`v${version}`)}`));\n  console.log(colors.dim(`  ${divider(30)}`));\n  console.log();\n}\n"],"mappings":";;;;AAGA,MAAM,MAAM,KAAK,UAAMA,sBAAa,IAAI,IAAI,mEAAqC,GAAG,OAAO,CAAC;AAI5F,MAAM,YAAY;;;;;;;AAQlB,SAAgB,YAAY,QAAQ,kBAAkB,UAAU,IAAI,SAAS;CAC3E,QAAQ,IAAIC,wBAAU,MAAM,SAAS,CAAC;CACtC,QAAQ,IAAI;CACZ,QAAQ,IAAIC,qBAAO,IAAI,KAAK,MAAM,GAAGA,qBAAO,KAAK,IAAI,SAAS,GAAG,CAAC;CAClE,QAAQ,IAAIA,qBAAO,IAAI,KAAKC,sBAAQ,EAAE,GAAG,CAAC;CAC1C,QAAQ,IAAI;AACd"}