@extends('layouts.app') @section('css') @endsection @section('page-header') @endsection @section('content') @php $activeAnnouncements = \App\Models\Announcement::active()->latest()->take(1)->get(); @endphp @foreach($activeAnnouncements as $announcement)

{{ $announcement->title }}

{{ $announcement->text }}

@if(isset($announcement->url)) {{ __($announcement->button_name) }} @endif
@if($announcement->image) @endif
@endforeach
{{ now()->format('d M, Y H:i A'); }} @if (App\Services\HelperService::extensionSaaS())

{{ __('Current Plan') }}

@if (is_null(auth()->user()->plan_id))

{{ __('No Active Plan') }}

{{ __('You do not have an active subscription plan. Please select a subscription plan or a prepaid plan') }}
@else

{{ $subscription }} {{ __('Plan') }}

{{ __('You can always upgrade your subscription plan for more premium plans') }}
@endif @else

{{ __('Current Available Credits') }}

@endif
@if (App\Services\HelperService::extensionSaaS()) {{ __('Upgrade Your Plan') }} @endif
@if (App\Services\HelperService::extensionSaaS()) @if (App\Services\HelperService::extensionWallet()) @if (App\Services\HelperService::extensionWalletFeature())
{{ __('Your Wallet Balance') }}

{{ number_format(auth()->user()->wallet) }} {!! config('payment.default_system_currency_symbol') !!}

{{ __('My Wallet') }}
@endif @endif @if (config('payment.referral.enabled') == 'on')
{{ __('Total Referral Earnings') }}

{{ number_format(auth()->user()->balance) }} {!! config('payment.default_system_currency_symbol') !!}

{{ __('Invite & Earn') }}
@endif @endif
{{ __('Total Time Saved') }}

{{ number_format($total_words) }} {{__('Hours')}}

{{ __('Add New') }}

@if (App\Services\HelperService::extensionRealtimeChat())
{{__('Voice Chat')}}
{{__('Start an instant voice conversation')}}
@endif
{{__('Chat Assistant')}}
{{__('Create your own chatbots')}}
{{__('Blog Post')}}
{{__('Write a long article with full control')}}
@if (App\Services\HelperService::extensionSocialMedia())
{{__('Social Media Post')}}
{{__('Create your next viral post')}}
@endif
{{__('Template')}}
{{__('Create your own AI Writer template')}}
{{__('Content')}}
{{__('Get creative and use them all')}}

{{ __('Hey, What can I do for you today?') }}

{{ __('Create a Blank Document') }}
@if ($configs->model_credit_name == 'words') {{ __('Words Left') }} @else {{ __('Tokens Left') }} @endif

@if(auth()->user()->tokens == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->tokens + auth()->user()->tokens_prepaid) }} @endif

@role('user|subscriber|admin') @if (config('settings.image_feature_user') == 'allow')
{{ __('Media Credits Left') }}

@if(auth()->user()->images == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->images + auth()->user()->images_prepaid) }} @endif

@endif @endrole @role('user|subscriber|admin') @if (config('settings.voiceover_feature_user') == 'allow')
{{ __('Characters Left') }}

@if(auth()->user()->characters == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->characters + auth()->user()->characters_prepaid) }} @endif

@endif @endrole @role('user|subscriber|admin') @if (config('settings.whisper_feature_user') == 'allow')
{{ __('Minutes Left') }}

@if(auth()->user()->minutes == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->minutes + auth()->user()->minutes_prepaid) }} @endif

@endif @endrole
{{ __('Your Documents') }}

{{ __('Words Generated') }}

{{ number_format($data['words']) }} {{ __('words') }}

{{ __('Documents Saved') }}

{{ number_format($data['documents']) }} {{ __('documents') }}

@role('user|subscriber|admin') @if (config('settings.image_feature_user') == 'allow')

{{ __('Images Created') }}

{{ number_format($data['images']) }} {{ __('images') }}

