{{ __('Upgrade') }}

@if (Auth::user()->activePlan() != null)

{{ __('You have currently') }} {{ getSubscriptionName() }} {{ __('plan.') }} {{ __('Will refill automatically in') }} {{ getSubscriptionDaysLeft() }} {{ __('Days.') }} {{ checkIfTrial() == true ? __('You are in Trial time.') : '' }}

@if ($setting->feature_ai_image) {{ __('Total') }} @if (Auth::user()->remaining_words == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_words) }} @endif {{ __('word and') }} @if (Auth::user()->remaining_images == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_images) }} @endif {{ __('image tokens left.') }} @else {{ __('Total') }} @if (Auth::user()->remaining_words == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_words) }} @endif {{ __('tokens left.') }} @endif

@else

{{ __('You have no subscription at the moment. Please select a subscription plan or a token pack.') }}

@if ($setting->feature_ai_image) {{ __('Total') }} @if (Auth::user()->remaining_words == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_words) }} @endif {{ __('word and') }} @if (Auth::user()->remaining_images == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_images) }} @endif {{ __('image tokens left.') }} @else {{ __('Total') }} @if (Auth::user()->remaining_words == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_words) }} @endif {{ __('tokens left.') }} @endif

@endif {{ __('Select a Plan') }} @if (getSubscriptionStatus()) {{ __('Cancel My Plan') }} @endif

@if (Auth::user()->remaining_words == -1) {{ __('Unlimited') }} @else {{ number_format((int) Auth::user()->remaining_words) }} @endif
{{ __('Tokens') }}

@section('script') @endsection