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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['label', 'value', 'icon' => 'bi-bar-chart', 'change' => null, 'tone' => 'emerald']));

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((['label', 'value', 'icon' => 'bi-bar-chart', 'change' => null, 'tone' => 'emerald']), '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); ?>

<?php if (isset($component)) { $__componentOriginal40781a21bf31db85d0542686d1ec8a62 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40781a21bf31db85d0542686d1ec8a62 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.dashboard-card','data' => ['title' => $label,'value' => $value,'icon' => $icon,'description' => $change,'tone' => $tone,'attributes' => $attributes]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.dashboard-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' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($label),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($value),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($change),'tone' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tone),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attributes)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40781a21bf31db85d0542686d1ec8a62)): ?>
<?php $attributes = $__attributesOriginal40781a21bf31db85d0542686d1ec8a62; ?>
<?php unset($__attributesOriginal40781a21bf31db85d0542686d1ec8a62); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40781a21bf31db85d0542686d1ec8a62)): ?>
<?php $component = $__componentOriginal40781a21bf31db85d0542686d1ec8a62; ?>
<?php unset($__componentOriginal40781a21bf31db85d0542686d1ec8a62); ?>
<?php endif; ?>
<?php /**PATH /Users/mac/Documents/e-com/resources/views/components/admin/stat-card.blade.php ENDPATH**/ ?>