<!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">
        <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
        <?php
            $assetBaseUrl = $assetBaseUrl ?? rtrim(request()->getSchemeAndHttpHost() . request()->getBasePath(), '/');
            $cssPath = public_path('support-desk.css');
            $jsPath = public_path('support-desk.js');
            $cssVersion = is_file($cssPath) ? filemtime($cssPath) : time();
            $jsVersion = is_file($jsPath) ? filemtime($jsPath) : time();
            $supportDeskConfig = [
                'appName' => $appName ?? config('app.name', 'Support Desk'),
                'apiBaseUrl' => $apiBaseUrl ?? url('/api'),
                'assetBaseUrl' => $assetBaseUrl,
                'embedMode' => $embedMode ?? false,
                'parentOrigin' => $parentOrigin ?? null,
                'embedHandshakeTimeoutMs' => $embedHandshakeTimeoutMs ?? 15000,
            ];
        ?>
        <title><?php echo $__env->yieldContent('title', $appName ?? config('app.name', 'Support Desk')); ?></title>
        <link rel="preconnect" href="https://fonts.bunny.net">
        <link href="https://fonts.bunny.net/css?family=instrument-sans:400,500,600,700,800" rel="stylesheet" />
        <link rel="stylesheet" href="<?php echo e($assetBaseUrl); ?>/support-desk.css?v=<?php echo e($cssVersion); ?>">
        <?php echo $__env->yieldPushContent('head'); ?>
    </head>
    <body class="support-desk-body">
        <?php echo $__env->yieldContent('body'); ?>

        <script>
            window.SupportDeskConfig = <?php echo json_encode($supportDeskConfig, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); ?>;
        </script>
        <script src="<?php echo e($assetBaseUrl); ?>/support-desk.js?v=<?php echo e($jsVersion); ?>" defer></script>
        <?php echo $__env->yieldPushContent('scripts'); ?>
    </body>
</html>
<?php /**PATH C:\Xampp8.2\htdocs\backend-laravel\resources\views/layouts/support-desk.blade.php ENDPATH**/ ?>