<style>
    .sidebar-submenu {
    display: none;
    padding-left: 15px;
}
.sidebar-submenu.open {
    display: block;
}

</style>
<div class="d-sidebar h-100 rounded">
    <button class="sidebar-close-btn bg--base text-white"><i class="las la-times"></i></button>
    <div class="d-sidebar__thumb">
<a href="<?php echo e(route('index.index.dashboard')); ?>">
    <img src="<?php echo e(asset('assets/images/logo_icon/logo.png')); ?>" alt="kodaPay_logo" style="width: 70%;">
</a>
    </div>
    <div class="sidebar-menu-wrapper" id="sidebar-menu-wrapper">
        <ul class="sidebar-menu">

            <li class="sidebar-menu__item <?php echo e(request()->routeIs('index.index.dashboard') ? 'active' : ''); ?>">
                <a href="<?php echo e(route('index.index.dashboard')); ?>" class="sidebar-menu__link ">
                    <i class="las la-home"></i>
                    <?php echo app('translator')->get('Dashboard'); ?>
                </a>
            </li>

            <li class="sidebar-menu__item <?php echo e(request()->routeIs('deposit.deposit.history') ? 'active' : ''); ?>">
                <a href="<?php echo e(route('deposit.deposit.history')); ?>" class="sidebar-menu__link">
                    <i class="las la-history"></i>
                    <?php echo app('translator')->get('Deposit History'); ?>
                </a>
            </li>
            
<li class="sidebar-menu__item has-submenu <?php echo e(request()->routeIs('payout.payout.*') ? '' : ''); ?>">
    <a href="#" class="sidebar-menu__link">
        <i class="las la-money-bill-wave-alt"></i>
        <?php echo app('translator')->get('Payout'); ?>
        <i class="las la-angle-down submenu-icon"></i>
    </a>
    <ul class="sidebar-submenu <?php echo e(request()->routeIs('payout.*') ? 'open' : ''); ?>">
        <li class="sidebar-menu__item <?php echo e(request()->routeIs('payout.payout.payout') ? 'active' : ''); ?>">
            <a href="<?php echo e(route('payout.payout.payout')); ?>" class="sidebar-menu__link">
                <?php echo app('translator')->get('Payout History'); ?>
            </a>
        </li>
        <?php if(auth()->user()->currency == 'bdt'): ?>
        <li class="sidebar-menu__item <?php echo e(request()->routeIs('payout.payout.upload') ? 'active' : ''); ?>">
            <a href="<?php echo e(route('payout.payout.upload')); ?>" class="sidebar-menu__link">
                <?php echo app('translator')->get('Payout Upload'); ?>
            </a>
        </li>
        <?php endif; ?>
    </ul>
</li>


            <li class="sidebar-menu__item <?php echo e(request()->routeIs('gateway.gateway.methods') ? 'active' : ''); ?>">
                <a href="<?php echo e(route('gateway.gateway.methods')); ?>" class="sidebar-menu__link">
                    <i class="las la-credit-card"></i>
                    <?php echo app('translator')->get('Gateway Methods'); ?>
                </a>
            </li>

            <li class="sidebar-menu__item <?php echo e(request()->routeIs('calculate-charge') ? 'active' : ''); ?>">
                <a href="<?php echo e(route('calculate-charge')); ?>" class="sidebar-menu__link">
                    <i class="las la-calculator"></i>
                    <?php echo app('translator')->get('Calculate Charge'); ?>
                </a>
            </li> 
            
            <li class="sidebar-menu__item <?php echo e(request()->routeIs(['withdraws.withdraws.transactions', 'withdraws.withdraws.method', 'withdraws.withdraws.autoMethod']) ? 'active' : ''); ?>">
                <a href="<?php echo e(route('withdraws.withdraws.transactions')); ?>" class="sidebar-menu__link">
                    <i class="las la-exchange-alt"></i>
                    <?php echo app('translator')->get('Withdraws'); ?>
                </a>
            </li>

<li class="sidebar-menu__item <?php echo e(request()->routeIs('financial-records') ? 'active' : ''); ?>">
    <a href="<?php echo e(route('financial-records')); ?>" class="sidebar-menu__link">
        <i class="las la-wallet"></i> 
        <?php echo app('translator')->get('Financial Records'); ?>
    </a>
