PageSourceSearch

https://www.perrotin.com/build/assets/Grid-C_rWAGlY.js

js perrotin.com collected 2026-10-02 03:34:33 UTC 2,718 bytes, 1 lines download raw bytes

1import{_ as N,o as a,c as r,a as g,n as k,t as H,d as n,h as p,l as S,F as q,m as x,j as v,i as _,I as b,e as t,g as A}from"./app-D7q6L0nY.js";const F={class:"layout-container"},G={key:0,class:"history-header__left"},R=["innerHTML"],V={key:0,class:"history-header__artist-name"},$={key:1,class:"history-header__right"},z={key:0,class:"history-header__place"},D=["innerHTML"],E={key:1,class:"grid-content"},P={key:1,class:"images-grid"},W={__name:"Grid",props:{config:{type:Object,required:!0},block:{type:Object,required:!0},title:{type:[String,Object],default:null}},setup(I){const c=I,L=A(),o=t(()=>L.props.locale||"en"),j=t(()=>{var e;return((e=c.config)==null?void 0:e.images)||[]}),C=t(()=>{var e;return((e=c.config)==null?void 0:e.columns)||"3"}),O=t(()=>{var e;return((e=c.config)==null?void 0:e.slideshow)??!1}),u=t(()=>{var e,l;return((l=(e=c.config)==null?void 0:e.history)==null?void 0:l.header)||{}}),T=t(()=>{var l;const e=((l=u.value)==null?void 0:l.left)||{};return typeof e=="string"?e:e[o.value]||e.en||""}),B=t(()=>{var l;const e=((l=u.value)==null?void 0:l.right)||{};return typeof e=="string"?e:e[o.value]||e.en||""}),i=t(()=>{var e;return((e=u.value)==null?void 0:e.left_active)??!1}),h=t(()=>{var e;return((e=u.value)==null?void 0:e.right_active)??!1}),y=t(()=>{var e;return((e=u.value)==null?void 0:e.artist_name)||null}),f=t(()=>{var e;return((e=u.value)==null?void 0:e.place)||null}),s=t(()=>j.value.map(e=>({url:e.path||null,path:e.path||null,description:e.legend??"",courtesy:e.courtesy??"",photographer:e.photographer??e.photograph??""})).filter(e=>e.url||e.path)),M=t(()=>O.value&&s.value.length>1),w=t(()=>`columns-${C.value}`);return(e,l)=>(a(),r("div",{class:k(["leaflet-block grid",w.value])},[g("div",F,[i.value||h.value?(a(),r("div",{key:0,class:k(["history-header",{"history-header--left-only":i.value&&!h.value,"history-header--right-only":h.value&&!i.value}])},[i.value?(a(),r("div",G,[g("div",{innerHTML:T.value},null,8,R),y.value?(a(),r("div",V,H(y.value),1)):n("",!0)])):n("",!0),h.value?(a(),r("div",$,[f.value?(a(),r("div",z,H(f.value),1)):n("",!0),g("div",{innerHTML:B.value},null,8,D)])):n("",!0)],2)):n("",!0),s.value.length>0?(a(),r("div",E,[M.value?(a(),p(S,{key:0,images:s.value},null,8,["images"])):s.value.length>1?(a(),r("div",P,[(a(!0),r(q,null,x(s.value,(d,m)=>(a(),p(b,{key:m,src:d.url||d.path,alt:v(_)(d,o.value)||`Image ${m+1}`,legend:v(_)(d,o.value)},null,8,["src","alt","legend"]))),128))])):s.value.length===1?(a(),p(b,{key:2,src:s.value[0].url||s.value[0].path,alt:v(_)(s.value[0],o.value)||"Image",legend:v(_)(s.value[0],o.value)},null,8,["src","alt","legend"])):n("",!0)])):n("",!0)])],2))}},K=N(W,[["__scopeId","data-v-a3f065e1"]]);export{K 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.