<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['processing' => 'processing', 'text', 'class' => 'btn']) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['processing' => 'processing', 'text', 'class' => 'btn']); ?>
<?php foreach (array_filter((['processing' => 'processing', 'text', 'class' => 'btn']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<button type="submit" class="<?php echo e($class); ?>" x-show="!<?php echo e($processing); ?>" <?php echo e($attributes); ?>>
    <span class="btn-title"><?php echo e($text); ?></span>
</button>
<button class="<?php echo e($class); ?>" type="button" disabled x-cloak x-show="<?php echo e($processing); ?>">
    <span class="spinner-border spinner-border-lg" role="status" aria-hidden="true"></span>
</button><?php /**PATH /home/retepccv/fastwaylogistics.org/resources/views/components/widgets/alpine/action-button.blade.php ENDPATH**/ ?>