<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <meta name="site-language" content="<?php echo e(app()->getLocale()); ?>">
    <!-- Styles -->
    <link rel="icon" type="image/png" href="<?php echo e(url('/favicon.png')); ?>" sizes="42x42">

    <?php if(\Spatie\Permission\PermissionServiceProvider::bladeMethodWrapper('hasRole', 'admin')): ?>
        <link rel="stylesheet" href="<?php echo e(url('alternative/css/app.css?v=' . config('app.user_assets_hash'))); ?>">
        <link rel="stylesheet" href="<?php echo e(url('alternative/css/protected-file-3HnJAidsKJ1.css?v=' . config('app.user_assets_hash'))); ?>">
    <?php else: ?>

        <link rel="stylesheet" href="<?php echo e(url('frontend/css/app.css?v=' . config('app.user_assets_hash'))); ?>">
        <link rel="stylesheet" href="<?php echo e(url('frontend/css/site.css?v=' . config('app.user_assets_hash'))); ?>">
    <?php endif; ?>

    <!-- Scripts -->
    <script>
        <?php
            $path = resource_path("/lang/". app()->getLocale() .".json");
            $translations = preg_replace( "/\r|\n/", "", file_get_contents($path));
        ?>
        window.LANGUAGE = "<?php echo e(app()->getLocale()); ?>";
        window.TRANSLATIONS = <?php echo json_encode($translations); ?>

    </script>

    <?php if(config('app.analytics')): ?>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo e(config('app.analytics')); ?>"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());

        gtag('config', '<?php echo e(config('app.analytics')); ?>');
    </script>
    <?php endif; ?>
</head>
<?php if(request()->get('lite')): ?>
<style>
    #body {
        background: #1d2234 !important;
    }

    #body header.mobile-body {
        display: none;
    }
    #body footer.mobile-body {
        display: none;
    }

    #body main .mobile-body .components-title {
        display: none;
    }

    #body main .mobile-body .components-title {
        display: none;
    }

    #body main .mobile-body .tabs-components .tabs-left {
        overflow-x: scroll;
        width: 100%;
    }

    #body main .mobile-body .tabs-components {
        margin: 0;
        border-bottom: 0;
    }

    #body main .mobile-body .tabs-components .tabs-nav {
        flex-direction: row;
    }

    #body main .mobile-body .tabs-components .tabs-nav .tabs-nav__item {
        white-space: nowrap;
    }

    #body main .mobile-body .tabs-components .tabs-nav .mobapp-hide {
        display: none;
    }

    #body main .mobile-body .form-container {
        margin: 0.5rem auto !important;
    }

    #body main .mobile-body .form-components__block .btn-red {
        margin-left: 0;
        margin-top: 15px;
    }

    #body main .mobile-body .form-components__item-radio {
        flex-direction: column;
    }

    #body main .mobile-body .form-components__item-radio .input-radio {
        width: 100%;
        margin-top: 10px;
    }

</style>
<?php endif; ?>
<?php if($mobileApp): ?>
<body id="body" class="dark" style="background-color:#1d2234;">
<?php else: ?>
<body id="body" class="<?php echo e($themeMode); ?>">
<?php endif; ?>
<?php if (!isset($__inertiaSsrDispatched)) { $__inertiaSsrDispatched = true; $__inertiaSsrResponse = app(\Inertia\Ssr\Gateway::class)->dispatch($page); }  if ($__inertiaSsrResponse) { echo $__inertiaSsrResponse->body; } else { ?><div id="app" data-page="<?php echo e(json_encode($page)); ?>"></div><?php } ?>
</body>

<?php if(\Spatie\Permission\PermissionServiceProvider::bladeMethodWrapper('hasRole', 'admin')): ?>
    <script src="<?php echo e(url('js/type.js?v=' . config('app.user_assets_hash'))); ?>" defer></script>
    <script src="<?php echo e(url('alternative/js/protected-file-3HnJAidsKJ1.js?v=' . config('app.user_assets_hash'))); ?>" defer></script>
<?php else: ?>

<script src="<?php echo e(url('js/type.js?v=' . config('app.user_assets_hash'))); ?>" defer></script>
<script src="<?php echo e(url('frontend/js/app.js?v=' . config('app.user_assets_hash'))); ?>" defer></script>

<?php endif; ?>
</html>
<?php /**PATH /var/www/ico.loc/resources/views/app.blade.php ENDPATH**/ ?>