import{_ as m}from"./COLw8uPA.js";import{_ as p}from"./WTapWg_r.js";import{d as f,r as v,h as b,af as x,i as a,e as _,u as s,o,f as k,aj as n,F as h,z as y,cv as g,w,an as N,t as C,av as F}from"./Dih1Xbo1.js";const V={key:0,grid:"","h-screen":"","of-hidden":"",class:"grid-rows-[auto_1fr]"},B={flex:"~ col"},E={key:0,border:"b base",flex:"~ inline wrap items-center",class:"n-select-tabs text-xs n-bg-base"},L=f({__name:"[key]",setup(S){const e=v();b(()=>x().params.key,r=>{e.value=r},{immediate:!0});const c=[{value:"edit",label:"Edit"},{value:"frontmatter",label:"Frontmatter"},{value:"seo",label:"SEO"}];return(r,l)=>{const i=m,d=p,u=g;return s(e)?.length?(o(),a("div",V,[k("div",B,[n(i,{id:s(e),"escape-key":"","back-arrow":"",onClose:l[0]||(l[0]=t=>e.value=null)},null,8,["id"]),s(e).endsWith(".md")?(o(),a("div",E,[(o(),a(h,null,y(c,t=>n(d,{key:t.label,to:t.value,class:"relative border-r n-border-base hover:n-bg-active px2 py0.5",title:t.label},{default:w(()=>[N(C(t.label),1)]),_:2},1032,["to","title"])),64))])):_("",!0)]),n(u)])):_("",!0)}}}),D=F(L,[["__scopeId","data-v-40932dd0"]]);export{D as default};
