PageSourceSearch

https://broadgate.co.uk/wp-content/themes/blackbird-core/src/dist/social-feeds-CCFh8OX7.js

js broadgate.co.uk collected 2026-10-01 12:20:14 UTC 1,432 bytes, 1 lines download raw bytes

1import{S as f}from"./create-element-if-not-defined-CqU8NaII.js";import{N as v}from"./navigation-6Xf1KFtD.js";function E(){document.querySelectorAll(".social-feeds").forEach(_)}function _(t){const i=Array.from(t.querySelectorAll(".social-feeds__cards__row")),s=Array.from(t.querySelectorAll(".social-feeds__intro__switch a")),e=t.querySelector(".social-feeds__follow-link"),a=e==null?void 0:e.querySelector("span"),c=new Map;i.forEach(r=>{c.set(r,m(r))}),s.forEach(r=>{r.addEventListener("click",d=>{d.preventDefault();const u=r.dataset.feed;s.forEach(o=>o.classList.remove("active")),r.classList.add("active"),i.forEach(o=>{var n;const l=o.dataset.feed===u;o.classList.toggle("active",l),l&&((n=c.get(o))==null||n.update())}),a.textContent=r.dataset.label??"",e.href=r.dataset.url??"#"})}),p(t)}function m(t){return new f(t,{modules:[v],slidesPerView:1.2,spaceBetween:20,allowTouchMove:!0,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:3}}})}function p(t){Array.from(t.querySelectorAll(".social-feeds__cards__item")).forEach(s=>{const e=s.querySelector(".social-feeds__cards__item__media video");if(!e)return;const a=()=>{e.pause(),e.currentTime=0};e.readyState>=1?a():e.addEventListener("loadedmetadata",a,{once:!0}),s.addEventListener("mouseenter",()=>{e.play().catch(()=>{})}),s.addEventListener("mouseleave",a)})}export{E as default};

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.