
<div class="w-full" style="font-size:14px;">
    <div class="flex w-full flex-col gap-3.5">

        
        <?php if (isset($component)) { $__componentOriginal2544aeb3df80db4e8cf42f27632fe7f3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal2544aeb3df80db4e8cf42f27632fe7f3 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.cabecera','data' => ['rotulo' => 'Plugins','titulo' => 'Plugins del parque']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('cabecera'); ?>
<?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(['rotulo' => 'Plugins','titulo' => 'Plugins del parque']); ?>

             <?php $__env->slot('icono', null, []); ?> 
                <?php if (isset($component)) { $__componentOriginalb86967db162ccc0bceeb1ac50f169b8f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb86967db162ccc0bceeb1ac50f169b8f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.nav-icon','data' => ['name' => 'cube-02','tint' => 'orange']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('nav-icon'); ?>
<?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(['name' => 'cube-02','tint' => 'orange']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb86967db162ccc0bceeb1ac50f169b8f)): ?>
<?php $attributes = $__attributesOriginalb86967db162ccc0bceeb1ac50f169b8f; ?>
<?php unset($__attributesOriginalb86967db162ccc0bceeb1ac50f169b8f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb86967db162ccc0bceeb1ac50f169b8f)): ?>
<?php $component = $__componentOriginalb86967db162ccc0bceeb1ac50f169b8f; ?>
<?php unset($__componentOriginalb86967db162ccc0bceeb1ac50f169b8f); ?>
<?php endif; ?>
             <?php $__env->endSlot(); ?>

             <?php $__env->slot('descripcion', null, []); ?> 
                Qué hay instalado en los Moodle de los clientes: qué versión de lo nuestro tiene
                cada uno, qué llevan de terceros y quién se ha quedado atrás con el core.
                <span class="mt-0.5 block">
                    Esta sección <strong class="font-semibold">solo mira</strong>. Desde el Manager no se
                    instala ni se actualiza nada, y los datos son los que cada sitio declara al
                    sincronizar.
                </span>
             <?php $__env->endSlot(); ?>

             <?php $__env->slot('pie', null, []); ?> 
                <?php echo $__env->make('livewire.plugins.components.menu', ['selected' => 'resumen'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
             <?php $__env->endSlot(); ?>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal2544aeb3df80db4e8cf42f27632fe7f3)): ?>
