PageSourceSearch

https://www.paperplane.shop/cdn/shop/t/1106/assets/unit-switch.js?v=11585264272680902071790351916

js paperplane.shop collected 2026-09-27 21:33:20 UTC 790 bytes, 2 lines download raw bytes

1(()=>{if(customElements.get("unit-switch"))return;class UnitSwitch extends HTMLElement{constructor(){super(),this.toggles=document.querySelectorAll(".inc-cm-number"),this.units=this.querySelectorAll("span[data-unit]")}connectedCallback(){this.addEventListener("click",event=>{const active=this.querySelector("span[data-unit].active"),notActive=this.querySelector("span[data-unit]:not(.active)"),notActiveVal=notActive.dataset.unit;active.classList.remove("active"),notActive.classList.add("active"),document.querySelectorAll(".inc-cm-number").forEach(val=>{var dataValue=val.getAttribute(`data-${notActiveVal}`);val.innerText=dataValue})})}}customElements.define("unit-switch",UnitSwitch)})();
2//# sourceMappingURL=/cdn/shop/t/1106/assets/unit-switch.js.map?v=11585264272680902071790351916

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.