PageSourceSearch

https://www.idealratings.com/wp-content/plugins/pixfort-core/dist/front/chart.8993e92bf9bbdf7a16de.js

js idealratings.com collected 2026-09-24 18:10:51 UTC 5,063 bytes, 1 lines download raw bytes

1(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[2065],{1263(t,e,a){"use strict";a.d(e,{default:()=>i});const n=a(4495);function i(t){t||(t=$("body"));function e(t,e){if(t&&t.startsWith("--")){return getComputedStyle(e).getPropertyValue(t).trim()||t}return t}function a(t){const a=$(t).attr("data-track");return a?e(a,t):"rgba(0,0,0,0.03)"}document.addEventListener("themeChange",e=>{t.find(".chart.pix-loaded").each(function(t,e){if(e.pixChart){const t=parseFloat($(e).attr("data-percent"))||0,i=a(e);if(e.pixChart.options.trackColor!==i){const a={...e.pixChart.options,trackColor:i};$(e).find("canvas").remove();const r=new n(e,a);r.update(t),e.pixChart=r}}})}),t.find(".chart:not(.pix-loaded)").each(function(t,i){$(i).addClass("pix-loaded");new IntersectionObserver(function(t,i){t.forEach(t=>{if(t.isIntersecting){const r=a(t.target),o=function(t,a){return{animate:1e3,barColor:function(t){const a=$(this.el);if(a.attr("data-gradient-1")){const t=this.renderer.getCtx().createRadialGradient(0,0,100,100,70,70),n=e(a.attr("data-gradient-1"),this.el),i=e(a.attr("data-gradient-2"),this.el),r=a.attr("data-gradient-3");return t.addColorStop(0,n),r?(t.addColorStop(.5,i),t.addColorStop(1,e(r,this.el))):t.addColorStop(1,i),t}return e(a.attr("data-barColor"),this.el)},trackColor:a,lineCap:"round",lineWidth:18,size:140,scaleColor:!1,onStep:function(t,e,a){$(this.el).find(".number").text(Math.round(a))},onStop:function(){this.disableAnimation()}}}(t.target,r),s=new n(t.target,o);t.target.pixChart=s,i.unobserve(t.target)}})},{threshold:[0]}).observe(i)})}},4495(t,e){var a,n;n=this,void 0===(a=function(){return n.EasyPieChart=function(){var t=function(t,e){var a,n=document.createElement("canvas");t.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var i=n.getContext("2d");n.width=n.height=e.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,n.style.width=n.style.height=[e.size,"px"].join(""),n.width=n.height=e.size*r,i.scale(r,r)),i.translate(e.size/2,e.size/2),i.rotate((e.rotate/180-.5)*Math.PI);var o=(e.size-e.lineWidth)/2;e.scaleColor&&e.scaleLength&&(o-=e.scaleLength+2),Date.now=Date.now||function(){return+new Date};var s=function(t,e,a){var n=0>=(a=Math.min(Math.max(-1,a||0),1));i.beginPath(),i.arc(0,0,o,0,2*Math.PI*a,n),i.strokeStyle=t,i.lineWidth=e,i.stroke()},d=function(){var t,a;i.lineWidth=1,i.fillStyle=e.scaleColor,i.save();for(var n=24;n>0;--n)n%6==0?(a=e.scaleLength,t=0):(a=.6*e.scaleLength,t=e.scaleLength-a),i.fillRect(-e.size/2+t,0,a,1),i.rotate(Math.PI/12);i.restore()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},c=function(){e.scaleColor&&d(),e.trackColor&&s(e.trackColor,e.trackWidth||e.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return i},this.clear=function(){i.clearRect(e.size/-2,e.size/-2,e.size,e.size)},this.draw=function(t){var n;e.scaleColor||e.trackColor?i.getImageData&&i.putImageData?a?i.putImageData(a,0,0):(c(),a=i.getImageData(0,0,e.size*r,e.size*r)):(this.clear(),c()):this.clear(),i.lineCap=e.lineCap,n="function"==typeof e.barColor?e.barColor(t):e.barColor,s(n,e.lineWidth,t/100)}.bind(this),this.animate=function(t,a){var n=Date.now();e.onStart(t,a);var i=function(){var r=Math.min(Date.now()-n,e.animate.duration),o=e.easing(this,r,t,a-t,e.animate.duration);this.draw(o),e.onStep(t,a,o),r>=e.animate.duration?e.onStop(t,a):l(i)}.bind(this);l(i)}.bind(this)},e=function(e,a){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(t,e,a,n,i){return 1>(e/=i/2)?n/2*e*e+a:-n/2*(--e*(e-2)-1)+a},onStart:function(t,e){},onStep:function(t,e,a){},onStop:function(t,e){}};if(void 0!==t)n.renderer=t;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var i={},r=0,o=function(){for(var t in this.el=e,this.options=i,n)n.hasOwnProperty(t)&&(i[t]=a&&void 0!==a[t]?a[t]:n[t],"function"==typeof i[t]&&(i[t]=i[t].bind(this)));"string"==typeof i.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[i.easing])?i.easing=jQuery.easing[i.easing]:i.easing=n.easing,"number"==typeof i.animate&&(i.animate={duration:i.animate,enabled:!0}),"boolean"!=typeof i.animate||i.animate||(i.animate={duration:1e3,enabled:i.animate}
1),this.renderer=new i.renderer(e,i),this.renderer.draw(r),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),i.animate.enabled?this.renderer.animate(r,t):this.renderer.draw(t),r=t,this}.bind(this),this.disableAnimation=function(){return i.animate.enabled=!1,this},this.enableAnimation=function(){return i.animate.enabled=!0,this},o()};return e}()}.apply(e,[]))||(t.exports=a)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.