@php
$fileIcon = !empty($file) ? $file->getIconXByType() : 'document';
@endphp
@svg("iconsax-lin-{$fileIcon}", ['height' => 20, 'width' => 20, 'class' => 'text-gray-500'])
{{ !empty($file) ? $file->title : trans('public.add_new_files') }}
@if(!empty($file))
@if($file->accessibility == 'free')
{{ trans('public.free') }}
@endif
@if($file->status != \App\Models\WebinarChapter::$chapterActive)
{{ trans('public.disabled') }}
@endif
@endif
@include('design_1.panel.includes.locale.locale_select',[
'itemRow' => !empty($file) ? $file : null,
'withoutReloadLocale' => true,
'extraClass' => 'js-webinar-content-locale',
'extraData' => "data-webinar-id='".(!empty($webinar) ? $webinar->id : '')."' data-id='".(!empty($file) ? $file->id : '')."' data-relation='files' data-fields='title,description'"
])
@if(!empty($file))
@else
@endif
@if(getFeaturesSettings('sequence_content_status'))
@endif
@if(empty($file))
@endif