    <!--begin::Menu wrapper-->
    <div id="kt_app_sidebar_menu_wrapper" class="app-sidebar-wrapper overflow-scroll-x h-100">
        <!--begin::Scroll wrapper-->
        <div id="kt_app_sidebar_menu_scroll" class="scroll-y my-5 mx-3" data-kt-scroll="true" data-kt-scroll-activate="true"
            data-kt-scroll-height="auto" data-kt-scroll-dependencies="#kt_app_sidebar_logo, #kt_app_sidebar_footer"
            data-kt-scroll-wrappers="#kt_app_sidebar_menu" data-kt-scroll-offset="5px" data-kt-scroll-save-state="true">
            <!--begin::Menu-->
            <div class="menu menu-column menu-rounded menu-sub-indention fw-semibold fs-6" id="#kt_app_sidebar_menu"
                data-kt-menu="true" data-kt-menu-expand="false">
                <div class="menu-item">
                    <!--begin:Menu link-->
                    <a class="menu-link <?php echo e(Route::currentRouteName() == 'dashboard' ? 'active' : ''); ?>"
                        href="<?php echo e(route('dashboard')); ?>">
                        <span class="menu-bullet">
                            <span class="bullet bullet-dot"></span>
                        </span>
                        <span class="menu-title"><?php echo e(__('lang.dashboard')); ?></span>
                    </a>
                    <!--end:Menu link-->
                </div>

                <?php if(auth()->user()->hasRole('superadmin')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['roles.index', 'roles.create', 'roles.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('roles.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.roles')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                    <!--begin:Menu item-->
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['admins.index', 'admins.create', 'admins.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('admins.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.admins')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view clients')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['clients.index', 'clients.create', 'clients.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('clients.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.clients')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view Intro')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['intros.index', 'intros.create', 'intros.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('intros.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.intro')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>
                <?php if(auth()->user()->can('view sliders')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['sliders.index', 'sliders.create', 'sliders.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('sliders.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.sliders')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view category')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['categories.index', 'categories.create', 'categories.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('categories.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.category')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view features')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['features.index', 'features.create', 'features.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('features.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.features')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view agency')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['agencies.index', 'agencies.create', 'agencies.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('agencies.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.agencies')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view auctions')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['auctions.index', 'auctions.create', 'auctions.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('auctions.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.auctions')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view articles')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['articles.index', 'articles.create', 'articles.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('articles.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.articles')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>
                <?php if(auth()->user()->can('view howWeWork')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['howeworks.index', 'howweworks.create', 'howeworks.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('howeworks.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.howeWeWorks')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>
                <?php if(auth()->user()->can('view messages')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['messages.index']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('messages.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.messages')); ?>

                                <span class="badge badge-warning mx-2">
                                    <?php echo e($setting->messages); ?>

                                </span>
                            </span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view notifications')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['notifications.index', 'notifications.create']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('notifications.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.notifications')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>


                <?php if(auth()->user()->can('view countries')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['countries.index', 'countries.create', 'countries.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('countries.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.countries')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view cities')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['cities.index', 'cities.create', 'cities.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('cities.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.cities')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view areas')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['areas.index', 'areas.create', 'areas.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('areas.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.areas')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>

                <?php if(auth()->user()->can('view pages')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['pages.index', 'pages.edit']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('pages.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.pages')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>
                <?php if(auth()->user()->can('view settings')): ?>
                    <div class="menu-item">
                        <!--begin:Menu link-->
                        <a class="menu-link <?php echo e(in_array(Route::currentRouteName(), ['settings.index']) ? 'active' : ''); ?>"
                            href="<?php echo e(route('settings.index')); ?>">
                            <span class="menu-bullet">
                                <span class="bullet bullet-dot"></span>
                            </span>
                            <span class="menu-title"><?php echo e(__('lang.settings')); ?></span>
                        </a>
                        <!--end:Menu link-->
                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php /**PATH /home/oday/public_html/mazdashboard.alialzahabia.com/resources/views/AdminPanel/layouts/menu.blade.php ENDPATH**/ ?>