1import{_ as c}from"./BigPreloader.OE1wfh96.js";import{r as a,e as l,b as f,c as _,a as d,u as m,d as s,o}from"./entry.ndIiY6UK.js";import{B as b}from"./BreadCrumbs.bnYU5pb2.js";import{C as h}from"./CreateEditForm.g7XlOpiQ.js";import{r as g}from"./roles.smye7pwq.js";import"./Preloader.XV8ZQRsn.js";import"./GalleryType1Component.599JLGoK.js";import"./OpeningBox.NbMh_auV.js";import"./LightBox.4LtvIXgk.js";import"./validate.sprBKIcR.js";import"./formExtensions.K8ANMoz5.js";import"./ElementWithRepeater.Mt6-7eQ7.js";import"./BlockWrapper.PVDe-QF7.js";import"./FixedControlPanel.hwO-NaEI.js";import"./lightBox.Z_EH4UJw.js";import"./ArticleCard.GcAqsOko.js";import"./Share.Cw9iCWJt.js";import"./CountdownTimer.T7S1KLII.js";import"./ResponseErrorsComponent.uB0LZocy.js";import"./Tabs.PEA81sT3.js";const z={__name:"[slug]",setup(x){const{checkPermission:i}=g(),p=a({name:{name:"Ðаименование",value:"",type:"text",validateRules:"required, minLength_2, maxLength_255",classes:["w-full","mt-[5px]"]}}),r=a(""),t=l(),n=f(()=>{const e=t.path.split("/");return Number.isInteger(Number(t.params.slug))?r.value="update":t.params.slug==="create"&&(r.value="create"),[{name:"Ðдмин панелÑ",href:`/${e[1]}`},{name:"СайÑÑ",href:`/${e[1]}/${e[2]}`},{name:r.value==="create"?"Создание":"РедакÑиÑование",href:`/${e[1]}/${e[2]}/${e[3]}`}]});return(e,k)=>{const u=c;return o(),_("div",null,[d(b,{breadCrumbs:m(n)},null,8,["breadCrumbs"]),m(i)("site.edit")?(o(),s(h,{key:0,form:m(p),fetchUrl:"admin/entity/Site"},null,8,["form"])):(o(),s(u,{key:1,classes:"red",message:"У Ð²Ð°Ñ Ð½ÐµÑ Ð´Ð¾ÑÑÑпа"}))])}}};export{z as default};
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.