public function getPanels(array $config, array $data) : array
    {
        $result = ['success' => [], 'fail' => []];

        foreach (Panel::getPanelNames($config) as $name) {
            $panel = new Panel($name, $config);
            if (!empty($data) && $panel->evalExpression($data)) {
                $result['success'][] = $panel->getName();
            } else {
                $result['fail'][] = $panel->getName();
            }
        }

        return $result;
    }