<?php $attributes = $__attributesOriginal2544aeb3df80db4e8cf42f27632fe7f3; ?>
<?php unset($__attributesOriginal2544aeb3df80db4e8cf42f27632fe7f3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2544aeb3df80db4e8cf42f27632fe7f3)): ?>
<?php $component = $__componentOriginal2544aeb3df80db4e8cf42f27632fe7f3; ?>
<?php unset($__componentOriginal2544aeb3df80db4e8cf42f27632fe7f3); ?>
<?php endif; ?>

        <?php echo $__env->make('livewire.plugins.partials.sin-inventario', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if (! ($cobertura['vacio'])): ?>

            <?php $t = collect($tarjetas)->keyBy('clave'); ?>

            

            <?php echo $__env->make('livewire.plugins.partials.atencion', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            
            <div class="cfg-bloques-grid">

                
                <a href="<?php echo e(route('plugins.nuestros')); ?>" wire:navigate
                   class="cfg-bloque" style="background:var(--surface-card); border:1px solid var(--border-subtle);">
                    <span class="flex h-[38px] w-[38px] items-center justify-center rounded-[10px]"
                          style="background:var(--orange-100); color:var(--orange-600);">
                        <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z"/><path d="M2 12.18a1 1 0 0 0 .6.9l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 .6-.91"/><path d="M2 17.18a1 1 0 0 0 .6.9l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 .6-.91"/></svg>
                    </span>

                    <div class="flex flex-wrap items-center gap-2">
                        <span style="font-family:'Plus Jakarta Sans',sans-serif; font-size:15px; font-weight:700; color:var(--text-strong);">
                            Plugins Tresipunt
                        </span>

                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($t['nuestros']['alerta'] > 0): ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:#fff; background:var(--warning-500);">
                                <?php echo e($t['nuestros']['alerta']); ?> que mirar
                            </span>
                        <?php else: ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:var(--success-500); background:var(--success-50);">
                                todo alineado
                            </span>
                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </div>

                    <div class="flex-1 text-[12.5px] leading-[1.5]" style="color:var(--text-muted);">
                        Qué versión de lo nuestro tiene cada cliente.
                        <strong class="font-semibold">Un componente que convive en dos versiones
                        distintas</strong> es el dato con el que se planifica una actualización, y el
                        agregado de la otra pantalla no lo distingue.
                    </div>

                    <span class="text-[12.5px] font-semibold" style="color:var(--text-link);">
                        <?php echo e($t['nuestros']['cuantos']); ?>

                        <?php echo e($t['nuestros']['cuantos'] === 1 ? 'componente nuestro' : 'componentes nuestros'); ?> →
                    </span>
                </a>

                
                <a href="<?php echo e(route('plugins.sin-instalar')); ?>" wire:navigate
                   class="cfg-bloque" style="background:var(--surface-card); border:1px solid var(--border-subtle);">
                    <span class="flex h-[38px] w-[38px] items-center justify-center rounded-[10px]"
                          style="background:var(--warning-50); color:var(--warning-500);">
                        <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><line x1="17" x2="22" y1="11" y2="11"/></svg>
                    </span>

                    <div class="flex flex-wrap items-center gap-2">
                        <span style="font-family:'Plus Jakarta Sans',sans-serif; font-size:15px; font-weight:700; color:var(--text-strong);">
                            Licenciado y sin instalar
                        </span>

                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($t['sin-instalar']['alerta'] > 0): ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:#fff; background:var(--warning-500);">
                                <?php echo e($t['sin-instalar']['alerta']); ?> que revisar
                            </span>
                        <?php else: ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:var(--success-500); background:var(--success-50);">
                                nada pendiente
                            </span>
                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </div>

                    <div class="flex-1 text-[12.5px] leading-[1.5]" style="color:var(--text-muted);">
                        Productos contratados que no aparecen en el inventario del sitio que los tiene.
                        <strong class="font-semibold">Es una pregunta comercial</strong>: o el cliente no
                        lo ha instalado, o lo tiene y su Moodle no lo declara. Las dos se hablan con él.
                    </div>

                    <span class="text-[12.5px] font-semibold" style="color:var(--text-link);">
                        Ver qué falta y en qué sitios →
                    </span>
                </a>

                
                <a href="<?php echo e(route('plugins.inventario')); ?>" wire:navigate
                   class="cfg-bloque" style="background:var(--surface-card); border:1px solid var(--border-subtle);">
                    <span class="flex h-[38px] w-[38px] items-center justify-center rounded-[10px]"
                          style="background:var(--info-50); color:var(--info-500);">
                        <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><line x1="8" x2="21" y1="6" y2="6"/><line x1="8" x2="21" y1="12" y2="12"/><line x1="8" x2="21" y1="18" y2="18"/><line x1="3" x2="3.01" y1="6" y2="6"/><line x1="3" x2="3.01" y1="12" y2="12"/><line x1="3" x2="3.01" y1="18" y2="18"/></svg>
                    </span>

                    <div class="flex flex-wrap items-center gap-2">
                        <span style="font-family:'Plus Jakarta Sans',sans-serif; font-size:15px; font-weight:700; color:var(--text-strong);">
                            Inventario del parque
                        </span>

                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($t['inventario']['alerta'] > 0): ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:var(--warning-500); background:var(--warning-50);">
                                <?php echo e($t['inventario']['alerta']); ?> con actualización
                            </span>
                        <?php else: ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:var(--success-500); background:var(--success-50);">
                                sin actualizaciones
                            </span>
                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </div>

                    <div class="flex-1 text-[12.5px] leading-[1.5]" style="color:var(--text-muted);">
                        Todo lo que declaran los sitios, nuestro o de terceros, con su versión y en
                        cuántos entornos está. Es la lista larga: aquí se viene a
                        <strong class="font-semibold">buscar algo concreto</strong>.
                    </div>

                    <span class="text-[12.5px] font-semibold" style="color:var(--text-link);">
                        <?php echo e(number_format($t['inventario']['cuantos'], 0, ',', '.')); ?> componentes distintos →
                    </span>
                </a>

                
                <a href="<?php echo e(route('plugins.core')); ?>" wire:navigate
                   class="cfg-bloque" style="background:var(--surface-card); border:1px solid var(--border-subtle);">
                    <span class="flex h-[38px] w-[38px] items-center justify-center rounded-[10px]"
                          style="background:var(--success-50); color:var(--success-500);">
                        <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3v12"/><path d="m8 11 4 4 4-4"/><rect width="20" height="6" x="2" y="17" rx="2"/></svg>
                    </span>

                    <div class="flex flex-wrap items-center gap-2">
                        <span style="font-family:'Plus Jakarta Sans',sans-serif; font-size:15px; font-weight:700; color:var(--text-strong);">
                            Versiones de Moodle
                        </span>

                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($t['core']['alerta'] > 0): ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:#fff; background:var(--warning-500);">
                                <?php echo e($t['core']['alerta']); ?> por debajo de su rama
                            </span>
                        <?php else: ?>
                            <span class="rounded-full px-2 py-px text-[10.5px] font-bold"
                                  style="color:var(--success-500); background:var(--success-50);">
                                al día
                            </span>
                        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </div>

                    <div class="flex-1 text-[12.5px] leading-[1.5]" style="color:var(--text-muted);">
                        Qué sitios están por debajo de su propia rama y cuáles por debajo de la mayor
                        disponible, con las releases que cada Moodle dice tener a mano.
                    </div>

                    <span class="text-[12.5px] font-semibold" style="color:var(--text-link);">
                        <?php echo e($t['core']['cuantos']); ?>

                        <?php echo e($t['core']['cuantos'] === 1 ? 'sitio comprobado' : 'sitios comprobados'); ?> →
                    </span>
                </a>
            </div>

            <?php echo $__env->make('livewire.plugins.partials.apagados', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>
</div><?php /**PATH /var/www/html/resources/views/livewire/plugins/index.blade.php ENDPATH**/ ?>