import{_ as m}from"./CuOY796H.js";import{_ as p}from"./DafvsEAY.js";import{d as f,r as b,h as v,an as x,i as a,e as _,u as s,o,f as k,a9 as n,F as h,z as y,cu as g,w,ad as N,t as C,ap as F}from"./Bxv1kRJt.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=b();v(()=>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)}}}),H=F(L,[["__scopeId","data-v-40932dd0"]]);export{H as default};
