1"use strict";(self.webpackChunkmonocle_theme=self.webpackChunkmonocle_theme||[]).push([[2828],{8602:function(e,t,n){n.r(t),n.d(t,{getSplideInstance:function(){return a}});n(6051);var o=n(7535);const r=new WeakMap,a=e=>r.get(e),c=e=>{const t=e.querySelector("\n\t\t.c-article-card__image img,\n\t\t.c-contributor-card__image img,\n\t\t.c-partnered-content-card__image img,\n\t\t.c-host-card__image img,\n\t\t.c-show-card__image img,\n\t\t.c-product-card__image img\n\t"),n=e.querySelector(".c-content-grid--splide__arrows");if(!t||!n)return;const o=()=>{const o=t.getBoundingClientRect(),r=e.getBoundingClientRect(),a=o.top+o.height/2-r.top;n.style.top=`${a}px`};t.complete?o():t.addEventListener("load",o,{once:!0})};t.default=()=>{const e=document.querySelectorAll(".c-content-grid--splide");if(!e.length)return;const t={type:"slide",arrows:!0,pagination:!1,gap:"2rem",perPage:4,perMove:1,lazyLoad:"nearby",preloadPages:1,keyboard:"focused",breakpoints:{992:{perPage:3},767:{perPage:2.3,focus:0}}};e.forEach((e=>{const n=e.dataset?.splide;let a=t;if(n)try{a=Object.assign(JSON.parse(n),t)}catch(e){}const s=new o.Ay(e,a);s.on("mounted",(()=>c(e))),s.on("resize",(()=>c(e))),s.mount(),r.set(e,s),((e,t)=>{const n=e.querySelector(".splide__track");if(!n)return;let o=!1;n.addEventListener("wheel",(e=>{const n=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.shiftKey?e.deltaY:0;if(n){if(e.preventDefault(),o)return;o=!0,n>0?t.go(">"):t.go("<"),setTimeout((()=>{o=!1}),500)}}),{passive:!1})})(e,s),e.addEventListener("mouseenter",(()=>{document.body.classList.add("u-no-horizontal-overscroll")})),e.addEventListener("mouseleave",(()=>{document.body.classList.remove("u-no-horizontal-overscroll")}))}))}}}]);
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.