PageSourceSearch

https://www.lockardsfarmpubdumfries.co.uk/_next/static/chunks/1566.4c3cd48c09a17285.js

js lockardsfarmpubdumfries.co.uk collected 2026-10-08 09:39:04 UTC 4,763 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1566],{40563:function(e,n,t){"use strict";var i,r=t(52983);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}n.Z=function(e){return r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:17.643,height:23.617},e),i||(i=r.createElement("g",{fill:"none",stroke:"#4d5e3c",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,"data-name":"Group 2195"},r.createElement("path",{d:"m6.249 22.203 10.394-10.394L6.249 1.414","data-name":"Icon feather-chevron-down"}),r.createElement("path",{d:"m1.414 19.398 7.59-7.59-7.59-7.59","data-name":"Icon feather-chevron-down"}))))}},52091:function(e,n,t){"use strict";var i,r=t(52983);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}n.Z=function(e){return r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:17.643,height:23.617},e),i||(i=r.createElement("g",{fill:"none",stroke:"#4d5e3c",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,"data-name":"Group 2196"},r.createElement("path",{d:"M11.394 1.414 1 11.808l10.394 10.395","data-name":"Icon feather-chevron-down"}),r.createElement("path",{d:"m16.229 4.219-7.59 7.59 7.59 7.59","data-name":"Icon feather-chevron-down"}))))}},43786:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return w}});var i=t(97458),r=t(40370),a=t(52983),l=t(35212),s=t(71212),o=t(76142),c=t(61642),d=t(40563),u=t(52091),h=t(31536),k=t(40511),m=t(2638),v=t.n(m),p=t(74743),g=t(23069),_=t.n(g);function f(e){let{linkButtonUrl:n,linkHeading:t,linkImage:r,position:l}=e,{slug:s}=(0,h.Tt)(),o=(0,a.useMemo)(()=>"grandstand"!==s&&"woodies"!==s,[s]);return r?(0,i.jsxs)(p.Z,{href:"".concat(n),className:_().item,children:[(0,i.jsx)(k.ZP,{className:"image-full-width image-cover ".concat(_().image),src:r,params:[{width:303,height:415},{width:430,height:589},{width:606,height:830}],width:"303",height:"415",preload:1===l||void 0,Preloader:1===l?v():void 0,loading:l>1?"lazy":void 0,alt:"".concat(t)}),(0,i.jsx)("div",{className:_().content,children:(0,i.jsx)("h3",{className:"font-secondary ".concat(o&&"stencil"," ").concat(_().heading),children:t})})]}):null}function w(e){let{links:n,position:t}=e,h=(0,c.Z)("(max-width: ".concat(_().breakpoint,")")),k=(0,a.useRef)(),m=(0,r.Z)();return(null==n?void 0:n.length)?(0,i.jsx)("div",{className:_().quickLinks,children:(0,i.jsx)("div",{className:"container ".concat(_().container),children:(0,i.jsx)("div",{className:_().slider,children:(0,i.jsxs)(s.tq,{slidesPerView:"auto",enabled:n.length>1,className:_().swiperSlider,loop:!0,modules:[l.W_],navigation:{prevEl:".swiper-nav-left-custom",nextEl:".swiper-nav-right-custom"},onBeforeInit:e=>{k.current=e},breakpoints:{0:{slidesPerView:1.1,enabled:!0},961:{slidesPerView:3,enabled:!1}},children:[n.length>1&&(0,i.jsxs)("div",{className:"swiper-nav-custom",children:[(0,i.jsx)("div",{className:"swiper-nav-left-custom",onClick:()=>{var e;return null===(e=k.current)||void 0===e?void 0:e.slidePrev()},onKeyDown:e=>{if("Enter"===e.key){var n;null===(n=k.current)||void 0===n||n.slidePrev()}},role:"button",tabIndex:0,"aria-label":"Left Slider Arrow Icon",children:(0,i.jsx)(u.Z,{})}),(0,i.jsx)("div",{className:"swiper-nav-right-custom",onClick:()=>{var e;return null===(e=k.current)||void 0===e?void 0:e.slideNext()},onKeyDown:e=>{if("Enter"===e.key){var n;null===(n=k.current)||void 0===n||n.slideNext()}},role:"button",tabIndex:0,"aria-label":"Right Slider Arrow Icon",children:(0,i.jsx)(d.Z,{})})]}),n&&n.map((e,n)=>(0,i.jsx)(s.o5,{className:_().slideItem,children:(0,i.jsx)(f,{linkButtonUrl:(0,o.Z)(e.link_url,m),linkHeading:e.heading,linkImage:e.image,acf_fc_layout:"",position:t,postId:0})},"links-".concat(n+1))),h&&n.length>1&&n.length<4&&n.map((e,n)=>(0,i.jsx)(s.o5,{className:_().slideItem,children:(0,i.jsx)(f,{linkButtonUrl:(0,o.Z)(e.link_url,m),linkHeading:e.heading,linkImage:e.image,acf_fc_layout:"",position:t,postId:0})},"duplicated-links-".concat(n+1)))]})})})}):null}t(2525)},23069:function(e){e.exports={breakpoint:"960px",slider:"T2QuickLinksBlock_slider__6dbZI",swiperSlider:"T2QuickLinksBlock_swiperSlider__DXVp_",slideItem:"T2QuickLinksBlock_slideItem__s_Puv",quickLinks:"T2QuickLinksBlock_quickLinks__qVBh0",container:"T2QuickLinksBlock_container__XVNty",item:"T2QuickLinksBlock_item__ubO_D",image:"T2QuickLinksBlock_image__fA6_v",content:"T2QuickLinksBlock_content__1GbpN",heading:"T2QuickLinksBlock_heading__4wM09"}}}]);

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.