<?php $__env->startSection('title', 'Session Monitoring'); ?>

<?php $__env->startSection('header'); ?>
    <?php if (isset($component)) { $__componentOriginal111218edafe37a3ff745a947bea8c7e5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal111218edafe37a3ff745a947bea8c7e5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.isp-page-header','data' => ['title' => 'Session Monitoring','module' => 'Network Operations','description' => 'Track live hotspot and PPPoE sessions, data usage, uptime, and disconnection actions from one NOC view.']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('isp-page-header'); ?>
<?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(['title' => 'Session Monitoring','module' => 'Network Operations','description' => 'Track live hotspot and PPPoE sessions, data usage, uptime, and disconnection actions from one NOC view.']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal111218edafe37a3ff745a947bea8c7e5)): ?>
<?php $attributes = $__attributesOriginal111218edafe37a3ff745a947bea8c7e5; ?>
<?php unset($__attributesOriginal111218edafe37a3ff745a947bea8c7e5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal111218edafe37a3ff745a947bea8c7e5)): ?>
<?php $component = $__componentOriginal111218edafe37a3ff745a947bea8c7e5; ?>
<?php unset($__componentOriginal111218edafe37a3ff745a947bea8c7e5); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="space-y-6">
        <section class="grid grid-cols-1 gap-4 md:grid-cols-3">
            <?php if (isset($component)) { $__componentOriginal73e8909751d40929eb36b5991fae6a61 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal73e8909751d40929eb36b5991fae6a61 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.kpi-card','data' => ['title' => 'Active Sessions','value' => number_format($stats['active_sessions'] ?? 0),'subtext' => 'Live subscribers','iconBg' => 'from-indigo-500 to-cyan-500']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.kpi-card'); ?>
