PageSourceSearch

https://pcgr.org/assets/js/soft-design-system.min.js?v=1.0.9

js pcgr.org collected 2026-10-02 17:04:26 UTC 4,952 bytes, 2 lines download raw bytes

1var popoverTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')),popoverList=popoverTriggerList.map(function(e){return new bootstrap.Popover(e)}),tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')),tooltipList=tooltipTriggerList.map(function(e){return new bootstrap.Tooltip(e)});function setAttributes(t,o){Object.keys(o).forEach(function(e){t.setAttribute(e,o[e])})}var popoverList=(popoverTriggerList=[].slice.call(document.querySelectorAll('[data-toggle="popover"]'))).map(function(e){return new bootstrap.Popover(e)}),tooltipList=(tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-toggle="tooltip"]'))).map(function(e){return new bootstrap.Tooltip(e)}),total=document.querySelectorAll(".nav-pills");function getEventTarget(e){return(e=e||window.event).target||e.srcElement}function copyCode(e){const t=window.getSelection(),o=document.createRange();var n,l=e.nextElementSibling;o.selectNodeContents(l),t.removeAllRanges(),t.addRange(o),document.execCommand("copy");window.getSelection().removeAllRanges(),e.parentElement.querySelector(".alert")||((n=document.createElement("div")).classList.add("alert","alert-success","position-absolute","top-0","border-0","text-white","w-25","end-0","start-0","mt-2","mx-auto","py-2"),n.style.transform="translate3d(0px, 0px, 0px)",n.style.opacity="0",n.style.transition=".35s ease",setTimeout(function(){n.style.transform="translate3d(0px, 20px, 0px)",n.style.setProperty("opacity","1","important")},100),n.innerHTML="Code successfully copied!",e.parentElement.appendChild(n),setTimeout(function(){n.style.transform="translate3d(0px, 0px, 0px)",n.style.setProperty("opacity","0","important")},2e3),setTimeout(function(){e.parentElement.querySelector(".alert").remove()},2500))}total.forEach(function(r,e){var i=document.createElement("div"),t=r.querySelector("li:first-child .nav-link").cloneNode();t.innerHTML="-",i.classList.add("moving-tab","position-absolute","nav-link"),i.appendChild(t),r.appendChild(i),r.getElementsByTagName("li").length;i.style.padding="0px",i.style.width=r.querySelector("li:nth-child(1)").offsetWidth+"px",i.style.transform="translate3d(0px, 0px, 0px)",i.style.transition=".5s ease",r.onmouseover=function(e){let t=getEventTarget(e),l=t.closest("li");if(l){let o=Array.from(l.closest("ul").children),n=o.indexOf(l)+1;r.querySelector("li:nth-child("+n+") .nav-link").onclick=function(){i=r.querySelector(".moving-tab");let e=0;if(r.classList.contains("flex-column")){for(var t=1;t<=o.indexOf(l);t++)e+=r.querySelector("li:nth-child("+t+")").offsetHeight;i.style.transform="translate3d(0px,"+e+"px, 0px)",i.style.height=r.querySelector("li:nth-child("+t+")").offsetHeight}else{for(t=1;t<=o.indexOf(l);t++)e+=r.querySelector("li:nth-child("+t+")").offsetWidth;i.style.transform="translate3d("+e+"px, 0px, 0px)",i.style.width=r.querySelector("li:nth-child("+n+")").offsetWidth+"px"}}}}}),window.addEventListener("resize",function(e){total.forEach(function(o,e){o.querySelector(".moving-tab").remove();var n=document.createElement("div"),l=o.querySelector(".nav-link.active").cloneNode();l.innerHTML="-",n.classList.add("moving-tab","position-absolute","nav-link"),n.appendChild(l),o.appendChild(n),n.style.padding="0px",n.style.transition=".5s ease";let r=o.querySelector(".nav-link.active").parentElement;if(r){let e=Array.from(r.closest("ul").children);l=e.indexOf(r)+1;let t=0;if(o.classList.contains("flex-column")){for(var i=1;i<=e.indexOf(r);i++)t+=o.querySelector("li:nth-child("+i+")").offsetHeight;n.style.transform="translate3d(0px,"+t+"px, 0px)",n.style.width=o.querySelector("li:nth-child("+l+")").offsetWidth+"px",n.style.height=o.querySelector("li:nth-child("+i+")").offsetHeight}else{for(i=1;i<=e.indexOf(r);i++)t+=o.querySelector("li:nth-child("+i+")").offsetWidth;n.style.transform="translate3d("+t+"px, 0px, 0px)",n.style.width=o.querySelector("li:nth-child("+l+")").offsetWidth+"px"}}}),window.innerWidth<991?total.forEach(function(e,t){e.classList.contains("flex-column")||e.classList.add("flex-column","on-resize")}):total.forEach(function(e,t){e.classList.contains("on-resize")&&e.classList.remove("flex-column","on-resize")})});var getParent=function(e,t){for(;e&&e!==document;e=e.parentNode)if(e.matches(t))return e;return null};function debounce(o,n,l){var r;return function(){var e=this,t=arguments;clearTimeout(r),r=setTimeout(function(){r=null,l||o.apply(e,t)},n),l&&!r&&o.apply(e,t)}}
1document.addEventListener("click",function(e){var t=getParent(e.target,".input-group");if(e.target.classList.contains("form-control")){for(var o=document.querySelectorAll(".input-group.focused"),n=0;n<o.length;n++)o[n].classList.remove("focused");t.classList.add("focused")}if((o=document.querySelectorAll(".input-group.focused"))&&e.target!=t&&e.target.parentNode!=t)for(n=0;n<o.length;n++)o[n].classList.remove("focused")},!1);
2//# sourceMappingURL=_site_kit_free/assets/js/kit-free.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.