Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : progress-bar.js
!function(){"use strict";var e;e=()=>{const e=document.querySelectorAll(".wp-block-themeisle-blocks-progress-bar");Array.from(e).forEach((e=>{const t=1e3*e.dataset.duration,r=e.querySelector(".wp-block-themeisle-blocks-progress-bar__area__bar");let o=window.getComputedStyle(r).borderTopLeftRadius.replace("px","")||0;const s=e.querySelector(".wp-block-themeisle-blocks-progress-bar__number"),n=e.querySelector(".wp-block-themeisle-blocks-progress-bar__area__tooltip"),a=e.querySelector(".wp-block-themeisle-blocks-progress-bar__progress__append"),i=e.querySelector(".wp-block-themeisle-blocks-progress-bar__outer__title"),c=e.querySelector(".wp-block-themeisle-blocks-progress-bar__area__title");let l;i?l=i.getBoundingClientRect().width:c&&(l=c.getBoundingClientRect().width);const p=.5*window.getComputedStyle(r).height.replace("px","");if(n&&!i&&(n.style.opacity=1),0===t)r.style.width=`${parseInt(e.dataset.percent)}%`,s.innerHTML=`${parseInt(e.dataset.percent)}%`,r.style.opacity=1,n&&(n.style.opacity=1),a&&(a.style.opacity=1);else{let d;s&&(s.innerText="0%"),c&&c.classList.contains("highlight")&&(o*=2);const y=new IntersectionObserver((h=>{h.forEach((h=>{if(h.isIntersecting){if(0>=h.intersectionRect.height)return r.style.width=`${parseInt(e.dataset.percent)}%`,s.innerHTML=`${parseInt(e.dataset.percent)}%`,r.style.opacity=1,n&&(n.style.opacity=1),a&&(a.style.opacity=1),void y.unobserve(r);d&&clearInterval(d);const u=20,b=parseInt(e.dataset.percent),g=((e,t,r)=>{const o=[],s=typeof e,n=typeof t;if(0===r)throw TypeError("Step cannot be zero.");if(void 0===s||void 0===n)throw TypeError("Must pass start and end arguments.");if(s!==n)throw TypeError("Start and end arguments must be of same type.");if(void 0===r&&(r=1),t<e&&(r=-r),"number"===s)for(;0<r?t>=e:t<=e;)o.push(e),e+=r;else{if("string"!==s)throw TypeError("Only string and number types are supported");if(1!==e.length||1!==t.length)throw TypeError("Only strings with one character are supported.");for(e=e.charCodeAt(0),t=t.charCodeAt(0);0<r?t>=e:t<=e;)o.push(String.fromCharCode(e)),e+=r}return o})(0,t,u).map((e=>e/t*b)).reverse();d=setInterval((()=>{const e=g.pop();r.style.width=`${e}%`,s&&(s.innerText=`${Math.ceil(e)}%`);const t=r.getBoundingClientRect().width;t>o&&(r.style.opacity=1),n&&i&&t>l+10&&(n.style.opacity=1),a&&(c?t>l+1.5*p&&(a.style.opacity=1):t>1.8*p&&(a.style.opacity=1)),g.length||(y.unobserve(r),clearInterval(d))}),u)}}))}),{root:null,rootMargin:"0px",threshold:[.6]});setTimeout((()=>y.observe(r)),100)}}))},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}();
© 2025 GrazzMean