PageSourceSearch

https://www.qodo.ai/wp-content/cache/min/1/wp-content/themes/qodo-…/ds-block-pricing/script.js?ver=1790773190

js qodo.ai collected 2026-10-01 09:04:49 UTC 1,837 bytes, 1 lines download raw bytes

1(()=>{class e{constructor(e){this.el=e,this.pricingBox=this.el.querySelector("[data-pricing-box]"),this.pricingBox&&(this.planSlides=this.pricingBox.querySelectorAll("[data-plan]"),this.trialBadge=this.pricingBox.querySelector("[data-trial-badge]"),this.paidBadge=this.pricingBox.querySelector("[data-paid-badge]"),this.trialHeading=this.pricingBox.querySelector("[data-trial-heading]"),this.paidHeading=this.pricingBox.querySelector("[data-paid-heading]"),this.paidTitle=this.pricingBox.querySelector("[data-paid-title]"),this.trialFeatures=this.pricingBox.querySelector("[data-trial-features]"),this.paidFeatures=this.pricingBox.querySelector("[data-paid-features]"),this.planSlides.length&&this.initPlans())}initPlans(){this.planSlides.forEach(e=>{e.addEventListener("click",()=>{const t=Number(e.dataset.planIndex);Number.isNaN(t)||this.selectPlan(t)}),e.addEventListener("keydown",t=>{if("Enter"!==t.key&&" "!==t.key)return;t.preventDefault();const i=Number(e.dataset.planIndex);Number.isNaN(i)||this.selectPlan(i)})})}selectPlan(e){const t=0===e;if(this.planSlides.forEach(t=>{const i=Number(t.dataset.planIndex)===e,a=t.querySelector(".ds-block-pricing__plan");t.classList.toggle("-selected",i),t.setAttribute("aria-checked",i?"true":"false"),t.setAttribute("tabindex",i?"0":"-1"),a&&a.classList.toggle("-selected",i)}),this.trialBadge&&(this.trialBadge.hidden=!t),this.paidBadge&&(this.paidBadge.hidden=t),this.trialHeading&&(this.trialHeading.hidden=!t),this.paidHeading&&(this.paidHeading.hidden=t),this.paidTitle&&!t){const t=this.planSlides[e],i=t?.dataset.planPrice||"";this.paidTitle.textContent=i}this.trialFeatures&&(this.trialFeatures.hidden=!t),this.paidFeatures&&(this.paidFeatures.hidden=t)}}document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".ds-block-pricing").forEach(t=>{new e(t)})})})()

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.