import{_ as r}from"./BlockBalanceAgreement-qtspRQ_B.js";import{f as i,g as _,H as m,c as u,b as l,a as t,t as d,F as p,o as f}from"./index-CmCGXBst.js";import{u as h}from"./content-CZvpGWUh.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./contracts-P7YPBhEI.js";import"./ButtonDefault-BIBStZbJ.js";const v={class:"section"},B={class:"container"},D={class:"section-header"},x={class:"section-title"},y=["innerHTML"],P={__name:"DocumentPage",setup(T){const c=_(),n=h(),s=i(()=>{const o=c.params.Partition;if(o){const e=n.getDocumentByPartition(o);if(e)return{title:e.Title,content:e.Text}}return{title:"Документ не найден",content:""}});return m(async()=>{await n.fetchDocuments()}),(o,e)=>{const a=r;return f(),u(p,null,[l(a),t("section",v,[t("div",B,[t("div",D,[t("h1",x,d(s.value.title),1),t("div",{innerHTML:s.value.content},null,8,y)])])])],64)}}},L=g(P,[["__scopeId","data-v-e989cdd1"]]);export{L as default};
