@php $views = [ 'standard' => 'coupon-frontViews.standard.index', 'mixed' => 'coupon-frontViews.mixed.index', 'gamified' => 'coupon-frontViews.gamified.index', ]; $themeView = $views[$selectedTheme] ?? $views['standard']; @endphp @include($themeView, ['config' => $config ?? [], 'isPreview' => $isPreview ?? false]) @include('backViews.partials.preview-listener')