<script src="assets/js/jquery-3.5.1.min.js"></script>
<script src="assets/js/pace.js"></script>
<script src="assets/libs/popper/popper.js"></script>
<script src="assets/js/bootstrap.js"></script>
<script src="assets/js/sidenav.js"></script>
<script src="assets/js/layout-helpers.js"></script>
<script src="assets/js/material-ripple.js"></script>

<script src="assets/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<!--<script src="assets/libs/eve/eve.js"></script>
<script src="assets/libs/flot/flot.js"></script>
<script src="assets/libs/flot/curvedLines.js"></script>
<script src="assets/libs/chart-am4/core.js"></script>
<script src="assets/libs/chart-am4/charts.js"></script>
<script src="assets/libs/chart-am4/animated.js"></script>-->

<script src="assets/js/demo.js"></script>
<script src="assets/js/analytics.js"></script>
<script src="assets/js/pages/dashboards_index.js"></script>


<script src="assets/libs/datatables/datatables.js"></script>
<script src="assets/js/pages/tables_datatables.js"></script>
<script src="assets/libs/validate/validate.js"></script>
<script src="assets/libs/select2/select2.js"></script>
<script src="assets/js/pages/forms_validation.js"></script>
<script src="assets/libs/bootstrap-select/bootstrap-select.js"></script>
<script src="assets/libs/bootstrap-multiselect/bootstrap-multiselect.js"></script>
<script src="assets/js/pages/forms_selects.js"></script>
<script src="assets/libs/bootstrap-tagsinput/bootstrap-tagsinput.js"></script>
<script src="assets/js/pages/forms_editors.js"></script>
<script src="assets/libs/markdown/markdown.js"></script>
<script src="assets/libs/bootstrap-markdown/bootstrap-markdown.js"></script>
<script src="assets/js/pages/forms_pickers.js"></script>
<script>
        // Quill does not support IE 10 and below so don't load it to prevent console errors
        if (typeof document.documentMode !== 'number' || document.documentMode > 10) {
            document.write('\x3Cscript src="assets/libs/quill/quill.js">\x3C/script>');
        }
    </script>
<script src="assets/js/pages/ui_notifications.js"></script>
<script src="assets/libs/growl/growl.js"></script>
<script src="assets/libs/toastr/toastr.js"></script>    
<script src="assets/js/pages/ui_tooltips.js"></script>
<script src="assets/js/pages/ui_modals.js"></script>
<script src="assets/libs/bootstrap-sweetalert/bootstrap-sweetalert.js"></script>
<script src="assets/js/pages/pages_teams.js"></script>
<script src="assets/js/pages/pages_chat.js"></script>
<script src="assets/libs/bootbox/bootbox.js"></script>

<script src="assets/libs/moment/moment.js"></script>
<script src="assets/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js"></script>
<script src="assets/libs/dragula/dragula.js"></script>
<script src="assets/js/pages/pages_e-commerce_product-edit.js"></script>
<script src="assets/js/pages/pages_tickets_edit.js"></script>
<script src="assets/libs/bootstrap-tagsinput/bootstrap-tagsinput.js"></script>
<script src="assets/libs/dropzone/dropzone.js"></script>
<script src="assets/js/pages/forms_file-upload.js"></script>
<script src="assets/js/pages/forms_wizard.js"></script>
<script src="assets/libs/smartwizard/smartwizard.js"></script>
<script src="assets/js/pages/pages_e-commerce_product-item.js"></script>
<script src="assets/libs/blueimp-gallery/gallery.js"></script>
<script src="assets/libs/blueimp-gallery/gallery-fullscreen.js"></script>
<script src="assets/libs/blueimp-gallery/gallery-indicator.js"></script>
<script src="assets/js/pages/forms_extras.js"></script>

<script src="assets/libs/vanilla-text-mask/vanilla-text-mask.js"></script>
<script src="assets/libs/vanilla-text-mask/text-mask-addons.js"></script>
<script src="assets/libs/knob/knob.js"></script>
<script src="assets/libs/bootstrap-maxlength/bootstrap-maxlength.js"></script>
<script src="assets/libs/pwstrength-bootstrap/pwstrength-bootstrap.js"></script>
    <script src="assets/js/pages/forms_typeahead.js"></script>
    <script src="assets/libs/typeahead-js/typeahead.js"></script>



    <script>
        // DataTable start
        $('#report-table').DataTable();
        // DataTable end
    </script>
    <script>
        $(document).ready(function() {
            // checkCookie();
            $('#exampleModalCenter').modal();
        });

        function setCookie(cname, cvalue, exdays) {
            var d = new Date();
            d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
            var expires = "expires=" + d.toGMTString();
            document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
        }

        function getCookie(cname) {
            var name = cname + "=";
            var decodedCookie = decodeURIComponent(document.cookie);
            var ca = decodedCookie.split(';');
            for (var i = 0; i < ca.length; i++) {
                var c = ca[i];
                while (c.charAt(0) == ' ') {
                    c = c.substring(1);
                }
                if (c.indexOf(name) == 0) {
                    return c.substring(name.length, c.length);
                }
            }
            return "";
        }

        function checkCookie() {
            var ticks = getCookie("modelopen");
            if (ticks != "") {
                ticks++;
                setCookie("modelopen", ticks, 1);
                if (ticks == "2" || ticks == "1" || ticks == "0") {
                    $('#exampleModalCenter').modal();
                }
            } else {
                // user = prompt("Please enter your name:", "");
                $('#exampleModalCenter').modal();
                ticks = 1;
                setCookie("modelopen", ticks, 1);
            }
        }
    </script>
    <script src="assets/js/pages/dashboards_index.js"></script>