@endif @endrole @role('user|subscriber|admin') @if (config('settings.voiceover_feature_user') == 'allow')

{{ __('Voiceover Tasks') }}

{{ number_format($data['synthesized']) }} {{ __('tasks') }}

@endif @endrole @role('user|subscriber|admin') @if (config('settings.whisper_feature_user') == 'allow')

{{ __('Audio Transcribed') }}

{{ number_format($data['transcribed']) }} {{ __('audio files') }}

@endif @endrole

{{ __('Favorite AI Chat Assistants') }}

@if ($chat_quantity)
@foreach ($favorite_chats as $chat)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteChatStatus(this.id)">
User Avatar
{{ __($chat->name) }}
{{ __($chat->sub_name) }}
@if($chat->category == 'professional')

{{ __('Pro') }}

@elseif($chat->category == 'free')

{{ __('Free') }}

@elseif($chat->category == 'premium')

{{ __('Premium') }}

@endif
@endforeach @foreach ($custom_chats as $chat)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteChatStatus(this.id)">
User Avatar
{{ __($chat->name) }}
{{ __($chat->sub_name) }}
@if($chat->category == 'professional')

{{ __('Pro') }}

@elseif($chat->category == 'free')

{{ __('Free') }}

@elseif($chat->category == 'premium')

{{ __('Premium') }}

@endif
@endforeach
@else
{{ __('To add AI chat assistant as your favorite ones, simply click on the start icon on desired') }} {{ __('AI Chat Assistants') }}
@endif

{{ __('Favorite AI Templates') }}

@if ($template_quantity)
@foreach ($templates as $template) @endforeach @foreach ($custom_templates as $template) @endforeach
@else
{{ __('To add templates as your favorite ones, simply click on the start icon on desired') }} {{ __('templates') }}
@endif

{{ __('Latest Images') }}

{{ __('Recent Documents') }}

@foreach ($documents as $data) @endforeach
{{ __('Document Name') }} {{ __('Workbook') }} {{ __('Last Activity') }}
{!! $data->icon !!}
id ) }}">{{ ucfirst($data->title) }}
{{ ucfirst($data->template_name) }}
{{ ucfirst($data->workbook) }} {{ \Carbon\Carbon::parse($data->updated_at)->diffForHumans() }} id ) }}">{{ __('View') }}

{{ __('News & Notifications') }}

@foreach ($notifications as $notification)
@if ($notification->data['type'] == 'Warning') @elseif ($notification->data['type'] == 'Info') @elseif ($notification->data['type'] == 'Announcement') @else @endif

id) }}">{{ __($notification->data['type']) }}: {{ __($notification->data['subject']) }}

@if ($notification->data['action'] == 'Action Required') {{ __('Action Required') }} @else {{ __('No Action Required') }} @endif

{{ \Carbon\Carbon::parse($notification->created_at)->format('M d, Y') }}
{{ \Carbon\Carbon::parse($notification->created_at)->format('H:i A') }}
@endforeach
@if (config('settings.user_support') == 'enabled')

{{ __('Need Help?') }}

{{ __('Got questions? We have you covered') }}
{{ __('Create Support Ticket') }}
{{ __('Available from') }} {{ __('9am till 5pm') }}

{{ __('Support Tickets') }}

@foreach ($tickets as $data) @endforeach
{{ __('Ticket ID') }} {{ __('Subject') }} {{ __('Category') }} {{ __('Status') }} {{ __('Last Updated') }}
ticket_id ) }}">{{ $data->ticket_id }} {{ ucfirst($data->subject) }} {{ ucfirst($data->category) }} {{ __(ucfirst($data->status)) }} {{ \Carbon\Carbon::parse($data->updated_at)->diffForHumans() }} ticket_id ) }}">{{ __('View') }}
@endif
@endsection @section('js') @if (config('broadcasting.default') == 'pusher') @if (!is_null(config('broadcasting.connections.pusher.key'))) @endif @endif @endsection