<?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php
    if ($item->hasChildren()){
        if ($item->children()->where('isActive',true)->first() !== null){
            $active = 'active';
        }else{
            $active = '';
        }
    }else{
        $active = '';
    }
    ?>
    <li <?php $lm_attrs = $item->attr(); ob_start(); ?> <?php if($item->hasChildren()): ?> <?php endif; ?> <?php echo \Lavary\Menu\Builder::mergeStatic(ob_get_clean(), $lm_attrs); ?>>
        <?php if($item->link): ?> <a <?php $lm_attrs = $item->link->attr(); ob_start(); ?>
            <?php if($item->hasChildren()): ?> data-toggle="collapse" role="button" aria-expanded="<?php echo e($active != '' ? 'true' : 'false'); ?>" aria-controls="collapseExample" <?php else: ?> class="nav-link" <?php endif; ?> <?php echo \Lavary\Menu\Builder::mergeStatic(ob_get_clean(), $lm_attrs); ?> href="<?php echo $item->url(); ?>">
            <?php echo $item->title; ?>

            <?php if($item->hasChildren()): ?>
                <i class="fas fa-angle-right mm-arrow-right arrow-active"></i>
                <i class="fas fa-angle-down mm-arrow-right arrow-hover"></i>
            <?php endif; ?>
        </a>
        <?php else: ?>
            <span class="navbar-text"><?php echo $item->title; ?></span>
        <?php endif; ?>
        <?php if($item->hasChildren()): ?>
            <ul class="submenu collapse  <?php echo e($active != '' ? 'show' : ''); ?>" id="<?php echo str_replace('#','',$item->url()); ?>">
                <?php echo $__env->make(config('laravel-menu.views.bootstrap-items'),array('items' => $item->children()), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </ul>
        <?php endif; ?>
    </li>
    <?php if($item->divider): ?>
        <li<?php echo Lavary\Menu\Builder::attributes($item->divider); ?>></li>
    <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH /www/wwwroot/mxunzo.atharvatek.com/resources/views/vendor/laravel-menu/bootstrap-navbar-items.blade.php ENDPATH**/ ?>