@extends('layouts.app') @section('css') @endsection @section('page-header') @endsection @section('content')

{{ __('Welcome') }}, {{ auth()->user()->name }}

@if (is_null(auth()->user()->plan_id))
{{ __('Your account is currently part of our') }} {{ __('Free Trial Plan') }}
{{ __('Subscribe to one of our plans to get access to all features and benefits') }}
{{ __('Upgrade Now') }} @else
{{ __('You are currently subscribed to our') }} {{ $subscription }} {{ __('Plan') }}
@endif
{{ __('GPT 3.5 Turbo ') }} {{ __('Words Left') }}

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

@role('user|subscriber|admin') @if (config('settings.image_feature_user') == 'allow')
{{ __('DE/SD Images Left') }}

@if(auth()->user()->available_dalle_images == -1) {{ __('Unlimited') }} @else {{ number_format(auth()->user()->available_dalle_images + auth()->user()->available_dalle_images_prepaid + auth()->user()->available_sd_images + auth()->user()->available_sd_images_prepaid) }} @endif

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

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

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

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

@endif @endrole

{{ __('Documents Created') }}

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

{{ __('Words Generated') }}

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

@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.code_feature_user') == 'allow')

{{ __('Codes Generated') }}

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

@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
@if (config('settings.chat_feature_user') == 'allow')

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

{{ __('Have your favorite AI chat assistants handy anytime you need them') }}
@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)"> @if($chat->category == 'professional')

{{ __('Pro') }}

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

{{ __('Free') }}

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

{{ __('Premium') }}

@endif
User Avatar
{{ __($chat->name) }}

{{ __($chat->sub_name) }}

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

{{ __('Favorite Templates') }}

{{ __('Always have your top favorite templates handy whenever you need them') }}
@if ($template_quantity)
@foreach ($templates as $template)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatus(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'free')

{{ __('Free') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->package == 'premium')

{{ __('Premium') }} @if($template->new)

{{ __('New') }}

@endif

@elseif($template->new) {{ __('New') }} @endif
@endforeach @foreach ($custom_templates as $template)
favorite) data-tippy-content="{{ __('Remove from favorite') }}" @else data-tippy-content="{{ __('Select as favorite') }}" @endif onclick="favoriteStatusCustom(this.id)">
{!! $template->icon !!}
{{ __($template->name) }}

{{ __($template->description) }}

@if($template->package == 'professional')

{{ __('Pro') }}

@elseif($template->package == 'free')

{{ __('Free') }}

@elseif($template->package == 'premium')

{{ __('Premium') }}

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

{{ __('Word Generation') }} ({{ __('Current Month') }})

{{ __('Monitor your daily word generation closely') }}
@endsection @section('js') @endsection