1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{f as k,r as c,u as P,N as g}from"./createLucideIcon-CiWnlb16.js";import{cE as S,e as r,dm as T,dn as E,dp as Q,cX as R,i as A,d as B,L as $,dj as x,cY as q,aa as w,dq as z}from"./loginCallback-DUlVA6A0.js";import{E as _,d as H,c as O,N as W}from"./addLoader-p8WLB-bt.js";import{B as X}from"./index-CQOuJFSK.js";import{F as Y}from"./file-loader-DQyP5CvM.js";import{a as G}from"./auctionNumber-e8qX9CCs.js";import{c as j}from"./convertDecision-CdX8oGP8.js";import{c as p}from"./convertMessageType-C9ssz3PF.js";/* empty css */import{c as J}from"./index-B_5XhXHv.js";import"./config.release-CKeoGYk7.js";const K=l=>{switch(l){case"ClaimsRegister":return"РееÑÑÑ ÑÑебований кÑедиÑоÑов на Ð´ÐµÐ½Ñ Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ ÐºÐ¾Ð¼Ð¸ÑеÑа кÑедиÑоÑов";case"ParticipantsMaterial":return"ÐаÑеÑиалÑ, пÑедÑÑавленнÑе ÑÑаÑÑниками либо ÑÑаÑÑникам комиÑеÑа кÑедиÑоÑов Ð´Ð»Ñ Ð¾Ð·Ð½Ð°ÐºÐ¾Ð¼Ð»ÐµÐ½Ð¸Ñ, ÑоглаÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¸ (или) ÑÑвеÑждениÑ";case"NotificationDocuments":return"ÐокÑменÑÑ, ÑвидеÑелÑÑÑвÑÑÑие о надлежаÑем Ñведомлении о даÑе, вÑемени, меÑÑе, повеÑÑке Ð´Ð½Ñ Ð¸ ÑпоÑобе пÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð·Ð°ÑÐµÐ´Ð°Ð½Ð¸Ñ ÐºÐ¾Ð¼Ð¸ÑеÑа кÑедиÑоÑов ";case"RegistrationList":return"ÐиÑÑ ÑегиÑÑÑаÑии ÑÑаÑÑников кÑедиÑоÑов";case"FilledBallots":return"ÐаполненнÑе бÑллеÑени Ð´Ð»Ñ Ð³Ð¾Ð»Ð¾ÑованиÑ, ÑÑÑеннÑе пÑи подÑÑеÑе голоÑов пÑи голоÑовании";case"InvalidBallots":return"ÐÑллеÑени, ÑвлÑÑÑиеÑÑ Ð½ÐµÐ´ÐµÐ¹ÑÑвиÑелÑнÑми в ÑооÑвеÑÑÑвии Ñ ÑаÑÑÑÑ ÑеÑвеÑÑой пÑнкÑа 13 ÑÑаÑÑи 63 наÑÑоÑÑего Ðакона";case"OtherDocuments":return"ÐнÑе докÑменÑÑ Ð¿Ð¾ ÑÑмоÑÑÐµÐ½Ð¸Ñ ÑпÑавлÑÑÑего и (или) на оÑновании ÑеÑÐµÐ½Ð¸Ñ ÐºÐ¾Ð¼Ð¸ÑеÑа кÑедиÑоÑов";case"MeetingProtocol":return"ÐÑоÑокол заÑÐµÐ´Ð°Ð½Ð¸Ñ ÐºÐ¾Ð¼Ð¸ÑеÑа кÑедиÑоÑов";default:return null}};function ce(){const{creditorId:l}=k();S(z,l);const s=r(T),m=r(E),f=r(Q),d=r(R),[h,y]=c.useState(!1),u=()=>{y(!h)},N=P(),v=c.useContext(A),C=B(),[D,F]=c.useState(0);return e.jsx(e.Fragment,{children:m?e.jsx(_,{...m}):e.jsx(e.Fragment,{children:f?e.jsx($,{}):e.jsxs(H,{type:"section",className:"message",children:[e.jsxs(O,{type:"div",className:"message-menu",toggle:h,handleShowFilters:u,children:[e.jsx("div",{className:"message-menu-title",children:"ÐенÑ"}),e.jsx("div",{className:"message-menu-links",children:e.jsx(X,{className:"message-button",onClick:()=>N(-1),value:"Ðазад"})})]}),e.jsxs("div",{className:"print-only",children:[e.jsx(W,{title:`${p(s?.message?.type)} ${G(s?.message.id)}`,handleShowFilters:u}),e.jsxs("ul",{className:"message-head-list",children:[e.jsxs("li",{children:["ÐаÑа пÑбликаÑии: ",x(s?.message?.published)]}),e.jsx("li",{children:e.jsxs(g,{to:`/debtors/debtor/${s?.message?.debtor.id}`,className:"table-link",children:["Ðолжник: ",s?.message?.debtor?.organization?.fullName||s?.message?.debtor?.organization?.shortName]})}),e.jsx("li",{children:e.jsxs(g,{to:`/managers/manager/${s?.message?.manager.id}`,className:"table-link",children:["УпÑавлÑÑÑий: ",s?.message?.manager.value]})})]}),e.jsxs("div",{className:"message-info",children:[e.jsx("h2",{className:"message-property-title",children:p(s?.message?.type)}),e.jsxs("ul",{className:"message-detail-list",children:[s?.message.additionalInfo?e.jsxs("li",{children:[e.jsx("p",{children:"ÐнÑоÑмаÑиÑ"}),e.jsx("p",{dangerouslySetInnerHTML:{__html:s?.message.additionalInfo}})]}):null,s?.entity.creditorCommitteeInfo?.committeeTime?e.jsxs("li",{children:[e.jsx("p",{children:"ÐаÑа ÑобÑÐ°Ð½Ð¸Ñ ÐºÐ¾Ð¼Ð¸ÑеÑа кÑедиÑоÑов"}),e.jsx("p",{children:x(s?.entity.creditorCommitteeInfo.committeeTime)})]}
1):null,s?.entity.creditorCommitteeInfo?.address?e.jsxs("li",{children:[e.jsx("p",{children:"ÐдÑеÑ"}),e.jsx("p",{children:s?.entity.creditorCommitteeInfo.address})]}):null,s?.entity.creditorCommitteeInfo?.conductingMethod?e.jsxs("li",{children:[e.jsx("p",{children:"СпоÑоб пÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ ÑобÑаниÑ"}),e.jsx("p",{children:J(s?.entity.creditorCommitteeInfo.conductingMethod)})]}):null,s?.entity.commonQuestionDecisions?.length?e.jsx("h4",{children:"ÐÑинÑÑÑе ÑеÑÐµÐ½Ð¸Ñ Ð¿Ð¾ вопÑоÑам повеÑÑки днÑ"}):null,s?.entity.commonQuestionDecisions?.length?e.jsx("ul",{className:"message-detail-list",children:s.entity.commonQuestionDecisions.map(({questionId:n,question:t,decision:i},a)=>e.jsxs("li",{children:[e.jsxs("p",{children:[a+1,". ",t]}),e.jsx("p",{children:i?j(i):"ÐÐµÑ Ð¿ÑинÑÑого ÑеÑениÑ"})]},n))}):null,s?.entity.otherQuestionDecisions?.length?e.jsx("h4",{children:"ÐÑинÑÑÑе ÑеÑÐµÐ½Ð¸Ñ Ð¿Ð¾ Ñвоим вопÑоÑам повеÑÑки днÑ"}):null,s?.entity.otherQuestionDecisions?.length?e.jsx("ul",{className:"message-detail-list",children:s.entity.otherQuestionDecisions.map(({questionId:n,question:t,decision:i},a)=>e.jsxs("li",{children:[e.jsxs("p",{children:[a+1,". ",t]}),e.jsx("p",{children:i?j(i):"ÐÐµÑ Ð¿ÑинÑÑого ÑеÑениÑ"})]},n))}):null,s?.entity?.documents?.length?e.jsx("h4",{children:"ÐÑикÑепленнÑе докÑменÑÑ"}):null,s?.entity?.documents.length?e.jsx("ul",{className:"message-detail-list",children:s?.entity?.documents.map(({id:n,fileName:t,fileId:i,label:a,comment:I,documentPlace:b,createDate:L},o)=>e.jsxs("li",{children:[e.jsxs("div",{children:[o+1,". ",K(a)]}),e.jsx("div",{children:d&&o===D?e.jsx(Y,{progress:d}):e.jsx(e.Fragment,{children:t?e.jsxs(e.Fragment,{children:[e.jsx("a",{className:"table-link",children:e.jsx("span",{onClick:()=>{F(o),v.getAccessToken().then(M=>C(q({token:M,fileId:i,fileName:t,documentPlace:b,id:n})))},children:t})}),e.jsxs("div",{children:["ÐаÑа ÑазмеÑÐµÐ½Ð¸Ñ Ð´Ð¾ÐºÑменÑа: ",w(L)]})]}):e.jsx(e.Fragment,{children:I||"ÐÐµÑ Ñайла или комменÑаÑиÑ"})})})]},n))}):null]})]})]})]})})})}export{ce 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.