<?php
defined("ABSPATH") || exit;
require_once __DIR__ . '/../shared/screener_table.php';
$vunelix_widget = vunelix_build_screener_widget('crypto-screener', 'coin', [
    'overview'            => 'Overview',
    'performance'         => 'Performance',
    'addresses'           => 'Addresses',
    'volatility_analysis' => 'Volatility',
    'transactions'        => 'Transactions',
    'technical_analysis'  => 'Technical',
]);
$vunelix_widget['js'] = 'widgets/screener/vunelix-crypto-screener.js';
$vunelix_widget['defaults']['default_sort'] = $vunelix_widget['settings']['data']['fields']['default_sort']['default'] = 'perf.rank_asc';
$vunelix_widget['defaults']['animation_mode'] = $vunelix_widget['settings']['live_data']['fields']['animation_mode']['default'] = 'full';

return $vunelix_widget;
