1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1857],{3129:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/editions/search/[categories]/[terms]",function(){return n(9390)}])},2907:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var l=n(5893),s=n(7294),a=n(2465),i=n(1664),r=n.n(i),o=n(8729),d=n(2349),c=n(8172);function x(e){let{extraClass:t,resultsList:n}=e,[i,x]=(0,s.useState)(n),[u,m]=(0,s.useState)("none");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"w-full flex mb-12",children:(0,l.jsxs)("div",{className:"container flex flex-row max-w-6xl mx-auto border-0 border-b border-light pb-2 text-sm",children:[(0,l.jsxs)("div",{className:"flex w-1/2",children:[i.length," editions found"]}),(0,l.jsxs)("div",{className:"flex w-1/2 justify-end",children:["Sort by",(0,l.jsxs)("select",{className:"text-sm font-semibold focus:border-0 focus:ring-0 outline-0 bg-transparent",defaultValue:"DEFAULT",onChange:e=>m(e.target.value),children:[(0,l.jsx)("option",{value:"DEFAULT",disabled:!0,children:"None"}),(0,l.jsx)("option",{value:"ascending",children:"Design A-Z"}),(0,l.jsx)("option",{value:"descending",children:"Design Z-A"}),(0,l.jsx)("option",{value:"recommended",children:"Recommended"})]})]})]})}),(0,l.jsx)("div",{className:"w-full ".concat(t&&t),children:i.length>0?(0,l.jsx)("div",{className:"container flex flex-col max-w-6xl mx-auto grid grid-cols-2 md:grid-cols-5 gap-4 md:gap-4",children:n.sort({none:{method:(e,t)=>null},ascending:{method:(e,t)=>e.node.title<t.node.title?-1:1},descending:{method:(e,t)=>e.node.title>t.node.title?-1:1},recommended:{method:(e,t)=>t.node.pageEditionSingle.elliseditionRating-e.node.pageEditionSingle.elliseditionRating}}[u].method).map((e,t)=>{var n;return(0,l.jsxs)("div",{className:"relative mb-4",children:[(0,l.jsxs)(r(),{href:e.node.uri,className:"mb-2 md:mb-2 text-center",children:[e.node.featuredImage&&(0,l.jsxs)("div",{className:"flex w-full relative hover-block aspect-[5/5]",children:[(0,l.jsx)(a.Z,{extraClass:"",sourceUrl:e.node.featuredImage.node.sourceUrl,altText:e.node.featuredImage.node.altText?e.node.featuredImage.node.altText:"".concat(e.node.title," image")}),(0,l.jsx)("div",{className:"box-fade"})]}),e.node.pageEditionSingle.elliseditionColourwayTitle&&(0,l.jsx)(d.Z,{text:e.node.pageEditionSingle.elliseditionColourwayTitle,extraClass:"mt-2.5"}),e.node.title&&(0,l.jsx)("div",{className:"pt-4 text-[15px] font-semibold -mt-3",children:e.node.title})]},t),(0,l.jsx)("div",{className:"absolute w-full aspect-[5/5] top-0 left-0",children:(0,l.jsx)(o.Z,{type:"Edition",title:e.node.title,url:null===(n=e.node.featuredImage)||void 0===n?void 0:n.node.sourceUrl,id:e.node.editionId,extraClass:"flex z-10 w-[25px] h-[25px] absolute right-0 bottom-[-30px]"})})]},t)})}):(0,l.jsx)(c.Z,{text:"No content avalable...",extraClass:"text-center mt-10"})})]})}},2465:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var l=n(5893);function s(e){let{sourceUrl:t,altText:n,extraClass:s}=e;return(0,l.jsx)("img",{className:"next-image-alt ".concat(s||""),src:t,alt:n})}},8172:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var l=n(5893);function s(e){let{text:t,extraClass:n}=e;return(0,l.jsx)("h1",{className:"text-base ".concat(n||""),children:t})}},9390:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return g},default:function(){return h}});var l=n(5893),s=n(5950),a=n(5761),i=n(4801),r=n(8267),o=n(6854),d=n(2907),c=n(7845),x=n(7294),u=n(1163),m=n.n(u);function f(e){let{content:t,editionCategories:n,filteredTitles:s,pageContext:a}=e,u=n.map(e=>e.node.name),f=a.terms,g=a.categories;return(0,x.useEffect)(()=>{document.querySelector(".search-breadcrumbs"),setTimeout(()=>{var e;let t=document.querySelector(".breadcrumb-container ul"),n=null==t?void 0:null===(e=t.lastChild)||void 0===e?void 0:e.querySelector("a"),l=window.location.href;n.innerHTML="Search category: ".concat(g,", term: ").concat(f),n.href=l},100)},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.Z,{extraClass:"breadcrumb-container max-w-6xl flex-col md:flex-row",children:(0,l.jsx)("div",{className:"flex flex-col w-full px-4",children:(0,l.jsx)(r.Z,{extraClass:"justify-between search-breadcrumbs",children:(0,l.jsx)(o.Z,{})})})}),(0,l.jsx)(c.Z,{categoryList:u,extraClass:"",searchQuery:(e,t)=>{null==e&&(e="all"),e||(e="all"),t||(t="all"),t.length<1&&(t="all"),m().push("/editions/search/".concat(t,"/").concat(e,"/"))},filteredTitles:s}),(0,l.jsx)(i.Z,{extraClass:"max-w-6xl px-4 flex-col pt-5 md:pt-10 pb-16",children:(0,l.jsx)(d.Z,{resultsList:t,extraClass:""})})]})}var g=!0;function h(e){let{pageData:t,siteData:n,editionCategories:i,editionItems:r,filteredEditions:o,filteredTitles:d,pageContext:c}=e;return(0,l.jsxs)(s.Z,{siteData:n,pageSEO:t.seo,children:[t.imageTextBlock.imageTextTitle&&(0,l.jsx)(a.Z,{extraClass:"",title:t.imageTextBlock.imageTextTitle,text:t.imageTextBlock.imageTextText}),(0,l.jsx)(f,{content:o,filteredTitles:d,editionCategories:i,pageContext:c})]})}}},function(e){e.O(0,[5445,1212,1852,7650,5950,2617,2888,9774,179],function(){return e(e.s=3129)}),_N_E=e.O()}]);
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.