<?php
declare(strict_types=1);

/** @deprecated Use seo_ai_quickwin_card.php with $ssAiQw config. Kept for backward compatibility. */
if (!isset($ssAiQw) || !is_array($ssAiQw)) {
    $ssAiQw = [
        'slug' => 'iqqi',
        'tab' => 'iqqi',
        'csrf' => $seoAiIqqiCsrf ?? \SeoScope\Auth\AdminCsrf::token(),
        'cached_body' => $seoAiIqqiCachedBody ?? null,
        'has_cached' => !empty($seoAiIqqiHasCachedInsight),
        'no_property' => !empty($ssAiIqqiNoProperty),
        'no_rows' => !empty($ssAiIqqiNoRows),
        'configure' => !empty($ssAiIqqiConfigure),
        'idle' => !empty($ssAiIqqiIdle),
        'show_cached' => !empty($ssAiIqqiShowCachedSuccess),
        'session_storage_key' => 'ss_seo_ai_iqqi_has_result',
        'url_query_params' => ['prop', 'range', 'compare', 'device', 'country', 'tab', 'iqqi_min_impr', 'iqqi_pos_min', 'iqqi_pos_max'],
        'intro_hint' => __('seo_ai.iqqi.intro_hint'),
        'not_ready' => __('seo_ai.iqqi.not_ready'),
        'generate_tooltip' => __('seo_ai.iqqi.generate_tooltip'),
    ];
}
require __DIR__ . '/seo_ai_quickwin_card.php';
