<?php if (isset($component)) { $__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6 = $attributes; } ?>
<?php $component = App\View\Components\Layouts\AuthLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('layouts.auth-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Layouts\AuthLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <!-- Modal de confirmación -->
    <?php if (isset($component)) { $__componentOriginal905396fa1fa04b6c44dd32a29ffccc22 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal905396fa1fa04b6c44dd32a29ffccc22 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.modals.confirm-modal','data' => ['id' => 'confirm-delete','title' => '¿Eliminar Control - Regla?','message' => '¿Estás seguro de que deseas eliminar <strong>' . $dto->key . '</strong>? Esta acción no se puede deshacer.','action' => route('superadmin.section-rules.destroy', $id),'confirmText' => 'Eliminar']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('modals.confirm-modal'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => 'confirm-delete','title' => '¿Eliminar Control - Regla?','message' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('¿Estás seguro de que deseas eliminar <strong>' . $dto->key . '</strong>? Esta acción no se puede deshacer.'),'action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('superadmin.section-rules.destroy', $id)),'confirm-text' => 'Eliminar']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal905396fa1fa04b6c44dd32a29ffccc22)): ?>
<?php $attributes = $__attributesOriginal905396fa1fa04b6c44dd32a29ffccc22; ?>
<?php unset($__attributesOriginal905396fa1fa04b6c44dd32a29ffccc22); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal905396fa1fa04b6c44dd32a29ffccc22)): ?>
<?php $component = $__componentOriginal905396fa1fa04b6c44dd32a29ffccc22; ?>
<?php unset($__componentOriginal905396fa1fa04b6c44dd32a29ffccc22); ?>
<?php endif; ?>
    <div class="flex flex-col max-w-[960px]">
        <div class="flex flex-wrap gap-2 py-4">
            <a class="text-[#6a7681] text-base font-medium leading-normal"
                href="<?php echo e(route('superadmin.section-rules.index')); ?>">Controles - Reglas</a>
            <span class="text-[#6a7681] text-base font-medium leading-normal">/</span>
            <span class="text-[#121416] text-base font-medium leading-normal"><?php echo e($dto->key); ?></span>
        </div>
        <div class="flex flex-wrap justify-between gap-3 py-4">
            <div class="flex min-w-72 flex-col gap-3">
                <p class="text-[#121416] tracking-light text-[32px] font-bold leading-tight">Detalles</p>
                <p class="text-[#6a7681] text-sm font-normal leading-normal">Ver y administrar la información</p>
            </div>
        </div>
        
        <h3 class="text-[#121416] text-lg font-bold leading-tight tracking-[-0.015em] pb-2 pt-4">Información</h3>
        <div class="py-4 grid grid-cols-[20%_1fr] gap-x-6">
            <div class="col-span-2 grid grid-cols-subgrid border-t border-t-[#dde1e3] py-5">
                <p class="text-[#6a7681] text-sm font-normal leading-normal">Etiqueta</p>
                <p class="text-[#121416] text-sm font-normal leading-normal"><?php echo e($dto->label); ?></p>
            </div>
            <div class="col-span-2 grid grid-cols-subgrid border-t border-t-[#dde1e3] py-5">
                <p class="text-[#6a7681] text-sm font-normal leading-normal">Opciones</p>
                <div class="text-[#121416] text-sm font-normal leading-normal">
                    <?php if(!empty($dto->options) && is_array($dto->options)): ?>
                        <ul class="space-y-1">
                            <?php $__currentLoopData = $dto->options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li><strong><?php echo e($option['key']); ?></strong>: <?php echo e($option['value']); ?></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    <?php else: ?>
                        <p class="text-[#6a7681] italic">Sin opciones</p>
                    <?php endif; ?>
                </div>
            </div>
        </div>

        <div class="flex justify-stretch">
            <div class="flex flex-1 gap-3 flex-wrap py-3 justify-end">
                <?php if (isset($component)) { $__componentOriginal8565cc6e3559fc0755ba5bce504752a5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8565cc6e3559fc0755ba5bce504752a5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.controls.button','data' => ['href' => ''.e(route('superadmin.section-rules.edit', $id)).'','variant' => 'primary']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('controls.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(route('superadmin.section-rules.edit', $id)).'','variant' => 'primary']); ?>
                    Editar
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal8565cc6e3559fc0755ba5bce504752a5)): ?>
<?php $attributes = $__attributesOriginal8565cc6e3559fc0755ba5bce504752a5; ?>
<?php unset($__attributesOriginal8565cc6e3559fc0755ba5bce504752a5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8565cc6e3559fc0755ba5bce504752a5)): ?>
<?php $component = $__componentOriginal8565cc6e3559fc0755ba5bce504752a5; ?>
<?php unset($__componentOriginal8565cc6e3559fc0755ba5bce504752a5); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal8565cc6e3559fc0755ba5bce504752a5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8565cc6e3559fc0755ba5bce504752a5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.controls.button','data' => ['variant' => 'remove','dataModal' => 'confirm-delete','class' => 'open-modal-btn']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('controls.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['variant' => 'remove','data-modal' => 'confirm-delete','class' => 'open-modal-btn']); ?>Eliminar <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal8565cc6e3559fc0755ba5bce504752a5)): ?>
<?php $attributes = $__attributesOriginal8565cc6e3559fc0755ba5bce504752a5; ?>
<?php unset($__attributesOriginal8565cc6e3559fc0755ba5bce504752a5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8565cc6e3559fc0755ba5bce504752a5)): ?>
<?php $component = $__componentOriginal8565cc6e3559fc0755ba5bce504752a5; ?>
<?php unset($__componentOriginal8565cc6e3559fc0755ba5bce504752a5); ?>
<?php endif; ?>
            </div>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6)): ?>
<?php $attributes = $__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6; ?>
<?php unset($__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6)): ?>
<?php $component = $__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6; ?>
<?php unset($__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6); ?>
<?php endif; ?><?php /**PATH C:\laragon\www\housecontract\resources\views/superadmin/section-rules/show.blade.php ENDPATH**/ ?>