PageSourceSearch

https://www.modernart.net/_nuxt/index.iLEeT-kV.js

js modernart.net collected 2026-09-24 21:50:49 UTC 3,533 bytes, 15 lines download raw bytes

1import{_ as E}from"./ImageLazy.Ju3RMRZN.js";import{d as z,f as L,z as a,m as o,x as B,C,y as w,k as e,E as x,q as p,F as k,p as $,t as N,v as I,G as q,H as O,g as V,b as j,u as G,w as M,r as b,o as R,P as D,n as P,s as S,I as F,_ as H,J as Q}from"./entry.CWVgukPQ.js";import{_ as J}from"./BackToTop.vue.B2puFZST.js";import{_ as K}from"./Image.BSf4VgpQ.js";import{u as U}from"./use-page-head.LsOmNw3I.js";import{t as W}from"./index.3jFlSoJ4.js";import"./get-image-src.DyQC1Dyh.js";const X=z({__name:"ListItem",props:{image:{type:Object,default:()=>null},firstName:{type:String,default:""},lastName:{type:String,required:!0},slug:{type:Object,required:!0}},emits:["changePreview"],setup(i,{emit:c}){const v=c,u=i,t=L(()=>{var s,n,l;return((l=(n=(s=u.image.asset)==null?void 0:s.metadata)==null?void 0:n.dimensions)==null?void 0:l.aspectRatio)||1}),_=L(()=>t.value<=1?"portrait":"landscape"),f=()=>v("changePreview");return(s,n)=>{const l=E,d=q;return a(),o("li",{class:I(["ArtistsListItem",`ArtistsListItem--${e(_)}`])},[i.image?(a(),B(d,{key:0,to:("getLocalizedPath"in s?s.getLocalizedPath:e(x))(`/artists/${i.slug.current}`),class:"ArtistsListItem__image-wrap"},{default:C(()=>[w(l,{image:i.image,width:1200,class:"ArtistsListItem__image"},null,8,["image"])]),_:1},8,["to"])):p("",!0),w(d,{to:("getLocalizedPath"in s?s.getLocalizedPath:e(x))(`/artists/${i.slug.current}`),class:"ArtistsListItem__link cta",onMouseover:n[0]||(n[0]=r=>f())},{default:C(()=>[i.firstName?(a(),o(k,{key:0},[$(N(i.firstName)+" ",1)],64)):p("",!0),$(N(i.lastName),1)]),_:1},8,["to"])],2)}}}),Y=O(X,[["__scopeId","data-v-ad35eb1d"]]),Z=V`*[_type == "artists"] | order(_updatedAt desc)[0]{
2  "title": {
3    ${j("title","localeTitle")}
4  },
5	"entries": *[_type == "artistsEntry"] | order(lastName asc, _updatedAt desc){
6		firstName,
7    lastName,
8    slug,
9    image{..., asset->},
10	},
11  seo{
12    ...,
13    image{..., asset->},
14  },
15}`,ee={key:0,class:"PageArtists"},te={class:"page-top-title"}
15,se={class:"PageArtists__entry-list-wrap flex-md flex-md-wrap flex-md-justify-center"},ae={class:"PageArtists__back-to-top-button-wrap wrap-full ta-c hidden-desktop"},ie={key:0,class:"PageArtists__preview-container hidden-mobile"},de=z({__name:"index",async setup(i){var l,d;let c,v;const u=G(),{data:t}=([c,v]=M(()=>F(Z)),c=await c,v(),c),_=b(9999),f=b(!1);U({title:(l=t.value)==null?void 0:l.title,seo:(d=t.value)==null?void 0:d.seo,heroImage:void 0}),R(()=>{setTimeout(()=>{f.value=!0},D)});const s=W(r=>{f.value&&(_.value=r,n())}),n=()=>{var y;const r=(y=t.value)==null?void 0:y.entries[_.value];if(!r){u.setColor("default");return}const{image:m}=r,A=m&&m.color?m.color:"default";u.setColor(A)};return(r,m)=>{const A=Y,y=J,T=K;return e(t)?(a(),o("div",ee,[P("div",{class:I(["page-top wrap-full",{hidden:e(u).activeNavigation}])},[P("h2",te,N(("translate"in r?r.translate:e(H))(e(t).title)),1)],2),P("div",se,[e(t).entries&&e(t).entries.length?(a(),o("ul",{key:0,class:"PageArtists__entry-list",onMouseleave:m[0]||(m[0]=h=>e(s)(9999))},[(a(!0),o(k,null,S(e(t).entries,(h,g)=>(a(),B(A,Q({key:g},{...h}
15,{class:"PageArtists__entry-list-item",onChangePreview:re=>e(s)(g)}),null,16,["onChangePreview"]))),128))],32)):p("",!0)]),P("div",ae,[w(y)]),e(t).entries&&e(t).entries.length?(a(),o("div",ie,[(a(!0),o(k,null,S(e(t).entries,(h,g)=>(a(),o("div",{key:g,class:I(["PageArtists__preview-image-wrap",{active:e(_)===g}])},[w(T,{image:h.image,width:2500,class:"PageArtists__preview-image"},null,8,["image"])],2))),128))])):p("",!0)])):p("",!0)}}});export{de 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.