PageSourceSearch

https://www.ansa.no/content/plugins/t2/build/extension-library/sto…/gallery/script.js?ver=d62d9096e11e71feb674

js ansa.no collected 2026-09-24 19:14:44 UTC 789 bytes, 1 lines download raw bytes

1window.addEventListener("DOMContentLoaded",(function(){const e=window?.t2StoryGallery?.multiplier||1.25;document.querySelectorAll(".wp-block-t2-story-gallery:not(.block-editor-block-list__block)").forEach((t=>{const o=t.querySelectorAll(".blocks-gallery-item, .wp-block-gallery > figure");let l=0;o.forEach((e=>{l+=e.offsetWidth,e.querySelector("img").setAttribute("loading",!1)})),t.style.height=(l+t.offsetHeight)/e+"px";const r=t.querySelector(".wp-block-gallery");r.style.marginLeft="100vw";const n=()=>{const o=window.pageYOffset-t.offsetTop+window.screen.height/2;o>0&&(r.style.transform="translateX("+-o*e+"px)")};new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?document.addEventListener("scroll",n):document.removeEventListener("scroll",n)}))})).observe(t),n()}))}));

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.