PageSourceSearch

https://a-long-and-winding-path.co.uk/_nuxt/CUjFBDwR.js

js a-long-and-winding-path.co.uk collected 2026-10-08 08:24:30 UTC 3,442 bytes, 1 lines download raw bytes

1import{f as C,B as g,H as M,c as r,b as s,w as n,i as N,o as l,j as B,d as _,t as c,m as t,a,k as $,q as D,l as F,F as w,r as j,I as O,e as P,E as R,C as q,D as z}from"./aCHmRW9u.js";import{_ as A}from"./C4e-X6DA.js";import{_ as I}from"./gfvOXkdB.js";import{t as T}from"./yI7HeE6Z.js";const U={class:"flex justify-center flex-wrap gap-3 list-none"},G={class:"bg-light group-hover:bg-light/90 px-3 rounded-xl aspect-3/1 max-w-40 lg:max-w-48"},J=C({__name:"RetailerList",props:{heading:{},body:{},retailers:{}},setup(k){const e=k,d=e.retailers||g("retailers"),f=M("book-page")?g("book-page"):null,i=e.heading||f?.retailers_heading.value||"",m=e.body||f?.retailers_body,b=d.filter(o=>o.fields.paperback.value),h=d.filter(o=>o.fields.ebook.value),u=[{name:"Paperback",retailers:b},{name:"Ebook",retailers:h}].filter(o=>o.retailers.length);return(o,p)=>{const x=B,V=D,E=O,H=R,L=P,S=N;return l(),r("div",null,[s(S,{primary:"","outer-id":"retailers"},{default:n(()=>[s(x,{as:"h2",light:"",class:"text-center mb-3"},{default:n(()=>[_(c(t(i)),1)]),_:1}),p[0]||(p[0]=a("div",{class:"w-16 h-1 bg-accent mx-auto my-6"},null,-1)),t(m)?.value?(l(),$(E,{key:0,class:"bg-accent max-w-3xl mx-auto text-center"},{default:n(()=>[s(V,{light:"",class:"prose-p:mb-0!",field:t(m)},null,8,["field"])]),_:1})):F("",!0),(l(!0),r(w,null,j(t(u),v=>(l(),r("div",{key:v.name,class:"mb-6"},[s(x,{as:"h3",light:"",class:"text-center mb-3"},{default:n(()=>[_(c(v.name),1)]),_:2},1024),a("ul",U,[(l(!0),r(w,null,j(v.retailers,y=>(l(),r("li",{key:y.id},[s(L,{href:y.fields.link.value,target:"_blank",rel:"noopener noreferrer",external:"",class:"group"},{default:n(()=>[a("div",G,[s(H,{field:y.fields.logo,class:"size-full object-contain"},null,8,["field"])])]),_:2},1032,["href"])]))),128))])]))),128))]),_:1})])}}}),K=Object.assign(J,{__name:"UiRetailerList"}),Q={class:"md:flex md:items-center md:justify-center md:gap-6 lg:gap-12"},W={class:"md:shrink-0 mb-6 md:mb-0"},X={class:"mx-auto max-w-64 lg:max-w-xs"},Y={class:"md:grow text-center md:text-start"},Z={class:"font-headings text-5xl xs:text-7xl xl:text-8xl text-[#FAF3DD] font-normal tracking-tight text-balance mb-3"},ee={class:"max-w-3xl mx-auto"},oe=C({__name:"a-long-and-winding-path-to-fatherhood",setup(k){const e=g("book-page"),d=g("retailers");return q({page:"book-page",title:e.title.value,description:T(e.synopsis.value,155,z)}),(f,i)=>{const m=R,b=A,h=I,u=N,o=B,p=D,x=K;return l(),r("div",null,[s(u,{first:"",primary:""},{default:n(()=>[a("div",Q,[a("div",W,[a("div",X,[s(m,{field:t(e).cover,class:"rounded-sm object-cover shadow-xl"},null,8,["field"])])]),a("div",Y,[a("h1",Z,c(t(e).title.value),1),s(b,{class:"font-display! xs:text-3xl sm:text-4xl mb-3"},{default:n(()=>[_(c(t(e).subtitle.value),1)]),_:1}),i[0]||(i[0]=a("div",{class:"w-16 h-1 bg-accent mx-auto lg:mx-0 my-6"},null,-1)),t(e).publication_date?.value?(l(),$(h,{key:0,light:"",class:"mb-3"},{default:n(()=>[_(c(t(e).publication_date.value),1)]),_:1})):F("",!0)])])]),_:1}),s(u,{light:""},{default:n(()=>[a("div",ee,[s(o,{as:"h2",class:"text-center mb-6"},{default:n(()=>[_(c(t(e).synopsis_heading.value),1)]),_:1}),i[1]||(i[1]=a("div",{class:"w-16 h-1 bg-primary mx-auto my-6"},null,-1)),s(p,{class:"text-justify mx-auto md:ml-0 md:mr-auto",field:t(e).synopsis},null,8,["field"])])]),_:1}),s(x,{heading:t(e).retailers_heading.value,body:t(e).retailers_body,retailers:t(d)},null,8,["heading","body","retailers"])])}}});export{oe 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.