import{d as k,v as i,E as y,c as o,ag as b,a as m,e as _,w as l,i as d,o as f,m as t,g as c,b4 as v,b5 as T}from"./index-a91efef8.js";import{u as g}from"./usePageTitle-6b86fe3b.js";const x=k({__name:"BlocksCatalogView",setup(B){const s=i(),a=y("blockTypeSlug"),n=o(()=>a.value?[a.value]:null),u=b(s.blockTypes.getBlockTypeBySlug,n),e=o(()=>u.response),p=o(()=>e.value?`Block Type: ${e.value.name}`:null);return g(p),(C,S)=>{const r=m("p-layout-default");return e.value?(f(),_(r,{key:0,class:"blocks-catalog-view"},{header:l(()=>[t(c(v),{"block-type":e.value},null,8,["block-type"])]),default:l(()=>[t(c(T),{"block-type":e.value},null,8,["block-type"])]),_:1})):d("",!0)}}});export{x as default};
