Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mets.corals.io/wp-content/plugins/wp-user-avatar/assets/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mets.corals.io/wp-content/plugins/wp-user-avatar/assets/js/admin/reports.min.js
jQuery(window).on("load",(function(){if(document.getElementById("ppress-report-revenue")){window.chartColors={red:"rgb(255, 99, 132)",orange:"rgb(255, 159, 64)",yellow:"rgb(255, 205, 86)",green:"rgb(75, 192, 192)",blue:"rgb(54, 162, 235)",purple:"rgb(153, 102, 255)",grey:"rgb(201, 203, 207)"},function(e){var r=["January","February","March","April","May","June","July","August","September","October","November","December"],t=["#4dc9f6","#f67019","#f53794","#537bc4","#acc236","#166a8f","#00a950","#58595b","#8549ba"],n=e.Samples||(e.Samples={});e.Color,n.CHART_COLORS={red:"rgb(255, 99, 132)",orange:"rgb(255, 159, 64)",yellow:"rgb(255, 205, 86)",green:"rgb(75, 192, 192)",blue:"rgb(54, 162, 235)",purple:"rgb(153, 102, 255)",grey:"rgb(201, 203, 207)"},n.utils={srand:function(e){this._seed=e},rand:function(e,r){var t=this._seed;return e=void 0===e?0:e,r=void 0===r?1:r,this._seed=(9301*t+49297)%233280,e+this._seed/233280*(r-e)},numbers:function(e){var r,t,n=e||{},a=n.min||0,s=n.max||1,l=n.from||[],o=n.count||8,i=n.decimals||8,d=n.continuity||1,u=Math.pow(10,i)||0,p=[];for(r=0;r<o;++r)t=(l[r]||0)+this.rand(a,s),this.rand()<=d?p.push(Math.round(u*t)/u):p.push(null);return p},labels:function(e){var r,t=e||{},n=t.min||0,a=t.max||100,s=(a-n)/(t.count||8),l=t.decimals||8,o=Math.pow(10,l)||0,i=t.prefix||"",d=[];for(r=n;r<a;r+=s)d.push(i+Math.round(o*r)/o);return d},months:function(e){var t,n,a=e||{},s=a.count||12,l=a.section,o=[];for(t=0;t<s;++t)n=r[Math.ceil(t)%12],o.push(n.substring(0,l));return o},color:function(e){return t[e%t.length]}},window.randomScalingFactor=function(){return Math.round(n.utils.rand(-100,100))},n.utils.srand(Date.now())}(this);const e=7,r={count:e,min:0,max:100},t=Samples.utils.months({count:7}),n={labels:t,datasets:[{label:"New",data:Samples.utils.numbers(r),borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)"},{label:"Renewal",data:Samples.utils.numbers(r),borderColor:Samples.CHART_COLORS.red,backgroundColor:"rgba(255, 99, 132, 0.5)"}]},a={labels:t,datasets:[{data:Samples.utils.numbers(r),borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)"}]},s={labels:["Agency","Standard","Pro","One time"],datasets:[{label:"Earnings",data:Samples.utils.numbers({count:e,min:20,max:800}),borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)",stack:"combined",type:"bar",yAxisID:"y"},{label:"Sales",data:Samples.utils.numbers({decimals:10,count:e,min:1,max:8}),borderColor:Samples.CHART_COLORS.red,backgroundColor:"rgba(255, 99, 132, 0.5)",stack:"combined",yAxisID:"y1"}]},l={type:"line",data:{labels:revenueStat.label,datasets:[{data:revenueStat.dataset,borderColor:Samples.CHART_COLORS.blue,backgroundColor:"rgba(54, 162, 235, 0.5)"}]},options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",display:!0,position:"left",ticks:{callback:function(e,r,t){return"$"+e}}}},plugins:{tooltip:{callbacks:{label:function(e){let r=e.dataset.label||"";return r&&(r+=": "),null!==e.parsed.y&&(r+=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e.parsed.y)),r}}},legend:{display:!1}}}},o={type:"line",data:n,options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",display:!0,position:"left"}},plugins:{legend:{display:!1}}}},i={type:"line",data:a,options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",display:!0,position:"left"}},plugins:{legend:{display:!1}}}},d={type:"line",data:s,options:{responsive:!0,interaction:{mode:"index",intersect:!1},stacked:!1,scales:{y:{type:"linear",stacked:!0,position:"left",ticks:{callback:function(e,r,t){return"$"+e}}},y1:{type:"linear",position:"right",grid:{drawOnChartArea:!1}}},plugins:{tooltip:{callbacks:{label:function(e){let r=e.dataset.label||"";return r&&(r+=": "),null!==e.parsed.y&&("Earnings"===e.dataset.label?r+="$"+e.parsed.y:r+=e.parsed.y),r}}},legend:{display:!1}}}};new Chart(document.getElementById("ppress-report-revenue"),l),new Chart(document.getElementById("ppress-report-orders"),o),new Chart(document.getElementById("ppress-report-tax"),l),new Chart(document.getElementById("ppress-report-refunds"),i),new Chart(document.getElementById("ppress-report-top-plans"),d),new Chart(document.getElementById("ppress-report-payment-methods"),d)}}));

Spamworldpro Mini