403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.46
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www/wp-content/plugins/cookie-notice/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www/wp-content/plugins/cookie-notice/js/admin-dashboard.js
( function( $ ) {

    // ready event
    $( function() {
        var charts = cnDashboardArgs.charts;

        if ( Object.entries(charts).length > 0 ) {
            for ( const [key, config] of Object.entries( charts ) ) {
				// create canvas
                var canvas = document.getElementById( 'cn-' + key + '-chart' );

                if ( canvas ) {
					// options per chart type
					var options = {
						doughnut: {
							responsive: true,
							plugins: {
								legend: {
									position: 'top',
								}
							},
							hover: {
								mode: 'label'
							},
							layout: {
								padding: 0
							}
						},
						line: {
							maintainAspectRatio: false,
							responsive: true,
							scales: {
								x: {
									display: true,
									title: {
										display: false
									}
								},
								y: {
									display: true,
									grace: 0,
									beginAtZero: true,
									title: {
										display: false
									},
									ticks: {
										precision: 0,
										maxTicksLimit: 12
									}
								}
							}
						}
					}

                    config.options = options.hasOwnProperty( config.type ) ? options[config.type] : {};

                    var chart = new Chart( canvas, config );

                    chart.update();
                }
            }
        }
    } );

} )( jQuery );

Youez - 2016 - github.com/yon3zu
LinuXploit