1import{aU as m,cn as o,a_ as a,cH as y}from"./c-index-D0PNHfG-.js";const w=(r,d)=>{const s=a(!1),l=a(!1),t=a(),i=a(),n=a(!1),c=a(),u=a([]),g=async()=>{c.value=null,n.value=!0;try{await o.put(`admin/section/${r}`,t.value),y.success("ÐаÑÑÑойки ÑекÑии ÑÑпеÑно ÑоÑ
ÑаненÑ")}catch(e){c.value=e}n.value=!1},f=async()=>{s.value=!0;try{const[e,v]=await Promise.all([o.get(`admin/section/${r}`),o.get("admin/static-page-v2")]);t.value=e.data.section,i.value=e.data.site,u.value=Array.isArray(v.data)?v.data:[]}catch{}s.value=!1};return m(async()=>{await f(),d(),l.value=!0}),{loading:s,loaded:l,section:t,saveHandler:g,saving:n,errors:c,site:i,staticPages:u}};export{w as u};
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.