<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Title -->
    <title><?php echo e(gs()->siteName($pageTitle ?? '')); ?></title>
    <!-- Favicon -->
    <link rel="shortcut icon" type="image/png" href="<?php echo e(siteFavicon()); ?>">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/bootstrap.min.css')); ?>">
    <!-- Font awesome -->
    <link href="<?php echo e(asset('assets/global/css/all.min.css')); ?>" rel="stylesheet">
    <!-- Slick -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/slick.css')); ?>">
    <!-- line awesome -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/line-awesome.min.css')); ?>">
    <!-- Odometer -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/odometer.css')); ?>">
    <!-- select2 -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/select2.min.css')); ?>">
    <!-- Quill -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/quill.snow.css')); ?>">
    <!-- 'nano' theme -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/nano.min.css')); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/flatpickr.min.css')); ?>">

    <?php echo $__env->yieldPushContent('style-lib'); ?>
    <!-- Main css -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/admin/css/main.css')); ?>">

    <?php echo $__env->yieldPushContent('style'); ?>

</head>

<body>

    <div class="preloader">
        <div class="loader-p"></div>
    </div>
    <!--==================== Preloader End ====================-->
    <!--==================== Overlay Start ====================-->
    <div class="body-overlay"></div>
    <!--==================== Overlay End ====================-->

    <!--==================== Sidebar Overlay End ====================-->
    <div class="sidebar-overlay"></div>
    <!--==================== Sidebar Overlay End ====================-->

    <!-- ==================== Scroll to Top End Here ==================== -->
    <a class="scroll-top"><i class="fas fa-angle-up"></i></a>
    <!-- ==================== Scroll to Top End Here ==================== -->

    <?php echo $__env->yieldContent('panel'); ?>

    <!-- Jquery js -->
    <script src="<?php echo e(asset('assets/global/js/jquery-3.7.1.min.js')); ?>"></script>
    <!-- Bootstrap Bundle Js -->
    <script src="<?php echo e(asset('assets/global/js/bootstrap.bundle.min.js')); ?>"></script>

    <?php echo $__env->make('partials.notify', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <?php echo $__env->yieldPushContent('script-lib'); ?>


    <!-- Slick js -->
    <script src="<?php echo e(asset('assets/admin/js/slick.min.js')); ?>"></script>
    <!-- Odometer js -->
    <script src="<?php echo e(asset('assets/admin/js/odometer.min.js')); ?>"></script>
    <!-- Viewport js -->
    <script src="<?php echo e(asset('assets/admin/js/viewport.jquery.js')); ?>"></script>
    <!-- select2 -->
    <script src="<?php echo e(asset('assets/global/js/select2.min.js')); ?>"></script>
    <!-- Quill -->

    <script src="<?php echo e(asset('assets/global/js/quill.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/color-pickr.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/color-picker.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/echarts.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/flatpickr.js')); ?>"></script>

    <!-- chart js -->
    <script src="<?php echo e(asset('assets/admin/js/chart.js')); ?>"></script>

    <!-- main js -->
    <script src="<?php echo e(asset('assets/admin/js/search.js')); ?>"></script>

    <script src="<?php echo e(asset('assets/admin/js/main.js')); ?>"></script>


    <?php $__env->startPush('script'); ?>
        <script>
            (function($) {
                "use strict";

                var inputElements = $('[type=text],[type=email], [type=password],[type=checkbox],select,textarea').not(
                    '.exceptInput');
                $.each(inputElements, function(index, element) {
                    element = $(element);
                    element.closest('.form-group, .form--group').find('label').attr('for', element.attr('name'));
                    element.attr('id', element.attr('name'))
                });

                $.each($('input, select, textarea'), function(i, element) {
                    var elementType = $(element);
                    if (elementType.attr('type') != 'checkbox') {
                        if (element.hasAttribute('required')) {
                            $(element).closest('.form-group').find('label').addClass('required');
                        }
                    }
                });

                $('.imageInput').on('change', function(e) {
                    const file = e.target.files[0];
                    const $container = $(this).closest('.imageUploader');

                    if (file) {
                        const reader = new FileReader();
                        reader.onload = function(evt) {
                            $container.find('.imagePreview').attr('src', evt.target.result);
                        };
                        reader.readAsDataURL(file);
                    }
                });

                $(document).on('click', '.dropdown-link', function() {
                    let innerText = $(this).text().trim();
                    $(this).closest('.dropdown').find('.dropdownText').text(innerText);
                });

                $('.priorityName').each(function() {
                    const jsonString = $(this).attr('data-hsl_color');
                    try {
                        const hsl = JSON.parse(jsonString);
                        const hslString = `${hsl.h} ${hsl.s}% ${hsl.l}%`;
                        $(this).closest('td').find('.animated-circle').css('--circle-color', hslString);
                        $(this).css('--circle-color', hslString);
                    } catch (e) {
                        console.error('Invalid HSL data:', jsonString);
                    }
                });

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

    <?php echo $__env->yieldPushContent('script'); ?>

</body>

</html>
<?php /**PATH C:\laragon\www\projects\custom_viserdesk\Files\core\resources\views/admin/layouts/app.blade.php ENDPATH**/ ?>