PageSourceSearch

https://foodnetwork.co.uk/build/assets/ChefsIndex-D1jpwvTp.js

js foodnetwork.co.uk collected 2026-10-02 05:46:01 UTC 11,837 bytes, 1 lines download raw bytes

1import{L as P}from"./Default-mgg0Oyf0.js";import{_ as M,S as O,r as t,o as a,c as g,w as l,d,F as B,e as F,b as r,n as x,g as _,t as k,f as w,a as e,h as D}from"./app-D8knv3xm.js";/* empty css            */const T={components:{SwiperSlide:O},props:{resource:{required:!0}},methods:{recipeLabel(s){return s==null||s.recipe_count,"5 recipes"}}};function W(s,n,o,S,u,b){const m=t("HeroImage"),p=t("Breadcrumbs"),h=t("HeroHeading"),i=t("HeroBody"),y=t("HeroDummyLink"),v=t("HeroSlide"),H=t("swiper-slide"),A=t("Hero",!0);return a(),g(A,{pagination:o.resource.hero.items.length>1,navigation:o.resource.hero.items.length>1},{default:l(()=>[(a(!0),d(B,null,F(o.resource.hero.items,c=>(a(),g(H,null,{default:l(()=>[r(v,{link:c.link.enabled?c.link:null},{background:l(()=>[r(m,{media:c.media_library_item},null,8,["media"])]),default:l(()=>{var f;return[r(p,{items:o.resource.hero.breadcrumbs,class:x(["text-cream",{"group-hover:opacity-75":c.link.enabled}])},null,8,["items","class"]),r(h,{class:x(["mt-4 lg:mt-6",{"group-hover:opacity-75":c.link.enabled}])},{default:l(()=>[_(k(c.heading),1)]),_:2},1032,["class"]),r(i,{class:x(["mt-6 lg:mt-8",{"group-hover:opacity-75":c.link.enabled}])},{default:l(()=>[_(k(c.body),1)]),_:2},1032,["class"]),c.link.enabled?(a(),g(y,{key:0,colour:((f=c.hero)==null?void 0:f.link_colour)??"pink",class:"mt-6 lg:mt-8"},{default:l(()=>[_(k(c.link.label),1)]),_:2},1032,["colour"])):w("",!0)]}),_:2},1032,["link"])]),_:2},1024))),256))]),_:1},8,["pagination","navigation"])}const j=M(T,[["render",W]]),E={props:{resource:{required:!0}},data(){var s,n;return{items:((n=(s=this.resource)==null?void 0:s.paginate)==null?void 0:n.resource.data)??[],filterOpen:!1}},methods:{loadMore(){this.isMore!==null&&this.$inertia.get(this.resource.paginate.resource.next_page_url,{},{preserveState:!0,preserveScroll:!0,onSuccess:s=>{this.items=[...this.items,...this.resource.paginate.resource.data]}})}},computed:{isMore(){var s,n,o;return((o=(n=(s=this.resource)==null?void 0:s.paginate)==null?void 0:n.resource)==null?void 0:o.next_page_url)??!1}}},N={class:"flex items-center justify-between mb-8 mt-8 lg:mt-16 relative lg:mb-12"},V=["innerHTML"],z={key:0,class:"absolute bg-white top-[calc(100%+10px)] max-h-[600px] max-w-[424px] right-0 rounded w-full z-20"},Z={class:"border-t border-t-light p-6"},q={class:"flex items-center justify-center mt-4 text-body/60 text-xs uppercase w-full"},K={class:"row"},G={class:"col w-1/2 lg:w-1/4"},J={class:"mt-10 lg:mt-12 text-center"};function Q(s,n,o,S,u,b){const m=t("icon"),p=t("ChefCardA"),h=t("Wrapper");return a(),g(h,{class:""},{default:l(()=>[e("div",N,[e("h2",{innerHTML:o.resource.heading},null,8,V),u.filterOpen?(a(),d("div",z,[n[3]||(n[3]=e("div",{class:"p-6"},[e("input",{type:"text",placeholder:"Search for a chef...",class:"border border-light rounded w-full"})],-1)),n[4]||(n[4]=e("div",{class:"px-2"},[e("div",{class:"max-h-[380px] overflow-y-scroll"},[e("div",{class:"bg-bodyBg font-medium mb-6 px-4 py-[2px] rounded text-sm"},"#"),e("ul",{class:"mb-6 ml-4 space-y-4"},[e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show1"}),e("label",{class:"inline-block text-body/80",for:"show1"}," 3 Days to Open with Bobby Flay ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show2"}),e("label",{class:"inline-block text-body/80",for:"show2"}," 35 Ingredient Fix ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show3"}),e("label",{class:"inline-block text-body/80",for:"show3"}," 30 Minute Meals ")])]),e("div",{class:"bg-bodyBg font-medium mb-6 px-4 py-[2px] rounded text-sm"},"A"),e("ul",{class:"mb-6 ml-4 space-y-4"},[e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show4"}),e("label",{class:"inline-block text-body/80",for:"show4"}," Ace of Cakes ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show5"}),e("label",{class:"inline-block text-body/80",for:"show5"}," After Midnight ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show6"}),e("label",{class:"inline-block text-body/80",for:"show6"}," All American Festivals ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show7"}),e("label",{class:"inline-block text-body/80",for:"show7"}," All Star Kitchen Makeover ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show8"}),e("label",{class:"inline-block text-body/80",for:"show8"}," 3 Days to Open with Bobby Flay ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show9"}),e("label",{class:"inline-block text-body/80",for:"show9"}," 35 Ingredient Fix ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show10"}),e("label",{class:"inline-block text-body/80",for:"show10"}," 30 Minute Meals ")])]),e("div",{class:"bg-bodyBg font-medium mb-6 px-4 py-[2px] rounded text-sm"},"B"),e("ul",{class:"mb-6 ml-4 space-y-4"},[e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show11"}),e("label",{class:"inline-block text-body/80",for:"show11"}," 3 Days to Open with Bobby Flay ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show12"}),e("label",{class:"inline-block text-body/80",for:"show12"}," 35 Ingredient Fix ")]),e("li",{class:"flex items-center"},[e("input",{class:"appearance-none h-[21px] w-[21px] border border-light rounded text-maroon checked:bg-maroon focus:bg-white focus:ring-maroon checked:border-none focus:border-none transition duration-200 align-top bg-no-repeat bg-center bg-contain float-left mr-4 cursor-pointer",type:"checkbox",value:"",id:"show13"}),e("label",{class:"inline-block text-body/80",for:"show13"}," 30 Minute Meals ")])])])],-1)),e("div",Z,[n[2]||(n[2]=e("button",{class:"button button--ghost-dark w-full"},"Apply",-1)),e("button",q,[r(m,{icon:"far fa-times",class:"mr-2"}),n[1]||(n[1]=_(" Clear All ",-1))])])])):w("",!0)]),e("div",K,[(a(!0),d(B,null,F(u.items,i=>(a(),d("div",G,[i?(a(),g(p,{key:0,chef:i},null,8,["chef"])):w("",!0)]))),256))]),e("div",J,[b.isMore?(a(),d("button",{key:0,"preserve-scroll":"",type:"button",class:"button button--primary",onClick:n[0]||(n[0]=(...i)=>b.loadMore&&b.loadMore(...i))},"Load More")):w("",!0)])]),_:1})}const R=M(E,[["render",Q]]),U={layout:P,components:{Head:D,ChefsIndexHero:j,ChefsIndexChefsAToZ:R}
1,props:{header:Object,footer:Object,resource:Object},data(){return{adPlugins:this.ads.plugins(),adConfig:this.ads.getConfig("chefsindex",this.resource),isHomeMobileMtfHidden:!1}},updated(){},methods:{onError(s){}}},X=["content"],Y=["content"],$=["content"],ee=["content"],oe=["content"],te=["content"],ne=["content"],re=["href"],se={key:0,name:"robots",content:"noindex"},ce={key:1,name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"};function ae(s,n,o,S,u,b){const m=t("Head"),p=t("AdvertisingSlot"),h=t("AdAtf"),i=t("PartialsHeader"),y=t("ChefsIndexHero"),v=t("AdMtfWithWrapper"),H=t("ChefsIndexChefsAToZ"),A=t("Modules"),c=t("AdBtf"),f=t("PartialsFooter"),L=t("AdvertisingProvider");return a(),d(B,null,[r(m,null,{default:l(()=>{var C,I;return[e("title",null,k((I=(C=o.resource)==null?void 0:C.meta)==null?void 0:I.title),1),e("meta",{name:"description",content:o.resource.meta.description},null,8,X),e("meta",{property:"og:title",content:o.resource.meta.title},null,8,Y),e("meta",{property:"twitter:title",content:o.resource.meta.title},null,8,$),e("meta",{property:"og:description",content:o.resource.meta.description},null,8,ee),e("meta",{property:"og:image",content:o.resource.meta.image},null,8,oe),e("meta",{property:"twitter:image:src",content:o.resource.meta.image},null,8,te),e("meta",{property:"og:url",content:o.resource.meta.url},null,8,ne),e("link",{rel:"canonical",href:o.resource.meta.url},null,8,re),"noindex"in o.resource.meta&&o.resource.meta.noindex?(a(),d("meta",se)):(a(),d("meta",ce))]}),_:1}),r(L,{config:u.adConfig,plugins:u.adPlugins,onError:b.onError},{default:l(C=>[r(p,{id:"1x1"}),r(p,{id:"out-of-page"}),r(h),r(i,{resource:o.header},null,8,["resource"]),r(y,{resource:o.resource},null,8,["resource"]),r(v,{class:"lg:mt-16"}),r(H,{resource:o.resource.chefs_a_to_z},null,8,["resource"]),r(A,{modules:o.resource.modules,nested:!1,class:x({"mt-0":["article_index","inspiration_index","recipe_index"].includes(o.resource.page_template)})},null,8,["modules","class"]),r(c),r(f,{resource:o.footer},null,8,["resource"])]),_:1},8,["config","plugins","onError"])],64)}const ue=M(U,[["render",ae]]);export{ue 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.