PageSourceSearch

https://neoskosmos.com/app/themes/neoskosmos/assets/dist/scripts/m…/chunks/SubscriptionPlansToggle-295a79b6.js

js neoskosmos.com collected 2026-09-24 17:53:50 UTC 1,449 bytes, 2 lines download raw bytes

1function togglePrice(e,t){e.forEach(e=>{e.classList.contains("active")?e.classList.remove("active"):e.classList.add("active")}),t.forEach(e=>{e.classList.contains("active")?e.classList.remove("active"):e.classList.add("active")})}function init(){0<document.querySelectorAll(".nk-subscription-plans").length&&document.querySelector(".site-main").classList.add("no-padding"),document.querySelectorAll(".switch > .toggle").forEach(e=>{e.addEventListener("change",function(){var e=this.parentElement.parentElement.querySelector(".first-label"),t=this.parentElement.parentElement.querySelector(".second-label"),s=this.parentElement.parentElement.parentElement.querySelectorAll(".first-price"),c=this.parentElement.parentElement.parentElement.querySelectorAll(".second-price"),a=document.querySelectorAll(".nk-subscription-plans .subscribe-button .first"),i=document.querySelectorAll(".nk-subscription-plans .subscribe-button .second");this.checked?(e&&e.classList.remove("active"),t&&t.classList.add("active"),a.length&&a.forEach(e=>{e.classList.remove("active")}),i.length&&i.forEach(e=>{e.classList.add("active")})):(e&&e.classList.add("active"),t&&t.classList.remove("active"),a.length&&a.forEach(e=>{e.classList.add("active")}),i.length&&i.forEach(e=>{e.classList.remove("active")})),togglePrice(s,c)})})}var SubscriptionPlansToggle={init:init};export{SubscriptionPlansToggle as default};
2//# sourceMappingURL=SubscriptionPlansToggle-295a79b6.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.