<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['tools']));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter((['tools']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars); ?>
<div class="products">
    <div class="row">
        <?php if(auth()->guard()->guest()): ?>
            <div class="col-md-12">
                <div class="favorite-tools text-center">
                    <h6 class="p-2"><?php echo app('translator')->get('tools.favoriteToolsGuestDesc'); ?></h6>
                    <a class="btn btn-primary rounded-pill ps-5 pe-5 mt-3" href="<?php echo e(route('login')); ?>"><?php echo app('translator')->get('auth.login'); ?></a>
                </div>
            </div>
        <?php elseif($tools): ?>
            <ul class="items <?php echo e(theme_option('tools_layout', 'grid-view')); ?>">
                <?php $__currentLoopData = $tools; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tool): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if (isset($component)) { $__componentOriginal0e01b58ef9f6b6553135ff8a76f351a1 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0e01b58ef9f6b6553135ff8a76f351a1 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.tool-item','data' => ['tool' => $tool]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('tool-item'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['tool' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tool)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0e01b58ef9f6b6553135ff8a76f351a1)): ?>
<?php $attributes = $__attributesOriginal0e01b58ef9f6b6553135ff8a76f351a1; ?>
<?php unset($__attributesOriginal0e01b58ef9f6b6553135ff8a76f351a1); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0e01b58ef9f6b6553135ff8a76f351a1)): ?>
<?php $component = $__componentOriginal0e01b58ef9f6b6553135ff8a76f351a1; ?>
<?php unset($__componentOriginal0e01b58ef9f6b6553135ff8a76f351a1); ?>
<?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        <?php else: ?>
            <div class="col-md-12">
                <div class="favorite-tools text-center">
                    <h6 class="p-2"><?php echo app('translator')->get('tools.favoriteToolsAuthDesc'); ?></h6>
                </div>
            </div>
        <?php endif; ?>
    </div>
</div>
<?php /**PATH /www/wwwroot/webtoolzone.com/resources/themes/canvas/components/favorite-tools.blade.php ENDPATH**/ ?>