@php $guideVideoUrl = theme_option('youtube_video_url'); $guideYoutubeEmbedUrl = null; if (! empty($guideVideoUrl) && preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $guideVideoUrl, $match)) { $guideYoutubeEmbedUrl = 'https://www.youtube.com/embed/' . $match[1] . '?enablejsapi=1'; } @endphp
@if (theme_option('pwa_enabled', 'yes') === 'yes' && theme_option('pwa_show_install_button', 'yes') === 'yes') @endif @if ($guideYoutubeEmbedUrl) @endif للدعم الفني
@if ($guideYoutubeEmbedUrl) @endif {!! Theme::partial('lucky-wheel') !!} {!! Theme::partial('banner-offer-modal') !!} {!! Theme::partial('pwa-install') !!}