<?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(['title' => 'Active Sessions','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(number_format($stats['active_sessions'] ?? 0)),'subtext' => 'Live subscribers','iconBg' => 'from-indigo-500 to-cyan-500']); ?>
                 <?php $__env->slot('icon', null, []); ?> <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 12a10 10 0 0 1 20 0"/></svg> <?php $__env->endSlot(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal73e8909751d40929eb36b5991fae6a61)): ?>
<?php $attributes = $__attributesOriginal73e8909751d40929eb36b5991fae6a61; ?>
<?php unset($__attributesOriginal73e8909751d40929eb36b5991fae6a61); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal73e8909751d40929eb36b5991fae6a61)): ?>
<?php $component = $__componentOriginal73e8909751d40929eb36b5991fae6a61; ?>
<?php unset($__componentOriginal73e8909751d40929eb36b5991fae6a61); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginal73e8909751d40929eb36b5991fae6a61 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal73e8909751d40929eb36b5991fae6a61 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.kpi-card','data' => ['title' => 'Sessions Today','value' => number_format($stats['total_today'] ?? 0),'subtext' => 'Daily traffic','iconBg' => 'from-emerald-500 to-teal-500']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.kpi-card'); ?>
<?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(['title' => 'Sessions Today','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(number_format($stats['total_today'] ?? 0)),'subtext' => 'Daily traffic','iconBg' => 'from-emerald-500 to-teal-500']); ?>
                 <?php $__env->slot('icon', null, []); ?> <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12h18"/></svg> <?php $__env->endSlot(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal73e8909751d40929eb36b5991fae6a61)): ?>
<?php $attributes = $__attributesOriginal73e8909751d40929eb36b5991fae6a61; ?>
<?php unset($__attributesOriginal73e8909751d40929eb36b5991fae6a61); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal73e8909751d40929eb36b5991fae6a61)): ?>
<?php $component = $__componentOriginal73e8909751d40929eb36b5991fae6a61; ?>
<?php unset($__componentOriginal73e8909751d40929eb36b5991fae6a61); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginal73e8909751d40929eb36b5991fae6a61 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal73e8909751d40929eb36b5991fae6a61 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.kpi-card','data' => ['title' => 'Bandwidth Today','value' => number_format(($stats['total_bandwidth_today'] ?? 0) / 1024 / 1024, 2).' GB','subtext' => 'Aggregate transfer','iconBg' => 'from-violet-500 to-indigo-500']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.kpi-card'); ?>
<?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(['title' => 'Bandwidth Today','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(number_format(($stats['total_bandwidth_today'] ?? 0) / 1024 / 1024, 2).' GB'),'subtext' => 'Aggregate transfer','iconBg' => 'from-violet-500 to-indigo-500']); ?>
                 <?php $__env->slot('icon', null, []); ?> <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12h4l3 9 4-18 3 9h4"/></svg> <?php $__env->endSlot(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal73e8909751d40929eb36b5991fae6a61)): ?>
<?php $attributes = $__attributesOriginal73e8909751d40929eb36b5991fae6a61; ?>
<?php unset($__attributesOriginal73e8909751d40929eb36b5991fae6a61); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal73e8909751d40929eb36b5991fae6a61)): ?>
<?php $component = $__componentOriginal73e8909751d40929eb36b5991fae6a61; ?>
<?php unset($__componentOriginal73e8909751d40929eb36b5991fae6a61); ?>
<?php endif; ?>
        </section>

        <?php if (isset($component)) { $__componentOriginalff420112e83fb52a8cb508be690fe32b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalff420112e83fb52a8cb508be690fe32b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.resource-index','data' => ['filterAction' => route('isp.sessions.index'),'filterChips' => $filterChips ?? [],'exportFormats' => $exportFormats ?? [],'paginator' => $sessions,'empty' => $sessions->isEmpty(),'emptyTitle' => 'No sessions found','emptyMessage' => 'No hotspot or PPPoE sessions match the current filters.']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('resource-index'); ?>
<?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(['filter-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('isp.sessions.index')),'filter-chips' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($filterChips ?? []),'export-formats' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exportFormats ?? []),'paginator' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($sessions),'empty' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($sessions->isEmpty()),'empty-title' => 'No sessions found','empty-message' => 'No hotspot or PPPoE sessions match the current filters.']); ?>
             <?php $__env->slot('filters', null, []); ?> 
                <?php if (isset($component)) { $__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-filters.select','data' => ['name' => 'router_id','label' => 'Router','placeholder' => 'All routers','class' => 'min-w-[180px] flex-1','options' => $routers->pluck('name', 'id')->mapWithKeys(fn ($name, $id) => [(string) $id => $name])->all()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-filters.select'); ?>
<?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' => 'router_id','label' => 'Router','placeholder' => 'All routers','class' => 'min-w-[180px] flex-1','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($routers->pluck('name', 'id')->mapWithKeys(fn ($name, $id) => [(string) $id => $name])->all())]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f)): ?>
<?php $attributes = $__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f; ?>
<?php unset($__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f)): ?>
<?php $component = $__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f; ?>
<?php unset($__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal609c27e10886775abd521bb0a4000498 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal609c27e10886775abd521bb0a4000498 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-filters.search','data' => ['placeholder' => 'Username, customer, IP…']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-filters.search'); ?>
<?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(['placeholder' => 'Username, customer, IP…']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal609c27e10886775abd521bb0a4000498)): ?>
<?php $attributes = $__attributesOriginal609c27e10886775abd521bb0a4000498; ?>
<?php unset($__attributesOriginal609c27e10886775abd521bb0a4000498); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal609c27e10886775abd521bb0a4000498)): ?>
<?php $component = $__componentOriginal609c27e10886775abd521bb0a4000498; ?>
<?php unset($__componentOriginal609c27e10886775abd521bb0a4000498); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-filters.select','data' => ['name' => 'status','label' => 'Status','placeholder' => 'Active (default)','options' => [
                        'active' => 'Active',
                        'terminated' => 'Terminated',
                        'expired' => 'Expired',
                    ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-filters.select'); ?>
<?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' => 'status','label' => 'Status','placeholder' => 'Active (default)','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
                        'active' => 'Active',
                        'terminated' => 'Terminated',
                        'expired' => 'Expired',
                    ])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f)): ?>
