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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'title',
    'subtitle' => null,
    'crumbs' => [],
]));

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',
    'subtitle' => null,
    'crumbs' => [],
]), '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); ?>

<div <?php echo e($attributes->class(['ci-page', 'ci-page--report'])); ?>>
    <?php if(count($crumbs)): ?>
        <nav class="ci-crumb" aria-label="Breadcrumb">
            <?php $__currentLoopData = $crumbs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $crumb): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if($i > 0): ?><span class="ci-crumb__sep">/</span><?php endif; ?>
                <?php
                    $label = is_array($crumb) ? ($crumb['label'] ?? '') : (string) $crumb;
                    $url = is_array($crumb) ? ($crumb['url'] ?? null) : null;
                    $isLast = $i === array_key_last($crumbs);
                ?>
                <?php if($url && ! $isLast): ?>
                    <a href="<?php echo e($url); ?>"><?php echo e($label); ?></a>
                <?php else: ?>
                    <span class="<?php echo \Illuminate\Support\Arr::toCssClasses(['ci-crumb__current' => $isLast]); ?>"><?php echo e($label); ?></span>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </nav>
    <?php else: ?>
        <nav class="ci-crumb" aria-label="Breadcrumb">
            <span>Reports</span>
            <span class="ci-crumb__sep">/</span>
            <span class="ci-crumb__current"><?php echo e($title); ?></span>
        </nav>
    <?php endif; ?>

    <div class="ci-header">
        <div>
            <h1><?php echo e($title); ?></h1>
            <?php if($subtitle): ?>
                <p class="ci-header__sub"><?php echo e($subtitle); ?></p>
            <?php endif; ?>
        </div>
        <?php if(isset($actions)): ?>
            <div class="ci-header__actions">
                <?php echo e($actions); ?>

            </div>
        <?php endif; ?>
    </div>

    <?php echo e($slot); ?>

</div>
<?php /**PATH /var/www/html/shivajewellers_uat/resources/views/components/admin/report-page.blade.php ENDPATH**/ ?>