<header class="navbar-dark-v1">
    <div class="header-position">
        <span class="sidebar-toggler">
            <i class="las la-times"></i>
        </span>
        <div class="dashboard-logo d-flex justify-content-center align-items-center py-20">
            <a class="logo" href="<?php echo e(route('admin.dashboard')); ?>">

               <img src="<?php echo e(! blank(get_config('admin_logo')) ? getFileLink('original_image', get_config('admin_logo'), 'admin_logos', '100x36') : getFileLink('original_image', get_config('light_logo'), 'logos', '360x95', 'original')); ?>"
                            alt="logo">
            </a>
            <a class="logo-icon" href="<?php echo e(route('admin.dashboard')); ?>">
                <img src="<?php echo e(($logo = json_decode(get_config('admin_mini_logo'), true)) && isset($logo['original_image']) && is_file_exists($logo['original_image'], $logo['storage'] ?? 'local') ? get_media($logo['original_image'], $logo['storage'] ?? 'local') : get_media('images/default/logo/logo-mini.png')); ?>"
                    alt="Logo">
            </a>
        </div>

        <nav class="side-nav">
            <ul id="accordionSidebar">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.dashboard')): ?>
                    <li class="<?php echo e(menuActivation('admin/dashboard', 'active')); ?>">
                        <a href="<?php echo e(route('admin.dashboard')); ?>" role="button" aria-expanded="false"
                            aria-controls="dashboard">
                            <i class="las la-tachometer-alt"></i>
                            <span><?php echo e(__('dashboard')); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.movies', 'admin.categories', 'admin.video.qualities', 'admin.download_links',
                    'admin.countries', 'admin.genres', 'admin.stars', 'admin.languages', 'admin.movie_industries',
                    'admin.reviews'])): ?>
                    <li
                        class="<?php echo e(menuActivation(['admin/movie*', 'admin/categories', 'admin/video-qualit*', 'admin/download-links*', 'admin/countries', 'admin/genres', 'admin/stars', 'admin/languages', 'admin/movie-industries', 'admin/reviews'], 'active')); ?>">
                        <a href="#movies" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/movie*', 'admin/download-links*', 'admin/video-qualit*', 'admin/countries', 'admin/genres', 'admin/stars', 'admin/languages', 'admin/movie-industries', 'admin/reviews'], 'true', 'false')); ?>"
                            aria-controls="movies">
                            <i class="las la-film"></i>
                            <span><?php echo e(__('movies')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(
                            [
                                'admin/movie*',
                                'admin/categories',
                                'admin/video-qualit*',
                                'admin/download-links*',
                                'admin/countries',
                                'admin/genres',
                                'admin/stars',
                                'admin/languages',
                                'admin/movie-industries',
                                'admin/reviews',
                            ],
                            'show',
                        )); ?>"
                            id="movies" data-bs-parent="#accordionSidebar">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.movies')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/movie*', 'admin/download-links*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.movies')); ?>"><?php echo e(__('all_movie')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.categories')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/categories', 'active')); ?>"
                                        href="<?php echo e(route('admin.categories')); ?>"><?php echo e(__('video_type')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.video.qualities')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/video-qualit*', 'active')); ?>"
                                        href="<?php echo e(route('admin.video.qualities')); ?>"><?php echo e(__('video_quality')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.countries')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/countries', 'active')); ?>"
                                        href="<?php echo e(route('admin.countries')); ?>"><?php echo e(__('country')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.genres')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/genres', 'active')); ?>"
                                        href="<?php echo e(route('admin.genres')); ?>"><?php echo e(__('genre')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.stars')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/stars'], 'active')); ?>"
                                        href="<?php echo e(route('admin.stars')); ?>">
                                        <span><?php echo e(__('stars')); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.languages')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/languages'], 'active')); ?>"
                                        href="<?php echo e(route('admin.languages')); ?>">
                                        <span><?php echo e(__('movie_language')); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.movie_industries')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/movie-industries'], 'active')); ?>"
                                        href="<?php echo e(route('admin.movie_industries')); ?>">
                                        <span><?php echo e(__('movie_industries')); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.reviews')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/reviews'], 'active')); ?>"
                                        href="<?php echo e(route('admin.reviews')); ?>">
                                        <span><?php echo e(__('reviews')); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.tv.shows', 'admin.tv.show.settings'])): ?>
                    <li class="<?php echo e(menuActivation(['admin/tv-show*', 'admin/season*', 'admin/episode*'], 'active')); ?>">
                        <a href="#tv-show" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/tv-show*', 'admin/season*', 'admin/episode*'], 'true', 'false')); ?>"
                            aria-controls="tv-show">
                            <i class="las la-tv"></i>
                            <span><?php echo e(__('series')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/tv-show*', 'admin/season*', 'admin/episode*'], 'show')); ?>"
                            id="tv-show" data-bs-parent="#accordionSidebar">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.tv.shows')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/tv-show*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.tv.shows')); ?>"><?php echo e(__('all_tv_shows')); ?></a>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.seasons')): ?>
                                <li> <a class="<?php echo e(menuActivation(['admin/season*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.seasons')); ?>"><?php echo e(__('all_seasons')); ?></a> </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.episodes')): ?>
                                <li> <a class="<?php echo e(menuActivation(['admin/episode*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.episodes')); ?>"><?php echo e(__('all_episodes')); ?></a> </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.tv.show.settings')): ?>
                                <li> <a class="<?php echo e(menuActivation('admin/tv-show-settings', 'active')); ?>"
                                        href="<?php echo e(route('admin.tv.show.settings')); ?>"><?php echo e(__('setting')); ?></a> </li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check(['admin.live.tvs', 'admin.live.tv.categories'])): ?>
                    <li
                        class="<?php echo e(menuActivation(['admin/live-tv-categories', 'admin/live-tvs-*', 'admin/live-tvs', 'admin/live-tv-categorie/*', 'admin/live-tv/*'], 'active')); ?>">
                        <a href="#live-tv" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/live-tv-categories', 'admin/live-tvs', 'admin/live-tv-categorie/*', 'admin/live-tv/*'], 'true', 'false')); ?>"
                            aria-controls="live-tv">
                            <i class="lab la-chromecast"></i>
                            <span><?php echo e(__('live_tv')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/live-tv-categorie*', 'admin/live-tv*'], 'show')); ?>"
                            id="live-tv" data-bs-parent="#accordionSidebar">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.live.tvs')): ?>
                                <li> <a class="<?php echo e(menuActivation(['admin/live-tvs', 'admin/live-tvs-list'], 'active')); ?>"
                                        href="<?php echo e(route('admin.live.tvs')); ?>"><?php echo e(__('all_channels')); ?></a> </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.live.tv.categories')): ?>
                                <li> <a class="<?php echo e(menuActivation(['admin/live-tv-categories', 'admin/live-tv-categorie/*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.live.tv.categories')); ?>"><?php echo e(__('categories')); ?></a> </li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.importer')): ?>
                    <li class="<?php echo e(menuActivation(['admin/importer'], 'active')); ?>">
                        <a href="<?php echo e(route('admin.importer')); ?>" role="button" aria-expanded="false"
                            aria-controls="dashboard">
                            <i class="las la-file-import"></i>
                            <span><?php echo e(__('tmdb_importer')); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.interest')): ?>
                    <li class="<?php echo e(menuActivation(['admin/interest'], 'active')); ?>">
                        <a href="<?php echo e(route('admin.interest')); ?>" role="button" aria-expanded="false"
                            aria-controls="dashboard">
                            <i class="lar la-heart"></i>
                            <span><?php echo e(__('interest_list')); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.customer_queries.index')): ?>
                    <li class="<?php echo e(menuActivation(['admin/customer-queries'], 'active')); ?>">
                        <a href="<?php echo e(route('admin.customer_queries.index')); ?>" role="button">
                            <i class="las la-ticket-alt"></i>
                            <span><?php echo e(__('customer_queries')); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.movie_requests')): ?>
                    <li class="<?php echo e(menuActivation(['admin/request-movie'], 'active')); ?>">
                        <a href="<?php echo e(route('admin.movie_requests')); ?>" role="button">
                            <i class="las la-paper-plane"></i>
                            <span><?php echo e(__('movie_requests')); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.reports')): ?>
                    <li class="<?php echo e(menuActivation(['admin/reports'], 'active')); ?>">
                        <a href="<?php echo e(route('admin.reports')); ?>" role="button">
                            <i class="las la-bug"></i>
                            <span><?php echo e(__('reports')); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.blogs', 'admin.blog.categories'])): ?>
                    <li class="<?php echo e(menuActivation(['admin/blog-categories*', 'admin/blogs', 'admin/blog-*'], 'active')); ?>">
                        <a href="#blogs" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/blogs', 'admin/blog-categories', 'admin/blog-*'], 'true', 'false')); ?>"
                            aria-controls="staff">
                            <i class="las la-rss"></i>
                            <span><?php echo e(__('blogs')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/blog-categories*', 'admin/blogs', 'admin/blog-*'], 'show')); ?>"
                            id="blogs" data-bs-parent="#accordionSidebar">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.blogs')): ?>
                                <li> <a class="<?php echo e(menuActivation(['admin/blogs'], 'active')); ?>"
                                        href="<?php echo e(route('admin.blogs')); ?>"><?php echo e(__('all_post')); ?></a> </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.blog.categories')): ?>
                                <li> <a class="<?php echo e(menuActivation('admin/blog-categories*', 'active')); ?>"
                                        href="<?php echo e(route('admin.blog.categories')); ?>"><?php echo e(__('category')); ?></a> </li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>


                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.ads', 'admin.ads.pre_roll.index', 'admin.ads.mid_roll.index',
                    'admin.ads.post_roll.index'])): ?>
                    <li class="<?php echo e(menuActivation(['admin/ads*'], 'active')); ?>">
                        <a href="#monetization" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/ads*'], 'active')); ?>" aria-controls="monetization">
                            <i class="las la-hand-holding-usd"></i>
                            <span><?php echo e(__('monetization')); ?></span>
                        </a>

                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/ads*'], 'show')); ?>" id="monetization"
                            data-bs-parent="#monetization">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.ads')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/ads'], 'active')); ?>"
                                        href="<?php echo e(route('admin.ads')); ?>"><?php echo e(__('website_ads')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.ads.pre_roll.index')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/ads/pre-roll*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.ads.pre_roll.index')); ?>"><?php echo e(__('preroll_ads')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.ads.mid_roll.index')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/ads/mid-roll*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.ads.mid_roll.index')); ?>"><?php echo e(__('midroll_ads')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.ads.post_roll.index')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/ads/post-roll*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.ads.post_roll.index')); ?>"><?php echo e(__('postroll_ads')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.subscribers', 'all.subscription', 'rental.history', 'admin.packages', 'payment.gateway',
                    'transaction.log'])): ?>
                    <li
                        class="<?php echo e(menuActivation(
                            [
                                'admin/package*',
                                'admin/rental-history*',
                                'admin/transaction-log*',
                                'admin/payment-gateway*',
                                'admin/subscriber*',
                                'admin/all-subscription',
                            ],
                            'active',
                        )); ?>">
                        <a href="#subscription" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(
                                [
                                    'admin/package*',
                                    'admin/rental-history*',
                                    'admin/transaction-log*',
                                    'admin/payment-gateway*',
                                    'admin/subscriber*',
                                    'admin/all-subscription',
                                ],
                                'active',
                            )); ?>"
                            aria-controls="subscription">
                            <i class="las la-cubes"></i>
                            <span><?php echo e(__('manage_subscription')); ?></span>
                        </a>

                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/package*', 'admin/rental-history*', 'admin/payment-gateway*', 'admin/subscriber*', 'admin/all-subscription', 'admin/transaction-log*'], 'show')); ?>"
                            id="subscription" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.subscribers')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/subscriber*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.subscribers')); ?>"><?php echo e(__('all_subscriber')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('all.subscription')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/all-subscription'], 'active')); ?>"
                                        href="<?php echo e(route('all.subscription')); ?>"><?php echo e(__('all_subscription')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('rental.history')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/rental-history*'], 'active')); ?>"
                                        href="<?php echo e(route('rental.history')); ?>"><?php echo e(__('rental_history')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.packages')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/package*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.packages')); ?>"><?php echo e(__('price_plan')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('payment.gateways')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/payment-gateway*'], 'active')); ?>"
                                        href="<?php echo e(route('payment.gateways')); ?>"><?php echo e(__('payment_setting')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('transaction.log')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/transaction-log*'], 'active')); ?>"
                                        href="<?php echo e(route('transaction.log')); ?>"><?php echo e(__('transaction_log')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.theme.options', 'admin.faqs', 'pages.index'])): ?>
                    <li class="<?php echo e(menuActivation(['admin/pages*', 'admin/faq*', 'admin/website/*'], 'active')); ?>">
                        <a href="#website-setting" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/website/*', 'admin/faq*'], 'active')); ?>"
                            aria-controls="website-setting">
                            <i class="las la-wrench"></i>
                            <span><?php echo e(__('website_settings')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/pages*', 'admin/faq*', 'admin/website/*'], 'show')); ?>"
                            id="website-setting" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.theme.options')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/website/*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.theme.options')); ?>"><?php echo e(__('all_setting')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.faqs')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/faq*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.faqs')); ?>"><?php echo e(__('faqs')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('pages.index')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/pages*', 'active')); ?>"
                                        href="<?php echo e(route('pages.index')); ?>"><?php echo e(__('pages')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.movie.settings')): ?>
                    <li class="<?php echo e(menuActivation(['admin/api-settings', 'admin/mobile-ads-settings'], 'active')); ?>">
                        <a href="#movie-app-setting" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/api-settings', 'admin/mobile-ads-settings'], 'active')); ?>"
                            aria-controls="website-setting">
                            <i class="las la-mobile"></i>
                            <span><?php echo e(__('mobile_app_settings')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/api-settings', 'admin/mobile-ads-settings'], 'show')); ?>"
                            id="movie-app-setting" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.api.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/api-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.api.settings')); ?>"><?php echo e(__('api_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.ads.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/mobile-ads-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.ads.settings')); ?>"><?php echo e(__('ads_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.staffs', 'roles.index'])): ?>
                    <li class="<?php echo e(menuActivation(['admin/staff*', 'admin/roles*'], 'active')); ?>">
                        <a href="#staff" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="<?php echo e(menuActivation(['admin/staff*', 'admin/roles*'], 'true', 'false')); ?>"
                            aria-controls="staff">
                            <i class="las la-user-friends"></i>
                            <span><?php echo e(__('staffs')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/staff*', 'admin/roles*'], 'show')); ?>"
                            id="staff" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.staffs')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/staff*', 'active')); ?>"
                                        href="<?php echo e(route('admin.staffs')); ?>"><?php echo e(__('all_staffs')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('roles.index')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/roles*', 'active')); ?>"
                                        href="<?php echo e(route('roles.index')); ?>"><?php echo e(__('roles')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['setting.one.signal.send', 'setting.one.signal'])): ?>
                    <li
                        class="<?php echo e(menuActivation(['admin/one-signal-setting', 'admin/one-signal-notification-send',], 'active')); ?>">
                        <a href="#notificationSetting" class="dropdown-icon" data-bs-toggle="collapse"
                            aria-expanded="<?php echo e(menuActivation(['admin/one-signal-setting', 'admin/one-signal-notification-send'], 'true', 'false')); ?>"
                            aria-controls="notificationSetting">
                            <i class="las la-bell"></i>
                            <span><?php echo e(__('notification')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/one-signal-setting','admin/one-signal-notification-send'], 'show')); ?>"
                            id="notificationSetting" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting.one.signal.send')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/one-signal-notification-send', 'active')); ?>"
                                        href="<?php echo e(route('setting.one.signal.send')); ?>"><?php echo e(__('send_notification')); ?></a>
                                </li>
                            <?php endif; ?>

                            
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting.one.signal')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/one-signal-setting'], 'active')); ?>"
                                        href="<?php echo e(route('setting.one.signal')); ?>"><?php echo e(__('notification_config')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['email.template', 'email.server-configuration'])): ?>
                    <li
                        class="<?php echo e(menuActivation(['admin/email/server-configuration*', 'admin/email/template*'], 'active')); ?>">
                        <a href="#emailSetting" class="dropdown-icon" data-bs-toggle="collapse"
                            aria-expanded="<?php echo e(menuActivation(['admin/email/server-configuration*', 'admin/email/template*'], 'true', 'false')); ?>"
                            aria-controls="emailSetting">
                            <i class="las la-envelope"></i>
                            <span><?php echo e(__('email_settings')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/email/server-configuration*', 'admin/email/template*'], 'show')); ?>"
                            id="emailSetting" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('email.template')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/email/template*', 'active')); ?>"
                                        href="<?php echo e(route('email.template')); ?>"><?php echo e(__('email_template')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('email.server-configuration')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation('admin/email/server-configuration*', 'active')); ?>"
                                        href="<?php echo e(route('email.server-configuration')); ?>"><?php echo e(__('server_configuration')); ?></a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['admin.system.settings', 'admin.settings', 'admin.system.languages', 'admin.tmdb.settings',
                    'admin.social.settings', 'admin.recaptcha.settings', 'admin.job.settings', 'admin/storage-setting'])): ?>
                    <li
                        class="<?php echo e(menuActivation(['admin/system-settings*', 'admin/system-language*', 'admin/admin-settings', 'admin/tmdb-settings', 'admin/social-settings', 'admin/recaptcha-settings','admin/job-settings', 'admin/storage-setting'], 'active')); ?>">
                        <a href="#settings" class="dropdown-icon" data-bs-toggle="collapse" role="button"
                            aria-expanded="" aria-controls="settings">
                            <i class="las la-cog"></i>
                            <span><?php echo e(__('settings')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/system-settings*', 'admin/system-language*', 'admin/admin-settings', 'admin/tmdb-settings', 'admin/social-settings', 'admin/recaptcha-settings', 'admin/job-settings', 'admin/storage-setting'], 'show')); ?>"
                            id="settings" data-bs-parent="#accordionSidebar">

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.system.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/system-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.system.settings')); ?>"><?php echo e(__('system_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/admin-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.settings')); ?>"><?php echo e(__('admin_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.system.languages')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/system-language*'], 'active')); ?>"
                                        href="<?php echo e(route('admin.system.languages')); ?>"><?php echo e(__('languages')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.tmdb.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/tmdb-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.tmdb.settings')); ?>"><?php echo e(__('tmdb_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.social.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/social-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.social.settings')); ?>"><?php echo e(__('social_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.job.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/job-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.job.settings')); ?>"><?php echo e(__('cron_job_settings')); ?></a>
                                </li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('storage.setting')): ?>
                                <li><a class="<?php echo e(menuActivation('admin/storage-setting', 'active')); ?>"
                                        href="<?php echo e(route('storage.setting')); ?>"><?php echo e(__('storage_setting')); ?></a></li>
                            <?php endif; ?>

                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.recaptcha.settings')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/recaptcha-settings'], 'active')); ?>"
                                        href="<?php echo e(route('admin.recaptcha.settings')); ?>"><?php echo e(__('recaptcha_settings')); ?></a>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['system.update', 'server.info'])): ?>
                    <li
                        class="<?php echo e(menuActivation(['admin/server-info', 'admin/system-info', 'admin/extension-library', 'admin/file-system-permission', 'admin/system-update'], 'active')); ?>">
                        <a href="#utility" class="dropdown-icon" data-bs-toggle="collapse"
                            aria-expanded="<?php echo e(menuActivation(['admin/server-info', 'admin/system-info', 'admin/extension-library', 'admin/file-system-permission', 'admin/system-update'], 'true', 'false')); ?>"
                            aria-controls="utility">
                            <i class="las la-cogs"></i>
                            <span><?php echo e(__('utility')); ?></span>
                        </a>
                        <ul class="sub-menu collapse <?php echo e(menuActivation(['admin/server-info', 'admin/system-info', 'admin/extension-library', 'admin/file-system-permission', 'admin/system-update'], 'show')); ?>"
                            id="utility" data-bs-parent="#accordionSidebar">
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('system.update')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/system-update'], 'active')); ?>"
                                        href="<?php echo e(route('system.update')); ?>"><?php echo e(__('system_update')); ?></a>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('server.info')): ?>
                                <li>
                                    <a class="<?php echo e(menuActivation(['admin/server-info', 'admin/system-info', 'admin/extension-library', 'admin/file-system-permission'], 'active')); ?>"
                                        href="<?php echo e(route('server.info')); ?>"><?php echo e(__('server_information')); ?></a>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>
            </ul>
        </nav>
    </div>
</header>
<?php /**PATH /Users/md.emonmiah/Desktop/Porosh Vai/OTT Platfrom/ott_backend/resources/views/admin/layouts/sidebar.blade.php ENDPATH**/ ?>