'🏠 ' . __( 'Home', 'vidal-security-ai' ),
'centinela' => '👁️ ' . __( 'Sentinel', 'vidal-security-ai' ),
'protecciones' => '🔒 ' . __( 'Protections', 'vidal-security-ai' ),
'rondas' => '📋 ' . __( 'Rounds', 'vidal-security-ai' ),
'ajustes' => '⚙️ ' . __( 'Settings', 'vidal-security-ai' ),
);
// Datos de las baldosas (solo opciones guardadas: sin llamadas externas).
$guardian_on = function_exists( 'vsai_premium_is_active' ) && vsai_premium_is_active();
$rep_opt = get_option( 'vsai_last_report', array() );
$ev24 = ( is_array( $rep_opt ) && isset( $rep_opt['data']['totals']['events'] ) ) ? (int) $rep_opt['data']['totals']['events'] : null;
$rounds_t = function_exists( 'vsai_sentinel_get_rounds' ) ? vsai_sentinel_get_rounds() : array();
$hard_on_n = 0;
foreach ( array_keys( $defs ) as $hk ) {
if ( ! empty( $settings[ $hk ] ) ) {
$hard_on_n++;
}
}
$hard_total = count( $defs );
$brain_lbl = ( function_exists( 'vsai_premium_brain' ) && 'flow' === vsai_premium_brain() ) ? 'Vidal Flow' : 'n8n';
$woo_n = null;
if ( class_exists( 'WooCommerce' ) ) {
$woo_n = 0;
foreach ( array( 'vsai_antifraud_active', 'vsai_cg_active', 'vsai_pay_active' ) as $wf ) {
if ( function_exists( $wf ) && $wf() ) {
$woo_n++;
}
}
}
?>
🎫
home_url(),
'v' => VSAI_VERSION,
'lang' => $vsai_lang,
),
'es' === $vsai_lang
? 'https://vidaldigitalmiami.com/vidal-security-ai-soporte.html'
: 'https://vidaldigitalmiami.com/vidal-security-ai-support.html'
);
?>