@php
$rtlLanguages = !empty($generalSettings['rtl_languages']) ? $generalSettings['rtl_languages'] : [];
$isRtl = ((in_array(mb_strtoupper(app()->getLocale()), $rtlLanguages)) or (!empty($generalSettings['rtl_layout']) and $generalSettings['rtl_layout'] == 1));
$themeCustomCssAndJs = getThemeCustomCssAndJs();
@endphp
@include('design_1.web.includes.metas')
@if(!empty($floatingBar) and $floatingBar->position == 'top')
@include('design_1.web.includes.floating_bar')
@endif
@if(!isset($appHeader) and !empty($themeHeaderData['component_name']))
@endif
{{-- Content --}}
@yield('content')
@if(!isset($appFooter) and !empty($themeFooterData['component_name']))
@endif
@include('design_1.web.includes.advertise_modal.index')
@if(!empty($floatingBar) and $floatingBar->position == 'bottom')
@include('design_1.web.includes.floating_bar')
@endif
{{-- Cart Drawer --}}
@include('design_1.web.cart.drawer.index')
@if(empty($justMobileApp) and checkShowCookieSecurityDialog() and empty($dontShowCookieSecurity))
@include('design_1.web.includes.cookie_security.cookie-security')
@endif
@if(session()->has('toast'))
@endif
@include('design_1.web.includes.purchase_notifications')
@stack('styles_bottom')
@stack('scripts_bottom')
@stack('scripts_bottom2')