1import{a as I,r as i,j as t}from"./vendor-react-wpXF2Dvf.js";import{b as j,B as l,T as y}from"./main-C1IJdISs.js";import{a2 as b}from"./superschool-ui-ijQK0qhP.js";import{I as v}from"./IBLayout-BETspvJ4.js";import{F as S,I as w}from"./InputInspector-DDK69fp3.js";import{P as C}from"./PlagiarismInspect-dgtUqAyg.js";import{a as N}from"./plagiarism-inspector-vHGBd7yi.js";import{S as L}from"./superschool-sdk-B9p352qX.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./vendor-query-fYiNqPbw.js";import"./vendor-react-pdf-C3KUfZHm.js";import"./vendor-i18n-BUJziXlB.js";import"./vendor-radix-DCMKLCCS.js";import"./vendor-recharts-ecE23-P5.js";import"./vendor-tiptap-cyOKIKhB.js";import"./Breadcrumb-Dsp9wx3i.js";import"./SolidSVGIcon-DlyVDH1H.js";import"./SVGIcon-B16yl3ht.js";import"./uploadFileTypeEnum-BgwMIn1b.js";import"./useFileUpload-BkBxBVFO.js";import"./fileNameGuard-KgH4Sovk.js";import"./usePolling-CtDE8zwV.js";import"./LoadingPopup-Bp_VT46p.js";import"./check-file-DYBZQtbY.js";import"./SuperModal-Cu-GKoSD.js";import"./CloseButton-CIuZ-EF5.js";import"./IconButton-B5_40UKs.js";import"./icons-BggpkfFB.js";import"./Input-CwiakJUu.js";import"./TextareaV2-B3Z0eTl2.js";import"./addfile-eQB3_APc.js";import"./write-DrqGaBVj.js";import"./AlertV2-DYSJJNVm.js";import"./useImageAndDocument-FnE-26IN.js";import"./validator-DTdIPQMX.js";import"./download-image-Wnhvz3pi.js";function ct(){var m;const{schoolProperties:s}=j(),n=I(),[c,r]=i.useState(!1),[d,a]=i.useState(null);if(!!!((m=s==null?void 0:s.find(e=>e.key==="COPYKILLER_LICENSE_KEY"))!=null&&m.value))return b({title:"ìë´",description:"íì ê²ì¬ 기ë¥ì´ íì
1±íëì´ ìì§ ììµëë¤.",onConfirm:()=>n("/student")}),t.jsx(l,{});const{data:o={items:[]},isLoading:g}=N(),[u,f]=i.useState([]),h=e=>{f(e)},x=e=>{a(e),r(!0)},p=()=>{r(!1),a(null)};return t.jsxs("div",{children:[g&&t.jsx(l,{}),c?t.jsx("div",{className:"w-full py-16",children:d==="upload"?t.jsx(S,{fileData:u[0],handleBack:p}):t.jsx(w,{handleBack:p})}):t.jsx(v,{className:"bg-gray-50",topBgColor:"bg-white",topContent:t.jsx("div",{children:t.jsx("div",{className:"w-full pt-16 pb-6",children:t.jsx(y,{variant:"heading",className:"text-gray-900",children:"íì ë¥ ê²ì¬"})})}),bottomContent:t.jsx("div",{className:"flex grow flex-col",children:t.jsx("div",{className:L("flex h-full gap-4",o.items.length>0?"pt-10":"pt-20",o.items.length>0||"justify-center"),children:t.jsx(C,{data:o.items,onInspectorClick:x,onFileUpload:h})})}),bottomBgColor:o.items.length>0?"bg-gray-50":"bg-white"})]})}export{ct 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.