@extends('admin.layout') @section('content')
@csrf
{{ __('Google Recaptcha') }}
@if ($errors->has('is_recaptcha'))

{{ $errors->first('is_recaptcha') }}

@endif
@if ($errors->has('google_recaptcha_site_key'))

{{ $errors->first('google_recaptcha_site_key') }}

@endif
@if ($errors->has('google_recaptcha_secret_key'))

{{ $errors->first('google_recaptcha_secret_key') }}

@endif
{{ __('Disqus') }}
@if ($errors->has('is_disqus'))

{{ $errors->first('is_disqus') }}

@endif
@if ($errors->has('is_user_disqus'))

{{ $errors->first('is_user_disqus') }}

@endif
@if ($errors->has('disqus_shortname'))

{{ $errors->first('disqus_shortname') }}

@endif
{{ __('Tawk.to') }}

{{ __('If you enable Tawk.to, then WhatsApp must be disabled.') }}

@if ($errors->has('is_tawkto'))

{{ $errors->first('is_tawkto') }}

@endif
@if ($errors->has('tak_to_property_id'))

{{ $errors->first('tak_to_property_id') }}

@endif
@if ($errors->has('tak_to_widget_id'))

{{ $errors->first('tak_to_widget_id') }}

@endif
{{ __('WhatsApp Chat Button') }}

{{ __('If you enable WhatsApp, then Tawk.to must be disabled.') }}

{{ __('Enter Phone number with Country Code') }}

@if ($errors->has('whatsapp_header_title'))

{{ $errors->first('whatsapp_header_title') }}

@endif
@if ($errors->has('whatsapp_popup_message'))

{{ $errors->first('whatsapp_popup_message') }}

@endif
@if ($errors->has('whatsapp_popup'))

{{ $errors->first('whatsapp_popup') }}

@endif
{{ __('OpenAI') }}
@php $isOpenaiDummy = empty($data->openai_api_key) || str_contains($data->openai_api_key, 'XXXX') || str_contains($data->openai_api_key, 'DUMMY') || str_contains(strtolower($data->openai_api_key), 'dummy'); $cleanOpenAiKey = $isOpenaiDummy ? '' : $data->openai_api_key; $isOpenaiActive = (($data->is_openai ?? 0) == 1); @endphp

{{ __('If deactivated or key is empty, AI engine will automatically switch to Pollinations AI (Free).') }}

{{-- Text Model --}}
{{ __('Examples') . ': ' . __('gpt-4o-mini, gpt-4o, gpt-4.1, gpt-3.5-turbo') }}
{{-- Image Model --}}
{{ __('Examples') . ': ' . __('gpt-image-1, dall-e-3, dall-e-2') }}
{{ __('Google Gemini') }}
@php $isGeminiDummy = empty($data->gemini_api_key) || str_contains($data->gemini_api_key, 'XXXX') || str_contains($data->gemini_api_key, 'DUMMY') || str_contains(strtolower($data->gemini_api_key), 'dummy'); $cleanGeminiKey = $isGeminiDummy ? '' : $data->gemini_api_key; $isGeminiActive = (($data->is_gemini ?? 0) == 1); @endphp

{{ __('If deactivated or key is empty, AI engine will automatically switch to Pollinations AI (Free).') }}

{{-- API Key --}}
{{-- Text Model --}}
{{ __('Examples') . ': ' . __('gemini-2.5-flash, gemini-1.5-flash, gemini-1.5-pro') }}
{{-- Image Model --}}
{{ __('Examples') . ': ' . __('imagen-4.0-generat-001, imagen-4.0-fast-generate-001') }}
{{ __('Gemini Image models must include the version suffix (-001)') . '. ' . __('Without the suffix, the API will return a 404 model not found error') }}
{{--
{{ __('Pollinations AI') }}
{{ __('Examples') . ': ' . __('qwen-character, nova-fast, gemini-fast, gemini-search') }}
{{ __('Examples') . ': ' . __('flux, zimage') }}
--}}
@endsection