PageSourceSearch

https://www.greeneking.co.uk/dist/gk-jss-app/js/FacilitiesBlock.89c5c96b.js

js greeneking.co.uk collected 2026-10-01 10:33:47 UTC 2,493 bytes, 2 lines download raw bytes

1"use strict";(globalThis["webpackChunkgk_jss_app"]=globalThis["webpackChunkgk_jss_app"]||[]).push([[7247],{15262:(l,i,e)=>{e.r(i),e.d(i,{default:()=>w});var a=e(20641),s=e(90033),c=e(50953),t=e(94626),o=e(50258),d=e(46810),u=e(86350),n=e(34958),f=e(20002),k=e(6402),b=e(30843);const r={class:"container"},_={class:"row"},v={class:"col-12 col-md-5 col-lg-3"},p={class:"col-12 col-md-6 offset-md-1 col-lg-8"},m={key:0,class:"facilities-block__list"},h=["aria-hidden"],C={class:"facilities-block__label font-s"},E=8,g=4,L=(0,a.pM)({__name:"FacilitiesBlock",props:{fields:{default:()=>({})},rendering:{},params:{default:()=>({})}},setup(l){const i=(0,k.OL)(),{trackLinkState:e}=(0,n.k)({componentName:"facilities_block"}),{t:L}=(0,o.s9)(),{isMedia:W}=(0,f.A)("(min-width: 1024px)"),w=(0,b.B)(),A=(0,c.KR)(!1),S=l,X=l=>A.value||l<y.value,F=()=>{e(A.value?u.A.actions.SHOW_LESS:u.A.actions.SHOW_MORE),A.value=!A.value},O=(0,a.EW)((()=>({"bottom-paper-border top-paper-border":"ChefBrewer"===w.brandName,...i(k.PW.FACILITIES_BLOCK)}))),y=(0,a.EW)((()=>W.value?E:g)),B=(0,a.EW)((()=>A.value?L("facilities-view-less"):L("facilities-show-more"))),I=(0,a.EW)((()=>(S.fields.facilities?.value?.length??0)>y.value));return(i,e)=>((0,a.uX)(),(0,a.CE)("section",{class:(0,s.C4)(["facilities-block",O.value])},[(0,a.Lk)("div",r,[(0,a.Lk)("div",_,[(0,a.Lk)("div",v,[(0,a.bF)((0,c.R1)(t.E),{tag:"h2",class:"facilities-block__title font-l",field:l.fields.heading},null,8,["field"]),(0,a.bF)((0,c.R1)(t.E),{tag:"p",class:"facilities-block__description",field:l.fields.description},null,8,["field"]),I.value?((0,a.uX)(),(0,a.Wv)(d.A,{key:0,class:"facilities-block__more facilities-block__more--desktop","data-test-id":"facilities-button",label:B.value,onClick:F},null,8,["label"])):(0,a.Q3)("",!0)]),(0,a.Lk)("div",p,[l.fields.facilities?.value?.length?((0,a.uX)(),(0,a.CE)("ul",m,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(l.fields.facilities.value,((l,i)=>((0,a.uX)(),(0,a.CE)("li",{key:i,class:(0,s.C4)(["facilities-block__item",{"facilities-block__item--visible":X(i)}]),"aria-hidden":!X(i)},[(0,a.Lk)("i",{class:(0,s.C4)(l.icon),"aria-hidden":"true"},null,2),(0,a.Lk)("span",C,(0,s.v_)(l.label),1)],10,h)))),128))])):(0,a.Q3)("",!0)])]),I.value?((0,a.uX)(),(0,a.Wv)(d.A,{key:0,class:"facilities-block__more facilities-block__more--mobile","data-test-id":"facilities-button",label:B.value,onClick:F},null,8,["label"])):(0,a.Q3)("",!0)])],2))}}),W=L,w=W}}]);
2//# sourceMappingURL=FacilitiesBlock.89c5c96b.js.map

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.