<?php
    $waNumber = $waNumber ?? (App\Models\SiteSetting::where('key','whatsapp_number')->value('value') ?? '923001234567');
    $serviceName = $serviceName ?? 'Texora service';
    $packageName = $packageName ?? null;
    $startLabel = $startLabel ?? 'Start Now';
    $expertUrl = $expertUrl ?? route('consultation');
    $whatsappText = $whatsappText ?? 'Hi Texora, I need help with ' . $serviceName . ($packageName ? ' - ' . $packageName : '');
    $whatsappUrl = 'https://wa.me/' . preg_replace('/[^0-9]/', '', $waNumber) . '?text=' . urlencode($whatsappText);
?>

<div class="txp-actions">
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($startClick)): ?>
        <button type="button" class="txp-action-primary" @click.stop="<?php echo e($startClick); ?>">
            <?php echo e($startLabel); ?>

        </button>
    <?php else: ?>
        <a href="<?php echo e($startUrl ?? route('services.index')); ?>" class="txp-action-primary" @click.stop>
            <?php echo e($startLabel); ?>

        </a>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

    <div class="txp-action-row">
        <a href="<?php echo e($expertUrl); ?>" class="txp-action-secondary" @click.stop>Talk to Expert</a>
        <a href="<?php echo e($whatsappUrl); ?>" target="_blank" rel="noopener" class="txp-action-secondary txp-action-whatsapp" @click.stop>WhatsApp</a>
    </div>
</div>
<?php /**PATH C:\Users\User\.gemini\antigravity\scratch\texora\resources\views/frontend/partials/service-card-actions.blade.php ENDPATH**/ ?>