<header class="navbar pcoded-header navbar-expand-lg navbar-light">
    <div class="m-header header-background-color">
        <a class="mobile-menu" id="mobile-collapse1" href="javascript:"><span></span></a>
        <a href="<?php echo e(route('dashboard')); ?>" class="b-brand text-decoration-none">
            <span class="b-title"><?php echo e(trimWords(preference('company_name'), 17)); ?></span>
        </a>
    </div>
    <a class="mobile-menu text-decoration-none" id="mobile-header" href="javascript:">
        <i class="feather icon-more-horizontal"></i>
    </a>
    <div class="collapse navbar-collapse">
        <ul class="navbar-nav ltr:me-auto rtl:ms-auto d-flex flex-row flex-wrap float-left nav-menu ms-2">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = \App\Lib\Menus\Admin\TopHeaderLeftMenu::get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $liItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(isset($liItem['visibility']) && $liItem['visibility'] === false): ?>
                    <?php continue; ?>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                <li class="ltr:ms-3 rtl:me-3 nav-parent">
                    <?php echo $liItem['item']; ?>

                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            
        </ul>

        <ul class="navbar-nav ltr:ms-lg-auto rtl:me-lg-auto ms-2 nav-icon me-5 me-lg-2">
            <?php
                $flag = config('app.locale');
                $languages = \App\Models\Language::getAll()->where('status', 'Active');
            ?>


            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array('App\Http\Controllers\DashboardController@switchLanguage', $prms) && $languages->isNotEmpty()): ?>
                <li>
                    <div class="dropdown">
                        <a class="dropdown-toggle flag flag-icon-background flag-icon-<?php echo e(getSVGFlag($flag)); ?>" id="dropdown-flag" data-bs-toggle="dropdown" href="javascript:" ></a>
                        <div class="dropdown-menu dropdown-menu-right notification">
                            <div class="noti-head">
                                <h6 class="d-inline-block m-b-0"><?php echo e(__('Select Language')); ?></h6>
                            </div>
                            <ul class="noti-body scroll-noti">
                                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li class="notification">
                                        <div class="media lang d-flex rtl:float-right" id="<?php echo e($language->short_name); ?>" data-shortname="<?php echo e($language->short_name); ?>">
                                            <img class="img-radius" src='<?php echo e(url("public/datta-able/fonts/flag/flags/4x3/" . getSVGFlag($language->short_name) . ".svg")); ?>' alt="<?php echo e($language->flag); ?>">
                                            <div class="media-body">
                                                <p><span><?php echo e($language->name); ?></span></p>
                                            </div>
                                        </div>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            </ul>
                        </div>
                    </div>
                </li>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            <li class="ltr:me-2 rtl:ms-2">
                <div class="dropdown drp-user">
                    <a href="javascript:void(0)" class="dropdown-toggle text-decoration-none" data-bs-toggle="dropdown">
                        <i class="icon feather icon-settings f-20"></i>
                    </a>
                    <div class="dropdown-menu dropdown-menu-right profile-notification">
                        <div class="pro-head">
                            <img src="<?php echo e(Auth::user()?->fileUrl()); ?>" class="img-radius" alt="User-Profile-Image">
                            <span><?php echo e(Auth::user()?->name); ?></span>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array('App\Http\Controllers\Site\LoginController@logout', $prms)): ?>
                                <a href="<?php echo e(route('users.logout')); ?>" class="dud-logout" title="Logout">
                                    <i class="feather icon-log-out"></i>
                                </a>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </div>
                        <ul class="pro-body">
                            <li><a href="<?php echo e(route('users.profile')); ?>" class="dropdown-item text-decoration-none"><i class="feather icon-user"></i> <?php echo e(__('Profile')); ?></a></li>
                            <li><a href="<?php echo e(route('users.activity') . '?userId=' . \Auth::id()); ?>" class="dropdown-item text-decoration-none"><i class="feather icon-activity"></i> <?php echo e(__('Login Activities')); ?></a></li>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array('App\Http\Controllers\Site\LoginController@logout', $prms)): ?>
                                <li><a href="<?php echo e(route('users.logout')); ?>" class="dropdown-item text-decoration-none"><i class="feather icon-lock"></i> <?php echo e(__('Log Out')); ?></a></li>
                            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</header>
<?php /**PATH /home/consuadmin/public_html/resources/views/admin/layouts/includes/header.blade.php ENDPATH**/ ?>