

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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'title',
    'icon' => 'file-alt',
    'iconColor' => 'primary',
    'showDateTime' => true
]));

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',
    'icon' => 'file-alt',
    'iconColor' => 'primary',
    'showDateTime' => true
]), '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); ?>

<div class="page-header d-flex align-items-center justify-content-between flex-wrap">
    <h1>
        <i class="fas fa-<?php echo e($icon); ?> mr-2 text-<?php echo e($iconColor); ?>"></i><?php echo e($title); ?>

    </h1>

    <div class="d-flex align-items-center page-header-right">
        <?php if($slot->isNotEmpty()): ?>
        <div class="page-header-actions mr-3">
            <?php echo e($slot); ?>

        </div>
        <?php endif; ?>

        <?php if($showDateTime): ?>
        <div class="datetime-display d-flex align-items-center">
            <div class="date-box">
                <i class="far fa-calendar-alt"></i>
                <span id="day">day</span>,
                <span id="daynum">00</span>
                <span id="month">month</span>
                <span id="year">0000</span>
            </div>
            <div class="time-box">
                <i class="far fa-clock"></i>
                <span class="display-time">00:00:00</span>
            </div>
        </div>
        <?php endif; ?>
    </div>
</div>
<?php /**PATH C:\Users\Admin\Desktop\ip.co.in\resources\views/components/layout/page-header.blade.php ENDPATH**/ ?>