import{cd as _,aK as a,u as l,b9 as p,aX as j,I as t,bH as s,aW as f,q as b,s as c,ch as d,c5 as g,ci as r,t as h,v as k,bi as v,cf as x,df as $,dG as q}from"./index-DhjTmrEH.js";import{O as C,C as S}from"./ChildTreeSearchButton-DcejRHJf.js";const B={props:{data:{type:String,default:""}}},O={class:"pre_whitspace"};function V(e,i,n,o,u,y){return a(),l("span",O,p(n.data),1)}const I=_(B,[["render",V],["__scopeId","data-v-dabd0ca7"]]),P={key:0},N={key:1,class:"text"},m={__name:"SiblingsPaginator",props:{objectId:{type:Number,default:0},sibling:{type:Object,default:null},query:{type:String,default:""}},setup(e){return(i,n)=>{const o=j("router-link");return e.sibling?(a(),l("div",P,[t(o,{to:{name:"Object",params:{objectid:e.sibling.id},query:e.query}},{default:s(()=>[f(i.$slots,"default")]),_:3},8,["to"])])):(a(),l("div",N,[f(i.$slots,"default")]))}}},T={style:{"margin-top":"-12px","margin-bottom":"-4px"}},w={key:1,style:{height:"18px"}},A={key:1,style:{height:"28px"}},G={__name:"ObjectTitle",props:{title:{type:String,required:!1,default:()=>""},objectPath:{type:Array,required:!1,default:()=>[]},hasChildren:{type:Boolean,required:!1,default:!1},siblings:{type:Object,required:!0,default:()=>{}}},setup(e){const i=e,n=b(()=>i.siblings&&Object.keys(i.siblings).length>0),o=b(()=>n.value?8:10),u=x();return(y,R)=>(a(),l("div",T,[t(d,{"no-gutters":""},{default:s(()=>[e.objectPath.length?(a(),c(C,{key:0,data:e.objectPath},null,8,["data"])):(a(),l("div",w))]),_:1}),t(d,{align:"center",class:"mt-1","no-gutters":""},{default:s(()=>[n.value?(a(),c(r,{key:0,cols:"1"},{default:s(()=>[t(m,{"object-id":e.siblings.self,sibling:e.siblings.prev},{default:s(()=>[t(g,{icon:"mdi-chevron-left"})]),_:1},8,["object-id","sibling"])]),_:1})):h("",!0),t(r,{cols:o.value},{default:s(()=>[k("h4",null,[t(I,{data:e.title},null,8,["data"])])]),_:1},8,["cols"]),t(r,{cols:"2",class:"text-right"},{default:s(()=>[e.hasChildren?(a(),c(S,{key:0,objectid:v(u).params.objectid},null,8,["objectid"])):(a(),l("div",A))]),_:1}),n.value?(a(),c(r,{key:1,cols:"1",class:"text-right"},{default:s(()=>[t(m,{"object-id":e.siblings.self,sibling:e.siblings.next},{default:s(()=>[t(g,{icon:"mdi-chevron-right"})]),_:1},8,["object-id","sibling"])]),_:1})):h("",!0)]),_:1})]))}},F={};function H(e,i){return a(),c(d,{class:"fill-height ma-0",align:"center",justify:"center"},{default:s(()=>[t($,{alt:"Antiquitatum Thesaurus Logo",class:"shrink mr-2",src:q,transition:"scale-transition",gradient:"to top right, rgba(255,255,255,.7), rgba(255,255,255,.7)",height:"90"})]),_:1})}const K=_(F,[["render",H]]);export{I as F,K as P,G as _};