@php $base_class = 'lqd-remaining-credit relative mx-2 flex flex-col gap-3 text-2xs'; $progress_base_class = 'lqd-progress flex h-2 overflow-hidden rounded-full'; $progressbar_text_base_class = 'lqd-progress-bar grow-0 basis-auto bg-primary'; $progressbar_image_base_class = 'lqd-progress-bar grow-0 basis-auto bg-secondary'; $legend_text_base_class = ''; $legend_box_text_base_class = ''; $legend_image_base_class = ''; $legend_box_image_base_class = 'bg-secondary'; $modal_trigger_base_class = ''; $variations = [ 'progressHeight' => [ 'sm' => 'h-1', 'md' => 'h-2', ], ]; $progressHeight = $variations['progressHeight'][$progressHeight] ?? $variations['progressHeight']['md']; $random = random_int(100000, 900000); if ($modalTriggerPos === 'inline' && $showType !== 'button') { $base_class .= ' pe-12'; $modal_trigger_base_class .= ' absolute end-0 top-0 size-9 shrink-0 p-0 outline-heading-foreground/10 hover:bg-primary hover:text-primary-foreground'; } @endphp @if ($showType === 'directly')
{{ __('Each credit unlocks powerful AI tools and features designed to enhance your content creation.') }}