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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['outcome' => null, 'marketIsLocked' => null]));

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((['outcome' => null, 'marketIsLocked' => null]), '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 foreach ((['betPlacedIds' => []]) as $__key => $__value) {
    $__consumeVariable = is_string($__key) ? $__key : $__value;
    $$__consumeVariable = is_string($__key) ? $__env->getConsumableComponentData($__key, $__value) : $__env->getConsumableComponentData($__value);
} ?>

<div class="option-odd-list__item">
    <?php if($outcome): ?>
        <button class="<?php echo \Illuminate\Support\Arr::toCssClasses([
            'btn btn-sm btn-light text--small border oddBtn ',
            'active' => in_array($outcome->id, $betPlacedIds),
            'locked' => ($outcome->locked || $marketIsLocked) ,
        ]); ?>" data-outcome_id="<?php echo e($outcome->id); ?>" ><?php echo e(rateData($outcome->odds)); ?> </button>
    <?php else: ?>
        <button class="btn btn-light border" disabled> - </button>
    <?php endif; ?>
</div>
<?php /**PATH /home/ugurwpum/public_html/bet4.cashrall.com/core/resources/views/components/frontend/odds-button.blade.php ENDPATH**/ ?>