1import{C as k,_ as w,a as x,b as N}from"./utils.9b0513c8.js";import{d as c,o as s,e as _,h as t,n as v,l,W as g,s as d,c as B,m as i,j as m,P,F as h,g as n}from"./entry.ea436b97.js";const A=c({__name:"ModalLayoutArrow",props:{hasPrev:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1}},setup(r){return(e,o)=>{const a=g;return e.hasPrev||e.hasNext?(s(),_("div",{key:0,class:v(["modal-arrow",[{"modal-arrow--prev":e.hasPrev},{"modal-arrow--next":e.hasNext}]])},[t(a,{name:"arrow-right"})],2)):l("",!0)}}});const L=d(A,[["__scopeId","data-v-9eefd30f"]]),M=c({__name:"ModalLayoutSwitcher",props:{hasPrev:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1}},setup(r){return(e,o)=>e.hasPrev||e.hasNext?(s(),_("div",{key:0,class:v(["modal-switcher",[{"modal-switcher--prev":e.hasPrev},{"modal-switcher--next":e.hasNext}]])},null,2)):l("",!0)}});const S=d(M,[["__scopeId","data-v-c7fe537b"]]),$=c({__name:"ModalGallery",props:{data:{},noArrows:{type:Boolean},noSwitcher:{type:Boolean},canClose:{default:()=>k}},setup(r){const e=r,o=B(()=>e.data.navigation);return(a,b)=>{const y=w,f=x,u=L,p=S,C=N;return s(),i(C,{class:"modal--gallery",data:a.data,"close-outside":a.canClose.includes("outside")},{default:m(()=>[a.canClose.includes("x")?(s(),i(y,{key:0,onClick:a.data.close},null,8,["onClick"])):l("",!0),t(f,null,{default:m(()=>[P(a.$slots,"default",{},void 0,!0)]),_:3}),a.noArrows?l("",!0):(s(),_(h,{key:1},[t(u,{"has-prev":n(o).hasPrev,onClick:n(o).prev},null,8,["has-prev","onClick"]),t(u,{"has-next":n(o).hasNext,onClick:n(o).next},null,8,["has-next","onClick"])],64)),a.noSwitcher?l("",!0):(s(),_(h,{key:2},[t(p,{"has-prev":n(o).hasPrev,onClick:n(o).prev},null,8,["has-prev","onClick"]),t(p,{"has-next":n(o).hasNext,onClick:n(o).next},null,8,["has-next","onClick"])],64))]),_:3},8,["data","close-outside"])}}});const I=d($,[["__scopeId","data-v-c7654029"]]);export{I as _};
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.