templates/layouts/scripts.html.twig line 1
<!-- BACK-TO-TOP --><a href="#top" id="back-to-top"><i class="fa fa-long-arrow-up"></i></a><!-- JQUERY JS --><script src="{{absolute_url(asset('build/plugins/jquery/jquery.min.js'))}}"></script><!-- BOOTSTRAP JS --><script src="{{absolute_url(asset('build/plugins/bootstrap/js/popper.min.js'))}}"></script><script src="{{absolute_url(asset('build/plugins/bootstrap/js/bootstrap.min.js'))}}"></script><!-- SIDE-MENU JS --><script src="{{absolute_url(asset('build/plugins/sidemenu/sidemenu.js'))}}"></script><!-- PERFECT SCROLLBAR JS--><!-- STICKY JS -->{{ encore_entry_script_tags('js/sticky') }}<!-- THEME COLOR JS -->{{ encore_entry_script_tags('js/themeColors') }}<!-- CUSTOM JS -->{{ encore_entry_script_tags('js/custom') }}<script>styleDigit()setInterval(styleDigit, 3000)function styleDigit() {$('.digit').each(function() {$(this).text(`${$(this).text()[0] === '+' ? '+' : ''}${numberWithSpaces(Number($(this).text().replace( /\s/g, '').replace(',','.')).toFixed(2))}`);})}function numberWithSpaces(x) {const parts = x.toString().split(".");parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, " ");return parts.join(".");}</script>