@php $defaults = \App\Support\TradingAccountPlanCatalog::SECTION_COPY_DEFAULTS; $configuredCopy = array_intersect_key((array) ($cms['trading'] ?? []), $defaults); $overrides = array_diff_assoc($configuredCopy, $defaults); $eyebrow = $overrides['accounts_section_eyebrow'] ?? 'Account types'; $title = $overrides['accounts_section_title'] ?? null; $description = $overrides['accounts_section_description'] ?? ($compact ? 'Compare minimum deposits and published account features to find the right fit for your trading goals.' : 'Compare minimum deposits and account features to find a plan that suits the way you invest.'); @endphp @if(filled($eyebrow)) {{ $eyebrow }} @endif @if($compact)
{{ $description }}
@endif