@include('panel.user.generator.components.editor-actions-top-bar')
@php $lang_with_flags = []; foreach (LaravelLocalization::getSupportedLocales() as $lang => $properties) { $lang_with_flags[] = [ 'lang' => $lang, 'name' => $properties['native'], 'flag' => country2flag(substr($properties['regional'], strrpos($properties['regional'], '_') + 1)), ]; } @endphp @push('script') @endpush