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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['title' => 'Administración']));

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((['title' => 'Administración']), '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, $__key, $__value); ?>
<!doctype html>
<html lang="es">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <title><?php echo e($title); ?> | C.C.R.</title>
    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css','resources/js/app.js']); ?>
</head>
<body class="admin-body">
<div class="admin-shell">
    <aside class="admin-sidebar d-none d-lg-flex">
        <a href="<?php echo e(route('dashboard')); ?>" class="sidebar-brand"><?php if (isset($component)) { $__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.brand-logo','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('brand-logo'); ?>
<?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([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3)): ?>
<?php $attributes = $__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3; ?>
<?php unset($__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3)): ?>
<?php $component = $__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3; ?>
<?php unset($__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3); ?>
<?php endif; ?><span><strong>Administración</strong><small>Gestión de socios</small></span></a>
        <nav class="sidebar-nav">
            <span class="sidebar-label">GENERAL</span>
            <a href="<?php echo e(route('dashboard')); ?>" class="<?php echo e(request()->routeIs('dashboard') ? 'active' : ''); ?>"><i data-lucide="layout-dashboard"></i><span>Panel general</span></a>
            <span class="sidebar-label">GESTIÓN</span>
            <a href="<?php echo e(route('admin.applications.index')); ?>" class="<?php echo e(request()->routeIs('admin.applications.*') ? 'active' : ''); ?>"><i data-lucide="clipboard-list"></i><span>Inscripciones</span></a>
            <a href="<?php echo e(route('register')); ?>" class="<?php echo e(request()->routeIs('register') ? 'active' : ''); ?>"><i data-lucide="users"></i><span>Usuarios</span></a>
            <span class="sidebar-label">CUENTA</span>
            <a href="<?php echo e(route('profile.edit')); ?>" class="<?php echo e(request()->routeIs('profile.*') ? 'active' : ''); ?>"><i data-lucide="settings"></i><span>Mi perfil</span></a>
        </nav>
        <div class="sidebar-footer"><a href="/" target="_blank" rel="noopener"><i data-lucide="external-link"></i><span>Ver sitio público</span></a></div>
    </aside>
    <div class="admin-main">
        <header class="admin-topbar">
            <button class="btn sidebar-toggle d-lg-none" data-bs-toggle="offcanvas" data-bs-target="#mobileSidebar" aria-label="Abrir menú"><i data-lucide="menu"></i></button>
            <div><strong><?php echo e($title); ?></strong><small><?php echo e(now()->translatedFormat('l, d \d\e F')); ?></small></div>
            <div class="topbar-user dropdown">
                <button class="btn" data-bs-toggle="dropdown"><span class="user-avatar"><?php echo e(strtoupper(substr(auth()->user()->name,0,1))); ?></span><span class="d-none d-sm-block"><strong><?php echo e(auth()->user()->name); ?></strong><small><?php echo e(auth()->user()->email); ?></small></span><i data-lucide="chevron-down"></i></button>
                <ul class="dropdown-menu dropdown-menu-end"><li><a class="dropdown-item" href="<?php echo e(route('profile.edit')); ?>"><i data-lucide="circle-user"></i> Mi perfil</a></li><li><hr class="dropdown-divider"></li><li><form method="POST" action="<?php echo e(route('logout')); ?>"><?php echo csrf_field(); ?><button class="dropdown-item text-danger"><i data-lucide="log-out"></i> Cerrar sesión</button></form></li></ul>
            </div>
        </header>
        <main class="admin-content"><?php echo e($slot); ?></main>
    </div>
</div>
<div class="offcanvas offcanvas-start mobile-sidebar" tabindex="-1" id="mobileSidebar">
    <div class="offcanvas-header"><a href="<?php echo e(route('dashboard')); ?>" class="sidebar-brand"><?php if (isset($component)) { $__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.brand-logo','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('brand-logo'); ?>
<?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([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3)): ?>
<?php $attributes = $__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3; ?>
<?php unset($__attributesOriginal8741a05e11b0c77d19ec61b6b35b26b3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3)): ?>
<?php $component = $__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3; ?>
<?php unset($__componentOriginal8741a05e11b0c77d19ec61b6b35b26b3); ?>
<?php endif; ?><span><strong>Administración</strong><small>Gestión de socios</small></span></a><button class="btn-close" data-bs-dismiss="offcanvas" aria-label="Cerrar menú"></button></div>
    <div class="offcanvas-body"><nav class="sidebar-nav"><a href="<?php echo e(route('dashboard')); ?>" class="<?php echo e(request()->routeIs('dashboard') ? 'active' : ''); ?>"><i data-lucide="layout-dashboard"></i> Panel general</a><a href="<?php echo e(route('admin.applications.index')); ?>" class="<?php echo e(request()->routeIs('admin.applications.*') ? 'active' : ''); ?>"><i data-lucide="clipboard-list"></i> Inscripciones</a><a href="<?php echo e(route('register')); ?>"><i data-lucide="users"></i> Usuarios</a><a href="<?php echo e(route('profile.edit')); ?>"><i data-lucide="settings"></i> Mi perfil</a></nav></div>
</div>
</body>
</html>
<?php /**PATH C:\Users\bpere\OneDrive\Documentos\WebPrime\CCR\plataforma\resources\views/components/admin-layout.blade.php ENDPATH**/ ?>