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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['color' => 'gray', 'size' => 'sm', 'dot' => false]));

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((['color' => 'gray', 'size' => 'sm', 'dot' => false]), '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); ?>

<?php
    $colors = [
        'gray'    => 'bg-ink-100 text-ink-700',
        'indigo'  => 'bg-brand-50 text-brand-700',
        'brand'   => 'bg-brand-50 text-brand-700',
        'emerald' => 'bg-emerald-50 text-emerald-700',
        'amber'   => 'bg-amber-50 text-amber-700',
        'orange'  => 'bg-orange-50 text-orange-700',
        'rose'    => 'bg-rose-50 text-rose-700',
        'sky'     => 'bg-sky-50 text-sky-700',
        'violet'  => 'bg-violet-50 text-violet-700',
    ][$color] ?? 'bg-ink-100 text-ink-700';

    $dotColors = [
        'gray'    => 'bg-ink-400',
        'indigo'  => 'bg-brand-500',
        'brand'   => 'bg-brand-500',
        'emerald' => 'bg-emerald-500',
        'amber'   => 'bg-amber-500',
        'orange'  => 'bg-orange-500',
        'rose'    => 'bg-rose-500',
        'sky'     => 'bg-sky-500',
        'violet'  => 'bg-violet-500',
    ][$color] ?? 'bg-ink-400';

    $sizes = [
        'xs' => 'text-[10px] px-1.5 py-0.5',
        'sm' => 'text-xs px-2 py-0.5',
        'md' => 'text-sm px-2.5 py-1',
    ][$size] ?? 'text-xs px-2 py-0.5';
?>

<span <?php echo e($attributes->merge(['class' => "pill inline-flex items-center font-medium rounded-full $colors $sizes"])); ?>>
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($dot): ?>
        <span class="w-1.5 h-1.5 rounded-full <?php echo e($dotColors); ?> mr-1"></span>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    <?php echo e($slot); ?>

</span>
<?php /**PATH /Applications/XAMPP/xamppfiles/htdocs/CitasSoft/resources/views/components/badge.blade.php ENDPATH**/ ?>