PageSourceSearch

https://www.flipdish.com/js/contentSliders.js?v=1.0

js flipdish.com collected 2026-09-24 08:38:02 UTC 2,446 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".content-slider");if(0!==e.length){let t=new IntersectionObserver(function(e,t){e.forEach(e=>{e.isIntersecting&&((e=e.target).dataset.src&&(e.src=e.dataset.src,e.removeAttribute("data-src")),t.unobserve(e))})},{rootMargin:"200px"});e.forEach(i=>{{var d=t,u;let l=i.querySelectorAll(".tab-btn"),o=i.querySelectorAll(".tab-content"),e=i.querySelector(".arrow.left"),s=i.querySelector(".arrow.right"),c=i.querySelector(".tab-contents");if(0!==l.length&&0!==o.length){let t=0,r=0,a=!1;h(t),u=d,i.querySelectorAll(".tab-content img[data-src]").forEach(e=>{u.observe(e)}),f(t);let n=null;function h(n){if(!a){a=!0;let e=l.length;if(n=(n+e)%e,l.forEach((e,t)=>{t=t===n;e.classList.toggle("active",t),e.setAttribute("aria-selected",t),e.setAttribute("tabindex",t?"0":"-1")}),o.forEach((e,t)=>{e.classList.toggle("active",t===n),e.setAttribute("aria-hidden",!(t===n))}),window.innerWidth<=12768){let e=l[n],t=e.parentElement,r=e.offsetLeft-(t.clientWidth-e.offsetWidth)/2;t.scrollTo({left:Math.max(0,r),behavior:"smooth"})}f(t=n),setTimeout(()=>{a=!1},300)}}function f(e){[(e-1+l.length)%l.length,(e+1)%l.length].forEach(e=>{e=o[e]?.querySelector("img");e&&!e.src.includes("data:")&&((new Image).src=e.src)})}new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting||(clearInterval(n),n=null)})},{threshold:.3}),l.forEach((e,t)=>{e.addEventListener("click",()=>{h(t),setTimeout(()=>{e.blur()},150)}),e.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),h(t))})}),e&&s&&(e.addEventListener("click",()=>h(t-1)),s.addEventListener("click",()=>h(t+1)),e.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),h(t-1))}),s.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),h(t+1))})),i.addEventListener("keydown",e=>{"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&("ArrowRight"===e.key?(e.preventDefault(),h(t+1)):"ArrowLeft"===e.key&&(e.preventDefault(),h(t-1)))}),c&&(c.addEventListener("touchstart",e=>{r=e.touches[0].clientX},{passive:!0}),c.addEventListener("touchend",e=>{e=e.changedTouches[0].clientX,e=r-e;150<Math.abs(e)&&h(0<e?t+1:t-1)},{passive:!0})),i.classList.add("is-ready")}}}),document.querySelectorAll(".tabs").forEach(e=>{6<e.querySelectorAll(".tab-btn").length?e.style.overflowX="auto":(e.style.overflowX="scroll",e.style.scrollbarWidth="none")})}});

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.