PageSourceSearch

https://proobruch.ru/assets/ExpertOlympiadsPage-B6ZN0dZJ.js

js proobruch.ru collected 2026-10-09 22:39:13 UTC 2,777 bytes, 1 lines download raw bytes

1import{l as x,j as e,q as i,B as n,S as a,$ as o,at as g,b4 as l,T as h,P as j}from"./vendor-0v--kTIY.js";import{S as y}from"./StatusTag-Bi0jHo4c.js";import{h as u}from"./useExperts-ChRIfQ9r.js";import{E as f}from"./EmptyState-IisV-vpT.js";import{P as v,a as w}from"./index-D44GA20K.js";import"./awards-BF62aSb3.js";const{Title:b,Text:T}=h,P=()=>{const c=x(),{data:r,isLoading:d,error:m,refetch:p}=u();return e.jsxs(v,{children:[e.jsx(w,{title:"Проверка работ",subtitle:e.jsx(e.Fragment,{children:"Здесь собраны олимпиады, на которые вас назначили экспертом. Откройте олимпиаду, выберите возрастную категорию и выставляйте баллы за работы участников."})}),m&&e.jsx(i,{type:"error",showIcon:!0,message:"Не удалось загрузить назначенные олимпиады",description:"Похоже, пропала связь с сервером. Нажмите «Попробовать снова» или обновите страницу через минуту.",style:{marginBottom:16},action:e.jsx(n,{onClick:()=>p(),children:"Попробовать снова"})}),d?e.jsx(a,{direction:"vertical",size:16,style:{width:"100%"},children:[0,1].map(t=>e.jsx(o,{children:e.jsx(g,{active:!0,paragraph:{rows:2},title:{width:"40%"}})},t))}):((r==null?void 0:r.length)??0)===0?e.jsx(f,{title:"Вас пока не назначили ни на одну олимпиаду",description:"Обратитесь к администратору, чтобы вас назначили экспертом."}):e.jsx(l,{grid:{gutter:16,column:1},dataSource:r??[],renderItem:t=>e.jsx(l.Item,{children:e.jsx(o,{children:e.jsxs(a,{style:{width:"100%",justifyContent:"space-between"},align:"start",wrap:!0,children:[e.jsxs("div",{children:[e.jsx(b,{level:4,style:{marginTop:0,marginBottom:8},children:t.title}),!t.scoringAvailable&&e.jsx(i,{type:"info",showIcon:!0,style:{marginBottom:8},message:"По этой олимпиаде баллы выставляет организатор — экспертная проверка недоступна"}),e.jsx(T,{type:"secondary",children:"Ваши возрастные категории:"}),e.jsx("div",{style:{marginTop:6},children:e.jsx(a,{wrap:!0,children:t.divisions.map(s=>e.jsxs(y,{tone:s.scoringAvailable?"info":"neutral",dot:!1,children:[s.name," (классы ",s.gradeFrom,"–",s.gradeTo,")",!s.scoringAvailable&&" — проверяют организаторы"]},s.id))})})]}),e.jsx(n,{type:"primary",icon:e.jsx(j,{}),disabled:!t.scoringAvailable,onClick:()=>c(`/expert/olympiads/${t.olympiadId}`),children:"Проверять работы"})]})})})})]})};export{P 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.