import{_ as h}from"./DpUJxqoL.js";import{d as x,$ as y,l as $}from"./Cfh3kXIQ.js";import{_ as z}from"./CAQNniay.js";import{u as B}from"./DiIdhs-Z.js";import{u as C}from"./Cjs1FLPk.js";import{u as F}from"./CzEXYf9D.js";import{l as N,E as t,P as p,J as D,Z as L,u as a,F as n,N as f,U as s}from"./DEIzhR9A.js";import"./_ECBCnJP.js";import"./C_YNEQWT.js";import"./AQgvJZua.js";import"./APZTHeFf.js";import"./DAoAjQ1Z.js";import"./BrvZKvXP.js";import"./CSqzEET8.js";import"./BNS08PCs.js";const q={class:"mb-24"},T=N({__name:"index",setup(E){const d=x(),{fetchByFolder:k}=B(),m=C(),{data:g}=F("lookbooks",()=>k("lookbooks")),v=r=>y(r);return(r,P)=>{const i=h,b=$,w=z;return t(),p("div",q,[(t(!0),p(D,null,L(a(g),(e,o)=>(t(),n(w,{key:o,important:o<2,"placeholder-ratio":"16/9"},{default:f(()=>{var l,c;return[(l=e.content.teaser_image)!=null&&l.filename||(c=e.content.teaser_image_mobile)!=null&&c.filename?(t(),n(b,{key:0,to:`${a(d).path}/${v(e.name)}`},{default:f(()=>{var _,u;return[a(m).isDesktop&&((_=e.content.teaser_image)!=null&&_.filename)?(t(),n(i,{key:0,class:"hidden w-full sm:block",sizes:"sm:100vw md:100vw lg:100vw xl:100vw xxl:100vw 2048:100vw",loading:o>4?"lazy":"auto",quality:"85",provider:"storyblok",src:e.content.teaser_image.filename,alt:e.content.teaser_image.alt},null,8,["loading","src","alt"])):s("",!0),a(m).isMobile&&((u=e.content.teaser_image_mobile)!=null&&u.filename)?(t(),n(i,{key:1,class:"block w-full sm:hidden",sizes:"sm:100vw md:100vw lg:100vw",loading:o>4?"lazy":"auto",provider:"storyblok",quality:"85",src:e.content.teaser_image_mobile.filename,alt:e.content.teaser_image_mobile.alt},null,8,["loading","src","alt"])):s("",!0)]}),_:2},1032,["to"])):s("",!0)]}),_:2},1032,["important"]))),128))])}}});export{T as default};