const TOOLTIP_SELECTOR=".tooltip-wrapper",CIRCLE=document.querySelectorAll(".hover-area"),ACTIVE_PIN=document.querySelectorAll(".circle.active");function LightenColor(g,f){var b=parseInt(g.replace("#",""),16),c=Math.round(2.55*f),d=(b>>16)+c,e=(b>>8&255)+c,a=(b&255)+c;return"#"+(16777216+(d<255?d<1?0:d:255)*65536+(e<255?e<1?0:e:255)*256+(a<255?a<1?0:a:255)).toString(16).slice(1)}CIRCLE.forEach(a=>{a.addEventListener("mouseenter",b=>{let a=b.currentTarget.dataset.slot;console.log(document.querySelector(`#tooltip_${a}`)),document.querySelector(`#tooltip_${a}`).classList.add("show")}),a.addEventListener("mouseleave",b=>{let a=b.currentTarget.dataset.slot;console.log(document.querySelector(`#tooltip_${a}`)),document.querySelector(`#tooltip_${a}`).classList.remove("show")})}),ACTIVE_PIN.forEach(a=>{const b=a.getAttribute("color");a.setAttribute("fill",LightenColor(b,-20)),console.log(b)})