{{-- Global JS Assets --}}
{!!
Minify::javascript(
array_merge([
'/libs/jquery/dist/jquery.min.js',
'/libs/popper.js/dist/umd/popper.min.js',
'/libs/bootstrap/dist/js/bootstrap.min.js',
'/js/plugins/toasts.js',
'/libs/cookieconsent/build/cookieconsent.min.js',
'/js/app.js',
],
(isset($additionalJs) ? $additionalJs : [])
))->withFullUrl()
!!}
{{-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --}}
{{-- WARNING: Respond.js doesn't work if you view the page via file:// --}}
{{--[if lt IE 9]>
{!! Minify::javascript(array('//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js', '//oss.maxcdn.com/respond/1.4.2/respond.min.js')) !!}
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{getSetting('site.google_analytics_tracking_id')}}', 'auto');
ga('send', 'pageview');
@endif
{{-- Page specific JS --}}
@yield('scripts')
@if(getSetting('site.custom_css'))
@endif
@include('elements.translations')