

<?php $__env->startSection('title', trans('booking.page_title')); ?>


<?php $__env->startSection('header'); ?>
    <link rel="stylesheet" href="<?php echo e(asset_url('plugins','bootstrap-datetimepicker/bootstrap-datetimepicker.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset_url('css','booking.css')); ?>?_dc=<?php echo e(config('app.timestamp')); ?>">

    <?php echo $__env->make('partials.override_css', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>
    <div class="eto-main-container">
        <div class="language-switcher-booking-widget">
            <?php echo $__env->make('partials.language_switcher', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        </div>

        <div id="etoMinimalContainer">
            <div class="loadingContainer">
                <i class="ion-ios-loop fa fa-spin loadingProgress"></i>
                <div class="loadingText"><?php echo e(trans('common.loading')); ?></div>
            </div>
        </div>

        
    </div>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('footer'); ?>
    
    <script src="<?php echo e(asset_url('plugins','moment/moment-with-locales.min.js')); ?>"></script>
    <script src="<?php echo e(asset_url('plugins','moment/moment-timezone-with-data.min.js')); ?>"></script>
    <script src="<?php echo e(asset_url('plugins','typeahead/typeahead.bundle.min.js')); ?>"></script>
    <script src="<?php echo e(asset_url('plugins','bootstrap-datetimepicker/bootstrap-datetimepicker.min.js')); ?>"></script>
    <script src="<?php echo e(asset_url('plugins','combodate/combodate.js')); ?>"></script>

    <script>
    var ETOLang = <?php echo json_encode(trans('frontend.js')); ?>;
    var ETOBookingType = '<?php echo e(request()->get('bookingType')); ?>';
    </script>

    <?php if(file_exists(asset_path('uploads','custom/js/'. app()->getLocale() .'/override_'. app()->getLocale() .'.js'))): ?>
        <script src="<?php echo e(asset_url('uploads','custom/js/'. app()->getLocale() .'/override_'. app()->getLocale() .'.js')); ?>?_dc=<?php echo e(config('app.timestamp')); ?>"></script>
    <?php endif; ?>

    <script src="//maps.googleapis.com/maps/api/js?v=3&key=<?php echo e(config('site.google_maps_javascript_api_key')); ?>&libraries=places&language=<?php echo e(app()->getLocale()); ?>"></script>

    <script src="<?php echo e(asset_url('js','booking.js')); ?>?_dc=<?php echo e(config('app.timestamp')); ?>"></script>

    <?php 
    parse_str(urldecode(request()->getQueryString()), $urlParams);
    $urlParams = json_encode($urlParams);
     ?>

    <script>
    $(document).ready(function() {
        etoApp({
            debug: <?php echo e(config('app.debug') ? 1 : 0); ?>,
            layout: 'minimal',
            mainContainer: 'etoMinimalContainer',
            urlParams: <?php echo $urlParams; ?>

        });
    });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>