</li>

            
            <li class="sidebar-menu__item <?php echo e(request()->routeIs('data-export') ? 'active' : ''); ?>">
    <a href="<?php echo e(route('data-export')); ?>" class="sidebar-menu__link">
        <i class="las la-file-export"></i>
        <?php echo app('translator')->get('Data Export'); ?>
    </a>
</li>

            <li class="sidebar-menu__item <?php echo e(request()->routeIs(['setting.setting.profile-setting', 'setting.setting.change-password', 'setting.setting.api-key','setting.setting.ip-allow']) ? 'active' : ''); ?>">
                <a href="<?php echo e(route('setting.setting.profile-setting')); ?>" class="sidebar-menu__link">
                    <i class="las la-cogs"></i>
                    <?php echo app('translator')->get('Setting'); ?>
                </a>
            </li>
            


        </ul><!-- sidebar-menu end -->
        <div class="user-profile">
            <div class="user-profile-info">
                <div class="user-profile-info__icon">
                    <i class="las la-user"></i>
                </div>
                <div class="user-profile-info__content">
                    <h6 class="user-profile-info__name"><span>@</span><?php echo e(strLimit(auth()->user()->full_name, 10)); ?></h6>
                    <p class="user-profile-info__desc"><?php echo e(strLimit(auth()->user()->email, 18)); ?></p>
                </div>
            </div>
            <button type="button" class="user-profile-dots dropdown-toggle" id="exportMenuButton" 
            data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <i class="fas fa-ellipsis-h"></i>
            </button>
             <div class="dropdown-menu" aria-labelledby="exportMenuButton">
                <a class="dropdown-item" href="<?php echo e(route('setting.setting.profile-setting')); ?>">
                    <i class="las la-cogs"></i> <?php echo app('translator')->get('Setting'); ?>
                </a>
                <a class="dropdown-item" href="<?php echo e(route('login.login.logout')); ?>">
                    <i class="las la-sign-out-alt"></i> <?php echo app('translator')->get('Logout'); ?>
                </a>
            </div>
        </div>
    </div>
</div>

<?php $__env->startPush('script'); ?>
    <script>
        'use strict';
        (function($) {
            const sidebar = document.querySelector('.d-sidebar');
            const sidebarOpenBtn = document.querySelector('.sidebar-open-btn');
            const sidebarCloseBtn = document.querySelector('.sidebar-close-btn');

            sidebarOpenBtn.addEventListener('click', function() {
                sidebar.classList.add('active');
            });
            sidebarCloseBtn.addEventListener('click', function() {
                sidebar.classList.remove('active');
            });


            $(function() {
                $('#sidebar-menu-wrapper').slimScroll({
                    height: '93vh'
                });
            });

            $('.sidebar-dropdown > a').on('click', function() {
                if ($(this).parent().find('.sidebar-submenu').length) {
                    if ($(this).parent().find('.sidebar-submenu').first().is(':visible')) {
                        $(this).find('.side-menu__sub-icon').removeClass('transform rotate-180');
                        $(this).removeClass('side-menu--open');
                        $(this).parent().find('.sidebar-submenu').first().slideUp({
                            done: function done() {
                                $(this).removeClass('sidebar-submenu__open');
                            }
                        });
                    } else {
                        $(this).find('.side-menu__sub-icon').addClass('transform rotate-180');
                        $(this).addClass('side-menu--open');
                        $(this).parent().find('.sidebar-submenu').first().slideDown({
                            done: function done() {
                                $(this).addClass('sidebar-submenu__open');
                            }
                        });
                    }
                }
            });
        })(jQuery);
        
        document.addEventListener("DOMContentLoaded", function () {
    document.querySelectorAll(".has-submenu > a").forEach(function (menu) {
        menu.addEventListener("click", function (e) {
            e.preventDefault();
            let submenu = this.nextElementSibling;
            submenu.classList.toggle("open");
        });
    });
});


    </script>
<?php $__env->stopPush(); ?>
<?php /**PATH /home/paysafebd23/ovimanager.store/resources/views/partials/auth_sidenav.blade.php ENDPATH**/ ?>