1const toggle=document.getElementById("price-toggle"),toggleCircle=document.getElementById("circle"),priceCards=document.querySelectorAll(".price-card"),annualLabel=document.getElementById("annually-label"),monthlyLabel=document.getElementById("monthly-label");function updatePriceForAllCards(){const e=toggle.checked;toggleCircle.style.transform=e?"translateX(135%)":"translateX(0%)";for(const t of priceCards){const l=t.querySelector(".price"),a=t.querySelector(".billing-text"),n=t.querySelector(".savings-price");e?(l.textContent=`${l.getAttribute("data-year")}`,a.textContent="billed annually",annualLabel.classList.add("!text-xplorange"),monthlyLabel.classList.remove("!text-xplorange"),monthlyLabel.classList.add("!text-white-500"),annualLabel.classList.remove("!text-white-500"),n&&(n.classList.remove("opacity-0"),n.classList.add("opacity-1"))):(l.textContent=`${l.getAttribute("data-month")}`,a.textContent="billed monthly",monthlyLabel.classList.add("!text-xplorange"),annualLabel.classList.remove("!text-xplorange"),annualLabel.classList.add("!text-white-500"),monthlyLabel.classList.remove("!text-white-500"),n&&(n.classList.remove("opacity-1"),n.classList.add("opacity-0")))}}toggle.addEventListener("change",updatePriceForAllCards),updatePriceForAllCards(); 2//# sourceMappingURL=block-pricing-panels.js.map
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.