PageSourceSearch

https://www.lockardsfarmpubdumfries.co.uk/_next/static/chunks/6441.82649464eaead048.js

js lockardsfarmpubdumfries.co.uk collected 2026-10-08 09:39:37 UTC 11,061 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6441],{71800:function(e,t,a){"use strict";var n,r=a(52983);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:10.508,height:5.754},e),n||(n=r.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",d:"M9.801.707 5.254 5.254.707.707","data-name":"Icon feather-chevron-down"})))}},62397:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return P}});var n,r,i,o,s,l,c=a(97458),d=a(31536),h=a(40511),u=a(23082),p=a.n(u),m=a(52983),b=a(35212),g=a(71212),f=a(74743),v=a(76142),w=a(71800);function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}a(2525),a(82615);var M=a(11180),E=a.n(M);let O={coffee:function(e){return m.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:33.5,height:32},e),r||(r=m.createElement("g",{fill:"none",stroke:"#b28b4f",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,"data-name":"Icon feather-coffee"},m.createElement("path",{d:"M25 11.5h1.5a6 6 0 0 1 0 12H25","data-name":"Path 1207"}),m.createElement("path",{d:"M1 11.5h24V25a6 6 0 0 1-6 6H7a6 6 0 0 1-6-6Z","data-name":"Path 1208"}),m.createElement("path",{d:"M7 1v4.5","data-name":"Path 1209"}),m.createElement("path",{d:"M13 1v4.5","data-name":"Path 1210"}),m.createElement("path",{d:"M19 1v4.5","data-name":"Path 1211"}))))},"free-wifi":function(e){return m.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",width:34.563,height:24.496},e),l||(l=m.createElement("g",{fill:"none",stroke:"#b28b4f",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,"data-name":"Icon feather-wifi"},m.createElement("path",{d:"M6.781 12.321a16.5 16.5 0 0 1 21.12 0","data-name":"Path 1203"}),m.createElement("path",{d:"M1.411 6.996a24 24 0 0 1 31.74 0","data-name":"Path 1204"}),m.createElement("path",{d:"M12.081 17.661a9 9 0 0 1 10.425 0","data-name":"Path 1205"}),m.createElement("path",{d:"M17.281 23.496h0","data-name":"Path 1206"}))))},hairdryer:function(e){return m.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:36.56,height:32.096},e),i||(i=m.createElement("path",{fill:"none",stroke:"#b28b4f",strokeWidth:2,d:"M30.688 16.343a2.9 2.9 0 0 1 1.137-.785l3.092-1.262a1.282 1.282 0 0 0 .644-1.043V4.434a1.126 1.126 0 0 0-.673-.976S28.419 1 24.086 1c-4.032 0-9.606 2.126-9.606 2.126a7.19 7.19 0 0 1-1.387.345L1.715 4.694A.837.837 0 0 0 1 5.502v5.986a.9.9 0 0 0 .708.852l11.372 1.835a8.117 8.117 0 0 1 1.38.384l7.788 1.992a1.309 1.309 0 0 1 .947.788l4.578 13.22a.73.73 0 0 0 .918.451l4.841-1.628a.714.714 0 0 0 .447-.91l-3.178-9.168c-.13-.375-.239-.7-.244-.729l-.006-.027a2.634 2.634 0 0 1 .137-2.205Zm-5.525-4.758a3.215 3.215 0 1 1 3.265-3.215 3.24 3.24 0 0 1-3.266 3.215Z","data-name":"Icon map-hair-care"})))},projector:function(e){return m.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:27.912,height:28.296},e),o||(o=m.createElement("g",{fill:"none",stroke:"#b28b4f",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,"data-name":"Icon feather-tv"},m.createElement("path",{d:"M24.321 16.985H3.591A2.4 2.4 0 0 1 1 14.854V3.131A2.4 2.4 0 0 1 3.591 1h20.73a2.4 2.4 0 0 1 2.591 2.131v11.723a2.4 2.4 0 0 1-2.591 2.131Z","data-name":"Path 1212"}),m.createElement("path",{d:"m7.478 26.912 6.478-9.927 6.478 9.927","data-name":"Path 1213"}))))},shower:function(e){return m.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:38,height:33.5},e),n||(n=m.createElement("path",{fill:"none",stroke:"#b28b4f",strokeWidth:2,d:"M35.313 16.75H6.625V6.625a2.249 2.249 0 0 1 4.149-1.2 4.779 4.779 0 0 0 .481 5.838.843.843 0 0 0 .035 1.155l.8.8a.844.844 0 0 0 1.193 0l6.677-6.689a.844.844 0 0 0 0-1.193l-.8-.8a.843.843 0 0 0-1.155-.035A4.771 4.771 0 0 0 13.5 3.425a5.623 5.623 0 0 0-10.25 3.2V16.75h-.562A1.687 1.687 0 0 0 1 18.438v1.125a1.687 1.687 0 0 0 1.688 1.687h.562v2.25a6.733 6.733 0 0 0 2.25 5.031v2.282A1.687 1.687 0 0 0 7.188 32.5h1.125A1.687 1.687 0 0 0 10 30.813v-.563h18v.563a1.687 1.687 0 0 0 1.688 1.688h1.125a1.687 1.687 0 0 0 1.687-1.688v-2.282a6.733 6.733 0 0 0 2.25-5.031v-2.25h.563A1.687 1.687 0 0 0 37 19.563v-1.125a1.687 1.687 0 0 0-1.687-1.688Z","data-name":"Icon awesome-bath"})))},tv:function(e){return m.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",width:35,height:29},e),s||(s=m.createElement("path",{fill:"none",stroke:"#b28b4f",strokeWidth:2,d:"M31 1H4a3.009 3.009 0 0 0-3 3v18a3.009 3.009 0 0 0 3 3h7.5v3h12v-3H31a3 3 0 0 0 2.985-3L34 4a3.009 3.009 0 0 0-3-3Zm0 21H4V4h27Z","data-name":"Icon material-tv"})))}},N=["free-wifi","hairdryer","tv","shower","coffee","projector"];function P(e){let{tabs:t}=e,[a,n]=(0,m.useState)(null),r=(0,m.useRef)(),i=(0,m.useRef)(),o=(0,m.useRef)(),{slug:s}=(0,d.Tt)(),l=(0,d.FC)(),u=e=>{var t,a;e===r.current?null===(t=i.current)||void 0===t||t.slideTo(e.activeIndex):null===(a=r.current)||void 0===a||a.slideTo(e.activeIndex)};return(0,c.jsxs)("div",{className:E().wrapper,children:[(0,c.jsx)("div",{className:E().wrapperList,children:(0,c.jsxs)(g.tq,{className:E().list,modules:[b.W_,b.o3],navigation:{prevEl:".swiper-nav-left-custom",nextEl:".swiper-nav-right-custom"},onSwiper:e=>{n(e),r.current=e},onSlideChange:u,speed:900,watchSlidesProgress:!0,children:[(0,c.jsxs)("div",{className:"swiper-nav-custom",children:[(0,c.jsx)("div",{className:"swiper-nav-left-custom",onClick:()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.slidePrev()},onKeyDown:e=>{if("Enter"===e.key){var t;null===(t=r.current)||void 0===t||t.slidePrev()}},role:"button",tabIndex:0,"aria-label":"Left Slider Arrow Icon",children:(0,c.jsx)(w.Z,{})}),(0,c.jsx)("div",{className:"swiper-nav-right-custom",onClick:()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.slideNext()},onKeyDown:e=>{if("Enter"===e.key){var t;null===(t=r.current)||void 0===t||t.slideNext()}},role:"button",tabIndex:0,"aria-label":"Right Slider Arrow Icon",children:(0,c.jsx)(w.Z,{})})]}),t.map((e,t)=>(0,c.jsx)(g.o5,{className:"".concat(E().slide),children:(0,c.jsx)("div",{className:E().innerSlide,children:(0,c.jsx)("span",{className:"font-secondary font-secondary-capitals text-bold ".concat(E().trigger),children:e.name})})},"tab-heading-".concat(t+1)))]})}),(0,c.jsx)(g.tq,{className:"container flush ".concat("signature"===s?"padded":""," ").concat(E().container," ").concat(E().content).trim(),enabled:t.length>1,loop:!0,modules:[b.o3],onSlideChange:u,onSwiper:e=>{i.current=e},slidesPerView:"auto",thumbs:{swiper:a&&!a.destroyed?a:null},children:t.map((e,t)=>{var a;return(0,c.jsx)(g.o5,{className:E().slideWrapper,children:(0,c.jsxs)("div",{className:E().innerWrapper,children:[(0,c.jsxs)("div",{className:E().innerContent,children:["signature"===s&&(0,c.jsx)("span",{className:"scooped-light-border-half scooped-border-inner"}),(0,c.jsx)("h2",{children:(0,c.jsx)("span",{className:"heading-underline heading-medium-background heading-underline--no-spacing font-secondary font-secondary-capitals text-bold ".concat(E().heading).trim(),children:e.name})}),(0,c.jsx)("div",{className:E().multiline,dangerouslySetInnerHTML:{__html:p().sanitize(e.room_information)}}),e.facilities&&(0,c.jsx)("ul",{className:"reset ".concat(E().featuresList),children:null===(a=e.facilities)||void 0===a?void 0:a.sort((e,t)=>
1N.indexOf(e)-N.indexOf(t)).map(e=>{let t=O[e];return t&&(0,c.jsx)("li",{className:E().featuresListItem,children:(0,c.jsx)(t,{})},e)})}),e.button.link_text&&e.button.link_url&&(0,c.jsx)(f.Z,{href:(0,v.Z)("".concat(e.button.link_url),l),className:"button button-scooped button-filled ".concat(E().button),children:(0,c.jsxs)(c.Fragment,{children:["revere"===s&&(0,c.jsx)("span",{className:"button-scooped-inner"}),(0,c.jsx)("span",{className:"button-scooped-outer button-filled-outer",children:(0,c.jsx)("span",{className:"button-scooped-text",children:e.button.link_text})})]})})]}),e.gallery&&(0,c.jsx)(g.tq,{slidesPerView:"auto",enabled:e.gallery.length>1,speed:900,modules:[b.tl],pagination:{clickable:!0},onBeforeInit:e=>{o.current=e},className:"".concat(E().image," ").concat("signature"===s?"scooped-media full":"").trim(),children:e.gallery.map((t,a)=>(0,c.jsx)(g.o5,{children:"signature"===s?(0,c.jsx)("div",{className:"scooped-media full",children:(0,c.jsx)(h.ZP,{src:t.image,params:[{width:350,height:305},{width:659,height:575},{width:968,height:845}],width:"350",height:"305",preload:void 0,Preloader:void 0,loading:"lazy",alt:e.name})}):(0,c.jsx)(h.ZP,{src:t.image,params:[{width:350,height:305},{width:659,height:575},{width:968,height:845}],width:"350",height:"305",preload:void 0,Preloader:void 0,loading:"lazy",alt:e.name})},"image-".concat(a+1)))})]})},"tab-content-".concat(t+1))})})]})}},82615:function(){},11180:function(e){e.exports={breakpoint:"961px",wrapper:"T3TabbedMediaBlock_wrapper__7jlVF",trigger:"T3TabbedMediaBlock_trigger__WS9g6",content:"T3TabbedMediaBlock_content__t5s3P",button:"T3TabbedMediaBlock_button__0kVgz",featuresList:"T3TabbedMediaBlock_featuresList__ezd8z",heading:"T3TabbedMediaBlock_heading__eWar1",multiline:"T3TabbedMediaBlock_multiline__ZEZkE",featuresListItem:"T3TabbedMediaBlock_featuresListItem__D5erj",container:"T3TabbedMediaBlock_container__fpktM",image:"T3TabbedMediaBlock_image__Zy9Lh",innerContent:"T3TabbedMediaBlock_innerContent__p_Zv4",list:"T3TabbedMediaBlock_list___ABlU",wrapperList:"T3TabbedMediaBlock_wrapperList__ziITi",slide:"T3TabbedMediaBlock_slide__dqL9m",innerSlide:"T3TabbedMediaBlock_innerSlide__oSXRi",innerWrapper:"T3TabbedMediaBlock_innerWrapper__38MjH",slideWrapper:"T3TabbedMediaBlock_slideWrapper__aKIYM"}}}]);

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.