PageSourceSearch

https://www.securosys.com/hubfs/hub_generated/module_assets/1/183348259139/1785338637256/module_Chart.min.js

js securosys.com collected 2026-10-01 11:30:14 UTC 4,031 bytes, 2 lines download raw bytes

1var module_183348259139=function(){function adjustContainerHeight(){const t=document.querySelector(".js-chart");if(!t)return;const e=t.querySelectorAll(".js-chart-links"),a=t.querySelector(".js-chart-links-container");let o=0;e.forEach(t=>{const e=t.offsetHeight;e>o&&(o=e)}),a&&setTimeout(()=>{a.style.height=`${o}px`},200)}document.addEventListener("DOMContentLoaded",()=>{const t=document.querySelector(".js-chart");let e=t?t.querySelector("canvas"):null;if(!t||!e||"undefined"==typeof Chart||"undefined"==typeof chartData)return;let a=e.getContext("2d"),o=null,n=0,s=0,r=null;const i=[];let l=!1,c=null;const d=Math.min(chartData.labels?.length||0,chartData.icons?.length||0,chartData.colors?.length||0);function h(){if(!d)return;const e=new Chart(a,{type:"polarArea",data:{labels:chartData.labels.slice(0,d),datasets:[{data:Array(d).fill(12),backgroundColor:chartData.colors.slice(0,d),hoverBackgroundColor:chartData.colors.slice(0,d),borderWidth:6}]},options:{aspectRatio:1,responsive:!1,maintainAspectRatio:!1,layout:{padding:5},scales:{r:{grid:{color:"transparent"},ticks:{display:!1}}},plugins:{tooltip:{enabled:!1},legend:{display:!1}},onHover:(t,a)=>{if(null===o)if(a.length>0){const t=a[0].index;t!==c&&(c=t,e.data.datasets[0].data=e.data.datasets[0].data.map((e,a)=>a===t?12:12/1.06),e.update())}else null!==c&&(c=null,e.data.datasets[0].data=Array(d).fill(12),e.update())},onClick:(a,n)=>{const i=n[0]?.index;var l,c,h;i!==o&&(e.data.datasets[0].data=Array(d).fill(12),o=i,e.data.datasets[0].data=e.data.datasets[0].data.map((t,e)=>e!==o?12/1.06:12),e.update(),u(!0),null===r?(r=o,s=0):s=window.innerWidth<767||(h=r,(c=o)>=0&&c<=3&&h>=0&&h<=3||c>=4&&c<=7&&h>=4&&h<=7)?0:400,function(e){for(let e=1;e<=8;e++){const a=t.querySelector(`.js-chart-links${e}`);a&&a.classList.remove("is-active")}setTimeout(()=>{const a=t.querySelector(`.js-chart-links${e+1}`);a&&a.querySelectorAll(".item").length>0&&(a.classList.add("is-active"),window.innerWidth<767&&t.scrollIntoView({behavior:"smooth"}))},2*s)}(o),l=o,setTimeout(()=>{t.querySelector(".move-to-left")&&(t.querySelector(".move-to-left").classList.remove("move-to-left"),t.querySelector(".content-left")?.classList.remove("content-left")),t.querySelector(".move-to-right")&&(t.querySelector(".move-to-right").
1classList.remove("move-to-right"),t.querySelector(".content-right")?.classList.remove("content-right")),t.querySelector(".js-canvas-container")?.classList.add(l<4?"move-to-left":"move-to-right"),t.querySelector(".js-canvas-container")?.parentNode.classList.add(l<4?"content-left":"content-right")},s),r=o,setTimeout(()=>{u(!1)},3*s))}},plugins:[{id:"customIconsAndText",afterDraw(t){const{ctx:e}=t;t.getDatasetMeta(0).data.forEach((t,a)=>{const{x:o,y:n}=t.tooltipPosition(),s=chartData.icons[a]||{},r=chartData.labels[a]||{},l=i[a];l&&e.drawImage(l,o-(s.iconPositionX||0),n-(s.iconPositionY||0),s.iconSizeWidth||0,s.iconSizeHeight||0);const c=r.text||"";if(!c)return;const d=c.split("<br>");e.fillStyle="#FFF",e.font='14px "Aller"',d.forEach((t,a)=>{const i=o+(r.textPositionX||0)-(s.iconSizeWidth||0)/2,l=n+(s.iconSizeHeight||0)/2+5+16*a+(r.textPositionY||0);e.fillText(t,i,l)})}),e.restore()}}]})}function u(e){e?t.classList.add("disabled"):t.classList.remove("disabled")}new IntersectionObserver(t=>{t.forEach(t=>{var e,a;t.isIntersecting&&!l&&(l=!0,e=chartData.icons,a=h,e&&e.length?e.forEach((t,o)=>{if(!t?.src)return n++,void(n===e.length&&a());const s=new Image;s.src=t.src,s.onload=()=>{i[o]=s,n++,n===e.length&&a()},s.onerror=()=>{n++,n===e.length&&a()}}):a())})},{threshold:.5}).observe(e)}),document.addEventListener("DOMContentLoaded",()=>{setTimeout(()=>{document.querySelectorAll(".js-chart-links-container").forEach(t=>{t.classList.remove("is-hidden")})},600)}),document.addEventListener("DOMContentLoaded",()=>{adjustContainerHeight(),window.addEventListener("resize",adjustContainerHeight)})}();
2//# sourceURL=https://4812037.fs1.hubspotusercontent-na1.net/hubfs/4812037/hub_generated/module_assets/1/183348259139/1785338637256/module_Chart.js

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.