<?php $attributes = $__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f; ?>
<?php unset($__attributesOriginaldf4625c685cd48624c5c9a5b5c768d2f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f)): ?>
<?php $component = $__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f; ?>
<?php unset($__componentOriginaldf4625c685cd48624c5c9a5b5c768d2f); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal1ecd61a04aebc81c6051cffbc8291375 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1ecd61a04aebc81c6051cffbc8291375 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-filters.date','data' => ['name' => 'date_from','label' => 'From']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-filters.date'); ?>
<?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' => 'date_from','label' => 'From']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1ecd61a04aebc81c6051cffbc8291375)): ?>
<?php $attributes = $__attributesOriginal1ecd61a04aebc81c6051cffbc8291375; ?>
<?php unset($__attributesOriginal1ecd61a04aebc81c6051cffbc8291375); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1ecd61a04aebc81c6051cffbc8291375)): ?>
<?php $component = $__componentOriginal1ecd61a04aebc81c6051cffbc8291375; ?>
<?php unset($__componentOriginal1ecd61a04aebc81c6051cffbc8291375); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal1ecd61a04aebc81c6051cffbc8291375 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1ecd61a04aebc81c6051cffbc8291375 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-filters.date','data' => ['name' => 'date_to','label' => 'To']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-filters.date'); ?>
<?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' => 'date_to','label' => 'To']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1ecd61a04aebc81c6051cffbc8291375)): ?>
<?php $attributes = $__attributesOriginal1ecd61a04aebc81c6051cffbc8291375; ?>
<?php unset($__attributesOriginal1ecd61a04aebc81c6051cffbc8291375); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1ecd61a04aebc81c6051cffbc8291375)): ?>
<?php $component = $__componentOriginal1ecd61a04aebc81c6051cffbc8291375; ?>
<?php unset($__componentOriginal1ecd61a04aebc81c6051cffbc8291375); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginal379007f10604674fff3ace02f90f5fae = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal379007f10604674fff3ace02f90f5fae = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-filters.per-page','data' => ['default' => 25]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-filters.per-page'); ?>
<?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(['default' => 25]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal379007f10604674fff3ace02f90f5fae)): ?>
<?php $attributes = $__attributesOriginal379007f10604674fff3ace02f90f5fae; ?>
<?php unset($__attributesOriginal379007f10604674fff3ace02f90f5fae); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal379007f10604674fff3ace02f90f5fae)): ?>
<?php $component = $__componentOriginal379007f10604674fff3ace02f90f5fae; ?>
<?php unset($__componentOriginal379007f10604674fff3ace02f90f5fae); ?>
<?php endif; ?>
             <?php $__env->endSlot(); ?>

             <?php $__env->slot('table', null, []); ?> 
                <?php if (isset($component)) { $__componentOriginalc8463834ba515134d5c98b88e1a9dc03 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc8463834ba515134d5c98b88e1a9dc03 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.data-table','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('data-table'); ?>
<?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([]); ?>
                    <thead>
                        <tr>
                            <th>Username</th>
                            <th>Customer</th>
                            <th>Router</th>
                            <th>IP Address</th>
                            <th>Data Used</th>
                            <th>Uptime</th>
                            <th>Started</th>
                            <?php if (isset($component)) { $__componentOriginal69c4acddde3079c8bfc515678f409176 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal69c4acddde3079c8bfc515678f409176 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.table-actions.header','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('table-actions.header'); ?>
<?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($__attributesOriginal69c4acddde3079c8bfc515678f409176)): ?>
<?php $attributes = $__attributesOriginal69c4acddde3079c8bfc515678f409176; ?>
<?php unset($__attributesOriginal69c4acddde3079c8bfc515678f409176); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal69c4acddde3079c8bfc515678f409176)): ?>
<?php $component = $__componentOriginal69c4acddde3079c8bfc515678f409176; ?>
<?php unset($__componentOriginal69c4acddde3079c8bfc515678f409176); ?>
<?php endif; ?>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $sessions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $session): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if (isset($component)) { $__componentOriginal693da8371f81527050c5488b27378bc6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal693da8371f81527050c5488b27378bc6 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.listing-table.row','data' => ['href' => route('isp.sessions.show', $session)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('listing-table.row'); ?>
<?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(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('isp.sessions.show', $session))]); ?>
                                <td><?php echo e($session->username); ?></td>
                                <td><?php echo e($session->customer->full_name ?? 'Voucher User'); ?></td>
                                <td><?php echo e($session->router->name); ?></td>
                                <td class="font-mono text-xs"><?php echo e($session->ip_address); ?></td>
                                <td><?php echo e($session->formatted_total_bytes); ?></td>
                                <td><?php echo e($session->uptime_formatted); ?></td>
                                <td><?php echo e($session->started_at->format('M d, H:i')); ?></td>
                                <td class="text-right whitespace-nowrap">
                                    <?php if (isset($component)) { $__componentOriginal35f57f4e82a16e7ad7641b9fb6c7f399 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal35f57f4e82a16e7ad7641b9fb6c7f399 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.table-actions','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('table-actions'); ?>
<?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 if (isset($component)) { $__componentOriginal4bbb0a061de663e48c42cf83a926a23f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4bbb0a061de663e48c42cf83a926a23f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.table-actions.link','data' => ['href' => route('isp.sessions.show', $session),'label' => 'View']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('table-actions.link'); ?>
<?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(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('isp.sessions.show', $session)),'label' => 'View']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4bbb0a061de663e48c42cf83a926a23f)): ?>
<?php $attributes = $__attributesOriginal4bbb0a061de663e48c42cf83a926a23f; ?>
<?php unset($__attributesOriginal4bbb0a061de663e48c42cf83a926a23f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4bbb0a061de663e48c42cf83a926a23f)): ?>
<?php $component = $__componentOriginal4bbb0a061de663e48c42cf83a926a23f; ?>
<?php unset($__componentOriginal4bbb0a061de663e48c42cf83a926a23f); ?>
<?php endif; ?>
                                        <?php if($session->status === 'active'): ?>
                                            <?php if (isset($component)) { $__componentOriginalb93ba26a658ff6e0007f90419915c4da = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalb93ba26a658ff6e0007f90419915c4da = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.table-actions.form','data' => ['action' => route('isp.sessions.disconnect', $session),'label' => 'Disconnect']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('table-actions.form'); ?>
<?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(['action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('isp.sessions.disconnect', $session)),'label' => 'Disconnect']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalb93ba26a658ff6e0007f90419915c4da)): ?>
<?php $attributes = $__attributesOriginalb93ba26a658ff6e0007f90419915c4da; ?>
<?php unset($__attributesOriginalb93ba26a658ff6e0007f90419915c4da); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalb93ba26a658ff6e0007f90419915c4da)): ?>
<?php $component = $__componentOriginalb93ba26a658ff6e0007f90419915c4da; ?>
<?php unset($__componentOriginalb93ba26a658ff6e0007f90419915c4da); ?>
<?php endif; ?>
                                        <?php endif; ?>
                                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal35f57f4e82a16e7ad7641b9fb6c7f399)): ?>
