agentorie_chat_get_setting( 'bot_name', 'Stella' ), 'bot_subtitle' => agentorie_chat_get_setting( 'bot_subtitle', __( 'Virtual Assistant', 'agentorie-chat' ) ), 'bot_avatar' => agentorie_chat_get_setting( 'bot_avatar', '🤖' ), 'availability_text' => agentorie_chat_get_setting( 'availability_text', __( 'Available 24/7', 'agentorie-chat' ) ), 'welcome_title' => agentorie_chat_get_setting( 'welcome_title', __( 'Hello 👋', 'agentorie-chat' ) ), 'welcome_message' => agentorie_chat_get_setting( 'welcome_message', __( 'I am here to answer your questions.', 'agentorie-chat' ) ), 'welcome_font_weight' => agentorie_chat_get_setting( 'welcome_font_weight', '600' ), // Input Placeholders. 'input_placeholder' => agentorie_chat_get_setting( 'input_placeholder', __( 'Type your message...', 'agentorie-chat' ) ), 'voice_placeholder' => agentorie_chat_get_setting( 'voice_placeholder', __( 'Speak or write your message...', 'agentorie-chat' ) ), 'lang_selector_title' => agentorie_chat_get_setting( 'lang_selector_title', __( 'Select your language', 'agentorie-chat' ) ), // Voice Features. 'speech_to_text' => agentorie_chat_get_setting( 'speech_to_text', false ), 'text_to_speech' => agentorie_chat_get_setting( 'text_to_speech', false ), // Colors. 'primary_color' => agentorie_chat_get_setting( 'primary_color', '#6366f1' ), 'primary_text_color' => agentorie_chat_get_setting( 'primary_text_color', '#ffffff' ), 'user_bubble_color' => agentorie_chat_get_setting( 'user_bubble_color', '#e5e7eb' ), 'user_text_color' => agentorie_chat_get_setting( 'user_text_color', '#1f2937' ), 'bot_bubble_color' => agentorie_chat_get_setting( 'bot_bubble_color', '#f3f4f6' ), 'bot_text_color' => agentorie_chat_get_setting( 'bot_text_color', '#1f2937' ), 'background_color' => agentorie_chat_get_setting( 'background_color', '#ffffff' ), // Button. 'button_size' => agentorie_chat_get_setting( 'button_size', 'medium' ), 'button_icon' => agentorie_chat_get_setting( 'button_icon', '💬' ), 'button_style' => agentorie_chat_get_setting( 'button_style', 'solid' ), 'button_pulse' => agentorie_chat_get_setting( 'button_pulse', true ), // Chat window. 'chat_width' => agentorie_chat_get_setting( 'chat_width', '380' ), 'chat_height' => agentorie_chat_get_setting( 'chat_height', '550' ), 'border_radius' => agentorie_chat_get_setting( 'border_radius', '16' ), 'shadow_style' => agentorie_chat_get_setting( 'shadow_style', 'medium' ), // Header. 'header_style' => agentorie_chat_get_setting( 'header_style', 'solid' ), 'header_effect' => agentorie_chat_get_setting( 'header_effect', 'none' ), 'show_header_avatar' => agentorie_chat_get_setting( 'show_header_avatar', true ), // Button effects. 'button_effect' => agentorie_chat_get_setting( 'button_effect', 'none' ), 'button_animation' => agentorie_chat_get_setting( 'button_animation', 'pulse' ), 'button_margin_bottom' => agentorie_chat_get_setting( 'button_margin_bottom', '20' ), // Messages. 'show_client_avatar' => agentorie_chat_get_setting( 'show_client_avatar', false ), 'client_avatar' => agentorie_chat_get_setting( 'client_avatar', '👤' ), // Language selector. 'show_lang_selector' => agentorie_chat_get_setting( 'show_lang_selector', true ), ); // Check if license has multiple languages (for language selector preview). $agentorie_features = agentorie_chat_get_setting( 'license_features', array() ); $agentorie_default_language = agentorie_chat_get_setting( 'default_language', 'en-US' ); $agentorie_has_multi_languages = false; // Count authorized languages from pack (active_languages) or legacy features. $agentorie_lang_count = 1; // default language always counts. $agentorie_active_langs = agentorie_chat_get_setting( 'active_languages', array() ); if ( is_array( $agentorie_active_langs ) && ! empty( $agentorie_active_langs ) ) { $agentorie_lang_count += count( $agentorie_active_langs ); } else { foreach ( $agentorie_features as $agentorie_feature ) { if ( is_string( $agentorie_feature ) && 0 === strpos( $agentorie_feature, 'lang_' ) && 0 !== strpos( $agentorie_feature, 'lang_pack_' ) ) { ++$agentorie_lang_count; } } } $agentorie_demo_lang = agentorie_chat_get_setting( 'demo_lang_active', false ); if ( $agentorie_demo_lang ) { ++$agentorie_lang_count; } $agentorie_has_multi_languages = ( $agentorie_lang_count > 1 ); // Presets. $agentorie_presets = array( 'default' => array( 'label' => __( 'Modern Indigo', 'agentorie-chat' ), 'primary_color' => '#6366f1', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#6366f1', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#f3f4f6', 'bot_text_color' => '#1f2937', 'background_color' => '#ffffff', ), 'corporate' => array( 'label' => __( 'Corporate Blue', 'agentorie-chat' ), 'primary_color' => '#1e40af', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#1e40af', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#e5e7eb', 'bot_text_color' => '#111827', 'background_color' => '#f9fafb', ), 'nature' => array( 'label' => __( 'Nature Green', 'agentorie-chat' ), 'primary_color' => '#059669', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#059669', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#ecfdf5', 'bot_text_color' => '#064e3b', 'background_color' => '#ffffff', ), 'sunset' => array( 'label' => __( 'Sunset Orange', 'agentorie-chat' ), 'primary_color' => '#ea580c', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#ea580c', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#fff7ed', 'bot_text_color' => '#7c2d12', 'background_color' => '#ffffff', ), 'dark' => array( 'label' => __( 'Dark Mode', 'agentorie-chat' ), 'primary_color' => '#8b5cf6', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#8b5cf6', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#374151', 'bot_text_color' => '#f3f4f6', 'background_color' => '#1f2937', ), 'minimal' => array( 'label' => __( 'Minimal Gray', 'agentorie-chat' ), 'primary_color' => '#374151', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#374151', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#f3f4f6', 'bot_text_color' => '#1f2937', 'background_color' => '#ffffff', ), 'rosegold' => array( 'label' => __( 'Rose Gold', 'agentorie-chat' ), 'primary_color' => '#e11d48', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#e11d48', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#fff1f2', 'bot_text_color' => '#881337', 'background_color' => '#ffffff', ), 'ocean' => array( 'label' => __( 'Ocean Teal', 'agentorie-chat' ), 'primary_color' => '#0891b2', 'primary_text_color' => '#ffffff', 'user_bubble_color' => '#0891b2', 'user_text_color' => '#ffffff', 'bot_bubble_color' => '#ecfeff', 'bot_text_color' => '#164e63', 'background_color' => '#ffffff', ), ); ?>