<script src="<?php echo e(asset('dist-front/js/jquery-3.7.1.min.js')); ?>"></script> 
<script src="<?php echo e(asset('dist-front/js/popper.min.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/bootstrap.min.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/jquery.fancybox.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/wow.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/appear.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/knob.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/select2.min.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/owl.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/sweetalert2.min.js')); ?>"></script>
<script src="<?php echo e(asset('dist-front/js/script.js')); ?>"></script>

<?php if($global_setting->cookie_consent_status == 'Show'): ?>
    <script src="https://cdn.websitepolicies.io/lib/cookieconsent/1.0.3/cookieconsent.min.js" defer></script><script >window.addEventListener("load",function(){window.wpcc.init({"colors":{"popup":{"background":"#<?php echo e($global_setting->cookie_consent_bg_color); ?>","text":"#<?php echo e($global_setting->cookie_consent_text_color); ?>","border":"#b3d0e4"},"button":{"background":"#<?php echo e($global_setting->cookie_consent_button_bg_color); ?>","text":"#<?php echo e($global_setting->cookie_consent_button_text_color); ?>"}},"position":"bottom","padding":"large","margin":"none","content":{"message":"<?php echo e($global_setting->cookie_consent_message); ?>","button":"<?php echo e($global_setting->cookie_consent_button_text); ?>"}})});</script>
<?php endif; ?>


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

    gtag('config', '<?php echo e($global_setting->google_analytic_id); ?>');
</script>
<?php endif; ?>


<?php if($global_setting->tawk_live_chat_status == 'Show'): ?>
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/<?php echo e($global_setting->tawk_live_chat_property_id); ?>/default';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>
<!--End of Tawk.to Script-->
<?php endif; ?>



<?php if($errors->any()): ?>
    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <script>
        const Toast = Swal.mixin({
            toast: true,
            position: "top-end",
            showConfirmButton: false,
            timer: 1500,
            timerProgressBar: true,
            didOpen: (toast) => {
                toast.onmouseenter = Swal.stopTimer;
                toast.onmouseleave = Swal.resumeTimer;
            }
        });
        Toast.fire({
            icon: 'error',
            title: '<?php echo e($error); ?>'
        });
    </script>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
<?php if(Session::has('error')): ?>
    <script>
        const Toast = Swal.mixin({
            toast: true,
            position: "top-end",
            showConfirmButton: false,
            timer: 1500,
            timerProgressBar: true,
            didOpen: (toast) => {
                toast.onmouseenter = Swal.stopTimer;
                toast.onmouseleave = Swal.resumeTimer;
            }
        });
        Toast.fire({
            icon: 'error',
            title: '<?php echo e(Session::get("error")); ?>'
        });
    </script>
<?php endif; ?>
<?php if(Session::has('success')): ?>
    <script>
        const Toast = Swal.mixin({
            toast: true,
            position: "top-end",
            showConfirmButton: false,
            timer: 1500,
            timerProgressBar: true,
            didOpen: (toast) => {
                toast.onmouseenter = Swal.stopTimer;
                toast.onmouseleave = Swal.resumeTimer;
            }
        });
        Toast.fire({
            icon: "success",
            title: "<?php echo e(Session::get("success")); ?>"
        });
    </script>
<?php endif; ?>
<?php if(Session::has('info')): ?>
    <script>
        const Toast = Swal.mixin({
            toast: true,
            position: "top-end",
            showConfirmButton: false,
            timer: 1800,
            timerProgressBar: true,
            didOpen: (toast) => {
                toast.onmouseenter = Swal.stopTimer;
                toast.onmouseleave = Swal.resumeTimer;
            }
        });
        Toast.fire({
            icon: "info",
            title: "<?php echo e(Session::get("info")); ?>"
        });
    </script>
<?php endif; ?><?php /**PATH /opt/homebrew/var/www/phpscriptpoint/amiso/amiso/cms/resources/views/front/layouts/scripts.blade.php ENDPATH**/ ?>