<?php $attributes = $__attributesOriginal35f57f4e82a16e7ad7641b9fb6c7f399; ?>
<?php unset($__attributesOriginal35f57f4e82a16e7ad7641b9fb6c7f399); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal35f57f4e82a16e7ad7641b9fb6c7f399)): ?>
<?php $component = $__componentOriginal35f57f4e82a16e7ad7641b9fb6c7f399; ?>
<?php unset($__componentOriginal35f57f4e82a16e7ad7641b9fb6c7f399); ?>
<?php endif; ?>
                                </td>
                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal693da8371f81527050c5488b27378bc6)): ?>
<?php $attributes = $__attributesOriginal693da8371f81527050c5488b27378bc6; ?>
<?php unset($__attributesOriginal693da8371f81527050c5488b27378bc6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal693da8371f81527050c5488b27378bc6)): ?>
<?php $component = $__componentOriginal693da8371f81527050c5488b27378bc6; ?>
<?php unset($__componentOriginal693da8371f81527050c5488b27378bc6); ?>
<?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc8463834ba515134d5c98b88e1a9dc03)): ?>
<?php $attributes = $__attributesOriginalc8463834ba515134d5c98b88e1a9dc03; ?>
<?php unset($__attributesOriginalc8463834ba515134d5c98b88e1a9dc03); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc8463834ba515134d5c98b88e1a9dc03)): ?>
<?php $component = $__componentOriginalc8463834ba515134d5c98b88e1a9dc03; ?>
<?php unset($__componentOriginalc8463834ba515134d5c98b88e1a9dc03); ?>
<?php endif; ?>
             <?php $__env->endSlot(); ?>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalff420112e83fb52a8cb508be690fe32b)): ?>
<?php $attributes = $__attributesOriginalff420112e83fb52a8cb508be690fe32b; ?>
<?php unset($__attributesOriginalff420112e83fb52a8cb508be690fe32b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalff420112e83fb52a8cb508be690fe32b)): ?>
<?php $component = $__componentOriginalff420112e83fb52a8cb508be690fe32b; ?>
<?php unset($__componentOriginalff420112e83fb52a8cb508be690fe32b); ?>
<?php endif; ?>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\ispbilling\resources\views/isp/sessions/index.blade.php ENDPATH**/ ?>