<ul class="nav nav-tabs" style="border-bottom:1px #000 solid;">
  <?php $__currentLoopData = $datos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $var): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if($var->MZ == 1): ?>
      <li class="nav-item">
        <a class="nav-link" id="mz" style="border-bottom:1px #000 solid;" data-toggle="tab">Manzanillo</a>
      </li>
    <?php endif; ?>
    <?php if($var->LZ == 1): ?>
      <li class="nav-item">
        <a class="nav-link" id="lz" style="border-bottom:1px #000 solid;" data-toggle="tab">Lázaro cárdenas</a>
      </li>
    <?php endif; ?>
    <?php if($var->VZ == 1): ?>
      <li class="nav-item">
          <a class="nav-link" id="vz" style="border-bottom:1px #000 solid;" data-toggle="tab">Veracruz</a>
      </li>
    <?php endif; ?>
    <?php if($var->MX == 1): ?>
      <li class="nav-item">
          <a class="nav-link" id="mx" style="border-bottom:1px #000 solid;" data-toggle="tab">México</a>
      </li> 
    <?php endif; ?>
  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  <?php $__currentLoopData = $datos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $var): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <input type="hidden" value="<?php echo e($var->ubicacion); ?>" id="ubicacionid">
  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>

<script>
  $(document).ready(function(){
    var val = $('#ubicacionid').val();

    if(val == "manzanillo"){
      $('#mz').addClass('active');
    }

    if(val == "lazaro"){
      $('#lz').addClass('active');
    }

    if(val == "veracruz"){
      $('#vz').addClass('active');
    }

    if(val == "mexico"){
      $('#mx').addClass('active');
    }
  });
</script><?php /**PATH C:\xampp73\htdocs\Bitacora2022\resources\views/complementos/nav_lugares.blade.php ENDPATH**/ ?>